Pull request #1324 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6ee5567a35836506150158448ce29ad6cb5b9bcf+8b9fd5bc22bc5ff949621087fe72c38333f95112 (84bb88f8e038f5a1bacc80622a64f252b11faee4) 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-ssh3804587369895001853.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh17022871676487537120.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1324/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-1324/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4904200945457138793.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-1324/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14649973135800465243.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh15274809995376568426.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-1324/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-1324/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15364088795547926104.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 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 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6048’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6056’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6053’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6059 in /w/workspace/gexfoundry_device-sdk-go_PR-1324 [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-1324 # 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 Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit 6ee5567a35836506150158448ce29ad6cb5b9bcf Merge succeeded, producing 6ee5567a35836506150158448ce29ad6cb5b9bcf Checking out Revision 6ee5567a35836506150158448ce29ad6cb5b9bcf (PR-1324) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage > 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/1324/head:refs/remotes/origin/PR-1324 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ee5567a35836506150158448ce29ad6cb5b9bcf # 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 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ee5567a35836506150158448ce29ad6cb5b9bcf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T04:59:22.710Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T04:59:22.902Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T04:59:22.996Z] ========================================================= [2023-02-15T04:59:22.996Z] EdgeX Global Pipelines Version Info [2023-02-15T04:59:22.996Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T04:59:23.717Z] ------------------- [2023-02-15T04:59:23.717Z] stable info: [2023-02-15T04:59:23.717Z] ------------------- [2023-02-15T04:59:23.717Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T04:59:23.717Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T04:59:23.717Z] Message: update stable to v1.0.244 [2023-02-15T04:59:24.287Z] ------------------- [2023-02-15T04:59:24.287Z] experimental info: [2023-02-15T04:59:24.287Z] ------------------- [2023-02-15T04:59:24.287Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T04:59:24.287Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T04:59:24.287Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T04:59:24.545Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-15T04:59:24.583Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-15T04:59:24.620Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T04:59:24.662Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T04:59:24.700Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T04:59:24.739Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T04:59:24.780Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T04:59:24.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-15T04:59:24.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T04:59:24.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T04:59:24.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T04:59:24.989Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-15T04:59:25.027Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T04:59:25.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T04:59:25.109Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T04:59:25.150Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T04:59:25.192Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T04:59:25.228Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T04:59:25.267Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T04:59:25.308Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T04:59:25.356Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-15T04:59:25.408Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-15T04:59:25.450Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T04:59:25.488Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T04:59:25.524Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T04:59:25.566Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T04:59:25.611Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T04:59:25.651Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1324 [Pipeline] echo [2023-02-15T04:59:25.691Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1324 [Pipeline] echo [2023-02-15T04:59:25.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1324 [Pipeline] echo [2023-02-15T04:59:25.771Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ee5567a35836506150158448ce29ad6cb5b9bcf [Pipeline] echo [2023-02-15T04:59:25.814Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ee5567 [Pipeline] echo [2023-02-15T04:59:25.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T04:59:25.975Z] provisioning config files... [2023-02-15T04:59:25.987Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp/config1214762255139727513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T04:59:26.329Z] ---> docker-login.sh [2023-02-15T04:59:26.330Z] nexus3.edgexfoundry.org:10001 [2023-02-15T04:59:26.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T04:59:26.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T04:59:26.590Z] Configure a credential helper to remove this warning. See [2023-02-15T04:59:26.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T04:59:26.590Z] [2023-02-15T04:59:26.590Z] Login Succeeded [2023-02-15T04:59:26.590Z] nexus3.edgexfoundry.org:10002 [2023-02-15T04:59:26.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T04:59:26.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T04:59:26.848Z] Configure a credential helper to remove this warning. See [2023-02-15T04:59:26.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T04:59:26.848Z] [2023-02-15T04:59:26.848Z] Login Succeeded [2023-02-15T04:59:26.848Z] nexus3.edgexfoundry.org:10003 [2023-02-15T04:59:26.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T04:59:26.848Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T04:59:26.848Z] Configure a credential helper to remove this warning. See [2023-02-15T04:59:26.848Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T04:59:26.848Z] [2023-02-15T04:59:26.848Z] Login Succeeded [2023-02-15T04:59:26.848Z] nexus3.edgexfoundry.org:10004 [2023-02-15T04:59:26.848Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T04:59:27.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T04:59:27.106Z] Configure a credential helper to remove this warning. See [2023-02-15T04:59:27.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T04:59:27.106Z] [2023-02-15T04:59:27.106Z] Login Succeeded [2023-02-15T04:59:27.106Z] docker.io [2023-02-15T04:59:27.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T04:59:27.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T04:59:27.368Z] Configure a credential helper to remove this warning. See [2023-02-15T04:59:27.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T04:59:27.368Z] [2023-02-15T04:59:27.368Z] Login Succeeded [2023-02-15T04:59:27.368Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T04:59:27.392Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T04:59:28.012Z] + git rev-list -1 --merges 6ee5567a35836506150158448ce29ad6cb5b9bcf~1..6ee5567a35836506150158448ce29ad6cb5b9bcf [Pipeline] echo [2023-02-15T04:59:28.071Z] -----------> git rev-list -1 --merges 6ee5567a35836506150158448ce29ad6cb5b9bcf~1..6ee5567a35836506150158448ce29ad6cb5b9bcf 6ee5567a35836506150158448ce29ad6cb5b9bcf [false] [Pipeline] sh [2023-02-15T04:59:28.379Z] + git log --format=format:%s -1 6ee5567a35836506150158448ce29ad6cb5b9bcf [Pipeline] echo [2023-02-15T04:59:28.414Z] ========================================================= [2023-02-15T04:59:28.414Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T04:59:28.414Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T04:59:28.847Z] + git log --format=format:%s -1 6ee5567a35836506150158448ce29ad6cb5b9bcf [Pipeline] echo [2023-02-15T04:59:28.878Z] [semverPrep] GIT_COMMIT: 6ee5567a35836506150158448ce29ad6cb5b9bcf, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-15T04:59:28.909Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T04:59:29.288Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T04:59:29.288Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T04:59:29.288Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T04:59:29.288Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T04:59:29.288Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T04:59:29.288Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T04:59:29.288Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T04:59:29.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T04:59:29.714Z] [2023-02-15T04:59:29.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T04:59:30.093Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T04:59:30.093Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T04:59:30.093Z] b85a868b505f: Pulling fs layer [2023-02-15T04:59:30.093Z] e2be974225ed: Pulling fs layer [2023-02-15T04:59:30.093Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T04:59:30.093Z] 988bab9f4d93: Pulling fs layer [2023-02-15T04:59:30.093Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T04:59:30.093Z] eaf3925da568: Pulling fs layer [2023-02-15T04:59:30.093Z] bab4dde63d76: Pulling fs layer [2023-02-15T04:59:30.093Z] bde34c3a00c8: Pulling fs layer [2023-02-15T04:59:30.093Z] b352a97aabf1: Pulling fs layer [2023-02-15T04:59:30.093Z] 4872d77fe225: Pulling fs layer [2023-02-15T04:59:30.093Z] 5851b861e8e6: Pulling fs layer [2023-02-15T04:59:30.093Z] 988bab9f4d93: Waiting [2023-02-15T04:59:30.093Z] 1469e6f7b9e6: Waiting [2023-02-15T04:59:30.093Z] eaf3925da568: Waiting [2023-02-15T04:59:30.093Z] bab4dde63d76: Waiting [2023-02-15T04:59:30.093Z] bde34c3a00c8: Waiting [2023-02-15T04:59:30.093Z] 4872d77fe225: Waiting [2023-02-15T04:59:30.093Z] b352a97aabf1: Waiting [2023-02-15T04:59:30.093Z] 5851b861e8e6: Waiting [2023-02-15T04:59:30.093Z] e2be974225ed: Verifying Checksum [2023-02-15T04:59:30.093Z] e2be974225ed: Download complete [2023-02-15T04:59:30.093Z] 988bab9f4d93: Verifying Checksum [2023-02-15T04:59:30.093Z] 988bab9f4d93: Download complete [2023-02-15T04:59:30.355Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T04:59:30.355Z] 1469e6f7b9e6: Download complete [2023-02-15T04:59:30.355Z] eaf3925da568: Verifying Checksum [2023-02-15T04:59:30.355Z] eaf3925da568: Download complete [2023-02-15T04:59:30.355Z] b85a868b505f: Verifying Checksum [2023-02-15T04:59:30.355Z] b85a868b505f: Download complete [2023-02-15T04:59:30.355Z] bde34c3a00c8: Verifying Checksum [2023-02-15T04:59:30.355Z] bde34c3a00c8: Download complete [2023-02-15T04:59:30.614Z] b352a97aabf1: Verifying Checksum [2023-02-15T04:59:30.614Z] b352a97aabf1: Download complete [2023-02-15T04:59:30.614Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T04:59:30.614Z] 339a4e72a1f5: Download complete [2023-02-15T04:59:30.614Z] 4872d77fe225: Verifying Checksum [2023-02-15T04:59:30.614Z] 4872d77fe225: Download complete [2023-02-15T04:59:30.614Z] 5851b861e8e6: Verifying Checksum [2023-02-15T04:59:31.182Z] bab4dde63d76: Verifying Checksum [2023-02-15T04:59:31.182Z] bab4dde63d76: Download complete [2023-02-15T04:59:31.440Z] b85a868b505f: Pull complete [2023-02-15T04:59:31.700Z] e2be974225ed: Pull complete [2023-02-15T04:59:31.959Z] 339a4e72a1f5: Pull complete [2023-02-15T04:59:32.220Z] 988bab9f4d93: Pull complete [2023-02-15T04:59:32.482Z] 1469e6f7b9e6: Pull complete [2023-02-15T04:59:32.482Z] eaf3925da568: Pull complete [2023-02-15T04:59:33.854Z] bab4dde63d76: Pull complete [2023-02-15T04:59:33.854Z] bde34c3a00c8: Pull complete [2023-02-15T04:59:34.116Z] b352a97aabf1: Pull complete [2023-02-15T04:59:34.116Z] 4872d77fe225: Pull complete [2023-02-15T04:59:34.116Z] 5851b861e8e6: Pull complete [2023-02-15T04:59:34.378Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T04:59:34.378Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T04:59:34.378Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T04:59:34.586Z] prd-ubuntu20.04-docker-8c-8g-6059 does not seem to be running inside a container [2023-02-15T04:59:34.619Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1324 -v /w/workspace/gexfoundry_device-sdk-go_PR-1324:/w/workspace/gexfoundry_device-sdk-go_PR-1324:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T04:59:35.716Z] $ docker top ffd70d1fea9a763692850342abc0f4a7d24b2f0f9f0eb7efce1457ddb9719baf -eo pid,comm [2023-02-15T04:59:35.768Z] 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-02-15T04:59:35.768Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T04:59:35.882Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T04:59:35.882Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T04:59:35.976Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T04:59:35.981Z] $ docker exec ffd70d1fea9a763692850342abc0f4a7d24b2f0f9f0eb7efce1457ddb9719baf ssh-agent [2023-02-15T04:59:36.076Z] SSH_AUTH_SOCK=/tmp/ssh-47LWwiMuNNaD/agent.32 [2023-02-15T04:59:36.076Z] SSH_AGENT_PID=38 [2023-02-15T04:59:36.082Z] Running ssh-add (command line suppressed) [2023-02-15T04:59:36.167Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp/private_key_1622153633779917542.key (/w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp/private_key_1622153633779917542.key) [2023-02-15T04:59:36.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T04:59:36.502Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T04:59:36.528Z] $ docker exec --env ******** --env ******** ffd70d1fea9a763692850342abc0f4a7d24b2f0f9f0eb7efce1457ddb9719baf ssh-agent -k [2023-02-15T04:59:36.634Z] unset SSH_AUTH_SOCK; [2023-02-15T04:59:36.635Z] unset SSH_AGENT_PID; [2023-02-15T04:59:36.635Z] echo Agent pid 38 killed; [2023-02-15T04:59:36.640Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T04:59:36.726Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T04:59:36.726Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T04:59:36.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T04:59:36.854Z] $ docker exec ffd70d1fea9a763692850342abc0f4a7d24b2f0f9f0eb7efce1457ddb9719baf ssh-agent [2023-02-15T04:59:36.970Z] SSH_AUTH_SOCK=/tmp/ssh-0JI5kXEp0Prc/agent.70 [2023-02-15T04:59:36.970Z] SSH_AGENT_PID=76 [2023-02-15T04:59:36.976Z] Running ssh-add (command line suppressed) [2023-02-15T04:59:37.079Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp/private_key_6604673928125730483.key (/w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp/private_key_6604673928125730483.key) [2023-02-15T04:59:37.096Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T04:59:37.424Z] + git semver init [2023-02-15T04:59:37.684Z] 2023-02-15 04:59:37,611 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T04:59:37.684Z] 2023-02-15 04:59:37,613 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1324/.semver [2023-02-15T04:59:37.684Z] 2023-02-15 04:59:37,613 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1324/.semver [2023-02-15T04:59:37.684Z] 2023-02-15 04:59:37,613 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1324/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1324, universal_newlines=False, shell=None, istream=None) [2023-02-15T04:59:38.621Z] 2023-02-15 04:59:38,578 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1324/.git/info/exclude [2023-02-15T04:59:38.621Z] 2023-02-15 04:59:38,578 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1324/.semver/PR-1324 with force:False [2023-02-15T04:59:38.621Z] 2023-02-15 04:59:38,578 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1324/.semver/PR-1324 [2023-02-15T04:59:38.621Z] 2023-02-15 04:59:38,583 [execute] INFO git cat-file --batch-check [2023-02-15T04:59:38.621Z] 2023-02-15 04:59:38,583 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1324/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T04:59:38.621Z] 2023-02-15 04:59:38,590 [execute] INFO git cat-file --batch [2023-02-15T04:59:38.621Z] 2023-02-15 04:59:38,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1324/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T04:59:38.621Z] 2023-02-15 04:59:38,596 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1324/.semver/PR-1324 [2023-02-15T04:59:38.621Z] 0.0.0 [Pipeline] } [2023-02-15T04:59:38.649Z] $ docker exec --env ******** --env ******** ffd70d1fea9a763692850342abc0f4a7d24b2f0f9f0eb7efce1457ddb9719baf ssh-agent -k [2023-02-15T04:59:38.741Z] unset SSH_AUTH_SOCK; [2023-02-15T04:59:38.742Z] unset SSH_AGENT_PID; [2023-02-15T04:59:38.743Z] echo Agent pid 76 killed; [2023-02-15T04:59:38.749Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T04:59:39.181Z] + git semver [Pipeline] } [2023-02-15T04:59:39.468Z] $ docker stop --time=1 ffd70d1fea9a763692850342abc0f4a7d24b2f0f9f0eb7efce1457ddb9719baf [2023-02-15T04:59:40.763Z] $ docker rm -f --volumes ffd70d1fea9a763692850342abc0f4a7d24b2f0f9f0eb7efce1457ddb9719baf [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T04:59:41.159Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T04:59:41.425Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T04:59:41.441Z] [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-02-15T04:59:42.018Z] provisioning config files... [2023-02-15T04:59:42.028Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp/config10119839187887553579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T04:59:42.368Z] ---> docker-login.sh [2023-02-15T04:59:42.368Z] nexus3.edgexfoundry.org:10001 [2023-02-15T04:59:42.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T04:59:42.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T04:59:42.368Z] Configure a credential helper to remove this warning. See [2023-02-15T04:59:42.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T04:59:42.368Z] [2023-02-15T04:59:42.368Z] Login Succeeded [2023-02-15T04:59:42.368Z] nexus3.edgexfoundry.org:10002 [2023-02-15T04:59:42.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T04:59:42.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T04:59:42.368Z] Configure a credential helper to remove this warning. See [2023-02-15T04:59:42.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T04:59:42.368Z] [2023-02-15T04:59:42.368Z] Login Succeeded [2023-02-15T04:59:42.368Z] nexus3.edgexfoundry.org:10003 [2023-02-15T04:59:42.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T04:59:42.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T04:59:42.628Z] Configure a credential helper to remove this warning. See [2023-02-15T04:59:42.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T04:59:42.628Z] [2023-02-15T04:59:42.628Z] Login Succeeded [2023-02-15T04:59:42.628Z] nexus3.edgexfoundry.org:10004 [2023-02-15T04:59:42.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T04:59:42.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T04:59:42.628Z] Configure a credential helper to remove this warning. See [2023-02-15T04:59:42.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T04:59:42.628Z] [2023-02-15T04:59:42.628Z] Login Succeeded [2023-02-15T04:59:42.628Z] docker.io [2023-02-15T04:59:42.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T04:59:43.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T04:59:43.148Z] Configure a credential helper to remove this warning. See [2023-02-15T04:59:43.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T04:59:43.148Z] [2023-02-15T04:59:43.148Z] Login Succeeded [2023-02-15T04:59:43.148Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T04:59:43.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T04:59:43.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T04:59:43.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T04:59:43.448Z] ========================================================= [2023-02-15T04:59:43.448Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T04:59:43.448Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T04:59:43.906Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T04:59:43.906Z] Sending build context to Docker daemon 10.45MB [2023-02-15T04:59:43.906Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T04:59:43.906Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T04:59:43.906Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T04:59:43.906Z] 213ec9aee27d: Pulling fs layer [2023-02-15T04:59:43.906Z] 4583459ba037: Pulling fs layer [2023-02-15T04:59:43.906Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T04:59:43.906Z] 53926ce57604: Pulling fs layer [2023-02-15T04:59:43.906Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T04:59:43.906Z] 22ff95d597cd: Pulling fs layer [2023-02-15T04:59:43.906Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T04:59:43.906Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T04:59:43.906Z] a7acece74701: Pulling fs layer [2023-02-15T04:59:43.906Z] 21b2b0c7a3f4: Waiting [2023-02-15T04:59:43.906Z] 96b7cbca73a9: Waiting [2023-02-15T04:59:43.906Z] a7acece74701: Waiting [2023-02-15T04:59:43.906Z] 22ff95d597cd: Waiting [2023-02-15T04:59:43.906Z] 12d6caf4c0d1: Waiting [2023-02-15T04:59:43.906Z] 53926ce57604: Waiting [2023-02-15T04:59:44.167Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T04:59:44.167Z] 93c1e223e6f2: Download complete [2023-02-15T04:59:44.167Z] 4583459ba037: Verifying Checksum [2023-02-15T04:59:44.167Z] 4583459ba037: Download complete [2023-02-15T04:59:44.167Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T04:59:44.167Z] 21b2b0c7a3f4: Download complete [2023-02-15T04:59:44.167Z] 22ff95d597cd: Verifying Checksum [2023-02-15T04:59:44.167Z] 22ff95d597cd: Download complete [2023-02-15T04:59:44.167Z] 213ec9aee27d: Verifying Checksum [2023-02-15T04:59:44.167Z] 213ec9aee27d: Download complete [2023-02-15T04:59:44.167Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T04:59:44.167Z] 12d6caf4c0d1: Download complete [2023-02-15T04:59:44.167Z] 213ec9aee27d: Pull complete [2023-02-15T04:59:44.436Z] 4583459ba037: Pull complete [2023-02-15T04:59:44.436Z] 93c1e223e6f2: Pull complete [2023-02-15T04:59:45.064Z] a7acece74701: Verifying Checksum [2023-02-15T04:59:45.064Z] a7acece74701: Download complete [2023-02-15T04:59:45.332Z] 53926ce57604: Verifying Checksum [2023-02-15T04:59:45.332Z] 53926ce57604: Download complete [2023-02-15T04:59:45.597Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T04:59:45.597Z] 96b7cbca73a9: Download complete [2023-02-15T04:59:49.260Z] 53926ce57604: Pull complete [2023-02-15T04:59:49.260Z] 21b2b0c7a3f4: Pull complete [2023-02-15T04:59:49.260Z] 22ff95d597cd: Pull complete [2023-02-15T04:59:49.519Z] 12d6caf4c0d1: Pull complete [2023-02-15T04:59:51.463Z] 96b7cbca73a9: Pull complete [2023-02-15T04:59:52.405Z] a7acece74701: Pull complete [2023-02-15T04:59:52.405Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T04:59:52.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T04:59:52.405Z] ---> db6d94c90886 [2023-02-15T04:59:52.405Z] Step 3/10 : ARG MAKE=make build [2023-02-15T04:59:53.786Z] ---> Running in 7bd88ae0a006 [2023-02-15T04:59:53.786Z] Removing intermediate container 7bd88ae0a006 [2023-02-15T04:59:53.786Z] ---> 6a745d34a192 [2023-02-15T04:59:53.786Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T04:59:53.786Z] ---> Running in afbce609068d [2023-02-15T04:59:53.786Z] Removing intermediate container afbce609068d [2023-02-15T04:59:53.786Z] ---> 61756b1e19a6 [2023-02-15T04:59:53.786Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T04:59:53.786Z] ---> Running in c4abe3b624b2 [2023-02-15T04:59:54.045Z] Removing intermediate container c4abe3b624b2 [2023-02-15T04:59:54.045Z] ---> 805b10535461 [2023-02-15T04:59:54.045Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T04:59:54.045Z] ---> Running in e1d26b21605c [2023-02-15T04:59:54.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T04:59:54.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T04:59:54.869Z] OK: 211 MiB in 51 packages [2023-02-15T04:59:54.869Z] Removing intermediate container e1d26b21605c [2023-02-15T04:59:54.869Z] ---> c0a9b645e2c6 [2023-02-15T04:59:54.869Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T04:59:55.129Z] ---> 607c0b833544 [2023-02-15T04:59:55.129Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T04:59:55.129Z] ---> Running in 2e529ad3265a [2023-02-15T04:59:56.842Z] Still waiting to schedule task [2023-02-15T04:59:56.842Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T05:00:22.385Z] Removing intermediate container 2e529ad3265a [2023-02-15T05:00:22.385Z] ---> f24f08754a5e [2023-02-15T05:00:22.385Z] Step 9/10 : COPY . . [2023-02-15T05:00:22.385Z] ---> 73d928d600ed [2023-02-15T05:00:22.385Z] Step 10/10 : RUN ${MAKE} [2023-02-15T05:00:22.385Z] ---> Running in 4bd9722e51d7 [2023-02-15T05:00:22.385Z] noop [2023-02-15T05:00:22.385Z] Removing intermediate container 4bd9722e51d7 [2023-02-15T05:00:22.385Z] ---> a79d27402316 [2023-02-15T05:00:22.385Z] Successfully built a79d27402316 [2023-02-15T05:00:22.385Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T05:00:22.840Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T05:00:22.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T05:00:23.001Z] prd-ubuntu20.04-docker-8c-8g-6059 does not seem to be running inside a container [2023-02-15T05:00:23.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1324 -v /w/workspace/gexfoundry_device-sdk-go_PR-1324:/w/workspace/gexfoundry_device-sdk-go_PR-1324:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T05:00:23.363Z] $ docker top 78f5a45aac9a2a1fa2b0c7a8c796e4f929d89c2bb5ecec187a6eaf7ce0ef9a5b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T05:00:23.754Z] + go version [2023-02-15T05:00:23.754Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T05:00:23.786Z] $ docker stop --time=1 78f5a45aac9a2a1fa2b0c7a8c796e4f929d89c2bb5ecec187a6eaf7ce0ef9a5b [2023-02-15T05:00:25.316Z] $ docker rm -f --volumes 78f5a45aac9a2a1fa2b0c7a8c796e4f929d89c2bb5ecec187a6eaf7ce0ef9a5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T05:00:26.481Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T05:00:26.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T05:00:26.627Z] prd-ubuntu20.04-docker-8c-8g-6059 does not seem to be running inside a container [2023-02-15T05:00:26.660Z] $ 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-1324 -v /w/workspace/gexfoundry_device-sdk-go_PR-1324:/w/workspace/gexfoundry_device-sdk-go_PR-1324:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T05:00:27.093Z] $ docker top 15cc8390d0491f7155b21c4ad2c075d224714e8cf3287471feec27ba525b50a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T05:00:27.870Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1324 [Pipeline] fileExists [Pipeline] sh [2023-02-15T05:00:28.226Z] + make test [2023-02-15T05:00:28.226Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T05:00:34.811Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T05:00:49.693Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-15T05:00:49.693Z] internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-15T05:00:49.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-02-15T05:00:49.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.087s coverage: 78.9% of statements [2023-02-15T05:00:49.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.098s coverage: 78.1% of statements [2023-02-15T05:00:49.693Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-02-15T05:00:49.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.109s coverage: 65.2% of statements [2023-02-15T05:00:49.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.760s coverage: 89.2% of statements [2023-02-15T05:00:49.693Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-02-15T05:00:49.693Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-15T05:00:49.744Z] $ docker stop --time=1 15cc8390d0491f7155b21c4ad2c075d224714e8cf3287471feec27ba525b50a9 [2023-02-15T05:00:51.440Z] $ docker rm -f --volumes 15cc8390d0491f7155b21c4ad2c075d224714e8cf3287471feec27ba525b50a9 [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-02-15T05:00:52.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T05:00:52.578Z] [2023-02-15T05:00:52.578Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T05:00:52.965Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T05:00:52.965Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T05:00:52.965Z] 5eb5b503b376: Pulling fs layer [2023-02-15T05:00:52.966Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T05:00:52.966Z] ec43610c2a17: Pulling fs layer [2023-02-15T05:00:52.966Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T05:00:52.966Z] 33b1e0a273af: Pulling fs layer [2023-02-15T05:00:52.966Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T05:00:52.966Z] 2f39f015ded8: Pulling fs layer [2023-02-15T05:00:52.966Z] 33b1e0a273af: Waiting [2023-02-15T05:00:52.966Z] 5d3b04190fa2: Waiting [2023-02-15T05:00:52.966Z] 3a2ae6a8a46f: Waiting [2023-02-15T05:00:52.966Z] 5c69ac0246d0: Download complete [2023-02-15T05:00:52.966Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T05:00:52.966Z] 3a2ae6a8a46f: Download complete [2023-02-15T05:00:53.231Z] 33b1e0a273af: Verifying Checksum [2023-02-15T05:00:53.231Z] 33b1e0a273af: Download complete [2023-02-15T05:00:53.231Z] 5d3b04190fa2: Verifying Checksum [2023-02-15T05:00:53.231Z] 5d3b04190fa2: Download complete [2023-02-15T05:00:53.231Z] ec43610c2a17: Verifying Checksum [2023-02-15T05:00:53.231Z] ec43610c2a17: Download complete [2023-02-15T05:00:53.492Z] 5eb5b503b376: Verifying Checksum [2023-02-15T05:00:53.492Z] 5eb5b503b376: Download complete [2023-02-15T05:00:54.062Z] 2f39f015ded8: Download complete [2023-02-15T05:00:54.639Z] 5eb5b503b376: Pull complete [2023-02-15T05:00:54.639Z] 5c69ac0246d0: Pull complete [2023-02-15T05:00:55.208Z] ec43610c2a17: Pull complete [2023-02-15T05:00:55.208Z] 3a2ae6a8a46f: Pull complete [2023-02-15T05:00:55.467Z] 33b1e0a273af: Pull complete [2023-02-15T05:00:55.467Z] 5d3b04190fa2: Pull complete [2023-02-15T05:01:00.732Z] 2f39f015ded8: Pull complete [2023-02-15T05:01:00.732Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T05:01:00.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T05:01:00.732Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T05:01:00.932Z] prd-ubuntu20.04-docker-8c-8g-6059 does not seem to be running inside a container [2023-02-15T05:01:01.034Z] $ 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-1324 -v /w/workspace/gexfoundry_device-sdk-go_PR-1324:/w/workspace/gexfoundry_device-sdk-go_PR-1324:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T05:01:02.027Z] $ docker top e84578a715490096eee1bc6395b66b3bc5e4bfd277a55270c7a779b6ee866409 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T05:01:02.539Z] ---> job-cost.sh [2023-02-15T05:01:02.539Z] lf-activate-venv: SKIPPING [2023-02-15T05:01:02.539Z] INFO: No Stack... [2023-02-15T05:01:02.799Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T05:01:03.064Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T05:01:03.380Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1324/archives/cost.csv [2023-02-15T05:01:03.380Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T05:01:03.426Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1324-1-stack-cost] [2023-02-15T05:01:03.431Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1324-1-stack-cost] did not exist. Created. [2023-02-15T05:01:03.431Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1324-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T05:01:03.816Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T05:01:03.874Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T05:01:03.889Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1324-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T05:01:03.965Z] $ docker stop --time=1 e84578a715490096eee1bc6395b66b3bc5e4bfd277a55270c7a779b6ee866409 [2023-02-15T05:01:05.127Z] $ docker rm -f --volumes e84578a715490096eee1bc6395b66b3bc5e4bfd277a55270c7a779b6ee866409 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T05:01:05.509Z] Failed in branch amd64 [2023-02-15T05:02:38.373Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6065 in /w/workspace/gexfoundry_device-sdk-go_PR-1324 [Pipeline] { [Pipeline] ws [2023-02-15T05:02:38.433Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-15T05:02:38.521Z] The recommended git tool is: git [2023-02-15T05:02:45.966Z] using credential edgex-jenkins-ssh [2023-02-15T05:02:45.985Z] Cloning the remote Git repository [2023-02-15T05:02:46.048Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T05:02:46.147Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-15T05:02:46.339Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T05:02:46.340Z] > git --version # timeout=10 [2023-02-15T05:02:46.365Z] > git --version # 'git version 2.25.1' [2023-02-15T05:02:46.368Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T05:02:46.435Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T05:02:49.163Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T05:02:49.207Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T05:02:50.279Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T05:02:50.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T05:02:50.332Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T05:02:50.351Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1324/head:refs/remotes/origin/PR-1324 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T05:02:51.063Z] Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit 6ee5567a35836506150158448ce29ad6cb5b9bcf [2023-02-15T05:02:51.385Z] Merge succeeded, producing 6ee5567a35836506150158448ce29ad6cb5b9bcf [2023-02-15T05:02:51.386Z] Checking out Revision 6ee5567a35836506150158448ce29ad6cb5b9bcf (PR-1324) [2023-02-15T05:02:52.174Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-15T05:02:51.099Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T05:02:51.121Z] > git checkout -f 6ee5567a35836506150158448ce29ad6cb5b9bcf # timeout=10 [2023-02-15T05:02:51.266Z] > git remote # timeout=10 [2023-02-15T05:02:51.291Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T05:02:51.313Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T05:02:51.332Z] > git merge 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 [2023-02-15T05:02:51.367Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T05:02:51.402Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T05:02:51.422Z] > git checkout -f 6ee5567a35836506150158448ce29ad6cb5b9bcf # timeout=10 [2023-02-15T05:02:52.257Z] > git --version # timeout=10 [2023-02-15T05:02:52.271Z] > git --version # 'git version 2.25.1' [2023-02-15T05:02:52.296Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T05:02:53.416Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T05:02:53.416Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T05:02:53.416Z] Dload Upload Total Spent Left Speed [2023-02-15T05:02:53.416Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2023-02-15T05:02:54.144Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T05:02:54.511Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T05:02:54.511Z] + sudo tee /etc/docker/daemon.new [2023-02-15T05:02:54.511Z] { [2023-02-15T05:02:54.511Z] "registry-mirrors": [ [2023-02-15T05:02:54.511Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T05:02:54.511Z] ], [2023-02-15T05:02:54.511Z] "bip": "10.250.0.254/24", [2023-02-15T05:02:54.511Z] "hosts": [ [2023-02-15T05:02:54.511Z] "tcp://0.0.0.0:5555", [2023-02-15T05:02:54.511Z] "unix:///var/run/docker.sock" [2023-02-15T05:02:54.511Z] ], [2023-02-15T05:02:54.511Z] "mtu": 1458, [2023-02-15T05:02:54.511Z] "selinux-enabled": true, [2023-02-15T05:02:54.511Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T05:02:54.511Z] } [Pipeline] sh [2023-02-15T05:02:54.886Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T05:02:55.256Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T05:03:13.676Z] provisioning config files... [2023-02-15T05:03:13.712Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config171865288810479679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T05:03:14.137Z] ---> docker-login.sh [2023-02-15T05:03:14.137Z] nexus3.edgexfoundry.org:10001 [2023-02-15T05:03:14.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T05:03:14.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T05:03:14.736Z] Configure a credential helper to remove this warning. See [2023-02-15T05:03:14.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T05:03:14.736Z] [2023-02-15T05:03:14.736Z] Login Succeeded [2023-02-15T05:03:15.013Z] nexus3.edgexfoundry.org:10002 [2023-02-15T05:03:15.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T05:03:15.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T05:03:15.289Z] Configure a credential helper to remove this warning. See [2023-02-15T05:03:15.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T05:03:15.289Z] [2023-02-15T05:03:15.289Z] Login Succeeded [2023-02-15T05:03:15.289Z] nexus3.edgexfoundry.org:10003 [2023-02-15T05:03:15.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T05:03:15.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T05:03:15.566Z] Configure a credential helper to remove this warning. See [2023-02-15T05:03:15.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T05:03:15.566Z] [2023-02-15T05:03:15.566Z] Login Succeeded [2023-02-15T05:03:15.849Z] nexus3.edgexfoundry.org:10004 [2023-02-15T05:03:16.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T05:03:16.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T05:03:16.123Z] Configure a credential helper to remove this warning. See [2023-02-15T05:03:16.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T05:03:16.123Z] [2023-02-15T05:03:16.123Z] Login Succeeded [2023-02-15T05:03:16.123Z] docker.io [2023-02-15T05:03:16.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T05:03:16.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T05:03:16.673Z] Configure a credential helper to remove this warning. See [2023-02-15T05:03:16.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T05:03:16.673Z] [2023-02-15T05:03:16.673Z] Login Succeeded [2023-02-15T05:03:16.673Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T05:03:16.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T05:03:17.216Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T05:03:17.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T05:03:17.280Z] ========================================================= [2023-02-15T05:03:17.280Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T05:03:17.280Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T05:03:17.785Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T05:03:18.390Z] Sending build context to Docker daemon 5.613MB [2023-02-15T05:03:18.390Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T05:03:18.390Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T05:03:18.390Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T05:03:18.390Z] 9b18e9b68314: Pulling fs layer [2023-02-15T05:03:18.390Z] 35d82f9e3411: Pulling fs layer [2023-02-15T05:03:18.390Z] e16973657156: Pulling fs layer [2023-02-15T05:03:18.390Z] fc693d55d65f: Pulling fs layer [2023-02-15T05:03:18.390Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T05:03:18.390Z] dda99020689f: Pulling fs layer [2023-02-15T05:03:18.390Z] db1c61fa0a46: Pulling fs layer [2023-02-15T05:03:18.390Z] 891c053d2c06: Pulling fs layer [2023-02-15T05:03:18.390Z] dda99020689f: Waiting [2023-02-15T05:03:18.390Z] db1c61fa0a46: Waiting [2023-02-15T05:03:18.390Z] 891c053d2c06: Waiting [2023-02-15T05:03:18.390Z] fc693d55d65f: Waiting [2023-02-15T05:03:18.390Z] 7e9fc2657dce: Waiting [2023-02-15T05:03:18.669Z] e16973657156: Verifying Checksum [2023-02-15T05:03:18.669Z] e16973657156: Download complete [2023-02-15T05:03:18.669Z] 35d82f9e3411: Verifying Checksum [2023-02-15T05:03:18.669Z] 35d82f9e3411: Download complete [2023-02-15T05:03:18.669Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T05:03:18.669Z] 7e9fc2657dce: Download complete [2023-02-15T05:03:18.669Z] dda99020689f: Verifying Checksum [2023-02-15T05:03:18.669Z] dda99020689f: Download complete [2023-02-15T05:03:18.669Z] 9b18e9b68314: Verifying Checksum [2023-02-15T05:03:18.669Z] 9b18e9b68314: Download complete [2023-02-15T05:03:19.677Z] 9b18e9b68314: Pull complete [2023-02-15T05:03:19.952Z] 891c053d2c06: Verifying Checksum [2023-02-15T05:03:19.952Z] 891c053d2c06: Download complete [2023-02-15T05:03:20.551Z] 35d82f9e3411: Pull complete [2023-02-15T05:03:20.825Z] e16973657156: Pull complete [2023-02-15T05:03:21.126Z] db1c61fa0a46: Verifying Checksum [2023-02-15T05:03:21.126Z] db1c61fa0a46: Download complete [2023-02-15T05:03:21.728Z] fc693d55d65f: Verifying Checksum [2023-02-15T05:03:21.728Z] fc693d55d65f: Download complete [2023-02-15T05:03:34.118Z] fc693d55d65f: Pull complete [2023-02-15T05:03:34.118Z] 7e9fc2657dce: Pull complete [2023-02-15T05:03:34.118Z] dda99020689f: Pull complete [2023-02-15T05:03:39.533Z] db1c61fa0a46: Pull complete [2023-02-15T05:03:42.271Z] 891c053d2c06: Pull complete [2023-02-15T05:03:42.271Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T05:03:42.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T05:03:42.271Z] ---> f96f9c87975a [2023-02-15T05:03:42.271Z] Step 3/10 : ARG MAKE=make build [2023-02-15T05:03:44.245Z] ---> Running in 779f1712cede [2023-02-15T05:03:44.846Z] Removing intermediate container 779f1712cede [2023-02-15T05:03:44.846Z] ---> 691cd8c7d248 [2023-02-15T05:03:44.846Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T05:03:44.846Z] ---> Running in 0c197845dc5c [2023-02-15T05:03:45.169Z] Removing intermediate container 0c197845dc5c [2023-02-15T05:03:45.169Z] ---> e1ae3a0a4f75 [2023-02-15T05:03:45.169Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T05:03:45.442Z] ---> Running in ab13e71f3de1 [2023-02-15T05:03:45.717Z] Removing intermediate container ab13e71f3de1 [2023-02-15T05:03:45.717Z] ---> 45ef8af7f148 [2023-02-15T05:03:45.717Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T05:03:45.993Z] ---> Running in a17c62faf6d1 [2023-02-15T05:03:47.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T05:03:47.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T05:03:49.110Z] OK: 221 MiB in 51 packages [2023-02-15T05:03:50.081Z] Removing intermediate container a17c62faf6d1 [2023-02-15T05:03:50.081Z] ---> 08d811a1a694 [2023-02-15T05:03:50.081Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T05:03:50.675Z] ---> cc540b09c1af [2023-02-15T05:03:50.675Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T05:03:50.675Z] ---> Running in 869461dd1a2e [2023-02-15T05:05:13.311Z] Removing intermediate container 869461dd1a2e [2023-02-15T05:05:13.311Z] ---> d9b401dbf7e7 [2023-02-15T05:05:13.311Z] Step 9/10 : COPY . . [2023-02-15T05:05:13.311Z] ---> 15902c87d1ad [2023-02-15T05:05:13.311Z] Step 10/10 : RUN ${MAKE} [2023-02-15T05:05:13.311Z] ---> Running in 3b440b8db577 [2023-02-15T05:05:13.311Z] noop [2023-02-15T05:05:13.311Z] Removing intermediate container 3b440b8db577 [2023-02-15T05:05:13.311Z] ---> 59251b5e03bb [2023-02-15T05:05:13.311Z] Successfully built 59251b5e03bb [2023-02-15T05:05:13.311Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T05:05:13.901Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T05:05:13.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T05:05:14.186Z] prd-ubuntu20.04-docker-arm64-4c-16g-6065 does not seem to be running inside a container [2023-02-15T05:05:14.270Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T05:05:15.603Z] $ docker top 2ecfc43b19fe9caa5cb5b16f75227f4889ab663e5da8dc885561cf6bb0ef518e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T05:05:16.545Z] + go version [2023-02-15T05:05:16.545Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T05:05:16.596Z] $ docker stop --time=1 2ecfc43b19fe9caa5cb5b16f75227f4889ab663e5da8dc885561cf6bb0ef518e [2023-02-15T05:05:18.321Z] $ docker rm -f --volumes 2ecfc43b19fe9caa5cb5b16f75227f4889ab663e5da8dc885561cf6bb0ef518e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T05:05:19.185Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T05:05:19.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T05:05:19.474Z] prd-ubuntu20.04-docker-arm64-4c-16g-6065 does not seem to be running inside a container [2023-02-15T05:05:19.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T05:05:20.937Z] $ docker top 155ba89fef76bca3537be4567cc7db7d284e4f209dd19f5cb387a02e32913fd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T05:05:21.869Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T05:05:22.583Z] + make test [2023-02-15T05:05:22.583Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T05:06:01.504Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T05:08:23.238Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [2023-02-15T05:08:23.238Z] internal/controller/http/common.go:97:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-15T05:08:27.502Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.419s coverage: 27.6% of statements [2023-02-15T05:08:27.502Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.421s coverage: 78.9% of statements [2023-02-15T05:08:39.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.454s coverage: 78.1% of statements [2023-02-15T05:08:39.835Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-02-15T05:08:39.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.519s coverage: 65.2% of statements [2023-02-15T05:08:39.835Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.318s coverage: 89.2% of statements [2023-02-15T05:08:39.835Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-02-15T05:08:40.427Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-15T05:08:40.477Z] $ docker stop --time=1 155ba89fef76bca3537be4567cc7db7d284e4f209dd19f5cb387a02e32913fd3 [2023-02-15T05:08:42.389Z] $ docker rm -f --volumes 155ba89fef76bca3537be4567cc7db7d284e4f209dd19f5cb387a02e32913fd3 [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-02-15T05:08:44.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T05:08:44.162Z] [2023-02-15T05:08:44.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T05:08:44.575Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T05:08:44.849Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T05:08:44.849Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T05:08:44.849Z] 04944245beec: Pulling fs layer [2023-02-15T05:08:44.849Z] 699f458cf7ca: Pulling fs layer [2023-02-15T05:08:44.849Z] 765212b225bb: Pulling fs layer [2023-02-15T05:08:44.849Z] f23df028b6ca: Pulling fs layer [2023-02-15T05:08:44.849Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T05:08:44.849Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T05:08:44.849Z] 765212b225bb: Waiting [2023-02-15T05:08:44.849Z] f23df028b6ca: Waiting [2023-02-15T05:08:44.849Z] d65c8cfc05b1: Waiting [2023-02-15T05:08:44.849Z] 2437ff75d9bd: Waiting [2023-02-15T05:08:44.849Z] 04944245beec: Verifying Checksum [2023-02-15T05:08:44.849Z] 04944245beec: Download complete [2023-02-15T05:08:44.849Z] 765212b225bb: Download complete [2023-02-15T05:08:44.849Z] f23df028b6ca: Verifying Checksum [2023-02-15T05:08:44.849Z] f23df028b6ca: Download complete [2023-02-15T05:08:44.849Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T05:08:44.849Z] d65c8cfc05b1: Download complete [2023-02-15T05:08:45.120Z] 699f458cf7ca: Verifying Checksum [2023-02-15T05:08:45.120Z] 699f458cf7ca: Download complete [2023-02-15T05:08:45.714Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T05:08:45.714Z] 8998bd30e6a1: Download complete [2023-02-15T05:08:48.320Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T05:08:48.320Z] 2437ff75d9bd: Download complete [2023-02-15T05:08:49.733Z] 8998bd30e6a1: Pull complete [2023-02-15T05:08:50.321Z] 04944245beec: Pull complete [2023-02-15T05:08:51.741Z] 699f458cf7ca: Pull complete [2023-02-15T05:08:52.010Z] 765212b225bb: Pull complete [2023-02-15T05:08:52.975Z] f23df028b6ca: Pull complete [2023-02-15T05:08:52.975Z] d65c8cfc05b1: Pull complete [2023-02-15T05:09:07.997Z] 2437ff75d9bd: Pull complete [2023-02-15T05:09:07.997Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T05:09:07.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T05:09:07.997Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T05:09:08.350Z] prd-ubuntu20.04-docker-arm64-4c-16g-6065 does not seem to be running inside a container [2023-02-15T05:09:08.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T05:09:11.416Z] $ docker top bc09a3ef76a4ce58bc589be3b84ed21b295da610ee080175d25d838f59670af0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T05:09:12.354Z] ---> job-cost.sh [2023-02-15T05:09:12.354Z] lf-activate-venv: SKIPPING [2023-02-15T05:09:12.354Z] INFO: No Stack... [2023-02-15T05:09:12.622Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T05:09:13.591Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T05:09:14.256Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-15T05:09:14.256Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T05:09:14.362Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1324-1-stack-cost] [2023-02-15T05:09:14.367Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1324-1-stack-cost] did not exist. Created. [2023-02-15T05:09:14.368Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1324-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T05:09:15.100Z] /w/workspace/device-sdk-go/1@tmp/durable-0212a3ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T05:09:15.792Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T05:09:15.827Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T05:09:16.386Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T05:09:16.400Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1324-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T05:09:16.493Z] $ docker stop --time=1 bc09a3ef76a4ce58bc589be3b84ed21b295da610ee080175d25d838f59670af0 [2023-02-15T05:09:18.046Z] $ docker rm -f --volumes bc09a3ef76a4ce58bc589be3b84ed21b295da610ee080175d25d838f59670af0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T05:09:18.782Z] 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-02-15T05:09:20.954Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1324/archives ] [2023-02-15T05:09:20.954Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1324/archives [2023-02-15T05:09:20.954Z] total 16 [2023-02-15T05:09:20.954Z] drwxr-xr-x 3 root root 4096 Feb 15 05:01 . [2023-02-15T05:09:20.954Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 05:01 .. [2023-02-15T05:09:20.954Z] drwxr-xr-x 2 root root 4096 Feb 15 05:01 cost [2023-02-15T05:09:20.954Z] -rw-r--r-- 1 root root 86 Feb 15 05:01 cost.csv [2023-02-15T05:09:20.954Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1324/archives [2023-02-15T05:09:20.954Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1324/archives [2023-02-15T05:09:20.954Z] total 16 [2023-02-15T05:09:20.954Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 05:01 . [2023-02-15T05:09:20.954Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 05:01 .. [2023-02-15T05:09:20.954Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 05:01 cost [2023-02-15T05:09:20.954Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T05:09:21.280Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T05:09:22.166Z] ---> package-listing.sh [2023-02-15T05:09:22.166Z] ++ facter osfamily [2023-02-15T05:09:22.166Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T05:09:22.424Z] + OS_FAMILY=debian [2023-02-15T05:09:22.424Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1324 [2023-02-15T05:09:22.424Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T05:09:22.424Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T05:09:22.424Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T05:09:22.424Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T05:09:22.424Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1324 ']' [2023-02-15T05:09:22.424Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T05:09:22.424Z] + case "${OS_FAMILY}" in [2023-02-15T05:09:22.424Z] + dpkg -l [2023-02-15T05:09:22.424Z] + grep '^ii' [2023-02-15T05:09:22.424Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T05:09:22.424Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T05:09:22.424Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T05:09:22.424Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1324 ']' [2023-02-15T05:09:22.424Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1324/archives/ [2023-02-15T05:09:22.425Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1324/archives/ [Pipeline] echo [2023-02-15T05:09:22.455Z] 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-1324/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T05:09:22.744Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T05:09:23.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T05:09:23.361Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T05:09:23.502Z] prd-ubuntu20.04-docker-8c-8g-6059 does not seem to be running inside a container [2023-02-15T05:09:23.534Z] $ 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-1324/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-1324 -v /w/workspace/gexfoundry_device-sdk-go_PR-1324:/w/workspace/gexfoundry_device-sdk-go_PR-1324:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T05:09:23.711Z] $ docker top 3557bd29a0cfa920c61f9c78882da9f8776ebb0c1a635eebc1b3056c8d616590 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T05:09:24.171Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T05:09:24.485Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T05:09:24.800Z] + ls /var/log/sa-host [2023-02-15T05:09:24.800Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T05:09:24.967Z] provisioning config files... [2023-02-15T05:09:24.977Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1324@tmp/config666395923494751959tmp [Pipeline] { [Pipeline] echo [2023-02-15T05:09:25.032Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T05:09:25.346Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T05:09:25.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T05:09:25.830Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T05:09:25.865Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T05:09:26.176Z] ---> sudo-logs.sh [2023-02-15T05:09:26.176Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T05:09:26.260Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T05:09:26.574Z] ---> job-cost.sh [2023-02-15T05:09:26.574Z] lf-activate-venv: SKIPPING [2023-02-15T05:09:26.574Z] DEBUG: total: 0.2199999988079071 [2023-02-15T05:09:26.574Z] INFO: Retrieving Stack Cost... [2023-02-15T05:09:27.143Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T05:09:27.403Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T05:09:27.438Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T05:09:27.762Z] ---> logs-deploy.sh [2023-02-15T05:09:27.762Z] lf-activate-venv: SKIPPING [2023-02-15T05:09:27.762Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1324/1 [2023-02-15T05:09:27.762Z] INFO: archiving workspace using pattern(s): [2023-02-15T05:09:28.699Z] Archives upload complete. [2023-02-15T05:09:28.699Z] INFO: archiving logs to Nexus