Pull request #1506 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c rather than 0c9aab0339867bb962989ee4d234acc6ce579598 Obtained Jenkinsfile from 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c 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-ssh17497765907037858179.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11568898299396589844.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-1506/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-1506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5271442577406004141.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-1506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7737854064273982837.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh2361822602162726507.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-1506/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-1506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12951514154047348580.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5447’ Running on prd-ubuntu20.04-docker-8c-8g-5449 in /w/workspace/gexfoundry_device-sdk-go_PR-1506 [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-1506 # 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/1506/head:refs/remotes/origin/PR-1506 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c into PR head commit 0c9aab0339867bb962989ee4d234acc6ce579598 Merge succeeded, producing 0c9aab0339867bb962989ee4d234acc6ce579598 Checking out Revision 0c9aab0339867bb962989ee4d234acc6ce579598 (PR-1506) > git config core.sparsecheckout # timeout=10 > git checkout -f 0c9aab0339867bb962989ee4d234acc6ce579598 # 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 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c9aab0339867bb962989ee4d234acc6ce579598 # timeout=10 Commit message: "feat!: Allow NameFieldPath configurable" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-06T10:16:55.531Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-06T10:16:55.721Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-06T10:16:55.825Z] ========================================================= [2023-09-06T10:16:55.825Z] EdgeX Global Pipelines Version Info [2023-09-06T10:16:55.825Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:16:56.569Z] ------------------- [2023-09-06T10:16:56.569Z] stable info: [2023-09-06T10:16:56.569Z] ------------------- [2023-09-06T10:16:56.569Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-06T10:16:56.569Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T10:16:56.569Z] Message: update stable to v1.0.253 [2023-09-06T10:16:57.139Z] ------------------- [2023-09-06T10:16:57.139Z] experimental info: [2023-09-06T10:16:57.139Z] ------------------- [2023-09-06T10:16:57.139Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-06T10:16:57.139Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-06T10:16:57.139Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-06T10:16:57.437Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-06T10:16:57.477Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-06T10:16:57.525Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-06T10:16:57.574Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-06T10:16:57.618Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-06T10:16:57.659Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-06T10:16:57.695Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-06T10:16:57.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-06T10:16:57.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-06T10:16:57.816Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-06T10:16:57.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-06T10:16:57.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-06T10:16:57.946Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-06T10:16:57.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-06T10:16:58.025Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-06T10:16:58.060Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T10:16:58.096Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T10:16:58.142Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-06T10:16:58.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-06T10:16:58.229Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-06T10:16:58.274Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-06T10:16:58.318Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-06T10:16:58.364Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-06T10:16:58.413Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-06T10:16:58.454Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-06T10:16:58.496Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-06T10:16:58.537Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-06T10:16:58.579Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1506 [Pipeline] echo [2023-09-06T10:16:58.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1506 [Pipeline] echo [2023-09-06T10:16:58.665Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1506 [Pipeline] echo [2023-09-06T10:16:58.710Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c9aab0339867bb962989ee4d234acc6ce579598 [Pipeline] echo [2023-09-06T10:16:58.752Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c9aab0 [Pipeline] echo [2023-09-06T10:16:58.800Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T10:16:58.918Z] provisioning config files... [2023-09-06T10:16:58.932Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config1201000695783586508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:16:59.271Z] ---> docker-login.sh [2023-09-06T10:16:59.271Z] nexus3.edgexfoundry.org:10001 [2023-09-06T10:16:59.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:16:59.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:16:59.531Z] Configure a credential helper to remove this warning. See [2023-09-06T10:16:59.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:16:59.531Z] [2023-09-06T10:16:59.531Z] Login Succeeded [2023-09-06T10:16:59.531Z] nexus3.edgexfoundry.org:10002 [2023-09-06T10:16:59.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:16:59.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:16:59.531Z] Configure a credential helper to remove this warning. See [2023-09-06T10:16:59.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:16:59.531Z] [2023-09-06T10:16:59.531Z] Login Succeeded [2023-09-06T10:16:59.531Z] nexus3.edgexfoundry.org:10003 [2023-09-06T10:16:59.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:16:59.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:16:59.791Z] Configure a credential helper to remove this warning. See [2023-09-06T10:16:59.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:16:59.791Z] [2023-09-06T10:16:59.791Z] Login Succeeded [2023-09-06T10:16:59.791Z] nexus3.edgexfoundry.org:10004 [2023-09-06T10:16:59.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:16:59.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:16:59.791Z] Configure a credential helper to remove this warning. See [2023-09-06T10:16:59.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:16:59.791Z] [2023-09-06T10:16:59.791Z] Login Succeeded [2023-09-06T10:16:59.791Z] docker.io [2023-09-06T10:17:00.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:17:00.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:17:00.050Z] Configure a credential helper to remove this warning. See [2023-09-06T10:17:00.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:17:00.050Z] [2023-09-06T10:17:00.050Z] Login Succeeded [2023-09-06T10:17:00.050Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T10:17:00.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-06T10:17:00.748Z] + git rev-list -1 --merges 0c9aab0339867bb962989ee4d234acc6ce579598~1..0c9aab0339867bb962989ee4d234acc6ce579598 [Pipeline] echo [2023-09-06T10:17:00.808Z] -----------> git rev-list -1 --merges 0c9aab0339867bb962989ee4d234acc6ce579598~1..0c9aab0339867bb962989ee4d234acc6ce579598 0c9aab0339867bb962989ee4d234acc6ce579598 [false] [Pipeline] sh [2023-09-06T10:17:01.155Z] + git log --format=format:%s -1 0c9aab0339867bb962989ee4d234acc6ce579598 [Pipeline] echo [2023-09-06T10:17:01.186Z] ========================================================= [2023-09-06T10:17:01.186Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-06T10:17:01.186Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T10:17:01.611Z] + git log --format=format:%s -1 0c9aab0339867bb962989ee4d234acc6ce579598 [Pipeline] echo [2023-09-06T10:17:01.640Z] [semverPrep] GIT_COMMIT: 0c9aab0339867bb962989ee4d234acc6ce579598, Commit Message: feat!: Allow NameFieldPath configurable [Pipeline] echo [2023-09-06T10:17:01.668Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-06T10:17:02.033Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-06T10:17:02.033Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-06T10:17:02.033Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-06T10:17:02.033Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-06T10:17:02.033Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-06T10:17:02.033Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-06T10:17:02.033Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T10:17:02.472Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T10:17:02.472Z] [2023-09-06T10:17:02.472Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T10:17:02.848Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T10:17:02.848Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-06T10:17:02.848Z] b85a868b505f: Pulling fs layer [2023-09-06T10:17:02.848Z] e2be974225ed: Pulling fs layer [2023-09-06T10:17:02.848Z] 339a4e72a1f5: Pulling fs layer [2023-09-06T10:17:02.848Z] 988bab9f4d93: Pulling fs layer [2023-09-06T10:17:02.848Z] 1469e6f7b9e6: Pulling fs layer [2023-09-06T10:17:02.848Z] eaf3925da568: Pulling fs layer [2023-09-06T10:17:02.848Z] bab4dde63d76: Pulling fs layer [2023-09-06T10:17:02.848Z] bde34c3a00c8: Pulling fs layer [2023-09-06T10:17:02.848Z] b352a97aabf1: Pulling fs layer [2023-09-06T10:17:02.848Z] 4872d77fe225: Pulling fs layer [2023-09-06T10:17:02.848Z] 5851b861e8e6: Pulling fs layer [2023-09-06T10:17:02.848Z] eaf3925da568: Waiting [2023-09-06T10:17:02.848Z] b352a97aabf1: Waiting [2023-09-06T10:17:02.848Z] 4872d77fe225: Waiting [2023-09-06T10:17:02.848Z] bde34c3a00c8: Waiting [2023-09-06T10:17:02.848Z] bab4dde63d76: Waiting [2023-09-06T10:17:02.848Z] 5851b861e8e6: Waiting [2023-09-06T10:17:02.848Z] e2be974225ed: Verifying Checksum [2023-09-06T10:17:02.848Z] e2be974225ed: Download complete [2023-09-06T10:17:02.848Z] 988bab9f4d93: Download complete [2023-09-06T10:17:02.848Z] 1469e6f7b9e6: Verifying Checksum [2023-09-06T10:17:02.848Z] 1469e6f7b9e6: Download complete [2023-09-06T10:17:02.848Z] eaf3925da568: Verifying Checksum [2023-09-06T10:17:02.848Z] eaf3925da568: Download complete [2023-09-06T10:17:03.108Z] 339a4e72a1f5: Verifying Checksum [2023-09-06T10:17:03.108Z] 339a4e72a1f5: Download complete [2023-09-06T10:17:03.108Z] bde34c3a00c8: Download complete [2023-09-06T10:17:03.108Z] b352a97aabf1: Download complete [2023-09-06T10:17:03.108Z] 4872d77fe225: Verifying Checksum [2023-09-06T10:17:03.108Z] 4872d77fe225: Download complete [2023-09-06T10:17:03.108Z] 5851b861e8e6: Verifying Checksum [2023-09-06T10:17:03.108Z] 5851b861e8e6: Download complete [2023-09-06T10:17:03.108Z] b85a868b505f: Download complete [2023-09-06T10:17:03.367Z] bab4dde63d76: Verifying Checksum [2023-09-06T10:17:03.367Z] bab4dde63d76: Download complete [2023-09-06T10:17:04.303Z] b85a868b505f: Pull complete [2023-09-06T10:17:04.303Z] e2be974225ed: Pull complete [2023-09-06T10:17:04.871Z] 339a4e72a1f5: Pull complete [2023-09-06T10:17:04.871Z] 988bab9f4d93: Pull complete [2023-09-06T10:17:05.133Z] 1469e6f7b9e6: Pull complete [2023-09-06T10:17:05.133Z] eaf3925da568: Pull complete [2023-09-06T10:17:07.036Z] bab4dde63d76: Pull complete [2023-09-06T10:17:07.036Z] bde34c3a00c8: Pull complete [2023-09-06T10:17:07.036Z] b352a97aabf1: Pull complete [2023-09-06T10:17:07.036Z] 4872d77fe225: Pull complete [2023-09-06T10:17:07.036Z] 5851b861e8e6: Pull complete [2023-09-06T10:17:07.296Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-06T10:17:07.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-06T10:17:07.296Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T10:17:07.531Z] prd-ubuntu20.04-docker-8c-8g-5449 does not seem to be running inside a container [2023-09-06T10:17:07.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@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-devops/py-git-semver:0.1.4 cat [2023-09-06T10:17:11.224Z] $ docker top 78e877828e88bc0bc13dd644bf955a3f112bcf09f15214d386d9e127d9a8e1c6 -eo pid,comm [2023-09-06T10:17:11.281Z] 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-09-06T10:17:11.281Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-06T10:17:11.405Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T10:17:11.406Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T10:17:11.529Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T10:17:11.532Z] $ docker exec 78e877828e88bc0bc13dd644bf955a3f112bcf09f15214d386d9e127d9a8e1c6 ssh-agent [2023-09-06T10:17:11.654Z] SSH_AUTH_SOCK=/tmp/ssh-P6ZoC0HqCYa8/agent.32 [2023-09-06T10:17:11.654Z] SSH_AGENT_PID=38 [2023-09-06T10:17:11.661Z] Running ssh-add (command line suppressed) [2023-09-06T10:17:11.767Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_1931734882583837326.key (/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_1931734882583837326.key) [2023-09-06T10:17:11.780Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T10:17:12.108Z] + git tag --points-at HEAD [Pipeline] } [2023-09-06T10:17:12.136Z] $ docker exec --env ******** --env ******** 78e877828e88bc0bc13dd644bf955a3f112bcf09f15214d386d9e127d9a8e1c6 ssh-agent -k [2023-09-06T10:17:12.236Z] unset SSH_AUTH_SOCK; [2023-09-06T10:17:12.236Z] unset SSH_AGENT_PID; [2023-09-06T10:17:12.236Z] echo Agent pid 38 killed; [2023-09-06T10:17:12.246Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-06T10:17:12.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-06T10:17:12.355Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-06T10:17:12.465Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-06T10:17:12.469Z] $ docker exec 78e877828e88bc0bc13dd644bf955a3f112bcf09f15214d386d9e127d9a8e1c6 ssh-agent [2023-09-06T10:17:12.574Z] SSH_AUTH_SOCK=/tmp/ssh-u5aQz6n4uMaY/agent.70 [2023-09-06T10:17:12.574Z] SSH_AGENT_PID=76 [2023-09-06T10:17:12.578Z] Running ssh-add (command line suppressed) [2023-09-06T10:17:12.673Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_13934445372070950835.key (/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_13934445372070950835.key) [2023-09-06T10:17:12.688Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-06T10:17:13.011Z] + git semver init [2023-09-06T10:17:13.274Z] 2023-09-06 10:17:13,194 [run_init] DEBUG init version:0.0.0 force:False [2023-09-06T10:17:13.274Z] 2023-09-06 10:17:13,194 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver [2023-09-06T10:17:13.274Z] 2023-09-06 10:17:13,195 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver [2023-09-06T10:17:13.274Z] 2023-09-06 10:17:13,195 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506, universal_newlines=False, shell=None, istream=None) [2023-09-06T10:17:14.216Z] 2023-09-06 10:17:14,066 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.git/info/exclude [2023-09-06T10:17:14.216Z] 2023-09-06 10:17:14,066 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 with force:False [2023-09-06T10:17:14.216Z] 2023-09-06 10:17:14,066 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 [2023-09-06T10:17:14.216Z] 2023-09-06 10:17:14,073 [execute] INFO git cat-file --batch-check [2023-09-06T10:17:14.216Z] 2023-09-06 10:17:14,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T10:17:14.216Z] 2023-09-06 10:17:14,080 [execute] INFO git cat-file --batch [2023-09-06T10:17:14.216Z] 2023-09-06 10:17:14,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver, universal_newlines=False, shell=None, istream=) [2023-09-06T10:17:14.216Z] 2023-09-06 10:17:14,087 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 [2023-09-06T10:17:14.216Z] 0.0.0 [Pipeline] } [2023-09-06T10:17:14.238Z] $ docker exec --env ******** --env ******** 78e877828e88bc0bc13dd644bf955a3f112bcf09f15214d386d9e127d9a8e1c6 ssh-agent -k [2023-09-06T10:17:14.337Z] unset SSH_AUTH_SOCK; [2023-09-06T10:17:14.337Z] unset SSH_AGENT_PID; [2023-09-06T10:17:14.337Z] echo Agent pid 76 killed; [2023-09-06T10:17:14.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-06T10:17:14.782Z] + git semver [Pipeline] } [2023-09-06T10:17:15.067Z] $ docker stop --time=1 78e877828e88bc0bc13dd644bf955a3f112bcf09f15214d386d9e127d9a8e1c6 [2023-09-06T10:17:16.357Z] $ docker rm -f --volumes 78e877828e88bc0bc13dd644bf955a3f112bcf09f15214d386d9e127d9a8e1c6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-06T10:17:16.760Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-06T10:17:17.033Z] Stashed 1 file(s) [Pipeline] echo [2023-09-06T10:17:17.051Z] [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-09-06T10:17:17.682Z] provisioning config files... [2023-09-06T10:17:17.693Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config14001346530098971243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:17:18.039Z] ---> docker-login.sh [2023-09-06T10:17:18.039Z] nexus3.edgexfoundry.org:10001 [2023-09-06T10:17:18.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:17:18.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:17:18.039Z] Configure a credential helper to remove this warning. See [2023-09-06T10:17:18.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:17:18.039Z] [2023-09-06T10:17:18.039Z] Login Succeeded [2023-09-06T10:17:18.039Z] nexus3.edgexfoundry.org:10002 [2023-09-06T10:17:18.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:17:18.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:17:18.039Z] Configure a credential helper to remove this warning. See [2023-09-06T10:17:18.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:17:18.039Z] [2023-09-06T10:17:18.039Z] Login Succeeded [2023-09-06T10:17:18.039Z] nexus3.edgexfoundry.org:10003 [2023-09-06T10:17:18.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:17:18.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:17:18.299Z] Configure a credential helper to remove this warning. See [2023-09-06T10:17:18.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:17:18.299Z] [2023-09-06T10:17:18.299Z] Login Succeeded [2023-09-06T10:17:18.299Z] nexus3.edgexfoundry.org:10004 [2023-09-06T10:17:18.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:17:18.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:17:18.299Z] Configure a credential helper to remove this warning. See [2023-09-06T10:17:18.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:17:18.299Z] [2023-09-06T10:17:18.299Z] Login Succeeded [2023-09-06T10:17:18.299Z] docker.io [2023-09-06T10:17:18.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:17:18.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:17:18.558Z] Configure a credential helper to remove this warning. See [2023-09-06T10:17:18.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:17:18.558Z] [2023-09-06T10:17:18.558Z] Login Succeeded [2023-09-06T10:17:18.558Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T10:17:18.590Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-06T10:17:18.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T10:17:18.801Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T10:17:18.833Z] ========================================================= [2023-09-06T10:17:18.833Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-06T10:17:18.833Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T10:17:19.275Z] + 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-09-06T10:17:19.276Z] Sending build context to Docker daemon 11.13MB [2023-09-06T10:17:19.276Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T10:17:19.276Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-06T10:17:19.276Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-06T10:17:19.276Z] 4db1b89c0bd1: Pulling fs layer [2023-09-06T10:17:19.276Z] 6911f1a30b25: Pulling fs layer [2023-09-06T10:17:19.276Z] e194b8c5c2a9: Pulling fs layer [2023-09-06T10:17:19.276Z] 6863d3e3a2b1: Pulling fs layer [2023-09-06T10:17:19.276Z] ec0bb842ea78: Pulling fs layer [2023-09-06T10:17:19.276Z] 40a00589a448: Pulling fs layer [2023-09-06T10:17:19.276Z] 6c08303d61cc: Pulling fs layer [2023-09-06T10:17:19.276Z] 798269fcf238: Pulling fs layer [2023-09-06T10:17:19.276Z] 40a00589a448: Waiting [2023-09-06T10:17:19.276Z] 6c08303d61cc: Waiting [2023-09-06T10:17:19.276Z] 798269fcf238: Waiting [2023-09-06T10:17:19.276Z] 6863d3e3a2b1: Waiting [2023-09-06T10:17:19.276Z] ec0bb842ea78: Waiting [2023-09-06T10:17:19.536Z] 6911f1a30b25: Download complete [2023-09-06T10:17:19.536Z] 6863d3e3a2b1: Verifying Checksum [2023-09-06T10:17:19.536Z] 6863d3e3a2b1: Download complete [2023-09-06T10:17:19.536Z] ec0bb842ea78: Verifying Checksum [2023-09-06T10:17:19.536Z] ec0bb842ea78: Download complete [2023-09-06T10:17:19.536Z] 4db1b89c0bd1: Download complete [2023-09-06T10:17:19.536Z] 40a00589a448: Verifying Checksum [2023-09-06T10:17:19.536Z] 40a00589a448: Download complete [2023-09-06T10:17:19.536Z] 4db1b89c0bd1: Pull complete [2023-09-06T10:17:19.802Z] 6911f1a30b25: Pull complete [2023-09-06T10:17:19.802Z] 798269fcf238: Verifying Checksum [2023-09-06T10:17:19.802Z] 798269fcf238: Download complete [2023-09-06T10:17:20.060Z] e194b8c5c2a9: Verifying Checksum [2023-09-06T10:17:20.060Z] e194b8c5c2a9: Download complete [2023-09-06T10:17:20.318Z] 6c08303d61cc: Verifying Checksum [2023-09-06T10:17:20.318Z] 6c08303d61cc: Download complete [2023-09-06T10:17:23.605Z] e194b8c5c2a9: Pull complete [2023-09-06T10:17:23.605Z] 6863d3e3a2b1: Pull complete [2023-09-06T10:17:23.605Z] ec0bb842ea78: Pull complete [2023-09-06T10:17:23.605Z] 40a00589a448: Pull complete [2023-09-06T10:17:25.509Z] 6c08303d61cc: Pull complete [2023-09-06T10:17:26.444Z] 798269fcf238: Pull complete [2023-09-06T10:17:26.444Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-06T10:17:26.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-06T10:17:26.444Z] ---> ec979cd7f677 [2023-09-06T10:17:26.444Z] Step 3/10 : ARG MAKE=make build [2023-09-06T10:17:32.489Z] Still waiting to schedule task [2023-09-06T10:17:32.489Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5448’ [2023-09-06T10:17:33.013Z] ---> Running in 4267ceb373d6 [2023-09-06T10:17:33.013Z] Removing intermediate container 4267ceb373d6 [2023-09-06T10:17:33.013Z] ---> 574398a51907 [2023-09-06T10:17:33.013Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-06T10:17:33.013Z] ---> Running in f5fea63af97b [2023-09-06T10:17:33.013Z] Removing intermediate container f5fea63af97b [2023-09-06T10:17:33.013Z] ---> 67975f7d5cb8 [2023-09-06T10:17:33.013Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-06T10:17:33.013Z] ---> Running in b2204e497f8c [2023-09-06T10:17:33.013Z] Removing intermediate container b2204e497f8c [2023-09-06T10:17:33.013Z] ---> e3cc13ad9925 [2023-09-06T10:17:33.013Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-06T10:17:33.013Z] ---> Running in 79f38d890634 [2023-09-06T10:17:33.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-06T10:17:33.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-06T10:17:33.013Z] OK: 265 MiB in 53 packages [2023-09-06T10:17:33.295Z] Removing intermediate container 79f38d890634 [2023-09-06T10:17:33.295Z] ---> be33e1a9c587 [2023-09-06T10:17:33.295Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-06T10:17:33.553Z] ---> 00e746613616 [2023-09-06T10:17:33.553Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T10:17:33.553Z] ---> Running in 1afefb1c0be2 [2023-09-06T10:18:05.668Z] Removing intermediate container 1afefb1c0be2 [2023-09-06T10:18:05.668Z] ---> 31b1b5905e23 [2023-09-06T10:18:05.668Z] Step 9/10 : COPY . . [2023-09-06T10:18:06.236Z] ---> b63ba2fe0aef [2023-09-06T10:18:06.236Z] Step 10/10 : RUN ${MAKE} [2023-09-06T10:18:06.236Z] ---> Running in 2f80b01551f4 [2023-09-06T10:18:06.495Z] noop [2023-09-06T10:18:06.755Z] Removing intermediate container 2f80b01551f4 [2023-09-06T10:18:06.755Z] ---> 76df4e4c8521 [2023-09-06T10:18:06.755Z] Successfully built 76df4e4c8521 [2023-09-06T10:18:06.755Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T10:18:07.188Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T10:18:07.188Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T10:18:07.340Z] prd-ubuntu20.04-docker-8c-8g-5449 does not seem to be running inside a container [2023-09-06T10:18:07.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-06T10:18:07.724Z] $ docker top 0621ded3791bfd0694722d0c617427e181f39c5d81a9b6b1f3fa81a380424600 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T10:18:08.106Z] + go version [2023-09-06T10:18:08.106Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-06T10:18:08.142Z] $ docker stop --time=1 0621ded3791bfd0694722d0c617427e181f39c5d81a9b6b1f3fa81a380424600 [2023-09-06T10:18:09.401Z] $ docker rm -f --volumes 0621ded3791bfd0694722d0c617427e181f39c5d81a9b6b1f3fa81a380424600 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T10:18:10.082Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-06T10:18:10.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T10:18:10.238Z] prd-ubuntu20.04-docker-8c-8g-5449 does not seem to be running inside a container [2023-09-06T10:18:10.271Z] $ 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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-06T10:18:10.604Z] $ docker top 84e09eb093c8c4fcf33a95ba271395974e4f97b73184aab7694a4e2e213dc965 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T10:18:10.995Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1506 [Pipeline] fileExists [Pipeline] sh [2023-09-06T10:18:11.361Z] + make test [2023-09-06T10:18:11.361Z] go test -race -coverprofile=coverage.out ./... [2023-09-06T10:18:17.916Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-06T10:18:30.105Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-09-06T10:18:30.105Z] internal/common/utils.go:74:25: undefined: common.NewPathBuilder [2023-09-06T10:18:30.105Z] internal/common/utils.go:74:86: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) [2023-09-06T10:18:30.105Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-06T10:18:30.105Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-06T10:18:30.105Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-06T10:18:30.105Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-09-06T10:18:30.689Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 80.2% of statements [2023-09-06T10:18:30.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-06T10:18:30.947Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common [build failed] [2023-09-06T10:18:30.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-06T10:18:30.947Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-06T10:18:30.947Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-09-06T10:18:30.947Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-09-06T10:18:31.885Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-06T10:18:31.885Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-06T10:18:37.158Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 5.176s coverage: 43.8% of statements [2023-09-06T10:18:37.158Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2023-09-06T10:18:37.158Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.113s coverage: 89.2% of statements [2023-09-06T10:18:37.158Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-09-06T10:18:37.158Z] FAIL [2023-09-06T10:18:37.158Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2023-09-06T10:18:37.204Z] $ docker stop --time=1 84e09eb093c8c4fcf33a95ba271395974e4f97b73184aab7694a4e2e213dc965 [2023-09-06T10:18:40.760Z] $ docker rm -f --volumes 84e09eb093c8c4fcf33a95ba271395974e4f97b73184aab7694a4e2e213dc965 [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-09-06T10:18:41.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T10:18:41.940Z] [2023-09-06T10:18:41.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T10:18:42.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T10:18:42.319Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-06T10:18:42.319Z] 5eb5b503b376: Pulling fs layer [2023-09-06T10:18:42.319Z] 5c69ac0246d0: Pulling fs layer [2023-09-06T10:18:42.319Z] ec43610c2a17: Pulling fs layer [2023-09-06T10:18:42.319Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-06T10:18:42.319Z] 33b1e0a273af: Pulling fs layer [2023-09-06T10:18:42.319Z] 5d3b04190fa2: Pulling fs layer [2023-09-06T10:18:42.319Z] 2f39f015ded8: Pulling fs layer [2023-09-06T10:18:42.319Z] 3a2ae6a8a46f: Waiting [2023-09-06T10:18:42.319Z] 2f39f015ded8: Waiting [2023-09-06T10:18:42.319Z] 33b1e0a273af: Waiting [2023-09-06T10:18:42.319Z] 5d3b04190fa2: Waiting [2023-09-06T10:18:42.319Z] 5c69ac0246d0: Verifying Checksum [2023-09-06T10:18:42.319Z] 5c69ac0246d0: Download complete [2023-09-06T10:18:42.319Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-06T10:18:42.319Z] 3a2ae6a8a46f: Download complete [2023-09-06T10:18:42.319Z] 33b1e0a273af: Verifying Checksum [2023-09-06T10:18:42.319Z] 33b1e0a273af: Download complete [2023-09-06T10:18:42.319Z] 5d3b04190fa2: Download complete [2023-09-06T10:18:42.319Z] ec43610c2a17: Verifying Checksum [2023-09-06T10:18:42.319Z] ec43610c2a17: Download complete [2023-09-06T10:18:42.583Z] 5eb5b503b376: Verifying Checksum [2023-09-06T10:18:42.583Z] 5eb5b503b376: Download complete [2023-09-06T10:18:43.148Z] 2f39f015ded8: Verifying Checksum [2023-09-06T10:18:43.148Z] 2f39f015ded8: Download complete [2023-09-06T10:18:43.714Z] 5eb5b503b376: Pull complete [2023-09-06T10:18:43.714Z] 5c69ac0246d0: Pull complete [2023-09-06T10:18:44.284Z] ec43610c2a17: Pull complete [2023-09-06T10:18:44.284Z] 3a2ae6a8a46f: Pull complete [2023-09-06T10:18:44.543Z] 33b1e0a273af: Pull complete [2023-09-06T10:18:44.544Z] 5d3b04190fa2: Pull complete [2023-09-06T10:18:48.725Z] 2f39f015ded8: Pull complete [2023-09-06T10:18:48.725Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-06T10:18:48.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T10:18:48.725Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T10:18:48.944Z] prd-ubuntu20.04-docker-8c-8g-5449 does not seem to be running inside a container [2023-09-06T10:18:48.981Z] $ 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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-06T10:18:52.958Z] $ docker top 3c65ccca91d868287301aa04e184bc58c8dd27fa927a473996ad06a159237321 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:18:53.382Z] ---> job-cost.sh [2023-09-06T10:18:53.382Z] lf-activate-venv: SKIPPING [2023-09-06T10:18:53.382Z] INFO: No Stack... [2023-09-06T10:18:53.641Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T10:18:54.208Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T10:18:54.529Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/cost.csv [2023-09-06T10:18:54.529Z] + cut -d, -f6 [Pipeline] lock [2023-09-06T10:18:54.568Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1506-1-stack-cost] [2023-09-06T10:18:54.572Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-1-stack-cost] did not exist. Created. [2023-09-06T10:18:54.572Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1506-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T10:18:54.952Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-06T10:18:55.017Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T10:18:55.032Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T10:18:55.112Z] $ docker stop --time=1 3c65ccca91d868287301aa04e184bc58c8dd27fa927a473996ad06a159237321 [2023-09-06T10:18:56.250Z] $ docker rm -f --volumes 3c65ccca91d868287301aa04e184bc58c8dd27fa927a473996ad06a159237321 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-06T10:18:56.626Z] Failed in branch amd64 [2023-09-06T10:20:09.837Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5450 in /w/workspace/gexfoundry_device-sdk-go_PR-1506 [Pipeline] { [Pipeline] ws [2023-09-06T10:20:09.900Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-09-06T10:20:09.987Z] The recommended git tool is: git [2023-09-06T10:20:16.020Z] using credential edgex-jenkins-ssh [2023-09-06T10:20:16.035Z] Cloning the remote Git repository [2023-09-06T10:20:16.110Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-06T10:20:16.212Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-09-06T10:20:16.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-06T10:20:16.381Z] > git --version # timeout=10 [2023-09-06T10:20:16.409Z] > git --version # 'git version 2.25.1' [2023-09-06T10:20:16.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T10:20:16.570Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T10:20:18.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-06T10:20:18.233Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-06T10:20:19.797Z] Merging remotes/origin/main commit 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c into PR head commit 0c9aab0339867bb962989ee4d234acc6ce579598 [2023-09-06T10:20:20.116Z] Merge succeeded, producing 0c9aab0339867bb962989ee4d234acc6ce579598 [2023-09-06T10:20:20.117Z] Checking out Revision 0c9aab0339867bb962989ee4d234acc6ce579598 (PR-1506) [2023-09-06T10:20:19.122Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-06T10:20:19.167Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-06T10:20:19.168Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T10:20:19.185Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1506/head:refs/remotes/origin/PR-1506 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-06T10:20:19.821Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T10:20:19.901Z] > git checkout -f 0c9aab0339867bb962989ee4d234acc6ce579598 # timeout=10 [2023-09-06T10:20:20.017Z] > git remote # timeout=10 [2023-09-06T10:20:20.040Z] > git config --get remote.origin.url # timeout=10 [2023-09-06T10:20:20.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-06T10:20:20.074Z] > git merge 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 [2023-09-06T10:20:20.100Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-06T10:20:20.128Z] > git config core.sparsecheckout # timeout=10 [2023-09-06T10:20:20.142Z] > git checkout -f 0c9aab0339867bb962989ee4d234acc6ce579598 # timeout=10 [2023-09-06T10:20:23.673Z] Commit message: "feat!: Allow NameFieldPath configurable" [2023-09-06T10:20:23.734Z] > git --version # timeout=10 [2023-09-06T10:20:23.750Z] > git --version # 'git version 2.25.1' [2023-09-06T10:20:23.767Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-06T10:20:24.984Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-06T10:20:24.984Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-06T10:20:24.984Z] Dload Upload Total Spent Left Speed [2023-09-06T10:20:24.984Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-09-06T10:20:25.758Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-06T10:20:26.108Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-06T10:20:26.108Z] + sudo tee /etc/docker/daemon.new [2023-09-06T10:20:26.108Z] { [2023-09-06T10:20:26.108Z] "registry-mirrors": [ [2023-09-06T10:20:26.108Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-06T10:20:26.108Z] ], [2023-09-06T10:20:26.108Z] "bip": "10.250.0.254/24", [2023-09-06T10:20:26.108Z] "hosts": [ [2023-09-06T10:20:26.108Z] "tcp://0.0.0.0:5555", [2023-09-06T10:20:26.108Z] "unix:///var/run/docker.sock" [2023-09-06T10:20:26.108Z] ], [2023-09-06T10:20:26.108Z] "mtu": 1458, [2023-09-06T10:20:26.108Z] "selinux-enabled": true, [2023-09-06T10:20:26.108Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-06T10:20:26.108Z] } [Pipeline] sh [2023-09-06T10:20:26.461Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-06T10:20:26.821Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T10:20:45.163Z] provisioning config files... [2023-09-06T10:20:45.189Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1103216947129858017tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:20:45.582Z] ---> docker-login.sh [2023-09-06T10:20:45.582Z] nexus3.edgexfoundry.org:10001 [2023-09-06T10:20:45.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:20:46.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:20:46.121Z] Configure a credential helper to remove this warning. See [2023-09-06T10:20:46.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:20:46.121Z] [2023-09-06T10:20:46.121Z] Login Succeeded [2023-09-06T10:20:46.390Z] nexus3.edgexfoundry.org:10002 [2023-09-06T10:20:46.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:20:46.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:20:46.660Z] Configure a credential helper to remove this warning. See [2023-09-06T10:20:46.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:20:46.660Z] [2023-09-06T10:20:46.660Z] Login Succeeded [2023-09-06T10:20:46.660Z] nexus3.edgexfoundry.org:10003 [2023-09-06T10:20:46.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:20:46.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:20:46.932Z] Configure a credential helper to remove this warning. See [2023-09-06T10:20:46.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:20:46.932Z] [2023-09-06T10:20:46.932Z] Login Succeeded [2023-09-06T10:20:46.932Z] nexus3.edgexfoundry.org:10004 [2023-09-06T10:20:47.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:20:47.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:20:47.203Z] Configure a credential helper to remove this warning. See [2023-09-06T10:20:47.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:20:47.203Z] [2023-09-06T10:20:47.203Z] Login Succeeded [2023-09-06T10:20:47.203Z] docker.io [2023-09-06T10:20:47.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-06T10:20:47.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-06T10:20:47.739Z] Configure a credential helper to remove this warning. See [2023-09-06T10:20:47.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-06T10:20:47.739Z] [2023-09-06T10:20:47.739Z] Login Succeeded [2023-09-06T10:20:47.739Z] ---> docker-login.sh ends [Pipeline] } [2023-09-06T10:20:47.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-06T10:20:48.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T10:20:48.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-06T10:20:48.217Z] ========================================================= [2023-09-06T10:20:48.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-06T10:20:48.217Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T10:20:48.709Z] + 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-09-06T10:20:48.976Z] Sending build context to Docker daemon 5.949MB [2023-09-06T10:20:48.976Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-06T10:20:48.976Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-06T10:20:49.245Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-06T10:20:49.245Z] edb6bdbacee9: Pulling fs layer [2023-09-06T10:20:49.245Z] 5f9638ab2659: Pulling fs layer [2023-09-06T10:20:49.245Z] 8d51d6327a98: Pulling fs layer [2023-09-06T10:20:49.245Z] 8b374f2dd631: Pulling fs layer [2023-09-06T10:20:49.245Z] ec14aa9079de: Pulling fs layer [2023-09-06T10:20:49.245Z] 2f466654f4bb: Pulling fs layer [2023-09-06T10:20:49.245Z] 554e91adad29: Pulling fs layer [2023-09-06T10:20:49.245Z] 8b374f2dd631: Waiting [2023-09-06T10:20:49.245Z] 2f466654f4bb: Waiting [2023-09-06T10:20:49.245Z] ec14aa9079de: Waiting [2023-09-06T10:20:49.245Z] 5f9638ab2659: Download complete [2023-09-06T10:20:49.245Z] 8b374f2dd631: Verifying Checksum [2023-09-06T10:20:49.245Z] 8b374f2dd631: Download complete [2023-09-06T10:20:49.245Z] edb6bdbacee9: Download complete [2023-09-06T10:20:49.245Z] ec14aa9079de: Download complete [2023-09-06T10:20:50.665Z] edb6bdbacee9: Pull complete [2023-09-06T10:20:50.665Z] 554e91adad29: Verifying Checksum [2023-09-06T10:20:50.665Z] 554e91adad29: Download complete [2023-09-06T10:20:50.935Z] 5f9638ab2659: Pull complete [2023-09-06T10:20:51.905Z] 8d51d6327a98: Verifying Checksum [2023-09-06T10:20:51.905Z] 8d51d6327a98: Download complete [2023-09-06T10:20:51.905Z] 2f466654f4bb: Verifying Checksum [2023-09-06T10:20:51.905Z] 2f466654f4bb: Download complete [2023-09-06T10:21:04.233Z] 8d51d6327a98: Pull complete [2023-09-06T10:21:04.233Z] 8b374f2dd631: Pull complete [2023-09-06T10:21:04.233Z] ec14aa9079de: Pull complete [2023-09-06T10:21:09.584Z] 2f466654f4bb: Pull complete [2023-09-06T10:21:11.552Z] 554e91adad29: Pull complete [2023-09-06T10:21:11.552Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-06T10:21:11.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-06T10:21:11.552Z] ---> 1e15ea492957 [2023-09-06T10:21:11.552Z] Step 3/10 : ARG MAKE=make build [2023-09-06T10:21:13.516Z] ---> Running in 1c00e4d42566 [2023-09-06T10:21:13.790Z] Removing intermediate container 1c00e4d42566 [2023-09-06T10:21:13.790Z] ---> 7da94f584a12 [2023-09-06T10:21:13.790Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-06T10:21:14.058Z] ---> Running in 9b6d026b60b5 [2023-09-06T10:21:14.326Z] Removing intermediate container 9b6d026b60b5 [2023-09-06T10:21:14.326Z] ---> 28cccba4dbd4 [2023-09-06T10:21:14.326Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-06T10:21:14.326Z] ---> Running in 19e6f704fcf0 [2023-09-06T10:21:14.593Z] Removing intermediate container 19e6f704fcf0 [2023-09-06T10:21:14.593Z] ---> 2b36226bbed1 [2023-09-06T10:21:14.593Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-06T10:21:14.593Z] ---> Running in 4f05567b09d8 [2023-09-06T10:21:16.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-06T10:21:16.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-06T10:21:17.229Z] OK: 263 MiB in 53 packages [2023-09-06T10:21:18.196Z] Removing intermediate container 4f05567b09d8 [2023-09-06T10:21:18.196Z] ---> e67b2d2bf3b8 [2023-09-06T10:21:18.196Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-06T10:21:18.784Z] ---> f124b58705a6 [2023-09-06T10:21:18.784Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-06T10:21:18.784Z] ---> Running in 5bddb080568a [2023-09-06T10:22:40.432Z] Removing intermediate container 5bddb080568a [2023-09-06T10:22:40.432Z] ---> 5c0793330dd7 [2023-09-06T10:22:40.432Z] Step 9/10 : COPY . . [2023-09-06T10:22:40.432Z] ---> 6ba1479bbb3c [2023-09-06T10:22:40.432Z] Step 10/10 : RUN ${MAKE} [2023-09-06T10:22:40.432Z] ---> Running in 1721b1b988fb [2023-09-06T10:22:40.432Z] noop [2023-09-06T10:22:40.432Z] Removing intermediate container 1721b1b988fb [2023-09-06T10:22:40.432Z] ---> 5e7f481ab41f [2023-09-06T10:22:40.432Z] Successfully built 5e7f481ab41f [2023-09-06T10:22:40.432Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T10:22:40.914Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T10:22:40.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T10:22:41.167Z] prd-ubuntu20.04-docker-arm64-4c-16g-5450 does not seem to be running inside a container [2023-09-06T10:22:41.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-06T10:22:42.320Z] $ docker top 66b9aa501d70691cbf9dc48aa8dbd089fd8221196d17b3a23d38ecc7767d6fd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T10:22:43.161Z] + go version [2023-09-06T10:22:43.161Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-06T10:22:43.206Z] $ docker stop --time=1 66b9aa501d70691cbf9dc48aa8dbd089fd8221196d17b3a23d38ecc7767d6fd7 [2023-09-06T10:22:44.747Z] $ docker rm -f --volumes 66b9aa501d70691cbf9dc48aa8dbd089fd8221196d17b3a23d38ecc7767d6fd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T10:22:45.576Z] + docker inspect -f . ci-base-image-arm64 [2023-09-06T10:22:45.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T10:22:45.818Z] prd-ubuntu20.04-docker-arm64-4c-16g-5450 does not seem to be running inside a container [2023-09-06T10:22:45.875Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-06T10:22:46.954Z] $ docker top 034f54418e4487a465cd23543e0aa3f63d9b91a3301d5fb892a5edf0548e1133 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T10:22:47.493Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-06T10:22:48.153Z] + make test [2023-09-06T10:22:48.153Z] go test -race -coverprofile=coverage.out ./... [2023-09-06T10:23:27.027Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-06T10:25:18.683Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-09-06T10:25:18.683Z] internal/common/utils.go:74:25: undefined: common.NewPathBuilder [2023-09-06T10:25:18.683Z] internal/common/utils.go:74:86: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) [2023-09-06T10:25:18.683Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-06T10:25:18.683Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-06T10:25:18.683Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-06T10:25:21.258Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-09-06T10:25:25.507Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.261s coverage: 80.2% of statements [2023-09-06T10:25:33.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-06T10:25:33.701Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-06T10:25:33.701Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common [build failed] [2023-09-06T10:25:35.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-06T10:25:35.118Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-09-06T10:25:35.118Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-09-06T10:25:38.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-06T10:25:38.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-06T10:25:43.797Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.757s coverage: 43.8% of statements [2023-09-06T10:25:43.797Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2023-09-06T10:25:43.797Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.444s coverage: 89.2% of statements [2023-09-06T10:25:43.797Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-09-06T10:25:43.797Z] FAIL [2023-09-06T10:25:43.797Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2023-09-06T10:25:43.844Z] $ docker stop --time=1 034f54418e4487a465cd23543e0aa3f63d9b91a3301d5fb892a5edf0548e1133 [2023-09-06T10:25:45.669Z] $ docker rm -f --volumes 034f54418e4487a465cd23543e0aa3f63d9b91a3301d5fb892a5edf0548e1133 [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-09-06T10:25:47.365Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T10:25:47.365Z] [2023-09-06T10:25:47.365Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T10:25:47.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T10:25:48.035Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-06T10:25:48.035Z] 8998bd30e6a1: Pulling fs layer [2023-09-06T10:25:48.035Z] 04944245beec: Pulling fs layer [2023-09-06T10:25:48.035Z] 699f458cf7ca: Pulling fs layer [2023-09-06T10:25:48.035Z] 765212b225bb: Pulling fs layer [2023-09-06T10:25:48.035Z] f23df028b6ca: Pulling fs layer [2023-09-06T10:25:48.035Z] d65c8cfc05b1: Pulling fs layer [2023-09-06T10:25:48.035Z] 2437ff75d9bd: Pulling fs layer [2023-09-06T10:25:48.035Z] f23df028b6ca: Waiting [2023-09-06T10:25:48.035Z] 765212b225bb: Waiting [2023-09-06T10:25:48.035Z] d65c8cfc05b1: Waiting [2023-09-06T10:25:48.035Z] 2437ff75d9bd: Waiting [2023-09-06T10:25:48.035Z] 04944245beec: Verifying Checksum [2023-09-06T10:25:48.035Z] 04944245beec: Download complete [2023-09-06T10:25:48.035Z] 765212b225bb: Verifying Checksum [2023-09-06T10:25:48.035Z] 765212b225bb: Download complete [2023-09-06T10:25:48.035Z] f23df028b6ca: Verifying Checksum [2023-09-06T10:25:48.035Z] f23df028b6ca: Download complete [2023-09-06T10:25:48.035Z] d65c8cfc05b1: Verifying Checksum [2023-09-06T10:25:48.035Z] d65c8cfc05b1: Download complete [2023-09-06T10:25:48.302Z] 699f458cf7ca: Verifying Checksum [2023-09-06T10:25:48.302Z] 699f458cf7ca: Download complete [2023-09-06T10:25:48.569Z] 8998bd30e6a1: Verifying Checksum [2023-09-06T10:25:48.569Z] 8998bd30e6a1: Download complete [2023-09-06T10:25:50.507Z] 2437ff75d9bd: Verifying Checksum [2023-09-06T10:25:50.507Z] 2437ff75d9bd: Download complete [2023-09-06T10:25:52.453Z] 8998bd30e6a1: Pull complete [2023-09-06T10:25:52.453Z] 04944245beec: Pull complete [2023-09-06T10:25:53.859Z] 699f458cf7ca: Pull complete [2023-09-06T10:25:53.859Z] 765212b225bb: Pull complete [2023-09-06T10:25:54.821Z] f23df028b6ca: Pull complete [2023-09-06T10:25:54.821Z] d65c8cfc05b1: Pull complete [2023-09-06T10:26:09.838Z] 2437ff75d9bd: Pull complete [2023-09-06T10:26:09.838Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-06T10:26:09.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-06T10:26:09.838Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T10:26:10.160Z] prd-ubuntu20.04-docker-arm64-4c-16g-5450 does not seem to be running inside a container [2023-09-06T10:26:10.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-06T10:26:12.643Z] $ docker top cfa5aa37227ab30f3d09343ed813aa11d7f96525fc343dd61e88ffe300debae9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:26:13.521Z] ---> job-cost.sh [2023-09-06T10:26:13.521Z] lf-activate-venv: SKIPPING [2023-09-06T10:26:13.521Z] INFO: No Stack... [2023-09-06T10:26:13.788Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-06T10:26:14.744Z] INFO: Archiving Costs [Pipeline] sh [2023-09-06T10:26:15.077Z] + cut -d, -f6 [2023-09-06T10:26:15.077Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-09-06T10:26:15.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1506-1-stack-cost] [2023-09-06T10:26:15.156Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-1-stack-cost] did not exist. Created. [2023-09-06T10:26:15.156Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1506-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-06T10:26:15.566Z] /w/workspace/device-sdk-go/1@tmp/durable-f2600ca8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-06T10:26:15.910Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-06T10:26:15.950Z] Warning: overwriting stash ‘stack-cost’ [2023-09-06T10:26:16.342Z] Stashed 1 file(s) [Pipeline] } [2023-09-06T10:26:16.360Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-06T10:26:16.445Z] $ docker stop --time=1 cfa5aa37227ab30f3d09343ed813aa11d7f96525fc343dd61e88ffe300debae9 [2023-09-06T10:26:17.931Z] $ docker rm -f --volumes cfa5aa37227ab30f3d09343ed813aa11d7f96525fc343dd61e88ffe300debae9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-06T10:26:18.676Z] 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-09-06T10:26:20.704Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives ] [2023-09-06T10:26:20.704Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives [2023-09-06T10:26:20.704Z] total 16 [2023-09-06T10:26:20.704Z] drwxr-xr-x 3 root root 4096 Sep 6 10:18 . [2023-09-06T10:26:20.704Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 10:18 .. [2023-09-06T10:26:20.704Z] drwxr-xr-x 2 root root 4096 Sep 6 10:18 cost [2023-09-06T10:26:20.704Z] -rw-r--r-- 1 root root 86 Sep 6 10:18 cost.csv [2023-09-06T10:26:20.704Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives [2023-09-06T10:26:20.704Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives [2023-09-06T10:26:20.704Z] total 16 [2023-09-06T10:26:20.704Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 10:18 . [2023-09-06T10:26:20.704Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 10:18 .. [2023-09-06T10:26:20.704Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 10:18 cost [2023-09-06T10:26:20.704Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 6 10:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:26:21.031Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:26:21.914Z] ---> package-listing.sh [2023-09-06T10:26:21.914Z] ++ facter osfamily [2023-09-06T10:26:21.914Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-06T10:26:22.173Z] + OS_FAMILY=debian [2023-09-06T10:26:22.173Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1506 [2023-09-06T10:26:22.173Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-06T10:26:22.173Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-06T10:26:22.173Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-06T10:26:22.173Z] + PACKAGES=/tmp/packages_start.txt [2023-09-06T10:26:22.173Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1506 ']' [2023-09-06T10:26:22.173Z] + PACKAGES=/tmp/packages_end.txt [2023-09-06T10:26:22.174Z] + case "${OS_FAMILY}" in [2023-09-06T10:26:22.174Z] + dpkg -l [2023-09-06T10:26:22.174Z] + grep '^ii' [2023-09-06T10:26:22.174Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-06T10:26:22.174Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-06T10:26:22.174Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-06T10:26:22.174Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1506 ']' [2023-09-06T10:26:22.174Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/ [2023-09-06T10:26:22.174Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/ [Pipeline] echo [2023-09-06T10:26:22.206Z] 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-1506/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-06T10:26:22.497Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-06T10:26:22.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-06T10:26:22.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-06T10:26:23.014Z] prd-ubuntu20.04-docker-8c-8g-5449 does not seem to be running inside a container [2023-09-06T10:26:23.045Z] $ 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-1506/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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-06T10:26:23.222Z] $ docker top 4ffbebcee264491747ae4f51b7e4e4daff6c1cad8aee07fcc87df1c9243dc2ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-06T10:26:23.603Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-06T10:26:23.962Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-06T10:26:24.272Z] + ls /var/log/sa-host [2023-09-06T10:26:24.272Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-06T10:26:24.416Z] provisioning config files... [2023-09-06T10:26:24.423Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config5129149211844037167tmp [Pipeline] { [Pipeline] echo [2023-09-06T10:26:24.482Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:26:24.793Z] ---> create-netrc.sh [Pipeline] } [2023-09-06T10:26:24.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:26:25.211Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-06T10:26:25.246Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:26:25.574Z] ---> sudo-logs.sh [2023-09-06T10:26:25.574Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-06T10:26:25.665Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:26:25.981Z] ---> job-cost.sh [2023-09-06T10:26:25.981Z] lf-activate-venv: SKIPPING [2023-09-06T10:26:25.981Z] DEBUG: total: 0.2199999988079071 [2023-09-06T10:26:25.981Z] INFO: Retrieving Stack Cost... [2023-09-06T10:26:26.240Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-06T10:26:26.809Z] INFO: Archiving Costs [Pipeline] echo [2023-09-06T10:26:26.842Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-06T10:26:27.152Z] ---> logs-deploy.sh [2023-09-06T10:26:27.152Z] lf-activate-venv: SKIPPING [2023-09-06T10:26:27.152Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1506/1 [2023-09-06T10:26:27.152Z] INFO: archiving workspace using pattern(s): [2023-09-06T10:26:28.086Z] Archives upload complete. [2023-09-06T10:26:28.086Z] INFO: archiving logs to Nexus