Pull request #351 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db8effdb4af4965fb3c4a64109ba6b528fe44092+7254ae82036954a30da847ceb4fb6fc335c14613 (b66c341131e834586dcb17b8ad8ca31bf7446376) 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-ssh14922120867946114362.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1765951334081892949.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-351/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-351/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13927955446646731221.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-351/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10279262591444755914.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh2201789180213570850.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-351/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-351/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4677175526785052498.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-9156 in /w/workspace/gexfoundry_device-rest-go_PR-351 [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-351 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/351/head:refs/remotes/origin/PR-351 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7254ae82036954a30da847ceb4fb6fc335c14613 into PR head commit db8effdb4af4965fb3c4a64109ba6b528fe44092 Merge succeeded, producing db8effdb4af4965fb3c4a64109ba6b528fe44092 Checking out Revision db8effdb4af4965fb3c4a64109ba6b528fe44092 (PR-351) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f db8effdb4af4965fb3c4a64109ba6b528fe44092 # 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 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db8effdb4af4965fb3c4a64109ba6b528fe44092 # timeout=10 [Pipeline] timeout [2023-10-12T20:51:59.266Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-12T20:51:59.443Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-12T20:51:59.538Z] ========================================================= [2023-10-12T20:51:59.538Z] EdgeX Global Pipelines Version Info [2023-10-12T20:51:59.538Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-12T20:52:00.280Z] ------------------- [2023-10-12T20:52:00.280Z] stable info: [2023-10-12T20:52:00.280Z] ------------------- [2023-10-12T20:52:00.280Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-12T20:52:00.280Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-12T20:52:00.280Z] Message: update stable to v1.0.254 [2023-10-12T20:52:00.853Z] ------------------- [2023-10-12T20:52:00.853Z] experimental info: [2023-10-12T20:52:00.853Z] ------------------- [2023-10-12T20:52:00.853Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-12T20:52:00.853Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-12T20:52:00.853Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-12T20:52:01.129Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-12T20:52:01.168Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-12T20:52:01.208Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-12T20:52:01.254Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-12T20:52:01.292Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-12T20:52:01.330Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-12T20:52:01.368Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-12T20:52:01.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-12T20:52:01.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-12T20:52:01.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-12T20:52:01.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-12T20:52:01.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-12T20:52:01.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-12T20:52:01.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-12T20:52:01.698Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-12T20:52:01.737Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-12T20:52:01.782Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T20:52:01.824Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-12T20:52:01.864Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-12T20:52:01.907Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-12T20:52:01.951Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-12T20:52:01.994Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-12T20:52:02.042Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-12T20:52:02.087Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-12T20:52:02.135Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-12T20:52:02.178Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-12T20:52:02.226Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-12T20:52:02.271Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-351 [Pipeline] echo [2023-10-12T20:52:02.316Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-351 [Pipeline] echo [2023-10-12T20:52:02.358Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-351 [Pipeline] echo [2023-10-12T20:52:02.402Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db8effdb4af4965fb3c4a64109ba6b528fe44092 [Pipeline] echo [2023-10-12T20:52:02.442Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db8effd [Pipeline] echo [2023-10-12T20:52:02.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T20:52:02.616Z] provisioning config files... [2023-10-12T20:52:02.630Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/config13565494268027277250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T20:52:02.979Z] ---> docker-login.sh [2023-10-12T20:52:02.979Z] nexus3.edgexfoundry.org:10001 [2023-10-12T20:52:03.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:52:03.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:52:03.240Z] Configure a credential helper to remove this warning. See [2023-10-12T20:52:03.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:52:03.240Z] [2023-10-12T20:52:03.240Z] Login Succeeded [2023-10-12T20:52:03.240Z] nexus3.edgexfoundry.org:10002 [2023-10-12T20:52:03.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:52:03.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:52:03.501Z] Configure a credential helper to remove this warning. See [2023-10-12T20:52:03.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:52:03.501Z] [2023-10-12T20:52:03.501Z] Login Succeeded [2023-10-12T20:52:03.501Z] nexus3.edgexfoundry.org:10003 [2023-10-12T20:52:03.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:52:03.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:52:03.501Z] Configure a credential helper to remove this warning. See [2023-10-12T20:52:03.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:52:03.501Z] [2023-10-12T20:52:03.501Z] Login Succeeded [2023-10-12T20:52:03.501Z] nexus3.edgexfoundry.org:10004 [2023-10-12T20:52:03.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:52:03.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:52:03.762Z] Configure a credential helper to remove this warning. See [2023-10-12T20:52:03.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:52:03.762Z] [2023-10-12T20:52:03.762Z] Login Succeeded [2023-10-12T20:52:03.762Z] docker.io [2023-10-12T20:52:03.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:52:04.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:52:04.021Z] Configure a credential helper to remove this warning. See [2023-10-12T20:52:04.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:52:04.021Z] [2023-10-12T20:52:04.021Z] Login Succeeded [2023-10-12T20:52:04.021Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T20:52:04.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-12T20:52:04.694Z] + git rev-list -1 --merges db8effdb4af4965fb3c4a64109ba6b528fe44092~1..db8effdb4af4965fb3c4a64109ba6b528fe44092 [Pipeline] echo [2023-10-12T20:52:04.761Z] -----------> git rev-list -1 --merges db8effdb4af4965fb3c4a64109ba6b528fe44092~1..db8effdb4af4965fb3c4a64109ba6b528fe44092 db8effdb4af4965fb3c4a64109ba6b528fe44092 [false] [Pipeline] sh [2023-10-12T20:52:05.072Z] + git log --format=format:%s -1 db8effdb4af4965fb3c4a64109ba6b528fe44092 [Pipeline] echo [2023-10-12T20:52:05.109Z] ========================================================= [2023-10-12T20:52:05.109Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-12T20:52:05.109Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T20:52:05.560Z] + git log --format=format:%s -1 db8effdb4af4965fb3c4a64109ba6b528fe44092 [Pipeline] echo [2023-10-12T20:52:05.591Z] [semverPrep] GIT_COMMIT: db8effdb4af4965fb3c4a64109ba6b528fe44092, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-10-12T20:52:05.621Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-12T20:52:06.021Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-12T20:52:06.021Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-12T20:52:06.021Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-12T20:52:06.021Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-12T20:52:06.021Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-12T20:52:06.021Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-12T20:52:06.021Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:52:06.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T20:52:06.519Z] [2023-10-12T20:52:06.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:52:06.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T20:52:06.892Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-12T20:52:06.892Z] b85a868b505f: Pulling fs layer [2023-10-12T20:52:06.892Z] e2be974225ed: Pulling fs layer [2023-10-12T20:52:06.892Z] 339a4e72a1f5: Pulling fs layer [2023-10-12T20:52:06.892Z] 988bab9f4d93: Pulling fs layer [2023-10-12T20:52:06.892Z] 1469e6f7b9e6: Pulling fs layer [2023-10-12T20:52:06.892Z] eaf3925da568: Pulling fs layer [2023-10-12T20:52:06.892Z] bab4dde63d76: Pulling fs layer [2023-10-12T20:52:06.892Z] bde34c3a00c8: Pulling fs layer [2023-10-12T20:52:06.892Z] b352a97aabf1: Pulling fs layer [2023-10-12T20:52:06.892Z] 4872d77fe225: Pulling fs layer [2023-10-12T20:52:06.892Z] 5851b861e8e6: Pulling fs layer [2023-10-12T20:52:06.892Z] b352a97aabf1: Waiting [2023-10-12T20:52:06.892Z] 988bab9f4d93: Waiting [2023-10-12T20:52:06.892Z] eaf3925da568: Waiting [2023-10-12T20:52:06.892Z] 4872d77fe225: Waiting [2023-10-12T20:52:06.892Z] 5851b861e8e6: Waiting [2023-10-12T20:52:06.892Z] bde34c3a00c8: Waiting [2023-10-12T20:52:06.892Z] e2be974225ed: Download complete [2023-10-12T20:52:06.892Z] 988bab9f4d93: Verifying Checksum [2023-10-12T20:52:06.892Z] 988bab9f4d93: Download complete [2023-10-12T20:52:07.152Z] 1469e6f7b9e6: Verifying Checksum [2023-10-12T20:52:07.152Z] 1469e6f7b9e6: Download complete [2023-10-12T20:52:07.152Z] 339a4e72a1f5: Verifying Checksum [2023-10-12T20:52:07.152Z] 339a4e72a1f5: Download complete [2023-10-12T20:52:07.152Z] eaf3925da568: Download complete [2023-10-12T20:52:07.152Z] bde34c3a00c8: Download complete [2023-10-12T20:52:07.152Z] b352a97aabf1: Verifying Checksum [2023-10-12T20:52:07.152Z] b352a97aabf1: Download complete [2023-10-12T20:52:07.152Z] 5851b861e8e6: Download complete [2023-10-12T20:52:07.152Z] b85a868b505f: Verifying Checksum [2023-10-12T20:52:07.152Z] b85a868b505f: Download complete [2023-10-12T20:52:07.411Z] bab4dde63d76: Verifying Checksum [2023-10-12T20:52:07.411Z] bab4dde63d76: Download complete [2023-10-12T20:52:08.349Z] b85a868b505f: Pull complete [2023-10-12T20:52:08.621Z] e2be974225ed: Pull complete [2023-10-12T20:52:09.190Z] 339a4e72a1f5: Pull complete [2023-10-12T20:52:09.190Z] 988bab9f4d93: Pull complete [2023-10-12T20:52:09.450Z] 1469e6f7b9e6: Pull complete [2023-10-12T20:52:09.450Z] eaf3925da568: Pull complete [2023-10-12T20:52:11.376Z] bab4dde63d76: Pull complete [2023-10-12T20:52:11.376Z] bde34c3a00c8: Pull complete [2023-10-12T20:52:11.641Z] b352a97aabf1: Pull complete [2023-10-12T20:52:11.641Z] 4872d77fe225: Pull complete [2023-10-12T20:52:11.900Z] 5851b861e8e6: Pull complete [2023-10-12T20:52:11.900Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-12T20:52:11.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-12T20:52:11.900Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T20:52:12.155Z] prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container [2023-10-12T20:52:12.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-351 -v /w/workspace/gexfoundry_device-rest-go_PR-351:/w/workspace/gexfoundry_device-rest-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-351@tmp:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-12T20:52:14.094Z] $ docker top 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 -eo pid,comm [2023-10-12T20:52:14.163Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-12T20:52:14.163Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-12T20:52:14.287Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T20:52:14.287Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T20:52:14.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T20:52:14.400Z] $ docker exec 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 ssh-agent [2023-10-12T20:52:14.528Z] SSH_AUTH_SOCK=/tmp/ssh-hoVTkiNoXVew/agent.31 [2023-10-12T20:52:14.528Z] SSH_AGENT_PID=37 [2023-10-12T20:52:14.535Z] Running ssh-add (command line suppressed) [2023-10-12T20:52:14.628Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-351@tmp/private_key_3827707546347203336.key (/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/private_key_3827707546347203336.key) [2023-10-12T20:52:14.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T20:52:14.984Z] + git tag --points-at HEAD [Pipeline] } [2023-10-12T20:52:14.999Z] $ docker exec --env ******** --env ******** 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 ssh-agent -k [2023-10-12T20:52:15.101Z] unset SSH_AUTH_SOCK; [2023-10-12T20:52:15.101Z] unset SSH_AGENT_PID; [2023-10-12T20:52:15.102Z] echo Agent pid 37 killed; [2023-10-12T20:52:15.122Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-12T20:52:15.205Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-12T20:52:15.205Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-12T20:52:15.341Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-12T20:52:15.335Z] $ docker exec 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 ssh-agent [2023-10-12T20:52:15.455Z] SSH_AUTH_SOCK=/tmp/ssh-WDTBgY0HUJbl/agent.69 [2023-10-12T20:52:15.455Z] SSH_AGENT_PID=75 [2023-10-12T20:52:15.459Z] Running ssh-add (command line suppressed) [2023-10-12T20:52:15.556Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-351@tmp/private_key_11541479896910958988.key (/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/private_key_11541479896910958988.key) [2023-10-12T20:52:15.580Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-12T20:52:15.911Z] + git semver init [2023-10-12T20:52:16.176Z] 2023-10-12 20:52:16,093 [run_init] DEBUG init version:0.0.0 force:False [2023-10-12T20:52:16.176Z] 2023-10-12 20:52:16,093 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-351/.semver [2023-10-12T20:52:16.176Z] 2023-10-12 20:52:16,094 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-351/.semver [2023-10-12T20:52:16.176Z] 2023-10-12 20:52:16,094 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-351/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-351, universal_newlines=False, shell=None, istream=None) [2023-10-12T20:52:17.558Z] 2023-10-12 20:52:17,139 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-351/.git/info/exclude [2023-10-12T20:52:17.558Z] 2023-10-12 20:52:17,139 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-351/.semver/PR-351 with force:False [2023-10-12T20:52:17.558Z] 2023-10-12 20:52:17,140 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-351/.semver/PR-351 [2023-10-12T20:52:17.558Z] 2023-10-12 20:52:17,144 [execute] INFO git cat-file --batch-check [2023-10-12T20:52:17.558Z] 2023-10-12 20:52:17,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-351/.semver, universal_newlines=False, shell=None, istream=) [2023-10-12T20:52:17.558Z] 2023-10-12 20:52:17,151 [execute] INFO git cat-file --batch [2023-10-12T20:52:17.558Z] 2023-10-12 20:52:17,152 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-351/.semver, universal_newlines=False, shell=None, istream=) [2023-10-12T20:52:17.558Z] 2023-10-12 20:52:17,157 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-351/.semver/PR-351 [2023-10-12T20:52:17.558Z] 0.0.0 [Pipeline] } [2023-10-12T20:52:17.579Z] $ docker exec --env ******** --env ******** 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 ssh-agent -k [2023-10-12T20:52:17.686Z] unset SSH_AUTH_SOCK; [2023-10-12T20:52:17.686Z] unset SSH_AGENT_PID; [2023-10-12T20:52:17.687Z] echo Agent pid 75 killed; [2023-10-12T20:52:17.704Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-12T20:52:18.137Z] + git semver [Pipeline] } [2023-10-12T20:52:18.413Z] $ docker stop --time=1 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 [2023-10-12T20:52:19.704Z] $ docker rm -f --volumes 3532d6d3387b6a40f0c08bdc3ff192411048f5058abdab8c499841661a47f804 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T20:52:20.115Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-12T20:52:20.397Z] Stashed 1 file(s) [Pipeline] echo [2023-10-12T20:52:20.413Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T20:52:21.031Z] provisioning config files... [2023-10-12T20:52:21.043Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/config6960513977505846036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T20:52:21.405Z] ---> docker-login.sh [2023-10-12T20:52:21.405Z] nexus3.edgexfoundry.org:10001 [2023-10-12T20:52:21.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:52:21.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:52:21.405Z] Configure a credential helper to remove this warning. See [2023-10-12T20:52:21.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:52:21.405Z] [2023-10-12T20:52:21.405Z] Login Succeeded [2023-10-12T20:52:21.405Z] nexus3.edgexfoundry.org:10002 [2023-10-12T20:52:21.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:52:21.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:52:21.669Z] Configure a credential helper to remove this warning. See [2023-10-12T20:52:21.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:52:21.669Z] [2023-10-12T20:52:21.669Z] Login Succeeded [2023-10-12T20:52:21.669Z] nexus3.edgexfoundry.org:10003 [2023-10-12T20:52:21.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:52:21.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:52:21.669Z] Configure a credential helper to remove this warning. See [2023-10-12T20:52:21.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:52:21.669Z] [2023-10-12T20:52:21.669Z] Login Succeeded [2023-10-12T20:52:21.669Z] nexus3.edgexfoundry.org:10004 [2023-10-12T20:52:21.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:52:21.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:52:21.669Z] Configure a credential helper to remove this warning. See [2023-10-12T20:52:21.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:52:21.669Z] [2023-10-12T20:52:21.669Z] Login Succeeded [2023-10-12T20:52:21.669Z] docker.io [2023-10-12T20:52:21.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:52:22.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:52:22.208Z] Configure a credential helper to remove this warning. See [2023-10-12T20:52:22.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:52:22.208Z] [2023-10-12T20:52:22.208Z] Login Succeeded [2023-10-12T20:52:22.208Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T20:52:22.236Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-12T20:52:22.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T20:52:22.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T20:52:22.516Z] ========================================================= [2023-10-12T20:52:22.516Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-12T20:52:22.516Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:52:22.999Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-12T20:52:22.999Z] Sending build context to Docker daemon 10.94MB [2023-10-12T20:52:22.999Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T20:52:22.999Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-12T20:52:22.999Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-12T20:52:22.999Z] 7264a8db6415: Pulling fs layer [2023-10-12T20:52:22.999Z] c4d48a809fc2: Pulling fs layer [2023-10-12T20:52:22.999Z] 4f1c88b9dad5: Pulling fs layer [2023-10-12T20:52:22.999Z] ad3a456e5733: Pulling fs layer [2023-10-12T20:52:22.999Z] 33e27b845d1e: Pulling fs layer [2023-10-12T20:52:22.999Z] c68163c4e522: Pulling fs layer [2023-10-12T20:52:22.999Z] 50da416c3ac9: Pulling fs layer [2023-10-12T20:52:22.999Z] ad3a456e5733: Waiting [2023-10-12T20:52:22.999Z] 33e27b845d1e: Waiting [2023-10-12T20:52:22.999Z] c68163c4e522: Waiting [2023-10-12T20:52:22.999Z] 23d2d4c4bb30: Pulling fs layer [2023-10-12T20:52:22.999Z] 50da416c3ac9: Waiting [2023-10-12T20:52:22.999Z] c4d48a809fc2: Download complete [2023-10-12T20:52:23.259Z] ad3a456e5733: Verifying Checksum [2023-10-12T20:52:23.259Z] ad3a456e5733: Download complete [2023-10-12T20:52:23.259Z] 33e27b845d1e: Download complete [2023-10-12T20:52:23.259Z] 7264a8db6415: Verifying Checksum [2023-10-12T20:52:23.259Z] 7264a8db6415: Download complete [2023-10-12T20:52:23.259Z] c68163c4e522: Verifying Checksum [2023-10-12T20:52:23.259Z] c68163c4e522: Download complete [2023-10-12T20:52:23.259Z] 7264a8db6415: Pull complete [2023-10-12T20:52:23.517Z] 23d2d4c4bb30: Verifying Checksum [2023-10-12T20:52:23.517Z] 23d2d4c4bb30: Download complete [2023-10-12T20:52:23.517Z] c4d48a809fc2: Pull complete [2023-10-12T20:52:23.517Z] 4f1c88b9dad5: Verifying Checksum [2023-10-12T20:52:23.517Z] 4f1c88b9dad5: Download complete [2023-10-12T20:52:23.778Z] 50da416c3ac9: Download complete [2023-10-12T20:52:27.060Z] 4f1c88b9dad5: Pull complete [2023-10-12T20:52:27.060Z] ad3a456e5733: Pull complete [2023-10-12T20:52:27.060Z] 33e27b845d1e: Pull complete [2023-10-12T20:52:27.060Z] c68163c4e522: Pull complete [2023-10-12T20:52:29.588Z] 50da416c3ac9: Pull complete [2023-10-12T20:52:30.155Z] 23d2d4c4bb30: Pull complete [2023-10-12T20:52:30.155Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-12T20:52:30.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-12T20:52:30.155Z] ---> 0786185ac409 [2023-10-12T20:52:30.155Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-12T20:52:32.061Z] ---> Running in c0f5973d2497 [2023-10-12T20:52:32.321Z] Removing intermediate container c0f5973d2497 [2023-10-12T20:52:32.321Z] ---> 52c523e9156f [2023-10-12T20:52:32.321Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T20:52:32.321Z] ---> Running in 301f09b123d1 [2023-10-12T20:52:32.321Z] Removing intermediate container 301f09b123d1 [2023-10-12T20:52:32.321Z] ---> fbfb92d58884 [2023-10-12T20:52:32.321Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-12T20:52:32.321Z] ---> Running in a654d68fb6e5 [2023-10-12T20:52:32.581Z] Removing intermediate container a654d68fb6e5 [2023-10-12T20:52:32.581Z] ---> 07564e4779f9 [2023-10-12T20:52:32.581Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-12T20:52:32.581Z] ---> Running in 79a2ab8bbf49 [2023-10-12T20:52:32.581Z] Removing intermediate container 79a2ab8bbf49 [2023-10-12T20:52:32.581Z] ---> 49697b208613 [2023-10-12T20:52:32.581Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-12T20:52:32.581Z] ---> Running in 247f2546e225 [2023-10-12T20:52:32.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T20:52:33.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T20:52:33.358Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-12T20:52:33.358Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-12T20:52:33.358Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-12T20:52:33.358Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-12T20:52:33.358Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T20:52:33.358Z] OK: 268 MiB in 56 packages [2023-10-12T20:52:33.927Z] Removing intermediate container 247f2546e225 [2023-10-12T20:52:33.927Z] ---> 3f3093fadf60 [2023-10-12T20:52:33.927Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-12T20:52:33.927Z] ---> Running in d43acf670fe8 [2023-10-12T20:52:33.927Z] Removing intermediate container d43acf670fe8 [2023-10-12T20:52:33.927Z] ---> b706003a2962 [2023-10-12T20:52:33.927Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-12T20:52:34.187Z] ---> 99920962483b [2023-10-12T20:52:34.187Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T20:52:34.187Z] ---> Running in fa32c6df9963 [2023-10-12T20:52:35.847Z] Still waiting to schedule task [2023-10-12T20:52:35.848Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-12T20:53:41.902Z] Removing intermediate container fa32c6df9963 [2023-10-12T20:53:41.902Z] ---> a0636ce0ed12 [2023-10-12T20:53:41.902Z] Step 11/12 : COPY . . [2023-10-12T20:53:41.902Z] ---> b56eb75fb0e8 [2023-10-12T20:53:41.902Z] Step 12/12 : RUN $MAKE [2023-10-12T20:53:41.902Z] ---> Running in 9fc5be323dca [2023-10-12T20:53:41.902Z] noop [2023-10-12T20:53:41.902Z] Removing intermediate container 9fc5be323dca [2023-10-12T20:53:41.902Z] ---> fbf9b7efc5cb [2023-10-12T20:53:41.902Z] Successfully built fbf9b7efc5cb [2023-10-12T20:53:41.902Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:53:42.366Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-12T20:53:42.366Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T20:53:42.523Z] prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container [2023-10-12T20:53:42.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-351 -v /w/workspace/gexfoundry_device-rest-go_PR-351:/w/workspace/gexfoundry_device-rest-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-351@tmp:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-12T20:53:42.929Z] $ docker top 405350145f7a93ffb527de9c59c62fd15ecdd54608e30109755a427649582d5d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T20:53:43.315Z] + go version [2023-10-12T20:53:43.315Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-12T20:53:43.354Z] $ docker stop --time=1 405350145f7a93ffb527de9c59c62fd15ecdd54608e30109755a427649582d5d [2023-10-12T20:53:44.628Z] $ docker rm -f --volumes 405350145f7a93ffb527de9c59c62fd15ecdd54608e30109755a427649582d5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:53:45.323Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-12T20:53:45.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T20:53:45.470Z] prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container [2023-10-12T20:53:45.503Z] $ 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-351 -v /w/workspace/gexfoundry_device-rest-go_PR-351:/w/workspace/gexfoundry_device-rest-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-351@tmp:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-12T20:53:45.827Z] $ docker top 7714c2df99361163afc0b10e5e557f9a61572779a48d8264445b431f12aa6983 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T20:53:46.213Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-351 [Pipeline] fileExists [Pipeline] sh [2023-10-12T20:53:46.576Z] + make test [2023-10-12T20:53:46.576Z] go test ./... -coverprofile=coverage.out ./... [2023-10-12T20:53:47.514Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-12T20:53:57.480Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-12T20:53:57.480Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-10-12T20:54:04.035Z] go vet ./... [2023-10-12T20:54:06.560Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-12T20:54:06.560Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-12T20:54:06.560Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-12T20:54:06.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-12T20:54:06.646Z] $ docker stop --time=1 7714c2df99361163afc0b10e5e557f9a61572779a48d8264445b431f12aa6983 [2023-10-12T20:54:08.896Z] $ docker rm -f --volumes 7714c2df99361163afc0b10e5e557f9a61572779a48d8264445b431f12aa6983 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T20:54:09.477Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-12T20:54:09.567Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-10-12T20:54:09.838Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9157 in /w/workspace/gexfoundry_device-rest-go_PR-351 [Pipeline] sh [Pipeline] { [Pipeline] ws [2023-10-12T20:54:10.086Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-10-12T20:54:10.155Z] The recommended git tool is: git [2023-10-12T20:54:10.268Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-12T20:54:10.574Z] + ls -al . [2023-10-12T20:54:10.574Z] total 188 [2023-10-12T20:54:10.574Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 20:53 . [2023-10-12T20:54:10.574Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 20:51 .. [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 12 20:51 .dockerignore [2023-10-12T20:54:10.574Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 20:53 .git [2023-10-12T20:54:10.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 20:51 .github [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 12 20:51 .gitignore [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 20:51 .golangci.yml [2023-10-12T20:54:10.574Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 20:52 .semver [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 12 20:51 Attribution.txt [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 12 20:51 CHANGELOG.md [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 12 20:51 Dockerfile [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 20:51 GOVERNANCE.md [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 20:51 Jenkinsfile [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 20:51 LICENSE [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 12 20:51 Makefile [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 12 20:51 OWNERS.md [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 12 20:51 README.md [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 20:52 VERSION [2023-10-12T20:54:10.574Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 20:51 bin [2023-10-12T20:54:10.574Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 20:51 cmd [2023-10-12T20:54:10.574Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 12 20:53 coverage.out [2023-10-12T20:54:10.574Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 20:51 driver [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 12 20:51 go.mod [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 35625 Oct 12 20:51 go.sum [2023-10-12T20:54:10.574Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 20:51 snap [2023-10-12T20:54:10.574Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 12 20:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:54:10.973Z] + 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=db8effdb4af4965fb3c4a64109ba6b528fe44092 --label arch=amd64 --label version=0.0.0 . [2023-10-12T20:54:10.973Z] Sending build context to Docker daemon 10.96MB [2023-10-12T20:54:10.973Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T20:54:10.973Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-12T20:54:10.973Z] ---> fbf9b7efc5cb [2023-10-12T20:54:10.973Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-12T20:54:10.973Z] ---> Running in 08d739006aea [2023-10-12T20:54:11.239Z] Removing intermediate container 08d739006aea [2023-10-12T20:54:11.239Z] ---> 2f46828eeb51 [2023-10-12T20:54:11.239Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T20:54:11.239Z] ---> Running in 634da308db07 [2023-10-12T20:54:11.239Z] Removing intermediate container 634da308db07 [2023-10-12T20:54:11.239Z] ---> fcd55cd0422a [2023-10-12T20:54:11.239Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-12T20:54:11.239Z] ---> Running in 00bec23cb405 [2023-10-12T20:54:11.239Z] Removing intermediate container 00bec23cb405 [2023-10-12T20:54:11.239Z] ---> 8f41a1995936 [2023-10-12T20:54:11.239Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-12T20:54:11.499Z] ---> Running in 18c882bda286 [2023-10-12T20:54:11.499Z] Removing intermediate container 18c882bda286 [2023-10-12T20:54:11.499Z] ---> 90d9e4a9d2a9 [2023-10-12T20:54:11.499Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-12T20:54:11.499Z] ---> Running in 571ac995a650 [2023-10-12T20:54:11.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T20:54:12.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T20:54:12.275Z] OK: 268 MiB in 56 packages [2023-10-12T20:54:12.534Z] Removing intermediate container 571ac995a650 [2023-10-12T20:54:12.534Z] ---> 4a3e886ef302 [2023-10-12T20:54:12.534Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-12T20:54:12.534Z] ---> Running in 242db00d630e [2023-10-12T20:54:12.534Z] Removing intermediate container 242db00d630e [2023-10-12T20:54:12.534Z] ---> 279ab4af78b5 [2023-10-12T20:54:12.534Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-12T20:54:12.794Z] ---> 5c8dc326e225 [2023-10-12T20:54:12.794Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T20:54:12.794Z] ---> Running in a91ce5659011 [2023-10-12T20:54:13.361Z] Removing intermediate container a91ce5659011 [2023-10-12T20:54:13.361Z] ---> fd8b95c9e4d4 [2023-10-12T20:54:13.361Z] Step 11/25 : COPY . . [2023-10-12T20:54:13.620Z] ---> 8133619bbdb8 [2023-10-12T20:54:13.620Z] Step 12/25 : RUN $MAKE [2023-10-12T20:54:13.620Z] ---> Running in ed6ecd1ce9f6 [2023-10-12T20:54:13.880Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-12T20:54:14.920Z] using credential edgex-jenkins-ssh [2023-10-12T20:54:14.940Z] Cloning the remote Git repository [2023-10-12T20:54:14.969Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-12T20:54:15.047Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-10-12T20:54:15.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-12T20:54:15.169Z] > git --version # timeout=10 [2023-10-12T20:54:15.193Z] > git --version # 'git version 2.25.1' [2023-10-12T20:54:15.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-12T20:54:15.321Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-12T20:54:17.153Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-12T20:54:17.190Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-12T20:54:18.625Z] Merging remotes/origin/main commit 7254ae82036954a30da847ceb4fb6fc335c14613 into PR head commit db8effdb4af4965fb3c4a64109ba6b528fe44092 [2023-10-12T20:54:18.901Z] Merge succeeded, producing db8effdb4af4965fb3c4a64109ba6b528fe44092 [2023-10-12T20:54:18.902Z] Checking out Revision db8effdb4af4965fb3c4a64109ba6b528fe44092 (PR-351) [2023-10-12T20:54:18.007Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-12T20:54:18.047Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-12T20:54:18.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-12T20:54:18.066Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/351/head:refs/remotes/origin/PR-351 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-12T20:54:18.640Z] > git config core.sparsecheckout # timeout=10 [2023-10-12T20:54:18.704Z] > git checkout -f db8effdb4af4965fb3c4a64109ba6b528fe44092 # timeout=10 [2023-10-12T20:54:18.787Z] > git remote # timeout=10 [2023-10-12T20:54:18.808Z] > git config --get remote.origin.url # timeout=10 [2023-10-12T20:54:18.836Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-12T20:54:18.850Z] > git merge 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 [2023-10-12T20:54:18.878Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-12T20:54:18.904Z] > git config core.sparsecheckout # timeout=10 [2023-10-12T20:54:18.927Z] > git checkout -f db8effdb4af4965fb3c4a64109ba6b528fe44092 # timeout=10 [2023-10-12T20:54:19.346Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-10-12T20:54:19.388Z] > git --version # timeout=10 [2023-10-12T20:54:19.398Z] > git --version # 'git version 2.25.1' [2023-10-12T20:54:19.416Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T20:54:20.646Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-12T20:54:20.646Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-12T20:54:20.646Z] Dload Upload Total Spent Left Speed [2023-10-12T20:54:20.646Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-10-12T20:54:21.295Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-12T20:54:21.641Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-12T20:54:21.641Z] + sudo tee /etc/docker/daemon.new [2023-10-12T20:54:21.641Z] { [2023-10-12T20:54:21.641Z] "registry-mirrors": [ [2023-10-12T20:54:21.641Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-12T20:54:21.641Z] ], [2023-10-12T20:54:21.641Z] "bip": "10.250.0.254/24", [2023-10-12T20:54:21.641Z] "hosts": [ [2023-10-12T20:54:21.641Z] "tcp://0.0.0.0:5555", [2023-10-12T20:54:21.641Z] "unix:///var/run/docker.sock" [2023-10-12T20:54:21.641Z] ], [2023-10-12T20:54:21.641Z] "mtu": 1458, [2023-10-12T20:54:21.641Z] "selinux-enabled": true, [2023-10-12T20:54:21.641Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-12T20:54:21.641Z] } [Pipeline] sh [2023-10-12T20:54:21.981Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-12T20:54:22.336Z] + sudo service docker restart [2023-10-12T20:54:35.230Z] Removing intermediate container ed6ecd1ce9f6 [2023-10-12T20:54:35.230Z] ---> a5a49b9b6411 [2023-10-12T20:54:35.230Z] Step 13/25 : FROM alpine:3.18 [2023-10-12T20:54:35.230Z] 3.18: Pulling from library/alpine [2023-10-12T20:54:35.230Z] 96526aa774ef: Pulling fs layer [2023-10-12T20:54:37.672Z] 96526aa774ef: Verifying Checksum [2023-10-12T20:54:37.672Z] 96526aa774ef: Download complete [2023-10-12T20:54:37.672Z] 96526aa774ef: Pull complete [2023-10-12T20:54:37.672Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-12T20:54:37.672Z] Status: Downloaded newer image for alpine:3.18 [2023-10-12T20:54:37.672Z] ---> 8ca4688f4f35 [2023-10-12T20:54:37.672Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-12T20:54:37.672Z] ---> Running in 9ae46dd1a0cb [2023-10-12T20:54:37.672Z] Removing intermediate container 9ae46dd1a0cb [2023-10-12T20:54:37.672Z] ---> 14292807be2b [2023-10-12T20:54:37.672Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-12T20:54:37.672Z] ---> Running in a52aa48c1db4 [2023-10-12T20:54:37.672Z] Removing intermediate container a52aa48c1db4 [2023-10-12T20:54:37.672Z] ---> e371e2ac612f [2023-10-12T20:54:37.672Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-12T20:54:37.672Z] ---> Running in 5fd3df3a8f99 [2023-10-12T20:54:37.672Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-12T20:54:37.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-12T20:54:39.167Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-12T20:54:39.167Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T20:54:39.167Z] OK: 7 MiB in 16 packages [2023-10-12T20:54:39.167Z] Removing intermediate container 5fd3df3a8f99 [2023-10-12T20:54:39.167Z] ---> 62e6e5b2bf0c [2023-10-12T20:54:39.167Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T20:54:40.660Z] provisioning config files... [2023-10-12T20:54:40.683Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9938776003503847401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T20:54:41.081Z] ---> docker-login.sh [2023-10-12T20:54:41.081Z] nexus3.edgexfoundry.org:10001 [2023-10-12T20:54:41.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:54:41.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:54:41.629Z] Configure a credential helper to remove this warning. See [2023-10-12T20:54:41.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:54:41.629Z] [2023-10-12T20:54:41.629Z] Login Succeeded [2023-10-12T20:54:41.629Z] nexus3.edgexfoundry.org:10002 [2023-10-12T20:54:41.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:54:41.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:54:41.897Z] Configure a credential helper to remove this warning. See [2023-10-12T20:54:41.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:54:41.897Z] [2023-10-12T20:54:41.897Z] Login Succeeded [2023-10-12T20:54:41.897Z] nexus3.edgexfoundry.org:10003 [2023-10-12T20:54:42.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:54:42.176Z] ---> 3254721a33c6 [2023-10-12T20:54:42.176Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-12T20:54:42.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:54:42.440Z] Configure a credential helper to remove this warning. See [2023-10-12T20:54:42.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:54:42.440Z] [2023-10-12T20:54:42.440Z] Login Succeeded [2023-10-12T20:54:42.440Z] nexus3.edgexfoundry.org:10004 [2023-10-12T20:54:42.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:54:42.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:54:42.712Z] Configure a credential helper to remove this warning. See [2023-10-12T20:54:42.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:54:42.712Z] [2023-10-12T20:54:42.712Z] Login Succeeded [2023-10-12T20:54:42.712Z] docker.io [2023-10-12T20:54:42.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-12T20:54:42.993Z] ---> 75a29df5727b [2023-10-12T20:54:42.994Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-12T20:54:43.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-12T20:54:43.246Z] Configure a credential helper to remove this warning. See [2023-10-12T20:54:43.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-12T20:54:43.246Z] [2023-10-12T20:54:43.246Z] Login Succeeded [2023-10-12T20:54:43.246Z] ---> docker-login.sh ends [Pipeline] } [2023-10-12T20:54:43.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-12T20:54:43.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T20:54:43.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-12T20:54:43.704Z] ========================================================= [2023-10-12T20:54:43.704Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-12T20:54:43.704Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:54:44.193Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-12T20:54:44.193Z] Sending build context to Docker daemon 144.4kB [2023-10-12T20:54:44.462Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T20:54:44.462Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-12T20:54:44.462Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-12T20:54:44.462Z] 9fda8d8052c6: Pulling fs layer [2023-10-12T20:54:44.462Z] 5d54e960e981: Pulling fs layer [2023-10-12T20:54:44.462Z] c4a7e357bf2a: Pulling fs layer [2023-10-12T20:54:44.462Z] f0e02332f6b5: Pulling fs layer [2023-10-12T20:54:44.462Z] cefa15bbcfad: Pulling fs layer [2023-10-12T20:54:44.462Z] 17808c966233: Pulling fs layer [2023-10-12T20:54:44.462Z] f4c1fc716caa: Pulling fs layer [2023-10-12T20:54:44.462Z] cefa15bbcfad: Waiting [2023-10-12T20:54:44.462Z] 17808c966233: Waiting [2023-10-12T20:54:44.462Z] f4c1fc716caa: Waiting [2023-10-12T20:54:44.462Z] f0e02332f6b5: Waiting [2023-10-12T20:54:44.462Z] 5d54e960e981: Verifying Checksum [2023-10-12T20:54:44.462Z] 5d54e960e981: Download complete [2023-10-12T20:54:44.732Z] f0e02332f6b5: Download complete [2023-10-12T20:54:44.732Z] cefa15bbcfad: Verifying Checksum [2023-10-12T20:54:44.732Z] cefa15bbcfad: Download complete [2023-10-12T20:54:44.732Z] 9fda8d8052c6: Download complete [2023-10-12T20:54:44.999Z] f4c1fc716caa: Verifying Checksum [2023-10-12T20:54:44.999Z] f4c1fc716caa: Download complete [2023-10-12T20:54:45.197Z] ---> 062e8f8300b6 [2023-10-12T20:54:45.197Z] Step 20/25 : EXPOSE 59986 [2023-10-12T20:54:45.197Z] ---> Running in 09068d760beb [2023-10-12T20:54:45.197Z] Removing intermediate container 09068d760beb [2023-10-12T20:54:45.197Z] ---> 7a124710fbe4 [2023-10-12T20:54:45.197Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-12T20:54:45.197Z] ---> Running in adf639427833 [2023-10-12T20:54:45.197Z] Removing intermediate container adf639427833 [2023-10-12T20:54:45.197Z] ---> 15da96a60c1b [2023-10-12T20:54:45.197Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-12T20:54:45.590Z] 9fda8d8052c6: Pull complete [2023-10-12T20:54:46.317Z] ---> Running in 07835a997967 [2023-10-12T20:54:46.317Z] Removing intermediate container 07835a997967 [2023-10-12T20:54:46.317Z] ---> 2019e687838e [2023-10-12T20:54:46.317Z] Step 23/25 : LABEL arch=amd64 [2023-10-12T20:54:46.317Z] ---> Running in d26e4b7b26fb [2023-10-12T20:54:46.317Z] Removing intermediate container d26e4b7b26fb [2023-10-12T20:54:46.317Z] ---> fc86bd073c7a [2023-10-12T20:54:46.317Z] Step 24/25 : LABEL git_sha=db8effdb4af4965fb3c4a64109ba6b528fe44092 [2023-10-12T20:54:46.555Z] c4a7e357bf2a: Verifying Checksum [2023-10-12T20:54:46.556Z] c4a7e357bf2a: Download complete [2023-10-12T20:54:46.777Z] ---> Running in 407691efc438 [2023-10-12T20:54:47.037Z] Removing intermediate container 407691efc438 [2023-10-12T20:54:47.037Z] ---> 9e0ac5ec2ec4 [2023-10-12T20:54:47.037Z] Step 25/25 : LABEL version=0.0.0 [2023-10-12T20:54:47.037Z] ---> Running in ef24583373d2 [2023-10-12T20:54:47.037Z] Removing intermediate container ef24583373d2 [2023-10-12T20:54:47.037Z] ---> 3cdc51d50078 [2023-10-12T20:54:47.037Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-12T20:54:47.037Z] Successfully built 3cdc51d50078 [2023-10-12T20:54:47.037Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-10-12T20:54:47.139Z] 17808c966233: Verifying Checksum [2023-10-12T20:54:47.139Z] 17808c966233: Download complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:54:48.098Z] 5d54e960e981: Pull complete [2023-10-12T20:54:49.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T20:54:49.157Z] [2023-10-12T20:54:49.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:54:49.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T20:54:49.548Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-12T20:54:49.548Z] 5eb5b503b376: Pulling fs layer [2023-10-12T20:54:49.548Z] 5c69ac0246d0: Pulling fs layer [2023-10-12T20:54:49.548Z] ec43610c2a17: Pulling fs layer [2023-10-12T20:54:49.548Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-12T20:54:49.548Z] 33b1e0a273af: Pulling fs layer [2023-10-12T20:54:49.548Z] 5d3b04190fa2: Pulling fs layer [2023-10-12T20:54:49.548Z] 2f39f015ded8: Pulling fs layer [2023-10-12T20:54:49.548Z] 2f39f015ded8: Waiting [2023-10-12T20:54:49.548Z] 33b1e0a273af: Waiting [2023-10-12T20:54:49.548Z] 3a2ae6a8a46f: Waiting [2023-10-12T20:54:49.548Z] 5d3b04190fa2: Waiting [2023-10-12T20:54:49.548Z] 5c69ac0246d0: Download complete [2023-10-12T20:54:49.548Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-12T20:54:49.548Z] 3a2ae6a8a46f: Download complete [2023-10-12T20:54:49.548Z] 33b1e0a273af: Verifying Checksum [2023-10-12T20:54:49.548Z] 33b1e0a273af: Download complete [2023-10-12T20:54:49.548Z] ec43610c2a17: Verifying Checksum [2023-10-12T20:54:49.548Z] ec43610c2a17: Download complete [2023-10-12T20:54:49.548Z] 5d3b04190fa2: Verifying Checksum [2023-10-12T20:54:49.548Z] 5d3b04190fa2: Download complete [2023-10-12T20:54:49.810Z] 5eb5b503b376: Verifying Checksum [2023-10-12T20:54:49.810Z] 5eb5b503b376: Download complete [2023-10-12T20:54:50.382Z] 2f39f015ded8: Verifying Checksum [2023-10-12T20:54:50.382Z] 2f39f015ded8: Download complete [2023-10-12T20:54:50.951Z] 5eb5b503b376: Pull complete [2023-10-12T20:54:50.951Z] 5c69ac0246d0: Pull complete [2023-10-12T20:54:51.521Z] ec43610c2a17: Pull complete [2023-10-12T20:54:51.521Z] 3a2ae6a8a46f: Pull complete [2023-10-12T20:54:51.781Z] 33b1e0a273af: Pull complete [2023-10-12T20:54:51.781Z] 5d3b04190fa2: Pull complete [2023-10-12T20:54:55.980Z] 2f39f015ded8: Pull complete [2023-10-12T20:54:55.980Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-12T20:54:55.980Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T20:54:55.980Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T20:54:56.206Z] prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container [2023-10-12T20:54:56.242Z] $ 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-351 -v /w/workspace/gexfoundry_device-rest-go_PR-351:/w/workspace/gexfoundry_device-rest-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-351@tmp:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-12T20:54:58.685Z] $ docker top 822f49a0a2be7f447bc62c3f496fd95c93c76a7fa43770c7daac746ca7cb8e23 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T20:54:59.148Z] ---> job-cost.sh [2023-10-12T20:54:59.148Z] lf-activate-venv: SKIPPING [2023-10-12T20:54:59.148Z] INFO: No Stack... [2023-10-12T20:54:59.406Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-12T20:54:59.666Z] INFO: Archiving Costs [Pipeline] sh [2023-10-12T20:54:59.982Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-351/archives/cost.csv [2023-10-12T20:54:59.982Z] + cut -d, -f6 [Pipeline] lock [2023-10-12T20:55:00.022Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] [2023-10-12T20:55:00.026Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] did not exist. Created. [2023-10-12T20:55:00.026Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-12T20:55:00.412Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-12T20:55:00.461Z] Stashed 1 file(s) [Pipeline] } [2023-10-12T20:55:00.493Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-12T20:55:00.585Z] $ docker stop --time=1 822f49a0a2be7f447bc62c3f496fd95c93c76a7fa43770c7daac746ca7cb8e23 [2023-10-12T20:55:01.738Z] $ docker rm -f --volumes 822f49a0a2be7f447bc62c3f496fd95c93c76a7fa43770c7daac746ca7cb8e23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-12T20:55:03.189Z] c4a7e357bf2a: Pull complete [2023-10-12T20:55:03.189Z] f0e02332f6b5: Pull complete [2023-10-12T20:55:03.189Z] cefa15bbcfad: Pull complete [2023-10-12T20:55:11.413Z] 17808c966233: Pull complete [2023-10-12T20:55:12.370Z] f4c1fc716caa: Pull complete [2023-10-12T20:55:12.370Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-12T20:55:12.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-12T20:55:12.370Z] ---> ea914061e18c [2023-10-12T20:55:12.370Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-12T20:55:13.782Z] ---> Running in 4a3b52b63b91 [2023-10-12T20:55:13.782Z] Removing intermediate container 4a3b52b63b91 [2023-10-12T20:55:13.782Z] ---> 02780307f00d [2023-10-12T20:55:13.782Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T20:55:13.782Z] ---> Running in 2a608d10914e [2023-10-12T20:55:14.052Z] Removing intermediate container 2a608d10914e [2023-10-12T20:55:14.052Z] ---> 8fe2155e48e8 [2023-10-12T20:55:14.052Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-12T20:55:14.319Z] ---> Running in 7fc28cf115bf [2023-10-12T20:55:14.586Z] Removing intermediate container 7fc28cf115bf [2023-10-12T20:55:14.586Z] ---> 14d37cfc4169 [2023-10-12T20:55:14.586Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-12T20:55:14.586Z] ---> Running in f49abcc9b8fe [2023-10-12T20:55:15.513Z] Removing intermediate container f49abcc9b8fe [2023-10-12T20:55:15.513Z] ---> b7ece6bccbc3 [2023-10-12T20:55:15.513Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-12T20:55:15.513Z] ---> Running in d0c5d9fc712a [2023-10-12T20:55:16.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T20:55:16.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T20:55:17.318Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-12T20:55:17.318Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-12T20:55:17.584Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-12T20:55:17.584Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-12T20:55:17.584Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T20:55:17.584Z] OK: 270 MiB in 56 packages [2023-10-12T20:55:18.547Z] Removing intermediate container d0c5d9fc712a [2023-10-12T20:55:18.547Z] ---> ca774e32372d [2023-10-12T20:55:18.547Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-12T20:55:18.815Z] ---> Running in 7a05b3575366 [2023-10-12T20:55:19.090Z] Removing intermediate container 7a05b3575366 [2023-10-12T20:55:19.090Z] ---> fbe441f4f440 [2023-10-12T20:55:19.090Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-12T20:55:19.356Z] ---> f07e23806d3f [2023-10-12T20:55:19.356Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T20:55:19.625Z] ---> Running in 829042066bff [2023-10-12T20:56:56.246Z] Removing intermediate container 829042066bff [2023-10-12T20:56:56.246Z] ---> 6bc9bd71cdd4 [2023-10-12T20:56:56.246Z] Step 11/12 : COPY . . [2023-10-12T20:56:56.246Z] ---> a302fedff437 [2023-10-12T20:56:56.246Z] Step 12/12 : RUN $MAKE [2023-10-12T20:56:56.246Z] ---> Running in 91d2bfba301c [2023-10-12T20:56:56.246Z] noop [2023-10-12T20:56:56.246Z] Removing intermediate container 91d2bfba301c [2023-10-12T20:56:56.246Z] ---> 6b7f650f2864 [2023-10-12T20:56:56.246Z] Successfully built 6b7f650f2864 [2023-10-12T20:56:56.246Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:56:56.742Z] + docker inspect -f . ci-base-image-arm64 [2023-10-12T20:56:56.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T20:56:57.010Z] prd-ubuntu20.04-docker-arm64-4c-16g-9157 does not seem to be running inside a container [2023-10-12T20:56:57.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-12T20:56:58.246Z] $ docker top 97608ef1c9dd3f2a8706b1d9c9cbe293e0cd375184c28326d23bfc95599c2662 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T20:56:59.094Z] + go version [2023-10-12T20:56:59.095Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-12T20:56:59.138Z] $ docker stop --time=1 97608ef1c9dd3f2a8706b1d9c9cbe293e0cd375184c28326d23bfc95599c2662 [2023-10-12T20:57:03.673Z] $ docker rm -f --volumes 97608ef1c9dd3f2a8706b1d9c9cbe293e0cd375184c28326d23bfc95599c2662 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:57:04.516Z] + docker inspect -f . ci-base-image-arm64 [2023-10-12T20:57:04.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T20:57:04.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-9157 does not seem to be running inside a container [2023-10-12T20:57:04.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-12T20:57:05.925Z] $ docker top c838d2689ba664df79b990c2b234d9d4ab8f76507b3063c39e372688ff6dca0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T20:57:06.457Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-12T20:57:06.837Z] + make test [2023-10-12T20:57:06.837Z] go test ./... -coverprofile=coverage.out ./... [2023-10-12T20:57:11.089Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-12T20:58:47.702Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-12T20:58:47.702Z] ok github.com/edgexfoundry/device-rest-go/driver 0.049s coverage: 33.2% of statements [2023-10-12T20:58:47.702Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-12T20:58:47.702Z] go vet ./... [2023-10-12T20:59:14.358Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-12T20:59:14.358Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-12T20:59:14.358Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-12T20:59:14.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-12T20:59:14.446Z] $ docker stop --time=1 c838d2689ba664df79b990c2b234d9d4ab8f76507b3063c39e372688ff6dca0a [2023-10-12T20:59:16.258Z] $ docker rm -f --volumes c838d2689ba664df79b990c2b234d9d4ab8f76507b3063c39e372688ff6dca0a [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-12T20:59:17.414Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-12T20:59:17.449Z] Warning: overwriting stash ‘coverage-report’ [2023-10-12T20:59:17.864Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-12T20:59:18.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-12T20:59:18.807Z] + ls -al . [2023-10-12T20:59:18.807Z] total 184 [2023-10-12T20:59:18.807Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 20:57 . [2023-10-12T20:59:18.807Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 20:54 .. [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 12 20:54 .dockerignore [2023-10-12T20:59:18.807Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 20:54 .git [2023-10-12T20:59:18.807Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 20:54 .github [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 12 20:54 .gitignore [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 12 20:54 .golangci.yml [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 12 20:54 Attribution.txt [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 12 20:54 CHANGELOG.md [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 12 20:54 Dockerfile [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 20:54 GOVERNANCE.md [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 12 20:54 Jenkinsfile [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 12 20:54 LICENSE [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 12 20:54 Makefile [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 12 20:54 OWNERS.md [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 15827 Oct 12 20:54 README.md [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 20:52 VERSION [2023-10-12T20:59:18.807Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 20:54 bin [2023-10-12T20:59:18.807Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 20:54 cmd [2023-10-12T20:59:18.807Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 12 20:58 coverage.out [2023-10-12T20:59:18.807Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 20:54 driver [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 12 20:54 go.mod [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 35625 Oct 12 20:54 go.sum [2023-10-12T20:59:18.807Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 20:54 snap [2023-10-12T20:59:18.807Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 12 20:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T20:59:19.227Z] + 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=db8effdb4af4965fb3c4a64109ba6b528fe44092 --label arch=arm64 --label version=0.0.0 . [2023-10-12T20:59:19.227Z] Sending build context to Docker daemon 159.7kB [2023-10-12T20:59:19.492Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-12T20:59:19.492Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-12T20:59:19.492Z] ---> 6b7f650f2864 [2023-10-12T20:59:19.492Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-12T20:59:19.492Z] ---> Running in dc68532d1711 [2023-10-12T20:59:19.759Z] Removing intermediate container dc68532d1711 [2023-10-12T20:59:19.759Z] ---> f591ad258a97 [2023-10-12T20:59:19.759Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-12T20:59:20.024Z] ---> Running in f80d45e70d04 [2023-10-12T20:59:20.289Z] Removing intermediate container f80d45e70d04 [2023-10-12T20:59:20.289Z] ---> 56ab779d5202 [2023-10-12T20:59:20.289Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-12T20:59:20.289Z] ---> Running in f45b04477f81 [2023-10-12T20:59:20.554Z] Removing intermediate container f45b04477f81 [2023-10-12T20:59:20.554Z] ---> 1a6f6e7dba41 [2023-10-12T20:59:20.554Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-12T20:59:20.554Z] ---> Running in 9ad2bb4a0c28 [2023-10-12T20:59:20.821Z] Removing intermediate container 9ad2bb4a0c28 [2023-10-12T20:59:20.821Z] ---> 1af264923509 [2023-10-12T20:59:20.821Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-12T20:59:21.090Z] ---> Running in b3d9cb7fc0f5 [2023-10-12T20:59:22.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T20:59:22.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T20:59:23.263Z] OK: 270 MiB in 56 packages [2023-10-12T20:59:24.214Z] Removing intermediate container b3d9cb7fc0f5 [2023-10-12T20:59:24.214Z] ---> da70ad36ef3f [2023-10-12T20:59:24.214Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-12T20:59:24.214Z] ---> Running in 1af15c90878e [2023-10-12T20:59:24.478Z] Removing intermediate container 1af15c90878e [2023-10-12T20:59:24.478Z] ---> f6ebdd8a11a0 [2023-10-12T20:59:24.478Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-12T20:59:25.060Z] ---> c57361c772c4 [2023-10-12T20:59:25.060Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-12T20:59:25.060Z] ---> Running in ad4201378bc0 [2023-10-12T20:59:27.001Z] Removing intermediate container ad4201378bc0 [2023-10-12T20:59:27.001Z] ---> 830c063e9bbd [2023-10-12T20:59:27.001Z] Step 11/25 : COPY . . [2023-10-12T20:59:27.592Z] ---> 6d5d6c810ac5 [2023-10-12T20:59:27.592Z] Step 12/25 : RUN $MAKE [2023-10-12T20:59:27.592Z] ---> Running in 58da76ad1e29 [2023-10-12T20:59:28.547Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-12T21:01:20.258Z] Removing intermediate container 58da76ad1e29 [2023-10-12T21:01:20.258Z] ---> a0ddfc82b5e5 [2023-10-12T21:01:20.258Z] Step 13/25 : FROM alpine:3.18 [2023-10-12T21:01:20.258Z] 3.18: Pulling from library/alpine [2023-10-12T21:01:20.258Z] 579b34f0a95b: Pulling fs layer [2023-10-12T21:01:20.258Z] 579b34f0a95b: Verifying Checksum [2023-10-12T21:01:20.258Z] 579b34f0a95b: Download complete [2023-10-12T21:01:20.258Z] 579b34f0a95b: Pull complete [2023-10-12T21:01:20.258Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-12T21:01:20.258Z] Status: Downloaded newer image for alpine:3.18 [2023-10-12T21:01:20.258Z] ---> 3cc203321400 [2023-10-12T21:01:20.258Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-12T21:01:20.258Z] ---> Running in 7cf6dd4543f0 [2023-10-12T21:01:20.258Z] Removing intermediate container 7cf6dd4543f0 [2023-10-12T21:01:20.258Z] ---> 00cdfd3793f9 [2023-10-12T21:01:20.258Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-12T21:01:20.258Z] ---> Running in 5f5959342cd9 [2023-10-12T21:01:20.258Z] Removing intermediate container 5f5959342cd9 [2023-10-12T21:01:20.258Z] ---> 476dffd1a3ec [2023-10-12T21:01:20.258Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-12T21:01:20.258Z] ---> Running in 92b1dbbf4716 [2023-10-12T21:01:20.258Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-12T21:01:20.258Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-12T21:01:20.258Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-12T21:01:20.258Z] Executing busybox-1.36.1-r2.trigger [2023-10-12T21:01:20.258Z] OK: 8 MiB in 16 packages [2023-10-12T21:01:20.258Z] Removing intermediate container 92b1dbbf4716 [2023-10-12T21:01:20.258Z] ---> 0e35d84ed580 [2023-10-12T21:01:20.258Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-12T21:01:20.258Z] ---> 416a96ca94e9 [2023-10-12T21:01:20.258Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-12T21:01:20.258Z] ---> 7e4688595517 [2023-10-12T21:01:20.258Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-12T21:01:20.258Z] ---> ad9e648d3057 [2023-10-12T21:01:20.258Z] Step 20/25 : EXPOSE 59986 [2023-10-12T21:01:20.258Z] ---> Running in cec9e01d1c22 [2023-10-12T21:01:20.258Z] Removing intermediate container cec9e01d1c22 [2023-10-12T21:01:20.258Z] ---> 714c3146098c [2023-10-12T21:01:20.258Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-12T21:01:20.258Z] ---> Running in 96d09ef3da66 [2023-10-12T21:01:20.258Z] Removing intermediate container 96d09ef3da66 [2023-10-12T21:01:20.258Z] ---> c5fa1d3ed044 [2023-10-12T21:01:20.258Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-12T21:01:20.258Z] ---> Running in 5b3d2e5e0025 [2023-10-12T21:01:20.258Z] Removing intermediate container 5b3d2e5e0025 [2023-10-12T21:01:20.258Z] ---> c667bde5d433 [2023-10-12T21:01:20.258Z] Step 23/25 : LABEL arch=arm64 [2023-10-12T21:01:20.258Z] ---> Running in 14e99bc57961 [2023-10-12T21:01:20.258Z] Removing intermediate container 14e99bc57961 [2023-10-12T21:01:20.258Z] ---> c01ae5049dda [2023-10-12T21:01:20.258Z] Step 24/25 : LABEL git_sha=db8effdb4af4965fb3c4a64109ba6b528fe44092 [2023-10-12T21:01:20.258Z] ---> Running in 623b3cfc4778 [2023-10-12T21:01:20.258Z] Removing intermediate container 623b3cfc4778 [2023-10-12T21:01:20.258Z] ---> 8b5fc87903d7 [2023-10-12T21:01:20.258Z] Step 25/25 : LABEL version=0.0.0 [2023-10-12T21:01:20.258Z] ---> Running in 0fdf96d8a910 [2023-10-12T21:01:20.258Z] Removing intermediate container 0fdf96d8a910 [2023-10-12T21:01:20.258Z] ---> bfd194b798da [2023-10-12T21:01:20.258Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-12T21:01:20.258Z] Successfully built bfd194b798da [2023-10-12T21:01:20.258Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T21:01:21.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T21:01:21.103Z] [2023-10-12T21:01:21.103Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T21:01:21.507Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T21:01:21.507Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-12T21:01:21.507Z] 8998bd30e6a1: Pulling fs layer [2023-10-12T21:01:21.507Z] 04944245beec: Pulling fs layer [2023-10-12T21:01:21.507Z] 699f458cf7ca: Pulling fs layer [2023-10-12T21:01:21.507Z] 765212b225bb: Pulling fs layer [2023-10-12T21:01:21.507Z] f23df028b6ca: Pulling fs layer [2023-10-12T21:01:21.507Z] d65c8cfc05b1: Pulling fs layer [2023-10-12T21:01:21.507Z] 2437ff75d9bd: Pulling fs layer [2023-10-12T21:01:21.507Z] f23df028b6ca: Waiting [2023-10-12T21:01:21.507Z] d65c8cfc05b1: Waiting [2023-10-12T21:01:21.507Z] 2437ff75d9bd: Waiting [2023-10-12T21:01:21.507Z] 765212b225bb: Waiting [2023-10-12T21:01:21.774Z] 04944245beec: Verifying Checksum [2023-10-12T21:01:21.774Z] 04944245beec: Download complete [2023-10-12T21:01:21.774Z] 765212b225bb: Verifying Checksum [2023-10-12T21:01:21.774Z] 765212b225bb: Download complete [2023-10-12T21:01:21.774Z] f23df028b6ca: Download complete [2023-10-12T21:01:21.774Z] d65c8cfc05b1: Verifying Checksum [2023-10-12T21:01:21.774Z] d65c8cfc05b1: Download complete [2023-10-12T21:01:21.774Z] 699f458cf7ca: Verifying Checksum [2023-10-12T21:01:21.774Z] 699f458cf7ca: Download complete [2023-10-12T21:01:22.360Z] 8998bd30e6a1: Verifying Checksum [2023-10-12T21:01:22.360Z] 8998bd30e6a1: Download complete [2023-10-12T21:01:24.944Z] 2437ff75d9bd: Verifying Checksum [2023-10-12T21:01:24.944Z] 2437ff75d9bd: Download complete [2023-10-12T21:01:27.522Z] 8998bd30e6a1: Pull complete [2023-10-12T21:01:27.522Z] 04944245beec: Pull complete [2023-10-12T21:01:28.929Z] 699f458cf7ca: Pull complete [2023-10-12T21:01:29.197Z] 765212b225bb: Pull complete [2023-10-12T21:01:30.150Z] f23df028b6ca: Pull complete [2023-10-12T21:01:30.419Z] d65c8cfc05b1: Pull complete [2023-10-12T21:01:48.764Z] 2437ff75d9bd: Pull complete [2023-10-12T21:01:48.764Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-12T21:01:48.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-12T21:01:48.764Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T21:01:49.134Z] prd-ubuntu20.04-docker-arm64-4c-16g-9157 does not seem to be running inside a container [2023-10-12T21:01:49.215Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-12T21:01:51.732Z] $ docker top 7b064ca6fd6241ac62070c3fcadac2375086ec9dcc16b756b28bfa6a9ff10670 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-12T21:01:52.615Z] ---> job-cost.sh [2023-10-12T21:01:52.615Z] lf-activate-venv: SKIPPING [2023-10-12T21:01:52.615Z] INFO: No Stack... [2023-10-12T21:01:52.882Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-12T21:01:53.836Z] INFO: Archiving Costs [Pipeline] sh [2023-10-12T21:01:54.486Z] + cut -d, -f6 [2023-10-12T21:01:54.486Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-10-12T21:01:54.555Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] [2023-10-12T21:01:54.562Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] did not exist. Created. [2023-10-12T21:01:54.562Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-12T21:01:54.993Z] /w/workspace/device-rest-go/1@tmp/durable-e1f515fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-12T21:01:55.925Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-12T21:01:55.961Z] Warning: overwriting stash ‘stack-cost’ [2023-10-12T21:01:56.005Z] Stashed 1 file(s) [Pipeline] } [2023-10-12T21:01:56.021Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-351-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-12T21:01:56.110Z] $ docker stop --time=1 7b064ca6fd6241ac62070c3fcadac2375086ec9dcc16b756b28bfa6a9ff10670 [2023-10-12T21:01:57.620Z] $ docker rm -f --volumes 7b064ca6fd6241ac62070c3fcadac2375086ec9dcc16b756b28bfa6a9ff10670 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-12T21:01:58.612Z] provisioning config files... [2023-10-12T21:01:58.619Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/config4258697533709547630tmp [Pipeline] { [Pipeline] sh [2023-10-12T21:01:58.955Z] + set +x [2023-10-12T21:01:58.955Z] + + curl -s https://codecov.io/bash [2023-10-12T21:01:58.955Z] bash -s -- [2023-10-12T21:01:58.955Z] [2023-10-12T21:01:58.955Z] _____ _ [2023-10-12T21:01:58.955Z] / ____| | | [2023-10-12T21:01:58.955Z] | | ___ __| | ___ ___ _____ __ [2023-10-12T21:01:58.955Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-12T21:01:58.955Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-12T21:01:58.955Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-12T21:01:58.955Z] Bash-1.0.6 [2023-10-12T21:01:58.955Z] [2023-10-12T21:01:58.955Z] [2023-10-12T21:01:58.955Z] ==> git version 2.25.1 found [2023-10-12T21:01:58.955Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-12T21:01:58.955Z] Release-Date: 2020-01-08 [2023-10-12T21:01:58.955Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-12T21:01:58.955Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-12T21:01:58.955Z] ==> Jenkins CI detected. [2023-10-12T21:01:58.955Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-351 [2023-10-12T21:01:58.955Z] project root: . [2023-10-12T21:01:58.955Z] --> token set from env [2023-10-12T21:01:58.955Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-12T21:01:59.215Z] ==> Running gcov in . (disable via -X gcov) [2023-10-12T21:01:59.215Z] ==> Python coveragepy not found [2023-10-12T21:01:59.215Z] ==> Searching for coverage reports in: [2023-10-12T21:01:59.215Z] + . [2023-10-12T21:01:59.215Z] -> Found 1 reports [2023-10-12T21:01:59.215Z] ==> Detecting git/mercurial file structure [2023-10-12T21:01:59.215Z] ==> Reading reports [2023-10-12T21:01:59.215Z] + ./coverage.out bytes=14499 [2023-10-12T21:01:59.215Z] ==> Appending adjustments [2023-10-12T21:01:59.215Z] https://docs.codecov.io/docs/fixing-reports [2023-10-12T21:01:59.215Z] + Found adjustments [2023-10-12T21:01:59.215Z] ==> Gzipping contents [2023-10-12T21:01:59.215Z] 4.0K /tmp/codecov.LlzuoQ.gz [2023-10-12T21:01:59.215Z] ==> Uploading reports [2023-10-12T21:01:59.215Z] url: https://codecov.io [2023-10-12T21:01:59.215Z] query: branch=PR-351&commit=db8effdb4af4965fb3c4a64109ba6b528fe44092&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-351%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=351&job=&cmd_args= [2023-10-12T21:01:59.215Z] -> Pinging Codecov [2023-10-12T21:01:59.215Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-351&commit=db8effdb4af4965fb3c4a64109ba6b528fe44092&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-351%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=351&job=&cmd_args= [2023-10-12T21:01:59.597Z] -> Uploading to [2023-10-12T21:01:59.597Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-12/4E5D53B4F1F92C436F7061BF334D961C/db8effdb4af4965fb3c4a64109ba6b528fe44092/8914b4ff-26cc-4a9d-b6fc-a93dc95983c4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231012T210159Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=85cb9b33871442c92ecdc1ab79a4fe72984ac789b0d191f2433f05f555517b4b [2023-10-12T21:01:59.597Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-12T21:01:59.597Z] Dload Upload Total Spent Left Speed [2023-10-12T21:01:59.597Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 8967 --:--:-- --:--:-- --:--:-- 8935 100 2493 0 0 100 2493 0 8967 --:--:-- --:--:-- --:--:-- 8935 [2023-10-12T21:01:59.597Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/db8effdb4af4965fb3c4a64109ba6b528fe44092 [Pipeline] } [2023-10-12T21:01:59.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-12T21:02:01.421Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-351/archives ] [2023-10-12T21:02:01.421Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-351/archives [2023-10-12T21:02:01.421Z] total 16 [2023-10-12T21:02:01.421Z] drwxr-xr-x 3 root root 4096 Oct 12 20:54 . [2023-10-12T21:02:01.421Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 20:55 .. [2023-10-12T21:02:01.421Z] drwxr-xr-x 2 root root 4096 Oct 12 20:54 cost [2023-10-12T21:02:01.421Z] -rw-r--r-- 1 root root 86 Oct 12 20:54 cost.csv [2023-10-12T21:02:01.421Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-351/archives [2023-10-12T21:02:01.421Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-351/archives [2023-10-12T21:02:01.421Z] total 16 [2023-10-12T21:02:01.421Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 20:54 . [2023-10-12T21:02:01.421Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 20:55 .. [2023-10-12T21:02:01.421Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 20:54 cost [2023-10-12T21:02:01.421Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 12 20:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-12T21:02:01.755Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T21:02:02.647Z] ---> package-listing.sh [2023-10-12T21:02:02.647Z] ++ facter osfamily [2023-10-12T21:02:02.647Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-12T21:02:02.907Z] + OS_FAMILY=debian [2023-10-12T21:02:02.907Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-351 [2023-10-12T21:02:02.907Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-12T21:02:02.907Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-12T21:02:02.907Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-12T21:02:02.907Z] + PACKAGES=/tmp/packages_start.txt [2023-10-12T21:02:02.907Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-351 ']' [2023-10-12T21:02:02.907Z] + PACKAGES=/tmp/packages_end.txt [2023-10-12T21:02:02.907Z] + case "${OS_FAMILY}" in [2023-10-12T21:02:02.907Z] + dpkg -l [2023-10-12T21:02:02.907Z] + grep '^ii' [2023-10-12T21:02:02.907Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-12T21:02:02.907Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-12T21:02:02.907Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-12T21:02:02.907Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-351 ']' [2023-10-12T21:02:02.907Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-351/archives/ [2023-10-12T21:02:02.907Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-351/archives/ [Pipeline] echo [2023-10-12T21:02:02.939Z] 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-351/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-12T21:02:03.233Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-12T21:02:03.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-12T21:02:03.862Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-12T21:02:04.010Z] prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container [2023-10-12T21:02:04.056Z] $ 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-351/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-351 -v /w/workspace/gexfoundry_device-rest-go_PR-351:/w/workspace/gexfoundry_device-rest-go_PR-351:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-351@tmp:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-12T21:02:04.253Z] $ docker top eb03ce97e2146d9637ca5226101085762570209bed6b2b670477b65a4474ea79 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-12T21:02:04.633Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-12T21:02:04.938Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-12T21:02:05.244Z] + ls /var/log/sa-host [2023-10-12T21:02:05.244Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-12T21:02:05.459Z] provisioning config files... [2023-10-12T21:02:05.467Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-351@tmp/config5427188728935919402tmp [Pipeline] { [Pipeline] echo [2023-10-12T21:02:05.518Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T21:02:05.829Z] ---> create-netrc.sh [Pipeline] } [2023-10-12T21:02:05.859Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-12T21:02:06.256Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-12T21:02:06.293Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T21:02:06.614Z] ---> sudo-logs.sh [2023-10-12T21:02:06.614Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-12T21:02:06.698Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T21:02:07.005Z] ---> job-cost.sh [2023-10-12T21:02:07.005Z] lf-activate-venv: SKIPPING [2023-10-12T21:02:07.005Z] DEBUG: total: 0.2199999988079071 [2023-10-12T21:02:07.005Z] INFO: Retrieving Stack Cost... [2023-10-12T21:02:07.265Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-12T21:02:07.833Z] INFO: Archiving Costs [Pipeline] echo [2023-10-12T21:02:07.867Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-12T21:02:08.178Z] ---> logs-deploy.sh [2023-10-12T21:02:08.178Z] lf-activate-venv: SKIPPING [2023-10-12T21:02:08.178Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-351/1 [2023-10-12T21:02:08.178Z] INFO: archiving workspace using pattern(s): [2023-10-12T21:02:09.112Z] Archives upload complete. [2023-10-12T21:02:09.112Z] INFO: archiving logs to Nexus