Pull request #220 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9af8ab52f69e169985f54b7ef61b2c71a076a49+336f3e767954e61a02384677edb3fa394267c1fe (69e239b27182e0f3f9d074f5ada289918127dcb1) 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-ssh9680163351158515946.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-ssh15076659309055730184.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-220/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-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh900995735787328990.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-220/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1186979097439387470.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-ssh9615924103608844157.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-220/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-220/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1711413287589596875.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8402 in /w/workspace/gexfoundry_device-rest-go_PR-220 [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-220 # 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/220/head:refs/remotes/origin/PR-220 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 336f3e767954e61a02384677edb3fa394267c1fe into PR head commit f9af8ab52f69e169985f54b7ef61b2c71a076a49 Merge succeeded, producing f9af8ab52f69e169985f54b7ef61b2c71a076a49 Checking out Revision f9af8ab52f69e169985f54b7ef61b2c71a076a49 (PR-220) 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 > git config core.sparsecheckout # timeout=10 > git checkout -f f9af8ab52f69e169985f54b7ef61b2c71a076a49 # 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 336f3e767954e61a02384677edb3fa394267c1fe # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f9af8ab52f69e169985f54b7ef61b2c71a076a49 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T20:04:33.373Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T20:04:33.539Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T20:04:33.634Z] ========================================================= [2022-10-17T20:04:33.634Z] EdgeX Global Pipelines Version Info [2022-10-17T20:04:33.634Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:04:34.374Z] ------------------- [2022-10-17T20:04:34.374Z] stable info: [2022-10-17T20:04:34.374Z] ------------------- [2022-10-17T20:04:34.374Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T20:04:34.374Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-17T20:04:34.374Z] Message: update stable to v1.0.243 [2022-10-17T20:04:34.945Z] ------------------- [2022-10-17T20:04:34.946Z] experimental info: [2022-10-17T20:04:34.946Z] ------------------- [2022-10-17T20:04:34.946Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T20:04:34.946Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-17T20:04:34.946Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T20:04:35.241Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-17T20:04:35.280Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-17T20:04:35.317Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T20:04:35.361Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T20:04:35.398Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T20:04:35.435Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T20:04:35.472Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T20:04:35.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T20:04:35.552Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T20:04:35.594Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T20:04:35.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T20:04:35.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-17T20:04:35.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T20:04:35.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T20:04:35.797Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T20:04:35.840Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T20:04:35.882Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T20:04:35.925Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T20:04:35.967Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T20:04:36.004Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T20:04:36.041Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T20:04:36.081Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T20:04:36.122Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T20:04:36.160Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T20:04:36.203Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T20:04:36.244Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T20:04:36.287Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T20:04:36.330Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-220 [Pipeline] echo [2022-10-17T20:04:36.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-220 [Pipeline] echo [2022-10-17T20:04:36.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-220 [Pipeline] echo [2022-10-17T20:04:36.450Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9af8ab52f69e169985f54b7ef61b2c71a076a49 [Pipeline] echo [2022-10-17T20:04:36.493Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f9af8ab [Pipeline] echo [2022-10-17T20:04:36.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:04:36.646Z] provisioning config files... [2022-10-17T20:04:36.660Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/config11856861227051341285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:04:37.021Z] ---> docker-login.sh [2022-10-17T20:04:37.021Z] nexus3.edgexfoundry.org:10001 [2022-10-17T20:04:37.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:04:37.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:04:37.280Z] Configure a credential helper to remove this warning. See [2022-10-17T20:04:37.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:04:37.280Z] [2022-10-17T20:04:37.280Z] Login Succeeded [2022-10-17T20:04:37.280Z] nexus3.edgexfoundry.org:10002 [2022-10-17T20:04:37.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:04:37.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:04:37.540Z] Configure a credential helper to remove this warning. See [2022-10-17T20:04:37.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:04:37.540Z] [2022-10-17T20:04:37.540Z] Login Succeeded [2022-10-17T20:04:37.540Z] nexus3.edgexfoundry.org:10003 [2022-10-17T20:04:37.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:04:37.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:04:37.540Z] Configure a credential helper to remove this warning. See [2022-10-17T20:04:37.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:04:37.540Z] [2022-10-17T20:04:37.540Z] Login Succeeded [2022-10-17T20:04:37.540Z] nexus3.edgexfoundry.org:10004 [2022-10-17T20:04:37.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:04:37.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:04:37.800Z] Configure a credential helper to remove this warning. See [2022-10-17T20:04:37.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:04:37.800Z] [2022-10-17T20:04:37.800Z] Login Succeeded [2022-10-17T20:04:37.800Z] docker.io [2022-10-17T20:04:37.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:04:38.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:04:38.060Z] Configure a credential helper to remove this warning. See [2022-10-17T20:04:38.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:04:38.060Z] [2022-10-17T20:04:38.060Z] Login Succeeded [2022-10-17T20:04:38.060Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T20:04:38.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T20:04:38.724Z] + git rev-list -1 --merges f9af8ab52f69e169985f54b7ef61b2c71a076a49~1..f9af8ab52f69e169985f54b7ef61b2c71a076a49 [Pipeline] echo [2022-10-17T20:04:38.769Z] -----------> git rev-list -1 --merges f9af8ab52f69e169985f54b7ef61b2c71a076a49~1..f9af8ab52f69e169985f54b7ef61b2c71a076a49 f9af8ab52f69e169985f54b7ef61b2c71a076a49 [false] [Pipeline] sh [2022-10-17T20:04:39.078Z] + git log --format=format:%s -1 f9af8ab52f69e169985f54b7ef61b2c71a076a49 [Pipeline] echo [2022-10-17T20:04:39.112Z] ========================================================= [2022-10-17T20:04:39.112Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T20:04:39.112Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T20:04:39.541Z] + git log --format=format:%s -1 f9af8ab52f69e169985f54b7ef61b2c71a076a49 [Pipeline] echo [2022-10-17T20:04:39.572Z] [semverPrep] GIT_COMMIT: f9af8ab52f69e169985f54b7ef61b2c71a076a49, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-17T20:04:39.602Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T20:04:40.001Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T20:04:40.001Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T20:04:40.001Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T20:04:40.001Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T20:04:40.001Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T20:04:40.001Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T20:04:40.001Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:04:40.491Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:04:40.492Z] [2022-10-17T20:04:40.492Z] 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-17T20:04:40.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:04:40.866Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T20:04:40.866Z] b85a868b505f: Pulling fs layer [2022-10-17T20:04:40.866Z] e2be974225ed: Pulling fs layer [2022-10-17T20:04:40.866Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T20:04:40.866Z] 988bab9f4d93: Pulling fs layer [2022-10-17T20:04:40.866Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T20:04:40.866Z] eaf3925da568: Pulling fs layer [2022-10-17T20:04:40.866Z] bab4dde63d76: Pulling fs layer [2022-10-17T20:04:40.866Z] bde34c3a00c8: Pulling fs layer [2022-10-17T20:04:40.866Z] b352a97aabf1: Pulling fs layer [2022-10-17T20:04:40.866Z] 4872d77fe225: Pulling fs layer [2022-10-17T20:04:40.866Z] 5851b861e8e6: Pulling fs layer [2022-10-17T20:04:40.866Z] 988bab9f4d93: Waiting [2022-10-17T20:04:40.866Z] 1469e6f7b9e6: Waiting [2022-10-17T20:04:40.866Z] eaf3925da568: Waiting [2022-10-17T20:04:40.866Z] bab4dde63d76: Waiting [2022-10-17T20:04:40.866Z] bde34c3a00c8: Waiting [2022-10-17T20:04:40.866Z] b352a97aabf1: Waiting [2022-10-17T20:04:40.866Z] 4872d77fe225: Waiting [2022-10-17T20:04:40.866Z] 5851b861e8e6: Waiting [2022-10-17T20:04:41.131Z] e2be974225ed: Verifying Checksum [2022-10-17T20:04:41.131Z] e2be974225ed: Download complete [2022-10-17T20:04:41.131Z] 988bab9f4d93: Verifying Checksum [2022-10-17T20:04:41.131Z] 988bab9f4d93: Download complete [2022-10-17T20:04:41.131Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T20:04:41.131Z] 1469e6f7b9e6: Download complete [2022-10-17T20:04:41.131Z] eaf3925da568: Verifying Checksum [2022-10-17T20:04:41.131Z] eaf3925da568: Download complete [2022-10-17T20:04:41.131Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T20:04:41.131Z] 339a4e72a1f5: Download complete [2022-10-17T20:04:41.131Z] bde34c3a00c8: Download complete [2022-10-17T20:04:41.131Z] b352a97aabf1: Verifying Checksum [2022-10-17T20:04:41.131Z] b352a97aabf1: Download complete [2022-10-17T20:04:41.131Z] 4872d77fe225: Verifying Checksum [2022-10-17T20:04:41.131Z] 4872d77fe225: Download complete [2022-10-17T20:04:41.131Z] 5851b861e8e6: Verifying Checksum [2022-10-17T20:04:41.131Z] 5851b861e8e6: Download complete [2022-10-17T20:04:41.389Z] b85a868b505f: Verifying Checksum [2022-10-17T20:04:41.389Z] b85a868b505f: Download complete [2022-10-17T20:04:41.389Z] bab4dde63d76: Verifying Checksum [2022-10-17T20:04:41.389Z] bab4dde63d76: Download complete [2022-10-17T20:04:42.772Z] b85a868b505f: Pull complete [2022-10-17T20:04:42.772Z] e2be974225ed: Pull complete [2022-10-17T20:04:43.342Z] 339a4e72a1f5: Pull complete [2022-10-17T20:04:43.342Z] 988bab9f4d93: Pull complete [2022-10-17T20:04:43.600Z] 1469e6f7b9e6: Pull complete [2022-10-17T20:04:43.600Z] eaf3925da568: Pull complete [2022-10-17T20:04:45.501Z] bab4dde63d76: Pull complete [2022-10-17T20:04:45.501Z] bde34c3a00c8: Pull complete [2022-10-17T20:04:45.501Z] b352a97aabf1: Pull complete [2022-10-17T20:04:45.501Z] 4872d77fe225: Pull complete [2022-10-17T20:04:45.501Z] 5851b861e8e6: Pull complete [2022-10-17T20:04:45.501Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T20:04:45.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:04:45.760Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:04:45.967Z] prd-ubuntu20.04-docker-8c-8g-8402 does not seem to be running inside a container [2022-10-17T20:04:45.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-220 -v /w/workspace/gexfoundry_device-rest-go_PR-220:/w/workspace/gexfoundry_device-rest-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-220@tmp:/w/workspace/gexfoundry_device-rest-go_PR-220@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-17T20:04:48.152Z] $ docker top 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def -eo pid,comm [2022-10-17T20:04:48.216Z] 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-17T20:04:48.216Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T20:04:48.353Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T20:04:48.353Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T20:04:48.458Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T20:04:48.453Z] $ docker exec 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def ssh-agent [2022-10-17T20:04:48.571Z] SSH_AUTH_SOCK=/tmp/ssh-YLbTUG26OW9u/agent.34 [2022-10-17T20:04:48.571Z] SSH_AGENT_PID=40 [2022-10-17T20:04:48.578Z] Running ssh-add (command line suppressed) [2022-10-17T20:04:48.665Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-220@tmp/private_key_636643087452928555.key (/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/private_key_636643087452928555.key) [2022-10-17T20:04:48.687Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T20:04:49.024Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T20:04:49.044Z] $ docker exec --env ******** --env ******** 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def ssh-agent -k [2022-10-17T20:04:49.140Z] unset SSH_AUTH_SOCK; [2022-10-17T20:04:49.141Z] unset SSH_AGENT_PID; [2022-10-17T20:04:49.141Z] echo Agent pid 40 killed; [2022-10-17T20:04:49.162Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T20:04:49.245Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T20:04:49.245Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T20:04:49.352Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T20:04:49.347Z] $ docker exec 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def ssh-agent [2022-10-17T20:04:49.453Z] SSH_AUTH_SOCK=/tmp/ssh-2z0fzSPD5Pvi/agent.72 [2022-10-17T20:04:49.453Z] SSH_AGENT_PID=78 [2022-10-17T20:04:49.457Z] Running ssh-add (command line suppressed) [2022-10-17T20:04:49.561Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-220@tmp/private_key_7893926232619006270.key (/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/private_key_7893926232619006270.key) [2022-10-17T20:04:49.582Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T20:04:49.915Z] + git semver init [2022-10-17T20:04:50.174Z] 2022-10-17 20:04:50,075 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T20:04:50.174Z] 2022-10-17 20:04:50,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-220/.semver [2022-10-17T20:04:50.174Z] 2022-10-17 20:04:50,077 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-220/.semver [2022-10-17T20:04:50.174Z] 2022-10-17 20:04:50,077 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-220/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-220, universal_newlines=False, shell=None, istream=None) [2022-10-17T20:04:51.554Z] 2022-10-17 20:04:51,171 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-220/.git/info/exclude [2022-10-17T20:04:51.554Z] 2022-10-17 20:04:51,171 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-220/.semver/PR-220 with force:False [2022-10-17T20:04:51.554Z] 2022-10-17 20:04:51,171 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-220/.semver/PR-220 [2022-10-17T20:04:51.554Z] 2022-10-17 20:04:51,176 [execute] INFO git cat-file --batch-check [2022-10-17T20:04:51.554Z] 2022-10-17 20:04:51,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-220/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T20:04:51.554Z] 2022-10-17 20:04:51,183 [execute] INFO git cat-file --batch [2022-10-17T20:04:51.554Z] 2022-10-17 20:04:51,183 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-220/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T20:04:51.554Z] 2022-10-17 20:04:51,189 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-220/.semver/PR-220 [2022-10-17T20:04:51.554Z] 0.0.0 [Pipeline] } [2022-10-17T20:04:51.577Z] $ docker exec --env ******** --env ******** 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def ssh-agent -k [2022-10-17T20:04:51.670Z] unset SSH_AUTH_SOCK; [2022-10-17T20:04:51.670Z] unset SSH_AGENT_PID; [2022-10-17T20:04:51.670Z] echo Agent pid 78 killed; [2022-10-17T20:04:51.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T20:04:52.116Z] + git semver [Pipeline] } [2022-10-17T20:04:52.395Z] $ docker stop --time=1 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def [2022-10-17T20:04:53.734Z] $ docker rm -f 25218a812eadd3b2399ea746b02f0b97d84a3fa3fe85bc8b838e8ebe6e737def [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T20:04:54.146Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T20:04:54.391Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T20:04:54.407Z] [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-17T20:04:55.007Z] provisioning config files... [2022-10-17T20:04:55.016Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/config6765724262418062685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:04:55.362Z] ---> docker-login.sh [2022-10-17T20:04:55.362Z] nexus3.edgexfoundry.org:10001 [2022-10-17T20:04:55.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:04:55.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:04:55.362Z] Configure a credential helper to remove this warning. See [2022-10-17T20:04:55.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:04:55.362Z] [2022-10-17T20:04:55.362Z] Login Succeeded [2022-10-17T20:04:55.362Z] nexus3.edgexfoundry.org:10002 [2022-10-17T20:04:55.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:04:55.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:04:55.362Z] Configure a credential helper to remove this warning. See [2022-10-17T20:04:55.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:04:55.362Z] [2022-10-17T20:04:55.362Z] Login Succeeded [2022-10-17T20:04:55.362Z] nexus3.edgexfoundry.org:10003 [2022-10-17T20:04:55.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:04:55.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:04:55.624Z] Configure a credential helper to remove this warning. See [2022-10-17T20:04:55.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:04:55.624Z] [2022-10-17T20:04:55.624Z] Login Succeeded [2022-10-17T20:04:55.624Z] nexus3.edgexfoundry.org:10004 [2022-10-17T20:04:55.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:04:55.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:04:55.624Z] Configure a credential helper to remove this warning. See [2022-10-17T20:04:55.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:04:55.624Z] [2022-10-17T20:04:55.624Z] Login Succeeded [2022-10-17T20:04:55.624Z] docker.io [2022-10-17T20:04:55.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:04:56.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:04:56.191Z] Configure a credential helper to remove this warning. See [2022-10-17T20:04:56.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:04:56.191Z] [2022-10-17T20:04:56.191Z] Login Succeeded [2022-10-17T20:04:56.191Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T20:04:56.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T20:04:56.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:04:56.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:04:56.481Z] ========================================================= [2022-10-17T20:04:56.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T20:04:56.481Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:04:56.954Z] + 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-17T20:04:56.954Z] Sending build context to Docker daemon 10.73MB [2022-10-17T20:04:56.954Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:04:56.954Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T20:04:56.954Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T20:04:56.954Z] 213ec9aee27d: Pulling fs layer [2022-10-17T20:04:56.954Z] 4583459ba037: Pulling fs layer [2022-10-17T20:04:56.954Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T20:04:56.954Z] 53926ce57604: Pulling fs layer [2022-10-17T20:04:56.954Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T20:04:56.954Z] 30f14e443154: Pulling fs layer [2022-10-17T20:04:56.954Z] 801331c1e519: Pulling fs layer [2022-10-17T20:04:56.954Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T20:04:56.954Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T20:04:56.954Z] 53926ce57604: Waiting [2022-10-17T20:04:56.954Z] 21b2b0c7a3f4: Waiting [2022-10-17T20:04:56.954Z] 99cc6dd402b0: Waiting [2022-10-17T20:04:56.954Z] 801331c1e519: Waiting [2022-10-17T20:04:56.954Z] 7d9ed39f4882: Waiting [2022-10-17T20:04:56.954Z] 93c1e223e6f2: Download complete [2022-10-17T20:04:56.954Z] 4583459ba037: Download complete [2022-10-17T20:04:57.215Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-17T20:04:57.215Z] 21b2b0c7a3f4: Download complete [2022-10-17T20:04:57.215Z] 30f14e443154: Verifying Checksum [2022-10-17T20:04:57.215Z] 30f14e443154: Download complete [2022-10-17T20:04:57.215Z] 213ec9aee27d: Verifying Checksum [2022-10-17T20:04:57.215Z] 801331c1e519: Download complete [2022-10-17T20:04:57.215Z] 213ec9aee27d: Pull complete [2022-10-17T20:04:57.474Z] 4583459ba037: Pull complete [2022-10-17T20:04:57.474Z] 93c1e223e6f2: Pull complete [2022-10-17T20:04:57.474Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T20:04:57.474Z] 7d9ed39f4882: Download complete [2022-10-17T20:04:58.038Z] 53926ce57604: Verifying Checksum [2022-10-17T20:04:58.038Z] 53926ce57604: Download complete [2022-10-17T20:04:58.038Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T20:04:58.038Z] 99cc6dd402b0: Download complete [2022-10-17T20:05:02.216Z] 53926ce57604: Pull complete [2022-10-17T20:05:02.216Z] 21b2b0c7a3f4: Pull complete [2022-10-17T20:05:02.216Z] 30f14e443154: Pull complete [2022-10-17T20:05:02.216Z] 801331c1e519: Pull complete [2022-10-17T20:05:04.118Z] 99cc6dd402b0: Pull complete [2022-10-17T20:05:05.054Z] 7d9ed39f4882: Pull complete [2022-10-17T20:05:05.054Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T20:05:05.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T20:05:05.054Z] ---> 1dedd983c030 [2022-10-17T20:05:05.054Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T20:05:08.359Z] ---> Running in f902114a74e7 [2022-10-17T20:05:08.359Z] Removing intermediate container f902114a74e7 [2022-10-17T20:05:08.359Z] ---> 86365316690b [2022-10-17T20:05:08.359Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T20:05:08.359Z] ---> Running in 7ca17b7ede03 [2022-10-17T20:05:08.619Z] Removing intermediate container 7ca17b7ede03 [2022-10-17T20:05:08.619Z] ---> 884ce2999ff1 [2022-10-17T20:05:08.619Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T20:05:08.619Z] ---> Running in c3f10129e3f2 [2022-10-17T20:05:08.619Z] Removing intermediate container c3f10129e3f2 [2022-10-17T20:05:08.619Z] ---> 05df53b1ff98 [2022-10-17T20:05:08.619Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T20:05:08.619Z] ---> Running in 76a0962a55b7 [2022-10-17T20:05:08.877Z] Removing intermediate container 76a0962a55b7 [2022-10-17T20:05:08.877Z] ---> e3c0e511d47b [2022-10-17T20:05:08.877Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:05:08.877Z] ---> Running in 4fcb7f7b36a9 [2022-10-17T20:05:09.447Z] Removing intermediate container 4fcb7f7b36a9 [2022-10-17T20:05:09.447Z] ---> 7bf7d65e64be [2022-10-17T20:05:09.447Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T20:05:09.447Z] ---> Running in 2f84461ee00e [2022-10-17T20:05:09.707Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T20:05:09.831Z] Still waiting to schedule task [2022-10-17T20:05:09.831Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-17T20:05:10.644Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T20:05:10.644Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T20:05:10.904Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T20:05:10.904Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T20:05:11.163Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T20:05:11.163Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T20:05:11.163Z] OK: 216 MiB in 55 packages [2022-10-17T20:05:11.731Z] Removing intermediate container 2f84461ee00e [2022-10-17T20:05:11.731Z] ---> 731965fb1f35 [2022-10-17T20:05:11.731Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-17T20:05:11.731Z] ---> Running in b25a928858b0 [2022-10-17T20:05:11.731Z] Removing intermediate container b25a928858b0 [2022-10-17T20:05:11.731Z] ---> ca90c7e0d47d [2022-10-17T20:05:11.731Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T20:05:11.731Z] ---> 27edc2a024d6 [2022-10-17T20:05:11.731Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:05:11.731Z] ---> Running in f8b8b2048000 [2022-10-17T20:05:33.709Z] Removing intermediate container f8b8b2048000 [2022-10-17T20:05:33.709Z] ---> e97e883612c0 [2022-10-17T20:05:33.709Z] Step 12/13 : COPY . . [2022-10-17T20:05:33.709Z] ---> 2c480ac63d7f [2022-10-17T20:05:33.709Z] Step 13/13 : RUN $MAKE [2022-10-17T20:05:33.709Z] ---> Running in f0a1c9576285 [2022-10-17T20:05:33.709Z] noop [2022-10-17T20:05:33.709Z] Removing intermediate container f0a1c9576285 [2022-10-17T20:05:33.709Z] ---> d127988ceeee [2022-10-17T20:05:33.709Z] Successfully built d127988ceeee [2022-10-17T20:05:33.709Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:05:34.152Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T20:05:34.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:05:34.302Z] prd-ubuntu20.04-docker-8c-8g-8402 does not seem to be running inside a container [2022-10-17T20:05:34.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-220 -v /w/workspace/gexfoundry_device-rest-go_PR-220:/w/workspace/gexfoundry_device-rest-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-220@tmp:/w/workspace/gexfoundry_device-rest-go_PR-220@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-17T20:05:34.684Z] $ docker top 2bf3c8f458d65bc4f06f2832ed67b534dbf52b11cf58a1c878af1cf5e13f2e79 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:05:35.068Z] + go version [2022-10-17T20:05:35.068Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T20:05:35.108Z] $ docker stop --time=1 2bf3c8f458d65bc4f06f2832ed67b534dbf52b11cf58a1c878af1cf5e13f2e79 [2022-10-17T20:05:36.406Z] $ docker rm -f 2bf3c8f458d65bc4f06f2832ed67b534dbf52b11cf58a1c878af1cf5e13f2e79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:05:37.103Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T20:05:37.104Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:05:37.248Z] prd-ubuntu20.04-docker-8c-8g-8402 does not seem to be running inside a container [2022-10-17T20:05:37.285Z] $ 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-220 -v /w/workspace/gexfoundry_device-rest-go_PR-220:/w/workspace/gexfoundry_device-rest-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-220@tmp:/w/workspace/gexfoundry_device-rest-go_PR-220@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-17T20:05:37.620Z] $ docker top 39c75bb3222a8dc988b3b93bdbecb21703d2773a054b7e4f89c9771ef9fb1ee4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:05:38.015Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-220 [Pipeline] fileExists [Pipeline] sh [2022-10-17T20:05:38.375Z] + make test [2022-10-17T20:05:38.375Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T20:05:38.634Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-17T20:05:48.610Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-17T20:05:49.177Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-10-17T20:05:57.287Z] 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-17T20:05:57.287Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T20:05:59.819Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T20:05:59.819Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T20:05:59.819Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T20:05:59.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T20:05:59.897Z] $ docker stop --time=1 39c75bb3222a8dc988b3b93bdbecb21703d2773a054b7e4f89c9771ef9fb1ee4 [2022-10-17T20:06:02.122Z] $ docker rm -f 39c75bb3222a8dc988b3b93bdbecb21703d2773a054b7e4f89c9771ef9fb1ee4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T20:06:02.678Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T20:06:02.764Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T20:06:03.492Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T20:06:03.803Z] + ls -al . [2022-10-17T20:06:03.803Z] total 180 [2022-10-17T20:06:03.803Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 20:05 . [2022-10-17T20:06:03.803Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:04 .. [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 20:04 .dockerignore [2022-10-17T20:06:03.803Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:05 .git [2022-10-17T20:06:03.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:04 .github [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 20:04 .gitignore [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 20:04 .golangci.yml [2022-10-17T20:06:03.803Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:04 .semver [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 17 20:04 Attribution.txt [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 17 20:04 CHANGELOG.md [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 17 20:04 Dockerfile [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 20:04 GOVERNANCE.md [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 20:04 Jenkinsfile [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 20:04 LICENSE [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 17 20:04 Makefile [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 20:04 OWNERS.md [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 17 20:04 README.md [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 20:04 VERSION [2022-10-17T20:06:03.803Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:04 bin [2022-10-17T20:06:03.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:04 cmd [2022-10-17T20:06:03.803Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 17 20:05 coverage.out [2022-10-17T20:06:03.803Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:04 driver [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 17 20:04 go.mod [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 20:04 go.sum [2022-10-17T20:06:03.803Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:04 snap [2022-10-17T20:06:03.803Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 20:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:06:04.198Z] + 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=f9af8ab52f69e169985f54b7ef61b2c71a076a49 --label arch=amd64 --label version=0.0.0 . [2022-10-17T20:06:04.199Z] Sending build context to Docker daemon 10.74MB [2022-10-17T20:06:04.199Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:06:04.199Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-17T20:06:04.199Z] ---> d127988ceeee [2022-10-17T20:06:04.199Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-17T20:06:04.457Z] ---> Running in cf64842c852f [2022-10-17T20:06:04.457Z] Removing intermediate container cf64842c852f [2022-10-17T20:06:04.457Z] ---> cb2cc1c4a789 [2022-10-17T20:06:04.457Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T20:06:04.457Z] ---> Running in d8f54fb69310 [2022-10-17T20:06:04.457Z] Removing intermediate container d8f54fb69310 [2022-10-17T20:06:04.457Z] ---> dcd679436049 [2022-10-17T20:06:04.457Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T20:06:04.457Z] ---> Running in aa580cbee4c6 [2022-10-17T20:06:04.717Z] Removing intermediate container aa580cbee4c6 [2022-10-17T20:06:04.717Z] ---> 27e95ecba294 [2022-10-17T20:06:04.717Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T20:06:04.717Z] ---> Running in 1ce96983759f [2022-10-17T20:06:04.717Z] Removing intermediate container 1ce96983759f [2022-10-17T20:06:04.717Z] ---> 63bdad415991 [2022-10-17T20:06:04.717Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:06:04.717Z] ---> Running in 03bf58604704 [2022-10-17T20:06:05.285Z] Removing intermediate container 03bf58604704 [2022-10-17T20:06:05.285Z] ---> 3396711c21a6 [2022-10-17T20:06:05.285Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T20:06:05.285Z] ---> Running in e3c600982e1e [2022-10-17T20:06:05.545Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T20:06:06.481Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T20:06:06.740Z] OK: 216 MiB in 55 packages [2022-10-17T20:06:07.000Z] Removing intermediate container e3c600982e1e [2022-10-17T20:06:07.000Z] ---> 208c679a745a [2022-10-17T20:06:07.000Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-17T20:06:07.261Z] ---> Running in cabf70997c56 [2022-10-17T20:06:07.261Z] Removing intermediate container cabf70997c56 [2022-10-17T20:06:07.261Z] ---> 8373dd265830 [2022-10-17T20:06:07.261Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-17T20:06:07.261Z] ---> fc3b6859ffe6 [2022-10-17T20:06:07.261Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:06:07.520Z] ---> Running in 46398793ac87 [2022-10-17T20:06:08.090Z] Removing intermediate container 46398793ac87 [2022-10-17T20:06:08.090Z] ---> 1aa0cb19d7cc [2022-10-17T20:06:08.090Z] Step 12/26 : COPY . . [2022-10-17T20:06:08.349Z] ---> 7e0798e8e5ac [2022-10-17T20:06:08.349Z] Step 13/26 : RUN $MAKE [2022-10-17T20:06:08.349Z] ---> Running in 333b4aecffea [2022-10-17T20:06:08.918Z] 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-17T20:06:33.829Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8403 in /w/workspace/gexfoundry_device-rest-go_PR-220 [Pipeline] { [Pipeline] ws [2022-10-17T20:06:33.869Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-10-17T20:06:33.950Z] The recommended git tool is: git [2022-10-17T20:06:35.500Z] Removing intermediate container 333b4aecffea [2022-10-17T20:06:35.500Z] ---> c53fb8f330b6 [2022-10-17T20:06:35.500Z] Step 14/26 : FROM alpine:3.16 [2022-10-17T20:06:35.500Z] 3.16: Pulling from library/alpine [2022-10-17T20:06:35.500Z] 213ec9aee27d: Already exists [2022-10-17T20:06:35.500Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T20:06:35.500Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T20:06:35.500Z] ---> 9c6f07244728 [2022-10-17T20:06:35.500Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-17T20:06:35.500Z] ---> Running in 9387efb3d6bb [2022-10-17T20:06:35.500Z] Removing intermediate container 9387efb3d6bb [2022-10-17T20:06:35.500Z] ---> 30338426676a [2022-10-17T20:06:35.500Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-17T20:06:35.500Z] ---> Running in 1dd9f4c1a1e3 [2022-10-17T20:06:35.500Z] Removing intermediate container 1dd9f4c1a1e3 [2022-10-17T20:06:35.500Z] ---> c9f98c25d626 [2022-10-17T20:06:35.500Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T20:06:35.500Z] ---> Running in 5be4fa5d7009 [2022-10-17T20:06:35.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T20:06:35.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T20:06:35.500Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T20:06:35.500Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T20:06:35.500Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T20:06:35.500Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T20:06:35.500Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T20:06:35.500Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T20:06:35.500Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T20:06:35.500Z] OK: 8 MiB in 20 packages [2022-10-17T20:06:35.500Z] Removing intermediate container 5be4fa5d7009 [2022-10-17T20:06:35.500Z] ---> 58b7bf655420 [2022-10-17T20:06:35.500Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-17T20:06:35.500Z] ---> 174d6b5da837 [2022-10-17T20:06:35.500Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-17T20:06:35.500Z] ---> f75949c0d1d9 [2022-10-17T20:06:35.500Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-17T20:06:35.500Z] ---> c0916092a16c [2022-10-17T20:06:35.500Z] Step 21/26 : EXPOSE 59986 [2022-10-17T20:06:35.500Z] ---> Running in a3b3c017f188 [2022-10-17T20:06:35.500Z] Removing intermediate container a3b3c017f188 [2022-10-17T20:06:35.500Z] ---> cf848895fce8 [2022-10-17T20:06:35.500Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-17T20:06:35.500Z] ---> Running in 90a381e1a15a [2022-10-17T20:06:35.500Z] Removing intermediate container 90a381e1a15a [2022-10-17T20:06:35.500Z] ---> 343e6c34d9b8 [2022-10-17T20:06:35.500Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-17T20:06:35.500Z] ---> Running in 7eaf671251b7 [2022-10-17T20:06:35.500Z] Removing intermediate container 7eaf671251b7 [2022-10-17T20:06:35.500Z] ---> 7f5686d03270 [2022-10-17T20:06:35.500Z] Step 24/26 : LABEL arch=amd64 [2022-10-17T20:06:35.500Z] ---> Running in 7ae3fc605432 [2022-10-17T20:06:35.500Z] Removing intermediate container 7ae3fc605432 [2022-10-17T20:06:35.500Z] ---> 5dbbdcd3ef85 [2022-10-17T20:06:35.500Z] Step 25/26 : LABEL git_sha=f9af8ab52f69e169985f54b7ef61b2c71a076a49 [2022-10-17T20:06:35.500Z] ---> Running in 996d49eca766 [2022-10-17T20:06:35.500Z] Removing intermediate container 996d49eca766 [2022-10-17T20:06:35.500Z] ---> b0d1e0e9e4d5 [2022-10-17T20:06:35.500Z] Step 26/26 : LABEL version=0.0.0 [2022-10-17T20:06:35.500Z] ---> Running in cccb5b2dd2a8 [2022-10-17T20:06:35.500Z] Removing intermediate container cccb5b2dd2a8 [2022-10-17T20:06:35.500Z] ---> 8467eca719da [2022-10-17T20:06:35.500Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T20:06:35.500Z] Successfully built 8467eca719da [2022-10-17T20:06:35.500Z] 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-17T20:06:36.315Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:06:36.315Z] [2022-10-17T20:06:36.315Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:06:36.701Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:06:36.701Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T20:06:36.701Z] 5eb5b503b376: Pulling fs layer [2022-10-17T20:06:36.701Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T20:06:36.701Z] ec43610c2a17: Pulling fs layer [2022-10-17T20:06:36.701Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T20:06:36.701Z] 33b1e0a273af: Pulling fs layer [2022-10-17T20:06:36.701Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T20:06:36.701Z] 2f39f015ded8: Pulling fs layer [2022-10-17T20:06:36.701Z] 3a2ae6a8a46f: Waiting [2022-10-17T20:06:36.701Z] 2f39f015ded8: Waiting [2022-10-17T20:06:36.701Z] 33b1e0a273af: Waiting [2022-10-17T20:06:36.701Z] 5d3b04190fa2: Waiting [2022-10-17T20:06:36.701Z] 5c69ac0246d0: Verifying Checksum [2022-10-17T20:06:36.701Z] 5c69ac0246d0: Download complete [2022-10-17T20:06:36.701Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T20:06:36.701Z] 3a2ae6a8a46f: Download complete [2022-10-17T20:06:36.701Z] 33b1e0a273af: Verifying Checksum [2022-10-17T20:06:36.701Z] 33b1e0a273af: Download complete [2022-10-17T20:06:36.701Z] ec43610c2a17: Verifying Checksum [2022-10-17T20:06:36.701Z] ec43610c2a17: Download complete [2022-10-17T20:06:36.701Z] 5d3b04190fa2: Download complete [2022-10-17T20:06:36.959Z] 5eb5b503b376: Verifying Checksum [2022-10-17T20:06:36.959Z] 5eb5b503b376: Download complete [2022-10-17T20:06:37.524Z] 2f39f015ded8: Download complete [2022-10-17T20:06:38.091Z] 5eb5b503b376: Pull complete [2022-10-17T20:06:38.348Z] 5c69ac0246d0: Pull complete [2022-10-17T20:06:38.608Z] ec43610c2a17: Pull complete [2022-10-17T20:06:38.866Z] using credential edgex-jenkins-ssh [2022-10-17T20:06:38.866Z] 3a2ae6a8a46f: Pull complete [2022-10-17T20:06:38.882Z] Cloning the remote Git repository [2022-10-17T20:06:39.125Z] 33b1e0a273af: Pull complete [2022-10-17T20:06:39.125Z] 5d3b04190fa2: Pull complete [2022-10-17T20:06:38.923Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-17T20:06:38.993Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-10-17T20:06:39.131Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-17T20:06:39.132Z] > git --version # timeout=10 [2022-10-17T20:06:39.151Z] > git --version # 'git version 2.25.1' [2022-10-17T20:06:39.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T20:06:39.199Z] Verifying host key using known hosts file [2022-10-17T20:06:39.381Z] 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-17T20:06:39.394Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T20:06:41.304Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-17T20:06:41.323Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T20:06:42.187Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-17T20:06:42.234Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-17T20:06:42.235Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T20:06:42.241Z] Verifying host key using known hosts file [2022-10-17T20:06:42.247Z] 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-17T20:06:42.258Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/220/head:refs/remotes/origin/PR-220 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-17T20:06:42.801Z] Merging remotes/origin/main commit 336f3e767954e61a02384677edb3fa394267c1fe into PR head commit f9af8ab52f69e169985f54b7ef61b2c71a076a49 [2022-10-17T20:06:43.009Z] Merge succeeded, producing f9af8ab52f69e169985f54b7ef61b2c71a076a49 [2022-10-17T20:06:43.009Z] Checking out Revision f9af8ab52f69e169985f54b7ef61b2c71a076a49 (PR-220) [2022-10-17T20:06:43.306Z] 2f39f015ded8: Pull complete [2022-10-17T20:06:43.306Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T20:06:43.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:06:43.306Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [2022-10-17T20:06:43.474Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] withDockerContainer [2022-10-17T20:06:43.524Z] prd-ubuntu20.04-docker-8c-8g-8402 does not seem to be running inside a container [2022-10-17T20:06:43.560Z] $ 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-220 -v /w/workspace/gexfoundry_device-rest-go_PR-220:/w/workspace/gexfoundry_device-rest-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-220@tmp:/w/workspace/gexfoundry_device-rest-go_PR-220@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-17T20:06:43.522Z] > git --version # timeout=10 [2022-10-17T20:06:43.537Z] > git --version # 'git version 2.25.1' [2022-10-17T20:06:43.552Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-17T20:06:43.940Z] [2022-10-17T20:06:43.940Z] GitHub has been notified of this commit’s build result [2022-10-17T20:06:43.940Z] [2022-10-17T20:06:42.816Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T20:06:42.837Z] > git checkout -f f9af8ab52f69e169985f54b7ef61b2c71a076a49 # timeout=10 [2022-10-17T20:06:42.915Z] > git remote # timeout=10 [2022-10-17T20:06:42.930Z] > git config --get remote.origin.url # timeout=10 [2022-10-17T20:06:42.952Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T20:06:42.956Z] Verifying host key using known hosts file [2022-10-17T20:06:42.959Z] 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-17T20:06:42.968Z] > git merge 336f3e767954e61a02384677edb3fa394267c1fe # timeout=10 [2022-10-17T20:06:42.991Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-17T20:06:43.012Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T20:06:43.031Z] > git checkout -f f9af8ab52f69e169985f54b7ef61b2c71a076a49 # timeout=10 [2022-10-17T20:06:47.325Z] $ docker top 8f2ba6050ed1e3d120dffd0d611e02d57420fd7c91aa19b408526342c8a70abe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T20:06:47.783Z] ---> job-cost.sh [2022-10-17T20:06:47.783Z] lf-activate-venv: SKIPPING [2022-10-17T20:06:47.783Z] INFO: No Stack... [2022-10-17T20:06:48.041Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T20:06:48.215Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T20:06:48.215Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T20:06:48.215Z] Dload Upload Total Spent Left Speed [2022-10-17T20:06:48.215Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 71602 0 --:--:-- --:--:-- --:--:-- 71602 [Pipeline] sh [2022-10-17T20:06:48.609Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T20:06:48.757Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T20:06:48.925Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-220/archives/cost.csv [2022-10-17T20:06:48.925Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T20:06:48.967Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] [2022-10-17T20:06:48.971Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] did not exist. Created. [2022-10-17T20:06:48.971Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T20:06:49.097Z] + sudo tee /etc/docker/daemon.new [2022-10-17T20:06:49.097Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T20:06:49.097Z] { [2022-10-17T20:06:49.097Z] "registry-mirrors": [ [2022-10-17T20:06:49.097Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T20:06:49.097Z] ], [2022-10-17T20:06:49.097Z] "bip": "10.250.0.254/24", [2022-10-17T20:06:49.097Z] "hosts": [ [2022-10-17T20:06:49.097Z] "tcp://0.0.0.0:5555", [2022-10-17T20:06:49.097Z] "unix:///var/run/docker.sock" [2022-10-17T20:06:49.097Z] ], [2022-10-17T20:06:49.097Z] "mtu": 1458, [2022-10-17T20:06:49.097Z] "selinux-enabled": true, [2022-10-17T20:06:49.097Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T20:06:49.097Z] } [Pipeline] sh [2022-10-17T20:06:49.361Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T20:06:49.411Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T20:06:49.439Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] [2022-10-17T20:06:49.482Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } [2022-10-17T20:06:49.548Z] $ docker stop --time=1 8f2ba6050ed1e3d120dffd0d611e02d57420fd7c91aa19b408526342c8a70abe [2022-10-17T20:06:50.703Z] $ docker rm -f 8f2ba6050ed1e3d120dffd0d611e02d57420fd7c91aa19b408526342c8a70abe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T20:06:51.123Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:07:09.446Z] provisioning config files... [2022-10-17T20:07:09.472Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8862589305407094421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:07:09.851Z] ---> docker-login.sh [2022-10-17T20:07:09.851Z] nexus3.edgexfoundry.org:10001 [2022-10-17T20:07:10.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:07:10.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:07:10.708Z] Configure a credential helper to remove this warning. See [2022-10-17T20:07:10.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:07:10.708Z] [2022-10-17T20:07:10.708Z] Login Succeeded [2022-10-17T20:07:10.708Z] nexus3.edgexfoundry.org:10002 [2022-10-17T20:07:10.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:07:10.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:07:10.977Z] Configure a credential helper to remove this warning. See [2022-10-17T20:07:10.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:07:10.977Z] [2022-10-17T20:07:10.977Z] Login Succeeded [2022-10-17T20:07:10.977Z] nexus3.edgexfoundry.org:10003 [2022-10-17T20:07:11.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:07:11.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:07:11.249Z] Configure a credential helper to remove this warning. See [2022-10-17T20:07:11.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:07:11.249Z] [2022-10-17T20:07:11.249Z] Login Succeeded [2022-10-17T20:07:11.249Z] nexus3.edgexfoundry.org:10004 [2022-10-17T20:07:11.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:07:11.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:07:11.791Z] Configure a credential helper to remove this warning. See [2022-10-17T20:07:11.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:07:11.791Z] [2022-10-17T20:07:11.791Z] Login Succeeded [2022-10-17T20:07:11.791Z] docker.io [2022-10-17T20:07:11.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:07:12.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:07:12.378Z] Configure a credential helper to remove this warning. See [2022-10-17T20:07:12.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:07:12.378Z] [2022-10-17T20:07:12.378Z] Login Succeeded [2022-10-17T20:07:12.378Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T20:07:12.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T20:07:12.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:07:12.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:07:12.760Z] ========================================================= [2022-10-17T20:07:12.760Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T20:07:12.760Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:07:13.268Z] + 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-17T20:07:13.268Z] Sending build context to Docker daemon 127.5kB [2022-10-17T20:07:13.548Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:07:13.548Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T20:07:13.548Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T20:07:13.548Z] 9b18e9b68314: Pulling fs layer [2022-10-17T20:07:13.548Z] d32db5db7311: Pulling fs layer [2022-10-17T20:07:13.548Z] d0c4b47475fc: Pulling fs layer [2022-10-17T20:07:13.548Z] 5831b945b038: Pulling fs layer [2022-10-17T20:07:13.548Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T20:07:13.548Z] e10730c5d714: Pulling fs layer [2022-10-17T20:07:13.548Z] 5dd5c2283517: Pulling fs layer [2022-10-17T20:07:13.548Z] d5ac0230b979: Pulling fs layer [2022-10-17T20:07:13.548Z] 5831b945b038: Waiting [2022-10-17T20:07:13.548Z] 86bbec2aaacd: Waiting [2022-10-17T20:07:13.548Z] e10730c5d714: Waiting [2022-10-17T20:07:13.548Z] 5dd5c2283517: Waiting [2022-10-17T20:07:13.548Z] d5ac0230b979: Waiting [2022-10-17T20:07:13.548Z] d0c4b47475fc: Download complete [2022-10-17T20:07:13.548Z] d32db5db7311: Verifying Checksum [2022-10-17T20:07:13.548Z] d32db5db7311: Download complete [2022-10-17T20:07:13.548Z] 86bbec2aaacd: Verifying Checksum [2022-10-17T20:07:13.548Z] 86bbec2aaacd: Download complete [2022-10-17T20:07:13.842Z] e10730c5d714: Download complete [2022-10-17T20:07:13.842Z] 9b18e9b68314: Verifying Checksum [2022-10-17T20:07:13.842Z] 9b18e9b68314: Download complete [2022-10-17T20:07:14.816Z] 9b18e9b68314: Pull complete [2022-10-17T20:07:14.816Z] d5ac0230b979: Verifying Checksum [2022-10-17T20:07:14.816Z] d5ac0230b979: Download complete [2022-10-17T20:07:15.420Z] d32db5db7311: Pull complete [2022-10-17T20:07:15.420Z] d0c4b47475fc: Pull complete [2022-10-17T20:07:16.023Z] 5dd5c2283517: Verifying Checksum [2022-10-17T20:07:16.023Z] 5dd5c2283517: Download complete [2022-10-17T20:07:16.609Z] 5831b945b038: Verifying Checksum [2022-10-17T20:07:16.609Z] 5831b945b038: Download complete [2022-10-17T20:07:28.952Z] 5831b945b038: Pull complete [2022-10-17T20:07:28.952Z] 86bbec2aaacd: Pull complete [2022-10-17T20:07:28.952Z] e10730c5d714: Pull complete [2022-10-17T20:07:35.624Z] 5dd5c2283517: Pull complete [2022-10-17T20:07:37.133Z] d5ac0230b979: Pull complete [2022-10-17T20:07:37.133Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T20:07:37.133Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T20:07:37.133Z] ---> 59b3b1a385d4 [2022-10-17T20:07:37.133Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T20:07:38.551Z] ---> Running in a0df564c4eac [2022-10-17T20:07:38.823Z] Removing intermediate container a0df564c4eac [2022-10-17T20:07:38.823Z] ---> b47c5b2f116f [2022-10-17T20:07:38.823Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T20:07:39.091Z] ---> Running in e21da5a1224d [2022-10-17T20:07:39.358Z] Removing intermediate container e21da5a1224d [2022-10-17T20:07:39.358Z] ---> 80da69d208be [2022-10-17T20:07:39.358Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T20:07:39.358Z] ---> Running in 1545a8705497 [2022-10-17T20:07:39.625Z] Removing intermediate container 1545a8705497 [2022-10-17T20:07:39.625Z] ---> ca5fb96cabe3 [2022-10-17T20:07:39.625Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T20:07:39.625Z] ---> Running in 2b705030645b [2022-10-17T20:07:39.894Z] Removing intermediate container 2b705030645b [2022-10-17T20:07:39.894Z] ---> 34b341b7eaf6 [2022-10-17T20:07:39.894Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:07:40.162Z] ---> Running in 04201a01c64d [2022-10-17T20:07:42.125Z] Removing intermediate container 04201a01c64d [2022-10-17T20:07:42.125Z] ---> 399d635177a6 [2022-10-17T20:07:42.125Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T20:07:42.125Z] ---> Running in a614c2ec4f34 [2022-10-17T20:07:42.712Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T20:07:43.668Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T20:07:44.638Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T20:07:44.638Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T20:07:44.638Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T20:07:44.911Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T20:07:44.911Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T20:07:44.911Z] OK: 226 MiB in 55 packages [2022-10-17T20:07:45.878Z] Removing intermediate container a614c2ec4f34 [2022-10-17T20:07:45.878Z] ---> c13cbb413117 [2022-10-17T20:07:45.878Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-17T20:07:46.145Z] ---> Running in 19378a40252c [2022-10-17T20:07:46.413Z] Removing intermediate container 19378a40252c [2022-10-17T20:07:46.413Z] ---> 6d53169b58a5 [2022-10-17T20:07:46.413Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T20:07:46.999Z] ---> 0b91db7b7a58 [2022-10-17T20:07:46.999Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:07:46.999Z] ---> Running in 35f5eb7f109b [2022-10-17T20:08:33.866Z] Removing intermediate container 35f5eb7f109b [2022-10-17T20:08:33.866Z] ---> a33873a9cdcb [2022-10-17T20:08:33.866Z] Step 12/13 : COPY . . [2022-10-17T20:08:34.831Z] ---> f115d5a91235 [2022-10-17T20:08:34.831Z] Step 13/13 : RUN $MAKE [2022-10-17T20:08:34.831Z] ---> Running in 93d6fbd4697c [2022-10-17T20:08:35.795Z] noop [2022-10-17T20:08:36.062Z] Removing intermediate container 93d6fbd4697c [2022-10-17T20:08:36.063Z] ---> 1f107bd7368f [2022-10-17T20:08:36.063Z] Successfully built 1f107bd7368f [2022-10-17T20:08:36.328Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:08:36.796Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T20:08:36.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:08:37.039Z] prd-ubuntu20.04-docker-arm64-4c-16g-8403 does not seem to be running inside a container [2022-10-17T20:08:37.098Z] $ 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-17T20:08:38.285Z] $ docker top 90b9f0e4aaf9af2fb1314b51853cf1997b6b06ce5f39648b146905bf24069785 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:08:39.156Z] + go version [2022-10-17T20:08:39.156Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T20:08:39.187Z] $ docker stop --time=1 90b9f0e4aaf9af2fb1314b51853cf1997b6b06ce5f39648b146905bf24069785 [2022-10-17T20:08:40.809Z] $ docker rm -f 90b9f0e4aaf9af2fb1314b51853cf1997b6b06ce5f39648b146905bf24069785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:08:41.650Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T20:08:41.650Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:08:41.904Z] prd-ubuntu20.04-docker-arm64-4c-16g-8403 does not seem to be running inside a container [2022-10-17T20:08:41.960Z] $ 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-17T20:08:43.127Z] $ docker top 84bcb9f1c60e0e9b6ab83cd7807c452520f95d9732062cd79b0c5401c9dda57d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:08:43.691Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-17T20:08:44.078Z] + make test [2022-10-17T20:08:44.078Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T20:08:46.030Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-17T20:10:07.656Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-17T20:10:07.656Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2022-10-17T20:10:07.656Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T20:10:07.656Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T20:10:29.722Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T20:10:29.722Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T20:10:29.722Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T20:10:29.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T20:10:29.790Z] $ docker stop --time=1 84bcb9f1c60e0e9b6ab83cd7807c452520f95d9732062cd79b0c5401c9dda57d [2022-10-17T20:10:31.527Z] $ docker rm -f 84bcb9f1c60e0e9b6ab83cd7807c452520f95d9732062cd79b0c5401c9dda57d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T20:10:32.513Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T20:10:32.626Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T20:10:32.996Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T20:10:33.593Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T20:10:33.928Z] + ls -al . [2022-10-17T20:10:33.928Z] total 176 [2022-10-17T20:10:33.928Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:08 . [2022-10-17T20:10:33.928Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:06 .. [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 20:06 .dockerignore [2022-10-17T20:10:33.928Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:06 .git [2022-10-17T20:10:33.928Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:06 .github [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 20:06 .gitignore [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 20:06 .golangci.yml [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 17 20:06 Attribution.txt [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 17 20:06 CHANGELOG.md [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 17 20:06 Dockerfile [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 20:06 GOVERNANCE.md [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 20:06 Jenkinsfile [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 20:06 LICENSE [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 17 20:06 Makefile [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 20:06 OWNERS.md [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 17 20:06 README.md [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 20:04 VERSION [2022-10-17T20:10:33.928Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:06 bin [2022-10-17T20:10:33.928Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:06 cmd [2022-10-17T20:10:33.928Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 17 20:10 coverage.out [2022-10-17T20:10:33.928Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:06 driver [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 17 20:06 go.mod [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 20:06 go.sum [2022-10-17T20:10:33.928Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:06 snap [2022-10-17T20:10:33.928Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:10:34.347Z] + 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=f9af8ab52f69e169985f54b7ef61b2c71a076a49 --label arch=arm64 --label version=0.0.0 . [2022-10-17T20:10:34.347Z] Sending build context to Docker daemon 137.7kB [2022-10-17T20:10:34.616Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:10:34.616Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-17T20:10:34.616Z] ---> 1f107bd7368f [2022-10-17T20:10:34.616Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-17T20:10:34.616Z] ---> Running in 285b687a9c3f [2022-10-17T20:10:34.885Z] Removing intermediate container 285b687a9c3f [2022-10-17T20:10:34.885Z] ---> ddd5e3267e6f [2022-10-17T20:10:34.885Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T20:10:34.885Z] ---> Running in d029a4919f71 [2022-10-17T20:10:35.156Z] Removing intermediate container d029a4919f71 [2022-10-17T20:10:35.156Z] ---> 03600aa99e11 [2022-10-17T20:10:35.156Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T20:10:35.423Z] ---> Running in 2b363efdd87a [2022-10-17T20:10:35.691Z] Removing intermediate container 2b363efdd87a [2022-10-17T20:10:35.691Z] ---> 7a52af9fd11a [2022-10-17T20:10:35.691Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T20:10:35.691Z] ---> Running in 2f96018adee4 [2022-10-17T20:10:35.961Z] Removing intermediate container 2f96018adee4 [2022-10-17T20:10:35.961Z] ---> 8249f89c5374 [2022-10-17T20:10:35.961Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:10:35.961Z] ---> Running in 48ce9936b737 [2022-10-17T20:10:37.921Z] Removing intermediate container 48ce9936b737 [2022-10-17T20:10:37.921Z] ---> 09d27fb71d2d [2022-10-17T20:10:37.921Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T20:10:37.921Z] ---> Running in c577ad3ddc56 [2022-10-17T20:10:38.503Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T20:10:39.457Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T20:10:40.417Z] OK: 226 MiB in 55 packages [2022-10-17T20:10:41.002Z] Removing intermediate container c577ad3ddc56 [2022-10-17T20:10:41.002Z] ---> 7437631eb419 [2022-10-17T20:10:41.002Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-17T20:10:41.002Z] ---> Running in d1228c4cb27a [2022-10-17T20:10:41.271Z] Removing intermediate container d1228c4cb27a [2022-10-17T20:10:41.271Z] ---> 16c85223a3f4 [2022-10-17T20:10:41.271Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-17T20:10:41.858Z] ---> 6a9f217a3c51 [2022-10-17T20:10:41.858Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:10:41.858Z] ---> Running in fbfc02194423 [2022-10-17T20:10:43.806Z] Removing intermediate container fbfc02194423 [2022-10-17T20:10:43.806Z] ---> 67444feea98c [2022-10-17T20:10:43.806Z] Step 12/26 : COPY . . [2022-10-17T20:10:44.075Z] ---> 92b133f39ba4 [2022-10-17T20:10:44.075Z] Step 13/26 : RUN $MAKE [2022-10-17T20:10:44.346Z] ---> Running in 5a53a6eef59f [2022-10-17T20:10:45.320Z] 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-17T20:13:22.078Z] Removing intermediate container 5a53a6eef59f [2022-10-17T20:13:22.078Z] ---> 994cb5b56269 [2022-10-17T20:13:22.078Z] Step 14/26 : FROM alpine:3.16 [2022-10-17T20:13:22.078Z] 3.16: Pulling from library/alpine [2022-10-17T20:13:22.078Z] 9b18e9b68314: Already exists [2022-10-17T20:13:22.078Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T20:13:22.078Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T20:13:22.078Z] ---> a6215f271958 [2022-10-17T20:13:22.078Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-17T20:13:22.078Z] ---> Running in 7ab2e5765787 [2022-10-17T20:13:22.078Z] Removing intermediate container 7ab2e5765787 [2022-10-17T20:13:22.078Z] ---> 740e1378b916 [2022-10-17T20:13:22.078Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-17T20:13:22.078Z] ---> Running in 54ce0e16488e [2022-10-17T20:13:22.078Z] Removing intermediate container 54ce0e16488e [2022-10-17T20:13:22.078Z] ---> 28d0d45898c8 [2022-10-17T20:13:22.078Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T20:13:22.078Z] ---> Running in c6580bde1a7e [2022-10-17T20:13:22.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T20:13:22.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T20:13:22.078Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T20:13:22.078Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T20:13:22.078Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T20:13:22.078Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T20:13:22.078Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T20:13:22.078Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T20:13:22.078Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T20:13:22.078Z] OK: 8 MiB in 20 packages [2022-10-17T20:13:22.078Z] Removing intermediate container c6580bde1a7e [2022-10-17T20:13:22.079Z] ---> 2f756550eb71 [2022-10-17T20:13:22.079Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-17T20:13:22.079Z] ---> fcbac631dc8e [2022-10-17T20:13:22.079Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-17T20:13:22.079Z] ---> 892c5f246e3b [2022-10-17T20:13:22.079Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-17T20:13:22.079Z] ---> 6465df7dd9da [2022-10-17T20:13:22.079Z] Step 21/26 : EXPOSE 59986 [2022-10-17T20:13:22.079Z] ---> Running in 356aaeeacd9a [2022-10-17T20:13:22.079Z] Removing intermediate container 356aaeeacd9a [2022-10-17T20:13:22.079Z] ---> f759f01ab759 [2022-10-17T20:13:22.079Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-17T20:13:22.079Z] ---> Running in 9d5ae8dabf04 [2022-10-17T20:13:22.079Z] Removing intermediate container 9d5ae8dabf04 [2022-10-17T20:13:22.079Z] ---> 78c55dad76e0 [2022-10-17T20:13:22.079Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-17T20:13:22.079Z] ---> Running in 776fb2adea2d [2022-10-17T20:13:22.079Z] Removing intermediate container 776fb2adea2d [2022-10-17T20:13:22.079Z] ---> 3ab35cef638a [2022-10-17T20:13:22.079Z] Step 24/26 : LABEL arch=arm64 [2022-10-17T20:13:22.079Z] ---> Running in 8df67e2c6593 [2022-10-17T20:13:22.079Z] Removing intermediate container 8df67e2c6593 [2022-10-17T20:13:22.079Z] ---> 674129747775 [2022-10-17T20:13:22.079Z] Step 25/26 : LABEL git_sha=f9af8ab52f69e169985f54b7ef61b2c71a076a49 [2022-10-17T20:13:22.079Z] ---> Running in 0ec3f35db6e8 [2022-10-17T20:13:22.349Z] Removing intermediate container 0ec3f35db6e8 [2022-10-17T20:13:22.349Z] ---> f48c7eac7362 [2022-10-17T20:13:22.349Z] Step 26/26 : LABEL version=0.0.0 [2022-10-17T20:13:22.349Z] ---> Running in b946a82bdedb [2022-10-17T20:13:22.616Z] Removing intermediate container b946a82bdedb [2022-10-17T20:13:22.616Z] ---> c3e27b9f0fef [2022-10-17T20:13:22.616Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T20:13:22.616Z] Successfully built c3e27b9f0fef [2022-10-17T20:13:22.883Z] 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-17T20:13:23.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T20:13:23.702Z] [2022-10-17T20:13:23.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:13:24.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T20:13:24.108Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T20:13:24.108Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T20:13:24.108Z] 04944245beec: Pulling fs layer [2022-10-17T20:13:24.108Z] 699f458cf7ca: Pulling fs layer [2022-10-17T20:13:24.108Z] 765212b225bb: Pulling fs layer [2022-10-17T20:13:24.108Z] f23df028b6ca: Pulling fs layer [2022-10-17T20:13:24.108Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T20:13:24.108Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T20:13:24.108Z] 765212b225bb: Waiting [2022-10-17T20:13:24.108Z] f23df028b6ca: Waiting [2022-10-17T20:13:24.108Z] 2437ff75d9bd: Waiting [2022-10-17T20:13:24.108Z] d65c8cfc05b1: Waiting [2022-10-17T20:13:24.376Z] 04944245beec: Verifying Checksum [2022-10-17T20:13:24.376Z] 04944245beec: Download complete [2022-10-17T20:13:24.376Z] 765212b225bb: Download complete [2022-10-17T20:13:24.376Z] f23df028b6ca: Verifying Checksum [2022-10-17T20:13:24.376Z] f23df028b6ca: Download complete [2022-10-17T20:13:24.376Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T20:13:24.376Z] d65c8cfc05b1: Download complete [2022-10-17T20:13:24.376Z] 699f458cf7ca: Verifying Checksum [2022-10-17T20:13:24.376Z] 699f458cf7ca: Download complete [2022-10-17T20:13:24.963Z] 8998bd30e6a1: Verifying Checksum [2022-10-17T20:13:24.963Z] 8998bd30e6a1: Download complete [2022-10-17T20:13:27.540Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T20:13:27.540Z] 2437ff75d9bd: Download complete [2022-10-17T20:13:28.947Z] 8998bd30e6a1: Pull complete [2022-10-17T20:13:29.211Z] 04944245beec: Pull complete [2022-10-17T20:13:32.554Z] 699f458cf7ca: Pull complete [2022-10-17T20:13:32.554Z] 765212b225bb: Pull complete [2022-10-17T20:13:32.821Z] f23df028b6ca: Pull complete [2022-10-17T20:13:33.086Z] d65c8cfc05b1: Pull complete [2022-10-17T20:13:48.083Z] 2437ff75d9bd: Pull complete [2022-10-17T20:13:48.083Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T20:13:48.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T20:13:48.083Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:13:48.384Z] prd-ubuntu20.04-docker-arm64-4c-16g-8403 does not seem to be running inside a container [2022-10-17T20:13:48.442Z] $ 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-17T20:13:50.922Z] $ docker top b21410c596ef86fa517c132d917eb766e3025c12c5e1b3e482f0a40f7dd419f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:13:51.825Z] ---> job-cost.sh [2022-10-17T20:13:51.825Z] lf-activate-venv: SKIPPING [2022-10-17T20:13:51.825Z] INFO: No Stack... [2022-10-17T20:13:52.143Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T20:13:53.110Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T20:13:53.455Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-10-17T20:13:53.456Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T20:13:53.813Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] [2022-10-17T20:13:53.818Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] did not exist. Created. [2022-10-17T20:13:53.818Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T20:13:54.247Z] /w/workspace/device-rest-go/1@tmp/durable-2f1d8865/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T20:13:54.919Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T20:13:54.954Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T20:13:54.995Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T20:13:55.010Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-220-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T20:13:55.079Z] $ docker stop --time=1 b21410c596ef86fa517c132d917eb766e3025c12c5e1b3e482f0a40f7dd419f7 [2022-10-17T20:13:56.583Z] $ docker rm -f b21410c596ef86fa517c132d917eb766e3025c12c5e1b3e482f0a40f7dd419f7 [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-17T20:13:57.569Z] provisioning config files... [2022-10-17T20:13:57.578Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/config15047391112668967844tmp [Pipeline] { [Pipeline] sh [2022-10-17T20:13:57.909Z] + set +x [2022-10-17T20:13:57.909Z] + curl -s https://codecov.io/bash [2022-10-17T20:13:57.909Z] + bash -s -- [2022-10-17T20:13:57.909Z] [2022-10-17T20:13:57.909Z] _____ _ [2022-10-17T20:13:57.909Z] / ____| | | [2022-10-17T20:13:57.909Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T20:13:57.909Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T20:13:57.909Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T20:13:57.909Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T20:13:57.909Z] Bash-1.0.6 [2022-10-17T20:13:57.909Z] [2022-10-17T20:13:57.909Z] [2022-10-17T20:13:57.909Z] ==> git version 2.25.1 found [2022-10-17T20:13:57.909Z] ==> 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-17T20:13:57.909Z] Release-Date: 2020-01-08 [2022-10-17T20:13:57.909Z] 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-17T20:13:57.909Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T20:13:57.909Z] ==> Jenkins CI detected. [2022-10-17T20:13:57.909Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-220 [2022-10-17T20:13:57.909Z] project root: . [2022-10-17T20:13:57.909Z] --> token set from env [2022-10-17T20:13:57.909Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T20:13:57.909Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T20:13:57.909Z] ==> Python coveragepy not found [2022-10-17T20:13:57.909Z] ==> Searching for coverage reports in: [2022-10-17T20:13:57.909Z] + . [2022-10-17T20:13:57.909Z] -> Found 1 reports [2022-10-17T20:13:57.909Z] ==> Detecting git/mercurial file structure [2022-10-17T20:13:57.909Z] ==> Reading reports [2022-10-17T20:13:57.909Z] + ./coverage.out bytes=9355 [2022-10-17T20:13:57.909Z] ==> Appending adjustments [2022-10-17T20:13:57.909Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T20:13:58.169Z] + Found adjustments [2022-10-17T20:13:58.169Z] ==> Gzipping contents [2022-10-17T20:13:58.169Z] 4.0K /tmp/codecov.aZvMn0.gz [2022-10-17T20:13:58.169Z] ==> Uploading reports [2022-10-17T20:13:58.169Z] url: https://codecov.io [2022-10-17T20:13:58.169Z] query: branch=PR-220&commit=f9af8ab52f69e169985f54b7ef61b2c71a076a49&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-220%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=220&job=&cmd_args= [2022-10-17T20:13:58.169Z] -> Pinging Codecov [2022-10-17T20:13:58.169Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-220&commit=f9af8ab52f69e169985f54b7ef61b2c71a076a49&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-220%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=220&job=&cmd_args= [2022-10-17T20:13:58.427Z] -> Uploading to [2022-10-17T20:13:58.427Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/4E5D53B4F1F92C436F7061BF334D961C/f9af8ab52f69e169985f54b7ef61b2c71a076a49/dd0b94a1-cdae-444a-942b-9669ddb4df97.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T201358Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7be1adf886b88372d459fe2c168db8a4025dff66fea5f52f3b04198cee7be6f5 [2022-10-17T20:13:58.427Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T20:13:58.427Z] Dload Upload Total Spent Left Speed [2022-10-17T20:13:58.685Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 6185 --:--:-- --:--:-- --:--:-- 6185 100 1738 0 0 100 1738 0 6185 --:--:-- --:--:-- --:--:-- 6163 [2022-10-17T20:13:58.685Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f9af8ab52f69e169985f54b7ef61b2c71a076a49 [Pipeline] } [2022-10-17T20:13:58.715Z] 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-17T20:14:00.470Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-220/archives ] [2022-10-17T20:14:00.470Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-220/archives [2022-10-17T20:14:00.470Z] total 16 [2022-10-17T20:14:00.470Z] drwxr-xr-x 3 root root 4096 Oct 17 20:06 . [2022-10-17T20:14:00.470Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 20:06 .. [2022-10-17T20:14:00.470Z] drwxr-xr-x 2 root root 4096 Oct 17 20:06 cost [2022-10-17T20:14:00.470Z] -rw-r--r-- 1 root root 86 Oct 17 20:06 cost.csv [2022-10-17T20:14:00.470Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-220/archives [2022-10-17T20:14:00.470Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-220/archives [2022-10-17T20:14:00.470Z] total 16 [2022-10-17T20:14:00.470Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:06 . [2022-10-17T20:14:00.470Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 20:06 .. [2022-10-17T20:14:00.470Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 20:06 cost [2022-10-17T20:14:00.470Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 17 20:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:14:00.795Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:14:01.684Z] ---> package-listing.sh [2022-10-17T20:14:01.684Z] ++ facter osfamily [2022-10-17T20:14:01.684Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T20:14:01.943Z] + OS_FAMILY=debian [2022-10-17T20:14:01.943Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-220 [2022-10-17T20:14:01.943Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T20:14:01.943Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T20:14:01.943Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T20:14:01.943Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T20:14:01.943Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-220 ']' [2022-10-17T20:14:01.943Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T20:14:01.943Z] + case "${OS_FAMILY}" in [2022-10-17T20:14:01.943Z] + dpkg -l [2022-10-17T20:14:01.943Z] + grep '^ii' [2022-10-17T20:14:01.943Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T20:14:01.943Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T20:14:01.943Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T20:14:01.943Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-220 ']' [2022-10-17T20:14:01.943Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-220/archives/ [2022-10-17T20:14:01.943Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-220/archives/ [Pipeline] echo [2022-10-17T20:14:01.979Z] 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-220/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-17T20:14:02.268Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:14:02.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:14:02.896Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:14:03.035Z] prd-ubuntu20.04-docker-8c-8g-8402 does not seem to be running inside a container [2022-10-17T20:14:03.075Z] $ 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-220/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-220 -v /w/workspace/gexfoundry_device-rest-go_PR-220:/w/workspace/gexfoundry_device-rest-go_PR-220:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-220@tmp:/w/workspace/gexfoundry_device-rest-go_PR-220@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-17T20:14:03.253Z] $ docker top 8f0035ba33e0e159b53f73f0526c75efd106a0b1f53d022881a20a52692d29fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:14:03.626Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T20:14:03.932Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T20:14:04.240Z] + ls /var/log/sa-host [2022-10-17T20:14:04.241Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:14:04.372Z] provisioning config files... [2022-10-17T20:14:04.384Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-220@tmp/config1165387904307788230tmp [Pipeline] { [Pipeline] echo [2022-10-17T20:14:04.428Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:14:04.738Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T20:14:04.766Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:14:05.171Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T20:14:05.199Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:14:05.506Z] ---> sudo-logs.sh [2022-10-17T20:14:05.506Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T20:14:05.595Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:14:05.900Z] ---> job-cost.sh [2022-10-17T20:14:05.900Z] lf-activate-venv: SKIPPING [2022-10-17T20:14:05.900Z] DEBUG: total: 0.2199999988079071 [2022-10-17T20:14:05.900Z] INFO: Retrieving Stack Cost... [2022-10-17T20:14:06.159Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T20:14:06.727Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T20:14:06.763Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:14:07.069Z] ---> logs-deploy.sh [2022-10-17T20:14:07.069Z] lf-activate-venv: SKIPPING [2022-10-17T20:14:07.069Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-220/1 [2022-10-17T20:14:07.069Z] INFO: archiving workspace using pattern(s): [2022-10-17T20:14:08.006Z] Archives upload complete. [2022-10-17T20:14:08.006Z] INFO: archiving logs to Nexus