Pull request #450 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-virtual-go Obtained Jenkinsfile from 173252465490b9d9740a72c12effdbaa8705f49b+a3e36257f0c9f774ec81edf885f9fc4e99897b55 (4f88af5a05e279579253d08d5ecd19f457afe331) 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-ssh2435925118845715506.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh18152022510336044900.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-virtual-go/branches/PR-450/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-virtual-go/branches/PR-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8345315231773492030.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-virtual-go/branches/PR-450/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14473861634489007581.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh3777378711504427707.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-virtual-go/branches/PR-450/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-virtual-go/branches/PR-450/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12105607197627878580.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-virtual-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-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 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-virtual 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 ‘prd-ubuntu20.04-docker-8c-8g-17529’ Running on prd-ubuntu20.04-docker-8c-8g-17531 in /w/workspace/foundry_device-virtual-go_PR-450 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-450 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/450/head:refs/remotes/origin/PR-450 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a3e36257f0c9f774ec81edf885f9fc4e99897b55 into PR head commit 173252465490b9d9740a72c12effdbaa8705f49b Merge succeeded, producing 173252465490b9d9740a72c12effdbaa8705f49b Checking out Revision 173252465490b9d9740a72c12effdbaa8705f49b (PR-450) > git config core.sparsecheckout # timeout=10 > git checkout -f 173252465490b9d9740a72c12effdbaa8705f49b # 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 a3e36257f0c9f774ec81edf885f9fc4e99897b55 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 173252465490b9d9740a72c12effdbaa8705f49b # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T20:10:55.639Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T20:10:55.811Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T20:10:55.912Z] ========================================================= [2023-11-14T20:10:55.912Z] EdgeX Global Pipelines Version Info [2023-11-14T20:10:55.912Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:10:57.014Z] ------------------- [2023-11-14T20:10:57.014Z] stable info: [2023-11-14T20:10:57.014Z] ------------------- [2023-11-14T20:10:57.014Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T20:10:57.014Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T20:10:57.014Z] Message: update stable to v1.0.257 [2023-11-14T20:10:57.586Z] ------------------- [2023-11-14T20:10:57.587Z] experimental info: [2023-11-14T20:10:57.587Z] ------------------- [2023-11-14T20:10:57.587Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T20:10:57.587Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T20:10:57.587Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T20:10:57.869Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-11-14T20:10:57.911Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-11-14T20:10:57.955Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T20:10:57.994Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T20:10:58.032Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T20:10:58.070Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T20:10:58.109Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T20:10:58.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T20:10:58.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T20:10:58.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T20:10:58.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T20:10:58.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-11-14T20:10:58.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T20:10:58.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T20:10:58.456Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T20:10:58.505Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T20:10:58.548Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T20:10:58.590Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T20:10:58.634Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T20:10:58.678Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T20:10:58.722Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-14T20:10:58.765Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-14T20:10:58.810Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T20:10:58.855Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T20:10:58.910Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T20:10:58.955Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T20:10:59.001Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T20:10:59.056Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-450 [Pipeline] echo [2023-11-14T20:10:59.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-450 [Pipeline] echo [2023-11-14T20:10:59.155Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-450 [Pipeline] echo [2023-11-14T20:10:59.199Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 173252465490b9d9740a72c12effdbaa8705f49b [Pipeline] echo [2023-11-14T20:10:59.246Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1732524 [Pipeline] echo [2023-11-14T20:10:59.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T20:10:59.423Z] provisioning config files... [2023-11-14T20:10:59.438Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-450@tmp/config6657771802413472404tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:10:59.792Z] ---> docker-login.sh [2023-11-14T20:10:59.792Z] nexus3.edgexfoundry.org:10001 [2023-11-14T20:11:00.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:11:00.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:11:00.052Z] Configure a credential helper to remove this warning. See [2023-11-14T20:11:00.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:11:00.052Z] [2023-11-14T20:11:00.052Z] Login Succeeded [2023-11-14T20:11:00.052Z] nexus3.edgexfoundry.org:10002 [2023-11-14T20:11:00.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:11:00.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:11:00.313Z] Configure a credential helper to remove this warning. See [2023-11-14T20:11:00.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:11:00.313Z] [2023-11-14T20:11:00.313Z] Login Succeeded [2023-11-14T20:11:00.313Z] nexus3.edgexfoundry.org:10003 [2023-11-14T20:11:00.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:11:00.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:11:00.313Z] Configure a credential helper to remove this warning. See [2023-11-14T20:11:00.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:11:00.313Z] [2023-11-14T20:11:00.313Z] Login Succeeded [2023-11-14T20:11:00.313Z] nexus3.edgexfoundry.org:10004 [2023-11-14T20:11:00.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:11:00.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:11:00.574Z] Configure a credential helper to remove this warning. See [2023-11-14T20:11:00.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:11:00.574Z] [2023-11-14T20:11:00.574Z] Login Succeeded [2023-11-14T20:11:00.574Z] docker.io [2023-11-14T20:11:00.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:11:00.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:11:00.834Z] Configure a credential helper to remove this warning. See [2023-11-14T20:11:00.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:11:00.834Z] [2023-11-14T20:11:00.834Z] Login Succeeded [2023-11-14T20:11:00.834Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T20:11:00.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T20:11:01.478Z] + git rev-list -1 --merges 173252465490b9d9740a72c12effdbaa8705f49b~1..173252465490b9d9740a72c12effdbaa8705f49b [Pipeline] echo [2023-11-14T20:11:01.536Z] -----------> git rev-list -1 --merges 173252465490b9d9740a72c12effdbaa8705f49b~1..173252465490b9d9740a72c12effdbaa8705f49b 173252465490b9d9740a72c12effdbaa8705f49b [false] [Pipeline] sh [2023-11-14T20:11:01.855Z] + git log --format=format:%s -1 173252465490b9d9740a72c12effdbaa8705f49b [Pipeline] echo [2023-11-14T20:11:01.892Z] ========================================================= [2023-11-14T20:11:01.892Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T20:11:01.892Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T20:11:02.327Z] + git log --format=format:%s -1 173252465490b9d9740a72c12effdbaa8705f49b [Pipeline] echo [2023-11-14T20:11:02.362Z] [semverPrep] GIT_COMMIT: 173252465490b9d9740a72c12effdbaa8705f49b, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo [2023-11-14T20:11:02.392Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T20:11:02.765Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T20:11:02.765Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T20:11:02.765Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T20:11:02.765Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T20:11:02.765Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T20:11:02.765Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T20:11:02.765Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:11:03.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T20:11:03.199Z] [2023-11-14T20:11:03.199Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:11:03.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T20:11:03.626Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T20:11:03.626Z] b85a868b505f: Pulling fs layer [2023-11-14T20:11:03.626Z] e2be974225ed: Pulling fs layer [2023-11-14T20:11:03.626Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T20:11:03.626Z] 988bab9f4d93: Pulling fs layer [2023-11-14T20:11:03.626Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T20:11:03.626Z] eaf3925da568: Pulling fs layer [2023-11-14T20:11:03.626Z] bab4dde63d76: Pulling fs layer [2023-11-14T20:11:03.626Z] bde34c3a00c8: Pulling fs layer [2023-11-14T20:11:03.626Z] b352a97aabf1: Pulling fs layer [2023-11-14T20:11:03.626Z] 4872d77fe225: Pulling fs layer [2023-11-14T20:11:03.626Z] 5851b861e8e6: Pulling fs layer [2023-11-14T20:11:03.626Z] eaf3925da568: Waiting [2023-11-14T20:11:03.626Z] bab4dde63d76: Waiting [2023-11-14T20:11:03.626Z] 4872d77fe225: Waiting [2023-11-14T20:11:03.626Z] bde34c3a00c8: Waiting [2023-11-14T20:11:03.626Z] 5851b861e8e6: Waiting [2023-11-14T20:11:03.626Z] b352a97aabf1: Waiting [2023-11-14T20:11:03.626Z] 988bab9f4d93: Waiting [2023-11-14T20:11:03.626Z] 1469e6f7b9e6: Waiting [2023-11-14T20:11:03.626Z] e2be974225ed: Verifying Checksum [2023-11-14T20:11:03.626Z] e2be974225ed: Download complete [2023-11-14T20:11:03.626Z] 988bab9f4d93: Verifying Checksum [2023-11-14T20:11:03.626Z] 988bab9f4d93: Download complete [2023-11-14T20:11:03.626Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T20:11:03.626Z] 339a4e72a1f5: Download complete [2023-11-14T20:11:03.626Z] eaf3925da568: Verifying Checksum [2023-11-14T20:11:03.626Z] eaf3925da568: Download complete [2023-11-14T20:11:03.626Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T20:11:03.626Z] 1469e6f7b9e6: Download complete [2023-11-14T20:11:03.626Z] bde34c3a00c8: Verifying Checksum [2023-11-14T20:11:03.626Z] bde34c3a00c8: Download complete [2023-11-14T20:11:03.901Z] b352a97aabf1: Verifying Checksum [2023-11-14T20:11:03.901Z] b352a97aabf1: Download complete [2023-11-14T20:11:03.901Z] 4872d77fe225: Verifying Checksum [2023-11-14T20:11:03.901Z] 4872d77fe225: Download complete [2023-11-14T20:11:03.901Z] 5851b861e8e6: Download complete [2023-11-14T20:11:03.901Z] b85a868b505f: Verifying Checksum [2023-11-14T20:11:03.901Z] b85a868b505f: Download complete [2023-11-14T20:11:04.160Z] bab4dde63d76: Download complete [2023-11-14T20:11:05.093Z] b85a868b505f: Pull complete [2023-11-14T20:11:05.093Z] e2be974225ed: Pull complete [2023-11-14T20:11:05.658Z] 339a4e72a1f5: Pull complete [2023-11-14T20:11:05.658Z] 988bab9f4d93: Pull complete [2023-11-14T20:11:06.240Z] 1469e6f7b9e6: Pull complete [2023-11-14T20:11:06.240Z] eaf3925da568: Pull complete [2023-11-14T20:11:07.619Z] bab4dde63d76: Pull complete [2023-11-14T20:11:07.879Z] bde34c3a00c8: Pull complete [2023-11-14T20:11:07.879Z] b352a97aabf1: Pull complete [2023-11-14T20:11:08.139Z] 4872d77fe225: Pull complete [2023-11-14T20:11:08.139Z] 5851b861e8e6: Pull complete [2023-11-14T20:11:08.139Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T20:11:08.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T20:11:08.139Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:11:08.366Z] prd-ubuntu20.04-docker-8c-8g-17531 does not seem to be running inside a container [2023-11-14T20:11:08.394Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-450 -v /w/workspace/foundry_device-virtual-go_PR-450:/w/workspace/foundry_device-virtual-go_PR-450:rw,z -v /w/workspace/foundry_device-virtual-go_PR-450@tmp:/w/workspace/foundry_device-virtual-go_PR-450@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-11-14T20:11:12.157Z] $ docker top 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a -eo pid,comm [2023-11-14T20:11:12.217Z] 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-11-14T20:11:12.217Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T20:11:12.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T20:11:12.341Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T20:11:12.450Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T20:11:12.451Z] $ docker exec 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a ssh-agent [2023-11-14T20:11:12.559Z] SSH_AUTH_SOCK=/tmp/ssh-ceZvBb98ZWsH/agent.31 [2023-11-14T20:11:12.559Z] SSH_AGENT_PID=37 [2023-11-14T20:11:12.566Z] Running ssh-add (command line suppressed) [2023-11-14T20:11:12.664Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-450@tmp/private_key_14923632718450667347.key (/w/workspace/foundry_device-virtual-go_PR-450@tmp/private_key_14923632718450667347.key) [2023-11-14T20:11:12.682Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T20:11:13.014Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T20:11:13.039Z] $ docker exec --env ******** --env ******** 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a ssh-agent -k [2023-11-14T20:11:13.131Z] unset SSH_AUTH_SOCK; [2023-11-14T20:11:13.132Z] unset SSH_AGENT_PID; [2023-11-14T20:11:13.132Z] echo Agent pid 37 killed; [2023-11-14T20:11:13.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T20:11:13.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T20:11:13.229Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T20:11:13.336Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T20:11:13.337Z] $ docker exec 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a ssh-agent [2023-11-14T20:11:13.459Z] SSH_AUTH_SOCK=/tmp/ssh-rUWvUzEQLLXG/agent.69 [2023-11-14T20:11:13.459Z] SSH_AGENT_PID=75 [2023-11-14T20:11:13.464Z] Running ssh-add (command line suppressed) [2023-11-14T20:11:13.565Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-450@tmp/private_key_16131533052391624680.key (/w/workspace/foundry_device-virtual-go_PR-450@tmp/private_key_16131533052391624680.key) [2023-11-14T20:11:13.580Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T20:11:13.910Z] + git semver init [2023-11-14T20:11:14.171Z] 2023-11-14 20:11:14,072 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T20:11:14.171Z] 2023-11-14 20:11:14,072 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-450/.semver [2023-11-14T20:11:14.171Z] 2023-11-14 20:11:14,073 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-450/.semver [2023-11-14T20:11:14.171Z] 2023-11-14 20:11:14,073 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-450/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-450, universal_newlines=False, shell=None, istream=None) [2023-11-14T20:11:15.552Z] 2023-11-14 20:11:15,210 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-450/.git/info/exclude [2023-11-14T20:11:15.552Z] 2023-11-14 20:11:15,210 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-450/.semver/PR-450 with force:False [2023-11-14T20:11:15.552Z] 2023-11-14 20:11:15,210 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-450/.semver/PR-450 [2023-11-14T20:11:15.552Z] 2023-11-14 20:11:15,214 [execute] INFO git cat-file --batch-check [2023-11-14T20:11:15.552Z] 2023-11-14 20:11:15,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-450/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T20:11:15.552Z] 2023-11-14 20:11:15,222 [execute] INFO git cat-file --batch [2023-11-14T20:11:15.553Z] 2023-11-14 20:11:15,222 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-450/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T20:11:15.553Z] 2023-11-14 20:11:15,227 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-450/.semver/PR-450 [2023-11-14T20:11:15.553Z] 0.0.0 [Pipeline] } [2023-11-14T20:11:15.576Z] $ docker exec --env ******** --env ******** 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a ssh-agent -k [2023-11-14T20:11:15.685Z] unset SSH_AUTH_SOCK; [2023-11-14T20:11:15.685Z] unset SSH_AGENT_PID; [2023-11-14T20:11:15.685Z] echo Agent pid 75 killed; [2023-11-14T20:11:15.700Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T20:11:16.137Z] + git semver [Pipeline] } [2023-11-14T20:11:16.417Z] $ docker stop --time=1 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a [2023-11-14T20:11:17.722Z] $ docker rm -f --volumes 44265065a3e230710cdd39e3edf438348ec4a6dc44fee0860de2323bec47960a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T20:11:18.117Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T20:11:18.386Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T20:11:18.404Z] [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-11-14T20:11:18.996Z] provisioning config files... [2023-11-14T20:11:19.005Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-450@tmp/config9625211123336463072tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:11:19.358Z] ---> docker-login.sh [2023-11-14T20:11:19.358Z] nexus3.edgexfoundry.org:10001 [2023-11-14T20:11:19.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:11:19.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:11:19.358Z] Configure a credential helper to remove this warning. See [2023-11-14T20:11:19.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:11:19.358Z] [2023-11-14T20:11:19.358Z] Login Succeeded [2023-11-14T20:11:19.358Z] nexus3.edgexfoundry.org:10002 [2023-11-14T20:11:19.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:11:19.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:11:19.358Z] Configure a credential helper to remove this warning. See [2023-11-14T20:11:19.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:11:19.358Z] [2023-11-14T20:11:19.358Z] Login Succeeded [2023-11-14T20:11:19.358Z] nexus3.edgexfoundry.org:10003 [2023-11-14T20:11:19.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:11:19.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:11:19.712Z] Configure a credential helper to remove this warning. See [2023-11-14T20:11:19.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:11:19.712Z] [2023-11-14T20:11:19.712Z] Login Succeeded [2023-11-14T20:11:19.712Z] nexus3.edgexfoundry.org:10004 [2023-11-14T20:11:19.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:11:19.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:11:19.712Z] Configure a credential helper to remove this warning. See [2023-11-14T20:11:19.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:11:19.712Z] [2023-11-14T20:11:19.712Z] Login Succeeded [2023-11-14T20:11:19.712Z] docker.io [2023-11-14T20:11:19.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:11:19.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:11:19.971Z] Configure a credential helper to remove this warning. See [2023-11-14T20:11:19.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:11:19.971Z] [2023-11-14T20:11:19.971Z] Login Succeeded [2023-11-14T20:11:19.971Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T20:11:19.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T20:11:20.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T20:11:20.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T20:11:20.249Z] ========================================================= [2023-11-14T20:11:20.249Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T20:11:20.249Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:11:20.736Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T20:11:20.736Z] Sending build context to Docker daemon 23.7MB [2023-11-14T20:11:20.736Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T20:11:20.736Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T20:11:20.998Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T20:11:20.998Z] 7264a8db6415: Pulling fs layer [2023-11-14T20:11:20.998Z] c4d48a809fc2: Pulling fs layer [2023-11-14T20:11:20.998Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T20:11:20.998Z] ad3a456e5733: Pulling fs layer [2023-11-14T20:11:20.998Z] 69c7f0334f64: Pulling fs layer [2023-11-14T20:11:20.998Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T20:11:20.998Z] ce7588e14bc9: Pulling fs layer [2023-11-14T20:11:20.998Z] b5e4710f87ac: Pulling fs layer [2023-11-14T20:11:20.998Z] 1f1c1a5573a3: Waiting [2023-11-14T20:11:20.998Z] ce7588e14bc9: Waiting [2023-11-14T20:11:20.998Z] ad3a456e5733: Waiting [2023-11-14T20:11:20.998Z] b5e4710f87ac: Waiting [2023-11-14T20:11:20.998Z] 69c7f0334f64: Waiting [2023-11-14T20:11:20.998Z] c4d48a809fc2: Verifying Checksum [2023-11-14T20:11:20.998Z] c4d48a809fc2: Download complete [2023-11-14T20:11:20.998Z] ad3a456e5733: Verifying Checksum [2023-11-14T20:11:20.998Z] ad3a456e5733: Download complete [2023-11-14T20:11:20.998Z] 69c7f0334f64: Verifying Checksum [2023-11-14T20:11:20.998Z] 69c7f0334f64: Download complete [2023-11-14T20:11:20.998Z] 7264a8db6415: Verifying Checksum [2023-11-14T20:11:20.998Z] 7264a8db6415: Download complete [2023-11-14T20:11:20.998Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T20:11:20.998Z] 1f1c1a5573a3: Download complete [2023-11-14T20:11:21.259Z] 7264a8db6415: Pull complete [2023-11-14T20:11:21.259Z] c4d48a809fc2: Pull complete [2023-11-14T20:11:21.259Z] b5e4710f87ac: Verifying Checksum [2023-11-14T20:11:21.519Z] 4f1c88b9dad5: Verifying Checksum [2023-11-14T20:11:21.519Z] 4f1c88b9dad5: Download complete [2023-11-14T20:11:21.777Z] ce7588e14bc9: Download complete [2023-11-14T20:11:25.066Z] 4f1c88b9dad5: Pull complete [2023-11-14T20:11:25.066Z] ad3a456e5733: Pull complete [2023-11-14T20:11:25.066Z] 69c7f0334f64: Pull complete [2023-11-14T20:11:25.066Z] 1f1c1a5573a3: Pull complete [2023-11-14T20:11:27.597Z] ce7588e14bc9: Pull complete [2023-11-14T20:11:28.164Z] b5e4710f87ac: Pull complete [2023-11-14T20:11:28.164Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T20:11:28.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T20:11:28.164Z] ---> 88b5674ff536 [2023-11-14T20:11:28.164Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T20:11:33.813Z] Still waiting to schedule task [2023-11-14T20:11:33.813Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17530’ [2023-11-14T20:11:34.735Z] ---> Running in 1929a9a7164d [2023-11-14T20:11:34.994Z] Removing intermediate container 1929a9a7164d [2023-11-14T20:11:34.994Z] ---> a70f99fa9ea3 [2023-11-14T20:11:34.994Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T20:11:34.994Z] ---> Running in 31aa1471518d [2023-11-14T20:11:35.252Z] Removing intermediate container 31aa1471518d [2023-11-14T20:11:35.252Z] ---> 7cb3989a593d [2023-11-14T20:11:35.252Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T20:11:35.252Z] ---> Running in 23a2df18240e [2023-11-14T20:11:35.551Z] Removing intermediate container 23a2df18240e [2023-11-14T20:11:35.551Z] ---> 11da8e8ab1a9 [2023-11-14T20:11:35.551Z] Step 6/12 : WORKDIR /device-virtual-go [2023-11-14T20:11:35.551Z] ---> Running in 8d35cb0afa0d [2023-11-14T20:11:35.810Z] Removing intermediate container 8d35cb0afa0d [2023-11-14T20:11:35.810Z] ---> 98b5f82a32e1 [2023-11-14T20:11:35.810Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T20:11:35.810Z] ---> Running in 57642fb5e9b1 [2023-11-14T20:11:36.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:11:36.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T20:11:36.328Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T20:11:36.328Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T20:11:36.328Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T20:11:36.328Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T20:11:36.328Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T20:11:36.328Z] OK: 268 MiB in 56 packages [2023-11-14T20:11:37.329Z] Removing intermediate container 57642fb5e9b1 [2023-11-14T20:11:37.329Z] ---> f26a4dc3427c [2023-11-14T20:11:37.329Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-14T20:11:37.329Z] ---> 7106b26cabaf [2023-11-14T20:11:37.329Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T20:11:37.329Z] ---> Running in a1d83316180a [2023-11-14T20:12:16.125Z] Removing intermediate container a1d83316180a [2023-11-14T20:12:16.125Z] ---> 941bc5257708 [2023-11-14T20:12:16.125Z] Step 10/12 : COPY . . [2023-11-14T20:12:17.066Z] ---> e5330b5d197a [2023-11-14T20:12:17.066Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T20:12:17.066Z] ---> Running in abecda770344 [2023-11-14T20:12:17.066Z] Removing intermediate container abecda770344 [2023-11-14T20:12:17.066Z] ---> 6bac133c3510 [2023-11-14T20:12:17.066Z] Step 12/12 : RUN $MAKE [2023-11-14T20:12:17.066Z] ---> Running in 55e215a9305c [2023-11-14T20:12:17.638Z] noop [2023-11-14T20:12:17.638Z] Removing intermediate container 55e215a9305c [2023-11-14T20:12:17.638Z] ---> 05047cf7f9a1 [2023-11-14T20:12:17.638Z] Successfully built 05047cf7f9a1 [2023-11-14T20:12:17.897Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:12:18.353Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T20:12:18.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:12:18.497Z] prd-ubuntu20.04-docker-8c-8g-17531 does not seem to be running inside a container [2023-11-14T20:12:18.527Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-450 -v /w/workspace/foundry_device-virtual-go_PR-450:/w/workspace/foundry_device-virtual-go_PR-450:rw,z -v /w/workspace/foundry_device-virtual-go_PR-450@tmp:/w/workspace/foundry_device-virtual-go_PR-450@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-11-14T20:12:18.841Z] $ docker top c059338a571aa24a398bf2d49f95a34f22a0f52f4e1eb3282edee7ba08b767d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T20:12:19.235Z] + go version [2023-11-14T20:12:19.235Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T20:12:19.274Z] $ docker stop --time=1 c059338a571aa24a398bf2d49f95a34f22a0f52f4e1eb3282edee7ba08b767d9 [2023-11-14T20:12:20.527Z] $ docker rm -f --volumes c059338a571aa24a398bf2d49f95a34f22a0f52f4e1eb3282edee7ba08b767d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:12:21.284Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T20:12:21.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:12:21.455Z] prd-ubuntu20.04-docker-8c-8g-17531 does not seem to be running inside a container [2023-11-14T20:12:21.493Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-450 -v /w/workspace/foundry_device-virtual-go_PR-450:/w/workspace/foundry_device-virtual-go_PR-450:rw,z -v /w/workspace/foundry_device-virtual-go_PR-450@tmp:/w/workspace/foundry_device-virtual-go_PR-450@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-11-14T20:12:21.856Z] $ docker top accb64d4b0d08e4447d1fb17a7847ada036ac06e4d30ac0e17520e7db2e9902a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T20:12:22.250Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-450 [Pipeline] fileExists [Pipeline] sh [2023-11-14T20:12:22.603Z] + make test [2023-11-14T20:12:22.603Z] go test ./... -coverprofile=coverage.out [2023-11-14T20:12:24.508Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-11-14T20:12:34.474Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-11-14T20:12:34.474Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements [2023-11-14T20:12:39.736Z] go vet ./... [2023-11-14T20:12:42.263Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T20:12:42.263Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T20:12:42.263Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T20:12:42.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T20:12:42.329Z] $ docker stop --time=1 accb64d4b0d08e4447d1fb17a7847ada036ac06e4d30ac0e17520e7db2e9902a [2023-11-14T20:12:47.073Z] $ docker rm -f --volumes accb64d4b0d08e4447d1fb17a7847ada036ac06e4d30ac0e17520e7db2e9902a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T20:12:47.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T20:12:47.667Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T20:12:48.281Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T20:12:48.598Z] + ls -al . [2023-11-14T20:12:48.598Z] total 200 [2023-11-14T20:12:48.598Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 20:12 . [2023-11-14T20:12:48.598Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 20:10 .. [2023-11-14T20:12:48.598Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 20:12 .git [2023-11-14T20:12:48.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:10 .github [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 14 20:10 .gitignore [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 20:10 .golangci.yml [2023-11-14T20:12:48.598Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 20:11 .semver [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 9708 Nov 14 20:10 Attribution.txt [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 14 20:10 CHANGELOG.md [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 1755 Nov 14 20:10 Dockerfile [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 20:10 GOVERNANCE.md [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 14 20:10 Jenkinsfile [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 20:10 LICENSE [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 1947 Nov 14 20:10 Makefile [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 14 20:10 OWNERS.md [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 14 20:10 README.md [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 20:11 VERSION [2023-11-14T20:12:48.598Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 20:10 bin [2023-11-14T20:12:48.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:10 cmd [2023-11-14T20:12:48.598Z] -rw-r--r-- 1 jenkins jenkins 43063 Nov 14 20:12 coverage.out [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 3591 Nov 14 20:10 go.mod [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 34396 Nov 14 20:10 go.sum [2023-11-14T20:12:48.598Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:10 internal [2023-11-14T20:12:48.598Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 14 20:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:12:49.001Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=173252465490b9d9740a72c12effdbaa8705f49b --label arch=amd64 --label version=0.0.0 . [2023-11-14T20:12:49.002Z] Sending build context to Docker daemon 23.74MB [2023-11-14T20:12:49.002Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T20:12:49.002Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-14T20:12:49.002Z] ---> 05047cf7f9a1 [2023-11-14T20:12:49.002Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T20:12:49.589Z] ---> Running in 15263913a24e [2023-11-14T20:12:49.589Z] Removing intermediate container 15263913a24e [2023-11-14T20:12:49.589Z] ---> 776bfe1c2eb6 [2023-11-14T20:12:49.589Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T20:12:49.589Z] ---> Running in 7917b775549e [2023-11-14T20:12:49.589Z] Removing intermediate container 7917b775549e [2023-11-14T20:12:49.589Z] ---> fbf45c1697f7 [2023-11-14T20:12:49.589Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-11-14T20:12:49.848Z] ---> Running in 5208724b033d [2023-11-14T20:12:49.848Z] Removing intermediate container 5208724b033d [2023-11-14T20:12:49.848Z] ---> 58e37203433c [2023-11-14T20:12:49.848Z] Step 6/26 : WORKDIR /device-virtual-go [2023-11-14T20:12:49.848Z] ---> Running in ed1f61461317 [2023-11-14T20:12:49.848Z] Removing intermediate container ed1f61461317 [2023-11-14T20:12:49.848Z] ---> 98b0d593485f [2023-11-14T20:12:49.848Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T20:12:49.848Z] ---> Running in cbe369e37e30 [2023-11-14T20:12:50.106Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:12:50.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T20:12:50.624Z] OK: 268 MiB in 56 packages [2023-11-14T20:12:50.882Z] Removing intermediate container cbe369e37e30 [2023-11-14T20:12:50.882Z] ---> 815e17a07790 [2023-11-14T20:12:50.882Z] Step 8/26 : COPY go.mod vendor* ./ [2023-11-14T20:12:51.140Z] ---> 77c5d3afe4c4 [2023-11-14T20:12:51.140Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T20:12:51.140Z] ---> Running in 2ac185ba8822 [2023-11-14T20:12:52.074Z] Removing intermediate container 2ac185ba8822 [2023-11-14T20:12:52.074Z] ---> 6ab0c61f54c2 [2023-11-14T20:12:52.074Z] Step 10/26 : COPY . . [2023-11-14T20:12:52.640Z] ---> 3ac2f71de434 [2023-11-14T20:12:52.640Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T20:12:52.640Z] ---> Running in 1aa8966fbb9f [2023-11-14T20:12:52.640Z] Removing intermediate container 1aa8966fbb9f [2023-11-14T20:12:52.640Z] ---> 218ca385a86b [2023-11-14T20:12:52.640Z] Step 12/26 : RUN $MAKE [2023-11-14T20:12:52.640Z] ---> Running in 5469f5beea3e [2023-11-14T20:12:52.898Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-11-14T20:13:14.821Z] Removing intermediate container 5469f5beea3e [2023-11-14T20:13:14.821Z] ---> 62923740439d [2023-11-14T20:13:14.821Z] Step 13/26 : FROM alpine:3.18 [2023-11-14T20:13:14.821Z] 3.18: Pulling from library/alpine [2023-11-14T20:13:14.821Z] 96526aa774ef: Pulling fs layer [2023-11-14T20:13:14.821Z] 96526aa774ef: Download complete [2023-11-14T20:13:14.821Z] 96526aa774ef: Pull complete [2023-11-14T20:13:14.821Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T20:13:14.821Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T20:13:14.821Z] ---> 8ca4688f4f35 [2023-11-14T20:13:14.821Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-11-14T20:13:14.821Z] ---> Running in eb623f9773c8 [2023-11-14T20:13:14.821Z] Removing intermediate container eb623f9773c8 [2023-11-14T20:13:14.821Z] ---> af19c488578f [2023-11-14T20:13:14.821Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-14T20:13:14.821Z] ---> Running in dfeaed6d5bae [2023-11-14T20:13:14.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:13:14.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T20:13:14.822Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T20:13:14.822Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T20:13:14.822Z] OK: 7 MiB in 16 packages [2023-11-14T20:13:14.822Z] Removing intermediate container dfeaed6d5bae [2023-11-14T20:13:14.822Z] ---> e8797b2d6107 [2023-11-14T20:13:14.822Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-14T20:13:14.822Z] ---> Running in 05537182d911 [2023-11-14T20:13:15.080Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T20:13:15.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T20:13:15.339Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T20:13:15.339Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T20:13:15.339Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T20:13:15.339Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T20:13:15.598Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T20:13:15.598Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T20:13:15.598Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T20:13:15.598Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T20:13:15.598Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T20:13:15.598Z] OK: 7 MiB in 16 packages [2023-11-14T20:13:16.164Z] Removing intermediate container 05537182d911 [2023-11-14T20:13:16.164Z] ---> ec35d194f0b5 [2023-11-14T20:13:16.164Z] Step 17/26 : WORKDIR / [2023-11-14T20:13:16.164Z] ---> Running in 1ea1de38270c [2023-11-14T20:13:16.164Z] Removing intermediate container 1ea1de38270c [2023-11-14T20:13:16.164Z] ---> 54667a56d7c2 [2023-11-14T20:13:16.164Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-11-14T20:13:16.422Z] ---> f84b8776061d [2023-11-14T20:13:16.422Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2023-11-14T20:13:16.422Z] ---> 0e1050cf2fbf [2023-11-14T20:13:16.422Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2023-11-14T20:13:17.356Z] ---> 404d6987c47b [2023-11-14T20:13:17.356Z] Step 21/26 : EXPOSE 59900 [2023-11-14T20:13:17.632Z] ---> Running in 799047c4e749 [2023-11-14T20:13:17.632Z] Removing intermediate container 799047c4e749 [2023-11-14T20:13:17.632Z] ---> 574c86b3f5cd [2023-11-14T20:13:17.632Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2023-11-14T20:13:17.632Z] ---> Running in 27a6464f365c [2023-11-14T20:13:17.894Z] Removing intermediate container 27a6464f365c [2023-11-14T20:13:17.894Z] ---> 40a83ad7afba [2023-11-14T20:13:17.894Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T20:13:17.894Z] ---> Running in 1c50fa19e0e1 [2023-11-14T20:13:17.894Z] Removing intermediate container 1c50fa19e0e1 [2023-11-14T20:13:17.894Z] ---> d4300526f727 [2023-11-14T20:13:17.894Z] Step 24/26 : LABEL arch=amd64 [2023-11-14T20:13:18.152Z] ---> Running in a9e097718b5a [2023-11-14T20:13:18.152Z] Removing intermediate container a9e097718b5a [2023-11-14T20:13:18.152Z] ---> a4fc7cbac18b [2023-11-14T20:13:18.152Z] Step 25/26 : LABEL git_sha=173252465490b9d9740a72c12effdbaa8705f49b [2023-11-14T20:13:18.152Z] ---> Running in 2b799d4e0cf1 [2023-11-14T20:13:18.152Z] Removing intermediate container 2b799d4e0cf1 [2023-11-14T20:13:18.152Z] ---> 539fdd2d8e0f [2023-11-14T20:13:18.152Z] Step 26/26 : LABEL version=0.0.0 [2023-11-14T20:13:18.152Z] ---> Running in f84e95ec1046 [2023-11-14T20:13:18.411Z] Removing intermediate container f84e95ec1046 [2023-11-14T20:13:18.411Z] ---> 25c1fee80626 [2023-11-14T20:13:18.411Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T20:13:18.411Z] Successfully built 25c1fee80626 [2023-11-14T20:13:18.411Z] Successfully tagged device-virtual: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-11-14T20:13:19.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T20:13:19.283Z] [2023-11-14T20:13:19.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:13:19.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T20:13:19.664Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T20:13:19.664Z] 5eb5b503b376: Pulling fs layer [2023-11-14T20:13:19.664Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T20:13:19.664Z] ec43610c2a17: Pulling fs layer [2023-11-14T20:13:19.664Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T20:13:19.664Z] 33b1e0a273af: Pulling fs layer [2023-11-14T20:13:19.664Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T20:13:19.664Z] 2f39f015ded8: Pulling fs layer [2023-11-14T20:13:19.664Z] 5d3b04190fa2: Waiting [2023-11-14T20:13:19.664Z] 2f39f015ded8: Waiting [2023-11-14T20:13:19.664Z] 3a2ae6a8a46f: Waiting [2023-11-14T20:13:19.664Z] 33b1e0a273af: Waiting [2023-11-14T20:13:19.664Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T20:13:19.664Z] 5c69ac0246d0: Download complete [2023-11-14T20:13:19.664Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T20:13:19.664Z] 3a2ae6a8a46f: Download complete [2023-11-14T20:13:19.664Z] ec43610c2a17: Verifying Checksum [2023-11-14T20:13:19.664Z] ec43610c2a17: Download complete [2023-11-14T20:13:19.664Z] 33b1e0a273af: Verifying Checksum [2023-11-14T20:13:19.664Z] 33b1e0a273af: Download complete [2023-11-14T20:13:19.664Z] 5d3b04190fa2: Verifying Checksum [2023-11-14T20:13:19.664Z] 5d3b04190fa2: Download complete [2023-11-14T20:13:19.921Z] 5eb5b503b376: Verifying Checksum [2023-11-14T20:13:19.921Z] 5eb5b503b376: Download complete [2023-11-14T20:13:20.486Z] 2f39f015ded8: Download complete [2023-11-14T20:13:21.421Z] 5eb5b503b376: Pull complete [2023-11-14T20:13:21.421Z] 5c69ac0246d0: Pull complete [2023-11-14T20:13:21.988Z] ec43610c2a17: Pull complete [2023-11-14T20:13:21.988Z] 3a2ae6a8a46f: Pull complete [2023-11-14T20:13:22.246Z] 33b1e0a273af: Pull complete [2023-11-14T20:13:22.813Z] 5d3b04190fa2: Pull complete [2023-11-14T20:13:26.995Z] 2f39f015ded8: Pull complete [2023-11-14T20:13:26.995Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T20:13:26.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T20:13:26.995Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:13:27.204Z] prd-ubuntu20.04-docker-8c-8g-17531 does not seem to be running inside a container [2023-11-14T20:13:27.233Z] $ 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/foundry_device-virtual-go_PR-450 -v /w/workspace/foundry_device-virtual-go_PR-450:/w/workspace/foundry_device-virtual-go_PR-450:rw,z -v /w/workspace/foundry_device-virtual-go_PR-450@tmp:/w/workspace/foundry_device-virtual-go_PR-450@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-11-14T20:13:34.086Z] $ docker top 148c6fea8ba204368f948de69a84bf09edb77e07770c7ebe7bcc9b85b87a43ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:13:34.516Z] ---> job-cost.sh [2023-11-14T20:13:34.517Z] lf-activate-venv: SKIPPING [2023-11-14T20:13:34.517Z] INFO: No Stack... [2023-11-14T20:13:34.776Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T20:13:35.342Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T20:13:35.660Z] + cat /w/workspace/foundry_device-virtual-go_PR-450/archives/cost.csv [2023-11-14T20:13:35.660Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T20:13:35.700Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] [2023-11-14T20:13:35.705Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] did not exist. Created. [2023-11-14T20:13:35.705Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T20:13:36.101Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-14T20:13:36.155Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T20:13:36.186Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T20:13:36.264Z] $ docker stop --time=1 148c6fea8ba204368f948de69a84bf09edb77e07770c7ebe7bcc9b85b87a43ff [2023-11-14T20:13:37.440Z] $ docker rm -f --volumes 148c6fea8ba204368f948de69a84bf09edb77e07770c7ebe7bcc9b85b87a43ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T20:15:03.329Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17532 in /w/workspace/foundry_device-virtual-go_PR-450 [Pipeline] { [Pipeline] ws [2023-11-14T20:15:03.401Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-11-14T20:15:03.478Z] The recommended git tool is: git [2023-11-14T20:15:08.733Z] using credential edgex-jenkins-ssh [2023-11-14T20:15:08.749Z] Cloning the remote Git repository [2023-11-14T20:15:08.785Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-11-14T20:15:08.897Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-11-14T20:15:09.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-11-14T20:15:09.033Z] > git --version # timeout=10 [2023-11-14T20:15:09.058Z] > git --version # 'git version 2.25.1' [2023-11-14T20:15:09.061Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T20:15:09.218Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T20:15:11.364Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-11-14T20:15:11.393Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T20:15:12.284Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-11-14T20:15:13.004Z] Merging remotes/origin/main commit a3e36257f0c9f774ec81edf885f9fc4e99897b55 into PR head commit 173252465490b9d9740a72c12effdbaa8705f49b [2023-11-14T20:15:13.303Z] Merge succeeded, producing 173252465490b9d9740a72c12effdbaa8705f49b [2023-11-14T20:15:13.304Z] Checking out Revision 173252465490b9d9740a72c12effdbaa8705f49b (PR-450) [2023-11-14T20:15:12.334Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-11-14T20:15:12.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T20:15:12.353Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/450/head:refs/remotes/origin/PR-450 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T20:15:13.019Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T20:15:13.105Z] > git checkout -f 173252465490b9d9740a72c12effdbaa8705f49b # timeout=10 [2023-11-14T20:15:13.196Z] > git remote # timeout=10 [2023-11-14T20:15:13.216Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T20:15:13.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T20:15:13.246Z] > git merge a3e36257f0c9f774ec81edf885f9fc4e99897b55 # timeout=10 [2023-11-14T20:15:13.275Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T20:15:13.305Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T20:15:13.321Z] > git checkout -f 173252465490b9d9740a72c12effdbaa8705f49b # timeout=10 [2023-11-14T20:15:16.999Z] Commit message: "fix: Address CVE in Alpine base image" [2023-11-14T20:15:17.045Z] > git --version # timeout=10 [2023-11-14T20:15:17.055Z] > git --version # 'git version 2.25.1' [2023-11-14T20:15:17.068Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T20:15:18.275Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T20:15:18.275Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T20:15:18.275Z] Dload Upload Total Spent Left Speed [2023-11-14T20:15:18.275Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 89943 0 --:--:-- --:--:-- --:--:-- 89943 [Pipeline] sh [2023-11-14T20:15:19.014Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T20:15:19.367Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T20:15:19.367Z] + sudo tee /etc/docker/daemon.new [2023-11-14T20:15:19.367Z] { [2023-11-14T20:15:19.367Z] "registry-mirrors": [ [2023-11-14T20:15:19.367Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T20:15:19.367Z] ], [2023-11-14T20:15:19.367Z] "bip": "10.250.0.254/24", [2023-11-14T20:15:19.367Z] "hosts": [ [2023-11-14T20:15:19.367Z] "tcp://0.0.0.0:5555", [2023-11-14T20:15:19.367Z] "unix:///var/run/docker.sock" [2023-11-14T20:15:19.367Z] ], [2023-11-14T20:15:19.367Z] "mtu": 1458, [2023-11-14T20:15:19.367Z] "selinux-enabled": true, [2023-11-14T20:15:19.367Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T20:15:19.367Z] } [Pipeline] sh [2023-11-14T20:15:19.716Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T20:15:20.063Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T20:15:38.391Z] provisioning config files... [2023-11-14T20:15:38.419Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config9110806944543746899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:15:38.812Z] ---> docker-login.sh [2023-11-14T20:15:38.812Z] nexus3.edgexfoundry.org:10001 [2023-11-14T20:15:39.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:15:39.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:15:39.399Z] Configure a credential helper to remove this warning. See [2023-11-14T20:15:39.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:15:39.399Z] [2023-11-14T20:15:39.399Z] Login Succeeded [2023-11-14T20:15:39.399Z] nexus3.edgexfoundry.org:10002 [2023-11-14T20:15:39.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:15:39.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:15:39.938Z] Configure a credential helper to remove this warning. See [2023-11-14T20:15:39.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:15:39.938Z] [2023-11-14T20:15:39.938Z] Login Succeeded [2023-11-14T20:15:39.938Z] nexus3.edgexfoundry.org:10003 [2023-11-14T20:15:40.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:15:40.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:15:40.212Z] Configure a credential helper to remove this warning. See [2023-11-14T20:15:40.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:15:40.212Z] [2023-11-14T20:15:40.212Z] Login Succeeded [2023-11-14T20:15:40.212Z] nexus3.edgexfoundry.org:10004 [2023-11-14T20:15:40.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:15:40.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:15:40.756Z] Configure a credential helper to remove this warning. See [2023-11-14T20:15:40.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:15:40.756Z] [2023-11-14T20:15:40.756Z] Login Succeeded [2023-11-14T20:15:40.756Z] docker.io [2023-11-14T20:15:41.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T20:15:41.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T20:15:41.294Z] Configure a credential helper to remove this warning. See [2023-11-14T20:15:41.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T20:15:41.294Z] [2023-11-14T20:15:41.294Z] Login Succeeded [2023-11-14T20:15:41.294Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T20:15:41.327Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T20:15:41.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T20:15:41.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T20:15:41.794Z] ========================================================= [2023-11-14T20:15:41.794Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T20:15:41.794Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:15:42.312Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T20:15:42.900Z] Sending build context to Docker daemon 11.98MB [2023-11-14T20:15:42.900Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T20:15:42.900Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T20:15:42.900Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T20:15:42.900Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T20:15:42.900Z] 5d54e960e981: Pulling fs layer [2023-11-14T20:15:42.900Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T20:15:42.900Z] f0e02332f6b5: Pulling fs layer [2023-11-14T20:15:42.900Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T20:15:42.900Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T20:15:42.900Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T20:15:42.900Z] 872ee5b61b7b: Waiting [2023-11-14T20:15:42.900Z] 0c6a40ed1a82: Waiting [2023-11-14T20:15:42.900Z] 94ae7d8d031c: Waiting [2023-11-14T20:15:42.900Z] f0e02332f6b5: Waiting [2023-11-14T20:15:42.900Z] 5d54e960e981: Download complete [2023-11-14T20:15:42.900Z] f0e02332f6b5: Verifying Checksum [2023-11-14T20:15:42.900Z] f0e02332f6b5: Download complete [2023-11-14T20:15:43.177Z] 872ee5b61b7b: Verifying Checksum [2023-11-14T20:15:43.178Z] 872ee5b61b7b: Download complete [2023-11-14T20:15:43.178Z] 9fda8d8052c6: Download complete [2023-11-14T20:15:43.450Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T20:15:43.450Z] 94ae7d8d031c: Download complete [2023-11-14T20:15:44.869Z] c4a7e357bf2a: Verifying Checksum [2023-11-14T20:15:44.869Z] c4a7e357bf2a: Download complete [2023-11-14T20:15:45.836Z] 0c6a40ed1a82: Verifying Checksum [2023-11-14T20:15:45.836Z] 0c6a40ed1a82: Download complete [2023-11-14T20:15:47.785Z] 9fda8d8052c6: Pull complete [2023-11-14T20:15:48.053Z] 5d54e960e981: Pull complete [2023-11-14T20:16:03.063Z] c4a7e357bf2a: Pull complete [2023-11-14T20:16:03.063Z] f0e02332f6b5: Pull complete [2023-11-14T20:16:03.063Z] 872ee5b61b7b: Pull complete [2023-11-14T20:16:11.295Z] 0c6a40ed1a82: Pull complete [2023-11-14T20:16:12.709Z] 94ae7d8d031c: Pull complete [2023-11-14T20:16:12.709Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T20:16:12.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T20:16:12.709Z] ---> 86de565de09d [2023-11-14T20:16:12.709Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T20:16:13.681Z] ---> Running in 880b8eb4028e [2023-11-14T20:16:13.948Z] Removing intermediate container 880b8eb4028e [2023-11-14T20:16:13.948Z] ---> 40fb8e281f12 [2023-11-14T20:16:13.948Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T20:16:13.948Z] ---> Running in 5a1ad6b6a6e3 [2023-11-14T20:16:14.216Z] Removing intermediate container 5a1ad6b6a6e3 [2023-11-14T20:16:14.216Z] ---> 3239f79d6a8b [2023-11-14T20:16:14.216Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T20:16:14.486Z] ---> Running in 6935133efed8 [2023-11-14T20:16:14.754Z] Removing intermediate container 6935133efed8 [2023-11-14T20:16:14.754Z] ---> 779e32b93bfc [2023-11-14T20:16:14.754Z] Step 6/12 : WORKDIR /device-virtual-go [2023-11-14T20:16:14.754Z] ---> Running in f7c3da779f27 [2023-11-14T20:16:15.021Z] Removing intermediate container f7c3da779f27 [2023-11-14T20:16:15.021Z] ---> aa142f3dc4d6 [2023-11-14T20:16:15.021Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T20:16:15.287Z] ---> Running in 6674ed72e47e [2023-11-14T20:16:16.246Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:16:16.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T20:16:17.787Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T20:16:17.787Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T20:16:17.787Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T20:16:17.787Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T20:16:17.787Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T20:16:18.054Z] OK: 271 MiB in 56 packages [2023-11-14T20:16:19.012Z] Removing intermediate container 6674ed72e47e [2023-11-14T20:16:19.012Z] ---> 2b3d42b4b5df [2023-11-14T20:16:19.012Z] Step 8/12 : COPY go.mod vendor* ./ [2023-11-14T20:16:19.281Z] ---> 1ac6d2dd0f4e [2023-11-14T20:16:19.281Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T20:16:19.564Z] ---> Running in ef69a8440bb1 [2023-11-14T20:17:41.193Z] Removing intermediate container ef69a8440bb1 [2023-11-14T20:17:41.193Z] ---> a3aeb6bab292 [2023-11-14T20:17:41.193Z] Step 10/12 : COPY . . [2023-11-14T20:17:41.193Z] ---> 267ff3c8ef7f [2023-11-14T20:17:41.193Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T20:17:41.193Z] ---> Running in 0f0b30001d9a [2023-11-14T20:17:41.193Z] Removing intermediate container 0f0b30001d9a [2023-11-14T20:17:41.193Z] ---> 8340d53f5aea [2023-11-14T20:17:41.193Z] Step 12/12 : RUN $MAKE [2023-11-14T20:17:41.193Z] ---> Running in de8d528aaa23 [2023-11-14T20:17:41.193Z] noop [2023-11-14T20:17:41.193Z] Removing intermediate container de8d528aaa23 [2023-11-14T20:17:41.193Z] ---> d106fa5b12c1 [2023-11-14T20:17:41.193Z] Successfully built d106fa5b12c1 [2023-11-14T20:17:41.193Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:17:41.693Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T20:17:41.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:17:41.998Z] prd-ubuntu20.04-docker-arm64-4c-16g-17532 does not seem to be running inside a container [2023-11-14T20:17:42.076Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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-11-14T20:17:43.369Z] $ docker top b9015bbb4663627b6e148068d7d239d6967d36c16c298f496879ad1bed07d300 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T20:17:44.273Z] + go version [2023-11-14T20:17:44.273Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T20:17:44.317Z] $ docker stop --time=1 b9015bbb4663627b6e148068d7d239d6967d36c16c298f496879ad1bed07d300 [2023-11-14T20:17:45.971Z] $ docker rm -f --volumes b9015bbb4663627b6e148068d7d239d6967d36c16c298f496879ad1bed07d300 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:17:46.844Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T20:17:46.844Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:17:47.123Z] prd-ubuntu20.04-docker-arm64-4c-16g-17532 does not seem to be running inside a container [2023-11-14T20:17:47.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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-11-14T20:17:48.381Z] $ docker top 108ecfbdb40b3c0c82e7855a6f3aa4f6cccfba3599a9b461e5ec5332452932ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T20:17:48.950Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-14T20:17:49.919Z] + make test [2023-11-14T20:17:49.919Z] go test ./... -coverprofile=coverage.out [2023-11-14T20:17:54.192Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-11-14T20:19:30.868Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-11-14T20:19:30.868Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.071s coverage: 58.4% of statements [2023-11-14T20:19:30.868Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T20:19:30.868Z] go vet ./... [2023-11-14T20:19:45.868Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T20:19:45.868Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T20:19:45.868Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T20:19:45.919Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T20:19:45.958Z] $ docker stop --time=1 108ecfbdb40b3c0c82e7855a6f3aa4f6cccfba3599a9b461e5ec5332452932ac [2023-11-14T20:19:51.393Z] $ docker rm -f --volumes 108ecfbdb40b3c0c82e7855a6f3aa4f6cccfba3599a9b461e5ec5332452932ac [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T20:19:52.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T20:19:52.627Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T20:19:53.274Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T20:19:53.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T20:19:54.293Z] + ls -al . [2023-11-14T20:19:54.294Z] total 196 [2023-11-14T20:19:54.294Z] drwxrwxr-x 7 jenkins jenkins 4096 Nov 14 20:17 . [2023-11-14T20:19:54.294Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 20:15 .. [2023-11-14T20:19:54.294Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 20:15 .git [2023-11-14T20:19:54.294Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:15 .github [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 272 Nov 14 20:15 .gitignore [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 20:15 .golangci.yml [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 9708 Nov 14 20:15 Attribution.txt [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 15941 Nov 14 20:15 CHANGELOG.md [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 1755 Nov 14 20:15 Dockerfile [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 20:15 GOVERNANCE.md [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 660 Nov 14 20:15 Jenkinsfile [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 20:15 LICENSE [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 1947 Nov 14 20:15 Makefile [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 623 Nov 14 20:15 OWNERS.md [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 4103 Nov 14 20:15 README.md [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 20:11 VERSION [2023-11-14T20:19:54.294Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 20:15 bin [2023-11-14T20:19:54.294Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:15 cmd [2023-11-14T20:19:54.294Z] -rw-r--r-- 1 jenkins jenkins 43063 Nov 14 20:19 coverage.out [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 3591 Nov 14 20:15 go.mod [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 34396 Nov 14 20:15 go.sum [2023-11-14T20:19:54.294Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 20:15 internal [2023-11-14T20:19:54.294Z] -rw-rw-r-- 1 jenkins jenkins 235 Nov 14 20:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:19:54.735Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=173252465490b9d9740a72c12effdbaa8705f49b --label arch=arm64 --label version=0.0.0 . [2023-11-14T20:19:56.161Z] Sending build context to Docker daemon 12.03MB [2023-11-14T20:19:56.161Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T20:19:56.161Z] Step 2/26 : FROM ${BASE} AS builder [2023-11-14T20:19:56.161Z] ---> d106fa5b12c1 [2023-11-14T20:19:56.161Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T20:19:56.161Z] ---> Running in 7b1398e7ce6f [2023-11-14T20:19:56.428Z] Removing intermediate container 7b1398e7ce6f [2023-11-14T20:19:56.428Z] ---> 7ad0665f0d19 [2023-11-14T20:19:56.428Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T20:19:56.428Z] ---> Running in b98312e19669 [2023-11-14T20:19:56.696Z] Removing intermediate container b98312e19669 [2023-11-14T20:19:56.696Z] ---> 3962a252fd7e [2023-11-14T20:19:56.696Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2023-11-14T20:19:56.964Z] ---> Running in 6a137896e7f0 [2023-11-14T20:19:57.231Z] Removing intermediate container 6a137896e7f0 [2023-11-14T20:19:57.231Z] ---> 8a206f6bebb9 [2023-11-14T20:19:57.231Z] Step 6/26 : WORKDIR /device-virtual-go [2023-11-14T20:19:57.231Z] ---> Running in 5c7e48e331c0 [2023-11-14T20:19:59.177Z] Removing intermediate container 5c7e48e331c0 [2023-11-14T20:19:59.177Z] ---> 45ece6ec8f66 [2023-11-14T20:19:59.177Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T20:19:59.177Z] ---> Running in 35de323c41fe [2023-11-14T20:20:00.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:20:00.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T20:20:01.694Z] OK: 271 MiB in 56 packages [2023-11-14T20:20:07.039Z] Removing intermediate container 35de323c41fe [2023-11-14T20:20:07.039Z] ---> 78a4147dc756 [2023-11-14T20:20:07.039Z] Step 8/26 : COPY go.mod vendor* ./ [2023-11-14T20:20:07.039Z] ---> b7739e34b884 [2023-11-14T20:20:07.039Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T20:20:07.039Z] ---> Running in 62039a8f4df8 [2023-11-14T20:20:11.305Z] Removing intermediate container 62039a8f4df8 [2023-11-14T20:20:11.305Z] ---> 8947e87f2d72 [2023-11-14T20:20:11.305Z] Step 10/26 : COPY . . [2023-11-14T20:20:11.895Z] ---> 14c5bf1f5425 [2023-11-14T20:20:11.895Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T20:20:11.895Z] ---> Running in 8c1ac3098904 [2023-11-14T20:20:12.163Z] Removing intermediate container 8c1ac3098904 [2023-11-14T20:20:12.163Z] ---> 4e3abcab19a4 [2023-11-14T20:20:12.163Z] Step 12/26 : RUN $MAKE [2023-11-14T20:20:12.163Z] ---> Running in 69b171d09129 [2023-11-14T20:20:13.122Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-11-14T20:22:04.796Z] Removing intermediate container 69b171d09129 [2023-11-14T20:22:04.796Z] ---> 6b8a727af78e [2023-11-14T20:22:04.796Z] Step 13/26 : FROM alpine:3.18 [2023-11-14T20:22:04.796Z] 3.18: Pulling from library/alpine [2023-11-14T20:22:04.796Z] 579b34f0a95b: Pulling fs layer [2023-11-14T20:22:04.796Z] 579b34f0a95b: Download complete [2023-11-14T20:22:04.796Z] 579b34f0a95b: Pull complete [2023-11-14T20:22:04.796Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T20:22:04.796Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T20:22:04.796Z] ---> 3cc203321400 [2023-11-14T20:22:04.796Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-11-14T20:22:04.796Z] ---> Running in 694a21d3ad97 [2023-11-14T20:22:04.796Z] Removing intermediate container 694a21d3ad97 [2023-11-14T20:22:04.796Z] ---> 7e1478071010 [2023-11-14T20:22:04.796Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2023-11-14T20:22:04.796Z] ---> Running in 2c3f199de4cc [2023-11-14T20:22:04.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:22:04.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T20:22:04.796Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T20:22:04.796Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T20:22:04.796Z] OK: 8 MiB in 16 packages [2023-11-14T20:22:04.797Z] Removing intermediate container 2c3f199de4cc [2023-11-14T20:22:04.797Z] ---> a37b516f5990 [2023-11-14T20:22:04.797Z] Step 16/26 : RUN apk --no-cache upgrade [2023-11-14T20:22:04.797Z] ---> Running in 3186bcd32e9f [2023-11-14T20:22:04.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T20:22:04.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T20:22:04.797Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T20:22:04.797Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T20:22:04.797Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T20:22:04.797Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T20:22:04.797Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T20:22:04.797Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T20:22:04.797Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T20:22:04.797Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T20:22:04.797Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T20:22:04.797Z] OK: 8 MiB in 16 packages [2023-11-14T20:22:04.797Z] Removing intermediate container 3186bcd32e9f [2023-11-14T20:22:04.797Z] ---> 48c5d72574b8 [2023-11-14T20:22:04.797Z] Step 17/26 : WORKDIR / [2023-11-14T20:22:04.797Z] ---> Running in 735bb21e0794 [2023-11-14T20:22:04.797Z] Removing intermediate container 735bb21e0794 [2023-11-14T20:22:04.797Z] ---> 20d0dc81474e [2023-11-14T20:22:04.797Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-11-14T20:22:04.797Z] ---> f4242f6fb976 [2023-11-14T20:22:04.797Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2023-11-14T20:22:04.797Z] ---> 99aa74ed390e [2023-11-14T20:22:04.797Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2023-11-14T20:22:04.797Z] ---> d64789dd65b6 [2023-11-14T20:22:04.797Z] Step 21/26 : EXPOSE 59900 [2023-11-14T20:22:04.797Z] ---> Running in 3dd22334237c [2023-11-14T20:22:04.797Z] Removing intermediate container 3dd22334237c [2023-11-14T20:22:04.797Z] ---> 35daf6b09783 [2023-11-14T20:22:04.797Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2023-11-14T20:22:04.797Z] ---> Running in 52e454eb5b88 [2023-11-14T20:22:04.797Z] Removing intermediate container 52e454eb5b88 [2023-11-14T20:22:04.797Z] ---> 70d78d997cd0 [2023-11-14T20:22:04.797Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T20:22:04.797Z] ---> Running in 6c9f3b8190ca [2023-11-14T20:22:05.377Z] Removing intermediate container 6c9f3b8190ca [2023-11-14T20:22:05.377Z] ---> a5821c46b7f8 [2023-11-14T20:22:05.377Z] Step 24/26 : LABEL arch=arm64 [2023-11-14T20:22:05.377Z] ---> Running in e0772bf72212 [2023-11-14T20:22:05.642Z] Removing intermediate container e0772bf72212 [2023-11-14T20:22:05.642Z] ---> 7a3f52624a6a [2023-11-14T20:22:05.642Z] Step 25/26 : LABEL git_sha=173252465490b9d9740a72c12effdbaa8705f49b [2023-11-14T20:22:05.642Z] ---> Running in 1233a435f943 [2023-11-14T20:22:05.908Z] Removing intermediate container 1233a435f943 [2023-11-14T20:22:05.908Z] ---> 3a81f0021c25 [2023-11-14T20:22:05.908Z] Step 26/26 : LABEL version=0.0.0 [2023-11-14T20:22:05.908Z] ---> Running in 4c83598c6950 [2023-11-14T20:22:06.174Z] Removing intermediate container 4c83598c6950 [2023-11-14T20:22:06.174Z] ---> 708e4f82ef3b [2023-11-14T20:22:06.174Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T20:22:06.174Z] Successfully built 708e4f82ef3b [2023-11-14T20:22:06.174Z] Successfully tagged device-virtual-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-11-14T20:22:06.981Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T20:22:06.981Z] [2023-11-14T20:22:06.981Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:22:07.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T20:22:07.385Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T20:22:07.385Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T20:22:07.385Z] 04944245beec: Pulling fs layer [2023-11-14T20:22:07.385Z] 699f458cf7ca: Pulling fs layer [2023-11-14T20:22:07.385Z] 765212b225bb: Pulling fs layer [2023-11-14T20:22:07.385Z] f23df028b6ca: Pulling fs layer [2023-11-14T20:22:07.385Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T20:22:07.385Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T20:22:07.385Z] 765212b225bb: Waiting [2023-11-14T20:22:07.385Z] f23df028b6ca: Waiting [2023-11-14T20:22:07.385Z] 2437ff75d9bd: Waiting [2023-11-14T20:22:07.385Z] d65c8cfc05b1: Waiting [2023-11-14T20:22:07.651Z] 04944245beec: Verifying Checksum [2023-11-14T20:22:07.651Z] 04944245beec: Download complete [2023-11-14T20:22:07.651Z] 765212b225bb: Download complete [2023-11-14T20:22:07.651Z] f23df028b6ca: Verifying Checksum [2023-11-14T20:22:07.651Z] f23df028b6ca: Download complete [2023-11-14T20:22:07.651Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T20:22:07.651Z] d65c8cfc05b1: Download complete [2023-11-14T20:22:07.651Z] 699f458cf7ca: Verifying Checksum [2023-11-14T20:22:07.651Z] 699f458cf7ca: Download complete [2023-11-14T20:22:08.232Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T20:22:08.232Z] 8998bd30e6a1: Download complete [2023-11-14T20:22:12.473Z] 8998bd30e6a1: Pull complete [2023-11-14T20:22:12.738Z] 04944245beec: Pull complete [2023-11-14T20:22:13.316Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T20:22:13.316Z] 2437ff75d9bd: Download complete [2023-11-14T20:22:14.270Z] 699f458cf7ca: Pull complete [2023-11-14T20:22:14.535Z] 765212b225bb: Pull complete [2023-11-14T20:22:15.115Z] f23df028b6ca: Pull complete [2023-11-14T20:22:15.381Z] d65c8cfc05b1: Pull complete [2023-11-14T20:22:33.564Z] 2437ff75d9bd: Pull complete [2023-11-14T20:22:33.564Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T20:22:33.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T20:22:33.564Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:22:33.885Z] prd-ubuntu20.04-docker-arm64-4c-16g-17532 does not seem to be running inside a container [2023-11-14T20:22:33.971Z] $ 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-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-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-11-14T20:22:36.588Z] $ docker top 9380831f4390796dcd001bc6efdd9d0673050dd8a026134e760e2d1e545a1f86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:22:37.491Z] ---> job-cost.sh [2023-11-14T20:22:37.491Z] lf-activate-venv: SKIPPING [2023-11-14T20:22:37.491Z] INFO: No Stack... [2023-11-14T20:22:38.070Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T20:22:38.649Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T20:22:39.308Z] + + cut -d,cat /w/workspace/device-virtual-go/1/archives/cost.csv -f6 [2023-11-14T20:22:39.308Z] [Pipeline] lock [2023-11-14T20:22:39.382Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] [2023-11-14T20:22:39.387Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] did not exist. Created. [2023-11-14T20:22:39.387Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T20:22:40.112Z] /w/workspace/device-virtual-go/1@tmp/durable-2f1728ea/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T20:22:40.468Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T20:22:40.766Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T20:22:40.811Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T20:22:40.826Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-450-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T20:22:40.926Z] $ docker stop --time=1 9380831f4390796dcd001bc6efdd9d0673050dd8a026134e760e2d1e545a1f86 [2023-11-14T20:22:42.435Z] $ docker rm -f --volumes 9380831f4390796dcd001bc6efdd9d0673050dd8a026134e760e2d1e545a1f86 [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-11-14T20:22:43.397Z] provisioning config files... [2023-11-14T20:22:43.404Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-450@tmp/config17134838340771770849tmp [Pipeline] { [Pipeline] sh [2023-11-14T20:22:43.735Z] + set +x [2023-11-14T20:22:43.735Z] + curl -s https://codecov.io/bash [2023-11-14T20:22:43.735Z] + bash -s -- [2023-11-14T20:22:43.735Z] [2023-11-14T20:22:43.735Z] _____ _ [2023-11-14T20:22:43.735Z] / ____| | | [2023-11-14T20:22:43.735Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T20:22:43.735Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T20:22:43.735Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T20:22:43.735Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T20:22:43.735Z] Bash-1.0.6 [2023-11-14T20:22:43.735Z] [2023-11-14T20:22:43.735Z] [2023-11-14T20:22:43.735Z] ==> git version 2.25.1 found [2023-11-14T20:22:43.735Z] ==> 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-11-14T20:22:43.735Z] Release-Date: 2020-01-08 [2023-11-14T20:22:43.735Z] 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-11-14T20:22:43.735Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T20:22:43.735Z] ==> Jenkins CI detected. [2023-11-14T20:22:43.736Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-450 [2023-11-14T20:22:43.736Z] project root: . [2023-11-14T20:22:43.736Z] --> token set from env [2023-11-14T20:22:43.736Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T20:22:43.736Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T20:22:43.736Z] ==> Python coveragepy not found [2023-11-14T20:22:43.736Z] ==> Searching for coverage reports in: [2023-11-14T20:22:43.736Z] + . [2023-11-14T20:22:43.736Z] -> Found 1 reports [2023-11-14T20:22:43.736Z] ==> Detecting git/mercurial file structure [2023-11-14T20:22:43.736Z] ==> Reading reports [2023-11-14T20:22:43.736Z] + ./coverage.out bytes=43063 [2023-11-14T20:22:43.736Z] ==> Appending adjustments [2023-11-14T20:22:43.736Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T20:22:43.995Z] + Found adjustments [2023-11-14T20:22:43.995Z] ==> Gzipping contents [2023-11-14T20:22:43.995Z] 8.0K /tmp/codecov.WkUpai.gz [2023-11-14T20:22:43.995Z] ==> Uploading reports [2023-11-14T20:22:43.995Z] url: https://codecov.io [2023-11-14T20:22:43.995Z] query: branch=PR-450&commit=173252465490b9d9740a72c12effdbaa8705f49b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-450%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=450&job=&cmd_args= [2023-11-14T20:22:43.995Z] -> Pinging Codecov [2023-11-14T20:22:43.995Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-450&commit=173252465490b9d9740a72c12effdbaa8705f49b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-450%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=450&job=&cmd_args= [2023-11-14T20:22:43.995Z] -> Uploading to [2023-11-14T20:22:43.995Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/5E52B4B073DB2E39498172D8E973AA87/173252465490b9d9740a72c12effdbaa8705f49b/e12e1f48-64eb-40a2-8820-f5bdec99b229.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T202243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=aa211509e75624a1a765e26da3a6eead9ce71ec217343a665ed2284eeba8ab15 [2023-11-14T20:22:43.995Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T20:22:43.995Z] Dload Upload Total Spent Left Speed [2023-11-14T20:22:44.254Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 19912 --:--:-- --:--:-- --:--:-- 19912 [2023-11-14T20:22:44.255Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/173252465490b9d9740a72c12effdbaa8705f49b [Pipeline] } [2023-11-14T20:22:44.280Z] 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-11-14T20:22:46.135Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-450/archives ] [2023-11-14T20:22:46.135Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-450/archives [2023-11-14T20:22:46.135Z] total 16 [2023-11-14T20:22:46.135Z] drwxr-xr-x 3 root root 4096 Nov 14 20:13 . [2023-11-14T20:22:46.135Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 20:13 .. [2023-11-14T20:22:46.135Z] drwxr-xr-x 2 root root 4096 Nov 14 20:13 cost [2023-11-14T20:22:46.135Z] -rw-r--r-- 1 root root 89 Nov 14 20:13 cost.csv [2023-11-14T20:22:46.135Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-450/archives [2023-11-14T20:22:46.135Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-450/archives [2023-11-14T20:22:46.135Z] total 16 [2023-11-14T20:22:46.135Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 20:13 . [2023-11-14T20:22:46.135Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 20:13 .. [2023-11-14T20:22:46.135Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 20:13 cost [2023-11-14T20:22:46.135Z] -rw-r--r-- 1 jenkins jenkins 89 Nov 14 20:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:22:46.460Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:22:47.343Z] ---> package-listing.sh [2023-11-14T20:22:47.343Z] ++ facter osfamily [2023-11-14T20:22:47.343Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T20:22:47.603Z] + OS_FAMILY=debian [2023-11-14T20:22:47.603Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-450 [2023-11-14T20:22:47.603Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T20:22:47.603Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T20:22:47.603Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T20:22:47.603Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T20:22:47.603Z] + '[' /w/workspace/foundry_device-virtual-go_PR-450 ']' [2023-11-14T20:22:47.603Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T20:22:47.603Z] + case "${OS_FAMILY}" in [2023-11-14T20:22:47.603Z] + dpkg -l [2023-11-14T20:22:47.603Z] + grep '^ii' [2023-11-14T20:22:47.603Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T20:22:47.603Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T20:22:47.603Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T20:22:47.603Z] + '[' /w/workspace/foundry_device-virtual-go_PR-450 ']' [2023-11-14T20:22:47.603Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-450/archives/ [2023-11-14T20:22:47.603Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-450/archives/ [Pipeline] echo [2023-11-14T20:22:47.640Z] 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/foundry_device-virtual-go_PR-450/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T20:22:47.929Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T20:22:48.558Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T20:22:48.558Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T20:22:48.709Z] prd-ubuntu20.04-docker-8c-8g-17531 does not seem to be running inside a container [2023-11-14T20:22:48.737Z] $ 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/foundry_device-virtual-go_PR-450/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-450 -v /w/workspace/foundry_device-virtual-go_PR-450:/w/workspace/foundry_device-virtual-go_PR-450:rw,z -v /w/workspace/foundry_device-virtual-go_PR-450@tmp:/w/workspace/foundry_device-virtual-go_PR-450@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-11-14T20:22:48.918Z] $ docker top fd50d81725de4bf1d0c3e3330cf75244650f4b6d901d9ef5d5a735adc114d596 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T20:22:49.308Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T20:22:49.619Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T20:22:49.925Z] + ls /var/log/sa-host [2023-11-14T20:22:49.925Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T20:22:50.074Z] provisioning config files... [2023-11-14T20:22:50.083Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-450@tmp/config12056521455184953888tmp [Pipeline] { [Pipeline] echo [2023-11-14T20:22:50.139Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:22:50.453Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T20:22:50.483Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:22:50.887Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T20:22:50.922Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:22:51.233Z] ---> sudo-logs.sh [2023-11-14T20:22:51.233Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T20:22:51.318Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:22:51.627Z] ---> job-cost.sh [2023-11-14T20:22:51.627Z] lf-activate-venv: SKIPPING [2023-11-14T20:22:51.627Z] DEBUG: total: 0.2199999988079071 [2023-11-14T20:22:51.627Z] INFO: Retrieving Stack Cost... [2023-11-14T20:22:52.194Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T20:22:52.453Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T20:22:52.487Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T20:22:52.798Z] ---> logs-deploy.sh [2023-11-14T20:22:52.798Z] lf-activate-venv: SKIPPING [2023-11-14T20:22:52.798Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-450/1 [2023-11-14T20:22:52.798Z] INFO: archiving workspace using pattern(s): [2023-11-14T20:22:53.735Z] Archives upload complete. [2023-11-14T20:22:53.735Z] INFO: archiving logs to Nexus