Pull request #221 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e04f72990f565fcdac6f982fafa7f719664c4a16+626f6c6d709bfdfff0bd38f00197e38acd6ec0eb (742d337de6b836cb5b10ca2576ac370dfbd4a7db) 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-ssh11645590881939449793.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13647058239095828612.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18151002860026865220.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-221/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9805526398479029840.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2399510010720782349.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-221/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-221/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh971011142634080792.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63832 in /w/workspace/gexfoundry_device-rest-go_PR-221 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-221 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb into PR head commit e04f72990f565fcdac6f982fafa7f719664c4a16 Merge succeeded, producing e04f72990f565fcdac6f982fafa7f719664c4a16 Checking out Revision e04f72990f565fcdac6f982fafa7f719664c4a16 (PR-221) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T01:19:59.571Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T01:19:59.740Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e04f72990f565fcdac6f982fafa7f719664c4a16 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e04f72990f565fcdac6f982fafa7f719664c4a16 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T01:19:59.851Z] ========================================================= [2022-10-25T01:19:59.851Z] EdgeX Global Pipelines Version Info [2022-10-25T01:19:59.851Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:20:00.604Z] ------------------- [2022-10-25T01:20:00.605Z] stable info: [2022-10-25T01:20:00.605Z] ------------------- [2022-10-25T01:20:00.605Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T01:20:00.605Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T01:20:00.605Z] Message: update stable to v1.0.243 [2022-10-25T01:20:01.174Z] ------------------- [2022-10-25T01:20:01.174Z] experimental info: [2022-10-25T01:20:01.174Z] ------------------- [2022-10-25T01:20:01.174Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T01:20:01.174Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T01:20:01.174Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T01:20:01.455Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-25T01:20:01.503Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-25T01:20:01.550Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T01:20:01.590Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T01:20:01.627Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T01:20:01.668Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T01:20:01.708Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T01:20:01.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T01:20:01.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T01:20:01.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T01:20:01.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T01:20:01.898Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-25T01:20:01.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T01:20:02.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T01:20:02.068Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T01:20:02.110Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T01:20:02.155Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T01:20:02.195Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T01:20:02.242Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T01:20:02.291Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T01:20:02.332Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T01:20:02.370Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T01:20:02.408Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T01:20:02.450Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T01:20:02.490Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T01:20:02.527Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T01:20:02.567Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T01:20:02.614Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-221 [Pipeline] echo [2022-10-25T01:20:02.653Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-221 [Pipeline] echo [2022-10-25T01:20:02.692Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-221 [Pipeline] echo [2022-10-25T01:20:02.733Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e04f72990f565fcdac6f982fafa7f719664c4a16 [Pipeline] echo [2022-10-25T01:20:02.776Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e04f729 [Pipeline] echo [2022-10-25T01:20:02.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T01:20:02.925Z] provisioning config files... [2022-10-25T01:20:02.940Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/config11636711711843228779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:20:03.282Z] ---> docker-login.sh [2022-10-25T01:20:03.282Z] nexus3.edgexfoundry.org:10001 [2022-10-25T01:20:03.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:03.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:03.547Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:03.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:03.547Z] [2022-10-25T01:20:03.547Z] Login Succeeded [2022-10-25T01:20:03.547Z] nexus3.edgexfoundry.org:10002 [2022-10-25T01:20:03.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:03.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:03.547Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:03.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:03.547Z] [2022-10-25T01:20:03.547Z] Login Succeeded [2022-10-25T01:20:03.547Z] nexus3.edgexfoundry.org:10003 [2022-10-25T01:20:03.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:03.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:03.809Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:03.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:03.809Z] [2022-10-25T01:20:03.809Z] Login Succeeded [2022-10-25T01:20:03.809Z] nexus3.edgexfoundry.org:10004 [2022-10-25T01:20:03.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:03.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:03.809Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:03.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:03.809Z] [2022-10-25T01:20:03.809Z] Login Succeeded [2022-10-25T01:20:03.809Z] docker.io [2022-10-25T01:20:04.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:04.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:04.328Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:04.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:04.328Z] [2022-10-25T01:20:04.328Z] Login Succeeded [2022-10-25T01:20:04.328Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T01:20:04.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T01:20:04.996Z] + git rev-list -1 --merges e04f72990f565fcdac6f982fafa7f719664c4a16~1..e04f72990f565fcdac6f982fafa7f719664c4a16 [Pipeline] echo [2022-10-25T01:20:05.042Z] -----------> git rev-list -1 --merges e04f72990f565fcdac6f982fafa7f719664c4a16~1..e04f72990f565fcdac6f982fafa7f719664c4a16 e04f72990f565fcdac6f982fafa7f719664c4a16 [false] [Pipeline] sh [2022-10-25T01:20:05.354Z] + git log --format=format:%s -1 e04f72990f565fcdac6f982fafa7f719664c4a16 [Pipeline] echo [2022-10-25T01:20:05.390Z] ========================================================= [2022-10-25T01:20:05.390Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T01:20:05.390Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T01:20:05.814Z] + git log --format=format:%s -1 e04f72990f565fcdac6f982fafa7f719664c4a16 [Pipeline] echo [2022-10-25T01:20:05.849Z] [semverPrep] GIT_COMMIT: e04f72990f565fcdac6f982fafa7f719664c4a16, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-25T01:20:05.874Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T01:20:06.243Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T01:20:06.243Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T01:20:06.243Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T01:20:06.243Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T01:20:06.243Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T01:20:06.243Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T01:20:06.243Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:20:06.659Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T01:20:06.659Z] [2022-10-25T01:20:06.659Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:20:07.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T01:20:07.048Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T01:20:07.048Z] b85a868b505f: Pulling fs layer [2022-10-25T01:20:07.048Z] e2be974225ed: Pulling fs layer [2022-10-25T01:20:07.048Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T01:20:07.048Z] 988bab9f4d93: Pulling fs layer [2022-10-25T01:20:07.048Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T01:20:07.048Z] eaf3925da568: Pulling fs layer [2022-10-25T01:20:07.048Z] bab4dde63d76: Pulling fs layer [2022-10-25T01:20:07.048Z] bde34c3a00c8: Pulling fs layer [2022-10-25T01:20:07.048Z] b352a97aabf1: Pulling fs layer [2022-10-25T01:20:07.048Z] 4872d77fe225: Pulling fs layer [2022-10-25T01:20:07.048Z] 5851b861e8e6: Pulling fs layer [2022-10-25T01:20:07.048Z] 988bab9f4d93: Waiting [2022-10-25T01:20:07.048Z] bde34c3a00c8: Waiting [2022-10-25T01:20:07.048Z] 1469e6f7b9e6: Waiting [2022-10-25T01:20:07.048Z] b352a97aabf1: Waiting [2022-10-25T01:20:07.048Z] eaf3925da568: Waiting [2022-10-25T01:20:07.048Z] 5851b861e8e6: Waiting [2022-10-25T01:20:07.048Z] bab4dde63d76: Waiting [2022-10-25T01:20:07.048Z] e2be974225ed: Verifying Checksum [2022-10-25T01:20:07.048Z] e2be974225ed: Download complete [2022-10-25T01:20:07.048Z] 988bab9f4d93: Verifying Checksum [2022-10-25T01:20:07.048Z] 988bab9f4d93: Download complete [2022-10-25T01:20:07.309Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T01:20:07.309Z] 1469e6f7b9e6: Download complete [2022-10-25T01:20:07.309Z] eaf3925da568: Verifying Checksum [2022-10-25T01:20:07.309Z] eaf3925da568: Download complete [2022-10-25T01:20:07.309Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T01:20:07.309Z] 339a4e72a1f5: Download complete [2022-10-25T01:20:07.309Z] bde34c3a00c8: Download complete [2022-10-25T01:20:07.309Z] b352a97aabf1: Download complete [2022-10-25T01:20:07.309Z] 4872d77fe225: Verifying Checksum [2022-10-25T01:20:07.309Z] 4872d77fe225: Download complete [2022-10-25T01:20:07.309Z] 5851b861e8e6: Verifying Checksum [2022-10-25T01:20:07.309Z] 5851b861e8e6: Download complete [2022-10-25T01:20:07.309Z] b85a868b505f: Download complete [2022-10-25T01:20:07.885Z] bab4dde63d76: Verifying Checksum [2022-10-25T01:20:08.821Z] b85a868b505f: Pull complete [2022-10-25T01:20:08.821Z] e2be974225ed: Pull complete [2022-10-25T01:20:09.388Z] 339a4e72a1f5: Pull complete [2022-10-25T01:20:09.389Z] 988bab9f4d93: Pull complete [2022-10-25T01:20:09.647Z] 1469e6f7b9e6: Pull complete [2022-10-25T01:20:09.647Z] eaf3925da568: Pull complete [2022-10-25T01:20:11.549Z] bab4dde63d76: Pull complete [2022-10-25T01:20:11.549Z] bde34c3a00c8: Pull complete [2022-10-25T01:20:11.549Z] b352a97aabf1: Pull complete [2022-10-25T01:20:11.808Z] 4872d77fe225: Pull complete [2022-10-25T01:20:11.808Z] 5851b861e8e6: Pull complete [2022-10-25T01:20:11.808Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T01:20:11.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T01:20:11.808Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:20:12.020Z] prd-ubuntu20.04-docker-8c-8g-63832 does not seem to be running inside a container [2022-10-25T01:20:12.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-221 -v /w/workspace/gexfoundry_device-rest-go_PR-221:/w/workspace/gexfoundry_device-rest-go_PR-221:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-221@tmp:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T01:20:13.197Z] $ docker top 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c -eo pid,comm [2022-10-25T01:20:13.253Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-25T01:20:13.253Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T01:20:13.368Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T01:20:13.368Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T01:20:13.477Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T01:20:13.482Z] $ docker exec 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c ssh-agent [2022-10-25T01:20:13.579Z] SSH_AUTH_SOCK=/tmp/ssh-FYp7zhEwaQG0/agent.33 [2022-10-25T01:20:13.579Z] SSH_AGENT_PID=39 [2022-10-25T01:20:13.585Z] Running ssh-add (command line suppressed) [2022-10-25T01:20:13.688Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-221@tmp/private_key_14410888007199768351.key (/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/private_key_14410888007199768351.key) [2022-10-25T01:20:13.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T01:20:14.025Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T01:20:14.055Z] $ docker exec --env ******** --env ******** 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c ssh-agent -k [2022-10-25T01:20:14.143Z] unset SSH_AUTH_SOCK; [2022-10-25T01:20:14.144Z] unset SSH_AGENT_PID; [2022-10-25T01:20:14.144Z] echo Agent pid 39 killed; [2022-10-25T01:20:14.150Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T01:20:14.235Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T01:20:14.236Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T01:20:14.363Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T01:20:14.368Z] $ docker exec 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c ssh-agent [2022-10-25T01:20:14.473Z] SSH_AUTH_SOCK=/tmp/ssh-vKaHrvKvBqnA/agent.71 [2022-10-25T01:20:14.473Z] SSH_AGENT_PID=78 [2022-10-25T01:20:14.478Z] Running ssh-add (command line suppressed) [2022-10-25T01:20:14.576Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-221@tmp/private_key_11573781580171635786.key (/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/private_key_11573781580171635786.key) [2022-10-25T01:20:14.586Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T01:20:14.920Z] + git semver init [2022-10-25T01:20:15.179Z] 2022-10-25 01:20:15,119 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T01:20:15.179Z] 2022-10-25 01:20:15,120 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-221/.semver [2022-10-25T01:20:15.179Z] 2022-10-25 01:20:15,120 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-221/.semver [2022-10-25T01:20:15.179Z] 2022-10-25 01:20:15,121 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-221/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-221, universal_newlines=False, shell=None, istream=None) [2022-10-25T01:20:16.581Z] 2022-10-25 01:20:16,179 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-221/.git/info/exclude [2022-10-25T01:20:16.581Z] 2022-10-25 01:20:16,180 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-221/.semver/PR-221 with force:False [2022-10-25T01:20:16.581Z] 2022-10-25 01:20:16,180 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-221/.semver/PR-221 [2022-10-25T01:20:16.581Z] 2022-10-25 01:20:16,183 [execute] INFO git cat-file --batch-check [2022-10-25T01:20:16.581Z] 2022-10-25 01:20:16,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-221/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T01:20:16.581Z] 2022-10-25 01:20:16,191 [execute] INFO git cat-file --batch [2022-10-25T01:20:16.581Z] 2022-10-25 01:20:16,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-221/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T01:20:16.581Z] 2022-10-25 01:20:16,196 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-221/.semver/PR-221 [2022-10-25T01:20:16.581Z] 0.0.0 [Pipeline] } [2022-10-25T01:20:16.608Z] $ docker exec --env ******** --env ******** 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c ssh-agent -k [2022-10-25T01:20:16.713Z] unset SSH_AUTH_SOCK; [2022-10-25T01:20:16.713Z] unset SSH_AGENT_PID; [2022-10-25T01:20:16.713Z] echo Agent pid 78 killed; [2022-10-25T01:20:16.720Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T01:20:17.147Z] + git semver [Pipeline] } [2022-10-25T01:20:17.433Z] $ docker stop --time=1 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c [2022-10-25T01:20:18.745Z] $ docker rm -f 439be466bab1546609580ede76347e667a776bba1ae9051162d6789c79582d0c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T01:20:19.242Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T01:20:19.472Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T01:20:19.492Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T01:20:20.079Z] provisioning config files... [2022-10-25T01:20:20.087Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/config16558968774569551083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:20:20.426Z] ---> docker-login.sh [2022-10-25T01:20:20.426Z] nexus3.edgexfoundry.org:10001 [2022-10-25T01:20:20.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:20.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:20.426Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:20.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:20.426Z] [2022-10-25T01:20:20.426Z] Login Succeeded [2022-10-25T01:20:20.426Z] nexus3.edgexfoundry.org:10002 [2022-10-25T01:20:20.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:20.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:20.426Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:20.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:20.426Z] [2022-10-25T01:20:20.426Z] Login Succeeded [2022-10-25T01:20:20.426Z] nexus3.edgexfoundry.org:10003 [2022-10-25T01:20:20.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:20.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:20.684Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:20.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:20.684Z] [2022-10-25T01:20:20.684Z] Login Succeeded [2022-10-25T01:20:20.684Z] nexus3.edgexfoundry.org:10004 [2022-10-25T01:20:20.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:20.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:20.684Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:20.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:20.684Z] [2022-10-25T01:20:20.684Z] Login Succeeded [2022-10-25T01:20:20.684Z] docker.io [2022-10-25T01:20:20.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:21.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:21.201Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:21.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:21.201Z] [2022-10-25T01:20:21.201Z] Login Succeeded [2022-10-25T01:20:21.201Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T01:20:21.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T01:20:21.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T01:20:21.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T01:20:21.492Z] ========================================================= [2022-10-25T01:20:21.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T01:20:21.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:20:21.945Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T01:20:21.945Z] Sending build context to Docker daemon 10.75MB [2022-10-25T01:20:21.945Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T01:20:21.945Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T01:20:21.945Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T01:20:21.945Z] 213ec9aee27d: Pulling fs layer [2022-10-25T01:20:21.945Z] 4583459ba037: Pulling fs layer [2022-10-25T01:20:21.945Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T01:20:21.945Z] 53926ce57604: Pulling fs layer [2022-10-25T01:20:21.945Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T01:20:21.945Z] 30f14e443154: Pulling fs layer [2022-10-25T01:20:21.945Z] 801331c1e519: Pulling fs layer [2022-10-25T01:20:21.945Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T01:20:21.945Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T01:20:21.945Z] 30f14e443154: Waiting [2022-10-25T01:20:21.945Z] 801331c1e519: Waiting [2022-10-25T01:20:21.945Z] 99cc6dd402b0: Waiting [2022-10-25T01:20:21.945Z] 7d9ed39f4882: Waiting [2022-10-25T01:20:21.945Z] 53926ce57604: Waiting [2022-10-25T01:20:21.945Z] 21b2b0c7a3f4: Waiting [2022-10-25T01:20:21.945Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T01:20:21.945Z] 93c1e223e6f2: Download complete [2022-10-25T01:20:21.945Z] 4583459ba037: Verifying Checksum [2022-10-25T01:20:21.945Z] 4583459ba037: Download complete [2022-10-25T01:20:21.945Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T01:20:21.945Z] 21b2b0c7a3f4: Download complete [2022-10-25T01:20:22.216Z] 30f14e443154: Verifying Checksum [2022-10-25T01:20:22.216Z] 30f14e443154: Download complete [2022-10-25T01:20:22.216Z] 213ec9aee27d: Verifying Checksum [2022-10-25T01:20:22.216Z] 213ec9aee27d: Download complete [2022-10-25T01:20:22.216Z] 801331c1e519: Verifying Checksum [2022-10-25T01:20:22.216Z] 801331c1e519: Download complete [2022-10-25T01:20:22.216Z] 213ec9aee27d: Pull complete [2022-10-25T01:20:22.497Z] 4583459ba037: Pull complete [2022-10-25T01:20:22.497Z] 93c1e223e6f2: Pull complete [2022-10-25T01:20:22.791Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T01:20:22.791Z] 7d9ed39f4882: Download complete [2022-10-25T01:20:24.284Z] 53926ce57604: Download complete [2022-10-25T01:20:24.284Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T01:20:24.284Z] 99cc6dd402b0: Download complete [2022-10-25T01:20:28.472Z] 53926ce57604: Pull complete [2022-10-25T01:20:28.472Z] 21b2b0c7a3f4: Pull complete [2022-10-25T01:20:28.472Z] 30f14e443154: Pull complete [2022-10-25T01:20:28.472Z] 801331c1e519: Pull complete [2022-10-25T01:20:29.848Z] 99cc6dd402b0: Pull complete [2022-10-25T01:20:30.789Z] 7d9ed39f4882: Pull complete [2022-10-25T01:20:30.789Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T01:20:30.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T01:20:30.789Z] ---> 1dedd983c030 [2022-10-25T01:20:30.789Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T01:20:32.166Z] ---> Running in d5e01b870125 [2022-10-25T01:20:32.166Z] Removing intermediate container d5e01b870125 [2022-10-25T01:20:32.166Z] ---> 1c4fdc261eb0 [2022-10-25T01:20:32.166Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T01:20:32.166Z] ---> Running in b4f767430c75 [2022-10-25T01:20:32.425Z] Removing intermediate container b4f767430c75 [2022-10-25T01:20:32.425Z] ---> 7a8878eb2125 [2022-10-25T01:20:32.425Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T01:20:32.425Z] ---> Running in 444cf5551a1c [2022-10-25T01:20:32.425Z] Removing intermediate container 444cf5551a1c [2022-10-25T01:20:32.425Z] ---> 98d52d55c8b0 [2022-10-25T01:20:32.425Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T01:20:32.425Z] ---> Running in 61dc832633de [2022-10-25T01:20:32.425Z] Removing intermediate container 61dc832633de [2022-10-25T01:20:32.425Z] ---> e20d608aa182 [2022-10-25T01:20:32.425Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T01:20:32.425Z] ---> Running in cd2f67020ad5 [2022-10-25T01:20:32.994Z] Removing intermediate container cd2f67020ad5 [2022-10-25T01:20:32.994Z] ---> a97337a4f34d [2022-10-25T01:20:32.994Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T01:20:33.253Z] ---> Running in 7e31fed044a4 [2022-10-25T01:20:33.512Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T01:20:34.454Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T01:20:34.454Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T01:20:34.713Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T01:20:34.713Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T01:20:34.902Z] Still waiting to schedule task [2022-10-25T01:20:34.902Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-63855’ is offline [2022-10-25T01:20:34.972Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T01:20:34.973Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T01:20:34.973Z] OK: 216 MiB in 55 packages [2022-10-25T01:20:35.540Z] Removing intermediate container 7e31fed044a4 [2022-10-25T01:20:35.540Z] ---> 8f31b8ff65bc [2022-10-25T01:20:35.540Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-25T01:20:35.540Z] ---> Running in dfe5831249ff [2022-10-25T01:20:35.540Z] Removing intermediate container dfe5831249ff [2022-10-25T01:20:35.540Z] ---> 238a488a945f [2022-10-25T01:20:35.540Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T01:20:35.540Z] ---> 8120ed074b1a [2022-10-25T01:20:35.540Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T01:20:35.540Z] ---> Running in 59f00ac2d118 [2022-10-25T01:20:50.421Z] Removing intermediate container 59f00ac2d118 [2022-10-25T01:20:50.421Z] ---> ed0dfed5c25e [2022-10-25T01:20:50.421Z] Step 12/13 : COPY . . [2022-10-25T01:20:50.421Z] ---> 6b5d11ddd642 [2022-10-25T01:20:50.421Z] Step 13/13 : RUN $MAKE [2022-10-25T01:20:50.421Z] ---> Running in 4410834d5e90 [2022-10-25T01:20:50.681Z] noop [2022-10-25T01:20:50.940Z] Removing intermediate container 4410834d5e90 [2022-10-25T01:20:50.940Z] ---> 08386fc9a4da [2022-10-25T01:20:50.940Z] Successfully built 08386fc9a4da [2022-10-25T01:20:50.940Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:20:51.385Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T01:20:51.385Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:20:51.688Z] prd-ubuntu20.04-docker-8c-8g-63832 does not seem to be running inside a container [2022-10-25T01:20:51.722Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-221 -v /w/workspace/gexfoundry_device-rest-go_PR-221:/w/workspace/gexfoundry_device-rest-go_PR-221:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-221@tmp:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T01:20:52.094Z] $ docker top 58d7c045d8e2a3423e11fb86815cf729f8786d563a0211bc79890718beff09ee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T01:20:52.570Z] + go version [2022-10-25T01:20:52.570Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T01:20:52.608Z] $ docker stop --time=1 58d7c045d8e2a3423e11fb86815cf729f8786d563a0211bc79890718beff09ee [2022-10-25T01:20:53.904Z] $ docker rm -f 58d7c045d8e2a3423e11fb86815cf729f8786d563a0211bc79890718beff09ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:20:54.751Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T01:20:54.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:20:54.896Z] prd-ubuntu20.04-docker-8c-8g-63832 does not seem to be running inside a container [2022-10-25T01:20:54.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-221 -v /w/workspace/gexfoundry_device-rest-go_PR-221:/w/workspace/gexfoundry_device-rest-go_PR-221:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-221@tmp:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T01:20:55.271Z] $ docker top c60ddc3f17d412ba3a0f7fa99af4647c8386e2d996abb99ff2f4823f24a524a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T01:20:55.688Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-221 [Pipeline] fileExists [Pipeline] sh [2022-10-25T01:20:56.054Z] + make test [2022-10-25T01:20:56.054Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T01:20:56.314Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T01:21:06.290Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T01:21:06.290Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-10-25T01:21:12.836Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-25T01:21:12.836Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T01:21:16.110Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T01:21:16.110Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T01:21:16.110Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T01:21:16.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T01:21:16.181Z] $ docker stop --time=1 c60ddc3f17d412ba3a0f7fa99af4647c8386e2d996abb99ff2f4823f24a524a3 [2022-10-25T01:21:17.849Z] $ docker rm -f c60ddc3f17d412ba3a0f7fa99af4647c8386e2d996abb99ff2f4823f24a524a3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T01:21:18.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T01:21:18.409Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T01:21:19.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T01:21:19.371Z] + ls -al . [2022-10-25T01:21:19.371Z] total 184 [2022-10-25T01:21:19.371Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 01:20 . [2022-10-25T01:21:19.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:19 .. [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 01:19 .dockerignore [2022-10-25T01:21:19.371Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:21 .git [2022-10-25T01:21:19.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:19 .github [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 01:19 .gitignore [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 01:19 .golangci.yml [2022-10-25T01:21:19.371Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:20 .semver [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 01:19 Attribution.txt [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 01:19 CHANGELOG.md [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 01:19 Dockerfile [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 01:19 GOVERNANCE.md [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 01:19 Jenkinsfile [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 01:19 LICENSE [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 01:19 Makefile [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 01:19 OWNERS.md [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 01:19 README.md [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:20 VERSION [2022-10-25T01:21:19.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:19 bin [2022-10-25T01:21:19.371Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:19 cmd [2022-10-25T01:21:19.371Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 01:21 coverage.out [2022-10-25T01:21:19.371Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:19 driver [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 01:19 go.mod [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 01:19 go.sum [2022-10-25T01:21:19.371Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:19 snap [2022-10-25T01:21:19.371Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 01:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:21:19.804Z] + 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=e04f72990f565fcdac6f982fafa7f719664c4a16 --label arch=amd64 --label version=0.0.0 . [2022-10-25T01:21:19.804Z] Sending build context to Docker daemon 10.76MB [2022-10-25T01:21:19.804Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T01:21:19.804Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T01:21:19.804Z] ---> 08386fc9a4da [2022-10-25T01:21:19.804Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T01:21:19.804Z] ---> Running in a5ae1405afdc [2022-10-25T01:21:19.804Z] Removing intermediate container a5ae1405afdc [2022-10-25T01:21:19.804Z] ---> e5e6ce1a78eb [2022-10-25T01:21:19.804Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T01:21:20.080Z] ---> Running in 6b593d1a80f7 [2022-10-25T01:21:20.080Z] Removing intermediate container 6b593d1a80f7 [2022-10-25T01:21:20.080Z] ---> a6e89e6f3609 [2022-10-25T01:21:20.080Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T01:21:20.080Z] ---> Running in 1e1f617012cd [2022-10-25T01:21:20.080Z] Removing intermediate container 1e1f617012cd [2022-10-25T01:21:20.080Z] ---> 74897eea8e6d [2022-10-25T01:21:20.080Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T01:21:20.080Z] ---> Running in 715dd168c815 [2022-10-25T01:21:20.358Z] Removing intermediate container 715dd168c815 [2022-10-25T01:21:20.358Z] ---> 96523658ddfa [2022-10-25T01:21:20.358Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T01:21:20.358Z] ---> Running in ea7761f8c469 [2022-10-25T01:21:20.924Z] Removing intermediate container ea7761f8c469 [2022-10-25T01:21:20.924Z] ---> 0f88af9d9dec [2022-10-25T01:21:20.924Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T01:21:20.924Z] ---> Running in ff1566dab26e [2022-10-25T01:21:21.183Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T01:21:22.119Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T01:21:22.378Z] OK: 216 MiB in 55 packages [2022-10-25T01:21:22.638Z] Removing intermediate container ff1566dab26e [2022-10-25T01:21:22.638Z] ---> 704a1cf3b805 [2022-10-25T01:21:22.638Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-25T01:21:22.638Z] ---> Running in 388f1a128e11 [2022-10-25T01:21:22.896Z] Removing intermediate container 388f1a128e11 [2022-10-25T01:21:22.896Z] ---> 4203d1007400 [2022-10-25T01:21:22.896Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T01:21:22.896Z] ---> 03234c7956b1 [2022-10-25T01:21:22.896Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T01:21:22.896Z] ---> Running in ce4630987335 [2022-10-25T01:21:23.833Z] Removing intermediate container ce4630987335 [2022-10-25T01:21:23.833Z] ---> d4f88b050e4c [2022-10-25T01:21:23.833Z] Step 12/26 : COPY . . [2022-10-25T01:21:23.833Z] ---> 25dcf9b1c898 [2022-10-25T01:21:23.833Z] Step 13/26 : RUN $MAKE [2022-10-25T01:21:23.833Z] ---> Running in eed54a6cbf9c [2022-10-25T01:21:24.404Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-25T01:21:46.358Z] Removing intermediate container eed54a6cbf9c [2022-10-25T01:21:46.358Z] ---> 942dbccdf6c5 [2022-10-25T01:21:46.358Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T01:21:46.358Z] 3.16: Pulling from library/alpine [2022-10-25T01:21:46.358Z] 213ec9aee27d: Already exists [2022-10-25T01:21:46.358Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T01:21:46.358Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T01:21:46.358Z] ---> 9c6f07244728 [2022-10-25T01:21:46.358Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T01:21:46.358Z] ---> Running in a4882fefe570 [2022-10-25T01:21:46.358Z] Removing intermediate container a4882fefe570 [2022-10-25T01:21:46.358Z] ---> 9aa3beb6b8f8 [2022-10-25T01:21:46.358Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T01:21:46.358Z] ---> Running in f30606fa3cf3 [2022-10-25T01:21:46.358Z] Removing intermediate container f30606fa3cf3 [2022-10-25T01:21:46.358Z] ---> a4024801ad1b [2022-10-25T01:21:46.358Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T01:21:46.358Z] ---> Running in d8a4568135f5 [2022-10-25T01:21:46.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T01:21:46.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T01:21:46.358Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T01:21:46.358Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T01:21:46.358Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T01:21:46.358Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T01:21:46.358Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T01:21:46.358Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T01:21:46.358Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T01:21:46.358Z] OK: 8 MiB in 20 packages [2022-10-25T01:21:46.358Z] Removing intermediate container d8a4568135f5 [2022-10-25T01:21:46.358Z] ---> 238065f0ba19 [2022-10-25T01:21:46.358Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T01:21:46.358Z] ---> 68fcc175673f [2022-10-25T01:21:46.358Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T01:21:46.358Z] ---> 685558535356 [2022-10-25T01:21:46.358Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T01:21:46.629Z] ---> a7a6df447039 [2022-10-25T01:21:46.629Z] Step 21/26 : EXPOSE 59986 [2022-10-25T01:21:46.629Z] ---> Running in d4f2a21c217b [2022-10-25T01:21:46.629Z] Removing intermediate container d4f2a21c217b [2022-10-25T01:21:46.629Z] ---> 68913c39c56b [2022-10-25T01:21:46.629Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-25T01:21:46.629Z] ---> Running in ca7fc0877b73 [2022-10-25T01:21:46.889Z] Removing intermediate container ca7fc0877b73 [2022-10-25T01:21:46.889Z] ---> 73c79b7a885f [2022-10-25T01:21:46.889Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T01:21:46.889Z] ---> Running in ea795890d09e [2022-10-25T01:21:46.889Z] Removing intermediate container ea795890d09e [2022-10-25T01:21:46.889Z] ---> 080f3feccf04 [2022-10-25T01:21:46.889Z] Step 24/26 : LABEL arch=amd64 [2022-10-25T01:21:46.889Z] ---> Running in 74f7550f5309 [2022-10-25T01:21:46.889Z] Removing intermediate container 74f7550f5309 [2022-10-25T01:21:46.889Z] ---> fdd11b9898f2 [2022-10-25T01:21:46.889Z] Step 25/26 : LABEL git_sha=e04f72990f565fcdac6f982fafa7f719664c4a16 [2022-10-25T01:21:46.889Z] ---> Running in 471945b61a44 [2022-10-25T01:21:47.148Z] Removing intermediate container 471945b61a44 [2022-10-25T01:21:47.148Z] ---> 4451060de79a [2022-10-25T01:21:47.148Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T01:21:47.148Z] ---> Running in 9998f65d6203 [2022-10-25T01:21:47.148Z] Removing intermediate container 9998f65d6203 [2022-10-25T01:21:47.148Z] ---> c2077ebf23ea [2022-10-25T01:21:47.148Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T01:21:47.148Z] Successfully built c2077ebf23ea [2022-10-25T01:21:47.148Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:21:47.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T01:21:47.985Z] [2022-10-25T01:21:47.985Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:21:48.359Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T01:21:48.359Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T01:21:48.359Z] 5eb5b503b376: Pulling fs layer [2022-10-25T01:21:48.359Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T01:21:48.359Z] ec43610c2a17: Pulling fs layer [2022-10-25T01:21:48.359Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T01:21:48.359Z] 33b1e0a273af: Pulling fs layer [2022-10-25T01:21:48.359Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T01:21:48.359Z] 2f39f015ded8: Pulling fs layer [2022-10-25T01:21:48.359Z] 3a2ae6a8a46f: Waiting [2022-10-25T01:21:48.359Z] 33b1e0a273af: Waiting [2022-10-25T01:21:48.359Z] 5d3b04190fa2: Waiting [2022-10-25T01:21:48.359Z] 2f39f015ded8: Waiting [2022-10-25T01:21:48.359Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T01:21:48.359Z] 5c69ac0246d0: Download complete [2022-10-25T01:21:48.622Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T01:21:48.622Z] 3a2ae6a8a46f: Download complete [2022-10-25T01:21:48.622Z] 33b1e0a273af: Verifying Checksum [2022-10-25T01:21:48.622Z] 33b1e0a273af: Download complete [2022-10-25T01:21:48.622Z] ec43610c2a17: Verifying Checksum [2022-10-25T01:21:48.622Z] ec43610c2a17: Download complete [2022-10-25T01:21:48.622Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T01:21:48.622Z] 5d3b04190fa2: Download complete [2022-10-25T01:21:48.882Z] 5eb5b503b376: Verifying Checksum [2022-10-25T01:21:48.882Z] 5eb5b503b376: Download complete [2022-10-25T01:21:49.448Z] 2f39f015ded8: Download complete [2022-10-25T01:21:50.014Z] 5eb5b503b376: Pull complete [2022-10-25T01:21:50.014Z] 5c69ac0246d0: Pull complete [2022-10-25T01:21:50.579Z] ec43610c2a17: Pull complete [2022-10-25T01:21:50.579Z] 3a2ae6a8a46f: Pull complete [2022-10-25T01:21:50.837Z] 33b1e0a273af: Pull complete [2022-10-25T01:21:50.837Z] 5d3b04190fa2: Pull complete [2022-10-25T01:21:55.018Z] 2f39f015ded8: Pull complete [2022-10-25T01:21:55.018Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T01:21:55.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T01:21:55.018Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:21:55.217Z] prd-ubuntu20.04-docker-8c-8g-63832 does not seem to be running inside a container [2022-10-25T01:21:55.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-221 -v /w/workspace/gexfoundry_device-rest-go_PR-221:/w/workspace/gexfoundry_device-rest-go_PR-221:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-221@tmp:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T01:21:56.511Z] $ docker top d5e1a0f079531cd741f8463db0b757b151f25f8c8af3323fa4c70eb4c1847dcf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:21:56.935Z] ---> job-cost.sh [2022-10-25T01:21:56.935Z] lf-activate-venv: SKIPPING [2022-10-25T01:21:56.935Z] INFO: No Stack... [2022-10-25T01:21:57.502Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T01:21:57.762Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T01:21:58.071Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-221/archives/cost.csv [2022-10-25T01:21:58.071Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T01:21:58.113Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] [2022-10-25T01:21:58.118Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] did not exist. Created. [2022-10-25T01:21:58.118Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T01:21:58.506Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T01:21:58.555Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T01:21:58.587Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T01:21:58.679Z] $ docker stop --time=1 d5e1a0f079531cd741f8463db0b757b151f25f8c8af3323fa4c70eb4c1847dcf [2022-10-25T01:21:59.842Z] $ docker rm -f d5e1a0f079531cd741f8463db0b757b151f25f8c8af3323fa4c70eb4c1847dcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T04:20:44.010Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-80536 in /w/workspace/gexfoundry_device-rest-go_PR-221 [Pipeline] { [Pipeline] ws [2022-10-25T04:20:44.049Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-10-25T04:20:44.128Z] The recommended git tool is: git [2022-10-25T04:20:48.934Z] using credential edgex-jenkins-ssh [2022-10-25T04:20:48.954Z] Cloning the remote Git repository [2022-10-25T04:20:48.999Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T04:20:49.072Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-10-25T04:20:49.214Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T04:20:49.215Z] > git --version # timeout=10 [2022-10-25T04:20:49.236Z] > git --version # 'git version 2.25.1' [2022-10-25T04:20:49.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T04:20:49.288Z] Verifying host key using known hosts file [2022-10-25T04:20:49.488Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T04:20:49.501Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T04:20:51.335Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-25T04:20:51.361Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T04:20:52.767Z] Merging remotes/origin/main commit 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb into PR head commit e04f72990f565fcdac6f982fafa7f719664c4a16 [2022-10-25T04:20:52.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-25T04:20:52.163Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T04:20:52.164Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T04:20:52.169Z] Verifying host key using known hosts file [2022-10-25T04:20:52.175Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T04:20:52.186Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/221/head:refs/remotes/origin/PR-221 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T04:20:52.785Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T04:20:52.805Z] > git checkout -f e04f72990f565fcdac6f982fafa7f719664c4a16 # timeout=10 [2022-10-25T04:20:52.881Z] > git remote # timeout=10 [2022-10-25T04:20:52.898Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T04:20:52.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T04:20:52.922Z] Verifying host key using known hosts file [2022-10-25T04:20:52.927Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-25T04:20:52.940Z] > git merge 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 [2022-10-25T04:20:52.962Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T04:20:52.974Z] Merge succeeded, producing e04f72990f565fcdac6f982fafa7f719664c4a16 [2022-10-25T04:20:52.974Z] Checking out Revision e04f72990f565fcdac6f982fafa7f719664c4a16 (PR-221) [2022-10-25T04:20:53.453Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-25T04:20:53.502Z] > git --version # timeout=10 [2022-10-25T04:20:53.513Z] > git --version # 'git version 2.25.1' [2022-10-25T04:20:53.534Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T04:20:52.982Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T04:20:53.007Z] > git checkout -f e04f72990f565fcdac6f982fafa7f719664c4a16 # timeout=10 [2022-10-25T04:20:54.624Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T04:20:54.624Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T04:20:54.624Z] Dload Upload Total Spent Left Speed [2022-10-25T04:20:54.624Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98453 0 --:--:-- --:--:-- --:--:-- 98453 [Pipeline] sh [2022-10-25T04:20:55.188Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T04:20:55.530Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T04:20:55.530Z] + sudo tee /etc/docker/daemon.new [2022-10-25T04:20:55.530Z] { [2022-10-25T04:20:55.530Z] "registry-mirrors": [ [2022-10-25T04:20:55.530Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T04:20:55.530Z] ], [2022-10-25T04:20:55.530Z] "bip": "10.250.0.254/24", [2022-10-25T04:20:55.530Z] "hosts": [ [2022-10-25T04:20:55.530Z] "tcp://0.0.0.0:5555", [2022-10-25T04:20:55.530Z] "unix:///var/run/docker.sock" [2022-10-25T04:20:55.530Z] ], [2022-10-25T04:20:55.530Z] "mtu": 1458, [2022-10-25T04:20:55.530Z] "selinux-enabled": true, [2022-10-25T04:20:55.530Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T04:20:55.530Z] } [Pipeline] sh [2022-10-25T04:20:55.869Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T04:20:56.206Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T04:21:14.524Z] provisioning config files... [2022-10-25T04:21:14.553Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6060648017866649229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:21:14.932Z] ---> docker-login.sh [2022-10-25T04:21:14.932Z] nexus3.edgexfoundry.org:10001 [2022-10-25T04:21:15.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:21:15.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:21:15.483Z] Configure a credential helper to remove this warning. See [2022-10-25T04:21:15.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:21:15.484Z] [2022-10-25T04:21:15.484Z] Login Succeeded [2022-10-25T04:21:15.484Z] nexus3.edgexfoundry.org:10002 [2022-10-25T04:21:15.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:21:15.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:21:15.751Z] Configure a credential helper to remove this warning. See [2022-10-25T04:21:15.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:21:15.751Z] [2022-10-25T04:21:15.751Z] Login Succeeded [2022-10-25T04:21:16.021Z] nexus3.edgexfoundry.org:10003 [2022-10-25T04:21:16.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:21:16.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:21:16.289Z] Configure a credential helper to remove this warning. See [2022-10-25T04:21:16.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:21:16.289Z] [2022-10-25T04:21:16.289Z] Login Succeeded [2022-10-25T04:21:16.289Z] nexus3.edgexfoundry.org:10004 [2022-10-25T04:21:16.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:21:16.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:21:16.563Z] Configure a credential helper to remove this warning. See [2022-10-25T04:21:16.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:21:16.563Z] [2022-10-25T04:21:16.563Z] Login Succeeded [2022-10-25T04:21:16.563Z] docker.io [2022-10-25T04:21:16.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:21:17.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:21:17.101Z] Configure a credential helper to remove this warning. See [2022-10-25T04:21:17.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:21:17.101Z] [2022-10-25T04:21:17.101Z] Login Succeeded [2022-10-25T04:21:17.101Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T04:21:17.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T04:21:17.414Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T04:21:17.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T04:21:17.477Z] ========================================================= [2022-10-25T04:21:17.477Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T04:21:17.477Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:21:17.977Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-25T04:21:17.977Z] Sending build context to Docker daemon 127.5kB [2022-10-25T04:21:18.253Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T04:21:18.253Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T04:21:18.253Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T04:21:18.253Z] 9b18e9b68314: Pulling fs layer [2022-10-25T04:21:18.253Z] d32db5db7311: Pulling fs layer [2022-10-25T04:21:18.253Z] d0c4b47475fc: Pulling fs layer [2022-10-25T04:21:18.253Z] 5831b945b038: Pulling fs layer [2022-10-25T04:21:18.253Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T04:21:18.253Z] e10730c5d714: Pulling fs layer [2022-10-25T04:21:18.253Z] 5dd5c2283517: Pulling fs layer [2022-10-25T04:21:18.253Z] d5ac0230b979: Pulling fs layer [2022-10-25T04:21:18.253Z] 86bbec2aaacd: Waiting [2022-10-25T04:21:18.253Z] e10730c5d714: Waiting [2022-10-25T04:21:18.253Z] 5dd5c2283517: Waiting [2022-10-25T04:21:18.253Z] d5ac0230b979: Waiting [2022-10-25T04:21:18.253Z] 5831b945b038: Waiting [2022-10-25T04:21:18.253Z] d0c4b47475fc: Verifying Checksum [2022-10-25T04:21:18.253Z] d0c4b47475fc: Download complete [2022-10-25T04:21:18.529Z] d32db5db7311: Download complete [2022-10-25T04:21:18.529Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T04:21:18.529Z] 86bbec2aaacd: Download complete [2022-10-25T04:21:18.529Z] e10730c5d714: Verifying Checksum [2022-10-25T04:21:18.529Z] e10730c5d714: Download complete [2022-10-25T04:21:18.529Z] 9b18e9b68314: Download complete [2022-10-25T04:21:19.512Z] 9b18e9b68314: Pull complete [2022-10-25T04:21:19.512Z] d5ac0230b979: Verifying Checksum [2022-10-25T04:21:19.512Z] d5ac0230b979: Download complete [2022-10-25T04:21:20.102Z] d32db5db7311: Pull complete [2022-10-25T04:21:20.374Z] d0c4b47475fc: Pull complete [2022-10-25T04:21:20.646Z] 5dd5c2283517: Verifying Checksum [2022-10-25T04:21:20.646Z] 5dd5c2283517: Download complete [2022-10-25T04:21:21.611Z] 5831b945b038: Verifying Checksum [2022-10-25T04:21:21.611Z] 5831b945b038: Download complete [2022-10-25T04:21:33.927Z] 5831b945b038: Pull complete [2022-10-25T04:21:33.927Z] 86bbec2aaacd: Pull complete [2022-10-25T04:21:33.927Z] e10730c5d714: Pull complete [2022-10-25T04:21:40.737Z] 5dd5c2283517: Pull complete [2022-10-25T04:21:43.324Z] d5ac0230b979: Pull complete [2022-10-25T04:21:43.324Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T04:21:43.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T04:21:43.324Z] ---> 59b3b1a385d4 [2022-10-25T04:21:43.324Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T04:21:45.268Z] ---> Running in 59b75c458b64 [2022-10-25T04:21:45.268Z] Removing intermediate container 59b75c458b64 [2022-10-25T04:21:45.268Z] ---> 924b35a6676a [2022-10-25T04:21:45.268Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T04:21:45.540Z] ---> Running in f0492cb7cfeb [2022-10-25T04:21:45.807Z] Removing intermediate container f0492cb7cfeb [2022-10-25T04:21:45.807Z] ---> 436c152b213b [2022-10-25T04:21:45.807Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T04:21:45.807Z] ---> Running in ab71b01407b5 [2022-10-25T04:21:46.075Z] Removing intermediate container ab71b01407b5 [2022-10-25T04:21:46.075Z] ---> 6f6a0577381e [2022-10-25T04:21:46.075Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T04:21:46.075Z] ---> Running in 6e0bf50cfc5a [2022-10-25T04:21:46.349Z] Removing intermediate container 6e0bf50cfc5a [2022-10-25T04:21:46.349Z] ---> 2461964aeb7a [2022-10-25T04:21:46.349Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T04:21:46.622Z] ---> Running in db0c78a5bb35 [2022-10-25T04:21:48.567Z] Removing intermediate container db0c78a5bb35 [2022-10-25T04:21:48.567Z] ---> 06b0cdba3f57 [2022-10-25T04:21:48.567Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T04:21:48.567Z] ---> Running in 4df7b01ef3cf [2022-10-25T04:21:49.152Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T04:21:50.108Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T04:21:51.066Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T04:21:51.066Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T04:21:51.066Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T04:21:51.334Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T04:21:51.601Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T04:21:51.601Z] OK: 226 MiB in 55 packages [2022-10-25T04:21:52.569Z] Removing intermediate container 4df7b01ef3cf [2022-10-25T04:21:52.569Z] ---> ce1d461f5423 [2022-10-25T04:21:52.569Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-25T04:21:52.569Z] ---> Running in fb1cb99ac48f [2022-10-25T04:21:52.835Z] Removing intermediate container fb1cb99ac48f [2022-10-25T04:21:52.835Z] ---> e6c2d0682b9d [2022-10-25T04:21:52.835Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T04:21:53.418Z] ---> 43d31d1bf4c4 [2022-10-25T04:21:53.418Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T04:21:53.418Z] ---> Running in e9deca9490ba [2022-10-25T04:22:49.835Z] Removing intermediate container e9deca9490ba [2022-10-25T04:22:49.835Z] ---> 2e23a5f071c2 [2022-10-25T04:22:49.835Z] Step 12/13 : COPY . . [2022-10-25T04:22:49.835Z] ---> 594bde38b7cf [2022-10-25T04:22:49.835Z] Step 13/13 : RUN $MAKE [2022-10-25T04:22:49.835Z] ---> Running in 29d0d976e716 [2022-10-25T04:22:49.835Z] noop [2022-10-25T04:22:49.835Z] Removing intermediate container 29d0d976e716 [2022-10-25T04:22:49.835Z] ---> 9002eff102f0 [2022-10-25T04:22:49.835Z] Successfully built 9002eff102f0 [2022-10-25T04:22:49.835Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:22:50.295Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T04:22:50.295Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:22:50.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-80536 does not seem to be running inside a container [2022-10-25T04:22:50.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T04:22:51.743Z] $ docker top dc650bfbb6a7c19be15ac96926eaae81045eb5c171d37d7e282acebfc04b4a6c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:22:52.614Z] + go version [2022-10-25T04:22:52.614Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T04:22:52.650Z] $ docker stop --time=1 dc650bfbb6a7c19be15ac96926eaae81045eb5c171d37d7e282acebfc04b4a6c [2022-10-25T04:22:54.289Z] $ docker rm -f dc650bfbb6a7c19be15ac96926eaae81045eb5c171d37d7e282acebfc04b4a6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:22:55.140Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T04:22:55.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:22:55.389Z] prd-ubuntu20.04-docker-arm64-4c-16g-80536 does not seem to be running inside a container [2022-10-25T04:22:55.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T04:22:56.556Z] $ docker top 6ab18ace5ca839d487553bac7915649327a9eb26e5a2330348f57b9e29e1d217 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:22:57.095Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-25T04:22:57.472Z] + make test [2022-10-25T04:22:57.473Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T04:22:59.429Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T04:24:21.090Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T04:24:21.090Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements [2022-10-25T04:24:21.090Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T04:24:21.090Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T04:24:43.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T04:24:43.165Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T04:24:43.165Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T04:24:43.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T04:24:43.240Z] $ docker stop --time=1 6ab18ace5ca839d487553bac7915649327a9eb26e5a2330348f57b9e29e1d217 [2022-10-25T04:24:44.960Z] $ docker rm -f 6ab18ace5ca839d487553bac7915649327a9eb26e5a2330348f57b9e29e1d217 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T04:24:45.948Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T04:24:45.988Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T04:24:46.325Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T04:24:46.891Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T04:24:47.221Z] + ls -al . [2022-10-25T04:24:47.221Z] total 180 [2022-10-25T04:24:47.221Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 04:22 . [2022-10-25T04:24:47.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:20 .. [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 04:20 .dockerignore [2022-10-25T04:24:47.221Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 04:20 .git [2022-10-25T04:24:47.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:20 .github [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 04:20 .gitignore [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 04:20 .golangci.yml [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 04:20 Attribution.txt [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 04:20 CHANGELOG.md [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 04:20 Dockerfile [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 04:20 GOVERNANCE.md [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 04:20 Jenkinsfile [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 04:20 LICENSE [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 04:20 Makefile [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 04:20 OWNERS.md [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 04:20 README.md [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:20 VERSION [2022-10-25T04:24:47.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 04:20 bin [2022-10-25T04:24:47.221Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:20 cmd [2022-10-25T04:24:47.221Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 04:24 coverage.out [2022-10-25T04:24:47.221Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 04:20 driver [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 04:20 go.mod [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 04:20 go.sum [2022-10-25T04:24:47.221Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:20 snap [2022-10-25T04:24:47.221Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:24:47.640Z] + 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=e04f72990f565fcdac6f982fafa7f719664c4a16 --label arch=arm64 --label version=0.0.0 . [2022-10-25T04:24:47.641Z] Sending build context to Docker daemon 137.7kB [2022-10-25T04:24:47.906Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T04:24:47.906Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T04:24:47.906Z] ---> 9002eff102f0 [2022-10-25T04:24:47.906Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T04:24:47.906Z] ---> Running in 9e8ad84493d5 [2022-10-25T04:24:48.173Z] Removing intermediate container 9e8ad84493d5 [2022-10-25T04:24:48.173Z] ---> e94cf5f5e323 [2022-10-25T04:24:48.173Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T04:24:48.173Z] ---> Running in f3fb2c28b201 [2022-10-25T04:24:48.440Z] Removing intermediate container f3fb2c28b201 [2022-10-25T04:24:48.440Z] ---> 722a8e3cf249 [2022-10-25T04:24:48.440Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T04:24:48.707Z] ---> Running in 6445d5104132 [2022-10-25T04:24:48.975Z] Removing intermediate container 6445d5104132 [2022-10-25T04:24:48.975Z] ---> e3c1c0841148 [2022-10-25T04:24:48.975Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T04:24:48.975Z] ---> Running in 71904b8995b5 [2022-10-25T04:24:49.254Z] Removing intermediate container 71904b8995b5 [2022-10-25T04:24:49.254Z] ---> 27fc5fa886f2 [2022-10-25T04:24:49.254Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T04:24:49.254Z] ---> Running in bc80244e4bcc [2022-10-25T04:24:51.197Z] Removing intermediate container bc80244e4bcc [2022-10-25T04:24:51.197Z] ---> 7271ee2ba450 [2022-10-25T04:24:51.197Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T04:24:51.197Z] ---> Running in 5c83e2b63cc3 [2022-10-25T04:24:51.781Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T04:24:52.740Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T04:24:53.699Z] OK: 226 MiB in 55 packages [2022-10-25T04:24:54.283Z] Removing intermediate container 5c83e2b63cc3 [2022-10-25T04:24:54.283Z] ---> a63b65ac99a1 [2022-10-25T04:24:54.283Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-25T04:24:54.551Z] ---> Running in a1417da5714a [2022-10-25T04:24:54.817Z] Removing intermediate container a1417da5714a [2022-10-25T04:24:54.817Z] ---> ac987d7fd952 [2022-10-25T04:24:54.817Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T04:24:55.085Z] ---> aa3f609ee33f [2022-10-25T04:24:55.085Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T04:24:55.355Z] ---> Running in 20ac06d2e6a4 [2022-10-25T04:24:57.360Z] Removing intermediate container 20ac06d2e6a4 [2022-10-25T04:24:57.360Z] ---> a84906085430 [2022-10-25T04:24:57.360Z] Step 12/26 : COPY . . [2022-10-25T04:24:57.627Z] ---> ebb348a3df22 [2022-10-25T04:24:57.627Z] Step 13/26 : RUN $MAKE [2022-10-25T04:24:57.627Z] ---> Running in 8f634e4687d6 [2022-10-25T04:24:58.588Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-25T04:27:35.302Z] Removing intermediate container 8f634e4687d6 [2022-10-25T04:27:35.302Z] ---> abfaafacbe95 [2022-10-25T04:27:35.302Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T04:27:35.302Z] 3.16: Pulling from library/alpine [2022-10-25T04:27:35.302Z] 9b18e9b68314: Already exists [2022-10-25T04:27:35.302Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T04:27:35.302Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T04:27:35.302Z] ---> a6215f271958 [2022-10-25T04:27:35.302Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T04:27:35.302Z] ---> Running in d07bc25d93d3 [2022-10-25T04:27:35.302Z] Removing intermediate container d07bc25d93d3 [2022-10-25T04:27:35.302Z] ---> 81aac04c56a8 [2022-10-25T04:27:35.302Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T04:27:35.302Z] ---> Running in d35975064d66 [2022-10-25T04:27:35.302Z] Removing intermediate container d35975064d66 [2022-10-25T04:27:35.302Z] ---> 4cb6a26b2bea [2022-10-25T04:27:35.302Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T04:27:35.302Z] ---> Running in c26af0597f3a [2022-10-25T04:27:35.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T04:27:35.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T04:27:35.302Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T04:27:35.302Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T04:27:35.302Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T04:27:35.302Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T04:27:35.302Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T04:27:35.302Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T04:27:35.302Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T04:27:35.302Z] OK: 8 MiB in 20 packages [2022-10-25T04:27:35.302Z] Removing intermediate container c26af0597f3a [2022-10-25T04:27:35.302Z] ---> 29f8b3cc0662 [2022-10-25T04:27:35.302Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T04:27:35.302Z] ---> be6f696d55cd [2022-10-25T04:27:35.302Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T04:27:35.302Z] ---> 8c275490ee0b [2022-10-25T04:27:35.302Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T04:27:35.302Z] ---> d6b7908458c2 [2022-10-25T04:27:35.302Z] Step 21/26 : EXPOSE 59986 [2022-10-25T04:27:35.302Z] ---> Running in 718a654d1a8d [2022-10-25T04:27:35.302Z] Removing intermediate container 718a654d1a8d [2022-10-25T04:27:35.302Z] ---> 783da219fad5 [2022-10-25T04:27:35.302Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-25T04:27:35.302Z] ---> Running in b772126767f4 [2022-10-25T04:27:35.302Z] Removing intermediate container b772126767f4 [2022-10-25T04:27:35.302Z] ---> 6847d197816a [2022-10-25T04:27:35.302Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T04:27:35.302Z] ---> Running in 2b99cc8fe53f [2022-10-25T04:27:35.302Z] Removing intermediate container 2b99cc8fe53f [2022-10-25T04:27:35.302Z] ---> 23f01101bb08 [2022-10-25T04:27:35.302Z] Step 24/26 : LABEL arch=arm64 [2022-10-25T04:27:35.302Z] ---> Running in aa8e15acee2c [2022-10-25T04:27:35.302Z] Removing intermediate container aa8e15acee2c [2022-10-25T04:27:35.302Z] ---> 45448fbf9ce1 [2022-10-25T04:27:35.302Z] Step 25/26 : LABEL git_sha=e04f72990f565fcdac6f982fafa7f719664c4a16 [2022-10-25T04:27:35.302Z] ---> Running in c35887985564 [2022-10-25T04:27:35.302Z] Removing intermediate container c35887985564 [2022-10-25T04:27:35.302Z] ---> 7dcdef283a90 [2022-10-25T04:27:35.302Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T04:27:35.302Z] ---> Running in fb254b6e7b4d [2022-10-25T04:27:35.302Z] Removing intermediate container fb254b6e7b4d [2022-10-25T04:27:35.302Z] ---> 51424d74964c [2022-10-25T04:27:35.302Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T04:27:35.302Z] Successfully built 51424d74964c [2022-10-25T04:27:35.302Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:27:36.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T04:27:36.192Z] [2022-10-25T04:27:36.192Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:27:36.590Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T04:27:36.591Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T04:27:36.591Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T04:27:36.591Z] 04944245beec: Pulling fs layer [2022-10-25T04:27:36.591Z] 699f458cf7ca: Pulling fs layer [2022-10-25T04:27:36.591Z] 765212b225bb: Pulling fs layer [2022-10-25T04:27:36.591Z] f23df028b6ca: Pulling fs layer [2022-10-25T04:27:36.591Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T04:27:36.591Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T04:27:36.591Z] 765212b225bb: Waiting [2022-10-25T04:27:36.591Z] f23df028b6ca: Waiting [2022-10-25T04:27:36.591Z] d65c8cfc05b1: Waiting [2022-10-25T04:27:36.591Z] 2437ff75d9bd: Waiting [2022-10-25T04:27:36.856Z] 04944245beec: Verifying Checksum [2022-10-25T04:27:36.856Z] 04944245beec: Download complete [2022-10-25T04:27:36.856Z] 765212b225bb: Verifying Checksum [2022-10-25T04:27:36.856Z] 765212b225bb: Download complete [2022-10-25T04:27:36.856Z] f23df028b6ca: Verifying Checksum [2022-10-25T04:27:36.856Z] f23df028b6ca: Download complete [2022-10-25T04:27:36.856Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T04:27:36.856Z] d65c8cfc05b1: Download complete [2022-10-25T04:27:37.120Z] 699f458cf7ca: Verifying Checksum [2022-10-25T04:27:37.120Z] 699f458cf7ca: Download complete [2022-10-25T04:27:37.386Z] 8998bd30e6a1: Download complete [2022-10-25T04:27:39.324Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T04:27:39.324Z] 2437ff75d9bd: Download complete [2022-10-25T04:27:41.264Z] 8998bd30e6a1: Pull complete [2022-10-25T04:27:41.529Z] 04944245beec: Pull complete [2022-10-25T04:27:42.932Z] 699f458cf7ca: Pull complete [2022-10-25T04:27:42.932Z] 765212b225bb: Pull complete [2022-10-25T04:27:43.513Z] f23df028b6ca: Pull complete [2022-10-25T04:27:43.780Z] d65c8cfc05b1: Pull complete [2022-10-25T04:27:58.763Z] 2437ff75d9bd: Pull complete [2022-10-25T04:27:58.763Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T04:27:58.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T04:27:58.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:27:59.139Z] prd-ubuntu20.04-docker-arm64-4c-16g-80536 does not seem to be running inside a container [2022-10-25T04:27:59.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T04:28:01.712Z] $ docker top b9213469b23d33cdf57a6480c29c4102d55b09da2c38bcb37c85121211e648b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:28:02.635Z] ---> job-cost.sh [2022-10-25T04:28:02.635Z] lf-activate-venv: SKIPPING [2022-10-25T04:28:02.635Z] INFO: No Stack... [2022-10-25T04:28:02.907Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T04:28:03.941Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T04:28:04.275Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-10-25T04:28:04.276Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T04:28:04.356Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] [2022-10-25T04:28:04.361Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] did not exist. Created. [2022-10-25T04:28:04.361Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T04:28:04.767Z] /w/workspace/device-rest-go/1@tmp/durable-906e91ad/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T04:28:05.117Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T04:28:05.153Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T04:28:05.189Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T04:28:05.203Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-221-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T04:28:05.279Z] $ docker stop --time=1 b9213469b23d33cdf57a6480c29c4102d55b09da2c38bcb37c85121211e648b3 [2022-10-25T04:28:06.799Z] $ docker rm -f b9213469b23d33cdf57a6480c29c4102d55b09da2c38bcb37c85121211e648b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-25T04:28:07.777Z] provisioning config files... [2022-10-25T04:28:07.784Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/config12145839752516327719tmp [Pipeline] { [Pipeline] sh [2022-10-25T04:28:08.107Z] + set +x [2022-10-25T04:28:08.108Z] + curl -s https://codecov.io/bash [2022-10-25T04:28:08.108Z] + bash -s -- [2022-10-25T04:28:08.108Z] [2022-10-25T04:28:08.108Z] _____ _ [2022-10-25T04:28:08.108Z] / ____| | | [2022-10-25T04:28:08.108Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T04:28:08.108Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T04:28:08.108Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T04:28:08.108Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T04:28:08.108Z] Bash-1.0.6 [2022-10-25T04:28:08.108Z] [2022-10-25T04:28:08.108Z] [2022-10-25T04:28:08.108Z] ==> git version 2.25.1 found [2022-10-25T04:28:08.108Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-25T04:28:08.108Z] Release-Date: 2020-01-08 [2022-10-25T04:28:08.108Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-25T04:28:08.108Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T04:28:08.108Z] ==> Jenkins CI detected. [2022-10-25T04:28:08.108Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-221 [2022-10-25T04:28:08.108Z] project root: . [2022-10-25T04:28:08.108Z] --> token set from env [2022-10-25T04:28:08.108Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T04:28:08.108Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T04:28:08.108Z] ==> Python coveragepy not found [2022-10-25T04:28:08.108Z] ==> Searching for coverage reports in: [2022-10-25T04:28:08.108Z] + . [2022-10-25T04:28:08.108Z] -> Found 1 reports [2022-10-25T04:28:08.108Z] ==> Detecting git/mercurial file structure [2022-10-25T04:28:08.108Z] ==> Reading reports [2022-10-25T04:28:08.108Z] + ./coverage.out bytes=9355 [2022-10-25T04:28:08.108Z] ==> Appending adjustments [2022-10-25T04:28:08.108Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T04:28:08.366Z] + Found adjustments [2022-10-25T04:28:08.366Z] ==> Gzipping contents [2022-10-25T04:28:08.366Z] 4.0K /tmp/codecov.jrlIXd.gz [2022-10-25T04:28:08.366Z] ==> Uploading reports [2022-10-25T04:28:08.366Z] url: https://codecov.io [2022-10-25T04:28:08.366Z] query: branch=PR-221&commit=e04f72990f565fcdac6f982fafa7f719664c4a16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-221%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=221&job=&cmd_args= [2022-10-25T04:28:08.366Z] -> Pinging Codecov [2022-10-25T04:28:08.366Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-221&commit=e04f72990f565fcdac6f982fafa7f719664c4a16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-221%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=221&job=&cmd_args= [2022-10-25T04:28:08.624Z] -> Uploading to [2022-10-25T04:28:08.624Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/4E5D53B4F1F92C436F7061BF334D961C/e04f72990f565fcdac6f982fafa7f719664c4a16/59e91464-3c43-4006-9169-cb541666e4fd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T042808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7b7d126497ed1a4039903ca0ffe7dfece3acad72b607a678206795f21b25d3ce [2022-10-25T04:28:08.624Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T04:28:08.624Z] Dload Upload Total Spent Left Speed [2022-10-25T04:28:08.882Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 6842 --:--:-- --:--:-- --:--:-- 6842 [2022-10-25T04:28:08.882Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/e04f72990f565fcdac6f982fafa7f719664c4a16 [Pipeline] } [2022-10-25T04:28:08.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-25T04:28:10.630Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-221/archives ] [2022-10-25T04:28:10.630Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-221/archives [2022-10-25T04:28:10.630Z] total 16 [2022-10-25T04:28:10.630Z] drwxr-xr-x 3 root root 4096 Oct 25 01:21 . [2022-10-25T04:28:10.630Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 01:21 .. [2022-10-25T04:28:10.630Z] drwxr-xr-x 2 root root 4096 Oct 25 01:21 cost [2022-10-25T04:28:10.630Z] -rw-r--r-- 1 root root 86 Oct 25 01:21 cost.csv [2022-10-25T04:28:10.630Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-221/archives [2022-10-25T04:28:10.630Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-221/archives [2022-10-25T04:28:10.630Z] total 16 [2022-10-25T04:28:10.630Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:21 . [2022-10-25T04:28:10.630Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 01:21 .. [2022-10-25T04:28:10.630Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 01:21 cost [2022-10-25T04:28:10.630Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 25 01:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:28:10.954Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:28:11.841Z] ---> package-listing.sh [2022-10-25T04:28:11.841Z] ++ facter osfamily [2022-10-25T04:28:11.841Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T04:28:12.100Z] + OS_FAMILY=debian [2022-10-25T04:28:12.100Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-221 [2022-10-25T04:28:12.100Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T04:28:12.100Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T04:28:12.100Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T04:28:12.100Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T04:28:12.100Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-221 ']' [2022-10-25T04:28:12.100Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T04:28:12.100Z] + case "${OS_FAMILY}" in [2022-10-25T04:28:12.100Z] + dpkg -l [2022-10-25T04:28:12.100Z] + grep '^ii' [2022-10-25T04:28:12.100Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T04:28:12.100Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T04:28:12.100Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T04:28:12.100Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-221 ']' [2022-10-25T04:28:12.100Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-221/archives/ [2022-10-25T04:28:12.100Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-221/archives/ [Pipeline] echo [2022-10-25T04:28:12.136Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-221/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T04:28:12.426Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:28:13.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T04:28:13.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:28:13.180Z] prd-ubuntu20.04-docker-8c-8g-63832 does not seem to be running inside a container [2022-10-25T04:28:13.213Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-221/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-221 -v /w/workspace/gexfoundry_device-rest-go_PR-221:/w/workspace/gexfoundry_device-rest-go_PR-221:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-221@tmp:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T04:28:13.439Z] $ docker top e46d9f4d977eab987a30fb467cbb0818ddcaa6ad6b3bbae2611855108b30807c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:28:13.814Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T04:28:14.123Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T04:28:14.430Z] + ls /var/log/sa-host [2022-10-25T04:28:14.430Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T04:28:14.553Z] provisioning config files... [2022-10-25T04:28:14.561Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-221@tmp/config12480320129682945165tmp [Pipeline] { [Pipeline] echo [2022-10-25T04:28:14.609Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:28:14.918Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T04:28:14.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:28:15.366Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T04:28:15.416Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:28:15.726Z] ---> sudo-logs.sh [2022-10-25T04:28:15.726Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T04:28:15.812Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:28:16.122Z] ---> job-cost.sh [2022-10-25T04:28:16.122Z] lf-activate-venv: SKIPPING [2022-10-25T04:28:16.122Z] DEBUG: total: 0.2199999988079071 [2022-10-25T04:28:16.122Z] INFO: Retrieving Stack Cost... [2022-10-25T04:28:16.381Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T04:28:16.949Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T04:28:16.982Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:28:17.297Z] ---> logs-deploy.sh [2022-10-25T04:28:17.298Z] lf-activate-venv: SKIPPING [2022-10-25T04:28:17.298Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-221/1 [2022-10-25T04:28:17.298Z] INFO: archiving workspace using pattern(s): [2022-10-25T04:28:18.235Z] Archives upload complete. [2022-10-25T04:28:18.235Z] INFO: archiving logs to Nexus