Pull request #217 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a92d6e74a31c5593ceffa978dbfd96e3064d613+fa2594666deb171bc078c2a791882f5db0311ade (c8ab136ef2c9b2e6790d33e76220136d7177fcd1) 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-ssh919132488642480571.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh13173934858201334104.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13074846126132862555.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-217/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10509912683525775895.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7987691236508823026.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-217/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-217/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7628994463437147253.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6932 in /w/workspace/gexfoundry_device-rest-go_PR-217 [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-217 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Merging remotes/origin/main commit fa2594666deb171bc078c2a791882f5db0311ade into PR head commit 6a92d6e74a31c5593ceffa978dbfd96e3064d613 Merge succeeded, producing 6a92d6e74a31c5593ceffa978dbfd96e3064d613 Checking out Revision 6a92d6e74a31c5593ceffa978dbfd96e3064d613 (PR-217) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a92d6e74a31c5593ceffa978dbfd96e3064d613 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a92d6e74a31c5593ceffa978dbfd96e3064d613 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T20:04:52.447Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T20:04:52.629Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T20:04:52.720Z] ========================================================= [2022-10-03T20:04:52.720Z] EdgeX Global Pipelines Version Info [2022-10-03T20:04:52.720Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:04:53.460Z] ------------------- [2022-10-03T20:04:53.460Z] stable info: [2022-10-03T20:04:53.460Z] ------------------- [2022-10-03T20:04:53.460Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T20:04:53.460Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T20:04:53.460Z] Message: update stable to v1.0.239 [2022-10-03T20:04:54.029Z] ------------------- [2022-10-03T20:04:54.029Z] experimental info: [2022-10-03T20:04:54.029Z] ------------------- [2022-10-03T20:04:54.029Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T20:04:54.029Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T20:04:54.029Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T20:04:54.301Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-03T20:04:54.344Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-03T20:04:54.386Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T20:04:54.427Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T20:04:54.466Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T20:04:54.508Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T20:04:54.549Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T20:04:54.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T20:04:54.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T20:04:54.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T20:04:54.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T20:04:54.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-03T20:04:54.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T20:04:54.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T20:04:54.888Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T20:04:54.934Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T20:04:54.971Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T20:04:55.010Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T20:04:55.052Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T20:04:55.095Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T20:04:55.135Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-03T20:04:55.179Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-03T20:04:55.224Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T20:04:55.267Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T20:04:55.309Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T20:04:55.351Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T20:04:55.393Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T20:04:55.435Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-217 [Pipeline] echo [2022-10-03T20:04:55.477Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-217 [Pipeline] echo [2022-10-03T20:04:55.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-217 [Pipeline] echo [2022-10-03T20:04:55.560Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a92d6e74a31c5593ceffa978dbfd96e3064d613 [Pipeline] echo [2022-10-03T20:04:55.601Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a92d6e [Pipeline] echo [2022-10-03T20:04:55.642Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T20:04:55.768Z] provisioning config files... [2022-10-03T20:04:55.781Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/config18333577663297777503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:04:56.120Z] ---> docker-login.sh [2022-10-03T20:04:56.120Z] nexus3.edgexfoundry.org:10001 [2022-10-03T20:04:56.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:56.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:56.381Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:56.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:56.381Z] [2022-10-03T20:04:56.381Z] Login Succeeded [2022-10-03T20:04:56.381Z] nexus3.edgexfoundry.org:10002 [2022-10-03T20:04:56.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:56.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:56.381Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:56.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:56.381Z] [2022-10-03T20:04:56.381Z] Login Succeeded [2022-10-03T20:04:56.381Z] nexus3.edgexfoundry.org:10003 [2022-10-03T20:04:56.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:56.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:56.641Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:56.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:56.641Z] [2022-10-03T20:04:56.641Z] Login Succeeded [2022-10-03T20:04:56.641Z] nexus3.edgexfoundry.org:10004 [2022-10-03T20:04:56.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:56.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:56.641Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:56.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:56.641Z] [2022-10-03T20:04:56.641Z] Login Succeeded [2022-10-03T20:04:56.641Z] docker.io [2022-10-03T20:04:56.901Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:04:57.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:04:57.160Z] Configure a credential helper to remove this warning. See [2022-10-03T20:04:57.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:04:57.160Z] [2022-10-03T20:04:57.160Z] Login Succeeded [2022-10-03T20:04:57.160Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T20:04:57.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T20:04:57.824Z] + git rev-list -1 --merges 6a92d6e74a31c5593ceffa978dbfd96e3064d613~1..6a92d6e74a31c5593ceffa978dbfd96e3064d613 [Pipeline] echo [2022-10-03T20:04:57.864Z] -----------> git rev-list -1 --merges 6a92d6e74a31c5593ceffa978dbfd96e3064d613~1..6a92d6e74a31c5593ceffa978dbfd96e3064d613 6a92d6e74a31c5593ceffa978dbfd96e3064d613 [false] [Pipeline] sh [2022-10-03T20:04:58.177Z] + git log --format=format:%s -1 6a92d6e74a31c5593ceffa978dbfd96e3064d613 [Pipeline] echo [2022-10-03T20:04:58.216Z] ========================================================= [2022-10-03T20:04:58.217Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T20:04:58.217Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T20:04:58.643Z] + git log --format=format:%s -1 6a92d6e74a31c5593ceffa978dbfd96e3064d613 [Pipeline] echo [2022-10-03T20:04:58.675Z] [semverPrep] GIT_COMMIT: 6a92d6e74a31c5593ceffa978dbfd96e3064d613, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-10-03T20:04:58.704Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T20:04:59.085Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T20:04:59.085Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T20:04:59.085Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T20:04:59.085Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T20:04:59.085Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T20:04:59.085Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T20:04:59.085Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:04:59.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:04:59.516Z] [2022-10-03T20:04:59.516Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:04:59.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:04:59.905Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T20:04:59.905Z] b85a868b505f: Pulling fs layer [2022-10-03T20:04:59.905Z] e2be974225ed: Pulling fs layer [2022-10-03T20:04:59.905Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T20:04:59.905Z] 988bab9f4d93: Pulling fs layer [2022-10-03T20:04:59.905Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T20:04:59.905Z] eaf3925da568: Pulling fs layer [2022-10-03T20:04:59.905Z] bab4dde63d76: Pulling fs layer [2022-10-03T20:04:59.905Z] bde34c3a00c8: Pulling fs layer [2022-10-03T20:04:59.905Z] b352a97aabf1: Pulling fs layer [2022-10-03T20:04:59.905Z] 4872d77fe225: Pulling fs layer [2022-10-03T20:04:59.905Z] 5851b861e8e6: Pulling fs layer [2022-10-03T20:04:59.905Z] bab4dde63d76: Waiting [2022-10-03T20:04:59.905Z] bde34c3a00c8: Waiting [2022-10-03T20:04:59.905Z] b352a97aabf1: Waiting [2022-10-03T20:04:59.905Z] 4872d77fe225: Waiting [2022-10-03T20:04:59.905Z] 5851b861e8e6: Waiting [2022-10-03T20:04:59.905Z] 988bab9f4d93: Waiting [2022-10-03T20:04:59.905Z] 1469e6f7b9e6: Waiting [2022-10-03T20:04:59.905Z] eaf3925da568: Waiting [2022-10-03T20:05:00.167Z] e2be974225ed: Download complete [2022-10-03T20:05:00.167Z] 988bab9f4d93: Download complete [2022-10-03T20:05:00.167Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T20:05:00.167Z] 1469e6f7b9e6: Download complete [2022-10-03T20:05:00.167Z] eaf3925da568: Verifying Checksum [2022-10-03T20:05:00.167Z] eaf3925da568: Download complete [2022-10-03T20:05:00.167Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T20:05:00.167Z] 339a4e72a1f5: Download complete [2022-10-03T20:05:00.167Z] bde34c3a00c8: Verifying Checksum [2022-10-03T20:05:00.167Z] bde34c3a00c8: Download complete [2022-10-03T20:05:00.167Z] b352a97aabf1: Download complete [2022-10-03T20:05:00.427Z] 4872d77fe225: Verifying Checksum [2022-10-03T20:05:00.427Z] 4872d77fe225: Download complete [2022-10-03T20:05:00.427Z] 5851b861e8e6: Verifying Checksum [2022-10-03T20:05:00.427Z] 5851b861e8e6: Download complete [2022-10-03T20:05:00.427Z] b85a868b505f: Verifying Checksum [2022-10-03T20:05:00.427Z] b85a868b505f: Download complete [2022-10-03T20:05:00.687Z] bab4dde63d76: Verifying Checksum [2022-10-03T20:05:00.687Z] bab4dde63d76: Download complete [2022-10-03T20:05:01.627Z] b85a868b505f: Pull complete [2022-10-03T20:05:01.887Z] e2be974225ed: Pull complete [2022-10-03T20:05:02.459Z] 339a4e72a1f5: Pull complete [2022-10-03T20:05:02.459Z] 988bab9f4d93: Pull complete [2022-10-03T20:05:02.719Z] 1469e6f7b9e6: Pull complete [2022-10-03T20:05:02.978Z] eaf3925da568: Pull complete [2022-10-03T20:05:04.881Z] bab4dde63d76: Pull complete [2022-10-03T20:05:04.881Z] bde34c3a00c8: Pull complete [2022-10-03T20:05:04.881Z] b352a97aabf1: Pull complete [2022-10-03T20:05:04.881Z] 4872d77fe225: Pull complete [2022-10-03T20:05:04.881Z] 5851b861e8e6: Pull complete [2022-10-03T20:05:04.881Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T20:05:04.881Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T20:05:04.881Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:05:05.092Z] prd-ubuntu20.04-docker-8c-8g-6932 does not seem to be running inside a container [2022-10-03T20:05:05.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-217 -v /w/workspace/gexfoundry_device-rest-go_PR-217:/w/workspace/gexfoundry_device-rest-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-217@tmp:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-03T20:05:07.023Z] $ docker top bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 -eo pid,comm [2022-10-03T20:05:07.088Z] 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). [2022-10-03T20:05:07.088Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T20:05:07.221Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T20:05:07.221Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T20:05:07.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T20:05:07.358Z] $ docker exec bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 ssh-agent [2022-10-03T20:05:07.473Z] SSH_AUTH_SOCK=/tmp/ssh-dfzdQR3kFzO4/agent.33 [2022-10-03T20:05:07.473Z] SSH_AGENT_PID=39 [2022-10-03T20:05:07.480Z] Running ssh-add (command line suppressed) [2022-10-03T20:05:07.573Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-217@tmp/private_key_2282774943158681235.key (/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/private_key_2282774943158681235.key) [2022-10-03T20:05:07.590Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T20:05:07.923Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T20:05:07.950Z] $ docker exec --env ******** --env ******** bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 ssh-agent -k [2022-10-03T20:05:08.050Z] unset SSH_AUTH_SOCK; [2022-10-03T20:05:08.050Z] unset SSH_AGENT_PID; [2022-10-03T20:05:08.050Z] echo Agent pid 39 killed; [2022-10-03T20:05:08.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T20:05:08.157Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T20:05:08.157Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T20:05:08.266Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T20:05:08.268Z] $ docker exec bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 ssh-agent [2022-10-03T20:05:08.380Z] SSH_AUTH_SOCK=/tmp/ssh-LQs1gDZvQ21c/agent.71 [2022-10-03T20:05:08.380Z] SSH_AGENT_PID=77 [2022-10-03T20:05:08.384Z] Running ssh-add (command line suppressed) [2022-10-03T20:05:08.493Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-217@tmp/private_key_7094444805724712680.key (/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/private_key_7094444805724712680.key) [2022-10-03T20:05:08.506Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T20:05:08.838Z] + git semver init [2022-10-03T20:05:09.098Z] 2022-10-03 20:05:09,015 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T20:05:09.098Z] 2022-10-03 20:05:09,016 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-217/.semver [2022-10-03T20:05:09.098Z] 2022-10-03 20:05:09,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-217/.semver [2022-10-03T20:05:09.098Z] 2022-10-03 20:05:09,017 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-217/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-217, universal_newlines=False, shell=None, istream=None) [2022-10-03T20:05:10.475Z] 2022-10-03 20:05:10,146 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-217/.git/info/exclude [2022-10-03T20:05:10.475Z] 2022-10-03 20:05:10,146 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-217/.semver/PR-217 with force:False [2022-10-03T20:05:10.475Z] 2022-10-03 20:05:10,146 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-217/.semver/PR-217 [2022-10-03T20:05:10.475Z] 2022-10-03 20:05:10,150 [execute] INFO git cat-file --batch-check [2022-10-03T20:05:10.475Z] 2022-10-03 20:05:10,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-217/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T20:05:10.475Z] 2022-10-03 20:05:10,156 [execute] INFO git cat-file --batch [2022-10-03T20:05:10.475Z] 2022-10-03 20:05:10,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-217/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T20:05:10.475Z] 2022-10-03 20:05:10,161 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-217/.semver/PR-217 [2022-10-03T20:05:10.475Z] 0.0.0 [Pipeline] } [2022-10-03T20:05:10.505Z] $ docker exec --env ******** --env ******** bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 ssh-agent -k [2022-10-03T20:05:10.601Z] unset SSH_AUTH_SOCK; [2022-10-03T20:05:10.601Z] unset SSH_AGENT_PID; [2022-10-03T20:05:10.601Z] echo Agent pid 77 killed; [2022-10-03T20:05:10.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T20:05:11.034Z] + git semver [Pipeline] } [2022-10-03T20:05:11.316Z] $ docker stop --time=1 bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 [2022-10-03T20:05:12.661Z] $ docker rm -f bd30a8171902e472c39acb0693cf4629ae193050ff5abfd19f6ecbcfe7e7b202 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T20:05:13.334Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T20:05:13.650Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T20:05:13.672Z] [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 [2022-10-03T20:05:14.250Z] provisioning config files... [2022-10-03T20:05:14.259Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/config15158002897875584141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:05:14.609Z] ---> docker-login.sh [2022-10-03T20:05:14.609Z] nexus3.edgexfoundry.org:10001 [2022-10-03T20:05:14.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:05:14.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:05:14.609Z] Configure a credential helper to remove this warning. See [2022-10-03T20:05:14.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:05:14.609Z] [2022-10-03T20:05:14.609Z] Login Succeeded [2022-10-03T20:05:14.609Z] nexus3.edgexfoundry.org:10002 [2022-10-03T20:05:14.609Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:05:14.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:05:14.609Z] Configure a credential helper to remove this warning. See [2022-10-03T20:05:14.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:05:14.609Z] [2022-10-03T20:05:14.609Z] Login Succeeded [2022-10-03T20:05:14.609Z] nexus3.edgexfoundry.org:10003 [2022-10-03T20:05:14.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:05:14.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:05:14.869Z] Configure a credential helper to remove this warning. See [2022-10-03T20:05:14.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:05:14.869Z] [2022-10-03T20:05:14.869Z] Login Succeeded [2022-10-03T20:05:14.869Z] nexus3.edgexfoundry.org:10004 [2022-10-03T20:05:14.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:05:14.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:05:14.869Z] Configure a credential helper to remove this warning. See [2022-10-03T20:05:14.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:05:14.869Z] [2022-10-03T20:05:14.869Z] Login Succeeded [2022-10-03T20:05:14.869Z] docker.io [2022-10-03T20:05:14.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:05:15.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:05:15.437Z] Configure a credential helper to remove this warning. See [2022-10-03T20:05:15.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:05:15.437Z] [2022-10-03T20:05:15.437Z] Login Succeeded [2022-10-03T20:05:15.437Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T20:05:15.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T20:05:15.666Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:05:15.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:05:15.738Z] ========================================================= [2022-10-03T20:05:15.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T20:05:15.738Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:05:16.206Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-03T20:05:16.207Z] Sending build context to Docker daemon 10.73MB [2022-10-03T20:05:16.207Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:05:16.207Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T20:05:16.207Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T20:05:16.207Z] 2408cc74d12b: Pulling fs layer [2022-10-03T20:05:16.207Z] ea60b727a1ce: Pulling fs layer [2022-10-03T20:05:16.207Z] 30c4a7721957: Pulling fs layer [2022-10-03T20:05:16.207Z] 370296b7ddb6: Pulling fs layer [2022-10-03T20:05:16.207Z] 7c6cee850709: Pulling fs layer [2022-10-03T20:05:16.207Z] aa9baa53a306: Pulling fs layer [2022-10-03T20:05:16.207Z] 8b309c321861: Pulling fs layer [2022-10-03T20:05:16.207Z] d8d76fd02f46: Pulling fs layer [2022-10-03T20:05:16.207Z] fa31f396de31: Pulling fs layer [2022-10-03T20:05:16.207Z] d8d76fd02f46: Waiting [2022-10-03T20:05:16.207Z] fa31f396de31: Waiting [2022-10-03T20:05:16.207Z] 7c6cee850709: Waiting [2022-10-03T20:05:16.207Z] 8b309c321861: Waiting [2022-10-03T20:05:16.207Z] aa9baa53a306: Waiting [2022-10-03T20:05:16.207Z] 370296b7ddb6: Waiting [2022-10-03T20:05:16.207Z] 30c4a7721957: Download complete [2022-10-03T20:05:16.207Z] ea60b727a1ce: Verifying Checksum [2022-10-03T20:05:16.207Z] ea60b727a1ce: Download complete [2022-10-03T20:05:16.467Z] 7c6cee850709: Verifying Checksum [2022-10-03T20:05:16.467Z] 7c6cee850709: Download complete [2022-10-03T20:05:16.467Z] aa9baa53a306: Download complete [2022-10-03T20:05:16.467Z] 2408cc74d12b: Verifying Checksum [2022-10-03T20:05:16.467Z] 8b309c321861: Verifying Checksum [2022-10-03T20:05:16.467Z] 8b309c321861: Download complete [2022-10-03T20:05:16.467Z] 2408cc74d12b: Pull complete [2022-10-03T20:05:16.727Z] ea60b727a1ce: Pull complete [2022-10-03T20:05:16.727Z] 30c4a7721957: Pull complete [2022-10-03T20:05:17.297Z] fa31f396de31: Verifying Checksum [2022-10-03T20:05:17.297Z] fa31f396de31: Download complete [2022-10-03T20:05:17.555Z] 370296b7ddb6: Download complete [2022-10-03T20:05:17.555Z] d8d76fd02f46: Verifying Checksum [2022-10-03T20:05:17.555Z] d8d76fd02f46: Download complete [2022-10-03T20:05:21.768Z] 370296b7ddb6: Pull complete [2022-10-03T20:05:21.768Z] 7c6cee850709: Pull complete [2022-10-03T20:05:21.768Z] aa9baa53a306: Pull complete [2022-10-03T20:05:21.768Z] 8b309c321861: Pull complete [2022-10-03T20:05:23.664Z] d8d76fd02f46: Pull complete [2022-10-03T20:05:24.227Z] fa31f396de31: Pull complete [2022-10-03T20:05:24.227Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T20:05:24.227Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T20:05:24.228Z] ---> cef68f9685f8 [2022-10-03T20:05:24.228Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:05:26.756Z] ---> Running in cc4d69d513d7 [2022-10-03T20:05:26.756Z] Removing intermediate container cc4d69d513d7 [2022-10-03T20:05:26.756Z] ---> 4c2f8a03f557 [2022-10-03T20:05:26.756Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:05:27.015Z] ---> Running in 6139941ffd05 [2022-10-03T20:05:27.015Z] Removing intermediate container 6139941ffd05 [2022-10-03T20:05:27.015Z] ---> dfb4e1281f84 [2022-10-03T20:05:27.015Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:05:27.015Z] ---> Running in 585a86d13940 [2022-10-03T20:05:27.015Z] Removing intermediate container 585a86d13940 [2022-10-03T20:05:27.015Z] ---> 88ac15d77cc0 [2022-10-03T20:05:27.015Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:05:27.274Z] ---> Running in 631fe872fbe4 [2022-10-03T20:05:27.274Z] Removing intermediate container 631fe872fbe4 [2022-10-03T20:05:27.274Z] ---> f853b5b1c259 [2022-10-03T20:05:27.274Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:05:27.274Z] ---> Running in 800a9698bca7 [2022-10-03T20:05:27.842Z] Removing intermediate container 800a9698bca7 [2022-10-03T20:05:27.842Z] ---> 2c000ceb1401 [2022-10-03T20:05:27.842Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:05:27.842Z] ---> Running in d9ea659fed66 [2022-10-03T20:05:28.101Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T20:05:29.078Z] Still waiting to schedule task [2022-10-03T20:05:29.078Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6933’ is offline [2022-10-03T20:05:29.313Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T20:05:29.313Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T20:05:29.572Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T20:05:29.572Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T20:05:29.572Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T20:05:29.830Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T20:05:29.830Z] OK: 216 MiB in 55 packages [2022-10-03T20:05:30.397Z] Removing intermediate container d9ea659fed66 [2022-10-03T20:05:30.397Z] ---> 753d10694ed0 [2022-10-03T20:05:30.397Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-03T20:05:30.656Z] ---> Running in 77b5ec96f78a [2022-10-03T20:05:30.656Z] Removing intermediate container 77b5ec96f78a [2022-10-03T20:05:30.656Z] ---> fbc0c65cc942 [2022-10-03T20:05:30.656Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T20:05:30.915Z] ---> 7c1ef7dd0271 [2022-10-03T20:05:30.915Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:05:30.915Z] ---> Running in e48bd9ce18f2 [2022-10-03T20:05:48.999Z] Removing intermediate container e48bd9ce18f2 [2022-10-03T20:05:48.999Z] ---> b6cf8de8eb40 [2022-10-03T20:05:48.999Z] Step 12/13 : COPY . . [2022-10-03T20:05:48.999Z] ---> d23db6fa30ad [2022-10-03T20:05:48.999Z] Step 13/13 : RUN $MAKE [2022-10-03T20:05:48.999Z] ---> Running in 51686ecfdafd [2022-10-03T20:05:48.999Z] noop [2022-10-03T20:05:48.999Z] Removing intermediate container 51686ecfdafd [2022-10-03T20:05:48.999Z] ---> 51145c23da57 [2022-10-03T20:05:49.000Z] Successfully built 51145c23da57 [2022-10-03T20:05:49.000Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:05:49.441Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T20:05:49.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:05:49.574Z] prd-ubuntu20.04-docker-8c-8g-6932 does not seem to be running inside a container [2022-10-03T20:05:49.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-217 -v /w/workspace/gexfoundry_device-rest-go_PR-217:/w/workspace/gexfoundry_device-rest-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-217@tmp:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T20:05:49.943Z] $ docker top de4918cc973cb9d2e12881e3e7c36ca97460e060917e38df05adc474328355e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:05:50.336Z] + go version [2022-10-03T20:05:50.336Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T20:05:50.365Z] $ docker stop --time=1 de4918cc973cb9d2e12881e3e7c36ca97460e060917e38df05adc474328355e9 [2022-10-03T20:05:51.653Z] $ docker rm -f de4918cc973cb9d2e12881e3e7c36ca97460e060917e38df05adc474328355e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:05:52.350Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T20:05:52.350Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:05:52.502Z] prd-ubuntu20.04-docker-8c-8g-6932 does not seem to be running inside a container [2022-10-03T20:05:52.527Z] $ 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-217 -v /w/workspace/gexfoundry_device-rest-go_PR-217:/w/workspace/gexfoundry_device-rest-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-217@tmp:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-03T20:05:52.888Z] $ docker top 5484a42b55cce0b1e6be2359de58211a637c698e7280ddaa8c46cfe9e5433dcd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:05:53.279Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-217 [Pipeline] fileExists [Pipeline] sh [2022-10-03T20:05:53.623Z] + make test [2022-10-03T20:05:53.623Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T20:05:53.881Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-03T20:06:03.859Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-03T20:06:04.118Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-10-03T20:06:10.675Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-03T20:06:10.675Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T20:06:13.952Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T20:06:13.952Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T20:06:13.952Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T20:06:13.987Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T20:06:14.014Z] $ docker stop --time=1 5484a42b55cce0b1e6be2359de58211a637c698e7280ddaa8c46cfe9e5433dcd [2022-10-03T20:06:16.240Z] $ docker rm -f 5484a42b55cce0b1e6be2359de58211a637c698e7280ddaa8c46cfe9e5433dcd [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T20:06:16.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T20:06:16.818Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T20:06:17.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T20:06:17.724Z] + ls -al . [2022-10-03T20:06:17.724Z] total 180 [2022-10-03T20:06:17.724Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 20:05 . [2022-10-03T20:06:17.724Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:04 .. [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:04 .dockerignore [2022-10-03T20:06:17.724Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:06 .git [2022-10-03T20:06:17.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:04 .github [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:04 .gitignore [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:04 .golangci.yml [2022-10-03T20:06:17.724Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:05 .semver [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:04 Attribution.txt [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:04 CHANGELOG.md [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:04 Dockerfile [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:04 GOVERNANCE.md [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:04 Jenkinsfile [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:04 LICENSE [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:04 Makefile [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:04 OWNERS.md [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:04 README.md [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 20:05 VERSION [2022-10-03T20:06:17.724Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:04 bin [2022-10-03T20:06:17.724Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:04 cmd [2022-10-03T20:06:17.724Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:06 coverage.out [2022-10-03T20:06:17.724Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:04 driver [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:04 go.mod [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:04 go.sum [2022-10-03T20:06:17.724Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:04 snap [2022-10-03T20:06:17.724Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:06:18.118Z] + 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=6a92d6e74a31c5593ceffa978dbfd96e3064d613 --label arch=amd64 --label version=0.0.0 . [2022-10-03T20:06:18.118Z] Sending build context to Docker daemon 10.74MB [2022-10-03T20:06:18.118Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:06:18.118Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-03T20:06:18.118Z] ---> 51145c23da57 [2022-10-03T20:06:18.118Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:06:18.377Z] ---> Running in 66434c331545 [2022-10-03T20:06:18.377Z] Removing intermediate container 66434c331545 [2022-10-03T20:06:18.377Z] ---> b84c5c058705 [2022-10-03T20:06:18.377Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:06:18.377Z] ---> Running in aa5115612720 [2022-10-03T20:06:18.377Z] Removing intermediate container aa5115612720 [2022-10-03T20:06:18.377Z] ---> 6f748e319b61 [2022-10-03T20:06:18.377Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:06:18.377Z] ---> Running in 947ecec159fd [2022-10-03T20:06:18.635Z] Removing intermediate container 947ecec159fd [2022-10-03T20:06:18.635Z] ---> ad1f5b7c82cd [2022-10-03T20:06:18.635Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:06:18.635Z] ---> Running in ab84e2b57767 [2022-10-03T20:06:18.635Z] Removing intermediate container ab84e2b57767 [2022-10-03T20:06:18.635Z] ---> 8e1c59dcc44e [2022-10-03T20:06:18.635Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:06:18.635Z] ---> Running in 508b57548c68 [2022-10-03T20:06:19.205Z] Removing intermediate container 508b57548c68 [2022-10-03T20:06:19.205Z] ---> 249e76640d1d [2022-10-03T20:06:19.205Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:06:19.205Z] ---> Running in d0a5a92a9193 [2022-10-03T20:06:19.464Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T20:06:20.400Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T20:06:20.659Z] OK: 216 MiB in 55 packages [2022-10-03T20:06:20.917Z] Removing intermediate container d0a5a92a9193 [2022-10-03T20:06:20.917Z] ---> ad14bf98b426 [2022-10-03T20:06:20.917Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-03T20:06:20.917Z] ---> Running in 60375bd26889 [2022-10-03T20:06:20.917Z] Removing intermediate container 60375bd26889 [2022-10-03T20:06:20.917Z] ---> b17c554c862e [2022-10-03T20:06:20.917Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-03T20:06:20.917Z] ---> bcf3e21afc0a [2022-10-03T20:06:20.917Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:06:20.917Z] ---> Running in 99e314011528 [2022-10-03T20:06:21.853Z] Removing intermediate container 99e314011528 [2022-10-03T20:06:21.853Z] ---> 09b10e893e6d [2022-10-03T20:06:21.853Z] Step 12/26 : COPY . . [2022-10-03T20:06:21.853Z] ---> 836bed6ed171 [2022-10-03T20:06:21.853Z] Step 13/26 : RUN $MAKE [2022-10-03T20:06:21.853Z] ---> Running in d00c13fe75d2 [2022-10-03T20:06:22.112Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-03T20:06:44.037Z] Removing intermediate container d00c13fe75d2 [2022-10-03T20:06:44.037Z] ---> 9643897add88 [2022-10-03T20:06:44.037Z] Step 14/26 : FROM alpine:3.16 [2022-10-03T20:06:44.037Z] 3.16: Pulling from library/alpine [2022-10-03T20:06:44.037Z] 213ec9aee27d: Pulling fs layer [2022-10-03T20:06:44.037Z] 213ec9aee27d: Download complete [2022-10-03T20:06:44.037Z] 213ec9aee27d: Pull complete [2022-10-03T20:06:44.037Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T20:06:44.037Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T20:06:44.037Z] ---> 9c6f07244728 [2022-10-03T20:06:44.037Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T20:06:44.037Z] ---> Running in b64eff952a78 [2022-10-03T20:06:44.037Z] Removing intermediate container b64eff952a78 [2022-10-03T20:06:44.037Z] ---> 970acaa7bd49 [2022-10-03T20:06:44.037Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-03T20:06:44.037Z] ---> Running in 435a1ec7a8e1 [2022-10-03T20:06:44.037Z] Removing intermediate container 435a1ec7a8e1 [2022-10-03T20:06:44.037Z] ---> d9d20793085a [2022-10-03T20:06:44.037Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T20:06:44.037Z] ---> Running in 26ce4c3257f2 [2022-10-03T20:06:44.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T20:06:44.037Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T20:06:44.037Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T20:06:44.037Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T20:06:44.037Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T20:06:44.037Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T20:06:44.037Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T20:06:44.318Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T20:06:44.318Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T20:06:44.318Z] OK: 8 MiB in 20 packages [2022-10-03T20:06:44.577Z] Removing intermediate container 26ce4c3257f2 [2022-10-03T20:06:44.577Z] ---> ba986c1dd7be [2022-10-03T20:06:44.577Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-03T20:06:45.146Z] ---> 9bb03bac901c [2022-10-03T20:06:45.146Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-03T20:06:45.407Z] ---> db3f044f5682 [2022-10-03T20:06:45.407Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-03T20:06:45.407Z] ---> 392a35b085ad [2022-10-03T20:06:45.407Z] Step 21/26 : EXPOSE 59986 [2022-10-03T20:06:45.407Z] ---> Running in 20973836a751 [2022-10-03T20:06:45.666Z] Removing intermediate container 20973836a751 [2022-10-03T20:06:45.666Z] ---> ee616d013072 [2022-10-03T20:06:45.666Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-03T20:06:45.666Z] ---> Running in 7fa2d88129c5 [2022-10-03T20:06:45.666Z] Removing intermediate container 7fa2d88129c5 [2022-10-03T20:06:45.666Z] ---> 616475420109 [2022-10-03T20:06:45.666Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-03T20:06:45.924Z] ---> Running in df067a4ca78b [2022-10-03T20:06:45.924Z] Removing intermediate container df067a4ca78b [2022-10-03T20:06:45.924Z] ---> 8d9f4675fa49 [2022-10-03T20:06:45.924Z] Step 24/26 : LABEL arch=amd64 [2022-10-03T20:06:45.924Z] ---> Running in 732724f2b006 [2022-10-03T20:06:46.183Z] Removing intermediate container 732724f2b006 [2022-10-03T20:06:46.183Z] ---> bcee49286722 [2022-10-03T20:06:46.183Z] Step 25/26 : LABEL git_sha=6a92d6e74a31c5593ceffa978dbfd96e3064d613 [2022-10-03T20:06:46.183Z] ---> Running in 431a003f6945 [2022-10-03T20:06:46.183Z] Removing intermediate container 431a003f6945 [2022-10-03T20:06:46.183Z] ---> 5b497fb82543 [2022-10-03T20:06:46.183Z] Step 26/26 : LABEL version=0.0.0 [2022-10-03T20:06:46.183Z] ---> Running in 1d4d28f36b49 [2022-10-03T20:06:46.183Z] Removing intermediate container 1d4d28f36b49 [2022-10-03T20:06:46.183Z] ---> dba1a8fa349f [2022-10-03T20:06:46.183Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T20:06:46.183Z] Successfully built dba1a8fa349f [2022-10-03T20:06:46.183Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:06:47.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:06:47.050Z] [2022-10-03T20:06:47.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:06:47.429Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:06:47.429Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T20:06:47.429Z] 5eb5b503b376: Pulling fs layer [2022-10-03T20:06:47.429Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T20:06:47.429Z] ec43610c2a17: Pulling fs layer [2022-10-03T20:06:47.429Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T20:06:47.429Z] 33b1e0a273af: Pulling fs layer [2022-10-03T20:06:47.429Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T20:06:47.429Z] 2f39f015ded8: Pulling fs layer [2022-10-03T20:06:47.429Z] 5d3b04190fa2: Waiting [2022-10-03T20:06:47.429Z] 2f39f015ded8: Waiting [2022-10-03T20:06:47.429Z] 3a2ae6a8a46f: Waiting [2022-10-03T20:06:47.429Z] 33b1e0a273af: Waiting [2022-10-03T20:06:47.429Z] 5c69ac0246d0: Download complete [2022-10-03T20:06:47.429Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-03T20:06:47.429Z] 3a2ae6a8a46f: Download complete [2022-10-03T20:06:47.692Z] 33b1e0a273af: Verifying Checksum [2022-10-03T20:06:47.692Z] 33b1e0a273af: Download complete [2022-10-03T20:06:47.692Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T20:06:47.692Z] 5d3b04190fa2: Download complete [2022-10-03T20:06:47.692Z] ec43610c2a17: Verifying Checksum [2022-10-03T20:06:47.692Z] ec43610c2a17: Download complete [2022-10-03T20:06:47.692Z] 5eb5b503b376: Verifying Checksum [2022-10-03T20:06:47.692Z] 5eb5b503b376: Download complete [2022-10-03T20:06:48.259Z] 2f39f015ded8: Verifying Checksum [2022-10-03T20:06:48.259Z] 2f39f015ded8: Download complete [2022-10-03T20:06:48.828Z] 5eb5b503b376: Pull complete [2022-10-03T20:06:49.088Z] 5c69ac0246d0: Pull complete [2022-10-03T20:06:49.346Z] ec43610c2a17: Pull complete [2022-10-03T20:06:49.346Z] 3a2ae6a8a46f: Pull complete [2022-10-03T20:06:49.605Z] 33b1e0a273af: Pull complete [2022-10-03T20:06:49.862Z] 5d3b04190fa2: Pull complete [2022-10-03T20:06:54.046Z] 2f39f015ded8: Pull complete [2022-10-03T20:06:54.046Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T20:06:54.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:06:54.046Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:06:54.271Z] prd-ubuntu20.04-docker-8c-8g-6932 does not seem to be running inside a container [2022-10-03T20:06:54.298Z] $ 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-217 -v /w/workspace/gexfoundry_device-rest-go_PR-217:/w/workspace/gexfoundry_device-rest-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-217@tmp:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T20:06:56.672Z] $ docker top 0c05502787022bb6dca0201a789fbec65fa1a3c31a6ad5161917da565e331885 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:06:57.106Z] ---> job-cost.sh [2022-10-03T20:06:57.106Z] lf-activate-venv: SKIPPING [2022-10-03T20:06:57.106Z] INFO: No Stack... [2022-10-03T20:06:57.364Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T20:06:57.622Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T20:06:57.937Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-217/archives/cost.csv [2022-10-03T20:06:57.938Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T20:06:57.976Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] [2022-10-03T20:06:57.981Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] did not exist. Created. [2022-10-03T20:06:57.981Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T20:06:58.372Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T20:06:58.423Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T20:06:58.458Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T20:06:58.536Z] $ docker stop --time=1 0c05502787022bb6dca0201a789fbec65fa1a3c31a6ad5161917da565e331885 [2022-10-03T20:06:59.683Z] $ docker rm -f 0c05502787022bb6dca0201a789fbec65fa1a3c31a6ad5161917da565e331885 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T20:07:57.997Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6934 in /w/workspace/gexfoundry_device-rest-go_PR-217 [Pipeline] { [Pipeline] ws [2022-10-03T20:07:58.036Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-10-03T20:07:58.113Z] The recommended git tool is: git [2022-10-03T20:08:03.993Z] using credential edgex-jenkins-ssh [2022-10-03T20:08:04.010Z] Cloning the remote Git repository [2022-10-03T20:08:04.062Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-03T20:08:04.164Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-10-03T20:08:04.341Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-03T20:08:04.342Z] > git --version # timeout=10 [2022-10-03T20:08:04.365Z] > git --version # 'git version 2.25.1' [2022-10-03T20:08:04.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T20:08:04.420Z] Verifying host key using known hosts file [2022-10-03T20:08:04.639Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T20:08:04.653Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T20:08:06.834Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-03T20:08:06.860Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T20:08:07.764Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-03T20:08:07.815Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-03T20:08:07.817Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T20:08:07.823Z] Verifying host key using known hosts file [2022-10-03T20:08:07.831Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T20:08:07.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/217/head:refs/remotes/origin/PR-217 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T20:08:08.378Z] Merging remotes/origin/main commit fa2594666deb171bc078c2a791882f5db0311ade into PR head commit 6a92d6e74a31c5593ceffa978dbfd96e3064d613 [2022-10-03T20:08:08.643Z] Merge succeeded, producing 6a92d6e74a31c5593ceffa978dbfd96e3064d613 [2022-10-03T20:08:08.643Z] Checking out Revision 6a92d6e74a31c5593ceffa978dbfd96e3064d613 (PR-217) [2022-10-03T20:08:09.162Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-10-03T20:08:09.230Z] > git --version # timeout=10 [2022-10-03T20:08:09.255Z] > git --version # 'git version 2.25.1' [2022-10-03T20:08:09.277Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2022-10-03T20:08:08.395Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T20:08:08.415Z] > git checkout -f 6a92d6e74a31c5593ceffa978dbfd96e3064d613 # timeout=10 [2022-10-03T20:08:08.518Z] > git remote # timeout=10 [2022-10-03T20:08:08.539Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T20:08:08.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T20:08:08.577Z] Verifying host key using known hosts file [2022-10-03T20:08:08.582Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-03T20:08:08.592Z] > git merge fa2594666deb171bc078c2a791882f5db0311ade # timeout=10 [2022-10-03T20:08:08.621Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T20:08:08.648Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T20:08:08.674Z] > git checkout -f 6a92d6e74a31c5593ceffa978dbfd96e3064d613 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T20:08:10.404Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T20:08:10.404Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T20:08:10.404Z] Dload Upload Total Spent Left Speed [2022-10-03T20:08:10.404Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh [2022-10-03T20:08:11.055Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T20:08:11.409Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T20:08:11.409Z] + sudo tee /etc/docker/daemon.new [2022-10-03T20:08:11.409Z] { [2022-10-03T20:08:11.409Z] "registry-mirrors": [ [2022-10-03T20:08:11.409Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T20:08:11.409Z] ], [2022-10-03T20:08:11.409Z] "bip": "10.250.0.254/24", [2022-10-03T20:08:11.409Z] "hosts": [ [2022-10-03T20:08:11.409Z] "tcp://0.0.0.0:5555", [2022-10-03T20:08:11.409Z] "unix:///var/run/docker.sock" [2022-10-03T20:08:11.409Z] ], [2022-10-03T20:08:11.409Z] "mtu": 1458, [2022-10-03T20:08:11.409Z] "selinux-enabled": true, [2022-10-03T20:08:11.409Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T20:08:11.409Z] } [Pipeline] sh [2022-10-03T20:08:11.761Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T20:08:12.119Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T20:08:30.434Z] provisioning config files... [2022-10-03T20:08:30.462Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9879076947394345445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:08:30.851Z] ---> docker-login.sh [2022-10-03T20:08:30.851Z] nexus3.edgexfoundry.org:10001 [2022-10-03T20:08:31.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:08:31.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:08:31.438Z] Configure a credential helper to remove this warning. See [2022-10-03T20:08:31.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:08:31.438Z] [2022-10-03T20:08:31.438Z] Login Succeeded [2022-10-03T20:08:31.438Z] nexus3.edgexfoundry.org:10002 [2022-10-03T20:08:31.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:08:31.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:08:31.707Z] Configure a credential helper to remove this warning. See [2022-10-03T20:08:31.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:08:31.707Z] [2022-10-03T20:08:31.707Z] Login Succeeded [2022-10-03T20:08:31.707Z] nexus3.edgexfoundry.org:10003 [2022-10-03T20:08:31.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:08:32.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:08:32.247Z] Configure a credential helper to remove this warning. See [2022-10-03T20:08:32.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:08:32.247Z] [2022-10-03T20:08:32.247Z] Login Succeeded [2022-10-03T20:08:32.247Z] nexus3.edgexfoundry.org:10004 [2022-10-03T20:08:32.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:08:32.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:08:32.519Z] Configure a credential helper to remove this warning. See [2022-10-03T20:08:32.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:08:32.519Z] [2022-10-03T20:08:32.519Z] Login Succeeded [2022-10-03T20:08:32.519Z] docker.io [2022-10-03T20:08:32.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T20:08:33.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T20:08:33.056Z] Configure a credential helper to remove this warning. See [2022-10-03T20:08:33.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T20:08:33.056Z] [2022-10-03T20:08:33.056Z] Login Succeeded [2022-10-03T20:08:33.056Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T20:08:33.086Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T20:08:33.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:08:33.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T20:08:33.448Z] ========================================================= [2022-10-03T20:08:33.448Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T20:08:33.448Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:08:33.962Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-03T20:08:33.962Z] Sending build context to Docker daemon 127kB [2022-10-03T20:08:34.238Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:08:34.238Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T20:08:34.238Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T20:08:34.238Z] b3c136eddcbf: Pulling fs layer [2022-10-03T20:08:34.238Z] c0a3192eca97: Pulling fs layer [2022-10-03T20:08:34.238Z] a050256f5b6f: Pulling fs layer [2022-10-03T20:08:34.238Z] 656be50a0ddc: Pulling fs layer [2022-10-03T20:08:34.238Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T20:08:34.238Z] f607e4fc86c3: Pulling fs layer [2022-10-03T20:08:34.238Z] 4d572c569a2c: Pulling fs layer [2022-10-03T20:08:34.238Z] 2bbca73fdf42: Waiting [2022-10-03T20:08:34.238Z] 656be50a0ddc: Waiting [2022-10-03T20:08:34.238Z] f607e4fc86c3: Waiting [2022-10-03T20:08:34.238Z] 4d572c569a2c: Waiting [2022-10-03T20:08:34.238Z] fcf976331f73: Pulling fs layer [2022-10-03T20:08:34.238Z] fcf976331f73: Waiting [2022-10-03T20:08:34.238Z] a050256f5b6f: Verifying Checksum [2022-10-03T20:08:34.238Z] a050256f5b6f: Download complete [2022-10-03T20:08:34.238Z] c0a3192eca97: Verifying Checksum [2022-10-03T20:08:34.511Z] c0a3192eca97: Download complete [2022-10-03T20:08:34.511Z] 2bbca73fdf42: Verifying Checksum [2022-10-03T20:08:34.511Z] 2bbca73fdf42: Download complete [2022-10-03T20:08:34.511Z] f607e4fc86c3: Verifying Checksum [2022-10-03T20:08:34.511Z] f607e4fc86c3: Download complete [2022-10-03T20:08:34.511Z] b3c136eddcbf: Verifying Checksum [2022-10-03T20:08:35.105Z] b3c136eddcbf: Pull complete [2022-10-03T20:08:35.389Z] fcf976331f73: Verifying Checksum [2022-10-03T20:08:35.389Z] fcf976331f73: Download complete [2022-10-03T20:08:35.983Z] c0a3192eca97: Pull complete [2022-10-03T20:08:36.257Z] a050256f5b6f: Pull complete [2022-10-03T20:08:36.527Z] 4d572c569a2c: Verifying Checksum [2022-10-03T20:08:36.527Z] 4d572c569a2c: Download complete [2022-10-03T20:08:37.113Z] 656be50a0ddc: Download complete [2022-10-03T20:08:49.437Z] 656be50a0ddc: Pull complete [2022-10-03T20:08:49.437Z] 2bbca73fdf42: Pull complete [2022-10-03T20:08:49.437Z] f607e4fc86c3: Pull complete [2022-10-03T20:08:53.861Z] 4d572c569a2c: Pull complete [2022-10-03T20:08:55.301Z] fcf976331f73: Pull complete [2022-10-03T20:08:55.301Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T20:08:55.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T20:08:55.301Z] ---> 3970a7415f9e [2022-10-03T20:08:55.301Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:08:57.264Z] ---> Running in 33aa8f7c4017 [2022-10-03T20:08:57.530Z] Removing intermediate container 33aa8f7c4017 [2022-10-03T20:08:57.530Z] ---> edf9c90295b4 [2022-10-03T20:08:57.530Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:08:57.530Z] ---> Running in 0dea19ea0259 [2022-10-03T20:08:57.802Z] Removing intermediate container 0dea19ea0259 [2022-10-03T20:08:57.802Z] ---> 169936246118 [2022-10-03T20:08:57.802Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:08:58.070Z] ---> Running in cdb50b60e02b [2022-10-03T20:08:58.337Z] Removing intermediate container cdb50b60e02b [2022-10-03T20:08:58.337Z] ---> 3c072715e847 [2022-10-03T20:08:58.337Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:08:58.337Z] ---> Running in cf4827335754 [2022-10-03T20:08:58.602Z] Removing intermediate container cf4827335754 [2022-10-03T20:08:58.602Z] ---> 80ea27489207 [2022-10-03T20:08:58.602Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:08:58.869Z] ---> Running in fc5761195b1d [2022-10-03T20:09:00.833Z] Removing intermediate container fc5761195b1d [2022-10-03T20:09:00.833Z] ---> c3ebb694b32d [2022-10-03T20:09:00.833Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:09:00.833Z] ---> Running in 8c3caa87ec16 [2022-10-03T20:09:01.415Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T20:09:02.376Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T20:09:03.350Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T20:09:03.350Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T20:09:03.350Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T20:09:03.622Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T20:09:03.622Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T20:09:03.622Z] OK: 226 MiB in 55 packages [2022-10-03T20:09:04.590Z] Removing intermediate container 8c3caa87ec16 [2022-10-03T20:09:04.590Z] ---> e7c4bd8038ea [2022-10-03T20:09:04.590Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-03T20:09:04.858Z] ---> Running in bef4168dcc39 [2022-10-03T20:09:05.128Z] Removing intermediate container bef4168dcc39 [2022-10-03T20:09:05.128Z] ---> 4eb035236d1f [2022-10-03T20:09:05.128Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T20:09:05.714Z] ---> 78209d173c9c [2022-10-03T20:09:05.714Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:09:05.714Z] ---> Running in be3547bfbef6 [2022-10-03T20:10:02.144Z] Removing intermediate container be3547bfbef6 [2022-10-03T20:10:02.144Z] ---> deeda2e3a1d4 [2022-10-03T20:10:02.144Z] Step 12/13 : COPY . . [2022-10-03T20:10:02.144Z] ---> 1379d4de429c [2022-10-03T20:10:02.144Z] Step 13/13 : RUN $MAKE [2022-10-03T20:10:02.144Z] ---> Running in 05e34f40a2b5 [2022-10-03T20:10:02.144Z] noop [2022-10-03T20:10:02.144Z] Removing intermediate container 05e34f40a2b5 [2022-10-03T20:10:02.144Z] ---> ef713225aa2e [2022-10-03T20:10:02.144Z] Successfully built ef713225aa2e [2022-10-03T20:10:02.144Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:10:02.639Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T20:10:02.639Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:10:02.903Z] prd-ubuntu20.04-docker-arm64-4c-16g-6934 does not seem to be running inside a container [2022-10-03T20:10:02.980Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T20:10:04.282Z] $ docker top a1bc7ec62af6ecaabbf59c20292ad512feeb024c463b4e0dc3d02b50b3c493a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:10:05.172Z] + go version [2022-10-03T20:10:05.172Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T20:10:05.209Z] $ docker stop --time=1 a1bc7ec62af6ecaabbf59c20292ad512feeb024c463b4e0dc3d02b50b3c493a2 [2022-10-03T20:10:06.845Z] $ docker rm -f a1bc7ec62af6ecaabbf59c20292ad512feeb024c463b4e0dc3d02b50b3c493a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:10:07.667Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T20:10:07.667Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:10:07.909Z] prd-ubuntu20.04-docker-arm64-4c-16g-6934 does not seem to be running inside a container [2022-10-03T20:10:07.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-03T20:10:09.166Z] $ docker top 28817cf285f2d8e88c17b115fb6a7292c769ba64cc05cb1dd269006d0ef51be1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:10:09.720Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T20:10:10.372Z] + make test [2022-10-03T20:10:10.373Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T20:10:12.325Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-03T20:11:49.076Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-03T20:11:49.077Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements [2022-10-03T20:11:49.077Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T20:11:49.077Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T20:12:11.200Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T20:12:11.200Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T20:12:11.200Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T20:12:11.244Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T20:12:11.277Z] $ docker stop --time=1 28817cf285f2d8e88c17b115fb6a7292c769ba64cc05cb1dd269006d0ef51be1 [2022-10-03T20:12:13.223Z] $ docker rm -f 28817cf285f2d8e88c17b115fb6a7292c769ba64cc05cb1dd269006d0ef51be1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T20:12:14.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T20:12:14.422Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T20:12:14.995Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T20:12:15.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T20:12:15.945Z] + ls -al . [2022-10-03T20:12:15.945Z] total 176 [2022-10-03T20:12:15.945Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:10 . [2022-10-03T20:12:15.945Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:08 .. [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 3 20:08 .dockerignore [2022-10-03T20:12:15.945Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 20:08 .git [2022-10-03T20:12:15.945Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:08 .github [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 20:08 .gitignore [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 20:08 .golangci.yml [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 3 20:08 Attribution.txt [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 3 20:08 CHANGELOG.md [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 3 20:08 Dockerfile [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 20:08 GOVERNANCE.md [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 3 20:08 Jenkinsfile [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 20:08 LICENSE [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 3 20:08 Makefile [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 20:08 OWNERS.md [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 3 20:08 README.md [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 20:05 VERSION [2022-10-03T20:12:15.945Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:08 bin [2022-10-03T20:12:15.945Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 20:08 cmd [2022-10-03T20:12:15.945Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 3 20:11 coverage.out [2022-10-03T20:12:15.945Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 20:08 driver [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 3 20:08 go.mod [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 20:08 go.sum [2022-10-03T20:12:15.945Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 20:08 snap [2022-10-03T20:12:15.945Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 3 20:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:12:16.369Z] + 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=6a92d6e74a31c5593ceffa978dbfd96e3064d613 --label arch=arm64 --label version=0.0.0 . [2022-10-03T20:12:16.369Z] Sending build context to Docker daemon 137.2kB [2022-10-03T20:12:16.638Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T20:12:16.638Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-03T20:12:16.638Z] ---> ef713225aa2e [2022-10-03T20:12:16.638Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-03T20:12:16.910Z] ---> Running in 00d3a970871b [2022-10-03T20:12:17.183Z] Removing intermediate container 00d3a970871b [2022-10-03T20:12:17.183Z] ---> 9f44a50f64a3 [2022-10-03T20:12:17.183Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T20:12:17.183Z] ---> Running in 3abea0511882 [2022-10-03T20:12:17.772Z] Removing intermediate container 3abea0511882 [2022-10-03T20:12:17.772Z] ---> e1783d219e25 [2022-10-03T20:12:17.772Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T20:12:17.772Z] ---> Running in 482fecfd754c [2022-10-03T20:12:18.043Z] Removing intermediate container 482fecfd754c [2022-10-03T20:12:18.043Z] ---> 1f599c068bdb [2022-10-03T20:12:18.043Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T20:12:18.315Z] ---> Running in 7a77d9f6bbe2 [2022-10-03T20:12:18.586Z] Removing intermediate container 7a77d9f6bbe2 [2022-10-03T20:12:18.586Z] ---> a327f57e3f2c [2022-10-03T20:12:18.586Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T20:12:18.586Z] ---> Running in c52813acbcac [2022-10-03T20:12:20.542Z] Removing intermediate container c52813acbcac [2022-10-03T20:12:20.542Z] ---> 7db5bd5bf25e [2022-10-03T20:12:20.542Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T20:12:20.823Z] ---> Running in 0a235a249e85 [2022-10-03T20:12:21.843Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T20:12:23.274Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T20:12:24.705Z] OK: 226 MiB in 55 packages [2022-10-03T20:12:25.672Z] Removing intermediate container 0a235a249e85 [2022-10-03T20:12:25.672Z] ---> 67d43b8d49a7 [2022-10-03T20:12:25.672Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-03T20:12:25.947Z] ---> Running in a7143d367300 [2022-10-03T20:12:26.214Z] Removing intermediate container a7143d367300 [2022-10-03T20:12:26.214Z] ---> 6e36c69a8cb5 [2022-10-03T20:12:26.214Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-03T20:12:27.178Z] ---> e568444b2860 [2022-10-03T20:12:27.178Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T20:12:27.178Z] ---> Running in 2068347c8cf2 [2022-10-03T20:12:30.520Z] Removing intermediate container 2068347c8cf2 [2022-10-03T20:12:30.520Z] ---> 8bd6f3d7c9dd [2022-10-03T20:12:30.520Z] Step 12/26 : COPY . . [2022-10-03T20:12:31.110Z] ---> 8a9e66278d03 [2022-10-03T20:12:31.110Z] Step 13/26 : RUN $MAKE [2022-10-03T20:12:31.110Z] ---> Running in 2e2f3e466a98 [2022-10-03T20:12:32.532Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-03T20:15:09.289Z] Removing intermediate container 2e2f3e466a98 [2022-10-03T20:15:09.289Z] ---> dfa9a78e3391 [2022-10-03T20:15:09.289Z] Step 14/26 : FROM alpine:3.16 [2022-10-03T20:15:09.289Z] 3.16: Pulling from library/alpine [2022-10-03T20:15:09.289Z] 9b18e9b68314: Pulling fs layer [2022-10-03T20:15:09.289Z] 9b18e9b68314: Verifying Checksum [2022-10-03T20:15:09.289Z] 9b18e9b68314: Download complete [2022-10-03T20:15:09.289Z] 9b18e9b68314: Pull complete [2022-10-03T20:15:09.289Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T20:15:09.289Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T20:15:09.289Z] ---> a6215f271958 [2022-10-03T20:15:09.289Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-03T20:15:09.289Z] ---> Running in 09a5cb014092 [2022-10-03T20:15:09.289Z] Removing intermediate container 09a5cb014092 [2022-10-03T20:15:09.289Z] ---> 6adcf04455a9 [2022-10-03T20:15:09.289Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-03T20:15:09.289Z] ---> Running in 1438954f882a [2022-10-03T20:15:09.557Z] Removing intermediate container 1438954f882a [2022-10-03T20:15:09.557Z] ---> 1da92c630372 [2022-10-03T20:15:09.557Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T20:15:09.557Z] ---> Running in 4e1669b1f746 [2022-10-03T20:15:10.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T20:15:10.788Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T20:15:12.206Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T20:15:12.206Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T20:15:12.206Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T20:15:12.206Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T20:15:12.206Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T20:15:12.206Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T20:15:12.206Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T20:15:12.206Z] OK: 8 MiB in 20 packages [2022-10-03T20:15:13.176Z] Removing intermediate container 4e1669b1f746 [2022-10-03T20:15:13.176Z] ---> f460fa7a3e4a [2022-10-03T20:15:13.176Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-03T20:15:14.589Z] ---> de4c29dbe718 [2022-10-03T20:15:14.589Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-03T20:15:15.174Z] ---> 56a3dc900cfe [2022-10-03T20:15:15.174Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-03T20:15:15.758Z] ---> ae089b3ceeb9 [2022-10-03T20:15:15.758Z] Step 21/26 : EXPOSE 59986 [2022-10-03T20:15:15.758Z] ---> Running in c99059917023 [2022-10-03T20:15:16.027Z] Removing intermediate container c99059917023 [2022-10-03T20:15:16.027Z] ---> 3a909c512756 [2022-10-03T20:15:16.027Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-03T20:15:16.297Z] ---> Running in 9f043837005c [2022-10-03T20:15:16.566Z] Removing intermediate container 9f043837005c [2022-10-03T20:15:16.566Z] ---> 339de36f415d [2022-10-03T20:15:16.566Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-03T20:15:16.566Z] ---> Running in 993d8d732925 [2022-10-03T20:15:16.839Z] Removing intermediate container 993d8d732925 [2022-10-03T20:15:16.839Z] ---> 9000806887b2 [2022-10-03T20:15:16.839Z] Step 24/26 : LABEL arch=arm64 [2022-10-03T20:15:17.120Z] ---> Running in 072004c99a37 [2022-10-03T20:15:17.120Z] Removing intermediate container 072004c99a37 [2022-10-03T20:15:17.120Z] ---> 265d818b0d03 [2022-10-03T20:15:17.120Z] Step 25/26 : LABEL git_sha=6a92d6e74a31c5593ceffa978dbfd96e3064d613 [2022-10-03T20:15:17.387Z] ---> Running in 02b9cd8a4e63 [2022-10-03T20:15:17.661Z] Removing intermediate container 02b9cd8a4e63 [2022-10-03T20:15:17.661Z] ---> d34e5221f268 [2022-10-03T20:15:17.661Z] Step 26/26 : LABEL version=0.0.0 [2022-10-03T20:15:17.661Z] ---> Running in 538eab0b7212 [2022-10-03T20:15:17.930Z] Removing intermediate container 538eab0b7212 [2022-10-03T20:15:17.930Z] ---> 68e813b6b322 [2022-10-03T20:15:17.930Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T20:15:17.930Z] Successfully built 68e813b6b322 [2022-10-03T20:15:18.198Z] 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 [2022-10-03T20:15:18.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T20:15:18.991Z] [2022-10-03T20:15:18.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:15:19.391Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T20:15:19.391Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T20:15:19.391Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T20:15:19.391Z] 04944245beec: Pulling fs layer [2022-10-03T20:15:19.391Z] 699f458cf7ca: Pulling fs layer [2022-10-03T20:15:19.391Z] 765212b225bb: Pulling fs layer [2022-10-03T20:15:19.391Z] f23df028b6ca: Pulling fs layer [2022-10-03T20:15:19.391Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T20:15:19.391Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T20:15:19.391Z] 765212b225bb: Waiting [2022-10-03T20:15:19.391Z] f23df028b6ca: Waiting [2022-10-03T20:15:19.391Z] d65c8cfc05b1: Waiting [2022-10-03T20:15:19.391Z] 2437ff75d9bd: Waiting [2022-10-03T20:15:19.663Z] 04944245beec: Verifying Checksum [2022-10-03T20:15:19.663Z] 04944245beec: Download complete [2022-10-03T20:15:19.663Z] 765212b225bb: Download complete [2022-10-03T20:15:19.663Z] f23df028b6ca: Download complete [2022-10-03T20:15:19.663Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T20:15:19.663Z] d65c8cfc05b1: Download complete [2022-10-03T20:15:19.938Z] 699f458cf7ca: Verifying Checksum [2022-10-03T20:15:19.938Z] 699f458cf7ca: Download complete [2022-10-03T20:15:20.297Z] 8998bd30e6a1: Download complete [2022-10-03T20:15:22.951Z] 2437ff75d9bd: Verifying Checksum [2022-10-03T20:15:24.939Z] 8998bd30e6a1: Pull complete [2022-10-03T20:15:25.205Z] 04944245beec: Pull complete [2022-10-03T20:15:26.612Z] 699f458cf7ca: Pull complete [2022-10-03T20:15:26.880Z] 765212b225bb: Pull complete [2022-10-03T20:15:27.465Z] f23df028b6ca: Pull complete [2022-10-03T20:15:27.733Z] d65c8cfc05b1: Pull complete [2022-10-03T20:15:42.737Z] 2437ff75d9bd: Pull complete [2022-10-03T20:15:42.737Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T20:15:42.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T20:15:42.737Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:15:43.061Z] prd-ubuntu20.04-docker-arm64-4c-16g-6934 does not seem to be running inside a container [2022-10-03T20:15:43.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-03T20:15:45.853Z] $ docker top 35510b0c6adaa387f2b8a361a4e6fbdde1a01f75c4c1f023ec0e2ad4fb3a0904 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:15:46.787Z] ---> job-cost.sh [2022-10-03T20:15:46.787Z] lf-activate-venv: SKIPPING [2022-10-03T20:15:46.787Z] INFO: No Stack... [2022-10-03T20:15:47.371Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T20:15:48.335Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T20:15:48.997Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-10-03T20:15:48.998Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T20:15:49.095Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] [2022-10-03T20:15:49.100Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] did not exist. Created. [2022-10-03T20:15:49.100Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T20:15:49.830Z] /w/workspace/device-rest-go/1@tmp/durable-501cfa63/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T20:15:50.505Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T20:15:50.538Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T20:15:50.585Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T20:15:50.600Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-217-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T20:15:50.671Z] $ docker stop --time=1 35510b0c6adaa387f2b8a361a4e6fbdde1a01f75c4c1f023ec0e2ad4fb3a0904 [2022-10-03T20:15:52.204Z] $ docker rm -f 35510b0c6adaa387f2b8a361a4e6fbdde1a01f75c4c1f023ec0e2ad4fb3a0904 [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 [2022-10-03T20:15:53.141Z] provisioning config files... [2022-10-03T20:15:53.148Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/config16359899656079080201tmp [Pipeline] { [Pipeline] sh [2022-10-03T20:15:53.480Z] + set +x [2022-10-03T20:15:53.480Z] + curl -s https://codecov.io/bash [2022-10-03T20:15:53.480Z] + bash -s -- [2022-10-03T20:15:53.480Z] [2022-10-03T20:15:53.480Z] _____ _ [2022-10-03T20:15:53.480Z] / ____| | | [2022-10-03T20:15:53.480Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T20:15:53.480Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T20:15:53.480Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T20:15:53.480Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T20:15:53.480Z] Bash-1.0.6 [2022-10-03T20:15:53.480Z] [2022-10-03T20:15:53.480Z] [2022-10-03T20:15:53.480Z] ==> git version 2.25.1 found [2022-10-03T20:15:53.480Z] ==> 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 [2022-10-03T20:15:53.480Z] Release-Date: 2020-01-08 [2022-10-03T20:15:53.480Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-03T20:15:53.480Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T20:15:53.480Z] ==> Jenkins CI detected. [2022-10-03T20:15:53.480Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-217 [2022-10-03T20:15:53.480Z] project root: . [2022-10-03T20:15:53.480Z] --> token set from env [2022-10-03T20:15:53.480Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T20:15:53.480Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T20:15:53.480Z] ==> Python coveragepy not found [2022-10-03T20:15:53.480Z] ==> Searching for coverage reports in: [2022-10-03T20:15:53.480Z] + . [2022-10-03T20:15:53.480Z] -> Found 1 reports [2022-10-03T20:15:53.480Z] ==> Detecting git/mercurial file structure [2022-10-03T20:15:53.480Z] ==> Reading reports [2022-10-03T20:15:53.480Z] + ./coverage.out bytes=9355 [2022-10-03T20:15:53.480Z] ==> Appending adjustments [2022-10-03T20:15:53.480Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T20:15:53.739Z] + Found adjustments [2022-10-03T20:15:53.739Z] ==> Gzipping contents [2022-10-03T20:15:53.739Z] 4.0K /tmp/codecov.o9SEUV.gz [2022-10-03T20:15:53.739Z] ==> Uploading reports [2022-10-03T20:15:53.739Z] url: https://codecov.io [2022-10-03T20:15:53.739Z] query: branch=PR-217&commit=6a92d6e74a31c5593ceffa978dbfd96e3064d613&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=217&job=&cmd_args= [2022-10-03T20:15:53.739Z] -> Pinging Codecov [2022-10-03T20:15:53.739Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-217&commit=6a92d6e74a31c5593ceffa978dbfd96e3064d613&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-217%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=217&job=&cmd_args= [2022-10-03T20:15:53.998Z] -> Uploading to [2022-10-03T20:15:53.998Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/4E5D53B4F1F92C436F7061BF334D961C/6a92d6e74a31c5593ceffa978dbfd96e3064d613/8af74d95-93b9-4302-bdf7-04fc97fbeabd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T201553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18728460060c4a0a96f98f9bc3b3c3c5eeeea76996179d7d09a113e39a08999e [2022-10-03T20:15:53.998Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T20:15:53.998Z] Dload Upload Total Spent Left Speed [2022-10-03T20:15:54.258Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7181 --:--:-- --:--:-- --:--:-- 7181 [2022-10-03T20:15:54.258Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6a92d6e74a31c5593ceffa978dbfd96e3064d613 [Pipeline] } [2022-10-03T20:15:54.288Z] 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 [2022-10-03T20:15:56.077Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-217/archives ] [2022-10-03T20:15:56.077Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-217/archives [2022-10-03T20:15:56.077Z] total 16 [2022-10-03T20:15:56.077Z] drwxr-xr-x 3 root root 4096 Oct 3 20:06 . [2022-10-03T20:15:56.077Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:06 .. [2022-10-03T20:15:56.077Z] drwxr-xr-x 2 root root 4096 Oct 3 20:06 cost [2022-10-03T20:15:56.077Z] -rw-r--r-- 1 root root 86 Oct 3 20:06 cost.csv [2022-10-03T20:15:56.077Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-217/archives [2022-10-03T20:15:56.077Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-217/archives [2022-10-03T20:15:56.077Z] total 16 [2022-10-03T20:15:56.077Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 20:06 . [2022-10-03T20:15:56.077Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 20:06 .. [2022-10-03T20:15:56.077Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 20:06 cost [2022-10-03T20:15:56.077Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 3 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:15:56.402Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:15:57.286Z] ---> package-listing.sh [2022-10-03T20:15:57.286Z] ++ facter osfamily [2022-10-03T20:15:57.286Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T20:15:57.545Z] + OS_FAMILY=debian [2022-10-03T20:15:57.545Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-217 [2022-10-03T20:15:57.545Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T20:15:57.545Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T20:15:57.545Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T20:15:57.545Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T20:15:57.545Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-217 ']' [2022-10-03T20:15:57.545Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T20:15:57.545Z] + case "${OS_FAMILY}" in [2022-10-03T20:15:57.545Z] + dpkg -l [2022-10-03T20:15:57.545Z] + grep '^ii' [2022-10-03T20:15:57.545Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T20:15:57.545Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T20:15:57.545Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T20:15:57.545Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-217 ']' [2022-10-03T20:15:57.545Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-217/archives/ [2022-10-03T20:15:57.545Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-217/archives/ [Pipeline] echo [2022-10-03T20:15:57.575Z] 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-217/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T20:15:57.869Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T20:15:58.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T20:15:58.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T20:15:58.609Z] prd-ubuntu20.04-docker-8c-8g-6932 does not seem to be running inside a container [2022-10-03T20:15:58.630Z] $ 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-217/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-217 -v /w/workspace/gexfoundry_device-rest-go_PR-217:/w/workspace/gexfoundry_device-rest-go_PR-217:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-217@tmp:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T20:15:58.837Z] $ docker top d6f807ebab5b06d1f4353f87d96dbf79542ede7a556e73443e478d91c6768369 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T20:15:59.225Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T20:15:59.532Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T20:15:59.840Z] + ls /var/log/sa-host [2022-10-03T20:15:59.840Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T20:15:59.967Z] provisioning config files... [2022-10-03T20:15:59.975Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-217@tmp/config4392489054663755220tmp [Pipeline] { [Pipeline] echo [2022-10-03T20:16:00.031Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:16:00.342Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T20:16:00.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:16:00.765Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T20:16:00.799Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:16:01.110Z] ---> sudo-logs.sh [2022-10-03T20:16:01.110Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T20:16:01.197Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:16:01.508Z] ---> job-cost.sh [2022-10-03T20:16:01.508Z] lf-activate-venv: SKIPPING [2022-10-03T20:16:01.508Z] DEBUG: total: 0.2199999988079071 [2022-10-03T20:16:01.508Z] INFO: Retrieving Stack Cost... [2022-10-03T20:16:02.077Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T20:16:02.336Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T20:16:02.370Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T20:16:02.680Z] ---> logs-deploy.sh [2022-10-03T20:16:02.680Z] lf-activate-venv: SKIPPING [2022-10-03T20:16:02.680Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-217/1 [2022-10-03T20:16:02.680Z] INFO: archiving workspace using pattern(s): [2022-10-03T20:16:03.616Z] Archives upload complete. [2022-10-03T20:16:03.616Z] INFO: archiving logs to Nexus