Pull request #272 updated Pull request #272 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 2ded8c8301fa9285dc80bb471c5f0972abc0b73a rather than 53d571398c6ea370e5c9d1329a3dd23e6e74a13a Obtained Jenkinsfile from 2ded8c8301fa9285dc80bb471c5f0972abc0b73a 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-ssh3629459985279980167.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8899712118813294150.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-272/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-272/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9140957697785509422.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh9682350273135401654.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-272/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-272/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7499635692490351626.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-4719’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4721 in /w/workspace/gexfoundry_device-rest-go_PR-272 [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-272 # 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/272/head:refs/remotes/origin/PR-272 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit 53d571398c6ea370e5c9d1329a3dd23e6e74a13a Merge succeeded, producing 53d571398c6ea370e5c9d1329a3dd23e6e74a13a Checking out Revision 53d571398c6ea370e5c9d1329a3dd23e6e74a13a (PR-272) > git config core.sparsecheckout # timeout=10 > git checkout -f 53d571398c6ea370e5c9d1329a3dd23e6e74a13a # 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 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 53d571398c6ea370e5c9d1329a3dd23e6e74a13a # timeout=10 Commit message: "build(deps): bump sdk to 3.0.0-dev.54" First time build. Skipping changelog. > git rev-list --no-walk a9f8d9f939f37345898a2050de810d76c0875db0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T04:38:46.280Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T04:38:46.325Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T04:38:46.340Z] ========================================================= [2023-03-21T04:38:46.340Z] EdgeX Global Pipelines Version Info [2023-03-21T04:38:46.340Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:38:47.058Z] ------------------- [2023-03-21T04:38:47.058Z] stable info: [2023-03-21T04:38:47.058Z] ------------------- [2023-03-21T04:38:47.058Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T04:38:47.058Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T04:38:47.058Z] Message: update stable to v1.0.245 [2023-03-21T04:38:47.629Z] ------------------- [2023-03-21T04:38:47.629Z] experimental info: [2023-03-21T04:38:47.629Z] ------------------- [2023-03-21T04:38:47.629Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T04:38:47.629Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T04:38:47.629Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T04:38:47.784Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-21T04:38:47.792Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-21T04:38:47.801Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T04:38:47.809Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T04:38:47.818Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T04:38:47.826Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T04:38:47.835Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T04:38:47.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-21T04:38:47.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T04:38:47.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T04:38:47.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T04:38:47.894Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-21T04:38:47.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T04:38:47.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T04:38:47.931Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T04:38:47.945Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T04:38:47.956Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T04:38:47.967Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T04:38:47.979Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T04:38:47.990Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T04:38:48.004Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-21T04:38:48.021Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-21T04:38:48.035Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T04:38:48.045Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T04:38:48.056Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T04:38:48.068Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T04:38:48.079Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T04:38:48.095Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-272 [Pipeline] echo [2023-03-21T04:38:48.107Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-272 [Pipeline] echo [2023-03-21T04:38:48.118Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-272 [Pipeline] echo [2023-03-21T04:38:48.130Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53d571398c6ea370e5c9d1329a3dd23e6e74a13a [Pipeline] echo [2023-03-21T04:38:48.141Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53d5713 [Pipeline] echo [2023-03-21T04:38:48.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T04:38:48.196Z] provisioning config files... [2023-03-21T04:38:48.220Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config7602801096025678514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:38:48.524Z] ---> docker-login.sh [2023-03-21T04:38:48.525Z] nexus3.edgexfoundry.org:10001 [2023-03-21T04:38:48.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:38:48.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:38:48.790Z] Configure a credential helper to remove this warning. See [2023-03-21T04:38:48.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:38:48.790Z] [2023-03-21T04:38:48.790Z] Login Succeeded [2023-03-21T04:38:48.790Z] nexus3.edgexfoundry.org:10002 [2023-03-21T04:38:48.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:38:49.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:38:49.049Z] Configure a credential helper to remove this warning. See [2023-03-21T04:38:49.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:38:49.049Z] [2023-03-21T04:38:49.049Z] Login Succeeded [2023-03-21T04:38:49.049Z] nexus3.edgexfoundry.org:10003 [2023-03-21T04:38:49.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:38:49.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:38:49.049Z] Configure a credential helper to remove this warning. See [2023-03-21T04:38:49.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:38:49.049Z] [2023-03-21T04:38:49.049Z] Login Succeeded [2023-03-21T04:38:49.049Z] nexus3.edgexfoundry.org:10004 [2023-03-21T04:38:49.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:38:49.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:38:49.049Z] Configure a credential helper to remove this warning. See [2023-03-21T04:38:49.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:38:49.049Z] [2023-03-21T04:38:49.049Z] Login Succeeded [2023-03-21T04:38:49.049Z] docker.io [2023-03-21T04:38:49.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:38:49.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:38:49.770Z] Configure a credential helper to remove this warning. See [2023-03-21T04:38:49.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:38:49.770Z] [2023-03-21T04:38:49.770Z] Login Succeeded [2023-03-21T04:38:49.770Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T04:38:49.778Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T04:38:50.164Z] + git rev-list -1 --merges 53d571398c6ea370e5c9d1329a3dd23e6e74a13a~1..53d571398c6ea370e5c9d1329a3dd23e6e74a13a [Pipeline] echo [2023-03-21T04:38:50.223Z] -----------> git rev-list -1 --merges 53d571398c6ea370e5c9d1329a3dd23e6e74a13a~1..53d571398c6ea370e5c9d1329a3dd23e6e74a13a 53d571398c6ea370e5c9d1329a3dd23e6e74a13a [false] [Pipeline] sh [2023-03-21T04:38:50.521Z] + git log --format=format:%s -1 53d571398c6ea370e5c9d1329a3dd23e6e74a13a [Pipeline] echo [2023-03-21T04:38:50.538Z] ========================================================= [2023-03-21T04:38:50.538Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T04:38:50.538Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T04:38:50.858Z] + git log --format=format:%s -1 53d571398c6ea370e5c9d1329a3dd23e6e74a13a [Pipeline] echo [2023-03-21T04:38:50.868Z] [semverPrep] GIT_COMMIT: 53d571398c6ea370e5c9d1329a3dd23e6e74a13a, Commit Message: build(deps): bump sdk to 3.0.0-dev.54 [Pipeline] echo [2023-03-21T04:38:50.879Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T04:38:51.252Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T04:38:51.252Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T04:38:51.252Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T04:38:51.252Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T04:38:51.252Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T04:38:51.252Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T04:38:51.252Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:38:51.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T04:38:51.675Z] [2023-03-21T04:38:51.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:38:51.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T04:38:51.972Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T04:38:51.972Z] b85a868b505f: Pulling fs layer [2023-03-21T04:38:51.972Z] e2be974225ed: Pulling fs layer [2023-03-21T04:38:51.972Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T04:38:51.972Z] 988bab9f4d93: Pulling fs layer [2023-03-21T04:38:51.972Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T04:38:51.972Z] eaf3925da568: Pulling fs layer [2023-03-21T04:38:51.972Z] bab4dde63d76: Pulling fs layer [2023-03-21T04:38:51.972Z] bde34c3a00c8: Pulling fs layer [2023-03-21T04:38:51.972Z] 1469e6f7b9e6: Waiting [2023-03-21T04:38:51.972Z] bab4dde63d76: Waiting [2023-03-21T04:38:51.972Z] eaf3925da568: Waiting [2023-03-21T04:38:51.972Z] bde34c3a00c8: Waiting [2023-03-21T04:38:51.972Z] b352a97aabf1: Pulling fs layer [2023-03-21T04:38:51.972Z] 4872d77fe225: Pulling fs layer [2023-03-21T04:38:51.972Z] 5851b861e8e6: Pulling fs layer [2023-03-21T04:38:51.972Z] b352a97aabf1: Waiting [2023-03-21T04:38:51.972Z] 4872d77fe225: Waiting [2023-03-21T04:38:51.972Z] 5851b861e8e6: Waiting [2023-03-21T04:38:51.972Z] e2be974225ed: Verifying Checksum [2023-03-21T04:38:51.972Z] e2be974225ed: Download complete [2023-03-21T04:38:51.972Z] 988bab9f4d93: Verifying Checksum [2023-03-21T04:38:51.972Z] 988bab9f4d93: Download complete [2023-03-21T04:38:52.232Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T04:38:52.232Z] 1469e6f7b9e6: Download complete [2023-03-21T04:38:52.232Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T04:38:52.232Z] 339a4e72a1f5: Download complete [2023-03-21T04:38:52.232Z] eaf3925da568: Download complete [2023-03-21T04:38:52.232Z] bde34c3a00c8: Download complete [2023-03-21T04:38:52.232Z] b352a97aabf1: Verifying Checksum [2023-03-21T04:38:52.232Z] b352a97aabf1: Download complete [2023-03-21T04:38:52.232Z] 4872d77fe225: Verifying Checksum [2023-03-21T04:38:52.232Z] 4872d77fe225: Download complete [2023-03-21T04:38:52.232Z] 5851b861e8e6: Download complete [2023-03-21T04:38:52.232Z] b85a868b505f: Verifying Checksum [2023-03-21T04:38:52.232Z] b85a868b505f: Download complete [2023-03-21T04:38:52.492Z] bab4dde63d76: Verifying Checksum [2023-03-21T04:38:52.492Z] bab4dde63d76: Download complete [2023-03-21T04:38:53.426Z] b85a868b505f: Pull complete [2023-03-21T04:38:53.685Z] e2be974225ed: Pull complete [2023-03-21T04:38:54.251Z] 339a4e72a1f5: Pull complete [2023-03-21T04:38:54.251Z] 988bab9f4d93: Pull complete [2023-03-21T04:38:54.511Z] 1469e6f7b9e6: Pull complete [2023-03-21T04:38:54.511Z] eaf3925da568: Pull complete [2023-03-21T04:38:56.415Z] bab4dde63d76: Pull complete [2023-03-21T04:38:56.675Z] bde34c3a00c8: Pull complete [2023-03-21T04:38:56.675Z] b352a97aabf1: Pull complete [2023-03-21T04:38:56.934Z] 4872d77fe225: Pull complete [2023-03-21T04:38:56.934Z] 5851b861e8e6: Pull complete [2023-03-21T04:38:56.934Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T04:38:56.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T04:38:56.934Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:38:57.070Z] prd-ubuntu20.04-docker-8c-8g-4721 does not seem to be running inside a container [2023-03-21T04:38:57.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T04:38:59.687Z] $ docker top 777f4fb70dbc0c5f137775138043684c625d5bd3238ae841dfa6d29d53831de4 -eo pid,comm [2023-03-21T04:38:59.743Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-21T04:38:59.743Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T04:38:59.777Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T04:38:59.777Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T04:38:59.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T04:38:59.909Z] $ docker exec 777f4fb70dbc0c5f137775138043684c625d5bd3238ae841dfa6d29d53831de4 ssh-agent [2023-03-21T04:39:00.026Z] SSH_AUTH_SOCK=/tmp/ssh-eoThUbsLP82u/agent.32 [2023-03-21T04:39:00.026Z] SSH_AGENT_PID=38 [2023-03-21T04:39:00.032Z] Running ssh-add (command line suppressed) [2023-03-21T04:39:00.145Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_17093890592623867183.key (/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_17093890592623867183.key) [2023-03-21T04:39:00.158Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T04:39:00.441Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T04:39:00.456Z] $ docker exec --env ******** --env ******** 777f4fb70dbc0c5f137775138043684c625d5bd3238ae841dfa6d29d53831de4 ssh-agent -k [2023-03-21T04:39:00.555Z] unset SSH_AUTH_SOCK; [2023-03-21T04:39:00.555Z] unset SSH_AGENT_PID; [2023-03-21T04:39:00.555Z] echo Agent pid 38 killed; [2023-03-21T04:39:00.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T04:39:00.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T04:39:00.595Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T04:39:00.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T04:39:00.719Z] $ docker exec 777f4fb70dbc0c5f137775138043684c625d5bd3238ae841dfa6d29d53831de4 ssh-agent [2023-03-21T04:39:00.823Z] SSH_AUTH_SOCK=/tmp/ssh-fs4NpPFalfHT/agent.70 [2023-03-21T04:39:00.823Z] SSH_AGENT_PID=77 [2023-03-21T04:39:00.828Z] Running ssh-add (command line suppressed) [2023-03-21T04:39:00.952Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_10714199016909719989.key (/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/private_key_10714199016909719989.key) [2023-03-21T04:39:00.963Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T04:39:01.248Z] + git semver init [2023-03-21T04:39:01.507Z] 2023-03-21 04:39:01,478 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T04:39:01.507Z] 2023-03-21 04:39:01,479 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-272/.semver [2023-03-21T04:39:01.507Z] 2023-03-21 04:39:01,480 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-272/.semver [2023-03-21T04:39:01.507Z] 2023-03-21 04:39:01,480 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-272/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-272, universal_newlines=False, shell=None, istream=None) [2023-03-21T04:39:04.647Z] 2023-03-21 04:39:04,326 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-272/.git/info/exclude [2023-03-21T04:39:04.647Z] 2023-03-21 04:39:04,326 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-272/.semver/PR-272 with force:False [2023-03-21T04:39:04.647Z] 2023-03-21 04:39:04,326 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-272/.semver/PR-272 [2023-03-21T04:39:04.647Z] 2023-03-21 04:39:04,330 [execute] INFO git cat-file --batch-check [2023-03-21T04:39:04.647Z] 2023-03-21 04:39:04,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T04:39:04.647Z] 2023-03-21 04:39:04,336 [execute] INFO git cat-file --batch [2023-03-21T04:39:04.647Z] 2023-03-21 04:39:04,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-272/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T04:39:04.647Z] 2023-03-21 04:39:04,341 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-272/.semver/PR-272 [2023-03-21T04:39:04.647Z] 0.0.0 [Pipeline] } [2023-03-21T04:39:04.662Z] $ docker exec --env ******** --env ******** 777f4fb70dbc0c5f137775138043684c625d5bd3238ae841dfa6d29d53831de4 ssh-agent -k [2023-03-21T04:39:04.761Z] unset SSH_AUTH_SOCK; [2023-03-21T04:39:04.761Z] unset SSH_AGENT_PID; [2023-03-21T04:39:04.761Z] echo Agent pid 77 killed; [2023-03-21T04:39:04.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T04:39:05.084Z] + git semver [Pipeline] } [2023-03-21T04:39:05.359Z] $ docker stop --time=1 777f4fb70dbc0c5f137775138043684c625d5bd3238ae841dfa6d29d53831de4 [2023-03-21T04:39:06.712Z] $ docker rm -f --volumes 777f4fb70dbc0c5f137775138043684c625d5bd3238ae841dfa6d29d53831de4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T04:39:07.053Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T04:39:07.266Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T04:39:07.269Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T04:39:07.372Z] provisioning config files... [2023-03-21T04:39:07.382Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config13569632301622579999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:39:07.683Z] ---> docker-login.sh [2023-03-21T04:39:07.683Z] nexus3.edgexfoundry.org:10001 [2023-03-21T04:39:07.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:39:07.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:39:07.683Z] Configure a credential helper to remove this warning. See [2023-03-21T04:39:07.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:39:07.683Z] [2023-03-21T04:39:07.683Z] Login Succeeded [2023-03-21T04:39:07.683Z] nexus3.edgexfoundry.org:10002 [2023-03-21T04:39:07.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:39:07.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:39:07.683Z] Configure a credential helper to remove this warning. See [2023-03-21T04:39:07.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:39:07.683Z] [2023-03-21T04:39:07.683Z] Login Succeeded [2023-03-21T04:39:07.683Z] nexus3.edgexfoundry.org:10003 [2023-03-21T04:39:07.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:39:07.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:39:07.944Z] Configure a credential helper to remove this warning. See [2023-03-21T04:39:07.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:39:07.944Z] [2023-03-21T04:39:07.944Z] Login Succeeded [2023-03-21T04:39:07.944Z] nexus3.edgexfoundry.org:10004 [2023-03-21T04:39:07.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:39:07.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:39:07.944Z] Configure a credential helper to remove this warning. See [2023-03-21T04:39:07.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:39:07.944Z] [2023-03-21T04:39:07.944Z] Login Succeeded [2023-03-21T04:39:07.944Z] docker.io [2023-03-21T04:39:08.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:39:08.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:39:08.205Z] Configure a credential helper to remove this warning. See [2023-03-21T04:39:08.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:39:08.205Z] [2023-03-21T04:39:08.205Z] Login Succeeded [2023-03-21T04:39:08.205Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T04:39:08.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T04:39:08.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:39:08.283Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:39:08.289Z] ========================================================= [2023-03-21T04:39:08.289Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T04:39:08.289Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:39:08.601Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T04:39:08.602Z] Sending build context to Docker daemon 10.86MB [2023-03-21T04:39:08.602Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:39:08.602Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T04:39:08.602Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T04:39:08.602Z] 63b65145d645: Pulling fs layer [2023-03-21T04:39:08.602Z] a2d21d5440eb: Pulling fs layer [2023-03-21T04:39:08.602Z] 935e6c44a52c: Pulling fs layer [2023-03-21T04:39:08.602Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T04:39:08.602Z] 30dea6a524f1: Pulling fs layer [2023-03-21T04:39:08.602Z] a2aff8979fd8: Pulling fs layer [2023-03-21T04:39:08.602Z] 6808be2612f2: Pulling fs layer [2023-03-21T04:39:08.602Z] f25807f1079a: Pulling fs layer [2023-03-21T04:39:08.602Z] 94cc34f8dd06: Waiting [2023-03-21T04:39:08.602Z] 30dea6a524f1: Waiting [2023-03-21T04:39:08.602Z] a2aff8979fd8: Waiting [2023-03-21T04:39:08.602Z] 6808be2612f2: Waiting [2023-03-21T04:39:08.602Z] f25807f1079a: Waiting [2023-03-21T04:39:08.602Z] a2d21d5440eb: Verifying Checksum [2023-03-21T04:39:08.602Z] a2d21d5440eb: Download complete [2023-03-21T04:39:08.602Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T04:39:08.602Z] 94cc34f8dd06: Download complete [2023-03-21T04:39:08.866Z] 30dea6a524f1: Verifying Checksum [2023-03-21T04:39:08.866Z] 30dea6a524f1: Download complete [2023-03-21T04:39:08.866Z] 63b65145d645: Verifying Checksum [2023-03-21T04:39:08.866Z] 63b65145d645: Download complete [2023-03-21T04:39:08.866Z] a2aff8979fd8: Verifying Checksum [2023-03-21T04:39:08.866Z] a2aff8979fd8: Download complete [2023-03-21T04:39:08.866Z] 63b65145d645: Pull complete [2023-03-21T04:39:09.405Z] a2d21d5440eb: Pull complete [2023-03-21T04:39:09.672Z] f25807f1079a: Verifying Checksum [2023-03-21T04:39:09.672Z] f25807f1079a: Download complete [2023-03-21T04:39:09.672Z] 935e6c44a52c: Verifying Checksum [2023-03-21T04:39:09.672Z] 935e6c44a52c: Download complete [2023-03-21T04:39:09.931Z] 6808be2612f2: Verifying Checksum [2023-03-21T04:39:09.931Z] 6808be2612f2: Download complete [2023-03-21T04:39:13.212Z] 935e6c44a52c: Pull complete [2023-03-21T04:39:13.212Z] 94cc34f8dd06: Pull complete [2023-03-21T04:39:13.212Z] 30dea6a524f1: Pull complete [2023-03-21T04:39:13.212Z] a2aff8979fd8: Pull complete [2023-03-21T04:39:15.125Z] 6808be2612f2: Pull complete [2023-03-21T04:39:16.061Z] f25807f1079a: Pull complete [2023-03-21T04:39:16.061Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T04:39:16.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T04:39:16.061Z] ---> 3b553350e43f [2023-03-21T04:39:16.061Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:39:19.368Z] ---> Running in 8ac7b820ea42 [2023-03-21T04:39:19.629Z] Removing intermediate container 8ac7b820ea42 [2023-03-21T04:39:19.629Z] ---> bb16653d644a [2023-03-21T04:39:19.629Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:39:19.629Z] ---> Running in 17047b5b424d [2023-03-21T04:39:19.629Z] Removing intermediate container 17047b5b424d [2023-03-21T04:39:19.629Z] ---> c7b8e992090e [2023-03-21T04:39:19.629Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:39:19.629Z] ---> Running in 7cfcb11a054c [2023-03-21T04:39:19.888Z] Removing intermediate container 7cfcb11a054c [2023-03-21T04:39:19.888Z] ---> 49a497933d36 [2023-03-21T04:39:19.888Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:39:19.888Z] ---> Running in 700c30d2f9f2 [2023-03-21T04:39:19.888Z] Removing intermediate container 700c30d2f9f2 [2023-03-21T04:39:19.888Z] ---> 5f6916e70eb5 [2023-03-21T04:39:19.888Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:39:20.147Z] ---> Running in f13c1428e6ec [2023-03-21T04:39:20.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T04:39:20.406Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T04:39:20.666Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T04:39:20.666Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T04:39:20.666Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T04:39:20.666Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T04:39:20.666Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T04:39:20.666Z] OK: 269 MiB in 57 packages [2023-03-21T04:39:21.237Z] Removing intermediate container f13c1428e6ec [2023-03-21T04:39:21.237Z] ---> 81009f2d8870 [2023-03-21T04:39:21.237Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T04:39:21.237Z] ---> Running in b8ea71bd00c0 [2023-03-21T04:39:21.237Z] Removing intermediate container b8ea71bd00c0 [2023-03-21T04:39:21.237Z] ---> 55a02943b821 [2023-03-21T04:39:21.237Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T04:39:21.237Z] ---> 4fa5b79c0794 [2023-03-21T04:39:21.237Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:39:21.237Z] ---> Running in cfa99a2a3993 [2023-03-21T04:39:22.346Z] Still waiting to schedule task [2023-03-21T04:39:22.346Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4720’ is offline [2023-03-21T04:40:17.483Z] Removing intermediate container cfa99a2a3993 [2023-03-21T04:40:17.483Z] ---> 12afc9940656 [2023-03-21T04:40:17.483Z] Step 11/12 : COPY . . [2023-03-21T04:40:17.483Z] ---> 291d0285580b [2023-03-21T04:40:17.483Z] Step 12/12 : RUN $MAKE [2023-03-21T04:40:17.483Z] ---> Running in ef8d1da0af0d [2023-03-21T04:40:17.483Z] noop [2023-03-21T04:40:17.483Z] Removing intermediate container ef8d1da0af0d [2023-03-21T04:40:17.483Z] ---> 99b587193abd [2023-03-21T04:40:17.483Z] Successfully built 99b587193abd [2023-03-21T04:40:17.483Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:40:17.807Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T04:40:17.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:40:17.877Z] prd-ubuntu20.04-docker-8c-8g-4721 does not seem to be running inside a container [2023-03-21T04:40:17.909Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T04:40:18.249Z] $ docker top 87c255eaada6610b1ea28ac8dae1a498194bd5429ed862cb2b538eaacc6577d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:40:18.582Z] + go version [2023-03-21T04:40:18.582Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T04:40:18.596Z] $ docker stop --time=1 87c255eaada6610b1ea28ac8dae1a498194bd5429ed862cb2b538eaacc6577d7 [2023-03-21T04:40:19.867Z] $ docker rm -f --volumes 87c255eaada6610b1ea28ac8dae1a498194bd5429ed862cb2b538eaacc6577d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:40:20.275Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T04:40:20.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:40:20.349Z] prd-ubuntu20.04-docker-8c-8g-4721 does not seem to be running inside a container [2023-03-21T04:40:20.383Z] $ 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-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T04:40:20.690Z] $ docker top b433305430a99bad074e8f925e98e14d0fc59329cbfd72733e9813c0c88df3dd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:40:21.019Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-272 [Pipeline] fileExists [Pipeline] sh [2023-03-21T04:40:21.314Z] + make test [2023-03-21T04:40:21.314Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T04:40:25.498Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T04:40:35.463Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T04:40:35.463Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.0% of statements [2023-03-21T04:40:39.700Z] go vet ./... [2023-03-21T04:40:43.026Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T04:40:43.026Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T04:40:43.026Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T04:40:43.036Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T04:40:43.049Z] $ docker stop --time=1 b433305430a99bad074e8f925e98e14d0fc59329cbfd72733e9813c0c88df3dd [2023-03-21T04:40:46.209Z] $ docker rm -f --volumes b433305430a99bad074e8f925e98e14d0fc59329cbfd72733e9813c0c88df3dd [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T04:40:46.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T04:40:46.693Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T04:40:47.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T04:40:47.467Z] + ls -al . [2023-03-21T04:40:47.467Z] total 184 [2023-03-21T04:40:47.467Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 04:40 . [2023-03-21T04:40:47.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:38 .. [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 04:38 .dockerignore [2023-03-21T04:40:47.467Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:39 .git [2023-03-21T04:40:47.467Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:38 .github [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 04:38 .gitignore [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 04:38 .golangci.yml [2023-03-21T04:40:47.467Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 04:39 .semver [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 04:38 Attribution.txt [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 04:38 CHANGELOG.md [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 04:38 Dockerfile [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 04:38 GOVERNANCE.md [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 04:38 Jenkinsfile [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 04:38 LICENSE [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 04:38 Makefile [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 04:38 OWNERS.md [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 04:38 README.md [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 04:39 VERSION [2023-03-21T04:40:47.467Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:38 bin [2023-03-21T04:40:47.467Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:38 cmd [2023-03-21T04:40:47.467Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 04:40 coverage.out [2023-03-21T04:40:47.467Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:38 driver [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 04:38 go.mod [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 21 04:38 go.sum [2023-03-21T04:40:47.467Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:38 snap [2023-03-21T04:40:47.467Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 04:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:40:47.765Z] + 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=53d571398c6ea370e5c9d1329a3dd23e6e74a13a --label arch=amd64 --label version=0.0.0 . [2023-03-21T04:40:47.765Z] Sending build context to Docker daemon 10.88MB [2023-03-21T04:40:47.765Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:40:47.765Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T04:40:47.765Z] ---> 99b587193abd [2023-03-21T04:40:47.765Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:40:48.025Z] ---> Running in 88ca9d29fdcb [2023-03-21T04:40:48.026Z] Removing intermediate container 88ca9d29fdcb [2023-03-21T04:40:48.026Z] ---> af954b03feb5 [2023-03-21T04:40:48.026Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:40:48.026Z] ---> Running in e14770c5a0e1 [2023-03-21T04:40:48.289Z] Removing intermediate container e14770c5a0e1 [2023-03-21T04:40:48.289Z] ---> c0122a431694 [2023-03-21T04:40:48.289Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:40:48.289Z] ---> Running in 33853a4d2c82 [2023-03-21T04:40:48.289Z] Removing intermediate container 33853a4d2c82 [2023-03-21T04:40:48.289Z] ---> dbe492202428 [2023-03-21T04:40:48.289Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:40:48.289Z] ---> Running in 5a51a84de183 [2023-03-21T04:40:48.289Z] Removing intermediate container 5a51a84de183 [2023-03-21T04:40:48.289Z] ---> 5deb91680789 [2023-03-21T04:40:48.289Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:40:48.289Z] ---> Running in 05cd341f353b [2023-03-21T04:40:48.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T04:40:48.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T04:40:49.129Z] OK: 269 MiB in 57 packages [2023-03-21T04:40:49.129Z] Removing intermediate container 05cd341f353b [2023-03-21T04:40:49.129Z] ---> 46ffc614eb9f [2023-03-21T04:40:49.129Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T04:40:49.387Z] ---> Running in 5988ed219600 [2023-03-21T04:40:49.387Z] Removing intermediate container 5988ed219600 [2023-03-21T04:40:49.387Z] ---> 2c27d4362d56 [2023-03-21T04:40:49.387Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T04:40:49.387Z] ---> 70a1430713ab [2023-03-21T04:40:49.387Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:40:49.387Z] ---> Running in e95ad93befef [2023-03-21T04:40:50.326Z] Removing intermediate container e95ad93befef [2023-03-21T04:40:50.326Z] ---> 5d840f8d1af7 [2023-03-21T04:40:50.326Z] Step 11/25 : COPY . . [2023-03-21T04:40:50.922Z] ---> 47b373ae4dfa [2023-03-21T04:40:50.922Z] Step 12/25 : RUN $MAKE [2023-03-21T04:40:50.922Z] ---> Running in 201ec11bf8f5 [2023-03-21T04:40:50.922Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-21T04:40:54.053Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4722 in /w/workspace/gexfoundry_device-rest-go_PR-272 [Pipeline] { [Pipeline] ws [2023-03-21T04:40:54.066Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2023-03-21T04:40:54.098Z] The recommended git tool is: git [2023-03-21T04:40:59.090Z] using credential edgex-jenkins-ssh [2023-03-21T04:40:59.106Z] Cloning the remote Git repository [2023-03-21T04:40:59.141Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T04:40:59.231Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2023-03-21T04:40:59.381Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T04:40:59.382Z] > git --version # timeout=10 [2023-03-21T04:40:59.405Z] > git --version # 'git version 2.25.1' [2023-03-21T04:40:59.408Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T04:40:59.565Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T04:41:04.174Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T04:41:04.204Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T04:41:05.116Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-21T04:41:05.177Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-21T04:41:05.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T04:41:05.193Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/272/head:refs/remotes/origin/PR-272 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T04:41:05.790Z] Merging remotes/origin/main commit 2ded8c8301fa9285dc80bb471c5f0972abc0b73a into PR head commit 53d571398c6ea370e5c9d1329a3dd23e6e74a13a [2023-03-21T04:41:06.079Z] Merge succeeded, producing 53d571398c6ea370e5c9d1329a3dd23e6e74a13a [2023-03-21T04:41:06.080Z] Checking out Revision 53d571398c6ea370e5c9d1329a3dd23e6e74a13a (PR-272) [2023-03-21T04:41:05.807Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T04:41:05.885Z] > git checkout -f 53d571398c6ea370e5c9d1329a3dd23e6e74a13a # timeout=10 [2023-03-21T04:41:05.970Z] > git remote # timeout=10 [2023-03-21T04:41:05.989Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T04:41:06.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T04:41:06.028Z] > git merge 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 [2023-03-21T04:41:06.054Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T04:41:06.083Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T04:41:06.099Z] > git checkout -f 53d571398c6ea370e5c9d1329a3dd23e6e74a13a # timeout=10 [2023-03-21T04:41:09.022Z] Removing intermediate container 201ec11bf8f5 [2023-03-21T04:41:09.023Z] ---> b6537c73c084 [2023-03-21T04:41:09.023Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T04:41:09.530Z] Commit message: "build(deps): bump sdk to 3.0.0-dev.54" [2023-03-21T04:41:09.590Z] 3.17: Pulling from library/alpine [2023-03-21T04:41:09.590Z] 63b65145d645: Already exists [2023-03-21T04:41:09.590Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T04:41:09.590Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T04:41:09.590Z] ---> b2aa39c304c2 [2023-03-21T04:41:09.590Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T04:41:09.849Z] ---> Running in 5dd2ecc24c77 [2023-03-21T04:41:09.849Z] Removing intermediate container 5dd2ecc24c77 [2023-03-21T04:41:09.849Z] ---> a82524934564 [2023-03-21T04:41:09.849Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T04:41:09.849Z] ---> Running in 44e11c819d4d [2023-03-21T04:41:09.849Z] Removing intermediate container 44e11c819d4d [2023-03-21T04:41:09.849Z] ---> 3efab6c03b8f [2023-03-21T04:41:09.849Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T04:41:09.849Z] ---> Running in 014bd8549111 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T04:41:10.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T04:41:10.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T04:41:10.368Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T04:41:10.368Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T04:41:10.530Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T04:41:10.530Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T04:41:10.530Z] Dload Upload Total Spent Left Speed [2023-03-21T04:41:10.531Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 [2023-03-21T04:41:10.626Z] OK: 7 MiB in 16 packages [2023-03-21T04:41:10.887Z] Removing intermediate container 014bd8549111 [2023-03-21T04:41:10.887Z] ---> 44f0784c6387 [2023-03-21T04:41:10.887Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [Pipeline] sh [2023-03-21T04:41:11.260Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T04:41:11.454Z] ---> 5bfe3e9a6c2d [2023-03-21T04:41:11.454Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T04:41:11.597Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T04:41:11.597Z] + sudo tee /etc/docker/daemon.new [2023-03-21T04:41:11.597Z] { [2023-03-21T04:41:11.597Z] "registry-mirrors": [ [2023-03-21T04:41:11.597Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T04:41:11.597Z] ], [2023-03-21T04:41:11.597Z] "bip": "10.250.0.254/24", [2023-03-21T04:41:11.597Z] "hosts": [ [2023-03-21T04:41:11.597Z] "tcp://0.0.0.0:5555", [2023-03-21T04:41:11.597Z] "unix:///var/run/docker.sock" [2023-03-21T04:41:11.597Z] ], [2023-03-21T04:41:11.597Z] "mtu": 1458, [2023-03-21T04:41:11.597Z] "selinux-enabled": true, [2023-03-21T04:41:11.597Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T04:41:11.597Z] } [Pipeline] sh [2023-03-21T04:41:11.714Z] ---> f2dce9356a69 [2023-03-21T04:41:11.714Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T04:41:11.714Z] ---> 903950c2dcf6 [2023-03-21T04:41:11.714Z] Step 20/25 : EXPOSE 59986 [2023-03-21T04:41:11.714Z] ---> Running in 5bf44558ca58 [2023-03-21T04:41:11.714Z] Removing intermediate container 5bf44558ca58 [2023-03-21T04:41:11.714Z] ---> 35e9d0f2d10f [2023-03-21T04:41:11.714Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T04:41:11.714Z] ---> Running in 04e955d67c1d [2023-03-21T04:41:11.940Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T04:41:11.973Z] Removing intermediate container 04e955d67c1d [2023-03-21T04:41:11.973Z] ---> c9eaa6934d2c [2023-03-21T04:41:11.973Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T04:41:11.973Z] ---> Running in a1cc02c30859 [2023-03-21T04:41:11.973Z] Removing intermediate container a1cc02c30859 [2023-03-21T04:41:11.973Z] ---> 4b7f189c6f47 [2023-03-21T04:41:11.973Z] Step 23/25 : LABEL arch=amd64 [2023-03-21T04:41:11.973Z] ---> Running in ea187fea3a65 [2023-03-21T04:41:11.973Z] Removing intermediate container ea187fea3a65 [2023-03-21T04:41:11.973Z] ---> 4088638125f2 [2023-03-21T04:41:11.973Z] Step 24/25 : LABEL git_sha=53d571398c6ea370e5c9d1329a3dd23e6e74a13a [2023-03-21T04:41:11.973Z] ---> Running in fc0a8ce75182 [2023-03-21T04:41:12.234Z] Removing intermediate container fc0a8ce75182 [2023-03-21T04:41:12.234Z] ---> 457504e60b3c [2023-03-21T04:41:12.234Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T04:41:12.234Z] ---> Running in 6902c5339f1c [2023-03-21T04:41:12.234Z] Removing intermediate container 6902c5339f1c [2023-03-21T04:41:12.234Z] ---> 08b33a94facb [2023-03-21T04:41:12.234Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T04:41:12.234Z] Successfully built 08b33a94facb [2023-03-21T04:41:12.234Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-03-21T04:41:12.267Z] + sudo service docker restart [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:41:12.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T04:41:12.694Z] [2023-03-21T04:41:12.694Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:41:13.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T04:41:13.001Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T04:41:13.001Z] 5eb5b503b376: Pulling fs layer [2023-03-21T04:41:13.001Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T04:41:13.001Z] ec43610c2a17: Pulling fs layer [2023-03-21T04:41:13.001Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T04:41:13.001Z] 33b1e0a273af: Pulling fs layer [2023-03-21T04:41:13.001Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T04:41:13.001Z] 2f39f015ded8: Pulling fs layer [2023-03-21T04:41:13.001Z] 33b1e0a273af: Waiting [2023-03-21T04:41:13.001Z] 5d3b04190fa2: Waiting [2023-03-21T04:41:13.001Z] 2f39f015ded8: Waiting [2023-03-21T04:41:13.001Z] 3a2ae6a8a46f: Waiting [2023-03-21T04:41:13.001Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T04:41:13.001Z] 5c69ac0246d0: Download complete [2023-03-21T04:41:13.001Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T04:41:13.001Z] 3a2ae6a8a46f: Download complete [2023-03-21T04:41:13.261Z] ec43610c2a17: Verifying Checksum [2023-03-21T04:41:13.261Z] ec43610c2a17: Download complete [2023-03-21T04:41:13.261Z] 33b1e0a273af: Verifying Checksum [2023-03-21T04:41:13.261Z] 33b1e0a273af: Download complete [2023-03-21T04:41:13.261Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T04:41:13.261Z] 5d3b04190fa2: Download complete [2023-03-21T04:41:13.261Z] 5eb5b503b376: Download complete [2023-03-21T04:41:13.827Z] 2f39f015ded8: Download complete [2023-03-21T04:41:14.393Z] 5eb5b503b376: Pull complete [2023-03-21T04:41:14.651Z] 5c69ac0246d0: Pull complete [2023-03-21T04:41:14.909Z] ec43610c2a17: Pull complete [2023-03-21T04:41:14.909Z] 3a2ae6a8a46f: Pull complete [2023-03-21T04:41:15.167Z] 33b1e0a273af: Pull complete [2023-03-21T04:41:15.167Z] 5d3b04190fa2: Pull complete [2023-03-21T04:41:19.356Z] 2f39f015ded8: Pull complete [2023-03-21T04:41:19.356Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T04:41:19.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T04:41:19.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:41:19.442Z] prd-ubuntu20.04-docker-8c-8g-4721 does not seem to be running inside a container [2023-03-21T04:41:19.482Z] $ 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-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T04:41:23.584Z] $ docker top e303b41fcac8553dd24de7236bbf8833b39da997afcf96926d8a69c44e7afe36 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:41:23.962Z] ---> job-cost.sh [2023-03-21T04:41:23.962Z] lf-activate-venv: SKIPPING [2023-03-21T04:41:23.962Z] INFO: No Stack... [2023-03-21T04:41:24.225Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T04:41:24.793Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T04:41:25.084Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-272/archives/cost.csv [2023-03-21T04:41:25.084Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T04:41:25.096Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-272-3-stack-cost] [2023-03-21T04:41:25.102Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-272-3-stack-cost] did not exist. Created. [2023-03-21T04:41:25.102Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-272-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T04:41:25.396Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-21T04:41:25.427Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T04:41:25.433Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-272-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T04:41:25.457Z] $ docker stop --time=1 e303b41fcac8553dd24de7236bbf8833b39da997afcf96926d8a69c44e7afe36 [2023-03-21T04:41:26.610Z] $ docker rm -f --volumes e303b41fcac8553dd24de7236bbf8833b39da997afcf96926d8a69c44e7afe36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T04:41:34.391Z] provisioning config files... [2023-03-21T04:41:34.412Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config6621732565573015528tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:41:34.754Z] ---> docker-login.sh [2023-03-21T04:41:34.754Z] nexus3.edgexfoundry.org:10001 [2023-03-21T04:41:35.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:41:35.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:41:35.289Z] Configure a credential helper to remove this warning. See [2023-03-21T04:41:35.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:41:35.289Z] [2023-03-21T04:41:35.289Z] Login Succeeded [2023-03-21T04:41:35.289Z] nexus3.edgexfoundry.org:10002 [2023-03-21T04:41:35.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:41:35.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:41:35.557Z] Configure a credential helper to remove this warning. See [2023-03-21T04:41:35.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:41:35.557Z] [2023-03-21T04:41:35.557Z] Login Succeeded [2023-03-21T04:41:35.557Z] nexus3.edgexfoundry.org:10003 [2023-03-21T04:41:35.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:41:35.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:41:35.823Z] Configure a credential helper to remove this warning. See [2023-03-21T04:41:35.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:41:35.823Z] [2023-03-21T04:41:35.823Z] Login Succeeded [2023-03-21T04:41:36.100Z] nexus3.edgexfoundry.org:10004 [2023-03-21T04:41:36.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:41:36.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:41:36.369Z] Configure a credential helper to remove this warning. See [2023-03-21T04:41:36.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:41:36.369Z] [2023-03-21T04:41:36.369Z] Login Succeeded [2023-03-21T04:41:36.369Z] docker.io [2023-03-21T04:41:36.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T04:41:36.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T04:41:36.637Z] Configure a credential helper to remove this warning. See [2023-03-21T04:41:36.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T04:41:36.637Z] [2023-03-21T04:41:36.637Z] Login Succeeded [2023-03-21T04:41:36.655Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T04:41:36.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T04:41:36.903Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:41:36.921Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T04:41:36.930Z] ========================================================= [2023-03-21T04:41:36.930Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T04:41:36.930Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:41:37.272Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T04:41:37.272Z] Sending build context to Docker daemon 138.8kB [2023-03-21T04:41:37.546Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:41:37.547Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-21T04:41:37.547Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T04:41:37.547Z] af6eaf76a39c: Pulling fs layer [2023-03-21T04:41:37.547Z] 55522c791124: Pulling fs layer [2023-03-21T04:41:37.547Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T04:41:37.547Z] 169dfbe0d373: Pulling fs layer [2023-03-21T04:41:37.547Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T04:41:37.547Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T04:41:37.547Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T04:41:37.547Z] e1ff8fa3b103: Waiting [2023-03-21T04:41:37.547Z] 52ebb69f0ebf: Waiting [2023-03-21T04:41:37.547Z] 5abe8eddf0d5: Waiting [2023-03-21T04:41:37.547Z] 169dfbe0d373: Waiting [2023-03-21T04:41:37.547Z] 55522c791124: Verifying Checksum [2023-03-21T04:41:37.547Z] 55522c791124: Download complete [2023-03-21T04:41:37.816Z] 169dfbe0d373: Verifying Checksum [2023-03-21T04:41:37.816Z] 169dfbe0d373: Download complete [2023-03-21T04:41:37.816Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T04:41:37.816Z] e1ff8fa3b103: Download complete [2023-03-21T04:41:37.816Z] af6eaf76a39c: Verifying Checksum [2023-03-21T04:41:37.816Z] af6eaf76a39c: Download complete [2023-03-21T04:41:38.785Z] af6eaf76a39c: Pull complete [2023-03-21T04:41:38.785Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T04:41:38.785Z] 5abe8eddf0d5: Download complete [2023-03-21T04:41:39.057Z] 55522c791124: Pull complete [2023-03-21T04:41:40.025Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T04:41:40.025Z] ce5c4a1c91eb: Download complete [2023-03-21T04:41:40.025Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T04:41:40.025Z] 52ebb69f0ebf: Download complete [2023-03-21T04:41:50.110Z] ce5c4a1c91eb: Pull complete [2023-03-21T04:41:50.379Z] 169dfbe0d373: Pull complete [2023-03-21T04:41:50.648Z] e1ff8fa3b103: Pull complete [2023-03-21T04:41:57.332Z] 52ebb69f0ebf: Pull complete [2023-03-21T04:41:59.292Z] 5abe8eddf0d5: Pull complete [2023-03-21T04:41:59.292Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T04:41:59.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T04:41:59.292Z] ---> 6cb57ee374ae [2023-03-21T04:41:59.292Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:42:00.719Z] ---> Running in a295210df671 [2023-03-21T04:42:01.301Z] Removing intermediate container a295210df671 [2023-03-21T04:42:01.301Z] ---> 26c8d9c4a610 [2023-03-21T04:42:01.301Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:42:01.301Z] ---> Running in 226ddc4a8ae3 [2023-03-21T04:42:01.568Z] Removing intermediate container 226ddc4a8ae3 [2023-03-21T04:42:01.568Z] ---> 4631bd5f5680 [2023-03-21T04:42:01.568Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:42:01.568Z] ---> Running in 801835f57975 [2023-03-21T04:42:01.836Z] Removing intermediate container 801835f57975 [2023-03-21T04:42:01.836Z] ---> 31024a72f21e [2023-03-21T04:42:01.836Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:42:01.836Z] ---> Running in 77b6c78c9da2 [2023-03-21T04:42:02.105Z] Removing intermediate container 77b6c78c9da2 [2023-03-21T04:42:02.105Z] ---> 042d0cfad12a [2023-03-21T04:42:02.105Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:42:02.371Z] ---> Running in 1555e2961fa2 [2023-03-21T04:42:03.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T04:42:03.908Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T04:42:04.870Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-21T04:42:04.870Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-21T04:42:04.870Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-21T04:42:04.870Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-21T04:42:04.870Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T04:42:04.870Z] OK: 268 MiB in 57 packages [2023-03-21T04:42:05.829Z] Removing intermediate container 1555e2961fa2 [2023-03-21T04:42:05.829Z] ---> 1b88ea7101a1 [2023-03-21T04:42:05.829Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-21T04:42:06.094Z] ---> Running in ed594391989b [2023-03-21T04:42:06.360Z] Removing intermediate container ed594391989b [2023-03-21T04:42:06.360Z] ---> c187427c3671 [2023-03-21T04:42:06.360Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-21T04:42:08.932Z] ---> 60a8531b72aa [2023-03-21T04:42:08.932Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:42:08.932Z] ---> Running in 2e137a0e4e64 [2023-03-21T04:43:17.529Z] Removing intermediate container 2e137a0e4e64 [2023-03-21T04:43:17.529Z] ---> cb8f62d84225 [2023-03-21T04:43:17.529Z] Step 11/12 : COPY . . [2023-03-21T04:43:17.529Z] ---> 0bf12bb3e396 [2023-03-21T04:43:17.529Z] Step 12/12 : RUN $MAKE [2023-03-21T04:43:17.529Z] ---> Running in 9eb6e6e3d997 [2023-03-21T04:43:17.529Z] noop [2023-03-21T04:43:17.529Z] Removing intermediate container 9eb6e6e3d997 [2023-03-21T04:43:17.529Z] ---> 42e5fc7f6bd3 [2023-03-21T04:43:17.529Z] Successfully built 42e5fc7f6bd3 [2023-03-21T04:43:17.529Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:43:17.878Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T04:43:17.878Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:43:18.074Z] prd-ubuntu20.04-docker-arm64-4c-16g-4722 does not seem to be running inside a container [2023-03-21T04:43:18.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T04:43:19.303Z] $ docker top 4b0f84959a2f351d4d2aa5a3e8a8ba904bf870c341df55cf7662ac7925222b58 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:43:20.124Z] + go version [2023-03-21T04:43:20.124Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T04:43:20.151Z] $ docker stop --time=1 4b0f84959a2f351d4d2aa5a3e8a8ba904bf870c341df55cf7662ac7925222b58 [2023-03-21T04:43:21.750Z] $ docker rm -f --volumes 4b0f84959a2f351d4d2aa5a3e8a8ba904bf870c341df55cf7662ac7925222b58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:43:22.286Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T04:43:22.286Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:43:22.461Z] prd-ubuntu20.04-docker-arm64-4c-16g-4722 does not seem to be running inside a container [2023-03-21T04:43:22.526Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T04:43:23.647Z] $ docker top 371584d97b006e2e2c2f756a910f7b54e1d6eca1cae0c9cdfd8c2f344e59481c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:43:24.149Z] + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh [2023-03-21T04:43:24.475Z] + make test [2023-03-21T04:43:24.475Z] go test ./... -coverprofile=coverage.out ./... [2023-03-21T04:43:56.731Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-21T04:46:03.463Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-21T04:46:03.463Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 33.0% of statements [2023-03-21T04:46:03.463Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T04:46:03.463Z] go vet ./... [2023-03-21T04:46:30.187Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T04:46:30.187Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T04:46:30.187Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T04:46:30.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T04:46:30.229Z] $ docker stop --time=1 371584d97b006e2e2c2f756a910f7b54e1d6eca1cae0c9cdfd8c2f344e59481c [2023-03-21T04:46:31.987Z] $ docker rm -f --volumes 371584d97b006e2e2c2f756a910f7b54e1d6eca1cae0c9cdfd8c2f344e59481c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T04:46:33.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T04:46:33.097Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T04:46:33.508Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T04:46:33.890Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T04:46:34.198Z] + ls -al . [2023-03-21T04:46:34.198Z] total 180 [2023-03-21T04:46:34.199Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:43 . [2023-03-21T04:46:34.199Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:40 .. [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 21 04:41 .dockerignore [2023-03-21T04:46:34.199Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 04:41 .git [2023-03-21T04:46:34.199Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:41 .github [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 04:41 .gitignore [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 04:41 .golangci.yml [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 21 04:41 Attribution.txt [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 21 04:41 CHANGELOG.md [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 21 04:41 Dockerfile [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 04:41 GOVERNANCE.md [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 21 04:41 Jenkinsfile [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 04:41 LICENSE [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 21 04:41 Makefile [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 04:41 OWNERS.md [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 21 04:41 README.md [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 04:39 VERSION [2023-03-21T04:46:34.199Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:41 bin [2023-03-21T04:46:34.199Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:41 cmd [2023-03-21T04:46:34.199Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 21 04:45 coverage.out [2023-03-21T04:46:34.199Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:41 driver [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 21 04:41 go.mod [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 21 04:41 go.sum [2023-03-21T04:46:34.199Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:41 snap [2023-03-21T04:46:34.199Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 21 04:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:46:34.525Z] + 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=53d571398c6ea370e5c9d1329a3dd23e6e74a13a --label arch=arm64 --label version=0.0.0 . [2023-03-21T04:46:34.525Z] Sending build context to Docker daemon 153.6kB [2023-03-21T04:46:34.791Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T04:46:34.791Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-21T04:46:34.791Z] ---> 42e5fc7f6bd3 [2023-03-21T04:46:34.791Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-21T04:46:34.791Z] ---> Running in 184e3231d011 [2023-03-21T04:46:35.058Z] Removing intermediate container 184e3231d011 [2023-03-21T04:46:35.058Z] ---> 1d3d14627298 [2023-03-21T04:46:35.058Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-21T04:46:35.058Z] ---> Running in 1f75e9bb3a69 [2023-03-21T04:46:35.322Z] Removing intermediate container 1f75e9bb3a69 [2023-03-21T04:46:35.322Z] ---> 31db66ec52ef [2023-03-21T04:46:35.322Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-21T04:46:35.322Z] ---> Running in de324595a5a6 [2023-03-21T04:46:35.997Z] Removing intermediate container de324595a5a6 [2023-03-21T04:46:35.997Z] ---> 1e5c891ecef9 [2023-03-21T04:46:35.997Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-21T04:46:35.997Z] ---> Running in 019e58553f6f [2023-03-21T04:46:35.997Z] Removing intermediate container 019e58553f6f [2023-03-21T04:46:35.997Z] ---> 14d7f89d721f [2023-03-21T04:46:35.997Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-21T04:46:36.269Z] ---> Running in a2e1bc8e43d0 [2023-03-21T04:46:37.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T04:46:37.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T04:46:38.812Z] OK: 268 MiB in 57 packages [2023-03-21T04:46:39.420Z] Removing intermediate container a2e1bc8e43d0 [2023-03-21T04:46:39.420Z] ---> 10254583422b [2023-03-21T04:46:39.420Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-21T04:46:39.689Z] ---> Running in 764c6583a424 [2023-03-21T04:46:39.956Z] Removing intermediate container 764c6583a424 [2023-03-21T04:46:39.956Z] ---> c001e76febe1 [2023-03-21T04:46:39.956Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-21T04:46:40.224Z] ---> 49a8cfb5b218 [2023-03-21T04:46:40.224Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T04:46:40.494Z] ---> Running in f18d669d3a4a [2023-03-21T04:46:43.843Z] Removing intermediate container f18d669d3a4a [2023-03-21T04:46:43.843Z] ---> 818262d78621 [2023-03-21T04:46:43.843Z] Step 11/25 : COPY . . [2023-03-21T04:46:44.430Z] ---> aa86b9ac1bfd [2023-03-21T04:46:44.430Z] Step 12/25 : RUN $MAKE [2023-03-21T04:46:44.430Z] ---> Running in 68761084d0d7 [2023-03-21T04:46:45.400Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-21T04:48:52.127Z] Removing intermediate container 68761084d0d7 [2023-03-21T04:48:52.127Z] ---> cc716f9102cc [2023-03-21T04:48:52.127Z] Step 13/25 : FROM alpine:3.17 [2023-03-21T04:48:52.127Z] 3.17: Pulling from library/alpine [2023-03-21T04:48:52.127Z] af6eaf76a39c: Already exists [2023-03-21T04:48:52.127Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T04:48:52.127Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T04:48:52.127Z] ---> d74e625d9115 [2023-03-21T04:48:52.127Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T04:48:52.127Z] ---> Running in 774cbb213e48 [2023-03-21T04:48:52.127Z] Removing intermediate container 774cbb213e48 [2023-03-21T04:48:52.127Z] ---> 568f593ac39a [2023-03-21T04:48:52.127Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-21T04:48:52.127Z] ---> Running in ed3a5cc372b8 [2023-03-21T04:48:52.127Z] Removing intermediate container ed3a5cc372b8 [2023-03-21T04:48:52.127Z] ---> e400c119bb9c [2023-03-21T04:48:52.127Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-21T04:48:52.127Z] ---> Running in ac4d5a622037 [2023-03-21T04:48:52.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T04:48:52.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T04:48:52.127Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-21T04:48:52.127Z] Executing busybox-1.35.0-r29.trigger [2023-03-21T04:48:52.127Z] OK: 8 MiB in 16 packages [2023-03-21T04:48:52.127Z] Removing intermediate container ac4d5a622037 [2023-03-21T04:48:52.127Z] ---> 39188d1aa7fa [2023-03-21T04:48:52.127Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-21T04:48:53.540Z] ---> 177eca3eaada [2023-03-21T04:48:53.540Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-21T04:48:53.808Z] ---> 555c01542437 [2023-03-21T04:48:53.808Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-21T04:48:54.393Z] ---> e6e8eafe8284 [2023-03-21T04:48:54.393Z] Step 20/25 : EXPOSE 59986 [2023-03-21T04:48:54.393Z] ---> Running in b0b851fb9d89 [2023-03-21T04:48:54.660Z] Removing intermediate container b0b851fb9d89 [2023-03-21T04:48:54.660Z] ---> c35eb7977ae4 [2023-03-21T04:48:54.660Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-21T04:48:54.660Z] ---> Running in 838c78319acd [2023-03-21T04:48:54.945Z] Removing intermediate container 838c78319acd [2023-03-21T04:48:54.945Z] ---> 6dcaed18eff0 [2023-03-21T04:48:54.945Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-21T04:48:54.945Z] ---> Running in d2a5126d5da8 [2023-03-21T04:48:55.212Z] Removing intermediate container d2a5126d5da8 [2023-03-21T04:48:55.212Z] ---> 21501e13f70a [2023-03-21T04:48:55.212Z] Step 23/25 : LABEL arch=arm64 [2023-03-21T04:48:55.480Z] ---> Running in 854cf11d8398 [2023-03-21T04:48:55.749Z] Removing intermediate container 854cf11d8398 [2023-03-21T04:48:55.749Z] ---> 09cbfca119eb [2023-03-21T04:48:55.749Z] Step 24/25 : LABEL git_sha=53d571398c6ea370e5c9d1329a3dd23e6e74a13a [2023-03-21T04:48:55.749Z] ---> Running in 185a3028719b [2023-03-21T04:48:56.016Z] Removing intermediate container 185a3028719b [2023-03-21T04:48:56.016Z] ---> a2a0dbf08822 [2023-03-21T04:48:56.016Z] Step 25/25 : LABEL version=0.0.0 [2023-03-21T04:48:56.016Z] ---> Running in bcc682ac179c [2023-03-21T04:48:56.286Z] Removing intermediate container bcc682ac179c [2023-03-21T04:48:56.286Z] ---> 151f050492ec [2023-03-21T04:48:56.286Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T04:48:56.286Z] Successfully built 151f050492ec [2023-03-21T04:48:56.286Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:48:56.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T04:48:56.747Z] [2023-03-21T04:48:56.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:48:57.078Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T04:48:57.078Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T04:48:57.078Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T04:48:57.078Z] 04944245beec: Pulling fs layer [2023-03-21T04:48:57.078Z] 699f458cf7ca: Pulling fs layer [2023-03-21T04:48:57.078Z] 765212b225bb: Pulling fs layer [2023-03-21T04:48:57.078Z] f23df028b6ca: Pulling fs layer [2023-03-21T04:48:57.078Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T04:48:57.078Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T04:48:57.078Z] 765212b225bb: Waiting [2023-03-21T04:48:57.078Z] 2437ff75d9bd: Waiting [2023-03-21T04:48:57.348Z] 04944245beec: Verifying Checksum [2023-03-21T04:48:57.348Z] 04944245beec: Download complete [2023-03-21T04:48:57.348Z] 765212b225bb: Verifying Checksum [2023-03-21T04:48:57.348Z] 765212b225bb: Download complete [2023-03-21T04:48:57.348Z] f23df028b6ca: Verifying Checksum [2023-03-21T04:48:57.348Z] f23df028b6ca: Download complete [2023-03-21T04:48:57.348Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T04:48:57.348Z] d65c8cfc05b1: Download complete [2023-03-21T04:48:57.348Z] 699f458cf7ca: Verifying Checksum [2023-03-21T04:48:57.348Z] 699f458cf7ca: Download complete [2023-03-21T04:48:57.936Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T04:48:57.936Z] 8998bd30e6a1: Download complete [2023-03-21T04:48:59.882Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T04:48:59.882Z] 2437ff75d9bd: Download complete [2023-03-21T04:49:01.820Z] 8998bd30e6a1: Pull complete [2023-03-21T04:49:02.087Z] 04944245beec: Pull complete [2023-03-21T04:49:03.491Z] 699f458cf7ca: Pull complete [2023-03-21T04:49:03.491Z] 765212b225bb: Pull complete [2023-03-21T04:49:04.450Z] f23df028b6ca: Pull complete [2023-03-21T04:49:04.450Z] d65c8cfc05b1: Pull complete [2023-03-21T04:49:19.441Z] 2437ff75d9bd: Pull complete [2023-03-21T04:49:19.441Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T04:49:19.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T04:49:19.441Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:49:19.631Z] prd-ubuntu20.04-docker-arm64-4c-16g-4722 does not seem to be running inside a container [2023-03-21T04:49:19.714Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T04:49:22.441Z] $ docker top 0230d2597412c9dd965a73627a38ea8a8b2f0c1a9b65763c0f8ee8374ee79fee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:49:23.267Z] ---> job-cost.sh [2023-03-21T04:49:23.267Z] lf-activate-venv: SKIPPING [2023-03-21T04:49:23.267Z] INFO: No Stack... [2023-03-21T04:49:23.849Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T04:49:24.430Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T04:49:24.746Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2023-03-21T04:49:25.012Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T04:49:25.072Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-272-3-stack-cost] [2023-03-21T04:49:25.078Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-272-3-stack-cost] did not exist. Created. [2023-03-21T04:49:25.078Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-272-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T04:49:25.407Z] /w/workspace/device-rest-go/3@tmp/durable-c2875010/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T04:49:26.053Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T04:49:26.076Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T04:49:26.114Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T04:49:26.125Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-272-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T04:49:26.152Z] $ docker stop --time=1 0230d2597412c9dd965a73627a38ea8a8b2f0c1a9b65763c0f8ee8374ee79fee [2023-03-21T04:49:27.622Z] $ docker rm -f --volumes 0230d2597412c9dd965a73627a38ea8a8b2f0c1a9b65763c0f8ee8374ee79fee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-21T04:49:27.988Z] provisioning config files... [2023-03-21T04:49:27.994Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config2883739621129421004tmp [Pipeline] { [Pipeline] sh [2023-03-21T04:49:28.283Z] + set +x [2023-03-21T04:49:28.283Z] + curl+ -s https://codecov.io/bash [2023-03-21T04:49:28.283Z] bash -s -- [2023-03-21T04:49:28.283Z] [2023-03-21T04:49:28.283Z] _____ _ [2023-03-21T04:49:28.283Z] / ____| | | [2023-03-21T04:49:28.283Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T04:49:28.283Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T04:49:28.283Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T04:49:28.283Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T04:49:28.283Z] Bash-1.0.6 [2023-03-21T04:49:28.283Z] [2023-03-21T04:49:28.283Z] [2023-03-21T04:49:28.283Z] ==> git version 2.25.1 found [2023-03-21T04:49:28.283Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-21T04:49:28.283Z] Release-Date: 2020-01-08 [2023-03-21T04:49:28.283Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-21T04:49:28.283Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T04:49:28.283Z] ==> Jenkins CI detected. [2023-03-21T04:49:28.283Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-272 [2023-03-21T04:49:28.283Z] project root: . [2023-03-21T04:49:28.283Z] --> token set from env [2023-03-21T04:49:28.283Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T04:49:28.283Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T04:49:28.283Z] ==> Python coveragepy not found [2023-03-21T04:49:28.283Z] ==> Searching for coverage reports in: [2023-03-21T04:49:28.283Z] + . [2023-03-21T04:49:28.283Z] -> Found 1 reports [2023-03-21T04:49:28.283Z] ==> Detecting git/mercurial file structure [2023-03-21T04:49:28.283Z] ==> Reading reports [2023-03-21T04:49:28.283Z] + ./coverage.out bytes=14200 [2023-03-21T04:49:28.283Z] ==> Appending adjustments [2023-03-21T04:49:28.283Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T04:49:28.541Z] + Found adjustments [2023-03-21T04:49:28.541Z] ==> Gzipping contents [2023-03-21T04:49:28.541Z] 4.0K /tmp/codecov.MBuzyW.gz [2023-03-21T04:49:28.541Z] ==> Uploading reports [2023-03-21T04:49:28.541Z] url: https://codecov.io [2023-03-21T04:49:28.541Z] query: branch=PR-272&commit=53d571398c6ea370e5c9d1329a3dd23e6e74a13a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-272%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-21T04:49:28.541Z] -> Pinging Codecov [2023-03-21T04:49:28.541Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-272&commit=53d571398c6ea370e5c9d1329a3dd23e6e74a13a&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-272%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=272&job=&cmd_args= [2023-03-21T04:49:28.541Z] -> Uploading to [2023-03-21T04:49:28.541Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/4E5D53B4F1F92C436F7061BF334D961C/53d571398c6ea370e5c9d1329a3dd23e6e74a13a/316f5d02-6bbf-4076-9618-6ffb74709106.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T044928Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2306ea7ea7232effbba9845df1de36e40f72677f951711d2971d619c9184741 [2023-03-21T04:49:28.541Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T04:49:28.541Z] Dload Upload Total Spent Left Speed [2023-03-21T04:49:28.801Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2459 0 0 100 2459 0 9007 --:--:-- --:--:-- --:--:-- 8974 [2023-03-21T04:49:28.801Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/53d571398c6ea370e5c9d1329a3dd23e6e74a13a [Pipeline] } [2023-03-21T04:49:28.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-21T04:49:29.526Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-272/archives ] [2023-03-21T04:49:29.526Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-272/archives [2023-03-21T04:49:29.526Z] total 16 [2023-03-21T04:49:29.526Z] drwxr-xr-x 3 root root 4096 Mar 21 04:41 . [2023-03-21T04:49:29.526Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 04:41 .. [2023-03-21T04:49:29.526Z] drwxr-xr-x 2 root root 4096 Mar 21 04:41 cost [2023-03-21T04:49:29.526Z] -rw-r--r-- 1 root root 86 Mar 21 04:41 cost.csv [2023-03-21T04:49:29.526Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-272/archives [2023-03-21T04:49:29.526Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-272/archives [2023-03-21T04:49:29.526Z] total 16 [2023-03-21T04:49:29.526Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 04:41 . [2023-03-21T04:49:29.526Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 04:41 .. [2023-03-21T04:49:29.526Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 04:41 cost [2023-03-21T04:49:29.526Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 04:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:49:29.815Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:49:30.677Z] ---> package-listing.sh [2023-03-21T04:49:30.677Z] ++ facter osfamily [2023-03-21T04:49:30.677Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T04:49:30.937Z] + OS_FAMILY=debian [2023-03-21T04:49:30.937Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-272 [2023-03-21T04:49:30.937Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T04:49:30.937Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T04:49:30.937Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T04:49:30.937Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T04:49:30.937Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-272 ']' [2023-03-21T04:49:30.937Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T04:49:30.937Z] + case "${OS_FAMILY}" in [2023-03-21T04:49:30.937Z] + dpkg -l [2023-03-21T04:49:30.937Z] + grep '^ii' [2023-03-21T04:49:30.937Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T04:49:30.937Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T04:49:30.937Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T04:49:30.937Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-272 ']' [2023-03-21T04:49:30.937Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-272/archives/ [2023-03-21T04:49:30.937Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-272/archives/ [Pipeline] echo [2023-03-21T04:49:30.947Z] 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-272/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T04:49:31.224Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T04:49:31.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T04:49:31.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T04:49:31.853Z] prd-ubuntu20.04-docker-8c-8g-4721 does not seem to be running inside a container [2023-03-21T04:49:31.886Z] $ 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-272/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-272 -v /w/workspace/gexfoundry_device-rest-go_PR-272:/w/workspace/gexfoundry_device-rest-go_PR-272:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-272@tmp:/w/workspace/gexfoundry_device-rest-go_PR-272@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T04:49:32.067Z] $ docker top ea785d9929ecf2a4a31c6eddf070e476e2ab715f976ae346d647e021ff9eb062 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T04:49:32.408Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T04:49:32.693Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T04:49:32.979Z] + ls /var/log/sa-host [2023-03-21T04:49:32.979Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T04:49:33.125Z] provisioning config files... [2023-03-21T04:49:33.132Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-272@tmp/config4128498894020046595tmp [Pipeline] { [Pipeline] echo [2023-03-21T04:49:33.144Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:49:33.424Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T04:49:33.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:49:33.764Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T04:49:33.771Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:49:34.050Z] ---> sudo-logs.sh [2023-03-21T04:49:34.050Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T04:49:34.080Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:49:34.362Z] ---> job-cost.sh [2023-03-21T04:49:34.362Z] lf-activate-venv: SKIPPING [2023-03-21T04:49:34.362Z] DEBUG: total: 0.2199999988079071 [2023-03-21T04:49:34.362Z] INFO: Retrieving Stack Cost... [2023-03-21T04:49:34.932Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T04:49:35.192Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T04:49:35.203Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:49:35.489Z] ---> logs-deploy.sh [2023-03-21T04:49:35.489Z] lf-activate-venv: SKIPPING [2023-03-21T04:49:35.489Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-272/3 [2023-03-21T04:49:35.489Z] INFO: archiving workspace using pattern(s): [2023-03-21T04:49:36.427Z] Archives upload complete. [2023-03-21T04:49:36.427Z] INFO: archiving logs to Nexus