Pull request #1166 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 4b1bca24a13eee0fbd94f91607ff04ee351fa403 rather than 42b898995528b3d1724ce288caed11c29178c8ec Obtained Jenkinsfile from 4b1bca24a13eee0fbd94f91607ff04ee351fa403 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-ssh7723661297575088118.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh6332542506020901618.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-1166/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-1166/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4362133022245263302.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-1166/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5846850597353379866.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh10541532588916398009.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-1166/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-1166/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9250480583701172481.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-64473 in /w/workspace/gexfoundry_device-sdk-go_PR-1166 [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-1166 # 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 4b1bca24a13eee0fbd94f91607ff04ee351fa403 into PR head commit 42b898995528b3d1724ce288caed11c29178c8ec Merge succeeded, producing 42b898995528b3d1724ce288caed11c29178c8ec Checking out Revision 42b898995528b3d1724ce288caed11c29178c8ec (PR-1166) > 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/1166/head:refs/remotes/origin/PR-1166 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42b898995528b3d1724ce288caed11c29178c8ec # 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 4b1bca24a13eee0fbd94f91607ff04ee351fa403 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 42b898995528b3d1724ce288caed11c29178c8ec # timeout=10 Commit message: "refactor: Update to use deepCopy of messageBusInfo to avoid external adds" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-24T10:35:20.851Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-24T10:35:21.138Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-24T10:35:21.234Z] ========================================================= [2022-05-24T10:35:21.234Z] EdgeX Global Pipelines Version Info [2022-05-24T10:35:21.234Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:35:22.133Z] ------------------- [2022-05-24T10:35:22.133Z] stable info: [2022-05-24T10:35:22.133Z] ------------------- [2022-05-24T10:35:22.133Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-24T10:35:22.133Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-24T10:35:22.133Z] Message: update stable to v1.0.230 [2022-05-24T10:35:22.706Z] ------------------- [2022-05-24T10:35:22.706Z] experimental info: [2022-05-24T10:35:22.706Z] ------------------- [2022-05-24T10:35:22.706Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-24T10:35:22.706Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-24T10:35:22.706Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-24T10:35:22.988Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-24T10:35:23.029Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-24T10:35:23.070Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-24T10:35:23.106Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-24T10:35:23.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-24T10:35:23.180Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-24T10:35:23.217Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-24T10:35:23.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-24T10:35:23.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-24T10:35:23.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-24T10:35:23.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-24T10:35:23.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-24T10:35:23.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-24T10:35:23.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-24T10:35:23.657Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-24T10:35:23.704Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-24T10:35:23.750Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-24T10:35:23.792Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-24T10:35:23.833Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-24T10:35:23.884Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-24T10:35:23.975Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-24T10:35:24.028Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-24T10:35:24.071Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-24T10:35:24.120Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-24T10:35:24.175Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-24T10:35:24.218Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-24T10:35:24.261Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1166 [Pipeline] echo [2022-05-24T10:35:24.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1166 [Pipeline] echo [2022-05-24T10:35:24.347Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1166 [Pipeline] echo [2022-05-24T10:35:24.388Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 42b898995528b3d1724ce288caed11c29178c8ec [Pipeline] echo [2022-05-24T10:35:24.431Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 42b8989 [Pipeline] echo [2022-05-24T10:35:24.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T10:35:24.595Z] provisioning config files... [2022-05-24T10:35:24.611Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/config8440509963794594464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:35:24.962Z] ---> docker-login.sh [2022-05-24T10:35:24.962Z] nexus3.edgexfoundry.org:10001 [2022-05-24T10:35:25.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:35:25.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:35:25.225Z] Configure a credential helper to remove this warning. See [2022-05-24T10:35:25.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:35:25.225Z] [2022-05-24T10:35:25.225Z] Login Succeeded [2022-05-24T10:35:25.488Z] nexus3.edgexfoundry.org:10002 [2022-05-24T10:35:25.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:35:25.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:35:25.488Z] Configure a credential helper to remove this warning. See [2022-05-24T10:35:25.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:35:25.488Z] [2022-05-24T10:35:25.488Z] Login Succeeded [2022-05-24T10:35:25.488Z] nexus3.edgexfoundry.org:10003 [2022-05-24T10:35:25.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:35:25.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:35:25.751Z] Configure a credential helper to remove this warning. See [2022-05-24T10:35:25.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:35:25.751Z] [2022-05-24T10:35:25.751Z] Login Succeeded [2022-05-24T10:35:25.751Z] nexus3.edgexfoundry.org:10004 [2022-05-24T10:35:25.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:35:25.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:35:25.751Z] Configure a credential helper to remove this warning. See [2022-05-24T10:35:25.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:35:25.751Z] [2022-05-24T10:35:25.751Z] Login Succeeded [2022-05-24T10:35:25.751Z] docker.io [2022-05-24T10:35:26.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:35:26.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:35:26.274Z] Configure a credential helper to remove this warning. See [2022-05-24T10:35:26.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:35:26.274Z] [2022-05-24T10:35:26.274Z] Login Succeeded [2022-05-24T10:35:26.274Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T10:35:26.301Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-24T10:35:26.935Z] + git rev-list -1 --merges 42b898995528b3d1724ce288caed11c29178c8ec~1..42b898995528b3d1724ce288caed11c29178c8ec [Pipeline] echo [2022-05-24T10:35:26.986Z] -----------> git rev-list -1 --merges 42b898995528b3d1724ce288caed11c29178c8ec~1..42b898995528b3d1724ce288caed11c29178c8ec 42b898995528b3d1724ce288caed11c29178c8ec [false] [Pipeline] sh [2022-05-24T10:35:27.300Z] + git log --format=format:%s -1 42b898995528b3d1724ce288caed11c29178c8ec [Pipeline] echo [2022-05-24T10:35:27.334Z] ========================================================= [2022-05-24T10:35:27.334Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-24T10:35:27.334Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T10:35:27.761Z] + git log --format=format:%s -1 42b898995528b3d1724ce288caed11c29178c8ec [Pipeline] echo [2022-05-24T10:35:27.798Z] [semverPrep] GIT_COMMIT: 42b898995528b3d1724ce288caed11c29178c8ec, Commit Message: refactor: Update to use deepCopy of messageBusInfo to avoid external adds [Pipeline] echo [2022-05-24T10:35:27.828Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-24T10:35:28.245Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-24T10:35:28.245Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-24T10:35:28.245Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-24T10:35:28.245Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-24T10:35:28.245Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-24T10:35:28.245Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-24T10:35:28.245Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:35:28.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T10:35:28.642Z] [2022-05-24T10:35:28.642Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:35:28.990Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T10:35:28.990Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-24T10:35:28.990Z] 1fe172e4850f: Pulling fs layer [2022-05-24T10:35:28.990Z] caf521ccaac6: Pulling fs layer [2022-05-24T10:35:28.990Z] 3ead6fa29328: Pulling fs layer [2022-05-24T10:35:28.990Z] 5c2a1cbceb83: Pulling fs layer [2022-05-24T10:35:28.990Z] a8d5f1318db7: Pulling fs layer [2022-05-24T10:35:28.990Z] c427282e49a2: Pulling fs layer [2022-05-24T10:35:28.990Z] 1827001aaf11: Pulling fs layer [2022-05-24T10:35:28.990Z] 0714d37db230: Pulling fs layer [2022-05-24T10:35:28.990Z] ac28cf19c067: Pulling fs layer [2022-05-24T10:35:28.990Z] ca983d60f3e2: Pulling fs layer [2022-05-24T10:35:28.990Z] 9f894cec8388: Pulling fs layer [2022-05-24T10:35:28.990Z] 0714d37db230: Waiting [2022-05-24T10:35:28.990Z] 5c2a1cbceb83: Waiting [2022-05-24T10:35:28.990Z] ac28cf19c067: Waiting [2022-05-24T10:35:28.990Z] a8d5f1318db7: Waiting [2022-05-24T10:35:28.990Z] ca983d60f3e2: Waiting [2022-05-24T10:35:28.990Z] c427282e49a2: Waiting [2022-05-24T10:35:28.990Z] 1827001aaf11: Waiting [2022-05-24T10:35:28.990Z] 9f894cec8388: Waiting [2022-05-24T10:35:28.990Z] caf521ccaac6: Verifying Checksum [2022-05-24T10:35:28.990Z] caf521ccaac6: Download complete [2022-05-24T10:35:28.990Z] 5c2a1cbceb83: Verifying Checksum [2022-05-24T10:35:28.990Z] 5c2a1cbceb83: Download complete [2022-05-24T10:35:29.251Z] a8d5f1318db7: Verifying Checksum [2022-05-24T10:35:29.251Z] a8d5f1318db7: Download complete [2022-05-24T10:35:29.251Z] 3ead6fa29328: Verifying Checksum [2022-05-24T10:35:29.251Z] 3ead6fa29328: Download complete [2022-05-24T10:35:29.251Z] c427282e49a2: Download complete [2022-05-24T10:35:29.251Z] 0714d37db230: Verifying Checksum [2022-05-24T10:35:29.251Z] 0714d37db230: Download complete [2022-05-24T10:35:29.252Z] ac28cf19c067: Verifying Checksum [2022-05-24T10:35:29.252Z] ac28cf19c067: Download complete [2022-05-24T10:35:29.252Z] ca983d60f3e2: Download complete [2022-05-24T10:35:29.252Z] 9f894cec8388: Verifying Checksum [2022-05-24T10:35:29.252Z] 9f894cec8388: Download complete [2022-05-24T10:35:29.252Z] 1fe172e4850f: Verifying Checksum [2022-05-24T10:35:29.252Z] 1fe172e4850f: Download complete [2022-05-24T10:35:29.512Z] 1827001aaf11: Verifying Checksum [2022-05-24T10:35:29.512Z] 1827001aaf11: Download complete [2022-05-24T10:35:30.897Z] 1fe172e4850f: Pull complete [2022-05-24T10:35:30.897Z] caf521ccaac6: Pull complete [2022-05-24T10:35:31.472Z] 3ead6fa29328: Pull complete [2022-05-24T10:35:31.472Z] 5c2a1cbceb83: Pull complete [2022-05-24T10:35:31.734Z] a8d5f1318db7: Pull complete [2022-05-24T10:35:31.734Z] c427282e49a2: Pull complete [2022-05-24T10:35:33.648Z] 1827001aaf11: Pull complete [2022-05-24T10:35:33.648Z] 0714d37db230: Pull complete [2022-05-24T10:35:33.911Z] ac28cf19c067: Pull complete [2022-05-24T10:35:33.911Z] ca983d60f3e2: Pull complete [2022-05-24T10:35:34.173Z] 9f894cec8388: Pull complete [2022-05-24T10:35:34.173Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-24T10:35:34.173Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-24T10:35:34.173Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-24T10:35:34.272Z] prd-ubuntu20.04-docker-8c-8g-64473 does not seem to be running inside a container [2022-05-24T10:35:34.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1166 -v /w/workspace/gexfoundry_device-sdk-go_PR-1166:/w/workspace/gexfoundry_device-sdk-go_PR-1166:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1166@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-devops/py-git-semver:latest cat [2022-05-24T10:35:36.065Z] $ docker top 0029eed46809c39118a056ea496f99223516850cc0cf906cc150405a03970008 -eo pid,comm [2022-05-24T10:35:36.130Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-24T10:35:36.130Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-24T10:35:36.244Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T10:35:36.244Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T10:35:36.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T10:35:36.416Z] $ docker exec 0029eed46809c39118a056ea496f99223516850cc0cf906cc150405a03970008 ssh-agent [2022-05-24T10:35:36.547Z] SSH_AUTH_SOCK=/tmp/ssh-6bynwMFZgPuP/agent.35 [2022-05-24T10:35:36.547Z] SSH_AGENT_PID=41 [2022-05-24T10:35:36.556Z] Running ssh-add (command line suppressed) [2022-05-24T10:35:36.693Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/private_key_8495764823871068377.key (/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/private_key_8495764823871068377.key) [2022-05-24T10:35:36.704Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T10:35:37.042Z] + git tag --points-at HEAD [Pipeline] } [2022-05-24T10:35:37.085Z] $ docker exec --env ******** --env ******** 0029eed46809c39118a056ea496f99223516850cc0cf906cc150405a03970008 ssh-agent -k [2022-05-24T10:35:37.200Z] unset SSH_AUTH_SOCK; [2022-05-24T10:35:37.200Z] unset SSH_AGENT_PID; [2022-05-24T10:35:37.200Z] echo Agent pid 41 killed; [2022-05-24T10:35:37.210Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-24T10:35:37.297Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-24T10:35:37.297Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-24T10:35:37.432Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-24T10:35:37.442Z] $ docker exec 0029eed46809c39118a056ea496f99223516850cc0cf906cc150405a03970008 ssh-agent [2022-05-24T10:35:37.571Z] SSH_AUTH_SOCK=/tmp/ssh-XjPP3kd1WX4r/agent.74 [2022-05-24T10:35:37.571Z] SSH_AGENT_PID=80 [2022-05-24T10:35:37.577Z] Running ssh-add (command line suppressed) [2022-05-24T10:35:37.687Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/private_key_4711438490995983794.key (/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/private_key_4711438490995983794.key) [2022-05-24T10:35:37.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-24T10:35:38.035Z] + git semver init [2022-05-24T10:35:38.298Z] 2022-05-24 10:35:38,225 [run_init] DEBUG init version:0.0.0 force:False [2022-05-24T10:35:38.298Z] 2022-05-24 10:35:38,225 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver [2022-05-24T10:35:38.298Z] 2022-05-24 10:35:38,226 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver [2022-05-24T10:35:38.298Z] 2022-05-24 10:35:38,226 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1166, universal_newlines=False, shell=None, istream=None) [2022-05-24T10:35:39.242Z] 2022-05-24 10:35:38,991 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1166/.git/info/exclude [2022-05-24T10:35:39.242Z] 2022-05-24 10:35:38,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver/PR-1166 with force:False [2022-05-24T10:35:39.242Z] 2022-05-24 10:35:38,992 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver/PR-1166 [2022-05-24T10:35:39.242Z] 2022-05-24 10:35:38,996 [execute] INFO git cat-file --batch-check [2022-05-24T10:35:39.242Z] 2022-05-24 10:35:38,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver, universal_newlines=False, shell=None, istream=) [2022-05-24T10:35:39.242Z] 2022-05-24 10:35:39,002 [execute] INFO git cat-file --batch [2022-05-24T10:35:39.242Z] 2022-05-24 10:35:39,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver, universal_newlines=False, shell=None, istream=) [2022-05-24T10:35:39.242Z] 2022-05-24 10:35:39,007 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1166/.semver/PR-1166 [2022-05-24T10:35:39.242Z] 0.0.0 [Pipeline] } [2022-05-24T10:35:39.276Z] $ docker exec --env ******** --env ******** 0029eed46809c39118a056ea496f99223516850cc0cf906cc150405a03970008 ssh-agent -k [2022-05-24T10:35:39.382Z] unset SSH_AUTH_SOCK; [2022-05-24T10:35:39.382Z] unset SSH_AGENT_PID; [2022-05-24T10:35:39.382Z] echo Agent pid 80 killed; [2022-05-24T10:35:39.386Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-24T10:35:39.812Z] + git semver [Pipeline] } [2022-05-24T10:35:40.103Z] $ docker stop --time=1 0029eed46809c39118a056ea496f99223516850cc0cf906cc150405a03970008 [2022-05-24T10:35:41.422Z] $ docker rm -f 0029eed46809c39118a056ea496f99223516850cc0cf906cc150405a03970008 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-24T10:35:41.831Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-24T10:35:42.140Z] Stashed 1 file(s) [Pipeline] echo [2022-05-24T10:35:42.158Z] [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-05-24T10:35:42.750Z] provisioning config files... [2022-05-24T10:35:42.761Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/config627544518504027250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:35:43.111Z] ---> docker-login.sh [2022-05-24T10:35:43.111Z] nexus3.edgexfoundry.org:10001 [2022-05-24T10:35:43.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:35:43.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:35:43.111Z] Configure a credential helper to remove this warning. See [2022-05-24T10:35:43.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:35:43.111Z] [2022-05-24T10:35:43.111Z] Login Succeeded [2022-05-24T10:35:43.111Z] nexus3.edgexfoundry.org:10002 [2022-05-24T10:35:43.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:35:43.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:35:43.372Z] Configure a credential helper to remove this warning. See [2022-05-24T10:35:43.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:35:43.372Z] [2022-05-24T10:35:43.372Z] Login Succeeded [2022-05-24T10:35:43.372Z] nexus3.edgexfoundry.org:10003 [2022-05-24T10:35:43.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:35:43.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:35:43.372Z] Configure a credential helper to remove this warning. See [2022-05-24T10:35:43.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:35:43.372Z] [2022-05-24T10:35:43.372Z] Login Succeeded [2022-05-24T10:35:43.372Z] nexus3.edgexfoundry.org:10004 [2022-05-24T10:35:43.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:35:43.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:35:43.635Z] Configure a credential helper to remove this warning. See [2022-05-24T10:35:43.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:35:43.635Z] [2022-05-24T10:35:43.635Z] Login Succeeded [2022-05-24T10:35:43.635Z] docker.io [2022-05-24T10:35:43.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:35:43.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:35:43.896Z] Configure a credential helper to remove this warning. See [2022-05-24T10:35:43.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:35:43.896Z] [2022-05-24T10:35:43.896Z] Login Succeeded [2022-05-24T10:35:43.896Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T10:35:43.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-24T10:35:44.120Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T10:35:44.153Z] ========================================================= [2022-05-24T10:35:44.154Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-24T10:35:44.154Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:35:44.569Z] + 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-05-24T10:35:44.569Z] Sending build context to Docker daemon 9.781MB [2022-05-24T10:35:44.569Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T10:35:44.569Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-24T10:35:44.569Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-24T10:35:44.569Z] 59bf1c3509f3: Pulling fs layer [2022-05-24T10:35:44.569Z] 666ba61612fd: Pulling fs layer [2022-05-24T10:35:44.569Z] 8ed8ca486205: Pulling fs layer [2022-05-24T10:35:44.569Z] 4fe6c5a15a65: Pulling fs layer [2022-05-24T10:35:44.569Z] 22a0e8bec74d: Pulling fs layer [2022-05-24T10:35:44.569Z] ca2b28591e48: Pulling fs layer [2022-05-24T10:35:44.569Z] a51346096db8: Pulling fs layer [2022-05-24T10:35:44.569Z] daebc70d1ce1: Pulling fs layer [2022-05-24T10:35:44.569Z] 0e18a0eac166: Pulling fs layer [2022-05-24T10:35:44.569Z] a51346096db8: Waiting [2022-05-24T10:35:44.569Z] 4fe6c5a15a65: Waiting [2022-05-24T10:35:44.569Z] 22a0e8bec74d: Waiting [2022-05-24T10:35:44.569Z] ca2b28591e48: Waiting [2022-05-24T10:35:44.569Z] 0e18a0eac166: Waiting [2022-05-24T10:35:44.569Z] daebc70d1ce1: Waiting [2022-05-24T10:35:44.569Z] 8ed8ca486205: Verifying Checksum [2022-05-24T10:35:44.569Z] 8ed8ca486205: Download complete [2022-05-24T10:35:44.829Z] 666ba61612fd: Download complete [2022-05-24T10:35:44.829Z] 22a0e8bec74d: Verifying Checksum [2022-05-24T10:35:44.829Z] 22a0e8bec74d: Download complete [2022-05-24T10:35:44.829Z] ca2b28591e48: Download complete [2022-05-24T10:35:44.829Z] a51346096db8: Download complete [2022-05-24T10:35:44.829Z] 59bf1c3509f3: Verifying Checksum [2022-05-24T10:35:44.829Z] 59bf1c3509f3: Download complete [2022-05-24T10:35:44.829Z] daebc70d1ce1: Verifying Checksum [2022-05-24T10:35:44.829Z] daebc70d1ce1: Download complete [2022-05-24T10:35:44.829Z] 59bf1c3509f3: Pull complete [2022-05-24T10:35:45.090Z] 666ba61612fd: Pull complete [2022-05-24T10:35:45.090Z] 8ed8ca486205: Pull complete [2022-05-24T10:35:45.351Z] 0e18a0eac166: Verifying Checksum [2022-05-24T10:35:45.351Z] 0e18a0eac166: Download complete [2022-05-24T10:35:45.611Z] 4fe6c5a15a65: Verifying Checksum [2022-05-24T10:35:45.611Z] 4fe6c5a15a65: Download complete [2022-05-24T10:35:49.805Z] 4fe6c5a15a65: Pull complete [2022-05-24T10:35:49.805Z] 22a0e8bec74d: Pull complete [2022-05-24T10:35:49.805Z] ca2b28591e48: Pull complete [2022-05-24T10:35:49.805Z] a51346096db8: Pull complete [2022-05-24T10:35:49.805Z] daebc70d1ce1: Pull complete [2022-05-24T10:35:52.375Z] 0e18a0eac166: Pull complete [2022-05-24T10:35:52.375Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-24T10:35:52.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-24T10:35:52.375Z] ---> f018257e8ee9 [2022-05-24T10:35:52.375Z] Step 3/11 : ARG MAKE=make build [2022-05-24T10:35:54.294Z] ---> Running in 453987a366e1 [2022-05-24T10:35:54.294Z] Removing intermediate container 453987a366e1 [2022-05-24T10:35:54.294Z] ---> 8bf52bfeb9f0 [2022-05-24T10:35:54.294Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-24T10:35:54.294Z] ---> Running in 195a810df896 [2022-05-24T10:35:54.294Z] Removing intermediate container 195a810df896 [2022-05-24T10:35:54.294Z] ---> d64987316698 [2022-05-24T10:35:54.294Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-24T10:35:54.294Z] ---> Running in 02537f72e246 [2022-05-24T10:35:54.294Z] Removing intermediate container 02537f72e246 [2022-05-24T10:35:54.294Z] ---> 9bb656c6a596 [2022-05-24T10:35:54.294Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T10:35:54.556Z] ---> Running in 87151a26150d [2022-05-24T10:35:55.129Z] Removing intermediate container 87151a26150d [2022-05-24T10:35:55.129Z] ---> afc6234e1bb9 [2022-05-24T10:35:55.129Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-24T10:35:55.129Z] ---> Running in 737977b3ca7c [2022-05-24T10:35:55.394Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-24T10:35:56.337Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-24T10:35:56.599Z] OK: 221 MiB in 52 packages [2022-05-24T10:35:56.883Z] Removing intermediate container 737977b3ca7c [2022-05-24T10:35:56.883Z] ---> b1381ea1e354 [2022-05-24T10:35:56.883Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-24T10:35:57.144Z] ---> 760e637db3af [2022-05-24T10:35:57.144Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T10:35:57.144Z] ---> Running in 6c35b05ba682 [2022-05-24T10:35:57.580Z] Still waiting to schedule task [2022-05-24T10:35:57.581Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-24T10:36:12.063Z] Removing intermediate container 6c35b05ba682 [2022-05-24T10:36:12.063Z] ---> a29c7454cded [2022-05-24T10:36:12.063Z] Step 10/11 : COPY . . [2022-05-24T10:36:12.063Z] ---> 6e9b3ab2ee72 [2022-05-24T10:36:12.063Z] Step 11/11 : RUN ${MAKE} [2022-05-24T10:36:12.063Z] ---> Running in 4ed270916094 [2022-05-24T10:36:12.063Z] noop [2022-05-24T10:36:12.324Z] Removing intermediate container 4ed270916094 [2022-05-24T10:36:12.324Z] ---> 3c9d39892032 [2022-05-24T10:36:12.324Z] Successfully built 3c9d39892032 [2022-05-24T10:36:12.324Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:36:12.655Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-24T10:36:12.655Z] . [Pipeline] withDockerContainer [2022-05-24T10:36:12.749Z] prd-ubuntu20.04-docker-8c-8g-64473 does not seem to be running inside a container [2022-05-24T10:36:12.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1166 -v /w/workspace/gexfoundry_device-sdk-go_PR-1166:/w/workspace/gexfoundry_device-sdk-go_PR-1166:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-24T10:36:13.200Z] $ docker top a77c0abf93091bb573bae8151768f7319fd0660fe087b45f056f3e79a36cc274 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T10:36:13.661Z] + go version [2022-05-24T10:36:13.661Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-24T10:36:13.700Z] $ docker stop --time=1 a77c0abf93091bb573bae8151768f7319fd0660fe087b45f056f3e79a36cc274 [2022-05-24T10:36:15.048Z] $ docker rm -f a77c0abf93091bb573bae8151768f7319fd0660fe087b45f056f3e79a36cc274 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:36:15.780Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-24T10:36:15.780Z] . [Pipeline] withDockerContainer [2022-05-24T10:36:15.871Z] prd-ubuntu20.04-docker-8c-8g-64473 does not seem to be running inside a container [2022-05-24T10:36:15.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1166 -v /w/workspace/gexfoundry_device-sdk-go_PR-1166:/w/workspace/gexfoundry_device-sdk-go_PR-1166:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-24T10:36:16.313Z] $ docker top 83a2a99e1d000a4aae23b8785df7db311e0769432e20fced691ac636086d4543 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-24T10:36:16.760Z] + make test [2022-05-24T10:36:16.760Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-24T10:36:22.044Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-24T10:36:34.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-24T10:36:34.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-24T10:36:34.261Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-24T10:36:34.523Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.088s coverage: 23.3% of statements [2022-05-24T10:36:34.523Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-24T10:36:34.523Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 27.6% of statements [2022-05-24T10:36:34.523Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.077s coverage: 78.9% of statements [2022-05-24T10:36:34.523Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 10.8% of statements [2022-05-24T10:36:34.523Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.082s coverage: 60.0% of statements [2022-05-24T10:36:34.523Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-24T10:36:34.523Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-24T10:36:35.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.095s coverage: 34.8% of statements [2022-05-24T10:36:35.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-24T10:36:35.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.068s coverage: 85.4% of statements [2022-05-24T10:36:35.669Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-24T10:36:35.669Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-24T10:36:35.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 65.1% of statements [2022-05-24T10:36:35.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.759s coverage: 89.2% of statements [2022-05-24T10:36:35.669Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-24T10:36:35.669Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-05-24T10:36:35.669Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-24T10:36:50.570Z] GO111MODULE=on go vet ./... [2022-05-24T10:36:54.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-24T10:36:54.766Z] ./internal/messaging/messaging_test.go [2022-05-24T10:36:54.766Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-24T10:36:54.766Z] make: *** [Makefile:53: test] Error 1 [Pipeline] } [2022-05-24T10:36:54.816Z] $ docker stop --time=1 83a2a99e1d000a4aae23b8785df7db311e0769432e20fced691ac636086d4543 [2022-05-24T10:36:57.150Z] $ docker rm -f 83a2a99e1d000a4aae23b8785df7db311e0769432e20fced691ac636086d4543 [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-05-24T10:36:58.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T10:36:58.379Z] [2022-05-24T10:36:58.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:36:58.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T10:36:58.716Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-24T10:36:58.716Z] 5eb5b503b376: Pulling fs layer [2022-05-24T10:36:58.716Z] 5c69ac0246d0: Pulling fs layer [2022-05-24T10:36:58.716Z] ec43610c2a17: Pulling fs layer [2022-05-24T10:36:58.716Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-24T10:36:58.716Z] 33b1e0a273af: Pulling fs layer [2022-05-24T10:36:58.716Z] 5d3b04190fa2: Pulling fs layer [2022-05-24T10:36:58.716Z] 2f39f015ded8: Pulling fs layer [2022-05-24T10:36:58.716Z] 5d3b04190fa2: Waiting [2022-05-24T10:36:58.716Z] 33b1e0a273af: Waiting [2022-05-24T10:36:58.716Z] 2f39f015ded8: Waiting [2022-05-24T10:36:58.716Z] 5c69ac0246d0: Download complete [2022-05-24T10:36:58.716Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-24T10:36:58.716Z] 3a2ae6a8a46f: Download complete [2022-05-24T10:36:58.716Z] 33b1e0a273af: Verifying Checksum [2022-05-24T10:36:58.716Z] 33b1e0a273af: Download complete [2022-05-24T10:36:58.716Z] 5d3b04190fa2: Verifying Checksum [2022-05-24T10:36:58.716Z] 5d3b04190fa2: Download complete [2022-05-24T10:36:58.716Z] ec43610c2a17: Verifying Checksum [2022-05-24T10:36:58.716Z] ec43610c2a17: Download complete [2022-05-24T10:36:58.976Z] 5eb5b503b376: Verifying Checksum [2022-05-24T10:36:58.976Z] 5eb5b503b376: Download complete [2022-05-24T10:36:59.543Z] 2f39f015ded8: Download complete [2022-05-24T10:37:00.484Z] 5eb5b503b376: Pull complete [2022-05-24T10:37:00.484Z] 5c69ac0246d0: Pull complete [2022-05-24T10:37:01.054Z] ec43610c2a17: Pull complete [2022-05-24T10:37:01.054Z] 3a2ae6a8a46f: Pull complete [2022-05-24T10:37:01.318Z] 33b1e0a273af: Pull complete [2022-05-24T10:37:01.318Z] 5d3b04190fa2: Pull complete [2022-05-24T10:37:06.598Z] 2f39f015ded8: Pull complete [2022-05-24T10:37:06.598Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-24T10:37:06.598Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T10:37:06.598Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-24T10:37:06.693Z] prd-ubuntu20.04-docker-8c-8g-64473 does not seem to be running inside a container [2022-05-24T10:37:06.734Z] $ 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-1166 -v /w/workspace/gexfoundry_device-sdk-go_PR-1166:/w/workspace/gexfoundry_device-sdk-go_PR-1166:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-24T10:37:08.651Z] $ docker top 0dba51e06e08bccf46f24c2a5cbbcdedcc17394642396797c618f90f50972a50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:37:09.123Z] ---> job-cost.sh [2022-05-24T10:37:09.123Z] lf-activate-venv: SKIPPING [2022-05-24T10:37:09.123Z] INFO: No Stack... [2022-05-24T10:37:09.385Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-24T10:37:09.961Z] INFO: Archiving Costs [Pipeline] sh [2022-05-24T10:37:10.284Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives/cost.csv [2022-05-24T10:37:10.284Z] + cut -d, -f6 [Pipeline] lock [2022-05-24T10:37:10.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1166-1-stack-cost] [2022-05-24T10:37:10.331Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1166-1-stack-cost] did not exist. Created. [2022-05-24T10:37:10.332Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1166-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-24T10:37:10.727Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-24T10:37:10.784Z] Stashed 1 file(s) [Pipeline] } [2022-05-24T10:37:10.808Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1166-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-24T10:37:10.894Z] $ docker stop --time=1 0dba51e06e08bccf46f24c2a5cbbcdedcc17394642396797c618f90f50972a50 [2022-05-24T10:37:12.083Z] $ docker rm -f 0dba51e06e08bccf46f24c2a5cbbcdedcc17394642396797c618f90f50972a50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-24T10:37:12.463Z] Failed in branch amd64 [2022-05-24T10:37:41.557Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-64474 in /w/workspace/gexfoundry_device-sdk-go_PR-1166 [Pipeline] { [Pipeline] ws [2022-05-24T10:37:41.603Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-05-24T10:37:41.831Z] The recommended git tool is: git [2022-05-24T10:37:46.634Z] using credential edgex-jenkins-ssh [2022-05-24T10:37:46.653Z] Cloning the remote Git repository [2022-05-24T10:37:46.721Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-24T10:37:46.802Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-05-24T10:37:46.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-24T10:37:46.974Z] > git --version # timeout=10 [2022-05-24T10:37:47.030Z] > git --version # 'git version 2.25.1' [2022-05-24T10:37:47.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-24T10:37:47.110Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-24T10:37:49.280Z] Merging remotes/origin/main commit 4b1bca24a13eee0fbd94f91607ff04ee351fa403 into PR head commit 42b898995528b3d1724ce288caed11c29178c8ec [2022-05-24T10:37:48.584Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-24T10:37:48.609Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-24T10:37:48.639Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-24T10:37:48.688Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-24T10:37:48.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-24T10:37:48.702Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1166/head:refs/remotes/origin/PR-1166 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-24T10:37:49.512Z] Merge succeeded, producing 42b898995528b3d1724ce288caed11c29178c8ec [2022-05-24T10:37:49.513Z] Checking out Revision 42b898995528b3d1724ce288caed11c29178c8ec (PR-1166) [2022-05-24T10:37:49.307Z] > git config core.sparsecheckout # timeout=10 [2022-05-24T10:37:49.322Z] > git checkout -f 42b898995528b3d1724ce288caed11c29178c8ec # timeout=10 [2022-05-24T10:37:49.428Z] > git remote # timeout=10 [2022-05-24T10:37:49.446Z] > git config --get remote.origin.url # timeout=10 [2022-05-24T10:37:49.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-24T10:37:49.472Z] > git merge 4b1bca24a13eee0fbd94f91607ff04ee351fa403 # timeout=10 [2022-05-24T10:37:49.496Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-24T10:37:49.525Z] > git config core.sparsecheckout # timeout=10 [2022-05-24T10:37:49.550Z] > git checkout -f 42b898995528b3d1724ce288caed11c29178c8ec # timeout=10 [2022-05-24T10:37:53.704Z] Commit message: "refactor: Update to use deepCopy of messageBusInfo to avoid external adds" [2022-05-24T10:37:53.777Z] > git --version # timeout=10 [2022-05-24T10:37:53.788Z] > git --version # 'git version 2.25.1' [2022-05-24T10:37:53.809Z] fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-24T10:37:55.047Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-24T10:37:55.047Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-24T10:37:55.047Z] Dload Upload Total Spent Left Speed [2022-05-24T10:37:55.048Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50842 0 --:--:-- --:--:-- --:--:-- 51054 [Pipeline] sh [2022-05-24T10:37:55.571Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-24T10:37:55.991Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-24T10:37:55.991Z] + sudo tee /etc/docker/daemon.new [2022-05-24T10:37:55.991Z] { [2022-05-24T10:37:55.991Z] "registry-mirrors": [ [2022-05-24T10:37:55.991Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-24T10:37:55.991Z] ], [2022-05-24T10:37:55.991Z] "bip": "10.250.0.254/24", [2022-05-24T10:37:55.991Z] "hosts": [ [2022-05-24T10:37:55.991Z] "tcp://0.0.0.0:5555", [2022-05-24T10:37:55.991Z] "unix:///var/run/docker.sock" [2022-05-24T10:37:55.991Z] ], [2022-05-24T10:37:55.991Z] "mtu": 1458, [2022-05-24T10:37:55.991Z] "selinux-enabled": true, [2022-05-24T10:37:55.991Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-24T10:37:55.991Z] } [Pipeline] sh [2022-05-24T10:37:56.368Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-24T10:37:56.730Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T10:38:15.118Z] provisioning config files... [2022-05-24T10:38:15.143Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config58148312580440532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:38:15.733Z] ---> docker-login.sh [2022-05-24T10:38:15.733Z] nexus3.edgexfoundry.org:10001 [2022-05-24T10:38:16.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:38:16.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:38:16.605Z] Configure a credential helper to remove this warning. See [2022-05-24T10:38:16.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:38:16.605Z] [2022-05-24T10:38:16.605Z] Login Succeeded [2022-05-24T10:38:16.605Z] nexus3.edgexfoundry.org:10002 [2022-05-24T10:38:16.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:38:17.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:38:17.151Z] Configure a credential helper to remove this warning. See [2022-05-24T10:38:17.151Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:38:17.151Z] [2022-05-24T10:38:17.151Z] Login Succeeded [2022-05-24T10:38:17.151Z] nexus3.edgexfoundry.org:10003 [2022-05-24T10:38:17.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:38:17.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:38:17.426Z] Configure a credential helper to remove this warning. See [2022-05-24T10:38:17.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:38:17.426Z] [2022-05-24T10:38:17.426Z] Login Succeeded [2022-05-24T10:38:17.426Z] nexus3.edgexfoundry.org:10004 [2022-05-24T10:38:18.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:38:18.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:38:18.024Z] Configure a credential helper to remove this warning. See [2022-05-24T10:38:18.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:38:18.024Z] [2022-05-24T10:38:18.024Z] Login Succeeded [2022-05-24T10:38:18.024Z] docker.io [2022-05-24T10:38:18.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-24T10:38:18.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-24T10:38:18.568Z] Configure a credential helper to remove this warning. See [2022-05-24T10:38:18.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-24T10:38:18.568Z] [2022-05-24T10:38:18.568Z] Login Succeeded [2022-05-24T10:38:18.569Z] ---> docker-login.sh ends [Pipeline] } [2022-05-24T10:38:18.602Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-24T10:38:18.962Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-24T10:38:18.997Z] ========================================================= [2022-05-24T10:38:18.997Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-24T10:38:18.997Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:38:19.440Z] + 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-05-24T10:38:19.723Z] Sending build context to Docker daemon 5.275MB [2022-05-24T10:38:20.014Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-24T10:38:20.014Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-24T10:38:20.014Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-24T10:38:20.014Z] 9b3977197b4f: Pulling fs layer [2022-05-24T10:38:20.014Z] 1a89e8eeedd5: Pulling fs layer [2022-05-24T10:38:20.014Z] 94645a83ff95: Pulling fs layer [2022-05-24T10:38:20.014Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-24T10:38:20.014Z] 0c92f367c5e7: Pulling fs layer [2022-05-24T10:38:20.014Z] 3096ccb668a1: Pulling fs layer [2022-05-24T10:38:20.014Z] e8cf19c19ddd: Pulling fs layer [2022-05-24T10:38:20.014Z] a4caa8a26152: Pulling fs layer [2022-05-24T10:38:20.014Z] 3f3a8bcf1eab: Waiting [2022-05-24T10:38:20.014Z] 0c92f367c5e7: Waiting [2022-05-24T10:38:20.014Z] 3096ccb668a1: Waiting [2022-05-24T10:38:20.014Z] e8cf19c19ddd: Waiting [2022-05-24T10:38:20.014Z] a4caa8a26152: Waiting [2022-05-24T10:38:20.014Z] 94645a83ff95: Verifying Checksum [2022-05-24T10:38:20.014Z] 94645a83ff95: Download complete [2022-05-24T10:38:20.014Z] 1a89e8eeedd5: Download complete [2022-05-24T10:38:20.014Z] 0c92f367c5e7: Verifying Checksum [2022-05-24T10:38:20.014Z] 3096ccb668a1: Verifying Checksum [2022-05-24T10:38:20.014Z] 3096ccb668a1: Download complete [2022-05-24T10:38:20.294Z] e8cf19c19ddd: Verifying Checksum [2022-05-24T10:38:20.294Z] e8cf19c19ddd: Download complete [2022-05-24T10:38:20.294Z] 9b3977197b4f: Verifying Checksum [2022-05-24T10:38:20.294Z] 9b3977197b4f: Download complete [2022-05-24T10:38:20.894Z] 9b3977197b4f: Pull complete [2022-05-24T10:38:21.498Z] 1a89e8eeedd5: Pull complete [2022-05-24T10:38:21.773Z] 94645a83ff95: Pull complete [2022-05-24T10:38:22.048Z] a4caa8a26152: Verifying Checksum [2022-05-24T10:38:22.048Z] a4caa8a26152: Download complete [2022-05-24T10:38:22.650Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-24T10:38:22.650Z] 3f3a8bcf1eab: Download complete [2022-05-24T10:38:35.058Z] 3f3a8bcf1eab: Pull complete [2022-05-24T10:38:35.058Z] 0c92f367c5e7: Pull complete [2022-05-24T10:38:35.058Z] 3096ccb668a1: Pull complete [2022-05-24T10:38:35.336Z] e8cf19c19ddd: Pull complete [2022-05-24T10:38:42.052Z] a4caa8a26152: Pull complete [2022-05-24T10:38:42.052Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-24T10:38:42.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-24T10:38:42.052Z] ---> 725f1c02e7f9 [2022-05-24T10:38:42.052Z] Step 3/11 : ARG MAKE=make build [2022-05-24T10:38:42.052Z] ---> Running in 46c2c6161f78 [2022-05-24T10:38:42.324Z] Removing intermediate container 46c2c6161f78 [2022-05-24T10:38:42.324Z] ---> fef693004f0b [2022-05-24T10:38:42.324Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-24T10:38:42.324Z] ---> Running in 828620c071c3 [2022-05-24T10:38:42.600Z] Removing intermediate container 828620c071c3 [2022-05-24T10:38:42.600Z] ---> 60c37f570536 [2022-05-24T10:38:42.600Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-24T10:38:42.600Z] ---> Running in 3f8e4f385872 [2022-05-24T10:38:42.879Z] Removing intermediate container 3f8e4f385872 [2022-05-24T10:38:42.879Z] ---> be6ad91a72af [2022-05-24T10:38:42.879Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-24T10:38:43.152Z] ---> Running in 3b4a6b9c886e [2022-05-24T10:38:44.589Z] Removing intermediate container 3b4a6b9c886e [2022-05-24T10:38:44.589Z] ---> 9e29d49ff272 [2022-05-24T10:38:44.589Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-24T10:38:44.860Z] ---> Running in 7f37385508b7 [2022-05-24T10:38:45.834Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-24T10:38:46.424Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-24T10:38:47.403Z] OK: 220 MiB in 52 packages [2022-05-24T10:38:48.000Z] Removing intermediate container 7f37385508b7 [2022-05-24T10:38:48.000Z] ---> 232314922e85 [2022-05-24T10:38:48.000Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-24T10:38:48.599Z] ---> 17a0ec50f37b [2022-05-24T10:38:48.599Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-24T10:38:48.599Z] ---> Running in 04b04df57dc8 [2022-05-24T10:39:35.567Z] Removing intermediate container 04b04df57dc8 [2022-05-24T10:39:35.567Z] ---> ddce82327369 [2022-05-24T10:39:35.567Z] Step 10/11 : COPY . . [2022-05-24T10:39:35.567Z] ---> afb1e9d38dcd [2022-05-24T10:39:35.567Z] Step 11/11 : RUN ${MAKE} [2022-05-24T10:39:35.567Z] ---> Running in 265e24335554 [2022-05-24T10:39:35.567Z] noop [2022-05-24T10:39:35.567Z] Removing intermediate container 265e24335554 [2022-05-24T10:39:35.567Z] ---> 4b0227e04728 [2022-05-24T10:39:35.567Z] Successfully built 4b0227e04728 [2022-05-24T10:39:35.567Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:39:35.932Z] + docker inspect -f . ci-base-image-arm64 [2022-05-24T10:39:35.932Z] . [Pipeline] withDockerContainer [2022-05-24T10:39:36.164Z] prd-ubuntu20.04-docker-arm64-4c-16g-64474 does not seem to be running inside a container [2022-05-24T10:39:36.248Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-24T10:39:37.509Z] $ docker top d7923957e2a91537a32e485484bced848e918d890d6fdfd2738a036f3afcd14e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T10:39:38.477Z] + go version [2022-05-24T10:39:38.477Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-24T10:39:38.519Z] $ docker stop --time=1 d7923957e2a91537a32e485484bced848e918d890d6fdfd2738a036f3afcd14e [2022-05-24T10:39:40.124Z] $ docker rm -f d7923957e2a91537a32e485484bced848e918d890d6fdfd2738a036f3afcd14e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:39:40.942Z] + docker inspect -f . ci-base-image-arm64 [2022-05-24T10:39:40.942Z] . [Pipeline] withDockerContainer [2022-05-24T10:39:41.175Z] prd-ubuntu20.04-docker-arm64-4c-16g-64474 does not seem to be running inside a container [2022-05-24T10:39:41.265Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-24T10:39:42.494Z] $ docker top 5f3803f429c2f6eb872e8054231ea60846b44219e89e144b6fd9b19307582521 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-24T10:39:43.471Z] + make test [2022-05-24T10:39:43.471Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-24T10:40:10.297Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-24T10:41:47.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-24T10:41:47.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-24T10:41:47.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-24T10:41:55.550Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.413s coverage: 23.3% of statements [2022-05-24T10:41:55.550Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-24T10:41:55.550Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.288s coverage: 27.6% of statements [2022-05-24T10:41:55.550Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.316s coverage: 78.9% of statements [2022-05-24T10:41:55.550Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.237s coverage: 10.8% of statements [2022-05-24T10:41:59.873Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.560s coverage: 60.0% of statements [2022-05-24T10:41:59.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-24T10:41:59.873Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-24T10:42:02.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.406s coverage: 34.8% of statements [2022-05-24T10:42:02.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-24T10:42:03.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.318s coverage: 85.4% of statements [2022-05-24T10:42:03.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-24T10:42:03.966Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-24T10:42:03.966Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.488s coverage: 65.1% of statements [2022-05-24T10:42:07.357Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.126s coverage: 89.2% of statements [2022-05-24T10:42:07.357Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-24T10:42:09.326Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.227s coverage: 4.7% of statements [2022-05-24T10:42:09.326Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-24T10:42:09.596Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-24T10:42:09.596Z] GO111MODULE=on go vet ./... [2022-05-24T10:43:31.420Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-24T10:43:31.420Z] ./internal/messaging/messaging_test.go [2022-05-24T10:43:31.420Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-24T10:43:31.420Z] make: *** [Makefile:53: test] Error 1 [Pipeline] } [2022-05-24T10:43:31.469Z] $ docker stop --time=1 5f3803f429c2f6eb872e8054231ea60846b44219e89e144b6fd9b19307582521 [2022-05-24T10:43:33.249Z] $ docker rm -f 5f3803f429c2f6eb872e8054231ea60846b44219e89e144b6fd9b19307582521 [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-05-24T10:43:35.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T10:43:35.016Z] [2022-05-24T10:43:35.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:43:35.414Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T10:43:35.701Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-24T10:43:35.701Z] 8998bd30e6a1: Pulling fs layer [2022-05-24T10:43:35.701Z] 04944245beec: Pulling fs layer [2022-05-24T10:43:35.701Z] 699f458cf7ca: Pulling fs layer [2022-05-24T10:43:35.701Z] 765212b225bb: Pulling fs layer [2022-05-24T10:43:35.701Z] f23df028b6ca: Pulling fs layer [2022-05-24T10:43:35.701Z] d65c8cfc05b1: Pulling fs layer [2022-05-24T10:43:35.701Z] 2437ff75d9bd: Pulling fs layer [2022-05-24T10:43:35.701Z] f23df028b6ca: Waiting [2022-05-24T10:43:35.701Z] d65c8cfc05b1: Waiting [2022-05-24T10:43:35.701Z] 2437ff75d9bd: Waiting [2022-05-24T10:43:35.701Z] 765212b225bb: Waiting [2022-05-24T10:43:35.701Z] 04944245beec: Verifying Checksum [2022-05-24T10:43:35.701Z] 04944245beec: Download complete [2022-05-24T10:43:35.701Z] 765212b225bb: Verifying Checksum [2022-05-24T10:43:35.701Z] 765212b225bb: Download complete [2022-05-24T10:43:35.979Z] f23df028b6ca: Verifying Checksum [2022-05-24T10:43:35.979Z] f23df028b6ca: Download complete [2022-05-24T10:43:35.979Z] d65c8cfc05b1: Verifying Checksum [2022-05-24T10:43:35.979Z] d65c8cfc05b1: Download complete [2022-05-24T10:43:35.979Z] 699f458cf7ca: Verifying Checksum [2022-05-24T10:43:35.979Z] 699f458cf7ca: Download complete [2022-05-24T10:43:36.263Z] 8998bd30e6a1: Verifying Checksum [2022-05-24T10:43:36.263Z] 8998bd30e6a1: Download complete [2022-05-24T10:43:38.889Z] 2437ff75d9bd: Verifying Checksum [2022-05-24T10:43:38.889Z] 2437ff75d9bd: Download complete [2022-05-24T10:43:40.861Z] 8998bd30e6a1: Pull complete [2022-05-24T10:43:41.457Z] 04944245beec: Pull complete [2022-05-24T10:43:42.890Z] 699f458cf7ca: Pull complete [2022-05-24T10:43:42.890Z] 765212b225bb: Pull complete [2022-05-24T10:43:43.884Z] f23df028b6ca: Pull complete [2022-05-24T10:43:43.884Z] d65c8cfc05b1: Pull complete [2022-05-24T10:43:58.981Z] 2437ff75d9bd: Pull complete [2022-05-24T10:43:58.981Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-24T10:43:58.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-24T10:43:58.981Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-24T10:43:59.206Z] prd-ubuntu20.04-docker-arm64-4c-16g-64474 does not seem to be running inside a container [2022-05-24T10:43:59.295Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-24T10:44:01.725Z] $ docker top f4a8faf904ca092e08247893dd728682bf5fd0a82d0911cad022cd5633518753 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:44:02.692Z] ---> job-cost.sh [2022-05-24T10:44:02.692Z] lf-activate-venv: SKIPPING [2022-05-24T10:44:02.692Z] INFO: No Stack... [2022-05-24T10:44:02.966Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-24T10:44:03.946Z] INFO: Archiving Costs [Pipeline] sh [2022-05-24T10:44:04.632Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-05-24T10:44:04.632Z] + cut -d, -f6 [Pipeline] lock [2022-05-24T10:44:04.719Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1166-1-stack-cost] [2022-05-24T10:44:04.723Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1166-1-stack-cost] did not exist. Created. [2022-05-24T10:44:04.723Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1166-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-24T10:44:05.474Z] /w/workspace/device-sdk-go/1@tmp/durable-3195b4d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-24T10:44:06.183Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-24T10:44:06.217Z] Warning: overwriting stash ‘stack-cost’ [2022-05-24T10:44:06.685Z] Stashed 1 file(s) [Pipeline] } [2022-05-24T10:44:06.700Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1166-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-24T10:44:06.779Z] $ docker stop --time=1 f4a8faf904ca092e08247893dd728682bf5fd0a82d0911cad022cd5633518753 [2022-05-24T10:44:08.248Z] $ docker rm -f f4a8faf904ca092e08247893dd728682bf5fd0a82d0911cad022cd5633518753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-24T10:44:08.964Z] 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-05-24T10:44:11.066Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives ] [2022-05-24T10:44:11.066Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives [2022-05-24T10:44:11.066Z] total 16 [2022-05-24T10:44:11.066Z] drwxr-xr-x 3 root root 4096 May 24 10:37 . [2022-05-24T10:44:11.066Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 10:37 .. [2022-05-24T10:44:11.066Z] drwxr-xr-x 2 root root 4096 May 24 10:37 cost [2022-05-24T10:44:11.066Z] -rw-r--r-- 1 root root 85 May 24 10:37 cost.csv [2022-05-24T10:44:11.066Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives [2022-05-24T10:44:11.066Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives [2022-05-24T10:44:11.066Z] total 16 [2022-05-24T10:44:11.066Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 10:37 . [2022-05-24T10:44:11.066Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 10:37 .. [2022-05-24T10:44:11.066Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 10:37 cost [2022-05-24T10:44:11.066Z] -rw-r--r-- 1 jenkins jenkins 85 May 24 10:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:44:11.399Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:44:12.313Z] ---> package-listing.sh [2022-05-24T10:44:12.313Z] ++ facter osfamily [2022-05-24T10:44:12.313Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-24T10:44:12.313Z] + OS_FAMILY=debian [2022-05-24T10:44:12.313Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1166 [2022-05-24T10:44:12.313Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-24T10:44:12.313Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-24T10:44:12.313Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-24T10:44:12.313Z] + PACKAGES=/tmp/packages_start.txt [2022-05-24T10:44:12.313Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1166 ']' [2022-05-24T10:44:12.313Z] + PACKAGES=/tmp/packages_end.txt [2022-05-24T10:44:12.313Z] + case "${OS_FAMILY}" in [2022-05-24T10:44:12.313Z] + dpkg -l [2022-05-24T10:44:12.313Z] + grep '^ii' [2022-05-24T10:44:12.574Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-24T10:44:12.574Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-24T10:44:12.574Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-24T10:44:12.574Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1166 ']' [2022-05-24T10:44:12.574Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives/ [2022-05-24T10:44:12.574Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1166/archives/ [Pipeline] echo [2022-05-24T10:44:12.608Z] 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-1166/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-24T10:44:12.902Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-24T10:44:13.501Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-24T10:44:13.501Z] . [Pipeline] withDockerContainer [2022-05-24T10:44:13.589Z] prd-ubuntu20.04-docker-8c-8g-64473 does not seem to be running inside a container [2022-05-24T10:44:13.633Z] $ 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-1166/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-1166 -v /w/workspace/gexfoundry_device-sdk-go_PR-1166:/w/workspace/gexfoundry_device-sdk-go_PR-1166:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-24T10:44:13.885Z] $ docker top 9f94d7ccc904e8721d5da9c17bc4f45dfcab3c45a68716821b3cf937ec41cd66 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-24T10:44:14.296Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-24T10:44:14.606Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-24T10:44:14.929Z] + ls /var/log/sa-host [2022-05-24T10:44:14.930Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-24T10:44:15.079Z] provisioning config files... [2022-05-24T10:44:15.091Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1166@tmp/config288679069279655230tmp [Pipeline] { [Pipeline] echo [2022-05-24T10:44:15.139Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:44:15.462Z] ---> create-netrc.sh [Pipeline] } [2022-05-24T10:44:15.493Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:44:15.911Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-24T10:44:15.945Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:44:16.258Z] ---> sudo-logs.sh [2022-05-24T10:44:16.258Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-24T10:44:16.340Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:44:16.656Z] ---> job-cost.sh [2022-05-24T10:44:16.656Z] lf-activate-venv: SKIPPING [2022-05-24T10:44:16.656Z] DEBUG: total: 0.2199999988079071 [2022-05-24T10:44:16.656Z] INFO: Retrieving Stack Cost... [2022-05-24T10:44:17.228Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-24T10:44:17.796Z] INFO: Archiving Costs [Pipeline] echo [2022-05-24T10:44:17.835Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-24T10:44:18.151Z] ---> logs-deploy.sh [2022-05-24T10:44:18.151Z] lf-activate-venv: SKIPPING [2022-05-24T10:44:18.151Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1166/1 [2022-05-24T10:44:18.151Z] INFO: archiving workspace using pattern(s): [2022-05-24T10:44:19.091Z] Archives upload complete. [2022-05-24T10:44:19.091Z] INFO: archiving logs to Nexus