Pull request #271 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c778c8bc2935d1e501ad1b0166fdf375b7b4c990+c03aa7c74cee4c24f0ea21a2b880bc2767aae84f (0ecdea88e64dd7efc9c6e5baa6a1d5046168e262) 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-ssh16910984796485114871.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-ssh1770795850814227293.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-271/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-271/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16381315203717654215.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-271/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10125297807447180139.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-ssh11517090890148621130.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-271/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-271/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16214360833240459400.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9245 in /w/workspace/foundry_device-virtual-go_PR-271 [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-271 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c03aa7c74cee4c24f0ea21a2b880bc2767aae84f into PR head commit c778c8bc2935d1e501ad1b0166fdf375b7b4c990 Merge succeeded, producing c778c8bc2935d1e501ad1b0166fdf375b7b4c990 Checking out Revision c778c8bc2935d1e501ad1b0166fdf375b7b4c990 (PR-271) > git config core.sparsecheckout # timeout=10 > git checkout -f c778c8bc2935d1e501ad1b0166fdf375b7b4c990 # 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 c778c8bc2935d1e501ad1b0166fdf375b7b4c990 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-28T11:03:24.239Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-28T11:03:24.433Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-28T11:03:24.529Z] ========================================================= [2022-03-28T11:03:24.529Z] EdgeX Global Pipelines Version Info [2022-03-28T11:03:24.529Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:03:25.330Z] ------------------- [2022-03-28T11:03:25.330Z] stable info: [2022-03-28T11:03:25.330Z] ------------------- [2022-03-28T11:03:25.330Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-28T11:03:25.330Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T11:03:25.330Z] Message: update stable to v1.0.221 [2022-03-28T11:03:25.905Z] ------------------- [2022-03-28T11:03:25.905Z] experimental info: [2022-03-28T11:03:25.905Z] ------------------- [2022-03-28T11:03:25.905Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-28T11:03:25.905Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-28T11:03:25.905Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-28T11:03:26.156Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-03-28T11:03:26.201Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-03-28T11:03:26.245Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-28T11:03:26.288Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-28T11:03:26.333Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-28T11:03:26.377Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-28T11:03:26.420Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-28T11:03:26.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-28T11:03:26.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-28T11:03:26.547Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-28T11:03:26.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-28T11:03:26.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-03-28T11:03:26.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-28T11:03:26.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-28T11:03:26.753Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T11:03:26.788Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-28T11:03:26.831Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T11:03:26.867Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-28T11:03:26.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-28T11:03:26.948Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-28T11:03:26.988Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-28T11:03:27.027Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-28T11:03:27.064Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-28T11:03:27.100Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-28T11:03:27.136Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-28T11:03:27.173Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-28T11:03:27.213Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-271 [Pipeline] echo [2022-03-28T11:03:27.250Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-271 [Pipeline] echo [2022-03-28T11:03:27.286Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-271 [Pipeline] echo [2022-03-28T11:03:27.327Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [Pipeline] echo [2022-03-28T11:03:27.360Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c778c8b [Pipeline] echo [2022-03-28T11:03:27.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T11:03:27.504Z] provisioning config files... [2022-03-28T11:03:27.520Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-271@tmp/config6072584555512511607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:03:27.876Z] ---> docker-login.sh [2022-03-28T11:03:27.876Z] nexus3.edgexfoundry.org:10001 [2022-03-28T11:03:28.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:03:28.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:03:28.139Z] Configure a credential helper to remove this warning. See [2022-03-28T11:03:28.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:03:28.139Z] [2022-03-28T11:03:28.139Z] Login Succeeded [2022-03-28T11:03:28.139Z] nexus3.edgexfoundry.org:10002 [2022-03-28T11:03:28.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:03:28.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:03:28.399Z] Configure a credential helper to remove this warning. See [2022-03-28T11:03:28.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:03:28.399Z] [2022-03-28T11:03:28.399Z] Login Succeeded [2022-03-28T11:03:28.399Z] nexus3.edgexfoundry.org:10003 [2022-03-28T11:03:28.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:03:28.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:03:28.661Z] Configure a credential helper to remove this warning. See [2022-03-28T11:03:28.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:03:28.661Z] [2022-03-28T11:03:28.661Z] Login Succeeded [2022-03-28T11:03:28.661Z] nexus3.edgexfoundry.org:10004 [2022-03-28T11:03:28.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:03:28.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:03:28.661Z] Configure a credential helper to remove this warning. See [2022-03-28T11:03:28.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:03:28.661Z] [2022-03-28T11:03:28.661Z] Login Succeeded [2022-03-28T11:03:28.661Z] docker.io [2022-03-28T11:03:28.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:03:29.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:03:29.189Z] Configure a credential helper to remove this warning. See [2022-03-28T11:03:29.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:03:29.189Z] [2022-03-28T11:03:29.189Z] Login Succeeded [2022-03-28T11:03:29.189Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T11:03:29.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-28T11:03:29.848Z] + git rev-list -1 --merges c778c8bc2935d1e501ad1b0166fdf375b7b4c990~1..c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [Pipeline] echo [2022-03-28T11:03:29.975Z] -----------> git rev-list -1 --merges c778c8bc2935d1e501ad1b0166fdf375b7b4c990~1..c778c8bc2935d1e501ad1b0166fdf375b7b4c990 c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [false] [Pipeline] sh [2022-03-28T11:03:30.293Z] + git log --format=format:%s -1 c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [Pipeline] echo [2022-03-28T11:03:30.330Z] ========================================================= [2022-03-28T11:03:30.330Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-28T11:03:30.330Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T11:03:30.774Z] + git log --format=format:%s -1 c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [Pipeline] echo [2022-03-28T11:03:30.805Z] [semverPrep] GIT_COMMIT: c778c8bc2935d1e501ad1b0166fdf375b7b4c990, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-03-28T11:03:30.833Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-28T11:03:31.281Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-28T11:03:31.281Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-28T11:03:31.281Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-28T11:03:31.281Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-28T11:03:31.281Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-28T11:03:31.281Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-28T11:03:31.281Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:03:31.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T11:03:31.661Z] [2022-03-28T11:03:31.661Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:03:32.014Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T11:03:32.014Z] latest: Pulling from edgex-devops/git-semver [2022-03-28T11:03:32.014Z] a0d0a0d46f8b: Pulling fs layer [2022-03-28T11:03:32.014Z] 3e5f54012d9b: Pulling fs layer [2022-03-28T11:03:32.014Z] 4c7163046ea9: Pulling fs layer [2022-03-28T11:03:32.014Z] 0c2d73faf560: Pulling fs layer [2022-03-28T11:03:32.014Z] 0c2d73faf560: Waiting [2022-03-28T11:03:32.014Z] 3e5f54012d9b: Verifying Checksum [2022-03-28T11:03:32.014Z] 3e5f54012d9b: Download complete [2022-03-28T11:03:32.014Z] a0d0a0d46f8b: Verifying Checksum [2022-03-28T11:03:32.014Z] a0d0a0d46f8b: Download complete [2022-03-28T11:03:32.014Z] 4c7163046ea9: Verifying Checksum [2022-03-28T11:03:32.014Z] 4c7163046ea9: Download complete [2022-03-28T11:03:32.014Z] 0c2d73faf560: Verifying Checksum [2022-03-28T11:03:32.014Z] 0c2d73faf560: Download complete [2022-03-28T11:03:32.277Z] a0d0a0d46f8b: Pull complete [2022-03-28T11:03:32.277Z] 3e5f54012d9b: Pull complete [2022-03-28T11:03:32.851Z] 4c7163046ea9: Pull complete [2022-03-28T11:03:32.851Z] 0c2d73faf560: Pull complete [2022-03-28T11:03:32.851Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-28T11:03:32.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-28T11:03:32.851Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-28T11:03:32.963Z] prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container [2022-03-28T11:03:33.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-271 -v /w/workspace/foundry_device-virtual-go_PR-271:/w/workspace/foundry_device-virtual-go_PR-271:rw,z -v /w/workspace/foundry_device-virtual-go_PR-271@tmp:/w/workspace/foundry_device-virtual-go_PR-271@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-28T11:03:33.801Z] $ docker top be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-28T11:03:33.990Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T11:03:33.990Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T11:03:34.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T11:03:34.135Z] $ docker exec be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f ssh-agent [2022-03-28T11:03:34.269Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpKJlHh/agent.15 [2022-03-28T11:03:34.269Z] SSH_AGENT_PID=21 [2022-03-28T11:03:34.278Z] Running ssh-add (command line suppressed) [2022-03-28T11:03:34.409Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-271@tmp/private_key_9158566708862605789.key (/w/workspace/foundry_device-virtual-go_PR-271@tmp/private_key_9158566708862605789.key) [2022-03-28T11:03:34.420Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T11:03:34.758Z] + git tag --points-at HEAD [Pipeline] } [2022-03-28T11:03:34.789Z] $ docker exec --env ******** --env ******** be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f ssh-agent -k [2022-03-28T11:03:34.912Z] unset SSH_AUTH_SOCK; [2022-03-28T11:03:34.912Z] unset SSH_AGENT_PID; [2022-03-28T11:03:34.912Z] echo Agent pid 21 killed; [2022-03-28T11:03:34.920Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-28T11:03:35.001Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-28T11:03:35.001Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-28T11:03:35.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-28T11:03:35.143Z] $ docker exec be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f ssh-agent [2022-03-28T11:03:35.262Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnCKgDD/agent.55 [2022-03-28T11:03:35.262Z] SSH_AGENT_PID=62 [2022-03-28T11:03:35.268Z] Running ssh-add (command line suppressed) [2022-03-28T11:03:35.407Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-271@tmp/private_key_7355300881428274691.key (/w/workspace/foundry_device-virtual-go_PR-271@tmp/private_key_7355300881428274691.key) [2022-03-28T11:03:35.418Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-28T11:03:35.754Z] + git semver init [2022-03-28T11:03:35.754Z] # -> Open(): unable to determine branch for HEAD [2022-03-28T11:03:35.754Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-271/.git [2022-03-28T11:03:35.754Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-271 [2022-03-28T11:03:35.754Z] # $SEMVER_REMOTE_NAME = origin [2022-03-28T11:03:35.754Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-28T11:03:35.754Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-28T11:03:35.754Z] # $SEMVER_BRANCH = PR-271 [2022-03-28T11:03:35.754Z] # $SEMVER_TEMP = /tmp/semver-255970280 [2022-03-28T11:03:35.754Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-03-28T11:03:37.141Z] # '/tmp/semver-255970280' -> '/w/workspace/foundry_device-virtual-go_PR-271/.semver' [2022-03-28T11:03:37.141Z] # -> Force: false [2022-03-28T11:03:37.141Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-271/.semver [Pipeline] } [2022-03-28T11:03:37.175Z] $ docker exec --env ******** --env ******** be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f ssh-agent -k [2022-03-28T11:03:37.293Z] unset SSH_AUTH_SOCK; [2022-03-28T11:03:37.293Z] unset SSH_AGENT_PID; [2022-03-28T11:03:37.294Z] echo Agent pid 62 killed; [2022-03-28T11:03:37.302Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-28T11:03:37.728Z] + git semver [Pipeline] } [2022-03-28T11:03:37.770Z] $ docker stop --time=1 be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f [2022-03-28T11:03:39.187Z] $ docker rm -f be3f695e4bdbbf61fdc312aa6b373cd5bab2066394886c7591cd77ae1921f59f [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T11:03:39.613Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-28T11:03:39.951Z] Stashed 1 file(s) [Pipeline] echo [2022-03-28T11:03:39.968Z] [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-03-28T11:03:40.552Z] provisioning config files... [2022-03-28T11:03:40.565Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-271@tmp/config5175849507724135461tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:03:40.919Z] ---> docker-login.sh [2022-03-28T11:03:40.919Z] nexus3.edgexfoundry.org:10001 [2022-03-28T11:03:40.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:03:40.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:03:40.919Z] Configure a credential helper to remove this warning. See [2022-03-28T11:03:40.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:03:40.919Z] [2022-03-28T11:03:40.919Z] Login Succeeded [2022-03-28T11:03:40.919Z] nexus3.edgexfoundry.org:10002 [2022-03-28T11:03:40.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:03:41.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:03:41.182Z] Configure a credential helper to remove this warning. See [2022-03-28T11:03:41.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:03:41.182Z] [2022-03-28T11:03:41.182Z] Login Succeeded [2022-03-28T11:03:41.182Z] nexus3.edgexfoundry.org:10003 [2022-03-28T11:03:41.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:03:41.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:03:41.182Z] Configure a credential helper to remove this warning. See [2022-03-28T11:03:41.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:03:41.182Z] [2022-03-28T11:03:41.182Z] Login Succeeded [2022-03-28T11:03:41.182Z] nexus3.edgexfoundry.org:10004 [2022-03-28T11:03:41.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:03:41.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:03:41.445Z] Configure a credential helper to remove this warning. See [2022-03-28T11:03:41.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:03:41.445Z] [2022-03-28T11:03:41.445Z] Login Succeeded [2022-03-28T11:03:41.445Z] docker.io [2022-03-28T11:03:41.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:03:41.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:03:41.707Z] Configure a credential helper to remove this warning. See [2022-03-28T11:03:41.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:03:41.707Z] [2022-03-28T11:03:41.707Z] Login Succeeded [2022-03-28T11:03:41.707Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T11:03:41.734Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T11:03:41.947Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T11:03:41.982Z] ========================================================= [2022-03-28T11:03:41.982Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-28T11:03:41.982Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:03:42.400Z] + 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-03-28T11:03:42.400Z] Sending build context to Docker daemon 22.88MB [2022-03-28T11:03:42.400Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T11:03:42.400Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-28T11:03:42.661Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-28T11:03:42.661Z] 59bf1c3509f3: Pulling fs layer [2022-03-28T11:03:42.661Z] 666ba61612fd: Pulling fs layer [2022-03-28T11:03:42.661Z] 8ed8ca486205: Pulling fs layer [2022-03-28T11:03:42.661Z] 4fe6c5a15a65: Pulling fs layer [2022-03-28T11:03:42.661Z] 22a0e8bec74d: Pulling fs layer [2022-03-28T11:03:42.661Z] 640e595b4fbd: Pulling fs layer [2022-03-28T11:03:42.661Z] 4fe6c5a15a65: Waiting [2022-03-28T11:03:42.661Z] 763cafe07f6e: Pulling fs layer [2022-03-28T11:03:42.661Z] 0c0b528cf693: Pulling fs layer [2022-03-28T11:03:42.661Z] 10935f4eaf8b: Pulling fs layer [2022-03-28T11:03:42.661Z] 0c0b528cf693: Waiting [2022-03-28T11:03:42.661Z] 10935f4eaf8b: Waiting [2022-03-28T11:03:42.661Z] 8ed8ca486205: Verifying Checksum [2022-03-28T11:03:42.661Z] 8ed8ca486205: Download complete [2022-03-28T11:03:42.661Z] 666ba61612fd: Download complete [2022-03-28T11:03:42.661Z] 22a0e8bec74d: Verifying Checksum [2022-03-28T11:03:42.661Z] 22a0e8bec74d: Download complete [2022-03-28T11:03:42.661Z] 59bf1c3509f3: Download complete [2022-03-28T11:03:42.661Z] 640e595b4fbd: Download complete [2022-03-28T11:03:42.661Z] 763cafe07f6e: Verifying Checksum [2022-03-28T11:03:42.661Z] 763cafe07f6e: Download complete [2022-03-28T11:03:42.661Z] 0c0b528cf693: Verifying Checksum [2022-03-28T11:03:42.661Z] 0c0b528cf693: Download complete [2022-03-28T11:03:42.922Z] 59bf1c3509f3: Pull complete [2022-03-28T11:03:42.922Z] 666ba61612fd: Pull complete [2022-03-28T11:03:43.184Z] 8ed8ca486205: Pull complete [2022-03-28T11:03:43.445Z] 10935f4eaf8b: Verifying Checksum [2022-03-28T11:03:43.445Z] 10935f4eaf8b: Download complete [2022-03-28T11:03:43.445Z] 4fe6c5a15a65: Verifying Checksum [2022-03-28T11:03:43.445Z] 4fe6c5a15a65: Download complete [2022-03-28T11:03:47.651Z] 4fe6c5a15a65: Pull complete [2022-03-28T11:03:47.651Z] 22a0e8bec74d: Pull complete [2022-03-28T11:03:47.651Z] 640e595b4fbd: Pull complete [2022-03-28T11:03:47.651Z] 763cafe07f6e: Pull complete [2022-03-28T11:03:47.911Z] 0c0b528cf693: Pull complete [2022-03-28T11:03:50.450Z] 10935f4eaf8b: Pull complete [2022-03-28T11:03:50.450Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-28T11:03:50.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-28T11:03:50.450Z] ---> 99d49a6021b9 [2022-03-28T11:03:50.450Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T11:03:51.833Z] ---> Running in 3a8aff9da8fa [2022-03-28T11:03:52.093Z] Removing intermediate container 3a8aff9da8fa [2022-03-28T11:03:52.093Z] ---> 32dd8aa9e25c [2022-03-28T11:03:52.093Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T11:03:52.093Z] ---> Running in f001c73d251d [2022-03-28T11:03:52.093Z] Removing intermediate container f001c73d251d [2022-03-28T11:03:52.093Z] ---> 3a1d0fe6542b [2022-03-28T11:03:52.093Z] Step 5/12 : WORKDIR /device-virtual-go [2022-03-28T11:03:52.355Z] ---> Running in d2423dbfde70 [2022-03-28T11:03:52.355Z] Removing intermediate container d2423dbfde70 [2022-03-28T11:03:52.355Z] ---> 713042a1540a [2022-03-28T11:03:52.355Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T11:03:52.355Z] ---> Running in 2786b0824ae9 [2022-03-28T11:03:52.929Z] Removing intermediate container 2786b0824ae9 [2022-03-28T11:03:52.929Z] ---> ce41477f9cda [2022-03-28T11:03:52.929Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T11:03:52.929Z] ---> Running in e304843e9ef5 [2022-03-28T11:03:53.504Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T11:03:54.447Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T11:03:54.710Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-28T11:03:54.710Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-28T11:03:54.710Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-28T11:03:54.972Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-28T11:03:54.972Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T11:03:54.972Z] OK: 224 MiB in 56 packages [2022-03-28T11:03:55.372Z] Still waiting to schedule task [2022-03-28T11:03:55.372Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-28T11:03:55.546Z] Removing intermediate container e304843e9ef5 [2022-03-28T11:03:55.546Z] ---> ab740337a006 [2022-03-28T11:03:55.546Z] Step 8/12 : COPY go.mod vendor* ./ [2022-03-28T11:03:55.546Z] ---> bef5b70cf368 [2022-03-28T11:03:55.546Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T11:03:55.546Z] ---> Running in a5e9483491e3 [2022-03-28T11:04:22.142Z] Removing intermediate container a5e9483491e3 [2022-03-28T11:04:22.142Z] ---> 47dafa5f3f77 [2022-03-28T11:04:22.142Z] Step 10/12 : COPY . . [2022-03-28T11:04:22.142Z] ---> 78e271b8a127 [2022-03-28T11:04:22.142Z] Step 11/12 : ARG MAKE='make build' [2022-03-28T11:04:22.142Z] ---> Running in 0d9f3cdb4fa9 [2022-03-28T11:04:22.142Z] Removing intermediate container 0d9f3cdb4fa9 [2022-03-28T11:04:22.142Z] ---> 0ba63810c993 [2022-03-28T11:04:22.142Z] Step 12/12 : RUN $MAKE [2022-03-28T11:04:22.142Z] ---> Running in bf4ea163591c [2022-03-28T11:04:22.403Z] noop [2022-03-28T11:04:22.977Z] Removing intermediate container bf4ea163591c [2022-03-28T11:04:22.977Z] ---> b84ea127209a [2022-03-28T11:04:22.977Z] Successfully built b84ea127209a [2022-03-28T11:04:22.977Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:04:23.312Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T11:04:23.312Z] . [Pipeline] withDockerContainer [2022-03-28T11:04:23.419Z] prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container [2022-03-28T11:04:23.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-271 -v /w/workspace/foundry_device-virtual-go_PR-271:/w/workspace/foundry_device-virtual-go_PR-271:rw,z -v /w/workspace/foundry_device-virtual-go_PR-271@tmp:/w/workspace/foundry_device-virtual-go_PR-271@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 ******** ci-base-image-x86_64 cat [2022-03-28T11:04:23.900Z] $ docker top ad2ec37f66689dffa81a92a5a705de0475826dd471c7b535c3ebbde4d8170626 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T11:04:24.328Z] + go version [2022-03-28T11:04:24.329Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-28T11:04:24.369Z] $ docker stop --time=1 ad2ec37f66689dffa81a92a5a705de0475826dd471c7b535c3ebbde4d8170626 [2022-03-28T11:04:25.691Z] $ docker rm -f ad2ec37f66689dffa81a92a5a705de0475826dd471c7b535c3ebbde4d8170626 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:04:26.377Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-28T11:04:26.377Z] . [Pipeline] withDockerContainer [2022-03-28T11:04:26.483Z] prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container [2022-03-28T11:04:26.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-271 -v /w/workspace/foundry_device-virtual-go_PR-271:/w/workspace/foundry_device-virtual-go_PR-271:rw,z -v /w/workspace/foundry_device-virtual-go_PR-271@tmp:/w/workspace/foundry_device-virtual-go_PR-271@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 ******** ci-base-image-x86_64 cat [2022-03-28T11:04:26.926Z] $ docker top ce9e1a447658a0c03f824e43b7b6bb4bd0cf24833de4af8c7575a5aa2d5a4472 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T11:04:27.384Z] + make test [2022-03-28T11:04:27.384Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-28T11:04:27.644Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-03-28T11:04:34.359Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-03-28T11:04:35.306Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.037s coverage: 65.7% of statements [2022-03-28T11:04:35.306Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-28T11:04:38.608Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T11:04:38.608Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T11:04:38.608Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-28T11:04:38.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-28T11:04:38.678Z] $ docker stop --time=1 ce9e1a447658a0c03f824e43b7b6bb4bd0cf24833de4af8c7575a5aa2d5a4472 [2022-03-28T11:04:40.357Z] $ docker rm -f ce9e1a447658a0c03f824e43b7b6bb4bd0cf24833de4af8c7575a5aa2d5a4472 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T11:04:40.814Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-28T11:04:40.883Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-28T11:04:42.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-28T11:04:42.396Z] + ls -al . [2022-03-28T11:04:42.396Z] total 196 [2022-03-28T11:04:42.396Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 11:04 . [2022-03-28T11:04:42.396Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 11:03 .. [2022-03-28T11:04:42.396Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 11:03 .git [2022-03-28T11:04:42.396Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 11:03 .github [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 270 Mar 28 11:03 .gitignore [2022-03-28T11:04:42.396Z] drwx------ 3 jenkins jenkins 4096 Mar 28 11:03 .semver [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 6610 Mar 28 11:03 Attribution.txt [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 6349 Mar 28 11:03 CHANGELOG.md [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 1974 Mar 28 11:03 Dockerfile [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 11:03 GOVERNANCE.md [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 28 11:03 Jenkinsfile [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 11:03 LICENSE [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 1157 Mar 28 11:03 Makefile [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 28 11:03 OWNERS.md [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 2914 Mar 28 11:03 README.md [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 11:03 VERSION [2022-03-28T11:04:42.396Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 11:03 bin [2022-03-28T11:04:42.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 11:03 cmd [2022-03-28T11:04:42.396Z] -rw-r--r-- 1 jenkins jenkins 44128 Mar 28 11:04 coverage.out [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 2760 Mar 28 11:03 go.mod [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 50293 Mar 28 11:03 go.sum [2022-03-28T11:04:42.396Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 11:03 internal [2022-03-28T11:04:42.396Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 28 11:03 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:04:42.746Z] + 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=c778c8bc2935d1e501ad1b0166fdf375b7b4c990 --label arch=amd64 --label version=0.0.0 . [2022-03-28T11:04:42.746Z] Sending build context to Docker daemon 22.92MB [2022-03-28T11:04:42.746Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T11:04:42.746Z] Step 2/26 : FROM ${BASE} AS builder [2022-03-28T11:04:42.746Z] ---> b84ea127209a [2022-03-28T11:04:42.746Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T11:04:43.706Z] ---> Running in f4cdfc4a46b4 [2022-03-28T11:04:43.706Z] Removing intermediate container f4cdfc4a46b4 [2022-03-28T11:04:43.706Z] ---> 057f024ce4be [2022-03-28T11:04:43.706Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T11:04:43.706Z] ---> Running in db7050fd1b39 [2022-03-28T11:04:43.968Z] Removing intermediate container db7050fd1b39 [2022-03-28T11:04:43.968Z] ---> b935449e4c4c [2022-03-28T11:04:43.968Z] Step 5/26 : WORKDIR /device-virtual-go [2022-03-28T11:04:43.968Z] ---> Running in 29d706f16fa1 [2022-03-28T11:04:43.968Z] Removing intermediate container 29d706f16fa1 [2022-03-28T11:04:43.968Z] ---> b153c1f8561a [2022-03-28T11:04:43.968Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T11:04:44.231Z] ---> Running in 779cfda6d32b [2022-03-28T11:04:44.804Z] Removing intermediate container 779cfda6d32b [2022-03-28T11:04:44.804Z] ---> cd1d42d4ac86 [2022-03-28T11:04:44.804Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T11:04:44.804Z] ---> Running in 43bd816b7f03 [2022-03-28T11:04:45.066Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-28T11:04:46.010Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-28T11:04:46.271Z] OK: 224 MiB in 56 packages [2022-03-28T11:04:46.842Z] Removing intermediate container 43bd816b7f03 [2022-03-28T11:04:46.842Z] ---> 1f47ae177eb3 [2022-03-28T11:04:46.842Z] Step 8/26 : COPY go.mod vendor* ./ [2022-03-28T11:04:46.842Z] ---> 88d1fedba940 [2022-03-28T11:04:46.842Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T11:04:46.842Z] ---> Running in 7592183db438 [2022-03-28T11:04:47.783Z] Removing intermediate container 7592183db438 [2022-03-28T11:04:47.783Z] ---> 3d03f8fb6cd2 [2022-03-28T11:04:47.783Z] Step 10/26 : COPY . . [2022-03-28T11:04:48.045Z] ---> eb0c05c1a2c4 [2022-03-28T11:04:48.045Z] Step 11/26 : ARG MAKE='make build' [2022-03-28T11:04:48.045Z] ---> Running in 72101f0be78c [2022-03-28T11:04:48.309Z] Removing intermediate container 72101f0be78c [2022-03-28T11:04:48.309Z] ---> 27ecd7b0ced7 [2022-03-28T11:04:48.309Z] Step 12/26 : RUN $MAKE [2022-03-28T11:04:48.309Z] ---> Running in cd9b06d2a11c [2022-03-28T11:04:48.569Z] 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-03-28T11:04:56.699Z] Removing intermediate container cd9b06d2a11c [2022-03-28T11:04:56.699Z] ---> f82e199b32ee [2022-03-28T11:04:56.699Z] Step 13/26 : FROM alpine:3.14 [2022-03-28T11:04:56.960Z] 3.14: Pulling from library/alpine [2022-03-28T11:04:56.960Z] 36ccefbf3d8a: Pulling fs layer [2022-03-28T11:04:57.221Z] 36ccefbf3d8a: Verifying Checksum [2022-03-28T11:04:57.221Z] 36ccefbf3d8a: Download complete [2022-03-28T11:04:57.221Z] 36ccefbf3d8a: Pull complete [2022-03-28T11:04:57.481Z] Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 [2022-03-28T11:04:57.481Z] Status: Downloaded newer image for alpine:3.14 [2022-03-28T11:04:57.481Z] ---> a33ac4f1069a [2022-03-28T11:04:57.481Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-03-28T11:04:57.481Z] ---> Running in 10acde786ec8 [2022-03-28T11:04:57.481Z] Removing intermediate container 10acde786ec8 [2022-03-28T11:04:57.481Z] ---> dbcbc10fdec1 [2022-03-28T11:04:57.481Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T11:04:57.481Z] ---> Running in 4a86afeb96bc [2022-03-28T11:04:58.054Z] Removing intermediate container 4a86afeb96bc [2022-03-28T11:04:58.054Z] ---> 9a84282be2be [2022-03-28T11:04:58.054Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-28T11:04:58.314Z] ---> Running in 6d3ea1785e42 [2022-03-28T11:04:58.574Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-28T11:04:59.516Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-28T11:04:59.516Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-28T11:04:59.777Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-28T11:04:59.777Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-28T11:04:59.777Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-28T11:05:00.037Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-28T11:05:00.037Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-28T11:05:00.037Z] Executing busybox-1.33.1-r6.trigger [2022-03-28T11:05:00.037Z] OK: 8 MiB in 20 packages [2022-03-28T11:05:00.607Z] Removing intermediate container 6d3ea1785e42 [2022-03-28T11:05:00.607Z] ---> f37742d8b093 [2022-03-28T11:05:00.607Z] Step 17/26 : WORKDIR / [2022-03-28T11:05:00.607Z] ---> Running in 054ef9dca3e5 [2022-03-28T11:05:00.607Z] Removing intermediate container 054ef9dca3e5 [2022-03-28T11:05:00.607Z] ---> 26b561035627 [2022-03-28T11:05:00.607Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-03-28T11:05:00.880Z] ---> dbcfe9a3f950 [2022-03-28T11:05:00.880Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-03-28T11:05:01.141Z] ---> 481acf1d554f [2022-03-28T11:05:01.141Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-03-28T11:05:01.406Z] ---> e263e41e2e94 [2022-03-28T11:05:01.406Z] Step 21/26 : EXPOSE 59900 [2022-03-28T11:05:01.406Z] ---> Running in c0d549bbced5 [2022-03-28T11:05:01.406Z] Removing intermediate container c0d549bbced5 [2022-03-28T11:05:01.406Z] ---> b6f85e7623c3 [2022-03-28T11:05:01.406Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-03-28T11:05:01.670Z] ---> Running in 5269d3fd187a [2022-03-28T11:05:01.670Z] Removing intermediate container 5269d3fd187a [2022-03-28T11:05:01.670Z] ---> b1477b7c929c [2022-03-28T11:05:01.670Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-28T11:05:01.670Z] ---> Running in db6cc22d0c66 [2022-03-28T11:05:01.670Z] Removing intermediate container db6cc22d0c66 [2022-03-28T11:05:01.670Z] ---> e18575d6c4b6 [2022-03-28T11:05:01.670Z] Step 24/26 : LABEL arch=amd64 [2022-03-28T11:05:01.934Z] ---> Running in c647138ae74c [2022-03-28T11:05:01.934Z] Removing intermediate container c647138ae74c [2022-03-28T11:05:01.934Z] ---> e6f47bd2ddd8 [2022-03-28T11:05:01.934Z] Step 25/26 : LABEL git_sha=c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [2022-03-28T11:05:01.934Z] ---> Running in 7b2c6d4a5c2c [2022-03-28T11:05:02.196Z] Removing intermediate container 7b2c6d4a5c2c [2022-03-28T11:05:02.196Z] ---> 5a216bae5f0e [2022-03-28T11:05:02.196Z] Step 26/26 : LABEL version=0.0.0 [2022-03-28T11:05:02.196Z] ---> Running in d75bd2ef03be [2022-03-28T11:05:02.196Z] Removing intermediate container d75bd2ef03be [2022-03-28T11:05:02.196Z] ---> df0f80694568 [2022-03-28T11:05:02.196Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-28T11:05:02.196Z] Successfully built df0f80694568 [2022-03-28T11:05:02.196Z] 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-03-28T11:05:02.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T11:05:02.945Z] [2022-03-28T11:05:02.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:05:03.290Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T11:05:03.290Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-28T11:05:03.290Z] 5eb5b503b376: Pulling fs layer [2022-03-28T11:05:03.290Z] 5c69ac0246d0: Pulling fs layer [2022-03-28T11:05:03.290Z] ec43610c2a17: Pulling fs layer [2022-03-28T11:05:03.290Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-28T11:05:03.290Z] 33b1e0a273af: Pulling fs layer [2022-03-28T11:05:03.290Z] 5d3b04190fa2: Pulling fs layer [2022-03-28T11:05:03.290Z] 2f39f015ded8: Pulling fs layer [2022-03-28T11:05:03.290Z] 33b1e0a273af: Waiting [2022-03-28T11:05:03.290Z] 2f39f015ded8: Waiting [2022-03-28T11:05:03.290Z] 3a2ae6a8a46f: Waiting [2022-03-28T11:05:03.290Z] 5d3b04190fa2: Waiting [2022-03-28T11:05:03.290Z] 5c69ac0246d0: Verifying Checksum [2022-03-28T11:05:03.290Z] 5c69ac0246d0: Download complete [2022-03-28T11:05:03.290Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-28T11:05:03.290Z] 3a2ae6a8a46f: Download complete [2022-03-28T11:05:03.290Z] 33b1e0a273af: Verifying Checksum [2022-03-28T11:05:03.290Z] 33b1e0a273af: Download complete [2022-03-28T11:05:03.290Z] ec43610c2a17: Verifying Checksum [2022-03-28T11:05:03.290Z] ec43610c2a17: Download complete [2022-03-28T11:05:03.290Z] 5d3b04190fa2: Download complete [2022-03-28T11:05:03.550Z] 5eb5b503b376: Verifying Checksum [2022-03-28T11:05:03.550Z] 5eb5b503b376: Download complete [2022-03-28T11:05:04.118Z] 2f39f015ded8: Download complete [2022-03-28T11:05:04.687Z] 5eb5b503b376: Pull complete [2022-03-28T11:05:04.945Z] 5c69ac0246d0: Pull complete [2022-03-28T11:05:05.514Z] ec43610c2a17: Pull complete [2022-03-28T11:05:05.514Z] 3a2ae6a8a46f: Pull complete [2022-03-28T11:05:05.772Z] 33b1e0a273af: Pull complete [2022-03-28T11:05:05.772Z] 5d3b04190fa2: Pull complete [2022-03-28T11:05:09.967Z] 2f39f015ded8: Pull complete [2022-03-28T11:05:09.967Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-28T11:05:09.967Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T11:05:09.967Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-28T11:05:10.067Z] prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container [2022-03-28T11:05:10.110Z] $ 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-271 -v /w/workspace/foundry_device-virtual-go_PR-271:/w/workspace/foundry_device-virtual-go_PR-271:rw,z -v /w/workspace/foundry_device-virtual-go_PR-271@tmp:/w/workspace/foundry_device-virtual-go_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T11:05:12.096Z] $ docker top 5f3f0975fa5d1349fc0f9e48ad87faeae77834a9f12b2429535d1c6cd6e0a7e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:05:12.609Z] ---> job-cost.sh [2022-03-28T11:05:12.609Z] lf-activate-venv: SKIPPING [2022-03-28T11:05:12.609Z] INFO: No Stack... [2022-03-28T11:05:12.870Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T11:05:13.442Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T11:05:13.764Z] + + cat /w/workspace/foundry_device-virtual-go_PR-271/archives/cost.csv [2022-03-28T11:05:13.764Z] cut -d, -f6 [Pipeline] lock [2022-03-28T11:05:13.803Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] [2022-03-28T11:05:13.808Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] did not exist. Created. [2022-03-28T11:05:13.808Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T11:05:14.205Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-28T11:05:14.248Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T11:05:14.278Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T11:05:14.366Z] $ docker stop --time=1 5f3f0975fa5d1349fc0f9e48ad87faeae77834a9f12b2429535d1c6cd6e0a7e2 [2022-03-28T11:05:15.530Z] $ docker rm -f 5f3f0975fa5d1349fc0f9e48ad87faeae77834a9f12b2429535d1c6cd6e0a7e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-28T11:05:27.723Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9247 in /w/workspace/foundry_device-virtual-go_PR-271 [Pipeline] { [Pipeline] ws [2022-03-28T11:05:27.764Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-03-28T11:05:28.068Z] The recommended git tool is: git [2022-03-28T11:05:35.111Z] using credential edgex-jenkins-ssh [2022-03-28T11:05:35.128Z] Cloning the remote Git repository [2022-03-28T11:05:35.192Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-03-28T11:05:35.287Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-03-28T11:05:35.422Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-03-28T11:05:35.423Z] > git --version # timeout=10 [2022-03-28T11:05:35.452Z] > git --version # 'git version 2.25.1' [2022-03-28T11:05:35.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T11:05:35.663Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T11:05:38.294Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-03-28T11:05:38.316Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-28T11:05:38.969Z] Merging remotes/origin/main commit c03aa7c74cee4c24f0ea21a2b880bc2767aae84f into PR head commit c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [2022-03-28T11:05:39.408Z] Merge succeeded, producing c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [2022-03-28T11:05:39.408Z] Checking out Revision c778c8bc2935d1e501ad1b0166fdf375b7b4c990 (PR-271) [2022-03-28T11:05:38.348Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-03-28T11:05:38.385Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-03-28T11:05:38.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T11:05:38.408Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/271/head:refs/remotes/origin/PR-271 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-28T11:05:38.994Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T11:05:39.028Z] > git checkout -f c778c8bc2935d1e501ad1b0166fdf375b7b4c990 # timeout=10 [2022-03-28T11:05:39.187Z] > git remote # timeout=10 [2022-03-28T11:05:39.242Z] > git config --get remote.origin.url # timeout=10 [2022-03-28T11:05:39.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-28T11:05:39.332Z] > git merge c03aa7c74cee4c24f0ea21a2b880bc2767aae84f # timeout=10 [2022-03-28T11:05:39.372Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-28T11:05:39.417Z] > git config core.sparsecheckout # timeout=10 [2022-03-28T11:05:39.435Z] > git checkout -f c778c8bc2935d1e501ad1b0166fdf375b7b4c990 # timeout=10 [2022-03-28T11:05:43.818Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-03-28T11:05:43.875Z] > git --version # timeout=10 [2022-03-28T11:05:43.885Z] > git --version # 'git version 2.25.1' [2022-03-28T11:05:43.902Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T11:05:45.022Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-28T11:05:45.022Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T11:05:45.022Z] Dload Upload Total Spent Left Speed [2022-03-28T11:05:45.022Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45725 0 --:--:-- --:--:-- --:--:-- 45725 [Pipeline] sh [2022-03-28T11:05:45.577Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-28T11:05:45.928Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-28T11:05:45.928Z] tee /etc/docker/daemon.new [2022-03-28T11:05:45.928Z] { [2022-03-28T11:05:45.928Z] "registry-mirrors": [ [2022-03-28T11:05:45.928Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-28T11:05:45.928Z] ], [2022-03-28T11:05:45.928Z] "bip": "10.250.0.254/24", [2022-03-28T11:05:45.928Z] "hosts": [ [2022-03-28T11:05:45.928Z] "tcp://0.0.0.0:5555", [2022-03-28T11:05:45.928Z] "unix:///var/run/docker.sock" [2022-03-28T11:05:45.928Z] ], [2022-03-28T11:05:45.928Z] "mtu": 1458, [2022-03-28T11:05:45.928Z] "selinux-enabled": true, [2022-03-28T11:05:45.928Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-28T11:05:45.928Z] } [Pipeline] sh [2022-03-28T11:05:46.284Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-28T11:05:46.649Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T11:06:05.114Z] provisioning config files... [2022-03-28T11:06:05.141Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7536075423726082648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:06:05.724Z] ---> docker-login.sh [2022-03-28T11:06:05.725Z] nexus3.edgexfoundry.org:10001 [2022-03-28T11:06:06.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:06:06.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:06:06.596Z] Configure a credential helper to remove this warning. See [2022-03-28T11:06:06.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:06:06.596Z] [2022-03-28T11:06:06.596Z] Login Succeeded [2022-03-28T11:06:06.596Z] nexus3.edgexfoundry.org:10002 [2022-03-28T11:06:06.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:06:07.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:06:07.145Z] Configure a credential helper to remove this warning. See [2022-03-28T11:06:07.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:06:07.145Z] [2022-03-28T11:06:07.145Z] Login Succeeded [2022-03-28T11:06:07.145Z] nexus3.edgexfoundry.org:10003 [2022-03-28T11:06:07.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:06:07.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:06:07.433Z] Configure a credential helper to remove this warning. See [2022-03-28T11:06:07.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:06:07.433Z] [2022-03-28T11:06:07.433Z] Login Succeeded [2022-03-28T11:06:07.433Z] nexus3.edgexfoundry.org:10004 [2022-03-28T11:06:07.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:06:07.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:06:07.985Z] Configure a credential helper to remove this warning. See [2022-03-28T11:06:07.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:06:07.985Z] [2022-03-28T11:06:07.985Z] Login Succeeded [2022-03-28T11:06:07.985Z] docker.io [2022-03-28T11:06:08.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-28T11:06:08.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-28T11:06:08.853Z] Configure a credential helper to remove this warning. See [2022-03-28T11:06:08.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-28T11:06:08.853Z] [2022-03-28T11:06:08.853Z] Login Succeeded [2022-03-28T11:06:08.853Z] ---> docker-login.sh ends [Pipeline] } [2022-03-28T11:06:08.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-28T11:06:09.240Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-28T11:06:09.283Z] ========================================================= [2022-03-28T11:06:09.283Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-28T11:06:09.283Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:06:09.740Z] + 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-03-28T11:06:10.020Z] Sending build context to Docker daemon 11.58MB [2022-03-28T11:06:10.020Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T11:06:10.020Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-28T11:06:10.297Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-28T11:06:10.297Z] 9b3977197b4f: Pulling fs layer [2022-03-28T11:06:10.297Z] 1a89e8eeedd5: Pulling fs layer [2022-03-28T11:06:10.297Z] 94645a83ff95: Pulling fs layer [2022-03-28T11:06:10.297Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-28T11:06:10.297Z] 0c92f367c5e7: Pulling fs layer [2022-03-28T11:06:10.297Z] f7c0051592d6: Pulling fs layer [2022-03-28T11:06:10.297Z] a227ed2f7395: Pulling fs layer [2022-03-28T11:06:10.297Z] 3f3a8bcf1eab: Waiting [2022-03-28T11:06:10.297Z] f7c0051592d6: Waiting [2022-03-28T11:06:10.297Z] 7b1c46037f91: Pulling fs layer [2022-03-28T11:06:10.297Z] a227ed2f7395: Waiting [2022-03-28T11:06:10.297Z] 0c92f367c5e7: Waiting [2022-03-28T11:06:10.297Z] 7b1c46037f91: Waiting [2022-03-28T11:06:10.297Z] 94645a83ff95: Verifying Checksum [2022-03-28T11:06:10.297Z] 94645a83ff95: Download complete [2022-03-28T11:06:10.297Z] 1a89e8eeedd5: Download complete [2022-03-28T11:06:10.297Z] 0c92f367c5e7: Download complete [2022-03-28T11:06:10.297Z] f7c0051592d6: Download complete [2022-03-28T11:06:10.297Z] 9b3977197b4f: Verifying Checksum [2022-03-28T11:06:10.297Z] 9b3977197b4f: Download complete [2022-03-28T11:06:10.297Z] a227ed2f7395: Verifying Checksum [2022-03-28T11:06:10.297Z] a227ed2f7395: Download complete [2022-03-28T11:06:11.303Z] 9b3977197b4f: Pull complete [2022-03-28T11:06:11.602Z] 1a89e8eeedd5: Pull complete [2022-03-28T11:06:12.205Z] 94645a83ff95: Pull complete [2022-03-28T11:06:12.480Z] 7b1c46037f91: Verifying Checksum [2022-03-28T11:06:12.480Z] 7b1c46037f91: Download complete [2022-03-28T11:06:13.076Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-28T11:06:25.495Z] 3f3a8bcf1eab: Pull complete [2022-03-28T11:06:25.495Z] 0c92f367c5e7: Pull complete [2022-03-28T11:06:25.495Z] f7c0051592d6: Pull complete [2022-03-28T11:06:25.495Z] a227ed2f7395: Pull complete [2022-03-28T11:06:32.217Z] 7b1c46037f91: Pull complete [2022-03-28T11:06:32.217Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-28T11:06:32.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-28T11:06:32.217Z] ---> f79e39bc4007 [2022-03-28T11:06:32.217Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T11:06:32.217Z] ---> Running in f92b377ff8f0 [2022-03-28T11:06:32.497Z] Removing intermediate container f92b377ff8f0 [2022-03-28T11:06:32.497Z] ---> 694fbe1a5a75 [2022-03-28T11:06:32.497Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T11:06:32.497Z] ---> Running in fc66db9dd07c [2022-03-28T11:06:32.771Z] Removing intermediate container fc66db9dd07c [2022-03-28T11:06:32.771Z] ---> 4b4021c429c3 [2022-03-28T11:06:32.771Z] Step 5/12 : WORKDIR /device-virtual-go [2022-03-28T11:06:33.044Z] ---> Running in 9f036c6f1f93 [2022-03-28T11:06:33.319Z] Removing intermediate container 9f036c6f1f93 [2022-03-28T11:06:33.319Z] ---> d9299b3a798a [2022-03-28T11:06:33.319Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T11:06:33.319Z] ---> Running in 52a76d7ee736 [2022-03-28T11:06:35.311Z] Removing intermediate container 52a76d7ee736 [2022-03-28T11:06:35.311Z] ---> 7c666d79ce20 [2022-03-28T11:06:35.311Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T11:06:35.311Z] ---> Running in 18a612e53753 [2022-03-28T11:06:36.305Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T11:06:37.287Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T11:06:37.885Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-28T11:06:37.885Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-28T11:06:38.156Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-28T11:06:38.156Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-28T11:06:38.429Z] Executing busybox-1.34.1-r3.trigger [2022-03-28T11:06:38.429Z] OK: 224 MiB in 56 packages [2022-03-28T11:06:39.415Z] Removing intermediate container 18a612e53753 [2022-03-28T11:06:39.415Z] ---> 42d55d130d9d [2022-03-28T11:06:39.415Z] Step 8/12 : COPY go.mod vendor* ./ [2022-03-28T11:06:40.015Z] ---> 5ee52e623a22 [2022-03-28T11:06:40.015Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T11:06:40.015Z] ---> Running in 5d2b9d30c90a [2022-03-28T11:08:01.867Z] Removing intermediate container 5d2b9d30c90a [2022-03-28T11:08:01.867Z] ---> 69901891bba8 [2022-03-28T11:08:01.867Z] Step 10/12 : COPY . . [2022-03-28T11:08:01.867Z] ---> 4361db258416 [2022-03-28T11:08:01.867Z] Step 11/12 : ARG MAKE='make build' [2022-03-28T11:08:01.867Z] ---> Running in 81ebad6f7c02 [2022-03-28T11:08:01.867Z] Removing intermediate container 81ebad6f7c02 [2022-03-28T11:08:01.867Z] ---> 26e2f99cd3b2 [2022-03-28T11:08:01.867Z] Step 12/12 : RUN $MAKE [2022-03-28T11:08:01.867Z] ---> Running in 14c1db774bbb [2022-03-28T11:08:01.867Z] noop [2022-03-28T11:08:01.867Z] Removing intermediate container 14c1db774bbb [2022-03-28T11:08:01.867Z] ---> 070338d55933 [2022-03-28T11:08:01.867Z] Successfully built 070338d55933 [2022-03-28T11:08:01.867Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:08:02.241Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T11:08:02.241Z] . [Pipeline] withDockerContainer [2022-03-28T11:08:02.478Z] prd-ubuntu20.04-docker-arm64-4c-16g-9247 does not seem to be running inside a container [2022-03-28T11:08:02.570Z] $ 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 ******** ci-base-image-arm64 cat [2022-03-28T11:08:03.875Z] $ docker top f36d71e91df094ba2ad0150453b762b0799402a2b362b56cddab3725570e7f7f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T11:08:04.808Z] + go version [2022-03-28T11:08:04.808Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-28T11:08:04.839Z] $ docker stop --time=1 f36d71e91df094ba2ad0150453b762b0799402a2b362b56cddab3725570e7f7f [2022-03-28T11:08:06.421Z] $ docker rm -f f36d71e91df094ba2ad0150453b762b0799402a2b362b56cddab3725570e7f7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:08:07.330Z] + docker inspect -f . ci-base-image-arm64 [2022-03-28T11:08:07.330Z] . [Pipeline] withDockerContainer [2022-03-28T11:08:07.553Z] prd-ubuntu20.04-docker-arm64-4c-16g-9247 does not seem to be running inside a container [2022-03-28T11:08:07.630Z] $ 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 ******** ci-base-image-arm64 cat [2022-03-28T11:08:08.848Z] $ docker top 4f0f94d875677106da9609a9d7138e1da02f01fa97601f51f65be4b7ebf174b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-28T11:08:09.864Z] + make test [2022-03-28T11:08:09.864Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-28T11:08:10.856Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-03-28T11:08:57.909Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-03-28T11:08:58.507Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.125s coverage: 65.7% of statements [2022-03-28T11:08:59.107Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-28T11:09:17.441Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-28T11:09:17.441Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-28T11:09:17.441Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-28T11:09:18.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-28T11:09:18.106Z] $ docker stop --time=1 4f0f94d875677106da9609a9d7138e1da02f01fa97601f51f65be4b7ebf174b9 [2022-03-28T11:09:19.843Z] $ docker rm -f 4f0f94d875677106da9609a9d7138e1da02f01fa97601f51f65be4b7ebf174b9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-28T11:09:20.720Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-28T11:09:20.759Z] Warning: overwriting stash ‘coverage-report’ [2022-03-28T11:09:21.248Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-28T11:09:21.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-28T11:09:22.306Z] + ls -al . [2022-03-28T11:09:22.306Z] total 192 [2022-03-28T11:09:22.306Z] drwxrwxr-x 7 jenkins jenkins 4096 Mar 28 11:09 . [2022-03-28T11:09:22.306Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 11:05 .. [2022-03-28T11:09:22.306Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 11:05 .git [2022-03-28T11:09:22.306Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 11:05 .github [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 270 Mar 28 11:05 .gitignore [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 6610 Mar 28 11:05 Attribution.txt [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 6349 Mar 28 11:05 CHANGELOG.md [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 1974 Mar 28 11:05 Dockerfile [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 11:05 GOVERNANCE.md [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 660 Mar 28 11:05 Jenkinsfile [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 28 11:05 LICENSE [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 1157 Mar 28 11:05 Makefile [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 623 Mar 28 11:05 OWNERS.md [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 2914 Mar 28 11:05 README.md [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 11:03 VERSION [2022-03-28T11:09:22.306Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 11:05 bin [2022-03-28T11:09:22.306Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 11:05 cmd [2022-03-28T11:09:22.306Z] -rw-r--r-- 1 jenkins jenkins 44128 Mar 28 11:08 coverage.out [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 2760 Mar 28 11:05 go.mod [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 50293 Mar 28 11:05 go.sum [2022-03-28T11:09:22.306Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 11:05 internal [2022-03-28T11:09:22.306Z] -rw-rw-r-- 1 jenkins jenkins 235 Mar 28 11:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:09:22.699Z] + 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=c778c8bc2935d1e501ad1b0166fdf375b7b4c990 --label arch=arm64 --label version=0.0.0 . [2022-03-28T11:09:23.331Z] Sending build context to Docker daemon 11.62MB [2022-03-28T11:09:23.331Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-03-28T11:09:23.331Z] Step 2/26 : FROM ${BASE} AS builder [2022-03-28T11:09:23.331Z] ---> 070338d55933 [2022-03-28T11:09:23.331Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-28T11:09:23.331Z] ---> Running in e474f1297c34 [2022-03-28T11:09:23.625Z] Removing intermediate container e474f1297c34 [2022-03-28T11:09:23.625Z] ---> 5513f45fac48 [2022-03-28T11:09:23.625Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2022-03-28T11:09:23.934Z] ---> Running in acdf194641fa [2022-03-28T11:09:24.216Z] Removing intermediate container acdf194641fa [2022-03-28T11:09:24.216Z] ---> 57d5164f9184 [2022-03-28T11:09:24.216Z] Step 5/26 : WORKDIR /device-virtual-go [2022-03-28T11:09:24.216Z] ---> Running in b649fb243116 [2022-03-28T11:09:24.519Z] Removing intermediate container b649fb243116 [2022-03-28T11:09:24.519Z] ---> d11bba126636 [2022-03-28T11:09:24.519Z] Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T11:09:24.809Z] ---> Running in 4bdf59648a4f [2022-03-28T11:09:26.849Z] Removing intermediate container 4bdf59648a4f [2022-03-28T11:09:26.849Z] ---> 7f6032184fd9 [2022-03-28T11:09:26.849Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-28T11:09:26.849Z] ---> Running in afaca151a081 [2022-03-28T11:09:27.829Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-28T11:09:28.812Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-28T11:09:29.408Z] OK: 224 MiB in 56 packages [2022-03-28T11:09:30.390Z] Removing intermediate container afaca151a081 [2022-03-28T11:09:30.390Z] ---> f120b9ba6ea7 [2022-03-28T11:09:30.390Z] Step 8/26 : COPY go.mod vendor* ./ [2022-03-28T11:09:30.997Z] ---> fad14874878d [2022-03-28T11:09:30.997Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-28T11:09:30.997Z] ---> Running in 6e570ad886e9 [2022-03-28T11:09:32.976Z] Removing intermediate container 6e570ad886e9 [2022-03-28T11:09:32.976Z] ---> dde6602b31f7 [2022-03-28T11:09:32.976Z] Step 10/26 : COPY . . [2022-03-28T11:09:34.412Z] ---> 05e6bc31a26a [2022-03-28T11:09:34.412Z] Step 11/26 : ARG MAKE='make build' [2022-03-28T11:09:34.412Z] ---> Running in 146a7e5b4df7 [2022-03-28T11:09:34.412Z] Removing intermediate container 146a7e5b4df7 [2022-03-28T11:09:34.412Z] ---> e3029fe50f89 [2022-03-28T11:09:34.412Z] Step 12/26 : RUN $MAKE [2022-03-28T11:09:34.686Z] ---> Running in 664aed40bc99 [2022-03-28T11:09:35.672Z] 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-03-28T11:10:14.709Z] Removing intermediate container 664aed40bc99 [2022-03-28T11:10:14.709Z] ---> f6a7d04335d9 [2022-03-28T11:10:14.709Z] Step 13/26 : FROM alpine:3.14 [2022-03-28T11:10:14.983Z] 3.14: Pulling from library/alpine [2022-03-28T11:10:14.983Z] 93a1719cf261: Pulling fs layer [2022-03-28T11:10:15.258Z] 93a1719cf261: Download complete [2022-03-28T11:10:15.861Z] 93a1719cf261: Pull complete [2022-03-28T11:10:15.861Z] Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 [2022-03-28T11:10:15.861Z] Status: Downloaded newer image for alpine:3.14 [2022-03-28T11:10:15.861Z] ---> 71a2028e5025 [2022-03-28T11:10:15.861Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2022-03-28T11:10:15.861Z] ---> Running in 83731bc8724b [2022-03-28T11:10:16.135Z] Removing intermediate container 83731bc8724b [2022-03-28T11:10:16.135Z] ---> ce3c3aff255d [2022-03-28T11:10:16.135Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-28T11:10:16.418Z] ---> Running in 1017db6a80a4 [2022-03-28T11:10:17.864Z] Removing intermediate container 1017db6a80a4 [2022-03-28T11:10:17.864Z] ---> a0c22ceb67e4 [2022-03-28T11:10:17.864Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-28T11:10:17.864Z] ---> Running in 56f5cef95322 [2022-03-28T11:10:19.307Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-28T11:10:19.909Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-28T11:10:20.892Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-28T11:10:20.892Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-28T11:10:20.892Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-28T11:10:20.892Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-28T11:10:21.167Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-28T11:10:21.167Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-28T11:10:21.167Z] Executing busybox-1.33.1-r6.trigger [2022-03-28T11:10:21.167Z] OK: 8 MiB in 20 packages [2022-03-28T11:10:22.156Z] Removing intermediate container 56f5cef95322 [2022-03-28T11:10:22.156Z] ---> d74b5fb18385 [2022-03-28T11:10:22.156Z] Step 17/26 : WORKDIR / [2022-03-28T11:10:22.156Z] ---> Running in 22cfdb161f62 [2022-03-28T11:10:22.429Z] Removing intermediate container 22cfdb161f62 [2022-03-28T11:10:22.429Z] ---> 507dcc113b74 [2022-03-28T11:10:22.429Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2022-03-28T11:10:23.025Z] ---> d3785945755f [2022-03-28T11:10:23.025Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2022-03-28T11:10:23.623Z] ---> ce416b6db662 [2022-03-28T11:10:23.623Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2022-03-28T11:10:24.605Z] ---> 067af252a327 [2022-03-28T11:10:24.605Z] Step 21/26 : EXPOSE 59900 [2022-03-28T11:10:24.605Z] ---> Running in dc2f4b8801fe [2022-03-28T11:10:25.216Z] Removing intermediate container dc2f4b8801fe [2022-03-28T11:10:25.216Z] ---> 020b2019c66a [2022-03-28T11:10:25.216Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2022-03-28T11:10:25.216Z] ---> Running in 59fd2e2fa71e [2022-03-28T11:10:25.493Z] Removing intermediate container 59fd2e2fa71e [2022-03-28T11:10:25.493Z] ---> 7d5217fbe09f [2022-03-28T11:10:25.493Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-28T11:10:25.493Z] ---> Running in 4c6f2f58c9e9 [2022-03-28T11:10:25.766Z] Removing intermediate container 4c6f2f58c9e9 [2022-03-28T11:10:25.766Z] ---> 3bc5443ffe96 [2022-03-28T11:10:25.766Z] Step 24/26 : LABEL arch=arm64 [2022-03-28T11:10:25.766Z] ---> Running in 6ae2932a09e0 [2022-03-28T11:10:26.041Z] Removing intermediate container 6ae2932a09e0 [2022-03-28T11:10:26.041Z] ---> 8adc00984416 [2022-03-28T11:10:26.041Z] Step 25/26 : LABEL git_sha=c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [2022-03-28T11:10:26.330Z] ---> Running in 39d914a5cf92 [2022-03-28T11:10:26.605Z] Removing intermediate container 39d914a5cf92 [2022-03-28T11:10:26.605Z] ---> 4f15c95f0edd [2022-03-28T11:10:26.605Z] Step 26/26 : LABEL version=0.0.0 [2022-03-28T11:10:26.605Z] ---> Running in 827214f4f53d [2022-03-28T11:10:26.879Z] Removing intermediate container 827214f4f53d [2022-03-28T11:10:26.879Z] ---> 289bb70e7656 [2022-03-28T11:10:26.879Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-28T11:10:26.879Z] Successfully built 289bb70e7656 [2022-03-28T11:10:26.879Z] 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-03-28T11:10:27.592Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T11:10:27.592Z] [2022-03-28T11:10:27.592Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:10:27.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T11:10:28.249Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-28T11:10:28.249Z] 8998bd30e6a1: Pulling fs layer [2022-03-28T11:10:28.249Z] 04944245beec: Pulling fs layer [2022-03-28T11:10:28.249Z] 699f458cf7ca: Pulling fs layer [2022-03-28T11:10:28.249Z] 765212b225bb: Pulling fs layer [2022-03-28T11:10:28.249Z] f23df028b6ca: Pulling fs layer [2022-03-28T11:10:28.249Z] d65c8cfc05b1: Pulling fs layer [2022-03-28T11:10:28.249Z] 2437ff75d9bd: Pulling fs layer [2022-03-28T11:10:28.249Z] 765212b225bb: Waiting [2022-03-28T11:10:28.249Z] d65c8cfc05b1: Waiting [2022-03-28T11:10:28.249Z] f23df028b6ca: Waiting [2022-03-28T11:10:28.249Z] 2437ff75d9bd: Waiting [2022-03-28T11:10:28.249Z] 04944245beec: Verifying Checksum [2022-03-28T11:10:28.249Z] 04944245beec: Download complete [2022-03-28T11:10:28.249Z] 765212b225bb: Verifying Checksum [2022-03-28T11:10:28.249Z] 765212b225bb: Download complete [2022-03-28T11:10:28.249Z] f23df028b6ca: Verifying Checksum [2022-03-28T11:10:28.249Z] f23df028b6ca: Download complete [2022-03-28T11:10:28.249Z] d65c8cfc05b1: Verifying Checksum [2022-03-28T11:10:28.249Z] d65c8cfc05b1: Download complete [2022-03-28T11:10:28.529Z] 699f458cf7ca: Verifying Checksum [2022-03-28T11:10:28.805Z] 8998bd30e6a1: Verifying Checksum [2022-03-28T11:10:28.805Z] 8998bd30e6a1: Download complete [2022-03-28T11:10:31.431Z] 2437ff75d9bd: Verifying Checksum [2022-03-28T11:10:31.431Z] 2437ff75d9bd: Download complete [2022-03-28T11:10:33.411Z] 8998bd30e6a1: Pull complete [2022-03-28T11:10:33.685Z] 04944245beec: Pull complete [2022-03-28T11:10:35.124Z] 699f458cf7ca: Pull complete [2022-03-28T11:10:35.401Z] 765212b225bb: Pull complete [2022-03-28T11:10:36.379Z] f23df028b6ca: Pull complete [2022-03-28T11:10:36.379Z] d65c8cfc05b1: Pull complete [2022-03-28T11:10:51.455Z] 2437ff75d9bd: Pull complete [2022-03-28T11:10:51.455Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-28T11:10:51.455Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-28T11:10:51.455Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-28T11:10:51.705Z] prd-ubuntu20.04-docker-arm64-4c-16g-9247 does not seem to be running inside a container [2022-03-28T11:10:51.810Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-28T11:10:54.402Z] $ docker top 6ea00cc59748993a662d39a28638ed4894790aee396e310bd9f7854ec2a6706b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:10:55.375Z] ---> job-cost.sh [2022-03-28T11:10:55.375Z] lf-activate-venv: SKIPPING [2022-03-28T11:10:55.375Z] INFO: No Stack... [2022-03-28T11:10:55.648Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-28T11:10:56.625Z] INFO: Archiving Costs [Pipeline] sh [2022-03-28T11:10:57.298Z] + cut -d, -f6 [2022-03-28T11:10:57.298Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2022-03-28T11:10:57.379Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] [2022-03-28T11:10:57.383Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] did not exist. Created. [2022-03-28T11:10:57.383Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-28T11:10:58.124Z] /w/workspace/device-virtual-go/1@tmp/durable-5a706e0a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-28T11:10:58.816Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-28T11:10:58.849Z] Warning: overwriting stash ‘stack-cost’ [2022-03-28T11:10:58.888Z] Stashed 1 file(s) [Pipeline] } [2022-03-28T11:10:58.901Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-271-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-28T11:10:58.979Z] $ docker stop --time=1 6ea00cc59748993a662d39a28638ed4894790aee396e310bd9f7854ec2a6706b [2022-03-28T11:11:00.469Z] $ docker rm -f 6ea00cc59748993a662d39a28638ed4894790aee396e310bd9f7854ec2a6706b [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-03-28T11:11:01.654Z] provisioning config files... [2022-03-28T11:11:01.664Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-271@tmp/config6087223983098690622tmp [Pipeline] { [Pipeline] sh [2022-03-28T11:11:01.997Z] + set +x [2022-03-28T11:11:01.997Z] + curl -s https://codecov.io/bash+ [2022-03-28T11:11:01.997Z] bash -s -- [2022-03-28T11:11:01.997Z] [2022-03-28T11:11:01.997Z] _____ _ [2022-03-28T11:11:01.997Z] / ____| | | [2022-03-28T11:11:01.997Z] | | ___ __| | ___ ___ _____ __ [2022-03-28T11:11:01.997Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-28T11:11:01.997Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-28T11:11:01.997Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-28T11:11:01.997Z] Bash-1.0.6 [2022-03-28T11:11:01.997Z] [2022-03-28T11:11:01.997Z] [2022-03-28T11:11:01.997Z] ==> git version 2.25.1 found [2022-03-28T11:11:01.997Z] ==> 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-03-28T11:11:01.997Z] Release-Date: 2020-01-08 [2022-03-28T11:11:01.997Z] 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-03-28T11:11:01.997Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-28T11:11:01.997Z] ==> Jenkins CI detected. [2022-03-28T11:11:01.997Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-271 [2022-03-28T11:11:01.997Z] project root: . [2022-03-28T11:11:01.997Z] --> token set from env [2022-03-28T11:11:01.997Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-28T11:11:01.997Z] ==> Running gcov in . (disable via -X gcov) [2022-03-28T11:11:01.997Z] ==> Python coveragepy not found [2022-03-28T11:11:01.997Z] ==> Searching for coverage reports in: [2022-03-28T11:11:01.997Z] + . [2022-03-28T11:11:01.997Z] -> Found 1 reports [2022-03-28T11:11:01.997Z] ==> Detecting git/mercurial file structure [2022-03-28T11:11:01.997Z] ==> Reading reports [2022-03-28T11:11:02.257Z] + ./coverage.out bytes=44128 [2022-03-28T11:11:02.257Z] ==> Appending adjustments [2022-03-28T11:11:02.257Z] https://docs.codecov.io/docs/fixing-reports [2022-03-28T11:11:02.257Z] + Found adjustments [2022-03-28T11:11:02.258Z] ==> Gzipping contents [2022-03-28T11:11:02.258Z] 8.0K /tmp/codecov.LkCBKi.gz [2022-03-28T11:11:02.258Z] ==> Uploading reports [2022-03-28T11:11:02.258Z] url: https://codecov.io [2022-03-28T11:11:02.258Z] query: branch=PR-271&commit=c778c8bc2935d1e501ad1b0166fdf375b7b4c990&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-271%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=271&job=&cmd_args= [2022-03-28T11:11:02.258Z] -> Pinging Codecov [2022-03-28T11:11:02.258Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-271&commit=c778c8bc2935d1e501ad1b0166fdf375b7b4c990&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-271%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=271&job=&cmd_args= [2022-03-28T11:11:05.558Z] -> Uploading to [2022-03-28T11:11:05.558Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-28/5E52B4B073DB2E39498172D8E973AA87/c778c8bc2935d1e501ad1b0166fdf375b7b4c990/36fb15c4-8f1f-43c1-bb9c-d4d05ab3b819.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220328T111105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e7fd8aeb25c3a6ceefb7abaaa0ef9c4aff2329c8ab59ec37305f3ffdc67b90f [2022-03-28T11:11:05.558Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-28T11:11:05.558Z] Dload Upload Total Spent Left Speed [2022-03-28T11:11:05.819Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5321 0 0 100 5321 0 18868 --:--:-- --:--:-- --:--:-- 18868 [2022-03-28T11:11:05.819Z] -> Reports have been successfully queued for processing at upstream connect error or disconnect/reset before headers. reset reason: connection failurehttps://codecov.io/github/edgexfoundry/device-virtual-go/commit/c778c8bc2935d1e501ad1b0166fdf375b7b4c990 [Pipeline] } [2022-03-28T11:11:05.902Z] 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-03-28T11:11:07.706Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-271/archives ] [2022-03-28T11:11:07.706Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-271/archives [2022-03-28T11:11:07.706Z] total 16 [2022-03-28T11:11:07.706Z] drwxr-xr-x 3 root root 4096 Mar 28 11:05 . [2022-03-28T11:11:07.706Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 11:05 .. [2022-03-28T11:11:07.706Z] drwxr-xr-x 2 root root 4096 Mar 28 11:05 cost [2022-03-28T11:11:07.706Z] -rw-r--r-- 1 root root 88 Mar 28 11:05 cost.csv [2022-03-28T11:11:07.706Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-271/archives [2022-03-28T11:11:07.706Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-271/archives [2022-03-28T11:11:07.706Z] total 16 [2022-03-28T11:11:07.706Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 11:05 . [2022-03-28T11:11:07.706Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 28 11:05 .. [2022-03-28T11:11:07.706Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 11:05 cost [2022-03-28T11:11:07.706Z] -rw-r--r-- 1 jenkins jenkins 88 Mar 28 11:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:11:08.038Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:11:08.949Z] ---> package-listing.sh [2022-03-28T11:11:08.949Z] ++ facter osfamily [2022-03-28T11:11:08.949Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-28T11:11:09.209Z] + OS_FAMILY=debian [2022-03-28T11:11:09.209Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-271 [2022-03-28T11:11:09.209Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-28T11:11:09.209Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-28T11:11:09.209Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-28T11:11:09.209Z] + PACKAGES=/tmp/packages_start.txt [2022-03-28T11:11:09.209Z] + '[' /w/workspace/foundry_device-virtual-go_PR-271 ']' [2022-03-28T11:11:09.209Z] + PACKAGES=/tmp/packages_end.txt [2022-03-28T11:11:09.209Z] + case "${OS_FAMILY}" in [2022-03-28T11:11:09.209Z] + dpkg -l [2022-03-28T11:11:09.209Z] + grep '^ii' [2022-03-28T11:11:09.209Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-28T11:11:09.209Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-28T11:11:09.209Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-28T11:11:09.209Z] + '[' /w/workspace/foundry_device-virtual-go_PR-271 ']' [2022-03-28T11:11:09.209Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-271/archives/ [2022-03-28T11:11:09.209Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-271/archives/ [Pipeline] echo [2022-03-28T11:11:09.248Z] 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-271/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-28T11:11:09.545Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-28T11:11:10.145Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-28T11:11:10.145Z] . [Pipeline] withDockerContainer [2022-03-28T11:11:10.262Z] prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container [2022-03-28T11:11:10.300Z] $ 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-271/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-271 -v /w/workspace/foundry_device-virtual-go_PR-271:/w/workspace/foundry_device-virtual-go_PR-271:rw,z -v /w/workspace/foundry_device-virtual-go_PR-271@tmp:/w/workspace/foundry_device-virtual-go_PR-271@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-28T11:11:10.525Z] $ docker top 6b418904063e24e8dd2d67a743f170025a0065c31c38f48380306f850099526e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-28T11:11:10.928Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-28T11:11:11.246Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-28T11:11:11.558Z] + ls /var/log/sa-host [2022-03-28T11:11:11.558Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-28T11:11:11.871Z] provisioning config files... [2022-03-28T11:11:11.880Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-271@tmp/config6006835986390760068tmp [Pipeline] { [Pipeline] echo [2022-03-28T11:11:11.939Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:11:12.279Z] ---> create-netrc.sh [Pipeline] } [2022-03-28T11:11:12.308Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:11:12.755Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-28T11:11:12.787Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:11:13.114Z] ---> sudo-logs.sh [2022-03-28T11:11:13.114Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-28T11:11:13.205Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:11:13.528Z] ---> job-cost.sh [2022-03-28T11:11:13.528Z] lf-activate-venv: SKIPPING [2022-03-28T11:11:13.528Z] DEBUG: total: 0.2199999988079071 [2022-03-28T11:11:13.528Z] INFO: Retrieving Stack Cost... [2022-03-28T11:11:14.101Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-28T11:11:14.361Z] INFO: Archiving Costs [Pipeline] echo [2022-03-28T11:11:14.396Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-28T11:11:14.720Z] ---> logs-deploy.sh [2022-03-28T11:11:14.720Z] lf-activate-venv: SKIPPING [2022-03-28T11:11:14.720Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-271/1 [2022-03-28T11:11:14.720Z] INFO: archiving workspace using pattern(s): [2022-03-28T11:11:15.661Z] Archives upload complete. [2022-03-28T11:11:15.662Z] INFO: archiving logs to Nexus