Pull request #301 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2+6a12b3cbdde77164eea8659b975df68ff4f52f5c (acb7370bdd18e0adbbed7edaa5b7d58e0d142432) 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-ssh11680551425418984505.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh18150780350530117964.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-301/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-301/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh538278754750351613.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-301/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16828881233455955110.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh10544026361672701317.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-301/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-301/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17684547026839758725.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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 Running on prd-ubuntu20.04-docker-8c-8g-22795 in /w/workspace/foundry_device-virtual-go_PR-301 [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-301 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6a12b3cbdde77164eea8659b975df68ff4f52f5c into PR head commit ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 Merge succeeded, producing ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 Checking out Revision ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 (PR-301) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6a12b3cbdde77164eea8659b975df68ff4f52f5c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-15T11:03:30.291Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-15T11:03:30.464Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-15T11:03:30.563Z] ========================================================= [2022-08-15T11:03:30.563Z] EdgeX Global Pipelines Version Info [2022-08-15T11:03:30.563Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:03:31.382Z] ------------------- [2022-08-15T11:03:31.382Z] stable info: [2022-08-15T11:03:31.382Z] ------------------- [2022-08-15T11:03:31.382Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T11:03:31.382Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T11:03:31.382Z] Message: update stable to v1.0.238 [2022-08-15T11:03:31.957Z] ------------------- [2022-08-15T11:03:31.957Z] experimental info: [2022-08-15T11:03:31.957Z] ------------------- [2022-08-15T11:03:31.957Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T11:03:31.957Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T11:03:31.957Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-15T11:03:32.301Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-08-15T11:03:32.343Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-08-15T11:03:32.386Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-15T11:03:32.427Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-15T11:03:32.466Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-15T11:03:32.503Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-15T11:03:32.539Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-15T11:03:32.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-15T11:03:32.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-15T11:03:32.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-15T11:03:32.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-15T11:03:32.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-08-15T11:03:32.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-15T11:03:32.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-15T11:03:32.846Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T11:03:32.885Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T11:03:32.924Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T11:03:32.960Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T11:03:32.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-15T11:03:33.032Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-15T11:03:33.068Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-15T11:03:33.105Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-15T11:03:33.148Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-15T11:03:33.188Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-15T11:03:33.230Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-15T11:03:33.266Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-15T11:03:33.308Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-15T11:03:33.348Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-301 [Pipeline] echo [2022-08-15T11:03:33.384Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-301 [Pipeline] echo [2022-08-15T11:03:33.421Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-301 [Pipeline] echo [2022-08-15T11:03:33.459Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 [Pipeline] echo [2022-08-15T11:03:33.496Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ef2a6cf [Pipeline] echo [2022-08-15T11:03:33.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T11:03:33.643Z] provisioning config files... [2022-08-15T11:03:33.661Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-301@tmp/config1204686861742152903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:03:34.004Z] ---> docker-login.sh [2022-08-15T11:03:34.004Z] nexus3.edgexfoundry.org:10001 [2022-08-15T11:03:34.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:03:34.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:03:34.533Z] Configure a credential helper to remove this warning. See [2022-08-15T11:03:34.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:03:34.533Z] [2022-08-15T11:03:34.533Z] Login Succeeded [2022-08-15T11:03:34.533Z] nexus3.edgexfoundry.org:10002 [2022-08-15T11:03:34.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:03:34.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:03:34.795Z] Configure a credential helper to remove this warning. See [2022-08-15T11:03:34.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:03:34.795Z] [2022-08-15T11:03:34.795Z] Login Succeeded [2022-08-15T11:03:34.795Z] nexus3.edgexfoundry.org:10003 [2022-08-15T11:03:34.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:03:34.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:03:34.795Z] Configure a credential helper to remove this warning. See [2022-08-15T11:03:34.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:03:34.795Z] [2022-08-15T11:03:34.795Z] Login Succeeded [2022-08-15T11:03:34.795Z] nexus3.edgexfoundry.org:10004 [2022-08-15T11:03:35.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:03:35.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:03:35.059Z] Configure a credential helper to remove this warning. See [2022-08-15T11:03:35.059Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:03:35.059Z] [2022-08-15T11:03:35.059Z] Login Succeeded [2022-08-15T11:03:35.059Z] docker.io [2022-08-15T11:03:35.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:03:35.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:03:35.327Z] Configure a credential helper to remove this warning. See [2022-08-15T11:03:35.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:03:35.327Z] [2022-08-15T11:03:35.327Z] Login Succeeded [2022-08-15T11:03:35.327Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T11:03:35.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-15T11:03:35.989Z] + git rev-list -1 --merges ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2~1..ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 [Pipeline] echo [2022-08-15T11:03:36.034Z] -----------> git rev-list -1 --merges ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2~1..ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 [false] [Pipeline] sh [2022-08-15T11:03:36.346Z] + git log --format=format:%s -1 ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 [Pipeline] echo [2022-08-15T11:03:36.389Z] ========================================================= [2022-08-15T11:03:36.389Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-15T11:03:36.389Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T11:03:36.839Z] + git log --format=format:%s -1 ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 [Pipeline] echo [2022-08-15T11:03:36.874Z] [semverPrep] GIT_COMMIT: ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-08-15T11:03:36.907Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-15T11:03:37.326Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T11:03:37.326Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-15T11:03:37.326Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-15T11:03:37.326Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-15T11:03:37.326Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-15T11:03:37.326Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-15T11:03:37.326Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:03:37.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T11:03:37.778Z] [2022-08-15T11:03:37.778Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:03:38.183Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T11:03:38.183Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-15T11:03:38.183Z] b85a868b505f: Pulling fs layer [2022-08-15T11:03:38.183Z] e2be974225ed: Pulling fs layer [2022-08-15T11:03:38.183Z] 339a4e72a1f5: Pulling fs layer [2022-08-15T11:03:38.183Z] 988bab9f4d93: Pulling fs layer [2022-08-15T11:03:38.183Z] 1469e6f7b9e6: Pulling fs layer [2022-08-15T11:03:38.183Z] eaf3925da568: Pulling fs layer [2022-08-15T11:03:38.183Z] bab4dde63d76: Pulling fs layer [2022-08-15T11:03:38.183Z] bde34c3a00c8: Pulling fs layer [2022-08-15T11:03:38.183Z] b352a97aabf1: Pulling fs layer [2022-08-15T11:03:38.183Z] 4872d77fe225: Pulling fs layer [2022-08-15T11:03:38.183Z] 5851b861e8e6: Pulling fs layer [2022-08-15T11:03:38.183Z] bde34c3a00c8: Waiting [2022-08-15T11:03:38.183Z] b352a97aabf1: Waiting [2022-08-15T11:03:38.183Z] 4872d77fe225: Waiting [2022-08-15T11:03:38.183Z] 5851b861e8e6: Waiting [2022-08-15T11:03:38.183Z] eaf3925da568: Waiting [2022-08-15T11:03:38.183Z] 988bab9f4d93: Waiting [2022-08-15T11:03:38.183Z] bab4dde63d76: Waiting [2022-08-15T11:03:38.183Z] 1469e6f7b9e6: Waiting [2022-08-15T11:03:38.183Z] e2be974225ed: Download complete [2022-08-15T11:03:38.183Z] 988bab9f4d93: Verifying Checksum [2022-08-15T11:03:38.183Z] 988bab9f4d93: Download complete [2022-08-15T11:03:38.445Z] 1469e6f7b9e6: Verifying Checksum [2022-08-15T11:03:38.445Z] 1469e6f7b9e6: Download complete [2022-08-15T11:03:38.445Z] eaf3925da568: Download complete [2022-08-15T11:03:38.445Z] 339a4e72a1f5: Verifying Checksum [2022-08-15T11:03:38.445Z] 339a4e72a1f5: Download complete [2022-08-15T11:03:38.445Z] bde34c3a00c8: Download complete [2022-08-15T11:03:38.445Z] b352a97aabf1: Download complete [2022-08-15T11:03:38.445Z] 4872d77fe225: Verifying Checksum [2022-08-15T11:03:38.445Z] 4872d77fe225: Download complete [2022-08-15T11:03:38.445Z] 5851b861e8e6: Verifying Checksum [2022-08-15T11:03:38.445Z] 5851b861e8e6: Download complete [2022-08-15T11:03:38.445Z] b85a868b505f: Verifying Checksum [2022-08-15T11:03:38.445Z] b85a868b505f: Download complete [2022-08-15T11:03:38.708Z] bab4dde63d76: Verifying Checksum [2022-08-15T11:03:38.708Z] bab4dde63d76: Download complete [2022-08-15T11:03:40.096Z] b85a868b505f: Pull complete [2022-08-15T11:03:40.096Z] e2be974225ed: Pull complete [2022-08-15T11:03:40.359Z] 339a4e72a1f5: Pull complete [2022-08-15T11:03:40.621Z] 988bab9f4d93: Pull complete [2022-08-15T11:03:40.880Z] 1469e6f7b9e6: Pull complete [2022-08-15T11:03:40.880Z] eaf3925da568: Pull complete [2022-08-15T11:03:42.795Z] bab4dde63d76: Pull complete [2022-08-15T11:03:42.795Z] bde34c3a00c8: Pull complete [2022-08-15T11:03:43.057Z] b352a97aabf1: Pull complete [2022-08-15T11:03:43.057Z] 4872d77fe225: Pull complete [2022-08-15T11:03:43.319Z] 5851b861e8e6: Pull complete [2022-08-15T11:03:43.319Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-15T11:03:43.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T11:03:43.319Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T11:03:43.548Z] prd-ubuntu20.04-docker-8c-8g-22795 does not seem to be running inside a container [2022-08-15T11:03:43.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-301 -v /w/workspace/foundry_device-virtual-go_PR-301:/w/workspace/foundry_device-virtual-go_PR-301:rw,z -v /w/workspace/foundry_device-virtual-go_PR-301@tmp:/w/workspace/foundry_device-virtual-go_PR-301@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-15T11:03:44.849Z] $ docker top c9e24bbf98b346f49a258b7198716e1a004a89ed008dcab5fd29396ca0fec950 -eo pid,comm [2022-08-15T11:03:44.911Z] 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-08-15T11:03:44.911Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T11:03:45.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T11:03:45.037Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T11:03:45.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T11:03:45.179Z] $ docker exec c9e24bbf98b346f49a258b7198716e1a004a89ed008dcab5fd29396ca0fec950 ssh-agent [2022-08-15T11:03:45.296Z] SSH_AUTH_SOCK=/tmp/ssh-cyK8Tz8v3Luj/agent.32 [2022-08-15T11:03:45.296Z] SSH_AGENT_PID=38 [2022-08-15T11:03:45.304Z] Running ssh-add (command line suppressed) [2022-08-15T11:03:45.431Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-301@tmp/private_key_8569973949509817169.key (/w/workspace/foundry_device-virtual-go_PR-301@tmp/private_key_8569973949509817169.key) [2022-08-15T11:03:45.444Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T11:03:45.777Z] + git tag --points-at HEAD [Pipeline] } [2022-08-15T11:03:45.805Z] $ docker exec --env ******** --env ******** c9e24bbf98b346f49a258b7198716e1a004a89ed008dcab5fd29396ca0fec950 ssh-agent -k [2022-08-15T11:03:45.925Z] unset SSH_AUTH_SOCK; [2022-08-15T11:03:45.926Z] unset SSH_AGENT_PID; [2022-08-15T11:03:45.926Z] echo Agent pid 38 killed; [2022-08-15T11:03:45.936Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-15T11:03:46.024Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T11:03:46.024Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T11:03:46.154Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T11:03:46.160Z] $ docker exec c9e24bbf98b346f49a258b7198716e1a004a89ed008dcab5fd29396ca0fec950 ssh-agent [2022-08-15T11:03:46.298Z] SSH_AUTH_SOCK=/tmp/ssh-e4hmjk51QV7h/agent.71 [2022-08-15T11:03:46.298Z] SSH_AGENT_PID=77 [2022-08-15T11:03:46.304Z] Running ssh-add (command line suppressed) [2022-08-15T11:03:46.420Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-301@tmp/private_key_6752515465289670229.key (/w/workspace/foundry_device-virtual-go_PR-301@tmp/private_key_6752515465289670229.key) [2022-08-15T11:03:46.433Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T11:03:46.769Z] + git semver init [2022-08-15T11:03:47.033Z] 2022-08-15 11:03:46,974 [run_init] DEBUG init version:0.0.0 force:False [2022-08-15T11:03:47.033Z] 2022-08-15 11:03:46,975 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-301/.semver [2022-08-15T11:03:47.033Z] 2022-08-15 11:03:46,975 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-301/.semver [2022-08-15T11:03:47.033Z] 2022-08-15 11:03:46,975 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-301/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-301, universal_newlines=False, shell=None, istream=None) [2022-08-15T11:03:47.983Z] 2022-08-15 11:03:47,851 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-301/.git/info/exclude [2022-08-15T11:03:47.983Z] 2022-08-15 11:03:47,851 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-301/.semver/PR-301 with force:False [2022-08-15T11:03:47.983Z] 2022-08-15 11:03:47,851 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-301/.semver/PR-301 [2022-08-15T11:03:47.983Z] 2022-08-15 11:03:47,854 [execute] INFO git cat-file --batch-check [2022-08-15T11:03:47.983Z] 2022-08-15 11:03:47,854 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-301/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T11:03:47.983Z] 2022-08-15 11:03:47,861 [execute] INFO git cat-file --batch [2022-08-15T11:03:47.983Z] 2022-08-15 11:03:47,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-301/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T11:03:47.983Z] 2022-08-15 11:03:47,867 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-301/.semver/PR-301 [2022-08-15T11:03:47.983Z] 0.0.0 [Pipeline] } [2022-08-15T11:03:48.011Z] $ docker exec --env ******** --env ******** c9e24bbf98b346f49a258b7198716e1a004a89ed008dcab5fd29396ca0fec950 ssh-agent -k [2022-08-15T11:03:48.121Z] unset SSH_AUTH_SOCK; [2022-08-15T11:03:48.122Z] unset SSH_AGENT_PID; [2022-08-15T11:03:48.122Z] echo Agent pid 77 killed; [2022-08-15T11:03:48.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T11:03:48.562Z] + git semver [Pipeline] } [2022-08-15T11:03:48.849Z] $ docker stop --time=1 c9e24bbf98b346f49a258b7198716e1a004a89ed008dcab5fd29396ca0fec950 [2022-08-15T11:03:50.168Z] $ docker rm -f c9e24bbf98b346f49a258b7198716e1a004a89ed008dcab5fd29396ca0fec950 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T11:03:50.582Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-15T11:03:50.874Z] Stashed 1 file(s) [Pipeline] echo [2022-08-15T11:03:50.892Z] [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-08-15T11:03:51.459Z] provisioning config files... [2022-08-15T11:03:51.470Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-301@tmp/config3119952837959363333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:03:51.815Z] ---> docker-login.sh [2022-08-15T11:03:51.815Z] nexus3.edgexfoundry.org:10001 [2022-08-15T11:03:51.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:03:51.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:03:51.815Z] Configure a credential helper to remove this warning. See [2022-08-15T11:03:51.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:03:51.815Z] [2022-08-15T11:03:51.815Z] Login Succeeded [2022-08-15T11:03:51.815Z] nexus3.edgexfoundry.org:10002 [2022-08-15T11:03:51.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:03:52.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:03:52.077Z] Configure a credential helper to remove this warning. See [2022-08-15T11:03:52.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:03:52.077Z] [2022-08-15T11:03:52.077Z] Login Succeeded [2022-08-15T11:03:52.077Z] nexus3.edgexfoundry.org:10003 [2022-08-15T11:03:52.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:03:52.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:03:52.077Z] Configure a credential helper to remove this warning. See [2022-08-15T11:03:52.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:03:52.077Z] [2022-08-15T11:03:52.077Z] Login Succeeded [2022-08-15T11:03:52.077Z] nexus3.edgexfoundry.org:10004 [2022-08-15T11:03:52.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:03:52.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:03:52.335Z] Configure a credential helper to remove this warning. See [2022-08-15T11:03:52.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:03:52.335Z] [2022-08-15T11:03:52.335Z] Login Succeeded [2022-08-15T11:03:52.335Z] docker.io [2022-08-15T11:03:52.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:03:52.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:03:52.597Z] Configure a credential helper to remove this warning. See [2022-08-15T11:03:52.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:03:52.597Z] [2022-08-15T11:03:52.597Z] Login Succeeded [2022-08-15T11:03:52.597Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T11:03:52.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T11:03:52.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T11:03:52.839Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T11:03:52.869Z] ========================================================= [2022-08-15T11:03:52.869Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-15T11:03:52.869Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:03:53.322Z] + 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-08-15T11:03:53.322Z] Sending build context to Docker daemon 23.11MB [2022-08-15T11:03:53.322Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T11:03:53.322Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T11:03:53.583Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-15T11:03:53.583Z] 2408cc74d12b: Pulling fs layer [2022-08-15T11:03:53.583Z] ea60b727a1ce: Pulling fs layer [2022-08-15T11:03:53.583Z] 30c4a7721957: Pulling fs layer [2022-08-15T11:03:53.583Z] 370296b7ddb6: Pulling fs layer [2022-08-15T11:03:53.583Z] 7c6cee850709: Pulling fs layer [2022-08-15T11:03:53.583Z] 39a5fcdaea64: Pulling fs layer [2022-08-15T11:03:53.583Z] d94ebbe4e438: Pulling fs layer [2022-08-15T11:03:53.583Z] bcfd1f05c69d: Pulling fs layer [2022-08-15T11:03:53.583Z] 59ccb84bbe0f: Pulling fs layer [2022-08-15T11:03:53.583Z] 7c6cee850709: Waiting [2022-08-15T11:03:53.583Z] 39a5fcdaea64: Waiting [2022-08-15T11:03:53.583Z] d94ebbe4e438: Waiting [2022-08-15T11:03:53.583Z] 59ccb84bbe0f: Waiting [2022-08-15T11:03:53.583Z] bcfd1f05c69d: Waiting [2022-08-15T11:03:53.583Z] 30c4a7721957: Verifying Checksum [2022-08-15T11:03:53.583Z] 30c4a7721957: Download complete [2022-08-15T11:03:53.583Z] ea60b727a1ce: Download complete [2022-08-15T11:03:53.583Z] 7c6cee850709: Verifying Checksum [2022-08-15T11:03:53.583Z] 7c6cee850709: Download complete [2022-08-15T11:03:53.583Z] 39a5fcdaea64: Verifying Checksum [2022-08-15T11:03:53.583Z] 39a5fcdaea64: Download complete [2022-08-15T11:03:53.583Z] 2408cc74d12b: Verifying Checksum [2022-08-15T11:03:53.583Z] 2408cc74d12b: Download complete [2022-08-15T11:03:53.583Z] d94ebbe4e438: Verifying Checksum [2022-08-15T11:03:53.583Z] d94ebbe4e438: Download complete [2022-08-15T11:03:53.583Z] 2408cc74d12b: Pull complete [2022-08-15T11:03:53.848Z] ea60b727a1ce: Pull complete [2022-08-15T11:03:53.848Z] 30c4a7721957: Pull complete [2022-08-15T11:03:53.848Z] 59ccb84bbe0f: Download complete [2022-08-15T11:03:54.111Z] bcfd1f05c69d: Verifying Checksum [2022-08-15T11:03:54.111Z] bcfd1f05c69d: Download complete [2022-08-15T11:03:54.374Z] 370296b7ddb6: Verifying Checksum [2022-08-15T11:03:54.374Z] 370296b7ddb6: Download complete [2022-08-15T11:03:58.570Z] 370296b7ddb6: Pull complete [2022-08-15T11:03:58.570Z] 7c6cee850709: Pull complete [2022-08-15T11:03:58.570Z] 39a5fcdaea64: Pull complete [2022-08-15T11:03:58.570Z] d94ebbe4e438: Pull complete [2022-08-15T11:04:00.482Z] bcfd1f05c69d: Pull complete [2022-08-15T11:04:01.504Z] 59ccb84bbe0f: Pull complete [2022-08-15T11:04:01.504Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-15T11:04:01.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-15T11:04:01.504Z] ---> a4fb48ad2a94 [2022-08-15T11:04:01.504Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T11:04:02.900Z] ---> Running in 65ad3a2c772c [2022-08-15T11:04:03.160Z] Removing intermediate container 65ad3a2c772c [2022-08-15T11:04:03.160Z] ---> 4052d2c60c99 [2022-08-15T11:04:03.160Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T11:04:03.160Z] ---> Running in ba801f3e1643 [2022-08-15T11:04:03.160Z] Removing intermediate container ba801f3e1643 [2022-08-15T11:04:03.160Z] ---> 8e40656de050 [2022-08-15T11:04:03.160Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-15T11:04:03.160Z] ---> Running in adb608ee0be9 [2022-08-15T11:04:03.421Z] Removing intermediate container adb608ee0be9 [2022-08-15T11:04:03.421Z] ---> 584a9e991e93 [2022-08-15T11:04:03.421Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T11:04:03.421Z] ---> Running in 53129dbee0d1 [2022-08-15T11:04:03.990Z] Removing intermediate container 53129dbee0d1 [2022-08-15T11:04:03.990Z] ---> e212af8d708c [2022-08-15T11:04:03.990Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T11:04:03.990Z] ---> Running in a1fdf429909b [2022-08-15T11:04:04.251Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T11:04:05.192Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T11:04:05.452Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T11:04:05.712Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T11:04:05.712Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T11:04:05.712Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T11:04:05.972Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T11:04:05.972Z] OK: 216 MiB in 55 packages [2022-08-15T11:04:06.233Z] Removing intermediate container a1fdf429909b [2022-08-15T11:04:06.233Z] ---> 4c0a28727dc7 [2022-08-15T11:04:06.233Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-15T11:04:06.291Z] Still waiting to schedule task [2022-08-15T11:04:06.292Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-15T11:04:06.496Z] ---> 2781e7ef54f5 [2022-08-15T11:04:06.496Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T11:04:06.496Z] ---> Running in db100485f6e1 [2022-08-15T11:04:28.480Z] Removing intermediate container db100485f6e1 [2022-08-15T11:04:28.480Z] ---> ad35f9a8926c [2022-08-15T11:04:28.480Z] Step 10/12 : COPY . . [2022-08-15T11:04:28.480Z] ---> dc45b52b0b3b [2022-08-15T11:04:28.480Z] Step 11/12 : ARG MAKE='make build' [2022-08-15T11:04:28.480Z] ---> Running in 8ddade876f2a [2022-08-15T11:04:28.480Z] Removing intermediate container 8ddade876f2a [2022-08-15T11:04:28.480Z] ---> e2ef5ca56a9d [2022-08-15T11:04:28.480Z] Step 12/12 : RUN $MAKE [2022-08-15T11:04:28.480Z] ---> Running in 7cc14d7b45b0 [2022-08-15T11:04:28.480Z] noop [2022-08-15T11:04:28.480Z] Removing intermediate container 7cc14d7b45b0 [2022-08-15T11:04:28.480Z] ---> f700034ad0cc [2022-08-15T11:04:28.480Z] Successfully built f700034ad0cc [2022-08-15T11:04:28.480Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:04:28.926Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T11:04:28.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T11:04:29.089Z] prd-ubuntu20.04-docker-8c-8g-22795 does not seem to be running inside a container [2022-08-15T11:04:29.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-301 -v /w/workspace/foundry_device-virtual-go_PR-301:/w/workspace/foundry_device-virtual-go_PR-301:rw,z -v /w/workspace/foundry_device-virtual-go_PR-301@tmp:/w/workspace/foundry_device-virtual-go_PR-301@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 ******** ci-base-image-x86_64 cat [2022-08-15T11:04:29.551Z] $ docker top bfce971d9d6b9456f7305bbc49afbce6ae26e37756b0a6ee5f4a916318200a0d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T11:04:29.952Z] + go version [2022-08-15T11:04:29.952Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-15T11:04:29.985Z] $ docker stop --time=1 bfce971d9d6b9456f7305bbc49afbce6ae26e37756b0a6ee5f4a916318200a0d [2022-08-15T11:04:31.298Z] $ docker rm -f bfce971d9d6b9456f7305bbc49afbce6ae26e37756b0a6ee5f4a916318200a0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:04:32.015Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T11:04:32.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T11:04:32.194Z] prd-ubuntu20.04-docker-8c-8g-22795 does not seem to be running inside a container [2022-08-15T11:04:32.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/foundry_device-virtual-go_PR-301 -v /w/workspace/foundry_device-virtual-go_PR-301:/w/workspace/foundry_device-virtual-go_PR-301:rw,z -v /w/workspace/foundry_device-virtual-go_PR-301@tmp:/w/workspace/foundry_device-virtual-go_PR-301@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 ******** ci-base-image-x86_64 cat [2022-08-15T11:04:32.642Z] $ docker top 1854071f57a2511cb6efdabd945831825a9d9971405c37a89675ff4e501fd0fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T11:04:33.038Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-301 [Pipeline] fileExists [Pipeline] sh [2022-08-15T11:04:33.398Z] + make test [2022-08-15T11:04:33.398Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-15T11:04:33.657Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-15T11:04:41.772Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-15T11:04:42.711Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.038s coverage: 65.7% of statements [2022-08-15T11:04:49.287Z] 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-08-15T11:04:49.287Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T11:04:51.820Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T11:04:51.820Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T11:04:51.820Z] ./bin/test-attribution-txt.sh [2022-08-15T11:04:51.820Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T11:04:51.820Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T11:04:51.820Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T11:04:51.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T11:04:51.886Z] $ docker stop --time=1 1854071f57a2511cb6efdabd945831825a9d9971405c37a89675ff4e501fd0fa [2022-08-15T11:04:53.679Z] $ docker rm -f 1854071f57a2511cb6efdabd945831825a9d9971405c37a89675ff4e501fd0fa [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T11:04:54.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T11:04:54.266Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-15T11:04:54.922Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T11:04:55.229Z] + ls -al . [2022-08-15T11:04:55.229Z] total 192 [2022-08-15T11:04:55.229Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 11:04 . [2022-08-15T11:04:55.229Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 11:03 .. [2022-08-15T11:04:55.229Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 11:04 .git [2022-08-15T11:04:55.229Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 11:03 .github [2022-08-15T11:04:55.229Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 15 11:03 .gitignore [2022-08-15T11:04:55.229Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 11:03 .golangci.yml [2022-08-15T11:04:55.230Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 11:03 .semver [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 15 11:03 Attribution.txt [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 15 11:03 CHANGELOG.md [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 15 11:03 Dockerfile [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 11:03 GOVERNANCE.md [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 15 11:03 Jenkinsfile [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 11:03 LICENSE [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 15 11:03 Makefile [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 15 11:03 OWNERS.md [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 15 11:03 README.md [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 11:03 VERSION [2022-08-15T11:04:55.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 11:03 bin [2022-08-15T11:04:55.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 11:03 cmd [2022-08-15T11:04:55.230Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 15 11:04 coverage.out [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 15 11:03 go.mod [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 15 11:03 go.sum [2022-08-15T11:04:55.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 11:03 internal [2022-08-15T11:04:55.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 11:03 snap [2022-08-15T11:04:55.230Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 15 11:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:04:55.626Z] + 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=ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 --label arch=amd64 --label version=0.0.0 . [2022-08-15T11:04:55.627Z] Sending build context to Docker daemon 23.16MB [2022-08-15T11:04:55.627Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T11:04:55.627Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-15T11:04:55.627Z] ---> f700034ad0cc [2022-08-15T11:04:55.627Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T11:04:55.888Z] ---> Running in d4d62d0dacdf [2022-08-15T11:04:55.888Z] Removing intermediate container d4d62d0dacdf [2022-08-15T11:04:55.888Z] ---> e41fa7df0733 [2022-08-15T11:04:55.888Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T11:04:55.888Z] ---> Running in 4c010b1d0713 [2022-08-15T11:04:56.149Z] Removing intermediate container 4c010b1d0713 [2022-08-15T11:04:56.149Z] ---> 282f7ab93adf [2022-08-15T11:04:56.149Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-15T11:04:56.149Z] ---> Running in 539c61a8adeb [2022-08-15T11:04:56.410Z] Removing intermediate container 539c61a8adeb [2022-08-15T11:04:56.410Z] ---> 32c36cb9e74c [2022-08-15T11:04:56.410Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T11:04:56.410Z] ---> Running in f61eee975722 [2022-08-15T11:04:56.981Z] Removing intermediate container f61eee975722 [2022-08-15T11:04:56.981Z] ---> d12287fb0708 [2022-08-15T11:04:56.981Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T11:04:56.981Z] ---> Running in 6b7842288cd6 [2022-08-15T11:04:57.551Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T11:04:58.126Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T11:04:58.698Z] OK: 216 MiB in 55 packages [2022-08-15T11:04:58.959Z] Removing intermediate container 6b7842288cd6 [2022-08-15T11:04:58.959Z] ---> b41230f8c83a [2022-08-15T11:04:58.959Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-15T11:04:58.959Z] ---> 15091c4a0ef7 [2022-08-15T11:04:58.959Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T11:04:58.959Z] ---> Running in f4614e6334ff [2022-08-15T11:04:59.899Z] Removing intermediate container f4614e6334ff [2022-08-15T11:04:59.899Z] ---> 2ea0b4b64d15 [2022-08-15T11:04:59.899Z] Step 10/26 : COPY . . [2022-08-15T11:05:00.160Z] ---> b92c10432521 [2022-08-15T11:05:00.160Z] Step 11/26 : ARG MAKE='make build' [2022-08-15T11:05:00.160Z] ---> Running in eaca13f2c467 [2022-08-15T11:05:00.421Z] Removing intermediate container eaca13f2c467 [2022-08-15T11:05:00.421Z] ---> 0974b09f6049 [2022-08-15T11:05:00.421Z] Step 12/26 : RUN $MAKE [2022-08-15T11:05:00.421Z] ---> Running in 8218ba176a4c [2022-08-15T11:05:00.683Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-08-15T11:05:18.781Z] Removing intermediate container 8218ba176a4c [2022-08-15T11:05:18.781Z] ---> 11881a7d370a [2022-08-15T11:05:18.781Z] Step 13/26 : FROM alpine:3.16 [2022-08-15T11:05:18.781Z] 3.16: Pulling from library/alpine [2022-08-15T11:05:19.042Z] 213ec9aee27d: Pulling fs layer [2022-08-15T11:05:19.303Z] 213ec9aee27d: Verifying Checksum [2022-08-15T11:05:19.303Z] 213ec9aee27d: Download complete [2022-08-15T11:05:19.303Z] 213ec9aee27d: Pull complete [2022-08-15T11:05:19.303Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T11:05:19.303Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T11:05:19.303Z] ---> 9c6f07244728 [2022-08-15T11:05:19.303Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-15T11:05:19.564Z] ---> Running in 8f589a6c0dc5 [2022-08-15T11:05:19.564Z] Removing intermediate container 8f589a6c0dc5 [2022-08-15T11:05:19.564Z] ---> 2712ed4553b6 [2022-08-15T11:05:19.564Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T11:05:19.564Z] ---> Running in f77a27e04df1 [2022-08-15T11:05:20.134Z] Removing intermediate container f77a27e04df1 [2022-08-15T11:05:20.134Z] ---> 611be88c4057 [2022-08-15T11:05:20.134Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T11:05:20.134Z] ---> Running in 5949322c2771 [2022-08-15T11:05:20.393Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T11:05:21.335Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T11:05:21.598Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T11:05:21.858Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T11:05:21.858Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T11:05:21.858Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T11:05:22.121Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T11:05:22.121Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T11:05:22.121Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T11:05:22.121Z] OK: 8 MiB in 20 packages [2022-08-15T11:05:22.695Z] Removing intermediate container 5949322c2771 [2022-08-15T11:05:22.696Z] ---> 6ec8ebd437f9 [2022-08-15T11:05:22.696Z] Step 17/26 : WORKDIR / [2022-08-15T11:05:22.696Z] ---> Running in a384440bc6b2 [2022-08-15T11:05:22.696Z] Removing intermediate container a384440bc6b2 [2022-08-15T11:05:22.696Z] ---> b9d9d9323173 [2022-08-15T11:05:22.696Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-15T11:05:22.957Z] ---> 0fdd5a356fb4 [2022-08-15T11:05:22.957Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-15T11:05:22.957Z] ---> 90c662965eac [2022-08-15T11:05:22.957Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-15T11:05:23.527Z] ---> 7a8301c2d046 [2022-08-15T11:05:23.527Z] Step 21/26 : EXPOSE 59900 [2022-08-15T11:05:23.527Z] ---> Running in fa57b1d482a6 [2022-08-15T11:05:23.788Z] Removing intermediate container fa57b1d482a6 [2022-08-15T11:05:23.788Z] ---> c5bba1200141 [2022-08-15T11:05:23.788Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-15T11:05:23.788Z] ---> Running in 693a78834994 [2022-08-15T11:05:23.788Z] Removing intermediate container 693a78834994 [2022-08-15T11:05:23.788Z] ---> 23445bc1acf9 [2022-08-15T11:05:23.788Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T11:05:23.788Z] ---> Running in 67330df7be75 [2022-08-15T11:05:24.047Z] Removing intermediate container 67330df7be75 [2022-08-15T11:05:24.047Z] ---> 600fbbe8a03c [2022-08-15T11:05:24.047Z] Step 24/26 : LABEL arch=amd64 [2022-08-15T11:05:24.047Z] ---> Running in 193971e8a9a5 [2022-08-15T11:05:24.047Z] Removing intermediate container 193971e8a9a5 [2022-08-15T11:05:24.047Z] ---> f4fea324afc4 [2022-08-15T11:05:24.047Z] Step 25/26 : LABEL git_sha=ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 [2022-08-15T11:05:24.047Z] ---> Running in ad5d694d46f0 [2022-08-15T11:05:24.308Z] Removing intermediate container ad5d694d46f0 [2022-08-15T11:05:24.308Z] ---> 5eeaaeb4f158 [2022-08-15T11:05:24.308Z] Step 26/26 : LABEL version=0.0.0 [2022-08-15T11:05:24.308Z] ---> Running in 08d7989f9995 [2022-08-15T11:05:24.308Z] Removing intermediate container 08d7989f9995 [2022-08-15T11:05:24.308Z] ---> 6d07d25a25eb [2022-08-15T11:05:24.308Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T11:05:24.308Z] Successfully built 6d07d25a25eb [2022-08-15T11:05:24.308Z] 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-08-15T11:05:25.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T11:05:25.117Z] [2022-08-15T11:05:25.117Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:05:25.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T11:05:25.490Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-15T11:05:25.490Z] 5eb5b503b376: Pulling fs layer [2022-08-15T11:05:25.490Z] 5c69ac0246d0: Pulling fs layer [2022-08-15T11:05:25.490Z] ec43610c2a17: Pulling fs layer [2022-08-15T11:05:25.490Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-15T11:05:25.490Z] 33b1e0a273af: Pulling fs layer [2022-08-15T11:05:25.490Z] 5d3b04190fa2: Pulling fs layer [2022-08-15T11:05:25.490Z] 2f39f015ded8: Pulling fs layer [2022-08-15T11:05:25.490Z] 5d3b04190fa2: Waiting [2022-08-15T11:05:25.490Z] 33b1e0a273af: Waiting [2022-08-15T11:05:25.490Z] 2f39f015ded8: Waiting [2022-08-15T11:05:25.490Z] 3a2ae6a8a46f: Waiting [2022-08-15T11:05:25.490Z] 5c69ac0246d0: Download complete [2022-08-15T11:05:25.490Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-15T11:05:25.490Z] 3a2ae6a8a46f: Download complete [2022-08-15T11:05:25.490Z] 33b1e0a273af: Verifying Checksum [2022-08-15T11:05:25.490Z] 33b1e0a273af: Download complete [2022-08-15T11:05:25.749Z] 5d3b04190fa2: Download complete [2022-08-15T11:05:25.750Z] ec43610c2a17: Verifying Checksum [2022-08-15T11:05:25.750Z] 5eb5b503b376: Verifying Checksum [2022-08-15T11:05:25.750Z] 5eb5b503b376: Download complete [2022-08-15T11:05:26.318Z] 2f39f015ded8: Download complete [2022-08-15T11:05:26.890Z] 5eb5b503b376: Pull complete [2022-08-15T11:05:27.152Z] 5c69ac0246d0: Pull complete [2022-08-15T11:05:27.723Z] ec43610c2a17: Pull complete [2022-08-15T11:05:27.723Z] 3a2ae6a8a46f: Pull complete [2022-08-15T11:05:27.984Z] 33b1e0a273af: Pull complete [2022-08-15T11:05:27.984Z] 5d3b04190fa2: Pull complete [2022-08-15T11:05:32.296Z] 2f39f015ded8: Pull complete [2022-08-15T11:05:32.296Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-15T11:05:32.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T11:05:32.296Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T11:05:32.516Z] prd-ubuntu20.04-docker-8c-8g-22795 does not seem to be running inside a container [2022-08-15T11:05:32.550Z] $ 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-301 -v /w/workspace/foundry_device-virtual-go_PR-301:/w/workspace/foundry_device-virtual-go_PR-301:rw,z -v /w/workspace/foundry_device-virtual-go_PR-301@tmp:/w/workspace/foundry_device-virtual-go_PR-301@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-15T11:05:34.088Z] $ docker top 7d7df08dbc234902d384582ef4d76e33213b1e357a52e6cbee2ced7950174916 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:05:34.563Z] ---> job-cost.sh [2022-08-15T11:05:34.563Z] lf-activate-venv: SKIPPING [2022-08-15T11:05:34.563Z] INFO: No Stack... [2022-08-15T11:05:34.823Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T11:05:35.395Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T11:05:35.716Z] + cat /w/workspace/foundry_device-virtual-go_PR-301/archives/cost.csv [2022-08-15T11:05:35.716Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T11:05:35.753Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-301-1-stack-cost] [2022-08-15T11:05:35.757Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-301-1-stack-cost] did not exist. Created. [2022-08-15T11:05:35.758Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-301-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T11:05:36.145Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-15T11:05:36.190Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T11:05:36.218Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-301-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T11:05:36.296Z] $ docker stop --time=1 7d7df08dbc234902d384582ef4d76e33213b1e357a52e6cbee2ced7950174916 [2022-08-15T11:05:37.467Z] $ docker rm -f 7d7df08dbc234902d384582ef4d76e33213b1e357a52e6cbee2ced7950174916 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-15T11:05:45.599Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22797 in /w/workspace/foundry_device-virtual-go_PR-301 [Pipeline] { [Pipeline] ws [2022-08-15T11:05:45.637Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-08-15T11:05:45.717Z] The recommended git tool is: git [2022-08-15T11:05:52.499Z] using credential edgex-jenkins-ssh [2022-08-15T11:05:52.516Z] Cloning the remote Git repository [2022-08-15T11:05:52.572Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-08-15T11:05:52.649Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-08-15T11:05:52.733Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-15T11:05:52.734Z] > git --version # timeout=10 [2022-08-15T11:05:52.818Z] > git --version # 'git version 2.25.1' [2022-08-15T11:05:52.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T11:05:52.944Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T11:05:54.911Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-15T11:05:55.461Z] Merging remotes/origin/main commit 6a12b3cbdde77164eea8659b975df68ff4f52f5c into PR head commit ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 [2022-08-15T11:05:55.696Z] Merge succeeded, producing ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 [2022-08-15T11:05:55.697Z] Checking out Revision ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 (PR-301) [2022-08-15T11:05:54.934Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T11:05:54.959Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-08-15T11:05:54.997Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-08-15T11:05:54.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T11:05:55.009Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/301/head:refs/remotes/origin/PR-301 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-15T11:05:55.483Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T11:05:55.504Z] > git checkout -f ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 # timeout=10 [2022-08-15T11:05:55.601Z] > git remote # timeout=10 [2022-08-15T11:05:55.619Z] > git config --get remote.origin.url # timeout=10 [2022-08-15T11:05:55.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T11:05:55.657Z] > git merge 6a12b3cbdde77164eea8659b975df68ff4f52f5c # timeout=10 [2022-08-15T11:05:55.681Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-15T11:05:55.706Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T11:05:55.723Z] > git checkout -f ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 # timeout=10 [2022-08-15T11:05:59.905Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-08-15T11:05:59.964Z] > git --version # timeout=10 [2022-08-15T11:05:59.988Z] > git --version # 'git version 2.25.1' [2022-08-15T11:06:00.002Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T11:06:01.068Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-15T11:06:01.068Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T11:06:01.068Z] Dload Upload Total Spent Left Speed [2022-08-15T11:06:01.068Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 92721 0 --:--:-- --:--:-- --:--:-- 92721 [Pipeline] sh [2022-08-15T11:06:02.142Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-15T11:06:02.510Z] + sudo tee /etc/docker/daemon.new [2022-08-15T11:06:02.511Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-15T11:06:02.511Z] { [2022-08-15T11:06:02.511Z] "registry-mirrors": [ [2022-08-15T11:06:02.511Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-15T11:06:02.511Z] ], [2022-08-15T11:06:02.511Z] "bip": "10.250.0.254/24", [2022-08-15T11:06:02.511Z] "hosts": [ [2022-08-15T11:06:02.511Z] "tcp://0.0.0.0:5555", [2022-08-15T11:06:02.511Z] "unix:///var/run/docker.sock" [2022-08-15T11:06:02.511Z] ], [2022-08-15T11:06:02.511Z] "mtu": 1458, [2022-08-15T11:06:02.511Z] "selinux-enabled": true, [2022-08-15T11:06:02.511Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-15T11:06:02.511Z] } [Pipeline] sh [2022-08-15T11:06:02.863Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-15T11:06:03.226Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T11:06:21.646Z] provisioning config files... [2022-08-15T11:06:21.670Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config5359358250980543985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:06:22.064Z] ---> docker-login.sh [2022-08-15T11:06:22.064Z] nexus3.edgexfoundry.org:10001 [2022-08-15T11:06:22.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:06:22.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:06:22.944Z] Configure a credential helper to remove this warning. See [2022-08-15T11:06:22.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:06:22.944Z] [2022-08-15T11:06:22.944Z] Login Succeeded [2022-08-15T11:06:22.944Z] nexus3.edgexfoundry.org:10002 [2022-08-15T11:06:23.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:06:23.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:06:23.220Z] Configure a credential helper to remove this warning. See [2022-08-15T11:06:23.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:06:23.220Z] [2022-08-15T11:06:23.220Z] Login Succeeded [2022-08-15T11:06:23.220Z] nexus3.edgexfoundry.org:10003 [2022-08-15T11:06:23.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:06:23.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:06:23.770Z] Configure a credential helper to remove this warning. See [2022-08-15T11:06:23.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:06:23.770Z] [2022-08-15T11:06:23.770Z] Login Succeeded [2022-08-15T11:06:23.770Z] nexus3.edgexfoundry.org:10004 [2022-08-15T11:06:24.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:06:24.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:06:24.043Z] Configure a credential helper to remove this warning. See [2022-08-15T11:06:24.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:06:24.043Z] [2022-08-15T11:06:24.043Z] Login Succeeded [2022-08-15T11:06:24.316Z] docker.io [2022-08-15T11:06:24.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T11:06:24.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T11:06:24.867Z] Configure a credential helper to remove this warning. See [2022-08-15T11:06:24.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T11:06:24.867Z] [2022-08-15T11:06:24.867Z] Login Succeeded [2022-08-15T11:06:24.867Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T11:06:24.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T11:06:25.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T11:06:25.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T11:06:25.346Z] ========================================================= [2022-08-15T11:06:25.346Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-15T11:06:25.346Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:06:25.859Z] + 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-08-15T11:06:26.135Z] Sending build context to Docker daemon 11.69MB [2022-08-15T11:06:26.135Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T11:06:26.135Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T11:06:26.415Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-15T11:06:26.415Z] b3c136eddcbf: Pulling fs layer [2022-08-15T11:06:26.415Z] c0a3192eca97: Pulling fs layer [2022-08-15T11:06:26.415Z] a050256f5b6f: Pulling fs layer [2022-08-15T11:06:26.415Z] 656be50a0ddc: Pulling fs layer [2022-08-15T11:06:26.415Z] 2bbca73fdf42: Pulling fs layer [2022-08-15T11:06:26.415Z] 656be50a0ddc: Waiting [2022-08-15T11:06:26.415Z] 46d945488cbd: Pulling fs layer [2022-08-15T11:06:26.415Z] 8a5474983e97: Pulling fs layer [2022-08-15T11:06:26.415Z] 2bbca73fdf42: Waiting [2022-08-15T11:06:26.415Z] 329c88fbcd65: Pulling fs layer [2022-08-15T11:06:26.415Z] 46d945488cbd: Waiting [2022-08-15T11:06:26.415Z] 329c88fbcd65: Waiting [2022-08-15T11:06:26.415Z] 8a5474983e97: Waiting [2022-08-15T11:06:26.415Z] a050256f5b6f: Download complete [2022-08-15T11:06:26.415Z] c0a3192eca97: Verifying Checksum [2022-08-15T11:06:26.415Z] c0a3192eca97: Download complete [2022-08-15T11:06:26.415Z] 2bbca73fdf42: Verifying Checksum [2022-08-15T11:06:26.415Z] 2bbca73fdf42: Download complete [2022-08-15T11:06:26.415Z] 46d945488cbd: Verifying Checksum [2022-08-15T11:06:26.415Z] 46d945488cbd: Download complete [2022-08-15T11:06:26.415Z] b3c136eddcbf: Verifying Checksum [2022-08-15T11:06:26.415Z] b3c136eddcbf: Download complete [2022-08-15T11:06:27.425Z] b3c136eddcbf: Pull complete [2022-08-15T11:06:27.700Z] 329c88fbcd65: Verifying Checksum [2022-08-15T11:06:27.700Z] 329c88fbcd65: Download complete [2022-08-15T11:06:27.976Z] c0a3192eca97: Pull complete [2022-08-15T11:06:28.251Z] a050256f5b6f: Pull complete [2022-08-15T11:06:28.849Z] 8a5474983e97: Verifying Checksum [2022-08-15T11:06:28.849Z] 8a5474983e97: Download complete [2022-08-15T11:06:29.447Z] 656be50a0ddc: Verifying Checksum [2022-08-15T11:06:29.447Z] 656be50a0ddc: Download complete [2022-08-15T11:06:41.870Z] 656be50a0ddc: Pull complete [2022-08-15T11:06:42.147Z] 2bbca73fdf42: Pull complete [2022-08-15T11:06:42.420Z] 46d945488cbd: Pull complete [2022-08-15T11:06:49.155Z] 8a5474983e97: Pull complete [2022-08-15T11:06:50.593Z] 329c88fbcd65: Pull complete [2022-08-15T11:06:50.593Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-15T11:06:50.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-15T11:06:50.593Z] ---> ff4287adb874 [2022-08-15T11:06:50.593Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T11:06:52.584Z] ---> Running in 84508dd8c900 [2022-08-15T11:06:52.584Z] Removing intermediate container 84508dd8c900 [2022-08-15T11:06:52.584Z] ---> 9b5e6682fe3f [2022-08-15T11:06:52.584Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T11:06:52.584Z] ---> Running in e31a63d66445 [2022-08-15T11:06:54.027Z] Removing intermediate container e31a63d66445 [2022-08-15T11:06:54.027Z] ---> a39be090cac4 [2022-08-15T11:06:54.027Z] Step 5/12 : WORKDIR /device-virtual-go [2022-08-15T11:06:54.027Z] ---> Running in f5432468f4a8 [2022-08-15T11:06:54.301Z] Removing intermediate container f5432468f4a8 [2022-08-15T11:06:54.301Z] ---> ff26b4305cce [2022-08-15T11:06:54.301Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T11:06:54.301Z] ---> Running in 8961bdc93484 [2022-08-15T11:06:56.299Z] Removing intermediate container 8961bdc93484 [2022-08-15T11:06:56.299Z] ---> 2dcea2796602 [2022-08-15T11:06:56.299Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T11:06:56.299Z] ---> Running in dd7524fc5974 [2022-08-15T11:06:56.893Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T11:06:57.866Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T11:06:58.851Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T11:06:58.851Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T11:06:59.127Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T11:06:59.127Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T11:06:59.400Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T11:06:59.400Z] OK: 226 MiB in 55 packages [2022-08-15T11:07:00.381Z] Removing intermediate container dd7524fc5974 [2022-08-15T11:07:00.381Z] ---> a99e50445d9d [2022-08-15T11:07:00.381Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-15T11:07:00.660Z] ---> 3448a3ddb8f5 [2022-08-15T11:07:00.660Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T11:07:00.936Z] ---> Running in fd9c26506783 [2022-08-15T11:07:57.495Z] Removing intermediate container fd9c26506783 [2022-08-15T11:07:57.495Z] ---> c9e29628787e [2022-08-15T11:07:57.495Z] Step 10/12 : COPY . . [2022-08-15T11:07:57.495Z] ---> 4540099383dc [2022-08-15T11:07:57.495Z] Step 11/12 : ARG MAKE='make build' [2022-08-15T11:07:57.495Z] ---> Running in ef016aa6bae7 [2022-08-15T11:07:57.495Z] Removing intermediate container ef016aa6bae7 [2022-08-15T11:07:57.495Z] ---> 4706d918827c [2022-08-15T11:07:57.495Z] Step 12/12 : RUN $MAKE [2022-08-15T11:07:57.495Z] ---> Running in e75deef8b8ea [2022-08-15T11:07:57.495Z] noop [2022-08-15T11:07:57.495Z] Removing intermediate container e75deef8b8ea [2022-08-15T11:07:57.495Z] ---> 147ef598d84d [2022-08-15T11:07:57.495Z] Successfully built 147ef598d84d [2022-08-15T11:07:57.495Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:07:57.977Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T11:07:57.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T11:07:58.297Z] prd-ubuntu20.04-docker-arm64-4c-16g-22797 does not seem to be running inside a container [2022-08-15T11:07:58.384Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-15T11:07:59.694Z] $ docker top c2beb484efea83116c8d0f350f124537a3edb20f8dc91af618f639c7483b9f06 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T11:08:00.656Z] + go version [2022-08-15T11:08:00.656Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-15T11:08:00.698Z] $ docker stop --time=1 c2beb484efea83116c8d0f350f124537a3edb20f8dc91af618f639c7483b9f06 [2022-08-15T11:08:02.344Z] $ docker rm -f c2beb484efea83116c8d0f350f124537a3edb20f8dc91af618f639c7483b9f06 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:08:03.241Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T11:08:03.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T11:08:03.547Z] prd-ubuntu20.04-docker-arm64-4c-16g-22797 does not seem to be running inside a container [2022-08-15T11:08:03.632Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-15T11:08:04.893Z] $ docker top 4aeb10fa93a95aa58a30edede675a91edf8660cc99884d172a790d1db66a0a74 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T11:08:05.869Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-15T11:08:06.596Z] + make test [2022-08-15T11:08:06.596Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-08-15T11:08:08.054Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-08-15T11:09:29.878Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-08-15T11:09:29.878Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.126s coverage: 65.7% of statements [2022-08-15T11:09:29.878Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-15T11:09:29.878Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T11:09:45.011Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T11:09:45.011Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T11:09:45.011Z] ./bin/test-attribution-txt.sh [2022-08-15T11:09:45.011Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T11:09:45.011Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T11:09:45.011Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T11:09:45.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T11:09:45.087Z] $ docker stop --time=1 4aeb10fa93a95aa58a30edede675a91edf8660cc99884d172a790d1db66a0a74 [2022-08-15T11:09:46.826Z] $ docker rm -f 4aeb10fa93a95aa58a30edede675a91edf8660cc99884d172a790d1db66a0a74 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T11:09:47.825Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T11:09:47.861Z] Warning: overwriting stash ‘coverage-report’ [2022-08-15T11:09:48.340Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T11:09:48.934Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T11:09:49.295Z] + ls -al . [2022-08-15T11:09:49.295Z] total 188 [2022-08-15T11:09:49.295Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 11:08 . [2022-08-15T11:09:49.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 11:05 .. [2022-08-15T11:09:49.295Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 11:05 .git [2022-08-15T11:09:49.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 11:05 .github [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 337 Aug 15 11:05 .gitignore [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 11:05 .golangci.yml [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 8152 Aug 15 11:05 Attribution.txt [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 9649 Aug 15 11:05 CHANGELOG.md [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 1978 Aug 15 11:05 Dockerfile [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 11:05 GOVERNANCE.md [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 15 11:05 Jenkinsfile [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 11:05 LICENSE [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 2248 Aug 15 11:05 Makefile [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 15 11:05 OWNERS.md [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 2914 Aug 15 11:05 README.md [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 11:03 VERSION [2022-08-15T11:09:49.295Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 11:05 bin [2022-08-15T11:09:49.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 11:05 cmd [2022-08-15T11:09:49.295Z] -rw-r--r-- 1 jenkins jenkins 44128 Aug 15 11:09 coverage.out [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 3328 Aug 15 11:05 go.mod [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 36202 Aug 15 11:05 go.sum [2022-08-15T11:09:49.295Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 11:05 internal [2022-08-15T11:09:49.295Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 11:05 snap [2022-08-15T11:09:49.295Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 15 11:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:09:49.728Z] + 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=ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 --label arch=arm64 --label version=0.0.0 . [2022-08-15T11:09:50.332Z] Sending build context to Docker daemon 11.74MB [2022-08-15T11:09:50.332Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T11:09:50.332Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-15T11:09:50.332Z] ---> 147ef598d84d [2022-08-15T11:09:50.332Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T11:09:50.332Z] ---> Running in a7370b2cc215 [2022-08-15T11:09:50.608Z] Removing intermediate container a7370b2cc215 [2022-08-15T11:09:50.608Z] ---> 875e181ec787 [2022-08-15T11:09:50.608Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T11:09:50.608Z] ---> Running in da718b6f2d85 [2022-08-15T11:09:51.216Z] Removing intermediate container da718b6f2d85 [2022-08-15T11:09:51.216Z] ---> 0bf4e5d16249 [2022-08-15T11:09:51.216Z] Step 5/26 : WORKDIR /device-virtual-go [2022-08-15T11:09:51.216Z] ---> Running in 5c6fc90684e7 [2022-08-15T11:09:51.493Z] Removing intermediate container 5c6fc90684e7 [2022-08-15T11:09:51.493Z] ---> 5e4237682d52 [2022-08-15T11:09:51.493Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T11:09:51.493Z] ---> Running in 559f335178fd [2022-08-15T11:09:53.480Z] Removing intermediate container 559f335178fd [2022-08-15T11:09:53.480Z] ---> ccc4c8d5df37 [2022-08-15T11:09:53.480Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T11:09:53.480Z] ---> Running in 12d82d6364b0 [2022-08-15T11:09:54.466Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T11:09:55.066Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T11:09:56.048Z] OK: 226 MiB in 55 packages [2022-08-15T11:09:57.039Z] Removing intermediate container 12d82d6364b0 [2022-08-15T11:09:57.039Z] ---> 1e87f9dc5f09 [2022-08-15T11:09:57.039Z] Step 8/26 : COPY go.mod vendor* ./ [2022-08-15T11:09:57.314Z] ---> 221f3b9837f6 [2022-08-15T11:09:57.314Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T11:09:57.592Z] ---> Running in d0ebe1a79069 [2022-08-15T11:09:59.581Z] Removing intermediate container d0ebe1a79069 [2022-08-15T11:09:59.581Z] ---> 3c60f76546c8 [2022-08-15T11:09:59.581Z] Step 10/26 : COPY . . [2022-08-15T11:10:00.570Z] ---> 68c8a04cc3d4 [2022-08-15T11:10:00.570Z] Step 11/26 : ARG MAKE='make build' [2022-08-15T11:10:00.847Z] ---> Running in 5e627cd733b1 [2022-08-15T11:10:01.122Z] Removing intermediate container 5e627cd733b1 [2022-08-15T11:10:01.122Z] ---> 9d95a5e66781 [2022-08-15T11:10:01.122Z] Step 12/26 : RUN $MAKE [2022-08-15T11:10:01.122Z] ---> Running in e6edb068b515 [2022-08-15T11:10:02.124Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd [2022-08-15T11:12:09.040Z] Removing intermediate container e6edb068b515 [2022-08-15T11:12:09.040Z] ---> cdbf7e0bd885 [2022-08-15T11:12:09.040Z] Step 13/26 : FROM alpine:3.16 [2022-08-15T11:12:09.040Z] 3.16: Pulling from library/alpine [2022-08-15T11:12:09.040Z] 9b18e9b68314: Pulling fs layer [2022-08-15T11:12:09.040Z] 9b18e9b68314: Verifying Checksum [2022-08-15T11:12:09.040Z] 9b18e9b68314: Download complete [2022-08-15T11:12:09.040Z] 9b18e9b68314: Pull complete [2022-08-15T11:12:09.040Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T11:12:09.040Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T11:12:09.040Z] ---> a6215f271958 [2022-08-15T11:12:09.040Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-08-15T11:12:09.040Z] ---> Running in 4f1cf7401b97 [2022-08-15T11:12:09.040Z] Removing intermediate container 4f1cf7401b97 [2022-08-15T11:12:09.040Z] ---> 56aeb50fcdfe [2022-08-15T11:12:09.040Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T11:12:09.040Z] ---> Running in f7c64c5232a9 [2022-08-15T11:12:09.040Z] Removing intermediate container f7c64c5232a9 [2022-08-15T11:12:09.040Z] ---> 7a5e8414d9f5 [2022-08-15T11:12:09.040Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T11:12:09.040Z] ---> Running in 65aac1518e36 [2022-08-15T11:12:09.040Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T11:12:09.040Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T11:12:09.040Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T11:12:09.040Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T11:12:09.040Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T11:12:09.040Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T11:12:09.040Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T11:12:09.040Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T11:12:09.040Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T11:12:09.040Z] OK: 8 MiB in 20 packages [2022-08-15T11:12:09.040Z] Removing intermediate container 65aac1518e36 [2022-08-15T11:12:09.040Z] ---> 03536d7428cd [2022-08-15T11:12:09.040Z] Step 17/26 : WORKDIR / [2022-08-15T11:12:09.040Z] ---> Running in 869cb7bc8898 [2022-08-15T11:12:09.040Z] Removing intermediate container 869cb7bc8898 [2022-08-15T11:12:09.040Z] ---> d3c220ce4c67 [2022-08-15T11:12:09.040Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-08-15T11:12:09.316Z] ---> 47d654eb4891 [2022-08-15T11:12:09.316Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-08-15T11:12:09.912Z] ---> 8ea5a6a49eef [2022-08-15T11:12:09.912Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-08-15T11:12:11.350Z] ---> 909febb8db86 [2022-08-15T11:12:11.350Z] Step 21/26 : EXPOSE 59900 [2022-08-15T11:12:11.350Z] ---> Running in cb1d78400e18 [2022-08-15T11:12:11.626Z] Removing intermediate container cb1d78400e18 [2022-08-15T11:12:11.626Z] ---> c2abd6d7ed25 [2022-08-15T11:12:11.626Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-08-15T11:12:11.626Z] ---> Running in 12a3f1ef2a7e [2022-08-15T11:12:11.906Z] Removing intermediate container 12a3f1ef2a7e [2022-08-15T11:12:11.906Z] ---> 7a846350a8a9 [2022-08-15T11:12:11.906Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T11:12:11.906Z] ---> Running in 182e966cfadf [2022-08-15T11:12:12.518Z] Removing intermediate container 182e966cfadf [2022-08-15T11:12:12.518Z] ---> 2753d75dfb92 [2022-08-15T11:12:12.518Z] Step 24/26 : LABEL arch=arm64 [2022-08-15T11:12:12.518Z] ---> Running in 69655ca5c2f7 [2022-08-15T11:12:12.795Z] Removing intermediate container 69655ca5c2f7 [2022-08-15T11:12:12.795Z] ---> 837db647bf60 [2022-08-15T11:12:12.795Z] Step 25/26 : LABEL git_sha=ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 [2022-08-15T11:12:12.795Z] ---> Running in 81fc1dbebfa7 [2022-08-15T11:12:13.070Z] Removing intermediate container 81fc1dbebfa7 [2022-08-15T11:12:13.070Z] ---> 7f2c9b1159e0 [2022-08-15T11:12:13.070Z] Step 26/26 : LABEL version=0.0.0 [2022-08-15T11:12:13.070Z] ---> Running in 33a1455ed342 [2022-08-15T11:12:13.345Z] Removing intermediate container 33a1455ed342 [2022-08-15T11:12:13.345Z] ---> 16498c6ae9ac [2022-08-15T11:12:13.345Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T11:12:13.345Z] Successfully built 16498c6ae9ac [2022-08-15T11:12:13.345Z] 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-08-15T11:12:14.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T11:12:14.154Z] [2022-08-15T11:12:14.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:12:14.588Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T11:12:14.862Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-15T11:12:14.862Z] 8998bd30e6a1: Pulling fs layer [2022-08-15T11:12:14.862Z] 04944245beec: Pulling fs layer [2022-08-15T11:12:14.862Z] 699f458cf7ca: Pulling fs layer [2022-08-15T11:12:14.862Z] 765212b225bb: Pulling fs layer [2022-08-15T11:12:14.862Z] f23df028b6ca: Pulling fs layer [2022-08-15T11:12:14.862Z] d65c8cfc05b1: Pulling fs layer [2022-08-15T11:12:14.862Z] 2437ff75d9bd: Pulling fs layer [2022-08-15T11:12:14.862Z] f23df028b6ca: Waiting [2022-08-15T11:12:14.862Z] 765212b225bb: Waiting [2022-08-15T11:12:14.862Z] d65c8cfc05b1: Waiting [2022-08-15T11:12:14.862Z] 2437ff75d9bd: Waiting [2022-08-15T11:12:14.862Z] 04944245beec: Verifying Checksum [2022-08-15T11:12:14.862Z] 04944245beec: Download complete [2022-08-15T11:12:14.862Z] 765212b225bb: Verifying Checksum [2022-08-15T11:12:14.862Z] 765212b225bb: Download complete [2022-08-15T11:12:14.862Z] f23df028b6ca: Download complete [2022-08-15T11:12:15.138Z] d65c8cfc05b1: Verifying Checksum [2022-08-15T11:12:15.138Z] d65c8cfc05b1: Download complete [2022-08-15T11:12:15.138Z] 699f458cf7ca: Verifying Checksum [2022-08-15T11:12:15.138Z] 699f458cf7ca: Download complete [2022-08-15T11:12:15.415Z] 8998bd30e6a1: Verifying Checksum [2022-08-15T11:12:15.415Z] 8998bd30e6a1: Download complete [2022-08-15T11:12:18.041Z] 2437ff75d9bd: Verifying Checksum [2022-08-15T11:12:18.041Z] 2437ff75d9bd: Download complete [2022-08-15T11:12:20.022Z] 8998bd30e6a1: Pull complete [2022-08-15T11:12:20.296Z] 04944245beec: Pull complete [2022-08-15T11:12:21.733Z] 699f458cf7ca: Pull complete [2022-08-15T11:12:22.007Z] 765212b225bb: Pull complete [2022-08-15T11:12:22.994Z] f23df028b6ca: Pull complete [2022-08-15T11:12:23.267Z] d65c8cfc05b1: Pull complete [2022-08-15T11:12:38.376Z] 2437ff75d9bd: Pull complete [2022-08-15T11:12:38.376Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-15T11:12:38.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T11:12:38.376Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T11:12:38.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-22797 does not seem to be running inside a container [2022-08-15T11:12:38.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-15T11:12:41.430Z] $ docker top 0868cf3b8c349dead2d8e7056b0eecdfd22dbf8017b5269e15cd567bc5e61294 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:12:42.421Z] ---> job-cost.sh [2022-08-15T11:12:42.421Z] lf-activate-venv: SKIPPING [2022-08-15T11:12:42.421Z] INFO: No Stack... [2022-08-15T11:12:42.694Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-15T11:12:43.674Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T11:12:44.356Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv+ [2022-08-15T11:12:44.356Z] cut -d, -f6 [Pipeline] lock [2022-08-15T11:12:44.439Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-301-1-stack-cost] [2022-08-15T11:12:44.443Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-301-1-stack-cost] did not exist. Created. [2022-08-15T11:12:44.443Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-301-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T11:12:45.180Z] /w/workspace/device-virtual-go/1@tmp/durable-26a84554/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-15T11:12:45.888Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-15T11:12:45.922Z] Warning: overwriting stash ‘stack-cost’ [2022-08-15T11:12:45.968Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T11:12:45.987Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-301-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T11:12:46.062Z] $ docker stop --time=1 0868cf3b8c349dead2d8e7056b0eecdfd22dbf8017b5269e15cd567bc5e61294 [2022-08-15T11:12:47.576Z] $ docker rm -f 0868cf3b8c349dead2d8e7056b0eecdfd22dbf8017b5269e15cd567bc5e61294 [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-08-15T11:12:48.647Z] provisioning config files... [2022-08-15T11:12:48.659Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-301@tmp/config2748958884230590513tmp [Pipeline] { [Pipeline] sh [2022-08-15T11:12:48.991Z] + set +x [2022-08-15T11:12:48.992Z] + curl -s https://codecov.io/bash [2022-08-15T11:12:48.992Z] + bash -s -- [2022-08-15T11:12:48.992Z] [2022-08-15T11:12:48.992Z] _____ _ [2022-08-15T11:12:48.992Z] / ____| | | [2022-08-15T11:12:48.992Z] | | ___ __| | ___ ___ _____ __ [2022-08-15T11:12:48.992Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-15T11:12:48.992Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-15T11:12:48.992Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-15T11:12:48.992Z] Bash-1.0.6 [2022-08-15T11:12:48.992Z] [2022-08-15T11:12:48.992Z] [2022-08-15T11:12:48.992Z] ==> git version 2.25.1 found [2022-08-15T11:12:48.992Z] ==> 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-08-15T11:12:48.992Z] Release-Date: 2020-01-08 [2022-08-15T11:12:48.992Z] 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-08-15T11:12:48.992Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-15T11:12:48.992Z] ==> Jenkins CI detected. [2022-08-15T11:12:48.992Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-301 [2022-08-15T11:12:48.992Z] project root: . [2022-08-15T11:12:48.992Z] --> token set from env [2022-08-15T11:12:48.992Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-15T11:12:48.992Z] ==> Running gcov in . (disable via -X gcov) [2022-08-15T11:12:48.992Z] ==> Python coveragepy not found [2022-08-15T11:12:48.992Z] ==> Searching for coverage reports in: [2022-08-15T11:12:48.992Z] + . [2022-08-15T11:12:48.992Z] -> Found 1 reports [2022-08-15T11:12:48.992Z] ==> Detecting git/mercurial file structure [2022-08-15T11:12:48.992Z] ==> Reading reports [2022-08-15T11:12:48.992Z] + ./coverage.out bytes=44128 [2022-08-15T11:12:48.992Z] ==> Appending adjustments [2022-08-15T11:12:48.992Z] https://docs.codecov.io/docs/fixing-reports [2022-08-15T11:12:49.254Z] + Found adjustments [2022-08-15T11:12:49.254Z] ==> Gzipping contents [2022-08-15T11:12:49.254Z] 8.0K /tmp/codecov.saSryO.gz [2022-08-15T11:12:49.254Z] ==> Uploading reports [2022-08-15T11:12:49.254Z] url: https://codecov.io [2022-08-15T11:12:49.254Z] query: branch=PR-301&commit=ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-301%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=301&job=&cmd_args= [2022-08-15T11:12:49.254Z] -> Pinging Codecov [2022-08-15T11:12:49.254Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-301&commit=ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-301%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=301&job=&cmd_args= [2022-08-15T11:12:49.515Z] -> Uploading to [2022-08-15T11:12:49.515Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-15/5E52B4B073DB2E39498172D8E973AA87/ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2/55a7a360-3a01-4d68-b0cf-df5826544033.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T111249Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=574cecb7eb58035c3aabe3d05f32df3ddd35434eda9f35169d8f717292da9906 [2022-08-15T11:12:49.515Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T11:12:49.515Z] Dload Upload Total Spent Left Speed [2022-08-15T11:12:49.777Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5481 0 0 100 5481 0 19787 --:--:-- --:--:-- --:--:-- 19787 [2022-08-15T11:12:49.777Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/ef2a6cf3cfe78bf9c873b0fe18f9a8fc9bd556c2 [Pipeline] } [2022-08-15T11:12:49.807Z] 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-08-15T11:12:51.510Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-301/archives ] [2022-08-15T11:12:51.510Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-301/archives [2022-08-15T11:12:51.510Z] total 16 [2022-08-15T11:12:51.510Z] drwxr-xr-x 3 root root 4096 Aug 15 11:05 . [2022-08-15T11:12:51.510Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 11:05 .. [2022-08-15T11:12:51.510Z] drwxr-xr-x 2 root root 4096 Aug 15 11:05 cost [2022-08-15T11:12:51.510Z] -rw-r--r-- 1 root root 89 Aug 15 11:05 cost.csv [2022-08-15T11:12:51.510Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-301/archives [2022-08-15T11:12:51.510Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-301/archives [2022-08-15T11:12:51.510Z] total 16 [2022-08-15T11:12:51.511Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 11:05 . [2022-08-15T11:12:51.511Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 11:05 .. [2022-08-15T11:12:51.511Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 11:05 cost [2022-08-15T11:12:51.511Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 15 11:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:12:51.840Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:12:52.738Z] ---> package-listing.sh [2022-08-15T11:12:52.739Z] ++ facter osfamily [2022-08-15T11:12:52.739Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-15T11:12:52.999Z] + OS_FAMILY=debian [2022-08-15T11:12:53.000Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-301 [2022-08-15T11:12:53.000Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-15T11:12:53.000Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-15T11:12:53.000Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-15T11:12:53.000Z] + PACKAGES=/tmp/packages_start.txt [2022-08-15T11:12:53.000Z] + '[' /w/workspace/foundry_device-virtual-go_PR-301 ']' [2022-08-15T11:12:53.000Z] + PACKAGES=/tmp/packages_end.txt [2022-08-15T11:12:53.000Z] + case "${OS_FAMILY}" in [2022-08-15T11:12:53.000Z] + dpkg -l [2022-08-15T11:12:53.000Z] + grep '^ii' [2022-08-15T11:12:53.000Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-15T11:12:53.000Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-15T11:12:53.000Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-15T11:12:53.000Z] + '[' /w/workspace/foundry_device-virtual-go_PR-301 ']' [2022-08-15T11:12:53.000Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-301/archives/ [2022-08-15T11:12:53.000Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-301/archives/ [Pipeline] echo [2022-08-15T11:12:53.035Z] 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-301/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-15T11:12:53.328Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T11:12:53.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T11:12:53.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T11:12:54.100Z] prd-ubuntu20.04-docker-8c-8g-22795 does not seem to be running inside a container [2022-08-15T11:12:54.134Z] $ 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-301/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-301 -v /w/workspace/foundry_device-virtual-go_PR-301:/w/workspace/foundry_device-virtual-go_PR-301:rw,z -v /w/workspace/foundry_device-virtual-go_PR-301@tmp:/w/workspace/foundry_device-virtual-go_PR-301@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-15T11:12:54.365Z] $ docker top 6707aef78a4626a268e9da00702b19b5c09edcb46254b2162cb2c861e86ea4a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T11:12:54.769Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-15T11:12:55.078Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-15T11:12:55.391Z] + ls /var/log/sa-host [2022-08-15T11:12:55.392Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T11:12:55.591Z] provisioning config files... [2022-08-15T11:12:55.600Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-301@tmp/config7075555774609737520tmp [Pipeline] { [Pipeline] echo [2022-08-15T11:12:55.651Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:12:55.963Z] ---> create-netrc.sh [Pipeline] } [2022-08-15T11:12:55.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:12:56.384Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-15T11:12:56.414Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:12:56.725Z] ---> sudo-logs.sh [2022-08-15T11:12:56.725Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-15T11:12:56.803Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:12:57.113Z] ---> job-cost.sh [2022-08-15T11:12:57.113Z] lf-activate-venv: SKIPPING [2022-08-15T11:12:57.113Z] DEBUG: total: 0.2199999988079071 [2022-08-15T11:12:57.113Z] INFO: Retrieving Stack Cost... [2022-08-15T11:12:57.371Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T11:12:57.941Z] INFO: Archiving Costs [Pipeline] echo [2022-08-15T11:12:57.973Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T11:12:58.283Z] ---> logs-deploy.sh [2022-08-15T11:12:58.283Z] lf-activate-venv: SKIPPING [2022-08-15T11:12:58.283Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-301/1 [2022-08-15T11:12:58.283Z] INFO: archiving workspace using pattern(s): [2022-08-15T11:12:59.226Z] Archives upload complete. [2022-08-15T11:12:59.226Z] INFO: archiving logs to Nexus