Pull request #1429 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0dfce5e8a4de51dfb16f777596e0def525982069+68f2c3776b57ed1a5eef5a5e3525a947923e1899 (818dad38a441ef5fc6dc0223ee70b9253de9892e) 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-ssh16924477937791258988.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh16343780288457526350.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-1429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5933195590579028010.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-1429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6626802969507130084.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6980759060603952288.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-1429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13503758648387496025.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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.20 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9246 in /w/workspace/gexfoundry_device-sdk-go_PR-1429 [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-1429 # 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 > 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/1429/head:refs/remotes/origin/PR-1429 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 68f2c3776b57ed1a5eef5a5e3525a947923e1899 into PR head commit 0dfce5e8a4de51dfb16f777596e0def525982069 Merge succeeded, producing 0dfce5e8a4de51dfb16f777596e0def525982069 Checking out Revision 0dfce5e8a4de51dfb16f777596e0def525982069 (PR-1429) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-21T04:59:39.724Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 0dfce5e8a4de51dfb16f777596e0def525982069 # 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 68f2c3776b57ed1a5eef5a5e3525a947923e1899 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0dfce5e8a4de51dfb16f777596e0def525982069 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-21T04:59:39.910Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-21T04:59:40.013Z] ========================================================= [2023-04-21T04:59:40.013Z] EdgeX Global Pipelines Version Info [2023-04-21T04:59:40.013Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-21T04:59:40.775Z] ------------------- [2023-04-21T04:59:40.775Z] stable info: [2023-04-21T04:59:40.775Z] ------------------- [2023-04-21T04:59:40.775Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-21T04:59:40.775Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-21T04:59:40.775Z] Message: update stable to v1.0.248 [2023-04-21T04:59:41.349Z] ------------------- [2023-04-21T04:59:41.349Z] experimental info: [2023-04-21T04:59:41.349Z] ------------------- [2023-04-21T04:59:41.349Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-21T04:59:41.349Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-21T04:59:41.349Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-21T04:59:41.659Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-21T04:59:41.700Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-21T04:59:41.739Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-21T04:59:41.778Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-21T04:59:41.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-21T04:59:41.866Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-21T04:59:41.906Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-21T04:59:41.949Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-21T04:59:41.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-21T04:59:42.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-21T04:59:42.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-21T04:59:42.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-21T04:59:42.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-21T04:59:42.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-21T04:59:42.237Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-21T04:59:42.283Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-21T04:59:42.323Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-21T04:59:42.366Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-21T04:59:42.407Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-21T04:59:42.450Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-21T04:59:42.495Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-21T04:59:42.534Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-21T04:59:42.580Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-21T04:59:42.623Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-21T04:59:42.659Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-21T04:59:42.695Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-21T04:59:42.735Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-21T04:59:42.773Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1429 [Pipeline] echo [2023-04-21T04:59:42.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1429 [Pipeline] echo [2023-04-21T04:59:42.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1429 [Pipeline] echo [2023-04-21T04:59:42.902Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0dfce5e8a4de51dfb16f777596e0def525982069 [Pipeline] echo [2023-04-21T04:59:42.947Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0dfce5e [Pipeline] echo [2023-04-21T04:59:42.986Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T04:59:43.100Z] provisioning config files... [2023-04-21T04:59:43.117Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp/config14712513607254812143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T04:59:43.467Z] ---> docker-login.sh [2023-04-21T04:59:43.467Z] nexus3.edgexfoundry.org:10001 [2023-04-21T04:59:43.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:43.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:43.727Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:43.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:43.727Z] [2023-04-21T04:59:43.727Z] Login Succeeded [2023-04-21T04:59:43.727Z] nexus3.edgexfoundry.org:10002 [2023-04-21T04:59:43.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:43.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:43.727Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:43.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:43.727Z] [2023-04-21T04:59:43.727Z] Login Succeeded [2023-04-21T04:59:43.727Z] nexus3.edgexfoundry.org:10003 [2023-04-21T04:59:43.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:43.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:43.988Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:43.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:43.988Z] [2023-04-21T04:59:43.988Z] Login Succeeded [2023-04-21T04:59:43.988Z] nexus3.edgexfoundry.org:10004 [2023-04-21T04:59:43.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:43.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:43.988Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:43.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:43.988Z] [2023-04-21T04:59:43.988Z] Login Succeeded [2023-04-21T04:59:43.988Z] docker.io [2023-04-21T04:59:43.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:44.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:44.249Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:44.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:44.249Z] [2023-04-21T04:59:44.249Z] Login Succeeded [2023-04-21T04:59:44.249Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T04:59:44.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-21T04:59:44.895Z] + git rev-list -1 --merges 0dfce5e8a4de51dfb16f777596e0def525982069~1..0dfce5e8a4de51dfb16f777596e0def525982069 [Pipeline] echo [2023-04-21T04:59:44.953Z] -----------> git rev-list -1 --merges 0dfce5e8a4de51dfb16f777596e0def525982069~1..0dfce5e8a4de51dfb16f777596e0def525982069 0dfce5e8a4de51dfb16f777596e0def525982069 [false] [Pipeline] sh [2023-04-21T04:59:45.263Z] + git log --format=format:%s -1 0dfce5e8a4de51dfb16f777596e0def525982069 [Pipeline] echo [2023-04-21T04:59:45.301Z] ========================================================= [2023-04-21T04:59:45.301Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-21T04:59:45.301Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-21T04:59:45.744Z] + git log --format=format:%s -1 0dfce5e8a4de51dfb16f777596e0def525982069 [Pipeline] echo [2023-04-21T04:59:45.776Z] [semverPrep] GIT_COMMIT: 0dfce5e8a4de51dfb16f777596e0def525982069, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-04-21T04:59:45.803Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-21T04:59:46.176Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-21T04:59:46.176Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-21T04:59:46.176Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-21T04:59:46.176Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-21T04:59:46.176Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-21T04:59:46.176Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-21T04:59:46.176Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T04:59:46.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T04:59:46.612Z] [2023-04-21T04:59:46.612Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T04:59:46.995Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T04:59:46.995Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-21T04:59:46.995Z] b85a868b505f: Pulling fs layer [2023-04-21T04:59:46.995Z] e2be974225ed: Pulling fs layer [2023-04-21T04:59:46.995Z] 339a4e72a1f5: Pulling fs layer [2023-04-21T04:59:46.995Z] 988bab9f4d93: Pulling fs layer [2023-04-21T04:59:46.995Z] 1469e6f7b9e6: Pulling fs layer [2023-04-21T04:59:46.995Z] eaf3925da568: Pulling fs layer [2023-04-21T04:59:46.995Z] bab4dde63d76: Pulling fs layer [2023-04-21T04:59:46.995Z] bde34c3a00c8: Pulling fs layer [2023-04-21T04:59:46.995Z] b352a97aabf1: Pulling fs layer [2023-04-21T04:59:46.995Z] 4872d77fe225: Pulling fs layer [2023-04-21T04:59:46.995Z] 988bab9f4d93: Waiting [2023-04-21T04:59:46.995Z] 5851b861e8e6: Pulling fs layer [2023-04-21T04:59:46.995Z] 1469e6f7b9e6: Waiting [2023-04-21T04:59:46.995Z] bab4dde63d76: Waiting [2023-04-21T04:59:46.995Z] eaf3925da568: Waiting [2023-04-21T04:59:46.995Z] bde34c3a00c8: Waiting [2023-04-21T04:59:46.995Z] 4872d77fe225: Waiting [2023-04-21T04:59:46.995Z] 5851b861e8e6: Waiting [2023-04-21T04:59:46.995Z] b352a97aabf1: Waiting [2023-04-21T04:59:46.995Z] e2be974225ed: Download complete [2023-04-21T04:59:46.995Z] 988bab9f4d93: Verifying Checksum [2023-04-21T04:59:46.995Z] 988bab9f4d93: Download complete [2023-04-21T04:59:46.995Z] 1469e6f7b9e6: Verifying Checksum [2023-04-21T04:59:46.995Z] 1469e6f7b9e6: Download complete [2023-04-21T04:59:46.995Z] eaf3925da568: Verifying Checksum [2023-04-21T04:59:47.258Z] 339a4e72a1f5: Verifying Checksum [2023-04-21T04:59:47.259Z] 339a4e72a1f5: Download complete [2023-04-21T04:59:47.259Z] bde34c3a00c8: Download complete [2023-04-21T04:59:47.259Z] b352a97aabf1: Download complete [2023-04-21T04:59:47.259Z] 4872d77fe225: Verifying Checksum [2023-04-21T04:59:47.259Z] 4872d77fe225: Download complete [2023-04-21T04:59:47.259Z] 5851b861e8e6: Verifying Checksum [2023-04-21T04:59:47.259Z] 5851b861e8e6: Download complete [2023-04-21T04:59:47.259Z] b85a868b505f: Verifying Checksum [2023-04-21T04:59:47.259Z] b85a868b505f: Download complete [2023-04-21T04:59:47.518Z] bab4dde63d76: Verifying Checksum [2023-04-21T04:59:47.518Z] bab4dde63d76: Download complete [2023-04-21T04:59:48.459Z] b85a868b505f: Pull complete [2023-04-21T04:59:48.459Z] e2be974225ed: Pull complete [2023-04-21T04:59:49.041Z] 339a4e72a1f5: Pull complete [2023-04-21T04:59:49.041Z] 988bab9f4d93: Pull complete [2023-04-21T04:59:49.312Z] 1469e6f7b9e6: Pull complete [2023-04-21T04:59:49.312Z] eaf3925da568: Pull complete [2023-04-21T04:59:51.224Z] bab4dde63d76: Pull complete [2023-04-21T04:59:51.224Z] bde34c3a00c8: Pull complete [2023-04-21T04:59:51.224Z] b352a97aabf1: Pull complete [2023-04-21T04:59:51.486Z] 4872d77fe225: Pull complete [2023-04-21T04:59:51.486Z] 5851b861e8e6: Pull complete [2023-04-21T04:59:51.486Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-21T04:59:51.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T04:59:51.486Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T04:59:51.744Z] prd-ubuntu20.04-docker-8c-8g-9246 does not seem to be running inside a container [2023-04-21T04:59:51.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1429 -v /w/workspace/gexfoundry_device-sdk-go_PR-1429:/w/workspace/gexfoundry_device-sdk-go_PR-1429:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1429@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:0.1.4 cat [2023-04-21T04:59:53.970Z] $ docker top 05f57079769ee72125e468dda720e38921fcc9fd7e0c1f57e965fd6d517b46b3 -eo pid,comm [2023-04-21T04:59:54.027Z] 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). [2023-04-21T04:59:54.027Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-21T04:59:54.144Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-21T04:59:54.144Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-21T04:59:54.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-21T04:59:54.266Z] $ docker exec 05f57079769ee72125e468dda720e38921fcc9fd7e0c1f57e965fd6d517b46b3 ssh-agent [2023-04-21T04:59:54.374Z] SSH_AUTH_SOCK=/tmp/ssh-8YEqrr7Ta6nr/agent.32 [2023-04-21T04:59:54.374Z] SSH_AGENT_PID=38 [2023-04-21T04:59:54.380Z] Running ssh-add (command line suppressed) [2023-04-21T04:59:54.484Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp/private_key_8968168403830190301.key (/w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp/private_key_8968168403830190301.key) [2023-04-21T04:59:54.494Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-21T04:59:54.831Z] + git tag --points-at HEAD [Pipeline] } [2023-04-21T04:59:54.862Z] $ docker exec --env ******** --env ******** 05f57079769ee72125e468dda720e38921fcc9fd7e0c1f57e965fd6d517b46b3 ssh-agent -k [2023-04-21T04:59:54.956Z] unset SSH_AUTH_SOCK; [2023-04-21T04:59:54.957Z] unset SSH_AGENT_PID; [2023-04-21T04:59:54.957Z] echo Agent pid 38 killed; [2023-04-21T04:59:54.964Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-21T04:59:55.064Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-21T04:59:55.064Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-21T04:59:55.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-21T04:59:55.173Z] $ docker exec 05f57079769ee72125e468dda720e38921fcc9fd7e0c1f57e965fd6d517b46b3 ssh-agent [2023-04-21T04:59:55.270Z] SSH_AUTH_SOCK=/tmp/ssh-vAnzYEwSOOOL/agent.71 [2023-04-21T04:59:55.270Z] SSH_AGENT_PID=77 [2023-04-21T04:59:55.275Z] Running ssh-add (command line suppressed) [2023-04-21T04:59:55.383Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp/private_key_6371478991024989865.key (/w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp/private_key_6371478991024989865.key) [2023-04-21T04:59:55.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-21T04:59:55.723Z] + git semver init [2023-04-21T04:59:55.983Z] 2023-04-21 04:59:55,913 [run_init] DEBUG init version:0.0.0 force:False [2023-04-21T04:59:55.983Z] 2023-04-21 04:59:55,914 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1429/.semver [2023-04-21T04:59:55.983Z] 2023-04-21 04:59:55,915 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1429/.semver [2023-04-21T04:59:55.983Z] 2023-04-21 04:59:55,915 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1429/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1429, universal_newlines=False, shell=None, istream=None) [2023-04-21T04:59:56.927Z] 2023-04-21 04:59:56,824 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1429/.git/info/exclude [2023-04-21T04:59:56.927Z] 2023-04-21 04:59:56,824 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1429/.semver/PR-1429 with force:False [2023-04-21T04:59:56.927Z] 2023-04-21 04:59:56,824 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1429/.semver/PR-1429 [2023-04-21T04:59:56.927Z] 2023-04-21 04:59:56,827 [execute] INFO git cat-file --batch-check [2023-04-21T04:59:56.927Z] 2023-04-21 04:59:56,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1429/.semver, universal_newlines=False, shell=None, istream=) [2023-04-21T04:59:56.927Z] 2023-04-21 04:59:56,834 [execute] INFO git cat-file --batch [2023-04-21T04:59:56.927Z] 2023-04-21 04:59:56,834 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1429/.semver, universal_newlines=False, shell=None, istream=) [2023-04-21T04:59:56.927Z] 2023-04-21 04:59:56,840 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1429/.semver/PR-1429 [2023-04-21T04:59:56.927Z] 0.0.0 [Pipeline] } [2023-04-21T04:59:56.957Z] $ docker exec --env ******** --env ******** 05f57079769ee72125e468dda720e38921fcc9fd7e0c1f57e965fd6d517b46b3 ssh-agent -k [2023-04-21T04:59:57.070Z] unset SSH_AUTH_SOCK; [2023-04-21T04:59:57.070Z] unset SSH_AGENT_PID; [2023-04-21T04:59:57.074Z] echo Agent pid 77 killed; [2023-04-21T04:59:57.076Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-21T04:59:57.493Z] + git semver [Pipeline] } [2023-04-21T04:59:57.783Z] $ docker stop --time=1 05f57079769ee72125e468dda720e38921fcc9fd7e0c1f57e965fd6d517b46b3 [2023-04-21T04:59:59.071Z] $ docker rm -f --volumes 05f57079769ee72125e468dda720e38921fcc9fd7e0c1f57e965fd6d517b46b3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-21T04:59:59.464Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-21T04:59:59.737Z] Stashed 1 file(s) [Pipeline] echo [2023-04-21T04:59:59.756Z] [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 [2023-04-21T05:00:00.359Z] provisioning config files... [2023-04-21T05:00:00.370Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp/config11738667170073122741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:00:00.714Z] ---> docker-login.sh [2023-04-21T05:00:00.714Z] nexus3.edgexfoundry.org:10001 [2023-04-21T05:00:00.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:00:00.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:00:00.714Z] Configure a credential helper to remove this warning. See [2023-04-21T05:00:00.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:00:00.714Z] [2023-04-21T05:00:00.714Z] Login Succeeded [2023-04-21T05:00:00.714Z] nexus3.edgexfoundry.org:10002 [2023-04-21T05:00:00.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:00:00.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:00:00.714Z] Configure a credential helper to remove this warning. See [2023-04-21T05:00:00.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:00:00.714Z] [2023-04-21T05:00:00.714Z] Login Succeeded [2023-04-21T05:00:00.714Z] nexus3.edgexfoundry.org:10003 [2023-04-21T05:00:00.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:00:00.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:00:00.974Z] Configure a credential helper to remove this warning. See [2023-04-21T05:00:00.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:00:00.974Z] [2023-04-21T05:00:00.974Z] Login Succeeded [2023-04-21T05:00:00.974Z] nexus3.edgexfoundry.org:10004 [2023-04-21T05:00:00.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:00:00.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:00:00.974Z] Configure a credential helper to remove this warning. See [2023-04-21T05:00:00.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:00:00.974Z] [2023-04-21T05:00:00.974Z] Login Succeeded [2023-04-21T05:00:00.974Z] docker.io [2023-04-21T05:00:01.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:00:01.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:00:01.234Z] Configure a credential helper to remove this warning. See [2023-04-21T05:00:01.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:00:01.234Z] [2023-04-21T05:00:01.234Z] Login Succeeded [2023-04-21T05:00:01.234Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T05:00:01.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-21T05:00:01.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T05:00:01.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T05:00:01.538Z] ========================================================= [2023-04-21T05:00:01.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-21T05:00:01.538Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:00:02.030Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-21T05:00:02.030Z] Sending build context to Docker daemon 10.99MB [2023-04-21T05:00:02.030Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T05:00:02.030Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-21T05:00:02.030Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-21T05:00:02.030Z] 63b65145d645: Pulling fs layer [2023-04-21T05:00:02.030Z] a2d21d5440eb: Pulling fs layer [2023-04-21T05:00:02.030Z] 935e6c44a52c: Pulling fs layer [2023-04-21T05:00:02.030Z] 94cc34f8dd06: Pulling fs layer [2023-04-21T05:00:02.030Z] 30dea6a524f1: Pulling fs layer [2023-04-21T05:00:02.030Z] a2aff8979fd8: Pulling fs layer [2023-04-21T05:00:02.030Z] 6808be2612f2: Pulling fs layer [2023-04-21T05:00:02.030Z] f25807f1079a: Pulling fs layer [2023-04-21T05:00:02.030Z] a2aff8979fd8: Waiting [2023-04-21T05:00:02.030Z] 94cc34f8dd06: Waiting [2023-04-21T05:00:02.030Z] 6808be2612f2: Waiting [2023-04-21T05:00:02.030Z] 30dea6a524f1: Waiting [2023-04-21T05:00:02.030Z] f25807f1079a: Waiting [2023-04-21T05:00:02.030Z] a2d21d5440eb: Download complete [2023-04-21T05:00:02.291Z] 94cc34f8dd06: Download complete [2023-04-21T05:00:02.291Z] 30dea6a524f1: Verifying Checksum [2023-04-21T05:00:02.291Z] 30dea6a524f1: Download complete [2023-04-21T05:00:02.291Z] 63b65145d645: Download complete [2023-04-21T05:00:02.291Z] a2aff8979fd8: Verifying Checksum [2023-04-21T05:00:02.291Z] a2aff8979fd8: Download complete [2023-04-21T05:00:02.291Z] 63b65145d645: Pull complete [2023-04-21T05:00:02.550Z] a2d21d5440eb: Pull complete [2023-04-21T05:00:02.550Z] f25807f1079a: Verifying Checksum [2023-04-21T05:00:02.550Z] f25807f1079a: Download complete [2023-04-21T05:00:02.811Z] 935e6c44a52c: Verifying Checksum [2023-04-21T05:00:02.811Z] 935e6c44a52c: Download complete [2023-04-21T05:00:03.070Z] 6808be2612f2: Verifying Checksum [2023-04-21T05:00:03.070Z] 6808be2612f2: Download complete [2023-04-21T05:00:06.362Z] 935e6c44a52c: Pull complete [2023-04-21T05:00:06.363Z] 94cc34f8dd06: Pull complete [2023-04-21T05:00:06.363Z] 30dea6a524f1: Pull complete [2023-04-21T05:00:06.363Z] a2aff8979fd8: Pull complete [2023-04-21T05:00:08.898Z] 6808be2612f2: Pull complete [2023-04-21T05:00:09.165Z] f25807f1079a: Pull complete [2023-04-21T05:00:09.165Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-21T05:00:09.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-21T05:00:09.165Z] ---> 3b553350e43f [2023-04-21T05:00:09.165Z] Step 3/10 : ARG MAKE=make build [2023-04-21T05:00:12.459Z] ---> Running in 8c1c49697ffe [2023-04-21T05:00:12.459Z] Removing intermediate container 8c1c49697ffe [2023-04-21T05:00:12.459Z] ---> ac7e3dac0fda [2023-04-21T05:00:12.459Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-21T05:00:12.459Z] ---> Running in bc9fb4def465 [2023-04-21T05:00:12.459Z] Removing intermediate container bc9fb4def465 [2023-04-21T05:00:12.459Z] ---> 384e08058b06 [2023-04-21T05:00:12.459Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-21T05:00:12.459Z] ---> Running in c84ea4e53302 [2023-04-21T05:00:12.459Z] Removing intermediate container c84ea4e53302 [2023-04-21T05:00:12.459Z] ---> 57a33cb24139 [2023-04-21T05:00:12.459Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-21T05:00:12.459Z] ---> Running in 77c8c2c7e253 [2023-04-21T05:00:12.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-21T05:00:12.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-21T05:00:12.978Z] OK: 265 MiB in 53 packages [2023-04-21T05:00:13.237Z] Removing intermediate container 77c8c2c7e253 [2023-04-21T05:00:13.237Z] ---> 272bb34cc7eb [2023-04-21T05:00:13.237Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-21T05:00:13.237Z] ---> da3e76920bd4 [2023-04-21T05:00:13.237Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T05:00:13.496Z] ---> Running in a4175e5e0803 [2023-04-21T05:00:15.182Z] Still waiting to schedule task [2023-04-21T05:00:15.182Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-21T05:00:40.083Z] Removing intermediate container a4175e5e0803 [2023-04-21T05:00:40.083Z] ---> 6ea37ba10f16 [2023-04-21T05:00:40.083Z] Step 9/10 : COPY . . [2023-04-21T05:00:40.083Z] ---> 2a19cf55a0d9 [2023-04-21T05:00:40.083Z] Step 10/10 : RUN ${MAKE} [2023-04-21T05:00:40.083Z] ---> Running in e5a662fd34d3 [2023-04-21T05:00:40.083Z] noop [2023-04-21T05:00:40.083Z] Removing intermediate container e5a662fd34d3 [2023-04-21T05:00:40.083Z] ---> e84c0b1ab09d [2023-04-21T05:00:40.083Z] Successfully built e84c0b1ab09d [2023-04-21T05:00:40.083Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:00:40.536Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-21T05:00:40.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:00:40.690Z] prd-ubuntu20.04-docker-8c-8g-9246 does not seem to be running inside a container [2023-04-21T05:00:40.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1429 -v /w/workspace/gexfoundry_device-sdk-go_PR-1429:/w/workspace/gexfoundry_device-sdk-go_PR-1429:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1429@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 [2023-04-21T05:00:41.037Z] $ docker top d5bdd0a4310d5337d8d4d46dc8c8bf956533488bfd3f9c6a56733334a83c9332 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T05:00:41.431Z] + go version [2023-04-21T05:00:41.431Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-21T05:00:41.468Z] $ docker stop --time=1 d5bdd0a4310d5337d8d4d46dc8c8bf956533488bfd3f9c6a56733334a83c9332 [2023-04-21T05:00:42.719Z] $ docker rm -f --volumes d5bdd0a4310d5337d8d4d46dc8c8bf956533488bfd3f9c6a56733334a83c9332 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:00:43.435Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-21T05:00:43.435Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:00:43.589Z] prd-ubuntu20.04-docker-8c-8g-9246 does not seem to be running inside a container [2023-04-21T05:00:43.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1429 -v /w/workspace/gexfoundry_device-sdk-go_PR-1429:/w/workspace/gexfoundry_device-sdk-go_PR-1429:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1429@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 [2023-04-21T05:00:43.967Z] $ docker top 94017686d59c5a038f662c933b103f869c4b118c3b7edeea3db691f69058eb8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T05:00:44.360Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1429 [Pipeline] fileExists [Pipeline] sh [2023-04-21T05:00:44.711Z] + make test [2023-04-21T05:00:44.711Z] go test -race -coverprofile=coverage.out ./... [2023-04-21T05:00:51.288Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-21T05:01:06.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-21T05:01:06.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-21T05:01:06.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-21T05:01:06.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-21T05:01:06.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-21T05:01:06.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-04-21T05:01:06.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-21T05:01:06.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-21T05:01:06.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 80.2% of statements [2023-04-21T05:01:06.283Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging.test] [2023-04-21T05:01:06.283Z] internal/controller/messaging/validation_test.go:123:50: undefined: types.ContentTypeText [2023-04-21T05:01:06.283Z] internal/controller/messaging/validation_test.go:128:50: undefined: types.ContentTypeJSON [2023-04-21T05:01:06.283Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements [2023-04-21T05:01:06.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-21T05:01:06.283Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-21T05:01:06.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 77.5% of statements [2023-04-21T05:01:06.552Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-04-21T05:01:06.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-21T05:01:06.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-21T05:01:06.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.085s coverage: 68.5% of statements [2023-04-21T05:01:06.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.125s coverage: 89.2% of statements [2023-04-21T05:01:07.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-21T05:01:07.545Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.5% of statements [2023-04-21T05:01:07.545Z] FAIL [2023-04-21T05:01:07.545Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-04-21T05:01:07.611Z] $ docker stop --time=1 94017686d59c5a038f662c933b103f869c4b118c3b7edeea3db691f69058eb8d [2023-04-21T05:01:10.317Z] $ docker rm -f --volumes 94017686d59c5a038f662c933b103f869c4b118c3b7edeea3db691f69058eb8d [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] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:01:11.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T05:01:11.524Z] [2023-04-21T05:01:11.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:01:11.903Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T05:01:11.904Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-21T05:01:11.904Z] 5eb5b503b376: Pulling fs layer [2023-04-21T05:01:11.904Z] 5c69ac0246d0: Pulling fs layer [2023-04-21T05:01:11.904Z] ec43610c2a17: Pulling fs layer [2023-04-21T05:01:11.904Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-21T05:01:11.904Z] 33b1e0a273af: Pulling fs layer [2023-04-21T05:01:11.904Z] 5d3b04190fa2: Pulling fs layer [2023-04-21T05:01:11.904Z] 2f39f015ded8: Pulling fs layer [2023-04-21T05:01:11.904Z] 33b1e0a273af: Waiting [2023-04-21T05:01:11.904Z] 5d3b04190fa2: Waiting [2023-04-21T05:01:11.904Z] 2f39f015ded8: Waiting [2023-04-21T05:01:11.904Z] 3a2ae6a8a46f: Waiting [2023-04-21T05:01:11.904Z] 5c69ac0246d0: Verifying Checksum [2023-04-21T05:01:11.904Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-21T05:01:11.904Z] 3a2ae6a8a46f: Download complete [2023-04-21T05:01:12.163Z] 33b1e0a273af: Verifying Checksum [2023-04-21T05:01:12.163Z] 33b1e0a273af: Download complete [2023-04-21T05:01:12.163Z] ec43610c2a17: Verifying Checksum [2023-04-21T05:01:12.163Z] ec43610c2a17: Download complete [2023-04-21T05:01:12.163Z] 5d3b04190fa2: Verifying Checksum [2023-04-21T05:01:12.163Z] 5d3b04190fa2: Download complete [2023-04-21T05:01:12.163Z] 5eb5b503b376: Verifying Checksum [2023-04-21T05:01:12.163Z] 5eb5b503b376: Download complete [2023-04-21T05:01:12.732Z] 2f39f015ded8: Download complete [2023-04-21T05:01:13.301Z] 5eb5b503b376: Pull complete [2023-04-21T05:01:13.301Z] 5c69ac0246d0: Pull complete [2023-04-21T05:01:13.866Z] ec43610c2a17: Pull complete [2023-04-21T05:01:13.866Z] 3a2ae6a8a46f: Pull complete [2023-04-21T05:01:14.124Z] 33b1e0a273af: Pull complete [2023-04-21T05:01:14.124Z] 5d3b04190fa2: Pull complete [2023-04-21T05:01:18.309Z] 2f39f015ded8: Pull complete [2023-04-21T05:01:18.309Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-21T05:01:18.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T05:01:18.309Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:01:18.521Z] prd-ubuntu20.04-docker-8c-8g-9246 does not seem to be running inside a container [2023-04-21T05:01:18.555Z] $ 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-1429 -v /w/workspace/gexfoundry_device-sdk-go_PR-1429:/w/workspace/gexfoundry_device-sdk-go_PR-1429:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1429@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 [2023-04-21T05:01:21.599Z] $ docker top 25ea0881886a7c0c4d1205c34826d0c5e9a9d8f8a57d54a327ffc820ed29ceaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:01:22.041Z] ---> job-cost.sh [2023-04-21T05:01:22.041Z] lf-activate-venv: SKIPPING [2023-04-21T05:01:22.041Z] INFO: No Stack... [2023-04-21T05:01:22.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-21T05:01:22.560Z] INFO: Archiving Costs [Pipeline] sh [2023-04-21T05:01:22.874Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1429/archives/cost.csv [2023-04-21T05:01:22.874Z] + cut -d, -f6 [Pipeline] lock [2023-04-21T05:01:22.923Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1429-1-stack-cost] [2023-04-21T05:01:22.928Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1429-1-stack-cost] did not exist. Created. [2023-04-21T05:01:22.928Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1429-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-21T05:01:23.325Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-21T05:01:23.385Z] Stashed 1 file(s) [Pipeline] } [2023-04-21T05:01:23.409Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1429-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-21T05:01:23.493Z] $ docker stop --time=1 25ea0881886a7c0c4d1205c34826d0c5e9a9d8f8a57d54a327ffc820ed29ceaf [2023-04-21T05:01:24.648Z] $ docker rm -f --volumes 25ea0881886a7c0c4d1205c34826d0c5e9a9d8f8a57d54a327ffc820ed29ceaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-21T05:01:25.011Z] Failed in branch amd64 [2023-04-21T05:02:33.646Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9250 in /w/workspace/gexfoundry_device-sdk-go_PR-1429 [Pipeline] { [Pipeline] ws [2023-04-21T05:02:33.699Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-21T05:02:33.779Z] The recommended git tool is: git [2023-04-21T05:02:39.798Z] using credential edgex-jenkins-ssh [2023-04-21T05:02:39.813Z] Cloning the remote Git repository [2023-04-21T05:02:39.856Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-21T05:02:39.961Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-21T05:02:40.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-21T05:02:40.134Z] > git --version # timeout=10 [2023-04-21T05:02:40.153Z] > git --version # 'git version 2.25.1' [2023-04-21T05:02:40.156Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T05:02:40.337Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-21T05:02:42.002Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-21T05:02:42.040Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-21T05:02:43.733Z] Merging remotes/origin/main commit 68f2c3776b57ed1a5eef5a5e3525a947923e1899 into PR head commit 0dfce5e8a4de51dfb16f777596e0def525982069 [2023-04-21T05:02:43.016Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-21T05:02:43.065Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-21T05:02:43.066Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T05:02:43.089Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1429/head:refs/remotes/origin/PR-1429 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-21T05:02:43.754Z] > git config core.sparsecheckout # timeout=10 [2023-04-21T05:02:43.847Z] > git checkout -f 0dfce5e8a4de51dfb16f777596e0def525982069 # timeout=10 [2023-04-21T05:02:43.962Z] > git remote # timeout=10 [2023-04-21T05:02:44.081Z] Merge succeeded, producing 0dfce5e8a4de51dfb16f777596e0def525982069 [2023-04-21T05:02:44.082Z] Checking out Revision 0dfce5e8a4de51dfb16f777596e0def525982069 (PR-1429) [2023-04-21T05:02:44.707Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2023-04-21T05:02:44.772Z] > git --version # timeout=10 [2023-04-21T05:02:44.789Z] > git --version # 'git version 2.25.1' [2023-04-21T05:02:44.811Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-21T05:02:43.986Z] > git config --get remote.origin.url # timeout=10 [2023-04-21T05:02:44.011Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T05:02:44.028Z] > git merge 68f2c3776b57ed1a5eef5a5e3525a947923e1899 # timeout=10 [2023-04-21T05:02:44.064Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-21T05:02:44.087Z] > git config core.sparsecheckout # timeout=10 [2023-04-21T05:02:44.109Z] > git checkout -f 0dfce5e8a4de51dfb16f777596e0def525982069 # timeout=10 [2023-04-21T05:02:45.904Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-21T05:02:45.904Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-21T05:02:45.904Z] Dload Upload Total Spent Left Speed [2023-04-21T05:02:45.904Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2023-04-21T05:02:46.587Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-21T05:02:46.956Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-21T05:02:46.956Z] + sudo tee /etc/docker/daemon.new [2023-04-21T05:02:46.957Z] { [2023-04-21T05:02:46.957Z] "registry-mirrors": [ [2023-04-21T05:02:46.957Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-21T05:02:46.957Z] ], [2023-04-21T05:02:46.957Z] "bip": "10.250.0.254/24", [2023-04-21T05:02:46.957Z] "hosts": [ [2023-04-21T05:02:46.957Z] "tcp://0.0.0.0:5555", [2023-04-21T05:02:46.957Z] "unix:///var/run/docker.sock" [2023-04-21T05:02:46.957Z] ], [2023-04-21T05:02:46.957Z] "mtu": 1458, [2023-04-21T05:02:46.957Z] "selinux-enabled": true, [2023-04-21T05:02:46.957Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-21T05:02:46.957Z] } [Pipeline] sh [2023-04-21T05:02:47.336Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-21T05:02:47.719Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T05:03:06.097Z] provisioning config files... [2023-04-21T05:03:06.130Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config18257306252556390469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:03:06.546Z] ---> docker-login.sh [2023-04-21T05:03:06.546Z] nexus3.edgexfoundry.org:10001 [2023-04-21T05:03:07.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:03:07.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:03:07.142Z] Configure a credential helper to remove this warning. See [2023-04-21T05:03:07.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:03:07.142Z] [2023-04-21T05:03:07.142Z] Login Succeeded [2023-04-21T05:03:07.142Z] nexus3.edgexfoundry.org:10002 [2023-04-21T05:03:07.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:03:07.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:03:07.418Z] Configure a credential helper to remove this warning. See [2023-04-21T05:03:07.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:03:07.418Z] [2023-04-21T05:03:07.418Z] Login Succeeded [2023-04-21T05:03:07.418Z] nexus3.edgexfoundry.org:10003 [2023-04-21T05:03:07.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:03:07.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:03:07.961Z] Configure a credential helper to remove this warning. See [2023-04-21T05:03:07.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:03:07.962Z] [2023-04-21T05:03:07.962Z] Login Succeeded [2023-04-21T05:03:07.962Z] nexus3.edgexfoundry.org:10004 [2023-04-21T05:03:08.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:03:08.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:03:08.234Z] Configure a credential helper to remove this warning. See [2023-04-21T05:03:08.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:03:08.234Z] [2023-04-21T05:03:08.234Z] Login Succeeded [2023-04-21T05:03:08.234Z] docker.io [2023-04-21T05:03:08.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:03:08.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:03:08.776Z] Configure a credential helper to remove this warning. See [2023-04-21T05:03:08.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:03:08.776Z] [2023-04-21T05:03:08.776Z] Login Succeeded [2023-04-21T05:03:08.776Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T05:03:08.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-21T05:03:09.459Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T05:03:09.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T05:03:09.530Z] ========================================================= [2023-04-21T05:03:09.530Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-21T05:03:09.530Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:03:10.055Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-21T05:03:10.327Z] Sending build context to Docker daemon 5.902MB [2023-04-21T05:03:10.327Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T05:03:10.327Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-21T05:03:10.598Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-21T05:03:10.598Z] af6eaf76a39c: Pulling fs layer [2023-04-21T05:03:10.598Z] 55522c791124: Pulling fs layer [2023-04-21T05:03:10.598Z] ce5c4a1c91eb: Pulling fs layer [2023-04-21T05:03:10.598Z] 169dfbe0d373: Pulling fs layer [2023-04-21T05:03:10.598Z] e1ff8fa3b103: Pulling fs layer [2023-04-21T05:03:10.598Z] 52ebb69f0ebf: Pulling fs layer [2023-04-21T05:03:10.598Z] 5abe8eddf0d5: Pulling fs layer [2023-04-21T05:03:10.598Z] 169dfbe0d373: Waiting [2023-04-21T05:03:10.598Z] e1ff8fa3b103: Waiting [2023-04-21T05:03:10.598Z] 52ebb69f0ebf: Waiting [2023-04-21T05:03:10.598Z] 5abe8eddf0d5: Waiting [2023-04-21T05:03:10.598Z] 55522c791124: Verifying Checksum [2023-04-21T05:03:10.598Z] 55522c791124: Download complete [2023-04-21T05:03:10.598Z] 169dfbe0d373: Verifying Checksum [2023-04-21T05:03:10.598Z] 169dfbe0d373: Download complete [2023-04-21T05:03:10.885Z] e1ff8fa3b103: Verifying Checksum [2023-04-21T05:03:10.885Z] e1ff8fa3b103: Download complete [2023-04-21T05:03:10.885Z] af6eaf76a39c: Verifying Checksum [2023-04-21T05:03:10.885Z] af6eaf76a39c: Download complete [2023-04-21T05:03:11.870Z] af6eaf76a39c: Pull complete [2023-04-21T05:03:11.870Z] 5abe8eddf0d5: Verifying Checksum [2023-04-21T05:03:11.870Z] 5abe8eddf0d5: Download complete [2023-04-21T05:03:12.144Z] 55522c791124: Pull complete [2023-04-21T05:03:13.123Z] ce5c4a1c91eb: Verifying Checksum [2023-04-21T05:03:13.123Z] ce5c4a1c91eb: Download complete [2023-04-21T05:03:13.395Z] 52ebb69f0ebf: Verifying Checksum [2023-04-21T05:03:13.395Z] 52ebb69f0ebf: Download complete [2023-04-21T05:03:25.769Z] ce5c4a1c91eb: Pull complete [2023-04-21T05:03:25.769Z] 169dfbe0d373: Pull complete [2023-04-21T05:03:25.769Z] e1ff8fa3b103: Pull complete [2023-04-21T05:03:31.149Z] 52ebb69f0ebf: Pull complete [2023-04-21T05:03:32.125Z] 5abe8eddf0d5: Pull complete [2023-04-21T05:03:32.125Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-21T05:03:32.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-21T05:03:32.125Z] ---> 6cb57ee374ae [2023-04-21T05:03:32.125Z] Step 3/10 : ARG MAKE=make build [2023-04-21T05:03:34.155Z] ---> Running in 6fa6d8b5341b [2023-04-21T05:03:34.155Z] Removing intermediate container 6fa6d8b5341b [2023-04-21T05:03:34.155Z] ---> 6fcd81f90d3d [2023-04-21T05:03:34.155Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-21T05:03:34.155Z] ---> Running in 0667360eb699 [2023-04-21T05:03:34.436Z] Removing intermediate container 0667360eb699 [2023-04-21T05:03:34.437Z] ---> 9376ac741218 [2023-04-21T05:03:34.437Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-21T05:03:34.704Z] ---> Running in c5a7d5f2a620 [2023-04-21T05:03:34.978Z] Removing intermediate container c5a7d5f2a620 [2023-04-21T05:03:34.978Z] ---> b6d4a4550b4d [2023-04-21T05:03:34.978Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-21T05:03:34.978Z] ---> Running in 13cede1834c8 [2023-04-21T05:03:36.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-21T05:03:37.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-21T05:03:37.974Z] OK: 263 MiB in 53 packages [2023-04-21T05:03:38.561Z] Removing intermediate container 13cede1834c8 [2023-04-21T05:03:38.561Z] ---> 668f21c466d8 [2023-04-21T05:03:38.561Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-21T05:03:39.160Z] ---> 2669402b1ecc [2023-04-21T05:03:39.160Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T05:03:39.160Z] ---> Running in 5cfbb3ae05ae [2023-04-21T05:04:48.656Z] Removing intermediate container 5cfbb3ae05ae [2023-04-21T05:04:48.656Z] ---> c19a618c1bca [2023-04-21T05:04:48.656Z] Step 9/10 : COPY . . [2023-04-21T05:04:48.656Z] ---> e02582733d6a [2023-04-21T05:04:48.656Z] Step 10/10 : RUN ${MAKE} [2023-04-21T05:04:48.656Z] ---> Running in 47ebac676309 [2023-04-21T05:04:48.656Z] noop [2023-04-21T05:04:48.656Z] Removing intermediate container 47ebac676309 [2023-04-21T05:04:48.656Z] ---> d70d51cbd8b1 [2023-04-21T05:04:48.656Z] Successfully built d70d51cbd8b1 [2023-04-21T05:04:48.656Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:04:49.168Z] + docker inspect -f . ci-base-image-arm64 [2023-04-21T05:04:49.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:04:49.480Z] prd-ubuntu20.04-docker-arm64-4c-16g-9250 does not seem to be running inside a container [2023-04-21T05:04:49.563Z] $ 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 ******** ci-base-image-arm64 cat [2023-04-21T05:04:50.827Z] $ docker top b8be1f9a49471a15d8fef754add7b45109bfcd4e93e9a87752a5a60a1074cdc8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T05:04:51.726Z] + go version [2023-04-21T05:04:51.726Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-21T05:04:51.759Z] $ docker stop --time=1 b8be1f9a49471a15d8fef754add7b45109bfcd4e93e9a87752a5a60a1074cdc8 [2023-04-21T05:04:53.445Z] $ docker rm -f --volumes b8be1f9a49471a15d8fef754add7b45109bfcd4e93e9a87752a5a60a1074cdc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:04:54.337Z] + docker inspect -f . ci-base-image-arm64 [2023-04-21T05:04:54.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:04:54.614Z] prd-ubuntu20.04-docker-arm64-4c-16g-9250 does not seem to be running inside a container [2023-04-21T05:04:54.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** ci-base-image-arm64 cat [2023-04-21T05:04:55.925Z] $ docker top b0787d4e9372ffe27cf5a7011bbd56917d7f4fd846bd7a4a62a532c31492adec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T05:04:56.858Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-21T05:04:57.586Z] + make test [2023-04-21T05:04:57.586Z] go test -race -coverprofile=coverage.out ./... [2023-04-21T05:05:44.482Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-21T05:08:06.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-21T05:08:06.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-21T05:08:06.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-21T05:08:06.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-21T05:08:06.231Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-21T05:08:07.203Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.254s coverage: 27.6% of statements [2023-04-21T05:08:09.792Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.295s coverage: 80.2% of statements [2023-04-21T05:08:19.878Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-21T05:08:19.878Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-21T05:08:20.147Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging.test] [2023-04-21T05:08:20.147Z] internal/controller/messaging/validation_test.go:123:50: undefined: types.ContentTypeText [2023-04-21T05:08:20.147Z] internal/controller/messaging/validation_test.go:128:50: undefined: types.ContentTypeJSON [2023-04-21T05:08:20.147Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.409s coverage: 86.0% of statements [2023-04-21T05:08:26.807Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-21T05:08:26.807Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-21T05:08:26.807Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.465s coverage: 77.5% of statements [2023-04-21T05:08:26.807Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-04-21T05:08:32.164Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-21T05:08:32.164Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-21T05:08:32.433Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.472s coverage: 68.5% of statements [2023-04-21T05:08:32.433Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.536s coverage: 89.2% of statements [2023-04-21T05:08:37.790Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-21T05:08:37.790Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.268s coverage: 5.5% of statements [2023-04-21T05:08:37.790Z] FAIL [2023-04-21T05:08:38.755Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-04-21T05:08:38.798Z] $ docker stop --time=1 b0787d4e9372ffe27cf5a7011bbd56917d7f4fd846bd7a4a62a532c31492adec [2023-04-21T05:08:40.659Z] $ docker rm -f --volumes b0787d4e9372ffe27cf5a7011bbd56917d7f4fd846bd7a4a62a532c31492adec [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] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:08:42.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T05:08:42.474Z] [2023-04-21T05:08:42.474Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:08:42.883Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T05:08:42.883Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-21T05:08:42.883Z] 8998bd30e6a1: Pulling fs layer [2023-04-21T05:08:42.883Z] 04944245beec: Pulling fs layer [2023-04-21T05:08:42.883Z] 699f458cf7ca: Pulling fs layer [2023-04-21T05:08:42.883Z] 765212b225bb: Pulling fs layer [2023-04-21T05:08:42.883Z] f23df028b6ca: Pulling fs layer [2023-04-21T05:08:42.883Z] d65c8cfc05b1: Pulling fs layer [2023-04-21T05:08:42.883Z] 2437ff75d9bd: Pulling fs layer [2023-04-21T05:08:42.883Z] 765212b225bb: Waiting [2023-04-21T05:08:42.883Z] f23df028b6ca: Waiting [2023-04-21T05:08:42.883Z] d65c8cfc05b1: Waiting [2023-04-21T05:08:42.883Z] 2437ff75d9bd: Waiting [2023-04-21T05:08:43.155Z] 04944245beec: Verifying Checksum [2023-04-21T05:08:43.155Z] 04944245beec: Download complete [2023-04-21T05:08:43.155Z] 765212b225bb: Verifying Checksum [2023-04-21T05:08:43.155Z] 765212b225bb: Download complete [2023-04-21T05:08:43.155Z] f23df028b6ca: Verifying Checksum [2023-04-21T05:08:43.155Z] f23df028b6ca: Download complete [2023-04-21T05:08:43.155Z] d65c8cfc05b1: Verifying Checksum [2023-04-21T05:08:43.155Z] d65c8cfc05b1: Download complete [2023-04-21T05:08:43.424Z] 699f458cf7ca: Verifying Checksum [2023-04-21T05:08:43.424Z] 699f458cf7ca: Download complete [2023-04-21T05:08:43.692Z] 8998bd30e6a1: Download complete [2023-04-21T05:08:46.287Z] 2437ff75d9bd: Verifying Checksum [2023-04-21T05:08:46.287Z] 2437ff75d9bd: Download complete [2023-04-21T05:08:47.250Z] 8998bd30e6a1: Pull complete [2023-04-21T05:08:47.835Z] 04944245beec: Pull complete [2023-04-21T05:08:52.090Z] 699f458cf7ca: Pull complete [2023-04-21T05:08:52.090Z] 765212b225bb: Pull complete [2023-04-21T05:08:52.676Z] f23df028b6ca: Pull complete [2023-04-21T05:08:52.943Z] d65c8cfc05b1: Pull complete [2023-04-21T05:09:07.966Z] 2437ff75d9bd: Pull complete [2023-04-21T05:09:07.966Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-21T05:09:07.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T05:09:07.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:09:08.292Z] prd-ubuntu20.04-docker-arm64-4c-16g-9250 does not seem to be running inside a container [2023-04-21T05:09:08.360Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-21T05:09:11.264Z] $ docker top 2f13e75d9bf34b943eae394b4123594200bf5e7874046895118a82d66ea7e2ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:09:12.180Z] ---> job-cost.sh [2023-04-21T05:09:12.180Z] lf-activate-venv: SKIPPING [2023-04-21T05:09:12.180Z] INFO: No Stack... [2023-04-21T05:09:12.450Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-21T05:09:13.420Z] INFO: Archiving Costs [Pipeline] sh [2023-04-21T05:09:14.098Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-04-21T05:09:14.098Z] + cut -d, -f6 [Pipeline] lock [2023-04-21T05:09:14.202Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1429-1-stack-cost] [2023-04-21T05:09:14.207Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1429-1-stack-cost] did not exist. Created. [2023-04-21T05:09:14.207Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1429-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-21T05:09:15.028Z] /w/workspace/device-sdk-go/1@tmp/durable-330b1678/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-21T05:09:15.750Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-21T05:09:15.788Z] Warning: overwriting stash ‘stack-cost’ [2023-04-21T05:09:16.407Z] Stashed 1 file(s) [Pipeline] } [2023-04-21T05:09:16.422Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1429-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-21T05:09:16.499Z] $ docker stop --time=1 2f13e75d9bf34b943eae394b4123594200bf5e7874046895118a82d66ea7e2ac [2023-04-21T05:09:18.077Z] $ docker rm -f --volumes 2f13e75d9bf34b943eae394b4123594200bf5e7874046895118a82d66ea7e2ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-21T05:09:18.860Z] 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 [2023-04-21T05:09:20.892Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1429/archives ] [2023-04-21T05:09:20.892Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1429/archives [2023-04-21T05:09:20.892Z] total 16 [2023-04-21T05:09:20.892Z] drwxr-xr-x 3 root root 4096 Apr 21 05:01 . [2023-04-21T05:09:20.892Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 05:01 .. [2023-04-21T05:09:20.892Z] drwxr-xr-x 2 root root 4096 Apr 21 05:01 cost [2023-04-21T05:09:20.892Z] -rw-r--r-- 1 root root 86 Apr 21 05:01 cost.csv [2023-04-21T05:09:20.892Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1429/archives [2023-04-21T05:09:20.892Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1429/archives [2023-04-21T05:09:20.892Z] total 16 [2023-04-21T05:09:20.892Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 05:01 . [2023-04-21T05:09:20.892Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 05:01 .. [2023-04-21T05:09:20.892Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 05:01 cost [2023-04-21T05:09:20.892Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 21 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:09:21.220Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:09:22.109Z] ---> package-listing.sh [2023-04-21T05:09:22.109Z] ++ facter osfamily [2023-04-21T05:09:22.109Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-21T05:09:22.370Z] + OS_FAMILY=debian [2023-04-21T05:09:22.370Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1429 [2023-04-21T05:09:22.370Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-21T05:09:22.370Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-21T05:09:22.370Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-21T05:09:22.370Z] + PACKAGES=/tmp/packages_start.txt [2023-04-21T05:09:22.370Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1429 ']' [2023-04-21T05:09:22.370Z] + PACKAGES=/tmp/packages_end.txt [2023-04-21T05:09:22.370Z] + case "${OS_FAMILY}" in [2023-04-21T05:09:22.370Z] + dpkg -l [2023-04-21T05:09:22.370Z] + grep '^ii' [2023-04-21T05:09:22.370Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-21T05:09:22.370Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-21T05:09:22.370Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-21T05:09:22.370Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1429 ']' [2023-04-21T05:09:22.370Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1429/archives/ [2023-04-21T05:09:22.370Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1429/archives/ [Pipeline] echo [2023-04-21T05:09:22.402Z] 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-1429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-21T05:09:22.697Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:09:23.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T05:09:23.327Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:09:23.480Z] prd-ubuntu20.04-docker-8c-8g-9246 does not seem to be running inside a container [2023-04-21T05:09:23.512Z] $ 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-1429/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-1429 -v /w/workspace/gexfoundry_device-sdk-go_PR-1429:/w/workspace/gexfoundry_device-sdk-go_PR-1429:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1429@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 [2023-04-21T05:09:23.708Z] $ docker top 7d62053f8847c01a8fd42fb113c18775a172582acb150acfab2cf8a366cf4894 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T05:09:24.098Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-21T05:09:24.412Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-21T05:09:24.721Z] + ls /var/log/sa-host [2023-04-21T05:09:24.721Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T05:09:24.864Z] provisioning config files... [2023-04-21T05:09:24.876Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1429@tmp/config8124438688078143791tmp [Pipeline] { [Pipeline] echo [2023-04-21T05:09:24.929Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:09:25.241Z] ---> create-netrc.sh [Pipeline] } [2023-04-21T05:09:25.271Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:09:25.668Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-21T05:09:25.701Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:09:26.015Z] ---> sudo-logs.sh [2023-04-21T05:09:26.015Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-21T05:09:26.102Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:09:26.419Z] ---> job-cost.sh [2023-04-21T05:09:26.420Z] lf-activate-venv: SKIPPING [2023-04-21T05:09:26.420Z] DEBUG: total: 0.2199999988079071 [2023-04-21T05:09:26.420Z] INFO: Retrieving Stack Cost... [2023-04-21T05:09:26.682Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-21T05:09:27.252Z] INFO: Archiving Costs [Pipeline] echo [2023-04-21T05:09:27.294Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:09:27.614Z] ---> logs-deploy.sh [2023-04-21T05:09:27.615Z] lf-activate-venv: SKIPPING [2023-04-21T05:09:27.615Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1429/1 [2023-04-21T05:09:27.615Z] INFO: archiving workspace using pattern(s): [2023-04-21T05:09:28.556Z] Archives upload complete. [2023-04-21T05:09:28.556Z] INFO: archiving logs to Nexus