Pull request #272 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-virtual-go Loading trusted files from base branch main at c03aa7c74cee4c24f0ea21a2b880bc2767aae84f rather than cf30344d637e320ae3285e6339d90396576ac4fc Obtained Jenkinsfile from c03aa7c74cee4c24f0ea21a2b880bc2767aae84f 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-ssh11702641384126153278.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh2872675667042899585.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-272/workspace@libs/edgex-global-pipelines # 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-272/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11144653654168459517.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-272/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15658529439086015157.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh5005620039249153532.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-272/workspace@libs/lf-pipelines # 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-272/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13286437107146290607.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10362 in /w/workspace/foundry_device-virtual-go_PR-272 [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-272 # 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 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f into PR head commit cf30344d637e320ae3285e6339d90396576ac4fc Merge succeeded, producing cf30344d637e320ae3285e6339d90396576ac4fc Checking out Revision cf30344d637e320ae3285e6339d90396576ac4fc (PR-272) > 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/272/head:refs/remotes/origin/PR-272 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf30344d637e320ae3285e6339d90396576ac4fc # 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 c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf30344d637e320ae3285e6339d90396576ac4fc # timeout=10 Commit message: "fix(security): Dependency version bump for device-sdk and core-contracts" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-01T00:54:33.894Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-01T00:54:34.075Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-01T00:54:34.177Z] ========================================================= [2022-04-01T00:54:34.177Z] EdgeX Global Pipelines Version Info [2022-04-01T00:54:34.177Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:54:34.960Z] ------------------- [2022-04-01T00:54:34.960Z] stable info: [2022-04-01T00:54:34.960Z] ------------------- [2022-04-01T00:54:34.960Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-01T00:54:34.960Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-01T00:54:34.960Z] Message: update stable to v1.0.221 [2022-04-01T00:54:35.536Z] ------------------- [2022-04-01T00:54:35.536Z] experimental info: [2022-04-01T00:54:35.536Z] ------------------- [2022-04-01T00:54:35.536Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-01T00:54:35.536Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-01T00:54:35.536Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-01T00:54:35.887Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-04-01T00:54:35.930Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-04-01T00:54:35.973Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-01T00:54:36.013Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-01T00:54:36.051Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-01T00:54:36.089Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-01T00:54:36.127Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-01T00:54:36.164Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-01T00:54:36.203Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-01T00:54:36.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-01T00:54:36.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-01T00:54:36.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-04-01T00:54:36.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-01T00:54:36.403Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-01T00:54:36.447Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-01T00:54:36.488Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-01T00:54:36.529Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-01T00:54:36.570Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-01T00:54:36.608Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-01T00:54:36.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-01T00:54:36.689Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-01T00:54:36.726Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-01T00:54:36.767Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-01T00:54:36.806Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-01T00:54:36.844Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-01T00:54:36.884Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-01T00:54:36.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-272 [Pipeline] echo [2022-04-01T00:54:36.968Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-272 [Pipeline] echo [2022-04-01T00:54:37.010Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-272 [Pipeline] echo [2022-04-01T00:54:37.049Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf30344d637e320ae3285e6339d90396576ac4fc [Pipeline] echo [2022-04-01T00:54:37.089Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf30344 [Pipeline] echo [2022-04-01T00:54:37.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T00:54:37.239Z] provisioning config files... [2022-04-01T00:54:37.253Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-272@tmp/config8298046094430663521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:54:37.610Z] ---> docker-login.sh [2022-04-01T00:54:37.610Z] nexus3.edgexfoundry.org:10001 [2022-04-01T00:54:37.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:54:37.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:54:37.875Z] Configure a credential helper to remove this warning. See [2022-04-01T00:54:37.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:54:37.875Z] [2022-04-01T00:54:37.875Z] Login Succeeded [2022-04-01T00:54:37.875Z] nexus3.edgexfoundry.org:10002 [2022-04-01T00:54:38.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:54:38.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:54:38.137Z] Configure a credential helper to remove this warning. See [2022-04-01T00:54:38.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:54:38.137Z] [2022-04-01T00:54:38.137Z] Login Succeeded [2022-04-01T00:54:38.137Z] nexus3.edgexfoundry.org:10003 [2022-04-01T00:54:38.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:54:38.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:54:38.137Z] Configure a credential helper to remove this warning. See [2022-04-01T00:54:38.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:54:38.137Z] [2022-04-01T00:54:38.137Z] Login Succeeded [2022-04-01T00:54:38.137Z] nexus3.edgexfoundry.org:10004 [2022-04-01T00:54:38.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:54:38.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:54:38.403Z] Configure a credential helper to remove this warning. See [2022-04-01T00:54:38.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:54:38.403Z] [2022-04-01T00:54:38.403Z] Login Succeeded [2022-04-01T00:54:38.403Z] docker.io [2022-04-01T00:54:38.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:54:38.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:54:38.976Z] Configure a credential helper to remove this warning. See [2022-04-01T00:54:38.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:54:38.977Z] [2022-04-01T00:54:38.977Z] Login Succeeded [2022-04-01T00:54:38.977Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T00:54:39.008Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-01T00:54:39.653Z] + git rev-list -1 --merges cf30344d637e320ae3285e6339d90396576ac4fc~1..cf30344d637e320ae3285e6339d90396576ac4fc [Pipeline] echo [2022-04-01T00:54:39.699Z] -----------> git rev-list -1 --merges cf30344d637e320ae3285e6339d90396576ac4fc~1..cf30344d637e320ae3285e6339d90396576ac4fc cf30344d637e320ae3285e6339d90396576ac4fc [false] [Pipeline] sh [2022-04-01T00:54:40.014Z] + git log --format=format:%s -1 cf30344d637e320ae3285e6339d90396576ac4fc [Pipeline] echo [2022-04-01T00:54:40.053Z] ========================================================= [2022-04-01T00:54:40.053Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-01T00:54:40.053Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T00:54:40.509Z] + git log --format=format:%s -1 cf30344d637e320ae3285e6339d90396576ac4fc [Pipeline] echo [2022-04-01T00:54:40.540Z] [semverPrep] GIT_COMMIT: cf30344d637e320ae3285e6339d90396576ac4fc, Commit Message: fix(security): Dependency version bump for device-sdk and core-contracts [Pipeline] echo [2022-04-01T00:54:40.567Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-01T00:54:41.017Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-01T00:54:41.018Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-01T00:54:41.018Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-01T00:54:41.018Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-01T00:54:41.018Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-01T00:54:41.018Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-01T00:54:41.018Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:54:41.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T00:54:41.470Z] [2022-04-01T00:54:41.470Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:54:41.811Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T00:54:41.811Z] latest: Pulling from edgex-devops/git-semver [2022-04-01T00:54:41.811Z] a0d0a0d46f8b: Pulling fs layer [2022-04-01T00:54:41.811Z] 3e5f54012d9b: Pulling fs layer [2022-04-01T00:54:41.811Z] 4c7163046ea9: Pulling fs layer [2022-04-01T00:54:41.811Z] 0c2d73faf560: Pulling fs layer [2022-04-01T00:54:41.811Z] 0c2d73faf560: Waiting [2022-04-01T00:54:41.811Z] 3e5f54012d9b: Download complete [2022-04-01T00:54:41.811Z] a0d0a0d46f8b: Verifying Checksum [2022-04-01T00:54:41.811Z] a0d0a0d46f8b: Download complete [2022-04-01T00:54:41.811Z] 0c2d73faf560: Verifying Checksum [2022-04-01T00:54:41.811Z] 0c2d73faf560: Download complete [2022-04-01T00:54:41.811Z] 4c7163046ea9: Verifying Checksum [2022-04-01T00:54:41.811Z] 4c7163046ea9: Download complete [2022-04-01T00:54:42.072Z] a0d0a0d46f8b: Pull complete [2022-04-01T00:54:42.072Z] 3e5f54012d9b: Pull complete [2022-04-01T00:54:42.333Z] 4c7163046ea9: Pull complete [2022-04-01T00:54:42.597Z] 0c2d73faf560: Pull complete [2022-04-01T00:54:42.597Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-01T00:54:42.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-01T00:54:42.597Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-01T00:54:42.705Z] prd-ubuntu20.04-docker-8c-8g-10362 does not seem to be running inside a container [2022-04-01T00:54:42.747Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-272 -v /w/workspace/foundry_device-virtual-go_PR-272:/w/workspace/foundry_device-virtual-go_PR-272:rw,z -v /w/workspace/foundry_device-virtual-go_PR-272@tmp:/w/workspace/foundry_device-virtual-go_PR-272@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:10004/edgex-devops/git-semver:latest cat [2022-04-01T00:54:43.381Z] $ docker top 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-01T00:54:43.588Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T00:54:43.588Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T00:54:43.723Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T00:54:43.725Z] $ docker exec 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d ssh-agent [2022-04-01T00:54:43.852Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCeAFfi/agent.14 [2022-04-01T00:54:43.852Z] SSH_AGENT_PID=22 [2022-04-01T00:54:43.862Z] Running ssh-add (command line suppressed) [2022-04-01T00:54:43.982Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-272@tmp/private_key_5911622709678085711.key (/w/workspace/foundry_device-virtual-go_PR-272@tmp/private_key_5911622709678085711.key) [2022-04-01T00:54:43.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T00:54:44.332Z] + git tag --points-at HEAD [Pipeline] } [2022-04-01T00:54:44.357Z] $ docker exec --env ******** --env ******** 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d ssh-agent -k [2022-04-01T00:54:44.461Z] unset SSH_AUTH_SOCK; [2022-04-01T00:54:44.462Z] unset SSH_AGENT_PID; [2022-04-01T00:54:44.462Z] echo Agent pid 22 killed; [2022-04-01T00:54:44.478Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-01T00:54:44.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-01T00:54:44.561Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-01T00:54:44.696Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-01T00:54:44.697Z] $ docker exec 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d ssh-agent [2022-04-01T00:54:44.818Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnJKflJ/agent.54 [2022-04-01T00:54:44.818Z] SSH_AGENT_PID=60 [2022-04-01T00:54:44.825Z] Running ssh-add (command line suppressed) [2022-04-01T00:54:44.938Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-272@tmp/private_key_7923858279536521996.key (/w/workspace/foundry_device-virtual-go_PR-272@tmp/private_key_7923858279536521996.key) [2022-04-01T00:54:44.958Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-01T00:54:45.293Z] + git semver init [2022-04-01T00:54:45.293Z] # -> Open(): unable to determine branch for HEAD [2022-04-01T00:54:45.293Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-272/.git [2022-04-01T00:54:45.293Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-272 [2022-04-01T00:54:45.293Z] # $SEMVER_REMOTE_NAME = origin [2022-04-01T00:54:45.293Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-01T00:54:45.293Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-01T00:54:45.293Z] # $SEMVER_BRANCH = PR-272 [2022-04-01T00:54:45.293Z] # $SEMVER_TEMP = /tmp/semver-273916928 [2022-04-01T00:54:45.293Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-04-01T00:54:46.681Z] # '/tmp/semver-273916928' -> '/w/workspace/foundry_device-virtual-go_PR-272/.semver' [2022-04-01T00:54:46.681Z] # -> Force: false [2022-04-01T00:54:46.681Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-272/.semver [Pipeline] } [2022-04-01T00:54:46.707Z] $ docker exec --env ******** --env ******** 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d ssh-agent -k [2022-04-01T00:54:46.814Z] unset SSH_AUTH_SOCK; [2022-04-01T00:54:46.815Z] unset SSH_AGENT_PID; [2022-04-01T00:54:46.815Z] echo Agent pid 60 killed; [2022-04-01T00:54:46.829Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-01T00:54:47.265Z] + git semver [Pipeline] } [2022-04-01T00:54:47.300Z] $ docker stop --time=1 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d [2022-04-01T00:54:48.669Z] $ docker rm -f 961dbdf6d0bb481aa3e537b45dcaf6d4b0c6699ea408fd37a8274e57117cbc2d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T00:54:49.093Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-01T00:54:49.419Z] Stashed 1 file(s) [Pipeline] echo [2022-04-01T00:54:49.436Z] [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-04-01T00:54:50.000Z] provisioning config files... [2022-04-01T00:54:50.010Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-272@tmp/config5755268524104554918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:54:50.356Z] ---> docker-login.sh [2022-04-01T00:54:50.356Z] nexus3.edgexfoundry.org:10001 [2022-04-01T00:54:50.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:54:50.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:54:50.356Z] Configure a credential helper to remove this warning. See [2022-04-01T00:54:50.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:54:50.356Z] [2022-04-01T00:54:50.356Z] Login Succeeded [2022-04-01T00:54:50.356Z] nexus3.edgexfoundry.org:10002 [2022-04-01T00:54:50.356Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:54:50.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:54:50.618Z] Configure a credential helper to remove this warning. See [2022-04-01T00:54:50.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:54:50.618Z] [2022-04-01T00:54:50.618Z] Login Succeeded [2022-04-01T00:54:50.618Z] nexus3.edgexfoundry.org:10003 [2022-04-01T00:54:50.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:54:50.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:54:50.618Z] Configure a credential helper to remove this warning. See [2022-04-01T00:54:50.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:54:50.618Z] [2022-04-01T00:54:50.618Z] Login Succeeded [2022-04-01T00:54:50.618Z] nexus3.edgexfoundry.org:10004 [2022-04-01T00:54:50.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:54:50.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:54:50.879Z] Configure a credential helper to remove this warning. See [2022-04-01T00:54:50.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:54:50.879Z] [2022-04-01T00:54:50.879Z] Login Succeeded [2022-04-01T00:54:50.879Z] docker.io [2022-04-01T00:54:50.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:54:51.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:54:51.141Z] Configure a credential helper to remove this warning. See [2022-04-01T00:54:51.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:54:51.141Z] [2022-04-01T00:54:51.141Z] Login Succeeded [2022-04-01T00:54:51.141Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T00:54:51.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-01T00:54:51.360Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T00:54:51.395Z] ========================================================= [2022-04-01T00:54:51.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-01T00:54:51.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:54:51.809Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-01T00:54:51.809Z] Sending build context to Docker daemon 22.89MB [2022-04-01T00:54:51.809Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T00:54:51.809Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-01T00:54:52.070Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-01T00:54:52.070Z] 59bf1c3509f3: Pulling fs layer [2022-04-01T00:54:52.070Z] 666ba61612fd: Pulling fs layer [2022-04-01T00:54:52.070Z] 8ed8ca486205: Pulling fs layer [2022-04-01T00:54:52.070Z] 4fe6c5a15a65: Pulling fs layer [2022-04-01T00:54:52.070Z] 22a0e8bec74d: Pulling fs layer [2022-04-01T00:54:52.070Z] 640e595b4fbd: Pulling fs layer [2022-04-01T00:54:52.070Z] 763cafe07f6e: Pulling fs layer [2022-04-01T00:54:52.070Z] 0c0b528cf693: Pulling fs layer [2022-04-01T00:54:52.070Z] 10935f4eaf8b: Pulling fs layer [2022-04-01T00:54:52.070Z] 640e595b4fbd: Waiting [2022-04-01T00:54:52.070Z] 0c0b528cf693: Waiting [2022-04-01T00:54:52.070Z] 10935f4eaf8b: Waiting [2022-04-01T00:54:52.070Z] 4fe6c5a15a65: Waiting [2022-04-01T00:54:52.070Z] 763cafe07f6e: Waiting [2022-04-01T00:54:52.070Z] 22a0e8bec74d: Waiting [2022-04-01T00:54:52.070Z] 8ed8ca486205: Download complete [2022-04-01T00:54:52.070Z] 666ba61612fd: Download complete [2022-04-01T00:54:52.070Z] 22a0e8bec74d: Verifying Checksum [2022-04-01T00:54:52.070Z] 22a0e8bec74d: Download complete [2022-04-01T00:54:52.070Z] 640e595b4fbd: Verifying Checksum [2022-04-01T00:54:52.070Z] 640e595b4fbd: Download complete [2022-04-01T00:54:52.070Z] 763cafe07f6e: Verifying Checksum [2022-04-01T00:54:52.070Z] 763cafe07f6e: Download complete [2022-04-01T00:54:52.070Z] 59bf1c3509f3: Verifying Checksum [2022-04-01T00:54:52.070Z] 59bf1c3509f3: Download complete [2022-04-01T00:54:52.070Z] 0c0b528cf693: Download complete [2022-04-01T00:54:52.070Z] 59bf1c3509f3: Pull complete [2022-04-01T00:54:52.331Z] 666ba61612fd: Pull complete [2022-04-01T00:54:52.331Z] 8ed8ca486205: Pull complete [2022-04-01T00:54:52.595Z] 10935f4eaf8b: Verifying Checksum [2022-04-01T00:54:52.595Z] 10935f4eaf8b: Download complete [2022-04-01T00:54:52.856Z] 4fe6c5a15a65: Verifying Checksum [2022-04-01T00:54:52.856Z] 4fe6c5a15a65: Download complete [2022-04-01T00:54:57.058Z] 4fe6c5a15a65: Pull complete [2022-04-01T00:54:57.058Z] 22a0e8bec74d: Pull complete [2022-04-01T00:54:57.058Z] 640e595b4fbd: Pull complete [2022-04-01T00:54:57.058Z] 763cafe07f6e: Pull complete [2022-04-01T00:54:57.328Z] 0c0b528cf693: Pull complete [2022-04-01T00:54:59.866Z] 10935f4eaf8b: Pull complete [2022-04-01T00:54:59.866Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-01T00:54:59.866Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-01T00:54:59.866Z] ---> 99d49a6021b9 [2022-04-01T00:54:59.866Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T00:55:00.812Z] ---> Running in 3bba43294642 [2022-04-01T00:55:00.812Z] Removing intermediate container 3bba43294642 [2022-04-01T00:55:00.812Z] ---> 6469db5147b3 [2022-04-01T00:55:00.812Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T00:55:00.812Z] ---> Running in 00aa84da0139 [2022-04-01T00:55:01.073Z] Removing intermediate container 00aa84da0139 [2022-04-01T00:55:01.073Z] ---> cfe4fd5969df [2022-04-01T00:55:01.073Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-01T00:55:01.073Z] ---> Running in 56a4e356748c [2022-04-01T00:55:01.073Z] Removing intermediate container 56a4e356748c [2022-04-01T00:55:01.073Z] ---> 761bcac592cc [2022-04-01T00:55:01.073Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T00:55:01.073Z] ---> Running in ae454c1da326 [2022-04-01T00:55:01.649Z] Removing intermediate container ae454c1da326 [2022-04-01T00:55:01.649Z] ---> f55b995262d2 [2022-04-01T00:55:01.649Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T00:55:01.915Z] ---> Running in 868536f1fd3f [2022-04-01T00:55:02.176Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-01T00:55:03.126Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-01T00:55:03.388Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-01T00:55:03.388Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-01T00:55:03.388Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-01T00:55:03.651Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-01T00:55:03.651Z] Executing busybox-1.34.1-r3.trigger [2022-04-01T00:55:03.651Z] OK: 224 MiB in 56 packages [2022-04-01T00:55:04.223Z] Removing intermediate container 868536f1fd3f [2022-04-01T00:55:04.223Z] ---> c529c88bc606 [2022-04-01T00:55:04.223Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-01T00:55:04.223Z] ---> bbe87f980be1 [2022-04-01T00:55:04.223Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T00:55:04.223Z] ---> Running in c15169c00c35 [2022-04-01T00:55:04.836Z] Still waiting to schedule task [2022-04-01T00:55:04.837Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10361’ [2022-04-01T00:55:22.348Z] Removing intermediate container c15169c00c35 [2022-04-01T00:55:22.348Z] ---> a87b0f7df41b [2022-04-01T00:55:22.348Z] Step 10/12 : COPY . . [2022-04-01T00:55:22.348Z] ---> 15ecc7ec3cfb [2022-04-01T00:55:22.348Z] Step 11/12 : ARG MAKE='make build' [2022-04-01T00:55:22.348Z] ---> Running in 7cc2e2856da1 [2022-04-01T00:55:22.348Z] Removing intermediate container 7cc2e2856da1 [2022-04-01T00:55:22.348Z] ---> f47d31b06137 [2022-04-01T00:55:22.348Z] Step 12/12 : RUN $MAKE [2022-04-01T00:55:22.348Z] ---> Running in f69f3f5fcab6 [2022-04-01T00:55:22.348Z] noop [2022-04-01T00:55:22.348Z] Removing intermediate container f69f3f5fcab6 [2022-04-01T00:55:22.348Z] ---> 3ebe8fa2d62d [2022-04-01T00:55:22.348Z] Successfully built 3ebe8fa2d62d [2022-04-01T00:55:22.348Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:55:22.676Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-01T00:55:22.676Z] . [Pipeline] withDockerContainer [2022-04-01T00:55:22.769Z] prd-ubuntu20.04-docker-8c-8g-10362 does not seem to be running inside a container [2022-04-01T00:55:22.816Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-272 -v /w/workspace/foundry_device-virtual-go_PR-272:/w/workspace/foundry_device-virtual-go_PR-272:rw,z -v /w/workspace/foundry_device-virtual-go_PR-272@tmp:/w/workspace/foundry_device-virtual-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-01T00:55:23.240Z] $ docker top b1af7d88a889df05a9090a8d0e211e28e23970f82d16f0f6cf64d1c34ac9d982 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T00:55:23.653Z] + go version [2022-04-01T00:55:23.653Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-01T00:55:23.695Z] $ docker stop --time=1 b1af7d88a889df05a9090a8d0e211e28e23970f82d16f0f6cf64d1c34ac9d982 [2022-04-01T00:55:25.017Z] $ docker rm -f b1af7d88a889df05a9090a8d0e211e28e23970f82d16f0f6cf64d1c34ac9d982 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:55:25.698Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-01T00:55:25.698Z] . [Pipeline] withDockerContainer [2022-04-01T00:55:25.790Z] prd-ubuntu20.04-docker-8c-8g-10362 does not seem to be running inside a container [2022-04-01T00:55:25.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-272 -v /w/workspace/foundry_device-virtual-go_PR-272:/w/workspace/foundry_device-virtual-go_PR-272:rw,z -v /w/workspace/foundry_device-virtual-go_PR-272@tmp:/w/workspace/foundry_device-virtual-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-01T00:55:26.255Z] $ docker top 15e32c1f516704bcbf376b0b12d1578144990c99d3810df706723309658f088b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-01T00:55:26.716Z] + make test [2022-04-01T00:55:26.716Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-01T00:55:27.018Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-01T00:55:37.073Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-01T00:55:37.073Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.044s coverage: 65.7% of statements [2022-04-01T00:55:37.073Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-01T00:55:41.282Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-01T00:55:41.282Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-01T00:55:41.282Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-01T00:55:41.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-01T00:55:41.364Z] $ docker stop --time=1 15e32c1f516704bcbf376b0b12d1578144990c99d3810df706723309658f088b [2022-04-01T00:55:43.059Z] $ docker rm -f 15e32c1f516704bcbf376b0b12d1578144990c99d3810df706723309658f088b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T00:55:43.508Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-01T00:55:43.574Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-01T00:55:44.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-01T00:55:45.016Z] + ls -al . [2022-04-01T00:55:45.016Z] total 180 [2022-04-01T00:55:45.016Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 00:55 . [2022-04-01T00:55:45.016Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 00:54 .. [2022-04-01T00:55:45.016Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 00:54 .git [2022-04-01T00:55:45.016Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:54 .github [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 1 00:54 .gitignore [2022-04-01T00:55:45.016Z] drwx------ 3 jenkins jenkins 4096 Apr 1 00:54 .semver [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 1 00:54 Attribution.txt [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 1 00:54 CHANGELOG.md [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 1 00:54 Dockerfile [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 00:54 GOVERNANCE.md [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 1 00:54 Jenkinsfile [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 00:54 LICENSE [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 1157 Apr 1 00:54 Makefile [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 1 00:54 OWNERS.md [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 1 00:54 README.md [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 00:54 VERSION [2022-04-01T00:55:45.016Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:54 bin [2022-04-01T00:55:45.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:54 cmd [2022-04-01T00:55:45.016Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 1 00:55 coverage.out [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 3171 Apr 1 00:54 go.mod [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 34634 Apr 1 00:54 go.sum [2022-04-01T00:55:45.016Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:54 internal [2022-04-01T00:55:45.016Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 1 00:54 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:55:45.351Z] + 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=cf30344d637e320ae3285e6339d90396576ac4fc --label arch=amd64 --label version=0.0.0 . [2022-04-01T00:55:45.351Z] Sending build context to Docker daemon 22.93MB [2022-04-01T00:55:45.351Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T00:55:45.351Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-01T00:55:45.351Z] ---> 3ebe8fa2d62d [2022-04-01T00:55:45.351Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T00:55:45.615Z] ---> Running in 0a27d10cb8ca [2022-04-01T00:55:45.615Z] Removing intermediate container 0a27d10cb8ca [2022-04-01T00:55:45.615Z] ---> 559a863c7efc [2022-04-01T00:55:45.615Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T00:55:45.615Z] ---> Running in d45dfc9fbf7b [2022-04-01T00:55:45.877Z] Removing intermediate container d45dfc9fbf7b [2022-04-01T00:55:45.877Z] ---> f27d5eb5fda6 [2022-04-01T00:55:45.877Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-01T00:55:45.877Z] ---> Running in b10ae416d9ff [2022-04-01T00:55:45.877Z] Removing intermediate container b10ae416d9ff [2022-04-01T00:55:45.877Z] ---> 9554b4c9a141 [2022-04-01T00:55:45.877Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T00:55:45.877Z] ---> Running in 2a6cf2c70934 [2022-04-01T00:55:46.451Z] Removing intermediate container 2a6cf2c70934 [2022-04-01T00:55:46.451Z] ---> 89b278f65662 [2022-04-01T00:55:46.451Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T00:55:46.451Z] ---> Running in 32ee0b32ae2a [2022-04-01T00:55:46.713Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-01T00:55:47.659Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-01T00:55:47.922Z] OK: 224 MiB in 56 packages [2022-04-01T00:55:48.184Z] Removing intermediate container 32ee0b32ae2a [2022-04-01T00:55:48.184Z] ---> 26cf2191c44f [2022-04-01T00:55:48.184Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-01T00:55:48.445Z] ---> 9fec982c3bc1 [2022-04-01T00:55:48.445Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T00:55:48.445Z] ---> Running in 54234dff6f68 [2022-04-01T00:55:49.390Z] Removing intermediate container 54234dff6f68 [2022-04-01T00:55:49.390Z] ---> 6fbe2007cc1c [2022-04-01T00:55:49.390Z] Step 10/26 : COPY . . [2022-04-01T00:55:49.654Z] ---> 74bdccb1746e [2022-04-01T00:55:49.654Z] Step 11/26 : ARG MAKE='make build' [2022-04-01T00:55:49.654Z] ---> Running in 241bc67237fa [2022-04-01T00:55:49.916Z] Removing intermediate container 241bc67237fa [2022-04-01T00:55:49.916Z] ---> 095af2ff5b43 [2022-04-01T00:55:49.916Z] Step 12/26 : RUN $MAKE [2022-04-01T00:55:49.916Z] ---> Running in 38b3da553c44 [2022-04-01T00:55:50.177Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2022-04-01T00:56:02.405Z] Removing intermediate container 38b3da553c44 [2022-04-01T00:56:02.405Z] ---> a1bd58a6e430 [2022-04-01T00:56:02.405Z] Step 13/26 : FROM alpine:3.14 [2022-04-01T00:56:02.405Z] 3.14: Pulling from library/alpine [2022-04-01T00:56:02.668Z] cfab2db72209: Pulling fs layer [2022-04-01T00:56:02.928Z] cfab2db72209: Download complete [2022-04-01T00:56:02.928Z] cfab2db72209: Pull complete [2022-04-01T00:56:02.928Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-01T00:56:02.928Z] Status: Downloaded newer image for alpine:3.14 [2022-04-01T00:56:02.928Z] ---> 84b07dd2d1fd [2022-04-01T00:56:02.928Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-01T00:56:03.188Z] ---> Running in 1fe224aa165b [2022-04-01T00:56:03.188Z] Removing intermediate container 1fe224aa165b [2022-04-01T00:56:03.188Z] ---> acd02d890fa0 [2022-04-01T00:56:03.188Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T00:56:03.188Z] ---> Running in f34e81d2ba55 [2022-04-01T00:56:03.761Z] Removing intermediate container f34e81d2ba55 [2022-04-01T00:56:03.761Z] ---> 919e69310c6b [2022-04-01T00:56:03.761Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-01T00:56:03.761Z] ---> Running in 060c596f4f1e [2022-04-01T00:56:04.330Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-01T00:56:04.902Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-01T00:56:05.473Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-01T00:56:05.473Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-01T00:56:05.473Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-01T00:56:05.473Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-01T00:56:05.736Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-01T00:56:05.736Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-01T00:56:06.009Z] Executing busybox-1.33.1-r6.trigger [2022-04-01T00:56:06.009Z] OK: 8 MiB in 20 packages [2022-04-01T00:56:06.274Z] Removing intermediate container 060c596f4f1e [2022-04-01T00:56:06.274Z] ---> 85c24498fb65 [2022-04-01T00:56:06.274Z] Step 17/26 : WORKDIR / [2022-04-01T00:56:06.274Z] ---> Running in 995e602a660c [2022-04-01T00:56:06.274Z] Removing intermediate container 995e602a660c [2022-04-01T00:56:06.274Z] ---> d76d7def8365 [2022-04-01T00:56:06.274Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-01T00:56:06.536Z] ---> ceab2c00ffd2 [2022-04-01T00:56:06.536Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-01T00:56:06.799Z] ---> aebdef4e7bc6 [2022-04-01T00:56:06.799Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-01T00:56:07.374Z] ---> 4990c8044914 [2022-04-01T00:56:07.374Z] Step 21/26 : EXPOSE 59900 [2022-04-01T00:56:07.374Z] ---> Running in 5ecd6c8b50e2 [2022-04-01T00:56:07.374Z] Removing intermediate container 5ecd6c8b50e2 [2022-04-01T00:56:07.374Z] ---> 47cc387e6c6b [2022-04-01T00:56:07.374Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-01T00:56:07.374Z] ---> Running in 324283a70807 [2022-04-01T00:56:07.374Z] Removing intermediate container 324283a70807 [2022-04-01T00:56:07.374Z] ---> bcc82c83f68f [2022-04-01T00:56:07.374Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-01T00:56:07.636Z] ---> Running in bc792fbdbbf7 [2022-04-01T00:56:07.636Z] Removing intermediate container bc792fbdbbf7 [2022-04-01T00:56:07.636Z] ---> 13038edee6b7 [2022-04-01T00:56:07.636Z] Step 24/26 : LABEL arch=amd64 [2022-04-01T00:56:07.636Z] ---> Running in da5a2d65305d [2022-04-01T00:56:07.636Z] Removing intermediate container da5a2d65305d [2022-04-01T00:56:07.636Z] ---> 0eaa9cb3761b [2022-04-01T00:56:07.636Z] Step 25/26 : LABEL git_sha=cf30344d637e320ae3285e6339d90396576ac4fc [2022-04-01T00:56:07.896Z] ---> Running in b485a0f9bad6 [2022-04-01T00:56:07.896Z] Removing intermediate container b485a0f9bad6 [2022-04-01T00:56:07.896Z] ---> 2bcc8c7b088c [2022-04-01T00:56:07.896Z] Step 26/26 : LABEL version=0.0.0 [2022-04-01T00:56:07.896Z] ---> Running in 334fe49dd769 [2022-04-01T00:56:07.896Z] Removing intermediate container 334fe49dd769 [2022-04-01T00:56:07.896Z] ---> 70522483ba75 [2022-04-01T00:56:07.896Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-01T00:56:07.896Z] Successfully built 70522483ba75 [2022-04-01T00:56:07.896Z] Successfully tagged device-virtual:latest [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] sh [2022-04-01T00:56:08.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T00:56:08.651Z] [2022-04-01T00:56:08.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:56:08.990Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T00:56:08.990Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-01T00:56:08.990Z] 5eb5b503b376: Pulling fs layer [2022-04-01T00:56:08.990Z] 5c69ac0246d0: Pulling fs layer [2022-04-01T00:56:08.990Z] ec43610c2a17: Pulling fs layer [2022-04-01T00:56:08.990Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-01T00:56:08.990Z] 33b1e0a273af: Pulling fs layer [2022-04-01T00:56:08.990Z] 5d3b04190fa2: Pulling fs layer [2022-04-01T00:56:08.990Z] 2f39f015ded8: Pulling fs layer [2022-04-01T00:56:08.990Z] 33b1e0a273af: Waiting [2022-04-01T00:56:08.990Z] 5d3b04190fa2: Waiting [2022-04-01T00:56:08.990Z] 3a2ae6a8a46f: Waiting [2022-04-01T00:56:08.990Z] 2f39f015ded8: Waiting [2022-04-01T00:56:08.990Z] 5c69ac0246d0: Download complete [2022-04-01T00:56:08.990Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-01T00:56:08.990Z] 3a2ae6a8a46f: Download complete [2022-04-01T00:56:08.990Z] 33b1e0a273af: Verifying Checksum [2022-04-01T00:56:08.990Z] 33b1e0a273af: Download complete [2022-04-01T00:56:08.990Z] 5d3b04190fa2: Verifying Checksum [2022-04-01T00:56:08.990Z] 5d3b04190fa2: Download complete [2022-04-01T00:56:08.990Z] ec43610c2a17: Verifying Checksum [2022-04-01T00:56:08.990Z] ec43610c2a17: Download complete [2022-04-01T00:56:09.254Z] 5eb5b503b376: Verifying Checksum [2022-04-01T00:56:09.254Z] 5eb5b503b376: Download complete [2022-04-01T00:56:09.825Z] 2f39f015ded8: Download complete [2022-04-01T00:56:10.767Z] 5eb5b503b376: Pull complete [2022-04-01T00:56:10.767Z] 5c69ac0246d0: Pull complete [2022-04-01T00:56:11.337Z] ec43610c2a17: Pull complete [2022-04-01T00:56:11.337Z] 3a2ae6a8a46f: Pull complete [2022-04-01T00:56:11.601Z] 33b1e0a273af: Pull complete [2022-04-01T00:56:11.601Z] 5d3b04190fa2: Pull complete [2022-04-01T00:56:16.892Z] 2f39f015ded8: Pull complete [2022-04-01T00:56:16.892Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-01T00:56:16.892Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T00:56:16.892Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-01T00:56:16.989Z] prd-ubuntu20.04-docker-8c-8g-10362 does not seem to be running inside a container [2022-04-01T00:56:17.033Z] $ 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-272 -v /w/workspace/foundry_device-virtual-go_PR-272:/w/workspace/foundry_device-virtual-go_PR-272:rw,z -v /w/workspace/foundry_device-virtual-go_PR-272@tmp:/w/workspace/foundry_device-virtual-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-01T00:56:18.624Z] $ docker top d470cce06a1f080fbdfe4dd19f4af0ac53e64336b53a74d3c21577b63977bde1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:56:19.126Z] ---> job-cost.sh [2022-04-01T00:56:19.127Z] lf-activate-venv: SKIPPING [2022-04-01T00:56:19.127Z] INFO: No Stack... [2022-04-01T00:56:19.387Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-01T00:56:19.960Z] INFO: Archiving Costs [Pipeline] sh [2022-04-01T00:56:20.280Z] + cat /w/workspace/foundry_device-virtual-go_PR-272/archives/cost.csv [2022-04-01T00:56:20.280Z] + cut -d, -f6 [Pipeline] lock [2022-04-01T00:56:20.317Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] [2022-04-01T00:56:20.321Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] did not exist. Created. [2022-04-01T00:56:20.322Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-01T00:56:20.710Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-01T00:56:20.761Z] Stashed 1 file(s) [Pipeline] } [2022-04-01T00:56:20.790Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-01T00:56:20.875Z] $ docker stop --time=1 d470cce06a1f080fbdfe4dd19f4af0ac53e64336b53a74d3c21577b63977bde1 [2022-04-01T00:56:22.041Z] $ docker rm -f d470cce06a1f080fbdfe4dd19f4af0ac53e64336b53a74d3c21577b63977bde1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-01T00:58:43.042Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10363 in /w/workspace/foundry_device-virtual-go_PR-272 [Pipeline] { [Pipeline] ws [2022-04-01T00:58:43.085Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-04-01T00:58:43.444Z] The recommended git tool is: git [2022-04-01T00:58:51.421Z] using credential edgex-jenkins-ssh [2022-04-01T00:58:51.445Z] Cloning the remote Git repository [2022-04-01T00:58:51.532Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-04-01T00:58:51.618Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-04-01T00:58:51.822Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-01T00:58:51.823Z] > git --version # timeout=10 [2022-04-01T00:58:51.879Z] > git --version # 'git version 2.25.1' [2022-04-01T00:58:51.887Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-01T00:58:52.095Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-01T00:58:55.639Z] Merging remotes/origin/main commit c03aa7c74cee4c24f0ea21a2b880bc2767aae84f into PR head commit cf30344d637e320ae3285e6339d90396576ac4fc [2022-04-01T00:58:54.805Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-01T00:58:54.854Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-01T00:58:54.924Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-04-01T00:58:55.024Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-04-01T00:58:55.025Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-01T00:58:55.049Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/272/head:refs/remotes/origin/PR-272 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-01T00:58:55.664Z] > git config core.sparsecheckout # timeout=10 [2022-04-01T00:58:55.686Z] > git checkout -f cf30344d637e320ae3285e6339d90396576ac4fc # timeout=10 [2022-04-01T00:58:55.785Z] > git remote # timeout=10 [2022-04-01T00:58:55.804Z] > git config --get remote.origin.url # timeout=10 [2022-04-01T00:58:55.828Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-01T00:58:55.847Z] > git merge c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 [2022-04-01T00:58:55.896Z] Merge succeeded, producing cf30344d637e320ae3285e6339d90396576ac4fc [2022-04-01T00:58:55.896Z] Checking out Revision cf30344d637e320ae3285e6339d90396576ac4fc (PR-272) [2022-04-01T00:58:55.878Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-01T00:58:55.909Z] > git config core.sparsecheckout # timeout=10 [2022-04-01T00:58:55.931Z] > git checkout -f cf30344d637e320ae3285e6339d90396576ac4fc # timeout=10 [2022-04-01T00:59:00.219Z] Commit message: "fix(security): Dependency version bump for device-sdk and core-contracts" [2022-04-01T00:59:00.279Z] > git --version # timeout=10 [2022-04-01T00:59:00.289Z] > git --version # 'git version 2.25.1' [2022-04-01T00:59:00.307Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T00:59:01.345Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-01T00:59:01.345Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-01T00:59:01.345Z] Dload Upload Total Spent Left Speed [2022-04-01T00:59:01.345Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47947 0 --:--:-- --:--:-- --:--:-- 47947 [Pipeline] sh [2022-04-01T00:59:01.872Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-01T00:59:02.237Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-04-01T00:59:02.237Z] /etc/docker/daemon.new [2022-04-01T00:59:02.237Z] { [2022-04-01T00:59:02.237Z] "registry-mirrors": [ [2022-04-01T00:59:02.237Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-01T00:59:02.237Z] ], [2022-04-01T00:59:02.237Z] "bip": "10.250.0.254/24", [2022-04-01T00:59:02.237Z] "hosts": [ [2022-04-01T00:59:02.237Z] "tcp://0.0.0.0:5555", [2022-04-01T00:59:02.237Z] "unix:///var/run/docker.sock" [2022-04-01T00:59:02.237Z] ], [2022-04-01T00:59:02.237Z] "mtu": 1458, [2022-04-01T00:59:02.237Z] "selinux-enabled": true, [2022-04-01T00:59:02.237Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-01T00:59:02.237Z] } [Pipeline] sh [2022-04-01T00:59:02.610Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-01T00:59:03.064Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T00:59:21.468Z] provisioning config files... [2022-04-01T00:59:21.494Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7386409649109362904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T00:59:22.142Z] ---> docker-login.sh [2022-04-01T00:59:22.142Z] nexus3.edgexfoundry.org:10001 [2022-04-01T00:59:22.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:59:23.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:59:23.017Z] Configure a credential helper to remove this warning. See [2022-04-01T00:59:23.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:59:23.017Z] [2022-04-01T00:59:23.017Z] Login Succeeded [2022-04-01T00:59:23.017Z] nexus3.edgexfoundry.org:10002 [2022-04-01T00:59:23.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:59:23.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:59:23.292Z] Configure a credential helper to remove this warning. See [2022-04-01T00:59:23.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:59:23.292Z] [2022-04-01T00:59:23.292Z] Login Succeeded [2022-04-01T00:59:23.292Z] nexus3.edgexfoundry.org:10003 [2022-04-01T00:59:23.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:59:23.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:59:23.898Z] Configure a credential helper to remove this warning. See [2022-04-01T00:59:23.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:59:23.898Z] [2022-04-01T00:59:23.898Z] Login Succeeded [2022-04-01T00:59:23.898Z] nexus3.edgexfoundry.org:10004 [2022-04-01T00:59:24.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:59:24.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:59:24.178Z] Configure a credential helper to remove this warning. See [2022-04-01T00:59:24.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:59:24.178Z] [2022-04-01T00:59:24.178Z] Login Succeeded [2022-04-01T00:59:24.451Z] docker.io [2022-04-01T00:59:24.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-01T00:59:24.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-01T00:59:24.998Z] Configure a credential helper to remove this warning. See [2022-04-01T00:59:24.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-01T00:59:24.998Z] [2022-04-01T00:59:24.998Z] Login Succeeded [2022-04-01T00:59:24.998Z] ---> docker-login.sh ends [Pipeline] } [2022-04-01T00:59:25.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-01T00:59:25.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-01T00:59:25.540Z] ========================================================= [2022-04-01T00:59:25.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-01T00:59:25.540Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-01T00:59:25.992Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-01T00:59:26.268Z] Sending build context to Docker daemon 11.59MB [2022-04-01T00:59:26.268Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T00:59:26.268Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-01T00:59:26.547Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-01T00:59:26.547Z] 9b3977197b4f: Pulling fs layer [2022-04-01T00:59:26.547Z] 1a89e8eeedd5: Pulling fs layer [2022-04-01T00:59:26.547Z] 94645a83ff95: Pulling fs layer [2022-04-01T00:59:26.547Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-01T00:59:26.547Z] 0c92f367c5e7: Pulling fs layer [2022-04-01T00:59:26.547Z] f7c0051592d6: Pulling fs layer [2022-04-01T00:59:26.547Z] a227ed2f7395: Pulling fs layer [2022-04-01T00:59:26.547Z] 7b1c46037f91: Pulling fs layer [2022-04-01T00:59:26.547Z] 3f3a8bcf1eab: Waiting [2022-04-01T00:59:26.547Z] a227ed2f7395: Waiting [2022-04-01T00:59:26.547Z] 0c92f367c5e7: Waiting [2022-04-01T00:59:26.547Z] f7c0051592d6: Waiting [2022-04-01T00:59:26.547Z] 7b1c46037f91: Waiting [2022-04-01T00:59:26.547Z] 94645a83ff95: Verifying Checksum [2022-04-01T00:59:26.547Z] 94645a83ff95: Download complete [2022-04-01T00:59:26.547Z] 1a89e8eeedd5: Verifying Checksum [2022-04-01T00:59:26.547Z] 1a89e8eeedd5: Download complete [2022-04-01T00:59:26.547Z] 0c92f367c5e7: Verifying Checksum [2022-04-01T00:59:26.547Z] 0c92f367c5e7: Download complete [2022-04-01T00:59:26.547Z] f7c0051592d6: Verifying Checksum [2022-04-01T00:59:26.547Z] f7c0051592d6: Download complete [2022-04-01T00:59:26.547Z] 9b3977197b4f: Verifying Checksum [2022-04-01T00:59:26.547Z] 9b3977197b4f: Download complete [2022-04-01T00:59:26.547Z] a227ed2f7395: Verifying Checksum [2022-04-01T00:59:26.547Z] a227ed2f7395: Download complete [2022-04-01T00:59:27.543Z] 9b3977197b4f: Pull complete [2022-04-01T00:59:27.823Z] 1a89e8eeedd5: Pull complete [2022-04-01T00:59:28.428Z] 94645a83ff95: Pull complete [2022-04-01T00:59:28.703Z] 7b1c46037f91: Verifying Checksum [2022-04-01T00:59:28.703Z] 7b1c46037f91: Download complete [2022-04-01T00:59:29.304Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-01T00:59:29.304Z] 3f3a8bcf1eab: Download complete [2022-04-01T00:59:41.724Z] 3f3a8bcf1eab: Pull complete [2022-04-01T00:59:41.724Z] 0c92f367c5e7: Pull complete [2022-04-01T00:59:41.724Z] f7c0051592d6: Pull complete [2022-04-01T00:59:41.999Z] a227ed2f7395: Pull complete [2022-04-01T00:59:48.740Z] 7b1c46037f91: Pull complete [2022-04-01T00:59:48.740Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-01T00:59:48.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-01T00:59:48.740Z] ---> f79e39bc4007 [2022-04-01T00:59:48.740Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T00:59:49.342Z] ---> Running in 8ff6bc04a8b7 [2022-04-01T00:59:49.617Z] Removing intermediate container 8ff6bc04a8b7 [2022-04-01T00:59:49.617Z] ---> 2d1792516e65 [2022-04-01T00:59:49.617Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T00:59:49.903Z] ---> Running in 122cb6bc4a61 [2022-04-01T00:59:50.180Z] Removing intermediate container 122cb6bc4a61 [2022-04-01T00:59:50.180Z] ---> 68a95b4e9980 [2022-04-01T00:59:50.180Z] Step 5/12 : WORKDIR /device-virtual-go [2022-04-01T00:59:50.180Z] ---> Running in ee56e9ff45c5 [2022-04-01T00:59:50.455Z] Removing intermediate container ee56e9ff45c5 [2022-04-01T00:59:50.455Z] ---> f046692836c8 [2022-04-01T00:59:50.455Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T00:59:50.455Z] ---> Running in 198aad11a3f9 [2022-04-01T00:59:52.445Z] Removing intermediate container 198aad11a3f9 [2022-04-01T00:59:52.445Z] ---> c8cd0890fce4 [2022-04-01T00:59:52.445Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T00:59:52.445Z] ---> Running in bda34b51a555 [2022-04-01T00:59:53.423Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-01T00:59:54.408Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-01T00:59:55.006Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-01T00:59:55.288Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-01T00:59:55.288Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-01T00:59:55.563Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-01T00:59:55.563Z] Executing busybox-1.34.1-r3.trigger [2022-04-01T00:59:55.563Z] OK: 224 MiB in 56 packages [2022-04-01T00:59:56.545Z] Removing intermediate container bda34b51a555 [2022-04-01T00:59:56.545Z] ---> 2a0c76939f77 [2022-04-01T00:59:56.545Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-01T00:59:57.150Z] ---> 6d11d529f327 [2022-04-01T00:59:57.150Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T00:59:57.150Z] ---> Running in 36f7a301f44b [2022-04-01T01:00:53.744Z] Removing intermediate container 36f7a301f44b [2022-04-01T01:00:53.744Z] ---> d31db96d01b7 [2022-04-01T01:00:53.744Z] Step 10/12 : COPY . . [2022-04-01T01:00:53.744Z] ---> 68a8de73d630 [2022-04-01T01:00:53.744Z] Step 11/12 : ARG MAKE='make build' [2022-04-01T01:00:53.744Z] ---> Running in de0a27aafc59 [2022-04-01T01:00:53.744Z] Removing intermediate container de0a27aafc59 [2022-04-01T01:00:53.744Z] ---> f70d6749e4e4 [2022-04-01T01:00:53.744Z] Step 12/12 : RUN $MAKE [2022-04-01T01:00:53.744Z] ---> Running in 31c73d68d55f [2022-04-01T01:00:53.744Z] noop [2022-04-01T01:00:53.744Z] Removing intermediate container 31c73d68d55f [2022-04-01T01:00:53.744Z] ---> f8644c2b50fb [2022-04-01T01:00:53.744Z] Successfully built f8644c2b50fb [2022-04-01T01:00:53.744Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:00:54.122Z] + docker inspect -f . ci-base-image-arm64 [2022-04-01T01:00:54.122Z] . [Pipeline] withDockerContainer [2022-04-01T01:00:54.380Z] prd-ubuntu20.04-docker-arm64-4c-16g-10363 does not seem to be running inside a container [2022-04-01T01:00:54.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-01T01:00:55.755Z] $ docker top 3e33857fa5a641a5c400199ba6803bc02449956141150ced5810aedc0eebeb43 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T01:00:56.713Z] + go version [2022-04-01T01:00:56.713Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-01T01:00:56.777Z] $ docker stop --time=1 3e33857fa5a641a5c400199ba6803bc02449956141150ced5810aedc0eebeb43 [2022-04-01T01:00:58.441Z] $ docker rm -f 3e33857fa5a641a5c400199ba6803bc02449956141150ced5810aedc0eebeb43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:00:59.328Z] + docker inspect -f . ci-base-image-arm64 [2022-04-01T01:00:59.328Z] . [Pipeline] withDockerContainer [2022-04-01T01:00:59.607Z] prd-ubuntu20.04-docker-arm64-4c-16g-10363 does not seem to be running inside a container [2022-04-01T01:00:59.698Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-01T01:01:01.095Z] $ docker top 8d520f45f6f21c5e1d8cb76ec740b8f40264ba164d8ba42824bd7a153b653a8d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-01T01:01:02.150Z] + make test [2022-04-01T01:01:02.150Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-04-01T01:01:04.148Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-04-01T01:02:25.978Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-04-01T01:02:25.978Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.135s coverage: 65.7% of statements [2022-04-01T01:02:25.978Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-01T01:02:48.195Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-01T01:02:48.195Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-01T01:02:48.195Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-01T01:02:50.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-01T01:02:50.896Z] $ docker stop --time=1 8d520f45f6f21c5e1d8cb76ec740b8f40264ba164d8ba42824bd7a153b653a8d [2022-04-01T01:02:52.667Z] $ docker rm -f 8d520f45f6f21c5e1d8cb76ec740b8f40264ba164d8ba42824bd7a153b653a8d [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-01T01:02:53.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-01T01:02:53.694Z] Warning: overwriting stash ‘coverage-report’ [2022-04-01T01:02:54.207Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-01T01:02:54.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-01T01:02:55.169Z] + ls -al . [2022-04-01T01:02:55.169Z] total 176 [2022-04-01T01:02:55.169Z] drwxrwxr-x 7 jenkins jenkins 4096 Apr 1 01:02 . [2022-04-01T01:02:55.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 1 00:58 .. [2022-04-01T01:02:55.169Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 1 00:58 .git [2022-04-01T01:02:55.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:58 .github [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 270 Apr 1 00:58 .gitignore [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 7750 Apr 1 00:58 Attribution.txt [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 6349 Apr 1 00:58 CHANGELOG.md [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 1974 Apr 1 00:58 Dockerfile [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 1 00:58 GOVERNANCE.md [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 660 Apr 1 00:58 Jenkinsfile [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 1 00:58 LICENSE [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 1157 Apr 1 00:58 Makefile [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 623 Apr 1 00:58 OWNERS.md [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 2914 Apr 1 00:58 README.md [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 1 00:54 VERSION [2022-04-01T01:02:55.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 1 00:58 bin [2022-04-01T01:02:55.169Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:58 cmd [2022-04-01T01:02:55.169Z] -rw-r--r-- 1 jenkins jenkins 44128 Apr 1 01:02 coverage.out [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 3171 Apr 1 00:58 go.mod [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 34634 Apr 1 00:58 go.sum [2022-04-01T01:02:55.169Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 1 00:58 internal [2022-04-01T01:02:55.169Z] -rw-rw-r-- 1 jenkins jenkins 235 Apr 1 00:58 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:02:55.803Z] + 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=cf30344d637e320ae3285e6339d90396576ac4fc --label arch=arm64 --label version=0.0.0 . [2022-04-01T01:02:56.404Z] Sending build context to Docker daemon 11.63MB [2022-04-01T01:02:56.404Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-04-01T01:02:56.404Z] Step 2/26 : FROM ${BASE} AS builder [2022-04-01T01:02:56.404Z] ---> f8644c2b50fb [2022-04-01T01:02:56.404Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-01T01:02:56.404Z] ---> Running in 284d781f216e [2022-04-01T01:02:56.680Z] Removing intermediate container 284d781f216e [2022-04-01T01:02:56.680Z] ---> 128ffcaa806b [2022-04-01T01:02:56.680Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-04-01T01:02:56.680Z] ---> Running in 516736a2c2b6 [2022-04-01T01:02:57.282Z] Removing intermediate container 516736a2c2b6 [2022-04-01T01:02:57.282Z] ---> e69e234bdfb6 [2022-04-01T01:02:57.282Z] Step 5/26 : WORKDIR /device-virtual-go [2022-04-01T01:02:57.282Z] ---> Running in 13b941fc9911 [2022-04-01T01:02:57.556Z] Removing intermediate container 13b941fc9911 [2022-04-01T01:02:57.556Z] ---> d52316b74fbe [2022-04-01T01:02:57.556Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T01:02:57.556Z] ---> Running in c2a19505b1f5 [2022-04-01T01:02:59.544Z] Removing intermediate container c2a19505b1f5 [2022-04-01T01:02:59.544Z] ---> d2914bd587a9 [2022-04-01T01:02:59.544Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-01T01:02:59.544Z] ---> Running in 126f5f6b335a [2022-04-01T01:03:00.523Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-01T01:03:01.118Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-01T01:03:02.096Z] OK: 224 MiB in 56 packages [2022-04-01T01:03:03.079Z] Removing intermediate container 126f5f6b335a [2022-04-01T01:03:03.079Z] ---> 0b17a18c6a9c [2022-04-01T01:03:03.079Z] Step 8/26 : COPY go.mod vendor* ./ [2022-04-01T01:03:03.355Z] ---> 585df79c00ea [2022-04-01T01:03:03.355Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-01T01:03:03.633Z] ---> Running in 77ef4fa65b7a [2022-04-01T01:03:05.616Z] Removing intermediate container 77ef4fa65b7a [2022-04-01T01:03:05.616Z] ---> 891542e16a78 [2022-04-01T01:03:05.616Z] Step 10/26 : COPY . . [2022-04-01T01:03:06.602Z] ---> 8c945285010d [2022-04-01T01:03:06.602Z] Step 11/26 : ARG MAKE='make build' [2022-04-01T01:03:06.878Z] ---> Running in 5a8dc5c5b555 [2022-04-01T01:03:07.158Z] Removing intermediate container 5a8dc5c5b555 [2022-04-01T01:03:07.158Z] ---> 32b98fa7e600 [2022-04-01T01:03:07.158Z] Step 12/26 : RUN $MAKE [2022-04-01T01:03:07.158Z] ---> Running in e7739d9b2143 [2022-04-01T01:03:08.145Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd [2022-04-01T01:04:30.005Z] Removing intermediate container e7739d9b2143 [2022-04-01T01:04:30.005Z] ---> 962453273367 [2022-04-01T01:04:30.005Z] Step 13/26 : FROM alpine:3.14 [2022-04-01T01:04:30.005Z] 3.14: Pulling from library/alpine [2022-04-01T01:04:30.005Z] 810d54c7e01b: Pulling fs layer [2022-04-01T01:04:30.005Z] 810d54c7e01b: Pull complete [2022-04-01T01:04:30.005Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-04-01T01:04:30.005Z] Status: Downloaded newer image for alpine:3.14 [2022-04-01T01:04:30.005Z] ---> cc3d11fa2d52 [2022-04-01T01:04:30.005Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-04-01T01:04:30.005Z] ---> Running in 7e1104f5a41a [2022-04-01T01:04:30.005Z] Removing intermediate container 7e1104f5a41a [2022-04-01T01:04:30.005Z] ---> 21022a3026eb [2022-04-01T01:04:30.005Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-01T01:04:30.005Z] ---> Running in 455c5baabbb5 [2022-04-01T01:04:30.005Z] Removing intermediate container 455c5baabbb5 [2022-04-01T01:04:30.005Z] ---> 268f9d7e683b [2022-04-01T01:04:30.005Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-01T01:04:30.005Z] ---> Running in 8b8470676e5d [2022-04-01T01:04:30.005Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-01T01:04:30.005Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-01T01:04:30.005Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-01T01:04:30.005Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-01T01:04:30.005Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-01T01:04:30.005Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-01T01:04:30.005Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-01T01:04:30.005Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-01T01:04:30.005Z] Executing busybox-1.33.1-r6.trigger [2022-04-01T01:04:30.005Z] OK: 8 MiB in 20 packages [2022-04-01T01:04:30.005Z] Removing intermediate container 8b8470676e5d [2022-04-01T01:04:30.005Z] ---> e08976cf10f9 [2022-04-01T01:04:30.005Z] Step 17/26 : WORKDIR / [2022-04-01T01:04:30.005Z] ---> Running in 71721e52162a [2022-04-01T01:04:30.005Z] Removing intermediate container 71721e52162a [2022-04-01T01:04:30.005Z] ---> e923fcde0c53 [2022-04-01T01:04:30.005Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-04-01T01:04:30.609Z] ---> b7f4bdfbd30d [2022-04-01T01:04:30.609Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-04-01T01:04:31.214Z] ---> 7360b8e712ff [2022-04-01T01:04:31.214Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-04-01T01:04:32.655Z] ---> 6ca8ca2648a5 [2022-04-01T01:04:32.655Z] Step 21/26 : EXPOSE 59900 [2022-04-01T01:04:32.655Z] ---> Running in 628e2e6892e4 [2022-04-01T01:04:32.934Z] Removing intermediate container 628e2e6892e4 [2022-04-01T01:04:32.934Z] ---> 9c8ab55393dd [2022-04-01T01:04:32.934Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-04-01T01:04:32.934Z] ---> Running in 3e26d8fee576 [2022-04-01T01:04:33.212Z] Removing intermediate container 3e26d8fee576 [2022-04-01T01:04:33.212Z] ---> 0508ee2e3845 [2022-04-01T01:04:33.212Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-01T01:04:33.212Z] ---> Running in 7a53cefbd76c [2022-04-01T01:04:33.488Z] Removing intermediate container 7a53cefbd76c [2022-04-01T01:04:33.488Z] ---> 56bf6fd876c9 [2022-04-01T01:04:33.488Z] Step 24/26 : LABEL arch=arm64 [2022-04-01T01:04:33.767Z] ---> Running in 04d415d57b6e [2022-04-01T01:04:34.045Z] Removing intermediate container 04d415d57b6e [2022-04-01T01:04:34.045Z] ---> 4b02acb8ed16 [2022-04-01T01:04:34.045Z] Step 25/26 : LABEL git_sha=cf30344d637e320ae3285e6339d90396576ac4fc [2022-04-01T01:04:34.045Z] ---> Running in f936288fc593 [2022-04-01T01:04:34.322Z] Removing intermediate container f936288fc593 [2022-04-01T01:04:34.322Z] ---> 14b227687b0d [2022-04-01T01:04:34.323Z] Step 26/26 : LABEL version=0.0.0 [2022-04-01T01:04:34.602Z] ---> Running in f8a842786e63 [2022-04-01T01:04:34.882Z] Removing intermediate container f8a842786e63 [2022-04-01T01:04:34.882Z] ---> 88e4b0efc496 [2022-04-01T01:04:34.882Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-01T01:04:34.882Z] Successfully built 88e4b0efc496 [2022-04-01T01:04:34.882Z] Successfully tagged device-virtual-arm64:latest [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] sh [2022-04-01T01:04:35.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T01:04:35.563Z] [2022-04-01T01:04:35.563Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:04:35.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T01:04:36.225Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-01T01:04:36.225Z] 8998bd30e6a1: Pulling fs layer [2022-04-01T01:04:36.225Z] 04944245beec: Pulling fs layer [2022-04-01T01:04:36.225Z] 699f458cf7ca: Pulling fs layer [2022-04-01T01:04:36.225Z] 765212b225bb: Pulling fs layer [2022-04-01T01:04:36.225Z] f23df028b6ca: Pulling fs layer [2022-04-01T01:04:36.225Z] d65c8cfc05b1: Pulling fs layer [2022-04-01T01:04:36.225Z] 2437ff75d9bd: Pulling fs layer [2022-04-01T01:04:36.225Z] 765212b225bb: Waiting [2022-04-01T01:04:36.225Z] f23df028b6ca: Waiting [2022-04-01T01:04:36.225Z] d65c8cfc05b1: Waiting [2022-04-01T01:04:36.225Z] 2437ff75d9bd: Waiting [2022-04-01T01:04:36.225Z] 04944245beec: Verifying Checksum [2022-04-01T01:04:36.225Z] 04944245beec: Download complete [2022-04-01T01:04:36.225Z] 765212b225bb: Verifying Checksum [2022-04-01T01:04:36.225Z] 765212b225bb: Download complete [2022-04-01T01:04:36.225Z] f23df028b6ca: Verifying Checksum [2022-04-01T01:04:36.225Z] f23df028b6ca: Download complete [2022-04-01T01:04:36.225Z] d65c8cfc05b1: Verifying Checksum [2022-04-01T01:04:36.225Z] d65c8cfc05b1: Download complete [2022-04-01T01:04:36.502Z] 699f458cf7ca: Verifying Checksum [2022-04-01T01:04:36.502Z] 699f458cf7ca: Download complete [2022-04-01T01:04:36.790Z] 8998bd30e6a1: Verifying Checksum [2022-04-01T01:04:36.790Z] 8998bd30e6a1: Download complete [2022-04-01T01:04:39.426Z] 2437ff75d9bd: Verifying Checksum [2022-04-01T01:04:39.427Z] 2437ff75d9bd: Download complete [2022-04-01T01:04:41.410Z] 8998bd30e6a1: Pull complete [2022-04-01T01:04:41.685Z] 04944245beec: Pull complete [2022-04-01T01:04:43.128Z] 699f458cf7ca: Pull complete [2022-04-01T01:04:43.403Z] 765212b225bb: Pull complete [2022-04-01T01:04:44.003Z] f23df028b6ca: Pull complete [2022-04-01T01:04:44.280Z] d65c8cfc05b1: Pull complete [2022-04-01T01:04:59.381Z] 2437ff75d9bd: Pull complete [2022-04-01T01:04:59.382Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-01T01:04:59.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-01T01:04:59.382Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-01T01:04:59.651Z] prd-ubuntu20.04-docker-arm64-4c-16g-10363 does not seem to be running inside a container [2022-04-01T01:04:59.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-01T01:05:02.377Z] $ docker top 199d9b8e0c32b60ac9f97400638a49e33d9503eaf863fe109fef247ee3e7977b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:05:03.378Z] ---> job-cost.sh [2022-04-01T01:05:03.378Z] lf-activate-venv: SKIPPING [2022-04-01T01:05:03.378Z] INFO: No Stack... [2022-04-01T01:05:03.651Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-01T01:05:04.632Z] INFO: Archiving Costs [Pipeline] sh [2022-04-01T01:05:05.333Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2022-04-01T01:05:05.333Z] + cut -d, -f6 [Pipeline] lock [2022-04-01T01:05:05.427Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] [2022-04-01T01:05:05.432Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] did not exist. Created. [2022-04-01T01:05:05.432Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-01T01:05:06.196Z] /w/workspace/device-virtual-go/1@tmp/durable-344452e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-01T01:05:06.981Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-01T01:05:07.021Z] Warning: overwriting stash ‘stack-cost’ [2022-04-01T01:05:07.072Z] Stashed 1 file(s) [Pipeline] } [2022-04-01T01:05:07.086Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-272-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-01T01:05:07.159Z] $ docker stop --time=1 199d9b8e0c32b60ac9f97400638a49e33d9503eaf863fe109fef247ee3e7977b [2022-04-01T01:05:08.680Z] $ docker rm -f 199d9b8e0c32b60ac9f97400638a49e33d9503eaf863fe109fef247ee3e7977b [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-04-01T01:05:09.751Z] provisioning config files... [2022-04-01T01:05:09.789Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-272@tmp/config1008772321835745883tmp [Pipeline] { [Pipeline] sh [2022-04-01T01:05:10.126Z] + set +x [2022-04-01T01:05:10.126Z] + curl -s https://codecov.io/bash [2022-04-01T01:05:10.126Z] + bash -s -- [2022-04-01T01:05:10.126Z] [2022-04-01T01:05:10.126Z] _____ _ [2022-04-01T01:05:10.126Z] / ____| | | [2022-04-01T01:05:10.126Z] | | ___ __| | ___ ___ _____ __ [2022-04-01T01:05:10.126Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-01T01:05:10.126Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-01T01:05:10.126Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-01T01:05:10.126Z] Bash-1.0.6 [2022-04-01T01:05:10.126Z] [2022-04-01T01:05:10.126Z] [2022-04-01T01:05:10.126Z] ==> git version 2.25.1 found [2022-04-01T01:05:10.126Z] ==> 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-04-01T01:05:10.126Z] Release-Date: 2020-01-08 [2022-04-01T01:05:10.126Z] 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-04-01T01:05:10.126Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-01T01:05:10.126Z] ==> Jenkins CI detected. [2022-04-01T01:05:10.126Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-272 [2022-04-01T01:05:10.126Z] project root: . [2022-04-01T01:05:10.126Z] --> token set from env [2022-04-01T01:05:10.126Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-01T01:05:10.126Z] ==> Running gcov in . (disable via -X gcov) [2022-04-01T01:05:10.126Z] ==> Python coveragepy not found [2022-04-01T01:05:10.126Z] ==> Searching for coverage reports in: [2022-04-01T01:05:10.126Z] + . [2022-04-01T01:05:10.126Z] -> Found 1 reports [2022-04-01T01:05:10.126Z] ==> Detecting git/mercurial file structure [2022-04-01T01:05:10.387Z] ==> Reading reports [2022-04-01T01:05:10.387Z] + ./coverage.out bytes=44128 [2022-04-01T01:05:10.387Z] ==> Appending adjustments [2022-04-01T01:05:10.387Z] https://docs.codecov.io/docs/fixing-reports [2022-04-01T01:05:10.387Z] + Found adjustments [2022-04-01T01:05:10.387Z] ==> Gzipping contents [2022-04-01T01:05:10.387Z] 8.0K /tmp/codecov.SgjlDe.gz [2022-04-01T01:05:10.387Z] ==> Uploading reports [2022-04-01T01:05:10.387Z] url: https://codecov.io [2022-04-01T01:05:10.387Z] query: branch=PR-272&commit=cf30344d637e320ae3285e6339d90396576ac4fc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-272%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=272&job=&cmd_args= [2022-04-01T01:05:10.387Z] -> Pinging Codecov [2022-04-01T01:05:10.387Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-272&commit=cf30344d637e320ae3285e6339d90396576ac4fc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-272%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=272&job=&cmd_args= [2022-04-01T01:05:10.647Z] -> Uploading to [2022-04-01T01:05:10.647Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-01/5E52B4B073DB2E39498172D8E973AA87/cf30344d637e320ae3285e6339d90396576ac4fc/7c75cc21-b20b-44a6-8ec0-aa2aa2ee2fcd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220401%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220401T010510Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bfc89132178ca5210a700199c1255951c27b582edcd0f236ed998cab6ad3a597 [2022-04-01T01:05:10.647Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-01T01:05:10.647Z] Dload Upload Total Spent Left Speed [2022-04-01T01:05:10.908Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5296 0 0 100 5296 0 22729 --:--:-- --:--:-- --:--:-- 22729 [2022-04-01T01:05:10.908Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/cf30344d637e320ae3285e6339d90396576ac4fc [Pipeline] } [2022-04-01T01:05:10.931Z] 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-04-01T01:05:12.660Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-272/archives ] [2022-04-01T01:05:12.660Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-272/archives [2022-04-01T01:05:12.660Z] total 16 [2022-04-01T01:05:12.660Z] drwxr-xr-x 3 root root 4096 Apr 1 00:56 . [2022-04-01T01:05:12.660Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 00:56 .. [2022-04-01T01:05:12.660Z] drwxr-xr-x 2 root root 4096 Apr 1 00:56 cost [2022-04-01T01:05:12.660Z] -rw-r--r-- 1 root root 88 Apr 1 00:56 cost.csv [2022-04-01T01:05:12.660Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-272/archives [2022-04-01T01:05:12.660Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-272/archives [2022-04-01T01:05:12.660Z] total 16 [2022-04-01T01:05:12.660Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 1 00:56 . [2022-04-01T01:05:12.660Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 1 00:56 .. [2022-04-01T01:05:12.660Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 1 00:56 cost [2022-04-01T01:05:12.660Z] -rw-r--r-- 1 jenkins jenkins 88 Apr 1 00:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:05:13.043Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:05:13.942Z] ---> package-listing.sh [2022-04-01T01:05:13.942Z] ++ facter osfamily [2022-04-01T01:05:13.942Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-01T01:05:14.204Z] + OS_FAMILY=debian [2022-04-01T01:05:14.204Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-272 [2022-04-01T01:05:14.204Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-01T01:05:14.204Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-01T01:05:14.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-01T01:05:14.204Z] + PACKAGES=/tmp/packages_start.txt [2022-04-01T01:05:14.204Z] + '[' /w/workspace/foundry_device-virtual-go_PR-272 ']' [2022-04-01T01:05:14.204Z] + PACKAGES=/tmp/packages_end.txt [2022-04-01T01:05:14.204Z] + case "${OS_FAMILY}" in [2022-04-01T01:05:14.204Z] + dpkg -l [2022-04-01T01:05:14.204Z] + grep '^ii' [2022-04-01T01:05:14.204Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-01T01:05:14.204Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-01T01:05:14.204Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-01T01:05:14.204Z] + '[' /w/workspace/foundry_device-virtual-go_PR-272 ']' [2022-04-01T01:05:14.204Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-272/archives/ [2022-04-01T01:05:14.204Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-272/archives/ [Pipeline] echo [2022-04-01T01:05:14.236Z] 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-272/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-01T01:05:14.535Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-01T01:05:15.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-01T01:05:15.116Z] . [Pipeline] withDockerContainer [2022-04-01T01:05:15.212Z] prd-ubuntu20.04-docker-8c-8g-10362 does not seem to be running inside a container [2022-04-01T01:05:15.260Z] $ 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-272/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-272 -v /w/workspace/foundry_device-virtual-go_PR-272:/w/workspace/foundry_device-virtual-go_PR-272:rw,z -v /w/workspace/foundry_device-virtual-go_PR-272@tmp:/w/workspace/foundry_device-virtual-go_PR-272@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-01T01:05:15.505Z] $ docker top 81cfcb80f7c92c2e0fd4cf9faa3db4907f8b299151cfe29875563fbe043bea1b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-01T01:05:15.912Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-01T01:05:16.235Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-01T01:05:16.552Z] + ls /var/log/sa-host [2022-04-01T01:05:16.552Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-01T01:05:16.935Z] provisioning config files... [2022-04-01T01:05:16.947Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-272@tmp/config771677916998377884tmp [Pipeline] { [Pipeline] echo [2022-04-01T01:05:16.996Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:05:17.315Z] ---> create-netrc.sh [Pipeline] } [2022-04-01T01:05:17.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:05:17.782Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-01T01:05:17.819Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:05:18.141Z] ---> sudo-logs.sh [2022-04-01T01:05:18.142Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-01T01:05:18.229Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:05:18.552Z] ---> job-cost.sh [2022-04-01T01:05:18.552Z] lf-activate-venv: SKIPPING [2022-04-01T01:05:18.552Z] DEBUG: total: 0.2199999988079071 [2022-04-01T01:05:18.552Z] INFO: Retrieving Stack Cost... [2022-04-01T01:05:18.814Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-01T01:05:19.388Z] INFO: Archiving Costs [Pipeline] echo [2022-04-01T01:05:19.458Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-01T01:05:19.785Z] ---> logs-deploy.sh [2022-04-01T01:05:19.785Z] lf-activate-venv: SKIPPING [2022-04-01T01:05:19.785Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-272/1 [2022-04-01T01:05:19.785Z] INFO: archiving workspace using pattern(s): [2022-04-01T01:05:20.728Z] Archives upload complete. [2022-04-01T01:05:20.728Z] INFO: archiving logs to Nexus