Pull request #315 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 08ba88bbb8593175a348f49bf109086ae6b5bed8+4fde29d6fb1a32cee08b75cf09049e5481e19570 (e8574c4c2a369c20634da602ec6e654b5a52301b) 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-ssh17416013206162385259.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2985211623524979301.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh905422539390931818.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-315/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9133073436019700819.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12896129199761030222.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-315/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-315/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15012369968296514870.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8851’ Running on prd-ubuntu20.04-docker-8c-8g-8854 in /w/workspace/foundry_device-virtual-go_PR-315 [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-315 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/315/head:refs/remotes/origin/PR-315 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4fde29d6fb1a32cee08b75cf09049e5481e19570 into PR head commit 08ba88bbb8593175a348f49bf109086ae6b5bed8 Merge succeeded, producing 08ba88bbb8593175a348f49bf109086ae6b5bed8 Checking out Revision 08ba88bbb8593175a348f49bf109086ae6b5bed8 (PR-315) > git config core.sparsecheckout # timeout=10 > git checkout -f 08ba88bbb8593175a348f49bf109086ae6b5bed8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 4fde29d6fb1a32cee08b75cf09049e5481e19570 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08ba88bbb8593175a348f49bf109086ae6b5bed8 # timeout=10 Commit message: "build: Updated to latest Device SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-22T18:13:22.658Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-22T18:13:22.835Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-22T18:13:22.926Z] ========================================================= [2022-10-22T18:13:22.926Z] EdgeX Global Pipelines Version Info [2022-10-22T18:13:22.926Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:13:24.045Z] ------------------- [2022-10-22T18:13:24.045Z] stable info: [2022-10-22T18:13:24.045Z] ------------------- [2022-10-22T18:13:24.045Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-22T18:13:24.045Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-22T18:13:24.045Z] Message: update stable to v1.0.243 [2022-10-22T18:13:24.305Z] ------------------- [2022-10-22T18:13:24.305Z] experimental info: [2022-10-22T18:13:24.305Z] ------------------- [2022-10-22T18:13:24.305Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-22T18:13:24.305Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-22T18:13:24.305Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-22T18:13:24.585Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-10-22T18:13:24.631Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-10-22T18:13:24.668Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-22T18:13:24.706Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-22T18:13:24.742Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-22T18:13:24.776Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-22T18:13:24.811Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-22T18:13:24.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-22T18:13:24.897Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-22T18:13:24.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-22T18:13:24.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-22T18:13:25.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-10-22T18:13:25.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-22T18:13:25.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-22T18:13:25.130Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-22T18:13:25.168Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-22T18:13:25.208Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-22T18:13:25.244Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-22T18:13:25.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-22T18:13:25.316Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-22T18:13:25.356Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-22T18:13:25.393Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-22T18:13:25.434Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-22T18:13:25.472Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-22T18:13:25.512Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-22T18:13:25.550Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-22T18:13:25.591Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-22T18:13:25.629Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-315 [Pipeline] echo [2022-10-22T18:13:25.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-315 [Pipeline] echo [2022-10-22T18:13:25.714Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-315 [Pipeline] echo [2022-10-22T18:13:25.757Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08ba88bbb8593175a348f49bf109086ae6b5bed8 [Pipeline] echo [2022-10-22T18:13:25.796Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08ba88b [Pipeline] echo [2022-10-22T18:13:25.833Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-22T18:13:25.941Z] provisioning config files... [2022-10-22T18:13:25.955Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-315@tmp/config4706535430227068366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:13:26.298Z] ---> docker-login.sh [2022-10-22T18:13:26.298Z] nexus3.edgexfoundry.org:10001 [2022-10-22T18:13:26.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:13:26.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:13:26.559Z] Configure a credential helper to remove this warning. See [2022-10-22T18:13:26.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:13:26.559Z] [2022-10-22T18:13:26.559Z] Login Succeeded [2022-10-22T18:13:26.559Z] nexus3.edgexfoundry.org:10002 [2022-10-22T18:13:26.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:13:26.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:13:26.559Z] Configure a credential helper to remove this warning. See [2022-10-22T18:13:26.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:13:26.559Z] [2022-10-22T18:13:26.559Z] Login Succeeded [2022-10-22T18:13:26.559Z] nexus3.edgexfoundry.org:10003 [2022-10-22T18:13:26.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:13:26.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:13:26.820Z] Configure a credential helper to remove this warning. See [2022-10-22T18:13:26.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:13:26.820Z] [2022-10-22T18:13:26.820Z] Login Succeeded [2022-10-22T18:13:26.820Z] nexus3.edgexfoundry.org:10004 [2022-10-22T18:13:26.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:13:26.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:13:26.820Z] Configure a credential helper to remove this warning. See [2022-10-22T18:13:26.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:13:26.820Z] [2022-10-22T18:13:26.820Z] Login Succeeded [2022-10-22T18:13:26.820Z] docker.io [2022-10-22T18:13:26.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:13:27.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:13:27.399Z] Configure a credential helper to remove this warning. See [2022-10-22T18:13:27.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:13:27.399Z] [2022-10-22T18:13:27.399Z] Login Succeeded [2022-10-22T18:13:27.399Z] ---> docker-login.sh ends [Pipeline] } [2022-10-22T18:13:27.429Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-22T18:13:28.068Z] + git rev-list -1 --merges 08ba88bbb8593175a348f49bf109086ae6b5bed8~1..08ba88bbb8593175a348f49bf109086ae6b5bed8 [Pipeline] echo [2022-10-22T18:13:28.112Z] -----------> git rev-list -1 --merges 08ba88bbb8593175a348f49bf109086ae6b5bed8~1..08ba88bbb8593175a348f49bf109086ae6b5bed8 08ba88bbb8593175a348f49bf109086ae6b5bed8 [false] [Pipeline] sh [2022-10-22T18:13:28.423Z] + git log --format=format:%s -1 08ba88bbb8593175a348f49bf109086ae6b5bed8 [Pipeline] echo [2022-10-22T18:13:28.457Z] ========================================================= [2022-10-22T18:13:28.457Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-22T18:13:28.457Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-22T18:13:28.863Z] + git log --format=format:%s -1 08ba88bbb8593175a348f49bf109086ae6b5bed8 [Pipeline] echo [2022-10-22T18:13:28.899Z] [semverPrep] GIT_COMMIT: 08ba88bbb8593175a348f49bf109086ae6b5bed8, Commit Message: build: Updated to latest Device SDK [Pipeline] echo [2022-10-22T18:13:28.927Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-22T18:13:29.319Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-22T18:13:29.319Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-22T18:13:29.319Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-22T18:13:29.319Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-22T18:13:29.319Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2022-10-22T18:13:29.319Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-22T18:13:29.319Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:13:29.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-22T18:13:29.812Z] [2022-10-22T18:13:29.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:13:30.184Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-22T18:13:30.184Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-22T18:13:30.184Z] b85a868b505f: Pulling fs layer [2022-10-22T18:13:30.184Z] e2be974225ed: Pulling fs layer [2022-10-22T18:13:30.184Z] 339a4e72a1f5: Pulling fs layer [2022-10-22T18:13:30.184Z] 988bab9f4d93: Pulling fs layer [2022-10-22T18:13:30.184Z] 1469e6f7b9e6: Pulling fs layer [2022-10-22T18:13:30.184Z] eaf3925da568: Pulling fs layer [2022-10-22T18:13:30.184Z] bab4dde63d76: Pulling fs layer [2022-10-22T18:13:30.184Z] bde34c3a00c8: Pulling fs layer [2022-10-22T18:13:30.184Z] b352a97aabf1: Pulling fs layer [2022-10-22T18:13:30.184Z] 4872d77fe225: Pulling fs layer [2022-10-22T18:13:30.184Z] 5851b861e8e6: Pulling fs layer [2022-10-22T18:13:30.184Z] 988bab9f4d93: Waiting [2022-10-22T18:13:30.184Z] 1469e6f7b9e6: Waiting [2022-10-22T18:13:30.184Z] eaf3925da568: Waiting [2022-10-22T18:13:30.184Z] bab4dde63d76: Waiting [2022-10-22T18:13:30.184Z] bde34c3a00c8: Waiting [2022-10-22T18:13:30.184Z] b352a97aabf1: Waiting [2022-10-22T18:13:30.184Z] 4872d77fe225: Waiting [2022-10-22T18:13:30.184Z] e2be974225ed: Verifying Checksum [2022-10-22T18:13:30.184Z] e2be974225ed: Download complete [2022-10-22T18:13:30.184Z] 988bab9f4d93: Download complete [2022-10-22T18:13:30.446Z] 1469e6f7b9e6: Verifying Checksum [2022-10-22T18:13:30.446Z] 1469e6f7b9e6: Download complete [2022-10-22T18:13:30.446Z] eaf3925da568: Verifying Checksum [2022-10-22T18:13:30.446Z] eaf3925da568: Download complete [2022-10-22T18:13:30.446Z] 339a4e72a1f5: Verifying Checksum [2022-10-22T18:13:30.446Z] 339a4e72a1f5: Download complete [2022-10-22T18:13:30.446Z] bde34c3a00c8: Verifying Checksum [2022-10-22T18:13:30.446Z] bde34c3a00c8: Download complete [2022-10-22T18:13:30.446Z] b352a97aabf1: Verifying Checksum [2022-10-22T18:13:30.446Z] b352a97aabf1: Download complete [2022-10-22T18:13:30.446Z] 4872d77fe225: Verifying Checksum [2022-10-22T18:13:30.446Z] 4872d77fe225: Download complete [2022-10-22T18:13:30.446Z] 5851b861e8e6: Download complete [2022-10-22T18:13:30.446Z] b85a868b505f: Verifying Checksum [2022-10-22T18:13:30.446Z] b85a868b505f: Download complete [2022-10-22T18:13:30.707Z] bab4dde63d76: Verifying Checksum [2022-10-22T18:13:30.707Z] bab4dde63d76: Download complete [2022-10-22T18:13:31.661Z] b85a868b505f: Pull complete [2022-10-22T18:13:31.921Z] e2be974225ed: Pull complete [2022-10-22T18:13:32.490Z] 339a4e72a1f5: Pull complete [2022-10-22T18:13:32.490Z] 988bab9f4d93: Pull complete [2022-10-22T18:13:32.749Z] 1469e6f7b9e6: Pull complete [2022-10-22T18:13:32.749Z] eaf3925da568: Pull complete [2022-10-22T18:13:34.657Z] bab4dde63d76: Pull complete [2022-10-22T18:13:34.657Z] bde34c3a00c8: Pull complete [2022-10-22T18:13:34.657Z] b352a97aabf1: Pull complete [2022-10-22T18:13:34.917Z] 4872d77fe225: Pull complete [2022-10-22T18:13:34.917Z] 5851b861e8e6: Pull complete [2022-10-22T18:13:34.917Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-22T18:13:34.917Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-22T18:13:34.917Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-22T18:13:35.189Z] prd-ubuntu20.04-docker-8c-8g-8854 does not seem to be running inside a container [2022-10-22T18:13:35.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-315 -v /w/workspace/foundry_device-virtual-go_PR-315:/w/workspace/foundry_device-virtual-go_PR-315:rw,z -v /w/workspace/foundry_device-virtual-go_PR-315@tmp:/w/workspace/foundry_device-virtual-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-22T18:13:36.536Z] $ docker top 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 -eo pid,comm [2022-10-22T18:13:36.592Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-22T18:13:36.592Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-22T18:13:36.736Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-22T18:13:36.736Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-22T18:13:36.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-22T18:13:36.852Z] $ docker exec 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 ssh-agent [2022-10-22T18:13:36.958Z] SSH_AUTH_SOCK=/tmp/ssh-KymLyv3fkXBC/agent.32 [2022-10-22T18:13:36.958Z] SSH_AGENT_PID=38 [2022-10-22T18:13:36.964Z] Running ssh-add (command line suppressed) [2022-10-22T18:13:37.069Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-315@tmp/private_key_1440948255388077825.key (/w/workspace/foundry_device-virtual-go_PR-315@tmp/private_key_1440948255388077825.key) [2022-10-22T18:13:37.079Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-22T18:13:37.399Z] + git tag --points-at HEAD [Pipeline] } [2022-10-22T18:13:37.423Z] $ docker exec --env ******** --env ******** 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 ssh-agent -k [2022-10-22T18:13:37.523Z] unset SSH_AUTH_SOCK; [2022-10-22T18:13:37.524Z] unset SSH_AGENT_PID; [2022-10-22T18:13:37.524Z] echo Agent pid 38 killed; [2022-10-22T18:13:37.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-22T18:13:37.642Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-22T18:13:37.642Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-22T18:13:37.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-22T18:13:37.763Z] $ docker exec 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 ssh-agent [2022-10-22T18:13:37.873Z] SSH_AUTH_SOCK=/tmp/ssh-zwiYwzk0xH8i/agent.70 [2022-10-22T18:13:37.873Z] SSH_AGENT_PID=76 [2022-10-22T18:13:37.877Z] Running ssh-add (command line suppressed) [2022-10-22T18:13:37.974Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-315@tmp/private_key_6174281084445425048.key (/w/workspace/foundry_device-virtual-go_PR-315@tmp/private_key_6174281084445425048.key) [2022-10-22T18:13:37.984Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-22T18:13:38.308Z] + git semver init [2022-10-22T18:13:38.567Z] 2022-10-22 18:13:38,488 [run_init] DEBUG init version:0.0.0 force:False [2022-10-22T18:13:38.567Z] 2022-10-22 18:13:38,488 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-315/.semver [2022-10-22T18:13:38.567Z] 2022-10-22 18:13:38,489 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-315/.semver [2022-10-22T18:13:38.567Z] 2022-10-22 18:13:38,489 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-315/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-315, universal_newlines=False, shell=None, istream=None) [2022-10-22T18:13:39.944Z] 2022-10-22 18:13:39,595 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-315/.git/info/exclude [2022-10-22T18:13:39.944Z] 2022-10-22 18:13:39,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-315/.semver/PR-315 with force:False [2022-10-22T18:13:39.944Z] 2022-10-22 18:13:39,596 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-315/.semver/PR-315 [2022-10-22T18:13:39.944Z] 2022-10-22 18:13:39,600 [execute] INFO git cat-file --batch-check [2022-10-22T18:13:39.944Z] 2022-10-22 18:13:39,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-315/.semver, universal_newlines=False, shell=None, istream=) [2022-10-22T18:13:39.944Z] 2022-10-22 18:13:39,605 [execute] INFO git cat-file --batch [2022-10-22T18:13:39.944Z] 2022-10-22 18:13:39,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-315/.semver, universal_newlines=False, shell=None, istream=) [2022-10-22T18:13:39.944Z] 2022-10-22 18:13:39,611 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-315/.semver/PR-315 [2022-10-22T18:13:39.944Z] 0.0.0 [Pipeline] } [2022-10-22T18:13:39.977Z] $ docker exec --env ******** --env ******** 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 ssh-agent -k [2022-10-22T18:13:40.076Z] unset SSH_AUTH_SOCK; [2022-10-22T18:13:40.077Z] unset SSH_AGENT_PID; [2022-10-22T18:13:40.077Z] echo Agent pid 76 killed; [2022-10-22T18:13:40.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-22T18:13:40.490Z] + git semver [Pipeline] } [2022-10-22T18:13:40.776Z] $ docker stop --time=1 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 [2022-10-22T18:13:42.121Z] $ docker rm -f 08fe6cdc1d3c4645c4c00d3f0d1bdb80123886fee673e1ad828daab8e84ebb35 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-22T18:13:42.516Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-22T18:13:42.743Z] Stashed 1 file(s) [Pipeline] echo [2022-10-22T18:13:42.763Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-22T18:13:43.340Z] provisioning config files... [2022-10-22T18:13:43.349Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-315@tmp/config14868708741104976949tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:13:43.692Z] ---> docker-login.sh [2022-10-22T18:13:43.692Z] nexus3.edgexfoundry.org:10001 [2022-10-22T18:13:43.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:13:43.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:13:43.692Z] Configure a credential helper to remove this warning. See [2022-10-22T18:13:43.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:13:43.692Z] [2022-10-22T18:13:43.692Z] Login Succeeded [2022-10-22T18:13:43.692Z] nexus3.edgexfoundry.org:10002 [2022-10-22T18:13:43.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:13:43.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:13:43.692Z] Configure a credential helper to remove this warning. See [2022-10-22T18:13:43.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:13:43.692Z] [2022-10-22T18:13:43.692Z] Login Succeeded [2022-10-22T18:13:43.692Z] nexus3.edgexfoundry.org:10003 [2022-10-22T18:13:43.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:13:43.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:13:43.951Z] Configure a credential helper to remove this warning. See [2022-10-22T18:13:43.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:13:43.951Z] [2022-10-22T18:13:43.951Z] Login Succeeded [2022-10-22T18:13:43.951Z] nexus3.edgexfoundry.org:10004 [2022-10-22T18:13:43.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:13:43.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:13:43.951Z] Configure a credential helper to remove this warning. See [2022-10-22T18:13:43.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:13:43.951Z] [2022-10-22T18:13:43.951Z] Login Succeeded [2022-10-22T18:13:43.951Z] docker.io [2022-10-22T18:13:44.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:13:44.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:13:44.470Z] Configure a credential helper to remove this warning. See [2022-10-22T18:13:44.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:13:44.470Z] [2022-10-22T18:13:44.470Z] Login Succeeded [2022-10-22T18:13:44.470Z] ---> docker-login.sh ends [Pipeline] } [2022-10-22T18:13:44.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-22T18:13:44.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-22T18:13:44.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-22T18:13:44.744Z] ========================================================= [2022-10-22T18:13:44.744Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-22T18:13:44.744Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:13:45.196Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-22T18:13:45.197Z] Sending build context to Docker daemon 23.23MB [2022-10-22T18:13:45.197Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-22T18:13:45.197Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-22T18:13:45.455Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-22T18:13:45.455Z] 213ec9aee27d: Pulling fs layer [2022-10-22T18:13:45.455Z] 4583459ba037: Pulling fs layer [2022-10-22T18:13:45.455Z] 93c1e223e6f2: Pulling fs layer [2022-10-22T18:13:45.455Z] 53926ce57604: Pulling fs layer [2022-10-22T18:13:45.455Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-22T18:13:45.455Z] 30f14e443154: Pulling fs layer [2022-10-22T18:13:45.455Z] 801331c1e519: Pulling fs layer [2022-10-22T18:13:45.455Z] 99cc6dd402b0: Pulling fs layer [2022-10-22T18:13:45.455Z] 7d9ed39f4882: Pulling fs layer [2022-10-22T18:13:45.455Z] 30f14e443154: Waiting [2022-10-22T18:13:45.455Z] 99cc6dd402b0: Waiting [2022-10-22T18:13:45.455Z] 801331c1e519: Waiting [2022-10-22T18:13:45.455Z] 7d9ed39f4882: Waiting [2022-10-22T18:13:45.455Z] 21b2b0c7a3f4: Waiting [2022-10-22T18:13:45.455Z] 53926ce57604: Waiting [2022-10-22T18:13:45.455Z] 93c1e223e6f2: Verifying Checksum [2022-10-22T18:13:45.455Z] 93c1e223e6f2: Download complete [2022-10-22T18:13:45.455Z] 4583459ba037: Download complete [2022-10-22T18:13:45.455Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-22T18:13:45.455Z] 30f14e443154: Download complete [2022-10-22T18:13:45.455Z] 213ec9aee27d: Verifying Checksum [2022-10-22T18:13:45.455Z] 213ec9aee27d: Download complete [2022-10-22T18:13:45.455Z] 801331c1e519: Verifying Checksum [2022-10-22T18:13:45.455Z] 801331c1e519: Download complete [2022-10-22T18:13:45.455Z] 213ec9aee27d: Pull complete [2022-10-22T18:13:45.716Z] 4583459ba037: Pull complete [2022-10-22T18:13:45.716Z] 93c1e223e6f2: Pull complete [2022-10-22T18:13:45.976Z] 7d9ed39f4882: Verifying Checksum [2022-10-22T18:13:45.976Z] 7d9ed39f4882: Download complete [2022-10-22T18:13:45.976Z] 99cc6dd402b0: Verifying Checksum [2022-10-22T18:13:45.976Z] 99cc6dd402b0: Download complete [2022-10-22T18:13:46.236Z] 53926ce57604: Verifying Checksum [2022-10-22T18:13:46.236Z] 53926ce57604: Download complete [2022-10-22T18:13:50.427Z] 53926ce57604: Pull complete [2022-10-22T18:13:50.427Z] 21b2b0c7a3f4: Pull complete [2022-10-22T18:13:50.427Z] 30f14e443154: Pull complete [2022-10-22T18:13:50.427Z] 801331c1e519: Pull complete [2022-10-22T18:13:52.330Z] 99cc6dd402b0: Pull complete [2022-10-22T18:13:52.898Z] 7d9ed39f4882: Pull complete [2022-10-22T18:13:53.158Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-22T18:13:53.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-22T18:13:53.158Z] ---> 1dedd983c030 [2022-10-22T18:13:53.158Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-22T18:13:54.534Z] ---> Running in 10dbfc4816f5 [2022-10-22T18:13:54.792Z] Removing intermediate container 10dbfc4816f5 [2022-10-22T18:13:54.792Z] ---> d399a4ad0217 [2022-10-22T18:13:54.792Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-22T18:13:54.792Z] ---> Running in 2636af22339f [2022-10-22T18:13:54.792Z] Removing intermediate container 2636af22339f [2022-10-22T18:13:54.792Z] ---> c7ed352d8132 [2022-10-22T18:13:54.792Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-22T18:13:54.792Z] ---> Running in ae2647f3f384 [2022-10-22T18:13:55.050Z] Removing intermediate container ae2647f3f384 [2022-10-22T18:13:55.050Z] ---> 1d775dc81cfd [2022-10-22T18:13:55.050Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-22T18:13:55.050Z] ---> Running in 0898a6b8e489 [2022-10-22T18:13:55.050Z] Removing intermediate container 0898a6b8e489 [2022-10-22T18:13:55.050Z] ---> dbd6773c8e85 [2022-10-22T18:13:55.050Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-22T18:13:55.050Z] ---> Running in 333351f6570e [2022-10-22T18:13:55.618Z] Removing intermediate container 333351f6570e [2022-10-22T18:13:55.618Z] ---> 7e5119ce9aeb [2022-10-22T18:13:55.618Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-22T18:13:55.618Z] ---> Running in 12c0b959fe4f [2022-10-22T18:13:55.875Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-22T18:13:56.809Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-22T18:13:57.067Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-22T18:13:57.326Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-22T18:13:57.326Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-22T18:13:57.326Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-22T18:13:57.588Z] Executing busybox-1.35.0-r17.trigger [2022-10-22T18:13:57.588Z] OK: 216 MiB in 55 packages [2022-10-22T18:13:57.847Z] Removing intermediate container 12c0b959fe4f [2022-10-22T18:13:57.847Z] ---> 20a9d5523973 [2022-10-22T18:13:57.847Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-22T18:13:58.104Z] ---> aea9bc444a43 [2022-10-22T18:13:58.104Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-22T18:13:58.104Z] ---> Running in 3aafe8092757 [2022-10-22T18:13:58.164Z] Still waiting to schedule task [2022-10-22T18:13:58.165Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8852’ [2022-10-22T18:14:16.189Z] Removing intermediate container 3aafe8092757 [2022-10-22T18:14:16.189Z] ---> c8ae408f843d [2022-10-22T18:14:16.189Z] Step 11/13 : COPY . . [2022-10-22T18:14:16.189Z] ---> 19426f7c6e7b [2022-10-22T18:14:16.189Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-22T18:14:16.189Z] ---> Running in 95747e10ad1e [2022-10-22T18:14:16.189Z] Removing intermediate container 95747e10ad1e [2022-10-22T18:14:16.189Z] ---> 74d0dd0b0ba2 [2022-10-22T18:14:16.189Z] Step 13/13 : RUN $MAKE [2022-10-22T18:14:16.189Z] ---> Running in f928183e03fe [2022-10-22T18:14:16.189Z] noop [2022-10-22T18:14:16.189Z] Removing intermediate container f928183e03fe [2022-10-22T18:14:16.189Z] ---> 92de26c7b435 [2022-10-22T18:14:16.189Z] Successfully built 92de26c7b435 [2022-10-22T18:14:16.189Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:14:16.632Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-22T18:14:16.632Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-22T18:14:16.781Z] prd-ubuntu20.04-docker-8c-8g-8854 does not seem to be running inside a container [2022-10-22T18:14:16.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-315 -v /w/workspace/foundry_device-virtual-go_PR-315:/w/workspace/foundry_device-virtual-go_PR-315:rw,z -v /w/workspace/foundry_device-virtual-go_PR-315@tmp:/w/workspace/foundry_device-virtual-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-22T18:14:17.271Z] $ docker top 1218e9fdc29ca2ea313d8eccd72965599ebd6148fa3475eaa07fbc9750914711 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-22T18:14:17.646Z] + go version [2022-10-22T18:14:17.646Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-22T18:14:17.679Z] $ docker stop --time=1 1218e9fdc29ca2ea313d8eccd72965599ebd6148fa3475eaa07fbc9750914711 [2022-10-22T18:14:19.000Z] $ docker rm -f 1218e9fdc29ca2ea313d8eccd72965599ebd6148fa3475eaa07fbc9750914711 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:14:19.680Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-22T18:14:19.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-22T18:14:19.836Z] prd-ubuntu20.04-docker-8c-8g-8854 does not seem to be running inside a container [2022-10-22T18:14:19.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-315 -v /w/workspace/foundry_device-virtual-go_PR-315:/w/workspace/foundry_device-virtual-go_PR-315:rw,z -v /w/workspace/foundry_device-virtual-go_PR-315@tmp:/w/workspace/foundry_device-virtual-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-22T18:14:20.232Z] $ docker top 18012c1fac1a481bd0911094bb67f775a60e8f1682bc264b01f9bfa1064c83af -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-22T18:14:20.615Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-315 [Pipeline] fileExists [Pipeline] sh [2022-10-22T18:14:20.971Z] + make test [2022-10-22T18:14:20.971Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-22T18:14:21.535Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-22T18:14:31.522Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-22T18:14:31.522Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements [2022-10-22T18:14:38.089Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-22T18:14:38.089Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-22T18:14:41.368Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-22T18:14:41.368Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-22T18:14:41.368Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-22T18:14:41.403Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-22T18:14:41.429Z] $ docker stop --time=1 18012c1fac1a481bd0911094bb67f775a60e8f1682bc264b01f9bfa1064c83af [2022-10-22T18:14:43.215Z] $ docker rm -f 18012c1fac1a481bd0911094bb67f775a60e8f1682bc264b01f9bfa1064c83af [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-22T18:14:43.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-22T18:14:43.757Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-22T18:14:44.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-22T18:14:44.727Z] + ls -al . [2022-10-22T18:14:44.727Z] total 200 [2022-10-22T18:14:44.727Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 22 18:14 . [2022-10-22T18:14:44.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:13 .. [2022-10-22T18:14:44.727Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:14 .git [2022-10-22T18:14:44.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:13 .github [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 22 18:13 .gitignore [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 22 18:13 .golangci.yml [2022-10-22T18:14:44.727Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:13 .semver [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 22 18:13 Attribution.txt [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 22 18:13 CHANGELOG.md [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 22 18:13 Dockerfile [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:13 GOVERNANCE.md [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 22 18:13 Jenkinsfile [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 22 18:13 LICENSE [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 22 18:13 Makefile [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 22 18:13 OWNERS.md [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 22 18:13 README.md [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:13 VERSION [2022-10-22T18:14:44.727Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:13 bin [2022-10-22T18:14:44.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:13 cmd [2022-10-22T18:14:44.727Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 22 18:14 coverage.out [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 22 18:13 go.mod [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 22 18:13 go.sum [2022-10-22T18:14:44.727Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:13 internal [2022-10-22T18:14:44.727Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:13 snap [2022-10-22T18:14:44.727Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 22 18:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:14:45.114Z] + 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=08ba88bbb8593175a348f49bf109086ae6b5bed8 --label arch=amd64 --label version=0.0.0 . [2022-10-22T18:14:45.114Z] Sending build context to Docker daemon 23.28MB [2022-10-22T18:14:45.114Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-22T18:14:45.114Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-22T18:14:45.114Z] ---> 92de26c7b435 [2022-10-22T18:14:45.114Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-22T18:14:45.390Z] ---> Running in 63f1288780ff [2022-10-22T18:14:45.390Z] Removing intermediate container 63f1288780ff [2022-10-22T18:14:45.390Z] ---> f0419e6e4650 [2022-10-22T18:14:45.390Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-22T18:14:45.390Z] ---> Running in 921f2c57cca9 [2022-10-22T18:14:45.390Z] Removing intermediate container 921f2c57cca9 [2022-10-22T18:14:45.390Z] ---> dc0ad7eb75e9 [2022-10-22T18:14:45.390Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-22T18:14:45.390Z] ---> Running in 9863c26521b6 [2022-10-22T18:14:45.683Z] Removing intermediate container 9863c26521b6 [2022-10-22T18:14:45.683Z] ---> 7f25a6ff7725 [2022-10-22T18:14:45.683Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-22T18:14:45.683Z] ---> Running in de178c38a3bc [2022-10-22T18:14:45.683Z] Removing intermediate container de178c38a3bc [2022-10-22T18:14:45.683Z] ---> 59c2d6154302 [2022-10-22T18:14:45.683Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-22T18:14:45.683Z] ---> Running in ae2b1b6e192e [2022-10-22T18:14:46.266Z] Removing intermediate container ae2b1b6e192e [2022-10-22T18:14:46.266Z] ---> f5c09c181839 [2022-10-22T18:14:46.266Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-22T18:14:46.266Z] ---> Running in 9b4b42054d04 [2022-10-22T18:14:46.525Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-22T18:14:47.464Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-22T18:14:47.723Z] OK: 216 MiB in 55 packages [2022-10-22T18:14:47.982Z] Removing intermediate container 9b4b42054d04 [2022-10-22T18:14:47.982Z] ---> 549ff8f5b84b [2022-10-22T18:14:47.982Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-22T18:14:48.242Z] ---> b6cb56d25f1c [2022-10-22T18:14:48.242Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-22T18:14:48.242Z] ---> Running in 81927bcf2ec2 [2022-10-22T18:14:49.180Z] Removing intermediate container 81927bcf2ec2 [2022-10-22T18:14:49.180Z] ---> 3c07bb48c505 [2022-10-22T18:14:49.180Z] Step 11/27 : COPY . . [2022-10-22T18:14:49.438Z] ---> 758c19342968 [2022-10-22T18:14:49.438Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-22T18:14:49.438Z] ---> Running in c7d133bbd993 [2022-10-22T18:14:49.438Z] Removing intermediate container c7d133bbd993 [2022-10-22T18:14:49.438Z] ---> 970bf26734d4 [2022-10-22T18:14:49.438Z] Step 13/27 : RUN $MAKE [2022-10-22T18:14:49.696Z] ---> Running in fd84bad7e2d5 [2022-10-22T18:14:49.956Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-22T18:15:11.880Z] Removing intermediate container fd84bad7e2d5 [2022-10-22T18:15:11.880Z] ---> 29b9156d5826 [2022-10-22T18:15:11.880Z] Step 14/27 : FROM alpine:3.16 [2022-10-22T18:15:11.880Z] 3.16: Pulling from library/alpine [2022-10-22T18:15:11.880Z] 213ec9aee27d: Already exists [2022-10-22T18:15:11.880Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-22T18:15:11.880Z] Status: Downloaded newer image for alpine:3.16 [2022-10-22T18:15:11.880Z] ---> 9c6f07244728 [2022-10-22T18:15:11.880Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-22T18:15:11.880Z] ---> Running in ffbe4dcb95d5 [2022-10-22T18:15:11.880Z] Removing intermediate container ffbe4dcb95d5 [2022-10-22T18:15:11.880Z] ---> eeca5a38a7da [2022-10-22T18:15:11.880Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-22T18:15:11.880Z] ---> Running in 2b3c040bf575 [2022-10-22T18:15:11.880Z] Removing intermediate container 2b3c040bf575 [2022-10-22T18:15:11.880Z] ---> 20d7841b193f [2022-10-22T18:15:11.880Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-22T18:15:11.880Z] ---> Running in 683b9c8aeffe [2022-10-22T18:15:11.880Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-22T18:15:11.880Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-22T18:15:11.880Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-22T18:15:12.140Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-22T18:15:12.140Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-22T18:15:12.140Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-22T18:15:12.400Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-22T18:15:12.400Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-22T18:15:12.400Z] Executing busybox-1.35.0-r17.trigger [2022-10-22T18:15:12.400Z] OK: 8 MiB in 20 packages [2022-10-22T18:15:12.968Z] Removing intermediate container 683b9c8aeffe [2022-10-22T18:15:12.968Z] ---> d07a36b6dde7 [2022-10-22T18:15:12.968Z] Step 18/27 : WORKDIR / [2022-10-22T18:15:12.968Z] ---> Running in 7f9e5bf5a54f [2022-10-22T18:15:12.968Z] Removing intermediate container 7f9e5bf5a54f [2022-10-22T18:15:12.968Z] ---> 7d299306b0b5 [2022-10-22T18:15:12.968Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-22T18:15:13.228Z] ---> e34a8bb5c298 [2022-10-22T18:15:13.228Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-22T18:15:13.228Z] ---> 329342d2caf7 [2022-10-22T18:15:13.228Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-22T18:15:13.796Z] ---> b6485c1ff00d [2022-10-22T18:15:13.796Z] Step 22/27 : EXPOSE 59900 [2022-10-22T18:15:14.055Z] ---> Running in 67ede30c816e [2022-10-22T18:15:14.055Z] Removing intermediate container 67ede30c816e [2022-10-22T18:15:14.055Z] ---> 87f944a97e7e [2022-10-22T18:15:14.055Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-22T18:15:14.055Z] ---> Running in e5b13a00e81c [2022-10-22T18:15:14.055Z] Removing intermediate container e5b13a00e81c [2022-10-22T18:15:14.055Z] ---> dca48d05a848 [2022-10-22T18:15:14.055Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-22T18:15:14.315Z] ---> Running in 1878794547c9 [2022-10-22T18:15:14.315Z] Removing intermediate container 1878794547c9 [2022-10-22T18:15:14.315Z] ---> 4c1586e12ce2 [2022-10-22T18:15:14.315Z] Step 25/27 : LABEL arch=amd64 [2022-10-22T18:15:14.315Z] ---> Running in d7d369f28950 [2022-10-22T18:15:14.315Z] Removing intermediate container d7d369f28950 [2022-10-22T18:15:14.315Z] ---> afd0af6dff60 [2022-10-22T18:15:14.315Z] Step 26/27 : LABEL git_sha=08ba88bbb8593175a348f49bf109086ae6b5bed8 [2022-10-22T18:15:14.315Z] ---> Running in bf029984abda [2022-10-22T18:15:14.573Z] Removing intermediate container bf029984abda [2022-10-22T18:15:14.573Z] ---> c674f95ded77 [2022-10-22T18:15:14.573Z] Step 27/27 : LABEL version=0.0.0 [2022-10-22T18:15:14.573Z] ---> Running in f0ecb6107f98 [2022-10-22T18:15:14.573Z] Removing intermediate container f0ecb6107f98 [2022-10-22T18:15:14.573Z] ---> f5e44c6512ae [2022-10-22T18:15:14.573Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-22T18:15:14.573Z] Successfully built f5e44c6512ae [2022-10-22T18:15:14.573Z] 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-10-22T18:15:15.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-22T18:15:15.414Z] [2022-10-22T18:15:15.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:15:15.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-22T18:15:15.799Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-22T18:15:15.799Z] 5eb5b503b376: Pulling fs layer [2022-10-22T18:15:15.799Z] 5c69ac0246d0: Pulling fs layer [2022-10-22T18:15:15.799Z] ec43610c2a17: Pulling fs layer [2022-10-22T18:15:15.799Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-22T18:15:15.799Z] 33b1e0a273af: Pulling fs layer [2022-10-22T18:15:15.799Z] 5d3b04190fa2: Pulling fs layer [2022-10-22T18:15:15.799Z] 2f39f015ded8: Pulling fs layer [2022-10-22T18:15:15.799Z] 3a2ae6a8a46f: Waiting [2022-10-22T18:15:15.799Z] 33b1e0a273af: Waiting [2022-10-22T18:15:15.799Z] 5d3b04190fa2: Waiting [2022-10-22T18:15:15.799Z] 2f39f015ded8: Waiting [2022-10-22T18:15:15.799Z] 5c69ac0246d0: Download complete [2022-10-22T18:15:15.799Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-22T18:15:15.799Z] 3a2ae6a8a46f: Download complete [2022-10-22T18:15:15.799Z] 33b1e0a273af: Verifying Checksum [2022-10-22T18:15:15.799Z] 33b1e0a273af: Download complete [2022-10-22T18:15:16.060Z] 5d3b04190fa2: Verifying Checksum [2022-10-22T18:15:16.060Z] 5d3b04190fa2: Download complete [2022-10-22T18:15:16.060Z] ec43610c2a17: Download complete [2022-10-22T18:15:16.060Z] 5eb5b503b376: Verifying Checksum [2022-10-22T18:15:16.060Z] 5eb5b503b376: Download complete [2022-10-22T18:15:16.629Z] 2f39f015ded8: Verifying Checksum [2022-10-22T18:15:16.629Z] 2f39f015ded8: Download complete [2022-10-22T18:15:17.197Z] 5eb5b503b376: Pull complete [2022-10-22T18:15:17.455Z] 5c69ac0246d0: Pull complete [2022-10-22T18:15:17.715Z] ec43610c2a17: Pull complete [2022-10-22T18:15:17.715Z] 3a2ae6a8a46f: Pull complete [2022-10-22T18:15:17.975Z] 33b1e0a273af: Pull complete [2022-10-22T18:15:17.975Z] 5d3b04190fa2: Pull complete [2022-10-22T18:15:22.167Z] 2f39f015ded8: Pull complete [2022-10-22T18:15:22.167Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-22T18:15:22.167Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-22T18:15:22.167Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-22T18:15:22.366Z] prd-ubuntu20.04-docker-8c-8g-8854 does not seem to be running inside a container [2022-10-22T18:15:22.398Z] $ 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-315 -v /w/workspace/foundry_device-virtual-go_PR-315:/w/workspace/foundry_device-virtual-go_PR-315:rw,z -v /w/workspace/foundry_device-virtual-go_PR-315@tmp:/w/workspace/foundry_device-virtual-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-22T18:15:23.959Z] $ docker top 21fddbd761da586ab0fa94103befbebcf5c7e1d8cd21b9260015ca94b173c250 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:15:24.413Z] ---> job-cost.sh [2022-10-22T18:15:24.413Z] lf-activate-venv: SKIPPING [2022-10-22T18:15:24.413Z] INFO: No Stack... [2022-10-22T18:15:24.674Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-22T18:15:24.933Z] INFO: Archiving Costs [Pipeline] sh [2022-10-22T18:15:25.245Z] + cat /w/workspace/foundry_device-virtual-go_PR-315/archives/cost.csv [2022-10-22T18:15:25.245Z] + cut -d, -f6 [Pipeline] lock [2022-10-22T18:15:25.287Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] [2022-10-22T18:15:25.291Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] did not exist. Created. [2022-10-22T18:15:25.291Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-22T18:15:25.688Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-22T18:15:25.733Z] Stashed 1 file(s) [Pipeline] } [2022-10-22T18:15:25.764Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-22T18:15:25.849Z] $ docker stop --time=1 21fddbd761da586ab0fa94103befbebcf5c7e1d8cd21b9260015ca94b173c250 [2022-10-22T18:15:27.014Z] $ docker rm -f 21fddbd761da586ab0fa94103befbebcf5c7e1d8cd21b9260015ca94b173c250 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-22T18:16:50.139Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8856 in /w/workspace/foundry_device-virtual-go_PR-315 [Pipeline] { [Pipeline] ws [2022-10-22T18:16:50.182Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-10-22T18:16:50.248Z] The recommended git tool is: git [2022-10-22T18:16:55.889Z] using credential edgex-jenkins-ssh [2022-10-22T18:16:55.905Z] Cloning the remote Git repository [2022-10-22T18:16:55.953Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-10-22T18:16:56.035Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-10-22T18:16:56.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-22T18:16:56.198Z] > git --version # timeout=10 [2022-10-22T18:16:56.221Z] > git --version # 'git version 2.25.1' [2022-10-22T18:16:56.223Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-22T18:16:56.274Z] Verifying host key using known hosts file [2022-10-22T18:16:56.512Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-22T18:16:56.525Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-22T18:16:58.692Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-22T18:16:58.718Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-22T18:17:00.266Z] Merging remotes/origin/main commit 4fde29d6fb1a32cee08b75cf09049e5481e19570 into PR head commit 08ba88bbb8593175a348f49bf109086ae6b5bed8 [2022-10-22T18:17:00.499Z] Merge succeeded, producing 08ba88bbb8593175a348f49bf109086ae6b5bed8 [2022-10-22T18:17:00.500Z] Checking out Revision 08ba88bbb8593175a348f49bf109086ae6b5bed8 (PR-315) [2022-10-22T18:16:59.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-10-22T18:16:59.615Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-10-22T18:16:59.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-22T18:16:59.622Z] Verifying host key using known hosts file [2022-10-22T18:16:59.629Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-22T18:16:59.639Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/315/head:refs/remotes/origin/PR-315 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-22T18:17:00.283Z] > git config core.sparsecheckout # timeout=10 [2022-10-22T18:17:00.304Z] > git checkout -f 08ba88bbb8593175a348f49bf109086ae6b5bed8 # timeout=10 [2022-10-22T18:17:00.391Z] > git remote # timeout=10 [2022-10-22T18:17:00.408Z] > git config --get remote.origin.url # timeout=10 [2022-10-22T18:17:00.438Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-22T18:17:00.443Z] Verifying host key using known hosts file [2022-10-22T18:17:00.446Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-22T18:17:00.454Z] > git merge 4fde29d6fb1a32cee08b75cf09049e5481e19570 # timeout=10 [2022-10-22T18:17:00.481Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-22T18:17:00.506Z] > git config core.sparsecheckout # timeout=10 [2022-10-22T18:17:00.526Z] > git checkout -f 08ba88bbb8593175a348f49bf109086ae6b5bed8 # timeout=10 [2022-10-22T18:17:04.053Z] Commit message: "build: Updated to latest Device SDK" [2022-10-22T18:17:04.109Z] > git --version # timeout=10 [2022-10-22T18:17:04.120Z] > git --version # 'git version 2.25.1' [2022-10-22T18:17:04.137Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-22T18:17:05.299Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-22T18:17:05.299Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-22T18:17:05.299Z] Dload Upload Total Spent Left Speed [2022-10-22T18:17:05.299Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 91318 [Pipeline] sh [2022-10-22T18:17:06.043Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-22T18:17:06.385Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-22T18:17:06.385Z] + sudo tee /etc/docker/daemon.new [2022-10-22T18:17:06.385Z] { [2022-10-22T18:17:06.385Z] "registry-mirrors": [ [2022-10-22T18:17:06.385Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-22T18:17:06.385Z] ], [2022-10-22T18:17:06.385Z] "bip": "10.250.0.254/24", [2022-10-22T18:17:06.385Z] "hosts": [ [2022-10-22T18:17:06.385Z] "tcp://0.0.0.0:5555", [2022-10-22T18:17:06.385Z] "unix:///var/run/docker.sock" [2022-10-22T18:17:06.385Z] ], [2022-10-22T18:17:06.385Z] "mtu": 1458, [2022-10-22T18:17:06.385Z] "selinux-enabled": true, [2022-10-22T18:17:06.385Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-22T18:17:06.385Z] } [Pipeline] sh [2022-10-22T18:17:06.729Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-22T18:17:07.095Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-22T18:17:25.416Z] provisioning config files... [2022-10-22T18:17:25.446Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config12962450873051109411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:17:25.837Z] ---> docker-login.sh [2022-10-22T18:17:25.837Z] nexus3.edgexfoundry.org:10001 [2022-10-22T18:17:26.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:17:26.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:17:26.440Z] Configure a credential helper to remove this warning. See [2022-10-22T18:17:26.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:17:26.440Z] [2022-10-22T18:17:26.440Z] Login Succeeded [2022-10-22T18:17:26.440Z] nexus3.edgexfoundry.org:10002 [2022-10-22T18:17:26.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:17:26.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:17:26.976Z] Configure a credential helper to remove this warning. See [2022-10-22T18:17:26.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:17:26.976Z] [2022-10-22T18:17:26.976Z] Login Succeeded [2022-10-22T18:17:26.976Z] nexus3.edgexfoundry.org:10003 [2022-10-22T18:17:26.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:17:27.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:17:27.243Z] Configure a credential helper to remove this warning. See [2022-10-22T18:17:27.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:17:27.243Z] [2022-10-22T18:17:27.243Z] Login Succeeded [2022-10-22T18:17:27.243Z] nexus3.edgexfoundry.org:10004 [2022-10-22T18:17:27.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:17:27.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:17:27.512Z] Configure a credential helper to remove this warning. See [2022-10-22T18:17:27.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:17:27.512Z] [2022-10-22T18:17:27.512Z] Login Succeeded [2022-10-22T18:17:27.512Z] docker.io [2022-10-22T18:17:27.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-22T18:17:28.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-22T18:17:28.362Z] Configure a credential helper to remove this warning. See [2022-10-22T18:17:28.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-22T18:17:28.362Z] [2022-10-22T18:17:28.362Z] Login Succeeded [2022-10-22T18:17:28.362Z] ---> docker-login.sh ends [Pipeline] } [2022-10-22T18:17:28.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-22T18:17:28.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-22T18:17:28.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-22T18:17:28.745Z] ========================================================= [2022-10-22T18:17:28.745Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-22T18:17:28.745Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:17:29.253Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-22T18:17:29.521Z] Sending build context to Docker daemon 11.77MB [2022-10-22T18:17:29.521Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-22T18:17:29.521Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-22T18:17:29.790Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-22T18:17:29.790Z] 9b18e9b68314: Pulling fs layer [2022-10-22T18:17:29.790Z] d32db5db7311: Pulling fs layer [2022-10-22T18:17:29.790Z] d0c4b47475fc: Pulling fs layer [2022-10-22T18:17:29.790Z] 5831b945b038: Pulling fs layer [2022-10-22T18:17:29.790Z] 86bbec2aaacd: Pulling fs layer [2022-10-22T18:17:29.790Z] e10730c5d714: Pulling fs layer [2022-10-22T18:17:29.790Z] 5dd5c2283517: Pulling fs layer [2022-10-22T18:17:29.790Z] d5ac0230b979: Pulling fs layer [2022-10-22T18:17:29.790Z] 5831b945b038: Waiting [2022-10-22T18:17:29.790Z] 86bbec2aaacd: Waiting [2022-10-22T18:17:29.790Z] e10730c5d714: Waiting [2022-10-22T18:17:29.790Z] 5dd5c2283517: Waiting [2022-10-22T18:17:29.790Z] d5ac0230b979: Waiting [2022-10-22T18:17:29.790Z] d0c4b47475fc: Verifying Checksum [2022-10-22T18:17:29.790Z] d0c4b47475fc: Download complete [2022-10-22T18:17:29.790Z] d32db5db7311: Download complete [2022-10-22T18:17:29.790Z] 86bbec2aaacd: Verifying Checksum [2022-10-22T18:17:29.790Z] 86bbec2aaacd: Download complete [2022-10-22T18:17:29.790Z] e10730c5d714: Verifying Checksum [2022-10-22T18:17:29.790Z] e10730c5d714: Download complete [2022-10-22T18:17:29.790Z] 9b18e9b68314: Download complete [2022-10-22T18:17:30.778Z] 9b18e9b68314: Pull complete [2022-10-22T18:17:31.052Z] d5ac0230b979: Verifying Checksum [2022-10-22T18:17:31.052Z] d5ac0230b979: Download complete [2022-10-22T18:17:31.322Z] d32db5db7311: Pull complete [2022-10-22T18:17:31.595Z] d0c4b47475fc: Pull complete [2022-10-22T18:17:32.185Z] 5dd5c2283517: Verifying Checksum [2022-10-22T18:17:32.185Z] 5dd5c2283517: Download complete [2022-10-22T18:17:32.767Z] 5831b945b038: Download complete [2022-10-22T18:17:45.105Z] 5831b945b038: Pull complete [2022-10-22T18:17:45.105Z] 86bbec2aaacd: Pull complete [2022-10-22T18:17:45.105Z] e10730c5d714: Pull complete [2022-10-22T18:17:49.485Z] 5dd5c2283517: Pull complete [2022-10-22T18:17:50.916Z] d5ac0230b979: Pull complete [2022-10-22T18:17:50.916Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-22T18:17:50.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-22T18:17:50.916Z] ---> 59b3b1a385d4 [2022-10-22T18:17:50.916Z] Step 3/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-22T18:17:52.874Z] ---> Running in 7aac95a1e348 [2022-10-22T18:17:53.480Z] Removing intermediate container 7aac95a1e348 [2022-10-22T18:17:53.480Z] ---> 22f6c20c480d [2022-10-22T18:17:53.480Z] Step 4/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-22T18:17:53.480Z] ---> Running in 2ae48c816f9b [2022-10-22T18:17:53.750Z] Removing intermediate container 2ae48c816f9b [2022-10-22T18:17:53.750Z] ---> 6eb65cc49a1d [2022-10-22T18:17:53.750Z] Step 5/13 : ARG ADD_BUILD_TAGS="" [2022-10-22T18:17:53.750Z] ---> Running in 010a266f245d [2022-10-22T18:17:54.334Z] Removing intermediate container 010a266f245d [2022-10-22T18:17:54.334Z] ---> 858d2d2e6113 [2022-10-22T18:17:54.334Z] Step 6/13 : WORKDIR /device-virtual-go [2022-10-22T18:17:54.334Z] ---> Running in 7204f39472f1 [2022-10-22T18:17:54.606Z] Removing intermediate container 7204f39472f1 [2022-10-22T18:17:54.606Z] ---> 438fd760922d [2022-10-22T18:17:54.606Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-22T18:17:54.606Z] ---> Running in 10a70760b23d [2022-10-22T18:17:56.557Z] Removing intermediate container 10a70760b23d [2022-10-22T18:17:56.557Z] ---> 534e691e6109 [2022-10-22T18:17:56.557Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-22T18:17:56.557Z] ---> Running in 9f378c93152e [2022-10-22T18:17:57.516Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-22T18:17:58.478Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-22T18:17:59.440Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-22T18:17:59.440Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-22T18:17:59.440Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-22T18:17:59.706Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-22T18:17:59.973Z] Executing busybox-1.35.0-r17.trigger [2022-10-22T18:17:59.973Z] OK: 226 MiB in 55 packages [2022-10-22T18:18:00.940Z] Removing intermediate container 9f378c93152e [2022-10-22T18:18:00.940Z] ---> 54af5a4d32ac [2022-10-22T18:18:00.940Z] Step 9/13 : COPY go.mod vendor* ./ [2022-10-22T18:18:01.209Z] ---> 2e059533ae01 [2022-10-22T18:18:01.209Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-22T18:18:01.482Z] ---> Running in ceb55bef687d [2022-10-22T18:18:57.915Z] Removing intermediate container ceb55bef687d [2022-10-22T18:18:57.915Z] ---> 355bb9c5d024 [2022-10-22T18:18:57.915Z] Step 11/13 : COPY . . [2022-10-22T18:18:57.915Z] ---> 22351e42dc46 [2022-10-22T18:18:57.915Z] Step 12/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-22T18:18:57.915Z] ---> Running in f4e7f70913da [2022-10-22T18:18:57.915Z] Removing intermediate container f4e7f70913da [2022-10-22T18:18:57.915Z] ---> f31c76e5a9f0 [2022-10-22T18:18:57.915Z] Step 13/13 : RUN $MAKE [2022-10-22T18:18:57.915Z] ---> Running in e021d930cec6 [2022-10-22T18:18:57.915Z] noop [2022-10-22T18:18:57.915Z] Removing intermediate container e021d930cec6 [2022-10-22T18:18:57.915Z] ---> c57145e2015b [2022-10-22T18:18:57.915Z] Successfully built c57145e2015b [2022-10-22T18:18:57.915Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:18:58.388Z] + docker inspect -f . ci-base-image-arm64 [2022-10-22T18:18:58.388Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-22T18:18:58.638Z] prd-ubuntu20.04-docker-arm64-4c-16g-8856 does not seem to be running inside a container [2022-10-22T18:18:58.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-22T18:18:59.947Z] $ docker top 6f316e23e6acf53ccec2716c3fd259b00f11fb24b1b521c20cdcd936b067f34a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-22T18:19:00.834Z] + go version [2022-10-22T18:19:00.834Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-22T18:19:00.873Z] $ docker stop --time=1 6f316e23e6acf53ccec2716c3fd259b00f11fb24b1b521c20cdcd936b067f34a [2022-10-22T18:19:04.027Z] $ docker rm -f 6f316e23e6acf53ccec2716c3fd259b00f11fb24b1b521c20cdcd936b067f34a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:19:04.872Z] + docker inspect -f . ci-base-image-arm64 [2022-10-22T18:19:04.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-22T18:19:05.116Z] prd-ubuntu20.04-docker-arm64-4c-16g-8856 does not seem to be running inside a container [2022-10-22T18:19:05.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-22T18:19:06.503Z] $ docker top 449cafadbf7c0448c25c43cf8026ed39397a91ee1d5eff2e1e579bbf59530322 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-22T18:19:07.386Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-22T18:19:07.780Z] + make test [2022-10-22T18:19:08.051Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-22T18:19:10.002Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-10-22T18:20:46.734Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-10-22T18:20:46.734Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.141s coverage: 65.7% of statements [2022-10-22T18:20:46.734Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-22T18:20:46.734Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-22T18:21:01.741Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-22T18:21:01.741Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-22T18:21:01.741Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-22T18:21:01.787Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-22T18:21:01.826Z] $ docker stop --time=1 449cafadbf7c0448c25c43cf8026ed39397a91ee1d5eff2e1e579bbf59530322 [2022-10-22T18:21:03.618Z] $ docker rm -f 449cafadbf7c0448c25c43cf8026ed39397a91ee1d5eff2e1e579bbf59530322 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-22T18:21:04.611Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-22T18:21:04.649Z] Warning: overwriting stash ‘coverage-report’ [2022-10-22T18:21:05.162Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-22T18:21:05.761Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-22T18:21:06.105Z] + ls -al . [2022-10-22T18:21:06.105Z] total 196 [2022-10-22T18:21:06.105Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:19 . [2022-10-22T18:21:06.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:16 .. [2022-10-22T18:21:06.105Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:17 .git [2022-10-22T18:21:06.105Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:17 .github [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 337 Oct 22 18:17 .gitignore [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 22 18:17 .golangci.yml [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 8527 Oct 22 18:17 Attribution.txt [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 9649 Oct 22 18:17 CHANGELOG.md [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 2034 Oct 22 18:17 Dockerfile [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:17 GOVERNANCE.md [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 660 Oct 22 18:17 Jenkinsfile [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 22 18:17 LICENSE [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 2457 Oct 22 18:17 Makefile [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 623 Oct 22 18:17 OWNERS.md [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 3578 Oct 22 18:17 README.md [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:13 VERSION [2022-10-22T18:21:06.105Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:17 bin [2022-10-22T18:21:06.105Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:17 cmd [2022-10-22T18:21:06.105Z] -rw-r--r-- 1 jenkins jenkins 44128 Oct 22 18:20 coverage.out [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 3399 Oct 22 18:17 go.mod [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 37522 Oct 22 18:17 go.sum [2022-10-22T18:21:06.105Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:17 internal [2022-10-22T18:21:06.105Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:17 snap [2022-10-22T18:21:06.105Z] -rw-rw-r-- 1 jenkins jenkins 235 Oct 22 18:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:21:06.529Z] + 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=08ba88bbb8593175a348f49bf109086ae6b5bed8 --label arch=arm64 --label version=0.0.0 . [2022-10-22T18:21:06.796Z] Sending build context to Docker daemon 11.82MB [2022-10-22T18:21:07.065Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-22T18:21:07.065Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-22T18:21:07.065Z] ---> c57145e2015b [2022-10-22T18:21:07.065Z] Step 3/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-22T18:21:07.065Z] ---> Running in 78b5c888987d [2022-10-22T18:21:07.339Z] Removing intermediate container 78b5c888987d [2022-10-22T18:21:07.339Z] ---> 89dc73c87d8d [2022-10-22T18:21:07.339Z] Step 4/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-22T18:21:07.616Z] ---> Running in 05e5852b5971 [2022-10-22T18:21:07.883Z] Removing intermediate container 05e5852b5971 [2022-10-22T18:21:07.883Z] ---> 9eb6a9d56714 [2022-10-22T18:21:07.883Z] Step 5/27 : ARG ADD_BUILD_TAGS="" [2022-10-22T18:21:07.883Z] ---> Running in eac45005677a [2022-10-22T18:21:08.471Z] Removing intermediate container eac45005677a [2022-10-22T18:21:08.471Z] ---> de91e560be30 [2022-10-22T18:21:08.471Z] Step 6/27 : WORKDIR /device-virtual-go [2022-10-22T18:21:08.471Z] ---> Running in a505ae759baa [2022-10-22T18:21:08.740Z] Removing intermediate container a505ae759baa [2022-10-22T18:21:08.740Z] ---> 7e14651411ce [2022-10-22T18:21:08.740Z] Step 7/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-22T18:21:09.008Z] ---> Running in e4bdc52c0653 [2022-10-22T18:21:10.967Z] Removing intermediate container e4bdc52c0653 [2022-10-22T18:21:10.967Z] ---> 92e07c814abc [2022-10-22T18:21:10.967Z] Step 8/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-22T18:21:10.967Z] ---> Running in 41dc6976917b [2022-10-22T18:21:11.936Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-22T18:21:12.923Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-22T18:21:13.893Z] OK: 226 MiB in 55 packages [2022-10-22T18:21:14.857Z] Removing intermediate container 41dc6976917b [2022-10-22T18:21:14.857Z] ---> 4e8719203a04 [2022-10-22T18:21:14.857Z] Step 9/27 : COPY go.mod vendor* ./ [2022-10-22T18:21:15.463Z] ---> aa416795426a [2022-10-22T18:21:15.463Z] Step 10/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-22T18:21:15.463Z] ---> Running in e91dfb9143b5 [2022-10-22T18:21:18.226Z] Removing intermediate container e91dfb9143b5 [2022-10-22T18:21:18.226Z] ---> bd349f5b43e0 [2022-10-22T18:21:18.226Z] Step 11/27 : COPY . . [2022-10-22T18:21:19.240Z] ---> d0f1e7beac68 [2022-10-22T18:21:19.240Z] Step 12/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-22T18:21:19.240Z] ---> Running in 2a549dc5596b [2022-10-22T18:21:19.855Z] Removing intermediate container 2a549dc5596b [2022-10-22T18:21:19.855Z] ---> bd0f67c1197c [2022-10-22T18:21:19.855Z] Step 13/27 : RUN $MAKE [2022-10-22T18:21:19.855Z] ---> Running in 3c558f69386b [2022-10-22T18:21:20.826Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -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-10-22T18:23:57.568Z] Removing intermediate container 3c558f69386b [2022-10-22T18:23:57.568Z] ---> eaa7234b393a [2022-10-22T18:23:57.568Z] Step 14/27 : FROM alpine:3.16 [2022-10-22T18:23:57.568Z] 3.16: Pulling from library/alpine [2022-10-22T18:23:57.568Z] 9b18e9b68314: Already exists [2022-10-22T18:23:57.568Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-22T18:23:57.568Z] Status: Downloaded newer image for alpine:3.16 [2022-10-22T18:23:57.568Z] ---> a6215f271958 [2022-10-22T18:23:57.568Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-10-22T18:23:57.568Z] ---> Running in 6807b8da027f [2022-10-22T18:23:57.568Z] Removing intermediate container 6807b8da027f [2022-10-22T18:23:57.568Z] ---> e5c9c7c8c5c6 [2022-10-22T18:23:57.568Z] Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-22T18:23:57.568Z] ---> Running in 1e6be2397523 [2022-10-22T18:23:58.534Z] Removing intermediate container 1e6be2397523 [2022-10-22T18:23:58.534Z] ---> b860b02d6771 [2022-10-22T18:23:58.534Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-22T18:23:58.804Z] ---> Running in 96cf00894cbe [2022-10-22T18:23:59.769Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-22T18:24:00.735Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-22T18:24:01.701Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-22T18:24:01.701Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-22T18:24:01.968Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-22T18:24:01.968Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-22T18:24:02.237Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-22T18:24:02.237Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-22T18:24:02.237Z] Executing busybox-1.35.0-r17.trigger [2022-10-22T18:24:02.505Z] OK: 8 MiB in 20 packages [2022-10-22T18:24:03.469Z] Removing intermediate container 96cf00894cbe [2022-10-22T18:24:03.469Z] ---> 11fe0584f8bc [2022-10-22T18:24:03.469Z] Step 18/27 : WORKDIR / [2022-10-22T18:24:03.469Z] ---> Running in 0362b285d7bb [2022-10-22T18:24:03.736Z] Removing intermediate container 0362b285d7bb [2022-10-22T18:24:03.736Z] ---> 93f372405472 [2022-10-22T18:24:03.737Z] Step 19/27 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-10-22T18:24:04.321Z] ---> ca85db822268 [2022-10-22T18:24:04.321Z] Step 20/27 : COPY --from=builder /device-virtual-go/LICENSE / [2022-10-22T18:24:04.904Z] ---> afcd1628fe72 [2022-10-22T18:24:04.904Z] Step 21/27 : COPY --from=builder /device-virtual-go/cmd / [2022-10-22T18:24:06.315Z] ---> 4fc619982cb3 [2022-10-22T18:24:06.315Z] Step 22/27 : EXPOSE 59900 [2022-10-22T18:24:06.315Z] ---> Running in 383c40d3f31f [2022-10-22T18:24:06.583Z] Removing intermediate container 383c40d3f31f [2022-10-22T18:24:06.583Z] ---> 4aef8b94a855 [2022-10-22T18:24:06.583Z] Step 23/27 : ENTRYPOINT ["/device-virtual"] [2022-10-22T18:24:06.583Z] ---> Running in 39de19918114 [2022-10-22T18:24:06.850Z] Removing intermediate container 39de19918114 [2022-10-22T18:24:06.850Z] ---> 40b1328963ea [2022-10-22T18:24:06.850Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-22T18:24:07.121Z] ---> Running in f1d22e6c3246 [2022-10-22T18:24:07.389Z] Removing intermediate container f1d22e6c3246 [2022-10-22T18:24:07.389Z] ---> 431b926895bb [2022-10-22T18:24:07.389Z] Step 25/27 : LABEL arch=arm64 [2022-10-22T18:24:07.389Z] ---> Running in f85f1b5f4731 [2022-10-22T18:24:07.656Z] Removing intermediate container f85f1b5f4731 [2022-10-22T18:24:07.656Z] ---> 39e971be0aff [2022-10-22T18:24:07.656Z] Step 26/27 : LABEL git_sha=08ba88bbb8593175a348f49bf109086ae6b5bed8 [2022-10-22T18:24:07.656Z] ---> Running in 41af03ec70a0 [2022-10-22T18:24:07.923Z] Removing intermediate container 41af03ec70a0 [2022-10-22T18:24:07.923Z] ---> fea6bb4586b4 [2022-10-22T18:24:07.923Z] Step 27/27 : LABEL version=0.0.0 [2022-10-22T18:24:07.923Z] ---> Running in 7c09b398bb2b [2022-10-22T18:24:08.193Z] Removing intermediate container 7c09b398bb2b [2022-10-22T18:24:08.193Z] ---> a3511950e00c [2022-10-22T18:24:08.193Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-22T18:24:08.459Z] Successfully built a3511950e00c [2022-10-22T18:24:08.459Z] 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-10-22T18:24:09.258Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-22T18:24:09.258Z] [2022-10-22T18:24:09.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:24:09.653Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-22T18:24:09.653Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-22T18:24:09.653Z] 8998bd30e6a1: Pulling fs layer [2022-10-22T18:24:09.653Z] 04944245beec: Pulling fs layer [2022-10-22T18:24:09.653Z] 699f458cf7ca: Pulling fs layer [2022-10-22T18:24:09.653Z] 765212b225bb: Pulling fs layer [2022-10-22T18:24:09.653Z] f23df028b6ca: Pulling fs layer [2022-10-22T18:24:09.653Z] d65c8cfc05b1: Pulling fs layer [2022-10-22T18:24:09.653Z] 2437ff75d9bd: Pulling fs layer [2022-10-22T18:24:09.653Z] 765212b225bb: Waiting [2022-10-22T18:24:09.653Z] f23df028b6ca: Waiting [2022-10-22T18:24:09.653Z] d65c8cfc05b1: Waiting [2022-10-22T18:24:09.653Z] 2437ff75d9bd: Waiting [2022-10-22T18:24:09.924Z] 04944245beec: Verifying Checksum [2022-10-22T18:24:09.924Z] 04944245beec: Download complete [2022-10-22T18:24:09.924Z] 765212b225bb: Verifying Checksum [2022-10-22T18:24:09.924Z] 765212b225bb: Download complete [2022-10-22T18:24:09.924Z] f23df028b6ca: Verifying Checksum [2022-10-22T18:24:09.924Z] f23df028b6ca: Download complete [2022-10-22T18:24:09.924Z] d65c8cfc05b1: Verifying Checksum [2022-10-22T18:24:09.924Z] d65c8cfc05b1: Download complete [2022-10-22T18:24:10.197Z] 699f458cf7ca: Verifying Checksum [2022-10-22T18:24:10.197Z] 699f458cf7ca: Download complete [2022-10-22T18:24:10.477Z] 8998bd30e6a1: Verifying Checksum [2022-10-22T18:24:10.477Z] 8998bd30e6a1: Download complete [2022-10-22T18:24:13.061Z] 2437ff75d9bd: Verifying Checksum [2022-10-22T18:24:13.061Z] 2437ff75d9bd: Download complete [2022-10-22T18:24:14.469Z] 8998bd30e6a1: Pull complete [2022-10-22T18:24:15.053Z] 04944245beec: Pull complete [2022-10-22T18:24:16.462Z] 699f458cf7ca: Pull complete [2022-10-22T18:24:16.462Z] 765212b225bb: Pull complete [2022-10-22T18:24:17.423Z] f23df028b6ca: Pull complete [2022-10-22T18:24:17.693Z] d65c8cfc05b1: Pull complete [2022-10-22T18:24:32.686Z] 2437ff75d9bd: Pull complete [2022-10-22T18:24:32.686Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-22T18:24:32.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-22T18:24:32.686Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-22T18:24:32.990Z] prd-ubuntu20.04-docker-arm64-4c-16g-8856 does not seem to be running inside a container [2022-10-22T18:24:33.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-22T18:24:35.805Z] $ docker top c65b4271630080dfaff77cd46a0721bceae814a72520226af8050ffc9e83c771 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:24:36.704Z] ---> job-cost.sh [2022-10-22T18:24:36.704Z] lf-activate-venv: SKIPPING [2022-10-22T18:24:36.704Z] INFO: No Stack... [2022-10-22T18:24:36.970Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-22T18:24:37.930Z] INFO: Archiving Costs [Pipeline] sh [2022-10-22T18:24:38.280Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-10-22T18:24:38.281Z] + cut -d, -f6 [Pipeline] lock [2022-10-22T18:24:38.365Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] [2022-10-22T18:24:38.369Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] did not exist. Created. [2022-10-22T18:24:38.369Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-22T18:24:39.101Z] /w/workspace/device-virtual-go/1@tmp/durable-105931a4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-22T18:24:39.790Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-22T18:24:39.826Z] Warning: overwriting stash ‘stack-cost’ [2022-10-22T18:24:39.880Z] Stashed 1 file(s) [Pipeline] } [2022-10-22T18:24:39.894Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-315-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-22T18:24:39.968Z] $ docker stop --time=1 c65b4271630080dfaff77cd46a0721bceae814a72520226af8050ffc9e83c771 [2022-10-22T18:24:41.510Z] $ docker rm -f c65b4271630080dfaff77cd46a0721bceae814a72520226af8050ffc9e83c771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-22T18:24:42.459Z] provisioning config files... [2022-10-22T18:24:42.465Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-315@tmp/config4275992751086429558tmp [Pipeline] { [Pipeline] sh [2022-10-22T18:24:42.801Z] + set +x [2022-10-22T18:24:42.801Z] + + bash -s -- [2022-10-22T18:24:42.801Z] curl -s https://codecov.io/bash [2022-10-22T18:24:42.801Z] [2022-10-22T18:24:42.801Z] _____ _ [2022-10-22T18:24:42.801Z] / ____| | | [2022-10-22T18:24:42.801Z] | | ___ __| | ___ ___ _____ __ [2022-10-22T18:24:42.801Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-22T18:24:42.801Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-22T18:24:42.801Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-22T18:24:42.801Z] Bash-1.0.6 [2022-10-22T18:24:42.801Z] [2022-10-22T18:24:42.801Z] [2022-10-22T18:24:42.801Z] ==> git version 2.25.1 found [2022-10-22T18:24:42.801Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-22T18:24:42.801Z] Release-Date: 2020-01-08 [2022-10-22T18:24:42.801Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-22T18:24:42.801Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-22T18:24:42.801Z] ==> Jenkins CI detected. [2022-10-22T18:24:42.801Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-315 [2022-10-22T18:24:42.801Z] project root: . [2022-10-22T18:24:42.801Z] --> token set from env [2022-10-22T18:24:42.801Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-22T18:24:42.801Z] ==> Running gcov in . (disable via -X gcov) [2022-10-22T18:24:42.801Z] ==> Python coveragepy not found [2022-10-22T18:24:42.801Z] ==> Searching for coverage reports in: [2022-10-22T18:24:42.801Z] + . [2022-10-22T18:24:42.801Z] -> Found 1 reports [2022-10-22T18:24:42.801Z] ==> Detecting git/mercurial file structure [2022-10-22T18:24:42.801Z] ==> Reading reports [2022-10-22T18:24:42.801Z] + ./coverage.out bytes=44128 [2022-10-22T18:24:42.801Z] ==> Appending adjustments [2022-10-22T18:24:42.801Z] https://docs.codecov.io/docs/fixing-reports [2022-10-22T18:24:43.062Z] + Found adjustments [2022-10-22T18:24:43.062Z] ==> Gzipping contents [2022-10-22T18:24:43.062Z] 8.0K /tmp/codecov.fecZuB.gz [2022-10-22T18:24:43.062Z] ==> Uploading reports [2022-10-22T18:24:43.062Z] url: https://codecov.io [2022-10-22T18:24:43.062Z] query: branch=PR-315&commit=08ba88bbb8593175a348f49bf109086ae6b5bed8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-315%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=315&job=&cmd_args= [2022-10-22T18:24:43.062Z] -> Pinging Codecov [2022-10-22T18:24:43.062Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-315&commit=08ba88bbb8593175a348f49bf109086ae6b5bed8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-315%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=315&job=&cmd_args= [2022-10-22T18:24:43.323Z] -> Uploading to [2022-10-22T18:24:43.323Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-22/5E52B4B073DB2E39498172D8E973AA87/08ba88bbb8593175a348f49bf109086ae6b5bed8/3ebb0b6e-2a70-45cb-8478-4a7b108fa91e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221022%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221022T182443Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d74a45ddcfaed17f2bc2b39c2fd99b8d82478a40232f3b0e4f7ba1834cd4810e [2022-10-22T18:24:43.323Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-22T18:24:43.323Z] Dload Upload Total Spent Left Speed [2022-10-22T18:24:43.582Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5464 0 0 100 5464 0 24392 --:--:-- --:--:-- --:--:-- 24392 [2022-10-22T18:24:43.582Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/08ba88bbb8593175a348f49bf109086ae6b5bed8 [Pipeline] } [2022-10-22T18:24:43.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-22T18:24:45.310Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-315/archives ] [2022-10-22T18:24:45.310Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-315/archives [2022-10-22T18:24:45.310Z] total 16 [2022-10-22T18:24:45.310Z] drwxr-xr-x 3 root root 4096 Oct 22 18:15 . [2022-10-22T18:24:45.310Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:15 .. [2022-10-22T18:24:45.310Z] drwxr-xr-x 2 root root 4096 Oct 22 18:15 cost [2022-10-22T18:24:45.310Z] -rw-r--r-- 1 root root 89 Oct 22 18:15 cost.csv [2022-10-22T18:24:45.310Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-315/archives [2022-10-22T18:24:45.310Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-315/archives [2022-10-22T18:24:45.310Z] total 16 [2022-10-22T18:24:45.310Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:15 . [2022-10-22T18:24:45.310Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:15 .. [2022-10-22T18:24:45.310Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 18:15 cost [2022-10-22T18:24:45.310Z] -rw-r--r-- 1 jenkins jenkins 89 Oct 22 18:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:24:45.635Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:24:46.518Z] ---> package-listing.sh [2022-10-22T18:24:46.518Z] ++ facter osfamily [2022-10-22T18:24:46.518Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-22T18:24:46.778Z] + OS_FAMILY=debian [2022-10-22T18:24:46.778Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-315 [2022-10-22T18:24:46.778Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-22T18:24:46.778Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-22T18:24:46.778Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-22T18:24:46.778Z] + PACKAGES=/tmp/packages_start.txt [2022-10-22T18:24:46.778Z] + '[' /w/workspace/foundry_device-virtual-go_PR-315 ']' [2022-10-22T18:24:46.778Z] + PACKAGES=/tmp/packages_end.txt [2022-10-22T18:24:46.778Z] + case "${OS_FAMILY}" in [2022-10-22T18:24:46.778Z] + dpkg -l [2022-10-22T18:24:46.778Z] + grep '^ii' [2022-10-22T18:24:46.778Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-22T18:24:46.778Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-22T18:24:46.778Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-22T18:24:46.778Z] + '[' /w/workspace/foundry_device-virtual-go_PR-315 ']' [2022-10-22T18:24:46.778Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-315/archives/ [2022-10-22T18:24:46.778Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-315/archives/ [Pipeline] echo [2022-10-22T18:24:46.814Z] 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-315/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-22T18:24:47.105Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-22T18:24:47.729Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-22T18:24:47.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-22T18:24:47.874Z] prd-ubuntu20.04-docker-8c-8g-8854 does not seem to be running inside a container [2022-10-22T18:24:47.902Z] $ 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-315/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-315 -v /w/workspace/foundry_device-virtual-go_PR-315:/w/workspace/foundry_device-virtual-go_PR-315:rw,z -v /w/workspace/foundry_device-virtual-go_PR-315@tmp:/w/workspace/foundry_device-virtual-go_PR-315@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-22T18:24:48.129Z] $ docker top 6fa74e860d70688d1d65645ddb6050b853d79dc5659d2d22839a2e0abf588ea2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-22T18:24:48.529Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-22T18:24:48.837Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-22T18:24:49.153Z] + ls /var/log/sa-host [2022-10-22T18:24:49.153Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-22T18:24:49.364Z] provisioning config files... [2022-10-22T18:24:49.372Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-315@tmp/config17993078313074890401tmp [Pipeline] { [Pipeline] echo [2022-10-22T18:24:49.434Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:24:49.744Z] ---> create-netrc.sh [Pipeline] } [2022-10-22T18:24:49.774Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:24:50.172Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-22T18:24:50.203Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:24:50.511Z] ---> sudo-logs.sh [2022-10-22T18:24:50.511Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-22T18:24:50.595Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:24:50.905Z] ---> job-cost.sh [2022-10-22T18:24:50.905Z] lf-activate-venv: SKIPPING [2022-10-22T18:24:50.905Z] DEBUG: total: 0.2199999988079071 [2022-10-22T18:24:50.905Z] INFO: Retrieving Stack Cost... [2022-10-22T18:24:51.471Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-22T18:24:52.038Z] INFO: Archiving Costs [Pipeline] echo [2022-10-22T18:24:52.074Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-22T18:24:52.384Z] ---> logs-deploy.sh [2022-10-22T18:24:52.384Z] lf-activate-venv: SKIPPING [2022-10-22T18:24:52.384Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-315/1 [2022-10-22T18:24:52.384Z] INFO: archiving workspace using pattern(s): [2022-10-22T18:24:53.321Z] Archives upload complete. [2022-10-22T18:24:53.580Z] INFO: archiving logs to Nexus [2022-10-22T18:24:54.148Z] ---> uname -a: [2022-10-22T18:24:54.148Z] Linux prd-ubuntu20-04-docker-8c-8g-8854 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-22T18:24:54.148Z] [2022-10-22T18:24:54.148Z]