Pull request #417 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 57097926a47ac5e2c4708890a9da924e47c86c0c+8ad9699a6dce6de25ce5ac2145c2ba17367dec2a (87d21efd795e820995293eec00ead1c282234e4e) 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-ssh8792549601214089531.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh14662763542569933104.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-417/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-417/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15576676416704363371.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-417/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8511967876196739748.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh7620664161771095829.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-417/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-417/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16575078546931465661.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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.20 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-2894’ Running on prd-ubuntu20.04-docker-8c-8g-2897 in /w/workspace/foundry_device-virtual-go_PR-417 [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-417 # 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 Merging remotes/origin/main commit 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a into PR head commit 57097926a47ac5e2c4708890a9da924e47c86c0c Merge succeeded, producing 57097926a47ac5e2c4708890a9da924e47c86c0c Checking out Revision 57097926a47ac5e2c4708890a9da924e47c86c0c (PR-417) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 > 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/417/head:refs/remotes/origin/PR-417 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57097926a47ac5e2c4708890a9da924e47c86c0c # 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 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 57097926a47ac5e2c4708890a9da924e47c86c0c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-04T11:17:33.134Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-04T11:17:33.295Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-04T11:17:33.380Z] ========================================================= [2023-08-04T11:17:33.380Z] EdgeX Global Pipelines Version Info [2023-08-04T11:17:33.380Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:17:34.113Z] ------------------- [2023-08-04T11:17:34.113Z] stable info: [2023-08-04T11:17:34.113Z] ------------------- [2023-08-04T11:17:34.113Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-04T11:17:34.113Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T11:17:34.113Z] Message: update stable to v1.0.250 [2023-08-04T11:17:34.681Z] ------------------- [2023-08-04T11:17:34.681Z] experimental info: [2023-08-04T11:17:34.681Z] ------------------- [2023-08-04T11:17:34.681Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-04T11:17:34.681Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-04T11:17:34.681Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-04T11:17:34.932Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2023-08-04T11:17:34.967Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2023-08-04T11:17:35.000Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-04T11:17:35.035Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-04T11:17:35.078Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-04T11:17:35.115Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-04T11:17:35.148Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-04T11:17:35.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-04T11:17:35.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-04T11:17:35.254Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-04T11:17:35.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-04T11:17:35.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2023-08-04T11:17:35.416Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-04T11:17:35.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-04T11:17:35.487Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-04T11:17:35.523Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-04T11:17:35.559Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T11:17:35.596Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-04T11:17:35.631Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-04T11:17:35.669Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-04T11:17:35.707Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-04T11:17:35.741Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-04T11:17:35.778Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-04T11:17:35.816Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-04T11:17:35.870Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-04T11:17:35.910Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-04T11:17:35.949Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-04T11:17:35.992Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-417 [Pipeline] echo [2023-08-04T11:17:36.029Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-417 [Pipeline] echo [2023-08-04T11:17:36.071Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-417 [Pipeline] echo [2023-08-04T11:17:36.113Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57097926a47ac5e2c4708890a9da924e47c86c0c [Pipeline] echo [2023-08-04T11:17:36.151Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5709792 [Pipeline] echo [2023-08-04T11:17:36.190Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T11:17:36.297Z] provisioning config files... [2023-08-04T11:17:36.311Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-417@tmp/config12417596768727890811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:17:36.651Z] ---> docker-login.sh [2023-08-04T11:17:36.651Z] nexus3.edgexfoundry.org:10001 [2023-08-04T11:17:36.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:17:36.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:17:36.913Z] Configure a credential helper to remove this warning. See [2023-08-04T11:17:36.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:17:36.913Z] [2023-08-04T11:17:36.913Z] Login Succeeded [2023-08-04T11:17:36.913Z] nexus3.edgexfoundry.org:10002 [2023-08-04T11:17:36.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:17:36.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:17:36.913Z] Configure a credential helper to remove this warning. See [2023-08-04T11:17:36.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:17:36.913Z] [2023-08-04T11:17:36.913Z] Login Succeeded [2023-08-04T11:17:36.913Z] nexus3.edgexfoundry.org:10003 [2023-08-04T11:17:37.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:17:37.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:17:37.173Z] Configure a credential helper to remove this warning. See [2023-08-04T11:17:37.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:17:37.173Z] [2023-08-04T11:17:37.173Z] Login Succeeded [2023-08-04T11:17:37.173Z] nexus3.edgexfoundry.org:10004 [2023-08-04T11:17:37.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:17:37.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:17:37.173Z] Configure a credential helper to remove this warning. See [2023-08-04T11:17:37.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:17:37.173Z] [2023-08-04T11:17:37.173Z] Login Succeeded [2023-08-04T11:17:37.173Z] docker.io [2023-08-04T11:17:37.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:17:37.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:17:37.433Z] Configure a credential helper to remove this warning. See [2023-08-04T11:17:37.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:17:37.433Z] [2023-08-04T11:17:37.433Z] Login Succeeded [2023-08-04T11:17:37.433Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T11:17:37.462Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-04T11:17:38.071Z] + git rev-list -1 --merges 57097926a47ac5e2c4708890a9da924e47c86c0c~1..57097926a47ac5e2c4708890a9da924e47c86c0c [Pipeline] echo [2023-08-04T11:17:38.137Z] -----------> git rev-list -1 --merges 57097926a47ac5e2c4708890a9da924e47c86c0c~1..57097926a47ac5e2c4708890a9da924e47c86c0c 57097926a47ac5e2c4708890a9da924e47c86c0c [false] [Pipeline] sh [2023-08-04T11:17:38.465Z] + git log --format=format:%s -1 57097926a47ac5e2c4708890a9da924e47c86c0c [Pipeline] echo [2023-08-04T11:17:38.496Z] ========================================================= [2023-08-04T11:17:38.496Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-04T11:17:38.496Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T11:17:38.935Z] + git log --format=format:%s -1 57097926a47ac5e2c4708890a9da924e47c86c0c [Pipeline] echo [2023-08-04T11:17:38.972Z] [semverPrep] GIT_COMMIT: 57097926a47ac5e2c4708890a9da924e47c86c0c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-08-04T11:17:38.998Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-04T11:17:39.386Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-04T11:17:39.386Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-04T11:17:39.386Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-04T11:17:39.386Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-04T11:17:39.386Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-04T11:17:39.386Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-04T11:17:39.386Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:17:39.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T11:17:39.879Z] [2023-08-04T11:17:39.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:17:40.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T11:17:40.257Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-04T11:17:40.257Z] b85a868b505f: Pulling fs layer [2023-08-04T11:17:40.257Z] e2be974225ed: Pulling fs layer [2023-08-04T11:17:40.257Z] 339a4e72a1f5: Pulling fs layer [2023-08-04T11:17:40.257Z] 988bab9f4d93: Pulling fs layer [2023-08-04T11:17:40.257Z] 1469e6f7b9e6: Pulling fs layer [2023-08-04T11:17:40.257Z] eaf3925da568: Pulling fs layer [2023-08-04T11:17:40.257Z] bab4dde63d76: Pulling fs layer [2023-08-04T11:17:40.257Z] bde34c3a00c8: Pulling fs layer [2023-08-04T11:17:40.257Z] b352a97aabf1: Pulling fs layer [2023-08-04T11:17:40.257Z] 4872d77fe225: Pulling fs layer [2023-08-04T11:17:40.257Z] 5851b861e8e6: Pulling fs layer [2023-08-04T11:17:40.257Z] 4872d77fe225: Waiting [2023-08-04T11:17:40.257Z] 5851b861e8e6: Waiting [2023-08-04T11:17:40.257Z] eaf3925da568: Waiting [2023-08-04T11:17:40.257Z] bab4dde63d76: Waiting [2023-08-04T11:17:40.257Z] bde34c3a00c8: Waiting [2023-08-04T11:17:40.257Z] 988bab9f4d93: Waiting [2023-08-04T11:17:40.257Z] b352a97aabf1: Waiting [2023-08-04T11:17:40.257Z] 1469e6f7b9e6: Waiting [2023-08-04T11:17:40.257Z] e2be974225ed: Verifying Checksum [2023-08-04T11:17:40.257Z] e2be974225ed: Download complete [2023-08-04T11:17:40.257Z] 988bab9f4d93: Download complete [2023-08-04T11:17:40.257Z] 1469e6f7b9e6: Verifying Checksum [2023-08-04T11:17:40.257Z] 1469e6f7b9e6: Download complete [2023-08-04T11:17:40.257Z] eaf3925da568: Verifying Checksum [2023-08-04T11:17:40.257Z] eaf3925da568: Download complete [2023-08-04T11:17:40.517Z] 339a4e72a1f5: Download complete [2023-08-04T11:17:40.517Z] bde34c3a00c8: Verifying Checksum [2023-08-04T11:17:40.517Z] bde34c3a00c8: Download complete [2023-08-04T11:17:40.517Z] b352a97aabf1: Download complete [2023-08-04T11:17:40.517Z] 4872d77fe225: Download complete [2023-08-04T11:17:40.517Z] 5851b861e8e6: Verifying Checksum [2023-08-04T11:17:40.517Z] 5851b861e8e6: Download complete [2023-08-04T11:17:40.517Z] b85a868b505f: Verifying Checksum [2023-08-04T11:17:40.517Z] b85a868b505f: Download complete [2023-08-04T11:17:40.775Z] bab4dde63d76: Verifying Checksum [2023-08-04T11:17:40.775Z] bab4dde63d76: Download complete [2023-08-04T11:17:41.734Z] b85a868b505f: Pull complete [2023-08-04T11:17:41.734Z] e2be974225ed: Pull complete [2023-08-04T11:17:42.304Z] 339a4e72a1f5: Pull complete [2023-08-04T11:17:42.304Z] 988bab9f4d93: Pull complete [2023-08-04T11:17:42.563Z] 1469e6f7b9e6: Pull complete [2023-08-04T11:17:42.822Z] eaf3925da568: Pull complete [2023-08-04T11:17:44.725Z] bab4dde63d76: Pull complete [2023-08-04T11:17:44.725Z] bde34c3a00c8: Pull complete [2023-08-04T11:17:44.725Z] b352a97aabf1: Pull complete [2023-08-04T11:17:44.725Z] 4872d77fe225: Pull complete [2023-08-04T11:17:44.725Z] 5851b861e8e6: Pull complete [2023-08-04T11:17:44.725Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-04T11:17:44.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-04T11:17:44.725Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:17:44.950Z] prd-ubuntu20.04-docker-8c-8g-2897 does not seem to be running inside a container [2023-08-04T11:17:44.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-417 -v /w/workspace/foundry_device-virtual-go_PR-417:/w/workspace/foundry_device-virtual-go_PR-417:rw,z -v /w/workspace/foundry_device-virtual-go_PR-417@tmp:/w/workspace/foundry_device-virtual-go_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-04T11:17:47.484Z] $ docker top 0127f51b44df3a2ccc716fda177b221f360d075038337806e837ff323d8a0fa4 -eo pid,comm [2023-08-04T11:17:47.542Z] 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-08-04T11:17:47.542Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-04T11:17:47.666Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T11:17:47.666Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T11:17:47.778Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T11:17:47.780Z] $ docker exec 0127f51b44df3a2ccc716fda177b221f360d075038337806e837ff323d8a0fa4 ssh-agent [2023-08-04T11:17:47.883Z] SSH_AUTH_SOCK=/tmp/ssh-Pl4rkL2ZytY6/agent.32 [2023-08-04T11:17:47.883Z] SSH_AGENT_PID=38 [2023-08-04T11:17:47.890Z] Running ssh-add (command line suppressed) [2023-08-04T11:17:47.983Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-417@tmp/private_key_1710440581996162494.key (/w/workspace/foundry_device-virtual-go_PR-417@tmp/private_key_1710440581996162494.key) [2023-08-04T11:17:48.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T11:17:48.329Z] + git tag --points-at HEAD [Pipeline] } [2023-08-04T11:17:48.355Z] $ docker exec --env ******** --env ******** 0127f51b44df3a2ccc716fda177b221f360d075038337806e837ff323d8a0fa4 ssh-agent -k [2023-08-04T11:17:48.448Z] unset SSH_AUTH_SOCK; [2023-08-04T11:17:48.448Z] unset SSH_AGENT_PID; [2023-08-04T11:17:48.448Z] echo Agent pid 38 killed; [2023-08-04T11:17:48.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-04T11:17:48.557Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-04T11:17:48.557Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-04T11:17:48.665Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-04T11:17:48.667Z] $ docker exec 0127f51b44df3a2ccc716fda177b221f360d075038337806e837ff323d8a0fa4 ssh-agent [2023-08-04T11:17:48.776Z] SSH_AUTH_SOCK=/tmp/ssh-IUOmslYGfu0l/agent.70 [2023-08-04T11:17:48.776Z] SSH_AGENT_PID=76 [2023-08-04T11:17:48.781Z] Running ssh-add (command line suppressed) [2023-08-04T11:17:48.880Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-417@tmp/private_key_4639697686252389579.key (/w/workspace/foundry_device-virtual-go_PR-417@tmp/private_key_4639697686252389579.key) [2023-08-04T11:17:48.895Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-04T11:17:49.229Z] + git semver init [2023-08-04T11:17:49.489Z] 2023-08-04 11:17:49,405 [run_init] DEBUG init version:0.0.0 force:False [2023-08-04T11:17:49.489Z] 2023-08-04 11:17:49,406 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-417/.semver [2023-08-04T11:17:49.489Z] 2023-08-04 11:17:49,407 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-417/.semver [2023-08-04T11:17:49.489Z] 2023-08-04 11:17:49,407 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-417/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-417, universal_newlines=False, shell=None, istream=None) [2023-08-04T11:17:50.868Z] 2023-08-04 11:17:50,539 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-417/.git/info/exclude [2023-08-04T11:17:50.868Z] 2023-08-04 11:17:50,540 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-417/.semver/PR-417 with force:False [2023-08-04T11:17:50.868Z] 2023-08-04 11:17:50,540 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-417/.semver/PR-417 [2023-08-04T11:17:50.868Z] 2023-08-04 11:17:50,545 [execute] INFO git cat-file --batch-check [2023-08-04T11:17:50.868Z] 2023-08-04 11:17:50,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-417/.semver, universal_newlines=False, shell=None, istream=) [2023-08-04T11:17:50.868Z] 2023-08-04 11:17:50,552 [execute] INFO git cat-file --batch [2023-08-04T11:17:50.868Z] 2023-08-04 11:17:50,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-417/.semver, universal_newlines=False, shell=None, istream=) [2023-08-04T11:17:50.868Z] 2023-08-04 11:17:50,556 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-417/.semver/PR-417 [2023-08-04T11:17:50.868Z] 0.0.0 [Pipeline] } [2023-08-04T11:17:50.894Z] $ docker exec --env ******** --env ******** 0127f51b44df3a2ccc716fda177b221f360d075038337806e837ff323d8a0fa4 ssh-agent -k [2023-08-04T11:17:50.984Z] unset SSH_AUTH_SOCK; [2023-08-04T11:17:50.985Z] unset SSH_AGENT_PID; [2023-08-04T11:17:50.985Z] echo Agent pid 76 killed; [2023-08-04T11:17:50.995Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-04T11:17:51.421Z] + git semver [Pipeline] } [2023-08-04T11:17:51.702Z] $ docker stop --time=1 0127f51b44df3a2ccc716fda177b221f360d075038337806e837ff323d8a0fa4 [2023-08-04T11:17:52.974Z] $ docker rm -f --volumes 0127f51b44df3a2ccc716fda177b221f360d075038337806e837ff323d8a0fa4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T11:17:53.368Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-04T11:17:53.630Z] Stashed 1 file(s) [Pipeline] echo [2023-08-04T11:17:53.646Z] [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-08-04T11:17:54.277Z] provisioning config files... [2023-08-04T11:17:54.287Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-417@tmp/config1725204690270830303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:17:54.632Z] ---> docker-login.sh [2023-08-04T11:17:54.632Z] nexus3.edgexfoundry.org:10001 [2023-08-04T11:17:54.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:17:54.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:17:54.632Z] Configure a credential helper to remove this warning. See [2023-08-04T11:17:54.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:17:54.632Z] [2023-08-04T11:17:54.632Z] Login Succeeded [2023-08-04T11:17:54.632Z] nexus3.edgexfoundry.org:10002 [2023-08-04T11:17:54.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:17:54.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:17:54.632Z] Configure a credential helper to remove this warning. See [2023-08-04T11:17:54.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:17:54.632Z] [2023-08-04T11:17:54.632Z] Login Succeeded [2023-08-04T11:17:54.632Z] nexus3.edgexfoundry.org:10003 [2023-08-04T11:17:54.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:17:54.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:17:54.894Z] Configure a credential helper to remove this warning. See [2023-08-04T11:17:54.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:17:54.894Z] [2023-08-04T11:17:54.894Z] Login Succeeded [2023-08-04T11:17:54.894Z] nexus3.edgexfoundry.org:10004 [2023-08-04T11:17:54.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:17:54.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:17:54.894Z] Configure a credential helper to remove this warning. See [2023-08-04T11:17:54.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:17:54.894Z] [2023-08-04T11:17:54.894Z] Login Succeeded [2023-08-04T11:17:54.894Z] docker.io [2023-08-04T11:17:55.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:17:55.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:17:55.153Z] Configure a credential helper to remove this warning. See [2023-08-04T11:17:55.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:17:55.153Z] [2023-08-04T11:17:55.153Z] Login Succeeded [2023-08-04T11:17:55.153Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T11:17:55.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-04T11:17:55.371Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T11:17:55.412Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T11:17:55.442Z] ========================================================= [2023-08-04T11:17:55.442Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-04T11:17:55.442Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:17:55.905Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-04T11:17:55.906Z] Sending build context to Docker daemon 23.54MB [2023-08-04T11:17:55.906Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T11:17:55.906Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-04T11:17:56.169Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-04T11:17:56.169Z] 4db1b89c0bd1: Pulling fs layer [2023-08-04T11:17:56.169Z] 6911f1a30b25: Pulling fs layer [2023-08-04T11:17:56.169Z] e194b8c5c2a9: Pulling fs layer [2023-08-04T11:17:56.169Z] 6863d3e3a2b1: Pulling fs layer [2023-08-04T11:17:56.169Z] ec0bb842ea78: Pulling fs layer [2023-08-04T11:17:56.169Z] 40a00589a448: Pulling fs layer [2023-08-04T11:17:56.169Z] 6c08303d61cc: Pulling fs layer [2023-08-04T11:17:56.169Z] 798269fcf238: Pulling fs layer [2023-08-04T11:17:56.169Z] ec0bb842ea78: Waiting [2023-08-04T11:17:56.169Z] 40a00589a448: Waiting [2023-08-04T11:17:56.169Z] 6c08303d61cc: Waiting [2023-08-04T11:17:56.169Z] 798269fcf238: Waiting [2023-08-04T11:17:56.169Z] 6863d3e3a2b1: Waiting [2023-08-04T11:17:56.169Z] 6911f1a30b25: Download complete [2023-08-04T11:17:56.169Z] 6863d3e3a2b1: Verifying Checksum [2023-08-04T11:17:56.169Z] 6863d3e3a2b1: Download complete [2023-08-04T11:17:56.169Z] ec0bb842ea78: Verifying Checksum [2023-08-04T11:17:56.169Z] ec0bb842ea78: Download complete [2023-08-04T11:17:56.169Z] 4db1b89c0bd1: Verifying Checksum [2023-08-04T11:17:56.169Z] 4db1b89c0bd1: Download complete [2023-08-04T11:17:56.169Z] 40a00589a448: Verifying Checksum [2023-08-04T11:17:56.169Z] 40a00589a448: Download complete [2023-08-04T11:17:56.430Z] 4db1b89c0bd1: Pull complete [2023-08-04T11:17:56.430Z] 6911f1a30b25: Pull complete [2023-08-04T11:17:56.690Z] e194b8c5c2a9: Verifying Checksum [2023-08-04T11:17:56.690Z] e194b8c5c2a9: Download complete [2023-08-04T11:17:56.690Z] 798269fcf238: Verifying Checksum [2023-08-04T11:17:56.690Z] 798269fcf238: Download complete [2023-08-04T11:17:56.949Z] 6c08303d61cc: Verifying Checksum [2023-08-04T11:17:56.949Z] 6c08303d61cc: Download complete [2023-08-04T11:18:00.240Z] e194b8c5c2a9: Pull complete [2023-08-04T11:18:00.240Z] 6863d3e3a2b1: Pull complete [2023-08-04T11:18:00.240Z] ec0bb842ea78: Pull complete [2023-08-04T11:18:00.240Z] 40a00589a448: Pull complete [2023-08-04T11:18:02.144Z] 6c08303d61cc: Pull complete [2023-08-04T11:18:03.522Z] 798269fcf238: Pull complete [2023-08-04T11:18:03.522Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-04T11:18:03.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-04T11:18:03.522Z] ---> ec979cd7f677 [2023-08-04T11:18:03.522Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-04T11:18:07.713Z] ---> Running in d8d19b9159b8 [2023-08-04T11:18:07.713Z] Removing intermediate container d8d19b9159b8 [2023-08-04T11:18:07.713Z] ---> b69fd32d13b9 [2023-08-04T11:18:07.713Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-04T11:18:07.713Z] ---> Running in 5ba7c9531f0c [2023-08-04T11:18:07.713Z] Removing intermediate container 5ba7c9531f0c [2023-08-04T11:18:07.713Z] ---> 2b01ff8e8761 [2023-08-04T11:18:07.713Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-04T11:18:07.713Z] ---> Running in 4f54472c14db [2023-08-04T11:18:07.713Z] Removing intermediate container 4f54472c14db [2023-08-04T11:18:07.713Z] ---> d7c28a1237f2 [2023-08-04T11:18:07.713Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-04T11:18:07.713Z] ---> Running in 24893377725e [2023-08-04T11:18:07.713Z] Removing intermediate container 24893377725e [2023-08-04T11:18:07.713Z] ---> 8456b6198bcf [2023-08-04T11:18:07.713Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-04T11:18:07.713Z] ---> Running in 73935f58f498 [2023-08-04T11:18:07.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T11:18:07.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T11:18:08.297Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-04T11:18:08.297Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-04T11:18:08.297Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-04T11:18:08.297Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-04T11:18:08.297Z] Executing busybox-1.35.0-r29.trigger [2023-08-04T11:18:08.297Z] OK: 269 MiB in 57 packages [2023-08-04T11:18:08.864Z] Removing intermediate container 73935f58f498 [2023-08-04T11:18:08.864Z] ---> b822bc56873f [2023-08-04T11:18:08.864Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-04T11:18:08.864Z] ---> 91059a37ac01 [2023-08-04T11:18:08.864Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T11:18:08.864Z] ---> Running in 408a4c845ce2 [2023-08-04T11:18:09.028Z] Still waiting to schedule task [2023-08-04T11:18:09.028Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2895’ [2023-08-04T11:18:47.588Z] Removing intermediate container 408a4c845ce2 [2023-08-04T11:18:47.588Z] ---> 950d15e01145 [2023-08-04T11:18:47.588Z] Step 10/12 : COPY . . [2023-08-04T11:18:47.588Z] ---> 5bea12944e14 [2023-08-04T11:18:47.588Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-04T11:18:47.588Z] ---> Running in fe94a04bdb35 [2023-08-04T11:18:47.588Z] Removing intermediate container fe94a04bdb35 [2023-08-04T11:18:47.588Z] ---> 2443eee4b58d [2023-08-04T11:18:47.588Z] Step 12/12 : RUN $MAKE [2023-08-04T11:18:47.588Z] ---> Running in 1057be1f1363 [2023-08-04T11:18:47.588Z] noop [2023-08-04T11:18:47.588Z] Removing intermediate container 1057be1f1363 [2023-08-04T11:18:47.588Z] ---> 1d303526a2bb [2023-08-04T11:18:47.588Z] Successfully built 1d303526a2bb [2023-08-04T11:18:47.588Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:18:48.042Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T11:18:48.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:18:48.191Z] prd-ubuntu20.04-docker-8c-8g-2897 does not seem to be running inside a container [2023-08-04T11:18:48.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-417 -v /w/workspace/foundry_device-virtual-go_PR-417:/w/workspace/foundry_device-virtual-go_PR-417:rw,z -v /w/workspace/foundry_device-virtual-go_PR-417@tmp:/w/workspace/foundry_device-virtual-go_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-04T11:18:48.537Z] $ docker top 76dc6d50e750cd3ee1fa0ffd3260ad3fc7eca70cd54af03cea8168e230e212af -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T11:18:48.921Z] + go version [2023-08-04T11:18:48.921Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-04T11:18:48.951Z] $ docker stop --time=1 76dc6d50e750cd3ee1fa0ffd3260ad3fc7eca70cd54af03cea8168e230e212af [2023-08-04T11:18:50.193Z] $ docker rm -f --volumes 76dc6d50e750cd3ee1fa0ffd3260ad3fc7eca70cd54af03cea8168e230e212af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:18:50.905Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-04T11:18:50.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:18:51.044Z] prd-ubuntu20.04-docker-8c-8g-2897 does not seem to be running inside a container [2023-08-04T11:18:51.072Z] $ 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-417 -v /w/workspace/foundry_device-virtual-go_PR-417:/w/workspace/foundry_device-virtual-go_PR-417:rw,z -v /w/workspace/foundry_device-virtual-go_PR-417@tmp:/w/workspace/foundry_device-virtual-go_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-04T11:18:51.388Z] $ docker top 07f06d6ff0c732757e899053f82ee1d2e4f20c86c556f1b5f26e091ce17c24b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T11:18:51.795Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-417 [Pipeline] fileExists [Pipeline] sh [2023-08-04T11:18:52.153Z] + make test [2023-08-04T11:18:52.153Z] go test ./... -coverprofile=coverage.out [2023-08-04T11:18:56.333Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-04T11:19:06.321Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-04T11:19:06.321Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.021s coverage: 58.6% of statements [2023-08-04T11:19:12.876Z] go vet ./... [2023-08-04T11:19:15.401Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-04T11:19:15.402Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-04T11:19:15.402Z] ./bin/test-attribution-txt.sh [2023-08-04T11:19:15.402Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-04T11:19:15.402Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-04T11:19:15.402Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-04T11:19:15.402Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-04T11:19:15.402Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-04T11:19:15.402Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-04T11:19:15.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-04T11:19:15.466Z] $ docker stop --time=1 07f06d6ff0c732757e899053f82ee1d2e4f20c86c556f1b5f26e091ce17c24b3 [2023-08-04T11:19:18.727Z] $ docker rm -f --volumes 07f06d6ff0c732757e899053f82ee1d2e4f20c86c556f1b5f26e091ce17c24b3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T11:19:19.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-04T11:19:19.405Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-04T11:19:20.127Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-04T11:19:20.440Z] + ls -al . [2023-08-04T11:19:20.440Z] total 204 [2023-08-04T11:19:20.440Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 4 11:18 . [2023-08-04T11:19:20.440Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 11:17 .. [2023-08-04T11:19:20.440Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 11:17 .git [2023-08-04T11:19:20.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:17 .github [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 4 11:17 .gitignore [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 11:17 .golangci.yml [2023-08-04T11:19:20.440Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 11:17 .semver [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 9050 Aug 4 11:17 Attribution.txt [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 4 11:17 CHANGELOG.md [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 4 11:17 Dockerfile [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 11:17 GOVERNANCE.md [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 4 11:17 Jenkinsfile [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 11:17 LICENSE [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 4 11:17 Makefile [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 4 11:17 OWNERS.md [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 4 11:17 README.md [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 11:17 VERSION [2023-08-04T11:19:20.440Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 11:17 bin [2023-08-04T11:19:20.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:17 cmd [2023-08-04T11:19:20.440Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 4 11:19 coverage.out [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 4 11:17 go.mod [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 4 11:17 go.sum [2023-08-04T11:19:20.440Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:17 internal [2023-08-04T11:19:20.440Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 11:17 snap [2023-08-04T11:19:20.440Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 4 11:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:19:20.878Z] + 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=57097926a47ac5e2c4708890a9da924e47c86c0c --label arch=amd64 --label version=0.0.0 . [2023-08-04T11:19:20.878Z] Sending build context to Docker daemon 23.59MB [2023-08-04T11:19:20.878Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T11:19:20.878Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-04T11:19:20.878Z] ---> 1d303526a2bb [2023-08-04T11:19:20.878Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-04T11:19:21.137Z] ---> Running in 30ae637937dd [2023-08-04T11:19:21.137Z] Removing intermediate container 30ae637937dd [2023-08-04T11:19:21.137Z] ---> 68f8efc1371e [2023-08-04T11:19:21.137Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-04T11:19:21.137Z] ---> Running in b3aa6e95a6e7 [2023-08-04T11:19:21.395Z] Removing intermediate container b3aa6e95a6e7 [2023-08-04T11:19:21.395Z] ---> 14f36c004089 [2023-08-04T11:19:21.396Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-04T11:19:21.396Z] ---> Running in 9f2a3116393c [2023-08-04T11:19:21.396Z] Removing intermediate container 9f2a3116393c [2023-08-04T11:19:21.396Z] ---> 6aaf7af8991c [2023-08-04T11:19:21.396Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-04T11:19:21.396Z] ---> Running in 5849ee7f8e8e [2023-08-04T11:19:21.396Z] Removing intermediate container 5849ee7f8e8e [2023-08-04T11:19:21.396Z] ---> 424877f49eb2 [2023-08-04T11:19:21.396Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-04T11:19:21.396Z] ---> Running in 3bfeb448e4fd [2023-08-04T11:19:21.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T11:19:21.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T11:19:22.232Z] OK: 269 MiB in 57 packages [2023-08-04T11:19:22.492Z] Removing intermediate container 3bfeb448e4fd [2023-08-04T11:19:22.492Z] ---> 8fbe1ed29212 [2023-08-04T11:19:22.492Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-04T11:19:22.750Z] ---> 9190ae1257e3 [2023-08-04T11:19:22.750Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T11:19:22.750Z] ---> Running in bc3afff7d68b [2023-08-04T11:19:23.686Z] Removing intermediate container bc3afff7d68b [2023-08-04T11:19:23.686Z] ---> 0b44ba8b8098 [2023-08-04T11:19:23.686Z] Step 10/25 : COPY . . [2023-08-04T11:19:24.252Z] ---> 29af8d3aa3f7 [2023-08-04T11:19:24.252Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-04T11:19:24.252Z] ---> Running in 2b7f79515fc3 [2023-08-04T11:19:24.252Z] Removing intermediate container 2b7f79515fc3 [2023-08-04T11:19:24.252Z] ---> 36d24e2d2610 [2023-08-04T11:19:24.252Z] Step 12/25 : RUN $MAKE [2023-08-04T11:19:24.252Z] ---> Running in 2261d7af2aa4 [2023-08-04T11:19:24.509Z] 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-dev.10" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-04T11:19:46.428Z] Removing intermediate container 2261d7af2aa4 [2023-08-04T11:19:46.428Z] ---> e52ad842adaa [2023-08-04T11:19:46.428Z] Step 13/25 : FROM alpine:3.17 [2023-08-04T11:19:46.428Z] 3.17: Pulling from library/alpine [2023-08-04T11:19:46.428Z] 4db1b89c0bd1: Already exists [2023-08-04T11:19:46.428Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-04T11:19:46.429Z] Status: Downloaded newer image for alpine:3.17 [2023-08-04T11:19:46.429Z] ---> 1f73a9d63274 [2023-08-04T11:19:46.429Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-04T11:19:46.429Z] ---> Running in 7113f601dc5d [2023-08-04T11:19:46.429Z] Removing intermediate container 7113f601dc5d [2023-08-04T11:19:46.429Z] ---> f17e0cb39d88 [2023-08-04T11:19:46.429Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-04T11:19:46.429Z] ---> Running in 8d13020bf7e8 [2023-08-04T11:19:46.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-04T11:19:46.429Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-04T11:19:46.429Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-04T11:19:46.429Z] Executing busybox-1.35.0-r29.trigger [2023-08-04T11:19:46.429Z] OK: 7 MiB in 16 packages [2023-08-04T11:19:46.429Z] Removing intermediate container 8d13020bf7e8 [2023-08-04T11:19:46.429Z] ---> 37c420b70776 [2023-08-04T11:19:46.429Z] Step 16/25 : WORKDIR / [2023-08-04T11:19:46.429Z] ---> Running in ac57ffefeec0 [2023-08-04T11:19:46.429Z] Removing intermediate container ac57ffefeec0 [2023-08-04T11:19:46.429Z] ---> 95b6fe918afd [2023-08-04T11:19:46.429Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-04T11:19:46.429Z] ---> a555622843a0 [2023-08-04T11:19:46.429Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-04T11:19:46.429Z] ---> 6a3855a5ae6f [2023-08-04T11:19:46.429Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-04T11:19:46.429Z] ---> 3d72679e44d6 [2023-08-04T11:19:46.429Z] Step 20/25 : EXPOSE 59900 [2023-08-04T11:19:46.429Z] ---> Running in 04f8df38bf88 [2023-08-04T11:19:46.429Z] Removing intermediate container 04f8df38bf88 [2023-08-04T11:19:46.429Z] ---> 21009214ee4f [2023-08-04T11:19:46.429Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-04T11:19:46.429Z] ---> Running in 92be7a1d7401 [2023-08-04T11:19:46.429Z] Removing intermediate container 92be7a1d7401 [2023-08-04T11:19:46.429Z] ---> 95c9ae7d8f46 [2023-08-04T11:19:46.429Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-04T11:19:46.429Z] ---> Running in 566bf0ecec0a [2023-08-04T11:19:46.429Z] Removing intermediate container 566bf0ecec0a [2023-08-04T11:19:46.429Z] ---> 4ff138fada1a [2023-08-04T11:19:46.429Z] Step 23/25 : LABEL arch=amd64 [2023-08-04T11:19:46.429Z] ---> Running in e3bdda29d313 [2023-08-04T11:19:46.429Z] Removing intermediate container e3bdda29d313 [2023-08-04T11:19:46.429Z] ---> 1b4bf822ab7a [2023-08-04T11:19:46.429Z] Step 24/25 : LABEL git_sha=57097926a47ac5e2c4708890a9da924e47c86c0c [2023-08-04T11:19:46.429Z] ---> Running in 32277731812c [2023-08-04T11:19:46.429Z] Removing intermediate container 32277731812c [2023-08-04T11:19:46.429Z] ---> 65a0318c87b0 [2023-08-04T11:19:46.429Z] Step 25/25 : LABEL version=0.0.0 [2023-08-04T11:19:46.429Z] ---> Running in e1df4fc12215 [2023-08-04T11:19:46.429Z] Removing intermediate container e1df4fc12215 [2023-08-04T11:19:46.429Z] ---> 0c77fa48e8dd [2023-08-04T11:19:46.429Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-04T11:19:46.429Z] Successfully built 0c77fa48e8dd [2023-08-04T11:19:46.429Z] 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-08-04T11:19:47.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T11:19:47.358Z] [2023-08-04T11:19:47.358Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:19:47.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T11:19:47.735Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-04T11:19:47.735Z] 5eb5b503b376: Pulling fs layer [2023-08-04T11:19:47.735Z] 5c69ac0246d0: Pulling fs layer [2023-08-04T11:19:47.735Z] ec43610c2a17: Pulling fs layer [2023-08-04T11:19:47.735Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-04T11:19:47.735Z] 33b1e0a273af: Pulling fs layer [2023-08-04T11:19:47.735Z] 5d3b04190fa2: Pulling fs layer [2023-08-04T11:19:47.735Z] 2f39f015ded8: Pulling fs layer [2023-08-04T11:19:47.735Z] 5d3b04190fa2: Waiting [2023-08-04T11:19:47.735Z] 3a2ae6a8a46f: Waiting [2023-08-04T11:19:47.735Z] 33b1e0a273af: Waiting [2023-08-04T11:19:47.735Z] 2f39f015ded8: Waiting [2023-08-04T11:19:47.735Z] 5c69ac0246d0: Download complete [2023-08-04T11:19:47.735Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-04T11:19:47.735Z] 3a2ae6a8a46f: Download complete [2023-08-04T11:19:47.735Z] 33b1e0a273af: Verifying Checksum [2023-08-04T11:19:47.735Z] 33b1e0a273af: Download complete [2023-08-04T11:19:47.735Z] 5d3b04190fa2: Verifying Checksum [2023-08-04T11:19:47.735Z] 5d3b04190fa2: Download complete [2023-08-04T11:19:47.735Z] ec43610c2a17: Verifying Checksum [2023-08-04T11:19:47.735Z] ec43610c2a17: Download complete [2023-08-04T11:19:47.995Z] 5eb5b503b376: Verifying Checksum [2023-08-04T11:19:47.995Z] 5eb5b503b376: Download complete [2023-08-04T11:19:48.563Z] 2f39f015ded8: Download complete [2023-08-04T11:19:49.130Z] 5eb5b503b376: Pull complete [2023-08-04T11:19:49.130Z] 5c69ac0246d0: Pull complete [2023-08-04T11:19:49.389Z] ec43610c2a17: Pull complete [2023-08-04T11:19:49.648Z] 3a2ae6a8a46f: Pull complete [2023-08-04T11:19:49.648Z] 33b1e0a273af: Pull complete [2023-08-04T11:19:49.907Z] 5d3b04190fa2: Pull complete [2023-08-04T11:19:54.086Z] 2f39f015ded8: Pull complete [2023-08-04T11:19:54.086Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-04T11:19:54.086Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T11:19:54.086Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:19:54.300Z] prd-ubuntu20.04-docker-8c-8g-2897 does not seem to be running inside a container [2023-08-04T11:19:54.323Z] $ 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-417 -v /w/workspace/foundry_device-virtual-go_PR-417:/w/workspace/foundry_device-virtual-go_PR-417:rw,z -v /w/workspace/foundry_device-virtual-go_PR-417@tmp:/w/workspace/foundry_device-virtual-go_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-04T11:19:58.482Z] $ docker top e0a522506b49ff3673a47ae1dc5ad1d5803c899c67aa950abed6907b791dfdcb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:19:58.926Z] ---> job-cost.sh [2023-08-04T11:19:58.926Z] lf-activate-venv: SKIPPING [2023-08-04T11:19:58.926Z] INFO: No Stack... [2023-08-04T11:19:59.185Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T11:19:59.444Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T11:19:59.756Z] + cat /w/workspace/foundry_device-virtual-go_PR-417/archives/cost.csv [2023-08-04T11:19:59.756Z] + cut -d, -f6 [Pipeline] lock [2023-08-04T11:19:59.794Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-417-1-stack-cost] [2023-08-04T11:19:59.798Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-417-1-stack-cost] did not exist. Created. [2023-08-04T11:19:59.798Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-417-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T11:20:00.181Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-04T11:20:00.237Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T11:20:00.262Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-417-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-04T11:20:00.343Z] $ docker stop --time=1 e0a522506b49ff3673a47ae1dc5ad1d5803c899c67aa950abed6907b791dfdcb [2023-08-04T11:20:01.491Z] $ docker rm -f --volumes e0a522506b49ff3673a47ae1dc5ad1d5803c899c67aa950abed6907b791dfdcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-04T11:20:08.229Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2898 in /w/workspace/foundry_device-virtual-go_PR-417 [Pipeline] { [Pipeline] ws [2023-08-04T11:20:08.279Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2023-08-04T11:20:08.354Z] The recommended git tool is: git [2023-08-04T11:20:13.314Z] using credential edgex-jenkins-ssh [2023-08-04T11:20:13.328Z] Cloning the remote Git repository [2023-08-04T11:20:13.373Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2023-08-04T11:20:13.460Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2023-08-04T11:20:13.588Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-08-04T11:20:13.589Z] > git --version # timeout=10 [2023-08-04T11:20:13.613Z] > git --version # 'git version 2.25.1' [2023-08-04T11:20:13.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T11:20:13.749Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T11:20:15.821Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-08-04T11:20:15.842Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-04T11:20:16.648Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2023-08-04T11:20:16.692Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2023-08-04T11:20:16.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T11:20:16.706Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/417/head:refs/remotes/origin/PR-417 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-04T11:20:17.259Z] Merging remotes/origin/main commit 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a into PR head commit 57097926a47ac5e2c4708890a9da924e47c86c0c [2023-08-04T11:20:17.511Z] Merge succeeded, producing 57097926a47ac5e2c4708890a9da924e47c86c0c [2023-08-04T11:20:17.512Z] Checking out Revision 57097926a47ac5e2c4708890a9da924e47c86c0c (PR-417) [2023-08-04T11:20:17.926Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-08-04T11:20:17.976Z] > git --version # timeout=10 [2023-08-04T11:20:17.997Z] > git --version # 'git version 2.25.1' [2023-08-04T11:20:18.014Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-08-04T11:20:17.278Z] > git config core.sparsecheckout # timeout=10 [2023-08-04T11:20:17.341Z] > git checkout -f 57097926a47ac5e2c4708890a9da924e47c86c0c # timeout=10 [2023-08-04T11:20:17.418Z] > git remote # timeout=10 [2023-08-04T11:20:17.436Z] > git config --get remote.origin.url # timeout=10 [2023-08-04T11:20:17.462Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-04T11:20:17.474Z] > git merge 8ad9699a6dce6de25ce5ac2145c2ba17367dec2a # timeout=10 [2023-08-04T11:20:17.499Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-04T11:20:17.519Z] > git config core.sparsecheckout # timeout=10 [2023-08-04T11:20:17.535Z] > git checkout -f 57097926a47ac5e2c4708890a9da924e47c86c0c # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T11:20:19.185Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-04T11:20:19.185Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T11:20:19.185Z] Dload Upload Total Spent Left Speed [2023-08-04T11:20:19.185Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [2023-08-04T11:20:19.830Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-04T11:20:20.185Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-04T11:20:20.185Z] + sudo tee /etc/docker/daemon.new [2023-08-04T11:20:20.185Z] { [2023-08-04T11:20:20.185Z] "registry-mirrors": [ [2023-08-04T11:20:20.185Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-04T11:20:20.185Z] ], [2023-08-04T11:20:20.185Z] "bip": "10.250.0.254/24", [2023-08-04T11:20:20.185Z] "hosts": [ [2023-08-04T11:20:20.185Z] "tcp://0.0.0.0:5555", [2023-08-04T11:20:20.185Z] "unix:///var/run/docker.sock" [2023-08-04T11:20:20.185Z] ], [2023-08-04T11:20:20.185Z] "mtu": 1458, [2023-08-04T11:20:20.185Z] "selinux-enabled": true, [2023-08-04T11:20:20.185Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-04T11:20:20.185Z] } [Pipeline] sh [2023-08-04T11:20:20.525Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-04T11:20:20.864Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T11:20:39.163Z] provisioning config files... [2023-08-04T11:20:39.188Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config16512625454848775521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:20:39.562Z] ---> docker-login.sh [2023-08-04T11:20:39.562Z] nexus3.edgexfoundry.org:10001 [2023-08-04T11:20:39.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:20:40.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:20:40.108Z] Configure a credential helper to remove this warning. See [2023-08-04T11:20:40.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:20:40.108Z] [2023-08-04T11:20:40.108Z] Login Succeeded [2023-08-04T11:20:40.108Z] nexus3.edgexfoundry.org:10002 [2023-08-04T11:20:40.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:20:40.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:20:40.376Z] Configure a credential helper to remove this warning. See [2023-08-04T11:20:40.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:20:40.376Z] [2023-08-04T11:20:40.376Z] Login Succeeded [2023-08-04T11:20:40.376Z] nexus3.edgexfoundry.org:10003 [2023-08-04T11:20:40.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:20:40.915Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:20:40.915Z] Configure a credential helper to remove this warning. See [2023-08-04T11:20:40.915Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:20:40.915Z] [2023-08-04T11:20:40.915Z] Login Succeeded [2023-08-04T11:20:40.915Z] nexus3.edgexfoundry.org:10004 [2023-08-04T11:20:41.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:20:41.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:20:41.190Z] Configure a credential helper to remove this warning. See [2023-08-04T11:20:41.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:20:41.190Z] [2023-08-04T11:20:41.190Z] Login Succeeded [2023-08-04T11:20:41.190Z] docker.io [2023-08-04T11:20:41.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-04T11:20:41.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-04T11:20:41.725Z] Configure a credential helper to remove this warning. See [2023-08-04T11:20:41.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-04T11:20:41.725Z] [2023-08-04T11:20:41.725Z] Login Succeeded [2023-08-04T11:20:41.725Z] ---> docker-login.sh ends [Pipeline] } [2023-08-04T11:20:41.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-04T11:20:42.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T11:20:42.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-04T11:20:42.203Z] ========================================================= [2023-08-04T11:20:42.203Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-04T11:20:42.203Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:20:42.700Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-04T11:20:42.966Z] Sending build context to Docker daemon 11.9MB [2023-08-04T11:20:42.966Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T11:20:42.966Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-04T11:20:43.234Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-04T11:20:43.234Z] edb6bdbacee9: Pulling fs layer [2023-08-04T11:20:43.234Z] 5f9638ab2659: Pulling fs layer [2023-08-04T11:20:43.234Z] 8d51d6327a98: Pulling fs layer [2023-08-04T11:20:43.234Z] 8b374f2dd631: Pulling fs layer [2023-08-04T11:20:43.234Z] ec14aa9079de: Pulling fs layer [2023-08-04T11:20:43.234Z] 2f466654f4bb: Pulling fs layer [2023-08-04T11:20:43.234Z] 554e91adad29: Pulling fs layer [2023-08-04T11:20:43.234Z] ec14aa9079de: Waiting [2023-08-04T11:20:43.234Z] 2f466654f4bb: Waiting [2023-08-04T11:20:43.234Z] 554e91adad29: Waiting [2023-08-04T11:20:43.234Z] 5f9638ab2659: Verifying Checksum [2023-08-04T11:20:43.234Z] 5f9638ab2659: Download complete [2023-08-04T11:20:43.234Z] 8b374f2dd631: Verifying Checksum [2023-08-04T11:20:43.234Z] 8b374f2dd631: Download complete [2023-08-04T11:20:43.234Z] ec14aa9079de: Verifying Checksum [2023-08-04T11:20:43.234Z] ec14aa9079de: Download complete [2023-08-04T11:20:43.234Z] edb6bdbacee9: Verifying Checksum [2023-08-04T11:20:44.430Z] edb6bdbacee9: Pull complete [2023-08-04T11:20:45.021Z] 554e91adad29: Verifying Checksum [2023-08-04T11:20:45.021Z] 554e91adad29: Download complete [2023-08-04T11:20:45.996Z] 8d51d6327a98: Verifying Checksum [2023-08-04T11:20:45.996Z] 2f466654f4bb: Verifying Checksum [2023-08-04T11:20:45.996Z] 2f466654f4bb: Download complete [2023-08-04T11:20:46.580Z] 5f9638ab2659: Pull complete [2023-08-04T11:21:01.598Z] 8d51d6327a98: Pull complete [2023-08-04T11:21:01.598Z] 8b374f2dd631: Pull complete [2023-08-04T11:21:01.598Z] ec14aa9079de: Pull complete [2023-08-04T11:21:08.250Z] 2f466654f4bb: Pull complete [2023-08-04T11:21:10.210Z] 554e91adad29: Pull complete [2023-08-04T11:21:10.210Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-04T11:21:10.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-04T11:21:10.479Z] ---> 1e15ea492957 [2023-08-04T11:21:10.479Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-04T11:21:12.429Z] ---> Running in 40957d51a203 [2023-08-04T11:21:12.429Z] Removing intermediate container 40957d51a203 [2023-08-04T11:21:12.429Z] ---> 76c3ed1385c4 [2023-08-04T11:21:12.429Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-04T11:21:12.429Z] ---> Running in 7b41eda724bc [2023-08-04T11:21:12.698Z] Removing intermediate container 7b41eda724bc [2023-08-04T11:21:12.698Z] ---> 833656988f03 [2023-08-04T11:21:12.698Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-08-04T11:21:12.698Z] ---> Running in 81f10c087105 [2023-08-04T11:21:12.965Z] Removing intermediate container 81f10c087105 [2023-08-04T11:21:12.965Z] ---> a32defc106c8 [2023-08-04T11:21:12.965Z] Step 6/12 : WORKDIR /device-virtual-go [2023-08-04T11:21:13.232Z] ---> Running in a92f21b92a64 [2023-08-04T11:21:13.499Z] Removing intermediate container a92f21b92a64 [2023-08-04T11:21:13.499Z] ---> 458ac87fe7b5 [2023-08-04T11:21:13.499Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-04T11:21:13.499Z] ---> Running in 555240ce75a2 [2023-08-04T11:21:14.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T11:21:15.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T11:21:16.146Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-04T11:21:16.146Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-04T11:21:16.146Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-04T11:21:16.146Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-04T11:21:16.146Z] Executing busybox-1.35.0-r29.trigger [2023-08-04T11:21:16.146Z] OK: 268 MiB in 57 packages [2023-08-04T11:21:17.122Z] Removing intermediate container 555240ce75a2 [2023-08-04T11:21:17.122Z] ---> 41c988d9b3d1 [2023-08-04T11:21:17.122Z] Step 8/12 : COPY go.mod vendor* ./ [2023-08-04T11:21:17.719Z] ---> f53b00c3655f [2023-08-04T11:21:17.719Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T11:21:17.719Z] ---> Running in 188fc5f2b3be [2023-08-04T11:22:25.614Z] Removing intermediate container 188fc5f2b3be [2023-08-04T11:22:25.614Z] ---> 716d353c41b2 [2023-08-04T11:22:25.614Z] Step 10/12 : COPY . . [2023-08-04T11:22:25.614Z] ---> 146aae366e34 [2023-08-04T11:22:25.614Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-04T11:22:25.614Z] ---> Running in 5a124269870a [2023-08-04T11:22:25.614Z] Removing intermediate container 5a124269870a [2023-08-04T11:22:25.614Z] ---> 0738a20b89f1 [2023-08-04T11:22:25.614Z] Step 12/12 : RUN $MAKE [2023-08-04T11:22:25.614Z] ---> Running in b13cc0c7be09 [2023-08-04T11:22:25.614Z] noop [2023-08-04T11:22:25.614Z] Removing intermediate container b13cc0c7be09 [2023-08-04T11:22:25.614Z] ---> 6658321537b9 [2023-08-04T11:22:25.614Z] Successfully built 6658321537b9 [2023-08-04T11:22:25.614Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:22:26.088Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T11:22:26.088Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:22:26.362Z] prd-ubuntu20.04-docker-arm64-4c-16g-2898 does not seem to be running inside a container [2023-08-04T11:22:26.423Z] $ 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 ******** ci-base-image-arm64 cat [2023-08-04T11:22:27.599Z] $ docker top 39485199922ee93b8ac6e8dae7fb3e00ea995d290ea8819b2f4f46cfb76f36f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T11:22:28.473Z] + go version [2023-08-04T11:22:28.473Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-04T11:22:28.507Z] $ docker stop --time=1 39485199922ee93b8ac6e8dae7fb3e00ea995d290ea8819b2f4f46cfb76f36f4 [2023-08-04T11:22:30.099Z] $ docker rm -f --volumes 39485199922ee93b8ac6e8dae7fb3e00ea995d290ea8819b2f4f46cfb76f36f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:22:30.914Z] + docker inspect -f . ci-base-image-arm64 [2023-08-04T11:22:30.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:22:31.201Z] prd-ubuntu20.04-docker-arm64-4c-16g-2898 does not seem to be running inside a container [2023-08-04T11:22:31.261Z] $ 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 ******** ci-base-image-arm64 cat [2023-08-04T11:22:32.428Z] $ docker top e3460353bad17dd2399b9bc18791f6c4f8165be4abf1233f642831aad20253ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T11:22:32.969Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-04T11:22:33.356Z] + make test [2023-08-04T11:22:33.356Z] go test ./... -coverprofile=coverage.out [2023-08-04T11:23:05.596Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2023-08-04T11:24:57.269Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2023-08-04T11:24:57.535Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.085s coverage: 58.4% of statements [2023-08-04T11:24:58.119Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-04T11:24:58.119Z] go vet ./... [2023-08-04T11:25:36.986Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-04T11:25:36.986Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-04T11:25:36.986Z] ./bin/test-attribution-txt.sh [2023-08-04T11:25:36.986Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-04T11:25:36.986Z] An attribution for github.com/labstack/echo/v4 is missing from Attribution.txt, please add [2023-08-04T11:25:36.986Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-04T11:25:36.986Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-04T11:25:36.986Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-04T11:25:36.986Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-04T11:25:37.028Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-04T11:25:37.061Z] $ docker stop --time=1 e3460353bad17dd2399b9bc18791f6c4f8165be4abf1233f642831aad20253ec [2023-08-04T11:25:38.872Z] $ docker rm -f --volumes e3460353bad17dd2399b9bc18791f6c4f8165be4abf1233f642831aad20253ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-04T11:25:40.090Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-04T11:25:40.125Z] Warning: overwriting stash ‘coverage-report’ [2023-08-04T11:25:40.592Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-04T11:25:41.187Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-04T11:25:41.525Z] + ls -al . [2023-08-04T11:25:41.525Z] total 200 [2023-08-04T11:25:41.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 11:22 . [2023-08-04T11:25:41.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 11:20 .. [2023-08-04T11:25:41.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 11:20 .git [2023-08-04T11:25:41.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:20 .github [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 4 11:20 .gitignore [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 11:20 .golangci.yml [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 9050 Aug 4 11:20 Attribution.txt [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 14372 Aug 4 11:20 CHANGELOG.md [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 1646 Aug 4 11:20 Dockerfile [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 11:20 GOVERNANCE.md [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 4 11:20 Jenkinsfile [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 11:20 LICENSE [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 1947 Aug 4 11:20 Makefile [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 4 11:20 OWNERS.md [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 4111 Aug 4 11:20 README.md [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 11:17 VERSION [2023-08-04T11:25:41.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 11:20 bin [2023-08-04T11:25:41.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:20 cmd [2023-08-04T11:25:41.525Z] -rw-r--r-- 1 jenkins jenkins 43063 Aug 4 11:24 coverage.out [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 3636 Aug 4 11:20 go.mod [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 33427 Aug 4 11:20 go.sum [2023-08-04T11:25:41.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 11:20 internal [2023-08-04T11:25:41.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 11:20 snap [2023-08-04T11:25:41.525Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 4 11:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:25:41.942Z] + 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=57097926a47ac5e2c4708890a9da924e47c86c0c --label arch=arm64 --label version=0.0.0 . [2023-08-04T11:25:42.209Z] Sending build context to Docker daemon 11.94MB [2023-08-04T11:25:42.209Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-04T11:25:42.209Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-04T11:25:42.209Z] ---> 6658321537b9 [2023-08-04T11:25:42.209Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-04T11:25:43.610Z] ---> Running in 59aaa3377513 [2023-08-04T11:25:43.610Z] Removing intermediate container 59aaa3377513 [2023-08-04T11:25:43.610Z] ---> b0da4fefa27a [2023-08-04T11:25:43.610Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-04T11:25:43.610Z] ---> Running in 3ef86458ace0 [2023-08-04T11:25:43.875Z] Removing intermediate container 3ef86458ace0 [2023-08-04T11:25:43.875Z] ---> 0e5e21e99999 [2023-08-04T11:25:43.875Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-08-04T11:25:44.140Z] ---> Running in b2ca75b164d8 [2023-08-04T11:25:44.406Z] Removing intermediate container b2ca75b164d8 [2023-08-04T11:25:44.406Z] ---> 926b154b9d74 [2023-08-04T11:25:44.406Z] Step 6/25 : WORKDIR /device-virtual-go [2023-08-04T11:25:44.406Z] ---> Running in 1c568c116c02 [2023-08-04T11:25:44.671Z] Removing intermediate container 1c568c116c02 [2023-08-04T11:25:44.671Z] ---> d33daab6e6a1 [2023-08-04T11:25:44.671Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-04T11:25:44.671Z] ---> Running in 674bea4c526a [2023-08-04T11:25:45.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T11:25:46.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T11:25:47.174Z] OK: 268 MiB in 57 packages [2023-08-04T11:25:47.755Z] Removing intermediate container 674bea4c526a [2023-08-04T11:25:47.755Z] ---> 755d63efed03 [2023-08-04T11:25:47.755Z] Step 8/25 : COPY go.mod vendor* ./ [2023-08-04T11:25:48.336Z] ---> ad315e797cfe [2023-08-04T11:25:48.336Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-04T11:25:48.336Z] ---> Running in 8b245371ac32 [2023-08-04T11:25:50.909Z] Removing intermediate container 8b245371ac32 [2023-08-04T11:25:50.909Z] ---> ddcd8c5a542f [2023-08-04T11:25:50.909Z] Step 10/25 : COPY . . [2023-08-04T11:25:51.870Z] ---> 19cb1852274c [2023-08-04T11:25:51.870Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-04T11:25:51.870Z] ---> Running in 401696f8b074 [2023-08-04T11:25:52.136Z] Removing intermediate container 401696f8b074 [2023-08-04T11:25:52.136Z] ---> 38e47d99ceea [2023-08-04T11:25:52.136Z] Step 12/25 : RUN $MAKE [2023-08-04T11:25:52.136Z] ---> Running in 22a93901801a [2023-08-04T11:25:53.091Z] 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-dev.10" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2023-08-04T11:27:59.766Z] Removing intermediate container 22a93901801a [2023-08-04T11:27:59.766Z] ---> 2ff2135e2485 [2023-08-04T11:27:59.766Z] Step 13/25 : FROM alpine:3.17 [2023-08-04T11:27:59.766Z] 3.17: Pulling from library/alpine [2023-08-04T11:27:59.766Z] edb6bdbacee9: Already exists [2023-08-04T11:27:59.766Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-04T11:27:59.766Z] Status: Downloaded newer image for alpine:3.17 [2023-08-04T11:27:59.766Z] ---> 779605e5fbc0 [2023-08-04T11:27:59.766Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2023-08-04T11:27:59.766Z] ---> Running in ac5419cb157b [2023-08-04T11:27:59.766Z] Removing intermediate container ac5419cb157b [2023-08-04T11:27:59.766Z] ---> b51050c969ca [2023-08-04T11:27:59.766Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-08-04T11:27:59.766Z] ---> Running in 7b953d76c7e5 [2023-08-04T11:28:00.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-04T11:28:01.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-04T11:28:02.260Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-04T11:28:02.260Z] Executing busybox-1.35.0-r29.trigger [2023-08-04T11:28:02.260Z] OK: 8 MiB in 16 packages [2023-08-04T11:28:03.219Z] Removing intermediate container 7b953d76c7e5 [2023-08-04T11:28:03.219Z] ---> 6a5a480c0011 [2023-08-04T11:28:03.219Z] Step 16/25 : WORKDIR / [2023-08-04T11:28:03.219Z] ---> Running in ac3eb5643c55 [2023-08-04T11:28:03.487Z] Removing intermediate container ac3eb5643c55 [2023-08-04T11:28:03.487Z] ---> 86002836ec06 [2023-08-04T11:28:03.487Z] Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / [2023-08-04T11:28:03.758Z] ---> fd2bafe92e5f [2023-08-04T11:28:03.758Z] Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / [2023-08-04T11:28:04.339Z] ---> 8fa1797ea439 [2023-08-04T11:28:04.339Z] Step 19/25 : COPY --from=builder /device-virtual-go/cmd / [2023-08-04T11:28:05.746Z] ---> 337017767454 [2023-08-04T11:28:05.746Z] Step 20/25 : EXPOSE 59900 [2023-08-04T11:28:05.746Z] ---> Running in 891c3be97a9d [2023-08-04T11:28:06.013Z] Removing intermediate container 891c3be97a9d [2023-08-04T11:28:06.013Z] ---> aedaa286f7c9 [2023-08-04T11:28:06.013Z] Step 21/25 : ENTRYPOINT ["/device-virtual"] [2023-08-04T11:28:06.013Z] ---> Running in bd7f40b69a4a [2023-08-04T11:28:06.280Z] Removing intermediate container bd7f40b69a4a [2023-08-04T11:28:06.280Z] ---> c5f93ac84047 [2023-08-04T11:28:06.280Z] Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-04T11:28:06.547Z] ---> Running in 2d619fd6fd69 [2023-08-04T11:28:06.814Z] Removing intermediate container 2d619fd6fd69 [2023-08-04T11:28:06.814Z] ---> 56389e475bb6 [2023-08-04T11:28:06.814Z] Step 23/25 : LABEL arch=arm64 [2023-08-04T11:28:06.814Z] ---> Running in 06680a88e804 [2023-08-04T11:28:07.081Z] Removing intermediate container 06680a88e804 [2023-08-04T11:28:07.081Z] ---> 968b97ea02ae [2023-08-04T11:28:07.081Z] Step 24/25 : LABEL git_sha=57097926a47ac5e2c4708890a9da924e47c86c0c [2023-08-04T11:28:07.081Z] ---> Running in 762f5ef62e7e [2023-08-04T11:28:07.347Z] Removing intermediate container 762f5ef62e7e [2023-08-04T11:28:07.347Z] ---> a6b8498219f6 [2023-08-04T11:28:07.347Z] Step 25/25 : LABEL version=0.0.0 [2023-08-04T11:28:07.347Z] ---> Running in d30418e61274 [2023-08-04T11:28:07.613Z] Removing intermediate container d30418e61274 [2023-08-04T11:28:07.613Z] ---> 3b281d18f340 [2023-08-04T11:28:07.613Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-04T11:28:07.613Z] Successfully built 3b281d18f340 [2023-08-04T11:28:07.613Z] 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-08-04T11:28:08.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T11:28:08.411Z] [2023-08-04T11:28:08.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:28:08.805Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T11:28:08.805Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-04T11:28:08.805Z] 8998bd30e6a1: Pulling fs layer [2023-08-04T11:28:08.805Z] 04944245beec: Pulling fs layer [2023-08-04T11:28:08.805Z] 699f458cf7ca: Pulling fs layer [2023-08-04T11:28:08.805Z] 765212b225bb: Pulling fs layer [2023-08-04T11:28:08.805Z] f23df028b6ca: Pulling fs layer [2023-08-04T11:28:08.805Z] d65c8cfc05b1: Pulling fs layer [2023-08-04T11:28:08.805Z] 2437ff75d9bd: Pulling fs layer [2023-08-04T11:28:08.805Z] 765212b225bb: Waiting [2023-08-04T11:28:08.805Z] f23df028b6ca: Waiting [2023-08-04T11:28:08.805Z] d65c8cfc05b1: Waiting [2023-08-04T11:28:08.805Z] 2437ff75d9bd: Waiting [2023-08-04T11:28:09.076Z] 04944245beec: Verifying Checksum [2023-08-04T11:28:09.076Z] 04944245beec: Download complete [2023-08-04T11:28:09.076Z] 765212b225bb: Verifying Checksum [2023-08-04T11:28:09.076Z] 765212b225bb: Download complete [2023-08-04T11:28:09.076Z] f23df028b6ca: Download complete [2023-08-04T11:28:09.076Z] d65c8cfc05b1: Verifying Checksum [2023-08-04T11:28:09.076Z] d65c8cfc05b1: Download complete [2023-08-04T11:28:09.076Z] 699f458cf7ca: Verifying Checksum [2023-08-04T11:28:09.076Z] 699f458cf7ca: Download complete [2023-08-04T11:28:09.660Z] 8998bd30e6a1: Verifying Checksum [2023-08-04T11:28:09.660Z] 8998bd30e6a1: Download complete [2023-08-04T11:28:11.614Z] 2437ff75d9bd: Verifying Checksum [2023-08-04T11:28:11.614Z] 2437ff75d9bd: Download complete [2023-08-04T11:28:13.666Z] 8998bd30e6a1: Pull complete [2023-08-04T11:28:13.950Z] 04944245beec: Pull complete [2023-08-04T11:28:15.387Z] 699f458cf7ca: Pull complete [2023-08-04T11:28:15.387Z] 765212b225bb: Pull complete [2023-08-04T11:28:16.396Z] f23df028b6ca: Pull complete [2023-08-04T11:28:16.396Z] d65c8cfc05b1: Pull complete [2023-08-04T11:28:31.438Z] 2437ff75d9bd: Pull complete [2023-08-04T11:28:31.438Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-04T11:28:31.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-04T11:28:31.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:28:31.759Z] prd-ubuntu20.04-docker-arm64-4c-16g-2898 does not seem to be running inside a container [2023-08-04T11:28:31.816Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-04T11:28:34.235Z] $ docker top 3a88280527e37900952a856f2c94374ff921c2b47510a0e0cd2bf36d25c385fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:28:34.790Z] ---> job-cost.sh [2023-08-04T11:28:35.055Z] lf-activate-venv: SKIPPING [2023-08-04T11:28:35.055Z] INFO: No Stack... [2023-08-04T11:28:35.318Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-04T11:28:36.270Z] INFO: Archiving Costs [Pipeline] sh [2023-08-04T11:28:36.606Z] + + cut -d, -f6 [2023-08-04T11:28:36.606Z] cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2023-08-04T11:28:36.947Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-417-1-stack-cost] [2023-08-04T11:28:36.952Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-417-1-stack-cost] did not exist. Created. [2023-08-04T11:28:36.952Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-417-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-04T11:28:37.366Z] /w/workspace/device-virtual-go/1@tmp/durable-a48c49f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-04T11:28:37.728Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-04T11:28:37.762Z] Warning: overwriting stash ‘stack-cost’ [2023-08-04T11:28:37.816Z] Stashed 1 file(s) [Pipeline] } [2023-08-04T11:28:37.835Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-417-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-04T11:28:37.913Z] $ docker stop --time=1 3a88280527e37900952a856f2c94374ff921c2b47510a0e0cd2bf36d25c385fc [2023-08-04T11:28:39.392Z] $ docker rm -f --volumes 3a88280527e37900952a856f2c94374ff921c2b47510a0e0cd2bf36d25c385fc [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-08-04T11:28:40.371Z] provisioning config files... [2023-08-04T11:28:40.379Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-417@tmp/config1704020226092893074tmp [Pipeline] { [Pipeline] sh [2023-08-04T11:28:40.706Z] + set +x [2023-08-04T11:28:40.706Z] + curl -s https://codecov.io/bash [2023-08-04T11:28:40.706Z] + bash -s -- [2023-08-04T11:28:40.706Z] [2023-08-04T11:28:40.706Z] _____ _ [2023-08-04T11:28:40.706Z] / ____| | | [2023-08-04T11:28:40.706Z] | | ___ __| | ___ ___ _____ __ [2023-08-04T11:28:40.706Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-04T11:28:40.706Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-04T11:28:40.706Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-04T11:28:40.706Z] Bash-1.0.6 [2023-08-04T11:28:40.706Z] [2023-08-04T11:28:40.706Z] [2023-08-04T11:28:40.706Z] ==> git version 2.25.1 found [2023-08-04T11:28:40.706Z] ==> 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-08-04T11:28:40.706Z] Release-Date: 2020-01-08 [2023-08-04T11:28:40.706Z] 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-08-04T11:28:40.706Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-04T11:28:40.706Z] ==> Jenkins CI detected. [2023-08-04T11:28:40.706Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-417 [2023-08-04T11:28:40.706Z] project root: . [2023-08-04T11:28:40.706Z] --> token set from env [2023-08-04T11:28:40.706Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-04T11:28:40.706Z] ==> Running gcov in . (disable via -X gcov) [2023-08-04T11:28:40.706Z] ==> Python coveragepy not found [2023-08-04T11:28:40.706Z] ==> Searching for coverage reports in: [2023-08-04T11:28:40.706Z] + . [2023-08-04T11:28:40.706Z] -> Found 1 reports [2023-08-04T11:28:40.706Z] ==> Detecting git/mercurial file structure [2023-08-04T11:28:40.706Z] ==> Reading reports [2023-08-04T11:28:40.706Z] + ./coverage.out bytes=43063 [2023-08-04T11:28:40.706Z] ==> Appending adjustments [2023-08-04T11:28:40.706Z] https://docs.codecov.io/docs/fixing-reports [2023-08-04T11:28:40.965Z] + Found adjustments [2023-08-04T11:28:40.965Z] ==> Gzipping contents [2023-08-04T11:28:40.965Z] 8.0K /tmp/codecov.xFSIkj.gz [2023-08-04T11:28:40.965Z] ==> Uploading reports [2023-08-04T11:28:40.965Z] url: https://codecov.io [2023-08-04T11:28:40.965Z] query: branch=PR-417&commit=57097926a47ac5e2c4708890a9da924e47c86c0c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-417%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=417&job=&cmd_args= [2023-08-04T11:28:40.965Z] -> Pinging Codecov [2023-08-04T11:28:40.965Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-417&commit=57097926a47ac5e2c4708890a9da924e47c86c0c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-417%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=417&job=&cmd_args= [2023-08-04T11:28:40.965Z] -> Uploading to [2023-08-04T11:28:40.965Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-04/5E52B4B073DB2E39498172D8E973AA87/57097926a47ac5e2c4708890a9da924e47c86c0c/09a2c3bd-77f4-47cb-9a1a-9418404fadcd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230804T112840Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f74aa998d548ed4d8ca2a64bb4ae9e67b40d56914f4928324eb3bd25ebb7798 [2023-08-04T11:28:40.965Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-04T11:28:40.965Z] Dload Upload Total Spent Left Speed [2023-08-04T11:28:41.225Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 26181 --:--:-- --:--:-- --:--:-- 26181 [2023-08-04T11:28:41.225Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/57097926a47ac5e2c4708890a9da924e47c86c0c [Pipeline] } [2023-08-04T11:28:41.254Z] 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-08-04T11:28:42.908Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-417/archives ] [2023-08-04T11:28:42.908Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-417/archives [2023-08-04T11:28:42.908Z] total 16 [2023-08-04T11:28:42.908Z] drwxr-xr-x 3 root root 4096 Aug 4 11:19 . [2023-08-04T11:28:42.908Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 11:19 .. [2023-08-04T11:28:42.908Z] drwxr-xr-x 2 root root 4096 Aug 4 11:19 cost [2023-08-04T11:28:42.908Z] -rw-r--r-- 1 root root 89 Aug 4 11:19 cost.csv [2023-08-04T11:28:42.908Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-417/archives [2023-08-04T11:28:42.908Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-417/archives [2023-08-04T11:28:42.908Z] total 16 [2023-08-04T11:28:42.908Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 11:19 . [2023-08-04T11:28:42.908Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 11:19 .. [2023-08-04T11:28:42.909Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 11:19 cost [2023-08-04T11:28:42.909Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 4 11:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:28:43.236Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:28:44.126Z] ---> package-listing.sh [2023-08-04T11:28:44.126Z] ++ facter osfamily [2023-08-04T11:28:44.126Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-04T11:28:44.385Z] + OS_FAMILY=debian [2023-08-04T11:28:44.385Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-417 [2023-08-04T11:28:44.385Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-04T11:28:44.385Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-04T11:28:44.385Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-04T11:28:44.385Z] + PACKAGES=/tmp/packages_start.txt [2023-08-04T11:28:44.385Z] + '[' /w/workspace/foundry_device-virtual-go_PR-417 ']' [2023-08-04T11:28:44.385Z] + PACKAGES=/tmp/packages_end.txt [2023-08-04T11:28:44.385Z] + case "${OS_FAMILY}" in [2023-08-04T11:28:44.385Z] + dpkg -l [2023-08-04T11:28:44.385Z] + grep '^ii' [2023-08-04T11:28:44.385Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-04T11:28:44.385Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-04T11:28:44.385Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-04T11:28:44.385Z] + '[' /w/workspace/foundry_device-virtual-go_PR-417 ']' [2023-08-04T11:28:44.385Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-417/archives/ [2023-08-04T11:28:44.385Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-417/archives/ [Pipeline] echo [2023-08-04T11:28:44.415Z] 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-417/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-04T11:28:44.705Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-04T11:28:45.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-04T11:28:45.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-04T11:28:45.484Z] prd-ubuntu20.04-docker-8c-8g-2897 does not seem to be running inside a container [2023-08-04T11:28:45.512Z] $ 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-417/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-417 -v /w/workspace/foundry_device-virtual-go_PR-417:/w/workspace/foundry_device-virtual-go_PR-417:rw,z -v /w/workspace/foundry_device-virtual-go_PR-417@tmp:/w/workspace/foundry_device-virtual-go_PR-417@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-04T11:28:45.707Z] $ docker top fb231bc40845b15813a0e71094c9789b98da45ca65125136b1f21b664961080e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-04T11:28:46.094Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-04T11:28:46.401Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-04T11:28:46.708Z] + ls /var/log/sa-host [2023-08-04T11:28:46.708Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-04T11:28:46.841Z] provisioning config files... [2023-08-04T11:28:46.850Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-417@tmp/config17750104219181522515tmp [Pipeline] { [Pipeline] echo [2023-08-04T11:28:46.901Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:28:47.209Z] ---> create-netrc.sh [Pipeline] } [2023-08-04T11:28:47.234Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:28:47.623Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-04T11:28:47.655Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:28:47.965Z] ---> sudo-logs.sh [2023-08-04T11:28:47.966Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-04T11:28:48.060Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:28:48.374Z] ---> job-cost.sh [2023-08-04T11:28:48.375Z] lf-activate-venv: SKIPPING [2023-08-04T11:28:48.375Z] DEBUG: total: 0.2199999988079071 [2023-08-04T11:28:48.375Z] INFO: Retrieving Stack Cost... [2023-08-04T11:28:48.634Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-04T11:28:49.202Z] INFO: Archiving Costs [Pipeline] echo [2023-08-04T11:28:49.238Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-04T11:28:49.554Z] ---> logs-deploy.sh [2023-08-04T11:28:49.554Z] lf-activate-venv: SKIPPING [2023-08-04T11:28:49.554Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-417/1 [2023-08-04T11:28:49.554Z] INFO: archiving workspace using pattern(s): [2023-08-04T11:28:50.492Z] Archives upload complete. [2023-08-04T11:28:50.492Z] INFO: archiving logs to Nexus