Pull request #290 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 36f1c9105c586ba8e2014e0f524de26550782ad6 rather than 027cfbb5812d92eee0ba25b7057c72fee1786fbc Obtained Jenkinsfile from 36f1c9105c586ba8e2014e0f524de26550782ad6 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-ssh13995983734281329321.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh16213103428475051302.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16767088859843778775.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh8379718578985065098.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16715864410428515455.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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.17 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 ‘prd-ubuntu20.04-docker-8c-8g-15144’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15146 in /w/workspace/foundry_device-virtual-go_PR-290 [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-290 # 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 Merging remotes/origin/main commit 36f1c9105c586ba8e2014e0f524de26550782ad6 into PR head commit 027cfbb5812d92eee0ba25b7057c72fee1786fbc Merge succeeded, producing 336a5b6f5729963ebd7fce447136fd5287f7ffc8 Checking out Revision 336a5b6f5729963ebd7fce447136fd5287f7ffc8 (PR-290) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 027cfbb5812d92eee0ba25b7057c72fee1786fbc # 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 36f1c9105c586ba8e2014e0f524de26550782ad6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 336a5b6f5729963ebd7fce447136fd5287f7ffc8 # timeout=10 Commit message: "Merge commit '36f1c9105c586ba8e2014e0f524de26550782ad6' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-20T10:24:19.216Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-20T10:24:19.269Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-20T10:24:19.292Z] ========================================================= [2022-06-20T10:24:19.292Z] EdgeX Global Pipelines Version Info [2022-06-20T10:24:19.292Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cf160d4a7f915e6dad69bb6c265f8862b14000cc # timeout=10 [2022-06-20T10:24:20.065Z] ------------------- [2022-06-20T10:24:20.065Z] stable info: [2022-06-20T10:24:20.065Z] ------------------- [2022-06-20T10:24:20.065Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-20T10:24:20.065Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T10:24:20.065Z] Message: update stable to v1.0.234 [2022-06-20T10:24:20.638Z] ------------------- [2022-06-20T10:24:20.638Z] experimental info: [2022-06-20T10:24:20.638Z] ------------------- [2022-06-20T10:24:20.638Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-20T10:24:20.638Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-20T10:24:20.638Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-20T10:24:20.823Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-06-20T10:24:20.836Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-06-20T10:24:20.846Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-20T10:24:20.857Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-20T10:24:20.868Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-20T10:24:20.882Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-20T10:24:20.896Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-20T10:24:20.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-20T10:24:20.930Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-20T10:24:20.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-20T10:24:20.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-20T10:24:20.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-06-20T10:24:20.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-20T10:24:20.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-20T10:24:20.999Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T10:24:21.007Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-20T10:24:21.015Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T10:24:21.023Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-20T10:24:21.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-20T10:24:21.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-20T10:24:21.053Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-20T10:24:21.061Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-20T10:24:21.070Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-20T10:24:21.082Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-20T10:24:21.091Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-20T10:24:21.101Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-20T10:24:21.113Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-20T10:24:21.125Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-290 [Pipeline] echo [2022-06-20T10:24:21.134Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-290 [Pipeline] echo [2022-06-20T10:24:21.145Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-290 [Pipeline] echo [2022-06-20T10:24:21.159Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 336a5b6f5729963ebd7fce447136fd5287f7ffc8 [Pipeline] echo [2022-06-20T10:24:21.176Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 336a5b6 [Pipeline] echo [2022-06-20T10:24:21.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T10:24:21.224Z] provisioning config files... [2022-06-20T10:24:21.239Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config6471937397559612637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T10:24:21.570Z] ---> docker-login.sh [2022-06-20T10:24:21.570Z] nexus3.edgexfoundry.org:10001 [2022-06-20T10:24:21.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:24:21.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:24:21.832Z] Configure a credential helper to remove this warning. See [2022-06-20T10:24:21.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:24:21.832Z] [2022-06-20T10:24:21.832Z] Login Succeeded [2022-06-20T10:24:21.832Z] nexus3.edgexfoundry.org:10002 [2022-06-20T10:24:21.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:24:22.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:24:22.096Z] Configure a credential helper to remove this warning. See [2022-06-20T10:24:22.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:24:22.096Z] [2022-06-20T10:24:22.096Z] Login Succeeded [2022-06-20T10:24:22.096Z] nexus3.edgexfoundry.org:10003 [2022-06-20T10:24:22.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:24:22.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:24:22.096Z] Configure a credential helper to remove this warning. See [2022-06-20T10:24:22.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:24:22.096Z] [2022-06-20T10:24:22.096Z] Login Succeeded [2022-06-20T10:24:22.096Z] nexus3.edgexfoundry.org:10004 [2022-06-20T10:24:22.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:24:22.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:24:22.358Z] Configure a credential helper to remove this warning. See [2022-06-20T10:24:22.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:24:22.358Z] [2022-06-20T10:24:22.358Z] Login Succeeded [2022-06-20T10:24:22.358Z] docker.io [2022-06-20T10:24:22.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:24:22.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:24:22.620Z] Configure a credential helper to remove this warning. See [2022-06-20T10:24:22.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:24:22.620Z] [2022-06-20T10:24:22.620Z] Login Succeeded [2022-06-20T10:24:22.620Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T10:24:22.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-20T10:24:23.003Z] + git rev-list -1 --merges 336a5b6f5729963ebd7fce447136fd5287f7ffc8~1..336a5b6f5729963ebd7fce447136fd5287f7ffc8 [Pipeline] echo [2022-06-20T10:24:23.034Z] -----------> git rev-list -1 --merges 336a5b6f5729963ebd7fce447136fd5287f7ffc8~1..336a5b6f5729963ebd7fce447136fd5287f7ffc8 336a5b6f5729963ebd7fce447136fd5287f7ffc8 [2022-06-20T10:24:23.034Z] 336a5b6f5729963ebd7fce447136fd5287f7ffc8 [false] [Pipeline] sh [2022-06-20T10:24:23.327Z] + git log --format=format:%s -1 336a5b6f5729963ebd7fce447136fd5287f7ffc8 [Pipeline] echo [2022-06-20T10:24:23.342Z] ========================================================= [2022-06-20T10:24:23.343Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-20T10:24:23.343Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T10:24:23.689Z] + git log --format=format:%s -1 336a5b6f5729963ebd7fce447136fd5287f7ffc8 [Pipeline] echo [2022-06-20T10:24:23.704Z] [semverPrep] GIT_COMMIT: 336a5b6f5729963ebd7fce447136fd5287f7ffc8, Commit Message: Merge commit '36f1c9105c586ba8e2014e0f524de26550782ad6' into HEAD [Pipeline] echo [2022-06-20T10:24:23.716Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-20T10:24:24.077Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-20T10:24:24.078Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-20T10:24:24.078Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-20T10:24:24.078Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-20T10:24:24.078Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-20T10:24:24.078Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-20T10:24:24.078Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:24:24.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T10:24:24.443Z] [2022-06-20T10:24:24.443Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:24:24.754Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T10:24:24.754Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-20T10:24:24.754Z] 42c077c10790: Pulling fs layer [2022-06-20T10:24:24.754Z] f63e77b7563a: Pulling fs layer [2022-06-20T10:24:24.754Z] bd5fdadae976: Pulling fs layer [2022-06-20T10:24:24.754Z] 205491f53016: Pulling fs layer [2022-06-20T10:24:24.754Z] df18705c85c3: Pulling fs layer [2022-06-20T10:24:24.754Z] bdb3f477010e: Pulling fs layer [2022-06-20T10:24:24.754Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-20T10:24:24.754Z] 2c6e9b1d212d: Pulling fs layer [2022-06-20T10:24:24.754Z] bdb8f0575790: Pulling fs layer [2022-06-20T10:24:24.754Z] 386e3cb2ff24: Pulling fs layer [2022-06-20T10:24:24.754Z] 2343380bae48: Pulling fs layer [2022-06-20T10:24:24.754Z] 205491f53016: Waiting [2022-06-20T10:24:24.754Z] df18705c85c3: Waiting [2022-06-20T10:24:24.754Z] 2c6e9b1d212d: Waiting [2022-06-20T10:24:24.754Z] c8a8fc8e1c8f: Waiting [2022-06-20T10:24:24.754Z] bdb3f477010e: Waiting [2022-06-20T10:24:24.754Z] 2343380bae48: Waiting [2022-06-20T10:24:24.754Z] bdb8f0575790: Waiting [2022-06-20T10:24:24.754Z] 386e3cb2ff24: Waiting [2022-06-20T10:24:24.754Z] f63e77b7563a: Verifying Checksum [2022-06-20T10:24:24.754Z] f63e77b7563a: Download complete [2022-06-20T10:24:24.754Z] 205491f53016: Verifying Checksum [2022-06-20T10:24:24.754Z] 205491f53016: Download complete [2022-06-20T10:24:25.015Z] df18705c85c3: Verifying Checksum [2022-06-20T10:24:25.015Z] df18705c85c3: Download complete [2022-06-20T10:24:25.015Z] bdb3f477010e: Verifying Checksum [2022-06-20T10:24:25.015Z] bdb3f477010e: Download complete [2022-06-20T10:24:25.015Z] bd5fdadae976: Verifying Checksum [2022-06-20T10:24:25.015Z] bd5fdadae976: Download complete [2022-06-20T10:24:25.015Z] 2c6e9b1d212d: Verifying Checksum [2022-06-20T10:24:25.015Z] 2c6e9b1d212d: Download complete [2022-06-20T10:24:25.015Z] bdb8f0575790: Download complete [2022-06-20T10:24:25.015Z] 386e3cb2ff24: Download complete [2022-06-20T10:24:25.015Z] 2343380bae48: Download complete [2022-06-20T10:24:25.015Z] 42c077c10790: Verifying Checksum [2022-06-20T10:24:25.015Z] 42c077c10790: Download complete [2022-06-20T10:24:25.276Z] c8a8fc8e1c8f: Download complete [2022-06-20T10:24:26.659Z] 42c077c10790: Pull complete [2022-06-20T10:24:26.659Z] f63e77b7563a: Pull complete [2022-06-20T10:24:27.229Z] bd5fdadae976: Pull complete [2022-06-20T10:24:27.229Z] 205491f53016: Pull complete [2022-06-20T10:24:27.495Z] df18705c85c3: Pull complete [2022-06-20T10:24:27.495Z] bdb3f477010e: Pull complete [2022-06-20T10:24:30.056Z] c8a8fc8e1c8f: Pull complete [2022-06-20T10:24:30.056Z] 2c6e9b1d212d: Pull complete [2022-06-20T10:24:30.056Z] bdb8f0575790: Pull complete [2022-06-20T10:24:30.056Z] 386e3cb2ff24: Pull complete [2022-06-20T10:24:30.056Z] 2343380bae48: Pull complete [2022-06-20T10:24:30.056Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-20T10:24:30.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-20T10:24:30.056Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T10:24:30.173Z] prd-ubuntu20.04-docker-8c-8g-15146 does not seem to be running inside a container [2022-06-20T10:24:30.222Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-20T10:24:31.685Z] $ docker top 67b9922ad886d53d0b56fb72a916c683ca03daefe38fb25db34ab28f11bc26ff -eo pid,comm [2022-06-20T10:24:31.753Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-20T10:24:31.754Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-20T10:24:31.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T10:24:31.788Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T10:24:31.940Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T10:24:31.946Z] $ docker exec 67b9922ad886d53d0b56fb72a916c683ca03daefe38fb25db34ab28f11bc26ff ssh-agent [2022-06-20T10:24:32.083Z] SSH_AUTH_SOCK=/tmp/ssh-50mIC3wSCaD4/agent.33 [2022-06-20T10:24:32.083Z] SSH_AGENT_PID=39 [2022-06-20T10:24:32.091Z] Running ssh-add (command line suppressed) [2022-06-20T10:24:32.217Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_4295853285929093520.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_4295853285929093520.key) [2022-06-20T10:24:32.232Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T10:24:32.528Z] + git tag --points-at HEAD [Pipeline] } [2022-06-20T10:24:32.552Z] $ docker exec --env ******** --env ******** 67b9922ad886d53d0b56fb72a916c683ca03daefe38fb25db34ab28f11bc26ff ssh-agent -k [2022-06-20T10:24:32.680Z] unset SSH_AUTH_SOCK; [2022-06-20T10:24:32.681Z] unset SSH_AGENT_PID; [2022-06-20T10:24:32.681Z] echo Agent pid 39 killed; [2022-06-20T10:24:32.690Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-20T10:24:32.712Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-20T10:24:32.712Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-20T10:24:32.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-20T10:24:32.849Z] $ docker exec 67b9922ad886d53d0b56fb72a916c683ca03daefe38fb25db34ab28f11bc26ff ssh-agent [2022-06-20T10:24:32.969Z] SSH_AUTH_SOCK=/tmp/ssh-Qu6dWEVt9iYN/agent.73 [2022-06-20T10:24:32.969Z] SSH_AGENT_PID=79 [2022-06-20T10:24:32.975Z] Running ssh-add (command line suppressed) [2022-06-20T10:24:33.120Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_7940736064713407857.key (/w/workspace/foundry_device-virtual-go_PR-290@tmp/private_key_7940736064713407857.key) [2022-06-20T10:24:33.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-20T10:24:33.431Z] + git semver init [2022-06-20T10:24:33.692Z] 2022-06-20 10:24:33,641 [run_init] DEBUG init version:0.0.0 force:False [2022-06-20T10:24:33.692Z] 2022-06-20 10:24:33,641 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-20T10:24:33.692Z] 2022-06-20 10:24:33,642 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-290/.semver [2022-06-20T10:24:33.692Z] 2022-06-20 10:24:33,642 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-290/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-290, universal_newlines=False, shell=None, istream=None) [2022-06-20T10:24:34.639Z] 2022-06-20 10:24:34,596 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-290/.git/info/exclude [2022-06-20T10:24:34.639Z] 2022-06-20 10:24:34,596 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 with force:False [2022-06-20T10:24:34.639Z] 2022-06-20 10:24:34,596 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-20T10:24:34.639Z] 2022-06-20 10:24:34,600 [execute] INFO git cat-file --batch-check [2022-06-20T10:24:34.639Z] 2022-06-20 10:24:34,601 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T10:24:34.639Z] 2022-06-20 10:24:34,608 [execute] INFO git cat-file --batch [2022-06-20T10:24:34.639Z] 2022-06-20 10:24:34,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-290/.semver, universal_newlines=False, shell=None, istream=) [2022-06-20T10:24:34.639Z] 2022-06-20 10:24:34,613 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-290/.semver/PR-290 [2022-06-20T10:24:34.639Z] 0.0.0 [Pipeline] } [2022-06-20T10:24:34.653Z] $ docker exec --env ******** --env ******** 67b9922ad886d53d0b56fb72a916c683ca03daefe38fb25db34ab28f11bc26ff ssh-agent -k [2022-06-20T10:24:34.785Z] unset SSH_AUTH_SOCK; [2022-06-20T10:24:34.785Z] unset SSH_AGENT_PID; [2022-06-20T10:24:34.785Z] echo Agent pid 79 killed; [2022-06-20T10:24:34.796Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-20T10:24:35.120Z] + git semver [Pipeline] } [2022-06-20T10:24:35.399Z] $ docker stop --time=1 67b9922ad886d53d0b56fb72a916c683ca03daefe38fb25db34ab28f11bc26ff [2022-06-20T10:24:36.728Z] $ docker rm -f 67b9922ad886d53d0b56fb72a916c683ca03daefe38fb25db34ab28f11bc26ff [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T10:24:37.094Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-20T10:24:37.364Z] Stashed 1 file(s) [Pipeline] echo [2022-06-20T10:24:37.367Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T10:24:37.507Z] provisioning config files... [2022-06-20T10:24:37.519Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config8831797493497809506tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T10:24:37.821Z] ---> docker-login.sh [2022-06-20T10:24:37.821Z] nexus3.edgexfoundry.org:10001 [2022-06-20T10:24:37.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:24:37.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:24:37.821Z] Configure a credential helper to remove this warning. See [2022-06-20T10:24:37.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:24:37.821Z] [2022-06-20T10:24:37.821Z] Login Succeeded [2022-06-20T10:24:37.821Z] nexus3.edgexfoundry.org:10002 [2022-06-20T10:24:37.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:24:38.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:24:38.083Z] Configure a credential helper to remove this warning. See [2022-06-20T10:24:38.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:24:38.083Z] [2022-06-20T10:24:38.083Z] Login Succeeded [2022-06-20T10:24:38.083Z] nexus3.edgexfoundry.org:10003 [2022-06-20T10:24:38.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:24:38.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:24:38.083Z] Configure a credential helper to remove this warning. See [2022-06-20T10:24:38.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:24:38.083Z] [2022-06-20T10:24:38.083Z] Login Succeeded [2022-06-20T10:24:38.083Z] nexus3.edgexfoundry.org:10004 [2022-06-20T10:24:38.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:24:38.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:24:38.346Z] Configure a credential helper to remove this warning. See [2022-06-20T10:24:38.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:24:38.346Z] [2022-06-20T10:24:38.346Z] Login Succeeded [2022-06-20T10:24:38.346Z] docker.io [2022-06-20T10:24:38.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:24:38.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:24:38.608Z] Configure a credential helper to remove this warning. See [2022-06-20T10:24:38.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:24:38.608Z] [2022-06-20T10:24:38.608Z] Login Succeeded [2022-06-20T10:24:38.608Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T10:24:38.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T10:24:38.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T10:24:38.704Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T10:24:38.717Z] ========================================================= [2022-06-20T10:24:38.717Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-20T10:24:38.717Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:24:39.051Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-20T10:24:39.051Z] Sending build context to Docker daemon 23.1MB [2022-06-20T10:24:39.051Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T10:24:39.051Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T10:24:39.316Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-20T10:24:39.316Z] 59bf1c3509f3: Pulling fs layer [2022-06-20T10:24:39.316Z] 666ba61612fd: Pulling fs layer [2022-06-20T10:24:39.316Z] 8ed8ca486205: Pulling fs layer [2022-06-20T10:24:39.316Z] cc1cd167ecdc: Pulling fs layer [2022-06-20T10:24:39.316Z] c516ae0d96e1: Pulling fs layer [2022-06-20T10:24:39.316Z] 684cea983483: Pulling fs layer [2022-06-20T10:24:39.316Z] cc1cd167ecdc: Waiting [2022-06-20T10:24:39.316Z] c516ae0d96e1: Waiting [2022-06-20T10:24:39.316Z] dd3240ac7de5: Pulling fs layer [2022-06-20T10:24:39.316Z] b1e948a4e11c: Pulling fs layer [2022-06-20T10:24:39.316Z] 684cea983483: Waiting [2022-06-20T10:24:39.316Z] dd3240ac7de5: Waiting [2022-06-20T10:24:39.316Z] a8fd76ee1af6: Pulling fs layer [2022-06-20T10:24:39.316Z] b1e948a4e11c: Waiting [2022-06-20T10:24:39.316Z] 646ad004c059: Pulling fs layer [2022-06-20T10:24:39.316Z] 646ad004c059: Waiting [2022-06-20T10:24:39.316Z] a8fd76ee1af6: Waiting [2022-06-20T10:24:39.316Z] 8ed8ca486205: Verifying Checksum [2022-06-20T10:24:39.316Z] 8ed8ca486205: Download complete [2022-06-20T10:24:39.316Z] 666ba61612fd: Download complete [2022-06-20T10:24:39.316Z] c516ae0d96e1: Verifying Checksum [2022-06-20T10:24:39.316Z] c516ae0d96e1: Download complete [2022-06-20T10:24:39.316Z] 684cea983483: Verifying Checksum [2022-06-20T10:24:39.316Z] 684cea983483: Download complete [2022-06-20T10:24:39.316Z] dd3240ac7de5: Download complete [2022-06-20T10:24:39.316Z] 59bf1c3509f3: Verifying Checksum [2022-06-20T10:24:39.316Z] 59bf1c3509f3: Download complete [2022-06-20T10:24:39.316Z] b1e948a4e11c: Verifying Checksum [2022-06-20T10:24:39.316Z] b1e948a4e11c: Download complete [2022-06-20T10:24:39.581Z] 59bf1c3509f3: Pull complete [2022-06-20T10:24:39.581Z] 666ba61612fd: Pull complete [2022-06-20T10:24:39.842Z] 8ed8ca486205: Pull complete [2022-06-20T10:24:39.842Z] 646ad004c059: Verifying Checksum [2022-06-20T10:24:39.842Z] 646ad004c059: Download complete [2022-06-20T10:24:40.103Z] a8fd76ee1af6: Verifying Checksum [2022-06-20T10:24:40.103Z] a8fd76ee1af6: Download complete [2022-06-20T10:24:40.103Z] cc1cd167ecdc: Verifying Checksum [2022-06-20T10:24:40.103Z] cc1cd167ecdc: Download complete [2022-06-20T10:24:44.311Z] cc1cd167ecdc: Pull complete [2022-06-20T10:24:44.311Z] c516ae0d96e1: Pull complete [2022-06-20T10:24:44.311Z] 684cea983483: Pull complete [2022-06-20T10:24:44.572Z] dd3240ac7de5: Pull complete [2022-06-20T10:24:44.572Z] b1e948a4e11c: Pull complete [2022-06-20T10:24:47.118Z] a8fd76ee1af6: Pull complete [2022-06-20T10:24:47.690Z] 646ad004c059: Pull complete [2022-06-20T10:24:47.690Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-20T10:24:47.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-20T10:24:47.690Z] ---> 8f69c11f6b0c [2022-06-20T10:24:47.690Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T10:24:49.613Z] ---> Running in 695faf444f81 [2022-06-20T10:24:49.613Z] Removing intermediate container 695faf444f81 [2022-06-20T10:24:49.613Z] ---> 87268d5248f0 [2022-06-20T10:24:49.613Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T10:24:49.613Z] ---> Running in f9c8fbb44ab4 [2022-06-20T10:24:49.613Z] Removing intermediate container f9c8fbb44ab4 [2022-06-20T10:24:49.613Z] ---> 051bc86f7839 [2022-06-20T10:24:49.613Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-20T10:24:49.613Z] ---> Running in b09ae3378093 [2022-06-20T10:24:49.874Z] Removing intermediate container b09ae3378093 [2022-06-20T10:24:49.874Z] ---> d67f909f50f7 [2022-06-20T10:24:49.874Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T10:24:49.874Z] ---> Running in 17097710bbbd [2022-06-20T10:24:50.449Z] Removing intermediate container 17097710bbbd [2022-06-20T10:24:50.449Z] ---> de8c899f48d7 [2022-06-20T10:24:50.449Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T10:24:50.449Z] ---> Running in 22ac4c2e8779 [2022-06-20T10:24:50.710Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T10:24:51.654Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T10:24:52.475Z] Still waiting to schedule task [2022-06-20T10:24:52.475Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-20T10:24:53.046Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-20T10:24:53.046Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-20T10:24:53.046Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-20T10:24:53.046Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-20T10:24:53.307Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T10:24:53.307Z] OK: 224 MiB in 56 packages [2022-06-20T10:24:53.568Z] Removing intermediate container 22ac4c2e8779 [2022-06-20T10:24:53.568Z] ---> 0bda62a41621 [2022-06-20T10:24:53.568Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-20T10:24:53.829Z] ---> 2d033d2d3cc1 [2022-06-20T10:24:53.829Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T10:24:53.829Z] ---> Running in 7c58ed21a042 [2022-06-20T10:25:11.954Z] Removing intermediate container 7c58ed21a042 [2022-06-20T10:25:11.954Z] ---> f67d4ac8ce8d [2022-06-20T10:25:11.954Z] Step 10/12 : COPY . . [2022-06-20T10:25:11.954Z] ---> 8bc1f75f0c54 [2022-06-20T10:25:11.954Z] Step 11/12 : ARG MAKE='make build' [2022-06-20T10:25:11.954Z] ---> Running in 5f3437bf5ac0 [2022-06-20T10:25:11.954Z] Removing intermediate container 5f3437bf5ac0 [2022-06-20T10:25:11.954Z] ---> e7aceca06f8f [2022-06-20T10:25:11.954Z] Step 12/12 : RUN $MAKE [2022-06-20T10:25:11.954Z] ---> Running in 2166ac5ef859 [2022-06-20T10:25:11.954Z] noop [2022-06-20T10:25:11.954Z] Removing intermediate container 2166ac5ef859 [2022-06-20T10:25:11.954Z] ---> 7cb9141d19d0 [2022-06-20T10:25:11.954Z] Successfully built 7cb9141d19d0 [2022-06-20T10:25:11.954Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:25:12.262Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T10:25:12.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T10:25:12.362Z] prd-ubuntu20.04-docker-8c-8g-15146 does not seem to be running inside a container [2022-06-20T10:25:12.404Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-20T10:25:12.812Z] $ docker top 8b2851274c56d458bb472aee3fb0e7aae2ffac7f7b6d41bdcb8d22fdf0d00c00 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T10:25:13.177Z] + go version [2022-06-20T10:25:13.177Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-20T10:25:13.193Z] $ docker stop --time=1 8b2851274c56d458bb472aee3fb0e7aae2ffac7f7b6d41bdcb8d22fdf0d00c00 [2022-06-20T10:25:14.526Z] $ docker rm -f 8b2851274c56d458bb472aee3fb0e7aae2ffac7f7b6d41bdcb8d22fdf0d00c00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:25:14.950Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-20T10:25:14.950Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T10:25:15.088Z] prd-ubuntu20.04-docker-8c-8g-15146 does not seem to be running inside a container [2022-06-20T10:25:15.236Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-20T10:25:15.654Z] $ docker top 18a9ffeea754234d817abfc9ba3a6ba301d6d9d76ca316ea83b65e2406eb46af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T10:25:16.041Z] + make test [2022-06-20T10:25:16.041Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-20T10:25:16.302Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-20T10:25:26.302Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-20T10:25:26.302Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements [2022-06-20T10:25:34.454Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-20T10:25:38.667Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T10:25:38.667Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T10:25:38.667Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T10:25:38.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T10:25:38.695Z] $ docker stop --time=1 18a9ffeea754234d817abfc9ba3a6ba301d6d9d76ca316ea83b65e2406eb46af [2022-06-20T10:25:40.514Z] $ docker rm -f 18a9ffeea754234d817abfc9ba3a6ba301d6d9d76ca316ea83b65e2406eb46af [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T10:25:40.967Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T10:25:41.026Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-20T10:25:41.627Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T10:25:41.917Z] + ls -al . [2022-06-20T10:25:41.917Z] total 192 [2022-06-20T10:25:41.917Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 20 10:25 . [2022-06-20T10:25:41.917Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 10:24 .. [2022-06-20T10:25:41.917Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 10:24 .git [2022-06-20T10:25:41.917Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 10:24 .github [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 20 10:24 .gitignore [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 10:24 .golangci.yml [2022-06-20T10:25:41.917Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 10:24 .semver [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 20 10:24 Attribution.txt [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 20 10:24 CHANGELOG.md [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 20 10:24 Dockerfile [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 10:24 GOVERNANCE.md [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 20 10:24 Jenkinsfile [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 10:24 LICENSE [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 20 10:24 Makefile [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 20 10:24 OWNERS.md [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 20 10:24 README.md [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 10:24 VERSION [2022-06-20T10:25:41.917Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 10:24 bin [2022-06-20T10:25:41.917Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 10:24 cmd [2022-06-20T10:25:41.917Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 20 10:25 coverage.out [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 20 10:24 go.mod [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 20 10:24 go.sum [2022-06-20T10:25:41.917Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 10:24 internal [2022-06-20T10:25:41.917Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 10:24 snap [2022-06-20T10:25:41.917Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 20 10:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:25:42.235Z] + 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=336a5b6f5729963ebd7fce447136fd5287f7ffc8 --label arch=amd64 --label version=0.0.0 . [2022-06-20T10:25:42.235Z] Sending build context to Docker daemon 23.14MB [2022-06-20T10:25:42.235Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T10:25:42.235Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-20T10:25:42.235Z] ---> 7cb9141d19d0 [2022-06-20T10:25:42.235Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T10:25:42.494Z] ---> Running in eff8b71c6ca1 [2022-06-20T10:25:42.494Z] Removing intermediate container eff8b71c6ca1 [2022-06-20T10:25:42.494Z] ---> 805f520cb3ef [2022-06-20T10:25:42.494Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T10:25:42.494Z] ---> Running in 911f280e0d2c [2022-06-20T10:25:42.754Z] Removing intermediate container 911f280e0d2c [2022-06-20T10:25:42.754Z] ---> 793134979e7a [2022-06-20T10:25:42.754Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-20T10:25:42.754Z] ---> Running in 79d13ae2685c [2022-06-20T10:25:42.754Z] Removing intermediate container 79d13ae2685c [2022-06-20T10:25:42.754Z] ---> 883362763f2b [2022-06-20T10:25:42.754Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T10:25:42.754Z] ---> Running in 832acc1022e0 [2022-06-20T10:25:43.701Z] Removing intermediate container 832acc1022e0 [2022-06-20T10:25:43.701Z] ---> 85360ccbeddf [2022-06-20T10:25:43.701Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T10:25:43.701Z] ---> Running in 19cb1469eebe [2022-06-20T10:25:43.962Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-20T10:25:44.906Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-20T10:25:44.906Z] OK: 224 MiB in 56 packages [2022-06-20T10:25:45.477Z] Removing intermediate container 19cb1469eebe [2022-06-20T10:25:45.477Z] ---> 79c379586068 [2022-06-20T10:25:45.477Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-20T10:25:45.477Z] ---> 34d299d3a3d4 [2022-06-20T10:25:45.477Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T10:25:45.477Z] ---> Running in 6b00ed181d41 [2022-06-20T10:25:46.419Z] Removing intermediate container 6b00ed181d41 [2022-06-20T10:25:46.419Z] ---> 95762a222a0b [2022-06-20T10:25:46.419Z] Step 10/26 : COPY . . [2022-06-20T10:25:46.990Z] ---> 180a616c739e [2022-06-20T10:25:46.990Z] Step 11/26 : ARG MAKE='make build' [2022-06-20T10:25:46.990Z] ---> Running in b2726fd1fff3 [2022-06-20T10:25:46.990Z] Removing intermediate container b2726fd1fff3 [2022-06-20T10:25:46.990Z] ---> e7a75e337a82 [2022-06-20T10:25:46.990Z] Step 12/26 : RUN $MAKE [2022-06-20T10:25:46.990Z] ---> Running in e7bed81f3108 [2022-06-20T10:25:47.250Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-20T10:26:09.204Z] Removing intermediate container e7bed81f3108 [2022-06-20T10:26:09.204Z] ---> 0ce91948b33e [2022-06-20T10:26:09.204Z] Step 13/26 : FROM alpine:3.14 [2022-06-20T10:26:09.204Z] 3.14: Pulling from library/alpine [2022-06-20T10:26:09.204Z] 8663204ce13b: Pulling fs layer [2022-06-20T10:26:09.204Z] 8663204ce13b: Verifying Checksum [2022-06-20T10:26:09.204Z] 8663204ce13b: Download complete [2022-06-20T10:26:09.204Z] 8663204ce13b: Pull complete [2022-06-20T10:26:09.204Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T10:26:09.204Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T10:26:09.204Z] ---> e04c818066af [2022-06-20T10:26:09.204Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-20T10:26:09.204Z] ---> Running in fab18a71ff0f [2022-06-20T10:26:09.204Z] Removing intermediate container fab18a71ff0f [2022-06-20T10:26:09.204Z] ---> daa17a831245 [2022-06-20T10:26:09.204Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T10:26:09.204Z] ---> Running in 85ee9832708a [2022-06-20T10:26:09.462Z] Removing intermediate container 85ee9832708a [2022-06-20T10:26:09.462Z] ---> 8fd6967294b6 [2022-06-20T10:26:09.462Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-20T10:26:09.462Z] ---> Running in f2bed9ee70a5 [2022-06-20T10:26:09.721Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-20T10:26:10.662Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-20T10:26:10.923Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-20T10:26:10.923Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T10:26:11.184Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-20T10:26:11.184Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T10:26:11.446Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-20T10:26:11.446Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-20T10:26:11.446Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T10:26:11.446Z] OK: 8 MiB in 20 packages [2022-06-20T10:26:12.018Z] Removing intermediate container f2bed9ee70a5 [2022-06-20T10:26:12.018Z] ---> a02e8ef671d7 [2022-06-20T10:26:12.018Z] Step 17/26 : WORKDIR / [2022-06-20T10:26:12.018Z] ---> Running in 5033e32b39f9 [2022-06-20T10:26:12.018Z] Removing intermediate container 5033e32b39f9 [2022-06-20T10:26:12.018Z] ---> 4167c4393b66 [2022-06-20T10:26:12.018Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-20T10:26:12.018Z] ---> 579e7adb5988 [2022-06-20T10:26:12.018Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-20T10:26:12.277Z] ---> 151965ba07ce [2022-06-20T10:26:12.277Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-20T10:26:12.845Z] ---> 7d9384f7cd7d [2022-06-20T10:26:12.845Z] Step 21/26 : EXPOSE 59900 [2022-06-20T10:26:12.845Z] ---> Running in 23a091db5800 [2022-06-20T10:26:13.116Z] Removing intermediate container 23a091db5800 [2022-06-20T10:26:13.116Z] ---> eff13e9bdd42 [2022-06-20T10:26:13.116Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-20T10:26:13.116Z] ---> Running in 7203c5bb53ce [2022-06-20T10:26:13.116Z] Removing intermediate container 7203c5bb53ce [2022-06-20T10:26:13.116Z] ---> e1661f2f254d [2022-06-20T10:26:13.116Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-20T10:26:13.116Z] ---> Running in 5503d321fb44 [2022-06-20T10:26:13.375Z] Removing intermediate container 5503d321fb44 [2022-06-20T10:26:13.375Z] ---> f693f0e159a2 [2022-06-20T10:26:13.375Z] Step 24/26 : LABEL arch=amd64 [2022-06-20T10:26:13.375Z] ---> Running in 04cf0357fcad [2022-06-20T10:26:13.375Z] Removing intermediate container 04cf0357fcad [2022-06-20T10:26:13.375Z] ---> ace3a5f97492 [2022-06-20T10:26:13.375Z] Step 25/26 : LABEL git_sha=336a5b6f5729963ebd7fce447136fd5287f7ffc8 [2022-06-20T10:26:13.375Z] ---> Running in b26b99e0f64a [2022-06-20T10:26:13.635Z] Removing intermediate container b26b99e0f64a [2022-06-20T10:26:13.635Z] ---> f0520c4c775f [2022-06-20T10:26:13.635Z] Step 26/26 : LABEL version=0.0.0 [2022-06-20T10:26:13.635Z] ---> Running in 9bcf1c0837f7 [2022-06-20T10:26:13.635Z] Removing intermediate container 9bcf1c0837f7 [2022-06-20T10:26:13.635Z] ---> 5aee990da07c [2022-06-20T10:26:13.635Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T10:26:13.635Z] Successfully built 5aee990da07c [2022-06-20T10:26:13.635Z] 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 [2022-06-20T10:26:14.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T10:26:14.189Z] [2022-06-20T10:26:14.189Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:26:14.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T10:26:14.499Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-20T10:26:14.499Z] 5eb5b503b376: Pulling fs layer [2022-06-20T10:26:14.499Z] 5c69ac0246d0: Pulling fs layer [2022-06-20T10:26:14.499Z] ec43610c2a17: Pulling fs layer [2022-06-20T10:26:14.499Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-20T10:26:14.499Z] 33b1e0a273af: Pulling fs layer [2022-06-20T10:26:14.499Z] 5d3b04190fa2: Pulling fs layer [2022-06-20T10:26:14.499Z] 2f39f015ded8: Pulling fs layer [2022-06-20T10:26:14.499Z] 33b1e0a273af: Waiting [2022-06-20T10:26:14.499Z] 5d3b04190fa2: Waiting [2022-06-20T10:26:14.499Z] 2f39f015ded8: Waiting [2022-06-20T10:26:14.499Z] 3a2ae6a8a46f: Waiting [2022-06-20T10:26:14.499Z] 5c69ac0246d0: Verifying Checksum [2022-06-20T10:26:14.499Z] 5c69ac0246d0: Download complete [2022-06-20T10:26:14.499Z] 3a2ae6a8a46f: Download complete [2022-06-20T10:26:14.499Z] 33b1e0a273af: Download complete [2022-06-20T10:26:14.759Z] 5d3b04190fa2: Verifying Checksum [2022-06-20T10:26:14.759Z] 5d3b04190fa2: Download complete [2022-06-20T10:26:14.759Z] ec43610c2a17: Verifying Checksum [2022-06-20T10:26:14.759Z] ec43610c2a17: Download complete [2022-06-20T10:26:14.759Z] 5eb5b503b376: Download complete [2022-06-20T10:26:15.328Z] 2f39f015ded8: Download complete [2022-06-20T10:26:16.268Z] 5eb5b503b376: Pull complete [2022-06-20T10:26:16.268Z] 5c69ac0246d0: Pull complete [2022-06-20T10:26:16.839Z] ec43610c2a17: Pull complete [2022-06-20T10:26:16.839Z] 3a2ae6a8a46f: Pull complete [2022-06-20T10:26:17.097Z] 33b1e0a273af: Pull complete [2022-06-20T10:26:17.097Z] 5d3b04190fa2: Pull complete [2022-06-20T10:26:22.371Z] 2f39f015ded8: Pull complete [2022-06-20T10:26:22.371Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-20T10:26:22.371Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T10:26:22.371Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T10:26:22.467Z] prd-ubuntu20.04-docker-8c-8g-15146 does not seem to be running inside a container [2022-06-20T10:26:22.509Z] $ 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-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-20T10:26:24.076Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15147 in /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-20T10:26:24.205Z] $ docker top a260aff7b4c07e20ff380715fb6db2467f68aa2e411a6eca84d00a72b5fd7d28 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-06-20T10:26:24.376Z] Running in /w/workspace/device-virtual-go/18 [Pipeline] { [Pipeline] checkout [2022-06-20T10:26:24.417Z] The recommended git tool is: git [2022-06-20T10:26:24.631Z] ---> job-cost.sh [2022-06-20T10:26:24.632Z] lf-activate-venv: SKIPPING [2022-06-20T10:26:24.632Z] INFO: No Stack... [2022-06-20T10:26:25.205Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T10:26:25.466Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T10:26:25.766Z] + cat /w/workspace/foundry_device-virtual-go_PR-290/archives/cost.csv [2022-06-20T10:26:25.766Z] + cut -d, -f6 [Pipeline] lock [2022-06-20T10:26:25.782Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-18-stack-cost] [2022-06-20T10:26:25.788Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-18-stack-cost] did not exist. Created. [2022-06-20T10:26:25.788Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T10:26:26.132Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-20T10:26:26.201Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T10:26:26.209Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T10:26:26.231Z] $ docker stop --time=1 a260aff7b4c07e20ff380715fb6db2467f68aa2e411a6eca84d00a72b5fd7d28 [2022-06-20T10:26:27.464Z] $ docker rm -f a260aff7b4c07e20ff380715fb6db2467f68aa2e411a6eca84d00a72b5fd7d28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-20T10:26:30.723Z] using credential edgex-jenkins-ssh [2022-06-20T10:26:30.748Z] Cloning the remote Git repository [2022-06-20T10:26:30.862Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-06-20T10:26:30.958Z] > git init /w/workspace/device-virtual-go/18 # timeout=10 [2022-06-20T10:26:31.074Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-20T10:26:31.075Z] > git --version # timeout=10 [2022-06-20T10:26:31.108Z] > git --version # 'git version 2.25.1' [2022-06-20T10:26:31.110Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T10:26:31.404Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T10:26:34.515Z] Merging remotes/origin/main commit 36f1c9105c586ba8e2014e0f524de26550782ad6 into PR head commit 027cfbb5812d92eee0ba25b7057c72fee1786fbc [2022-06-20T10:26:33.652Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-20T10:26:33.725Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-20T10:26:33.778Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-06-20T10:26:33.874Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-06-20T10:26:33.874Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T10:26:33.901Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/290/head:refs/remotes/origin/PR-290 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-20T10:26:34.546Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T10:26:34.590Z] > git checkout -f 027cfbb5812d92eee0ba25b7057c72fee1786fbc # timeout=10 [2022-06-20T10:26:35.059Z] Merge succeeded, producing 9f47a2640d7f3d0098937265c8fc34b7cb336ead [2022-06-20T10:26:35.060Z] Checking out Revision 9f47a2640d7f3d0098937265c8fc34b7cb336ead (PR-290) [2022-06-20T10:26:34.723Z] > git remote # timeout=10 [2022-06-20T10:26:34.802Z] > git config --get remote.origin.url # timeout=10 [2022-06-20T10:26:34.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-20T10:26:34.883Z] > git merge 36f1c9105c586ba8e2014e0f524de26550782ad6 # timeout=10 [2022-06-20T10:26:35.004Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-20T10:26:35.072Z] > git config core.sparsecheckout # timeout=10 [2022-06-20T10:26:35.101Z] > git checkout -f 9f47a2640d7f3d0098937265c8fc34b7cb336ead # timeout=10 [2022-06-20T10:26:39.572Z] Commit message: "Merge commit '36f1c9105c586ba8e2014e0f524de26550782ad6' into HEAD" [2022-06-20T10:26:39.597Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T10:26:40.525Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-20T10:26:40.525Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T10:26:40.525Z] Dload Upload Total Spent Left Speed [2022-06-20T10:26:40.525Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 64830 0 --:--:-- --:--:-- --:--:-- 64830 [Pipeline] sh [2022-06-20T10:26:39.584Z] > git rev-list --no-walk cf160d4a7f915e6dad69bb6c265f8862b14000cc # timeout=10 [2022-06-20T10:26:41.275Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-20T10:26:41.628Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-20T10:26:41.629Z] + sudo tee /etc/docker/daemon.new [2022-06-20T10:26:41.629Z] { [2022-06-20T10:26:41.629Z] "registry-mirrors": [ [2022-06-20T10:26:41.629Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-20T10:26:41.629Z] ], [2022-06-20T10:26:41.629Z] "bip": "10.250.0.254/24", [2022-06-20T10:26:41.629Z] "hosts": [ [2022-06-20T10:26:41.629Z] "tcp://0.0.0.0:5555", [2022-06-20T10:26:41.629Z] "unix:///var/run/docker.sock" [2022-06-20T10:26:41.629Z] ], [2022-06-20T10:26:41.629Z] "mtu": 1458, [2022-06-20T10:26:41.629Z] "selinux-enabled": true, [2022-06-20T10:26:41.629Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-20T10:26:41.629Z] } [Pipeline] sh [2022-06-20T10:26:42.080Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-20T10:26:42.430Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T10:27:00.778Z] provisioning config files... [2022-06-20T10:27:00.802Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/18@tmp/config7150875140526433081tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T10:27:01.155Z] ---> docker-login.sh [2022-06-20T10:27:01.155Z] nexus3.edgexfoundry.org:10001 [2022-06-20T10:27:01.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:27:02.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:27:02.033Z] Configure a credential helper to remove this warning. See [2022-06-20T10:27:02.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:27:02.033Z] [2022-06-20T10:27:02.033Z] Login Succeeded [2022-06-20T10:27:02.033Z] nexus3.edgexfoundry.org:10002 [2022-06-20T10:27:02.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:27:02.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:27:02.583Z] Configure a credential helper to remove this warning. See [2022-06-20T10:27:02.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:27:02.583Z] [2022-06-20T10:27:02.583Z] Login Succeeded [2022-06-20T10:27:02.583Z] nexus3.edgexfoundry.org:10003 [2022-06-20T10:27:02.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:27:02.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:27:02.855Z] Configure a credential helper to remove this warning. See [2022-06-20T10:27:02.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:27:02.855Z] [2022-06-20T10:27:02.855Z] Login Succeeded [2022-06-20T10:27:02.855Z] nexus3.edgexfoundry.org:10004 [2022-06-20T10:27:03.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:27:03.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:27:03.412Z] Configure a credential helper to remove this warning. See [2022-06-20T10:27:03.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:27:03.412Z] [2022-06-20T10:27:03.412Z] Login Succeeded [2022-06-20T10:27:03.412Z] docker.io [2022-06-20T10:27:03.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-20T10:27:03.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-20T10:27:03.957Z] Configure a credential helper to remove this warning. See [2022-06-20T10:27:03.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-20T10:27:03.957Z] [2022-06-20T10:27:03.957Z] Login Succeeded [2022-06-20T10:27:03.957Z] ---> docker-login.sh ends [Pipeline] } [2022-06-20T10:27:03.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-20T10:27:04.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T10:27:04.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-20T10:27:04.480Z] ========================================================= [2022-06-20T10:27:04.480Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-20T10:27:04.480Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:27:04.835Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-20T10:27:05.431Z] Sending build context to Docker daemon 11.73MB [2022-06-20T10:27:05.431Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T10:27:05.431Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-20T10:27:05.431Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-20T10:27:05.431Z] 9b3977197b4f: Pulling fs layer [2022-06-20T10:27:05.431Z] 1a89e8eeedd5: Pulling fs layer [2022-06-20T10:27:05.431Z] 94645a83ff95: Pulling fs layer [2022-06-20T10:27:05.431Z] e6fb740bc735: Pulling fs layer [2022-06-20T10:27:05.431Z] 3a77bd46dcc9: Pulling fs layer [2022-06-20T10:27:05.431Z] 355e64cbe906: Pulling fs layer [2022-06-20T10:27:05.431Z] 63ab81a10011: Pulling fs layer [2022-06-20T10:27:05.431Z] 555d1d1c4555: Pulling fs layer [2022-06-20T10:27:05.431Z] 7d9057610161: Pulling fs layer [2022-06-20T10:27:05.431Z] e6fb740bc735: Waiting [2022-06-20T10:27:05.431Z] 3a77bd46dcc9: Waiting [2022-06-20T10:27:05.431Z] 355e64cbe906: Waiting [2022-06-20T10:27:05.431Z] 7d9057610161: Waiting [2022-06-20T10:27:05.431Z] 63ab81a10011: Waiting [2022-06-20T10:27:05.431Z] 555d1d1c4555: Waiting [2022-06-20T10:27:05.431Z] 94645a83ff95: Verifying Checksum [2022-06-20T10:27:05.431Z] 94645a83ff95: Download complete [2022-06-20T10:27:05.431Z] 1a89e8eeedd5: Download complete [2022-06-20T10:27:05.431Z] 3a77bd46dcc9: Verifying Checksum [2022-06-20T10:27:05.431Z] 3a77bd46dcc9: Download complete [2022-06-20T10:27:05.431Z] 355e64cbe906: Download complete [2022-06-20T10:27:05.431Z] 9b3977197b4f: Verifying Checksum [2022-06-20T10:27:05.431Z] 63ab81a10011: Verifying Checksum [2022-06-20T10:27:05.431Z] 63ab81a10011: Download complete [2022-06-20T10:27:06.430Z] 7d9057610161: Verifying Checksum [2022-06-20T10:27:06.430Z] 7d9057610161: Download complete [2022-06-20T10:27:06.430Z] 9b3977197b4f: Pull complete [2022-06-20T10:27:07.036Z] 1a89e8eeedd5: Pull complete [2022-06-20T10:27:07.311Z] 94645a83ff95: Pull complete [2022-06-20T10:27:07.586Z] 555d1d1c4555: Verifying Checksum [2022-06-20T10:27:07.586Z] 555d1d1c4555: Download complete [2022-06-20T10:27:08.184Z] e6fb740bc735: Verifying Checksum [2022-06-20T10:27:08.184Z] e6fb740bc735: Download complete [2022-06-20T10:27:20.594Z] e6fb740bc735: Pull complete [2022-06-20T10:27:20.594Z] 3a77bd46dcc9: Pull complete [2022-06-20T10:27:20.594Z] 355e64cbe906: Pull complete [2022-06-20T10:27:20.872Z] 63ab81a10011: Pull complete [2022-06-20T10:27:27.604Z] 555d1d1c4555: Pull complete [2022-06-20T10:27:29.044Z] 7d9057610161: Pull complete [2022-06-20T10:27:29.044Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-20T10:27:29.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-20T10:27:29.044Z] ---> 819e984ddca1 [2022-06-20T10:27:29.044Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T10:27:30.485Z] ---> Running in eb6602f97254 [2022-06-20T10:27:30.760Z] Removing intermediate container eb6602f97254 [2022-06-20T10:27:30.760Z] ---> cf642fa4c37d [2022-06-20T10:27:30.760Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T10:27:31.034Z] ---> Running in d4d04885755c [2022-06-20T10:27:31.308Z] Removing intermediate container d4d04885755c [2022-06-20T10:27:31.308Z] ---> ef6c513e5b6a [2022-06-20T10:27:31.308Z] Step 5/12 : WORKDIR /device-virtual-go [2022-06-20T10:27:31.308Z] ---> Running in 68855aca2159 [2022-06-20T10:27:31.585Z] Removing intermediate container 68855aca2159 [2022-06-20T10:27:31.585Z] ---> 3f860b5de2a8 [2022-06-20T10:27:31.585Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T10:27:31.585Z] ---> Running in 7da5be326097 [2022-06-20T10:27:33.580Z] Removing intermediate container 7da5be326097 [2022-06-20T10:27:33.580Z] ---> 7cc5ef26e53f [2022-06-20T10:27:33.580Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T10:27:33.580Z] ---> Running in fdb0ff02bc9d [2022-06-20T10:27:34.563Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T10:27:35.544Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T10:27:36.138Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-20T10:27:36.138Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-20T10:27:36.410Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-20T10:27:36.410Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-20T10:27:36.683Z] Executing busybox-1.34.1-r3.trigger [2022-06-20T10:27:36.683Z] OK: 224 MiB in 56 packages [2022-06-20T10:27:37.678Z] Removing intermediate container fdb0ff02bc9d [2022-06-20T10:27:37.678Z] ---> 00f7e8bc75d9 [2022-06-20T10:27:37.678Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-20T10:27:37.960Z] ---> 79c1f9096720 [2022-06-20T10:27:37.960Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T10:27:38.236Z] ---> Running in cda60ff4884f [2022-06-20T10:28:25.266Z] Removing intermediate container cda60ff4884f [2022-06-20T10:28:25.266Z] ---> 85667ac33d62 [2022-06-20T10:28:25.266Z] Step 10/12 : COPY . . [2022-06-20T10:28:25.266Z] ---> 32ceff8885f6 [2022-06-20T10:28:25.266Z] Step 11/12 : ARG MAKE='make build' [2022-06-20T10:28:25.266Z] ---> Running in ed8d28f345ff [2022-06-20T10:28:25.266Z] Removing intermediate container ed8d28f345ff [2022-06-20T10:28:25.266Z] ---> 1b5540a23ffd [2022-06-20T10:28:25.266Z] Step 12/12 : RUN $MAKE [2022-06-20T10:28:25.266Z] ---> Running in c3d5d393e7db [2022-06-20T10:28:25.266Z] noop [2022-06-20T10:28:25.266Z] Removing intermediate container c3d5d393e7db [2022-06-20T10:28:25.266Z] ---> ab68f8bb24d3 [2022-06-20T10:28:25.266Z] Successfully built ab68f8bb24d3 [2022-06-20T10:28:25.266Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:28:25.628Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T10:28:25.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T10:28:25.883Z] prd-ubuntu20.04-docker-arm64-4c-16g-15147 does not seem to be running inside a container [2022-06-20T10:28:25.979Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/18 -v /w/workspace/device-virtual-go/18:/w/workspace/device-virtual-go/18:rw,z -v /w/workspace/device-virtual-go/18@tmp:/w/workspace/device-virtual-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-20T10:28:27.246Z] $ docker top 44316ab1d319153d93e99397717ad6d6cfabeaff54607713ecad6dc5d7e30afc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T10:28:28.168Z] + go version [2022-06-20T10:28:28.168Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-20T10:28:28.204Z] $ docker stop --time=1 44316ab1d319153d93e99397717ad6d6cfabeaff54607713ecad6dc5d7e30afc [2022-06-20T10:28:29.838Z] $ docker rm -f 44316ab1d319153d93e99397717ad6d6cfabeaff54607713ecad6dc5d7e30afc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:28:30.461Z] + docker inspect -f . ci-base-image-arm64 [2022-06-20T10:28:30.461Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T10:28:30.717Z] prd-ubuntu20.04-docker-arm64-4c-16g-15147 does not seem to be running inside a container [2022-06-20T10:28:30.811Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/18 -v /w/workspace/device-virtual-go/18:/w/workspace/device-virtual-go/18:rw,z -v /w/workspace/device-virtual-go/18@tmp:/w/workspace/device-virtual-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-20T10:28:32.071Z] $ docker top f66e6276d1381b5139b34439064e34ca1dfaefee7bc45a9c73b2749d9001bef0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-20T10:28:32.967Z] + make test [2022-06-20T10:28:32.967Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-20T10:28:34.404Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-06-20T10:29:56.252Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-06-20T10:29:56.252Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.133s coverage: 65.7% of statements [2022-06-20T10:29:56.252Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-20T10:29:56.252Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-20T10:30:18.473Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-20T10:30:18.473Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-20T10:30:18.473Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-20T10:30:18.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-20T10:30:18.521Z] $ docker stop --time=1 f66e6276d1381b5139b34439064e34ca1dfaefee7bc45a9c73b2749d9001bef0 [2022-06-20T10:30:20.268Z] $ docker rm -f f66e6276d1381b5139b34439064e34ca1dfaefee7bc45a9c73b2749d9001bef0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-20T10:30:21.202Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-20T10:30:21.231Z] Warning: overwriting stash ‘coverage-report’ [2022-06-20T10:30:21.724Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-20T10:30:22.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-20T10:30:22.453Z] + ls -al . [2022-06-20T10:30:22.453Z] total 188 [2022-06-20T10:30:22.453Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 10:30 . [2022-06-20T10:30:22.453Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 20 10:26 .. [2022-06-20T10:30:22.453Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 20 10:26 .git [2022-06-20T10:30:22.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 10:26 .github [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 337 Jun 20 10:26 .gitignore [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 20 10:26 .golangci.yml [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 8152 Jun 20 10:26 Attribution.txt [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 9649 Jun 20 10:26 CHANGELOG.md [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 1974 Jun 20 10:26 Dockerfile [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 20 10:26 GOVERNANCE.md [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 660 Jun 20 10:26 Jenkinsfile [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 20 10:26 LICENSE [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 2248 Jun 20 10:26 Makefile [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 623 Jun 20 10:26 OWNERS.md [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 2914 Jun 20 10:26 README.md [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 20 10:24 VERSION [2022-06-20T10:30:22.453Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 20 10:26 bin [2022-06-20T10:30:22.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 10:26 cmd [2022-06-20T10:30:22.453Z] -rw-r--r-- 1 jenkins jenkins 44128 Jun 20 10:29 coverage.out [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 3189 Jun 20 10:26 go.mod [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 35675 Jun 20 10:26 go.sum [2022-06-20T10:30:22.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 10:26 internal [2022-06-20T10:30:22.453Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 20 10:26 snap [2022-06-20T10:30:22.453Z] -rw-rw-r-- 1 jenkins jenkins 235 Jun 20 10:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:30:22.810Z] + 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=9f47a2640d7f3d0098937265c8fc34b7cb336ead --label arch=arm64 --label version=0.0.0 . [2022-06-20T10:30:23.413Z] Sending build context to Docker daemon 11.77MB [2022-06-20T10:30:23.413Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-06-20T10:30:23.413Z] Step 2/26 : FROM ${BASE} AS builder [2022-06-20T10:30:23.413Z] ---> ab68f8bb24d3 [2022-06-20T10:30:23.413Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-20T10:30:23.413Z] ---> Running in 0732283a98b5 [2022-06-20T10:30:23.697Z] Removing intermediate container 0732283a98b5 [2022-06-20T10:30:23.697Z] ---> e4e4db2ff65f [2022-06-20T10:30:23.697Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-06-20T10:30:23.697Z] ---> Running in ef30708f389a [2022-06-20T10:30:24.291Z] Removing intermediate container ef30708f389a [2022-06-20T10:30:24.291Z] ---> 56036b7c3292 [2022-06-20T10:30:24.291Z] Step 5/26 : WORKDIR /device-virtual-go [2022-06-20T10:30:24.291Z] ---> Running in 7370724bfdec [2022-06-20T10:30:24.564Z] Removing intermediate container 7370724bfdec [2022-06-20T10:30:24.564Z] ---> 4d62b2cc9d75 [2022-06-20T10:30:24.564Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T10:30:24.564Z] ---> Running in 8a5b71176505 [2022-06-20T10:30:26.037Z] Removing intermediate container 8a5b71176505 [2022-06-20T10:30:26.037Z] ---> 707ea8772db6 [2022-06-20T10:30:26.037Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-20T10:30:26.311Z] ---> Running in dea52d88657a [2022-06-20T10:30:27.291Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-20T10:30:28.267Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-20T10:30:28.873Z] OK: 224 MiB in 56 packages [2022-06-20T10:30:29.858Z] Removing intermediate container dea52d88657a [2022-06-20T10:30:29.858Z] ---> cf143c4dcd58 [2022-06-20T10:30:29.858Z] Step 8/26 : COPY go.mod vendor* ./ [2022-06-20T10:30:30.136Z] ---> 631fe74158af [2022-06-20T10:30:30.136Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-20T10:30:30.413Z] ---> Running in 755eb2f785d8 [2022-06-20T10:30:32.393Z] Removing intermediate container 755eb2f785d8 [2022-06-20T10:30:32.393Z] ---> e76f6d728827 [2022-06-20T10:30:32.393Z] Step 10/26 : COPY . . [2022-06-20T10:30:33.843Z] ---> 73d4da207b49 [2022-06-20T10:30:33.843Z] Step 11/26 : ARG MAKE='make build' [2022-06-20T10:30:33.843Z] ---> Running in c5a4c8c4e706 [2022-06-20T10:30:33.843Z] Removing intermediate container c5a4c8c4e706 [2022-06-20T10:30:33.843Z] ---> 0c458ea02cf9 [2022-06-20T10:30:33.843Z] Step 12/26 : RUN $MAKE [2022-06-20T10:30:34.120Z] ---> Running in b58ce0c615c2 [2022-06-20T10:30:35.103Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-06-20T10:32:41.996Z] Removing intermediate container b58ce0c615c2 [2022-06-20T10:32:41.996Z] ---> 125b1a0c4c8c [2022-06-20T10:32:41.996Z] Step 13/26 : FROM alpine:3.14 [2022-06-20T10:32:41.996Z] 3.14: Pulling from library/alpine [2022-06-20T10:32:41.996Z] 455c02918c45: Pulling fs layer [2022-06-20T10:32:41.996Z] 455c02918c45: Download complete [2022-06-20T10:32:41.996Z] 455c02918c45: Pull complete [2022-06-20T10:32:41.996Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-20T10:32:41.996Z] Status: Downloaded newer image for alpine:3.14 [2022-06-20T10:32:41.996Z] ---> ac73e934f311 [2022-06-20T10:32:41.996Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-06-20T10:32:41.996Z] ---> Running in eaee3b3f2a62 [2022-06-20T10:32:41.996Z] Removing intermediate container eaee3b3f2a62 [2022-06-20T10:32:41.996Z] ---> 99a3403b52e0 [2022-06-20T10:32:41.996Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-20T10:32:41.996Z] ---> Running in 990bd270a545 [2022-06-20T10:32:41.996Z] Removing intermediate container 990bd270a545 [2022-06-20T10:32:41.996Z] ---> 5590739f3614 [2022-06-20T10:32:41.996Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-20T10:32:41.996Z] ---> Running in a4aff1d4746f [2022-06-20T10:32:41.996Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-20T10:32:41.996Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-20T10:32:41.996Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-20T10:32:41.996Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-20T10:32:41.996Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-20T10:32:41.996Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-20T10:32:41.996Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-20T10:32:41.996Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-20T10:32:41.996Z] Executing busybox-1.33.1-r7.trigger [2022-06-20T10:32:41.996Z] OK: 8 MiB in 20 packages [2022-06-20T10:32:41.996Z] Removing intermediate container a4aff1d4746f [2022-06-20T10:32:41.996Z] ---> f3edc0baf4fb [2022-06-20T10:32:41.996Z] Step 17/26 : WORKDIR / [2022-06-20T10:32:41.996Z] ---> Running in 7b9a22b0edee [2022-06-20T10:32:41.996Z] Removing intermediate container 7b9a22b0edee [2022-06-20T10:32:41.996Z] ---> 351cbfc0827e [2022-06-20T10:32:41.996Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-06-20T10:32:41.996Z] ---> ec146131f10e [2022-06-20T10:32:41.996Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-06-20T10:32:41.996Z] ---> 2af7fcb7cbaa [2022-06-20T10:32:41.996Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-06-20T10:32:41.996Z] ---> 8ef96f8fb2c5 [2022-06-20T10:32:41.996Z] Step 21/26 : EXPOSE 59900 [2022-06-20T10:32:41.996Z] ---> Running in af2c2d984ef5 [2022-06-20T10:32:41.996Z] Removing intermediate container af2c2d984ef5 [2022-06-20T10:32:41.996Z] ---> a82bdc993aec [2022-06-20T10:32:41.996Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-06-20T10:32:41.996Z] ---> Running in 601800ed40f2 [2022-06-20T10:32:41.996Z] Removing intermediate container 601800ed40f2 [2022-06-20T10:32:41.996Z] ---> 3e316a55d611 [2022-06-20T10:32:41.996Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-20T10:32:41.996Z] ---> Running in ef3c4f6c3d87 [2022-06-20T10:32:41.996Z] Removing intermediate container ef3c4f6c3d87 [2022-06-20T10:32:41.996Z] ---> 19eb3599bfc3 [2022-06-20T10:32:41.996Z] Step 24/26 : LABEL arch=arm64 [2022-06-20T10:32:41.996Z] ---> Running in 53170267f9ff [2022-06-20T10:32:42.272Z] Removing intermediate container 53170267f9ff [2022-06-20T10:32:42.272Z] ---> 6773daf4e00b [2022-06-20T10:32:42.272Z] Step 25/26 : LABEL git_sha=9f47a2640d7f3d0098937265c8fc34b7cb336ead [2022-06-20T10:32:42.272Z] ---> Running in 1efc5e3c3991 [2022-06-20T10:32:42.555Z] Removing intermediate container 1efc5e3c3991 [2022-06-20T10:32:42.555Z] ---> c3e3024e51de [2022-06-20T10:32:42.555Z] Step 26/26 : LABEL version=0.0.0 [2022-06-20T10:32:42.831Z] ---> Running in 7916c2ed39b1 [2022-06-20T10:32:43.108Z] Removing intermediate container 7916c2ed39b1 [2022-06-20T10:32:43.108Z] ---> 82e374c5e504 [2022-06-20T10:32:43.108Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-20T10:32:43.108Z] Successfully built 82e374c5e504 [2022-06-20T10:32:43.108Z] 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 [2022-06-20T10:32:43.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T10:32:43.538Z] [2022-06-20T10:32:43.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:32:43.907Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T10:32:44.186Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-20T10:32:44.186Z] 8998bd30e6a1: Pulling fs layer [2022-06-20T10:32:44.186Z] 04944245beec: Pulling fs layer [2022-06-20T10:32:44.186Z] 699f458cf7ca: Pulling fs layer [2022-06-20T10:32:44.186Z] 765212b225bb: Pulling fs layer [2022-06-20T10:32:44.186Z] f23df028b6ca: Pulling fs layer [2022-06-20T10:32:44.186Z] d65c8cfc05b1: Pulling fs layer [2022-06-20T10:32:44.186Z] 2437ff75d9bd: Pulling fs layer [2022-06-20T10:32:44.186Z] 765212b225bb: Waiting [2022-06-20T10:32:44.186Z] f23df028b6ca: Waiting [2022-06-20T10:32:44.186Z] 2437ff75d9bd: Waiting [2022-06-20T10:32:44.186Z] d65c8cfc05b1: Waiting [2022-06-20T10:32:44.186Z] 04944245beec: Verifying Checksum [2022-06-20T10:32:44.186Z] 04944245beec: Download complete [2022-06-20T10:32:44.186Z] 765212b225bb: Verifying Checksum [2022-06-20T10:32:44.186Z] 765212b225bb: Download complete [2022-06-20T10:32:44.186Z] f23df028b6ca: Verifying Checksum [2022-06-20T10:32:44.186Z] f23df028b6ca: Download complete [2022-06-20T10:32:44.186Z] d65c8cfc05b1: Verifying Checksum [2022-06-20T10:32:44.186Z] d65c8cfc05b1: Download complete [2022-06-20T10:32:44.466Z] 699f458cf7ca: Verifying Checksum [2022-06-20T10:32:44.466Z] 699f458cf7ca: Download complete [2022-06-20T10:32:44.742Z] 8998bd30e6a1: Verifying Checksum [2022-06-20T10:32:44.742Z] 8998bd30e6a1: Download complete [2022-06-20T10:32:47.378Z] 2437ff75d9bd: Verifying Checksum [2022-06-20T10:32:47.378Z] 2437ff75d9bd: Download complete [2022-06-20T10:32:49.361Z] 8998bd30e6a1: Pull complete [2022-06-20T10:32:49.633Z] 04944245beec: Pull complete [2022-06-20T10:32:51.070Z] 699f458cf7ca: Pull complete [2022-06-20T10:32:51.344Z] 765212b225bb: Pull complete [2022-06-20T10:32:52.327Z] f23df028b6ca: Pull complete [2022-06-20T10:32:52.327Z] d65c8cfc05b1: Pull complete [2022-06-20T10:33:07.418Z] 2437ff75d9bd: Pull complete [2022-06-20T10:33:07.418Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-20T10:33:07.418Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-20T10:33:07.418Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T10:33:07.679Z] prd-ubuntu20.04-docker-arm64-4c-16g-15147 does not seem to be running inside a container [2022-06-20T10:33:07.778Z] $ 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/18 -v /w/workspace/device-virtual-go/18:/w/workspace/device-virtual-go/18:rw,z -v /w/workspace/device-virtual-go/18@tmp:/w/workspace/device-virtual-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-20T10:33:10.291Z] $ docker top 8ec3549e4770f840ccc1cd1d9c6ef5ff1700fe8e9857037ee885603b9d9f196a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-20T10:33:11.201Z] ---> job-cost.sh [2022-06-20T10:33:11.201Z] lf-activate-venv: SKIPPING [2022-06-20T10:33:11.201Z] INFO: No Stack... [2022-06-20T10:33:11.473Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-20T10:33:12.448Z] INFO: Archiving Costs [Pipeline] sh [2022-06-20T10:33:13.119Z] + + cutcat -d, /w/workspace/device-virtual-go/18/archives/cost.csv -f6 [2022-06-20T10:33:13.119Z] [Pipeline] lock [2022-06-20T10:33:13.185Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-290-18-stack-cost] [2022-06-20T10:33:13.192Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-290-18-stack-cost] did not exist. Created. [2022-06-20T10:33:13.192Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-290-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-20T10:33:13.879Z] /w/workspace/device-virtual-go/18@tmp/durable-5e4d5c00/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-20T10:33:14.554Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-20T10:33:14.573Z] Warning: overwriting stash ‘stack-cost’ [2022-06-20T10:33:14.617Z] Stashed 1 file(s) [Pipeline] } [2022-06-20T10:33:14.624Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-290-18-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-20T10:33:14.657Z] $ docker stop --time=1 8ec3549e4770f840ccc1cd1d9c6ef5ff1700fe8e9857037ee885603b9d9f196a [2022-06-20T10:33:16.158Z] $ docker rm -f 8ec3549e4770f840ccc1cd1d9c6ef5ff1700fe8e9857037ee885603b9d9f196a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-20T10:33:16.619Z] provisioning config files... [2022-06-20T10:33:16.627Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config3388616372467771320tmp [Pipeline] { [Pipeline] sh [2022-06-20T10:33:16.932Z] + set +x [2022-06-20T10:33:16.932Z] + bash -s -- [2022-06-20T10:33:16.932Z] + curl -s https://codecov.io/bash [2022-06-20T10:33:16.932Z] [2022-06-20T10:33:16.932Z] _____ _ [2022-06-20T10:33:16.932Z] / ____| | | [2022-06-20T10:33:16.932Z] | | ___ __| | ___ ___ _____ __ [2022-06-20T10:33:16.932Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-20T10:33:16.932Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-20T10:33:16.932Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-20T10:33:16.932Z] Bash-1.0.6 [2022-06-20T10:33:16.932Z] [2022-06-20T10:33:16.932Z] [2022-06-20T10:33:16.932Z] ==> git version 2.25.1 found [2022-06-20T10:33:16.932Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-06-20T10:33:16.932Z] Release-Date: 2020-01-08 [2022-06-20T10:33:16.932Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-20T10:33:16.932Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-20T10:33:16.932Z] ==> Jenkins CI detected. [2022-06-20T10:33:16.932Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-290 [2022-06-20T10:33:16.932Z] project root: . [2022-06-20T10:33:16.932Z] --> token set from env [2022-06-20T10:33:16.932Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-20T10:33:16.932Z] ==> Running gcov in . (disable via -X gcov) [2022-06-20T10:33:16.932Z] ==> Python coveragepy not found [2022-06-20T10:33:16.932Z] ==> Searching for coverage reports in: [2022-06-20T10:33:16.932Z] + . [2022-06-20T10:33:16.932Z] -> Found 1 reports [2022-06-20T10:33:16.932Z] ==> Detecting git/mercurial file structure [2022-06-20T10:33:16.932Z] ==> Reading reports [2022-06-20T10:33:16.932Z] + ./coverage.out bytes=44128 [2022-06-20T10:33:16.932Z] ==> Appending adjustments [2022-06-20T10:33:16.933Z] https://docs.codecov.io/docs/fixing-reports [2022-06-20T10:33:17.195Z] + Found adjustments [2022-06-20T10:33:17.195Z] ==> Gzipping contents [2022-06-20T10:33:17.195Z] 8.0K /tmp/codecov.GZDT6l.gz [2022-06-20T10:33:17.195Z] ==> Uploading reports [2022-06-20T10:33:17.195Z] url: https://codecov.io [2022-06-20T10:33:17.195Z] query: branch=PR-290&commit=336a5b6f5729963ebd7fce447136fd5287f7ffc8&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-20T10:33:17.195Z] -> Pinging Codecov [2022-06-20T10:33:17.195Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-290&commit=336a5b6f5729963ebd7fce447136fd5287f7ffc8&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-290%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=290&job=&cmd_args= [2022-06-20T10:33:17.457Z] -> Uploading to [2022-06-20T10:33:17.457Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-20/5E52B4B073DB2E39498172D8E973AA87/336a5b6f5729963ebd7fce447136fd5287f7ffc8/a01548f7-49af-4e88-a6d5-a4ccb9c67da7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220620%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220620T103317Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a45275c49ccf1df1a9aaa17b2c81bb6b7a7257fee463097bdb29d1956075cc09 [2022-06-20T10:33:17.457Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-20T10:33:17.457Z] Dload Upload Total Spent Left Speed [2022-06-20T10:33:17.721Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5508 0 0 100 5508 0 27133 --:--:-- --:--:-- --:--:-- 27133 [2022-06-20T10:33:17.721Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/336a5b6f5729963ebd7fce447136fd5287f7ffc8 [Pipeline] } [2022-06-20T10:33:17.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-20T10:33:18.469Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-290/archives ] [2022-06-20T10:33:18.469Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-20T10:33:18.469Z] total 16 [2022-06-20T10:33:18.469Z] drwxr-xr-x 3 root root 4096 Jun 20 10:26 . [2022-06-20T10:33:18.469Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 10:26 .. [2022-06-20T10:33:18.469Z] drwxr-xr-x 2 root root 4096 Jun 20 10:26 cost [2022-06-20T10:33:18.469Z] -rw-r--r-- 1 root root 89 Jun 20 10:26 cost.csv [2022-06-20T10:33:18.469Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-20T10:33:18.469Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-290/archives [2022-06-20T10:33:18.469Z] total 16 [2022-06-20T10:33:18.469Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 20 10:26 . [2022-06-20T10:33:18.469Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 20 10:26 .. [2022-06-20T10:33:18.469Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 20 10:26 cost [2022-06-20T10:33:18.469Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 20 10:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-20T10:33:18.763Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T10:33:19.637Z] ---> package-listing.sh [2022-06-20T10:33:19.637Z] ++ facter osfamily [2022-06-20T10:33:19.637Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-20T10:33:19.901Z] + OS_FAMILY=debian [2022-06-20T10:33:19.901Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-290 [2022-06-20T10:33:19.901Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-20T10:33:19.901Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-20T10:33:19.901Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-20T10:33:19.901Z] + PACKAGES=/tmp/packages_start.txt [2022-06-20T10:33:19.901Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-20T10:33:19.901Z] + PACKAGES=/tmp/packages_end.txt [2022-06-20T10:33:19.901Z] + case "${OS_FAMILY}" in [2022-06-20T10:33:19.901Z] + dpkg -l [2022-06-20T10:33:19.901Z] + grep '^ii' [2022-06-20T10:33:19.901Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-20T10:33:19.901Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-20T10:33:19.901Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-20T10:33:19.901Z] + '[' /w/workspace/foundry_device-virtual-go_PR-290 ']' [2022-06-20T10:33:19.901Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-290/archives/ [2022-06-20T10:33:19.901Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-290/archives/ [Pipeline] echo [2022-06-20T10:33:19.914Z] 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-290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-20T10:33:20.193Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-20T10:33:20.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-20T10:33:20.765Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-20T10:33:20.857Z] prd-ubuntu20.04-docker-8c-8g-15146 does not seem to be running inside a container [2022-06-20T10:33:20.893Z] $ 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-290/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-290 -v /w/workspace/foundry_device-virtual-go_PR-290:/w/workspace/foundry_device-virtual-go_PR-290:rw,z -v /w/workspace/foundry_device-virtual-go_PR-290@tmp:/w/workspace/foundry_device-virtual-go_PR-290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-20T10:33:21.156Z] $ docker top d65e8061b8399d01d0bca36a5aaf6d70cb0a2b6546e42aa3e2cfb55096fc1fc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-20T10:33:21.515Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-20T10:33:21.805Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-20T10:33:22.099Z] + ls /var/log/sa-host [2022-06-20T10:33:22.099Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-20T10:33:22.225Z] provisioning config files... [2022-06-20T10:33:22.238Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-290@tmp/config3785861657220882043tmp [Pipeline] { [Pipeline] echo [2022-06-20T10:33:22.251Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T10:33:22.536Z] ---> create-netrc.sh [Pipeline] } [2022-06-20T10:33:22.543Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-20T10:33:22.894Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-20T10:33:22.903Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T10:33:23.188Z] ---> sudo-logs.sh [2022-06-20T10:33:23.188Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-20T10:33:23.214Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T10:33:23.499Z] ---> job-cost.sh [2022-06-20T10:33:23.499Z] lf-activate-venv: SKIPPING [2022-06-20T10:33:23.499Z] DEBUG: total: 0.2199999988079071 [2022-06-20T10:33:23.499Z] INFO: Retrieving Stack Cost... [2022-06-20T10:33:23.759Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-20T10:33:24.345Z] INFO: Archiving Costs [Pipeline] echo [2022-06-20T10:33:24.357Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-20T10:33:24.645Z] ---> logs-deploy.sh [2022-06-20T10:33:24.645Z] lf-activate-venv: SKIPPING [2022-06-20T10:33:24.645Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-290/18 [2022-06-20T10:33:24.645Z] INFO: archiving workspace using pattern(s): [2022-06-20T10:33:25.593Z] Archives upload complete. [2022-06-20T10:33:25.593Z] INFO: archiving logs to Nexus