Pull request #1311 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7b15996d0f48507d4852a74e8cb5987a03af1c96+d7de237c874a90e81091b377f7571cc3981ed0ab (b28e149143a9b452d861783653b7981fb33a122c) 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-ssh17504649103429196033.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-ssh2089468369594191912.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-1311/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-1311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh90093011305855388.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-1311/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5531561234045180898.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-ssh12637566185022990134.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-1311/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-1311/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh737098010871847538.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5298 in /w/workspace/gexfoundry_device-sdk-go_PR-1311 [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-1311 # 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/1311/head:refs/remotes/origin/PR-1311 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit 7b15996d0f48507d4852a74e8cb5987a03af1c96 Merge succeeded, producing 7b15996d0f48507d4852a74e8cb5987a03af1c96 Checking out Revision 7b15996d0f48507d4852a74e8cb5987a03af1c96 (PR-1311) 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-10T04:58:57.688Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 7b15996d0f48507d4852a74e8cb5987a03af1c96 # 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 7b15996d0f48507d4852a74e8cb5987a03af1c96 # timeout=10 [Pipeline] withCredentials [2023-02-10T04:58:57.859Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-10T04:58:57.956Z] ========================================================= [2023-02-10T04:58:57.956Z] EdgeX Global Pipelines Version Info [2023-02-10T04:58:57.956Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-10T04:58:58.675Z] ------------------- [2023-02-10T04:58:58.675Z] stable info: [2023-02-10T04:58:58.675Z] ------------------- [2023-02-10T04:58:58.675Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-10T04:58:58.675Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-10T04:58:58.675Z] Message: update stable to v1.0.244 [2023-02-10T04:58:59.245Z] ------------------- [2023-02-10T04:58:59.245Z] experimental info: [2023-02-10T04:58:59.245Z] ------------------- [2023-02-10T04:58:59.245Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-10T04:58:59.245Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-10T04:58:59.245Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-10T04:58:59.556Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-10T04:58:59.595Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-10T04:58:59.652Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-10T04:58:59.697Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-10T04:58:59.736Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-10T04:58:59.777Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-10T04:58:59.818Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-10T04:58:59.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-10T04:58:59.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-10T04:58:59.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-10T04:58:59.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-10T04:59:00.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-10T04:59:00.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-10T04:59:00.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-10T04:59:00.131Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-10T04:59:00.171Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-10T04:59:00.211Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-10T04:59:00.248Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-10T04:59:00.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-10T04:59:00.329Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-10T04:59:00.368Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-10T04:59:00.409Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-10T04:59:00.448Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-10T04:59:00.489Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-10T04:59:00.530Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-10T04:59:00.568Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-10T04:59:00.605Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-10T04:59:00.644Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1311 [Pipeline] echo [2023-02-10T04:59:00.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1311 [Pipeline] echo [2023-02-10T04:59:00.718Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1311 [Pipeline] echo [2023-02-10T04:59:00.758Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7b15996d0f48507d4852a74e8cb5987a03af1c96 [Pipeline] echo [2023-02-10T04:59:00.799Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7b15996 [Pipeline] echo [2023-02-10T04:59:00.839Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-10T04:59:00.954Z] provisioning config files... [2023-02-10T04:59:00.968Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/config4158872828222404856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T04:59:01.313Z] ---> docker-login.sh [2023-02-10T04:59:01.313Z] nexus3.edgexfoundry.org:10001 [2023-02-10T04:59:01.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T04:59:01.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T04:59:01.833Z] Configure a credential helper to remove this warning. See [2023-02-10T04:59:01.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T04:59:01.833Z] [2023-02-10T04:59:01.833Z] Login Succeeded [2023-02-10T04:59:01.833Z] nexus3.edgexfoundry.org:10002 [2023-02-10T04:59:01.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T04:59:01.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T04:59:01.833Z] Configure a credential helper to remove this warning. See [2023-02-10T04:59:01.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T04:59:01.833Z] [2023-02-10T04:59:01.833Z] Login Succeeded [2023-02-10T04:59:01.833Z] nexus3.edgexfoundry.org:10003 [2023-02-10T04:59:01.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T04:59:02.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T04:59:02.093Z] Configure a credential helper to remove this warning. See [2023-02-10T04:59:02.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T04:59:02.093Z] [2023-02-10T04:59:02.093Z] Login Succeeded [2023-02-10T04:59:02.093Z] nexus3.edgexfoundry.org:10004 [2023-02-10T04:59:02.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T04:59:02.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T04:59:02.093Z] Configure a credential helper to remove this warning. See [2023-02-10T04:59:02.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T04:59:02.093Z] [2023-02-10T04:59:02.093Z] Login Succeeded [2023-02-10T04:59:02.093Z] docker.io [2023-02-10T04:59:02.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T04:59:02.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T04:59:02.353Z] Configure a credential helper to remove this warning. See [2023-02-10T04:59:02.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T04:59:02.353Z] [2023-02-10T04:59:02.353Z] Login Succeeded [2023-02-10T04:59:02.353Z] ---> docker-login.sh ends [Pipeline] } [2023-02-10T04:59:02.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-10T04:59:03.034Z] + git rev-list -1 --merges 7b15996d0f48507d4852a74e8cb5987a03af1c96~1..7b15996d0f48507d4852a74e8cb5987a03af1c96 [Pipeline] echo [2023-02-10T04:59:03.099Z] -----------> git rev-list -1 --merges 7b15996d0f48507d4852a74e8cb5987a03af1c96~1..7b15996d0f48507d4852a74e8cb5987a03af1c96 7b15996d0f48507d4852a74e8cb5987a03af1c96 [false] [Pipeline] sh [2023-02-10T04:59:03.410Z] + git log --format=format:%s -1 7b15996d0f48507d4852a74e8cb5987a03af1c96 [Pipeline] echo [2023-02-10T04:59:03.445Z] ========================================================= [2023-02-10T04:59:03.445Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-10T04:59:03.445Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-10T04:59:03.877Z] + git log --format=format:%s -1 7b15996d0f48507d4852a74e8cb5987a03af1c96 [Pipeline] echo [2023-02-10T04:59:03.908Z] [semverPrep] GIT_COMMIT: 7b15996d0f48507d4852a74e8cb5987a03af1c96, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-10T04:59:03.933Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-10T04:59:04.319Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-10T04:59:04.319Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-10T04:59:04.319Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-10T04:59:04.319Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-10T04:59:04.319Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-10T04:59:04.319Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-10T04:59:04.319Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T04:59:04.795Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-10T04:59:04.795Z] [2023-02-10T04:59:04.795Z] 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-10T04:59:05.180Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-10T04:59:05.180Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-10T04:59:05.180Z] b85a868b505f: Pulling fs layer [2023-02-10T04:59:05.180Z] e2be974225ed: Pulling fs layer [2023-02-10T04:59:05.180Z] 339a4e72a1f5: Pulling fs layer [2023-02-10T04:59:05.180Z] 988bab9f4d93: Pulling fs layer [2023-02-10T04:59:05.180Z] 1469e6f7b9e6: Pulling fs layer [2023-02-10T04:59:05.180Z] eaf3925da568: Pulling fs layer [2023-02-10T04:59:05.180Z] bab4dde63d76: Pulling fs layer [2023-02-10T04:59:05.180Z] bde34c3a00c8: Pulling fs layer [2023-02-10T04:59:05.180Z] b352a97aabf1: Pulling fs layer [2023-02-10T04:59:05.180Z] 4872d77fe225: Pulling fs layer [2023-02-10T04:59:05.180Z] 5851b861e8e6: Pulling fs layer [2023-02-10T04:59:05.180Z] 988bab9f4d93: Waiting [2023-02-10T04:59:05.180Z] 1469e6f7b9e6: Waiting [2023-02-10T04:59:05.180Z] 4872d77fe225: Waiting [2023-02-10T04:59:05.180Z] b352a97aabf1: Waiting [2023-02-10T04:59:05.180Z] bde34c3a00c8: Waiting [2023-02-10T04:59:05.180Z] bab4dde63d76: Waiting [2023-02-10T04:59:05.180Z] 5851b861e8e6: Waiting [2023-02-10T04:59:05.180Z] e2be974225ed: Download complete [2023-02-10T04:59:05.442Z] 988bab9f4d93: Verifying Checksum [2023-02-10T04:59:05.442Z] 988bab9f4d93: Download complete [2023-02-10T04:59:05.442Z] 339a4e72a1f5: Verifying Checksum [2023-02-10T04:59:05.442Z] 339a4e72a1f5: Download complete [2023-02-10T04:59:05.442Z] 1469e6f7b9e6: Verifying Checksum [2023-02-10T04:59:05.442Z] 1469e6f7b9e6: Download complete [2023-02-10T04:59:05.442Z] eaf3925da568: Verifying Checksum [2023-02-10T04:59:05.442Z] eaf3925da568: Download complete [2023-02-10T04:59:05.442Z] bde34c3a00c8: Verifying Checksum [2023-02-10T04:59:05.442Z] bde34c3a00c8: Download complete [2023-02-10T04:59:05.701Z] b352a97aabf1: Verifying Checksum [2023-02-10T04:59:05.701Z] b352a97aabf1: Download complete [2023-02-10T04:59:05.701Z] 5851b861e8e6: Download complete [2023-02-10T04:59:05.701Z] b85a868b505f: Verifying Checksum [2023-02-10T04:59:05.701Z] b85a868b505f: Download complete [2023-02-10T04:59:06.270Z] bab4dde63d76: Verifying Checksum [2023-02-10T04:59:06.270Z] bab4dde63d76: Download complete [2023-02-10T04:59:07.210Z] b85a868b505f: Pull complete [2023-02-10T04:59:07.210Z] e2be974225ed: Pull complete [2023-02-10T04:59:07.781Z] 339a4e72a1f5: Pull complete [2023-02-10T04:59:07.781Z] 988bab9f4d93: Pull complete [2023-02-10T04:59:08.041Z] 1469e6f7b9e6: Pull complete [2023-02-10T04:59:08.041Z] eaf3925da568: Pull complete [2023-02-10T04:59:09.949Z] bab4dde63d76: Pull complete [2023-02-10T04:59:09.949Z] bde34c3a00c8: Pull complete [2023-02-10T04:59:09.949Z] b352a97aabf1: Pull complete [2023-02-10T04:59:09.949Z] 4872d77fe225: Pull complete [2023-02-10T04:59:09.949Z] 5851b861e8e6: Pull complete [2023-02-10T04:59:09.949Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-10T04:59:09.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-10T04:59:09.949Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T04:59:10.192Z] prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container [2023-02-10T04:59:10.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1311 -v /w/workspace/gexfoundry_device-sdk-go_PR-1311:/w/workspace/gexfoundry_device-sdk-go_PR-1311:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-10T04:59:11.472Z] $ docker top 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 -eo pid,comm [2023-02-10T04:59:11.528Z] 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-10T04:59:11.528Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-10T04:59:11.657Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-10T04:59:11.657Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-10T04:59:11.764Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-10T04:59:11.768Z] $ docker exec 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 ssh-agent [2023-02-10T04:59:11.879Z] SSH_AUTH_SOCK=/tmp/ssh-sRBO67JvsvMo/agent.31 [2023-02-10T04:59:11.879Z] SSH_AGENT_PID=37 [2023-02-10T04:59:11.885Z] Running ssh-add (command line suppressed) [2023-02-10T04:59:11.988Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/private_key_5042086861710931217.key (/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/private_key_5042086861710931217.key) [2023-02-10T04:59:12.002Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-10T04:59:12.339Z] + git tag --points-at HEAD [Pipeline] } [2023-02-10T04:59:12.368Z] $ docker exec --env ******** --env ******** 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 ssh-agent -k [2023-02-10T04:59:12.464Z] unset SSH_AUTH_SOCK; [2023-02-10T04:59:12.465Z] unset SSH_AGENT_PID; [2023-02-10T04:59:12.465Z] echo Agent pid 37 killed; [2023-02-10T04:59:12.474Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-10T04:59:12.565Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-10T04:59:12.565Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-10T04:59:12.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-10T04:59:12.684Z] $ docker exec 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 ssh-agent [2023-02-10T04:59:12.782Z] SSH_AUTH_SOCK=/tmp/ssh-27X1l9qVvoA3/agent.69 [2023-02-10T04:59:12.782Z] SSH_AGENT_PID=75 [2023-02-10T04:59:12.787Z] Running ssh-add (command line suppressed) [2023-02-10T04:59:12.899Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/private_key_11269369890916087686.key (/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/private_key_11269369890916087686.key) [2023-02-10T04:59:12.911Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-10T04:59:13.245Z] + git semver init [2023-02-10T04:59:13.504Z] 2023-02-10 04:59:13,425 [run_init] DEBUG init version:0.0.0 force:False [2023-02-10T04:59:13.504Z] 2023-02-10 04:59:13,426 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver [2023-02-10T04:59:13.504Z] 2023-02-10 04:59:13,426 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver [2023-02-10T04:59:13.504Z] 2023-02-10 04:59:13,426 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1311, universal_newlines=False, shell=None, istream=None) [2023-02-10T04:59:14.444Z] 2023-02-10 04:59:14,381 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1311/.git/info/exclude [2023-02-10T04:59:14.444Z] 2023-02-10 04:59:14,382 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver/PR-1311 with force:False [2023-02-10T04:59:14.444Z] 2023-02-10 04:59:14,382 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver/PR-1311 [2023-02-10T04:59:14.444Z] 2023-02-10 04:59:14,386 [execute] INFO git cat-file --batch-check [2023-02-10T04:59:14.444Z] 2023-02-10 04:59:14,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver, universal_newlines=False, shell=None, istream=) [2023-02-10T04:59:14.444Z] 2023-02-10 04:59:14,393 [execute] INFO git cat-file --batch [2023-02-10T04:59:14.444Z] 2023-02-10 04:59:14,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver, universal_newlines=False, shell=None, istream=) [2023-02-10T04:59:14.444Z] 2023-02-10 04:59:14,398 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1311/.semver/PR-1311 [2023-02-10T04:59:14.444Z] 0.0.0 [Pipeline] } [2023-02-10T04:59:14.480Z] $ docker exec --env ******** --env ******** 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 ssh-agent -k [2023-02-10T04:59:14.575Z] unset SSH_AUTH_SOCK; [2023-02-10T04:59:14.575Z] unset SSH_AGENT_PID; [2023-02-10T04:59:14.575Z] echo Agent pid 75 killed; [2023-02-10T04:59:14.585Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-10T04:59:15.011Z] + git semver [Pipeline] } [2023-02-10T04:59:15.300Z] $ docker stop --time=1 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 [2023-02-10T04:59:16.611Z] $ docker rm -f --volumes 187d33551a11ec07e9c64d280016c9a01b93d076cfbef097e2cf56abebbdc159 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-10T04:59:16.997Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-10T04:59:17.257Z] Stashed 1 file(s) [Pipeline] echo [2023-02-10T04:59:17.275Z] [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-10T04:59:17.890Z] provisioning config files... [2023-02-10T04:59:17.899Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/config5185019599727221996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T04:59:18.255Z] ---> docker-login.sh [2023-02-10T04:59:18.255Z] nexus3.edgexfoundry.org:10001 [2023-02-10T04:59:18.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T04:59:18.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T04:59:18.514Z] Configure a credential helper to remove this warning. See [2023-02-10T04:59:18.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T04:59:18.514Z] [2023-02-10T04:59:18.514Z] Login Succeeded [2023-02-10T04:59:18.514Z] nexus3.edgexfoundry.org:10002 [2023-02-10T04:59:18.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T04:59:18.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T04:59:18.773Z] Configure a credential helper to remove this warning. See [2023-02-10T04:59:18.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T04:59:18.773Z] [2023-02-10T04:59:18.773Z] Login Succeeded [2023-02-10T04:59:18.773Z] nexus3.edgexfoundry.org:10003 [2023-02-10T04:59:18.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T04:59:18.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T04:59:18.773Z] Configure a credential helper to remove this warning. See [2023-02-10T04:59:18.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T04:59:18.773Z] [2023-02-10T04:59:18.773Z] Login Succeeded [2023-02-10T04:59:18.773Z] nexus3.edgexfoundry.org:10004 [2023-02-10T04:59:19.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T04:59:19.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T04:59:19.033Z] Configure a credential helper to remove this warning. See [2023-02-10T04:59:19.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T04:59:19.033Z] [2023-02-10T04:59:19.033Z] Login Succeeded [2023-02-10T04:59:19.033Z] docker.io [2023-02-10T04:59:19.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T04:59:19.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T04:59:19.291Z] Configure a credential helper to remove this warning. See [2023-02-10T04:59:19.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T04:59:19.291Z] [2023-02-10T04:59:19.291Z] Login Succeeded [2023-02-10T04:59:19.291Z] ---> docker-login.sh ends [Pipeline] } [2023-02-10T04:59:19.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-10T04:59:19.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T04:59:19.549Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T04:59:19.579Z] ========================================================= [2023-02-10T04:59:19.579Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-10T04:59:19.579Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T04:59:20.041Z] + 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-10T04:59:20.041Z] Sending build context to Docker daemon 10.53MB [2023-02-10T04:59:20.041Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-10T04:59:20.041Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-10T04:59:20.041Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-10T04:59:20.041Z] 213ec9aee27d: Pulling fs layer [2023-02-10T04:59:20.041Z] 4583459ba037: Pulling fs layer [2023-02-10T04:59:20.041Z] 93c1e223e6f2: Pulling fs layer [2023-02-10T04:59:20.041Z] 53926ce57604: Pulling fs layer [2023-02-10T04:59:20.041Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-10T04:59:20.041Z] 22ff95d597cd: Pulling fs layer [2023-02-10T04:59:20.041Z] 12d6caf4c0d1: Pulling fs layer [2023-02-10T04:59:20.041Z] 96b7cbca73a9: Pulling fs layer [2023-02-10T04:59:20.041Z] a7acece74701: Pulling fs layer [2023-02-10T04:59:20.041Z] 21b2b0c7a3f4: Waiting [2023-02-10T04:59:20.041Z] 22ff95d597cd: Waiting [2023-02-10T04:59:20.041Z] a7acece74701: Waiting [2023-02-10T04:59:20.041Z] 12d6caf4c0d1: Waiting [2023-02-10T04:59:20.041Z] 96b7cbca73a9: Waiting [2023-02-10T04:59:20.041Z] 53926ce57604: Waiting [2023-02-10T04:59:20.041Z] 93c1e223e6f2: Verifying Checksum [2023-02-10T04:59:20.041Z] 93c1e223e6f2: Download complete [2023-02-10T04:59:20.305Z] 4583459ba037: Verifying Checksum [2023-02-10T04:59:20.305Z] 4583459ba037: Download complete [2023-02-10T04:59:20.305Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-10T04:59:20.305Z] 21b2b0c7a3f4: Download complete [2023-02-10T04:59:20.305Z] 22ff95d597cd: Download complete [2023-02-10T04:59:20.305Z] 213ec9aee27d: Verifying Checksum [2023-02-10T04:59:20.305Z] 213ec9aee27d: Download complete [2023-02-10T04:59:20.305Z] 12d6caf4c0d1: Download complete [2023-02-10T04:59:20.575Z] 213ec9aee27d: Pull complete [2023-02-10T04:59:20.575Z] 4583459ba037: Pull complete [2023-02-10T04:59:20.575Z] 93c1e223e6f2: Pull complete [2023-02-10T04:59:21.598Z] 53926ce57604: Verifying Checksum [2023-02-10T04:59:21.598Z] 53926ce57604: Download complete [2023-02-10T04:59:21.598Z] a7acece74701: Verifying Checksum [2023-02-10T04:59:21.857Z] 96b7cbca73a9: Verifying Checksum [2023-02-10T04:59:21.857Z] 96b7cbca73a9: Download complete [2023-02-10T04:59:25.141Z] 53926ce57604: Pull complete [2023-02-10T04:59:25.141Z] 21b2b0c7a3f4: Pull complete [2023-02-10T04:59:25.141Z] 22ff95d597cd: Pull complete [2023-02-10T04:59:25.399Z] 12d6caf4c0d1: Pull complete [2023-02-10T04:59:27.301Z] 96b7cbca73a9: Pull complete [2023-02-10T04:59:28.231Z] a7acece74701: Pull complete [2023-02-10T04:59:28.231Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-10T04:59:28.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-10T04:59:28.231Z] ---> db6d94c90886 [2023-02-10T04:59:28.231Z] Step 3/10 : ARG MAKE=make build [2023-02-10T04:59:29.609Z] ---> Running in 440115afb15b [2023-02-10T04:59:29.869Z] Removing intermediate container 440115afb15b [2023-02-10T04:59:29.869Z] ---> c72fd8e77083 [2023-02-10T04:59:29.869Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-10T04:59:29.869Z] ---> Running in aacecb7d486d [2023-02-10T04:59:29.869Z] Removing intermediate container aacecb7d486d [2023-02-10T04:59:29.869Z] ---> 2008260ec60e [2023-02-10T04:59:29.869Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-10T04:59:29.869Z] ---> Running in c0c363259b3b [2023-02-10T04:59:30.127Z] Removing intermediate container c0c363259b3b [2023-02-10T04:59:30.127Z] ---> 2e10765fe8cc [2023-02-10T04:59:30.127Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-10T04:59:30.127Z] ---> Running in 38adddedd31c [2023-02-10T04:59:30.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-10T04:59:30.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-10T04:59:30.904Z] OK: 211 MiB in 51 packages [2023-02-10T04:59:31.163Z] Removing intermediate container 38adddedd31c [2023-02-10T04:59:31.163Z] ---> 5e4c2e36b18a [2023-02-10T04:59:31.163Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-10T04:59:31.163Z] ---> 45d744b107a9 [2023-02-10T04:59:31.163Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-10T04:59:31.163Z] ---> Running in 65ee6c47abe8 [2023-02-10T04:59:32.708Z] Still waiting to schedule task [2023-02-10T04:59:32.709Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-10T05:00:17.857Z] Removing intermediate container 65ee6c47abe8 [2023-02-10T05:00:17.857Z] ---> 3609bda5a83d [2023-02-10T05:00:17.857Z] Step 9/10 : COPY . . [2023-02-10T05:00:17.857Z] ---> f39eaa15749c [2023-02-10T05:00:17.857Z] Step 10/10 : RUN ${MAKE} [2023-02-10T05:00:17.857Z] ---> Running in 15b0e5c3d234 [2023-02-10T05:00:17.857Z] noop [2023-02-10T05:00:17.857Z] Removing intermediate container 15b0e5c3d234 [2023-02-10T05:00:17.857Z] ---> f2942a10d160 [2023-02-10T05:00:17.857Z] Successfully built f2942a10d160 [2023-02-10T05:00:17.857Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T05:00:18.308Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-10T05:00:18.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T05:00:18.456Z] prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container [2023-02-10T05:00:18.488Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1311 -v /w/workspace/gexfoundry_device-sdk-go_PR-1311:/w/workspace/gexfoundry_device-sdk-go_PR-1311:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-10T05:00:18.834Z] $ docker top e8e2b8b762f26a7473884cc4b447ee719db6dc9b1ef62667cbeecfb3d1f8ac1f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T05:00:19.213Z] + go version [2023-02-10T05:00:19.213Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-10T05:00:19.244Z] $ docker stop --time=1 e8e2b8b762f26a7473884cc4b447ee719db6dc9b1ef62667cbeecfb3d1f8ac1f [2023-02-10T05:00:20.528Z] $ docker rm -f --volumes e8e2b8b762f26a7473884cc4b447ee719db6dc9b1ef62667cbeecfb3d1f8ac1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T05:00:21.251Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-10T05:00:21.251Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T05:00:21.408Z] prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container [2023-02-10T05:00:21.435Z] $ 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-1311 -v /w/workspace/gexfoundry_device-sdk-go_PR-1311:/w/workspace/gexfoundry_device-sdk-go_PR-1311:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-10T05:00:21.775Z] $ docker top f05c33c8fef28e121fd850e50874bd2f1e3a8866fcf036e36ba64a611ff298ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T05:00:22.163Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1311 [Pipeline] fileExists [Pipeline] sh [2023-02-10T05:00:22.526Z] + make test [2023-02-10T05:00:22.526Z] go test -race -coverprofile=coverage.out ./... [2023-02-10T05:00:29.085Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-10T05:00:41.281Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-10T05:00:41.281Z] internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd [2023-02-10T05:00:41.281Z] internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate [2023-02-10T05:00:41.281Z] internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete [2023-02-10T05:00:41.541Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements [2023-02-10T05:00:41.541Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.052s coverage: 78.9% of statements [2023-02-10T05:00:41.541Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.085s coverage: 77.8% of statements [2023-02-10T05:00:42.106Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 59.8% of statements [2023-02-10T05:00:42.106Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.107s coverage: 65.2% of statements [2023-02-10T05:00:42.106Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.735s coverage: 89.2% of statements [2023-02-10T05:00:42.106Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-02-10T05:00:42.106Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-10T05:00:42.159Z] $ docker stop --time=1 f05c33c8fef28e121fd850e50874bd2f1e3a8866fcf036e36ba64a611ff298ff [2023-02-10T05:00:44.489Z] $ docker rm -f --volumes f05c33c8fef28e121fd850e50874bd2f1e3a8866fcf036e36ba64a611ff298ff [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-10T05:00:45.669Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-10T05:00:45.670Z] [2023-02-10T05:00:45.670Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T05:00:46.045Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-10T05:00:46.623Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-10T05:00:46.623Z] 5eb5b503b376: Pulling fs layer [2023-02-10T05:00:46.623Z] 5c69ac0246d0: Pulling fs layer [2023-02-10T05:00:46.623Z] ec43610c2a17: Pulling fs layer [2023-02-10T05:00:46.623Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-10T05:00:46.623Z] 33b1e0a273af: Pulling fs layer [2023-02-10T05:00:46.623Z] 5d3b04190fa2: Pulling fs layer [2023-02-10T05:00:46.623Z] 2f39f015ded8: Pulling fs layer [2023-02-10T05:00:46.623Z] 3a2ae6a8a46f: Waiting [2023-02-10T05:00:46.623Z] 2f39f015ded8: Waiting [2023-02-10T05:00:46.890Z] 5c69ac0246d0: Verifying Checksum [2023-02-10T05:00:46.890Z] 5c69ac0246d0: Download complete [2023-02-10T05:00:46.890Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-10T05:00:46.890Z] 3a2ae6a8a46f: Download complete [2023-02-10T05:00:46.890Z] ec43610c2a17: Verifying Checksum [2023-02-10T05:00:46.890Z] ec43610c2a17: Download complete [2023-02-10T05:00:47.151Z] 33b1e0a273af: Download complete [2023-02-10T05:00:47.151Z] 5d3b04190fa2: Verifying Checksum [2023-02-10T05:00:47.151Z] 5d3b04190fa2: Download complete [2023-02-10T05:00:47.151Z] 5eb5b503b376: Verifying Checksum [2023-02-10T05:00:47.151Z] 5eb5b503b376: Download complete [2023-02-10T05:00:48.085Z] 2f39f015ded8: Download complete [2023-02-10T05:00:48.345Z] 5eb5b503b376: Pull complete [2023-02-10T05:00:48.603Z] 5c69ac0246d0: Pull complete [2023-02-10T05:00:48.862Z] ec43610c2a17: Pull complete [2023-02-10T05:00:49.121Z] 3a2ae6a8a46f: Pull complete [2023-02-10T05:00:49.380Z] 33b1e0a273af: Pull complete [2023-02-10T05:00:49.380Z] 5d3b04190fa2: Pull complete [2023-02-10T05:00:53.569Z] 2f39f015ded8: Pull complete [2023-02-10T05:00:53.569Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-10T05:00:53.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-10T05:00:53.569Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T05:00:53.783Z] prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container [2023-02-10T05:00:53.851Z] $ 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-1311 -v /w/workspace/gexfoundry_device-sdk-go_PR-1311:/w/workspace/gexfoundry_device-sdk-go_PR-1311:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-10T05:00:55.789Z] $ docker top 00aab2bb8b309d2f8f791e257d20060848344adde57c6c97190ffe0d82cbdd2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T05:00:56.315Z] ---> job-cost.sh [2023-02-10T05:00:56.315Z] lf-activate-venv: SKIPPING [2023-02-10T05:00:56.315Z] INFO: No Stack... [2023-02-10T05:00:56.575Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-10T05:00:56.872Z] INFO: Archiving Costs [Pipeline] sh [2023-02-10T05:00:57.189Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives/cost.csv [2023-02-10T05:00:57.189Z] + cut -d, -f6 [Pipeline] lock [2023-02-10T05:00:57.229Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] [2023-02-10T05:00:57.234Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] did not exist. Created. [2023-02-10T05:00:57.234Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-10T05:00:57.623Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-10T05:00:57.683Z] Stashed 1 file(s) [Pipeline] } [2023-02-10T05:00:57.701Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-10T05:00:57.785Z] $ docker stop --time=1 00aab2bb8b309d2f8f791e257d20060848344adde57c6c97190ffe0d82cbdd2d [2023-02-10T05:00:58.937Z] $ docker rm -f --volumes 00aab2bb8b309d2f8f791e257d20060848344adde57c6c97190ffe0d82cbdd2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-10T05:00:59.290Z] Failed in branch amd64 [2023-02-10T05:01:02.950Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5299 in /w/workspace/gexfoundry_device-sdk-go_PR-1311 [Pipeline] { [Pipeline] ws [2023-02-10T05:01:03.003Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-10T05:01:03.079Z] The recommended git tool is: git [2023-02-10T05:01:08.729Z] using credential edgex-jenkins-ssh [2023-02-10T05:01:08.749Z] Cloning the remote Git repository [2023-02-10T05:01:08.790Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-10T05:01:08.846Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-10T05:01:08.973Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-10T05:01:08.973Z] > git --version # timeout=10 [2023-02-10T05:01:08.992Z] > git --version # 'git version 2.25.1' [2023-02-10T05:01:08.994Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-10T05:01:09.043Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-10T05:01:10.619Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-10T05:01:10.635Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-10T05:01:11.409Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-10T05:01:11.453Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-10T05:01:11.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-10T05:01:11.468Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1311/head:refs/remotes/origin/PR-1311 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-10T05:01:12.063Z] Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit 7b15996d0f48507d4852a74e8cb5987a03af1c96 [2023-02-10T05:01:12.299Z] Merge succeeded, producing 7b15996d0f48507d4852a74e8cb5987a03af1c96 [2023-02-10T05:01:12.300Z] Checking out Revision 7b15996d0f48507d4852a74e8cb5987a03af1c96 (PR-1311) [2023-02-10T05:01:12.803Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-02-10T05:01:12.855Z] > git --version # timeout=10 [2023-02-10T05:01:12.865Z] > git --version # 'git version 2.25.1' [2023-02-10T05:01:12.881Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-10T05:01:12.083Z] > git config core.sparsecheckout # timeout=10 [2023-02-10T05:01:12.102Z] > git checkout -f 7b15996d0f48507d4852a74e8cb5987a03af1c96 # timeout=10 [2023-02-10T05:01:12.205Z] > git remote # timeout=10 [2023-02-10T05:01:12.223Z] > git config --get remote.origin.url # timeout=10 [2023-02-10T05:01:12.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-10T05:01:12.259Z] > git merge d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 [2023-02-10T05:01:12.285Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-10T05:01:12.308Z] > git config core.sparsecheckout # timeout=10 [2023-02-10T05:01:12.324Z] > git checkout -f 7b15996d0f48507d4852a74e8cb5987a03af1c96 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-10T05:01:14.016Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-10T05:01:14.016Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-10T05:01:14.016Z] Dload Upload Total Spent Left Speed [2023-02-10T05:01:14.016Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-02-10T05:01:14.856Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-10T05:01:15.197Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-10T05:01:15.198Z] + sudo tee /etc/docker/daemon.new [2023-02-10T05:01:15.198Z] { [2023-02-10T05:01:15.198Z] "registry-mirrors": [ [2023-02-10T05:01:15.198Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-10T05:01:15.198Z] ], [2023-02-10T05:01:15.198Z] "bip": "10.250.0.254/24", [2023-02-10T05:01:15.198Z] "hosts": [ [2023-02-10T05:01:15.198Z] "tcp://0.0.0.0:5555", [2023-02-10T05:01:15.198Z] "unix:///var/run/docker.sock" [2023-02-10T05:01:15.198Z] ], [2023-02-10T05:01:15.198Z] "mtu": 1458, [2023-02-10T05:01:15.198Z] "selinux-enabled": true, [2023-02-10T05:01:15.198Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-10T05:01:15.198Z] } [Pipeline] sh [2023-02-10T05:01:15.542Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-10T05:01:15.890Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-10T05:01:34.201Z] provisioning config files... [2023-02-10T05:01:34.227Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9923303763653897812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T05:01:34.598Z] ---> docker-login.sh [2023-02-10T05:01:34.598Z] nexus3.edgexfoundry.org:10001 [2023-02-10T05:01:34.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T05:01:35.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T05:01:35.139Z] Configure a credential helper to remove this warning. See [2023-02-10T05:01:35.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T05:01:35.139Z] [2023-02-10T05:01:35.139Z] Login Succeeded [2023-02-10T05:01:35.139Z] nexus3.edgexfoundry.org:10002 [2023-02-10T05:01:35.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T05:01:35.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T05:01:35.411Z] Configure a credential helper to remove this warning. See [2023-02-10T05:01:35.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T05:01:35.411Z] [2023-02-10T05:01:35.411Z] Login Succeeded [2023-02-10T05:01:35.411Z] nexus3.edgexfoundry.org:10003 [2023-02-10T05:01:35.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T05:01:35.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T05:01:35.952Z] Configure a credential helper to remove this warning. See [2023-02-10T05:01:35.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T05:01:35.952Z] [2023-02-10T05:01:35.952Z] Login Succeeded [2023-02-10T05:01:35.952Z] nexus3.edgexfoundry.org:10004 [2023-02-10T05:01:36.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T05:01:36.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T05:01:36.223Z] Configure a credential helper to remove this warning. See [2023-02-10T05:01:36.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T05:01:36.223Z] [2023-02-10T05:01:36.223Z] Login Succeeded [2023-02-10T05:01:36.223Z] docker.io [2023-02-10T05:01:36.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-10T05:01:36.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-10T05:01:36.758Z] Configure a credential helper to remove this warning. See [2023-02-10T05:01:36.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-10T05:01:36.758Z] [2023-02-10T05:01:36.758Z] Login Succeeded [2023-02-10T05:01:36.758Z] ---> docker-login.sh ends [Pipeline] } [2023-02-10T05:01:36.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-10T05:01:37.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T05:01:37.128Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-10T05:01:37.159Z] ========================================================= [2023-02-10T05:01:37.159Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-10T05:01:37.159Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T05:01:37.647Z] + 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-10T05:01:37.917Z] Sending build context to Docker daemon 5.654MB [2023-02-10T05:01:37.917Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-10T05:01:37.917Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-10T05:01:38.189Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-10T05:01:38.189Z] 9b18e9b68314: Pulling fs layer [2023-02-10T05:01:38.189Z] 35d82f9e3411: Pulling fs layer [2023-02-10T05:01:38.189Z] e16973657156: Pulling fs layer [2023-02-10T05:01:38.189Z] fc693d55d65f: Pulling fs layer [2023-02-10T05:01:38.189Z] 7e9fc2657dce: Pulling fs layer [2023-02-10T05:01:38.189Z] dda99020689f: Pulling fs layer [2023-02-10T05:01:38.189Z] db1c61fa0a46: Pulling fs layer [2023-02-10T05:01:38.189Z] 891c053d2c06: Pulling fs layer [2023-02-10T05:01:38.189Z] fc693d55d65f: Waiting [2023-02-10T05:01:38.189Z] 7e9fc2657dce: Waiting [2023-02-10T05:01:38.189Z] 891c053d2c06: Waiting [2023-02-10T05:01:38.189Z] db1c61fa0a46: Waiting [2023-02-10T05:01:38.189Z] dda99020689f: Waiting [2023-02-10T05:01:38.189Z] e16973657156: Verifying Checksum [2023-02-10T05:01:38.189Z] e16973657156: Download complete [2023-02-10T05:01:38.459Z] 35d82f9e3411: Verifying Checksum [2023-02-10T05:01:38.459Z] 35d82f9e3411: Download complete [2023-02-10T05:01:38.459Z] 7e9fc2657dce: Download complete [2023-02-10T05:01:38.459Z] dda99020689f: Verifying Checksum [2023-02-10T05:01:38.459Z] dda99020689f: Download complete [2023-02-10T05:01:38.459Z] 9b18e9b68314: Verifying Checksum [2023-02-10T05:01:38.459Z] 9b18e9b68314: Download complete [2023-02-10T05:01:39.433Z] 9b18e9b68314: Pull complete [2023-02-10T05:01:39.433Z] 891c053d2c06: Verifying Checksum [2023-02-10T05:01:39.433Z] 891c053d2c06: Download complete [2023-02-10T05:01:40.019Z] 35d82f9e3411: Pull complete [2023-02-10T05:01:40.289Z] e16973657156: Pull complete [2023-02-10T05:01:40.557Z] db1c61fa0a46: Verifying Checksum [2023-02-10T05:01:40.557Z] db1c61fa0a46: Download complete [2023-02-10T05:01:41.146Z] fc693d55d65f: Verifying Checksum [2023-02-10T05:01:41.146Z] fc693d55d65f: Download complete [2023-02-10T05:01:53.480Z] fc693d55d65f: Pull complete [2023-02-10T05:01:53.480Z] 7e9fc2657dce: Pull complete [2023-02-10T05:01:53.480Z] dda99020689f: Pull complete [2023-02-10T05:01:58.835Z] db1c61fa0a46: Pull complete [2023-02-10T05:02:00.780Z] 891c053d2c06: Pull complete [2023-02-10T05:02:01.047Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-10T05:02:01.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-10T05:02:01.047Z] ---> f96f9c87975a [2023-02-10T05:02:01.047Z] Step 3/10 : ARG MAKE=make build [2023-02-10T05:02:02.992Z] ---> Running in 04fe2fca8c51 [2023-02-10T05:02:02.992Z] Removing intermediate container 04fe2fca8c51 [2023-02-10T05:02:02.992Z] ---> fb2c1ee7ccd4 [2023-02-10T05:02:02.992Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-10T05:02:02.992Z] ---> Running in 28d64a4fb534 [2023-02-10T05:02:03.262Z] Removing intermediate container 28d64a4fb534 [2023-02-10T05:02:03.262Z] ---> 6db3304440cd [2023-02-10T05:02:03.262Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-10T05:02:03.531Z] ---> Running in 703fccece90c [2023-02-10T05:02:03.800Z] Removing intermediate container 703fccece90c [2023-02-10T05:02:03.800Z] ---> eca099a2fea3 [2023-02-10T05:02:03.800Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-10T05:02:03.800Z] ---> Running in 0c799c00e368 [2023-02-10T05:02:05.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-10T05:02:05.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-10T05:02:06.181Z] OK: 221 MiB in 51 packages [2023-02-10T05:02:06.766Z] Removing intermediate container 0c799c00e368 [2023-02-10T05:02:06.766Z] ---> 67794629871e [2023-02-10T05:02:06.766Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-10T05:02:07.357Z] ---> a2b94836e98b [2023-02-10T05:02:07.357Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-10T05:02:07.357Z] ---> Running in 7dbbf3b7b42d [2023-02-10T05:03:15.217Z] Removing intermediate container 7dbbf3b7b42d [2023-02-10T05:03:15.217Z] ---> 030e4f7f03e7 [2023-02-10T05:03:15.217Z] Step 9/10 : COPY . . [2023-02-10T05:03:15.217Z] ---> a691cb3f0f81 [2023-02-10T05:03:15.217Z] Step 10/10 : RUN ${MAKE} [2023-02-10T05:03:15.217Z] ---> Running in 6a0ae97a2ae2 [2023-02-10T05:03:15.217Z] noop [2023-02-10T05:03:15.217Z] Removing intermediate container 6a0ae97a2ae2 [2023-02-10T05:03:15.217Z] ---> 44a6b3888519 [2023-02-10T05:03:15.217Z] Successfully built 44a6b3888519 [2023-02-10T05:03:15.217Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T05:03:15.688Z] + docker inspect -f . ci-base-image-arm64 [2023-02-10T05:03:15.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T05:03:15.928Z] prd-ubuntu20.04-docker-arm64-4c-16g-5299 does not seem to be running inside a container [2023-02-10T05:03:15.984Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-10T05:03:17.109Z] $ docker top 4c1ca668f318b7670a66bb5cfd74eb2204a683561ff6ca4ce81da7619bb35209 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T05:03:17.969Z] + go version [2023-02-10T05:03:17.969Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-10T05:03:18.003Z] $ docker stop --time=1 4c1ca668f318b7670a66bb5cfd74eb2204a683561ff6ca4ce81da7619bb35209 [2023-02-10T05:03:19.562Z] $ docker rm -f --volumes 4c1ca668f318b7670a66bb5cfd74eb2204a683561ff6ca4ce81da7619bb35209 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T05:03:20.376Z] + docker inspect -f . ci-base-image-arm64 [2023-02-10T05:03:20.376Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T05:03:20.618Z] prd-ubuntu20.04-docker-arm64-4c-16g-5299 does not seem to be running inside a container [2023-02-10T05:03:20.676Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-10T05:03:21.830Z] $ docker top 29087298fd7f21ff0fd6a4c1b7642a94c09bdf6513dd57f913e4634bc41216ee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T05:03:22.376Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-10T05:03:22.759Z] + make test [2023-02-10T05:03:22.759Z] go test -race -coverprofile=coverage.out ./... [2023-02-10T05:03:54.980Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-10T05:05:33.172Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [2023-02-10T05:05:33.172Z] internal/controller/messaging/callback.go:83:17: undefined: common.DeviceSystemEventActionAdd [2023-02-10T05:05:33.172Z] internal/controller/messaging/callback.go:88:17: undefined: common.DeviceSystemEventActionUpdate [2023-02-10T05:05:33.172Z] internal/controller/messaging/callback.go:95:17: undefined: common.DeviceSystemEventActionDelete [2023-02-10T05:05:43.233Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.638s coverage: 27.6% of statements [2023-02-10T05:05:43.233Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.863s coverage: 78.9% of statements [2023-02-10T05:05:48.584Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.414s coverage: 77.8% of statements [2023-02-10T05:05:51.947Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.440s coverage: 59.8% of statements [2023-02-10T05:05:51.947Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.633s coverage: 65.2% of statements [2023-02-10T05:05:51.948Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.633s coverage: 89.2% of statements [2023-02-10T05:05:51.948Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-02-10T05:05:52.214Z] make: *** [Makefile:35: unittest] Error 2 [Pipeline] } [2023-02-10T05:05:52.259Z] $ docker stop --time=1 29087298fd7f21ff0fd6a4c1b7642a94c09bdf6513dd57f913e4634bc41216ee [2023-02-10T05:05:54.170Z] $ docker rm -f --volumes 29087298fd7f21ff0fd6a4c1b7642a94c09bdf6513dd57f913e4634bc41216ee [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-10T05:05:55.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-10T05:05:55.754Z] [2023-02-10T05:05:55.754Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T05:05:56.197Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-10T05:05:56.470Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-10T05:05:56.470Z] 8998bd30e6a1: Pulling fs layer [2023-02-10T05:05:56.470Z] 04944245beec: Pulling fs layer [2023-02-10T05:05:56.470Z] 699f458cf7ca: Pulling fs layer [2023-02-10T05:05:56.470Z] 765212b225bb: Pulling fs layer [2023-02-10T05:05:56.470Z] f23df028b6ca: Pulling fs layer [2023-02-10T05:05:56.470Z] d65c8cfc05b1: Pulling fs layer [2023-02-10T05:05:56.470Z] 2437ff75d9bd: Pulling fs layer [2023-02-10T05:05:56.470Z] f23df028b6ca: Waiting [2023-02-10T05:05:56.470Z] d65c8cfc05b1: Waiting [2023-02-10T05:05:56.470Z] 2437ff75d9bd: Waiting [2023-02-10T05:05:56.470Z] 765212b225bb: Waiting [2023-02-10T05:05:56.470Z] 04944245beec: Verifying Checksum [2023-02-10T05:05:56.470Z] 04944245beec: Download complete [2023-02-10T05:05:56.759Z] 765212b225bb: Verifying Checksum [2023-02-10T05:05:56.759Z] 765212b225bb: Download complete [2023-02-10T05:05:56.759Z] f23df028b6ca: Verifying Checksum [2023-02-10T05:05:56.759Z] f23df028b6ca: Download complete [2023-02-10T05:05:57.031Z] d65c8cfc05b1: Verifying Checksum [2023-02-10T05:05:57.032Z] d65c8cfc05b1: Download complete [2023-02-10T05:05:57.032Z] 699f458cf7ca: Verifying Checksum [2023-02-10T05:05:57.032Z] 699f458cf7ca: Download complete [2023-02-10T05:05:57.623Z] 8998bd30e6a1: Verifying Checksum [2023-02-10T05:05:57.623Z] 8998bd30e6a1: Download complete [2023-02-10T05:06:00.232Z] 2437ff75d9bd: Verifying Checksum [2023-02-10T05:06:00.232Z] 2437ff75d9bd: Download complete [2023-02-10T05:06:03.584Z] 8998bd30e6a1: Pull complete [2023-02-10T05:06:03.851Z] 04944245beec: Pull complete [2023-02-10T05:06:05.260Z] 699f458cf7ca: Pull complete [2023-02-10T05:06:05.528Z] 765212b225bb: Pull complete [2023-02-10T05:06:06.493Z] f23df028b6ca: Pull complete [2023-02-10T05:06:06.761Z] d65c8cfc05b1: Pull complete [2023-02-10T05:06:28.973Z] 2437ff75d9bd: Pull complete [2023-02-10T05:06:28.973Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-10T05:06:28.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-10T05:06:28.973Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T05:06:29.322Z] prd-ubuntu20.04-docker-arm64-4c-16g-5299 does not seem to be running inside a container [2023-02-10T05:06:29.425Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-10T05:06:30.583Z] $ docker top 32d1e6d247be8d84dc3be103453fa13d4b9c55feb49a0ea26b1c249af30d56b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-10T05:06:31.164Z] ---> job-cost.sh [2023-02-10T05:06:31.432Z] lf-activate-venv: SKIPPING [2023-02-10T05:06:31.432Z] INFO: No Stack... [2023-02-10T05:06:32.013Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-10T05:06:32.594Z] INFO: Archiving Costs [Pipeline] sh [2023-02-10T05:06:32.932Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-10T05:06:32.932Z] + cut -d, -f6 [Pipeline] lock [2023-02-10T05:06:32.984Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] [2023-02-10T05:06:32.989Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] did not exist. Created. [2023-02-10T05:06:32.989Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-10T05:06:33.388Z] /w/workspace/device-sdk-go/1@tmp/durable-565dcb2c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-10T05:06:33.732Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-10T05:06:33.774Z] Warning: overwriting stash ‘stack-cost’ [2023-02-10T05:06:34.161Z] Stashed 1 file(s) [Pipeline] } [2023-02-10T05:06:34.176Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1311-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-10T05:06:34.253Z] $ docker stop --time=1 32d1e6d247be8d84dc3be103453fa13d4b9c55feb49a0ea26b1c249af30d56b7 [2023-02-10T05:06:35.683Z] $ docker rm -f --volumes 32d1e6d247be8d84dc3be103453fa13d4b9c55feb49a0ea26b1c249af30d56b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-10T05:06:36.328Z] 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-10T05:06:38.271Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives ] [2023-02-10T05:06:38.271Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives [2023-02-10T05:06:38.271Z] total 16 [2023-02-10T05:06:38.271Z] drwxr-xr-x 3 root root 4096 Feb 10 05:00 . [2023-02-10T05:06:38.271Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 10 05:00 .. [2023-02-10T05:06:38.271Z] drwxr-xr-x 2 root root 4096 Feb 10 05:00 cost [2023-02-10T05:06:38.271Z] -rw-r--r-- 1 root root 86 Feb 10 05:00 cost.csv [2023-02-10T05:06:38.271Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives [2023-02-10T05:06:38.271Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives [2023-02-10T05:06:38.271Z] total 16 [2023-02-10T05:06:38.271Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 10 05:00 . [2023-02-10T05:06:38.271Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 10 05:00 .. [2023-02-10T05:06:38.271Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 10 05:00 cost [2023-02-10T05:06:38.271Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 10 05:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-10T05:06:38.611Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T05:06:39.497Z] ---> package-listing.sh [2023-02-10T05:06:39.497Z] ++ facter osfamily [2023-02-10T05:06:39.497Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-10T05:06:39.756Z] + OS_FAMILY=debian [2023-02-10T05:06:39.757Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1311 [2023-02-10T05:06:39.757Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-10T05:06:39.757Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-10T05:06:39.757Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-10T05:06:39.757Z] + PACKAGES=/tmp/packages_start.txt [2023-02-10T05:06:39.757Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1311 ']' [2023-02-10T05:06:39.757Z] + PACKAGES=/tmp/packages_end.txt [2023-02-10T05:06:39.757Z] + case "${OS_FAMILY}" in [2023-02-10T05:06:39.757Z] + dpkg -l [2023-02-10T05:06:39.757Z] + grep '^ii' [2023-02-10T05:06:39.757Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-10T05:06:39.757Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-10T05:06:39.757Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-10T05:06:39.757Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1311 ']' [2023-02-10T05:06:39.757Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives/ [2023-02-10T05:06:39.757Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1311/archives/ [Pipeline] echo [2023-02-10T05:06:39.791Z] 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-1311/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-10T05:06:40.082Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-10T05:06:40.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-10T05:06:40.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-10T05:06:40.965Z] prd-ubuntu20.04-docker-8c-8g-5298 does not seem to be running inside a container [2023-02-10T05:06:40.992Z] $ 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-1311/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-1311 -v /w/workspace/gexfoundry_device-sdk-go_PR-1311:/w/workspace/gexfoundry_device-sdk-go_PR-1311:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1311@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-10T05:06:41.233Z] $ docker top 060aa83251016f85818f7c4520ae7972823449c78e0f55a55fe77bff046a5327 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-10T05:06:41.621Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-10T05:06:41.927Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-10T05:06:42.235Z] + ls /var/log/sa-host [2023-02-10T05:06:42.235Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-10T05:06:42.445Z] provisioning config files... [2023-02-10T05:06:42.457Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1311@tmp/config5714944425087847666tmp [Pipeline] { [Pipeline] echo [2023-02-10T05:06:42.502Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T05:06:42.813Z] ---> create-netrc.sh [Pipeline] } [2023-02-10T05:06:42.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-10T05:06:43.247Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-10T05:06:43.279Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T05:06:43.588Z] ---> sudo-logs.sh [2023-02-10T05:06:43.588Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-10T05:06:43.669Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T05:06:43.978Z] ---> job-cost.sh [2023-02-10T05:06:43.978Z] lf-activate-venv: SKIPPING [2023-02-10T05:06:43.978Z] DEBUG: total: 0.2199999988079071 [2023-02-10T05:06:43.978Z] INFO: Retrieving Stack Cost... [2023-02-10T05:06:44.546Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-10T05:06:44.805Z] INFO: Archiving Costs [Pipeline] echo [2023-02-10T05:06:44.841Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-10T05:06:45.154Z] ---> logs-deploy.sh [2023-02-10T05:06:45.155Z] lf-activate-venv: SKIPPING [2023-02-10T05:06:45.155Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1311/1 [2023-02-10T05:06:45.155Z] INFO: archiving workspace using pattern(s): [2023-02-10T05:06:46.091Z] Archives upload complete. [2023-02-10T05:06:46.091Z] INFO: archiving logs to Nexus