Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c825c9e02f55f2d37ee60cfba734680a35820bea 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-ssh12315395288604644919.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh4605267178883544155.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1268660432807437088.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17460865338432023229.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5171759985856416581.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1763 in /w/workspace/exfoundry_device-rest-go_jakarta [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/exfoundry_device-rest-go_jakarta # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c825c9e02f55f2d37ee60cfba734680a35820bea (jakarta) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c825c9e02f55f2d37ee60cfba734680a35820bea # timeout=10 Commit message: "fix(snap): expose parent directory in device-config plug (Jakarta) (#196)" > git rev-list --no-walk 6ebceb65a7426d72f493083b4c0a3b77c8bc8a32 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-08T15:58:26.802Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-08T15:58:26.852Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-08T15:58:26.870Z] ========================================================= [2022-06-08T15:58:26.870Z] EdgeX Global Pipelines Version Info [2022-06-08T15:58:26.870Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:58:27.711Z] ------------------- [2022-06-08T15:58:27.711Z] stable info: [2022-06-08T15:58:27.711Z] ------------------- [2022-06-08T15:58:27.711Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-08T15:58:27.711Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T15:58:27.711Z] Message: update stable to v1.0.234 [2022-06-08T15:58:28.292Z] ------------------- [2022-06-08T15:58:28.292Z] experimental info: [2022-06-08T15:58:28.292Z] ------------------- [2022-06-08T15:58:28.292Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-08T15:58:28.292Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T15:58:28.292Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-08T15:58:28.537Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-08T15:58:28.551Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-08T15:58:28.561Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-08T15:58:28.573Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-08T15:58:28.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-08T15:58:28.604Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-08T15:58:28.616Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-08T15:58:28.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-08T15:58:28.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-08T15:58:28.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-08T15:58:28.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-08T15:58:28.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-08T15:58:28.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-08T15:58:28.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-08T15:58:28.725Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T15:58:28.736Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T15:58:28.748Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T15:58:28.760Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T15:58:28.779Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-08T15:58:28.790Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-08T15:58:28.805Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-08T15:58:28.822Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-08T15:58:28.839Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-08T15:58:28.849Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-08T15:58:28.861Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-08T15:58:28.872Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-08T15:58:28.883Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-08T15:58:28.895Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo [2022-06-08T15:58:28.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo [2022-06-08T15:58:28.925Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo [2022-06-08T15:58:28.940Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] echo [2022-06-08T15:58:28.958Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c825c9e [Pipeline] echo [2022-06-08T15:58:28.969Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T15:58:29.015Z] provisioning config files... [2022-06-08T15:58:29.027Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config2620106904165033564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:58:29.329Z] ---> docker-login.sh [2022-06-08T15:58:29.329Z] nexus3.edgexfoundry.org:10001 [2022-06-08T15:58:29.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:58:29.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:58:29.590Z] Configure a credential helper to remove this warning. See [2022-06-08T15:58:29.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:58:29.590Z] [2022-06-08T15:58:29.590Z] Login Succeeded [2022-06-08T15:58:29.590Z] nexus3.edgexfoundry.org:10002 [2022-06-08T15:58:29.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:58:29.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:58:29.851Z] Configure a credential helper to remove this warning. See [2022-06-08T15:58:29.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:58:29.851Z] [2022-06-08T15:58:29.851Z] Login Succeeded [2022-06-08T15:58:29.851Z] nexus3.edgexfoundry.org:10003 [2022-06-08T15:58:29.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:58:29.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:58:29.851Z] Configure a credential helper to remove this warning. See [2022-06-08T15:58:29.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:58:29.851Z] [2022-06-08T15:58:29.851Z] Login Succeeded [2022-06-08T15:58:29.851Z] nexus3.edgexfoundry.org:10004 [2022-06-08T15:58:29.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:58:30.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:58:30.117Z] Configure a credential helper to remove this warning. See [2022-06-08T15:58:30.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:58:30.117Z] [2022-06-08T15:58:30.117Z] Login Succeeded [2022-06-08T15:58:30.117Z] docker.io [2022-06-08T15:58:30.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:58:30.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:58:30.378Z] Configure a credential helper to remove this warning. See [2022-06-08T15:58:30.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:58:30.378Z] [2022-06-08T15:58:30.378Z] Login Succeeded [2022-06-08T15:58:30.378Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T15:58:30.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-08T15:58:30.774Z] + git rev-list -1 --merges c825c9e02f55f2d37ee60cfba734680a35820bea~1..c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] echo [2022-06-08T15:58:30.808Z] -----------> git rev-list -1 --merges c825c9e02f55f2d37ee60cfba734680a35820bea~1..c825c9e02f55f2d37ee60cfba734680a35820bea c825c9e02f55f2d37ee60cfba734680a35820bea [false] [Pipeline] sh [2022-06-08T15:58:31.104Z] + git log --format=format:%s -1 c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] echo [2022-06-08T15:58:31.119Z] ========================================================= [2022-06-08T15:58:31.119Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-08T15:58:31.119Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T15:58:31.448Z] + git log --format=format:%s -1 c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] echo [2022-06-08T15:58:31.459Z] [semverPrep] GIT_COMMIT: c825c9e02f55f2d37ee60cfba734680a35820bea, Commit Message: fix(snap): expose parent directory in device-config plug (Jakarta) (#196) [Pipeline] echo [2022-06-08T15:58:31.470Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-08T15:58:31.813Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T15:58:31.813Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-08T15:58:31.813Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-08T15:58:31.813Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-08T15:58:31.813Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-08T15:58:31.813Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-08T15:58:31.813Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:58:32.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T15:58:32.172Z] [2022-06-08T15:58:32.172Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:58:32.487Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T15:58:32.487Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-08T15:58:32.487Z] 42c077c10790: Pulling fs layer [2022-06-08T15:58:32.487Z] f63e77b7563a: Pulling fs layer [2022-06-08T15:58:32.487Z] bd5fdadae976: Pulling fs layer [2022-06-08T15:58:32.487Z] 205491f53016: Pulling fs layer [2022-06-08T15:58:32.487Z] df18705c85c3: Pulling fs layer [2022-06-08T15:58:32.487Z] bdb3f477010e: Pulling fs layer [2022-06-08T15:58:32.487Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-08T15:58:32.487Z] 2c6e9b1d212d: Pulling fs layer [2022-06-08T15:58:32.487Z] bdb8f0575790: Pulling fs layer [2022-06-08T15:58:32.487Z] 386e3cb2ff24: Pulling fs layer [2022-06-08T15:58:32.487Z] 2343380bae48: Pulling fs layer [2022-06-08T15:58:32.487Z] df18705c85c3: Waiting [2022-06-08T15:58:32.487Z] bdb3f477010e: Waiting [2022-06-08T15:58:32.487Z] 205491f53016: Waiting [2022-06-08T15:58:32.487Z] c8a8fc8e1c8f: Waiting [2022-06-08T15:58:32.487Z] 386e3cb2ff24: Waiting [2022-06-08T15:58:32.487Z] bdb8f0575790: Waiting [2022-06-08T15:58:32.487Z] 2343380bae48: Waiting [2022-06-08T15:58:32.487Z] f63e77b7563a: Download complete [2022-06-08T15:58:32.487Z] 205491f53016: Download complete [2022-06-08T15:58:32.746Z] df18705c85c3: Verifying Checksum [2022-06-08T15:58:32.747Z] df18705c85c3: Download complete [2022-06-08T15:58:32.747Z] bdb3f477010e: Verifying Checksum [2022-06-08T15:58:32.747Z] bdb3f477010e: Download complete [2022-06-08T15:58:32.747Z] bd5fdadae976: Verifying Checksum [2022-06-08T15:58:32.747Z] bd5fdadae976: Download complete [2022-06-08T15:58:32.747Z] 2c6e9b1d212d: Download complete [2022-06-08T15:58:32.747Z] bdb8f0575790: Download complete [2022-06-08T15:58:32.747Z] 386e3cb2ff24: Download complete [2022-06-08T15:58:32.747Z] 2343380bae48: Download complete [2022-06-08T15:58:32.747Z] 42c077c10790: Verifying Checksum [2022-06-08T15:58:32.747Z] 42c077c10790: Download complete [2022-06-08T15:58:33.005Z] c8a8fc8e1c8f: Download complete [2022-06-08T15:58:33.946Z] 42c077c10790: Pull complete [2022-06-08T15:58:34.206Z] f63e77b7563a: Pull complete [2022-06-08T15:58:34.467Z] bd5fdadae976: Pull complete [2022-06-08T15:58:34.726Z] 205491f53016: Pull complete [2022-06-08T15:58:34.726Z] df18705c85c3: Pull complete [2022-06-08T15:58:34.986Z] bdb3f477010e: Pull complete [2022-06-08T15:58:36.892Z] c8a8fc8e1c8f: Pull complete [2022-06-08T15:58:36.892Z] 2c6e9b1d212d: Pull complete [2022-06-08T15:58:36.892Z] bdb8f0575790: Pull complete [2022-06-08T15:58:36.892Z] 386e3cb2ff24: Pull complete [2022-06-08T15:58:36.892Z] 2343380bae48: Pull complete [2022-06-08T15:58:36.892Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-08T15:58:36.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T15:58:36.892Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:58:36.986Z] prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container [2022-06-08T15:58:37.027Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T15:58:38.263Z] $ docker top fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c -eo pid,comm [2022-06-08T15:58:38.319Z] 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-06-08T15:58:38.319Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T15:58:38.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T15:58:38.353Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T15:58:38.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T15:58:38.481Z] $ docker exec fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c ssh-agent [2022-06-08T15:58:38.583Z] SSH_AUTH_SOCK=/tmp/ssh-FbsQkXAf50QG/agent.33 [2022-06-08T15:58:38.583Z] SSH_AGENT_PID=39 [2022-06-08T15:58:38.589Z] Running ssh-add (command line suppressed) [2022-06-08T15:58:38.702Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6679419047774277614.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6679419047774277614.key) [2022-06-08T15:58:38.722Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T15:58:39.007Z] + git tag --points-at HEAD [Pipeline] } [2022-06-08T15:58:39.024Z] $ docker exec --env ******** --env ******** fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c ssh-agent -k [2022-06-08T15:58:39.133Z] unset SSH_AUTH_SOCK; [2022-06-08T15:58:39.133Z] unset SSH_AGENT_PID; [2022-06-08T15:58:39.133Z] echo Agent pid 39 killed; [2022-06-08T15:58:39.140Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-08T15:58:39.161Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T15:58:39.161Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T15:58:39.300Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T15:58:39.307Z] $ docker exec fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c ssh-agent [2022-06-08T15:58:39.420Z] SSH_AUTH_SOCK=/tmp/ssh-bDYhWzmmVdcC/agent.72 [2022-06-08T15:58:39.421Z] SSH_AGENT_PID=78 [2022-06-08T15:58:39.426Z] Running ssh-add (command line suppressed) [2022-06-08T15:58:39.546Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_1005173972955600098.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_1005173972955600098.key) [2022-06-08T15:58:39.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T15:58:39.839Z] + git semver init [2022-06-08T15:58:40.099Z] 2022-06-08 15:58:40,050 [run_init] DEBUG init version:0.0.0 force:False [2022-06-08T15:58:40.099Z] 2022-06-08 15:58:40,051 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-rest-go_jakarta/.semver [2022-06-08T15:58:40.099Z] 2022-06-08 15:58:40,051 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/exfoundry_device-rest-go_jakarta/.semver [2022-06-08T15:58:40.099Z] 2022-06-08 15:58:40,051 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/exfoundry_device-rest-go_jakarta/.semver'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-08T15:58:41.046Z] 2022-06-08 15:58:40,898 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-rest-go_jakarta/.git/info/exclude [2022-06-08T15:58:41.046Z] 2022-06-08 15:58:40,899 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:False [2022-06-08T15:58:41.046Z] 2022-06-08 15:58:40,899 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-08T15:58:41.046Z] 2022-06-08 15:58:40,899 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-08T15:58:41.046Z] 2.1.1-dev.3 [Pipeline] } [2022-06-08T15:58:41.063Z] $ docker exec --env ******** --env ******** fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c ssh-agent -k [2022-06-08T15:58:41.175Z] unset SSH_AUTH_SOCK; [2022-06-08T15:58:41.176Z] unset SSH_AGENT_PID; [2022-06-08T15:58:41.176Z] echo Agent pid 78 killed; [2022-06-08T15:58:41.181Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T15:58:41.492Z] + git semver [Pipeline] } [2022-06-08T15:58:41.770Z] $ docker stop --time=1 fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c [2022-06-08T15:58:43.085Z] $ docker rm -f fad6998022701ca6872467a5701a3027e73a563085768604ae74a9dc1ea41d5c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T15:58:43.440Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-08T15:58:43.686Z] Stashed 1 file(s) [Pipeline] echo [2022-06-08T15:58:43.689Z] [edgeXSemver]: initialized semver on version 2.1.1-dev.3 [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-06-08T15:58:43.837Z] provisioning config files... [2022-06-08T15:58:43.849Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8422967344762195042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:58:44.146Z] ---> docker-login.sh [2022-06-08T15:58:44.146Z] nexus3.edgexfoundry.org:10001 [2022-06-08T15:58:44.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:58:44.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:58:44.146Z] Configure a credential helper to remove this warning. See [2022-06-08T15:58:44.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:58:44.146Z] [2022-06-08T15:58:44.146Z] Login Succeeded [2022-06-08T15:58:44.146Z] nexus3.edgexfoundry.org:10002 [2022-06-08T15:58:44.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:58:44.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:58:44.146Z] Configure a credential helper to remove this warning. See [2022-06-08T15:58:44.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:58:44.146Z] [2022-06-08T15:58:44.146Z] Login Succeeded [2022-06-08T15:58:44.146Z] nexus3.edgexfoundry.org:10003 [2022-06-08T15:58:44.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:58:44.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:58:44.404Z] Configure a credential helper to remove this warning. See [2022-06-08T15:58:44.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:58:44.404Z] [2022-06-08T15:58:44.404Z] Login Succeeded [2022-06-08T15:58:44.404Z] nexus3.edgexfoundry.org:10004 [2022-06-08T15:58:44.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:58:44.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:58:44.663Z] Configure a credential helper to remove this warning. See [2022-06-08T15:58:44.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:58:44.663Z] [2022-06-08T15:58:44.663Z] Login Succeeded [2022-06-08T15:58:44.663Z] docker.io [2022-06-08T15:58:44.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:58:44.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:58:44.923Z] Configure a credential helper to remove this warning. See [2022-06-08T15:58:44.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:58:44.923Z] [2022-06-08T15:58:44.923Z] Login Succeeded [2022-06-08T15:58:44.923Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T15:58:44.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T15:58:44.996Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2022-06-08T15:58:45.285Z] + grep ^go [0-9].[0-9]* go.mod [2022-06-08T15:58:45.285Z] + cut -d -f 2 [Pipeline] echo [2022-06-08T15:58:45.302Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T15:58:45.314Z] ========================================================= [2022-06-08T15:58:45.314Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] [2022-06-08T15:58:45.314Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:58:45.633Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-08T15:58:45.893Z] Sending build context to Docker daemon 21.64MB [2022-06-08T15:58:45.893Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T15:58:45.893Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-08T15:58:45.893Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-06-08T15:58:45.893Z] a0d0a0d46f8b: Pulling fs layer [2022-06-08T15:58:45.893Z] 31adcdaf11c8: Pulling fs layer [2022-06-08T15:58:45.893Z] b8b176561691: Pulling fs layer [2022-06-08T15:58:45.893Z] 4527c011a84f: Pulling fs layer [2022-06-08T15:58:45.893Z] 5d74067f8e1e: Pulling fs layer [2022-06-08T15:58:45.893Z] fd57009d33ed: Pulling fs layer [2022-06-08T15:58:45.893Z] 6b058263d067: Pulling fs layer [2022-06-08T15:58:45.893Z] 16d7c86c65f4: Pulling fs layer [2022-06-08T15:58:45.893Z] 1290d154cb4b: Pulling fs layer [2022-06-08T15:58:45.893Z] 4527c011a84f: Waiting [2022-06-08T15:58:45.893Z] 5d74067f8e1e: Waiting [2022-06-08T15:58:45.893Z] 6b058263d067: Waiting [2022-06-08T15:58:45.893Z] fd57009d33ed: Waiting [2022-06-08T15:58:45.893Z] 1290d154cb4b: Waiting [2022-06-08T15:58:45.893Z] 16d7c86c65f4: Waiting [2022-06-08T15:58:45.893Z] b8b176561691: Verifying Checksum [2022-06-08T15:58:45.893Z] b8b176561691: Download complete [2022-06-08T15:58:45.893Z] 31adcdaf11c8: Verifying Checksum [2022-06-08T15:58:45.893Z] 31adcdaf11c8: Download complete [2022-06-08T15:58:45.893Z] 5d74067f8e1e: Verifying Checksum [2022-06-08T15:58:45.893Z] 5d74067f8e1e: Download complete [2022-06-08T15:58:45.893Z] fd57009d33ed: Verifying Checksum [2022-06-08T15:58:45.893Z] fd57009d33ed: Download complete [2022-06-08T15:58:45.893Z] 6b058263d067: Verifying Checksum [2022-06-08T15:58:45.893Z] 6b058263d067: Download complete [2022-06-08T15:58:45.893Z] a0d0a0d46f8b: Download complete [2022-06-08T15:58:46.153Z] 16d7c86c65f4: Verifying Checksum [2022-06-08T15:58:46.153Z] 16d7c86c65f4: Download complete [2022-06-08T15:58:46.153Z] a0d0a0d46f8b: Pull complete [2022-06-08T15:58:46.153Z] 31adcdaf11c8: Pull complete [2022-06-08T15:58:46.414Z] b8b176561691: Pull complete [2022-06-08T15:58:46.673Z] 1290d154cb4b: Verifying Checksum [2022-06-08T15:58:46.673Z] 1290d154cb4b: Download complete [2022-06-08T15:58:46.673Z] 4527c011a84f: Verifying Checksum [2022-06-08T15:58:46.673Z] 4527c011a84f: Download complete [2022-06-08T15:58:49.963Z] 4527c011a84f: Pull complete [2022-06-08T15:58:49.963Z] 5d74067f8e1e: Pull complete [2022-06-08T15:58:49.963Z] fd57009d33ed: Pull complete [2022-06-08T15:58:49.963Z] 6b058263d067: Pull complete [2022-06-08T15:58:49.963Z] 16d7c86c65f4: Pull complete [2022-06-08T15:58:51.875Z] 1290d154cb4b: Pull complete [2022-06-08T15:58:51.875Z] Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 [2022-06-08T15:58:51.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts [2022-06-08T15:58:51.875Z] ---> de6a6ee31cbe [2022-06-08T15:58:51.875Z] Step 3/11 : ARG MAKE='make build' [2022-06-08T15:58:53.265Z] ---> Running in 4e7f82a3717f [2022-06-08T15:58:53.265Z] Removing intermediate container 4e7f82a3717f [2022-06-08T15:58:53.265Z] ---> 9456217c12a1 [2022-06-08T15:58:53.265Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T15:58:53.265Z] ---> Running in 27b0d82ff86c [2022-06-08T15:58:53.265Z] Removing intermediate container 27b0d82ff86c [2022-06-08T15:58:53.265Z] ---> 054a076d0149 [2022-06-08T15:58:53.265Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T15:58:53.265Z] ---> Running in 2ba2e2559d53 [2022-06-08T15:58:53.525Z] Removing intermediate container 2ba2e2559d53 [2022-06-08T15:58:53.525Z] ---> d71887eb426c [2022-06-08T15:58:53.525Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T15:58:53.525Z] ---> Running in 1d004e217b2b [2022-06-08T15:58:54.095Z] Removing intermediate container 1d004e217b2b [2022-06-08T15:58:54.095Z] ---> 07e9fe3ea254 [2022-06-08T15:58:54.095Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T15:58:54.095Z] ---> Running in f3e2a92bd1dd [2022-06-08T15:58:54.355Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T15:58:55.298Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T15:58:55.560Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2022-06-08T15:58:55.560Z] (2/4) Installing libedit (20210216.3.1-r0) [2022-06-08T15:58:55.560Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2022-06-08T15:58:55.823Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2022-06-08T15:58:55.823Z] Executing busybox-1.33.1-r3.trigger [2022-06-08T15:58:55.823Z] OK: 224 MiB in 56 packages [2022-06-08T15:58:56.083Z] Removing intermediate container f3e2a92bd1dd [2022-06-08T15:58:56.083Z] ---> 63cbce4e1050 [2022-06-08T15:58:56.083Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-08T15:58:56.083Z] ---> Running in 74247e1a6123 [2022-06-08T15:58:56.343Z] Removing intermediate container 74247e1a6123 [2022-06-08T15:58:56.343Z] ---> 571360d45ebb [2022-06-08T15:58:56.343Z] Step 9/11 : COPY . . [2022-06-08T15:58:57.284Z] ---> 1658ed06bafd [2022-06-08T15:58:57.284Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T15:58:57.284Z] ---> Running in 8da0509ce92b [2022-06-08T15:58:57.284Z] skipping... [2022-06-08T15:58:57.546Z] Removing intermediate container 8da0509ce92b [2022-06-08T15:58:57.546Z] ---> 86c1c20f1ddd [2022-06-08T15:58:57.546Z] Step 11/11 : RUN $MAKE [2022-06-08T15:58:57.807Z] ---> Running in 017a4795e6a6 [2022-06-08T15:58:58.068Z] noop [2022-06-08T15:58:58.328Z] Removing intermediate container 017a4795e6a6 [2022-06-08T15:58:58.328Z] ---> 8e55aa473c39 [2022-06-08T15:58:58.328Z] Successfully built 8e55aa473c39 [2022-06-08T15:58:58.328Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:58:58.652Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T15:58:58.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:58:58.737Z] prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container [2022-06-08T15:58:58.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** ci-base-image-x86_64 cat [2022-06-08T15:58:58.792Z] Still waiting to schedule task [2022-06-08T15:58:58.793Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-06-08T15:58:59.138Z] $ docker top 89240a32c4572f0fcf57d7fc7b870d658b2b88259d36f4c3953dc44b73626a61 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T15:58:59.500Z] + go version [2022-06-08T15:58:59.500Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-06-08T15:58:59.516Z] $ docker stop --time=1 89240a32c4572f0fcf57d7fc7b870d658b2b88259d36f4c3953dc44b73626a61 [2022-06-08T15:59:00.803Z] $ docker rm -f 89240a32c4572f0fcf57d7fc7b870d658b2b88259d36f4c3953dc44b73626a61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:59:01.266Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T15:59:01.266Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:59:01.384Z] prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container [2022-06-08T15:59:01.436Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** ci-base-image-x86_64 cat [2022-06-08T15:59:01.800Z] $ docker top 8d141f831dda365e371a60cc46867a5c37a26cece9c9f7114664aae7fb920eab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T15:59:02.168Z] + make test [2022-06-08T15:59:02.168Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-08T15:59:02.431Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-08T15:59:09.002Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-08T15:59:09.575Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 56.0% of statements [2022-06-08T15:59:09.575Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T15:59:13.772Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T15:59:13.772Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T15:59:13.772Z] ./bin/test-attribution-txt.sh [2022-06-08T15:59:14.712Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-08T15:59:14.712Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-08T15:59:14.712Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-08T15:59:14.712Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-08T15:59:14.712Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-08T15:59:14.712Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-08T15:59:14.712Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-08T15:59:14.712Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-08T15:59:14.712Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-08T15:59:14.712Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-08T15:59:14.712Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-08T15:59:14.712Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-08T15:59:14.712Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-08T15:59:14.712Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-08T15:59:14.712Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-08T15:59:14.712Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-08T15:59:14.712Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-08T15:59:14.712Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-08T15:59:14.712Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-08T15:59:14.712Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-08T15:59:14.712Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-08T15:59:14.712Z] go: downloading golang.org/x/text v0.3.6 [2022-06-08T15:59:14.712Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-08T15:59:14.712Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-08T15:59:14.712Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-08T15:59:14.712Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-08T15:59:14.712Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-08T15:59:14.973Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-08T15:59:14.973Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-08T15:59:14.973Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-08T15:59:14.973Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-08T15:59:14.973Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-08T15:59:14.973Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-08T15:59:14.973Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-08T15:59:14.973Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-08T15:59:14.973Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-08T15:59:14.973Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-08T15:59:16.365Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-08T15:59:16.675Z] + go mod tidy [2022-06-08T15:59:16.675Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-08T15:59:16.675Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-08T15:59:16.675Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-08T15:59:16.675Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-08T15:59:16.675Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-08T15:59:16.675Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-08T15:59:16.675Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-08T15:59:16.936Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-08T15:59:16.936Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-08T15:59:16.936Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-08T15:59:16.936Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-08T15:59:16.936Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-08T15:59:16.936Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-08T15:59:16.936Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-08T15:59:16.936Z] go: downloading github.com/kr/text v0.2.0 [2022-06-08T15:59:16.936Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-08T15:59:16.936Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-08T15:59:16.936Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-08T15:59:16.936Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-08T15:59:16.936Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-08T15:59:16.936Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-08T15:59:16.936Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-08T15:59:16.936Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-08T15:59:16.936Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-08T15:59:16.952Z] $ docker stop --time=1 8d141f831dda365e371a60cc46867a5c37a26cece9c9f7114664aae7fb920eab [2022-06-08T15:59:18.759Z] $ docker rm -f 8d141f831dda365e371a60cc46867a5c37a26cece9c9f7114664aae7fb920eab [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T15:59:19.285Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T15:59:19.361Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-08T15:59:19.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T15:59:20.097Z] + ls -al . [2022-06-08T15:59:20.097Z] total 184 [2022-06-08T15:59:20.097Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 15:59 . [2022-06-08T15:59:20.097Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 15:58 .. [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 8 15:58 .dockerignore [2022-06-08T15:59:20.097Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 15:58 .git [2022-06-08T15:59:20.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:58 .github [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 8 15:58 .gitignore [2022-06-08T15:59:20.097Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 15:58 .semver [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 8 15:58 Attribution.txt [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 7718 Jun 8 15:58 CHANGELOG.md [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 8 15:58 Dockerfile [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 15:58 GOVERNANCE.md [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 8 15:58 Jenkinsfile [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 15:58 LICENSE [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 8 15:58 Makefile [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 15:58 OWNERS.md [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 8 15:58 README.md [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 15:58 VERSION [2022-06-08T15:59:20.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:58 bin [2022-06-08T15:59:20.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:58 cmd [2022-06-08T15:59:20.097Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 8 15:59 coverage.out [2022-06-08T15:59:20.097Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:58 driver [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 271 Jun 8 15:59 go.mod [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 49306 Jun 8 15:58 go.sum [2022-06-08T15:59:20.097Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:58 snap [2022-06-08T15:59:20.097Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 15:58 vendor [2022-06-08T15:59:20.097Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 8 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:59:20.507Z] + 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=c825c9e02f55f2d37ee60cfba734680a35820bea --label arch=amd64 --label version=2.1.1-dev.3 . [2022-06-08T15:59:20.507Z] Sending build context to Docker daemon 21.65MB [2022-06-08T15:59:20.507Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T15:59:20.507Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-08T15:59:20.507Z] ---> 8e55aa473c39 [2022-06-08T15:59:20.507Z] Step 3/24 : ARG MAKE='make build' [2022-06-08T15:59:20.766Z] ---> Running in f7147fc691eb [2022-06-08T15:59:20.766Z] Removing intermediate container f7147fc691eb [2022-06-08T15:59:20.766Z] ---> 9a353ee82cce [2022-06-08T15:59:20.766Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T15:59:20.766Z] ---> Running in dcc7456f6e7d [2022-06-08T15:59:21.027Z] Removing intermediate container dcc7456f6e7d [2022-06-08T15:59:21.027Z] ---> bfd0b2bf8124 [2022-06-08T15:59:21.027Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T15:59:21.027Z] ---> Running in 09946a6c88ce [2022-06-08T15:59:21.027Z] Removing intermediate container 09946a6c88ce [2022-06-08T15:59:21.027Z] ---> 3fc3f7b49ea0 [2022-06-08T15:59:21.027Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T15:59:21.027Z] ---> Running in 819b89a3d603 [2022-06-08T15:59:21.594Z] Removing intermediate container 819b89a3d603 [2022-06-08T15:59:21.594Z] ---> 57a5e798227b [2022-06-08T15:59:21.594Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T15:59:21.594Z] ---> Running in 72e2ebbfe02e [2022-06-08T15:59:21.861Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T15:59:22.803Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T15:59:23.065Z] OK: 224 MiB in 56 packages [2022-06-08T15:59:23.325Z] Removing intermediate container 72e2ebbfe02e [2022-06-08T15:59:23.325Z] ---> 4f79d0ab5375 [2022-06-08T15:59:23.325Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-08T15:59:23.325Z] ---> Running in 9e653af3f9bf [2022-06-08T15:59:23.584Z] Removing intermediate container 9e653af3f9bf [2022-06-08T15:59:23.584Z] ---> ec2e9e1b8b88 [2022-06-08T15:59:23.584Z] Step 9/24 : COPY . . [2022-06-08T15:59:24.523Z] ---> ad7cf27dce87 [2022-06-08T15:59:24.523Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T15:59:24.523Z] ---> Running in b6fcc692a1c0 [2022-06-08T15:59:24.523Z] skipping... [2022-06-08T15:59:25.095Z] Removing intermediate container b6fcc692a1c0 [2022-06-08T15:59:25.095Z] ---> 7ee0233bd689 [2022-06-08T15:59:25.095Z] Step 11/24 : RUN $MAKE [2022-06-08T15:59:25.095Z] ---> Running in 01cbaa0ec31f [2022-06-08T15:59:25.355Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.3" -o cmd/device-rest ./cmd [2022-06-08T15:59:33.491Z] Removing intermediate container 01cbaa0ec31f [2022-06-08T15:59:33.491Z] ---> 2137bf18e8a9 [2022-06-08T15:59:33.491Z] Step 12/24 : FROM alpine:3.14 [2022-06-08T15:59:33.491Z] 3.14: Pulling from library/alpine [2022-06-08T15:59:33.491Z] 8663204ce13b: Pulling fs layer [2022-06-08T15:59:33.491Z] 8663204ce13b: Verifying Checksum [2022-06-08T15:59:33.491Z] 8663204ce13b: Download complete [2022-06-08T15:59:33.491Z] 8663204ce13b: Pull complete [2022-06-08T15:59:33.491Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-08T15:59:33.491Z] Status: Downloaded newer image for alpine:3.14 [2022-06-08T15:59:33.491Z] ---> e04c818066af [2022-06-08T15:59:33.491Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-08T15:59:33.491Z] ---> Running in 52b2bab69cbb [2022-06-08T15:59:33.491Z] Removing intermediate container 52b2bab69cbb [2022-06-08T15:59:33.491Z] ---> 5fad42d80357 [2022-06-08T15:59:33.491Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-08T15:59:33.491Z] ---> Running in be172ad5ab1c [2022-06-08T15:59:33.491Z] Removing intermediate container be172ad5ab1c [2022-06-08T15:59:33.491Z] ---> 255fb95fd667 [2022-06-08T15:59:33.491Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T15:59:33.491Z] ---> Running in 7d4455128ffa [2022-06-08T15:59:33.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T15:59:33.751Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T15:59:34.012Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T15:59:34.012Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-08T15:59:34.012Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T15:59:34.012Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-08T15:59:34.012Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T15:59:34.012Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T15:59:34.012Z] Executing busybox-1.33.1-r7.trigger [2022-06-08T15:59:34.012Z] OK: 8 MiB in 20 packages [2022-06-08T15:59:34.273Z] Removing intermediate container 7d4455128ffa [2022-06-08T15:59:34.273Z] ---> 340ad480a5fc [2022-06-08T15:59:34.273Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-08T15:59:34.533Z] ---> 474b32086372 [2022-06-08T15:59:34.533Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-08T15:59:34.793Z] ---> c15035a453a4 [2022-06-08T15:59:34.793Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-08T15:59:34.793Z] ---> 56964dc6d947 [2022-06-08T15:59:34.793Z] Step 19/24 : EXPOSE 59986 [2022-06-08T15:59:34.793Z] ---> Running in 46f658d956b4 [2022-06-08T15:59:35.053Z] Removing intermediate container 46f658d956b4 [2022-06-08T15:59:35.053Z] ---> ae5410a78500 [2022-06-08T15:59:35.053Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-08T15:59:35.053Z] ---> Running in 3ae5d7c4f230 [2022-06-08T15:59:35.053Z] Removing intermediate container 3ae5d7c4f230 [2022-06-08T15:59:35.053Z] ---> 442d63423044 [2022-06-08T15:59:35.053Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-08T15:59:35.053Z] ---> Running in 1e510d7fe8e9 [2022-06-08T15:59:35.053Z] Removing intermediate container 1e510d7fe8e9 [2022-06-08T15:59:35.053Z] ---> 4e590147f238 [2022-06-08T15:59:35.053Z] Step 22/24 : LABEL arch=amd64 [2022-06-08T15:59:35.313Z] ---> Running in 19cd38d57be0 [2022-06-08T15:59:35.313Z] Removing intermediate container 19cd38d57be0 [2022-06-08T15:59:35.313Z] ---> 844e7880acda [2022-06-08T15:59:35.313Z] Step 23/24 : LABEL git_sha=c825c9e02f55f2d37ee60cfba734680a35820bea [2022-06-08T15:59:35.313Z] ---> Running in 83fee54e15e0 [2022-06-08T15:59:35.313Z] Removing intermediate container 83fee54e15e0 [2022-06-08T15:59:35.313Z] ---> 19d4839df610 [2022-06-08T15:59:35.313Z] Step 24/24 : LABEL version=2.1.1-dev.3 [2022-06-08T15:59:35.313Z] ---> Running in 0efbe2262e3a [2022-06-08T15:59:35.573Z] Removing intermediate container 0efbe2262e3a [2022-06-08T15:59:35.573Z] ---> c0f25f7413d2 [2022-06-08T15:59:35.573Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T15:59:35.573Z] Successfully built c0f25f7413d2 [2022-06-08T15:59:35.573Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T15:59:35.687Z] provisioning config files... [2022-06-08T15:59:35.699Z] copy managed file [device-rest-go-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8288962004378436705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:59:36.007Z] ---> docker-login.sh [2022-06-08T15:59:36.007Z] nexus3.edgexfoundry.org:10001 [2022-06-08T15:59:36.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:59:36.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:59:36.007Z] Configure a credential helper to remove this warning. See [2022-06-08T15:59:36.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:59:36.007Z] [2022-06-08T15:59:36.007Z] Login Succeeded [2022-06-08T15:59:36.007Z] nexus3.edgexfoundry.org:10002 [2022-06-08T15:59:36.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:59:36.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:59:36.266Z] Configure a credential helper to remove this warning. See [2022-06-08T15:59:36.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:59:36.266Z] [2022-06-08T15:59:36.266Z] Login Succeeded [2022-06-08T15:59:36.266Z] nexus3.edgexfoundry.org:10003 [2022-06-08T15:59:36.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:59:36.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:59:36.266Z] Configure a credential helper to remove this warning. See [2022-06-08T15:59:36.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:59:36.266Z] [2022-06-08T15:59:36.266Z] Login Succeeded [2022-06-08T15:59:36.266Z] nexus3.edgexfoundry.org:10004 [2022-06-08T15:59:36.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:59:36.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:59:36.527Z] Configure a credential helper to remove this warning. See [2022-06-08T15:59:36.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:59:36.527Z] [2022-06-08T15:59:36.527Z] Login Succeeded [2022-06-08T15:59:36.527Z] docker.io [2022-06-08T15:59:36.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:59:36.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:59:36.787Z] Configure a credential helper to remove this warning. See [2022-06-08T15:59:36.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:59:36.787Z] [2022-06-08T15:59:36.787Z] Login Succeeded [2022-06-08T15:59:36.787Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T15:59:36.794Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T15:59:36.827Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T15:59:36.849Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-06-08T15:59:36.849Z] c825c9e02f55f2d37ee60cfba734680a35820bea [2022-06-08T15:59:36.849Z] 2.1.1-dev.3 [2022-06-08T15:59:36.849Z] c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 [2022-06-08T15:59:36.849Z] jakarta [2022-06-08T15:59:36.849Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:59:37.171Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:59:37.480Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea [2022-06-08T15:59:37.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-08T15:59:37.480Z] 49bb38945073: Preparing [2022-06-08T15:59:37.480Z] 250a5cdecded: Preparing [2022-06-08T15:59:37.480Z] be99e0227b67: Preparing [2022-06-08T15:59:37.480Z] 4ea839604617: Preparing [2022-06-08T15:59:37.480Z] b541d28bf3b4: Preparing [2022-06-08T15:59:37.480Z] b541d28bf3b4: Layer already exists [2022-06-08T15:59:37.480Z] 49bb38945073: Pushed [2022-06-08T15:59:37.480Z] 250a5cdecded: Pushed [2022-06-08T15:59:37.739Z] 4ea839604617: Pushed [2022-06-08T15:59:39.123Z] be99e0227b67: Pushed [2022-06-08T15:59:39.123Z] c825c9e02f55f2d37ee60cfba734680a35820bea: digest: sha256:91f77e025c813ad8cfc1ffaebb6432911cc3fa578c60cb6029b8aa2c1091f409 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:59:39.442Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:59:39.755Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.3 [2022-06-08T15:59:39.755Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-08T15:59:39.755Z] 49bb38945073: Preparing [2022-06-08T15:59:39.755Z] 250a5cdecded: Preparing [2022-06-08T15:59:39.755Z] be99e0227b67: Preparing [2022-06-08T15:59:39.755Z] 4ea839604617: Preparing [2022-06-08T15:59:39.755Z] b541d28bf3b4: Preparing [2022-06-08T15:59:39.755Z] 4ea839604617: Layer already exists [2022-06-08T15:59:39.755Z] b541d28bf3b4: Layer already exists [2022-06-08T15:59:39.755Z] 250a5cdecded: Layer already exists [2022-06-08T15:59:39.755Z] be99e0227b67: Layer already exists [2022-06-08T15:59:39.755Z] 49bb38945073: Layer already exists [2022-06-08T15:59:39.755Z] 2.1.1-dev.3: digest: sha256:91f77e025c813ad8cfc1ffaebb6432911cc3fa578c60cb6029b8aa2c1091f409 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:59:40.077Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:59:40.397Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 [2022-06-08T15:59:40.398Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-08T15:59:40.398Z] 49bb38945073: Preparing [2022-06-08T15:59:40.398Z] 250a5cdecded: Preparing [2022-06-08T15:59:40.398Z] be99e0227b67: Preparing [2022-06-08T15:59:40.398Z] 4ea839604617: Preparing [2022-06-08T15:59:40.398Z] b541d28bf3b4: Preparing [2022-06-08T15:59:40.398Z] 250a5cdecded: Layer already exists [2022-06-08T15:59:40.398Z] b541d28bf3b4: Layer already exists [2022-06-08T15:59:40.398Z] 4ea839604617: Layer already exists [2022-06-08T15:59:40.398Z] be99e0227b67: Layer already exists [2022-06-08T15:59:40.398Z] 49bb38945073: Layer already exists [2022-06-08T15:59:40.398Z] c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3: digest: sha256:91f77e025c813ad8cfc1ffaebb6432911cc3fa578c60cb6029b8aa2c1091f409 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:59:40.723Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:59:41.036Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:jakarta [2022-06-08T15:59:41.036Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-08T15:59:41.036Z] 49bb38945073: Preparing [2022-06-08T15:59:41.036Z] 250a5cdecded: Preparing [2022-06-08T15:59:41.036Z] be99e0227b67: Preparing [2022-06-08T15:59:41.036Z] 4ea839604617: Preparing [2022-06-08T15:59:41.036Z] b541d28bf3b4: Preparing [2022-06-08T15:59:41.036Z] 49bb38945073: Layer already exists [2022-06-08T15:59:41.036Z] 4ea839604617: Layer already exists [2022-06-08T15:59:41.036Z] 250a5cdecded: Layer already exists [2022-06-08T15:59:41.036Z] be99e0227b67: Layer already exists [2022-06-08T15:59:41.036Z] b541d28bf3b4: Layer already exists [2022-06-08T15:59:41.036Z] jakarta: digest: sha256:91f77e025c813ad8cfc1ffaebb6432911cc3fa578c60cb6029b8aa2c1091f409 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T15:59:41.085Z] ===================================================== [Pipeline] echo [2022-06-08T15:59:41.091Z] taggedImages: [2022-06-08T15:59:41.091Z] - nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea [2022-06-08T15:59:41.091Z] - nexus3.edgexfoundry.org:10004/device-rest:2.1.1-dev.3 [2022-06-08T15:59:41.091Z] - nexus3.edgexfoundry.org:10004/device-rest:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 [2022-06-08T15:59:41.091Z] - nexus3.edgexfoundry.org:10004/device-rest:jakarta [Pipeline] } [Pipeline] // script [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-06-08T15:59:41.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T15:59:41.457Z] [2022-06-08T15:59:41.457Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:59:41.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T15:59:41.764Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-08T15:59:41.764Z] 5eb5b503b376: Pulling fs layer [2022-06-08T15:59:41.764Z] 5c69ac0246d0: Pulling fs layer [2022-06-08T15:59:41.764Z] ec43610c2a17: Pulling fs layer [2022-06-08T15:59:41.764Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-08T15:59:41.764Z] 33b1e0a273af: Pulling fs layer [2022-06-08T15:59:41.764Z] 5d3b04190fa2: Pulling fs layer [2022-06-08T15:59:41.765Z] 2f39f015ded8: Pulling fs layer [2022-06-08T15:59:41.765Z] 3a2ae6a8a46f: Waiting [2022-06-08T15:59:41.765Z] 33b1e0a273af: Waiting [2022-06-08T15:59:41.765Z] 5d3b04190fa2: Waiting [2022-06-08T15:59:41.765Z] 2f39f015ded8: Waiting [2022-06-08T15:59:41.765Z] 5c69ac0246d0: Verifying Checksum [2022-06-08T15:59:41.765Z] 5c69ac0246d0: Download complete [2022-06-08T15:59:41.765Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-08T15:59:41.765Z] 3a2ae6a8a46f: Download complete [2022-06-08T15:59:41.765Z] 33b1e0a273af: Verifying Checksum [2022-06-08T15:59:41.765Z] 33b1e0a273af: Download complete [2022-06-08T15:59:42.026Z] 5d3b04190fa2: Verifying Checksum [2022-06-08T15:59:42.026Z] 5d3b04190fa2: Download complete [2022-06-08T15:59:42.026Z] ec43610c2a17: Verifying Checksum [2022-06-08T15:59:42.026Z] ec43610c2a17: Download complete [2022-06-08T15:59:42.026Z] 5eb5b503b376: Verifying Checksum [2022-06-08T15:59:42.026Z] 5eb5b503b376: Download complete [2022-06-08T15:59:42.595Z] 2f39f015ded8: Download complete [2022-06-08T15:59:43.162Z] 5eb5b503b376: Pull complete [2022-06-08T15:59:43.421Z] 5c69ac0246d0: Pull complete [2022-06-08T15:59:43.680Z] ec43610c2a17: Pull complete [2022-06-08T15:59:43.680Z] 3a2ae6a8a46f: Pull complete [2022-06-08T15:59:43.940Z] 33b1e0a273af: Pull complete [2022-06-08T15:59:44.199Z] 5d3b04190fa2: Pull complete [2022-06-08T15:59:48.446Z] 2f39f015ded8: Pull complete [2022-06-08T15:59:48.446Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-08T15:59:48.446Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T15:59:48.446Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:59:48.539Z] prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container [2022-06-08T15:59:48.576Z] $ 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/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-08T15:59:49.927Z] $ docker top f360bd7b994b415d94002f87a5bf6492804727fdf10772f746e0499335834d33 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:59:50.295Z] ---> job-cost.sh [2022-06-08T15:59:50.295Z] lf-activate-venv: SKIPPING [2022-06-08T15:59:50.295Z] INFO: No Stack... [2022-06-08T15:59:50.866Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T15:59:51.435Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T15:59:51.725Z] + cat /w/workspace/exfoundry_device-rest-go_jakarta/archives/cost.csv [2022-06-08T15:59:51.725Z] + cut -d, -f6 [Pipeline] lock [2022-06-08T15:59:51.740Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] [2022-06-08T15:59:51.748Z] Resource [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] did not exist. Created. [2022-06-08T15:59:51.748Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T15:59:52.052Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-08T15:59:52.095Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T15:59:52.101Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T15:59:52.126Z] $ docker stop --time=1 f360bd7b994b415d94002f87a5bf6492804727fdf10772f746e0499335834d33 [2022-06-08T15:59:53.287Z] $ docker rm -f f360bd7b994b415d94002f87a5bf6492804727fdf10772f746e0499335834d33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-08T16:02:09.434Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1766 in /w/workspace/exfoundry_device-rest-go_jakarta [Pipeline] { [Pipeline] ws [2022-06-08T16:02:09.446Z] Running in /w/workspace/device-rest-go/7 [Pipeline] { [Pipeline] checkout [2022-06-08T16:02:09.485Z] The recommended git tool is: git [2022-06-08T16:02:15.168Z] using credential edgex-jenkins-ssh [2022-06-08T16:02:15.194Z] Cloning the remote Git repository [2022-06-08T16:02:15.252Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-08T16:02:15.339Z] > git init /w/workspace/device-rest-go/7 # timeout=10 [2022-06-08T16:02:15.518Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-08T16:02:15.520Z] > git --version # timeout=10 [2022-06-08T16:02:15.571Z] > git --version # 'git version 2.25.1' [2022-06-08T16:02:15.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T16:02:15.794Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T16:02:17.725Z] Avoid second fetch [2022-06-08T16:02:17.726Z] Checking out Revision c825c9e02f55f2d37ee60cfba734680a35820bea (jakarta) [2022-06-08T16:02:17.678Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-08T16:02:17.701Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T16:02:17.750Z] > git config core.sparsecheckout # timeout=10 [2022-06-08T16:02:17.770Z] > git checkout -f c825c9e02f55f2d37ee60cfba734680a35820bea # timeout=10 [2022-06-08T16:02:22.589Z] Commit message: "fix(snap): expose parent directory in device-config plug (Jakarta) (#196)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T16:02:23.609Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-08T16:02:23.609Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T16:02:23.609Z] Dload Upload Total Spent Left Speed [2022-06-08T16:02:23.609Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50217 0 --:--:-- --:--:-- --:--:-- 50217 [Pipeline] sh [2022-06-08T16:02:24.310Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-08T16:02:24.732Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-06-08T16:02:24.732Z] [2022-06-08T16:02:24.732Z] { [2022-06-08T16:02:24.732Z] "registry-mirrors": [ [2022-06-08T16:02:24.732Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-08T16:02:24.732Z] ], [2022-06-08T16:02:24.732Z] "bip": "10.250.0.254/24", [2022-06-08T16:02:24.732Z] "hosts": [ [2022-06-08T16:02:24.732Z] "tcp://0.0.0.0:5555", [2022-06-08T16:02:24.732Z] "unix:///var/run/docker.sock" [2022-06-08T16:02:24.732Z] ], [2022-06-08T16:02:24.732Z] "mtu": 1458, [2022-06-08T16:02:24.732Z] "selinux-enabled": true, [2022-06-08T16:02:24.732Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-08T16:02:24.732Z] } [Pipeline] sh [2022-06-08T16:02:25.106Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-08T16:02:25.454Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T16:02:43.805Z] provisioning config files... [2022-06-08T16:02:43.830Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/7@tmp/config3752643958350046264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:02:44.193Z] ---> docker-login.sh [2022-06-08T16:02:44.193Z] nexus3.edgexfoundry.org:10001 [2022-06-08T16:02:44.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:02:45.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:02:45.069Z] Configure a credential helper to remove this warning. See [2022-06-08T16:02:45.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:02:45.069Z] [2022-06-08T16:02:45.069Z] Login Succeeded [2022-06-08T16:02:45.069Z] nexus3.edgexfoundry.org:10002 [2022-06-08T16:02:45.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:02:45.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:02:45.669Z] Configure a credential helper to remove this warning. See [2022-06-08T16:02:45.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:02:45.669Z] [2022-06-08T16:02:45.669Z] Login Succeeded [2022-06-08T16:02:45.669Z] nexus3.edgexfoundry.org:10003 [2022-06-08T16:02:45.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:02:46.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:02:46.230Z] Configure a credential helper to remove this warning. See [2022-06-08T16:02:46.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:02:46.230Z] [2022-06-08T16:02:46.230Z] Login Succeeded [2022-06-08T16:02:46.230Z] nexus3.edgexfoundry.org:10004 [2022-06-08T16:02:46.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:02:46.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:02:46.782Z] Configure a credential helper to remove this warning. See [2022-06-08T16:02:46.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:02:46.782Z] [2022-06-08T16:02:46.782Z] Login Succeeded [2022-06-08T16:02:46.782Z] docker.io [2022-06-08T16:02:47.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:02:47.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:02:47.660Z] Configure a credential helper to remove this warning. See [2022-06-08T16:02:47.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:02:47.660Z] [2022-06-08T16:02:47.660Z] Login Succeeded [2022-06-08T16:02:47.660Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T16:02:47.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T16:02:48.318Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2022-06-08T16:02:48.699Z] + + grep ^go [0-9].[0-9]* go.modcut [2022-06-08T16:02:48.699Z] -d -f 2 [Pipeline] echo [2022-06-08T16:02:48.774Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T16:02:48.786Z] ========================================================= [2022-06-08T16:02:48.786Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] [2022-06-08T16:02:48.786Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:02:49.155Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-08T16:02:50.597Z] Sending build context to Docker daemon 11.13MB [2022-06-08T16:02:50.597Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T16:02:50.597Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-08T16:02:50.597Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-08T16:02:50.597Z] 552d1f2373af: Pulling fs layer [2022-06-08T16:02:50.597Z] ea3f2d53f512: Pulling fs layer [2022-06-08T16:02:50.597Z] 9e70ebbbe112: Pulling fs layer [2022-06-08T16:02:50.597Z] 7a9cfe048b4a: Pulling fs layer [2022-06-08T16:02:50.597Z] 72dc09318566: Pulling fs layer [2022-06-08T16:02:50.597Z] f324388ff665: Pulling fs layer [2022-06-08T16:02:50.597Z] 53ef782089cf: Pulling fs layer [2022-06-08T16:02:50.597Z] 2af28fca035d: Pulling fs layer [2022-06-08T16:02:50.597Z] 7a9cfe048b4a: Waiting [2022-06-08T16:02:50.597Z] 72dc09318566: Waiting [2022-06-08T16:02:50.597Z] f324388ff665: Waiting [2022-06-08T16:02:50.597Z] 53ef782089cf: Waiting [2022-06-08T16:02:50.597Z] 2af28fca035d: Waiting [2022-06-08T16:02:50.597Z] 9e70ebbbe112: Verifying Checksum [2022-06-08T16:02:50.597Z] 9e70ebbbe112: Download complete [2022-06-08T16:02:50.597Z] ea3f2d53f512: Verifying Checksum [2022-06-08T16:02:50.597Z] ea3f2d53f512: Download complete [2022-06-08T16:02:50.597Z] 72dc09318566: Verifying Checksum [2022-06-08T16:02:50.597Z] 72dc09318566: Download complete [2022-06-08T16:02:50.597Z] f324388ff665: Verifying Checksum [2022-06-08T16:02:50.597Z] f324388ff665: Download complete [2022-06-08T16:02:50.597Z] 552d1f2373af: Verifying Checksum [2022-06-08T16:02:50.597Z] 552d1f2373af: Download complete [2022-06-08T16:02:50.597Z] 53ef782089cf: Verifying Checksum [2022-06-08T16:02:50.597Z] 53ef782089cf: Download complete [2022-06-08T16:02:51.583Z] 552d1f2373af: Pull complete [2022-06-08T16:02:52.187Z] ea3f2d53f512: Pull complete [2022-06-08T16:02:52.467Z] 9e70ebbbe112: Pull complete [2022-06-08T16:02:52.744Z] 2af28fca035d: Verifying Checksum [2022-06-08T16:02:52.744Z] 2af28fca035d: Download complete [2022-06-08T16:02:53.341Z] 7a9cfe048b4a: Verifying Checksum [2022-06-08T16:02:53.341Z] 7a9cfe048b4a: Download complete [2022-06-08T16:03:05.769Z] 7a9cfe048b4a: Pull complete [2022-06-08T16:03:05.769Z] 72dc09318566: Pull complete [2022-06-08T16:03:05.769Z] f324388ff665: Pull complete [2022-06-08T16:03:05.769Z] 53ef782089cf: Pull complete [2022-06-08T16:03:12.512Z] 2af28fca035d: Pull complete [2022-06-08T16:03:12.512Z] Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 [2022-06-08T16:03:12.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts [2022-06-08T16:03:12.512Z] ---> d19f1962542a [2022-06-08T16:03:12.512Z] Step 3/11 : ARG MAKE='make build' [2022-06-08T16:03:13.126Z] ---> Running in ad22f1bde016 [2022-06-08T16:03:13.721Z] Removing intermediate container ad22f1bde016 [2022-06-08T16:03:13.721Z] ---> 6984a1622c35 [2022-06-08T16:03:13.721Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T16:03:13.721Z] ---> Running in 3213378f5c66 [2022-06-08T16:03:13.994Z] Removing intermediate container 3213378f5c66 [2022-06-08T16:03:13.994Z] ---> 5a4c2ed713cb [2022-06-08T16:03:13.994Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T16:03:13.994Z] ---> Running in 01993cbc3454 [2022-06-08T16:03:14.268Z] Removing intermediate container 01993cbc3454 [2022-06-08T16:03:14.268Z] ---> e6da978d13ab [2022-06-08T16:03:14.268Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T16:03:14.541Z] ---> Running in 24f7b483d523 [2022-06-08T16:03:16.526Z] Removing intermediate container 24f7b483d523 [2022-06-08T16:03:16.526Z] ---> 7b417b9a871c [2022-06-08T16:03:16.526Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T16:03:16.526Z] ---> Running in 882535effdb8 [2022-06-08T16:03:17.507Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T16:03:18.496Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T16:03:19.483Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2022-06-08T16:03:19.483Z] (2/4) Installing libedit (20210216.3.1-r0) [2022-06-08T16:03:19.483Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2022-06-08T16:03:19.758Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2022-06-08T16:03:19.758Z] Executing busybox-1.33.1-r3.trigger [2022-06-08T16:03:20.030Z] OK: 223 MiB in 56 packages [2022-06-08T16:03:21.014Z] Removing intermediate container 882535effdb8 [2022-06-08T16:03:21.014Z] ---> c8df5454e075 [2022-06-08T16:03:21.014Z] Step 8/11 : WORKDIR /device-rest-go [2022-06-08T16:03:21.014Z] ---> Running in 374cffb46bfe [2022-06-08T16:03:21.288Z] Removing intermediate container 374cffb46bfe [2022-06-08T16:03:21.288Z] ---> c2149c80ee14 [2022-06-08T16:03:21.288Z] Step 9/11 : COPY . . [2022-06-08T16:03:25.628Z] ---> a0942fcde9f4 [2022-06-08T16:03:25.628Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T16:03:25.628Z] ---> Running in b064706e8ff7 [2022-06-08T16:03:25.906Z] skipping... [2022-06-08T16:03:26.904Z] Removing intermediate container b064706e8ff7 [2022-06-08T16:03:26.904Z] ---> 627568d94252 [2022-06-08T16:03:26.904Z] Step 11/11 : RUN $MAKE [2022-06-08T16:03:26.904Z] ---> Running in e4242fb02b62 [2022-06-08T16:03:27.894Z] noop [2022-06-08T16:03:28.493Z] Removing intermediate container e4242fb02b62 [2022-06-08T16:03:28.493Z] ---> abf4dbd67f86 [2022-06-08T16:03:28.766Z] Successfully built abf4dbd67f86 [2022-06-08T16:03:28.766Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:03:29.126Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T16:03:29.126Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:03:29.387Z] prd-ubuntu20.04-docker-arm64-4c-16g-1766 does not seem to be running inside a container [2022-06-08T16:03:29.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** ci-base-image-arm64 cat [2022-06-08T16:03:30.815Z] $ docker top a2d0ca9dde0fc4abca63a61c722847333333c3f060e5dd352e78a1f871649d03 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T16:03:31.779Z] + go version [2022-06-08T16:03:31.779Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-06-08T16:03:31.807Z] $ docker stop --time=1 a2d0ca9dde0fc4abca63a61c722847333333c3f060e5dd352e78a1f871649d03 [2022-06-08T16:03:33.492Z] $ docker rm -f a2d0ca9dde0fc4abca63a61c722847333333c3f060e5dd352e78a1f871649d03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:03:34.147Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T16:03:34.147Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:03:34.415Z] prd-ubuntu20.04-docker-arm64-4c-16g-1766 does not seem to be running inside a container [2022-06-08T16:03:34.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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 ******** ci-base-image-arm64 cat [2022-06-08T16:03:35.857Z] $ docker top 5ac865a3b319ef9f73710fb9147a8fbe593abb65591ca12b515baa61f86889ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T16:03:36.846Z] + make test [2022-06-08T16:03:36.846Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-06-08T16:03:38.293Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-08T16:04:46.424Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-08T16:04:46.424Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 56.0% of statements [2022-06-08T16:04:46.424Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T16:05:13.300Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T16:05:13.300Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T16:05:13.300Z] ./bin/test-attribution-txt.sh [2022-06-08T16:05:13.300Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-08T16:05:13.300Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-08T16:05:13.300Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-08T16:05:13.300Z] go: downloading github.com/spf13/cast v1.4.1 [2022-06-08T16:05:13.300Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-08T16:05:13.300Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-08T16:05:13.300Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-08T16:05:13.300Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-08T16:05:13.300Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-08T16:05:13.300Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-08T16:05:13.300Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-08T16:05:13.300Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-08T16:05:13.300Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-08T16:05:13.300Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-08T16:05:13.300Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-08T16:05:13.300Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-08T16:05:13.300Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-08T16:05:13.300Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-08T16:05:13.300Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-08T16:05:13.579Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-08T16:05:13.579Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-08T16:05:13.579Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-08T16:05:13.579Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-08T16:05:13.579Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-08T16:05:13.859Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-08T16:05:13.859Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-08T16:05:13.859Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-08T16:05:13.859Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-08T16:05:13.859Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-08T16:05:13.859Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-08T16:05:13.859Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-08T16:05:13.859Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-08T16:05:13.859Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-08T16:05:13.859Z] go: downloading golang.org/x/text v0.3.6 [2022-06-08T16:05:14.135Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-08T16:05:15.128Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-08T16:05:15.128Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-08T16:05:15.406Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-08T16:05:15.406Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-08T16:05:15.406Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-08T16:05:15.406Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-08T16:05:15.686Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-08T16:05:15.686Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-08T16:05:15.686Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-08T16:05:16.290Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-08T16:05:17.738Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-08T16:05:17.738Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-08T16:05:17.738Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-08T16:05:17.738Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-08T16:05:17.738Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-08T16:05:17.738Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-08T16:05:17.738Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-08T16:05:23.173Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-08T16:05:23.845Z] + go mod tidy [2022-06-08T16:05:24.120Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-08T16:05:24.120Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-08T16:05:24.120Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-08T16:05:24.394Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-08T16:05:24.394Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-08T16:05:24.394Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-08T16:05:24.668Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-08T16:05:24.668Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-08T16:05:24.668Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-08T16:05:24.668Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-08T16:05:24.668Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-08T16:05:24.668Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-08T16:05:24.668Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-08T16:05:24.668Z] go: downloading github.com/kr/text v0.2.0 [2022-06-08T16:05:24.945Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-08T16:05:24.945Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-08T16:05:24.945Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-08T16:05:24.945Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-08T16:05:24.945Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-08T16:05:24.945Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-08T16:05:25.232Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-08T16:05:25.232Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-08T16:05:25.232Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-08T16:05:25.232Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-08T16:05:25.533Z] $ docker stop --time=1 5ac865a3b319ef9f73710fb9147a8fbe593abb65591ca12b515baa61f86889ca [2022-06-08T16:05:28.023Z] $ docker rm -f 5ac865a3b319ef9f73710fb9147a8fbe593abb65591ca12b515baa61f86889ca [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T16:05:30.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T16:05:30.588Z] Warning: overwriting stash ‘coverage-report’ [2022-06-08T16:05:31.391Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T16:05:31.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T16:05:32.180Z] + ls -al . [2022-06-08T16:05:32.180Z] total 180 [2022-06-08T16:05:32.180Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 16:05 . [2022-06-08T16:05:32.180Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:02 .. [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 8 16:02 .dockerignore [2022-06-08T16:05:32.180Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 16:02 .git [2022-06-08T16:05:32.180Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:02 .github [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 321 Jun 8 16:02 .gitignore [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 7095 Jun 8 16:02 Attribution.txt [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 7718 Jun 8 16:02 CHANGELOG.md [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 1649 Jun 8 16:02 Dockerfile [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 16:02 GOVERNANCE.md [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 8 16:02 Jenkinsfile [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 16:02 LICENSE [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 1078 Jun 8 16:02 Makefile [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 16:02 OWNERS.md [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 8246 Jun 8 16:02 README.md [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 15:58 VERSION [2022-06-08T16:05:32.180Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:02 bin [2022-06-08T16:05:32.180Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:02 cmd [2022-06-08T16:05:32.180Z] -rw-r--r-- 1 jenkins jenkins 9215 Jun 8 16:04 coverage.out [2022-06-08T16:05:32.180Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:02 driver [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 271 Jun 8 16:05 go.mod [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 49306 Jun 8 16:02 go.sum [2022-06-08T16:05:32.180Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:02 snap [2022-06-08T16:05:32.180Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 16:02 vendor [2022-06-08T16:05:32.180Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 8 16:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:05:32.556Z] + 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=c825c9e02f55f2d37ee60cfba734680a35820bea --label arch=arm64 --label version=2.1.1-dev.3 . [2022-06-08T16:05:34.009Z] Sending build context to Docker daemon 11.14MB [2022-06-08T16:05:34.009Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T16:05:34.009Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-08T16:05:34.009Z] ---> abf4dbd67f86 [2022-06-08T16:05:34.009Z] Step 3/24 : ARG MAKE='make build' [2022-06-08T16:05:34.009Z] ---> Running in 95dd6a2e8a02 [2022-06-08T16:05:34.611Z] Removing intermediate container 95dd6a2e8a02 [2022-06-08T16:05:34.611Z] ---> 8c6574f29133 [2022-06-08T16:05:34.611Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T16:05:34.611Z] ---> Running in 95431fefc6b7 [2022-06-08T16:05:34.887Z] Removing intermediate container 95431fefc6b7 [2022-06-08T16:05:34.887Z] ---> 56831e0acd6b [2022-06-08T16:05:34.887Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T16:05:34.887Z] ---> Running in 8161c101850f [2022-06-08T16:05:35.173Z] Removing intermediate container 8161c101850f [2022-06-08T16:05:35.173Z] ---> f4532eb91548 [2022-06-08T16:05:35.173Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T16:05:35.456Z] ---> Running in 09d01c25385f [2022-06-08T16:05:37.446Z] Removing intermediate container 09d01c25385f [2022-06-08T16:05:37.446Z] ---> 40ead9edb061 [2022-06-08T16:05:37.446Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T16:05:37.446Z] ---> Running in 03f09d9f3e05 [2022-06-08T16:05:38.432Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T16:05:39.031Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T16:05:40.018Z] OK: 223 MiB in 56 packages [2022-06-08T16:05:41.331Z] Removing intermediate container 03f09d9f3e05 [2022-06-08T16:05:41.332Z] ---> ae1f82c9aa03 [2022-06-08T16:05:41.332Z] Step 8/24 : WORKDIR /device-rest-go [2022-06-08T16:05:41.332Z] ---> Running in 28da10804bda [2022-06-08T16:05:41.332Z] Removing intermediate container 28da10804bda [2022-06-08T16:05:41.332Z] ---> c79b460a60b0 [2022-06-08T16:05:41.332Z] Step 9/24 : COPY . . [2022-06-08T16:05:45.657Z] ---> d89762715a67 [2022-06-08T16:05:45.657Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T16:05:45.657Z] ---> Running in 6d221795c513 [2022-06-08T16:05:46.665Z] skipping... [2022-06-08T16:05:47.276Z] Removing intermediate container 6d221795c513 [2022-06-08T16:05:47.276Z] ---> 76820a5b171e [2022-06-08T16:05:47.276Z] Step 11/24 : RUN $MAKE [2022-06-08T16:05:47.276Z] ---> Running in a69014d25971 [2022-06-08T16:05:48.725Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.1.1-dev.3" -o cmd/device-rest ./cmd [2022-06-08T16:06:35.801Z] Removing intermediate container a69014d25971 [2022-06-08T16:06:35.801Z] ---> f8a6acc96cdf [2022-06-08T16:06:35.801Z] Step 12/24 : FROM alpine:3.14 [2022-06-08T16:06:35.801Z] 3.14: Pulling from library/alpine [2022-06-08T16:06:35.801Z] 455c02918c45: Pulling fs layer [2022-06-08T16:06:35.801Z] 455c02918c45: Verifying Checksum [2022-06-08T16:06:35.801Z] 455c02918c45: Download complete [2022-06-08T16:06:35.801Z] 455c02918c45: Pull complete [2022-06-08T16:06:35.801Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-08T16:06:35.801Z] Status: Downloaded newer image for alpine:3.14 [2022-06-08T16:06:35.801Z] ---> ac73e934f311 [2022-06-08T16:06:35.801Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-08T16:06:35.801Z] ---> Running in ee0cc9a50b9a [2022-06-08T16:06:35.801Z] Removing intermediate container ee0cc9a50b9a [2022-06-08T16:06:35.801Z] ---> aa5ca89db234 [2022-06-08T16:06:35.801Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-08T16:06:35.801Z] ---> Running in 40cae3ca8547 [2022-06-08T16:06:35.801Z] Removing intermediate container 40cae3ca8547 [2022-06-08T16:06:35.801Z] ---> 9918fe01e46a [2022-06-08T16:06:35.801Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T16:06:35.801Z] ---> Running in 826beebc7469 [2022-06-08T16:06:35.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T16:06:35.801Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T16:06:35.801Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T16:06:35.801Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-08T16:06:35.801Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T16:06:35.801Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-08T16:06:35.801Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T16:06:35.801Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T16:06:35.801Z] Executing busybox-1.33.1-r7.trigger [2022-06-08T16:06:35.801Z] OK: 8 MiB in 20 packages [2022-06-08T16:06:35.801Z] Removing intermediate container 826beebc7469 [2022-06-08T16:06:35.801Z] ---> 066154a6ea9b [2022-06-08T16:06:35.801Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2022-06-08T16:06:35.801Z] ---> 4c59d379a70b [2022-06-08T16:06:35.801Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-08T16:06:35.801Z] ---> d8e7cd2e43f7 [2022-06-08T16:06:35.801Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-08T16:06:36.076Z] ---> 5ff5ee490d03 [2022-06-08T16:06:36.076Z] Step 19/24 : EXPOSE 59986 [2022-06-08T16:06:36.076Z] ---> Running in 1a5eb91cdfd1 [2022-06-08T16:06:36.353Z] Removing intermediate container 1a5eb91cdfd1 [2022-06-08T16:06:36.353Z] ---> 029c1091afc9 [2022-06-08T16:06:36.353Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2022-06-08T16:06:36.353Z] ---> Running in 65d8e5928627 [2022-06-08T16:06:36.951Z] Removing intermediate container 65d8e5928627 [2022-06-08T16:06:36.951Z] ---> 75700e9a813e [2022-06-08T16:06:36.951Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-08T16:06:36.951Z] ---> Running in 998048ae837b [2022-06-08T16:06:37.224Z] Removing intermediate container 998048ae837b [2022-06-08T16:06:37.224Z] ---> 8021a102be1e [2022-06-08T16:06:37.224Z] Step 22/24 : LABEL arch=arm64 [2022-06-08T16:06:37.224Z] ---> Running in d3996bb6d0f5 [2022-06-08T16:06:37.500Z] Removing intermediate container d3996bb6d0f5 [2022-06-08T16:06:37.500Z] ---> 3b69a11004f0 [2022-06-08T16:06:37.500Z] Step 23/24 : LABEL git_sha=c825c9e02f55f2d37ee60cfba734680a35820bea [2022-06-08T16:06:37.500Z] ---> Running in f488069979a1 [2022-06-08T16:06:38.111Z] Removing intermediate container f488069979a1 [2022-06-08T16:06:38.111Z] ---> 8a54009a4a16 [2022-06-08T16:06:38.111Z] Step 24/24 : LABEL version=2.1.1-dev.3 [2022-06-08T16:06:38.111Z] ---> Running in 85f50d9f0081 [2022-06-08T16:06:38.387Z] Removing intermediate container 85f50d9f0081 [2022-06-08T16:06:38.387Z] ---> 57d5d071c6dc [2022-06-08T16:06:38.387Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T16:06:38.662Z] Successfully built 57d5d071c6dc [2022-06-08T16:06:38.662Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T16:06:38.801Z] provisioning config files... [2022-06-08T16:06:38.823Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/7@tmp/config7087464145816228651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:06:39.187Z] ---> docker-login.sh [2022-06-08T16:06:39.187Z] nexus3.edgexfoundry.org:10001 [2022-06-08T16:06:39.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:06:39.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:06:39.462Z] Configure a credential helper to remove this warning. See [2022-06-08T16:06:39.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:06:39.462Z] [2022-06-08T16:06:39.462Z] Login Succeeded [2022-06-08T16:06:39.462Z] nexus3.edgexfoundry.org:10002 [2022-06-08T16:06:40.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:06:40.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:06:40.064Z] Configure a credential helper to remove this warning. See [2022-06-08T16:06:40.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:06:40.064Z] [2022-06-08T16:06:40.064Z] Login Succeeded [2022-06-08T16:06:40.064Z] nexus3.edgexfoundry.org:10003 [2022-06-08T16:06:40.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:06:40.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:06:40.616Z] Configure a credential helper to remove this warning. See [2022-06-08T16:06:40.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:06:40.616Z] [2022-06-08T16:06:40.616Z] Login Succeeded [2022-06-08T16:06:40.616Z] nexus3.edgexfoundry.org:10004 [2022-06-08T16:06:40.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:06:40.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:06:40.895Z] Configure a credential helper to remove this warning. See [2022-06-08T16:06:40.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:06:40.895Z] [2022-06-08T16:06:40.895Z] Login Succeeded [2022-06-08T16:06:40.895Z] docker.io [2022-06-08T16:06:41.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T16:06:41.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T16:06:41.766Z] Configure a credential helper to remove this warning. See [2022-06-08T16:06:41.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T16:06:41.766Z] [2022-06-08T16:06:41.766Z] Login Succeeded [2022-06-08T16:06:41.766Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T16:06:41.786Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T16:06:41.819Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T16:06:41.839Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-06-08T16:06:41.839Z] c825c9e02f55f2d37ee60cfba734680a35820bea [2022-06-08T16:06:41.839Z] 2.1.1-dev.3 [2022-06-08T16:06:41.839Z] c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 [2022-06-08T16:06:41.839Z] jakarta [2022-06-08T16:06:41.839Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:06:42.198Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:06:42.579Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea [2022-06-08T16:06:42.579Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-08T16:06:42.579Z] 7ddf682a4a61: Preparing [2022-06-08T16:06:42.579Z] e3fb1ede25e9: Preparing [2022-06-08T16:06:42.579Z] 49194d1a2830: Preparing [2022-06-08T16:06:42.579Z] 629c97ff2ac8: Preparing [2022-06-08T16:06:42.579Z] f73e7dbfee58: Preparing [2022-06-08T16:06:42.579Z] f73e7dbfee58: Layer already exists [2022-06-08T16:06:42.858Z] e3fb1ede25e9: Pushed [2022-06-08T16:06:42.858Z] 7ddf682a4a61: Pushed [2022-06-08T16:06:43.456Z] 629c97ff2ac8: Pushed [2022-06-08T16:06:46.087Z] 49194d1a2830: Pushed [2022-06-08T16:06:46.087Z] c825c9e02f55f2d37ee60cfba734680a35820bea: digest: sha256:20606c7b32e280c95ffa18ce3a04e5c7601c1ac9fd84b0e36ce1e21077c5bd41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:06:46.468Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:06:46.840Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.3 [2022-06-08T16:06:46.840Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-08T16:06:46.840Z] 7ddf682a4a61: Preparing [2022-06-08T16:06:46.840Z] e3fb1ede25e9: Preparing [2022-06-08T16:06:46.840Z] 49194d1a2830: Preparing [2022-06-08T16:06:46.840Z] 629c97ff2ac8: Preparing [2022-06-08T16:06:46.840Z] f73e7dbfee58: Preparing [2022-06-08T16:06:46.840Z] 7ddf682a4a61: Layer already exists [2022-06-08T16:06:46.840Z] 49194d1a2830: Layer already exists [2022-06-08T16:06:46.840Z] f73e7dbfee58: Layer already exists [2022-06-08T16:06:46.840Z] 629c97ff2ac8: Layer already exists [2022-06-08T16:06:46.840Z] e3fb1ede25e9: Layer already exists [2022-06-08T16:06:47.113Z] 2.1.1-dev.3: digest: sha256:20606c7b32e280c95ffa18ce3a04e5c7601c1ac9fd84b0e36ce1e21077c5bd41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:06:47.489Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:06:47.856Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 [2022-06-08T16:06:47.857Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-08T16:06:47.857Z] 7ddf682a4a61: Preparing [2022-06-08T16:06:47.857Z] e3fb1ede25e9: Preparing [2022-06-08T16:06:47.857Z] 49194d1a2830: Preparing [2022-06-08T16:06:47.857Z] 629c97ff2ac8: Preparing [2022-06-08T16:06:47.857Z] f73e7dbfee58: Preparing [2022-06-08T16:06:47.857Z] 7ddf682a4a61: Layer already exists [2022-06-08T16:06:47.857Z] 49194d1a2830: Layer already exists [2022-06-08T16:06:47.857Z] 629c97ff2ac8: Layer already exists [2022-06-08T16:06:47.857Z] e3fb1ede25e9: Layer already exists [2022-06-08T16:06:47.857Z] f73e7dbfee58: Layer already exists [2022-06-08T16:06:48.130Z] c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3: digest: sha256:20606c7b32e280c95ffa18ce3a04e5c7601c1ac9fd84b0e36ce1e21077c5bd41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:06:48.503Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:06:48.869Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [2022-06-08T16:06:48.869Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-08T16:06:48.869Z] 7ddf682a4a61: Preparing [2022-06-08T16:06:48.869Z] e3fb1ede25e9: Preparing [2022-06-08T16:06:48.869Z] 49194d1a2830: Preparing [2022-06-08T16:06:48.869Z] 629c97ff2ac8: Preparing [2022-06-08T16:06:48.869Z] f73e7dbfee58: Preparing [2022-06-08T16:06:48.869Z] 49194d1a2830: Layer already exists [2022-06-08T16:06:48.869Z] f73e7dbfee58: Layer already exists [2022-06-08T16:06:48.869Z] e3fb1ede25e9: Layer already exists [2022-06-08T16:06:48.869Z] 629c97ff2ac8: Layer already exists [2022-06-08T16:06:48.869Z] 7ddf682a4a61: Layer already exists [2022-06-08T16:06:49.142Z] jakarta: digest: sha256:20606c7b32e280c95ffa18ce3a04e5c7601c1ac9fd84b0e36ce1e21077c5bd41 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-08T16:06:49.197Z] ===================================================== [Pipeline] echo [2022-06-08T16:06:49.203Z] taggedImages: [2022-06-08T16:06:49.203Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea [2022-06-08T16:06:49.203Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.1.1-dev.3 [2022-06-08T16:06:49.203Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:c825c9e02f55f2d37ee60cfba734680a35820bea-2.1.1-dev.3 [2022-06-08T16:06:49.203Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:06:49.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T16:06:49.581Z] [2022-06-08T16:06:49.581Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:06:49.937Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T16:06:50.216Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-08T16:06:50.216Z] 8998bd30e6a1: Pulling fs layer [2022-06-08T16:06:50.216Z] 04944245beec: Pulling fs layer [2022-06-08T16:06:50.216Z] 699f458cf7ca: Pulling fs layer [2022-06-08T16:06:50.216Z] 765212b225bb: Pulling fs layer [2022-06-08T16:06:50.216Z] f23df028b6ca: Pulling fs layer [2022-06-08T16:06:50.216Z] d65c8cfc05b1: Pulling fs layer [2022-06-08T16:06:50.216Z] 2437ff75d9bd: Pulling fs layer [2022-06-08T16:06:50.216Z] f23df028b6ca: Waiting [2022-06-08T16:06:50.216Z] d65c8cfc05b1: Waiting [2022-06-08T16:06:50.216Z] 765212b225bb: Waiting [2022-06-08T16:06:50.216Z] 2437ff75d9bd: Waiting [2022-06-08T16:06:50.216Z] 04944245beec: Verifying Checksum [2022-06-08T16:06:50.216Z] 04944245beec: Download complete [2022-06-08T16:06:50.216Z] 765212b225bb: Verifying Checksum [2022-06-08T16:06:50.216Z] 765212b225bb: Download complete [2022-06-08T16:06:50.216Z] f23df028b6ca: Verifying Checksum [2022-06-08T16:06:50.216Z] f23df028b6ca: Download complete [2022-06-08T16:06:50.216Z] d65c8cfc05b1: Verifying Checksum [2022-06-08T16:06:50.216Z] d65c8cfc05b1: Download complete [2022-06-08T16:06:50.495Z] 699f458cf7ca: Verifying Checksum [2022-06-08T16:06:50.495Z] 699f458cf7ca: Download complete [2022-06-08T16:06:50.772Z] 8998bd30e6a1: Download complete [2022-06-08T16:06:53.399Z] 2437ff75d9bd: Verifying Checksum [2022-06-08T16:06:53.399Z] 2437ff75d9bd: Download complete [2022-06-08T16:06:55.384Z] 8998bd30e6a1: Pull complete [2022-06-08T16:06:55.659Z] 04944245beec: Pull complete [2022-06-08T16:06:57.092Z] 699f458cf7ca: Pull complete [2022-06-08T16:06:57.368Z] 765212b225bb: Pull complete [2022-06-08T16:06:58.355Z] f23df028b6ca: Pull complete [2022-06-08T16:06:58.355Z] d65c8cfc05b1: Pull complete [2022-06-08T16:07:13.479Z] 2437ff75d9bd: Pull complete [2022-06-08T16:07:13.479Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-08T16:07:13.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T16:07:13.479Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:07:13.763Z] prd-ubuntu20.04-docker-arm64-4c-16g-1766 does not seem to be running inside a container [2022-06-08T16:07:13.856Z] $ 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/7 -v /w/workspace/device-rest-go/7:/w/workspace/device-rest-go/7:rw,z -v /w/workspace/device-rest-go/7@tmp:/w/workspace/device-rest-go/7@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-lftools-log-publisher:arm64 cat [2022-06-08T16:07:16.338Z] $ docker top 82fa7f5df025f5650b100f98e110099330b8c8866863095da35f54a012ecb8e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:07:17.252Z] ---> job-cost.sh [2022-06-08T16:07:17.252Z] lf-activate-venv: SKIPPING [2022-06-08T16:07:17.252Z] INFO: No Stack... [2022-06-08T16:07:17.527Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-08T16:07:18.517Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T16:07:19.184Z] + cat /w/workspace/device-rest-go/7/archives/cost.csv [2022-06-08T16:07:19.184Z] + cut -d, -f6 [Pipeline] lock [2022-06-08T16:07:19.214Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] [2022-06-08T16:07:19.222Z] Resource [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] did not exist. Created. [2022-06-08T16:07:19.223Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T16:07:19.913Z] /w/workspace/device-rest-go/7@tmp/durable-90acee4c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-08T16:07:20.606Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-08T16:07:20.628Z] Warning: overwriting stash ‘stack-cost’ [2022-06-08T16:07:20.906Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T16:07:20.913Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-jakarta-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T16:07:20.933Z] $ docker stop --time=1 82fa7f5df025f5650b100f98e110099330b8c8866863095da35f54a012ecb8e7 [2022-06-08T16:07:22.533Z] $ docker rm -f 82fa7f5df025f5650b100f98e110099330b8c8866863095da35f54a012ecb8e7 [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-06-08T16:07:23.015Z] provisioning config files... [2022-06-08T16:07:23.023Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config2826208325752322202tmp [Pipeline] { [Pipeline] sh [2022-06-08T16:07:23.323Z] + set +x [2022-06-08T16:07:23.323Z] + bash -s -- [2022-06-08T16:07:23.323Z] + curl -s https://codecov.io/bash [2022-06-08T16:07:23.323Z] [2022-06-08T16:07:23.323Z] _____ _ [2022-06-08T16:07:23.323Z] / ____| | | [2022-06-08T16:07:23.323Z] | | ___ __| | ___ ___ _____ __ [2022-06-08T16:07:23.323Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-08T16:07:23.323Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-08T16:07:23.323Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-08T16:07:23.323Z] Bash-1.0.6 [2022-06-08T16:07:23.323Z] [2022-06-08T16:07:23.323Z] [2022-06-08T16:07:23.323Z] ==> git version 2.25.1 found [2022-06-08T16:07:23.323Z] ==> 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-06-08T16:07:23.323Z] Release-Date: 2020-01-08 [2022-06-08T16:07:23.323Z] 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-06-08T16:07:23.323Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-08T16:07:23.323Z] ==> Jenkins CI detected. [2022-06-08T16:07:23.323Z] current dir:  /w/workspace/exfoundry_device-rest-go_jakarta [2022-06-08T16:07:23.323Z] project root: . [2022-06-08T16:07:23.323Z] --> token set from env [2022-06-08T16:07:23.323Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-08T16:07:23.323Z] ==> Running gcov in . (disable via -X gcov) [2022-06-08T16:07:23.323Z] ==> Python coveragepy not found [2022-06-08T16:07:23.323Z] ==> Searching for coverage reports in: [2022-06-08T16:07:23.323Z] + . [2022-06-08T16:07:23.323Z] -> Found 1 reports [2022-06-08T16:07:23.323Z] ==> Detecting git/mercurial file structure [2022-06-08T16:07:23.323Z] ==> Reading reports [2022-06-08T16:07:23.323Z] + ./coverage.out bytes=9215 [2022-06-08T16:07:23.323Z] ==> Appending adjustments [2022-06-08T16:07:23.323Z] https://docs.codecov.io/docs/fixing-reports [2022-06-08T16:07:23.584Z] + Found adjustments [2022-06-08T16:07:23.584Z] ==> Gzipping contents [2022-06-08T16:07:23.584Z] 12K /tmp/codecov.rVGIPT.gz [2022-06-08T16:07:23.584Z] ==> Uploading reports [2022-06-08T16:07:23.584Z] url: https://codecov.io [2022-06-08T16:07:23.584Z] query: branch=jakarta&commit=c825c9e02f55f2d37ee60cfba734680a35820bea&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-08T16:07:23.584Z] -> Pinging Codecov [2022-06-08T16:07:23.584Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=jakarta&commit=c825c9e02f55f2d37ee60cfba734680a35820bea&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fjakarta%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-08T16:07:23.844Z] -> Uploading to [2022-06-08T16:07:23.844Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-08/4E5D53B4F1F92C436F7061BF334D961C/c825c9e02f55f2d37ee60cfba734680a35820bea/4300d76a-eed3-47f2-a500-1cb92161b71b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220608T160723Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5386d6e145c6e51a257adf0bbdf8bc6a1a42167eefb247914460563b41371a96 [2022-06-08T16:07:23.844Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T16:07:23.844Z] Dload Upload Total Spent Left Speed [2022-06-08T16:07:24.104Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 8322 0 0 100 8322 0 35412 --:--:-- --:--:-- --:--:-- 35564 [2022-06-08T16:07:24.104Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] } [2022-06-08T16:07:24.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-08T16:07:24.244Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-08T16:07:24.259Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:07:24.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-08T16:07:24.563Z] [2022-06-08T16:07:24.563Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:07:24.862Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-08T16:07:24.862Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-08T16:07:24.862Z] df9b9388f04a: Pulling fs layer [2022-06-08T16:07:24.862Z] 52dc419b0ee2: Pulling fs layer [2022-06-08T16:07:24.862Z] 25bc292e5bac: Pulling fs layer [2022-06-08T16:07:24.862Z] 114826534d7a: Pulling fs layer [2022-06-08T16:07:24.862Z] 4657fd5d0bcf: Pulling fs layer [2022-06-08T16:07:24.862Z] 6ad1cebc031e: Pulling fs layer [2022-06-08T16:07:24.862Z] 8a3aa393b2d8: Pulling fs layer [2022-06-08T16:07:24.862Z] 114826534d7a: Waiting [2022-06-08T16:07:24.862Z] 6ad1cebc031e: Waiting [2022-06-08T16:07:24.862Z] 8a3aa393b2d8: Waiting [2022-06-08T16:07:24.862Z] 4657fd5d0bcf: Waiting [2022-06-08T16:07:24.862Z] 25bc292e5bac: Verifying Checksum [2022-06-08T16:07:24.862Z] 25bc292e5bac: Download complete [2022-06-08T16:07:24.862Z] 52dc419b0ee2: Download complete [2022-06-08T16:07:24.862Z] 4657fd5d0bcf: Download complete [2022-06-08T16:07:24.862Z] df9b9388f04a: Download complete [2022-06-08T16:07:25.126Z] 6ad1cebc031e: Verifying Checksum [2022-06-08T16:07:25.126Z] 6ad1cebc031e: Download complete [2022-06-08T16:07:25.126Z] df9b9388f04a: Pull complete [2022-06-08T16:07:25.126Z] 52dc419b0ee2: Pull complete [2022-06-08T16:07:25.389Z] 25bc292e5bac: Pull complete [2022-06-08T16:07:25.648Z] 114826534d7a: Verifying Checksum [2022-06-08T16:07:25.648Z] 114826534d7a: Download complete [2022-06-08T16:07:25.910Z] 8a3aa393b2d8: Verifying Checksum [2022-06-08T16:07:25.910Z] 8a3aa393b2d8: Download complete [2022-06-08T16:07:29.202Z] 114826534d7a: Pull complete [2022-06-08T16:07:29.202Z] 4657fd5d0bcf: Pull complete [2022-06-08T16:07:29.461Z] 6ad1cebc031e: Pull complete [2022-06-08T16:07:31.993Z] 8a3aa393b2d8: Pull complete [2022-06-08T16:07:31.993Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-08T16:07:31.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-08T16:07:31.993Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:07:32.087Z] prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container [2022-06-08T16:07:32.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-08T16:07:33.673Z] $ docker top 409d93747b04f4ca80b3049aeb3a234d2363d1dd711d2129b1d2747a905a1e41 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-08T16:07:33.753Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:jakarta' [Pipeline] sh [2022-06-08T16:07:34.032Z] + set -o pipefail [2022-06-08T16:07:34.032Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:jakarta' [2022-06-08T16:07:36.572Z] [2022-06-08T16:07:36.572Z] Monitoring /w/workspace/exfoundry_device-rest-go_jakarta (github.com/edgexfoundry/device-rest-go)... [2022-06-08T16:07:36.572Z] [2022-06-08T16:07:36.572Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/23e015b0-e497-416f-a5ee-924b597a28fb/history/51217674-59a2-4a25-a5d4-617cd5204bd4 [2022-06-08T16:07:36.572Z] [2022-06-08T16:07:36.572Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-06-08T16:07:36.572Z] [2022-06-08T16:07:36.572Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-08T16:07:36.572Z] [2022-06-08T16:07:36.572Z] [Pipeline] } [2022-06-08T16:07:36.589Z] $ docker stop --time=1 409d93747b04f4ca80b3049aeb3a234d2363d1dd711d2129b1d2747a905a1e41 [2022-06-08T16:07:37.857Z] $ docker rm -f 409d93747b04f4ca80b3049aeb3a234d2363d1dd711d2129b1d2747a905a1e41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T16:07:38.450Z] + git log --format=format:%s -1 c825c9e02f55f2d37ee60cfba734680a35820bea [Pipeline] sh [2022-06-08T16:07:38.754Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T16:07:38.754Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:07:39.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T16:07:39.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:07:39.144Z] prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container [2022-06-08T16:07:39.185Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T16:07:39.555Z] $ docker top 9f78a4f40c716cc9ef41e8c5bc33f4b6a64e6a2ef023b6ca05789cec9c00c400 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T16:07:39.652Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T16:07:39.652Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T16:07:39.790Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T16:07:39.796Z] $ docker exec 9f78a4f40c716cc9ef41e8c5bc33f4b6a64e6a2ef023b6ca05789cec9c00c400 ssh-agent [2022-06-08T16:07:39.938Z] SSH_AUTH_SOCK=/tmp/ssh-z82vvPWdK0WO/agent.32 [2022-06-08T16:07:39.938Z] SSH_AGENT_PID=38 [2022-06-08T16:07:39.945Z] Running ssh-add (command line suppressed) [2022-06-08T16:07:40.077Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_3730450004582732522.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_3730450004582732522.key) [2022-06-08T16:07:40.089Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T16:07:40.378Z] + git semver tag [2022-06-08T16:07:40.638Z] 2022-06-08 16:07:40,577 [run_tag] DEBUG tag force:False [2022-06-08T16:07:40.638Z] 2022-06-08 16:07:40,577 [check_head_tag] DEBUG check head tag [2022-06-08T16:07:40.638Z] 2022-06-08 16:07:40,578 [execute] INFO git cat-file --batch-check [2022-06-08T16:07:40.638Z] 2022-06-08 16:07:40,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-06-08T16:07:40.638Z] 2022-06-08 16:07:40,581 [execute] INFO git cat-file --batch [2022-06-08T16:07:40.638Z] 2022-06-08 16:07:40,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=) [2022-06-08T16:07:40.638Z] 2022-06-08 16:07:40,590 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-08T16:07:40.638Z] 2022-06-08 16:07:40,590 [execute] INFO git tag -a v2.1.1-dev.3 -m v2.1.1-dev.3 [2022-06-08T16:07:40.638Z] 2022-06-08 16:07:40,590 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.3', '-m', 'v2.1.1-dev.3'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-08T16:07:40.638Z] 2022-06-08 16:07:40,595 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-08T16:07:40.638Z] 2.1.1-dev.3 [Pipeline] } [2022-06-08T16:07:40.651Z] $ docker exec --env ******** --env ******** 9f78a4f40c716cc9ef41e8c5bc33f4b6a64e6a2ef023b6ca05789cec9c00c400 ssh-agent -k [2022-06-08T16:07:40.758Z] unset SSH_AUTH_SOCK; [2022-06-08T16:07:40.758Z] unset SSH_AGENT_PID; [2022-06-08T16:07:40.758Z] echo Agent pid 38 killed; [2022-06-08T16:07:40.767Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T16:07:41.071Z] + git semver [Pipeline] } [2022-06-08T16:07:41.347Z] $ docker stop --time=1 9f78a4f40c716cc9ef41e8c5bc33f4b6a64e6a2ef023b6ca05789cec9c00c400 [2022-06-08T16:07:42.653Z] $ docker rm -f 9f78a4f40c716cc9ef41e8c5bc33f4b6a64e6a2ef023b6ca05789cec9c00c400 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:07:43.039Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-08T16:07:43.039Z] [2022-06-08T16:07:43.039Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:07:43.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-08T16:07:43.351Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-08T16:07:43.351Z] ab5ef0e58194: Pulling fs layer [2022-06-08T16:07:43.351Z] 9712f1f96733: Pulling fs layer [2022-06-08T16:07:43.351Z] 63f879dbbcfc: Pulling fs layer [2022-06-08T16:07:43.351Z] 0d9ebad4ef96: Pulling fs layer [2022-06-08T16:07:43.351Z] e9a5061849ea: Pulling fs layer [2022-06-08T16:07:43.351Z] d747dcd14b5f: Pulling fs layer [2022-06-08T16:07:43.351Z] 2de7ff778b66: Pulling fs layer [2022-06-08T16:07:43.351Z] e9a5061849ea: Waiting [2022-06-08T16:07:43.351Z] d747dcd14b5f: Waiting [2022-06-08T16:07:43.351Z] 2de7ff778b66: Waiting [2022-06-08T16:07:43.351Z] 0d9ebad4ef96: Waiting [2022-06-08T16:07:43.351Z] 9712f1f96733: Download complete [2022-06-08T16:07:43.613Z] 63f879dbbcfc: Verifying Checksum [2022-06-08T16:07:43.613Z] 63f879dbbcfc: Download complete [2022-06-08T16:07:43.876Z] e9a5061849ea: Verifying Checksum [2022-06-08T16:07:43.876Z] e9a5061849ea: Download complete [2022-06-08T16:07:43.876Z] d747dcd14b5f: Verifying Checksum [2022-06-08T16:07:43.876Z] d747dcd14b5f: Download complete [2022-06-08T16:07:43.876Z] ab5ef0e58194: Verifying Checksum [2022-06-08T16:07:43.876Z] ab5ef0e58194: Download complete [2022-06-08T16:07:43.876Z] 0d9ebad4ef96: Verifying Checksum [2022-06-08T16:07:43.876Z] 0d9ebad4ef96: Download complete [2022-06-08T16:07:44.134Z] 2de7ff778b66: Verifying Checksum [2022-06-08T16:07:44.134Z] 2de7ff778b66: Download complete [2022-06-08T16:07:46.670Z] ab5ef0e58194: Pull complete [2022-06-08T16:07:46.670Z] 9712f1f96733: Pull complete [2022-06-08T16:07:47.238Z] 63f879dbbcfc: Pull complete [2022-06-08T16:07:51.429Z] 0d9ebad4ef96: Pull complete [2022-06-08T16:07:51.429Z] e9a5061849ea: Pull complete [2022-06-08T16:07:51.429Z] d747dcd14b5f: Pull complete [2022-06-08T16:07:51.998Z] 2de7ff778b66: Pull complete [2022-06-08T16:07:51.998Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-08T16:07:51.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-08T16:07:51.998Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:07:52.091Z] prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container [2022-06-08T16:07:52.129Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-08T16:07:53.825Z] $ docker top 381198eb8346e40cc2b05671c955e557858f9ceb438d96c929fa22fa35ef4ba6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-08T16:07:53.901Z] provisioning config files... [2022-06-08T16:07:53.909Z] copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config5030811336272140906tmp [2022-06-08T16:07:53.920Z] copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config2113900681868304432tmp [2022-06-08T16:07:53.934Z] copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config8574872745289728781tmp [Pipeline] { [Pipeline] echo [2022-06-08T16:07:53.947Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:07:54.231Z] ---> sigul-configuration.sh [2022-06-08T16:07:54.231Z] gpg: directory `/root/.gnupg' created [2022-06-08T16:07:54.231Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-08T16:07:54.231Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-08T16:07:54.231Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-08T16:07:54.231Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-08T16:07:54.231Z] gpg: CAST5 encrypted data [2022-06-08T16:07:54.231Z] gpg: encrypted with 1 passphrase [2022-06-08T16:07:54.231Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-08T16:07:54.522Z] + mkdir /home/jenkins [2022-06-08T16:07:54.522Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-08T16:07:54.809Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-06-08T16:07:54.817Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:07:55.103Z] ---> sigul-install.sh [2022-06-08T16:07:55.103Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-08T16:07:55.392Z] + git tag --list [2022-06-08T16:07:55.392Z] v1.0.0 [2022-06-08T16:07:55.392Z] v1.1.0 [2022-06-08T16:07:55.392Z] v1.1.1 [2022-06-08T16:07:55.392Z] v1.1.2 [2022-06-08T16:07:55.392Z] v1.2.0 [2022-06-08T16:07:55.392Z] v1.2.1 [2022-06-08T16:07:55.392Z] v2.0.0 [2022-06-08T16:07:55.392Z] v2.1.0 [2022-06-08T16:07:55.392Z] v2.1.1-dev.1 [2022-06-08T16:07:55.392Z] v2.1.1-dev.2 [2022-06-08T16:07:55.392Z] v2.1.1-dev.3 [2022-06-08T16:07:55.392Z] v2.2.0 [2022-06-08T16:07:55.392Z] v2.2.1-dev.1 [2022-06-08T16:07:55.392Z] v2.2.1-dev.2 [2022-06-08T16:07:55.392Z] v2.2.1-dev.3 [2022-06-08T16:07:55.392Z] v2.2.1-dev.4 [Pipeline] sh [2022-06-08T16:07:55.679Z] + lftools sign git-tag v2.1.1-dev.3 [2022-06-08T16:07:56.256Z] Signing Git tag with Sigul... [2022-06-08T16:07:56.256Z] Signing v2.1.1-dev.3 [Pipeline] echo [2022-06-08T16:07:56.531Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:07:56.817Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-08T16:07:56.825Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-08T16:07:56.847Z] $ docker stop --time=1 381198eb8346e40cc2b05671c955e557858f9ceb438d96c929fa22fa35ef4ba6 [2022-06-08T16:07:58.130Z] $ docker rm -f 381198eb8346e40cc2b05671c955e557858f9ceb438d96c929fa22fa35ef4ba6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-08T16:07:58.562Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T16:07:58.562Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:07:58.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T16:07:58.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:07:58.950Z] prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container [2022-06-08T16:07:58.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T16:07:59.357Z] $ docker top 40d7c8101ae58f1d20199418e0736440f9fa546c30c7850a54b6792c6bbd1525 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T16:07:59.444Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T16:07:59.444Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T16:07:59.564Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T16:07:59.571Z] $ docker exec 40d7c8101ae58f1d20199418e0736440f9fa546c30c7850a54b6792c6bbd1525 ssh-agent [2022-06-08T16:07:59.688Z] SSH_AUTH_SOCK=/tmp/ssh-xdhqjUwjp5uh/agent.33 [2022-06-08T16:07:59.688Z] SSH_AGENT_PID=39 [2022-06-08T16:07:59.693Z] Running ssh-add (command line suppressed) [2022-06-08T16:07:59.805Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2737133588511865938.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_2737133588511865938.key) [2022-06-08T16:07:59.815Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T16:08:00.104Z] + git semver bump pre [2022-06-08T16:08:00.364Z] 2022-06-08 16:08:00,284 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-08T16:08:00.364Z] 2022-06-08 16:08:00,284 [bump_version] DEBUG bumping version:2.1.1-dev.3 on axis:pre with prefix:dev [2022-06-08T16:08:00.364Z] 2022-06-08 16:08:00,284 [bump_version] DEBUG bumped version:2.1.1-dev.4 [2022-06-08T16:08:00.364Z] 2022-06-08 16:08:00,284 [write_version] DEBUG write version:2.1.1-dev.4 to path:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta with force:True [2022-06-08T16:08:00.364Z] 2022-06-08 16:08:00,284 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-08T16:08:00.364Z] 2022-06-08 16:08:00,284 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-08T16:08:00.364Z] 2022-06-08 16:08:00,286 [execute] INFO git cat-file --batch-check [2022-06-08T16:08:00.364Z] 2022-06-08 16:08:00,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-06-08T16:08:00.364Z] 2022-06-08 16:08:00,291 [execute] INFO git cat-file --batch [2022-06-08T16:08:00.364Z] 2022-06-08 16:08:00,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-06-08T16:08:00.364Z] 2022-06-08 16:08:00,296 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-08T16:08:00.364Z] 2.1.1-dev.4 [Pipeline] } [2022-06-08T16:08:00.381Z] $ docker exec --env ******** --env ******** 40d7c8101ae58f1d20199418e0736440f9fa546c30c7850a54b6792c6bbd1525 ssh-agent -k [2022-06-08T16:08:00.500Z] unset SSH_AUTH_SOCK; [2022-06-08T16:08:00.500Z] unset SSH_AGENT_PID; [2022-06-08T16:08:00.500Z] echo Agent pid 39 killed; [2022-06-08T16:08:00.509Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T16:08:00.813Z] + git semver [Pipeline] } [2022-06-08T16:08:01.092Z] $ docker stop --time=1 40d7c8101ae58f1d20199418e0736440f9fa546c30c7850a54b6792c6bbd1525 [2022-06-08T16:08:02.356Z] $ docker rm -f 40d7c8101ae58f1d20199418e0736440f9fa546c30c7850a54b6792c6bbd1525 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T16:08:02.704Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T16:08:02.704Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:08:03.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T16:08:03.008Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:08:03.088Z] prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container [2022-06-08T16:08:03.124Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T16:08:03.475Z] $ docker top d0322ec3b9aa9d472f055680c98a4c63516abea9ac7083c9114697c13f283687 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T16:08:03.567Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T16:08:03.567Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T16:08:03.689Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T16:08:03.695Z] $ docker exec d0322ec3b9aa9d472f055680c98a4c63516abea9ac7083c9114697c13f283687 ssh-agent [2022-06-08T16:08:03.802Z] SSH_AUTH_SOCK=/tmp/ssh-k2T3qLPm3Uty/agent.32 [2022-06-08T16:08:03.802Z] SSH_AGENT_PID=40 [2022-06-08T16:08:03.807Z] Running ssh-add (command line suppressed) [2022-06-08T16:08:03.922Z] Identity added: /w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6324956713759909376.key (/w/workspace/exfoundry_device-rest-go_jakarta@tmp/private_key_6324956713759909376.key) [2022-06-08T16:08:03.936Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T16:08:04.226Z] + git semver push [2022-06-08T16:08:04.490Z] 2022-06-08 16:08:04,404 [run_push] DEBUG push [2022-06-08T16:08:04.490Z] 2022-06-08 16:08:04,405 [execute] INFO git cat-file --batch-check [2022-06-08T16:08:04.490Z] 2022-06-08 16:08:04,405 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) [2022-06-08T16:08:04.490Z] 2022-06-08 16:08:04,408 [execute] INFO git rev-list e9e2e9a979124a445e6f6a81820455210aed0759 -- [2022-06-08T16:08:04.490Z] 2022-06-08 16:08:04,409 [execute] DEBUG Popen(['git', 'rev-list', 'e9e2e9a979124a445e6f6a81820455210aed0759', '--'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-08T16:08:04.490Z] 2022-06-08 16:08:04,412 [execute] INFO git fetch -v origin [2022-06-08T16:08:04.490Z] 2022-06-08 16:08:04,412 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-08T16:08:05.061Z] 2022-06-08 16:08:04,896 [run_push] DEBUG no remote changes detected [2022-06-08T16:08:05.061Z] 2022-06-08 16:08:04,896 [execute] INFO git push origin semver [2022-06-08T16:08:05.061Z] 2022-06-08 16:08:04,897 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-08T16:08:05.633Z] 2022-06-08 16:08:05,598 [run_push] DEBUG push all version tags [2022-06-08T16:08:05.633Z] 2022-06-08 16:08:05,599 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-08T16:08:05.633Z] 2022-06-08 16:08:05,599 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-rest-go_jakarta, universal_newlines=False, shell=None, istream=None) [2022-06-08T16:08:06.574Z] 2022-06-08 16:08:06,277 [read_version] DEBUG read version from /w/workspace/exfoundry_device-rest-go_jakarta/.semver/jakarta [2022-06-08T16:08:06.574Z] 2.1.1-dev.4 [Pipeline] } [2022-06-08T16:08:06.588Z] $ docker exec --env ******** --env ******** d0322ec3b9aa9d472f055680c98a4c63516abea9ac7083c9114697c13f283687 ssh-agent -k [2022-06-08T16:08:06.693Z] unset SSH_AUTH_SOCK; [2022-06-08T16:08:06.693Z] unset SSH_AGENT_PID; [2022-06-08T16:08:06.693Z] echo Agent pid 40 killed; [2022-06-08T16:08:06.704Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T16:08:07.017Z] + git semver [Pipeline] } [2022-06-08T16:08:07.294Z] $ docker stop --time=1 d0322ec3b9aa9d472f055680c98a4c63516abea9ac7083c9114697c13f283687 [2022-06-08T16:08:08.570Z] $ docker rm -f d0322ec3b9aa9d472f055680c98a4c63516abea9ac7083c9114697c13f283687 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-06-08T16:08:09.118Z] + [ -d /w/workspace/exfoundry_device-rest-go_jakarta/archives ] [2022-06-08T16:08:09.119Z] + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-08T16:08:09.119Z] total 16 [2022-06-08T16:08:09.119Z] drwxr-xr-x 3 root root 4096 Jun 8 15:59 . [2022-06-08T16:08:09.119Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 16:07 .. [2022-06-08T16:08:09.119Z] drwxr-xr-x 2 root root 4096 Jun 8 15:59 cost [2022-06-08T16:08:09.119Z] -rw-r--r-- 1 root root 86 Jun 8 15:59 cost.csv [2022-06-08T16:08:09.119Z] + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-08T16:08:09.119Z] + ls -al /w/workspace/exfoundry_device-rest-go_jakarta/archives [2022-06-08T16:08:09.119Z] total 16 [2022-06-08T16:08:09.119Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 15:59 . [2022-06-08T16:08:09.119Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 16:07 .. [2022-06-08T16:08:09.119Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 15:59 cost [2022-06-08T16:08:09.119Z] -rw-r--r-- 1 jenkins jenkins 86 Jun 8 15:59 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:08:09.415Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:08:10.415Z] ---> package-listing.sh [2022-06-08T16:08:10.415Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-08T16:08:10.415Z] ++ facter osfamily [2022-06-08T16:08:10.415Z] + OS_FAMILY=debian [2022-06-08T16:08:10.415Z] + workspace=/w/workspace/exfoundry_device-rest-go_jakarta [2022-06-08T16:08:10.415Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-08T16:08:10.415Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-08T16:08:10.415Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-08T16:08:10.415Z] + PACKAGES=/tmp/packages_start.txt [2022-06-08T16:08:10.415Z] + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' [2022-06-08T16:08:10.415Z] + PACKAGES=/tmp/packages_end.txt [2022-06-08T16:08:10.415Z] + case "${OS_FAMILY}" in [2022-06-08T16:08:10.415Z] + grep '^ii' [2022-06-08T16:08:10.415Z] + dpkg -l [2022-06-08T16:08:10.420Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-08T16:08:10.420Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-08T16:08:10.420Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-08T16:08:10.420Z] + '[' /w/workspace/exfoundry_device-rest-go_jakarta ']' [2022-06-08T16:08:10.420Z] + mkdir -p /w/workspace/exfoundry_device-rest-go_jakarta/archives/ [2022-06-08T16:08:10.420Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-rest-go_jakarta/archives/ [Pipeline] echo [2022-06-08T16:08:10.422Z] 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/exfoundry_device-rest-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-08T16:08:10.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T16:08:11.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T16:08:11.258Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T16:08:11.331Z] prd-ubuntu20.04-docker-8c-8g-1763 does not seem to be running inside a container [2022-06-08T16:08:11.408Z] $ 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/exfoundry_device-rest-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-rest-go_jakarta -v /w/workspace/exfoundry_device-rest-go_jakarta:/w/workspace/exfoundry_device-rest-go_jakarta:rw,z -v /w/workspace/exfoundry_device-rest-go_jakarta@tmp:/w/workspace/exfoundry_device-rest-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-08T16:08:11.610Z] $ docker top 6219ac100e66b50ba8880f5a1131ce92e75fe0fc743dbe0bbd0b145e14db1757 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T16:08:11.955Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-08T16:08:12.243Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-08T16:08:12.532Z] + ls /var/log/sa-host [2022-06-08T16:08:12.532Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T16:08:12.600Z] provisioning config files... [2022-06-08T16:08:12.609Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-rest-go_jakarta@tmp/config4211031447076401333tmp [Pipeline] { [Pipeline] echo [2022-06-08T16:08:12.623Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:08:12.910Z] ---> create-netrc.sh [Pipeline] } [2022-06-08T16:08:12.918Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:08:13.243Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-08T16:08:13.252Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:08:13.537Z] ---> sudo-logs.sh [2022-06-08T16:08:13.537Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-08T16:08:13.560Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:08:13.844Z] ---> job-cost.sh [2022-06-08T16:08:13.844Z] lf-activate-venv: SKIPPING [2022-06-08T16:08:13.844Z] DEBUG: total: 0.2199999988079071 [2022-06-08T16:08:13.844Z] INFO: Retrieving Stack Cost... [2022-06-08T16:08:14.103Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T16:08:14.674Z] INFO: Archiving Costs [Pipeline] echo [2022-06-08T16:08:14.686Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T16:08:14.972Z] ---> logs-deploy.sh [2022-06-08T16:08:14.972Z] lf-activate-venv: SKIPPING [2022-06-08T16:08:14.972Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/jakarta/7 [2022-06-08T16:08:14.972Z] INFO: archiving workspace using pattern(s): [2022-06-08T16:08:15.915Z] Archives upload complete. [2022-06-08T16:08:15.915Z] INFO: archiving logs to Nexus