Pull request #1314 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 415d21002829d9e2a307ef412beaf9bf2a71a192+d7de237c874a90e81091b377f7571cc3981ed0ab (c6ef4e6c4ef3c959bdf741c168b6e31c550a1fe5) 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-ssh7157157400204163500.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13383220977069348692.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1314/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-1314/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3503450417172678390.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-1314/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14031436825864112028.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9713877779262558661.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-1314/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-1314/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7023606255251284572.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5470 in /w/workspace/gexfoundry_device-sdk-go_PR-1314 [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-1314 # 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/1314/head:refs/remotes/origin/PR-1314 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit 415d21002829d9e2a307ef412beaf9bf2a71a192 Merge succeeded, producing 415d21002829d9e2a307ef412beaf9bf2a71a192 Checking out Revision 415d21002829d9e2a307ef412beaf9bf2a71a192 (PR-1314) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T05:00:50.000Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 415d21002829d9e2a307ef412beaf9bf2a71a192 # 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 d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 415d21002829d9e2a307ef412beaf9bf2a71a192 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T05:00:50.199Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T05:00:50.304Z] ========================================================= [2023-02-13T05:00:50.304Z] EdgeX Global Pipelines Version Info [2023-02-13T05:00:50.304Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:00:51.412Z] ------------------- [2023-02-13T05:00:51.412Z] stable info: [2023-02-13T05:00:51.412Z] ------------------- [2023-02-13T05:00:51.412Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T05:00:51.412Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T05:00:51.413Z] Message: update stable to v1.0.244 [2023-02-13T05:00:51.986Z] ------------------- [2023-02-13T05:00:51.986Z] experimental info: [2023-02-13T05:00:51.986Z] ------------------- [2023-02-13T05:00:51.986Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T05:00:51.986Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T05:00:51.986Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T05:00:52.282Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-13T05:00:52.321Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-13T05:00:52.363Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T05:00:52.401Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T05:00:52.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T05:00:52.479Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T05:00:52.520Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T05:00:52.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-13T05:00:52.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T05:00:52.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T05:00:52.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T05:00:52.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-13T05:00:52.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T05:00:52.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T05:00:52.844Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T05:00:52.881Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T05:00:52.926Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T05:00:52.961Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T05:00:53.000Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T05:00:53.039Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T05:00:53.076Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-13T05:00:53.117Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-13T05:00:53.159Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T05:00:53.200Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T05:00:53.237Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T05:00:53.275Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T05:00:53.313Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T05:00:53.352Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1314 [Pipeline] echo [2023-02-13T05:00:53.393Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1314 [Pipeline] echo [2023-02-13T05:00:53.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1314 [Pipeline] echo [2023-02-13T05:00:53.475Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 415d21002829d9e2a307ef412beaf9bf2a71a192 [Pipeline] echo [2023-02-13T05:00:53.513Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 415d210 [Pipeline] echo [2023-02-13T05:00:53.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T05:00:53.663Z] provisioning config files... [2023-02-13T05:00:53.703Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp/config11504510084138911161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:00:54.047Z] ---> docker-login.sh [2023-02-13T05:00:54.047Z] nexus3.edgexfoundry.org:10001 [2023-02-13T05:00:54.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:00:54.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:00:54.306Z] Configure a credential helper to remove this warning. See [2023-02-13T05:00:54.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:00:54.306Z] [2023-02-13T05:00:54.306Z] Login Succeeded [2023-02-13T05:00:54.306Z] nexus3.edgexfoundry.org:10002 [2023-02-13T05:00:54.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:00:54.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:00:54.306Z] Configure a credential helper to remove this warning. See [2023-02-13T05:00:54.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:00:54.306Z] [2023-02-13T05:00:54.306Z] Login Succeeded [2023-02-13T05:00:54.306Z] nexus3.edgexfoundry.org:10003 [2023-02-13T05:00:54.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:00:54.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:00:54.565Z] Configure a credential helper to remove this warning. See [2023-02-13T05:00:54.565Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:00:54.565Z] [2023-02-13T05:00:54.565Z] Login Succeeded [2023-02-13T05:00:54.565Z] nexus3.edgexfoundry.org:10004 [2023-02-13T05:00:54.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:00:54.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:00:54.566Z] Configure a credential helper to remove this warning. See [2023-02-13T05:00:54.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:00:54.566Z] [2023-02-13T05:00:54.566Z] Login Succeeded [2023-02-13T05:00:54.566Z] docker.io [2023-02-13T05:00:54.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:00:54.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:00:54.826Z] Configure a credential helper to remove this warning. See [2023-02-13T05:00:54.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:00:54.826Z] [2023-02-13T05:00:54.826Z] Login Succeeded [2023-02-13T05:00:54.826Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T05:00:54.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T05:00:55.466Z] + git rev-list -1 --merges 415d21002829d9e2a307ef412beaf9bf2a71a192~1..415d21002829d9e2a307ef412beaf9bf2a71a192 [Pipeline] echo [2023-02-13T05:00:55.543Z] -----------> git rev-list -1 --merges 415d21002829d9e2a307ef412beaf9bf2a71a192~1..415d21002829d9e2a307ef412beaf9bf2a71a192 415d21002829d9e2a307ef412beaf9bf2a71a192 [false] [Pipeline] sh [2023-02-13T05:00:55.853Z] + git log --format=format:%s -1 415d21002829d9e2a307ef412beaf9bf2a71a192 [Pipeline] echo [2023-02-13T05:00:55.885Z] ========================================================= [2023-02-13T05:00:55.885Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T05:00:55.885Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T05:00:56.316Z] + git log --format=format:%s -1 415d21002829d9e2a307ef412beaf9bf2a71a192 [Pipeline] echo [2023-02-13T05:00:56.348Z] [semverPrep] GIT_COMMIT: 415d21002829d9e2a307ef412beaf9bf2a71a192, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-13T05:00:56.378Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T05:00:56.766Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T05:00:56.766Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T05:00:56.766Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T05:00:56.766Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T05:00:56.766Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-02-13T05:00:56.766Z] -a /etc/ssh/ssh_known_hosts [2023-02-13T05:00:56.766Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:00:57.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T05:00:57.243Z] [2023-02-13T05:00:57.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:00:57.611Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T05:00:57.611Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T05:00:57.611Z] b85a868b505f: Pulling fs layer [2023-02-13T05:00:57.611Z] e2be974225ed: Pulling fs layer [2023-02-13T05:00:57.611Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T05:00:57.611Z] 988bab9f4d93: Pulling fs layer [2023-02-13T05:00:57.611Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T05:00:57.611Z] eaf3925da568: Pulling fs layer [2023-02-13T05:00:57.611Z] bab4dde63d76: Pulling fs layer [2023-02-13T05:00:57.611Z] bde34c3a00c8: Pulling fs layer [2023-02-13T05:00:57.611Z] b352a97aabf1: Pulling fs layer [2023-02-13T05:00:57.611Z] 4872d77fe225: Pulling fs layer [2023-02-13T05:00:57.611Z] 5851b861e8e6: Pulling fs layer [2023-02-13T05:00:57.611Z] bab4dde63d76: Waiting [2023-02-13T05:00:57.611Z] b352a97aabf1: Waiting [2023-02-13T05:00:57.611Z] 4872d77fe225: Waiting [2023-02-13T05:00:57.611Z] 5851b861e8e6: Waiting [2023-02-13T05:00:57.611Z] bde34c3a00c8: Waiting [2023-02-13T05:00:57.611Z] 988bab9f4d93: Waiting [2023-02-13T05:00:57.611Z] 1469e6f7b9e6: Waiting [2023-02-13T05:00:57.611Z] eaf3925da568: Waiting [2023-02-13T05:00:57.611Z] e2be974225ed: Download complete [2023-02-13T05:00:57.611Z] 988bab9f4d93: Verifying Checksum [2023-02-13T05:00:57.611Z] 988bab9f4d93: Download complete [2023-02-13T05:00:57.875Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T05:00:57.875Z] 339a4e72a1f5: Download complete [2023-02-13T05:00:58.134Z] eaf3925da568: Download complete [2023-02-13T05:00:58.135Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T05:00:58.135Z] 1469e6f7b9e6: Download complete [2023-02-13T05:00:58.135Z] bde34c3a00c8: Verifying Checksum [2023-02-13T05:00:58.135Z] bde34c3a00c8: Download complete [2023-02-13T05:00:58.135Z] b352a97aabf1: Download complete [2023-02-13T05:00:58.135Z] 4872d77fe225: Download complete [2023-02-13T05:00:58.135Z] 5851b861e8e6: Verifying Checksum [2023-02-13T05:00:58.135Z] 5851b861e8e6: Download complete [2023-02-13T05:00:58.135Z] b85a868b505f: Verifying Checksum [2023-02-13T05:00:58.135Z] b85a868b505f: Download complete [2023-02-13T05:00:58.393Z] bab4dde63d76: Verifying Checksum [2023-02-13T05:00:58.393Z] bab4dde63d76: Download complete [2023-02-13T05:00:59.330Z] b85a868b505f: Pull complete [2023-02-13T05:00:59.330Z] e2be974225ed: Pull complete [2023-02-13T05:00:59.898Z] 339a4e72a1f5: Pull complete [2023-02-13T05:00:59.898Z] 988bab9f4d93: Pull complete [2023-02-13T05:01:00.157Z] 1469e6f7b9e6: Pull complete [2023-02-13T05:01:00.157Z] eaf3925da568: Pull complete [2023-02-13T05:01:02.061Z] bab4dde63d76: Pull complete [2023-02-13T05:01:02.061Z] bde34c3a00c8: Pull complete [2023-02-13T05:01:02.061Z] b352a97aabf1: Pull complete [2023-02-13T05:01:02.061Z] 4872d77fe225: Pull complete [2023-02-13T05:01:02.061Z] 5851b861e8e6: Pull complete [2023-02-13T05:01:02.061Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T05:01:02.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T05:01:02.061Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:01:02.290Z] prd-ubuntu20.04-docker-8c-8g-5470 does not seem to be running inside a container [2023-02-13T05:01:02.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1314 -v /w/workspace/gexfoundry_device-sdk-go_PR-1314:/w/workspace/gexfoundry_device-sdk-go_PR-1314:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1314@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-13T05:01:04.643Z] $ docker top 0de323361f6aaa9fe3d2258596a0652f903eb3510e8787cd2849ad8f46641094 -eo pid,comm [2023-02-13T05:01:04.694Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-13T05:01:04.694Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T05:01:04.823Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T05:01:04.823Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T05:01:04.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T05:01:04.937Z] $ docker exec 0de323361f6aaa9fe3d2258596a0652f903eb3510e8787cd2849ad8f46641094 ssh-agent [2023-02-13T05:01:05.054Z] SSH_AUTH_SOCK=/tmp/ssh-djoI7vdKIAId/agent.32 [2023-02-13T05:01:05.054Z] SSH_AGENT_PID=38 [2023-02-13T05:01:05.060Z] Running ssh-add (command line suppressed) [2023-02-13T05:01:05.155Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp/private_key_10468700382426986148.key (/w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp/private_key_10468700382426986148.key) [2023-02-13T05:01:05.168Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T05:01:05.492Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T05:01:05.519Z] $ docker exec --env ******** --env ******** 0de323361f6aaa9fe3d2258596a0652f903eb3510e8787cd2849ad8f46641094 ssh-agent -k [2023-02-13T05:01:05.632Z] unset SSH_AUTH_SOCK; [2023-02-13T05:01:05.633Z] unset SSH_AGENT_PID; [2023-02-13T05:01:05.633Z] echo Agent pid 38 killed; [2023-02-13T05:01:05.641Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T05:01:05.730Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T05:01:05.730Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T05:01:05.871Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T05:01:05.874Z] $ docker exec 0de323361f6aaa9fe3d2258596a0652f903eb3510e8787cd2849ad8f46641094 ssh-agent [2023-02-13T05:01:05.982Z] SSH_AUTH_SOCK=/tmp/ssh-BSbXQ0q0CQan/agent.70 [2023-02-13T05:01:05.982Z] SSH_AGENT_PID=76 [2023-02-13T05:01:05.987Z] Running ssh-add (command line suppressed) [2023-02-13T05:01:06.099Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp/private_key_8558266889985034741.key (/w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp/private_key_8558266889985034741.key) [2023-02-13T05:01:06.114Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T05:01:06.450Z] + git semver init [2023-02-13T05:01:06.710Z] 2023-02-13 05:01:06,617 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T05:01:06.710Z] 2023-02-13 05:01:06,618 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1314/.semver [2023-02-13T05:01:06.710Z] 2023-02-13 05:01:06,618 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1314/.semver [2023-02-13T05:01:06.710Z] 2023-02-13 05:01:06,618 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1314/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1314, universal_newlines=False, shell=None, istream=None) [2023-02-13T05:01:07.652Z] 2023-02-13 05:01:07,637 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1314/.git/info/exclude [2023-02-13T05:01:07.652Z] 2023-02-13 05:01:07,637 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1314/.semver/PR-1314 with force:False [2023-02-13T05:01:07.652Z] 2023-02-13 05:01:07,637 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1314/.semver/PR-1314 [2023-02-13T05:01:07.652Z] 2023-02-13 05:01:07,641 [execute] INFO git cat-file --batch-check [2023-02-13T05:01:07.652Z] 2023-02-13 05:01:07,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1314/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T05:01:07.652Z] 2023-02-13 05:01:07,650 [execute] INFO git cat-file --batch [2023-02-13T05:01:07.652Z] 2023-02-13 05:01:07,650 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1314/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T05:01:07.911Z] 2023-02-13 05:01:07,655 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1314/.semver/PR-1314 [2023-02-13T05:01:07.911Z] 0.0.0 [Pipeline] } [2023-02-13T05:01:07.940Z] $ docker exec --env ******** --env ******** 0de323361f6aaa9fe3d2258596a0652f903eb3510e8787cd2849ad8f46641094 ssh-agent -k [2023-02-13T05:01:08.065Z] unset SSH_AUTH_SOCK; [2023-02-13T05:01:08.066Z] unset SSH_AGENT_PID; [2023-02-13T05:01:08.066Z] echo Agent pid 76 killed; [2023-02-13T05:01:08.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T05:01:08.507Z] + git semver [Pipeline] } [2023-02-13T05:01:08.792Z] $ docker stop --time=1 0de323361f6aaa9fe3d2258596a0652f903eb3510e8787cd2849ad8f46641094 [2023-02-13T05:01:10.071Z] $ docker rm -f --volumes 0de323361f6aaa9fe3d2258596a0652f903eb3510e8787cd2849ad8f46641094 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T05:01:10.492Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T05:01:10.767Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T05:01:10.785Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T05:01:11.432Z] provisioning config files... [2023-02-13T05:01:11.439Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp/config2041164664891341306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:01:11.797Z] ---> docker-login.sh [2023-02-13T05:01:11.797Z] nexus3.edgexfoundry.org:10001 [2023-02-13T05:01:11.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:01:11.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:01:11.797Z] Configure a credential helper to remove this warning. See [2023-02-13T05:01:11.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:01:11.797Z] [2023-02-13T05:01:11.797Z] Login Succeeded [2023-02-13T05:01:11.798Z] nexus3.edgexfoundry.org:10002 [2023-02-13T05:01:11.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:01:11.798Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:01:11.798Z] Configure a credential helper to remove this warning. See [2023-02-13T05:01:11.798Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:01:11.798Z] [2023-02-13T05:01:11.798Z] Login Succeeded [2023-02-13T05:01:11.798Z] nexus3.edgexfoundry.org:10003 [2023-02-13T05:01:12.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:01:12.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:01:12.057Z] Configure a credential helper to remove this warning. See [2023-02-13T05:01:12.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:01:12.057Z] [2023-02-13T05:01:12.057Z] Login Succeeded [2023-02-13T05:01:12.057Z] nexus3.edgexfoundry.org:10004 [2023-02-13T05:01:12.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:01:12.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:01:12.057Z] Configure a credential helper to remove this warning. See [2023-02-13T05:01:12.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:01:12.057Z] [2023-02-13T05:01:12.057Z] Login Succeeded [2023-02-13T05:01:12.057Z] docker.io [2023-02-13T05:01:12.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:01:12.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:01:12.317Z] Configure a credential helper to remove this warning. See [2023-02-13T05:01:12.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:01:12.317Z] [2023-02-13T05:01:12.317Z] Login Succeeded [2023-02-13T05:01:12.317Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T05:01:12.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T05:01:12.531Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T05:01:12.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T05:01:12.604Z] ========================================================= [2023-02-13T05:01:12.604Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T05:01:12.604Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:01:13.070Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T05:01:13.070Z] Sending build context to Docker daemon 10.53MB [2023-02-13T05:01:13.070Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T05:01:13.070Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T05:01:13.070Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T05:01:13.070Z] 213ec9aee27d: Pulling fs layer [2023-02-13T05:01:13.070Z] 4583459ba037: Pulling fs layer [2023-02-13T05:01:13.070Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T05:01:13.070Z] 53926ce57604: Pulling fs layer [2023-02-13T05:01:13.070Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T05:01:13.070Z] 22ff95d597cd: Pulling fs layer [2023-02-13T05:01:13.070Z] 53926ce57604: Waiting [2023-02-13T05:01:13.070Z] 21b2b0c7a3f4: Waiting [2023-02-13T05:01:13.070Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T05:01:13.070Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T05:01:13.070Z] a7acece74701: Pulling fs layer [2023-02-13T05:01:13.070Z] 22ff95d597cd: Waiting [2023-02-13T05:01:13.070Z] 96b7cbca73a9: Waiting [2023-02-13T05:01:13.070Z] a7acece74701: Waiting [2023-02-13T05:01:13.070Z] 12d6caf4c0d1: Waiting [2023-02-13T05:01:13.330Z] 93c1e223e6f2: Verifying Checksum [2023-02-13T05:01:13.330Z] 93c1e223e6f2: Download complete [2023-02-13T05:01:13.330Z] 4583459ba037: Download complete [2023-02-13T05:01:13.330Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T05:01:13.330Z] 21b2b0c7a3f4: Download complete [2023-02-13T05:01:13.330Z] 22ff95d597cd: Download complete [2023-02-13T05:01:13.330Z] 213ec9aee27d: Download complete [2023-02-13T05:01:13.330Z] 12d6caf4c0d1: Download complete [2023-02-13T05:01:13.597Z] 213ec9aee27d: Pull complete [2023-02-13T05:01:13.597Z] 4583459ba037: Pull complete [2023-02-13T05:01:13.597Z] 93c1e223e6f2: Pull complete [2023-02-13T05:01:14.603Z] a7acece74701: Verifying Checksum [2023-02-13T05:01:14.603Z] a7acece74701: Download complete [2023-02-13T05:01:14.603Z] 53926ce57604: Verifying Checksum [2023-02-13T05:01:14.603Z] 53926ce57604: Download complete [2023-02-13T05:01:14.860Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T05:01:14.860Z] 96b7cbca73a9: Download complete [2023-02-13T05:01:18.164Z] 53926ce57604: Pull complete [2023-02-13T05:01:18.164Z] 21b2b0c7a3f4: Pull complete [2023-02-13T05:01:18.426Z] 22ff95d597cd: Pull complete [2023-02-13T05:01:18.426Z] 12d6caf4c0d1: Pull complete [2023-02-13T05:01:20.338Z] 96b7cbca73a9: Pull complete [2023-02-13T05:01:21.269Z] a7acece74701: Pull complete [2023-02-13T05:01:21.270Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T05:01:21.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T05:01:21.270Z] ---> db6d94c90886 [2023-02-13T05:01:21.270Z] Step 3/10 : ARG MAKE=make build [2023-02-13T05:01:25.500Z] ---> Running in daaf18ed3786 [2023-02-13T05:01:25.500Z] Removing intermediate container daaf18ed3786 [2023-02-13T05:01:25.500Z] ---> 7831db769b54 [2023-02-13T05:01:25.500Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T05:01:25.500Z] ---> Running in 1e78811c1cd2 [2023-02-13T05:01:25.500Z] Removing intermediate container 1e78811c1cd2 [2023-02-13T05:01:25.500Z] ---> ca858a929f18 [2023-02-13T05:01:25.500Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T05:01:25.500Z] ---> Running in 781d26b1a6a2 [2023-02-13T05:01:25.500Z] Removing intermediate container 781d26b1a6a2 [2023-02-13T05:01:25.500Z] ---> a4da7a447df1 [2023-02-13T05:01:25.500Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T05:01:25.500Z] ---> Running in e20c1039a63f [2023-02-13T05:01:25.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T05:01:25.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T05:01:26.020Z] OK: 211 MiB in 51 packages [2023-02-13T05:01:26.234Z] Still waiting to schedule task [2023-02-13T05:01:26.235Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5467’ [2023-02-13T05:01:26.281Z] Removing intermediate container e20c1039a63f [2023-02-13T05:01:26.281Z] ---> 3e7ba816a85c [2023-02-13T05:01:26.281Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T05:01:26.539Z] ---> b5a57a77962c [2023-02-13T05:01:26.539Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T05:01:26.539Z] ---> Running in 9880e52b1820 [2023-02-13T05:02:05.274Z] Removing intermediate container 9880e52b1820 [2023-02-13T05:02:05.274Z] ---> ec5359656c06 [2023-02-13T05:02:05.274Z] Step 9/10 : COPY . . [2023-02-13T05:02:05.274Z] ---> 09215f9d9be0 [2023-02-13T05:02:05.274Z] Step 10/10 : RUN ${MAKE} [2023-02-13T05:02:05.274Z] ---> Running in 218544071d34 [2023-02-13T05:02:05.274Z] noop [2023-02-13T05:02:05.274Z] Removing intermediate container 218544071d34 [2023-02-13T05:02:05.274Z] ---> 06de4e41fce8 [2023-02-13T05:02:05.274Z] Successfully built 06de4e41fce8 [2023-02-13T05:02:05.274Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:02:05.725Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T05:02:05.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:02:05.873Z] prd-ubuntu20.04-docker-8c-8g-5470 does not seem to be running inside a container [2023-02-13T05:02:05.903Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1314 -v /w/workspace/gexfoundry_device-sdk-go_PR-1314:/w/workspace/gexfoundry_device-sdk-go_PR-1314:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1314@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 ******** ci-base-image-x86_64 cat [2023-02-13T05:02:06.240Z] $ docker top d6a29e379248dc40fb10737a751286e821b6f08d031e7694585ab4fb3b4ed1ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T05:02:06.633Z] + go version [2023-02-13T05:02:06.633Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T05:02:06.668Z] $ docker stop --time=1 d6a29e379248dc40fb10737a751286e821b6f08d031e7694585ab4fb3b4ed1ca [2023-02-13T05:02:07.966Z] $ docker rm -f --volumes d6a29e379248dc40fb10737a751286e821b6f08d031e7694585ab4fb3b4ed1ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:02:08.680Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T05:02:08.680Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:02:08.830Z] prd-ubuntu20.04-docker-8c-8g-5470 does not seem to be running inside a container [2023-02-13T05:02:08.862Z] $ 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-1314 -v /w/workspace/gexfoundry_device-sdk-go_PR-1314:/w/workspace/gexfoundry_device-sdk-go_PR-1314:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1314@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 ******** ci-base-image-x86_64 cat [2023-02-13T05:02:09.193Z] $ docker top a56c3864831bbfabc33124eea8421d16b440d8b870f1103753c49ecd9092ccbe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T05:02:09.575Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1314 [Pipeline] fileExists [Pipeline] sh [2023-02-13T05:02:09.932Z] + make test [2023-02-13T05:02:09.932Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T05:02:16.495Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T05:02:28.691Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-13T05:02:28.691Z] internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd [2023-02-13T05:02:28.691Z] internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate [2023-02-13T05:02:28.691Z] internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete [2023-02-13T05:02:28.692Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.051s coverage: 27.6% of statements [2023-02-13T05:02:28.692Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.057s coverage: 78.9% of statements [2023-02-13T05:02:28.692Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.100s coverage: 77.8% of statements [2023-02-13T05:02:28.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 59.8% of statements [2023-02-13T05:02:28.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.2% of statements [2023-02-13T05:02:28.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.728s coverage: 89.2% of statements [2023-02-13T05:02:28.949Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-02-13T05:02:29.205Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-13T05:02:29.287Z] $ docker stop --time=1 a56c3864831bbfabc33124eea8421d16b440d8b870f1103753c49ecd9092ccbe [2023-02-13T05:02:32.080Z] $ docker rm -f --volumes a56c3864831bbfabc33124eea8421d16b440d8b870f1103753c49ecd9092ccbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:02:33.218Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T05:02:33.218Z] [2023-02-13T05:02:33.218Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:02:33.662Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T05:02:33.662Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T05:02:33.662Z] 5eb5b503b376: Pulling fs layer [2023-02-13T05:02:33.662Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T05:02:33.662Z] ec43610c2a17: Pulling fs layer [2023-02-13T05:02:33.662Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T05:02:33.662Z] 33b1e0a273af: Pulling fs layer [2023-02-13T05:02:33.662Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T05:02:33.662Z] 2f39f015ded8: Pulling fs layer [2023-02-13T05:02:33.662Z] 33b1e0a273af: Waiting [2023-02-13T05:02:33.662Z] 5d3b04190fa2: Waiting [2023-02-13T05:02:33.662Z] 2f39f015ded8: Waiting [2023-02-13T05:02:33.662Z] 3a2ae6a8a46f: Waiting [2023-02-13T05:02:33.662Z] 5c69ac0246d0: Verifying Checksum [2023-02-13T05:02:33.662Z] 5c69ac0246d0: Download complete [2023-02-13T05:02:33.662Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T05:02:33.945Z] 33b1e0a273af: Verifying Checksum [2023-02-13T05:02:33.945Z] 33b1e0a273af: Download complete [2023-02-13T05:02:33.945Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T05:02:33.945Z] 5d3b04190fa2: Download complete [2023-02-13T05:02:33.945Z] ec43610c2a17: Verifying Checksum [2023-02-13T05:02:33.945Z] ec43610c2a17: Download complete [2023-02-13T05:02:34.234Z] 5eb5b503b376: Verifying Checksum [2023-02-13T05:02:34.234Z] 5eb5b503b376: Download complete [2023-02-13T05:02:34.820Z] 2f39f015ded8: Download complete [2023-02-13T05:02:35.100Z] 5eb5b503b376: Pull complete [2023-02-13T05:02:35.358Z] 5c69ac0246d0: Pull complete [2023-02-13T05:02:35.616Z] ec43610c2a17: Pull complete [2023-02-13T05:02:35.616Z] 3a2ae6a8a46f: Pull complete [2023-02-13T05:02:35.875Z] 33b1e0a273af: Pull complete [2023-02-13T05:02:35.875Z] 5d3b04190fa2: Pull complete [2023-02-13T05:02:40.063Z] 2f39f015ded8: Pull complete [2023-02-13T05:02:40.063Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T05:02:40.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T05:02:40.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:02:40.351Z] prd-ubuntu20.04-docker-8c-8g-5470 does not seem to be running inside a container [2023-02-13T05:02:40.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-1314 -v /w/workspace/gexfoundry_device-sdk-go_PR-1314:/w/workspace/gexfoundry_device-sdk-go_PR-1314:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T05:02:42.993Z] $ docker top 9e745a479fc4f9c08675547d10a937b6c7ae04efcb4ffdfdbae94b3b4a9c09bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:02:43.410Z] ---> job-cost.sh [2023-02-13T05:02:43.410Z] lf-activate-venv: SKIPPING [2023-02-13T05:02:43.410Z] INFO: No Stack... [2023-02-13T05:02:43.669Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T05:02:44.237Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T05:02:44.548Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1314/archives/cost.csv [2023-02-13T05:02:44.548Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T05:02:44.586Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1314-1-stack-cost] [2023-02-13T05:02:44.590Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1314-1-stack-cost] did not exist. Created. [2023-02-13T05:02:44.590Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1314-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T05:02:44.967Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T05:02:45.038Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T05:02:45.052Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1314-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T05:02:45.124Z] $ docker stop --time=1 9e745a479fc4f9c08675547d10a937b6c7ae04efcb4ffdfdbae94b3b4a9c09bc [2023-02-13T05:02:46.274Z] $ docker rm -f --volumes 9e745a479fc4f9c08675547d10a937b6c7ae04efcb4ffdfdbae94b3b4a9c09bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T05:02:46.633Z] Failed in branch amd64 [2023-02-13T05:04:01.727Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5472 in /w/workspace/gexfoundry_device-sdk-go_PR-1314 [Pipeline] { [Pipeline] ws [2023-02-13T05:04:01.789Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-13T05:04:01.889Z] The recommended git tool is: git [2023-02-13T05:04:07.696Z] using credential edgex-jenkins-ssh [2023-02-13T05:04:07.715Z] Cloning the remote Git repository [2023-02-13T05:04:07.776Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T05:04:07.862Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-13T05:04:08.050Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T05:04:08.051Z] > git --version # timeout=10 [2023-02-13T05:04:08.070Z] > git --version # 'git version 2.25.1' [2023-02-13T05:04:08.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T05:04:08.141Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T05:04:10.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T05:04:10.142Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T05:04:11.866Z] Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit 415d21002829d9e2a307ef412beaf9bf2a71a192 [2023-02-13T05:04:12.145Z] Merge succeeded, producing 415d21002829d9e2a307ef412beaf9bf2a71a192 [2023-02-13T05:04:12.146Z] Checking out Revision 415d21002829d9e2a307ef412beaf9bf2a71a192 (PR-1314) [2023-02-13T05:04:11.133Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T05:04:11.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T05:04:11.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T05:04:11.202Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1314/head:refs/remotes/origin/PR-1314 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T05:04:11.887Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T05:04:11.909Z] > git checkout -f 415d21002829d9e2a307ef412beaf9bf2a71a192 # timeout=10 [2023-02-13T05:04:12.034Z] > git remote # timeout=10 [2023-02-13T05:04:12.054Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T05:04:12.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T05:04:12.090Z] > git merge d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 [2023-02-13T05:04:12.124Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T05:04:12.153Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T05:04:12.170Z] > git checkout -f 415d21002829d9e2a307ef412beaf9bf2a71a192 # timeout=10 [2023-02-13T05:04:12.795Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-02-13T05:04:12.860Z] > git --version # timeout=10 [2023-02-13T05:04:12.873Z] > git --version # 'git version 2.25.1' [2023-02-13T05:04:12.895Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T05:04:14.246Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T05:04:14.246Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T05:04:14.246Z] Dload Upload Total Spent Left Speed [2023-02-13T05:04:14.246Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-02-13T05:04:15.034Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T05:04:15.389Z] + sudo tee /etc/docker/daemon.new [2023-02-13T05:04:15.389Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T05:04:15.389Z] { [2023-02-13T05:04:15.389Z] "registry-mirrors": [ [2023-02-13T05:04:15.389Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T05:04:15.389Z] ], [2023-02-13T05:04:15.389Z] "bip": "10.250.0.254/24", [2023-02-13T05:04:15.389Z] "hosts": [ [2023-02-13T05:04:15.389Z] "tcp://0.0.0.0:5555", [2023-02-13T05:04:15.389Z] "unix:///var/run/docker.sock" [2023-02-13T05:04:15.389Z] ], [2023-02-13T05:04:15.389Z] "mtu": 1458, [2023-02-13T05:04:15.389Z] "selinux-enabled": true, [2023-02-13T05:04:15.389Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T05:04:15.389Z] } [Pipeline] sh [2023-02-13T05:04:15.745Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T05:04:16.111Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T05:04:34.451Z] provisioning config files... [2023-02-13T05:04:34.481Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config17696576151009430343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:04:34.885Z] ---> docker-login.sh [2023-02-13T05:04:34.885Z] nexus3.edgexfoundry.org:10001 [2023-02-13T05:04:35.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:04:35.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:04:35.753Z] Configure a credential helper to remove this warning. See [2023-02-13T05:04:35.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:04:35.753Z] [2023-02-13T05:04:35.753Z] Login Succeeded [2023-02-13T05:04:35.753Z] nexus3.edgexfoundry.org:10002 [2023-02-13T05:04:36.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:04:36.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:04:36.026Z] Configure a credential helper to remove this warning. See [2023-02-13T05:04:36.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:04:36.026Z] [2023-02-13T05:04:36.026Z] Login Succeeded [2023-02-13T05:04:36.026Z] nexus3.edgexfoundry.org:10003 [2023-02-13T05:04:36.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:04:36.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:04:36.297Z] Configure a credential helper to remove this warning. See [2023-02-13T05:04:36.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:04:36.297Z] [2023-02-13T05:04:36.297Z] Login Succeeded [2023-02-13T05:04:36.297Z] nexus3.edgexfoundry.org:10004 [2023-02-13T05:04:36.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:04:36.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:04:36.844Z] Configure a credential helper to remove this warning. See [2023-02-13T05:04:36.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:04:36.844Z] [2023-02-13T05:04:36.844Z] Login Succeeded [2023-02-13T05:04:36.844Z] docker.io [2023-02-13T05:04:37.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T05:04:37.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T05:04:37.384Z] Configure a credential helper to remove this warning. See [2023-02-13T05:04:37.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T05:04:37.384Z] [2023-02-13T05:04:37.384Z] Login Succeeded [2023-02-13T05:04:37.384Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T05:04:37.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T05:04:37.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T05:04:37.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T05:04:37.894Z] ========================================================= [2023-02-13T05:04:37.894Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T05:04:37.894Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:04:38.401Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T05:04:38.671Z] Sending build context to Docker daemon 5.657MB [2023-02-13T05:04:38.943Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T05:04:38.943Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T05:04:38.943Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T05:04:38.943Z] 9b18e9b68314: Pulling fs layer [2023-02-13T05:04:38.943Z] 35d82f9e3411: Pulling fs layer [2023-02-13T05:04:38.943Z] e16973657156: Pulling fs layer [2023-02-13T05:04:38.943Z] fc693d55d65f: Pulling fs layer [2023-02-13T05:04:38.943Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T05:04:38.943Z] dda99020689f: Pulling fs layer [2023-02-13T05:04:38.943Z] db1c61fa0a46: Pulling fs layer [2023-02-13T05:04:38.943Z] 891c053d2c06: Pulling fs layer [2023-02-13T05:04:38.943Z] fc693d55d65f: Waiting [2023-02-13T05:04:38.943Z] 7e9fc2657dce: Waiting [2023-02-13T05:04:38.943Z] dda99020689f: Waiting [2023-02-13T05:04:38.943Z] db1c61fa0a46: Waiting [2023-02-13T05:04:38.943Z] 891c053d2c06: Waiting [2023-02-13T05:04:38.943Z] e16973657156: Download complete [2023-02-13T05:04:38.943Z] 35d82f9e3411: Verifying Checksum [2023-02-13T05:04:38.943Z] 35d82f9e3411: Download complete [2023-02-13T05:04:39.213Z] 7e9fc2657dce: Verifying Checksum [2023-02-13T05:04:39.213Z] 7e9fc2657dce: Download complete [2023-02-13T05:04:39.213Z] dda99020689f: Verifying Checksum [2023-02-13T05:04:39.213Z] dda99020689f: Download complete [2023-02-13T05:04:39.213Z] 9b18e9b68314: Verifying Checksum [2023-02-13T05:04:39.213Z] 9b18e9b68314: Download complete [2023-02-13T05:04:39.815Z] 9b18e9b68314: Pull complete [2023-02-13T05:04:40.410Z] 891c053d2c06: Verifying Checksum [2023-02-13T05:04:40.410Z] 891c053d2c06: Download complete [2023-02-13T05:04:40.694Z] 35d82f9e3411: Pull complete [2023-02-13T05:04:40.964Z] e16973657156: Pull complete [2023-02-13T05:04:41.566Z] db1c61fa0a46: Verifying Checksum [2023-02-13T05:04:41.566Z] db1c61fa0a46: Download complete [2023-02-13T05:04:42.533Z] fc693d55d65f: Verifying Checksum [2023-02-13T05:04:42.533Z] fc693d55d65f: Download complete [2023-02-13T05:04:54.977Z] fc693d55d65f: Pull complete [2023-02-13T05:04:54.977Z] 7e9fc2657dce: Pull complete [2023-02-13T05:04:54.977Z] dda99020689f: Pull complete [2023-02-13T05:05:01.678Z] db1c61fa0a46: Pull complete [2023-02-13T05:05:03.101Z] 891c053d2c06: Pull complete [2023-02-13T05:05:03.101Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T05:05:03.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T05:05:03.101Z] ---> f96f9c87975a [2023-02-13T05:05:03.101Z] Step 3/10 : ARG MAKE=make build [2023-02-13T05:05:04.535Z] ---> Running in 1e504e54c8c5 [2023-02-13T05:05:04.535Z] Removing intermediate container 1e504e54c8c5 [2023-02-13T05:05:04.535Z] ---> 0f9a4394a419 [2023-02-13T05:05:04.535Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T05:05:04.535Z] ---> Running in 4e13810abb4d [2023-02-13T05:05:05.124Z] Removing intermediate container 4e13810abb4d [2023-02-13T05:05:05.124Z] ---> f2fbaf9e3e22 [2023-02-13T05:05:05.124Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T05:05:05.124Z] ---> Running in 0cfeef29b284 [2023-02-13T05:05:05.403Z] Removing intermediate container 0cfeef29b284 [2023-02-13T05:05:05.403Z] ---> cb8670d02984 [2023-02-13T05:05:05.403Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T05:05:05.403Z] ---> Running in bbef2a0cbf21 [2023-02-13T05:05:06.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T05:05:06.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T05:05:08.239Z] OK: 221 MiB in 51 packages [2023-02-13T05:05:08.825Z] Removing intermediate container bbef2a0cbf21 [2023-02-13T05:05:08.825Z] ---> 012cf3c8ac73 [2023-02-13T05:05:08.825Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T05:05:09.431Z] ---> ae6bf0161b37 [2023-02-13T05:05:09.431Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T05:05:09.431Z] ---> Running in 40efba22f8c9 [2023-02-13T05:06:17.446Z] Removing intermediate container 40efba22f8c9 [2023-02-13T05:06:17.446Z] ---> b5e26c040b52 [2023-02-13T05:06:17.446Z] Step 9/10 : COPY . . [2023-02-13T05:06:17.446Z] ---> 7247e44f43e5 [2023-02-13T05:06:17.446Z] Step 10/10 : RUN ${MAKE} [2023-02-13T05:06:17.446Z] ---> Running in d5f496956a03 [2023-02-13T05:06:17.446Z] noop [2023-02-13T05:06:17.446Z] Removing intermediate container d5f496956a03 [2023-02-13T05:06:17.446Z] ---> 4ed227155629 [2023-02-13T05:06:17.446Z] Successfully built 4ed227155629 [2023-02-13T05:06:17.446Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:06:17.926Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T05:06:17.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:06:18.184Z] prd-ubuntu20.04-docker-arm64-4c-16g-5472 does not seem to be running inside a container [2023-02-13T05:06:18.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T05:06:19.489Z] $ docker top e39535c155b4e6161347bdfe951d22152d98be24224a9250fc31386b308830f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T05:06:20.407Z] + go version [2023-02-13T05:06:20.407Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T05:06:20.438Z] $ docker stop --time=1 e39535c155b4e6161347bdfe951d22152d98be24224a9250fc31386b308830f4 [2023-02-13T05:06:22.084Z] $ docker rm -f --volumes e39535c155b4e6161347bdfe951d22152d98be24224a9250fc31386b308830f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:06:22.928Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T05:06:22.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:06:23.180Z] prd-ubuntu20.04-docker-arm64-4c-16g-5472 does not seem to be running inside a container [2023-02-13T05:06:23.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T05:06:24.414Z] $ docker top 7cd3916d231d7aa0bfbf2d917a1d3b8acda8395529c2eea69e6525aec9ca3118 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T05:06:24.978Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-13T05:06:25.639Z] + make test [2023-02-13T05:06:25.908Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T05:07:04.799Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T05:09:11.535Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-13T05:09:11.535Z] internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd [2023-02-13T05:09:11.535Z] internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate [2023-02-13T05:09:11.535Z] internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete [2023-02-13T05:09:19.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.469s coverage: 27.6% of statements [2023-02-13T05:09:19.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.457s coverage: 78.9% of statements [2023-02-13T05:09:26.450Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.998s coverage: 77.8% of statements [2023-02-13T05:09:29.036Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.620s coverage: 59.8% of statements [2023-02-13T05:09:29.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.430s coverage: 65.2% of statements [2023-02-13T05:09:29.625Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 5.419s coverage: 89.2% of statements [2023-02-13T05:09:29.625Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-02-13T05:09:30.217Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-13T05:09:30.259Z] $ docker stop --time=1 7cd3916d231d7aa0bfbf2d917a1d3b8acda8395529c2eea69e6525aec9ca3118 [2023-02-13T05:09:32.229Z] $ docker rm -f --volumes 7cd3916d231d7aa0bfbf2d917a1d3b8acda8395529c2eea69e6525aec9ca3118 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:09:33.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T05:09:33.980Z] [2023-02-13T05:09:33.980Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:09:34.399Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T05:09:34.684Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T05:09:34.684Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T05:09:34.684Z] 04944245beec: Pulling fs layer [2023-02-13T05:09:34.684Z] 699f458cf7ca: Pulling fs layer [2023-02-13T05:09:34.684Z] 765212b225bb: Pulling fs layer [2023-02-13T05:09:34.684Z] f23df028b6ca: Pulling fs layer [2023-02-13T05:09:34.684Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T05:09:34.684Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T05:09:34.684Z] 765212b225bb: Waiting [2023-02-13T05:09:34.684Z] f23df028b6ca: Waiting [2023-02-13T05:09:34.684Z] d65c8cfc05b1: Waiting [2023-02-13T05:09:34.684Z] 2437ff75d9bd: Waiting [2023-02-13T05:09:34.684Z] 04944245beec: Verifying Checksum [2023-02-13T05:09:34.684Z] 04944245beec: Download complete [2023-02-13T05:09:34.684Z] 765212b225bb: Verifying Checksum [2023-02-13T05:09:34.684Z] 765212b225bb: Download complete [2023-02-13T05:09:34.684Z] f23df028b6ca: Verifying Checksum [2023-02-13T05:09:34.684Z] f23df028b6ca: Download complete [2023-02-13T05:09:34.957Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T05:09:34.957Z] d65c8cfc05b1: Download complete [2023-02-13T05:09:34.957Z] 699f458cf7ca: Verifying Checksum [2023-02-13T05:09:34.957Z] 699f458cf7ca: Download complete [2023-02-13T05:09:35.551Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T05:09:35.551Z] 8998bd30e6a1: Download complete [2023-02-13T05:09:38.933Z] 2437ff75d9bd: Verifying Checksum [2023-02-13T05:09:38.933Z] 2437ff75d9bd: Download complete [2023-02-13T05:09:40.887Z] 8998bd30e6a1: Pull complete [2023-02-13T05:09:41.476Z] 04944245beec: Pull complete [2023-02-13T05:09:42.890Z] 699f458cf7ca: Pull complete [2023-02-13T05:09:42.890Z] 765212b225bb: Pull complete [2023-02-13T05:09:43.852Z] f23df028b6ca: Pull complete [2023-02-13T05:09:44.122Z] d65c8cfc05b1: Pull complete [2023-02-13T05:09:59.120Z] 2437ff75d9bd: Pull complete [2023-02-13T05:09:59.120Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T05:09:59.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T05:09:59.120Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:09:59.449Z] prd-ubuntu20.04-docker-arm64-4c-16g-5472 does not seem to be running inside a container [2023-02-13T05:09:59.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T05:10:02.240Z] $ docker top 4d6cc502b115070f02b77966eede45fe5a982ca26a8cefa59eca7019022a096f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:10:03.154Z] ---> job-cost.sh [2023-02-13T05:10:03.154Z] lf-activate-venv: SKIPPING [2023-02-13T05:10:03.154Z] INFO: No Stack... [2023-02-13T05:10:03.422Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T05:10:04.379Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T05:10:04.728Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-13T05:10:04.728Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T05:10:04.824Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1314-1-stack-cost] [2023-02-13T05:10:04.830Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1314-1-stack-cost] did not exist. Created. [2023-02-13T05:10:04.830Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1314-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T05:10:05.251Z] /w/workspace/device-sdk-go/1@tmp/durable-a2d16e75/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T05:10:06.187Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T05:10:06.222Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T05:10:06.680Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T05:10:06.697Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1314-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T05:10:06.780Z] $ docker stop --time=1 4d6cc502b115070f02b77966eede45fe5a982ca26a8cefa59eca7019022a096f [2023-02-13T05:10:08.274Z] $ docker rm -f --volumes 4d6cc502b115070f02b77966eede45fe5a982ca26a8cefa59eca7019022a096f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T05:10:09.083Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-13T05:10:10.913Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1314/archives ] [2023-02-13T05:10:10.913Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1314/archives [2023-02-13T05:10:10.913Z] total 16 [2023-02-13T05:10:10.913Z] drwxr-xr-x 3 root root 4096 Feb 13 05:02 . [2023-02-13T05:10:10.913Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 05:02 .. [2023-02-13T05:10:10.913Z] drwxr-xr-x 2 root root 4096 Feb 13 05:02 cost [2023-02-13T05:10:10.913Z] -rw-r--r-- 1 root root 86 Feb 13 05:02 cost.csv [2023-02-13T05:10:10.913Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1314/archives [2023-02-13T05:10:10.913Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1314/archives [2023-02-13T05:10:10.913Z] total 16 [2023-02-13T05:10:10.913Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 05:02 . [2023-02-13T05:10:10.913Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 05:02 .. [2023-02-13T05:10:10.913Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 05:02 cost [2023-02-13T05:10:10.913Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 13 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:10:11.243Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:10:12.143Z] ---> package-listing.sh [2023-02-13T05:10:12.143Z] ++ facter osfamily [2023-02-13T05:10:12.143Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T05:10:12.402Z] + OS_FAMILY=debian [2023-02-13T05:10:12.402Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1314 [2023-02-13T05:10:12.402Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T05:10:12.402Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T05:10:12.402Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T05:10:12.402Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T05:10:12.402Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1314 ']' [2023-02-13T05:10:12.402Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T05:10:12.402Z] + case "${OS_FAMILY}" in [2023-02-13T05:10:12.402Z] + dpkg -l [2023-02-13T05:10:12.402Z] + grep '^ii' [2023-02-13T05:10:12.402Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T05:10:12.402Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T05:10:12.402Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T05:10:12.402Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1314 ']' [2023-02-13T05:10:12.402Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1314/archives/ [2023-02-13T05:10:12.402Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1314/archives/ [Pipeline] echo [2023-02-13T05:10:12.434Z] 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-1314/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T05:10:12.729Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T05:10:13.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T05:10:13.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T05:10:13.505Z] prd-ubuntu20.04-docker-8c-8g-5470 does not seem to be running inside a container [2023-02-13T05:10:13.535Z] $ 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-1314/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-1314 -v /w/workspace/gexfoundry_device-sdk-go_PR-1314:/w/workspace/gexfoundry_device-sdk-go_PR-1314:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1314@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T05:10:13.706Z] $ docker top adbb12b19ecf6a33cdd133ee0bd89034aa801371c0a2c06247a456ca0f8a523c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T05:10:14.087Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T05:10:14.396Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T05:10:14.704Z] + ls /var/log/sa-host [2023-02-13T05:10:14.704Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T05:10:14.898Z] provisioning config files... [2023-02-13T05:10:14.906Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1314@tmp/config2973145000907371181tmp [Pipeline] { [Pipeline] echo [2023-02-13T05:10:14.966Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:10:15.276Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T05:10:15.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:10:15.711Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T05:10:15.746Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:10:16.059Z] ---> sudo-logs.sh [2023-02-13T05:10:16.059Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T05:10:16.153Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:10:16.470Z] ---> job-cost.sh [2023-02-13T05:10:16.470Z] lf-activate-venv: SKIPPING [2023-02-13T05:10:16.470Z] DEBUG: total: 0.2199999988079071 [2023-02-13T05:10:16.470Z] INFO: Retrieving Stack Cost... [2023-02-13T05:10:16.728Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T05:10:16.987Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T05:10:17.029Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T05:10:17.341Z] ---> logs-deploy.sh [2023-02-13T05:10:17.341Z] lf-activate-venv: SKIPPING [2023-02-13T05:10:17.341Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1314/1 [2023-02-13T05:10:17.341Z] INFO: archiving workspace using pattern(s): [2023-02-13T05:10:18.281Z] Archives upload complete. [2023-02-13T05:10:18.281Z] INFO: archiving logs to Nexus