Pull request #247 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 8cf83884e1761083e6173cd7f6dabb6a82ce72e7+83d0d95cb873d118c9d8fcbcde0c6c79336165c6 (049c1ebe44551eabce6514be37c770b2de41643c) 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-ssh12983982698977649861.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13784398025374992968.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-247/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-247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7338068663728755314.key > 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-247/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17574187243860063606.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh15226153876962601625.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh 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-247/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-247/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1073899042231792318.key > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4992 in /w/workspace/gexfoundry_device-rest-go_PR-247 [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-247 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 into PR head commit 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 Merge succeeded, producing 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 Checking out Revision 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 (PR-247) > git config core.sparsecheckout # timeout=10 > git checkout -f 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 # timeout=10 Commit message: "feat!: Use latest SDK for MessageBus Request API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-07T22:17:38.678Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-07T22:17:38.858Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-07T22:17:38.956Z] ========================================================= [2023-02-07T22:17:38.956Z] EdgeX Global Pipelines Version Info [2023-02-07T22:17:38.956Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:17:39.856Z] ------------------- [2023-02-07T22:17:39.856Z] stable info: [2023-02-07T22:17:39.856Z] ------------------- [2023-02-07T22:17:39.856Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-07T22:17:39.856Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:17:39.856Z] Message: update stable to v1.0.244 [2023-02-07T22:17:40.425Z] ------------------- [2023-02-07T22:17:40.425Z] experimental info: [2023-02-07T22:17:40.425Z] ------------------- [2023-02-07T22:17:40.425Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-07T22:17:40.425Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:17:40.425Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-07T22:17:40.692Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-07T22:17:40.731Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-07T22:17:40.769Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-07T22:17:40.812Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-07T22:17:40.848Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-07T22:17:40.887Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-07T22:17:40.943Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-07T22:17:40.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-07T22:17:41.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-07T22:17:41.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-07T22:17:41.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-07T22:17:41.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-07T22:17:41.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-07T22:17:41.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-07T22:17:41.273Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:17:41.308Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:17:41.347Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:17:41.382Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:17:41.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-07T22:17:41.467Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-07T22:17:41.502Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-07T22:17:41.539Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-07T22:17:41.578Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-07T22:17:41.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-07T22:17:41.651Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-07T22:17:41.687Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-07T22:17:41.736Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-07T22:17:41.773Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-247 [Pipeline] echo [2023-02-07T22:17:41.810Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-247 [Pipeline] echo [2023-02-07T22:17:41.851Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-247 [Pipeline] echo [2023-02-07T22:17:41.888Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 [Pipeline] echo [2023-02-07T22:17:41.927Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8cf8388 [Pipeline] echo [2023-02-07T22:17:41.964Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:17:42.089Z] provisioning config files... [2023-02-07T22:17:42.107Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-247@tmp/config12175939176930166158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:17:42.461Z] ---> docker-login.sh [2023-02-07T22:17:42.461Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:17:42.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:42.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:42.722Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:42.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:42.722Z] [2023-02-07T22:17:42.722Z] Login Succeeded [2023-02-07T22:17:42.722Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:17:42.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:42.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:42.983Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:42.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:42.983Z] [2023-02-07T22:17:42.983Z] Login Succeeded [2023-02-07T22:17:42.983Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:17:42.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:42.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:42.983Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:42.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:42.983Z] [2023-02-07T22:17:42.983Z] Login Succeeded [2023-02-07T22:17:42.983Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:17:42.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:43.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:43.243Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:43.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:43.243Z] [2023-02-07T22:17:43.243Z] Login Succeeded [2023-02-07T22:17:43.243Z] docker.io [2023-02-07T22:17:43.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:17:43.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:17:43.504Z] Configure a credential helper to remove this warning. See [2023-02-07T22:17:43.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:17:43.504Z] [2023-02-07T22:17:43.504Z] Login Succeeded [2023-02-07T22:17:43.504Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:17:43.532Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-07T22:17:44.174Z] + git rev-list -1 --merges 8cf83884e1761083e6173cd7f6dabb6a82ce72e7~1..8cf83884e1761083e6173cd7f6dabb6a82ce72e7 [Pipeline] echo [2023-02-07T22:17:44.245Z] -----------> git rev-list -1 --merges 8cf83884e1761083e6173cd7f6dabb6a82ce72e7~1..8cf83884e1761083e6173cd7f6dabb6a82ce72e7 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 [false] [Pipeline] sh [2023-02-07T22:17:44.556Z] + git log --format=format:%s -1 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 [Pipeline] echo [2023-02-07T22:17:44.601Z] ========================================================= [2023-02-07T22:17:44.601Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T22:17:44.601Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:17:45.016Z] + git log --format=format:%s -1 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 [Pipeline] echo [2023-02-07T22:17:45.047Z] [semverPrep] GIT_COMMIT: 8cf83884e1761083e6173cd7f6dabb6a82ce72e7, Commit Message: feat!: Use latest SDK for MessageBus Request API [Pipeline] echo [2023-02-07T22:17:45.076Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-07T22:17:45.456Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:17:45.456Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-07T22:17:45.456Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-07T22:17:45.456Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-07T22:17:45.456Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-07T22:17:45.456Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-07T22:17:45.456Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:17:45.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:17:45.908Z] [2023-02-07T22:17:45.908Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:17:46.292Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:17:46.292Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-07T22:17:46.292Z] b85a868b505f: Pulling fs layer [2023-02-07T22:17:46.292Z] e2be974225ed: Pulling fs layer [2023-02-07T22:17:46.292Z] 339a4e72a1f5: Pulling fs layer [2023-02-07T22:17:46.292Z] 988bab9f4d93: Pulling fs layer [2023-02-07T22:17:46.292Z] 1469e6f7b9e6: Pulling fs layer [2023-02-07T22:17:46.292Z] eaf3925da568: Pulling fs layer [2023-02-07T22:17:46.292Z] bab4dde63d76: Pulling fs layer [2023-02-07T22:17:46.292Z] bde34c3a00c8: Pulling fs layer [2023-02-07T22:17:46.561Z] b352a97aabf1: Pulling fs layer [2023-02-07T22:17:46.561Z] 4872d77fe225: Pulling fs layer [2023-02-07T22:17:46.561Z] 5851b861e8e6: Pulling fs layer [2023-02-07T22:17:46.561Z] 1469e6f7b9e6: Waiting [2023-02-07T22:17:46.561Z] b352a97aabf1: Waiting [2023-02-07T22:17:46.561Z] 4872d77fe225: Waiting [2023-02-07T22:17:46.561Z] 5851b861e8e6: Waiting [2023-02-07T22:17:46.561Z] bab4dde63d76: Waiting [2023-02-07T22:17:46.561Z] 988bab9f4d93: Waiting [2023-02-07T22:17:46.561Z] bde34c3a00c8: Waiting [2023-02-07T22:17:46.561Z] eaf3925da568: Waiting [2023-02-07T22:17:46.561Z] e2be974225ed: Verifying Checksum [2023-02-07T22:17:46.561Z] e2be974225ed: Download complete [2023-02-07T22:17:46.561Z] 988bab9f4d93: Download complete [2023-02-07T22:17:46.825Z] 1469e6f7b9e6: Verifying Checksum [2023-02-07T22:17:46.825Z] 1469e6f7b9e6: Download complete [2023-02-07T22:17:46.825Z] eaf3925da568: Verifying Checksum [2023-02-07T22:17:46.825Z] eaf3925da568: Download complete [2023-02-07T22:17:46.825Z] 339a4e72a1f5: Verifying Checksum [2023-02-07T22:17:46.825Z] 339a4e72a1f5: Download complete [2023-02-07T22:17:46.825Z] bde34c3a00c8: Download complete [2023-02-07T22:17:46.825Z] b85a868b505f: Verifying Checksum [2023-02-07T22:17:46.825Z] b85a868b505f: Download complete [2023-02-07T22:17:46.825Z] b352a97aabf1: Verifying Checksum [2023-02-07T22:17:46.825Z] b352a97aabf1: Download complete [2023-02-07T22:17:46.825Z] 4872d77fe225: Verifying Checksum [2023-02-07T22:17:46.825Z] 4872d77fe225: Download complete [2023-02-07T22:17:46.825Z] 5851b861e8e6: Download complete [2023-02-07T22:17:47.394Z] bab4dde63d76: Verifying Checksum [2023-02-07T22:17:47.394Z] bab4dde63d76: Download complete [2023-02-07T22:17:48.334Z] b85a868b505f: Pull complete [2023-02-07T22:17:48.334Z] e2be974225ed: Pull complete [2023-02-07T22:17:48.905Z] 339a4e72a1f5: Pull complete [2023-02-07T22:17:48.905Z] 988bab9f4d93: Pull complete [2023-02-07T22:17:49.476Z] 1469e6f7b9e6: Pull complete [2023-02-07T22:17:49.476Z] eaf3925da568: Pull complete [2023-02-07T22:17:51.399Z] bab4dde63d76: Pull complete [2023-02-07T22:17:51.399Z] bde34c3a00c8: Pull complete [2023-02-07T22:17:51.399Z] b352a97aabf1: Pull complete [2023-02-07T22:17:51.668Z] 4872d77fe225: Pull complete [2023-02-07T22:17:51.668Z] 5851b861e8e6: Pull complete [2023-02-07T22:17:51.668Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-07T22:17:51.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:17:51.668Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:17:51.909Z] prd-ubuntu20.04-docker-8c-8g-4992 does not seem to be running inside a container [2023-02-07T22:17:51.931Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-247 -v /w/workspace/gexfoundry_device-rest-go_PR-247:/w/workspace/gexfoundry_device-rest-go_PR-247:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-247@tmp:/w/workspace/gexfoundry_device-rest-go_PR-247@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-devops/py-git-semver:0.1.4 cat [2023-02-07T22:17:53.689Z] $ docker top 9f863603140cbb53bb7f2a29ab37ef5a2215038d81cc010d9e09b6eefe9e2c69 -eo pid,comm [2023-02-07T22:17:53.763Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-07T22:17:53.763Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:17:53.921Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:17:53.921Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:17:54.062Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:17:54.054Z] $ docker exec 9f863603140cbb53bb7f2a29ab37ef5a2215038d81cc010d9e09b6eefe9e2c69 ssh-agent [2023-02-07T22:17:54.182Z] SSH_AUTH_SOCK=/tmp/ssh-3vYlYkooGDJA/agent.32 [2023-02-07T22:17:54.182Z] SSH_AGENT_PID=39 [2023-02-07T22:17:54.189Z] Running ssh-add (command line suppressed) [2023-02-07T22:17:54.298Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-247@tmp/private_key_6474592562805463177.key (/w/workspace/gexfoundry_device-rest-go_PR-247@tmp/private_key_6474592562805463177.key) [2023-02-07T22:17:54.324Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:17:54.658Z] + git tag --points-at HEAD [Pipeline] } [2023-02-07T22:17:54.671Z] $ docker exec --env ******** --env ******** 9f863603140cbb53bb7f2a29ab37ef5a2215038d81cc010d9e09b6eefe9e2c69 ssh-agent -k [2023-02-07T22:17:54.777Z] unset SSH_AUTH_SOCK; [2023-02-07T22:17:54.777Z] unset SSH_AGENT_PID; [2023-02-07T22:17:54.777Z] echo Agent pid 39 killed; [2023-02-07T22:17:54.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-07T22:17:54.887Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:17:54.887Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:17:55.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:17:54.998Z] $ docker exec 9f863603140cbb53bb7f2a29ab37ef5a2215038d81cc010d9e09b6eefe9e2c69 ssh-agent [2023-02-07T22:17:55.122Z] SSH_AUTH_SOCK=/tmp/ssh-ndOkHspRuO9p/agent.71 [2023-02-07T22:17:55.122Z] SSH_AGENT_PID=77 [2023-02-07T22:17:55.127Z] Running ssh-add (command line suppressed) [2023-02-07T22:17:55.226Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-247@tmp/private_key_18267357912993051186.key (/w/workspace/gexfoundry_device-rest-go_PR-247@tmp/private_key_18267357912993051186.key) [2023-02-07T22:17:55.254Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:17:55.584Z] + git semver init [2023-02-07T22:17:55.845Z] 2023-02-07 22:17:55,780 [run_init] DEBUG init version:0.0.0 force:False [2023-02-07T22:17:55.845Z] 2023-02-07 22:17:55,781 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-247/.semver [2023-02-07T22:17:55.845Z] 2023-02-07 22:17:55,781 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-247/.semver [2023-02-07T22:17:55.845Z] 2023-02-07 22:17:55,781 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-247/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-247, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:17:57.226Z] 2023-02-07 22:17:56,898 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-247/.git/info/exclude [2023-02-07T22:17:57.226Z] 2023-02-07 22:17:56,898 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-247/.semver/PR-247 with force:False [2023-02-07T22:17:57.226Z] 2023-02-07 22:17:56,898 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-247/.semver/PR-247 [2023-02-07T22:17:57.226Z] 2023-02-07 22:17:56,903 [execute] INFO git cat-file --batch-check [2023-02-07T22:17:57.226Z] 2023-02-07 22:17:56,904 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-247/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:17:57.226Z] 2023-02-07 22:17:56,910 [execute] INFO git cat-file --batch [2023-02-07T22:17:57.226Z] 2023-02-07 22:17:56,910 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-247/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:17:57.226Z] 2023-02-07 22:17:56,916 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-247/.semver/PR-247 [2023-02-07T22:17:57.226Z] 0.0.0 [Pipeline] } [2023-02-07T22:17:57.244Z] $ docker exec --env ******** --env ******** 9f863603140cbb53bb7f2a29ab37ef5a2215038d81cc010d9e09b6eefe9e2c69 ssh-agent -k [2023-02-07T22:17:57.343Z] unset SSH_AUTH_SOCK; [2023-02-07T22:17:57.343Z] unset SSH_AGENT_PID; [2023-02-07T22:17:57.343Z] echo Agent pid 77 killed; [2023-02-07T22:17:57.361Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:17:57.786Z] + git semver [Pipeline] } [2023-02-07T22:17:58.062Z] $ docker stop --time=1 9f863603140cbb53bb7f2a29ab37ef5a2215038d81cc010d9e09b6eefe9e2c69 [2023-02-07T22:17:59.404Z] $ docker rm -f --volumes 9f863603140cbb53bb7f2a29ab37ef5a2215038d81cc010d9e09b6eefe9e2c69 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:17:59.815Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-07T22:18:00.108Z] Stashed 1 file(s) [Pipeline] echo [2023-02-07T22:18:00.126Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:18:00.745Z] provisioning config files... [2023-02-07T22:18:00.755Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-247@tmp/config10218389598110528455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:18:01.100Z] ---> docker-login.sh [2023-02-07T22:18:01.100Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:18:01.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:18:01.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:18:01.101Z] Configure a credential helper to remove this warning. See [2023-02-07T22:18:01.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:18:01.101Z] [2023-02-07T22:18:01.101Z] Login Succeeded [2023-02-07T22:18:01.101Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:18:01.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:18:01.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:18:01.360Z] Configure a credential helper to remove this warning. See [2023-02-07T22:18:01.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:18:01.360Z] [2023-02-07T22:18:01.360Z] Login Succeeded [2023-02-07T22:18:01.360Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:18:01.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:18:01.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:18:01.360Z] Configure a credential helper to remove this warning. See [2023-02-07T22:18:01.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:18:01.360Z] [2023-02-07T22:18:01.360Z] Login Succeeded [2023-02-07T22:18:01.360Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:18:01.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:18:01.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:18:01.360Z] Configure a credential helper to remove this warning. See [2023-02-07T22:18:01.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:18:01.360Z] [2023-02-07T22:18:01.360Z] Login Succeeded [2023-02-07T22:18:01.620Z] docker.io [2023-02-07T22:18:01.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:18:01.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:18:01.880Z] Configure a credential helper to remove this warning. See [2023-02-07T22:18:01.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:18:01.880Z] [2023-02-07T22:18:01.880Z] Login Succeeded [2023-02-07T22:18:01.880Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:18:01.908Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:18:02.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:18:02.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:18:02.149Z] ========================================================= [2023-02-07T22:18:02.149Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-07T22:18:02.149Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:18:02.678Z] + 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 . [2023-02-07T22:18:02.679Z] Sending build context to Docker daemon 10.83MB [2023-02-07T22:18:02.679Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:18:02.679Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-07T22:18:02.679Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-07T22:18:02.679Z] 213ec9aee27d: Pulling fs layer [2023-02-07T22:18:02.679Z] 4583459ba037: Pulling fs layer [2023-02-07T22:18:02.679Z] 93c1e223e6f2: Pulling fs layer [2023-02-07T22:18:02.679Z] 53926ce57604: Pulling fs layer [2023-02-07T22:18:02.679Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-07T22:18:02.679Z] 22ff95d597cd: Pulling fs layer [2023-02-07T22:18:02.679Z] 12d6caf4c0d1: Pulling fs layer [2023-02-07T22:18:02.679Z] 96b7cbca73a9: Pulling fs layer [2023-02-07T22:18:02.679Z] a7acece74701: Pulling fs layer [2023-02-07T22:18:02.679Z] 53926ce57604: Waiting [2023-02-07T22:18:02.679Z] 22ff95d597cd: Waiting [2023-02-07T22:18:02.679Z] 96b7cbca73a9: Waiting [2023-02-07T22:18:02.679Z] 12d6caf4c0d1: Waiting [2023-02-07T22:18:02.679Z] a7acece74701: Waiting [2023-02-07T22:18:02.679Z] 93c1e223e6f2: Verifying Checksum [2023-02-07T22:18:02.679Z] 93c1e223e6f2: Download complete [2023-02-07T22:18:02.679Z] 4583459ba037: Verifying Checksum [2023-02-07T22:18:02.679Z] 4583459ba037: Download complete [2023-02-07T22:18:02.941Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-07T22:18:02.941Z] 21b2b0c7a3f4: Download complete [2023-02-07T22:18:02.941Z] 22ff95d597cd: Verifying Checksum [2023-02-07T22:18:02.941Z] 22ff95d597cd: Download complete [2023-02-07T22:18:02.941Z] 213ec9aee27d: Verifying Checksum [2023-02-07T22:18:02.941Z] 213ec9aee27d: Download complete [2023-02-07T22:18:02.941Z] 12d6caf4c0d1: Verifying Checksum [2023-02-07T22:18:02.941Z] 12d6caf4c0d1: Download complete [2023-02-07T22:18:03.206Z] 213ec9aee27d: Pull complete [2023-02-07T22:18:03.206Z] 4583459ba037: Pull complete [2023-02-07T22:18:03.206Z] 93c1e223e6f2: Pull complete [2023-02-07T22:18:04.226Z] a7acece74701: Download complete [2023-02-07T22:18:04.226Z] 53926ce57604: Verifying Checksum [2023-02-07T22:18:04.226Z] 53926ce57604: Download complete [2023-02-07T22:18:04.487Z] 96b7cbca73a9: Verifying Checksum [2023-02-07T22:18:04.487Z] 96b7cbca73a9: Download complete [2023-02-07T22:18:08.681Z] 53926ce57604: Pull complete [2023-02-07T22:18:08.681Z] 21b2b0c7a3f4: Pull complete [2023-02-07T22:18:08.681Z] 22ff95d597cd: Pull complete [2023-02-07T22:18:08.681Z] 12d6caf4c0d1: Pull complete [2023-02-07T22:18:10.600Z] 96b7cbca73a9: Pull complete [2023-02-07T22:18:11.536Z] a7acece74701: Pull complete [2023-02-07T22:18:11.536Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-07T22:18:11.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-07T22:18:11.536Z] ---> db6d94c90886 [2023-02-07T22:18:11.536Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:18:14.824Z] ---> Running in 7452ebc0b11c [2023-02-07T22:18:14.824Z] Removing intermediate container 7452ebc0b11c [2023-02-07T22:18:14.824Z] ---> dc3e7b8023a9 [2023-02-07T22:18:14.824Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:18:14.824Z] ---> Running in be1ae9eba147 [2023-02-07T22:18:14.824Z] Removing intermediate container be1ae9eba147 [2023-02-07T22:18:14.824Z] ---> 0b1324596ee8 [2023-02-07T22:18:14.824Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:18:15.091Z] ---> Running in ebdd9f203c1d [2023-02-07T22:18:15.091Z] Removing intermediate container ebdd9f203c1d [2023-02-07T22:18:15.091Z] ---> 35c32ab166f2 [2023-02-07T22:18:15.091Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:18:15.091Z] ---> Running in aad913b2d600 [2023-02-07T22:18:15.350Z] Removing intermediate container aad913b2d600 [2023-02-07T22:18:15.350Z] ---> ae49c4620edd [2023-02-07T22:18:15.350Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:18:15.350Z] ---> Running in 6308d5f173db [2023-02-07T22:18:15.552Z] Still waiting to schedule task [2023-02-07T22:18:15.552Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-07T22:18:15.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:18:15.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:18:16.126Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T22:18:16.126Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-07T22:18:16.126Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T22:18:16.126Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T22:18:16.126Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:18:16.126Z] OK: 216 MiB in 55 packages [2023-02-07T22:18:16.693Z] Removing intermediate container 6308d5f173db [2023-02-07T22:18:16.694Z] ---> 0df6b53cfe35 [2023-02-07T22:18:16.694Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-07T22:18:16.694Z] ---> Running in 3aa1ab164ad9 [2023-02-07T22:18:16.694Z] Removing intermediate container 3aa1ab164ad9 [2023-02-07T22:18:16.694Z] ---> d1f48f9f14e7 [2023-02-07T22:18:16.694Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-07T22:18:16.952Z] ---> 4659d5a1c456 [2023-02-07T22:18:16.952Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:18:16.952Z] ---> Running in a7a3569856c2 [2023-02-07T22:18:55.781Z] Removing intermediate container a7a3569856c2 [2023-02-07T22:18:55.781Z] ---> 53d9d711fb28 [2023-02-07T22:18:55.782Z] Step 11/12 : COPY . . [2023-02-07T22:18:55.782Z] ---> bbd49145b31f [2023-02-07T22:18:55.782Z] Step 12/12 : RUN $MAKE [2023-02-07T22:18:55.782Z] ---> Running in a1b99e2deaf0 [2023-02-07T22:18:55.782Z] noop [2023-02-07T22:18:55.782Z] Removing intermediate container a1b99e2deaf0 [2023-02-07T22:18:55.782Z] ---> 78deaaed48be [2023-02-07T22:18:55.782Z] Successfully built 78deaaed48be [2023-02-07T22:18:55.782Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:18:56.244Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:18:56.244Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:18:56.390Z] prd-ubuntu20.04-docker-8c-8g-4992 does not seem to be running inside a container [2023-02-07T22:18:56.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-247 -v /w/workspace/gexfoundry_device-rest-go_PR-247:/w/workspace/gexfoundry_device-rest-go_PR-247:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-247@tmp:/w/workspace/gexfoundry_device-rest-go_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T22:18:56.836Z] $ docker top 8aa5fe10034a1cc0d04e09c0ac06f0b58dba75e13059096d4cd7f1370698828c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:18:57.230Z] + go version [2023-02-07T22:18:57.230Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-07T22:18:57.270Z] $ docker stop --time=1 8aa5fe10034a1cc0d04e09c0ac06f0b58dba75e13059096d4cd7f1370698828c [2023-02-07T22:18:58.595Z] $ docker rm -f --volumes 8aa5fe10034a1cc0d04e09c0ac06f0b58dba75e13059096d4cd7f1370698828c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:18:59.312Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:18:59.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:18:59.468Z] prd-ubuntu20.04-docker-8c-8g-4992 does not seem to be running inside a container [2023-02-07T22:18:59.512Z] $ 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-247 -v /w/workspace/gexfoundry_device-rest-go_PR-247:/w/workspace/gexfoundry_device-rest-go_PR-247:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-247@tmp:/w/workspace/gexfoundry_device-rest-go_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T22:18:59.896Z] $ docker top f05e046ab4ad241a905da69e20e10b11656406aa4d8725da0b06f22c9a0cfc7a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:19:00.281Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-247 [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:19:00.638Z] + make test [2023-02-07T22:19:00.638Z] go test ./... -coverprofile=coverage.out ./... [2023-02-07T22:19:00.896Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-07T22:19:10.861Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-07T22:19:10.861Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.9% of statements [2023-02-07T22:19:18.974Z] 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." [2023-02-07T22:19:18.974Z] go vet ./... [2023-02-07T22:19:22.261Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:19:22.261Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:19:22.261Z] ./bin/test-attribution-txt.sh [2023-02-07T22:19:22.261Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:19:22.261Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:19:22.297Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:19:22.332Z] $ docker stop --time=1 f05e046ab4ad241a905da69e20e10b11656406aa4d8725da0b06f22c9a0cfc7a [2023-02-07T22:19:24.394Z] $ docker rm -f --volumes f05e046ab4ad241a905da69e20e10b11656406aa4d8725da0b06f22c9a0cfc7a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:19:24.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:19:24.971Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-07T22:19:25.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:19:25.881Z] + ls -al . [2023-02-07T22:19:25.881Z] total 188 [2023-02-07T22:19:25.881Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 22:19 . [2023-02-07T22:19:25.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:17 .. [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 7 22:17 .dockerignore [2023-02-07T22:19:25.881Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:19 .git [2023-02-07T22:19:25.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:17 .github [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 7 22:17 .gitignore [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:17 .golangci.yml [2023-02-07T22:19:25.881Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:17 .semver [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 7 22:17 Attribution.txt [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 7 22:17 CHANGELOG.md [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 7 22:17 Dockerfile [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:17 GOVERNANCE.md [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 7 22:17 Jenkinsfile [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:17 LICENSE [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 7 22:17 Makefile [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 7 22:17 OWNERS.md [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 7 22:17 README.md [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 22:17 VERSION [2023-02-07T22:19:25.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:17 bin [2023-02-07T22:19:25.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:17 cmd [2023-02-07T22:19:25.881Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 7 22:19 coverage.out [2023-02-07T22:19:25.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:17 driver [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 3399 Feb 7 22:17 go.mod [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 33277 Feb 7 22:17 go.sum [2023-02-07T22:19:25.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:17 snap [2023-02-07T22:19:25.881Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 7 22:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:19:26.274Z] + 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=8cf83884e1761083e6173cd7f6dabb6a82ce72e7 --label arch=amd64 --label version=0.0.0 . [2023-02-07T22:19:26.274Z] Sending build context to Docker daemon 10.84MB [2023-02-07T22:19:26.274Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:19:26.274Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-07T22:19:26.274Z] ---> 78deaaed48be [2023-02-07T22:19:26.274Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:19:26.533Z] ---> Running in bf33bfb9bd42 [2023-02-07T22:19:26.533Z] Removing intermediate container bf33bfb9bd42 [2023-02-07T22:19:26.533Z] ---> 2797d2abb7b3 [2023-02-07T22:19:26.533Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:19:26.533Z] ---> Running in ef7bd9983af5 [2023-02-07T22:19:26.792Z] Removing intermediate container ef7bd9983af5 [2023-02-07T22:19:26.792Z] ---> 1c3fefb71abb [2023-02-07T22:19:26.792Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:19:26.792Z] ---> Running in bde7dd167b7f [2023-02-07T22:19:26.792Z] Removing intermediate container bde7dd167b7f [2023-02-07T22:19:26.792Z] ---> 578af1e8d85b [2023-02-07T22:19:26.792Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:19:26.792Z] ---> Running in ca2b0592360e [2023-02-07T22:19:27.048Z] Removing intermediate container ca2b0592360e [2023-02-07T22:19:27.048Z] ---> 332fecea07e1 [2023-02-07T22:19:27.048Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:19:27.048Z] ---> Running in fb6bddaecb80 [2023-02-07T22:19:27.307Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:19:27.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:19:27.827Z] OK: 216 MiB in 55 packages [2023-02-07T22:19:28.086Z] Removing intermediate container fb6bddaecb80 [2023-02-07T22:19:28.086Z] ---> 5b04e5329457 [2023-02-07T22:19:28.086Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-07T22:19:28.086Z] ---> Running in ee9055392a22 [2023-02-07T22:19:28.348Z] Removing intermediate container ee9055392a22 [2023-02-07T22:19:28.348Z] ---> c2ae9a6d16a8 [2023-02-07T22:19:28.348Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-07T22:19:28.348Z] ---> c0b16c340ed8 [2023-02-07T22:19:28.348Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:19:28.348Z] ---> Running in a0d991f375b1 [2023-02-07T22:19:29.286Z] Removing intermediate container a0d991f375b1 [2023-02-07T22:19:29.286Z] ---> 5da852fa6f7e [2023-02-07T22:19:29.286Z] Step 11/25 : COPY . . [2023-02-07T22:19:29.854Z] ---> 733974871cdc [2023-02-07T22:19:29.854Z] Step 12/25 : RUN $MAKE [2023-02-07T22:19:29.854Z] ---> Running in 7493cdb3f80a [2023-02-07T22:19:30.113Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-07T22:19:52.048Z] Removing intermediate container 7493cdb3f80a [2023-02-07T22:19:52.048Z] ---> dee68b8f1a99 [2023-02-07T22:19:52.048Z] Step 13/25 : FROM alpine:3.16 [2023-02-07T22:19:52.048Z] 3.16: Pulling from library/alpine [2023-02-07T22:19:52.048Z] ca7dd9ec2225: Pulling fs layer [2023-02-07T22:19:52.048Z] ca7dd9ec2225: Verifying Checksum [2023-02-07T22:19:52.048Z] ca7dd9ec2225: Download complete [2023-02-07T22:19:52.048Z] ca7dd9ec2225: Pull complete [2023-02-07T22:19:52.048Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T22:19:52.048Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T22:19:52.048Z] ---> bfe296a52501 [2023-02-07T22:19:52.048Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-07T22:19:52.048Z] ---> Running in e24c74a0bcfe [2023-02-07T22:19:52.048Z] Removing intermediate container e24c74a0bcfe [2023-02-07T22:19:52.048Z] ---> b702998ab7ca [2023-02-07T22:19:52.048Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-07T22:19:52.048Z] ---> Running in fe2a5219a4f7 [2023-02-07T22:19:52.048Z] Removing intermediate container fe2a5219a4f7 [2023-02-07T22:19:52.048Z] ---> 3fdeb5895ef4 [2023-02-07T22:19:52.048Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:19:52.048Z] ---> Running in dace4215465c [2023-02-07T22:19:52.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:19:52.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:19:52.048Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:19:52.048Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:19:52.048Z] OK: 6 MiB in 15 packages [2023-02-07T22:19:52.309Z] Removing intermediate container dace4215465c [2023-02-07T22:19:52.309Z] ---> 3ee15f92e557 [2023-02-07T22:19:52.309Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-07T22:19:52.904Z] ---> d4c31ce55580 [2023-02-07T22:19:52.904Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-07T22:19:53.164Z] ---> 237ad931669c [2023-02-07T22:19:53.164Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-07T22:19:53.430Z] ---> ea32c70bd00f [2023-02-07T22:19:53.430Z] Step 20/25 : EXPOSE 59986 [2023-02-07T22:19:53.998Z] ---> Running in a28db71f5fbb [2023-02-07T22:19:54.344Z] Removing intermediate container a28db71f5fbb [2023-02-07T22:19:54.344Z] ---> 0b0d1cc84d19 [2023-02-07T22:19:54.344Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-07T22:19:54.603Z] ---> Running in 15c5e273f74d [2023-02-07T22:19:55.169Z] Removing intermediate container 15c5e273f74d [2023-02-07T22:19:55.169Z] ---> 1f9ee7f95a34 [2023-02-07T22:19:55.169Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-07T22:19:55.428Z] ---> Running in 32a12486837a [2023-02-07T22:19:55.995Z] Removing intermediate container 32a12486837a [2023-02-07T22:19:55.995Z] ---> f1493802c4d4 [2023-02-07T22:19:55.995Z] Step 23/25 : LABEL arch=amd64 [2023-02-07T22:19:56.253Z] ---> Running in 3c16735da535 [2023-02-07T22:19:56.835Z] Removing intermediate container 3c16735da535 [2023-02-07T22:19:56.835Z] ---> a0fa3acdb18c [2023-02-07T22:19:56.835Z] Step 24/25 : LABEL git_sha=8cf83884e1761083e6173cd7f6dabb6a82ce72e7 [2023-02-07T22:19:58.542Z] ---> Running in b2bc4a1817bd [2023-02-07T22:19:59.116Z] Removing intermediate container b2bc4a1817bd [2023-02-07T22:19:59.116Z] ---> 0f74fb89dc4d [2023-02-07T22:19:59.116Z] Step 25/25 : LABEL version=0.0.0 [2023-02-07T22:20:00.052Z] ---> Running in 31e2d1280c3a [2023-02-07T22:20:00.989Z] Removing intermediate container 31e2d1280c3a [2023-02-07T22:20:00.989Z] ---> 84432db645a7 [2023-02-07T22:20:00.989Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:20:00.989Z] Successfully built 84432db645a7 [2023-02-07T22:20:01.250Z] 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 [2023-02-07T22:20:02.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:20:02.073Z] [2023-02-07T22:20:02.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:20:02.435Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:20:02.698Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-07T22:20:02.698Z] 5eb5b503b376: Pulling fs layer [2023-02-07T22:20:02.698Z] 5c69ac0246d0: Pulling fs layer [2023-02-07T22:20:02.698Z] ec43610c2a17: Pulling fs layer [2023-02-07T22:20:02.698Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-07T22:20:02.698Z] 33b1e0a273af: Pulling fs layer [2023-02-07T22:20:02.698Z] 5d3b04190fa2: Pulling fs layer [2023-02-07T22:20:02.698Z] 2f39f015ded8: Pulling fs layer [2023-02-07T22:20:02.698Z] 5d3b04190fa2: Waiting [2023-02-07T22:20:02.698Z] 3a2ae6a8a46f: Waiting [2023-02-07T22:20:02.698Z] 2f39f015ded8: Waiting [2023-02-07T22:20:02.964Z] 5c69ac0246d0: Verifying Checksum [2023-02-07T22:20:02.964Z] 5c69ac0246d0: Download complete [2023-02-07T22:20:02.964Z] 3a2ae6a8a46f: Download complete [2023-02-07T22:20:02.964Z] 33b1e0a273af: Verifying Checksum [2023-02-07T22:20:02.964Z] 33b1e0a273af: Download complete [2023-02-07T22:20:02.964Z] 5d3b04190fa2: Download complete [2023-02-07T22:20:03.226Z] ec43610c2a17: Verifying Checksum [2023-02-07T22:20:03.226Z] ec43610c2a17: Download complete [2023-02-07T22:20:03.226Z] 5eb5b503b376: Download complete [2023-02-07T22:20:03.795Z] 2f39f015ded8: Verifying Checksum [2023-02-07T22:20:04.730Z] 5eb5b503b376: Pull complete [2023-02-07T22:20:04.730Z] 5c69ac0246d0: Pull complete [2023-02-07T22:20:05.297Z] ec43610c2a17: Pull complete [2023-02-07T22:20:05.297Z] 3a2ae6a8a46f: Pull complete [2023-02-07T22:20:05.297Z] 33b1e0a273af: Pull complete [2023-02-07T22:20:05.556Z] 5d3b04190fa2: Pull complete [2023-02-07T22:20:10.825Z] 2f39f015ded8: Pull complete [2023-02-07T22:20:10.825Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-07T22:20:10.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:20:10.825Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:20:11.033Z] prd-ubuntu20.04-docker-8c-8g-4992 does not seem to be running inside a container [2023-02-07T22:20:11.075Z] $ 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-247 -v /w/workspace/gexfoundry_device-rest-go_PR-247:/w/workspace/gexfoundry_device-rest-go_PR-247:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-247@tmp:/w/workspace/gexfoundry_device-rest-go_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T22:20:13.156Z] $ docker top 9bb615735a3cb2fab5cd1b415cdd6d8ecbc438044dfd3cbe0de61d55086c3b11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:20:13.590Z] ---> job-cost.sh [2023-02-07T22:20:13.590Z] lf-activate-venv: SKIPPING [2023-02-07T22:20:13.590Z] INFO: No Stack... [2023-02-07T22:20:14.161Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:20:14.422Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:20:14.734Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-247/archives/cost.csv [2023-02-07T22:20:14.734Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T22:20:14.774Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-247-1-stack-cost] [2023-02-07T22:20:14.779Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-247-1-stack-cost] did not exist. Created. [2023-02-07T22:20:14.779Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-247-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:20:15.171Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-07T22:20:15.225Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:20:15.258Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-247-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:20:15.350Z] $ docker stop --time=1 9bb615735a3cb2fab5cd1b415cdd6d8ecbc438044dfd3cbe0de61d55086c3b11 [2023-02-07T22:20:16.550Z] $ docker rm -f --volumes 9bb615735a3cb2fab5cd1b415cdd6d8ecbc438044dfd3cbe0de61d55086c3b11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-07T22:21:51.056Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4996 in /w/workspace/gexfoundry_device-rest-go_PR-247 [Pipeline] { [Pipeline] ws [2023-02-07T22:21:51.119Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-02-07T22:21:51.199Z] The recommended git tool is: git [2023-02-07T22:21:57.492Z] using credential edgex-jenkins-ssh [2023-02-07T22:21:57.509Z] Cloning the remote Git repository [2023-02-07T22:21:57.566Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-07T22:21:57.656Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-02-07T22:21:57.843Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-07T22:21:57.844Z] > git --version # timeout=10 [2023-02-07T22:21:57.872Z] > git --version # 'git version 2.25.1' [2023-02-07T22:21:57.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:21:57.948Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:22:00.010Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-07T22:22:00.046Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:22:01.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-07T22:22:01.051Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-07T22:22:01.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:22:01.072Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/247/head:refs/remotes/origin/PR-247 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-07T22:22:01.739Z] Merging remotes/origin/main commit 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 into PR head commit 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 [2023-02-07T22:22:01.980Z] Merge succeeded, producing 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 [2023-02-07T22:22:01.981Z] Checking out Revision 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 (PR-247) [2023-02-07T22:22:01.761Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T22:22:01.790Z] > git checkout -f 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 # timeout=10 [2023-02-07T22:22:01.879Z] > git remote # timeout=10 [2023-02-07T22:22:01.900Z] > git config --get remote.origin.url # timeout=10 [2023-02-07T22:22:01.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:22:01.932Z] > git merge 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 [2023-02-07T22:22:01.962Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-07T22:22:01.991Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T22:22:02.009Z] > git checkout -f 8cf83884e1761083e6173cd7f6dabb6a82ce72e7 # timeout=10 [2023-02-07T22:22:05.554Z] Commit message: "feat!: Use latest SDK for MessageBus Request API" [2023-02-07T22:22:05.620Z] > git --version # timeout=10 [2023-02-07T22:22:05.634Z] > git --version # 'git version 2.25.1' [2023-02-07T22:22:05.657Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:22:06.792Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-07T22:22:06.792Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:22:06.792Z] Dload Upload Total Spent Left Speed [2023-02-07T22:22:06.792Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 166k [Pipeline] sh [2023-02-07T22:22:07.586Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-07T22:22:07.945Z] + sudo tee /etc/docker/daemon.new [2023-02-07T22:22:07.945Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-07T22:22:07.945Z] { [2023-02-07T22:22:07.945Z] "registry-mirrors": [ [2023-02-07T22:22:07.945Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-07T22:22:07.945Z] ], [2023-02-07T22:22:07.945Z] "bip": "10.250.0.254/24", [2023-02-07T22:22:07.945Z] "hosts": [ [2023-02-07T22:22:07.945Z] "tcp://0.0.0.0:5555", [2023-02-07T22:22:07.945Z] "unix:///var/run/docker.sock" [2023-02-07T22:22:07.945Z] ], [2023-02-07T22:22:07.945Z] "mtu": 1458, [2023-02-07T22:22:07.945Z] "selinux-enabled": true, [2023-02-07T22:22:07.945Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-07T22:22:07.945Z] } [Pipeline] sh [2023-02-07T22:22:08.311Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-07T22:22:08.668Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:22:27.016Z] provisioning config files... [2023-02-07T22:22:27.045Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7841041602649470916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:22:27.453Z] ---> docker-login.sh [2023-02-07T22:22:27.453Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:22:28.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:22:28.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:22:28.317Z] Configure a credential helper to remove this warning. See [2023-02-07T22:22:28.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:22:28.317Z] [2023-02-07T22:22:28.317Z] Login Succeeded [2023-02-07T22:22:28.317Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:22:28.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:22:28.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:22:28.591Z] Configure a credential helper to remove this warning. See [2023-02-07T22:22:28.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:22:28.591Z] [2023-02-07T22:22:28.591Z] Login Succeeded [2023-02-07T22:22:28.591Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:22:28.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:22:29.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:22:29.138Z] Configure a credential helper to remove this warning. See [2023-02-07T22:22:29.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:22:29.138Z] [2023-02-07T22:22:29.138Z] Login Succeeded [2023-02-07T22:22:29.138Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:22:29.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:22:29.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:22:29.409Z] Configure a credential helper to remove this warning. See [2023-02-07T22:22:29.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:22:29.409Z] [2023-02-07T22:22:29.409Z] Login Succeeded [2023-02-07T22:22:29.409Z] docker.io [2023-02-07T22:22:29.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:22:29.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:22:29.953Z] Configure a credential helper to remove this warning. See [2023-02-07T22:22:29.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:22:29.953Z] [2023-02-07T22:22:29.953Z] Login Succeeded [2023-02-07T22:22:29.953Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:22:29.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:22:30.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:22:30.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:22:30.472Z] ========================================================= [2023-02-07T22:22:30.472Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-07T22:22:30.472Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:22:30.989Z] + 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 . [2023-02-07T22:22:30.989Z] Sending build context to Docker daemon 142.8kB [2023-02-07T22:22:31.261Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:22:31.261Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-07T22:22:31.261Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-07T22:22:31.261Z] 9b18e9b68314: Pulling fs layer [2023-02-07T22:22:31.261Z] 35d82f9e3411: Pulling fs layer [2023-02-07T22:22:31.261Z] e16973657156: Pulling fs layer [2023-02-07T22:22:31.261Z] fc693d55d65f: Pulling fs layer [2023-02-07T22:22:31.261Z] 7e9fc2657dce: Pulling fs layer [2023-02-07T22:22:31.261Z] dda99020689f: Pulling fs layer [2023-02-07T22:22:31.261Z] db1c61fa0a46: Pulling fs layer [2023-02-07T22:22:31.261Z] 891c053d2c06: Pulling fs layer [2023-02-07T22:22:31.261Z] db1c61fa0a46: Waiting [2023-02-07T22:22:31.261Z] dda99020689f: Waiting [2023-02-07T22:22:31.261Z] fc693d55d65f: Waiting [2023-02-07T22:22:31.261Z] 891c053d2c06: Waiting [2023-02-07T22:22:31.261Z] 7e9fc2657dce: Waiting [2023-02-07T22:22:31.547Z] e16973657156: Verifying Checksum [2023-02-07T22:22:31.547Z] e16973657156: Download complete [2023-02-07T22:22:31.547Z] 35d82f9e3411: Verifying Checksum [2023-02-07T22:22:31.547Z] 35d82f9e3411: Download complete [2023-02-07T22:22:31.547Z] 7e9fc2657dce: Download complete [2023-02-07T22:22:31.547Z] dda99020689f: Verifying Checksum [2023-02-07T22:22:31.547Z] dda99020689f: Download complete [2023-02-07T22:22:31.547Z] 9b18e9b68314: Verifying Checksum [2023-02-07T22:22:32.534Z] 9b18e9b68314: Pull complete [2023-02-07T22:22:32.811Z] 891c053d2c06: Verifying Checksum [2023-02-07T22:22:32.811Z] 891c053d2c06: Download complete [2023-02-07T22:22:34.252Z] db1c61fa0a46: Verifying Checksum [2023-02-07T22:22:34.252Z] db1c61fa0a46: Download complete [2023-02-07T22:22:34.851Z] 35d82f9e3411: Pull complete [2023-02-07T22:22:34.851Z] fc693d55d65f: Verifying Checksum [2023-02-07T22:22:34.851Z] fc693d55d65f: Download complete [2023-02-07T22:22:34.851Z] e16973657156: Pull complete [2023-02-07T22:22:49.917Z] fc693d55d65f: Pull complete [2023-02-07T22:22:49.917Z] 7e9fc2657dce: Pull complete [2023-02-07T22:22:49.917Z] dda99020689f: Pull complete [2023-02-07T22:22:55.300Z] db1c61fa0a46: Pull complete [2023-02-07T22:22:56.722Z] 891c053d2c06: Pull complete [2023-02-07T22:22:56.722Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-07T22:22:56.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-07T22:22:56.722Z] ---> f96f9c87975a [2023-02-07T22:22:56.722Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:22:58.699Z] ---> Running in 4ad877bba29b [2023-02-07T22:22:58.699Z] Removing intermediate container 4ad877bba29b [2023-02-07T22:22:58.699Z] ---> d02fc38ff86c [2023-02-07T22:22:58.699Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:22:58.973Z] ---> Running in f7ae863c065a [2023-02-07T22:22:59.242Z] Removing intermediate container f7ae863c065a [2023-02-07T22:22:59.242Z] ---> 2ef14e95ab02 [2023-02-07T22:22:59.242Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:22:59.242Z] ---> Running in 49f67df7196f [2023-02-07T22:22:59.835Z] Removing intermediate container 49f67df7196f [2023-02-07T22:22:59.835Z] ---> 18efb618a4da [2023-02-07T22:22:59.835Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:22:59.835Z] ---> Running in 895aad67a8d9 [2023-02-07T22:23:00.106Z] Removing intermediate container 895aad67a8d9 [2023-02-07T22:23:00.106Z] ---> 899d7668eb3e [2023-02-07T22:23:00.106Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:23:00.375Z] ---> Running in bef400277f23 [2023-02-07T22:23:01.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:23:01.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:23:02.899Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T22:23:02.899Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-07T22:23:02.899Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T22:23:02.899Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T22:23:02.899Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:23:02.899Z] OK: 226 MiB in 55 packages [2023-02-07T22:23:04.320Z] Removing intermediate container bef400277f23 [2023-02-07T22:23:04.320Z] ---> fca15c72e4ae [2023-02-07T22:23:04.320Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-07T22:23:04.320Z] ---> Running in 95bad54667a4 [2023-02-07T22:23:04.591Z] Removing intermediate container 95bad54667a4 [2023-02-07T22:23:04.591Z] ---> 9043dbcc3f81 [2023-02-07T22:23:04.591Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-07T22:23:05.179Z] ---> 371ecd29db17 [2023-02-07T22:23:05.179Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:23:05.179Z] ---> Running in 69d13d6f42db [2023-02-07T22:24:41.868Z] Removing intermediate container 69d13d6f42db [2023-02-07T22:24:41.868Z] ---> c3da13e645f7 [2023-02-07T22:24:41.868Z] Step 11/12 : COPY . . [2023-02-07T22:24:41.868Z] ---> 267dcac91f09 [2023-02-07T22:24:41.868Z] Step 12/12 : RUN $MAKE [2023-02-07T22:24:41.868Z] ---> Running in cb13bf8478d5 [2023-02-07T22:24:41.868Z] noop [2023-02-07T22:24:41.868Z] Removing intermediate container cb13bf8478d5 [2023-02-07T22:24:41.868Z] ---> 8bf1220be91b [2023-02-07T22:24:41.868Z] Successfully built 8bf1220be91b [2023-02-07T22:24:41.868Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:24:42.357Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:24:42.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:24:42.648Z] prd-ubuntu20.04-docker-arm64-4c-16g-4996 does not seem to be running inside a container [2023-02-07T22:24:42.719Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T22:24:43.975Z] $ docker top 1705580ae1144195d1e335d2a1637f04e9b5d6e7cff0327eeda9fea27878e366 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:24:44.872Z] + go version [2023-02-07T22:24:44.872Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-07T22:24:44.904Z] $ docker stop --time=1 1705580ae1144195d1e335d2a1637f04e9b5d6e7cff0327eeda9fea27878e366 [2023-02-07T22:24:46.661Z] $ docker rm -f --volumes 1705580ae1144195d1e335d2a1637f04e9b5d6e7cff0327eeda9fea27878e366 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:24:47.571Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:24:47.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:24:47.853Z] prd-ubuntu20.04-docker-arm64-4c-16g-4996 does not seem to be running inside a container [2023-02-07T22:24:47.929Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T22:24:49.198Z] $ docker top b7aa513cff6e3af5fa4f627e128216fbfd9b5e4241e7103d967a1b9fb7d08dfb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:24:50.088Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:24:50.796Z] + make test [2023-02-07T22:24:50.796Z] go test ./... -coverprofile=coverage.out ./... [2023-02-07T22:24:52.745Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-07T22:26:44.465Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-07T22:26:44.465Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 33.9% of statements [2023-02-07T22:26:44.465Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-07T22:26:44.465Z] go vet ./... [2023-02-07T22:27:11.207Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:27:11.207Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:27:11.207Z] ./bin/test-attribution-txt.sh [2023-02-07T22:27:11.207Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:27:11.207Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:27:11.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:27:11.279Z] $ docker stop --time=1 b7aa513cff6e3af5fa4f627e128216fbfd9b5e4241e7103d967a1b9fb7d08dfb [2023-02-07T22:27:13.238Z] $ docker rm -f --volumes b7aa513cff6e3af5fa4f627e128216fbfd9b5e4241e7103d967a1b9fb7d08dfb [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:27:14.375Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:27:14.416Z] Warning: overwriting stash ‘coverage-report’ [2023-02-07T22:27:15.037Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:27:15.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:27:16.051Z] + ls -al . [2023-02-07T22:27:16.051Z] total 184 [2023-02-07T22:27:16.051Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:24 . [2023-02-07T22:27:16.051Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:21 .. [2023-02-07T22:27:16.051Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 7 22:22 .dockerignore [2023-02-07T22:27:16.052Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:22 .git [2023-02-07T22:27:16.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:22 .github [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 7 22:22 .gitignore [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:22 .golangci.yml [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 7 22:22 Attribution.txt [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 7 22:22 CHANGELOG.md [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 7 22:22 Dockerfile [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:22 GOVERNANCE.md [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 7 22:22 Jenkinsfile [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:22 LICENSE [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 7 22:22 Makefile [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 7 22:22 OWNERS.md [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 7 22:22 README.md [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 22:17 VERSION [2023-02-07T22:27:16.052Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:22 bin [2023-02-07T22:27:16.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:22 cmd [2023-02-07T22:27:16.052Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 7 22:26 coverage.out [2023-02-07T22:27:16.052Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:22 driver [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 3399 Feb 7 22:22 go.mod [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 33277 Feb 7 22:22 go.sum [2023-02-07T22:27:16.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:22 snap [2023-02-07T22:27:16.052Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 7 22:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:27:16.579Z] + 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=8cf83884e1761083e6173cd7f6dabb6a82ce72e7 --label arch=arm64 --label version=0.0.0 . [2023-02-07T22:27:16.579Z] Sending build context to Docker daemon 157.2kB [2023-02-07T22:27:16.864Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:27:16.864Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-07T22:27:16.864Z] ---> 8bf1220be91b [2023-02-07T22:27:16.864Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:27:17.144Z] ---> Running in 9dc73d98b8fe [2023-02-07T22:27:17.452Z] Removing intermediate container 9dc73d98b8fe [2023-02-07T22:27:17.452Z] ---> 4e5f2ab0cf12 [2023-02-07T22:27:17.452Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:27:17.755Z] ---> Running in fba75f606573 [2023-02-07T22:27:18.062Z] Removing intermediate container fba75f606573 [2023-02-07T22:27:18.062Z] ---> fd520c9eca50 [2023-02-07T22:27:18.062Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:27:18.062Z] ---> Running in 8ecc7cead266 [2023-02-07T22:27:18.684Z] Removing intermediate container 8ecc7cead266 [2023-02-07T22:27:18.684Z] ---> 49fbbcc5f399 [2023-02-07T22:27:18.684Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:27:18.684Z] ---> Running in 54f769ca82e1 [2023-02-07T22:27:19.289Z] Removing intermediate container 54f769ca82e1 [2023-02-07T22:27:19.289Z] ---> 40f62951f6b8 [2023-02-07T22:27:19.289Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:27:19.289Z] ---> Running in 9a57941cacd2 [2023-02-07T22:27:20.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:27:20.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:27:22.289Z] OK: 226 MiB in 55 packages [2023-02-07T22:27:22.882Z] Removing intermediate container 9a57941cacd2 [2023-02-07T22:27:22.882Z] ---> 3536e7bf2073 [2023-02-07T22:27:22.882Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-07T22:27:23.153Z] ---> Running in 8db671d66ff5 [2023-02-07T22:27:23.425Z] Removing intermediate container 8db671d66ff5 [2023-02-07T22:27:23.425Z] ---> 834e9a9ca316 [2023-02-07T22:27:23.425Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-07T22:27:24.024Z] ---> e9f7d029c5df [2023-02-07T22:27:24.024Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:27:24.024Z] ---> Running in 1fa96af82f29 [2023-02-07T22:27:27.401Z] Removing intermediate container 1fa96af82f29 [2023-02-07T22:27:27.401Z] ---> 79e309051f2f [2023-02-07T22:27:27.401Z] Step 11/25 : COPY . . [2023-02-07T22:27:27.672Z] ---> baadeb9b0943 [2023-02-07T22:27:27.672Z] Step 12/25 : RUN $MAKE [2023-02-07T22:27:27.672Z] ---> Running in 45e1ebc42344 [2023-02-07T22:27:28.644Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-07T22:29:50.419Z] Removing intermediate container 45e1ebc42344 [2023-02-07T22:29:50.419Z] ---> 2041943c41a9 [2023-02-07T22:29:50.419Z] Step 13/25 : FROM alpine:3.16 [2023-02-07T22:29:50.419Z] 3.16: Pulling from library/alpine [2023-02-07T22:29:50.419Z] 6875df1f5354: Pulling fs layer [2023-02-07T22:29:50.419Z] 6875df1f5354: Verifying Checksum [2023-02-07T22:29:50.419Z] 6875df1f5354: Download complete [2023-02-07T22:29:50.419Z] 6875df1f5354: Pull complete [2023-02-07T22:29:50.419Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T22:29:50.419Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T22:29:50.419Z] ---> 2b4661558fb8 [2023-02-07T22:29:50.419Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-07T22:29:50.419Z] ---> Running in 6b61e809ec0d [2023-02-07T22:29:50.419Z] Removing intermediate container 6b61e809ec0d [2023-02-07T22:29:50.419Z] ---> 2463e7e9100e [2023-02-07T22:29:50.419Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-07T22:29:50.419Z] ---> Running in 78739c70585b [2023-02-07T22:29:50.419Z] Removing intermediate container 78739c70585b [2023-02-07T22:29:50.419Z] ---> a81e19c9ce61 [2023-02-07T22:29:50.419Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:29:50.419Z] ---> Running in 320edebef402 [2023-02-07T22:29:50.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:29:50.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:29:50.419Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:29:50.419Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:29:50.419Z] OK: 5 MiB in 15 packages [2023-02-07T22:29:51.384Z] Removing intermediate container 320edebef402 [2023-02-07T22:29:51.384Z] ---> 57d9a0b6dfdd [2023-02-07T22:29:51.384Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-07T22:29:52.797Z] ---> cbd87043b294 [2023-02-07T22:29:52.797Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-07T22:29:53.379Z] ---> 0eee73be6e1f [2023-02-07T22:29:53.379Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-07T22:29:53.962Z] ---> 18ea3ec8cdce [2023-02-07T22:29:53.962Z] Step 20/25 : EXPOSE 59986 [2023-02-07T22:29:53.962Z] ---> Running in bc56efd8bcae [2023-02-07T22:29:54.228Z] Removing intermediate container bc56efd8bcae [2023-02-07T22:29:54.228Z] ---> 5c669027a525 [2023-02-07T22:29:54.228Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-07T22:29:54.493Z] ---> Running in 12edcb18326c [2023-02-07T22:29:54.760Z] Removing intermediate container 12edcb18326c [2023-02-07T22:29:54.760Z] ---> 2d1c6ac4e900 [2023-02-07T22:29:54.760Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-07T22:29:54.760Z] ---> Running in 738d514654fb [2023-02-07T22:29:55.048Z] Removing intermediate container 738d514654fb [2023-02-07T22:29:55.048Z] ---> 9a1c3b3effad [2023-02-07T22:29:55.048Z] Step 23/25 : LABEL arch=arm64 [2023-02-07T22:29:55.314Z] ---> Running in 48a7f6b9c546 [2023-02-07T22:29:55.581Z] Removing intermediate container 48a7f6b9c546 [2023-02-07T22:29:55.581Z] ---> 7319275023e4 [2023-02-07T22:29:55.581Z] Step 24/25 : LABEL git_sha=8cf83884e1761083e6173cd7f6dabb6a82ce72e7 [2023-02-07T22:29:55.581Z] ---> Running in be9eb61c67e5 [2023-02-07T22:29:55.854Z] Removing intermediate container be9eb61c67e5 [2023-02-07T22:29:55.854Z] ---> 1bdaa3f37947 [2023-02-07T22:29:55.854Z] Step 25/25 : LABEL version=0.0.0 [2023-02-07T22:29:56.120Z] ---> Running in 03d4667a473c [2023-02-07T22:29:56.386Z] Removing intermediate container 03d4667a473c [2023-02-07T22:29:56.386Z] ---> b76061d86045 [2023-02-07T22:29:56.386Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:29:56.386Z] Successfully built b76061d86045 [2023-02-07T22:29:56.386Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:29:57.195Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:29:57.196Z] [2023-02-07T22:29:57.196Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:29:57.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:29:58.211Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-07T22:29:58.211Z] 8998bd30e6a1: Pulling fs layer [2023-02-07T22:29:58.211Z] 04944245beec: Pulling fs layer [2023-02-07T22:29:58.211Z] 699f458cf7ca: Pulling fs layer [2023-02-07T22:29:58.211Z] 765212b225bb: Pulling fs layer [2023-02-07T22:29:58.211Z] f23df028b6ca: Pulling fs layer [2023-02-07T22:29:58.211Z] d65c8cfc05b1: Pulling fs layer [2023-02-07T22:29:58.211Z] 2437ff75d9bd: Pulling fs layer [2023-02-07T22:29:58.211Z] d65c8cfc05b1: Waiting [2023-02-07T22:29:58.211Z] 2437ff75d9bd: Waiting [2023-02-07T22:29:58.211Z] f23df028b6ca: Waiting [2023-02-07T22:29:58.211Z] 765212b225bb: Waiting [2023-02-07T22:29:58.211Z] 04944245beec: Verifying Checksum [2023-02-07T22:29:58.211Z] 04944245beec: Download complete [2023-02-07T22:29:58.211Z] 765212b225bb: Verifying Checksum [2023-02-07T22:29:58.211Z] 765212b225bb: Download complete [2023-02-07T22:29:58.483Z] f23df028b6ca: Verifying Checksum [2023-02-07T22:29:58.483Z] f23df028b6ca: Download complete [2023-02-07T22:29:58.483Z] d65c8cfc05b1: Verifying Checksum [2023-02-07T22:29:58.483Z] d65c8cfc05b1: Download complete [2023-02-07T22:29:58.483Z] 699f458cf7ca: Verifying Checksum [2023-02-07T22:29:58.483Z] 699f458cf7ca: Download complete [2023-02-07T22:29:59.075Z] 8998bd30e6a1: Verifying Checksum [2023-02-07T22:29:59.075Z] 8998bd30e6a1: Download complete [2023-02-07T22:30:01.670Z] 2437ff75d9bd: Verifying Checksum [2023-02-07T22:30:01.670Z] 2437ff75d9bd: Download complete [2023-02-07T22:30:02.636Z] 8998bd30e6a1: Pull complete [2023-02-07T22:30:03.221Z] 04944245beec: Pull complete [2023-02-07T22:30:04.632Z] 699f458cf7ca: Pull complete [2023-02-07T22:30:04.632Z] 765212b225bb: Pull complete [2023-02-07T22:30:05.591Z] f23df028b6ca: Pull complete [2023-02-07T22:30:05.591Z] d65c8cfc05b1: Pull complete [2023-02-07T22:30:20.593Z] 2437ff75d9bd: Pull complete [2023-02-07T22:30:20.593Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-07T22:30:20.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:30:20.593Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:30:20.936Z] prd-ubuntu20.04-docker-arm64-4c-16g-4996 does not seem to be running inside a container [2023-02-07T22:30:21.007Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-07T22:30:24.229Z] $ docker top b095e9f2f0ae3a2c5f4a28c28f87288af9354fe9f2ccbb2e6e66505c2761c9c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:30:25.198Z] ---> job-cost.sh [2023-02-07T22:30:25.198Z] lf-activate-venv: SKIPPING [2023-02-07T22:30:25.198Z] INFO: No Stack... [2023-02-07T22:30:25.469Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-07T22:30:26.435Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:30:27.102Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-02-07T22:30:27.102Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T22:30:27.198Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-247-1-stack-cost] [2023-02-07T22:30:27.203Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-247-1-stack-cost] did not exist. Created. [2023-02-07T22:30:27.203Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-247-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:30:27.945Z] /w/workspace/device-rest-go/1@tmp/durable-28603b6e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-07T22:30:28.631Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-07T22:30:28.671Z] Warning: overwriting stash ‘stack-cost’ [2023-02-07T22:30:28.721Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:30:28.737Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-247-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:30:28.820Z] $ docker stop --time=1 b095e9f2f0ae3a2c5f4a28c28f87288af9354fe9f2ccbb2e6e66505c2761c9c1 [2023-02-07T22:30:30.363Z] $ docker rm -f --volumes b095e9f2f0ae3a2c5f4a28c28f87288af9354fe9f2ccbb2e6e66505c2761c9c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-07T22:30:31.399Z] provisioning config files... [2023-02-07T22:30:31.406Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-247@tmp/config12881476269020719076tmp [Pipeline] { [Pipeline] sh [2023-02-07T22:30:31.740Z] + set +x [2023-02-07T22:30:31.740Z] + curl -s https://codecov.io/bash [2023-02-07T22:30:31.740Z] + bash -s -- [2023-02-07T22:30:31.740Z] [2023-02-07T22:30:31.740Z] _____ _ [2023-02-07T22:30:31.740Z] / ____| | | [2023-02-07T22:30:31.740Z] | | ___ __| | ___ ___ _____ __ [2023-02-07T22:30:31.740Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-07T22:30:31.740Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-07T22:30:31.740Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-07T22:30:31.740Z] Bash-1.0.6 [2023-02-07T22:30:31.740Z] [2023-02-07T22:30:31.740Z] [2023-02-07T22:30:31.740Z] ==> git version 2.25.1 found [2023-02-07T22:30:31.740Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-07T22:30:31.740Z] Release-Date: 2020-01-08 [2023-02-07T22:30:31.740Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-07T22:30:31.740Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-07T22:30:31.740Z] ==> Jenkins CI detected. [2023-02-07T22:30:31.740Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-247 [2023-02-07T22:30:31.740Z] project root: . [2023-02-07T22:30:31.740Z] --> token set from env [2023-02-07T22:30:31.740Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-07T22:30:31.740Z] ==> Running gcov in . (disable via -X gcov) [2023-02-07T22:30:31.740Z] ==> Python coveragepy not found [2023-02-07T22:30:31.740Z] ==> Searching for coverage reports in: [2023-02-07T22:30:31.740Z] + . [2023-02-07T22:30:31.740Z] -> Found 1 reports [2023-02-07T22:30:31.740Z] ==> Detecting git/mercurial file structure [2023-02-07T22:30:31.740Z] ==> Reading reports [2023-02-07T22:30:31.740Z] + ./coverage.out bytes=13744 [2023-02-07T22:30:31.740Z] ==> Appending adjustments [2023-02-07T22:30:31.740Z] https://docs.codecov.io/docs/fixing-reports [2023-02-07T22:30:31.999Z] + Found adjustments [2023-02-07T22:30:31.999Z] ==> Gzipping contents [2023-02-07T22:30:31.999Z] 4.0K /tmp/codecov.DV12IJ.gz [2023-02-07T22:30:31.999Z] ==> Uploading reports [2023-02-07T22:30:31.999Z] url: https://codecov.io [2023-02-07T22:30:31.999Z] query: branch=PR-247&commit=8cf83884e1761083e6173cd7f6dabb6a82ce72e7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-247%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=247&job=&cmd_args= [2023-02-07T22:30:31.999Z] -> Pinging Codecov [2023-02-07T22:30:31.999Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-247&commit=8cf83884e1761083e6173cd7f6dabb6a82ce72e7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-247%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=247&job=&cmd_args= [2023-02-07T22:30:32.258Z] -> Uploading to [2023-02-07T22:30:32.258Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-07/4E5D53B4F1F92C436F7061BF334D961C/8cf83884e1761083e6173cd7f6dabb6a82ce72e7/7fe46fed-e046-4f8b-85af-121456175171.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T223032Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab674ceb2b3e88bf5bf930bd68e9ac799cd9fefae8a0123fb40848aaf9c52fe8 [2023-02-07T22:30:32.258Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:30:32.258Z] Dload Upload Total Spent Left Speed [2023-02-07T22:30:32.517Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8981 --:--:-- --:--:-- --:--:-- 8981 [2023-02-07T22:30:32.517Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8cf83884e1761083e6173cd7f6dabb6a82ce72e7 [Pipeline] } [2023-02-07T22:30:32.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-07T22:30:34.308Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-247/archives ] [2023-02-07T22:30:34.309Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-247/archives [2023-02-07T22:30:34.309Z] total 16 [2023-02-07T22:30:34.309Z] drwxr-xr-x 3 root root 4096 Feb 7 22:20 . [2023-02-07T22:30:34.309Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:20 .. [2023-02-07T22:30:34.309Z] drwxr-xr-x 2 root root 4096 Feb 7 22:20 cost [2023-02-07T22:30:34.309Z] -rw-r--r-- 1 root root 86 Feb 7 22:20 cost.csv [2023-02-07T22:30:34.309Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-247/archives [2023-02-07T22:30:34.309Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-247/archives [2023-02-07T22:30:34.309Z] total 16 [2023-02-07T22:30:34.309Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:20 . [2023-02-07T22:30:34.309Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:20 .. [2023-02-07T22:30:34.309Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 22:20 cost [2023-02-07T22:30:34.309Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 7 22:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:30:34.638Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:30:35.527Z] ---> package-listing.sh [2023-02-07T22:30:35.527Z] ++ facter osfamily [2023-02-07T22:30:35.527Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-07T22:30:35.785Z] + OS_FAMILY=debian [2023-02-07T22:30:35.785Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-247 [2023-02-07T22:30:35.785Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-07T22:30:35.785Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-07T22:30:35.785Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-07T22:30:35.785Z] + PACKAGES=/tmp/packages_start.txt [2023-02-07T22:30:35.785Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-247 ']' [2023-02-07T22:30:35.785Z] + PACKAGES=/tmp/packages_end.txt [2023-02-07T22:30:35.785Z] + case "${OS_FAMILY}" in [2023-02-07T22:30:35.785Z] + dpkg -l [2023-02-07T22:30:35.785Z] + grep '^ii' [2023-02-07T22:30:35.785Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-07T22:30:35.785Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-07T22:30:35.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-07T22:30:35.785Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-247 ']' [2023-02-07T22:30:35.785Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-247/archives/ [2023-02-07T22:30:35.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-247/archives/ [Pipeline] echo [2023-02-07T22:30:35.822Z] 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-247/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-07T22:30:36.111Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:30:36.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:30:36.736Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:30:36.910Z] prd-ubuntu20.04-docker-8c-8g-4992 does not seem to be running inside a container [2023-02-07T22:30:36.956Z] $ 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-247/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-247 -v /w/workspace/gexfoundry_device-rest-go_PR-247:/w/workspace/gexfoundry_device-rest-go_PR-247:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-247@tmp:/w/workspace/gexfoundry_device-rest-go_PR-247@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T22:30:37.187Z] $ docker top 9b86791c61b8f86d589ceaf576ba4d75c39683258f624e3d9797b5378b82d3dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:30:37.562Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-07T22:30:37.870Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-07T22:30:38.180Z] + ls /var/log/sa-host [2023-02-07T22:30:38.180Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:30:38.312Z] provisioning config files... [2023-02-07T22:30:38.320Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-247@tmp/config9553432360547923289tmp [Pipeline] { [Pipeline] echo [2023-02-07T22:30:38.450Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:30:38.759Z] ---> create-netrc.sh [Pipeline] } [2023-02-07T22:30:38.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:30:39.258Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-07T22:30:39.292Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:30:39.604Z] ---> sudo-logs.sh [2023-02-07T22:30:39.604Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-07T22:30:39.697Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:30:40.008Z] ---> job-cost.sh [2023-02-07T22:30:40.008Z] lf-activate-venv: SKIPPING [2023-02-07T22:30:40.008Z] DEBUG: total: 0.2199999988079071 [2023-02-07T22:30:40.008Z] INFO: Retrieving Stack Cost... [2023-02-07T22:30:40.947Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:30:41.208Z] INFO: Archiving Costs [Pipeline] echo [2023-02-07T22:30:41.246Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:30:41.560Z] ---> logs-deploy.sh [2023-02-07T22:30:41.560Z] lf-activate-venv: SKIPPING [2023-02-07T22:30:41.560Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-247/1 [2023-02-07T22:30:41.560Z] INFO: archiving workspace using pattern(s): [2023-02-07T22:30:42.496Z] Archives upload complete. [2023-02-07T22:30:42.496Z] INFO: archiving logs to Nexus