Pull request #345 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8ec80864749629aae50a869267d6185a5c12a7f7+a515b494e7404baf3466ef0a37ba3fb32cb96e53 (ceca450485949195370be20e2998f67e32fa19c6) 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-ssh4210730024898921540.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-ssh17253115179017044298.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-345/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-345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7326306343940193249.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-345/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2505996953412384397.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-ssh4216771557704241171.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-345/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-345/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15461052679272019140.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-7589 in /w/workspace/gexfoundry_device-rest-go_PR-345 [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-345 # 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/345/head:refs/remotes/origin/PR-345 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a515b494e7404baf3466ef0a37ba3fb32cb96e53 into PR head commit 8ec80864749629aae50a869267d6185a5c12a7f7 Merge succeeded, producing 8ec80864749629aae50a869267d6185a5c12a7f7 Checking out Revision 8ec80864749629aae50a869267d6185a5c12a7f7 (PR-345) 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] { [Pipeline] timeout [2023-09-21T20:17:36.545Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-21T20:17:36.711Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8ec80864749629aae50a869267d6185a5c12a7f7 # 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 a515b494e7404baf3466ef0a37ba3fb32cb96e53 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ec80864749629aae50a869267d6185a5c12a7f7 # timeout=10 [Pipeline] echo [2023-09-21T20:17:36.814Z] ========================================================= [2023-09-21T20:17:36.814Z] EdgeX Global Pipelines Version Info [2023-09-21T20:17:36.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:17:37.554Z] ------------------- [2023-09-21T20:17:37.554Z] stable info: [2023-09-21T20:17:37.554Z] ------------------- [2023-09-21T20:17:37.554Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-21T20:17:37.554Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-21T20:17:37.554Z] Message: update stable to v1.0.254 [2023-09-21T20:17:38.123Z] ------------------- [2023-09-21T20:17:38.123Z] experimental info: [2023-09-21T20:17:38.123Z] ------------------- [2023-09-21T20:17:38.123Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-21T20:17:38.123Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-21T20:17:38.123Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-21T20:17:38.381Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-21T20:17:38.419Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-21T20:17:38.457Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-21T20:17:38.492Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-21T20:17:38.532Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-21T20:17:38.569Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-21T20:17:38.612Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-21T20:17:38.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-21T20:17:38.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-21T20:17:38.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-21T20:17:38.784Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-21T20:17:38.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-21T20:17:38.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-21T20:17:38.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-21T20:17:38.991Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-21T20:17:39.031Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-21T20:17:39.070Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-21T20:17:39.110Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-21T20:17:39.145Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-21T20:17:39.187Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-21T20:17:39.231Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-21T20:17:39.270Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-21T20:17:39.312Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-21T20:17:39.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-21T20:17:39.395Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-21T20:17:39.432Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-21T20:17:39.471Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-21T20:17:39.509Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-345 [Pipeline] echo [2023-09-21T20:17:39.556Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-345 [Pipeline] echo [2023-09-21T20:17:39.596Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-345 [Pipeline] echo [2023-09-21T20:17:39.641Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ec80864749629aae50a869267d6185a5c12a7f7 [Pipeline] echo [2023-09-21T20:17:39.682Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ec8086 [Pipeline] echo [2023-09-21T20:17:39.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-21T20:17:39.826Z] provisioning config files... [2023-09-21T20:17:39.839Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-345@tmp/config16250229613450483891tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:17:40.177Z] ---> docker-login.sh [2023-09-21T20:17:40.178Z] nexus3.edgexfoundry.org:10001 [2023-09-21T20:17:40.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:17:40.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:17:40.699Z] Configure a credential helper to remove this warning. See [2023-09-21T20:17:40.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:17:40.699Z] [2023-09-21T20:17:40.699Z] Login Succeeded [2023-09-21T20:17:40.699Z] nexus3.edgexfoundry.org:10002 [2023-09-21T20:17:40.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:17:40.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:17:40.699Z] Configure a credential helper to remove this warning. See [2023-09-21T20:17:40.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:17:40.699Z] [2023-09-21T20:17:40.699Z] Login Succeeded [2023-09-21T20:17:40.699Z] nexus3.edgexfoundry.org:10003 [2023-09-21T20:17:40.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:17:40.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:17:40.699Z] Configure a credential helper to remove this warning. See [2023-09-21T20:17:40.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:17:40.699Z] [2023-09-21T20:17:40.699Z] Login Succeeded [2023-09-21T20:17:40.699Z] nexus3.edgexfoundry.org:10004 [2023-09-21T20:17:40.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:17:40.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:17:40.959Z] Configure a credential helper to remove this warning. See [2023-09-21T20:17:40.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:17:40.959Z] [2023-09-21T20:17:40.959Z] Login Succeeded [2023-09-21T20:17:40.959Z] docker.io [2023-09-21T20:17:40.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:17:41.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:17:41.219Z] Configure a credential helper to remove this warning. See [2023-09-21T20:17:41.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:17:41.219Z] [2023-09-21T20:17:41.219Z] Login Succeeded [2023-09-21T20:17:41.219Z] ---> docker-login.sh ends [Pipeline] } [2023-09-21T20:17:41.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-21T20:17:41.845Z] + git rev-list -1 --merges 8ec80864749629aae50a869267d6185a5c12a7f7~1..8ec80864749629aae50a869267d6185a5c12a7f7 [Pipeline] echo [2023-09-21T20:17:41.908Z] -----------> git rev-list -1 --merges 8ec80864749629aae50a869267d6185a5c12a7f7~1..8ec80864749629aae50a869267d6185a5c12a7f7 8ec80864749629aae50a869267d6185a5c12a7f7 [false] [Pipeline] sh [2023-09-21T20:17:42.216Z] + git log --format=format:%s -1 8ec80864749629aae50a869267d6185a5c12a7f7 [Pipeline] echo [2023-09-21T20:17:42.252Z] ========================================================= [2023-09-21T20:17:42.252Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-21T20:17:42.252Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-21T20:17:42.686Z] + git log --format=format:%s -1 8ec80864749629aae50a869267d6185a5c12a7f7 [Pipeline] echo [2023-09-21T20:17:42.718Z] [semverPrep] GIT_COMMIT: 8ec80864749629aae50a869267d6185a5c12a7f7, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-09-21T20:17:42.749Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-21T20:17:43.143Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-21T20:17:43.143Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-21T20:17:43.143Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-21T20:17:43.143Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-21T20:17:43.143Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-21T20:17:43.143Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-21T20:17:43.143Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:17:43.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-21T20:17:43.630Z] [2023-09-21T20:17:43.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:17:44.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-21T20:17:44.030Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-21T20:17:44.030Z] b85a868b505f: Pulling fs layer [2023-09-21T20:17:44.030Z] e2be974225ed: Pulling fs layer [2023-09-21T20:17:44.030Z] 339a4e72a1f5: Pulling fs layer [2023-09-21T20:17:44.030Z] 988bab9f4d93: Pulling fs layer [2023-09-21T20:17:44.030Z] 1469e6f7b9e6: Pulling fs layer [2023-09-21T20:17:44.030Z] eaf3925da568: Pulling fs layer [2023-09-21T20:17:44.030Z] bab4dde63d76: Pulling fs layer [2023-09-21T20:17:44.030Z] bde34c3a00c8: Pulling fs layer [2023-09-21T20:17:44.030Z] b352a97aabf1: Pulling fs layer [2023-09-21T20:17:44.030Z] 4872d77fe225: Pulling fs layer [2023-09-21T20:17:44.030Z] 5851b861e8e6: Pulling fs layer [2023-09-21T20:17:44.030Z] 1469e6f7b9e6: Waiting [2023-09-21T20:17:44.030Z] bde34c3a00c8: Waiting [2023-09-21T20:17:44.030Z] 4872d77fe225: Waiting [2023-09-21T20:17:44.030Z] b352a97aabf1: Waiting [2023-09-21T20:17:44.030Z] bab4dde63d76: Waiting [2023-09-21T20:17:44.030Z] 5851b861e8e6: Waiting [2023-09-21T20:17:44.030Z] 988bab9f4d93: Waiting [2023-09-21T20:17:44.030Z] e2be974225ed: Download complete [2023-09-21T20:17:44.030Z] 988bab9f4d93: Download complete [2023-09-21T20:17:44.313Z] 339a4e72a1f5: Verifying Checksum [2023-09-21T20:17:44.313Z] 339a4e72a1f5: Download complete [2023-09-21T20:17:44.313Z] 1469e6f7b9e6: Verifying Checksum [2023-09-21T20:17:44.313Z] 1469e6f7b9e6: Download complete [2023-09-21T20:17:44.313Z] eaf3925da568: Verifying Checksum [2023-09-21T20:17:44.313Z] eaf3925da568: Download complete [2023-09-21T20:17:44.313Z] bde34c3a00c8: Verifying Checksum [2023-09-21T20:17:44.313Z] bde34c3a00c8: Download complete [2023-09-21T20:17:44.313Z] b352a97aabf1: Verifying Checksum [2023-09-21T20:17:44.313Z] b352a97aabf1: Download complete [2023-09-21T20:17:44.313Z] 4872d77fe225: Verifying Checksum [2023-09-21T20:17:44.313Z] 4872d77fe225: Download complete [2023-09-21T20:17:44.313Z] 5851b861e8e6: Download complete [2023-09-21T20:17:44.313Z] b85a868b505f: Verifying Checksum [2023-09-21T20:17:44.313Z] b85a868b505f: Download complete [2023-09-21T20:17:44.882Z] bab4dde63d76: Verifying Checksum [2023-09-21T20:17:44.882Z] bab4dde63d76: Download complete [2023-09-21T20:17:45.818Z] b85a868b505f: Pull complete [2023-09-21T20:17:45.819Z] e2be974225ed: Pull complete [2023-09-21T20:17:46.388Z] 339a4e72a1f5: Pull complete [2023-09-21T20:17:46.388Z] 988bab9f4d93: Pull complete [2023-09-21T20:17:46.647Z] 1469e6f7b9e6: Pull complete [2023-09-21T20:17:46.916Z] eaf3925da568: Pull complete [2023-09-21T20:17:48.828Z] bab4dde63d76: Pull complete [2023-09-21T20:17:48.828Z] bde34c3a00c8: Pull complete [2023-09-21T20:17:49.397Z] b352a97aabf1: Pull complete [2023-09-21T20:17:49.967Z] 4872d77fe225: Pull complete [2023-09-21T20:17:50.541Z] 5851b861e8e6: Pull complete [2023-09-21T20:17:50.800Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-21T20:17:50.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-21T20:17:51.060Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T20:17:51.378Z] prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container [2023-09-21T20:17:51.423Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-345 -v /w/workspace/gexfoundry_device-rest-go_PR-345:/w/workspace/gexfoundry_device-rest-go_PR-345:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-345@tmp:/w/workspace/gexfoundry_device-rest-go_PR-345@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-09-21T20:17:59.542Z] $ docker top 8fdbaadc917a6cbd23045e9d7d6a378b243e14b35f888db83a3ab026d143d972 -eo pid,comm [2023-09-21T20:17:59.606Z] 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-09-21T20:17:59.606Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-21T20:17:59.738Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-21T20:17:59.738Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-21T20:17:59.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-21T20:17:59.888Z] $ docker exec 8fdbaadc917a6cbd23045e9d7d6a378b243e14b35f888db83a3ab026d143d972 ssh-agent [2023-09-21T20:18:00.011Z] SSH_AUTH_SOCK=/tmp/ssh-RuE6AXr1lbA0/agent.13 [2023-09-21T20:18:00.011Z] SSH_AGENT_PID=19 [2023-09-21T20:18:00.041Z] Running ssh-add (command line suppressed) [2023-09-21T20:18:00.177Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-345@tmp/private_key_11546562548708082974.key (/w/workspace/gexfoundry_device-rest-go_PR-345@tmp/private_key_11546562548708082974.key) [2023-09-21T20:18:00.183Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-21T20:18:00.522Z] + git tag --points-at HEAD [Pipeline] } [2023-09-21T20:18:00.557Z] $ docker exec --env ******** --env ******** 8fdbaadc917a6cbd23045e9d7d6a378b243e14b35f888db83a3ab026d143d972 ssh-agent -k [2023-09-21T20:18:00.657Z] unset SSH_AUTH_SOCK; [2023-09-21T20:18:00.657Z] unset SSH_AGENT_PID; [2023-09-21T20:18:00.657Z] echo Agent pid 19 killed; [2023-09-21T20:18:00.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-21T20:18:00.751Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-21T20:18:00.751Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-21T20:18:00.863Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-21T20:18:00.873Z] $ docker exec 8fdbaadc917a6cbd23045e9d7d6a378b243e14b35f888db83a3ab026d143d972 ssh-agent [2023-09-21T20:18:00.974Z] SSH_AUTH_SOCK=/tmp/ssh-RjL3RtTZ6Uk7/agent.70 [2023-09-21T20:18:00.974Z] SSH_AGENT_PID=76 [2023-09-21T20:18:00.979Z] Running ssh-add (command line suppressed) [2023-09-21T20:18:01.086Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-345@tmp/private_key_4008059906970825683.key (/w/workspace/gexfoundry_device-rest-go_PR-345@tmp/private_key_4008059906970825683.key) [2023-09-21T20:18:01.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-21T20:18:01.418Z] + git semver init [2023-09-21T20:18:01.677Z] 2023-09-21 20:18:01,617 [run_init] DEBUG init version:0.0.0 force:False [2023-09-21T20:18:01.677Z] 2023-09-21 20:18:01,617 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-345/.semver [2023-09-21T20:18:01.677Z] 2023-09-21 20:18:01,618 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-345/.semver [2023-09-21T20:18:01.677Z] 2023-09-21 20:18:01,618 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-345/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-345, universal_newlines=False, shell=None, istream=None) [2023-09-21T20:18:03.061Z] 2023-09-21 20:18:02,701 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-345/.git/info/exclude [2023-09-21T20:18:03.061Z] 2023-09-21 20:18:02,702 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-345/.semver/PR-345 with force:False [2023-09-21T20:18:03.061Z] 2023-09-21 20:18:02,702 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-345/.semver/PR-345 [2023-09-21T20:18:03.061Z] 2023-09-21 20:18:02,706 [execute] INFO git cat-file --batch-check [2023-09-21T20:18:03.061Z] 2023-09-21 20:18:02,707 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-345/.semver, universal_newlines=False, shell=None, istream=) [2023-09-21T20:18:03.061Z] 2023-09-21 20:18:02,713 [execute] INFO git cat-file --batch [2023-09-21T20:18:03.061Z] 2023-09-21 20:18:02,713 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-345/.semver, universal_newlines=False, shell=None, istream=) [2023-09-21T20:18:03.061Z] 2023-09-21 20:18:02,717 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-345/.semver/PR-345 [2023-09-21T20:18:03.061Z] 0.0.0 [Pipeline] } [2023-09-21T20:18:03.094Z] $ docker exec --env ******** --env ******** 8fdbaadc917a6cbd23045e9d7d6a378b243e14b35f888db83a3ab026d143d972 ssh-agent -k [2023-09-21T20:18:03.181Z] unset SSH_AUTH_SOCK; [2023-09-21T20:18:03.182Z] unset SSH_AGENT_PID; [2023-09-21T20:18:03.182Z] echo Agent pid 76 killed; [2023-09-21T20:18:03.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-21T20:18:03.600Z] + git semver [Pipeline] } [2023-09-21T20:18:03.905Z] $ docker stop --time=1 8fdbaadc917a6cbd23045e9d7d6a378b243e14b35f888db83a3ab026d143d972 [2023-09-21T20:18:05.198Z] $ docker rm -f --volumes 8fdbaadc917a6cbd23045e9d7d6a378b243e14b35f888db83a3ab026d143d972 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-21T20:18:05.592Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-21T20:18:05.880Z] Stashed 1 file(s) [Pipeline] echo [2023-09-21T20:18:05.895Z] [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-09-21T20:18:06.454Z] provisioning config files... [2023-09-21T20:18:06.463Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-345@tmp/config8573178295370627298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:18:06.809Z] ---> docker-login.sh [2023-09-21T20:18:06.809Z] nexus3.edgexfoundry.org:10001 [2023-09-21T20:18:06.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:18:06.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:18:06.809Z] Configure a credential helper to remove this warning. See [2023-09-21T20:18:06.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:18:06.809Z] [2023-09-21T20:18:06.809Z] Login Succeeded [2023-09-21T20:18:06.809Z] nexus3.edgexfoundry.org:10002 [2023-09-21T20:18:06.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:18:06.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:18:06.809Z] Configure a credential helper to remove this warning. See [2023-09-21T20:18:06.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:18:06.809Z] [2023-09-21T20:18:06.809Z] Login Succeeded [2023-09-21T20:18:06.809Z] nexus3.edgexfoundry.org:10003 [2023-09-21T20:18:07.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:18:07.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:18:07.069Z] Configure a credential helper to remove this warning. See [2023-09-21T20:18:07.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:18:07.069Z] [2023-09-21T20:18:07.069Z] Login Succeeded [2023-09-21T20:18:07.069Z] nexus3.edgexfoundry.org:10004 [2023-09-21T20:18:07.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:18:07.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:18:07.069Z] Configure a credential helper to remove this warning. See [2023-09-21T20:18:07.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:18:07.069Z] [2023-09-21T20:18:07.069Z] Login Succeeded [2023-09-21T20:18:07.069Z] docker.io [2023-09-21T20:18:07.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:18:07.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:18:07.586Z] Configure a credential helper to remove this warning. See [2023-09-21T20:18:07.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:18:07.586Z] [2023-09-21T20:18:07.586Z] Login Succeeded [2023-09-21T20:18:07.586Z] ---> docker-login.sh ends [Pipeline] } [2023-09-21T20:18:07.613Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-21T20:18:07.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-21T20:18:07.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-21T20:18:07.870Z] ========================================================= [2023-09-21T20:18:07.870Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-21T20:18:07.870Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:18:08.341Z] + 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-09-21T20:18:08.341Z] Sending build context to Docker daemon 10.92MB [2023-09-21T20:18:08.341Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-21T20:18:08.341Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-21T20:18:08.341Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-21T20:18:08.341Z] 7264a8db6415: Pulling fs layer [2023-09-21T20:18:08.341Z] c4d48a809fc2: Pulling fs layer [2023-09-21T20:18:08.341Z] 4f1c88b9dad5: Pulling fs layer [2023-09-21T20:18:08.341Z] ad3a456e5733: Pulling fs layer [2023-09-21T20:18:08.341Z] 33e27b845d1e: Pulling fs layer [2023-09-21T20:18:08.341Z] c68163c4e522: Pulling fs layer [2023-09-21T20:18:08.341Z] 50da416c3ac9: Pulling fs layer [2023-09-21T20:18:08.341Z] 23d2d4c4bb30: Pulling fs layer [2023-09-21T20:18:08.341Z] c68163c4e522: Waiting [2023-09-21T20:18:08.341Z] 50da416c3ac9: Waiting [2023-09-21T20:18:08.341Z] 23d2d4c4bb30: Waiting [2023-09-21T20:18:08.341Z] c4d48a809fc2: Verifying Checksum [2023-09-21T20:18:08.341Z] c4d48a809fc2: Download complete [2023-09-21T20:18:08.615Z] ad3a456e5733: Verifying Checksum [2023-09-21T20:18:08.615Z] ad3a456e5733: Download complete [2023-09-21T20:18:08.615Z] 33e27b845d1e: Verifying Checksum [2023-09-21T20:18:08.615Z] 7264a8db6415: Verifying Checksum [2023-09-21T20:18:08.615Z] 7264a8db6415: Download complete [2023-09-21T20:18:08.615Z] c68163c4e522: Verifying Checksum [2023-09-21T20:18:08.615Z] c68163c4e522: Download complete [2023-09-21T20:18:08.615Z] 7264a8db6415: Pull complete [2023-09-21T20:18:08.884Z] c4d48a809fc2: Pull complete [2023-09-21T20:18:08.884Z] 23d2d4c4bb30: Verifying Checksum [2023-09-21T20:18:08.884Z] 23d2d4c4bb30: Download complete [2023-09-21T20:18:09.148Z] 4f1c88b9dad5: Verifying Checksum [2023-09-21T20:18:09.148Z] 4f1c88b9dad5: Download complete [2023-09-21T20:18:09.716Z] 50da416c3ac9: Verifying Checksum [2023-09-21T20:18:09.716Z] 50da416c3ac9: Download complete [2023-09-21T20:18:12.998Z] 4f1c88b9dad5: Pull complete [2023-09-21T20:18:12.998Z] ad3a456e5733: Pull complete [2023-09-21T20:18:12.998Z] 33e27b845d1e: Pull complete [2023-09-21T20:18:12.998Z] c68163c4e522: Pull complete [2023-09-21T20:18:14.938Z] 50da416c3ac9: Pull complete [2023-09-21T20:18:15.504Z] 23d2d4c4bb30: Pull complete [2023-09-21T20:18:15.504Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-21T20:18:15.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-21T20:18:15.504Z] ---> 0786185ac409 [2023-09-21T20:18:15.504Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-21T20:18:21.270Z] Still waiting to schedule task [2023-09-21T20:18:21.270Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-21T20:18:23.851Z] ---> Running in 1ecc2dd40ac5 [2023-09-21T20:18:23.851Z] Removing intermediate container 1ecc2dd40ac5 [2023-09-21T20:18:23.851Z] ---> ff084a91c167 [2023-09-21T20:18:23.851Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-21T20:18:23.851Z] ---> Running in c5def641472a [2023-09-21T20:18:23.851Z] Removing intermediate container c5def641472a [2023-09-21T20:18:23.851Z] ---> d2f5f1d5de30 [2023-09-21T20:18:23.851Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-21T20:18:23.851Z] ---> Running in 7be756c2d866 [2023-09-21T20:18:23.851Z] Removing intermediate container 7be756c2d866 [2023-09-21T20:18:23.851Z] ---> 3bfe112910cd [2023-09-21T20:18:23.851Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-21T20:18:23.851Z] ---> Running in 8141efeb06d6 [2023-09-21T20:18:23.851Z] Removing intermediate container 8141efeb06d6 [2023-09-21T20:18:23.851Z] ---> 8a2717e1b98e [2023-09-21T20:18:23.851Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-21T20:18:23.851Z] ---> Running in b24ed003a45a [2023-09-21T20:18:24.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-21T20:18:24.110Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-21T20:18:24.368Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-21T20:18:24.368Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-21T20:18:24.368Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-21T20:18:24.368Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-21T20:18:24.368Z] Executing busybox-1.36.1-r2.trigger [2023-09-21T20:18:24.368Z] OK: 268 MiB in 56 packages [2023-09-21T20:18:24.937Z] Removing intermediate container b24ed003a45a [2023-09-21T20:18:24.937Z] ---> bb500420a8b4 [2023-09-21T20:18:24.937Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-21T20:18:24.937Z] ---> Running in 0443edf7ff9c [2023-09-21T20:18:25.195Z] Removing intermediate container 0443edf7ff9c [2023-09-21T20:18:25.195Z] ---> d0e34f00dde5 [2023-09-21T20:18:25.195Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-21T20:18:25.195Z] ---> 660185db0690 [2023-09-21T20:18:25.195Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-21T20:18:25.195Z] ---> Running in 49a80a437728 [2023-09-21T20:19:11.933Z] Removing intermediate container 49a80a437728 [2023-09-21T20:19:11.933Z] ---> c333fc68ea52 [2023-09-21T20:19:11.933Z] Step 11/12 : COPY . . [2023-09-21T20:19:11.933Z] ---> 3e839120afe5 [2023-09-21T20:19:11.933Z] Step 12/12 : RUN $MAKE [2023-09-21T20:19:11.933Z] ---> Running in 7c0a84a043c0 [2023-09-21T20:19:11.933Z] noop [2023-09-21T20:19:11.933Z] Removing intermediate container 7c0a84a043c0 [2023-09-21T20:19:11.933Z] ---> 8faadb2e771f [2023-09-21T20:19:11.933Z] Successfully built 8faadb2e771f [2023-09-21T20:19:11.933Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:19:12.377Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-21T20:19:12.377Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T20:19:12.527Z] prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container [2023-09-21T20:19:12.663Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-345 -v /w/workspace/gexfoundry_device-rest-go_PR-345:/w/workspace/gexfoundry_device-rest-go_PR-345:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-345@tmp:/w/workspace/gexfoundry_device-rest-go_PR-345@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-09-21T20:19:13.008Z] $ docker top 20a6f99f1a65bea6c0d09e37d8f8ae5a5464aa024a04d96f79ec28ecd85df07c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-21T20:19:13.420Z] + go version [2023-09-21T20:19:13.420Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-21T20:19:13.453Z] $ docker stop --time=1 20a6f99f1a65bea6c0d09e37d8f8ae5a5464aa024a04d96f79ec28ecd85df07c [2023-09-21T20:19:14.709Z] $ docker rm -f --volumes 20a6f99f1a65bea6c0d09e37d8f8ae5a5464aa024a04d96f79ec28ecd85df07c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:19:15.433Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-21T20:19:15.433Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T20:19:15.574Z] prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container [2023-09-21T20:19:15.611Z] $ 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-345 -v /w/workspace/gexfoundry_device-rest-go_PR-345:/w/workspace/gexfoundry_device-rest-go_PR-345:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-345@tmp:/w/workspace/gexfoundry_device-rest-go_PR-345@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-09-21T20:19:15.978Z] $ docker top 74afb70a8279be0368d9b03d1f993835435a8a2aa7bfc5f1f12f6b4f7a60c0c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-21T20:19:16.366Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-345 [Pipeline] fileExists [Pipeline] sh [2023-09-21T20:19:16.717Z] + make test [2023-09-21T20:19:16.717Z] go test ./... -coverprofile=coverage.out ./... [2023-09-21T20:19:18.095Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-21T20:19:28.071Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-21T20:19:28.071Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2023-09-21T20:19:34.624Z] go vet ./... [2023-09-21T20:19:38.807Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-21T20:19:38.807Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-21T20:19:38.807Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-21T20:19:38.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-21T20:19:38.880Z] $ docker stop --time=1 74afb70a8279be0368d9b03d1f993835435a8a2aa7bfc5f1f12f6b4f7a60c0c1 [2023-09-21T20:19:42.828Z] $ docker rm -f --volumes 74afb70a8279be0368d9b03d1f993835435a8a2aa7bfc5f1f12f6b4f7a60c0c1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-21T20:19:43.366Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-21T20:19:43.429Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-21T20:19:44.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-21T20:19:44.431Z] + ls -al . [2023-09-21T20:19:44.431Z] total 188 [2023-09-21T20:19:44.431Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 21 20:19 . [2023-09-21T20:19:44.431Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:17 .. [2023-09-21T20:19:44.431Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 21 20:17 .dockerignore [2023-09-21T20:19:44.431Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 20:19 .git [2023-09-21T20:19:44.432Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:17 .github [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 21 20:17 .gitignore [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 20:17 .golangci.yml [2023-09-21T20:19:44.432Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 20:18 .semver [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 21 20:17 Attribution.txt [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 21 20:17 CHANGELOG.md [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 21 20:17 Dockerfile [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 20:17 GOVERNANCE.md [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 21 20:17 Jenkinsfile [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 21 20:17 LICENSE [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 21 20:17 Makefile [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 21 20:17 OWNERS.md [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 21 20:17 README.md [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 20:18 VERSION [2023-09-21T20:19:44.432Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 20:17 bin [2023-09-21T20:19:44.432Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:17 cmd [2023-09-21T20:19:44.432Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 21 20:19 coverage.out [2023-09-21T20:19:44.432Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 20:17 driver [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 21 20:17 go.mod [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 21 20:17 go.sum [2023-09-21T20:19:44.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:17 snap [2023-09-21T20:19:44.432Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 21 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:19:44.830Z] + 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=8ec80864749629aae50a869267d6185a5c12a7f7 --label arch=amd64 --label version=0.0.0 . [2023-09-21T20:19:44.830Z] Sending build context to Docker daemon 10.93MB [2023-09-21T20:19:44.830Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-21T20:19:44.830Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-21T20:19:44.830Z] ---> 8faadb2e771f [2023-09-21T20:19:44.830Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-21T20:19:45.089Z] ---> Running in d26c96a060e4 [2023-09-21T20:19:45.089Z] Removing intermediate container d26c96a060e4 [2023-09-21T20:19:45.089Z] ---> f0db2ec20953 [2023-09-21T20:19:45.089Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-21T20:19:45.089Z] ---> Running in d5b949a6ffb9 [2023-09-21T20:19:45.348Z] Removing intermediate container d5b949a6ffb9 [2023-09-21T20:19:45.348Z] ---> 8b3782a69a87 [2023-09-21T20:19:45.348Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-21T20:19:45.348Z] ---> Running in 37d8d817b15f [2023-09-21T20:19:45.348Z] Removing intermediate container 37d8d817b15f [2023-09-21T20:19:45.348Z] ---> 5893515ec6bb [2023-09-21T20:19:45.348Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-21T20:19:45.348Z] ---> Running in eb3ad6b844f4 [2023-09-21T20:19:45.348Z] Removing intermediate container eb3ad6b844f4 [2023-09-21T20:19:45.348Z] ---> 31ad8a7b73cc [2023-09-21T20:19:45.348Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-21T20:19:45.348Z] ---> Running in 62ded58a3cb7 [2023-09-21T20:19:45.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-21T20:19:45.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-21T20:19:46.126Z] OK: 268 MiB in 56 packages [2023-09-21T20:19:46.694Z] Removing intermediate container 62ded58a3cb7 [2023-09-21T20:19:46.694Z] ---> ad10d3022367 [2023-09-21T20:19:46.694Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-21T20:19:46.694Z] ---> Running in 81741cdaf251 [2023-09-21T20:19:46.694Z] Removing intermediate container 81741cdaf251 [2023-09-21T20:19:46.694Z] ---> 24c4399c6a3d [2023-09-21T20:19:46.694Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-21T20:19:46.953Z] ---> c3297e314003 [2023-09-21T20:19:46.953Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-21T20:19:46.953Z] ---> Running in d4aed4d99c1d [2023-09-21T20:19:47.521Z] Removing intermediate container d4aed4d99c1d [2023-09-21T20:19:47.521Z] ---> 6879abb87a75 [2023-09-21T20:19:47.521Z] Step 11/25 : COPY . . [2023-09-21T20:19:48.089Z] ---> 84f21c2ca7d1 [2023-09-21T20:19:48.089Z] Step 12/25 : RUN $MAKE [2023-09-21T20:19:48.089Z] ---> Running in 9a856bc61c24 [2023-09-21T20:19:48.352Z] 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.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-21T20:20:10.292Z] Removing intermediate container 9a856bc61c24 [2023-09-21T20:20:10.292Z] ---> 1d361fcf6b14 [2023-09-21T20:20:10.292Z] Step 13/25 : FROM alpine:3.18 [2023-09-21T20:20:10.292Z] 3.18: Pulling from library/alpine [2023-09-21T20:20:10.292Z] 7264a8db6415: Already exists [2023-09-21T20:20:10.292Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-21T20:20:10.292Z] Status: Downloaded newer image for alpine:3.18 [2023-09-21T20:20:10.292Z] ---> 7e01a0d0a1dc [2023-09-21T20:20:10.292Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-21T20:20:10.292Z] ---> Running in 7f0e3e879e44 [2023-09-21T20:20:10.292Z] Removing intermediate container 7f0e3e879e44 [2023-09-21T20:20:10.292Z] ---> c53edc7190e1 [2023-09-21T20:20:10.292Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-21T20:20:10.292Z] ---> Running in 5f714171ae7b [2023-09-21T20:20:10.551Z] Removing intermediate container 5f714171ae7b [2023-09-21T20:20:10.551Z] ---> d95dd1406cce [2023-09-21T20:20:10.551Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-21T20:20:10.551Z] ---> Running in 92d0ebe2dfee [2023-09-21T20:20:10.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-21T20:20:10.811Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-21T20:20:11.070Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-21T20:20:11.070Z] Executing busybox-1.36.1-r2.trigger [2023-09-21T20:20:11.070Z] OK: 7 MiB in 16 packages [2023-09-21T20:20:11.329Z] Removing intermediate container 92d0ebe2dfee [2023-09-21T20:20:11.329Z] ---> ce90c6c2c38b [2023-09-21T20:20:11.329Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-21T20:20:12.704Z] ---> 6860b3744a13 [2023-09-21T20:20:12.704Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-21T20:20:12.704Z] ---> e94f11c28671 [2023-09-21T20:20:12.704Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-21T20:20:12.704Z] ---> 0e9e99af8f54 [2023-09-21T20:20:12.704Z] Step 20/25 : EXPOSE 59986 [2023-09-21T20:20:12.704Z] ---> Running in 2f6cd198b3b2 [2023-09-21T20:20:12.704Z] Removing intermediate container 2f6cd198b3b2 [2023-09-21T20:20:12.704Z] ---> f9faa73f2b8c [2023-09-21T20:20:12.704Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-21T20:20:12.704Z] ---> Running in a5cfd7ec172e [2023-09-21T20:20:12.962Z] Removing intermediate container a5cfd7ec172e [2023-09-21T20:20:12.962Z] ---> 4ed2c7e62170 [2023-09-21T20:20:12.962Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-21T20:20:12.962Z] ---> Running in 10a50d4e9cfb [2023-09-21T20:20:12.962Z] Removing intermediate container 10a50d4e9cfb [2023-09-21T20:20:12.962Z] ---> 949fbcba0296 [2023-09-21T20:20:12.962Z] Step 23/25 : LABEL arch=amd64 [2023-09-21T20:20:12.962Z] ---> Running in 6e34bcca8f68 [2023-09-21T20:20:12.962Z] Removing intermediate container 6e34bcca8f68 [2023-09-21T20:20:12.962Z] ---> f2e0cdce3106 [2023-09-21T20:20:12.962Z] Step 24/25 : LABEL git_sha=8ec80864749629aae50a869267d6185a5c12a7f7 [2023-09-21T20:20:13.219Z] ---> Running in 7026437b83be [2023-09-21T20:20:13.220Z] Removing intermediate container 7026437b83be [2023-09-21T20:20:13.220Z] ---> cf6c644993cf [2023-09-21T20:20:13.220Z] Step 25/25 : LABEL version=0.0.0 [2023-09-21T20:20:13.220Z] ---> Running in 9367b54ffb55 [2023-09-21T20:20:13.220Z] Removing intermediate container 9367b54ffb55 [2023-09-21T20:20:13.220Z] ---> 2153ee51734a [2023-09-21T20:20:13.220Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-21T20:20:13.220Z] Successfully built 2153ee51734a [2023-09-21T20:20:13.220Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:20:14.085Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-21T20:20:14.085Z] [2023-09-21T20:20:14.085Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:20:14.477Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-21T20:20:14.477Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-21T20:20:14.477Z] 5eb5b503b376: Pulling fs layer [2023-09-21T20:20:14.477Z] 5c69ac0246d0: Pulling fs layer [2023-09-21T20:20:14.477Z] ec43610c2a17: Pulling fs layer [2023-09-21T20:20:14.477Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-21T20:20:14.477Z] 33b1e0a273af: Pulling fs layer [2023-09-21T20:20:14.477Z] 5d3b04190fa2: Pulling fs layer [2023-09-21T20:20:14.477Z] 2f39f015ded8: Pulling fs layer [2023-09-21T20:20:14.477Z] 3a2ae6a8a46f: Waiting [2023-09-21T20:20:14.477Z] 5d3b04190fa2: Waiting [2023-09-21T20:20:14.477Z] 33b1e0a273af: Waiting [2023-09-21T20:20:14.477Z] 2f39f015ded8: Waiting [2023-09-21T20:20:14.477Z] 5c69ac0246d0: Download complete [2023-09-21T20:20:14.477Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-21T20:20:14.477Z] 3a2ae6a8a46f: Download complete [2023-09-21T20:20:14.477Z] 33b1e0a273af: Verifying Checksum [2023-09-21T20:20:14.477Z] 33b1e0a273af: Download complete [2023-09-21T20:20:14.477Z] 5d3b04190fa2: Download complete [2023-09-21T20:20:14.477Z] ec43610c2a17: Verifying Checksum [2023-09-21T20:20:14.477Z] ec43610c2a17: Download complete [2023-09-21T20:20:14.737Z] 5eb5b503b376: Verifying Checksum [2023-09-21T20:20:14.737Z] 5eb5b503b376: Download complete [2023-09-21T20:20:15.305Z] 2f39f015ded8: Verifying Checksum [2023-09-21T20:20:15.305Z] 2f39f015ded8: Download complete [2023-09-21T20:20:15.867Z] 5eb5b503b376: Pull complete [2023-09-21T20:20:16.126Z] 5c69ac0246d0: Pull complete [2023-09-21T20:20:16.690Z] ec43610c2a17: Pull complete [2023-09-21T20:20:16.690Z] 3a2ae6a8a46f: Pull complete [2023-09-21T20:20:16.949Z] 33b1e0a273af: Pull complete [2023-09-21T20:20:16.949Z] 5d3b04190fa2: Pull complete [2023-09-21T20:20:22.218Z] 2f39f015ded8: Pull complete [2023-09-21T20:20:22.218Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-21T20:20:22.218Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-21T20:20:22.218Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T20:20:22.452Z] prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container [2023-09-21T20:20:22.487Z] $ 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-345 -v /w/workspace/gexfoundry_device-rest-go_PR-345:/w/workspace/gexfoundry_device-rest-go_PR-345:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-345@tmp:/w/workspace/gexfoundry_device-rest-go_PR-345@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-09-21T20:20:22.978Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7591 in /w/workspace/gexfoundry_device-rest-go_PR-345 [2023-09-21T20:20:27.993Z] $ docker top 759d2df09de0a79efbfbd807ab76d5526c91c63c2075ce8bccdf8d3a88fc8a7e -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-09-21T20:20:28.258Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-09-21T20:20:28.341Z] The recommended git tool is: git [2023-09-21T20:20:28.482Z] ---> job-cost.sh [2023-09-21T20:20:28.482Z] lf-activate-venv: SKIPPING [2023-09-21T20:20:28.482Z] INFO: No Stack... [2023-09-21T20:20:28.740Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-21T20:20:29.308Z] INFO: Archiving Costs [Pipeline] sh [2023-09-21T20:20:29.620Z] + + cut -d, -f6 [2023-09-21T20:20:29.620Z] cat /w/workspace/gexfoundry_device-rest-go_PR-345/archives/cost.csv [Pipeline] lock [2023-09-21T20:20:29.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-345-1-stack-cost] [2023-09-21T20:20:29.658Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-345-1-stack-cost] did not exist. Created. [2023-09-21T20:20:29.658Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-345-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-21T20:20:30.044Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-21T20:20:30.089Z] Stashed 1 file(s) [Pipeline] } [2023-09-21T20:20:30.122Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-345-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-21T20:20:30.209Z] $ docker stop --time=1 759d2df09de0a79efbfbd807ab76d5526c91c63c2075ce8bccdf8d3a88fc8a7e [2023-09-21T20:20:31.708Z] $ docker rm -f --volumes 759d2df09de0a79efbfbd807ab76d5526c91c63c2075ce8bccdf8d3a88fc8a7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-21T20:20:35.456Z] using credential edgex-jenkins-ssh [2023-09-21T20:20:35.475Z] Cloning the remote Git repository [2023-09-21T20:20:35.544Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-21T20:20:35.682Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-09-21T20:20:36.005Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-21T20:20:36.006Z] > git --version # timeout=10 [2023-09-21T20:20:36.111Z] > git --version # 'git version 2.25.1' [2023-09-21T20:20:36.116Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-21T20:20:36.360Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-21T20:20:42.417Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-21T20:20:42.452Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-21T20:20:44.326Z] Merging remotes/origin/main commit a515b494e7404baf3466ef0a37ba3fb32cb96e53 into PR head commit 8ec80864749629aae50a869267d6185a5c12a7f7 [2023-09-21T20:20:44.897Z] Merge succeeded, producing 8ec80864749629aae50a869267d6185a5c12a7f7 [2023-09-21T20:20:44.897Z] Checking out Revision 8ec80864749629aae50a869267d6185a5c12a7f7 (PR-345) [2023-09-21T20:20:43.682Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-21T20:20:43.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-21T20:20:43.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-21T20:20:43.782Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/345/head:refs/remotes/origin/PR-345 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-21T20:20:44.363Z] > git config core.sparsecheckout # timeout=10 [2023-09-21T20:20:44.472Z] > git checkout -f 8ec80864749629aae50a869267d6185a5c12a7f7 # timeout=10 [2023-09-21T20:20:44.702Z] > git remote # timeout=10 [2023-09-21T20:20:44.759Z] > git config --get remote.origin.url # timeout=10 [2023-09-21T20:20:44.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-21T20:20:44.832Z] > git merge a515b494e7404baf3466ef0a37ba3fb32cb96e53 # timeout=10 [2023-09-21T20:20:44.866Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-21T20:20:44.905Z] > git config core.sparsecheckout # timeout=10 [2023-09-21T20:20:45.557Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-09-21T20:20:45.617Z] > git --version # timeout=10 [2023-09-21T20:20:45.634Z] > git --version # 'git version 2.25.1' [2023-09-21T20:20:45.668Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-21T20:20:44.930Z] > git checkout -f 8ec80864749629aae50a869267d6185a5c12a7f7 # timeout=10 [2023-09-21T20:20:46.813Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-21T20:20:46.813Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-21T20:20:46.813Z] Dload Upload Total Spent Left Speed [2023-09-21T20:20:46.813Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [2023-09-21T20:20:47.546Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-21T20:20:47.924Z] + sudo tee /etc/docker/daemon.new [2023-09-21T20:20:47.924Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-21T20:20:48.209Z] { [2023-09-21T20:20:48.209Z] "registry-mirrors": [ [2023-09-21T20:20:48.209Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-21T20:20:48.209Z] ], [2023-09-21T20:20:48.209Z] "bip": "10.250.0.254/24", [2023-09-21T20:20:48.209Z] "hosts": [ [2023-09-21T20:20:48.209Z] "tcp://0.0.0.0:5555", [2023-09-21T20:20:48.209Z] "unix:///var/run/docker.sock" [2023-09-21T20:20:48.209Z] ], [2023-09-21T20:20:48.209Z] "mtu": 1458, [2023-09-21T20:20:48.209Z] "selinux-enabled": true, [2023-09-21T20:20:48.209Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-21T20:20:48.209Z] } [Pipeline] sh [2023-09-21T20:20:48.572Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-21T20:20:48.968Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-21T20:21:07.319Z] provisioning config files... [2023-09-21T20:21:07.349Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config650803683853695064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:21:07.745Z] ---> docker-login.sh [2023-09-21T20:21:07.745Z] nexus3.edgexfoundry.org:10001 [2023-09-21T20:21:08.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:21:08.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:21:08.341Z] Configure a credential helper to remove this warning. See [2023-09-21T20:21:08.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:21:08.341Z] [2023-09-21T20:21:08.341Z] Login Succeeded [2023-09-21T20:21:08.341Z] nexus3.edgexfoundry.org:10002 [2023-09-21T20:21:08.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:21:08.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:21:08.891Z] Configure a credential helper to remove this warning. See [2023-09-21T20:21:08.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:21:08.891Z] [2023-09-21T20:21:08.891Z] Login Succeeded [2023-09-21T20:21:08.891Z] nexus3.edgexfoundry.org:10003 [2023-09-21T20:21:09.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:21:09.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:21:09.166Z] Configure a credential helper to remove this warning. See [2023-09-21T20:21:09.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:21:09.166Z] [2023-09-21T20:21:09.166Z] Login Succeeded [2023-09-21T20:21:09.166Z] nexus3.edgexfoundry.org:10004 [2023-09-21T20:21:09.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:21:09.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:21:09.708Z] Configure a credential helper to remove this warning. See [2023-09-21T20:21:09.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:21:09.708Z] [2023-09-21T20:21:09.708Z] Login Succeeded [2023-09-21T20:21:09.708Z] docker.io [2023-09-21T20:21:09.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-21T20:21:10.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-21T20:21:10.246Z] Configure a credential helper to remove this warning. See [2023-09-21T20:21:10.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-21T20:21:10.246Z] [2023-09-21T20:21:10.246Z] Login Succeeded [2023-09-21T20:21:10.246Z] ---> docker-login.sh ends [Pipeline] } [2023-09-21T20:21:10.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-21T20:21:10.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-21T20:21:10.703Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-21T20:21:10.744Z] ========================================================= [2023-09-21T20:21:10.744Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-21T20:21:10.744Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:21:11.249Z] + 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-09-21T20:21:11.249Z] Sending build context to Docker daemon 144.4kB [2023-09-21T20:21:11.518Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-21T20:21:11.518Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-21T20:21:11.791Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-21T20:21:11.791Z] 9fda8d8052c6: Pulling fs layer [2023-09-21T20:21:11.791Z] 5d54e960e981: Pulling fs layer [2023-09-21T20:21:11.791Z] c4a7e357bf2a: Pulling fs layer [2023-09-21T20:21:11.791Z] f0e02332f6b5: Pulling fs layer [2023-09-21T20:21:11.791Z] cefa15bbcfad: Pulling fs layer [2023-09-21T20:21:11.791Z] 17808c966233: Pulling fs layer [2023-09-21T20:21:11.791Z] f4c1fc716caa: Pulling fs layer [2023-09-21T20:21:11.791Z] f0e02332f6b5: Waiting [2023-09-21T20:21:11.791Z] cefa15bbcfad: Waiting [2023-09-21T20:21:11.791Z] 17808c966233: Waiting [2023-09-21T20:21:11.791Z] f4c1fc716caa: Waiting [2023-09-21T20:21:11.791Z] 5d54e960e981: Download complete [2023-09-21T20:21:11.792Z] f0e02332f6b5: Verifying Checksum [2023-09-21T20:21:11.792Z] f0e02332f6b5: Download complete [2023-09-21T20:21:11.792Z] cefa15bbcfad: Download complete [2023-09-21T20:21:11.792Z] 9fda8d8052c6: Download complete [2023-09-21T20:21:12.388Z] f4c1fc716caa: Verifying Checksum [2023-09-21T20:21:12.388Z] f4c1fc716caa: Download complete [2023-09-21T20:21:12.665Z] 9fda8d8052c6: Pull complete [2023-09-21T20:21:13.640Z] 5d54e960e981: Pull complete [2023-09-21T20:21:13.911Z] c4a7e357bf2a: Download complete [2023-09-21T20:21:14.885Z] 17808c966233: Download complete [2023-09-21T20:21:24.993Z] c4a7e357bf2a: Pull complete [2023-09-21T20:21:25.269Z] f0e02332f6b5: Pull complete [2023-09-21T20:21:25.541Z] cefa15bbcfad: Pull complete [2023-09-21T20:21:33.964Z] 17808c966233: Pull complete [2023-09-21T20:21:34.944Z] f4c1fc716caa: Pull complete [2023-09-21T20:21:34.944Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-21T20:21:34.944Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-21T20:21:34.944Z] ---> ea914061e18c [2023-09-21T20:21:34.944Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-21T20:21:36.370Z] ---> Running in 193ab1300809 [2023-09-21T20:21:36.370Z] Removing intermediate container 193ab1300809 [2023-09-21T20:21:36.370Z] ---> b5a6f4176cb4 [2023-09-21T20:21:36.370Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-21T20:21:36.640Z] ---> Running in cb85cf23059c [2023-09-21T20:21:36.908Z] Removing intermediate container cb85cf23059c [2023-09-21T20:21:36.908Z] ---> 28126c0b6593 [2023-09-21T20:21:36.908Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-21T20:21:36.908Z] ---> Running in bf43898111c5 [2023-09-21T20:21:37.176Z] Removing intermediate container bf43898111c5 [2023-09-21T20:21:37.176Z] ---> 95da4844c1e3 [2023-09-21T20:21:37.176Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-21T20:21:37.176Z] ---> Running in b331831c4c0b [2023-09-21T20:21:37.444Z] Removing intermediate container b331831c4c0b [2023-09-21T20:21:37.444Z] ---> 6dea4c315b98 [2023-09-21T20:21:37.444Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-21T20:21:37.717Z] ---> Running in 7f107bea9978 [2023-09-21T20:21:38.682Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-21T20:21:39.265Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-21T20:21:40.226Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-21T20:21:40.493Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-21T20:21:40.493Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-21T20:21:40.493Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-21T20:21:40.493Z] Executing busybox-1.36.1-r2.trigger [2023-09-21T20:21:40.493Z] OK: 270 MiB in 56 packages [2023-09-21T20:21:41.455Z] Removing intermediate container 7f107bea9978 [2023-09-21T20:21:41.455Z] ---> 83a35dedd8fe [2023-09-21T20:21:41.455Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-21T20:21:41.723Z] ---> Running in adf4a2775778 [2023-09-21T20:21:41.990Z] Removing intermediate container adf4a2775778 [2023-09-21T20:21:41.990Z] ---> 7638ecb89534 [2023-09-21T20:21:41.990Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-21T20:21:42.257Z] ---> 00ec7475e269 [2023-09-21T20:21:42.257Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-21T20:21:42.534Z] ---> Running in e6ab970141dd [2023-09-21T20:23:04.141Z] Removing intermediate container e6ab970141dd [2023-09-21T20:23:04.141Z] ---> 7c69a2681e15 [2023-09-21T20:23:04.141Z] Step 11/12 : COPY . . [2023-09-21T20:23:04.141Z] ---> 29e678eed418 [2023-09-21T20:23:04.141Z] Step 12/12 : RUN $MAKE [2023-09-21T20:23:04.141Z] ---> Running in 49de3c2bd254 [2023-09-21T20:23:04.141Z] noop [2023-09-21T20:23:04.141Z] Removing intermediate container 49de3c2bd254 [2023-09-21T20:23:04.141Z] ---> a54bb364685e [2023-09-21T20:23:04.141Z] Successfully built a54bb364685e [2023-09-21T20:23:04.141Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:23:04.613Z] + docker inspect -f . ci-base-image-arm64 [2023-09-21T20:23:04.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T20:23:04.933Z] prd-ubuntu20.04-docker-arm64-4c-16g-7591 does not seem to be running inside a container [2023-09-21T20:23:05.004Z] $ 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-09-21T20:23:06.298Z] $ docker top aed9e9a43cf44f1f4c150fe968ab54a589cffaef1277c2dcedb377970c2d98cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-21T20:23:07.208Z] + go version [2023-09-21T20:23:07.208Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-21T20:23:07.238Z] $ docker stop --time=1 aed9e9a43cf44f1f4c150fe968ab54a589cffaef1277c2dcedb377970c2d98cc [2023-09-21T20:23:08.820Z] $ docker rm -f --volumes aed9e9a43cf44f1f4c150fe968ab54a589cffaef1277c2dcedb377970c2d98cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:23:09.677Z] + docker inspect -f . ci-base-image-arm64 [2023-09-21T20:23:09.677Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T20:23:09.948Z] prd-ubuntu20.04-docker-arm64-4c-16g-7591 does not seem to be running inside a container [2023-09-21T20:23:10.024Z] $ 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-09-21T20:23:14.304Z] $ docker top 3200e48c0ad9e6c208ed078626740e6e6a7533046a849ce5bd718f85bb17a49e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-21T20:23:14.905Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-21T20:23:15.873Z] + make test [2023-09-21T20:23:15.873Z] go test ./... -coverprofile=coverage.out ./... [2023-09-21T20:23:20.125Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-21T20:25:11.811Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-21T20:25:11.811Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements [2023-09-21T20:25:11.811Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-21T20:25:11.811Z] go vet ./... [2023-09-21T20:25:30.047Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-21T20:25:30.047Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-21T20:25:30.047Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-21T20:25:30.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-21T20:25:30.123Z] $ docker stop --time=1 3200e48c0ad9e6c208ed078626740e6e6a7533046a849ce5bd718f85bb17a49e [2023-09-21T20:25:32.008Z] $ docker rm -f --volumes 3200e48c0ad9e6c208ed078626740e6e6a7533046a849ce5bd718f85bb17a49e [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-21T20:25:33.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-21T20:25:33.326Z] Warning: overwriting stash ‘coverage-report’ [2023-09-21T20:25:33.775Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-21T20:25:34.354Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-21T20:25:34.698Z] + ls -al . [2023-09-21T20:25:34.698Z] total 184 [2023-09-21T20:25:34.698Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 20:23 . [2023-09-21T20:25:34.698Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:20 .. [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 21 20:20 .dockerignore [2023-09-21T20:25:34.698Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 20:20 .git [2023-09-21T20:25:34.698Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:20 .github [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 21 20:20 .gitignore [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 20:20 .golangci.yml [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 21 20:20 Attribution.txt [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 21 20:20 CHANGELOG.md [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 21 20:20 Dockerfile [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 20:20 GOVERNANCE.md [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 21 20:20 Jenkinsfile [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 21 20:20 LICENSE [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 21 20:20 Makefile [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 21 20:20 OWNERS.md [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 21 20:20 README.md [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 20:18 VERSION [2023-09-21T20:25:34.698Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 20:20 bin [2023-09-21T20:25:34.698Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 20:20 cmd [2023-09-21T20:25:34.698Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 21 20:25 coverage.out [2023-09-21T20:25:34.698Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 20:20 driver [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 21 20:20 go.mod [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 21 20:20 go.sum [2023-09-21T20:25:34.698Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 20:20 snap [2023-09-21T20:25:34.698Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 21 20:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:25:35.117Z] + 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=8ec80864749629aae50a869267d6185a5c12a7f7 --label arch=arm64 --label version=0.0.0 . [2023-09-21T20:25:35.117Z] Sending build context to Docker daemon 159.7kB [2023-09-21T20:25:35.387Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-21T20:25:35.387Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-21T20:25:35.387Z] ---> a54bb364685e [2023-09-21T20:25:35.387Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-21T20:25:35.387Z] ---> Running in c1868fbbfab9 [2023-09-21T20:25:35.659Z] Removing intermediate container c1868fbbfab9 [2023-09-21T20:25:35.659Z] ---> 68a4dad97f15 [2023-09-21T20:25:35.659Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-21T20:25:35.925Z] ---> Running in 013dc7f4a39a [2023-09-21T20:25:36.192Z] Removing intermediate container 013dc7f4a39a [2023-09-21T20:25:36.192Z] ---> de6e25d4ab24 [2023-09-21T20:25:36.192Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-21T20:25:36.192Z] ---> Running in c2660d617956 [2023-09-21T20:25:36.460Z] Removing intermediate container c2660d617956 [2023-09-21T20:25:36.460Z] ---> a9c74e459549 [2023-09-21T20:25:36.460Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-21T20:25:36.460Z] ---> Running in 41012a7836d5 [2023-09-21T20:25:36.729Z] Removing intermediate container 41012a7836d5 [2023-09-21T20:25:36.729Z] ---> 340e0c6d638c [2023-09-21T20:25:36.729Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-21T20:25:36.729Z] ---> Running in 8071bd85e0b0 [2023-09-21T20:25:37.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-21T20:25:38.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-21T20:25:39.228Z] OK: 270 MiB in 56 packages [2023-09-21T20:25:40.192Z] Removing intermediate container 8071bd85e0b0 [2023-09-21T20:25:40.192Z] ---> 59f43e777c70 [2023-09-21T20:25:40.192Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-21T20:25:40.192Z] ---> Running in 3057ebd0eb2a [2023-09-21T20:25:40.469Z] Removing intermediate container 3057ebd0eb2a [2023-09-21T20:25:40.469Z] ---> 670efe875d6f [2023-09-21T20:25:40.469Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-21T20:25:40.737Z] ---> 734e0c07dd29 [2023-09-21T20:25:40.737Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-21T20:25:41.006Z] ---> Running in 474327dd5aaa [2023-09-21T20:25:46.382Z] Removing intermediate container 474327dd5aaa [2023-09-21T20:25:46.382Z] ---> 57c2736d3972 [2023-09-21T20:25:46.382Z] Step 11/25 : COPY . . [2023-09-21T20:25:46.382Z] ---> 59954883dd09 [2023-09-21T20:25:46.382Z] Step 12/25 : RUN $MAKE [2023-09-21T20:25:46.655Z] ---> Running in 1ebfc71b4183 [2023-09-21T20:25:47.618Z] 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.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-21T20:27:54.322Z] Removing intermediate container 1ebfc71b4183 [2023-09-21T20:27:54.322Z] ---> 1ec9f54bf3bb [2023-09-21T20:27:54.322Z] Step 13/25 : FROM alpine:3.18 [2023-09-21T20:27:54.322Z] 3.18: Pulling from library/alpine [2023-09-21T20:27:54.322Z] 9fda8d8052c6: Already exists [2023-09-21T20:27:54.322Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-21T20:27:54.322Z] Status: Downloaded newer image for alpine:3.18 [2023-09-21T20:27:54.322Z] ---> f6648c04cd6c [2023-09-21T20:27:54.322Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-21T20:27:54.322Z] ---> Running in fa38e50469d4 [2023-09-21T20:27:54.322Z] Removing intermediate container fa38e50469d4 [2023-09-21T20:27:54.322Z] ---> 8125594d1d05 [2023-09-21T20:27:54.322Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-21T20:27:54.322Z] ---> Running in 297afd85100f [2023-09-21T20:27:54.322Z] Removing intermediate container 297afd85100f [2023-09-21T20:27:54.322Z] ---> de41c5b26d2c [2023-09-21T20:27:54.322Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-21T20:27:54.322Z] ---> Running in 755be7f594bc [2023-09-21T20:27:54.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-21T20:27:54.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-21T20:27:54.322Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-21T20:27:54.322Z] Executing busybox-1.36.1-r2.trigger [2023-09-21T20:27:54.322Z] OK: 8 MiB in 16 packages [2023-09-21T20:27:54.594Z] Removing intermediate container 755be7f594bc [2023-09-21T20:27:54.594Z] ---> 4597c703dc1f [2023-09-21T20:27:54.594Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-21T20:27:56.009Z] ---> d9b03f5a765b [2023-09-21T20:27:56.009Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-21T20:27:56.593Z] ---> 26770be6ccb1 [2023-09-21T20:27:56.593Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-21T20:27:56.863Z] ---> 9042774ab679 [2023-09-21T20:27:56.863Z] Step 20/25 : EXPOSE 59986 [2023-09-21T20:27:57.130Z] ---> Running in 4527e47f49a5 [2023-09-21T20:27:57.398Z] Removing intermediate container 4527e47f49a5 [2023-09-21T20:27:57.398Z] ---> c619b3293130 [2023-09-21T20:27:57.398Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-21T20:27:57.398Z] ---> Running in f1ef6e43fc30 [2023-09-21T20:27:57.677Z] Removing intermediate container f1ef6e43fc30 [2023-09-21T20:27:57.677Z] ---> ef7bf8efe905 [2023-09-21T20:27:57.678Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-21T20:27:57.678Z] ---> Running in dfbd5ed1e943 [2023-09-21T20:27:57.947Z] Removing intermediate container dfbd5ed1e943 [2023-09-21T20:27:57.947Z] ---> f67b180a2017 [2023-09-21T20:27:57.947Z] Step 23/25 : LABEL arch=arm64 [2023-09-21T20:27:58.238Z] ---> Running in a72cf0243123 [2023-09-21T20:27:58.513Z] Removing intermediate container a72cf0243123 [2023-09-21T20:27:58.513Z] ---> 8229d43c28fc [2023-09-21T20:27:58.513Z] Step 24/25 : LABEL git_sha=8ec80864749629aae50a869267d6185a5c12a7f7 [2023-09-21T20:27:58.513Z] ---> Running in dd16365303ff [2023-09-21T20:27:58.784Z] Removing intermediate container dd16365303ff [2023-09-21T20:27:58.784Z] ---> 68506dcca7e5 [2023-09-21T20:27:58.784Z] Step 25/25 : LABEL version=0.0.0 [2023-09-21T20:27:58.784Z] ---> Running in 5784fd256e78 [2023-09-21T20:27:59.055Z] Removing intermediate container 5784fd256e78 [2023-09-21T20:27:59.055Z] ---> adebd577037f [2023-09-21T20:27:59.055Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-21T20:27:59.055Z] Successfully built adebd577037f [2023-09-21T20:27:59.055Z] 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-09-21T20:27:59.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-21T20:27:59.888Z] [2023-09-21T20:27:59.888Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:28:00.297Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-21T20:28:00.297Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-21T20:28:00.297Z] 8998bd30e6a1: Pulling fs layer [2023-09-21T20:28:00.297Z] 04944245beec: Pulling fs layer [2023-09-21T20:28:00.297Z] 699f458cf7ca: Pulling fs layer [2023-09-21T20:28:00.297Z] 765212b225bb: Pulling fs layer [2023-09-21T20:28:00.297Z] f23df028b6ca: Pulling fs layer [2023-09-21T20:28:00.297Z] d65c8cfc05b1: Pulling fs layer [2023-09-21T20:28:00.297Z] 2437ff75d9bd: Pulling fs layer [2023-09-21T20:28:00.297Z] f23df028b6ca: Waiting [2023-09-21T20:28:00.297Z] d65c8cfc05b1: Waiting [2023-09-21T20:28:00.297Z] 765212b225bb: Waiting [2023-09-21T20:28:00.297Z] 2437ff75d9bd: Waiting [2023-09-21T20:28:00.567Z] 04944245beec: Verifying Checksum [2023-09-21T20:28:00.567Z] 04944245beec: Download complete [2023-09-21T20:28:00.567Z] 765212b225bb: Verifying Checksum [2023-09-21T20:28:00.567Z] 765212b225bb: Download complete [2023-09-21T20:28:00.567Z] f23df028b6ca: Download complete [2023-09-21T20:28:00.567Z] d65c8cfc05b1: Verifying Checksum [2023-09-21T20:28:00.567Z] d65c8cfc05b1: Download complete [2023-09-21T20:28:00.567Z] 699f458cf7ca: Verifying Checksum [2023-09-21T20:28:00.567Z] 699f458cf7ca: Download complete [2023-09-21T20:28:01.156Z] 8998bd30e6a1: Verifying Checksum [2023-09-21T20:28:01.156Z] 8998bd30e6a1: Download complete [2023-09-21T20:28:03.761Z] 2437ff75d9bd: Verifying Checksum [2023-09-21T20:28:03.761Z] 2437ff75d9bd: Download complete [2023-09-21T20:28:05.713Z] 8998bd30e6a1: Pull complete [2023-09-21T20:28:05.983Z] 04944245beec: Pull complete [2023-09-21T20:28:07.396Z] 699f458cf7ca: Pull complete [2023-09-21T20:28:07.666Z] 765212b225bb: Pull complete [2023-09-21T20:28:08.254Z] f23df028b6ca: Pull complete [2023-09-21T20:28:08.523Z] d65c8cfc05b1: Pull complete [2023-09-21T20:28:23.536Z] 2437ff75d9bd: Pull complete [2023-09-21T20:28:23.536Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-21T20:28:23.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-21T20:28:23.536Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T20:28:23.879Z] prd-ubuntu20.04-docker-arm64-4c-16g-7591 does not seem to be running inside a container [2023-09-21T20:28:23.945Z] $ 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-09-21T20:28:26.811Z] $ docker top c7e9ac2288ab07873ebcd1fb344a9d345681d4e8113e60fc2c2b2b5c5d989016 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:28:27.775Z] ---> job-cost.sh [2023-09-21T20:28:27.775Z] lf-activate-venv: SKIPPING [2023-09-21T20:28:27.775Z] INFO: No Stack... [2023-09-21T20:28:28.364Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-21T20:28:29.332Z] INFO: Archiving Costs [Pipeline] sh [2023-09-21T20:28:30.019Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-09-21T20:28:30.020Z] + cut -d, -f6 [Pipeline] lock [2023-09-21T20:28:30.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-345-1-stack-cost] [2023-09-21T20:28:30.109Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-345-1-stack-cost] did not exist. Created. [2023-09-21T20:28:30.109Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-345-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-21T20:28:30.520Z] /w/workspace/device-rest-go/1@tmp/durable-6a3f649f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-21T20:28:31.187Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-21T20:28:31.221Z] Warning: overwriting stash ‘stack-cost’ [2023-09-21T20:28:31.273Z] Stashed 1 file(s) [Pipeline] } [2023-09-21T20:28:31.287Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-345-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-21T20:28:31.369Z] $ docker stop --time=1 c7e9ac2288ab07873ebcd1fb344a9d345681d4e8113e60fc2c2b2b5c5d989016 [2023-09-21T20:28:32.893Z] $ docker rm -f --volumes c7e9ac2288ab07873ebcd1fb344a9d345681d4e8113e60fc2c2b2b5c5d989016 [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-09-21T20:28:33.889Z] provisioning config files... [2023-09-21T20:28:33.896Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-345@tmp/config14790399257771407523tmp [Pipeline] { [Pipeline] sh [2023-09-21T20:28:34.227Z] + set +x [2023-09-21T20:28:34.227Z] + curl -s https://codecov.io/bash [2023-09-21T20:28:34.227Z] + bash -s -- [2023-09-21T20:28:34.227Z] [2023-09-21T20:28:34.227Z] _____ _ [2023-09-21T20:28:34.227Z] / ____| | | [2023-09-21T20:28:34.227Z] | | ___ __| | ___ ___ _____ __ [2023-09-21T20:28:34.227Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-21T20:28:34.227Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-21T20:28:34.227Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-21T20:28:34.227Z] Bash-1.0.6 [2023-09-21T20:28:34.227Z] [2023-09-21T20:28:34.227Z] [2023-09-21T20:28:34.227Z] ==> git version 2.25.1 found [2023-09-21T20:28:34.227Z] ==> 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-09-21T20:28:34.227Z] Release-Date: 2020-01-08 [2023-09-21T20:28:34.227Z] 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-09-21T20:28:34.227Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-21T20:28:34.227Z] ==> Jenkins CI detected. [2023-09-21T20:28:34.227Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-345 [2023-09-21T20:28:34.227Z] project root: . [2023-09-21T20:28:34.227Z] --> token set from env [2023-09-21T20:28:34.228Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-21T20:28:34.228Z] ==> Running gcov in . (disable via -X gcov) [2023-09-21T20:28:34.228Z] ==> Python coveragepy not found [2023-09-21T20:28:34.228Z] ==> Searching for coverage reports in: [2023-09-21T20:28:34.228Z] + . [2023-09-21T20:28:34.487Z] -> Found 1 reports [2023-09-21T20:28:34.487Z] ==> Detecting git/mercurial file structure [2023-09-21T20:28:34.487Z] ==> Reading reports [2023-09-21T20:28:34.487Z] + ./coverage.out bytes=14499 [2023-09-21T20:28:34.487Z] ==> Appending adjustments [2023-09-21T20:28:34.487Z] https://docs.codecov.io/docs/fixing-reports [2023-09-21T20:28:34.487Z] + Found adjustments [2023-09-21T20:28:34.487Z] ==> Gzipping contents [2023-09-21T20:28:34.487Z] 4.0K /tmp/codecov.8pSgow.gz [2023-09-21T20:28:34.487Z] ==> Uploading reports [2023-09-21T20:28:34.487Z] url: https://codecov.io [2023-09-21T20:28:34.487Z] query: branch=PR-345&commit=8ec80864749629aae50a869267d6185a5c12a7f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-345%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=345&job=&cmd_args= [2023-09-21T20:28:34.487Z] -> Pinging Codecov [2023-09-21T20:28:34.487Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-345&commit=8ec80864749629aae50a869267d6185a5c12a7f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-345%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=345&job=&cmd_args= [2023-09-21T20:28:34.487Z] -> Uploading to [2023-09-21T20:28:34.487Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-21/4E5D53B4F1F92C436F7061BF334D961C/8ec80864749629aae50a869267d6185a5c12a7f7/6746273b-2a44-43b3-8dd1-3b4ff33ef97a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230921T202834Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2002e254f86683db3bcebe94d328c757b3c2b5f50aabb2f4741c5ba7cf14b83a [2023-09-21T20:28:34.487Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-21T20:28:34.487Z] Dload Upload Total Spent Left Speed [2023-09-21T20:28:34.750Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12850 --:--:-- --:--:-- --:--:-- 12850 100 2493 0 0 100 2493 0 12850 --:--:-- --:--:-- --:--:-- 12784 [2023-09-21T20:28:34.750Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8ec80864749629aae50a869267d6185a5c12a7f7 [Pipeline] } [2023-09-21T20:28:34.775Z] 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-09-21T20:28:36.493Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-345/archives ] [2023-09-21T20:28:36.493Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-345/archives [2023-09-21T20:28:36.493Z] total 16 [2023-09-21T20:28:36.493Z] drwxr-xr-x 3 root root 4096 Sep 21 20:20 . [2023-09-21T20:28:36.493Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 20:20 .. [2023-09-21T20:28:36.493Z] drwxr-xr-x 2 root root 4096 Sep 21 20:20 cost [2023-09-21T20:28:36.493Z] -rw-r--r-- 1 root root 86 Sep 21 20:20 cost.csv [2023-09-21T20:28:36.494Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-345/archives [2023-09-21T20:28:36.494Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-345/archives [2023-09-21T20:28:36.494Z] total 16 [2023-09-21T20:28:36.494Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 20:20 . [2023-09-21T20:28:36.494Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 20:20 .. [2023-09-21T20:28:36.494Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 20:20 cost [2023-09-21T20:28:36.494Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 21 20:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:28:36.817Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:28:37.702Z] ---> package-listing.sh [2023-09-21T20:28:37.703Z] ++ facter osfamily [2023-09-21T20:28:37.703Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-21T20:28:37.962Z] + OS_FAMILY=debian [2023-09-21T20:28:37.962Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-345 [2023-09-21T20:28:37.962Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-21T20:28:37.962Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-21T20:28:37.962Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-21T20:28:37.962Z] + PACKAGES=/tmp/packages_start.txt [2023-09-21T20:28:37.962Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-345 ']' [2023-09-21T20:28:37.962Z] + PACKAGES=/tmp/packages_end.txt [2023-09-21T20:28:37.962Z] + case "${OS_FAMILY}" in [2023-09-21T20:28:37.962Z] + dpkg -l [2023-09-21T20:28:37.962Z] + grep '^ii' [2023-09-21T20:28:37.962Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-21T20:28:37.962Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-21T20:28:37.962Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-21T20:28:37.962Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-345 ']' [2023-09-21T20:28:37.962Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-345/archives/ [2023-09-21T20:28:37.962Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-345/archives/ [Pipeline] echo [2023-09-21T20:28:37.994Z] 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-345/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-21T20:28:38.287Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-21T20:28:38.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-21T20:28:38.925Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-21T20:28:39.090Z] prd-ubuntu20.04-docker-8c-8g-7589 does not seem to be running inside a container [2023-09-21T20:28:39.120Z] $ 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-345/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-345 -v /w/workspace/gexfoundry_device-rest-go_PR-345:/w/workspace/gexfoundry_device-rest-go_PR-345:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-345@tmp:/w/workspace/gexfoundry_device-rest-go_PR-345@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-09-21T20:28:39.322Z] $ docker top 5c815e7bd81ab9850036f22fe7158e1c1058289f987dcfd210f7e5a6822c1091 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-21T20:28:39.713Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-21T20:28:40.017Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-21T20:28:40.408Z] + ls /var/log/sa-host [2023-09-21T20:28:40.408Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-21T20:28:40.542Z] provisioning config files... [2023-09-21T20:28:40.549Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-345@tmp/config7096435783738993822tmp [Pipeline] { [Pipeline] echo [2023-09-21T20:28:40.600Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:28:40.913Z] ---> create-netrc.sh [Pipeline] } [2023-09-21T20:28:40.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:28:41.338Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-21T20:28:41.370Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:28:41.679Z] ---> sudo-logs.sh [2023-09-21T20:28:41.679Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-21T20:28:41.763Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:28:42.077Z] ---> job-cost.sh [2023-09-21T20:28:42.077Z] lf-activate-venv: SKIPPING [2023-09-21T20:28:42.077Z] DEBUG: total: 0.2199999988079071 [2023-09-21T20:28:42.077Z] INFO: Retrieving Stack Cost... [2023-09-21T20:28:43.013Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-21T20:28:43.581Z] INFO: Archiving Costs [Pipeline] echo [2023-09-21T20:28:43.613Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-21T20:28:43.921Z] ---> logs-deploy.sh [2023-09-21T20:28:43.921Z] lf-activate-venv: SKIPPING [2023-09-21T20:28:43.921Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-345/1 [2023-09-21T20:28:43.921Z] INFO: archiving workspace using pattern(s): [2023-09-21T20:28:44.856Z] Archives upload complete. [2023-09-21T20:28:45.114Z] INFO: archiving logs to Nexus