Pull request #303 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8282a525ddfc039d2c06d01a6902409b9a24daa6+2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 (c2668b6467ee8646342950060dd9909a3769657d) 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-ssh17360687242016190467.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh2990176889076104582.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-303/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-303/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14658074910373436233.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-303/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2805003402848595605.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh14598814011619758491.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-303/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-303/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6987030982512675729.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-11948 in /w/workspace/gexfoundry_device-rest-go_PR-303 [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-303 # 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/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 into PR head commit 8282a525ddfc039d2c06d01a6902409b9a24daa6 Merge succeeded, producing 8282a525ddfc039d2c06d01a6902409b9a24daa6 Checking out Revision 8282a525ddfc039d2c06d01a6902409b9a24daa6 (PR-303) 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-27T20:58:32.366Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 8282a525ddfc039d2c06d01a6902409b9a24daa6 # 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 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8282a525ddfc039d2c06d01a6902409b9a24daa6 # timeout=10 [Pipeline] withCredentials [2023-04-27T20:58:32.535Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-27T20:58:32.628Z] ========================================================= [2023-04-27T20:58:32.628Z] EdgeX Global Pipelines Version Info [2023-04-27T20:58:32.628Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-27T20:58:33.363Z] ------------------- [2023-04-27T20:58:33.364Z] stable info: [2023-04-27T20:58:33.364Z] ------------------- [2023-04-27T20:58:33.364Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-27T20:58:33.364Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-27T20:58:33.364Z] Message: update stable to v1.0.248 [2023-04-27T20:58:33.946Z] ------------------- [2023-04-27T20:58:33.946Z] experimental info: [2023-04-27T20:58:33.946Z] ------------------- [2023-04-27T20:58:33.946Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-27T20:58:33.946Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-27T20:58:33.946Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-27T20:58:34.292Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-27T20:58:34.337Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-27T20:58:34.376Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-27T20:58:34.412Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-27T20:58:34.454Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-27T20:58:34.492Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-27T20:58:34.531Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-27T20:58:34.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-27T20:58:34.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-27T20:58:34.747Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-27T20:58:34.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-27T20:58:34.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-27T20:58:34.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-27T20:58:34.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-27T20:58:34.941Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-27T20:58:34.982Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-27T20:58:35.021Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-27T20:58:35.059Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-27T20:58:35.096Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-27T20:58:35.130Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-27T20:58:35.173Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-27T20:58:35.208Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-27T20:58:35.244Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-27T20:58:35.280Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-27T20:58:35.316Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-27T20:58:35.352Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-27T20:58:35.396Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-27T20:58:35.440Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-303 [Pipeline] echo [2023-04-27T20:58:35.483Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-303 [Pipeline] echo [2023-04-27T20:58:35.520Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-303 [Pipeline] echo [2023-04-27T20:58:35.559Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8282a525ddfc039d2c06d01a6902409b9a24daa6 [Pipeline] echo [2023-04-27T20:58:35.599Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8282a52 [Pipeline] echo [2023-04-27T20:58:35.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T20:58:35.759Z] provisioning config files... [2023-04-27T20:58:35.776Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/config2199412112250325629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T20:58:36.119Z] ---> docker-login.sh [2023-04-27T20:58:36.119Z] nexus3.edgexfoundry.org:10001 [2023-04-27T20:58:36.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T20:58:36.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T20:58:36.381Z] Configure a credential helper to remove this warning. See [2023-04-27T20:58:36.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T20:58:36.381Z] [2023-04-27T20:58:36.381Z] Login Succeeded [2023-04-27T20:58:36.641Z] nexus3.edgexfoundry.org:10002 [2023-04-27T20:58:36.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T20:58:36.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T20:58:36.641Z] Configure a credential helper to remove this warning. See [2023-04-27T20:58:36.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T20:58:36.641Z] [2023-04-27T20:58:36.641Z] Login Succeeded [2023-04-27T20:58:36.641Z] nexus3.edgexfoundry.org:10003 [2023-04-27T20:58:36.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T20:58:36.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T20:58:36.641Z] Configure a credential helper to remove this warning. See [2023-04-27T20:58:36.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T20:58:36.641Z] [2023-04-27T20:58:36.641Z] Login Succeeded [2023-04-27T20:58:36.641Z] nexus3.edgexfoundry.org:10004 [2023-04-27T20:58:36.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T20:58:36.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T20:58:36.902Z] Configure a credential helper to remove this warning. See [2023-04-27T20:58:36.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T20:58:36.902Z] [2023-04-27T20:58:36.902Z] Login Succeeded [2023-04-27T20:58:36.902Z] docker.io [2023-04-27T20:58:36.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T20:58:37.163Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T20:58:37.163Z] Configure a credential helper to remove this warning. See [2023-04-27T20:58:37.163Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T20:58:37.163Z] [2023-04-27T20:58:37.163Z] Login Succeeded [2023-04-27T20:58:37.163Z] ---> docker-login.sh ends [Pipeline] } [2023-04-27T20:58:37.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-27T20:58:37.824Z] + git rev-list -1 --merges 8282a525ddfc039d2c06d01a6902409b9a24daa6~1..8282a525ddfc039d2c06d01a6902409b9a24daa6 [Pipeline] echo [2023-04-27T20:58:37.896Z] -----------> git rev-list -1 --merges 8282a525ddfc039d2c06d01a6902409b9a24daa6~1..8282a525ddfc039d2c06d01a6902409b9a24daa6 8282a525ddfc039d2c06d01a6902409b9a24daa6 [false] [Pipeline] sh [2023-04-27T20:58:38.206Z] + git log --format=format:%s -1 8282a525ddfc039d2c06d01a6902409b9a24daa6 [Pipeline] echo [2023-04-27T20:58:38.241Z] ========================================================= [2023-04-27T20:58:38.241Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-27T20:58:38.241Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-27T20:58:38.670Z] + git log --format=format:%s -1 8282a525ddfc039d2c06d01a6902409b9a24daa6 [Pipeline] echo [2023-04-27T20:58:38.706Z] [semverPrep] GIT_COMMIT: 8282a525ddfc039d2c06d01a6902409b9a24daa6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-27T20:58:38.737Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-27T20:58:39.145Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-27T20:58:39.146Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-27T20:58:39.146Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-27T20:58:39.146Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-27T20:58:39.146Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-27T20:58:39.146Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-27T20:58:39.146Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T20:58:39.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T20:58:39.658Z] [2023-04-27T20:58:39.658Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T20:58:40.030Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T20:58:40.031Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-27T20:58:40.031Z] b85a868b505f: Pulling fs layer [2023-04-27T20:58:40.031Z] e2be974225ed: Pulling fs layer [2023-04-27T20:58:40.031Z] 339a4e72a1f5: Pulling fs layer [2023-04-27T20:58:40.031Z] 988bab9f4d93: Pulling fs layer [2023-04-27T20:58:40.031Z] 1469e6f7b9e6: Pulling fs layer [2023-04-27T20:58:40.031Z] eaf3925da568: Pulling fs layer [2023-04-27T20:58:40.031Z] bab4dde63d76: Pulling fs layer [2023-04-27T20:58:40.031Z] bde34c3a00c8: Pulling fs layer [2023-04-27T20:58:40.031Z] b352a97aabf1: Pulling fs layer [2023-04-27T20:58:40.031Z] 4872d77fe225: Pulling fs layer [2023-04-27T20:58:40.031Z] 5851b861e8e6: Pulling fs layer [2023-04-27T20:58:40.031Z] 1469e6f7b9e6: Waiting [2023-04-27T20:58:40.031Z] eaf3925da568: Waiting [2023-04-27T20:58:40.031Z] bab4dde63d76: Waiting [2023-04-27T20:58:40.031Z] bde34c3a00c8: Waiting [2023-04-27T20:58:40.031Z] b352a97aabf1: Waiting [2023-04-27T20:58:40.031Z] 4872d77fe225: Waiting [2023-04-27T20:58:40.031Z] 5851b861e8e6: Waiting [2023-04-27T20:58:40.031Z] 988bab9f4d93: Waiting [2023-04-27T20:58:40.031Z] e2be974225ed: Verifying Checksum [2023-04-27T20:58:40.031Z] e2be974225ed: Download complete [2023-04-27T20:58:40.031Z] 988bab9f4d93: Verifying Checksum [2023-04-27T20:58:40.031Z] 988bab9f4d93: Download complete [2023-04-27T20:58:40.290Z] 1469e6f7b9e6: Verifying Checksum [2023-04-27T20:58:40.290Z] 1469e6f7b9e6: Download complete [2023-04-27T20:58:40.290Z] eaf3925da568: Verifying Checksum [2023-04-27T20:58:40.290Z] eaf3925da568: Download complete [2023-04-27T20:58:40.290Z] 339a4e72a1f5: Verifying Checksum [2023-04-27T20:58:40.290Z] 339a4e72a1f5: Download complete [2023-04-27T20:58:40.290Z] bde34c3a00c8: Download complete [2023-04-27T20:58:40.290Z] b352a97aabf1: Verifying Checksum [2023-04-27T20:58:40.290Z] b352a97aabf1: Download complete [2023-04-27T20:58:40.290Z] 4872d77fe225: Verifying Checksum [2023-04-27T20:58:40.290Z] 4872d77fe225: Download complete [2023-04-27T20:58:40.290Z] 5851b861e8e6: Verifying Checksum [2023-04-27T20:58:40.290Z] 5851b861e8e6: Download complete [2023-04-27T20:58:40.290Z] b85a868b505f: Download complete [2023-04-27T20:58:40.550Z] bab4dde63d76: Verifying Checksum [2023-04-27T20:58:40.550Z] bab4dde63d76: Download complete [2023-04-27T20:58:41.487Z] b85a868b505f: Pull complete [2023-04-27T20:58:41.748Z] e2be974225ed: Pull complete [2023-04-27T20:58:42.008Z] 339a4e72a1f5: Pull complete [2023-04-27T20:58:42.008Z] 988bab9f4d93: Pull complete [2023-04-27T20:58:42.269Z] 1469e6f7b9e6: Pull complete [2023-04-27T20:58:42.529Z] eaf3925da568: Pull complete [2023-04-27T20:58:43.910Z] bab4dde63d76: Pull complete [2023-04-27T20:58:44.169Z] bde34c3a00c8: Pull complete [2023-04-27T20:58:44.169Z] b352a97aabf1: Pull complete [2023-04-27T20:58:44.169Z] 4872d77fe225: Pull complete [2023-04-27T20:58:44.429Z] 5851b861e8e6: Pull complete [2023-04-27T20:58:44.429Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-27T20:58:44.429Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T20:58:44.429Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T20:58:44.664Z] prd-ubuntu20.04-docker-8c-8g-11948 does not seem to be running inside a container [2023-04-27T20:58:44.703Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-303 -v /w/workspace/gexfoundry_device-rest-go_PR-303:/w/workspace/gexfoundry_device-rest-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-303@tmp:/w/workspace/gexfoundry_device-rest-go_PR-303@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-04-27T20:58:46.781Z] $ docker top 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 -eo pid,comm [2023-04-27T20:58:46.833Z] 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-04-27T20:58:46.833Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-27T20:58:46.969Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-27T20:58:46.969Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-27T20:58:47.082Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-27T20:58:47.092Z] $ docker exec 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 ssh-agent [2023-04-27T20:58:47.211Z] SSH_AUTH_SOCK=/tmp/ssh-PnbSy70x0UFo/agent.31 [2023-04-27T20:58:47.211Z] SSH_AGENT_PID=37 [2023-04-27T20:58:47.218Z] Running ssh-add (command line suppressed) [2023-04-27T20:58:47.333Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-303@tmp/private_key_8106537681051092540.key (/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/private_key_8106537681051092540.key) [2023-04-27T20:58:47.341Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-27T20:58:47.671Z] + git tag --points-at HEAD [Pipeline] } [2023-04-27T20:58:47.705Z] $ docker exec --env ******** --env ******** 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 ssh-agent -k [2023-04-27T20:58:47.808Z] unset SSH_AUTH_SOCK; [2023-04-27T20:58:47.808Z] unset SSH_AGENT_PID; [2023-04-27T20:58:47.808Z] echo Agent pid 37 killed; [2023-04-27T20:58:47.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-27T20:58:47.901Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-27T20:58:47.901Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-27T20:58:48.039Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-27T20:58:48.049Z] $ docker exec 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 ssh-agent [2023-04-27T20:58:48.138Z] SSH_AUTH_SOCK=/tmp/ssh-8ag0n7lwupOl/agent.69 [2023-04-27T20:58:48.138Z] SSH_AGENT_PID=75 [2023-04-27T20:58:48.144Z] Running ssh-add (command line suppressed) [2023-04-27T20:58:48.250Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-303@tmp/private_key_17642548125636524570.key (/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/private_key_17642548125636524570.key) [2023-04-27T20:58:48.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-27T20:58:48.593Z] + git semver init [2023-04-27T20:58:48.852Z] 2023-04-27 20:58:48,772 [run_init] DEBUG init version:0.0.0 force:False [2023-04-27T20:58:48.852Z] 2023-04-27 20:58:48,773 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-303/.semver [2023-04-27T20:58:48.852Z] 2023-04-27 20:58:48,774 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-303/.semver [2023-04-27T20:58:48.852Z] 2023-04-27 20:58:48,774 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-303/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-303, universal_newlines=False, shell=None, istream=None) [2023-04-27T20:58:49.795Z] 2023-04-27 20:58:49,741 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-303/.git/info/exclude [2023-04-27T20:58:49.795Z] 2023-04-27 20:58:49,741 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-303/.semver/PR-303 with force:False [2023-04-27T20:58:49.795Z] 2023-04-27 20:58:49,741 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-303/.semver/PR-303 [2023-04-27T20:58:49.795Z] 2023-04-27 20:58:49,745 [execute] INFO git cat-file --batch-check [2023-04-27T20:58:49.795Z] 2023-04-27 20:58:49,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-303/.semver, universal_newlines=False, shell=None, istream=) [2023-04-27T20:58:49.795Z] 2023-04-27 20:58:49,751 [execute] INFO git cat-file --batch [2023-04-27T20:58:49.795Z] 2023-04-27 20:58:49,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-303/.semver, universal_newlines=False, shell=None, istream=) [2023-04-27T20:58:49.795Z] 2023-04-27 20:58:49,755 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-303/.semver/PR-303 [2023-04-27T20:58:49.795Z] 0.0.0 [Pipeline] } [2023-04-27T20:58:49.829Z] $ docker exec --env ******** --env ******** 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 ssh-agent -k [2023-04-27T20:58:49.955Z] unset SSH_AUTH_SOCK; [2023-04-27T20:58:49.955Z] unset SSH_AGENT_PID; [2023-04-27T20:58:49.955Z] echo Agent pid 75 killed; [2023-04-27T20:58:49.959Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-27T20:58:50.370Z] + git semver [Pipeline] } [2023-04-27T20:58:50.665Z] $ docker stop --time=1 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 [2023-04-27T20:58:51.976Z] $ docker rm -f --volumes 16cecf8239158978ade0a36525caeef017122f5b5bedf0ff47b01e00709bdf22 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-27T20:58:52.370Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-27T20:58:52.629Z] Stashed 1 file(s) [Pipeline] echo [2023-04-27T20:58:52.645Z] [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-04-27T20:58:53.188Z] provisioning config files... [2023-04-27T20:58:53.199Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/config7669539874098469707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T20:58:53.554Z] ---> docker-login.sh [2023-04-27T20:58:53.554Z] nexus3.edgexfoundry.org:10001 [2023-04-27T20:58:53.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T20:58:53.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T20:58:53.554Z] Configure a credential helper to remove this warning. See [2023-04-27T20:58:53.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T20:58:53.554Z] [2023-04-27T20:58:53.554Z] Login Succeeded [2023-04-27T20:58:53.554Z] nexus3.edgexfoundry.org:10002 [2023-04-27T20:58:53.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T20:58:53.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T20:58:53.554Z] Configure a credential helper to remove this warning. See [2023-04-27T20:58:53.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T20:58:53.554Z] [2023-04-27T20:58:53.554Z] Login Succeeded [2023-04-27T20:58:53.554Z] nexus3.edgexfoundry.org:10003 [2023-04-27T20:58:53.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T20:58:53.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T20:58:53.815Z] Configure a credential helper to remove this warning. See [2023-04-27T20:58:53.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T20:58:53.815Z] [2023-04-27T20:58:53.815Z] Login Succeeded [2023-04-27T20:58:53.815Z] nexus3.edgexfoundry.org:10004 [2023-04-27T20:58:53.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T20:58:53.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T20:58:53.815Z] Configure a credential helper to remove this warning. See [2023-04-27T20:58:53.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T20:58:53.815Z] [2023-04-27T20:58:53.815Z] Login Succeeded [2023-04-27T20:58:53.815Z] docker.io [2023-04-27T20:58:53.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T20:58:54.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T20:58:54.076Z] Configure a credential helper to remove this warning. See [2023-04-27T20:58:54.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T20:58:54.076Z] [2023-04-27T20:58:54.076Z] Login Succeeded [2023-04-27T20:58:54.076Z] ---> docker-login.sh ends [Pipeline] } [2023-04-27T20:58:54.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-27T20:58:54.279Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T20:58:54.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T20:58:54.344Z] ========================================================= [2023-04-27T20:58:54.344Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-27T20:58:54.344Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T20:58:54.811Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-27T20:58:54.811Z] Sending build context to Docker daemon 10.91MB [2023-04-27T20:58:54.811Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-27T20:58:54.811Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-27T20:58:54.811Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-27T20:58:54.811Z] f56be85fc22e: Pulling fs layer [2023-04-27T20:58:54.811Z] 85791d961cd3: Pulling fs layer [2023-04-27T20:58:54.811Z] d694b5ae8c79: Pulling fs layer [2023-04-27T20:58:54.811Z] 9f32a84ed3da: Pulling fs layer [2023-04-27T20:58:54.811Z] 4d19c01a9841: Pulling fs layer [2023-04-27T20:58:54.811Z] 9325e15d5711: Pulling fs layer [2023-04-27T20:58:54.811Z] 556b6ee489ea: Pulling fs layer [2023-04-27T20:58:54.811Z] c5a4b2cf53e6: Pulling fs layer [2023-04-27T20:58:54.811Z] 9f32a84ed3da: Waiting [2023-04-27T20:58:54.811Z] 4d19c01a9841: Waiting [2023-04-27T20:58:54.811Z] 9325e15d5711: Waiting [2023-04-27T20:58:54.811Z] c5a4b2cf53e6: Waiting [2023-04-27T20:58:54.811Z] 556b6ee489ea: Waiting [2023-04-27T20:58:54.811Z] 85791d961cd3: Verifying Checksum [2023-04-27T20:58:54.811Z] 85791d961cd3: Download complete [2023-04-27T20:58:55.072Z] 9f32a84ed3da: Verifying Checksum [2023-04-27T20:58:55.072Z] 9f32a84ed3da: Download complete [2023-04-27T20:58:55.072Z] 4d19c01a9841: Verifying Checksum [2023-04-27T20:58:55.072Z] 4d19c01a9841: Download complete [2023-04-27T20:58:55.072Z] f56be85fc22e: Verifying Checksum [2023-04-27T20:58:55.072Z] f56be85fc22e: Download complete [2023-04-27T20:58:55.072Z] 9325e15d5711: Verifying Checksum [2023-04-27T20:58:55.072Z] 9325e15d5711: Download complete [2023-04-27T20:58:55.072Z] f56be85fc22e: Pull complete [2023-04-27T20:58:55.333Z] 85791d961cd3: Pull complete [2023-04-27T20:58:55.594Z] c5a4b2cf53e6: Verifying Checksum [2023-04-27T20:58:55.594Z] c5a4b2cf53e6: Download complete [2023-04-27T20:58:55.594Z] d694b5ae8c79: Verifying Checksum [2023-04-27T20:58:55.594Z] d694b5ae8c79: Download complete [2023-04-27T20:58:55.852Z] 556b6ee489ea: Verifying Checksum [2023-04-27T20:58:55.852Z] 556b6ee489ea: Download complete [2023-04-27T20:58:59.137Z] d694b5ae8c79: Pull complete [2023-04-27T20:58:59.137Z] 9f32a84ed3da: Pull complete [2023-04-27T20:58:59.137Z] 4d19c01a9841: Pull complete [2023-04-27T20:58:59.137Z] 9325e15d5711: Pull complete [2023-04-27T20:59:01.039Z] 556b6ee489ea: Pull complete [2023-04-27T20:59:01.605Z] c5a4b2cf53e6: Pull complete [2023-04-27T20:59:01.605Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-27T20:59:01.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-27T20:59:01.605Z] ---> c4be618373d6 [2023-04-27T20:59:01.605Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-27T20:59:04.900Z] ---> Running in 3832df21bd3b [2023-04-27T20:59:04.900Z] Removing intermediate container 3832df21bd3b [2023-04-27T20:59:04.900Z] ---> 1f1c9f73bf54 [2023-04-27T20:59:04.900Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-27T20:59:04.900Z] ---> Running in d0d76cd36cbd [2023-04-27T20:59:04.900Z] Removing intermediate container d0d76cd36cbd [2023-04-27T20:59:04.900Z] ---> 184063e01ff2 [2023-04-27T20:59:04.900Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-27T20:59:04.900Z] ---> Running in 6323ce35685b [2023-04-27T20:59:04.900Z] Removing intermediate container 6323ce35685b [2023-04-27T20:59:04.900Z] ---> 5c9512bb6798 [2023-04-27T20:59:04.900Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-27T20:59:04.900Z] ---> Running in 234de1d49e27 [2023-04-27T20:59:05.159Z] Removing intermediate container 234de1d49e27 [2023-04-27T20:59:05.159Z] ---> f240d4b35fe1 [2023-04-27T20:59:05.159Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-27T20:59:05.159Z] ---> Running in 5506db3b6820 [2023-04-27T20:59:05.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-27T20:59:05.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-27T20:59:05.676Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-27T20:59:05.676Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-27T20:59:05.676Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-27T20:59:05.676Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-27T20:59:05.676Z] Executing busybox-1.35.0-r29.trigger [2023-04-27T20:59:05.676Z] OK: 269 MiB in 57 packages [2023-04-27T20:59:06.243Z] Removing intermediate container 5506db3b6820 [2023-04-27T20:59:06.243Z] ---> 7db3c0fba43b [2023-04-27T20:59:06.243Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-27T20:59:06.243Z] ---> Running in 9be66a63a17b [2023-04-27T20:59:06.243Z] Removing intermediate container 9be66a63a17b [2023-04-27T20:59:06.243Z] ---> d102efc3919f [2023-04-27T20:59:06.244Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-27T20:59:06.503Z] ---> 12547a27d2a0 [2023-04-27T20:59:06.503Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-27T20:59:06.503Z] ---> Running in e67885718311 [2023-04-27T20:59:08.014Z] Still waiting to schedule task [2023-04-27T20:59:08.014Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-27T20:59:45.316Z] Removing intermediate container e67885718311 [2023-04-27T20:59:45.316Z] ---> bd7551da91d4 [2023-04-27T20:59:45.316Z] Step 11/12 : COPY . . [2023-04-27T20:59:45.316Z] ---> 8fb02d5b282a [2023-04-27T20:59:45.316Z] Step 12/12 : RUN $MAKE [2023-04-27T20:59:45.316Z] ---> Running in dea155777df8 [2023-04-27T20:59:45.316Z] noop [2023-04-27T20:59:45.316Z] Removing intermediate container dea155777df8 [2023-04-27T20:59:45.316Z] ---> 11a361770c22 [2023-04-27T20:59:45.316Z] Successfully built 11a361770c22 [2023-04-27T20:59:45.316Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T20:59:45.758Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-27T20:59:45.758Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T20:59:45.900Z] prd-ubuntu20.04-docker-8c-8g-11948 does not seem to be running inside a container [2023-04-27T20:59:45.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-303 -v /w/workspace/gexfoundry_device-rest-go_PR-303:/w/workspace/gexfoundry_device-rest-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-303@tmp:/w/workspace/gexfoundry_device-rest-go_PR-303@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-04-27T20:59:46.262Z] $ docker top 79f71406872073de481eca9dc48587fa4103cb203bad3b7105546a7429b538f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T20:59:46.646Z] + go version [2023-04-27T20:59:46.646Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-27T20:59:46.685Z] $ docker stop --time=1 79f71406872073de481eca9dc48587fa4103cb203bad3b7105546a7429b538f4 [2023-04-27T20:59:47.948Z] $ docker rm -f --volumes 79f71406872073de481eca9dc48587fa4103cb203bad3b7105546a7429b538f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T20:59:48.650Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-27T20:59:48.651Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T20:59:48.809Z] prd-ubuntu20.04-docker-8c-8g-11948 does not seem to be running inside a container [2023-04-27T20:59:48.846Z] $ 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-303 -v /w/workspace/gexfoundry_device-rest-go_PR-303:/w/workspace/gexfoundry_device-rest-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-303@tmp:/w/workspace/gexfoundry_device-rest-go_PR-303@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-04-27T20:59:49.182Z] $ docker top 96df94ebfe75cc7756699ba535095fe2877c429f92a5f7652f9104510ce63ad9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T20:59:49.571Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-303 [Pipeline] fileExists [Pipeline] sh [2023-04-27T20:59:49.927Z] + make test [2023-04-27T20:59:49.927Z] go test ./... -coverprofile=coverage.out ./... [2023-04-27T20:59:54.110Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-27T21:00:04.076Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-27T21:00:04.076Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-04-27T21:00:09.331Z] go vet ./... [2023-04-27T21:00:11.857Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-27T21:00:11.857Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-27T21:00:11.857Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-27T21:00:11.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-27T21:00:11.930Z] $ docker stop --time=1 96df94ebfe75cc7756699ba535095fe2877c429f92a5f7652f9104510ce63ad9 [2023-04-27T21:00:14.561Z] $ docker rm -f --volumes 96df94ebfe75cc7756699ba535095fe2877c429f92a5f7652f9104510ce63ad9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-27T21:00:15.068Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-27T21:00:15.155Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-27T21:00:15.910Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-27T21:00:16.260Z] + ls -al . [2023-04-27T21:00:16.260Z] total 184 [2023-04-27T21:00:16.260Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 20:59 . [2023-04-27T21:00:16.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 20:58 .. [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 27 20:58 .dockerignore [2023-04-27T21:00:16.260Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 20:58 .git [2023-04-27T21:00:16.260Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 20:58 .github [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 20:58 .gitignore [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 20:58 .golangci.yml [2023-04-27T21:00:16.260Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 20:58 .semver [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 27 20:58 Attribution.txt [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 27 20:58 CHANGELOG.md [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 27 20:58 Dockerfile [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 20:58 GOVERNANCE.md [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 20:58 Jenkinsfile [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 20:58 LICENSE [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 27 20:58 Makefile [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 20:58 OWNERS.md [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 27 20:58 README.md [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 20:58 VERSION [2023-04-27T21:00:16.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 20:58 bin [2023-04-27T21:00:16.260Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 20:58 cmd [2023-04-27T21:00:16.260Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 27 21:00 coverage.out [2023-04-27T21:00:16.260Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 20:58 driver [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 27 20:58 go.mod [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 27 20:58 go.sum [2023-04-27T21:00:16.260Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 20:58 snap [2023-04-27T21:00:16.260Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 27 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T21:00:16.658Z] + 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=8282a525ddfc039d2c06d01a6902409b9a24daa6 --label arch=amd64 --label version=0.0.0 . [2023-04-27T21:00:16.658Z] Sending build context to Docker daemon 10.92MB [2023-04-27T21:00:16.658Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-27T21:00:16.658Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-27T21:00:16.658Z] ---> 11a361770c22 [2023-04-27T21:00:16.658Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-27T21:00:16.658Z] ---> Running in 2b60f8088811 [2023-04-27T21:00:16.921Z] Removing intermediate container 2b60f8088811 [2023-04-27T21:00:16.921Z] ---> 82c402b3d74b [2023-04-27T21:00:16.921Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-27T21:00:16.921Z] ---> Running in 375cf2d0fb58 [2023-04-27T21:00:16.921Z] Removing intermediate container 375cf2d0fb58 [2023-04-27T21:00:16.921Z] ---> ba4b5d8968b4 [2023-04-27T21:00:16.921Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-27T21:00:16.921Z] ---> Running in 8a1bddb767f2 [2023-04-27T21:00:16.921Z] Removing intermediate container 8a1bddb767f2 [2023-04-27T21:00:16.921Z] ---> 517be575200f [2023-04-27T21:00:16.921Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-27T21:00:16.921Z] ---> Running in 0cf36e2b9e17 [2023-04-27T21:00:17.182Z] Removing intermediate container 0cf36e2b9e17 [2023-04-27T21:00:17.182Z] ---> 1cb6d0738059 [2023-04-27T21:00:17.182Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-27T21:00:17.182Z] ---> Running in 852c1eeb4c3b [2023-04-27T21:00:17.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-27T21:00:17.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-27T21:00:17.700Z] OK: 269 MiB in 57 packages [2023-04-27T21:00:17.961Z] Removing intermediate container 852c1eeb4c3b [2023-04-27T21:00:17.962Z] ---> ceb2c1fe131c [2023-04-27T21:00:17.962Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-27T21:00:17.962Z] ---> Running in edeb2ee4bb1d [2023-04-27T21:00:17.962Z] Removing intermediate container edeb2ee4bb1d [2023-04-27T21:00:17.962Z] ---> 6c0d5e43fcd2 [2023-04-27T21:00:17.962Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-27T21:00:18.222Z] ---> eb89554b419a [2023-04-27T21:00:18.222Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-27T21:00:18.222Z] ---> Running in 0f41a0e8a2e2 [2023-04-27T21:00:18.790Z] Removing intermediate container 0f41a0e8a2e2 [2023-04-27T21:00:18.790Z] ---> d5a1f667f605 [2023-04-27T21:00:18.790Z] Step 11/25 : COPY . . [2023-04-27T21:00:19.364Z] ---> 211e65d8c0e7 [2023-04-27T21:00:19.364Z] Step 12/25 : RUN $MAKE [2023-04-27T21:00:19.364Z] ---> Running in e166ddc8a4b8 [2023-04-27T21:00:19.622Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-27T21:00:37.701Z] Removing intermediate container e166ddc8a4b8 [2023-04-27T21:00:37.701Z] ---> 8dfdf6456fa4 [2023-04-27T21:00:37.701Z] Step 13/25 : FROM alpine:3.17 [2023-04-27T21:00:37.701Z] 3.17: Pulling from library/alpine [2023-04-27T21:00:37.701Z] f56be85fc22e: Already exists [2023-04-27T21:00:37.701Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-27T21:00:37.701Z] Status: Downloaded newer image for alpine:3.17 [2023-04-27T21:00:37.701Z] ---> 9ed4aefc74f6 [2023-04-27T21:00:37.701Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-27T21:00:37.701Z] ---> Running in 8583dd464745 [2023-04-27T21:00:37.701Z] Removing intermediate container 8583dd464745 [2023-04-27T21:00:37.701Z] ---> 036fdf2ee161 [2023-04-27T21:00:37.701Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-27T21:00:37.701Z] ---> Running in e06d17cf7d8e [2023-04-27T21:00:37.701Z] Removing intermediate container e06d17cf7d8e [2023-04-27T21:00:37.701Z] ---> a99a9254959d [2023-04-27T21:00:37.701Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-27T21:00:37.701Z] ---> Running in da47c7d684f1 [2023-04-27T21:00:37.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-27T21:00:37.701Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-27T21:00:37.701Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-27T21:00:37.701Z] Executing busybox-1.35.0-r29.trigger [2023-04-27T21:00:37.701Z] OK: 7 MiB in 16 packages [2023-04-27T21:00:37.961Z] Removing intermediate container da47c7d684f1 [2023-04-27T21:00:37.961Z] ---> 7c7208e6b7b7 [2023-04-27T21:00:37.961Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-27T21:00:38.914Z] ---> 1b7968af339f [2023-04-27T21:00:38.914Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-27T21:00:38.914Z] ---> 9789a618f708 [2023-04-27T21:00:38.914Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-27T21:00:39.172Z] ---> 79e7d7aac26e [2023-04-27T21:00:39.172Z] Step 20/25 : EXPOSE 59986 [2023-04-27T21:00:39.172Z] ---> Running in 6b12d8679e25 [2023-04-27T21:00:39.172Z] Removing intermediate container 6b12d8679e25 [2023-04-27T21:00:39.172Z] ---> fb7760a0f7c9 [2023-04-27T21:00:39.172Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-27T21:00:39.172Z] ---> Running in da67c280e3a6 [2023-04-27T21:00:39.431Z] Removing intermediate container da67c280e3a6 [2023-04-27T21:00:39.431Z] ---> e059d67df26e [2023-04-27T21:00:39.431Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-27T21:00:39.431Z] ---> Running in 96b21f326d17 [2023-04-27T21:00:39.431Z] Removing intermediate container 96b21f326d17 [2023-04-27T21:00:39.431Z] ---> 2897a5ac4ea6 [2023-04-27T21:00:39.431Z] Step 23/25 : LABEL arch=amd64 [2023-04-27T21:00:39.431Z] ---> Running in eadeb0b7b690 [2023-04-27T21:00:39.689Z] Removing intermediate container eadeb0b7b690 [2023-04-27T21:00:39.689Z] ---> ceffc391ea87 [2023-04-27T21:00:39.689Z] Step 24/25 : LABEL git_sha=8282a525ddfc039d2c06d01a6902409b9a24daa6 [2023-04-27T21:00:39.689Z] ---> Running in 4548f254e6dc [2023-04-27T21:00:39.689Z] Removing intermediate container 4548f254e6dc [2023-04-27T21:00:39.689Z] ---> 07ae499023dd [2023-04-27T21:00:39.689Z] Step 25/25 : LABEL version=0.0.0 [2023-04-27T21:00:39.689Z] ---> Running in fcc2aa970ecc [2023-04-27T21:00:39.948Z] Removing intermediate container fcc2aa970ecc [2023-04-27T21:00:39.948Z] ---> 490bfa283456 [2023-04-27T21:00:39.948Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-27T21:00:39.948Z] Successfully built 490bfa283456 [2023-04-27T21:00:39.948Z] 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-04-27T21:00:40.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T21:00:40.969Z] [2023-04-27T21:00:40.969Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T21:00:41.342Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T21:00:41.342Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-27T21:00:41.342Z] 5eb5b503b376: Pulling fs layer [2023-04-27T21:00:41.342Z] 5c69ac0246d0: Pulling fs layer [2023-04-27T21:00:41.342Z] ec43610c2a17: Pulling fs layer [2023-04-27T21:00:41.342Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-27T21:00:41.342Z] 33b1e0a273af: Pulling fs layer [2023-04-27T21:00:41.342Z] 5d3b04190fa2: Pulling fs layer [2023-04-27T21:00:41.342Z] 2f39f015ded8: Pulling fs layer [2023-04-27T21:00:41.342Z] 3a2ae6a8a46f: Waiting [2023-04-27T21:00:41.342Z] 2f39f015ded8: Waiting [2023-04-27T21:00:41.342Z] 33b1e0a273af: Waiting [2023-04-27T21:00:41.342Z] 5c69ac0246d0: Verifying Checksum [2023-04-27T21:00:41.342Z] 5c69ac0246d0: Download complete [2023-04-27T21:00:41.342Z] 3a2ae6a8a46f: Download complete [2023-04-27T21:00:41.342Z] 33b1e0a273af: Verifying Checksum [2023-04-27T21:00:41.342Z] 33b1e0a273af: Download complete [2023-04-27T21:00:41.342Z] ec43610c2a17: Verifying Checksum [2023-04-27T21:00:41.342Z] ec43610c2a17: Download complete [2023-04-27T21:00:41.342Z] 5d3b04190fa2: Verifying Checksum [2023-04-27T21:00:41.342Z] 5d3b04190fa2: Download complete [2023-04-27T21:00:41.601Z] 5eb5b503b376: Verifying Checksum [2023-04-27T21:00:41.601Z] 5eb5b503b376: Download complete [2023-04-27T21:00:42.167Z] 2f39f015ded8: Download complete [2023-04-27T21:00:42.733Z] 5eb5b503b376: Pull complete [2023-04-27T21:00:42.733Z] 5c69ac0246d0: Pull complete [2023-04-27T21:00:43.303Z] ec43610c2a17: Pull complete [2023-04-27T21:00:43.303Z] 3a2ae6a8a46f: Pull complete [2023-04-27T21:00:43.563Z] 33b1e0a273af: Pull complete [2023-04-27T21:00:43.563Z] 5d3b04190fa2: Pull complete [2023-04-27T21:00:47.746Z] 2f39f015ded8: Pull complete [2023-04-27T21:00:47.746Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-27T21:00:47.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T21:00:47.746Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T21:00:47.980Z] prd-ubuntu20.04-docker-8c-8g-11948 does not seem to be running inside a container [2023-04-27T21:00:48.018Z] $ 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-303 -v /w/workspace/gexfoundry_device-rest-go_PR-303:/w/workspace/gexfoundry_device-rest-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-303@tmp:/w/workspace/gexfoundry_device-rest-go_PR-303@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-04-27T21:00:48.846Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11949 in /w/workspace/gexfoundry_device-rest-go_PR-303 [2023-04-27T21:00:50.827Z] $ docker top a9ca759242f6cf31bcc409c15ef61b2cc5cb7607cb496ac1310d7947e1c1f0ab -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-04-27T21:00:51.097Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-04-27T21:00:51.175Z] The recommended git tool is: git [2023-04-27T21:00:51.330Z] ---> job-cost.sh [2023-04-27T21:00:51.330Z] lf-activate-venv: SKIPPING [2023-04-27T21:00:51.330Z] INFO: No Stack... [2023-04-27T21:00:51.590Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-27T21:00:51.849Z] INFO: Archiving Costs [Pipeline] sh [2023-04-27T21:00:52.164Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-303/archives/cost.csv [2023-04-27T21:00:52.164Z] + cut -d, -f6 [Pipeline] lock [2023-04-27T21:00:52.203Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] [2023-04-27T21:00:52.208Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] did not exist. Created. [2023-04-27T21:00:52.208Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-27T21:00:52.595Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-27T21:00:52.648Z] Stashed 1 file(s) [Pipeline] } [2023-04-27T21:00:52.678Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-27T21:00:52.767Z] $ docker stop --time=1 a9ca759242f6cf31bcc409c15ef61b2cc5cb7607cb496ac1310d7947e1c1f0ab [2023-04-27T21:00:53.908Z] $ docker rm -f --volumes a9ca759242f6cf31bcc409c15ef61b2cc5cb7607cb496ac1310d7947e1c1f0ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-27T21:00:55.983Z] using credential edgex-jenkins-ssh [2023-04-27T21:00:56.004Z] Cloning the remote Git repository [2023-04-27T21:00:56.054Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-27T21:00:56.150Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-27T21:00:56.309Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-27T21:00:56.310Z] > git --version # timeout=10 [2023-04-27T21:00:56.334Z] > git --version # 'git version 2.25.1' [2023-04-27T21:00:56.337Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-27T21:00:56.515Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-27T21:00:58.453Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-27T21:00:58.486Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-27T21:00:59.407Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-27T21:00:59.450Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-27T21:00:59.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-27T21:00:59.468Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/303/head:refs/remotes/origin/PR-303 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-27T21:01:00.005Z] Merging remotes/origin/main commit 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 into PR head commit 8282a525ddfc039d2c06d01a6902409b9a24daa6 [2023-04-27T21:01:00.283Z] Merge succeeded, producing 8282a525ddfc039d2c06d01a6902409b9a24daa6 [2023-04-27T21:01:00.284Z] Checking out Revision 8282a525ddfc039d2c06d01a6902409b9a24daa6 (PR-303) [2023-04-27T21:01:00.765Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-27T21:01:00.827Z] > git --version # timeout=10 [2023-04-27T21:01:00.838Z] > git --version # 'git version 2.25.1' [2023-04-27T21:01:00.851Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-27T21:01:00.029Z] > git config core.sparsecheckout # timeout=10 [2023-04-27T21:01:00.096Z] > git checkout -f 8282a525ddfc039d2c06d01a6902409b9a24daa6 # timeout=10 [2023-04-27T21:01:00.186Z] > git remote # timeout=10 [2023-04-27T21:01:00.214Z] > git config --get remote.origin.url # timeout=10 [2023-04-27T21:01:00.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-27T21:01:00.243Z] > git merge 2f7cd59f938f3bc6608d5b4fcb61af0cf16e3fa8 # timeout=10 [2023-04-27T21:01:00.269Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-27T21:01:00.296Z] > git config core.sparsecheckout # timeout=10 [2023-04-27T21:01:00.314Z] > git checkout -f 8282a525ddfc039d2c06d01a6902409b9a24daa6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-27T21:01:02.032Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-27T21:01:02.032Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-27T21:01:02.032Z] Dload Upload Total Spent Left Speed [2023-04-27T21:01:02.032Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10504 0 0 64441 0 --:--:-- --:--:-- --:--:-- 64048 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77278 [Pipeline] sh [2023-04-27T21:01:02.646Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-27T21:01:02.998Z] + sudo tee /etc/docker/daemon.new [2023-04-27T21:01:02.998Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-27T21:01:02.998Z] { [2023-04-27T21:01:02.998Z] "registry-mirrors": [ [2023-04-27T21:01:02.998Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-27T21:01:02.998Z] ], [2023-04-27T21:01:02.998Z] "bip": "10.250.0.254/24", [2023-04-27T21:01:02.998Z] "hosts": [ [2023-04-27T21:01:02.998Z] "tcp://0.0.0.0:5555", [2023-04-27T21:01:02.998Z] "unix:///var/run/docker.sock" [2023-04-27T21:01:02.998Z] ], [2023-04-27T21:01:02.998Z] "mtu": 1458, [2023-04-27T21:01:02.998Z] "selinux-enabled": true, [2023-04-27T21:01:02.998Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-27T21:01:02.998Z] } [Pipeline] sh [2023-04-27T21:01:03.345Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-27T21:01:03.694Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T21:01:22.014Z] provisioning config files... [2023-04-27T21:01:22.042Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5444034525486807119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T21:01:22.427Z] ---> docker-login.sh [2023-04-27T21:01:22.427Z] nexus3.edgexfoundry.org:10001 [2023-04-27T21:01:22.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T21:01:22.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T21:01:22.964Z] Configure a credential helper to remove this warning. See [2023-04-27T21:01:22.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T21:01:22.964Z] [2023-04-27T21:01:22.964Z] Login Succeeded [2023-04-27T21:01:22.964Z] nexus3.edgexfoundry.org:10002 [2023-04-27T21:01:23.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T21:01:23.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T21:01:23.231Z] Configure a credential helper to remove this warning. See [2023-04-27T21:01:23.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T21:01:23.232Z] [2023-04-27T21:01:23.232Z] Login Succeeded [2023-04-27T21:01:23.232Z] nexus3.edgexfoundry.org:10003 [2023-04-27T21:01:23.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T21:01:23.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T21:01:23.768Z] Configure a credential helper to remove this warning. See [2023-04-27T21:01:23.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T21:01:23.768Z] [2023-04-27T21:01:23.768Z] Login Succeeded [2023-04-27T21:01:23.768Z] nexus3.edgexfoundry.org:10004 [2023-04-27T21:01:24.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T21:01:24.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T21:01:24.037Z] Configure a credential helper to remove this warning. See [2023-04-27T21:01:24.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T21:01:24.037Z] [2023-04-27T21:01:24.037Z] Login Succeeded [2023-04-27T21:01:24.037Z] docker.io [2023-04-27T21:01:24.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T21:01:24.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T21:01:24.572Z] Configure a credential helper to remove this warning. See [2023-04-27T21:01:24.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T21:01:24.572Z] [2023-04-27T21:01:24.572Z] Login Succeeded [2023-04-27T21:01:24.572Z] ---> docker-login.sh ends [Pipeline] } [2023-04-27T21:01:24.606Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-27T21:01:24.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T21:01:24.987Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T21:01:25.024Z] ========================================================= [2023-04-27T21:01:25.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-27T21:01:25.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T21:01:25.539Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-27T21:01:25.540Z] Sending build context to Docker daemon 138.8kB [2023-04-27T21:01:25.808Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-27T21:01:25.809Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-27T21:01:25.809Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-27T21:01:25.809Z] c41833b44d91: Pulling fs layer [2023-04-27T21:01:25.809Z] ed15518f5707: Pulling fs layer [2023-04-27T21:01:25.809Z] feae8fd75edb: Pulling fs layer [2023-04-27T21:01:25.809Z] 242c74f7c9fa: Pulling fs layer [2023-04-27T21:01:25.809Z] 3cdef696dda3: Pulling fs layer [2023-04-27T21:01:25.809Z] 2ced38df9373: Pulling fs layer [2023-04-27T21:01:25.809Z] 58f1dce35555: Pulling fs layer [2023-04-27T21:01:25.809Z] 242c74f7c9fa: Waiting [2023-04-27T21:01:25.809Z] 3cdef696dda3: Waiting [2023-04-27T21:01:25.809Z] 2ced38df9373: Waiting [2023-04-27T21:01:25.809Z] 58f1dce35555: Waiting [2023-04-27T21:01:25.809Z] ed15518f5707: Verifying Checksum [2023-04-27T21:01:25.809Z] ed15518f5707: Download complete [2023-04-27T21:01:26.081Z] 242c74f7c9fa: Verifying Checksum [2023-04-27T21:01:26.081Z] 242c74f7c9fa: Download complete [2023-04-27T21:01:26.081Z] 3cdef696dda3: Verifying Checksum [2023-04-27T21:01:26.081Z] 3cdef696dda3: Download complete [2023-04-27T21:01:26.081Z] c41833b44d91: Verifying Checksum [2023-04-27T21:01:26.081Z] c41833b44d91: Download complete [2023-04-27T21:01:27.066Z] c41833b44d91: Pull complete [2023-04-27T21:01:27.339Z] 58f1dce35555: Verifying Checksum [2023-04-27T21:01:27.339Z] 58f1dce35555: Download complete [2023-04-27T21:01:28.330Z] feae8fd75edb: Verifying Checksum [2023-04-27T21:01:28.330Z] feae8fd75edb: Download complete [2023-04-27T21:01:28.598Z] 2ced38df9373: Verifying Checksum [2023-04-27T21:01:28.598Z] 2ced38df9373: Download complete [2023-04-27T21:01:30.549Z] ed15518f5707: Pull complete [2023-04-27T21:01:45.704Z] feae8fd75edb: Pull complete [2023-04-27T21:01:45.704Z] 242c74f7c9fa: Pull complete [2023-04-27T21:01:45.704Z] 3cdef696dda3: Pull complete [2023-04-27T21:01:51.092Z] 2ced38df9373: Pull complete [2023-04-27T21:01:52.552Z] 58f1dce35555: Pull complete [2023-04-27T21:01:52.552Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-27T21:01:52.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-27T21:01:52.552Z] ---> fadd8f120f05 [2023-04-27T21:01:52.552Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-27T21:01:54.516Z] ---> Running in ba71bba91bc4 [2023-04-27T21:01:54.516Z] Removing intermediate container ba71bba91bc4 [2023-04-27T21:01:54.516Z] ---> 5500792b2375 [2023-04-27T21:01:54.516Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-27T21:01:54.790Z] ---> Running in 1ea580faf713 [2023-04-27T21:01:55.058Z] Removing intermediate container 1ea580faf713 [2023-04-27T21:01:55.058Z] ---> ac13a395c15a [2023-04-27T21:01:55.058Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-27T21:01:55.058Z] ---> Running in f8e3898189c7 [2023-04-27T21:01:55.328Z] Removing intermediate container f8e3898189c7 [2023-04-27T21:01:55.328Z] ---> 27834adc7944 [2023-04-27T21:01:55.328Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-27T21:01:55.328Z] ---> Running in 089d4333dc0d [2023-04-27T21:01:55.598Z] Removing intermediate container 089d4333dc0d [2023-04-27T21:01:55.598Z] ---> 3258ef3c901a [2023-04-27T21:01:55.598Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-27T21:01:55.867Z] ---> Running in 9e67aca30217 [2023-04-27T21:01:56.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-27T21:01:57.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-27T21:01:58.382Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-27T21:01:58.382Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-27T21:01:58.382Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-27T21:01:58.651Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-27T21:01:58.651Z] Executing busybox-1.35.0-r29.trigger [2023-04-27T21:01:58.651Z] OK: 268 MiB in 57 packages [2023-04-27T21:01:59.618Z] Removing intermediate container 9e67aca30217 [2023-04-27T21:01:59.618Z] ---> 29400efb9ab0 [2023-04-27T21:01:59.618Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-27T21:01:59.618Z] ---> Running in f50ca7bb140e [2023-04-27T21:01:59.885Z] Removing intermediate container f50ca7bb140e [2023-04-27T21:01:59.885Z] ---> c673374f1f39 [2023-04-27T21:01:59.885Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-27T21:02:00.151Z] ---> 2cb1fea445b2 [2023-04-27T21:02:00.151Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-27T21:02:00.423Z] ---> Running in e92577dd61d1 [2023-04-27T21:03:08.340Z] Removing intermediate container e92577dd61d1 [2023-04-27T21:03:08.340Z] ---> 35a283c0eada [2023-04-27T21:03:08.340Z] Step 11/12 : COPY . . [2023-04-27T21:03:08.340Z] ---> b3f8f53713fc [2023-04-27T21:03:08.340Z] Step 12/12 : RUN $MAKE [2023-04-27T21:03:08.340Z] ---> Running in f6bb589a9272 [2023-04-27T21:03:08.340Z] noop [2023-04-27T21:03:08.340Z] Removing intermediate container f6bb589a9272 [2023-04-27T21:03:08.340Z] ---> fb26992fd8eb [2023-04-27T21:03:08.340Z] Successfully built fb26992fd8eb [2023-04-27T21:03:08.340Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T21:03:08.830Z] + docker inspect -f . ci-base-image-arm64 [2023-04-27T21:03:08.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T21:03:09.126Z] prd-ubuntu20.04-docker-arm64-4c-16g-11949 does not seem to be running inside a container [2023-04-27T21:03:09.198Z] $ 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-04-27T21:03:10.405Z] $ docker top bd3d4acb11e43f2a059915c3edb7fab0759a82307db92b63e6555774eb3bc13e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T21:03:11.272Z] + go version [2023-04-27T21:03:11.272Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-27T21:03:11.311Z] $ docker stop --time=1 bd3d4acb11e43f2a059915c3edb7fab0759a82307db92b63e6555774eb3bc13e [2023-04-27T21:03:12.904Z] $ docker rm -f --volumes bd3d4acb11e43f2a059915c3edb7fab0759a82307db92b63e6555774eb3bc13e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T21:03:13.760Z] + docker inspect -f . ci-base-image-arm64 [2023-04-27T21:03:13.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T21:03:14.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-11949 does not seem to be running inside a container [2023-04-27T21:03:14.090Z] $ 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-04-27T21:03:15.273Z] $ docker top 8de6d5d79db25f6ebe1fd9da927025446d1b80ace934a3ed9315bcc6eb870c5e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T21:03:16.159Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-27T21:03:16.553Z] + make test [2023-04-27T21:03:16.553Z] go test ./... -coverprofile=coverage.out ./... [2023-04-27T21:03:50.258Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-27T21:05:29.167Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-27T21:05:31.754Z] ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 32.2% of statements [2023-04-27T21:05:32.023Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-27T21:05:32.023Z] go vet ./... [2023-04-27T21:05:58.739Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-27T21:05:58.739Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-27T21:05:58.739Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-27T21:05:58.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-27T21:05:58.816Z] $ docker stop --time=1 8de6d5d79db25f6ebe1fd9da927025446d1b80ace934a3ed9315bcc6eb870c5e [2023-04-27T21:06:00.627Z] $ docker rm -f --volumes 8de6d5d79db25f6ebe1fd9da927025446d1b80ace934a3ed9315bcc6eb870c5e [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-27T21:06:01.749Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-27T21:06:01.785Z] Warning: overwriting stash ‘coverage-report’ [2023-04-27T21:06:02.244Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-27T21:06:02.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-27T21:06:03.193Z] + ls -al . [2023-04-27T21:06:03.193Z] total 180 [2023-04-27T21:06:03.193Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 21:03 . [2023-04-27T21:06:03.193Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 21:00 .. [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 27 21:01 .dockerignore [2023-04-27T21:06:03.193Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 21:01 .git [2023-04-27T21:06:03.193Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 21:01 .github [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 21:01 .gitignore [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 21:01 .golangci.yml [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 27 21:01 Attribution.txt [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 27 21:01 CHANGELOG.md [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 27 21:01 Dockerfile [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 21:01 GOVERNANCE.md [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 27 21:01 Jenkinsfile [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 21:01 LICENSE [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 27 21:01 Makefile [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 21:01 OWNERS.md [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 27 21:01 README.md [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 20:58 VERSION [2023-04-27T21:06:03.193Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 21:01 bin [2023-04-27T21:06:03.193Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 21:01 cmd [2023-04-27T21:06:03.193Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 27 21:05 coverage.out [2023-04-27T21:06:03.193Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 21:01 driver [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 27 21:01 go.mod [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 27 21:01 go.sum [2023-04-27T21:06:03.193Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 21:01 snap [2023-04-27T21:06:03.193Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 27 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T21:06:03.629Z] + 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=8282a525ddfc039d2c06d01a6902409b9a24daa6 --label arch=arm64 --label version=0.0.0 . [2023-04-27T21:06:03.630Z] Sending build context to Docker daemon 154.1kB [2023-04-27T21:06:03.897Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-27T21:06:03.897Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-27T21:06:03.897Z] ---> fb26992fd8eb [2023-04-27T21:06:03.897Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-27T21:06:03.897Z] ---> Running in 521491c10e44 [2023-04-27T21:06:04.172Z] Removing intermediate container 521491c10e44 [2023-04-27T21:06:04.172Z] ---> 4fe1c1c6bf92 [2023-04-27T21:06:04.172Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-27T21:06:04.441Z] ---> Running in 2542cdc037b5 [2023-04-27T21:06:04.710Z] Removing intermediate container 2542cdc037b5 [2023-04-27T21:06:04.710Z] ---> d80f12b90ab0 [2023-04-27T21:06:04.710Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-27T21:06:04.710Z] ---> Running in a6fecac7bbe1 [2023-04-27T21:06:04.978Z] Removing intermediate container a6fecac7bbe1 [2023-04-27T21:06:04.978Z] ---> c215566df70c [2023-04-27T21:06:04.978Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-27T21:06:04.978Z] ---> Running in 847592a22be0 [2023-04-27T21:06:05.261Z] Removing intermediate container 847592a22be0 [2023-04-27T21:06:05.261Z] ---> a25a5bf5a324 [2023-04-27T21:06:05.261Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-27T21:06:05.531Z] ---> Running in f4e7db2d84e2 [2023-04-27T21:06:06.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-27T21:06:07.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-27T21:06:08.037Z] OK: 268 MiB in 57 packages [2023-04-27T21:06:09.001Z] Removing intermediate container f4e7db2d84e2 [2023-04-27T21:06:09.001Z] ---> b223577bb21f [2023-04-27T21:06:09.001Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-27T21:06:09.001Z] ---> Running in 87cfe461dd0d [2023-04-27T21:06:09.269Z] Removing intermediate container 87cfe461dd0d [2023-04-27T21:06:09.269Z] ---> 757ba15e0460 [2023-04-27T21:06:09.270Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-27T21:06:09.855Z] ---> 1b2e383d26d8 [2023-04-27T21:06:09.855Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-27T21:06:09.855Z] ---> Running in 63b754108baa [2023-04-27T21:06:12.457Z] Removing intermediate container 63b754108baa [2023-04-27T21:06:12.457Z] ---> 802a40f4e74f [2023-04-27T21:06:12.457Z] Step 11/25 : COPY . . [2023-04-27T21:06:12.724Z] ---> 15d7c8f4fc47 [2023-04-27T21:06:12.724Z] Step 12/25 : RUN $MAKE [2023-04-27T21:06:12.724Z] ---> Running in d2e71683bf91 [2023-04-27T21:06:13.693Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-27T21:08:20.392Z] Removing intermediate container d2e71683bf91 [2023-04-27T21:08:20.392Z] ---> cc01f98c7071 [2023-04-27T21:08:20.392Z] Step 13/25 : FROM alpine:3.17 [2023-04-27T21:08:20.392Z] 3.17: Pulling from library/alpine [2023-04-27T21:08:20.392Z] c41833b44d91: Already exists [2023-04-27T21:08:20.392Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-27T21:08:20.392Z] Status: Downloaded newer image for alpine:3.17 [2023-04-27T21:08:20.392Z] ---> 51e60588ff2c [2023-04-27T21:08:20.392Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-27T21:08:20.392Z] ---> Running in fab60cab062f [2023-04-27T21:08:20.392Z] Removing intermediate container fab60cab062f [2023-04-27T21:08:20.392Z] ---> 7d3d6a7132fd [2023-04-27T21:08:20.392Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-27T21:08:20.392Z] ---> Running in 86d9bc550e49 [2023-04-27T21:08:20.392Z] Removing intermediate container 86d9bc550e49 [2023-04-27T21:08:20.392Z] ---> ee1d6f471ff4 [2023-04-27T21:08:20.392Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-27T21:08:20.392Z] ---> Running in 43df21587061 [2023-04-27T21:08:20.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-27T21:08:20.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-27T21:08:20.392Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-27T21:08:20.392Z] Executing busybox-1.35.0-r29.trigger [2023-04-27T21:08:20.392Z] OK: 8 MiB in 16 packages [2023-04-27T21:08:20.392Z] Removing intermediate container 43df21587061 [2023-04-27T21:08:20.392Z] ---> afd5f6bcf458 [2023-04-27T21:08:20.392Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-27T21:08:21.804Z] ---> 7dadec2bf3db [2023-04-27T21:08:21.804Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-27T21:08:22.071Z] ---> c768d491082c [2023-04-27T21:08:22.071Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-27T21:08:22.653Z] ---> cd07580a2a64 [2023-04-27T21:08:22.653Z] Step 20/25 : EXPOSE 59986 [2023-04-27T21:08:22.653Z] ---> Running in 39271252def8 [2023-04-27T21:08:22.922Z] Removing intermediate container 39271252def8 [2023-04-27T21:08:22.922Z] ---> 73e5217d2d42 [2023-04-27T21:08:22.922Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-27T21:08:23.193Z] ---> Running in 3cdd7d006408 [2023-04-27T21:08:23.461Z] Removing intermediate container 3cdd7d006408 [2023-04-27T21:08:23.461Z] ---> ff2a09fb2f8b [2023-04-27T21:08:23.462Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-27T21:08:23.462Z] ---> Running in e4319f0a753f [2023-04-27T21:08:23.731Z] Removing intermediate container e4319f0a753f [2023-04-27T21:08:23.731Z] ---> c113fa80a6cb [2023-04-27T21:08:23.731Z] Step 23/25 : LABEL arch=arm64 [2023-04-27T21:08:23.731Z] ---> Running in 3718e4d09c71 [2023-04-27T21:08:23.998Z] Removing intermediate container 3718e4d09c71 [2023-04-27T21:08:23.998Z] ---> df93799c3261 [2023-04-27T21:08:23.998Z] Step 24/25 : LABEL git_sha=8282a525ddfc039d2c06d01a6902409b9a24daa6 [2023-04-27T21:08:23.998Z] ---> Running in f416119e6fe0 [2023-04-27T21:08:24.268Z] Removing intermediate container f416119e6fe0 [2023-04-27T21:08:24.268Z] ---> 13379df8733b [2023-04-27T21:08:24.268Z] Step 25/25 : LABEL version=0.0.0 [2023-04-27T21:08:24.544Z] ---> Running in d3883cde737d [2023-04-27T21:08:24.810Z] Removing intermediate container d3883cde737d [2023-04-27T21:08:24.810Z] ---> 185331772a8d [2023-04-27T21:08:24.810Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-27T21:08:24.810Z] Successfully built 185331772a8d [2023-04-27T21:08:24.810Z] 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-04-27T21:08:25.654Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-27T21:08:25.654Z] [2023-04-27T21:08:25.654Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T21:08:26.060Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-27T21:08:26.060Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-27T21:08:26.060Z] 8998bd30e6a1: Pulling fs layer [2023-04-27T21:08:26.060Z] 04944245beec: Pulling fs layer [2023-04-27T21:08:26.060Z] 699f458cf7ca: Pulling fs layer [2023-04-27T21:08:26.060Z] 765212b225bb: Pulling fs layer [2023-04-27T21:08:26.060Z] f23df028b6ca: Pulling fs layer [2023-04-27T21:08:26.060Z] d65c8cfc05b1: Pulling fs layer [2023-04-27T21:08:26.060Z] 2437ff75d9bd: Pulling fs layer [2023-04-27T21:08:26.060Z] f23df028b6ca: Waiting [2023-04-27T21:08:26.060Z] d65c8cfc05b1: Waiting [2023-04-27T21:08:26.060Z] 765212b225bb: Waiting [2023-04-27T21:08:26.328Z] 04944245beec: Verifying Checksum [2023-04-27T21:08:26.328Z] 04944245beec: Download complete [2023-04-27T21:08:26.328Z] 765212b225bb: Verifying Checksum [2023-04-27T21:08:26.328Z] 765212b225bb: Download complete [2023-04-27T21:08:26.328Z] f23df028b6ca: Verifying Checksum [2023-04-27T21:08:26.328Z] f23df028b6ca: Download complete [2023-04-27T21:08:26.328Z] d65c8cfc05b1: Verifying Checksum [2023-04-27T21:08:26.328Z] d65c8cfc05b1: Download complete [2023-04-27T21:08:26.328Z] 699f458cf7ca: Verifying Checksum [2023-04-27T21:08:26.328Z] 699f458cf7ca: Download complete [2023-04-27T21:08:26.914Z] 8998bd30e6a1: Verifying Checksum [2023-04-27T21:08:26.914Z] 8998bd30e6a1: Download complete [2023-04-27T21:08:28.857Z] 2437ff75d9bd: Verifying Checksum [2023-04-27T21:08:28.857Z] 2437ff75d9bd: Download complete [2023-04-27T21:08:30.853Z] 8998bd30e6a1: Pull complete [2023-04-27T21:08:31.148Z] 04944245beec: Pull complete [2023-04-27T21:08:32.693Z] 699f458cf7ca: Pull complete [2023-04-27T21:08:32.693Z] 765212b225bb: Pull complete [2023-04-27T21:08:36.055Z] f23df028b6ca: Pull complete [2023-04-27T21:08:36.055Z] d65c8cfc05b1: Pull complete [2023-04-27T21:08:51.041Z] 2437ff75d9bd: Pull complete [2023-04-27T21:08:51.041Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-27T21:08:51.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-27T21:08:51.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T21:08:51.343Z] prd-ubuntu20.04-docker-arm64-4c-16g-11949 does not seem to be running inside a container [2023-04-27T21:08:51.409Z] $ 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-04-27T21:08:53.895Z] $ docker top 35329916fcbc77a0161aeecb92b4db41a4a1a45a0161a47fba6e2369aef086a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T21:08:54.463Z] ---> job-cost.sh [2023-04-27T21:08:54.731Z] lf-activate-venv: SKIPPING [2023-04-27T21:08:54.731Z] INFO: No Stack... [2023-04-27T21:08:54.997Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-27T21:08:55.954Z] INFO: Archiving Costs [Pipeline] sh [2023-04-27T21:08:56.291Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-04-27T21:08:56.292Z] + cut -d, -f6 [Pipeline] lock [2023-04-27T21:08:56.367Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] [2023-04-27T21:08:56.373Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] did not exist. Created. [2023-04-27T21:08:56.373Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-27T21:08:56.781Z] /w/workspace/device-rest-go/1@tmp/durable-10edcc59/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-27T21:08:57.134Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-27T21:08:57.167Z] Warning: overwriting stash ‘stack-cost’ [2023-04-27T21:08:57.207Z] Stashed 1 file(s) [Pipeline] } [2023-04-27T21:08:57.222Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-303-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-27T21:08:57.305Z] $ docker stop --time=1 35329916fcbc77a0161aeecb92b4db41a4a1a45a0161a47fba6e2369aef086a5 [2023-04-27T21:08:58.773Z] $ docker rm -f --volumes 35329916fcbc77a0161aeecb92b4db41a4a1a45a0161a47fba6e2369aef086a5 [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-04-27T21:08:59.801Z] provisioning config files... [2023-04-27T21:08:59.809Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/config4704573916908048938tmp [Pipeline] { [Pipeline] sh [2023-04-27T21:09:00.145Z] + set +x [2023-04-27T21:09:00.145Z] + + curl -s https://codecov.io/bash [2023-04-27T21:09:00.145Z] bash -s -- [2023-04-27T21:09:00.145Z] [2023-04-27T21:09:00.145Z] _____ _ [2023-04-27T21:09:00.145Z] / ____| | | [2023-04-27T21:09:00.145Z] | | ___ __| | ___ ___ _____ __ [2023-04-27T21:09:00.145Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-27T21:09:00.145Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-27T21:09:00.145Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-27T21:09:00.145Z] Bash-1.0.6 [2023-04-27T21:09:00.145Z] [2023-04-27T21:09:00.145Z] [2023-04-27T21:09:00.145Z] ==> git version 2.25.1 found [2023-04-27T21:09:00.145Z] ==> 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-04-27T21:09:00.145Z] Release-Date: 2020-01-08 [2023-04-27T21:09:00.145Z] 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-04-27T21:09:00.145Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-27T21:09:00.145Z] ==> Jenkins CI detected. [2023-04-27T21:09:00.145Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-303 [2023-04-27T21:09:00.145Z] project root: . [2023-04-27T21:09:00.145Z] --> token set from env [2023-04-27T21:09:00.145Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-27T21:09:00.145Z] ==> Running gcov in . (disable via -X gcov) [2023-04-27T21:09:00.145Z] ==> Python coveragepy not found [2023-04-27T21:09:00.145Z] ==> Searching for coverage reports in: [2023-04-27T21:09:00.145Z] + . [2023-04-27T21:09:00.145Z] -> Found 1 reports [2023-04-27T21:09:00.145Z] ==> Detecting git/mercurial file structure [2023-04-27T21:09:00.405Z] ==> Reading reports [2023-04-27T21:09:00.405Z] + ./coverage.out bytes=14663 [2023-04-27T21:09:00.405Z] ==> Appending adjustments [2023-04-27T21:09:00.405Z] https://docs.codecov.io/docs/fixing-reports [2023-04-27T21:09:00.405Z] + Found adjustments [2023-04-27T21:09:00.405Z] ==> Gzipping contents [2023-04-27T21:09:00.405Z] 4.0K /tmp/codecov.9CmpKR.gz [2023-04-27T21:09:00.405Z] ==> Uploading reports [2023-04-27T21:09:00.405Z] url: https://codecov.io [2023-04-27T21:09:00.405Z] query: branch=PR-303&commit=8282a525ddfc039d2c06d01a6902409b9a24daa6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-303%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=303&job=&cmd_args= [2023-04-27T21:09:00.405Z] -> Pinging Codecov [2023-04-27T21:09:00.405Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-303&commit=8282a525ddfc039d2c06d01a6902409b9a24daa6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-303%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=303&job=&cmd_args= [2023-04-27T21:09:00.665Z] -> Uploading to [2023-04-27T21:09:00.665Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-27/4E5D53B4F1F92C436F7061BF334D961C/8282a525ddfc039d2c06d01a6902409b9a24daa6/4d86c02d-3347-4a2c-b81b-12c495e9e822.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230427T210900Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a274d74dec8e07da192f8b0d994dca3cde186c1a527f120117f9d3fe742816b8 [2023-04-27T21:09:00.665Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-27T21:09:00.665Z] Dload Upload Total Spent Left Speed [2023-04-27T21:09:00.925Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10960 --:--:-- --:--:-- --:--:-- 10913 100 2510 0 0 100 2510 0 10120 --:--:-- --:--:-- --:--:-- 10080 [2023-04-27T21:09:00.925Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8282a525ddfc039d2c06d01a6902409b9a24daa6 [Pipeline] } [2023-04-27T21:09:00.955Z] 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-04-27T21:09:02.704Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-303/archives ] [2023-04-27T21:09:02.704Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-303/archives [2023-04-27T21:09:02.704Z] total 16 [2023-04-27T21:09:02.704Z] drwxr-xr-x 3 root root 4096 Apr 27 21:00 . [2023-04-27T21:09:02.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 21:00 .. [2023-04-27T21:09:02.704Z] drwxr-xr-x 2 root root 4096 Apr 27 21:00 cost [2023-04-27T21:09:02.704Z] -rw-r--r-- 1 root root 86 Apr 27 21:00 cost.csv [2023-04-27T21:09:02.704Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-303/archives [2023-04-27T21:09:02.704Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-303/archives [2023-04-27T21:09:02.704Z] total 16 [2023-04-27T21:09:02.704Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 21:00 . [2023-04-27T21:09:02.704Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 21:00 .. [2023-04-27T21:09:02.704Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 21:00 cost [2023-04-27T21:09:02.704Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 27 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-27T21:09:03.040Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T21:09:03.952Z] ---> package-listing.sh [2023-04-27T21:09:03.952Z] ++ facter osfamily [2023-04-27T21:09:03.952Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-27T21:09:04.212Z] + OS_FAMILY=debian [2023-04-27T21:09:04.212Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-303 [2023-04-27T21:09:04.212Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-27T21:09:04.212Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-27T21:09:04.212Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-27T21:09:04.212Z] + PACKAGES=/tmp/packages_start.txt [2023-04-27T21:09:04.212Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-303 ']' [2023-04-27T21:09:04.212Z] + PACKAGES=/tmp/packages_end.txt [2023-04-27T21:09:04.212Z] + case "${OS_FAMILY}" in [2023-04-27T21:09:04.212Z] + dpkg -l [2023-04-27T21:09:04.212Z] + grep '^ii' [2023-04-27T21:09:04.212Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-27T21:09:04.212Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-27T21:09:04.212Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-27T21:09:04.212Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-303 ']' [2023-04-27T21:09:04.212Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-303/archives/ [2023-04-27T21:09:04.212Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-303/archives/ [Pipeline] echo [2023-04-27T21:09:04.248Z] 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-303/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-27T21:09:04.539Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T21:09:05.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T21:09:05.166Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T21:09:05.335Z] prd-ubuntu20.04-docker-8c-8g-11948 does not seem to be running inside a container [2023-04-27T21:09:05.376Z] $ 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-303/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-303 -v /w/workspace/gexfoundry_device-rest-go_PR-303:/w/workspace/gexfoundry_device-rest-go_PR-303:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-303@tmp:/w/workspace/gexfoundry_device-rest-go_PR-303@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-04-27T21:09:05.557Z] $ docker top 8246c86c8c74f1555f0373c807d089908ab226673107c1b1efaa1ad1dc1d6cbe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T21:09:05.938Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-27T21:09:06.250Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-27T21:09:06.576Z] + ls /var/log/sa-host [2023-04-27T21:09:06.576Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T21:09:06.798Z] provisioning config files... [2023-04-27T21:09:06.808Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-303@tmp/config13307542954241099493tmp [Pipeline] { [Pipeline] echo [2023-04-27T21:09:06.855Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T21:09:07.170Z] ---> create-netrc.sh [Pipeline] } [2023-04-27T21:09:07.198Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-27T21:09:07.586Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-27T21:09:07.619Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T21:09:07.930Z] ---> sudo-logs.sh [2023-04-27T21:09:07.930Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-27T21:09:08.017Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T21:09:08.327Z] ---> job-cost.sh [2023-04-27T21:09:08.327Z] lf-activate-venv: SKIPPING [2023-04-27T21:09:08.327Z] DEBUG: total: 0.2199999988079071 [2023-04-27T21:09:08.327Z] INFO: Retrieving Stack Cost... [2023-04-27T21:09:08.588Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-27T21:09:09.169Z] INFO: Archiving Costs [Pipeline] echo [2023-04-27T21:09:09.208Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T21:09:09.518Z] ---> logs-deploy.sh [2023-04-27T21:09:09.518Z] lf-activate-venv: SKIPPING [2023-04-27T21:09:09.518Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-303/1 [2023-04-27T21:09:09.518Z] INFO: archiving workspace using pattern(s): [2023-04-27T21:09:10.458Z] Archives upload complete. [2023-04-27T21:09:10.458Z] INFO: archiving logs to Nexus