Pull request #1510 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c74f7021228062efc83ce0a9047b044313071e85+8e06685c5bed515b18a4f19b1b2841e63869493f (0d13fdc2be4186bf12d4be27516fea8cfe455207) 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-ssh9457071518321114523.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5862069564912975858.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1510/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-1510/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11501792658237413866.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-1510/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4903505443709854219.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh9394970226941433251.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-1510/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-1510/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7376344920259248011.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5942’ Running on prd-ubuntu20.04-docker-8c-8g-5945 in /w/workspace/gexfoundry_device-sdk-go_PR-1510 [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-1510 # 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 8e06685c5bed515b18a4f19b1b2841e63869493f into PR head commit c74f7021228062efc83ce0a9047b044313071e85 Merge succeeded, producing c74f7021228062efc83ce0a9047b044313071e85 Checking out Revision c74f7021228062efc83ce0a9047b044313071e85 (PR-1510) > 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/1510/head:refs/remotes/origin/PR-1510 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c74f7021228062efc83ce0a9047b044313071e85 # 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 8e06685c5bed515b18a4f19b1b2841e63869493f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c74f7021228062efc83ce0a9047b044313071e85 # timeout=10 Commit message: "build: Consume latest go-mod-bootstrap with RemoveHosts flag" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:04:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:04:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:04:30 ========================================================= 18:04:30 EdgeX Global Pipelines Version Info 18:04:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:04:31 ------------------- 18:04:31 stable info: 18:04:31 ------------------- 18:04:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:04:31 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:04:31 Message: update stable to v1.0.254 18:04:31 ------------------- 18:04:31 experimental info: 18:04:31 ------------------- 18:04:31 Commited By: **** collab-it+edgex@linuxfoundation.org 18:04:31 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:04:31 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:04:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1510 [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1510 [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1510 [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c74f7021228062efc83ce0a9047b044313071e85 [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c74f702 [Pipeline] echo 18:04:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:33 provisioning config files... 18:04:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/config12545193349574635261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:34 ---> docker-login.sh 18:04:34 nexus3.edgexfoundry.org:10001 18:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:34 Configure a credential helper to remove this warning. See 18:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:34 18:04:34 Login Succeeded 18:04:34 nexus3.edgexfoundry.org:10002 18:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:34 Configure a credential helper to remove this warning. See 18:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:34 18:04:34 Login Succeeded 18:04:34 nexus3.edgexfoundry.org:10003 18:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:34 Configure a credential helper to remove this warning. See 18:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:34 18:04:34 Login Succeeded 18:04:34 nexus3.edgexfoundry.org:10004 18:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:34 Configure a credential helper to remove this warning. See 18:04:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:34 18:04:34 Login Succeeded 18:04:34 docker.io 18:04:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:35 Configure a credential helper to remove this warning. See 18:04:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:35 18:04:35 Login Succeeded 18:04:35 ---> docker-login.sh ends [Pipeline] } 18:04:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:04:35 + git rev-list -1 --merges c74f7021228062efc83ce0a9047b044313071e85~1..c74f7021228062efc83ce0a9047b044313071e85 [Pipeline] echo 18:04:35 -----------> git rev-list -1 --merges c74f7021228062efc83ce0a9047b044313071e85~1..c74f7021228062efc83ce0a9047b044313071e85 c74f7021228062efc83ce0a9047b044313071e85 [false] [Pipeline] sh 18:04:36 + git log --format=format:%s -1 c74f7021228062efc83ce0a9047b044313071e85 [Pipeline] echo 18:04:36 ========================================================= 18:04:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:04:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:04:36 + git log --format=format:%s -1 c74f7021228062efc83ce0a9047b044313071e85 [Pipeline] echo 18:04:36 [semverPrep] GIT_COMMIT: c74f7021228062efc83ce0a9047b044313071e85, Commit Message: build: Consume latest go-mod-bootstrap with RemoveHosts flag [Pipeline] echo 18:04:36 [semverPrep] This is not a build commit. [Pipeline] sh 18:04:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:04:37 + grep -v github /etc/ssh/ssh_known_hosts 18:04:37 + [ -e /tmp/ssh_known_hosts ] 18:04:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:04:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:04:37 + sudo tee -a /etc/ssh/ssh_known_hosts 18:04:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:37 18:04:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:37 0.1.4: Pulling from edgex-devops/py-git-semver 18:04:37 b85a868b505f: Pulling fs layer 18:04:37 e2be974225ed: Pulling fs layer 18:04:37 339a4e72a1f5: Pulling fs layer 18:04:37 988bab9f4d93: Pulling fs layer 18:04:37 1469e6f7b9e6: Pulling fs layer 18:04:37 eaf3925da568: Pulling fs layer 18:04:37 bab4dde63d76: Pulling fs layer 18:04:37 bde34c3a00c8: Pulling fs layer 18:04:37 b352a97aabf1: Pulling fs layer 18:04:37 4872d77fe225: Pulling fs layer 18:04:37 5851b861e8e6: Pulling fs layer 18:04:37 bde34c3a00c8: Waiting 18:04:37 b352a97aabf1: Waiting 18:04:37 4872d77fe225: Waiting 18:04:37 5851b861e8e6: Waiting 18:04:37 1469e6f7b9e6: Waiting 18:04:37 988bab9f4d93: Waiting 18:04:37 eaf3925da568: Waiting 18:04:37 bab4dde63d76: Waiting 18:04:37 e2be974225ed: Verifying Checksum 18:04:37 988bab9f4d93: Verifying Checksum 18:04:37 988bab9f4d93: Download complete 18:04:37 1469e6f7b9e6: Verifying Checksum 18:04:37 1469e6f7b9e6: Download complete 18:04:38 eaf3925da568: Verifying Checksum 18:04:38 eaf3925da568: Download complete 18:04:38 339a4e72a1f5: Verifying Checksum 18:04:38 339a4e72a1f5: Download complete 18:04:38 bde34c3a00c8: Verifying Checksum 18:04:38 bde34c3a00c8: Download complete 18:04:38 b352a97aabf1: Download complete 18:04:38 4872d77fe225: Verifying Checksum 18:04:38 4872d77fe225: Download complete 18:04:38 5851b861e8e6: Verifying Checksum 18:04:38 5851b861e8e6: Download complete 18:04:38 b85a868b505f: Verifying Checksum 18:04:38 b85a868b505f: Download complete 18:04:38 bab4dde63d76: Verifying Checksum 18:04:38 bab4dde63d76: Download complete 18:04:39 b85a868b505f: Pull complete 18:04:39 e2be974225ed: Pull complete 18:04:40 339a4e72a1f5: Pull complete 18:04:40 988bab9f4d93: Pull complete 18:04:40 1469e6f7b9e6: Pull complete 18:04:40 eaf3925da568: Pull complete 18:04:42 bab4dde63d76: Pull complete 18:04:42 bde34c3a00c8: Pull complete 18:04:42 b352a97aabf1: Pull complete 18:04:42 4872d77fe225: Pull complete 18:04:42 5851b861e8e6: Pull complete 18:04:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:04:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:04:42 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:43 prd-ubuntu20.04-docker-8c-8g-5945 does not seem to be running inside a container 18:04:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1510 -v /w/workspace/gexfoundry_device-sdk-go_PR-1510:/w/workspace/gexfoundry_device-sdk-go_PR-1510:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:04:47 $ docker top 54b64bd05949f5571c9de54578a43f9483b8d6ff96b798c64f280b3a690d0f71 -eo pid,comm 18:04:47 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). 18:04:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:04:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:04:47 [ssh-agent] Looking for ssh-agent implementation... 18:04:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:04:47 $ docker exec 54b64bd05949f5571c9de54578a43f9483b8d6ff96b798c64f280b3a690d0f71 ssh-agent 18:04:48 SSH_AUTH_SOCK=/tmp/ssh-inZWRLy3KDlT/agent.31 18:04:48 SSH_AGENT_PID=37 18:04:48 Running ssh-add (command line suppressed) 18:04:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/private_key_13405004477658452126.key (/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/private_key_13405004477658452126.key) 18:04:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:04:48 + git tag --points-at HEAD [Pipeline] } 18:04:48 $ docker exec --env ******** --env ******** 54b64bd05949f5571c9de54578a43f9483b8d6ff96b798c64f280b3a690d0f71 ssh-agent -k 18:04:48 unset SSH_AUTH_SOCK; 18:04:48 unset SSH_AGENT_PID; 18:04:48 echo Agent pid 37 killed; 18:04:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:04:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:04:48 [ssh-agent] Looking for ssh-agent implementation... 18:04:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:04:48 $ docker exec 54b64bd05949f5571c9de54578a43f9483b8d6ff96b798c64f280b3a690d0f71 ssh-agent 18:04:48 SSH_AUTH_SOCK=/tmp/ssh-crTMUzqloQjN/agent.69 18:04:48 SSH_AGENT_PID=75 18:04:48 Running ssh-add (command line suppressed) 18:04:49 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/private_key_17472698342303271876.key (/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/private_key_17472698342303271876.key) 18:04:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:04:49 + git semver init 18:04:49 2023-09-12 18:04:49,632 [run_init] DEBUG init version:0.0.0 force:False 18:04:49 2023-09-12 18:04:49,632 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver 18:04:49 2023-09-12 18:04:49,633 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver 18:04:49 2023-09-12 18:04:49,633 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1510, universal_newlines=False, shell=None, istream=None) 18:04:51 2023-09-12 18:04:50,700 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1510/.git/info/exclude 18:04:51 2023-09-12 18:04:50,701 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver/PR-1510 with force:False 18:04:51 2023-09-12 18:04:50,701 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver/PR-1510 18:04:51 2023-09-12 18:04:50,703 [execute] INFO git cat-file --batch-check 18:04:51 2023-09-12 18:04:50,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver, universal_newlines=False, shell=None, istream=) 18:04:51 2023-09-12 18:04:50,707 [execute] INFO git cat-file --batch 18:04:51 2023-09-12 18:04:50,707 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver, universal_newlines=False, shell=None, istream=) 18:04:51 2023-09-12 18:04:50,711 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver/PR-1510 18:04:51 0.0.0 [Pipeline] } 18:04:51 $ docker exec --env ******** --env ******** 54b64bd05949f5571c9de54578a43f9483b8d6ff96b798c64f280b3a690d0f71 ssh-agent -k 18:04:51 unset SSH_AUTH_SOCK; 18:04:51 unset SSH_AGENT_PID; 18:04:51 echo Agent pid 75 killed; 18:04:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:04:51 + git semver [Pipeline] } 18:04:52 $ docker stop --time=1 54b64bd05949f5571c9de54578a43f9483b8d6ff96b798c64f280b3a690d0f71 18:04:53 $ docker rm -f --volumes 54b64bd05949f5571c9de54578a43f9483b8d6ff96b798c64f280b3a690d0f71 [Pipeline] // withDockerContainer [Pipeline] sh 18:04:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:04:54 Stashed 1 file(s) [Pipeline] echo 18:04:54 [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 18:04:54 provisioning config files... 18:04:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/config17371110886847472910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:55 ---> docker-login.sh 18:04:55 nexus3.edgexfoundry.org:10001 18:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:55 Configure a credential helper to remove this warning. See 18:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:55 18:04:55 Login Succeeded 18:04:55 nexus3.edgexfoundry.org:10002 18:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:55 Configure a credential helper to remove this warning. See 18:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:55 18:04:55 Login Succeeded 18:04:55 nexus3.edgexfoundry.org:10003 18:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:55 Configure a credential helper to remove this warning. See 18:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:55 18:04:55 Login Succeeded 18:04:55 nexus3.edgexfoundry.org:10004 18:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:55 Configure a credential helper to remove this warning. See 18:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:55 18:04:55 Login Succeeded 18:04:55 docker.io 18:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:55 Configure a credential helper to remove this warning. See 18:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:55 18:04:55 Login Succeeded 18:04:55 ---> docker-login.sh ends [Pipeline] } 18:04:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:04:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:04:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:04:55 ========================================================= 18:04:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:04:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:56 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 18:04:56 Sending build context to Docker daemon 11.15MB 18:04:56 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:04:56 Step 2/10 : FROM ${BASE} AS builder 18:04:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:04:56 7264a8db6415: Pulling fs layer 18:04:56 c4d48a809fc2: Pulling fs layer 18:04:56 4f1c88b9dad5: Pulling fs layer 18:04:56 ad3a456e5733: Pulling fs layer 18:04:56 9e4f439ed901: Pulling fs layer 18:04:56 feaf6a47b606: Pulling fs layer 18:04:56 5e8b037d7d82: Pulling fs layer 18:04:56 ad3a456e5733: Waiting 18:04:56 9e4f439ed901: Waiting 18:04:56 feaf6a47b606: Waiting 18:04:56 8ac70367396e: Pulling fs layer 18:04:56 5e8b037d7d82: Waiting 18:04:56 8ac70367396e: Waiting 18:04:56 6db16350a2e2: Pulling fs layer 18:04:56 9250d5d63582: Pulling fs layer 18:04:56 6db16350a2e2: Waiting 18:04:56 9250d5d63582: Waiting 18:04:56 c4d48a809fc2: Verifying Checksum 18:04:56 c4d48a809fc2: Download complete 18:04:56 ad3a456e5733: Verifying Checksum 18:04:56 ad3a456e5733: Download complete 18:04:56 9e4f439ed901: Verifying Checksum 18:04:56 9e4f439ed901: Download complete 18:04:56 7264a8db6415: Verifying Checksum 18:04:56 7264a8db6415: Download complete 18:04:56 feaf6a47b606: Verifying Checksum 18:04:56 feaf6a47b606: Download complete 18:04:56 7264a8db6415: Pull complete 18:04:56 c4d48a809fc2: Pull complete 18:04:56 8ac70367396e: Verifying Checksum 18:04:56 8ac70367396e: Download complete 18:04:57 4f1c88b9dad5: Verifying Checksum 18:04:57 4f1c88b9dad5: Download complete 18:04:57 6db16350a2e2: Verifying Checksum 18:04:57 6db16350a2e2: Download complete 18:04:57 5e8b037d7d82: Verifying Checksum 18:04:57 5e8b037d7d82: Download complete 18:04:57 9250d5d63582: Verifying Checksum 18:04:57 9250d5d63582: Download complete 18:05:01 4f1c88b9dad5: Pull complete 18:05:01 ad3a456e5733: Pull complete 18:05:01 9e4f439ed901: Pull complete 18:05:01 feaf6a47b606: Pull complete 18:05:03 5e8b037d7d82: Pull complete 18:05:03 8ac70367396e: Pull complete 18:05:04 6db16350a2e2: Pull complete 18:05:05 9250d5d63582: Pull complete 18:05:05 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 18:05:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:05:05 ---> fa269f55d9b9 18:05:05 Step 3/10 : ARG MAKE=make build 18:05:09 Still waiting to schedule task 18:05:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5943’ 18:05:11 ---> Running in 1aa893c1ef02 18:05:11 Removing intermediate container 1aa893c1ef02 18:05:11 ---> f518f8a8abfd 18:05:11 Step 4/10 : WORKDIR /device-sdk-go 18:05:11 ---> Running in 0cfd16e592c0 18:05:12 Removing intermediate container 0cfd16e592c0 18:05:12 ---> 65a777b0b297 18:05:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:05:12 ---> Running in 5030af808c82 18:05:12 Removing intermediate container 5030af808c82 18:05:12 ---> 6eafb9f6dd48 18:05:12 Step 6/10 : RUN apk add --update --no-cache make git 18:05:12 ---> Running in 7c0d0a2130f4 18:05:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:05:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:05:13 OK: 265 MiB in 56 packages 18:05:13 Removing intermediate container 7c0d0a2130f4 18:05:13 ---> 7ccfce6a81de 18:05:13 Step 7/10 : COPY go.mod vendor* ./ 18:05:13 ---> e47cf99183e4 18:05:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:05:13 ---> Running in 41d2a2edbd9b 18:05:52 Removing intermediate container 41d2a2edbd9b 18:05:52 ---> c5a1f15d1b97 18:05:52 Step 9/10 : COPY . . 18:05:52 ---> b3e5137085ae 18:05:52 Step 10/10 : RUN ${MAKE} 18:05:52 ---> Running in 6e075beb9f3f 18:05:52 noop 18:05:52 Removing intermediate container 6e075beb9f3f 18:05:52 ---> 7317f08e30d3 18:05:52 Successfully built 7317f08e30d3 18:05:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:52 + docker inspect -f . ci-base-image-x86_64 18:05:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:53 prd-ubuntu20.04-docker-8c-8g-5945 does not seem to be running inside a container 18:05:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1510 -v /w/workspace/gexfoundry_device-sdk-go_PR-1510:/w/workspace/gexfoundry_device-sdk-go_PR-1510:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:05:53 $ docker top 8c6e39cc64eb2ab17131f5d31520e8d09aff9cfaaaa7b789160688cdc286d692 -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:53 + go version 18:05:53 go version go1.21.0 linux/amd64 [Pipeline] } 18:05:53 $ docker stop --time=1 8c6e39cc64eb2ab17131f5d31520e8d09aff9cfaaaa7b789160688cdc286d692 18:05:55 $ docker rm -f --volumes 8c6e39cc64eb2ab17131f5d31520e8d09aff9cfaaaa7b789160688cdc286d692 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:55 + docker inspect -f . ci-base-image-x86_64 18:05:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:56 prd-ubuntu20.04-docker-8c-8g-5945 does not seem to be running inside a container 18:05:56 $ 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-1510 -v /w/workspace/gexfoundry_device-sdk-go_PR-1510:/w/workspace/gexfoundry_device-sdk-go_PR-1510:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:05:56 $ docker top 3bd7e2e4b7308890aae431e8951f224883b281fa6070e4afca44625df1361efa -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1510 [Pipeline] fileExists [Pipeline] sh 18:05:57 + make test 18:05:57 go test -race -coverprofile=coverage.out ./... 18:06:03 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:06:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:06:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:06:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:06:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:06:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:06:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:06:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:06:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:06:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.057s coverage: 27.6% of statements 18:06:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.039s coverage: 80.2% of statements 18:06:18 --- FAIL: TestAddEventTags (0.00s) 18:06:18 --- FAIL: TestAddEventTags/Happy_Path (0.00s) 18:06:18 utils_test.go:332: 18:06:18 Error Trace: /w/workspace/gexfoundry_device-sdk-go_PR-1510/internal/common/utils_test.go:332 18:06:18 Error: Should NOT be empty, but was map[] 18:06:18 Test: TestAddEventTags/Happy_Path 18:06:18 --- FAIL: TestAddEventTags/No_Device_Tags (0.00s) 18:06:18 utils_test.go:332: 18:06:18 Error Trace: /w/workspace/gexfoundry_device-sdk-go_PR-1510/internal/common/utils_test.go:332 18:06:18 Error: Should NOT be empty, but was map[] 18:06:18 Test: TestAddEventTags/No_Device_Tags 18:06:18 --- FAIL: TestAddEventTags/No_Command_Tags (0.00s) 18:06:18 utils_test.go:332: 18:06:18 Error Trace: /w/workspace/gexfoundry_device-sdk-go_PR-1510/internal/common/utils_test.go:332 18:06:18 Error: Should NOT be empty, but was map[] 18:06:18 Test: TestAddEventTags/No_Command_Tags 18:06:18 FAIL 18:06:18 coverage: 86.0% of statements 18:06:18 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.086s 18:06:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:06:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:06:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.070s coverage: 71.8% of statements 18:06:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:06:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.060s coverage: 14.1% of statements 18:06:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.084s coverage: 44.2% of statements 18:06:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.067s coverage: 68.5% of statements 18:06:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.108s coverage: 89.2% of statements 18:06:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.5% of statements 18:06:22 FAIL 18:06:22 make: *** [Makefile:38: unittest] Error 1 [Pipeline] } 18:06:22 $ docker stop --time=1 3bd7e2e4b7308890aae431e8951f224883b281fa6070e4afca44625df1361efa 18:06:26 $ docker rm -f --volumes 3bd7e2e4b7308890aae431e8951f224883b281fa6070e4afca44625df1361efa [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 18:06:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:06:27 18:06:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:06:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:06:28 latest: Pulling from edgex-lftools-log-publisher 18:06:28 5eb5b503b376: Pulling fs layer 18:06:28 5c69ac0246d0: Pulling fs layer 18:06:28 ec43610c2a17: Pulling fs layer 18:06:28 3a2ae6a8a46f: Pulling fs layer 18:06:28 33b1e0a273af: Pulling fs layer 18:06:28 5d3b04190fa2: Pulling fs layer 18:06:28 2f39f015ded8: Pulling fs layer 18:06:28 5d3b04190fa2: Waiting 18:06:28 33b1e0a273af: Waiting 18:06:28 2f39f015ded8: Waiting 18:06:28 3a2ae6a8a46f: Waiting 18:06:28 5c69ac0246d0: Download complete 18:06:28 3a2ae6a8a46f: Verifying Checksum 18:06:28 3a2ae6a8a46f: Download complete 18:06:28 33b1e0a273af: Verifying Checksum 18:06:28 33b1e0a273af: Download complete 18:06:28 5d3b04190fa2: Verifying Checksum 18:06:28 5d3b04190fa2: Download complete 18:06:28 ec43610c2a17: Verifying Checksum 18:06:28 ec43610c2a17: Download complete 18:06:28 5eb5b503b376: Verifying Checksum 18:06:28 5eb5b503b376: Download complete 18:06:29 2f39f015ded8: Download complete 18:06:30 5eb5b503b376: Pull complete 18:06:30 5c69ac0246d0: Pull complete 18:06:30 ec43610c2a17: Pull complete 18:06:30 3a2ae6a8a46f: Pull complete 18:06:30 33b1e0a273af: Pull complete 18:06:31 5d3b04190fa2: Pull complete 18:06:36 2f39f015ded8: Pull complete 18:06:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:06:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:06:36 prd-ubuntu20.04-docker-8c-8g-5945 does not seem to be running inside a container 18:06:36 $ 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-1510 -v /w/workspace/gexfoundry_device-sdk-go_PR-1510:/w/workspace/gexfoundry_device-sdk-go_PR-1510:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:06:43 $ docker top 1cfba50f0b783fe3445ba22a4b903b0966d0d1c13538029ab610bccbd8b4757e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:06:44 ---> job-cost.sh 18:06:44 lf-activate-venv: SKIPPING 18:06:44 INFO: No Stack... 18:06:44 INFO: Retrieving Pricing Info for: v3-standard-8 18:06:44 INFO: Archiving Costs [Pipeline] sh 18:06:44 + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives/cost.csv 18:06:44 cut -d, -f6 [Pipeline] lock 18:06:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1510-1-stack-cost] 18:06:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1510-1-stack-cost] did not exist. Created. 18:06:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1510-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:06:45 + echo total: 0.2199999988079071 [Pipeline] stash 18:06:45 Stashed 1 file(s) [Pipeline] } 18:06:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1510-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:06:45 $ docker stop --time=1 1cfba50f0b783fe3445ba22a4b903b0966d0d1c13538029ab610bccbd8b4757e 18:06:46 $ docker rm -f --volumes 1cfba50f0b783fe3445ba22a4b903b0966d0d1c13538029ab610bccbd8b4757e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:06:47 Failed in branch amd64 18:07:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5948 in /w/workspace/gexfoundry_device-sdk-go_PR-1510 [Pipeline] { [Pipeline] ws 18:07:22 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 18:07:22 The recommended git tool is: git 18:07:28 using credential edgex-jenkins-ssh 18:07:28 Cloning the remote Git repository 18:07:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:07:28 > git init /w/workspace/device-sdk-go/1 # timeout=10 18:07:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:07:28 > git --version # timeout=10 18:07:28 > git --version # 'git version 2.25.1' 18:07:28 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:07:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:07:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:07:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:07:31 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1510/head:refs/remotes/origin/PR-1510 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:07:32 Merging remotes/origin/main commit 8e06685c5bed515b18a4f19b1b2841e63869493f into PR head commit c74f7021228062efc83ce0a9047b044313071e85 18:07:32 Merge succeeded, producing c74f7021228062efc83ce0a9047b044313071e85 18:07:32 Checking out Revision c74f7021228062efc83ce0a9047b044313071e85 (PR-1510) 18:07:32 > git config core.sparsecheckout # timeout=10 18:07:32 > git checkout -f c74f7021228062efc83ce0a9047b044313071e85 # timeout=10 18:07:32 > git remote # timeout=10 18:07:32 > git config --get remote.origin.url # timeout=10 18:07:32 using GIT_SSH to set credentials SSH Credentials for GitHub 18:07:32 > git merge 8e06685c5bed515b18a4f19b1b2841e63869493f # timeout=10 18:07:32 > git rev-parse HEAD^{commit} # timeout=10 18:07:32 > git config core.sparsecheckout # timeout=10 18:07:32 > git checkout -f c74f7021228062efc83ce0a9047b044313071e85 # timeout=10 18:07:36 Commit message: "build: Consume latest go-mod-bootstrap with RemoveHosts flag" 18:07:36 > git --version # timeout=10 18:07:36 > git --version # 'git version 2.25.1' 18:07:36 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:07:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:07:37 % Total % Received % Xferd Average Speed Time Time Time Current 18:07:37 Dload Upload Total Spent Left Speed 18:07:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 18:07:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:07:38 + sudo tee /etc/docker/daemon.new 18:07:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:07:38 { 18:07:38 "registry-mirrors": [ 18:07:38 "https://nexus3.edgexfoundry.org:10001" 18:07:38 ], 18:07:38 "bip": "10.250.0.254/24", 18:07:38 "hosts": [ 18:07:38 "tcp://0.0.0.0:5555", 18:07:38 "unix:///var/run/docker.sock" 18:07:38 ], 18:07:38 "mtu": 1458, 18:07:38 "selinux-enabled": true, 18:07:38 "seccomp-profile": "/etc/docker/seccomp.json" 18:07:38 } [Pipeline] sh 18:07:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:07:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:07:57 provisioning config files... 18:07:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6745268160287152146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:58 ---> docker-login.sh 18:07:58 nexus3.edgexfoundry.org:10001 18:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:58 Configure a credential helper to remove this warning. See 18:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:58 18:07:58 Login Succeeded 18:07:58 nexus3.edgexfoundry.org:10002 18:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:59 Configure a credential helper to remove this warning. See 18:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:59 18:07:59 Login Succeeded 18:07:59 nexus3.edgexfoundry.org:10003 18:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:59 Configure a credential helper to remove this warning. See 18:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:59 18:07:59 Login Succeeded 18:07:59 nexus3.edgexfoundry.org:10004 18:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:59 Configure a credential helper to remove this warning. See 18:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:59 18:07:59 Login Succeeded 18:07:59 docker.io 18:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:08:00 Configure a credential helper to remove this warning. See 18:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:08:00 18:08:00 Login Succeeded 18:08:00 ---> docker-login.sh ends [Pipeline] } 18:08:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:08:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:08:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:08:00 ========================================================= 18:08:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:08:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:01 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 18:08:01 Sending build context to Docker daemon 5.974MB 18:08:01 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 18:08:01 Step 2/10 : FROM ${BASE} AS builder 18:08:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:08:01 9fda8d8052c6: Pulling fs layer 18:08:01 5d54e960e981: Pulling fs layer 18:08:01 c4a7e357bf2a: Pulling fs layer 18:08:01 f0e02332f6b5: Pulling fs layer 18:08:01 66412af1f25a: Pulling fs layer 18:08:01 1baf3a5c0e64: Pulling fs layer 18:08:01 9a37bb91b891: Pulling fs layer 18:08:01 a29adfc67d43: Pulling fs layer 18:08:01 d5de9f91c1a4: Pulling fs layer 18:08:01 f0e02332f6b5: Waiting 18:08:01 66412af1f25a: Waiting 18:08:01 1baf3a5c0e64: Waiting 18:08:01 9a37bb91b891: Waiting 18:08:01 a29adfc67d43: Waiting 18:08:01 d5de9f91c1a4: Waiting 18:08:01 5d54e960e981: Verifying Checksum 18:08:01 5d54e960e981: Download complete 18:08:02 f0e02332f6b5: Verifying Checksum 18:08:02 f0e02332f6b5: Download complete 18:08:02 66412af1f25a: Verifying Checksum 18:08:02 66412af1f25a: Download complete 18:08:02 9fda8d8052c6: Download complete 18:08:02 9a37bb91b891: Verifying Checksum 18:08:02 9a37bb91b891: Download complete 18:08:03 9fda8d8052c6: Pull complete 18:08:03 a29adfc67d43: Download complete 18:08:04 5d54e960e981: Pull complete 18:08:04 d5de9f91c1a4: Verifying Checksum 18:08:04 d5de9f91c1a4: Download complete 18:08:04 c4a7e357bf2a: Verifying Checksum 18:08:04 c4a7e357bf2a: Download complete 18:08:05 1baf3a5c0e64: Verifying Checksum 18:08:05 1baf3a5c0e64: Download complete 18:08:15 c4a7e357bf2a: Pull complete 18:08:15 f0e02332f6b5: Pull complete 18:08:15 66412af1f25a: Pull complete 18:08:22 1baf3a5c0e64: Pull complete 18:08:24 9a37bb91b891: Pull complete 18:08:25 a29adfc67d43: Pull complete 18:08:27 d5de9f91c1a4: Pull complete 18:08:27 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 18:08:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:08:27 ---> 746ca1b523b5 18:08:27 Step 3/10 : ARG MAKE=make build 18:08:29 ---> Running in b1747bf99c67 18:08:29 Removing intermediate container b1747bf99c67 18:08:29 ---> 0bcfdd0e8d58 18:08:29 Step 4/10 : WORKDIR /device-sdk-go 18:08:29 ---> Running in d6db05d94330 18:08:29 Removing intermediate container d6db05d94330 18:08:29 ---> 8c50020ec52b 18:08:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:08:30 ---> Running in 08466c617015 18:08:30 Removing intermediate container 08466c617015 18:08:30 ---> 2fd370e920b9 18:08:30 Step 6/10 : RUN apk add --update --no-cache make git 18:08:30 ---> Running in d50cf19de94e 18:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:08:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:08:33 OK: 267 MiB in 56 packages 18:08:34 Removing intermediate container d50cf19de94e 18:08:34 ---> 9e5fc1e92a3e 18:08:34 Step 7/10 : COPY go.mod vendor* ./ 18:08:34 ---> 12476c85f41f 18:08:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:08:35 ---> Running in 9591382ee1c2 18:09:42 Removing intermediate container 9591382ee1c2 18:09:42 ---> 1af9c818dfcd 18:09:42 Step 9/10 : COPY . . 18:09:43 ---> b2f2e3bf25c5 18:09:43 Step 10/10 : RUN ${MAKE} 18:09:43 ---> Running in b9deddf2027c 18:09:44 noop 18:09:45 Removing intermediate container b9deddf2027c 18:09:45 ---> 28963938e44b 18:09:45 Successfully built 28963938e44b 18:09:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:46 + docker inspect -f . ci-base-image-arm64 18:09:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:46 prd-ubuntu20.04-docker-arm64-4c-16g-5948 does not seem to be running inside a container 18:09:46 $ 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 18:09:48 $ docker top f4e523eb690f0eadcaeefad45db518dd0fbf8e900fbc3aaa65917229f83fd698 -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:48 + go version 18:09:48 go version go1.21.0 linux/arm64 [Pipeline] } 18:09:48 $ docker stop --time=1 f4e523eb690f0eadcaeefad45db518dd0fbf8e900fbc3aaa65917229f83fd698 18:09:50 $ docker rm -f --volumes f4e523eb690f0eadcaeefad45db518dd0fbf8e900fbc3aaa65917229f83fd698 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:09:51 + docker inspect -f . ci-base-image-arm64 18:09:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:09:51 prd-ubuntu20.04-docker-arm64-4c-16g-5948 does not seem to be running inside a container 18:09:51 $ 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 18:09:53 $ docker top 00455a0897b889eec453331633851f8e9247ab6c95e408f6ec03aeaf88cc9989 -eo pid,comm [Pipeline] { [Pipeline] sh 18:09:54 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 18:09:54 + make test 18:09:54 go test -race -coverprofile=coverage.out ./... 18:10:33 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:12:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:12:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:12:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:12:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:12:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:12:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.222s coverage: 27.6% of statements 18:13:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.242s coverage: 80.2% of statements 18:13:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:13:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:13:14 --- FAIL: TestAddEventTags (0.01s) 18:13:14 --- FAIL: TestAddEventTags/Happy_Path (0.00s) 18:13:14 utils_test.go:332: 18:13:14 Error Trace: /w/workspace/device-sdk-go/1/internal/common/utils_test.go:332 18:13:14 Error: Should NOT be empty, but was map[] 18:13:14 Test: TestAddEventTags/Happy_Path 18:13:14 --- FAIL: TestAddEventTags/No_Device_Tags (0.00s) 18:13:14 utils_test.go:332: 18:13:14 Error Trace: /w/workspace/device-sdk-go/1/internal/common/utils_test.go:332 18:13:14 Error: Should NOT be empty, but was map[] 18:13:14 Test: TestAddEventTags/No_Device_Tags 18:13:14 --- FAIL: TestAddEventTags/No_Command_Tags (0.00s) 18:13:14 utils_test.go:332: 18:13:14 Error Trace: /w/workspace/device-sdk-go/1/internal/common/utils_test.go:332 18:13:14 Error: Should NOT be empty, but was map[] 18:13:14 Test: TestAddEventTags/No_Command_Tags 18:13:14 FAIL 18:13:14 coverage: 86.0% of statements 18:13:14 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.373s 18:13:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:13:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.555s coverage: 71.8% of statements 18:13:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.253s coverage: 14.1% of statements 18:13:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:13:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:13:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.131s coverage: 44.2% of statements 18:13:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.421s coverage: 68.5% of statements 18:13:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.433s coverage: 89.2% of statements 18:13:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:13:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.238s coverage: 5.5% of statements 18:13:32 FAIL 18:13:33 make: *** [Makefile:38: unittest] Error 1 [Pipeline] } 18:13:33 $ docker stop --time=1 00455a0897b889eec453331633851f8e9247ab6c95e408f6ec03aeaf88cc9989 18:13:35 $ docker rm -f --volumes 00455a0897b889eec453331633851f8e9247ab6c95e408f6ec03aeaf88cc9989 [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 18:13:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:13:36 18:13:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:13:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:13:37 arm64: Pulling from edgex-lftools-log-publisher 18:13:37 8998bd30e6a1: Pulling fs layer 18:13:37 04944245beec: Pulling fs layer 18:13:37 699f458cf7ca: Pulling fs layer 18:13:37 765212b225bb: Pulling fs layer 18:13:37 f23df028b6ca: Pulling fs layer 18:13:37 d65c8cfc05b1: Pulling fs layer 18:13:37 2437ff75d9bd: Pulling fs layer 18:13:37 765212b225bb: Waiting 18:13:37 f23df028b6ca: Waiting 18:13:37 d65c8cfc05b1: Waiting 18:13:37 2437ff75d9bd: Waiting 18:13:37 04944245beec: Verifying Checksum 18:13:37 04944245beec: Download complete 18:13:37 765212b225bb: Verifying Checksum 18:13:37 765212b225bb: Download complete 18:13:37 f23df028b6ca: Verifying Checksum 18:13:37 f23df028b6ca: Download complete 18:13:37 d65c8cfc05b1: Verifying Checksum 18:13:37 d65c8cfc05b1: Download complete 18:13:37 699f458cf7ca: Verifying Checksum 18:13:37 699f458cf7ca: Download complete 18:13:38 8998bd30e6a1: Verifying Checksum 18:13:38 8998bd30e6a1: Download complete 18:13:40 2437ff75d9bd: Verifying Checksum 18:13:40 2437ff75d9bd: Download complete 18:13:42 8998bd30e6a1: Pull complete 18:13:43 04944245beec: Pull complete 18:13:44 699f458cf7ca: Pull complete 18:13:44 765212b225bb: Pull complete 18:13:46 f23df028b6ca: Pull complete 18:13:46 d65c8cfc05b1: Pull complete 18:14:01 2437ff75d9bd: Pull complete 18:14:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:14:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:14:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:01 prd-ubuntu20.04-docker-arm64-4c-16g-5948 does not seem to be running inside a container 18:14:01 $ 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 18:14:04 $ docker top fa12243e98b5b81dadd2b28ec6e8e428578ca1aecf04365b570181fcf6bc68db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:05 ---> job-cost.sh 18:14:05 lf-activate-venv: SKIPPING 18:14:05 INFO: No Stack... 18:14:05 INFO: Retrieving Pricing Info for: v3-standard-4 18:14:06 INFO: Archiving Costs [Pipeline] sh 18:14:07 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 18:14:07 + cut -d, -f6 [Pipeline] lock 18:14:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1510-1-stack-cost] 18:14:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1510-1-stack-cost] did not exist. Created. 18:14:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1510-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:14:07 /w/workspace/device-sdk-go/1@tmp/durable-de2de0a2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:14:08 + echo total: 0.10999999940395355 [Pipeline] stash 18:14:08 Warning: overwriting stash ‘stack-cost’ 18:14:09 Stashed 1 file(s) [Pipeline] } 18:14:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1510-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:14:09 $ docker stop --time=1 fa12243e98b5b81dadd2b28ec6e8e428578ca1aecf04365b570181fcf6bc68db 18:14:10 $ docker rm -f --volumes fa12243e98b5b81dadd2b28ec6e8e428578ca1aecf04365b570181fcf6bc68db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:14:11 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 18:14:13 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives ] 18:14:13 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives 18:14:13 total 16 18:14:13 drwxr-xr-x 3 root root 4096 Sep 12 18:06 . 18:14:13 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 18:06 .. 18:14:13 drwxr-xr-x 2 root root 4096 Sep 12 18:06 cost 18:14:13 -rw-r--r-- 1 root root 86 Sep 12 18:06 cost.csv 18:14:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives 18:14:13 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives 18:14:13 total 16 18:14:13 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 18:06 . 18:14:13 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 18:06 .. 18:14:13 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 18:06 cost 18:14:13 -rw-r--r-- 1 jenkins jenkins 86 Sep 12 18:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:14:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:14:14 ---> package-listing.sh 18:14:14 ++ facter osfamily 18:14:14 ++ tr '[:upper:]' '[:lower:]' 18:14:15 + OS_FAMILY=debian 18:14:15 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1510 18:14:15 + START_PACKAGES=/tmp/packages_start.txt 18:14:15 + END_PACKAGES=/tmp/packages_end.txt 18:14:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:14:15 + PACKAGES=/tmp/packages_start.txt 18:14:15 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1510 ']' 18:14:15 + PACKAGES=/tmp/packages_end.txt 18:14:15 + case "${OS_FAMILY}" in 18:14:15 + dpkg -l 18:14:15 + grep '^ii' 18:14:15 + '[' -f /tmp/packages_start.txt ']' 18:14:15 + '[' -f /tmp/packages_end.txt ']' 18:14:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:14:15 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1510 ']' 18:14:15 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives/ 18:14:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives/ [Pipeline] echo 18:14:15 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-1510/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:14:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:14:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:14:16 prd-ubuntu20.04-docker-8c-8g-5945 does not seem to be running inside a container 18:14:16 $ 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-1510/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-1510 -v /w/workspace/gexfoundry_device-sdk-go_PR-1510:/w/workspace/gexfoundry_device-sdk-go_PR-1510:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1510@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 18:14:16 $ docker top 46462e53449c6b5ef379af982ae7bddd5e87cd35e882bae7b6603676e57eee14 -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:16 + touch /tmp/pre-build-complete [Pipeline] sh 18:14:17 + mkdir -p /var/log/sysstat [Pipeline] sh 18:14:17 + ls /var/log/sa-host 18:14:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:14:17 provisioning config files... 18:14:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/config2880623923324544275tmp [Pipeline] { [Pipeline] echo 18:14:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:14:18 ---> create-netrc.sh [Pipeline] } 18:14:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:14:18 ---> python-tools-install.sh [Pipeline] echo 18:14:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:14:18 ---> sudo-logs.sh 18:14:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:14:19 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:14:19 ---> job-cost.sh 18:14:19 lf-activate-venv: SKIPPING 18:14:19 DEBUG: total: 0.2199999988079071 18:14:19 INFO: Retrieving Stack Cost... 18:14:19 INFO: Retrieving Pricing Info for: v3-standard-8 18:14:20 INFO: Archiving Costs [Pipeline] echo 18:14:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:14:20 ---> logs-deploy.sh 18:14:20 lf-activate-venv: SKIPPING 18:14:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1510/1 18:14:20 INFO: archiving workspace using pattern(s): 18:14:21 Archives upload complete. 18:14:21 INFO: archiving logs to Nexus