Pull request #1399 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c61610bbbff1187c8ac68f5c7e0a10add7b75ddb rather than 27df07216cb02fc65b1632e7f4b88a4de08b2221 Obtained Jenkinsfile from c61610bbbff1187c8ac68f5c7e0a10add7b75ddb 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-ssh9602168793052016545.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh4014387893022009060.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1399/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-1399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5185708730012937291.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-1399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5508022662439369064.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh4599037226752428081.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-1399/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-1399/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13393212906385866790.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5028 in /w/workspace/gexfoundry_device-sdk-go_PR-1399 [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-1399 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1399/head:refs/remotes/origin/PR-1399 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 27df07216cb02fc65b1632e7f4b88a4de08b2221 Merge succeeded, producing 27df07216cb02fc65b1632e7f4b88a4de08b2221 Checking out Revision 27df07216cb02fc65b1632e7f4b88a4de08b2221 (PR-1399) > git config core.sparsecheckout # timeout=10 > git checkout -f 27df07216cb02fc65b1632e7f4b88a4de08b2221 # 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 c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 27df07216cb02fc65b1632e7f4b88a4de08b2221 # timeout=10 Commit message: "build(deps): Update go-mod-core-contracts version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T01:59:56.557Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T01:59:56.717Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T01:59:56.814Z] ========================================================= [2023-03-22T01:59:56.814Z] EdgeX Global Pipelines Version Info [2023-03-22T01:59:56.814Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T01:59:57.566Z] ------------------- [2023-03-22T01:59:57.566Z] stable info: [2023-03-22T01:59:57.566Z] ------------------- [2023-03-22T01:59:57.566Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T01:59:57.566Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T01:59:57.566Z] Message: update stable to v1.0.245 [2023-03-22T01:59:58.142Z] ------------------- [2023-03-22T01:59:58.142Z] experimental info: [2023-03-22T01:59:58.142Z] ------------------- [2023-03-22T01:59:58.142Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T01:59:58.142Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-22T01:59:58.142Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T01:59:58.834Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-22T01:59:58.871Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-22T01:59:58.905Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T01:59:58.948Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T01:59:58.985Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T01:59:59.022Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T01:59:59.063Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T01:59:59.106Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-22T01:59:59.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T01:59:59.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T01:59:59.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T01:59:59.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-22T01:59:59.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T01:59:59.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T01:59:59.391Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T01:59:59.431Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T01:59:59.469Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T01:59:59.515Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T01:59:59.552Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T01:59:59.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T01:59:59.630Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-22T01:59:59.672Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-22T01:59:59.711Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T01:59:59.747Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T01:59:59.784Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T01:59:59.822Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T01:59:59.864Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T01:59:59.898Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1399 [Pipeline] echo [2023-03-22T01:59:59.933Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1399 [Pipeline] echo [2023-03-22T01:59:59.971Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1399 [Pipeline] echo [2023-03-22T02:00:00.010Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27df07216cb02fc65b1632e7f4b88a4de08b2221 [Pipeline] echo [2023-03-22T02:00:00.047Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27df072 [Pipeline] echo [2023-03-22T02:00:00.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T02:00:00.201Z] provisioning config files... [2023-03-22T02:00:00.215Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/config10351516112842661935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:00:00.559Z] ---> docker-login.sh [2023-03-22T02:00:00.559Z] nexus3.edgexfoundry.org:10001 [2023-03-22T02:00:00.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:00:01.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:00:01.079Z] Configure a credential helper to remove this warning. See [2023-03-22T02:00:01.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:00:01.079Z] [2023-03-22T02:00:01.079Z] Login Succeeded [2023-03-22T02:00:01.079Z] nexus3.edgexfoundry.org:10002 [2023-03-22T02:00:01.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:00:01.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:00:01.079Z] Configure a credential helper to remove this warning. See [2023-03-22T02:00:01.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:00:01.079Z] [2023-03-22T02:00:01.079Z] Login Succeeded [2023-03-22T02:00:01.079Z] nexus3.edgexfoundry.org:10003 [2023-03-22T02:00:01.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:00:01.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:00:01.340Z] Configure a credential helper to remove this warning. See [2023-03-22T02:00:01.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:00:01.340Z] [2023-03-22T02:00:01.340Z] Login Succeeded [2023-03-22T02:00:01.340Z] nexus3.edgexfoundry.org:10004 [2023-03-22T02:00:01.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:00:01.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:00:01.340Z] Configure a credential helper to remove this warning. See [2023-03-22T02:00:01.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:00:01.340Z] [2023-03-22T02:00:01.340Z] Login Succeeded [2023-03-22T02:00:01.340Z] docker.io [2023-03-22T02:00:01.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:00:01.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:00:01.908Z] Configure a credential helper to remove this warning. See [2023-03-22T02:00:01.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:00:01.908Z] [2023-03-22T02:00:01.908Z] Login Succeeded [2023-03-22T02:00:01.908Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T02:00:01.937Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T02:00:02.619Z] + git rev-list -1 --merges 27df07216cb02fc65b1632e7f4b88a4de08b2221~1..27df07216cb02fc65b1632e7f4b88a4de08b2221 [Pipeline] echo [2023-03-22T02:00:02.682Z] -----------> git rev-list -1 --merges 27df07216cb02fc65b1632e7f4b88a4de08b2221~1..27df07216cb02fc65b1632e7f4b88a4de08b2221 27df07216cb02fc65b1632e7f4b88a4de08b2221 [false] [Pipeline] sh [2023-03-22T02:00:02.989Z] + git log --format=format:%s -1 27df07216cb02fc65b1632e7f4b88a4de08b2221 [Pipeline] echo [2023-03-22T02:00:03.024Z] ========================================================= [2023-03-22T02:00:03.024Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T02:00:03.024Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T02:00:03.460Z] + git log --format=format:%s -1 27df07216cb02fc65b1632e7f4b88a4de08b2221 [Pipeline] echo [2023-03-22T02:00:03.490Z] [semverPrep] GIT_COMMIT: 27df07216cb02fc65b1632e7f4b88a4de08b2221, Commit Message: build(deps): Update go-mod-core-contracts version [Pipeline] echo [2023-03-22T02:00:03.520Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T02:00:03.905Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T02:00:03.906Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T02:00:03.906Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T02:00:03.906Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T02:00:03.906Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-22T02:00:03.906Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-22T02:00:03.906Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:00:04.384Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T02:00:04.384Z] [2023-03-22T02:00:04.384Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:00:04.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T02:00:04.767Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T02:00:04.767Z] b85a868b505f: Pulling fs layer [2023-03-22T02:00:04.767Z] e2be974225ed: Pulling fs layer [2023-03-22T02:00:04.767Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T02:00:04.767Z] 988bab9f4d93: Pulling fs layer [2023-03-22T02:00:04.767Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T02:00:04.767Z] eaf3925da568: Pulling fs layer [2023-03-22T02:00:04.767Z] bab4dde63d76: Pulling fs layer [2023-03-22T02:00:04.767Z] bde34c3a00c8: Pulling fs layer [2023-03-22T02:00:04.767Z] b352a97aabf1: Pulling fs layer [2023-03-22T02:00:04.767Z] 4872d77fe225: Pulling fs layer [2023-03-22T02:00:04.767Z] 5851b861e8e6: Pulling fs layer [2023-03-22T02:00:04.767Z] 1469e6f7b9e6: Waiting [2023-03-22T02:00:04.767Z] 988bab9f4d93: Waiting [2023-03-22T02:00:04.767Z] bab4dde63d76: Waiting [2023-03-22T02:00:04.767Z] b352a97aabf1: Waiting [2023-03-22T02:00:04.767Z] 4872d77fe225: Waiting [2023-03-22T02:00:04.767Z] 5851b861e8e6: Waiting [2023-03-22T02:00:04.767Z] eaf3925da568: Waiting [2023-03-22T02:00:04.767Z] bde34c3a00c8: Waiting [2023-03-22T02:00:04.767Z] e2be974225ed: Verifying Checksum [2023-03-22T02:00:04.767Z] e2be974225ed: Download complete [2023-03-22T02:00:04.767Z] 988bab9f4d93: Download complete [2023-03-22T02:00:05.028Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T02:00:05.028Z] 339a4e72a1f5: Download complete [2023-03-22T02:00:05.028Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T02:00:05.028Z] 1469e6f7b9e6: Download complete [2023-03-22T02:00:05.028Z] eaf3925da568: Download complete [2023-03-22T02:00:05.028Z] bde34c3a00c8: Download complete [2023-03-22T02:00:05.028Z] b352a97aabf1: Verifying Checksum [2023-03-22T02:00:05.028Z] b352a97aabf1: Download complete [2023-03-22T02:00:05.028Z] 4872d77fe225: Download complete [2023-03-22T02:00:05.028Z] 5851b861e8e6: Verifying Checksum [2023-03-22T02:00:05.028Z] 5851b861e8e6: Download complete [2023-03-22T02:00:05.028Z] b85a868b505f: Verifying Checksum [2023-03-22T02:00:05.028Z] b85a868b505f: Download complete [2023-03-22T02:00:05.288Z] bab4dde63d76: Verifying Checksum [2023-03-22T02:00:05.288Z] bab4dde63d76: Download complete [2023-03-22T02:00:06.276Z] b85a868b505f: Pull complete [2023-03-22T02:00:06.563Z] e2be974225ed: Pull complete [2023-03-22T02:00:07.130Z] 339a4e72a1f5: Pull complete [2023-03-22T02:00:07.130Z] 988bab9f4d93: Pull complete [2023-03-22T02:00:07.389Z] 1469e6f7b9e6: Pull complete [2023-03-22T02:00:07.389Z] eaf3925da568: Pull complete [2023-03-22T02:00:09.293Z] bab4dde63d76: Pull complete [2023-03-22T02:00:09.293Z] bde34c3a00c8: Pull complete [2023-03-22T02:00:09.552Z] b352a97aabf1: Pull complete [2023-03-22T02:00:09.552Z] 4872d77fe225: Pull complete [2023-03-22T02:00:09.552Z] 5851b861e8e6: Pull complete [2023-03-22T02:00:09.552Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T02:00:09.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T02:00:09.552Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:00:09.774Z] prd-ubuntu20.04-docker-8c-8g-5028 does not seem to be running inside a container [2023-03-22T02:00:09.802Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@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-devops/py-git-semver:0.1.4 cat [2023-03-22T02:00:12.310Z] $ docker top cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 -eo pid,comm [2023-03-22T02:00:12.365Z] 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-03-22T02:00:12.365Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T02:00:12.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T02:00:12.501Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T02:00:12.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T02:00:12.628Z] $ docker exec cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 ssh-agent [2023-03-22T02:00:12.734Z] SSH_AUTH_SOCK=/tmp/ssh-tQFNRGqcv5CB/agent.32 [2023-03-22T02:00:12.734Z] SSH_AGENT_PID=39 [2023-03-22T02:00:12.761Z] Running ssh-add (command line suppressed) [2023-03-22T02:00:12.869Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_12572680244304332201.key (/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_12572680244304332201.key) [2023-03-22T02:00:12.884Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T02:00:13.218Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T02:00:13.247Z] $ docker exec --env ******** --env ******** cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 ssh-agent -k [2023-03-22T02:00:13.356Z] unset SSH_AUTH_SOCK; [2023-03-22T02:00:13.356Z] unset SSH_AGENT_PID; [2023-03-22T02:00:13.357Z] echo Agent pid 39 killed; [2023-03-22T02:00:13.365Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T02:00:13.452Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T02:00:13.452Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T02:00:13.563Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T02:00:13.567Z] $ docker exec cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 ssh-agent [2023-03-22T02:00:13.681Z] SSH_AUTH_SOCK=/tmp/ssh-PEtgpt3a45WK/agent.71 [2023-03-22T02:00:13.681Z] SSH_AGENT_PID=77 [2023-03-22T02:00:13.685Z] Running ssh-add (command line suppressed) [2023-03-22T02:00:13.794Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_15710739231945952273.key (/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_15710739231945952273.key) [2023-03-22T02:00:13.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T02:00:14.148Z] + git semver init [2023-03-22T02:00:14.408Z] 2023-03-22 02:00:14,356 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T02:00:14.408Z] 2023-03-22 02:00:14,357 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver [2023-03-22T02:00:14.408Z] 2023-03-22 02:00:14,358 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver [2023-03-22T02:00:14.408Z] 2023-03-22 02:00:14,358 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1399, universal_newlines=False, shell=None, istream=None) [2023-03-22T02:00:15.346Z] 2023-03-22 02:00:15,235 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.git/info/exclude [2023-03-22T02:00:15.346Z] 2023-03-22 02:00:15,236 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver/PR-1399 with force:False [2023-03-22T02:00:15.346Z] 2023-03-22 02:00:15,236 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver/PR-1399 [2023-03-22T02:00:15.346Z] 2023-03-22 02:00:15,240 [execute] INFO git cat-file --batch-check [2023-03-22T02:00:15.346Z] 2023-03-22 02:00:15,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T02:00:15.346Z] 2023-03-22 02:00:15,247 [execute] INFO git cat-file --batch [2023-03-22T02:00:15.346Z] 2023-03-22 02:00:15,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T02:00:15.346Z] 2023-03-22 02:00:15,252 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver/PR-1399 [2023-03-22T02:00:15.346Z] 0.0.0 [Pipeline] } [2023-03-22T02:00:15.374Z] $ docker exec --env ******** --env ******** cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 ssh-agent -k [2023-03-22T02:00:15.480Z] unset SSH_AUTH_SOCK; [2023-03-22T02:00:15.481Z] unset SSH_AGENT_PID; [2023-03-22T02:00:15.481Z] echo Agent pid 77 killed; [2023-03-22T02:00:15.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T02:00:15.903Z] + git semver [Pipeline] } [2023-03-22T02:00:16.189Z] $ docker stop --time=1 cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 [2023-03-22T02:00:17.488Z] $ docker rm -f --volumes cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T02:00:17.897Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T02:00:18.166Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T02:00:18.184Z] [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-03-22T02:00:18.783Z] provisioning config files... [2023-03-22T02:00:18.792Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/config6457665145126365317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:00:19.159Z] ---> docker-login.sh [2023-03-22T02:00:19.159Z] nexus3.edgexfoundry.org:10001 [2023-03-22T02:00:19.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:00:19.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:00:19.159Z] Configure a credential helper to remove this warning. See [2023-03-22T02:00:19.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:00:19.159Z] [2023-03-22T02:00:19.159Z] Login Succeeded [2023-03-22T02:00:19.159Z] nexus3.edgexfoundry.org:10002 [2023-03-22T02:00:19.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:00:19.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:00:19.159Z] Configure a credential helper to remove this warning. See [2023-03-22T02:00:19.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:00:19.159Z] [2023-03-22T02:00:19.159Z] Login Succeeded [2023-03-22T02:00:19.159Z] nexus3.edgexfoundry.org:10003 [2023-03-22T02:00:19.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:00:19.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:00:19.418Z] Configure a credential helper to remove this warning. See [2023-03-22T02:00:19.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:00:19.418Z] [2023-03-22T02:00:19.418Z] Login Succeeded [2023-03-22T02:00:19.418Z] nexus3.edgexfoundry.org:10004 [2023-03-22T02:00:19.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:00:19.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:00:19.418Z] Configure a credential helper to remove this warning. See [2023-03-22T02:00:19.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:00:19.418Z] [2023-03-22T02:00:19.418Z] Login Succeeded [2023-03-22T02:00:19.418Z] docker.io [2023-03-22T02:00:19.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:00:19.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:00:19.679Z] Configure a credential helper to remove this warning. See [2023-03-22T02:00:19.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:00:19.679Z] [2023-03-22T02:00:19.679Z] Login Succeeded [2023-03-22T02:00:19.679Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T02:00:19.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T02:00:19.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T02:00:19.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T02:00:19.975Z] ========================================================= [2023-03-22T02:00:19.975Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T02:00:19.975Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:00:20.455Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T02:00:20.455Z] Sending build context to Docker daemon 10.8MB [2023-03-22T02:00:20.455Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T02:00:20.455Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T02:00:20.455Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T02:00:20.455Z] 63b65145d645: Pulling fs layer [2023-03-22T02:00:20.455Z] a2d21d5440eb: Pulling fs layer [2023-03-22T02:00:20.455Z] 935e6c44a52c: Pulling fs layer [2023-03-22T02:00:20.455Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T02:00:20.455Z] 30dea6a524f1: Pulling fs layer [2023-03-22T02:00:20.455Z] a2aff8979fd8: Pulling fs layer [2023-03-22T02:00:20.455Z] 6808be2612f2: Pulling fs layer [2023-03-22T02:00:20.455Z] f25807f1079a: Pulling fs layer [2023-03-22T02:00:20.455Z] 94cc34f8dd06: Waiting [2023-03-22T02:00:20.455Z] 30dea6a524f1: Waiting [2023-03-22T02:00:20.455Z] a2aff8979fd8: Waiting [2023-03-22T02:00:20.455Z] 6808be2612f2: Waiting [2023-03-22T02:00:20.455Z] f25807f1079a: Waiting [2023-03-22T02:00:20.717Z] a2d21d5440eb: Verifying Checksum [2023-03-22T02:00:20.717Z] a2d21d5440eb: Download complete [2023-03-22T02:00:20.717Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T02:00:20.717Z] 94cc34f8dd06: Download complete [2023-03-22T02:00:20.717Z] 30dea6a524f1: Verifying Checksum [2023-03-22T02:00:20.717Z] 30dea6a524f1: Download complete [2023-03-22T02:00:20.717Z] 63b65145d645: Verifying Checksum [2023-03-22T02:00:20.717Z] 63b65145d645: Download complete [2023-03-22T02:00:20.717Z] a2aff8979fd8: Verifying Checksum [2023-03-22T02:00:20.717Z] a2aff8979fd8: Download complete [2023-03-22T02:00:20.979Z] 63b65145d645: Pull complete [2023-03-22T02:00:20.979Z] a2d21d5440eb: Pull complete [2023-03-22T02:00:21.239Z] 935e6c44a52c: Verifying Checksum [2023-03-22T02:00:21.239Z] 935e6c44a52c: Download complete [2023-03-22T02:00:21.239Z] f25807f1079a: Verifying Checksum [2023-03-22T02:00:21.239Z] f25807f1079a: Download complete [2023-03-22T02:00:21.503Z] 6808be2612f2: Verifying Checksum [2023-03-22T02:00:21.503Z] 6808be2612f2: Download complete [2023-03-22T02:00:24.787Z] 935e6c44a52c: Pull complete [2023-03-22T02:00:24.787Z] 94cc34f8dd06: Pull complete [2023-03-22T02:00:24.787Z] 30dea6a524f1: Pull complete [2023-03-22T02:00:24.787Z] a2aff8979fd8: Pull complete [2023-03-22T02:00:27.318Z] 6808be2612f2: Pull complete [2023-03-22T02:00:28.254Z] f25807f1079a: Pull complete [2023-03-22T02:00:28.254Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T02:00:28.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T02:00:28.254Z] ---> 3b553350e43f [2023-03-22T02:00:28.254Z] Step 3/10 : ARG MAKE=make build [2023-03-22T02:00:32.449Z] ---> Running in 52e2fb26d467 [2023-03-22T02:00:32.449Z] Removing intermediate container 52e2fb26d467 [2023-03-22T02:00:32.449Z] ---> 46457968f9d4 [2023-03-22T02:00:32.449Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T02:00:32.449Z] ---> Running in ddf72f55a854 [2023-03-22T02:00:32.449Z] Removing intermediate container ddf72f55a854 [2023-03-22T02:00:32.449Z] ---> ff641255ef21 [2023-03-22T02:00:32.449Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T02:00:32.449Z] ---> Running in a34dc88ec8a4 [2023-03-22T02:00:32.449Z] Removing intermediate container a34dc88ec8a4 [2023-03-22T02:00:32.449Z] ---> 5dfd0e2f9eea [2023-03-22T02:00:32.449Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T02:00:32.449Z] ---> Running in 654f1ff4019a [2023-03-22T02:00:33.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T02:00:33.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T02:00:33.274Z] OK: 265 MiB in 53 packages [2023-03-22T02:00:33.533Z] Removing intermediate container 654f1ff4019a [2023-03-22T02:00:33.534Z] ---> d728857c73bc [2023-03-22T02:00:33.534Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T02:00:33.605Z] Still waiting to schedule task [2023-03-22T02:00:33.605Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5026’ is offline [2023-03-22T02:00:33.792Z] ---> 788cdb0e6ce9 [2023-03-22T02:00:33.792Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T02:00:33.792Z] ---> Running in 1e139ebd4a06 [2023-03-22T02:01:12.542Z] Removing intermediate container 1e139ebd4a06 [2023-03-22T02:01:12.542Z] ---> 1867b04dd68e [2023-03-22T02:01:12.542Z] Step 9/10 : COPY . . [2023-03-22T02:01:12.542Z] ---> 76f85c3dfe0d [2023-03-22T02:01:12.542Z] Step 10/10 : RUN ${MAKE} [2023-03-22T02:01:12.542Z] ---> Running in 93624b996554 [2023-03-22T02:01:12.542Z] noop [2023-03-22T02:01:12.542Z] Removing intermediate container 93624b996554 [2023-03-22T02:01:12.542Z] ---> e86a891e947c [2023-03-22T02:01:12.542Z] Successfully built e86a891e947c [2023-03-22T02:01:12.542Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:01:12.994Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T02:01:12.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:01:13.146Z] prd-ubuntu20.04-docker-8c-8g-5028 does not seem to be running inside a container [2023-03-22T02:01:13.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T02:01:13.524Z] $ docker top 7e90f051f4675a5186547f277274f2b55b255a005f5683e0ad582f1162a2dd1d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T02:01:13.914Z] + go version [2023-03-22T02:01:13.914Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T02:01:13.960Z] $ docker stop --time=1 7e90f051f4675a5186547f277274f2b55b255a005f5683e0ad582f1162a2dd1d [2023-03-22T02:01:15.253Z] $ docker rm -f --volumes 7e90f051f4675a5186547f277274f2b55b255a005f5683e0ad582f1162a2dd1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:01:15.942Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T02:01:15.942Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:01:16.085Z] prd-ubuntu20.04-docker-8c-8g-5028 does not seem to be running inside a container [2023-03-22T02:01:16.125Z] $ 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-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T02:01:16.466Z] $ docker top 4769af45ab825c0d2b411d0304f0710f1bfc12ed1c2babefa4aac7118a6052a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T02:01:16.847Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1399 [Pipeline] fileExists [Pipeline] sh [2023-03-22T02:01:17.213Z] + make test [2023-03-22T02:01:17.213Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T02:01:17.471Z] go: downloading golang.org/x/net v0.7.0 [2023-03-22T02:01:17.471Z] go: downloading golang.org/x/crypto v0.6.0 [2023-03-22T02:01:17.471Z] go: downloading golang.org/x/sys v0.5.0 [2023-03-22T02:01:17.729Z] go: downloading golang.org/x/text v0.7.0 [2023-03-22T02:01:18.671Z] go: updates to go.mod needed; to update it: [2023-03-22T02:01:18.671Z] go mod tidy [2023-03-22T02:01:18.671Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-22T02:01:18.719Z] $ docker stop --time=1 4769af45ab825c0d2b411d0304f0710f1bfc12ed1c2babefa4aac7118a6052a7 [2023-03-22T02:01:20.894Z] $ docker rm -f --volumes 4769af45ab825c0d2b411d0304f0710f1bfc12ed1c2babefa4aac7118a6052a7 [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-03-22T02:01:22.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T02:01:22.025Z] [2023-03-22T02:01:22.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:01:22.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T02:01:22.395Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T02:01:22.395Z] 5eb5b503b376: Pulling fs layer [2023-03-22T02:01:22.395Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T02:01:22.395Z] ec43610c2a17: Pulling fs layer [2023-03-22T02:01:22.395Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T02:01:22.395Z] 33b1e0a273af: Pulling fs layer [2023-03-22T02:01:22.395Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T02:01:22.395Z] 2f39f015ded8: Pulling fs layer [2023-03-22T02:01:22.395Z] 3a2ae6a8a46f: Waiting [2023-03-22T02:01:22.395Z] 33b1e0a273af: Waiting [2023-03-22T02:01:22.395Z] 2f39f015ded8: Waiting [2023-03-22T02:01:22.395Z] 5d3b04190fa2: Waiting [2023-03-22T02:01:22.395Z] 5c69ac0246d0: Verifying Checksum [2023-03-22T02:01:22.395Z] 5c69ac0246d0: Download complete [2023-03-22T02:01:22.395Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T02:01:22.395Z] 3a2ae6a8a46f: Download complete [2023-03-22T02:01:22.654Z] 33b1e0a273af: Verifying Checksum [2023-03-22T02:01:22.654Z] 33b1e0a273af: Download complete [2023-03-22T02:01:22.654Z] 5d3b04190fa2: Verifying Checksum [2023-03-22T02:01:22.654Z] 5d3b04190fa2: Download complete [2023-03-22T02:01:22.654Z] ec43610c2a17: Verifying Checksum [2023-03-22T02:01:22.654Z] ec43610c2a17: Download complete [2023-03-22T02:01:22.654Z] 5eb5b503b376: Verifying Checksum [2023-03-22T02:01:22.654Z] 5eb5b503b376: Download complete [2023-03-22T02:01:23.221Z] 2f39f015ded8: Download complete [2023-03-22T02:01:23.786Z] 5eb5b503b376: Pull complete [2023-03-22T02:01:24.046Z] 5c69ac0246d0: Pull complete [2023-03-22T02:01:24.612Z] ec43610c2a17: Pull complete [2023-03-22T02:01:24.612Z] 3a2ae6a8a46f: Pull complete [2023-03-22T02:01:24.871Z] 33b1e0a273af: Pull complete [2023-03-22T02:01:24.871Z] 5d3b04190fa2: Pull complete [2023-03-22T02:01:29.057Z] 2f39f015ded8: Pull complete [2023-03-22T02:01:29.057Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T02:01:29.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T02:01:29.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:01:29.345Z] prd-ubuntu20.04-docker-8c-8g-5028 does not seem to be running inside a container [2023-03-22T02:01:29.381Z] $ 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-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T02:01:33.430Z] $ docker top d7d27feb5361b7db8183a146f28862b2398abb264a0a6dad2dcc2f0fc84e0590 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:01:33.859Z] ---> job-cost.sh [2023-03-22T02:01:33.859Z] lf-activate-venv: SKIPPING [2023-03-22T02:01:33.859Z] INFO: No Stack... [2023-03-22T02:01:34.117Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T02:01:34.379Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T02:01:34.692Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives/cost.csv [2023-03-22T02:01:34.692Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T02:01:34.736Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] [2023-03-22T02:01:34.742Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] did not exist. Created. [2023-03-22T02:01:34.742Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T02:01:35.137Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T02:01:35.199Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T02:01:35.215Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T02:01:35.292Z] $ docker stop --time=1 d7d27feb5361b7db8183a146f28862b2398abb264a0a6dad2dcc2f0fc84e0590 [2023-03-22T02:01:36.436Z] $ docker rm -f --volumes d7d27feb5361b7db8183a146f28862b2398abb264a0a6dad2dcc2f0fc84e0590 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T02:01:36.783Z] Failed in branch amd64 [2023-03-22T02:02:59.364Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5030 in /w/workspace/gexfoundry_device-sdk-go_PR-1399 [Pipeline] { [Pipeline] ws [2023-03-22T02:02:59.421Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-22T02:02:59.508Z] The recommended git tool is: git [2023-03-22T02:03:06.178Z] using credential edgex-jenkins-ssh [2023-03-22T02:03:06.196Z] Cloning the remote Git repository [2023-03-22T02:03:06.249Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T02:03:06.366Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-22T02:03:06.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T02:03:06.539Z] > git --version # timeout=10 [2023-03-22T02:03:06.567Z] > git --version # 'git version 2.25.1' [2023-03-22T02:03:06.571Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T02:03:06.750Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T02:03:08.477Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T02:03:08.505Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T02:03:09.582Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T02:03:09.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T02:03:09.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T02:03:09.658Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1399/head:refs/remotes/origin/PR-1399 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T02:03:10.365Z] Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 27df07216cb02fc65b1632e7f4b88a4de08b2221 [2023-03-22T02:03:10.710Z] Merge succeeded, producing 27df07216cb02fc65b1632e7f4b88a4de08b2221 [2023-03-22T02:03:10.711Z] Checking out Revision 27df07216cb02fc65b1632e7f4b88a4de08b2221 (PR-1399) [2023-03-22T02:03:10.399Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T02:03:10.489Z] > git checkout -f 27df07216cb02fc65b1632e7f4b88a4de08b2221 # timeout=10 [2023-03-22T02:03:10.606Z] > git remote # timeout=10 [2023-03-22T02:03:10.625Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T02:03:10.647Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T02:03:10.662Z] > git merge c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 [2023-03-22T02:03:10.694Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T02:03:10.720Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T02:03:10.739Z] > git checkout -f 27df07216cb02fc65b1632e7f4b88a4de08b2221 # timeout=10 [2023-03-22T02:03:14.301Z] Commit message: "build(deps): Update go-mod-core-contracts version" [2023-03-22T02:03:14.361Z] > git --version # timeout=10 [2023-03-22T02:03:14.373Z] > git --version # 'git version 2.25.1' [2023-03-22T02:03:14.390Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T02:03:15.414Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T02:03:15.414Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T02:03:15.414Z] Dload Upload Total Spent Left Speed [2023-03-22T02:03:15.414Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-03-22T02:03:16.129Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T02:03:16.492Z] + sudo tee /etc/docker/daemon.new [2023-03-22T02:03:16.492Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T02:03:16.492Z] { [2023-03-22T02:03:16.492Z] "registry-mirrors": [ [2023-03-22T02:03:16.492Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T02:03:16.492Z] ], [2023-03-22T02:03:16.492Z] "bip": "10.250.0.254/24", [2023-03-22T02:03:16.492Z] "hosts": [ [2023-03-22T02:03:16.492Z] "tcp://0.0.0.0:5555", [2023-03-22T02:03:16.492Z] "unix:///var/run/docker.sock" [2023-03-22T02:03:16.492Z] ], [2023-03-22T02:03:16.492Z] "mtu": 1458, [2023-03-22T02:03:16.492Z] "selinux-enabled": true, [2023-03-22T02:03:16.492Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T02:03:16.492Z] } [Pipeline] sh [2023-03-22T02:03:16.841Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T02:03:17.191Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T02:03:35.532Z] provisioning config files... [2023-03-22T02:03:35.559Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7170890051599207074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:03:35.956Z] ---> docker-login.sh [2023-03-22T02:03:35.956Z] nexus3.edgexfoundry.org:10001 [2023-03-22T02:03:36.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:03:36.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:03:36.819Z] Configure a credential helper to remove this warning. See [2023-03-22T02:03:36.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:03:36.819Z] [2023-03-22T02:03:36.819Z] Login Succeeded [2023-03-22T02:03:36.819Z] nexus3.edgexfoundry.org:10002 [2023-03-22T02:03:37.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:03:37.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:03:37.089Z] Configure a credential helper to remove this warning. See [2023-03-22T02:03:37.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:03:37.089Z] [2023-03-22T02:03:37.089Z] Login Succeeded [2023-03-22T02:03:37.089Z] nexus3.edgexfoundry.org:10003 [2023-03-22T02:03:37.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:03:37.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:03:37.640Z] Configure a credential helper to remove this warning. See [2023-03-22T02:03:37.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:03:37.640Z] [2023-03-22T02:03:37.640Z] Login Succeeded [2023-03-22T02:03:37.640Z] nexus3.edgexfoundry.org:10004 [2023-03-22T02:03:37.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:03:37.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:03:37.912Z] Configure a credential helper to remove this warning. See [2023-03-22T02:03:37.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:03:37.912Z] [2023-03-22T02:03:37.912Z] Login Succeeded [2023-03-22T02:03:37.912Z] docker.io [2023-03-22T02:03:38.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T02:03:38.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T02:03:38.452Z] Configure a credential helper to remove this warning. See [2023-03-22T02:03:38.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T02:03:38.452Z] [2023-03-22T02:03:38.452Z] Login Succeeded [2023-03-22T02:03:38.452Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T02:03:38.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T02:03:38.927Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T02:03:38.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T02:03:39.002Z] ========================================================= [2023-03-22T02:03:39.002Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T02:03:39.002Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:03:39.511Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T02:03:40.103Z] Sending build context to Docker daemon 5.816MB [2023-03-22T02:03:40.103Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T02:03:40.103Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T02:03:40.103Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T02:03:40.103Z] af6eaf76a39c: Pulling fs layer [2023-03-22T02:03:40.103Z] 55522c791124: Pulling fs layer [2023-03-22T02:03:40.103Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T02:03:40.103Z] 169dfbe0d373: Pulling fs layer [2023-03-22T02:03:40.103Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T02:03:40.103Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T02:03:40.103Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T02:03:40.103Z] 169dfbe0d373: Waiting [2023-03-22T02:03:40.103Z] e1ff8fa3b103: Waiting [2023-03-22T02:03:40.103Z] 52ebb69f0ebf: Waiting [2023-03-22T02:03:40.385Z] 55522c791124: Verifying Checksum [2023-03-22T02:03:40.385Z] 55522c791124: Download complete [2023-03-22T02:03:40.385Z] 169dfbe0d373: Verifying Checksum [2023-03-22T02:03:40.385Z] 169dfbe0d373: Download complete [2023-03-22T02:03:40.385Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T02:03:40.385Z] e1ff8fa3b103: Download complete [2023-03-22T02:03:40.385Z] af6eaf76a39c: Verifying Checksum [2023-03-22T02:03:40.385Z] af6eaf76a39c: Download complete [2023-03-22T02:03:41.364Z] af6eaf76a39c: Pull complete [2023-03-22T02:03:41.646Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T02:03:41.646Z] 5abe8eddf0d5: Download complete [2023-03-22T02:03:42.238Z] 55522c791124: Pull complete [2023-03-22T02:03:43.212Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T02:03:43.212Z] ce5c4a1c91eb: Download complete [2023-03-22T02:03:43.481Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T02:03:43.482Z] 52ebb69f0ebf: Download complete [2023-03-22T02:03:55.831Z] ce5c4a1c91eb: Pull complete [2023-03-22T02:03:55.831Z] 169dfbe0d373: Pull complete [2023-03-22T02:03:55.831Z] e1ff8fa3b103: Pull complete [2023-03-22T02:04:02.503Z] 52ebb69f0ebf: Pull complete [2023-03-22T02:04:03.472Z] 5abe8eddf0d5: Pull complete [2023-03-22T02:04:03.472Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T02:04:03.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T02:04:03.472Z] ---> 6cb57ee374ae [2023-03-22T02:04:03.472Z] Step 3/10 : ARG MAKE=make build [2023-03-22T02:04:05.426Z] ---> Running in 9b410b28e618 [2023-03-22T02:04:05.693Z] Removing intermediate container 9b410b28e618 [2023-03-22T02:04:05.693Z] ---> bd8c88310641 [2023-03-22T02:04:05.693Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T02:04:05.693Z] ---> Running in 26deba129e33 [2023-03-22T02:04:05.962Z] Removing intermediate container 26deba129e33 [2023-03-22T02:04:05.962Z] ---> f3e04a754f5c [2023-03-22T02:04:05.962Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T02:04:05.962Z] ---> Running in 8aee494b0441 [2023-03-22T02:04:06.547Z] Removing intermediate container 8aee494b0441 [2023-03-22T02:04:06.547Z] ---> 16f05dbd736c [2023-03-22T02:04:06.547Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T02:04:06.547Z] ---> Running in 3bcc935d79d5 [2023-03-22T02:04:07.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T02:04:08.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T02:04:09.055Z] OK: 263 MiB in 53 packages [2023-03-22T02:04:10.038Z] Removing intermediate container 3bcc935d79d5 [2023-03-22T02:04:10.038Z] ---> a5143b951e98 [2023-03-22T02:04:10.038Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T02:04:10.638Z] ---> 88c41530f4cf [2023-03-22T02:04:10.638Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T02:04:10.638Z] ---> Running in 9fd0a5fac97e [2023-03-22T02:05:18.529Z] Removing intermediate container 9fd0a5fac97e [2023-03-22T02:05:18.529Z] ---> f0427704637f [2023-03-22T02:05:18.529Z] Step 9/10 : COPY . . [2023-03-22T02:05:18.529Z] ---> 320b129f9398 [2023-03-22T02:05:18.529Z] Step 10/10 : RUN ${MAKE} [2023-03-22T02:05:18.529Z] ---> Running in 21ae388e4fe6 [2023-03-22T02:05:18.529Z] noop [2023-03-22T02:05:20.470Z] Removing intermediate container 21ae388e4fe6 [2023-03-22T02:05:20.470Z] ---> 5e96fc8b0ea8 [2023-03-22T02:05:20.470Z] Successfully built 5e96fc8b0ea8 [2023-03-22T02:05:20.470Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:05:21.032Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T02:05:21.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:05:21.311Z] prd-ubuntu20.04-docker-arm64-4c-16g-5030 does not seem to be running inside a container [2023-03-22T02:05:21.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T02:05:22.555Z] $ docker top 32a0a7a53f5b901ffc97457757004e969992452562e92c2c1fdabc21c2680704 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T02:05:23.454Z] + go version [2023-03-22T02:05:23.454Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T02:05:23.490Z] $ docker stop --time=1 32a0a7a53f5b901ffc97457757004e969992452562e92c2c1fdabc21c2680704 [2023-03-22T02:05:25.103Z] $ docker rm -f --volumes 32a0a7a53f5b901ffc97457757004e969992452562e92c2c1fdabc21c2680704 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:05:25.987Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T02:05:25.987Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:05:26.272Z] prd-ubuntu20.04-docker-arm64-4c-16g-5030 does not seem to be running inside a container [2023-03-22T02:05:26.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-22T02:05:27.466Z] $ docker top 35166c2a1e8fecf4caa1c9a03967c628b0a0448f492a1f6a48ea79a0c1e134bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T02:05:28.005Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-22T02:05:28.411Z] + make test [2023-03-22T02:05:28.411Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T02:05:29.373Z] go: downloading golang.org/x/net v0.7.0 [2023-03-22T02:05:30.334Z] go: downloading golang.org/x/crypto v0.6.0 [2023-03-22T02:05:30.611Z] go: downloading golang.org/x/sys v0.5.0 [2023-03-22T02:05:31.199Z] go: downloading golang.org/x/text v0.7.0 [2023-03-22T02:05:34.542Z] go: updates to go.mod needed; to update it: [2023-03-22T02:05:34.542Z] go mod tidy [2023-03-22T02:05:34.542Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-22T02:05:34.586Z] $ docker stop --time=1 35166c2a1e8fecf4caa1c9a03967c628b0a0448f492a1f6a48ea79a0c1e134bd [2023-03-22T02:05:36.533Z] $ docker rm -f --volumes 35166c2a1e8fecf4caa1c9a03967c628b0a0448f492a1f6a48ea79a0c1e134bd [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-03-22T02:05:38.450Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T02:05:38.450Z] [2023-03-22T02:05:38.450Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:05:38.863Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T02:05:39.131Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T02:05:39.131Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T02:05:39.131Z] 04944245beec: Pulling fs layer [2023-03-22T02:05:39.131Z] 699f458cf7ca: Pulling fs layer [2023-03-22T02:05:39.131Z] 765212b225bb: Pulling fs layer [2023-03-22T02:05:39.131Z] f23df028b6ca: Pulling fs layer [2023-03-22T02:05:39.131Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T02:05:39.131Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T02:05:39.131Z] f23df028b6ca: Waiting [2023-03-22T02:05:39.131Z] 765212b225bb: Waiting [2023-03-22T02:05:39.131Z] d65c8cfc05b1: Waiting [2023-03-22T02:05:39.131Z] 2437ff75d9bd: Waiting [2023-03-22T02:05:39.131Z] 04944245beec: Verifying Checksum [2023-03-22T02:05:39.131Z] 04944245beec: Download complete [2023-03-22T02:05:39.131Z] 765212b225bb: Verifying Checksum [2023-03-22T02:05:39.131Z] 765212b225bb: Download complete [2023-03-22T02:05:39.405Z] f23df028b6ca: Verifying Checksum [2023-03-22T02:05:39.405Z] f23df028b6ca: Download complete [2023-03-22T02:05:39.405Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T02:05:39.405Z] d65c8cfc05b1: Download complete [2023-03-22T02:05:39.405Z] 699f458cf7ca: Download complete [2023-03-22T02:05:39.672Z] 8998bd30e6a1: Download complete [2023-03-22T02:05:41.626Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T02:05:41.626Z] 2437ff75d9bd: Download complete [2023-03-22T02:05:46.963Z] 8998bd30e6a1: Pull complete [2023-03-22T02:05:46.963Z] 04944245beec: Pull complete [2023-03-22T02:05:47.919Z] 699f458cf7ca: Pull complete [2023-03-22T02:05:47.919Z] 765212b225bb: Pull complete [2023-03-22T02:05:48.502Z] f23df028b6ca: Pull complete [2023-03-22T02:05:48.768Z] d65c8cfc05b1: Pull complete [2023-03-22T02:06:01.092Z] 2437ff75d9bd: Pull complete [2023-03-22T02:06:01.092Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T02:06:01.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T02:06:01.092Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:06:01.429Z] prd-ubuntu20.04-docker-arm64-4c-16g-5030 does not seem to be running inside a container [2023-03-22T02:06:01.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T02:06:03.954Z] $ docker top c8ae80586dbcc9565cb9e8e506159f0eee5978b1d7a8294705a5d3d7b3ec8a9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:06:04.520Z] ---> job-cost.sh [2023-03-22T02:06:04.787Z] lf-activate-venv: SKIPPING [2023-03-22T02:06:04.787Z] INFO: No Stack... [2023-03-22T02:06:05.371Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T02:06:05.955Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T02:06:06.302Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-22T02:06:06.302Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T02:06:06.388Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] [2023-03-22T02:06:06.393Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] did not exist. Created. [2023-03-22T02:06:06.393Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T02:06:07.131Z] /w/workspace/device-sdk-go/1@tmp/durable-7a31947e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T02:06:07.801Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T02:06:07.838Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T02:06:08.396Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T02:06:08.412Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T02:06:08.489Z] $ docker stop --time=1 c8ae80586dbcc9565cb9e8e506159f0eee5978b1d7a8294705a5d3d7b3ec8a9d [2023-03-22T02:06:10.028Z] $ docker rm -f --volumes c8ae80586dbcc9565cb9e8e506159f0eee5978b1d7a8294705a5d3d7b3ec8a9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T02:06:10.803Z] 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-03-22T02:06:12.772Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives ] [2023-03-22T02:06:12.772Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives [2023-03-22T02:06:12.772Z] total 16 [2023-03-22T02:06:12.772Z] drwxr-xr-x 3 root root 4096 Mar 22 02:01 . [2023-03-22T02:06:12.772Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 02:01 .. [2023-03-22T02:06:12.772Z] drwxr-xr-x 2 root root 4096 Mar 22 02:01 cost [2023-03-22T02:06:12.772Z] -rw-r--r-- 1 root root 86 Mar 22 02:01 cost.csv [2023-03-22T02:06:12.772Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives [2023-03-22T02:06:12.772Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives [2023-03-22T02:06:12.772Z] total 16 [2023-03-22T02:06:12.772Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 02:01 . [2023-03-22T02:06:12.772Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 02:01 .. [2023-03-22T02:06:12.772Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 02:01 cost [2023-03-22T02:06:12.772Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 22 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:06:13.098Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:06:13.984Z] ---> package-listing.sh [2023-03-22T02:06:13.984Z] ++ facter osfamily [2023-03-22T02:06:13.984Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T02:06:14.243Z] + OS_FAMILY=debian [2023-03-22T02:06:14.243Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1399 [2023-03-22T02:06:14.243Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T02:06:14.243Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T02:06:14.243Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T02:06:14.243Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T02:06:14.243Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1399 ']' [2023-03-22T02:06:14.243Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T02:06:14.243Z] + case "${OS_FAMILY}" in [2023-03-22T02:06:14.243Z] + dpkg -l [2023-03-22T02:06:14.243Z] + grep '^ii' [2023-03-22T02:06:14.243Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T02:06:14.243Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T02:06:14.243Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T02:06:14.243Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1399 ']' [2023-03-22T02:06:14.243Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives/ [2023-03-22T02:06:14.243Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives/ [Pipeline] echo [2023-03-22T02:06:14.276Z] 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-1399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T02:06:14.566Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T02:06:15.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T02:06:15.193Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T02:06:15.334Z] prd-ubuntu20.04-docker-8c-8g-5028 does not seem to be running inside a container [2023-03-22T02:06:15.366Z] $ 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-1399/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-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T02:06:15.545Z] $ docker top 9a08af64ad69d75f84827e49b7d64cce3b7f35136e14f3cfecb2971e522c6ba0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T02:06:15.930Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T02:06:16.242Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T02:06:16.554Z] + ls /var/log/sa-host [2023-03-22T02:06:16.554Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T02:06:16.794Z] provisioning config files... [2023-03-22T02:06:16.868Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/config15993408799241012052tmp [Pipeline] { [Pipeline] echo [2023-03-22T02:06:16.924Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:06:17.239Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T02:06:17.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:06:17.661Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T02:06:17.692Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:06:18.001Z] ---> sudo-logs.sh [2023-03-22T02:06:18.001Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T02:06:18.092Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:06:18.406Z] ---> job-cost.sh [2023-03-22T02:06:18.406Z] lf-activate-venv: SKIPPING [2023-03-22T02:06:18.406Z] DEBUG: total: 0.2199999988079071 [2023-03-22T02:06:18.406Z] INFO: Retrieving Stack Cost... [2023-03-22T02:06:18.665Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T02:06:18.924Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T02:06:18.955Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T02:06:19.263Z] ---> logs-deploy.sh [2023-03-22T02:06:19.263Z] lf-activate-venv: SKIPPING [2023-03-22T02:06:19.263Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1399/1 [2023-03-22T02:06:19.263Z] INFO: archiving workspace using pattern(s): [2023-03-22T02:06:20.199Z] Archives upload complete. [2023-03-22T02:06:20.199Z] INFO: archiving logs to Nexus