Pull request #1117 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f0733ce640faf8fc22d41b8a0cdbe97fb0095777+0c98a10ee9e4548efad256221762cfb1e846b147 (6feac3a6e693486a573d437a2bacf096c812976c) 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-ssh16695803203206041617.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-ssh5524479320547950805.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-sdk-go/branches/PR-1117/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-sdk-go/branches/PR-1117/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3079672008700609501.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-sdk-go/branches/PR-1117/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3590982741888374415.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-ssh7502202963878798206.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-sdk-go/branches/PR-1117/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-sdk-go/branches/PR-1117/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16982569385821847802.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 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-9309 in /w/workspace/gexfoundry_device-sdk-go_PR-1117 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1117 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 0c98a10ee9e4548efad256221762cfb1e846b147 into PR head commit f0733ce640faf8fc22d41b8a0cdbe97fb0095777 Merge succeeded, producing f0733ce640faf8fc22d41b8a0cdbe97fb0095777 Checking out Revision f0733ce640faf8fc22d41b8a0cdbe97fb0095777 (PR-1117) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1117/head:refs/remotes/origin/PR-1117 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f0733ce640faf8fc22d41b8a0cdbe97fb0095777 # 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 0c98a10ee9e4548efad256221762cfb1e846b147 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f0733ce640faf8fc22d41b8a0cdbe97fb0095777 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/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-29T04:05:46.328Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-29T04:05:46.529Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-29T04:05:46.635Z] ========================================================= [2022-03-29T04:05:46.635Z] EdgeX Global Pipelines Version Info [2022-03-29T04:05:46.635Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:05:47.402Z] ------------------- [2022-03-29T04:05:47.403Z] stable info: [2022-03-29T04:05:47.403Z] ------------------- [2022-03-29T04:05:47.403Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-29T04:05:47.403Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-29T04:05:47.403Z] Message: update stable to v1.0.221 [2022-03-29T04:05:47.977Z] ------------------- [2022-03-29T04:05:47.977Z] experimental info: [2022-03-29T04:05:47.977Z] ------------------- [2022-03-29T04:05:47.977Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-29T04:05:47.977Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-29T04:05:47.977Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-29T04:05:48.233Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-29T04:05:48.275Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-29T04:05:48.318Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-29T04:05:48.355Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-29T04:05:48.396Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-29T04:05:48.441Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-29T04:05:48.480Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-29T04:05:48.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-29T04:05:48.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-29T04:05:48.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-29T04:05:48.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-29T04:05:48.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-29T04:05:48.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-29T04:05:48.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-29T04:05:48.833Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-29T04:05:48.875Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-29T04:05:48.910Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-29T04:05:48.948Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-29T04:05:48.995Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-29T04:05:49.038Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-29T04:05:49.083Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-29T04:05:49.126Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-29T04:05:49.171Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-29T04:05:49.210Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-29T04:05:49.252Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-29T04:05:49.292Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-29T04:05:49.334Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1117 [Pipeline] echo [2022-03-29T04:05:49.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1117 [Pipeline] echo [2022-03-29T04:05:49.417Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1117 [Pipeline] echo [2022-03-29T04:05:49.455Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f0733ce640faf8fc22d41b8a0cdbe97fb0095777 [Pipeline] echo [2022-03-29T04:05:49.497Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f0733ce [Pipeline] echo [2022-03-29T04:05:49.538Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-29T04:05:49.654Z] provisioning config files... [2022-03-29T04:05:49.674Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp/config321066068837310208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:05:50.018Z] ---> docker-login.sh [2022-03-29T04:05:50.018Z] nexus3.edgexfoundry.org:10001 [2022-03-29T04:05:50.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:05:50.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:05:50.286Z] Configure a credential helper to remove this warning. See [2022-03-29T04:05:50.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:05:50.286Z] [2022-03-29T04:05:50.286Z] Login Succeeded [2022-03-29T04:05:50.286Z] nexus3.edgexfoundry.org:10002 [2022-03-29T04:05:50.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:05:50.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:05:50.555Z] Configure a credential helper to remove this warning. See [2022-03-29T04:05:50.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:05:50.555Z] [2022-03-29T04:05:50.555Z] Login Succeeded [2022-03-29T04:05:50.555Z] nexus3.edgexfoundry.org:10003 [2022-03-29T04:05:50.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:05:50.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:05:50.555Z] Configure a credential helper to remove this warning. See [2022-03-29T04:05:50.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:05:50.555Z] [2022-03-29T04:05:50.555Z] Login Succeeded [2022-03-29T04:05:50.555Z] nexus3.edgexfoundry.org:10004 [2022-03-29T04:05:50.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:05:50.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:05:50.823Z] Configure a credential helper to remove this warning. See [2022-03-29T04:05:50.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:05:50.823Z] [2022-03-29T04:05:50.823Z] Login Succeeded [2022-03-29T04:05:50.823Z] docker.io [2022-03-29T04:05:50.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:05:51.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:05:51.395Z] Configure a credential helper to remove this warning. See [2022-03-29T04:05:51.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:05:51.395Z] [2022-03-29T04:05:51.395Z] Login Succeeded [2022-03-29T04:05:51.395Z] ---> docker-login.sh ends [Pipeline] } [2022-03-29T04:05:51.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-29T04:05:52.066Z] + git rev-list -1 --merges f0733ce640faf8fc22d41b8a0cdbe97fb0095777~1..f0733ce640faf8fc22d41b8a0cdbe97fb0095777 [Pipeline] echo [2022-03-29T04:05:52.190Z] -----------> git rev-list -1 --merges f0733ce640faf8fc22d41b8a0cdbe97fb0095777~1..f0733ce640faf8fc22d41b8a0cdbe97fb0095777 f0733ce640faf8fc22d41b8a0cdbe97fb0095777 [false] [Pipeline] sh [2022-03-29T04:05:52.512Z] + git log --format=format:%s -1 f0733ce640faf8fc22d41b8a0cdbe97fb0095777 [Pipeline] echo [2022-03-29T04:05:52.547Z] ========================================================= [2022-03-29T04:05:52.547Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-29T04:05:52.547Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-29T04:05:52.990Z] + git log --format=format:%s -1 f0733ce640faf8fc22d41b8a0cdbe97fb0095777 [Pipeline] echo [2022-03-29T04:05:53.029Z] [semverPrep] GIT_COMMIT: f0733ce640faf8fc22d41b8a0cdbe97fb0095777, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-03-29T04:05:53.059Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-29T04:05:53.513Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-29T04:05:53.513Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-29T04:05:53.513Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-29T04:05:53.513Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-29T04:05:53.513Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-29T04:05:53.513Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-29T04:05:53.513Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:05:53.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-29T04:05:53.967Z] [2022-03-29T04:05:53.967Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:05:54.323Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-29T04:05:54.323Z] latest: Pulling from edgex-devops/git-semver [2022-03-29T04:05:54.323Z] a0d0a0d46f8b: Pulling fs layer [2022-03-29T04:05:54.323Z] 3e5f54012d9b: Pulling fs layer [2022-03-29T04:05:54.323Z] 4c7163046ea9: Pulling fs layer [2022-03-29T04:05:54.323Z] 0c2d73faf560: Pulling fs layer [2022-03-29T04:05:54.323Z] 0c2d73faf560: Waiting [2022-03-29T04:05:54.323Z] 3e5f54012d9b: Verifying Checksum [2022-03-29T04:05:54.323Z] 3e5f54012d9b: Download complete [2022-03-29T04:05:54.323Z] a0d0a0d46f8b: Download complete [2022-03-29T04:05:54.323Z] 0c2d73faf560: Download complete [2022-03-29T04:05:54.323Z] 4c7163046ea9: Verifying Checksum [2022-03-29T04:05:54.323Z] 4c7163046ea9: Download complete [2022-03-29T04:05:54.583Z] a0d0a0d46f8b: Pull complete [2022-03-29T04:05:54.583Z] 3e5f54012d9b: Pull complete [2022-03-29T04:05:54.844Z] 4c7163046ea9: Pull complete [2022-03-29T04:05:55.105Z] 0c2d73faf560: Pull complete [2022-03-29T04:05:55.105Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-29T04:05:55.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-29T04:05:55.105Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-29T04:05:55.204Z] prd-ubuntu20.04-docker-8c-8g-9309 does not seem to be running inside a container [2022-03-29T04:05:55.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1117 -v /w/workspace/gexfoundry_device-sdk-go_PR-1117:/w/workspace/gexfoundry_device-sdk-go_PR-1117:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1117@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-29T04:05:55.936Z] $ docker top 9b6bacf82d5cc4375d3d0119ae1525710eada1904b37b580261bd765b54c07d9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-29T04:05:56.127Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-29T04:05:56.127Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-29T04:05:56.250Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-29T04:05:56.259Z] $ docker exec 9b6bacf82d5cc4375d3d0119ae1525710eada1904b37b580261bd765b54c07d9 ssh-agent [2022-03-29T04:05:56.374Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJOkcch/agent.13 [2022-03-29T04:05:56.374Z] SSH_AGENT_PID=19 [2022-03-29T04:05:56.382Z] Running ssh-add (command line suppressed) [2022-03-29T04:05:56.503Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp/private_key_1825711235673107691.key (/w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp/private_key_1825711235673107691.key) [2022-03-29T04:05:56.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-29T04:05:56.848Z] + git tag --points-at HEAD [Pipeline] } [2022-03-29T04:05:56.879Z] $ docker exec --env ******** --env ******** 9b6bacf82d5cc4375d3d0119ae1525710eada1904b37b580261bd765b54c07d9 ssh-agent -k [2022-03-29T04:05:56.977Z] unset SSH_AUTH_SOCK; [2022-03-29T04:05:56.977Z] unset SSH_AGENT_PID; [2022-03-29T04:05:56.977Z] echo Agent pid 19 killed; [2022-03-29T04:05:56.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-29T04:05:57.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-29T04:05:57.064Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-29T04:05:57.195Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-29T04:05:57.203Z] $ docker exec 9b6bacf82d5cc4375d3d0119ae1525710eada1904b37b580261bd765b54c07d9 ssh-agent [2022-03-29T04:05:57.320Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhjakDo/agent.52 [2022-03-29T04:05:57.320Z] SSH_AGENT_PID=59 [2022-03-29T04:05:57.325Z] Running ssh-add (command line suppressed) [2022-03-29T04:05:57.455Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp/private_key_5912230282322870959.key (/w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp/private_key_5912230282322870959.key) [2022-03-29T04:05:57.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-29T04:05:57.802Z] + git semver init [2022-03-29T04:05:57.802Z] # -> Open(): unable to determine branch for HEAD [2022-03-29T04:05:57.802Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1117/.git [2022-03-29T04:05:57.802Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1117 [2022-03-29T04:05:57.802Z] # $SEMVER_REMOTE_NAME = origin [2022-03-29T04:05:57.802Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-29T04:05:57.802Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-29T04:05:57.802Z] # $SEMVER_BRANCH = PR-1117 [2022-03-29T04:05:57.802Z] # $SEMVER_TEMP = /tmp/semver-698162503 [2022-03-29T04:05:57.802Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-29T04:05:58.744Z] # '/tmp/semver-698162503' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1117/.semver' [2022-03-29T04:05:58.744Z] # -> Force: false [2022-03-29T04:05:58.744Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1117/.semver [Pipeline] } [2022-03-29T04:05:58.779Z] $ docker exec --env ******** --env ******** 9b6bacf82d5cc4375d3d0119ae1525710eada1904b37b580261bd765b54c07d9 ssh-agent -k [2022-03-29T04:05:58.883Z] unset SSH_AUTH_SOCK; [2022-03-29T04:05:58.884Z] unset SSH_AGENT_PID; [2022-03-29T04:05:58.884Z] echo Agent pid 59 killed; [2022-03-29T04:05:58.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-29T04:05:59.324Z] + git semver [Pipeline] } [2022-03-29T04:05:59.400Z] $ docker stop --time=1 9b6bacf82d5cc4375d3d0119ae1525710eada1904b37b580261bd765b54c07d9 [2022-03-29T04:06:00.771Z] $ docker rm -f 9b6bacf82d5cc4375d3d0119ae1525710eada1904b37b580261bd765b54c07d9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-29T04:06:01.180Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-29T04:06:01.499Z] Stashed 1 file(s) [Pipeline] echo [2022-03-29T04:06:01.520Z] [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-29T04:06:02.091Z] provisioning config files... [2022-03-29T04:06:02.101Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp/config6994682869319662571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:06:02.439Z] ---> docker-login.sh [2022-03-29T04:06:02.439Z] nexus3.edgexfoundry.org:10001 [2022-03-29T04:06:02.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:06:02.439Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:06:02.439Z] Configure a credential helper to remove this warning. See [2022-03-29T04:06:02.439Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:06:02.439Z] [2022-03-29T04:06:02.439Z] Login Succeeded [2022-03-29T04:06:02.440Z] nexus3.edgexfoundry.org:10002 [2022-03-29T04:06:02.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:06:02.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:06:02.440Z] Configure a credential helper to remove this warning. See [2022-03-29T04:06:02.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:06:02.440Z] [2022-03-29T04:06:02.440Z] Login Succeeded [2022-03-29T04:06:02.440Z] nexus3.edgexfoundry.org:10003 [2022-03-29T04:06:02.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:06:02.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:06:02.705Z] Configure a credential helper to remove this warning. See [2022-03-29T04:06:02.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:06:02.705Z] [2022-03-29T04:06:02.705Z] Login Succeeded [2022-03-29T04:06:02.705Z] nexus3.edgexfoundry.org:10004 [2022-03-29T04:06:02.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:06:02.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:06:02.705Z] Configure a credential helper to remove this warning. See [2022-03-29T04:06:02.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:06:02.705Z] [2022-03-29T04:06:02.705Z] Login Succeeded [2022-03-29T04:06:02.705Z] docker.io [2022-03-29T04:06:02.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:06:03.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:06:03.227Z] Configure a credential helper to remove this warning. See [2022-03-29T04:06:03.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:06:03.227Z] [2022-03-29T04:06:03.227Z] Login Succeeded [2022-03-29T04:06:03.227Z] ---> docker-login.sh ends [Pipeline] } [2022-03-29T04:06:03.257Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-29T04:06:03.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-29T04:06:03.509Z] ========================================================= [2022-03-29T04:06:03.509Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-29T04:06:03.509Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:06:03.917Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/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-29T04:06:03.917Z] Sending build context to Docker daemon 9.548MB [2022-03-29T04:06:03.917Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-29T04:06:03.917Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-29T04:06:03.917Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-29T04:06:03.917Z] 59bf1c3509f3: Pulling fs layer [2022-03-29T04:06:03.917Z] 666ba61612fd: Pulling fs layer [2022-03-29T04:06:03.917Z] 8ed8ca486205: Pulling fs layer [2022-03-29T04:06:03.917Z] 4fe6c5a15a65: Pulling fs layer [2022-03-29T04:06:03.917Z] 22a0e8bec74d: Pulling fs layer [2022-03-29T04:06:03.917Z] 640e595b4fbd: Pulling fs layer [2022-03-29T04:06:03.917Z] 763cafe07f6e: Pulling fs layer [2022-03-29T04:06:03.917Z] 0c0b528cf693: Pulling fs layer [2022-03-29T04:06:03.917Z] 10935f4eaf8b: Pulling fs layer [2022-03-29T04:06:03.917Z] 22a0e8bec74d: Waiting [2022-03-29T04:06:03.917Z] 763cafe07f6e: Waiting [2022-03-29T04:06:03.917Z] 0c0b528cf693: Waiting [2022-03-29T04:06:03.917Z] 640e595b4fbd: Waiting [2022-03-29T04:06:03.917Z] 10935f4eaf8b: Waiting [2022-03-29T04:06:03.917Z] 4fe6c5a15a65: Waiting [2022-03-29T04:06:03.917Z] 8ed8ca486205: Verifying Checksum [2022-03-29T04:06:03.917Z] 8ed8ca486205: Download complete [2022-03-29T04:06:04.177Z] 666ba61612fd: Download complete [2022-03-29T04:06:04.177Z] 22a0e8bec74d: Verifying Checksum [2022-03-29T04:06:04.177Z] 22a0e8bec74d: Download complete [2022-03-29T04:06:04.177Z] 59bf1c3509f3: Verifying Checksum [2022-03-29T04:06:04.177Z] 640e595b4fbd: Download complete [2022-03-29T04:06:04.177Z] 763cafe07f6e: Verifying Checksum [2022-03-29T04:06:04.177Z] 763cafe07f6e: Download complete [2022-03-29T04:06:04.177Z] 0c0b528cf693: Verifying Checksum [2022-03-29T04:06:04.177Z] 0c0b528cf693: Download complete [2022-03-29T04:06:04.177Z] 59bf1c3509f3: Pull complete [2022-03-29T04:06:04.440Z] 666ba61612fd: Pull complete [2022-03-29T04:06:04.441Z] 8ed8ca486205: Pull complete [2022-03-29T04:06:04.701Z] 10935f4eaf8b: Verifying Checksum [2022-03-29T04:06:04.701Z] 10935f4eaf8b: Download complete [2022-03-29T04:06:04.701Z] 4fe6c5a15a65: Verifying Checksum [2022-03-29T04:06:04.701Z] 4fe6c5a15a65: Download complete [2022-03-29T04:06:08.898Z] 4fe6c5a15a65: Pull complete [2022-03-29T04:06:08.898Z] 22a0e8bec74d: Pull complete [2022-03-29T04:06:08.898Z] 640e595b4fbd: Pull complete [2022-03-29T04:06:08.898Z] 763cafe07f6e: Pull complete [2022-03-29T04:06:08.898Z] 0c0b528cf693: Pull complete [2022-03-29T04:06:10.807Z] 10935f4eaf8b: Pull complete [2022-03-29T04:06:10.807Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-29T04:06:10.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-29T04:06:10.807Z] ---> 99d49a6021b9 [2022-03-29T04:06:10.807Z] Step 3/11 : ARG MAKE=make build [2022-03-29T04:06:12.194Z] ---> Running in 9671173c8558 [2022-03-29T04:06:12.194Z] Removing intermediate container 9671173c8558 [2022-03-29T04:06:12.194Z] ---> 8c1f183c4454 [2022-03-29T04:06:12.194Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-29T04:06:12.194Z] ---> Running in 93b3c1d0ebec [2022-03-29T04:06:12.194Z] Removing intermediate container 93b3c1d0ebec [2022-03-29T04:06:12.194Z] ---> cb013e502329 [2022-03-29T04:06:12.194Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-29T04:06:12.194Z] ---> Running in 744ef5c765b2 [2022-03-29T04:06:12.194Z] Removing intermediate container 744ef5c765b2 [2022-03-29T04:06:12.194Z] ---> 5dce427ede0c [2022-03-29T04:06:12.194Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-29T04:06:12.194Z] ---> Running in 6ca3f1f00d65 [2022-03-29T04:06:12.763Z] Removing intermediate container 6ca3f1f00d65 [2022-03-29T04:06:12.763Z] ---> 271de21240b2 [2022-03-29T04:06:12.763Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-29T04:06:13.026Z] ---> Running in 23e3af37d7f8 [2022-03-29T04:06:13.286Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-29T04:06:14.227Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-29T04:06:14.492Z] OK: 221 MiB in 52 packages [2022-03-29T04:06:14.752Z] Removing intermediate container 23e3af37d7f8 [2022-03-29T04:06:14.752Z] ---> 9cac593a5353 [2022-03-29T04:06:14.752Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-29T04:06:14.752Z] ---> d6d3d6915912 [2022-03-29T04:06:14.752Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-29T04:06:15.012Z] ---> Running in ebcee046fd24 [2022-03-29T04:06:16.933Z] Still waiting to schedule task [2022-03-29T04:06:16.933Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-29T04:06:41.591Z] Removing intermediate container ebcee046fd24 [2022-03-29T04:06:41.591Z] ---> 6ebf2d3da527 [2022-03-29T04:06:41.591Z] Step 10/11 : COPY . . [2022-03-29T04:06:41.591Z] ---> 29ec7de9037a [2022-03-29T04:06:41.591Z] Step 11/11 : RUN ${MAKE} [2022-03-29T04:06:41.591Z] ---> Running in fcf9b86dd46a [2022-03-29T04:06:41.591Z] noop [2022-03-29T04:06:41.591Z] Removing intermediate container fcf9b86dd46a [2022-03-29T04:06:41.591Z] ---> 3a513d80349e [2022-03-29T04:06:41.591Z] Successfully built 3a513d80349e [2022-03-29T04:06:41.591Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:06:41.920Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-29T04:06:41.920Z] . [Pipeline] withDockerContainer [2022-03-29T04:06:42.009Z] prd-ubuntu20.04-docker-8c-8g-9309 does not seem to be running inside a container [2022-03-29T04:06:42.050Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1117 -v /w/workspace/gexfoundry_device-sdk-go_PR-1117:/w/workspace/gexfoundry_device-sdk-go_PR-1117:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1117@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-29T04:06:42.415Z] $ docker top 2d6b2ff51112cec788672fff5e099da0b84168b08450dbb03da16d67e9e1830d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-29T04:06:42.809Z] + go version [2022-03-29T04:06:42.809Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-29T04:06:42.846Z] $ docker stop --time=1 2d6b2ff51112cec788672fff5e099da0b84168b08450dbb03da16d67e9e1830d [2022-03-29T04:06:44.142Z] $ docker rm -f 2d6b2ff51112cec788672fff5e099da0b84168b08450dbb03da16d67e9e1830d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:06:44.793Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-29T04:06:44.793Z] . [Pipeline] withDockerContainer [2022-03-29T04:06:44.897Z] prd-ubuntu20.04-docker-8c-8g-9309 does not seem to be running inside a container [2022-03-29T04:06:44.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1117 -v /w/workspace/gexfoundry_device-sdk-go_PR-1117:/w/workspace/gexfoundry_device-sdk-go_PR-1117:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1117@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-29T04:06:45.298Z] $ docker top c780a01648477e543925aeea8d1889143c4d8d5b8c9a4c6643bc417ceb700f52 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-29T04:06:45.753Z] + make test [2022-03-29T04:06:45.753Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-29T04:06:46.012Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-29T04:06:52.586Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/application [github.com/edgexfoundry/device-sdk-go/v2/internal/application.test] [2022-03-29T04:06:52.586Z] internal/application/command_test.go:82:4: cannot use promoted field DeviceProfileBasicInfo.Name in struct literal of type dtos.DeviceProfile [2022-03-29T04:06:52.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-29T04:06:52.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-29T04:06:52.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-29T04:06:52.586Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] [2022-03-29T04:06:52.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-29T04:06:52.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.013s coverage: 27.6% of statements [2022-03-29T04:06:52.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.011s coverage: 78.9% of statements [2022-03-29T04:06:52.586Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.020s coverage: 10.8% of statements [2022-03-29T04:06:52.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-29T04:06:52.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-29T04:06:52.586Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-29T04:06:52.845Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.015s coverage: 33.2% of statements [2022-03-29T04:06:52.845Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-29T04:06:53.514Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.022s coverage: 86.1% of statements [2022-03-29T04:06:53.514Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-29T04:06:53.514Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-29T04:06:53.514Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.020s coverage: 57.4% of statements [2022-03-29T04:06:53.514Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.042s coverage: 89.2% of statements [2022-03-29T04:06:53.514Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-29T04:06:53.514Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.013s coverage: 4.8% of statements [2022-03-29T04:06:53.514Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-29T04:06:53.514Z] FAIL [2022-03-29T04:06:53.514Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2022-03-29T04:06:53.556Z] $ docker stop --time=1 c780a01648477e543925aeea8d1889143c4d8d5b8c9a4c6643bc417ceb700f52 [2022-03-29T04:06:55.133Z] $ docker rm -f c780a01648477e543925aeea8d1889143c4d8d5b8c9a4c6643bc417ceb700f52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:06:56.189Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-29T04:06:56.189Z] [2022-03-29T04:06:56.189Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:06:56.538Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-29T04:06:56.538Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-29T04:06:56.538Z] 5eb5b503b376: Pulling fs layer [2022-03-29T04:06:56.538Z] 5c69ac0246d0: Pulling fs layer [2022-03-29T04:06:56.538Z] ec43610c2a17: Pulling fs layer [2022-03-29T04:06:56.538Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-29T04:06:56.538Z] 33b1e0a273af: Pulling fs layer [2022-03-29T04:06:56.538Z] 5d3b04190fa2: Pulling fs layer [2022-03-29T04:06:56.538Z] 2f39f015ded8: Pulling fs layer [2022-03-29T04:06:56.538Z] 2f39f015ded8: Waiting [2022-03-29T04:06:56.538Z] 5d3b04190fa2: Waiting [2022-03-29T04:06:56.538Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-29T04:06:56.538Z] 3a2ae6a8a46f: Download complete [2022-03-29T04:06:56.538Z] 33b1e0a273af: Verifying Checksum [2022-03-29T04:06:56.538Z] 33b1e0a273af: Download complete [2022-03-29T04:06:56.538Z] ec43610c2a17: Verifying Checksum [2022-03-29T04:06:56.538Z] ec43610c2a17: Download complete [2022-03-29T04:06:56.538Z] 5d3b04190fa2: Verifying Checksum [2022-03-29T04:06:56.538Z] 5d3b04190fa2: Download complete [2022-03-29T04:06:56.798Z] 5eb5b503b376: Verifying Checksum [2022-03-29T04:06:56.798Z] 5eb5b503b376: Download complete [2022-03-29T04:06:57.369Z] 2f39f015ded8: Verifying Checksum [2022-03-29T04:06:57.369Z] 2f39f015ded8: Download complete [2022-03-29T04:06:57.936Z] 5eb5b503b376: Pull complete [2022-03-29T04:06:58.196Z] 5c69ac0246d0: Pull complete [2022-03-29T04:06:58.456Z] ec43610c2a17: Pull complete [2022-03-29T04:06:58.716Z] 3a2ae6a8a46f: Pull complete [2022-03-29T04:06:58.977Z] 33b1e0a273af: Pull complete [2022-03-29T04:06:58.977Z] 5d3b04190fa2: Pull complete [2022-03-29T04:07:03.177Z] 2f39f015ded8: Pull complete [2022-03-29T04:07:03.177Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-29T04:07:03.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-29T04:07:03.178Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-29T04:07:03.269Z] prd-ubuntu20.04-docker-8c-8g-9309 does not seem to be running inside a container [2022-03-29T04:07:03.309Z] $ 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/gexfoundry_device-sdk-go_PR-1117 -v /w/workspace/gexfoundry_device-sdk-go_PR-1117:/w/workspace/gexfoundry_device-sdk-go_PR-1117:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1117@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-29T04:07:05.089Z] $ docker top ea76b4fbc0ed1884e25344b86700fbde88e92c359084feb4282ddff90fd0d910 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:07:05.584Z] ---> job-cost.sh [2022-03-29T04:07:05.584Z] lf-activate-venv: SKIPPING [2022-03-29T04:07:05.584Z] INFO: No Stack... [2022-03-29T04:07:05.845Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-29T04:07:06.415Z] INFO: Archiving Costs [Pipeline] sh [2022-03-29T04:07:06.750Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1117/archives/cost.csv [2022-03-29T04:07:06.750Z] + cut -d, -f6 [Pipeline] lock [2022-03-29T04:07:06.782Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1117-1-stack-cost] [2022-03-29T04:07:06.787Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1117-1-stack-cost] did not exist. Created. [2022-03-29T04:07:06.787Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-29T04:07:07.173Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-29T04:07:07.233Z] Stashed 1 file(s) [Pipeline] } [2022-03-29T04:07:07.254Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1117-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-29T04:07:07.329Z] $ docker stop --time=1 ea76b4fbc0ed1884e25344b86700fbde88e92c359084feb4282ddff90fd0d910 [2022-03-29T04:07:08.521Z] $ docker rm -f ea76b4fbc0ed1884e25344b86700fbde88e92c359084feb4282ddff90fd0d910 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-29T04:07:08.903Z] Failed in branch amd64 [2022-03-29T04:07:51.680Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9312 in /w/workspace/gexfoundry_device-sdk-go_PR-1117 [Pipeline] { [Pipeline] ws [2022-03-29T04:07:51.722Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-03-29T04:07:52.254Z] The recommended git tool is: git [2022-03-29T04:07:58.904Z] using credential edgex-jenkins-ssh [2022-03-29T04:07:58.923Z] Cloning the remote Git repository [2022-03-29T04:07:58.991Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-29T04:07:59.077Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-03-29T04:07:59.307Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-29T04:07:59.308Z] > git --version # timeout=10 [2022-03-29T04:07:59.355Z] > git --version # 'git version 2.25.1' [2022-03-29T04:07:59.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-29T04:07:59.496Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-29T04:08:01.168Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-29T04:08:01.194Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-29T04:08:01.225Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-29T04:08:01.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-29T04:08:01.264Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-29T04:08:01.282Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1117/head:refs/remotes/origin/PR-1117 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-29T04:08:01.922Z] Merging remotes/origin/main commit 0c98a10ee9e4548efad256221762cfb1e846b147 into PR head commit f0733ce640faf8fc22d41b8a0cdbe97fb0095777 [2022-03-29T04:08:02.171Z] Merge succeeded, producing f0733ce640faf8fc22d41b8a0cdbe97fb0095777 [2022-03-29T04:08:02.172Z] Checking out Revision f0733ce640faf8fc22d41b8a0cdbe97fb0095777 (PR-1117) [2022-03-29T04:08:01.944Z] > git config core.sparsecheckout # timeout=10 [2022-03-29T04:08:01.960Z] > git checkout -f f0733ce640faf8fc22d41b8a0cdbe97fb0095777 # timeout=10 [2022-03-29T04:08:02.078Z] > git remote # timeout=10 [2022-03-29T04:08:02.094Z] > git config --get remote.origin.url # timeout=10 [2022-03-29T04:08:02.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-29T04:08:02.134Z] > git merge 0c98a10ee9e4548efad256221762cfb1e846b147 # timeout=10 [2022-03-29T04:08:02.158Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-29T04:08:02.179Z] > git config core.sparsecheckout # timeout=10 [2022-03-29T04:08:02.191Z] > git checkout -f f0733ce640faf8fc22d41b8a0cdbe97fb0095777 # timeout=10 [2022-03-29T04:08:06.457Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-03-29T04:08:06.518Z] > git --version # timeout=10 [2022-03-29T04:08:06.533Z] > git --version # 'git version 2.25.1' [2022-03-29T04:08:06.548Z] fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-29T04:08:07.628Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-29T04:08:07.628Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-29T04:08:07.628Z] Dload Upload Total Spent Left Speed [2022-03-29T04:08:07.628Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45030 0 --:--:-- --:--:-- --:--:-- 45030 100 11843 100 11843 0 0 44859 0 --:--:-- --:--:-- --:--:-- 44690 [Pipeline] sh [2022-03-29T04:08:08.169Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-29T04:08:08.530Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-29T04:08:08.530Z] + sudo tee /etc/docker/daemon.new [2022-03-29T04:08:08.530Z] { [2022-03-29T04:08:08.530Z] "registry-mirrors": [ [2022-03-29T04:08:08.530Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-29T04:08:08.530Z] ], [2022-03-29T04:08:08.530Z] "bip": "10.250.0.254/24", [2022-03-29T04:08:08.530Z] "hosts": [ [2022-03-29T04:08:08.530Z] "tcp://0.0.0.0:5555", [2022-03-29T04:08:08.530Z] "unix:///var/run/docker.sock" [2022-03-29T04:08:08.530Z] ], [2022-03-29T04:08:08.531Z] "mtu": 1458, [2022-03-29T04:08:08.531Z] "selinux-enabled": true, [2022-03-29T04:08:08.531Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-29T04:08:08.531Z] } [Pipeline] sh [2022-03-29T04:08:08.916Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-29T04:08:09.339Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-29T04:08:27.765Z] provisioning config files... [2022-03-29T04:08:27.801Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8622687024432790441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:08:28.439Z] ---> docker-login.sh [2022-03-29T04:08:28.439Z] nexus3.edgexfoundry.org:10001 [2022-03-29T04:08:29.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:08:29.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:08:29.316Z] Configure a credential helper to remove this warning. See [2022-03-29T04:08:29.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:08:29.316Z] [2022-03-29T04:08:29.316Z] Login Succeeded [2022-03-29T04:08:29.316Z] nexus3.edgexfoundry.org:10002 [2022-03-29T04:08:29.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:08:29.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:08:29.889Z] Configure a credential helper to remove this warning. See [2022-03-29T04:08:29.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:08:29.889Z] [2022-03-29T04:08:29.889Z] Login Succeeded [2022-03-29T04:08:29.889Z] nexus3.edgexfoundry.org:10003 [2022-03-29T04:08:30.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:08:30.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:08:30.449Z] Configure a credential helper to remove this warning. See [2022-03-29T04:08:30.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:08:30.449Z] [2022-03-29T04:08:30.449Z] Login Succeeded [2022-03-29T04:08:30.449Z] nexus3.edgexfoundry.org:10004 [2022-03-29T04:08:30.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:08:30.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:08:30.725Z] Configure a credential helper to remove this warning. See [2022-03-29T04:08:30.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:08:30.725Z] [2022-03-29T04:08:30.725Z] Login Succeeded [2022-03-29T04:08:30.725Z] docker.io [2022-03-29T04:08:31.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-29T04:08:31.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-29T04:08:31.601Z] Configure a credential helper to remove this warning. See [2022-03-29T04:08:31.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-29T04:08:31.601Z] [2022-03-29T04:08:31.601Z] Login Succeeded [2022-03-29T04:08:31.601Z] ---> docker-login.sh ends [Pipeline] } [2022-03-29T04:08:31.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-29T04:08:32.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-29T04:08:32.071Z] ========================================================= [2022-03-29T04:08:32.071Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-29T04:08:32.071Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:08:32.517Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/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-29T04:08:33.127Z] Sending build context to Docker daemon 5.161MB [2022-03-29T04:08:33.127Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-29T04:08:33.127Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-29T04:08:33.127Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-29T04:08:33.127Z] 9b3977197b4f: Pulling fs layer [2022-03-29T04:08:33.127Z] 1a89e8eeedd5: Pulling fs layer [2022-03-29T04:08:33.127Z] 94645a83ff95: Pulling fs layer [2022-03-29T04:08:33.127Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-29T04:08:33.127Z] 0c92f367c5e7: Pulling fs layer [2022-03-29T04:08:33.127Z] f7c0051592d6: Pulling fs layer [2022-03-29T04:08:33.127Z] a227ed2f7395: Pulling fs layer [2022-03-29T04:08:33.127Z] 7b1c46037f91: Pulling fs layer [2022-03-29T04:08:33.127Z] 0c92f367c5e7: Waiting [2022-03-29T04:08:33.127Z] f7c0051592d6: Waiting [2022-03-29T04:08:33.127Z] a227ed2f7395: Waiting [2022-03-29T04:08:33.127Z] 7b1c46037f91: Waiting [2022-03-29T04:08:33.127Z] 3f3a8bcf1eab: Waiting [2022-03-29T04:08:33.127Z] 94645a83ff95: Verifying Checksum [2022-03-29T04:08:33.127Z] 94645a83ff95: Download complete [2022-03-29T04:08:33.127Z] 1a89e8eeedd5: Verifying Checksum [2022-03-29T04:08:33.127Z] 1a89e8eeedd5: Download complete [2022-03-29T04:08:33.127Z] 0c92f367c5e7: Verifying Checksum [2022-03-29T04:08:33.127Z] 0c92f367c5e7: Download complete [2022-03-29T04:08:33.127Z] f7c0051592d6: Verifying Checksum [2022-03-29T04:08:33.127Z] f7c0051592d6: Download complete [2022-03-29T04:08:33.127Z] 9b3977197b4f: Download complete [2022-03-29T04:08:33.414Z] a227ed2f7395: Verifying Checksum [2022-03-29T04:08:33.414Z] a227ed2f7395: Download complete [2022-03-29T04:08:34.024Z] 9b3977197b4f: Pull complete [2022-03-29T04:08:34.628Z] 1a89e8eeedd5: Pull complete [2022-03-29T04:08:34.905Z] 94645a83ff95: Pull complete [2022-03-29T04:08:35.182Z] 7b1c46037f91: Verifying Checksum [2022-03-29T04:08:35.182Z] 7b1c46037f91: Download complete [2022-03-29T04:08:35.794Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-29T04:08:35.794Z] 3f3a8bcf1eab: Download complete [2022-03-29T04:08:48.214Z] 3f3a8bcf1eab: Pull complete [2022-03-29T04:08:48.214Z] 0c92f367c5e7: Pull complete [2022-03-29T04:08:48.214Z] f7c0051592d6: Pull complete [2022-03-29T04:08:48.214Z] a227ed2f7395: Pull complete [2022-03-29T04:08:54.947Z] 7b1c46037f91: Pull complete [2022-03-29T04:08:54.947Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-29T04:08:54.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-29T04:08:54.947Z] ---> f79e39bc4007 [2022-03-29T04:08:54.947Z] Step 3/11 : ARG MAKE=make build [2022-03-29T04:08:56.923Z] ---> Running in 079e14bfb0f5 [2022-03-29T04:08:57.199Z] Removing intermediate container 079e14bfb0f5 [2022-03-29T04:08:57.199Z] ---> 37747668b0ea [2022-03-29T04:08:57.199Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-29T04:08:57.477Z] ---> Running in 7308ce966b9e [2022-03-29T04:08:57.751Z] Removing intermediate container 7308ce966b9e [2022-03-29T04:08:57.751Z] ---> 4325bee1dd2c [2022-03-29T04:08:57.751Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-29T04:08:57.751Z] ---> Running in da3951bc866f [2022-03-29T04:08:58.037Z] Removing intermediate container da3951bc866f [2022-03-29T04:08:58.037Z] ---> c0dbeec1144c [2022-03-29T04:08:58.037Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-29T04:08:58.037Z] ---> Running in 48c2dcefdcfa [2022-03-29T04:09:00.022Z] Removing intermediate container 48c2dcefdcfa [2022-03-29T04:09:00.022Z] ---> e66d58319ad6 [2022-03-29T04:09:00.022Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-29T04:09:00.022Z] ---> Running in 4e464dc9a977 [2022-03-29T04:09:01.005Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-29T04:09:01.984Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-29T04:09:02.989Z] OK: 220 MiB in 52 packages [2022-03-29T04:09:04.976Z] Removing intermediate container 4e464dc9a977 [2022-03-29T04:09:04.976Z] ---> 67e32edf916a [2022-03-29T04:09:04.976Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-29T04:09:07.029Z] ---> cee71dabfaf5 [2022-03-29T04:09:07.029Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-29T04:09:07.029Z] ---> Running in 1bbf7c797b5a [2022-03-29T04:10:28.895Z] Removing intermediate container 1bbf7c797b5a [2022-03-29T04:10:28.895Z] ---> 9195c7513727 [2022-03-29T04:10:28.895Z] Step 10/11 : COPY . . [2022-03-29T04:10:28.895Z] ---> a6737b4d1b28 [2022-03-29T04:10:28.895Z] Step 11/11 : RUN ${MAKE} [2022-03-29T04:10:28.895Z] ---> Running in d902e797c1a1 [2022-03-29T04:10:28.895Z] noop [2022-03-29T04:10:28.895Z] Removing intermediate container d902e797c1a1 [2022-03-29T04:10:28.895Z] ---> 84e6dba402c0 [2022-03-29T04:10:28.895Z] Successfully built 84e6dba402c0 [2022-03-29T04:10:28.895Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:10:29.278Z] + docker inspect -f . ci-base-image-arm64 [2022-03-29T04:10:29.279Z] . [Pipeline] withDockerContainer [2022-03-29T04:10:29.533Z] prd-ubuntu20.04-docker-arm64-4c-16g-9312 does not seem to be running inside a container [2022-03-29T04:10:29.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-29T04:10:30.954Z] $ docker top f5b9ad0ae512752c9862f097a0840181e2a74956297c9c580193b4d03e38f1ad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-29T04:10:31.928Z] + go version [2022-03-29T04:10:31.928Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-29T04:10:31.963Z] $ docker stop --time=1 f5b9ad0ae512752c9862f097a0840181e2a74956297c9c580193b4d03e38f1ad [2022-03-29T04:10:33.653Z] $ docker rm -f f5b9ad0ae512752c9862f097a0840181e2a74956297c9c580193b4d03e38f1ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:10:34.582Z] + docker inspect -f . ci-base-image-arm64 [2022-03-29T04:10:34.583Z] . [Pipeline] withDockerContainer [2022-03-29T04:10:34.860Z] prd-ubuntu20.04-docker-arm64-4c-16g-9312 does not seem to be running inside a container [2022-03-29T04:10:34.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-29T04:10:36.345Z] $ docker top 36769ff52fa83cd2983dfb84af06bc8a723fd022af970f3cec64291bf59c8abd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-29T04:10:37.391Z] + make test [2022-03-29T04:10:37.391Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-29T04:10:39.386Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-29T04:11:36.045Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-29T04:11:36.045Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-29T04:11:36.045Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-29T04:11:36.045Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/application [github.com/edgexfoundry/device-sdk-go/v2/internal/application.test] [2022-03-29T04:11:36.045Z] internal/application/command_test.go:82:4: cannot use promoted field DeviceProfileBasicInfo.Name in struct literal of type dtos.DeviceProfile [2022-03-29T04:11:36.045Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] [2022-03-29T04:11:36.045Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-29T04:11:36.045Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.086s coverage: 27.6% of statements [2022-03-29T04:11:36.045Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.081s coverage: 78.9% of statements [2022-03-29T04:11:37.512Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.068s coverage: 10.8% of statements [2022-03-29T04:11:37.512Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-29T04:11:37.512Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-29T04:11:37.512Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-29T04:11:40.950Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 33.2% of statements [2022-03-29T04:11:40.950Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-29T04:11:41.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.086s coverage: 86.1% of statements [2022-03-29T04:11:41.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-29T04:11:41.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-29T04:11:41.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 57.4% of statements [2022-03-29T04:11:41.943Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.194s coverage: 89.2% of statements [2022-03-29T04:11:41.943Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-29T04:11:44.594Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.8% of statements [2022-03-29T04:11:44.594Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-29T04:11:44.594Z] FAIL [2022-03-29T04:11:44.868Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2022-03-29T04:11:44.915Z] $ docker stop --time=1 36769ff52fa83cd2983dfb84af06bc8a723fd022af970f3cec64291bf59c8abd [2022-03-29T04:11:46.811Z] $ docker rm -f 36769ff52fa83cd2983dfb84af06bc8a723fd022af970f3cec64291bf59c8abd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:11:48.239Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-29T04:11:48.239Z] [2022-03-29T04:11:48.239Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:11:48.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-29T04:11:48.898Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-29T04:11:48.898Z] 8998bd30e6a1: Pulling fs layer [2022-03-29T04:11:48.898Z] 04944245beec: Pulling fs layer [2022-03-29T04:11:48.898Z] 699f458cf7ca: Pulling fs layer [2022-03-29T04:11:48.898Z] 765212b225bb: Pulling fs layer [2022-03-29T04:11:48.898Z] f23df028b6ca: Pulling fs layer [2022-03-29T04:11:48.898Z] d65c8cfc05b1: Pulling fs layer [2022-03-29T04:11:48.898Z] 2437ff75d9bd: Pulling fs layer [2022-03-29T04:11:48.898Z] f23df028b6ca: Waiting [2022-03-29T04:11:48.898Z] d65c8cfc05b1: Waiting [2022-03-29T04:11:48.898Z] 2437ff75d9bd: Waiting [2022-03-29T04:11:48.898Z] 765212b225bb: Waiting [2022-03-29T04:11:48.898Z] 04944245beec: Download complete [2022-03-29T04:11:48.898Z] 765212b225bb: Verifying Checksum [2022-03-29T04:11:48.898Z] 765212b225bb: Download complete [2022-03-29T04:11:48.898Z] f23df028b6ca: Download complete [2022-03-29T04:11:49.177Z] d65c8cfc05b1: Verifying Checksum [2022-03-29T04:11:49.177Z] d65c8cfc05b1: Download complete [2022-03-29T04:11:49.177Z] 699f458cf7ca: Verifying Checksum [2022-03-29T04:11:49.177Z] 699f458cf7ca: Download complete [2022-03-29T04:11:49.456Z] 8998bd30e6a1: Verifying Checksum [2022-03-29T04:11:49.456Z] 8998bd30e6a1: Download complete [2022-03-29T04:11:52.097Z] 2437ff75d9bd: Verifying Checksum [2022-03-29T04:11:52.097Z] 2437ff75d9bd: Download complete [2022-03-29T04:11:54.093Z] 8998bd30e6a1: Pull complete [2022-03-29T04:11:54.365Z] 04944245beec: Pull complete [2022-03-29T04:11:55.797Z] 699f458cf7ca: Pull complete [2022-03-29T04:11:56.070Z] 765212b225bb: Pull complete [2022-03-29T04:11:57.058Z] f23df028b6ca: Pull complete [2022-03-29T04:11:57.337Z] d65c8cfc05b1: Pull complete [2022-03-29T04:12:12.425Z] 2437ff75d9bd: Pull complete [2022-03-29T04:12:12.425Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-29T04:12:12.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-29T04:12:12.425Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-29T04:12:12.705Z] prd-ubuntu20.04-docker-arm64-4c-16g-9312 does not seem to be running inside a container [2022-03-29T04:12:12.811Z] $ 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-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-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-29T04:12:15.842Z] $ docker top 6b214dc52281b08c713fc5dcbafb73df42a4ecd913eab551d6a7c6f64b8e4249 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:12:16.894Z] ---> job-cost.sh [2022-03-29T04:12:16.894Z] lf-activate-venv: SKIPPING [2022-03-29T04:12:16.894Z] INFO: No Stack... [2022-03-29T04:12:17.172Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-29T04:12:18.154Z] INFO: Archiving Costs [Pipeline] sh [2022-03-29T04:12:18.850Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-03-29T04:12:18.850Z] + cut -d, -f6 [Pipeline] lock [2022-03-29T04:12:18.942Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1117-1-stack-cost] [2022-03-29T04:12:18.947Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1117-1-stack-cost] did not exist. Created. [2022-03-29T04:12:18.948Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-29T04:12:19.711Z] /w/workspace/device-sdk-go/1@tmp/durable-b932e87c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-29T04:12:20.443Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-29T04:12:20.484Z] Warning: overwriting stash ‘stack-cost’ [2022-03-29T04:12:21.055Z] Stashed 1 file(s) [Pipeline] } [2022-03-29T04:12:21.071Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1117-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-29T04:12:21.149Z] $ docker stop --time=1 6b214dc52281b08c713fc5dcbafb73df42a4ecd913eab551d6a7c6f64b8e4249 [2022-03-29T04:12:22.709Z] $ docker rm -f 6b214dc52281b08c713fc5dcbafb73df42a4ecd913eab551d6a7c6f64b8e4249 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-29T04:12:23.503Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-29T04:12:25.597Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1117/archives ] [2022-03-29T04:12:25.597Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1117/archives [2022-03-29T04:12:25.597Z] total 16 [2022-03-29T04:12:25.597Z] drwxr-xr-x 3 root root 4096 Mar 29 04:07 . [2022-03-29T04:12:25.597Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 29 04:07 .. [2022-03-29T04:12:25.597Z] drwxr-xr-x 2 root root 4096 Mar 29 04:07 cost [2022-03-29T04:12:25.597Z] -rw-r--r-- 1 root root 85 Mar 29 04:07 cost.csv [2022-03-29T04:12:25.597Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1117/archives [2022-03-29T04:12:25.597Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1117/archives [2022-03-29T04:12:25.597Z] total 16 [2022-03-29T04:12:25.597Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 04:07 . [2022-03-29T04:12:25.597Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 29 04:07 .. [2022-03-29T04:12:25.597Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 04:07 cost [2022-03-29T04:12:25.597Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 29 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:12:25.939Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:12:26.864Z] ---> package-listing.sh [2022-03-29T04:12:26.864Z] ++ facter osfamily [2022-03-29T04:12:26.864Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-29T04:12:27.128Z] + OS_FAMILY=debian [2022-03-29T04:12:27.128Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1117 [2022-03-29T04:12:27.128Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-29T04:12:27.128Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-29T04:12:27.128Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-29T04:12:27.128Z] + PACKAGES=/tmp/packages_start.txt [2022-03-29T04:12:27.128Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1117 ']' [2022-03-29T04:12:27.128Z] + PACKAGES=/tmp/packages_end.txt [2022-03-29T04:12:27.128Z] + case "${OS_FAMILY}" in [2022-03-29T04:12:27.128Z] + dpkg -l [2022-03-29T04:12:27.128Z] + grep '^ii' [2022-03-29T04:12:27.128Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-29T04:12:27.128Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-29T04:12:27.128Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-29T04:12:27.128Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1117 ']' [2022-03-29T04:12:27.128Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1117/archives/ [2022-03-29T04:12:27.128Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1117/archives/ [Pipeline] echo [2022-03-29T04:12:27.161Z] 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/gexfoundry_device-sdk-go_PR-1117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-29T04:12:27.464Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-29T04:12:28.055Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-29T04:12:28.056Z] . [Pipeline] withDockerContainer [2022-03-29T04:12:28.145Z] prd-ubuntu20.04-docker-8c-8g-9309 does not seem to be running inside a container [2022-03-29T04:12:28.180Z] $ 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/gexfoundry_device-sdk-go_PR-1117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1117 -v /w/workspace/gexfoundry_device-sdk-go_PR-1117:/w/workspace/gexfoundry_device-sdk-go_PR-1117:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1117@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-29T04:12:28.439Z] $ docker top 6b3205adcace42ab1e6e023191c4f809ffd27ae26a75769976de0dd5ac11130d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-29T04:12:28.839Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-29T04:12:29.154Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-29T04:12:29.471Z] + ls /var/log/sa-host [2022-03-29T04:12:29.471Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-29T04:12:29.737Z] provisioning config files... [2022-03-29T04:12:29.747Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1117@tmp/config7034009561545576728tmp [Pipeline] { [Pipeline] echo [2022-03-29T04:12:29.798Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:12:30.111Z] ---> create-netrc.sh [Pipeline] } [2022-03-29T04:12:30.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:12:30.545Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-29T04:12:30.579Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:12:30.901Z] ---> sudo-logs.sh [2022-03-29T04:12:30.901Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-29T04:12:30.986Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:12:31.368Z] ---> job-cost.sh [2022-03-29T04:12:31.368Z] lf-activate-venv: SKIPPING [2022-03-29T04:12:31.368Z] DEBUG: total: 0.2199999988079071 [2022-03-29T04:12:31.368Z] INFO: Retrieving Stack Cost... [2022-03-29T04:12:31.632Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-29T04:12:32.202Z] INFO: Archiving Costs [Pipeline] echo [2022-03-29T04:12:32.238Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-29T04:12:32.558Z] ---> logs-deploy.sh [2022-03-29T04:12:32.558Z] lf-activate-venv: SKIPPING [2022-03-29T04:12:32.558Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1117/1 [2022-03-29T04:12:32.558Z] INFO: archiving workspace using pattern(s): [2022-03-29T04:12:33.502Z] Archives upload complete. [2022-03-29T04:12:33.502Z] INFO: archiving logs to Nexus