Pull request #1354 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 47dc9c5e9ede83b896a9158eb6c209022a995c6b+6c52867c974148776ead9b5ce3090ce3cf294dda (951545190406aa0e3f6e5e753bf828424c64737a) 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-ssh10604386979004285179.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-ssh16891329825517290826.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-1354/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-1354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16649463450933921151.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-1354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8694611328070970927.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-ssh13371315189319818103.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-1354/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-1354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8269236377101624505.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-7887’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7891 in /w/workspace/gexfoundry_device-sdk-go_PR-1354 [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-1354 # 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/1354/head:refs/remotes/origin/PR-1354 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6c52867c974148776ead9b5ce3090ce3cf294dda into PR head commit 47dc9c5e9ede83b896a9158eb6c209022a995c6b Merge succeeded, producing 47dc9c5e9ede83b896a9158eb6c209022a995c6b Checking out Revision 47dc9c5e9ede83b896a9158eb6c209022a995c6b (PR-1354) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/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-03-01T05:01:14.731Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-01T05:01:14.912Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-01T05:01:15.011Z] ========================================================= [2023-03-01T05:01:15.011Z] EdgeX Global Pipelines Version Info [2023-03-01T05:01:15.011Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 47dc9c5e9ede83b896a9158eb6c209022a995c6b # 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 6c52867c974148776ead9b5ce3090ce3cf294dda # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47dc9c5e9ede83b896a9158eb6c209022a995c6b # timeout=10 [2023-03-01T05:01:16.110Z] ------------------- [2023-03-01T05:01:16.110Z] stable info: [2023-03-01T05:01:16.110Z] ------------------- [2023-03-01T05:01:16.110Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-01T05:01:16.110Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T05:01:16.110Z] Message: update stable to v1.0.244 [2023-03-01T05:01:16.371Z] ------------------- [2023-03-01T05:01:16.371Z] experimental info: [2023-03-01T05:01:16.371Z] ------------------- [2023-03-01T05:01:16.371Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-01T05:01:16.371Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T05:01:16.371Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-01T05:01:16.644Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-01T05:01:16.685Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-01T05:01:16.725Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-01T05:01:16.767Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-01T05:01:16.815Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-01T05:01:16.859Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-01T05:01:16.899Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-01T05:01:16.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-01T05:01:16.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-01T05:01:17.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-01T05:01:17.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-01T05:01:17.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-01T05:01:17.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-01T05:01:17.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-01T05:01:17.218Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T05:01:17.262Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T05:01:17.305Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T05:01:17.346Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T05:01:17.388Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-01T05:01:17.430Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-01T05:01:17.466Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-01T05:01:17.504Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-01T05:01:17.540Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-01T05:01:17.585Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-01T05:01:17.623Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-01T05:01:17.662Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-01T05:01:17.704Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-01T05:01:17.738Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1354 [Pipeline] echo [2023-03-01T05:01:17.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1354 [Pipeline] echo [2023-03-01T05:01:17.816Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1354 [Pipeline] echo [2023-03-01T05:01:17.858Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47dc9c5e9ede83b896a9158eb6c209022a995c6b [Pipeline] echo [2023-03-01T05:01:17.894Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47dc9c5 [Pipeline] echo [2023-03-01T05:01:17.935Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:01:18.056Z] provisioning config files... [2023-03-01T05:01:18.071Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp/config2000582249974595247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:01:18.445Z] ---> docker-login.sh [2023-03-01T05:01:18.445Z] nexus3.edgexfoundry.org:10001 [2023-03-01T05:01:18.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:18.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:18.705Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:18.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:18.705Z] [2023-03-01T05:01:18.705Z] Login Succeeded [2023-03-01T05:01:18.705Z] nexus3.edgexfoundry.org:10002 [2023-03-01T05:01:18.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:18.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:18.967Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:18.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:18.967Z] [2023-03-01T05:01:18.967Z] Login Succeeded [2023-03-01T05:01:18.967Z] nexus3.edgexfoundry.org:10003 [2023-03-01T05:01:18.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:18.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:18.967Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:18.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:18.967Z] [2023-03-01T05:01:18.967Z] Login Succeeded [2023-03-01T05:01:18.967Z] nexus3.edgexfoundry.org:10004 [2023-03-01T05:01:18.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:19.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:19.227Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:19.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:19.227Z] [2023-03-01T05:01:19.227Z] Login Succeeded [2023-03-01T05:01:19.227Z] docker.io [2023-03-01T05:01:19.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:19.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:19.486Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:19.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:19.486Z] [2023-03-01T05:01:19.486Z] Login Succeeded [2023-03-01T05:01:19.486Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T05:01:19.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-01T05:01:20.173Z] + git rev-list -1 --merges 47dc9c5e9ede83b896a9158eb6c209022a995c6b~1..47dc9c5e9ede83b896a9158eb6c209022a995c6b [Pipeline] echo [2023-03-01T05:01:20.241Z] -----------> git rev-list -1 --merges 47dc9c5e9ede83b896a9158eb6c209022a995c6b~1..47dc9c5e9ede83b896a9158eb6c209022a995c6b 47dc9c5e9ede83b896a9158eb6c209022a995c6b [false] [Pipeline] sh [2023-03-01T05:01:20.650Z] + git log --format=format:%s -1 47dc9c5e9ede83b896a9158eb6c209022a995c6b [Pipeline] echo [2023-03-01T05:01:20.687Z] ========================================================= [2023-03-01T05:01:20.687Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-01T05:01:20.687Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T05:01:21.130Z] + git log --format=format:%s -1 47dc9c5e9ede83b896a9158eb6c209022a995c6b [Pipeline] echo [2023-03-01T05:01:21.162Z] [semverPrep] GIT_COMMIT: 47dc9c5e9ede83b896a9158eb6c209022a995c6b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-03-01T05:01:21.193Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-01T05:01:21.571Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-01T05:01:21.571Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-01T05:01:21.571Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-01T05:01:21.571Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-01T05:01:21.571Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-01T05:01:21.571Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-01T05:01:21.571Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:01:21.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T05:01:21.991Z] [2023-03-01T05:01:21.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:01:22.381Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T05:01:22.381Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-01T05:01:22.381Z] b85a868b505f: Pulling fs layer [2023-03-01T05:01:22.381Z] e2be974225ed: Pulling fs layer [2023-03-01T05:01:22.381Z] 339a4e72a1f5: Pulling fs layer [2023-03-01T05:01:22.381Z] 988bab9f4d93: Pulling fs layer [2023-03-01T05:01:22.381Z] 1469e6f7b9e6: Pulling fs layer [2023-03-01T05:01:22.381Z] eaf3925da568: Pulling fs layer [2023-03-01T05:01:22.382Z] bab4dde63d76: Pulling fs layer [2023-03-01T05:01:22.382Z] bde34c3a00c8: Pulling fs layer [2023-03-01T05:01:22.382Z] b352a97aabf1: Pulling fs layer [2023-03-01T05:01:22.382Z] 4872d77fe225: Pulling fs layer [2023-03-01T05:01:22.382Z] 5851b861e8e6: Pulling fs layer [2023-03-01T05:01:22.382Z] 988bab9f4d93: Waiting [2023-03-01T05:01:22.382Z] eaf3925da568: Waiting [2023-03-01T05:01:22.382Z] 1469e6f7b9e6: Waiting [2023-03-01T05:01:22.382Z] bde34c3a00c8: Waiting [2023-03-01T05:01:22.382Z] b352a97aabf1: Waiting [2023-03-01T05:01:22.382Z] bab4dde63d76: Waiting [2023-03-01T05:01:22.382Z] e2be974225ed: Verifying Checksum [2023-03-01T05:01:22.382Z] e2be974225ed: Download complete [2023-03-01T05:01:22.382Z] 988bab9f4d93: Verifying Checksum [2023-03-01T05:01:22.382Z] 988bab9f4d93: Download complete [2023-03-01T05:01:22.642Z] 339a4e72a1f5: Verifying Checksum [2023-03-01T05:01:22.642Z] 339a4e72a1f5: Download complete [2023-03-01T05:01:22.642Z] 1469e6f7b9e6: Verifying Checksum [2023-03-01T05:01:22.642Z] 1469e6f7b9e6: Download complete [2023-03-01T05:01:22.642Z] eaf3925da568: Verifying Checksum [2023-03-01T05:01:22.642Z] eaf3925da568: Download complete [2023-03-01T05:01:22.642Z] bde34c3a00c8: Verifying Checksum [2023-03-01T05:01:22.642Z] bde34c3a00c8: Download complete [2023-03-01T05:01:22.642Z] b85a868b505f: Verifying Checksum [2023-03-01T05:01:22.642Z] b85a868b505f: Download complete [2023-03-01T05:01:22.642Z] 4872d77fe225: Verifying Checksum [2023-03-01T05:01:22.642Z] 4872d77fe225: Download complete [2023-03-01T05:01:22.642Z] b352a97aabf1: Download complete [2023-03-01T05:01:22.642Z] 5851b861e8e6: Download complete [2023-03-01T05:01:23.209Z] bab4dde63d76: Verifying Checksum [2023-03-01T05:01:23.209Z] bab4dde63d76: Download complete [2023-03-01T05:01:24.144Z] b85a868b505f: Pull complete [2023-03-01T05:01:24.144Z] e2be974225ed: Pull complete [2023-03-01T05:01:24.714Z] 339a4e72a1f5: Pull complete [2023-03-01T05:01:24.714Z] 988bab9f4d93: Pull complete [2023-03-01T05:01:24.973Z] 1469e6f7b9e6: Pull complete [2023-03-01T05:01:24.973Z] eaf3925da568: Pull complete [2023-03-01T05:01:26.875Z] bab4dde63d76: Pull complete [2023-03-01T05:01:27.139Z] bde34c3a00c8: Pull complete [2023-03-01T05:01:27.139Z] b352a97aabf1: Pull complete [2023-03-01T05:01:27.139Z] 4872d77fe225: Pull complete [2023-03-01T05:01:27.401Z] 5851b861e8e6: Pull complete [2023-03-01T05:01:27.401Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-01T05:01:27.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T05:01:27.401Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:01:27.629Z] prd-ubuntu20.04-docker-8c-8g-7891 does not seem to be running inside a container [2023-03-01T05:01:27.666Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1354 -v /w/workspace/gexfoundry_device-sdk-go_PR-1354:/w/workspace/gexfoundry_device-sdk-go_PR-1354:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1354@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-03-01T05:01:30.214Z] $ docker top 1bce58f71df4a6be68c3c62069a8e663176148caea502b25482c39c520323d62 -eo pid,comm [2023-03-01T05:01:30.264Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-01T05:01:30.264Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-01T05:01:30.462Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T05:01:30.462Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T05:01:30.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T05:01:30.575Z] $ docker exec 1bce58f71df4a6be68c3c62069a8e663176148caea502b25482c39c520323d62 ssh-agent [2023-03-01T05:01:30.693Z] SSH_AUTH_SOCK=/tmp/ssh-xIkwiJVCKQUx/agent.31 [2023-03-01T05:01:30.693Z] SSH_AGENT_PID=37 [2023-03-01T05:01:30.700Z] Running ssh-add (command line suppressed) [2023-03-01T05:01:30.814Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp/private_key_11733130674915459036.key (/w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp/private_key_11733130674915459036.key) [2023-03-01T05:01:30.825Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T05:01:31.160Z] + git tag --points-at HEAD [Pipeline] } [2023-03-01T05:01:31.207Z] $ docker exec --env ******** --env ******** 1bce58f71df4a6be68c3c62069a8e663176148caea502b25482c39c520323d62 ssh-agent -k [2023-03-01T05:01:31.313Z] unset SSH_AUTH_SOCK; [2023-03-01T05:01:31.314Z] unset SSH_AGENT_PID; [2023-03-01T05:01:31.314Z] echo Agent pid 37 killed; [2023-03-01T05:01:31.321Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-01T05:01:31.405Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T05:01:31.406Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T05:01:31.524Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T05:01:31.530Z] $ docker exec 1bce58f71df4a6be68c3c62069a8e663176148caea502b25482c39c520323d62 ssh-agent [2023-03-01T05:01:31.645Z] SSH_AUTH_SOCK=/tmp/ssh-b4ufeu54p3xT/agent.70 [2023-03-01T05:01:31.645Z] SSH_AGENT_PID=76 [2023-03-01T05:01:31.652Z] Running ssh-add (command line suppressed) [2023-03-01T05:01:31.762Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp/private_key_17017252007872957315.key (/w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp/private_key_17017252007872957315.key) [2023-03-01T05:01:31.781Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T05:01:32.133Z] + git semver init [2023-03-01T05:01:32.390Z] 2023-03-01 05:01:32,324 [run_init] DEBUG init version:0.0.0 force:False [2023-03-01T05:01:32.390Z] 2023-03-01 05:01:32,324 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1354/.semver [2023-03-01T05:01:32.390Z] 2023-03-01 05:01:32,325 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1354/.semver [2023-03-01T05:01:32.390Z] 2023-03-01 05:01:32,325 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1354/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1354, universal_newlines=False, shell=None, istream=None) [2023-03-01T05:01:33.331Z] 2023-03-01 05:01:33,292 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1354/.git/info/exclude [2023-03-01T05:01:33.331Z] 2023-03-01 05:01:33,292 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1354/.semver/PR-1354 with force:False [2023-03-01T05:01:33.331Z] 2023-03-01 05:01:33,292 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1354/.semver/PR-1354 [2023-03-01T05:01:33.331Z] 2023-03-01 05:01:33,296 [execute] INFO git cat-file --batch-check [2023-03-01T05:01:33.331Z] 2023-03-01 05:01:33,297 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1354/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T05:01:33.331Z] 2023-03-01 05:01:33,303 [execute] INFO git cat-file --batch [2023-03-01T05:01:33.331Z] 2023-03-01 05:01:33,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1354/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T05:01:33.331Z] 2023-03-01 05:01:33,309 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1354/.semver/PR-1354 [2023-03-01T05:01:33.331Z] 0.0.0 [Pipeline] } [2023-03-01T05:01:33.361Z] $ docker exec --env ******** --env ******** 1bce58f71df4a6be68c3c62069a8e663176148caea502b25482c39c520323d62 ssh-agent -k [2023-03-01T05:01:33.446Z] unset SSH_AUTH_SOCK; [2023-03-01T05:01:33.446Z] unset SSH_AGENT_PID; [2023-03-01T05:01:33.446Z] echo Agent pid 76 killed; [2023-03-01T05:01:33.454Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-01T05:01:33.878Z] + git semver [Pipeline] } [2023-03-01T05:01:34.165Z] $ docker stop --time=1 1bce58f71df4a6be68c3c62069a8e663176148caea502b25482c39c520323d62 [2023-03-01T05:01:35.490Z] $ docker rm -f --volumes 1bce58f71df4a6be68c3c62069a8e663176148caea502b25482c39c520323d62 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T05:01:35.897Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-01T05:01:36.165Z] Stashed 1 file(s) [Pipeline] echo [2023-03-01T05:01:36.185Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:01:36.809Z] provisioning config files... [2023-03-01T05:01:36.818Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp/config12673783538705961224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:01:37.166Z] ---> docker-login.sh [2023-03-01T05:01:37.166Z] nexus3.edgexfoundry.org:10001 [2023-03-01T05:01:37.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:37.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:37.166Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:37.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:37.166Z] [2023-03-01T05:01:37.166Z] Login Succeeded [2023-03-01T05:01:37.166Z] nexus3.edgexfoundry.org:10002 [2023-03-01T05:01:37.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:37.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:37.166Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:37.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:37.166Z] [2023-03-01T05:01:37.166Z] Login Succeeded [2023-03-01T05:01:37.166Z] nexus3.edgexfoundry.org:10003 [2023-03-01T05:01:37.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:37.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:37.424Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:37.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:37.424Z] [2023-03-01T05:01:37.424Z] Login Succeeded [2023-03-01T05:01:37.424Z] nexus3.edgexfoundry.org:10004 [2023-03-01T05:01:37.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:37.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:37.424Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:37.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:37.424Z] [2023-03-01T05:01:37.424Z] Login Succeeded [2023-03-01T05:01:37.424Z] docker.io [2023-03-01T05:01:37.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:01:37.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:01:37.690Z] Configure a credential helper to remove this warning. See [2023-03-01T05:01:37.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:01:37.690Z] [2023-03-01T05:01:37.690Z] Login Succeeded [2023-03-01T05:01:37.690Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T05:01:37.713Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T05:01:37.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:01:37.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:01:37.969Z] ========================================================= [2023-03-01T05:01:37.969Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-01T05:01:37.969Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:01:38.487Z] + 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-03-01T05:01:38.487Z] Sending build context to Docker daemon 10.61MB [2023-03-01T05:01:38.487Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:01:38.487Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-01T05:01:38.487Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-01T05:01:38.487Z] 213ec9aee27d: Pulling fs layer [2023-03-01T05:01:38.487Z] 4583459ba037: Pulling fs layer [2023-03-01T05:01:38.487Z] 93c1e223e6f2: Pulling fs layer [2023-03-01T05:01:38.487Z] 53926ce57604: Pulling fs layer [2023-03-01T05:01:38.487Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-01T05:01:38.487Z] 22ff95d597cd: Pulling fs layer [2023-03-01T05:01:38.487Z] 12d6caf4c0d1: Pulling fs layer [2023-03-01T05:01:38.487Z] 96b7cbca73a9: Pulling fs layer [2023-03-01T05:01:38.487Z] a7acece74701: Pulling fs layer [2023-03-01T05:01:38.487Z] 53926ce57604: Waiting [2023-03-01T05:01:38.487Z] 21b2b0c7a3f4: Waiting [2023-03-01T05:01:38.487Z] 22ff95d597cd: Waiting [2023-03-01T05:01:38.487Z] 12d6caf4c0d1: Waiting [2023-03-01T05:01:38.487Z] 96b7cbca73a9: Waiting [2023-03-01T05:01:38.487Z] a7acece74701: Waiting [2023-03-01T05:01:38.746Z] 93c1e223e6f2: Verifying Checksum [2023-03-01T05:01:38.746Z] 93c1e223e6f2: Download complete [2023-03-01T05:01:38.746Z] 4583459ba037: Verifying Checksum [2023-03-01T05:01:38.746Z] 4583459ba037: Download complete [2023-03-01T05:01:38.746Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-01T05:01:38.746Z] 21b2b0c7a3f4: Download complete [2023-03-01T05:01:38.746Z] 22ff95d597cd: Verifying Checksum [2023-03-01T05:01:38.746Z] 22ff95d597cd: Download complete [2023-03-01T05:01:38.746Z] 213ec9aee27d: Verifying Checksum [2023-03-01T05:01:38.746Z] 213ec9aee27d: Download complete [2023-03-01T05:01:38.746Z] 12d6caf4c0d1: Verifying Checksum [2023-03-01T05:01:38.746Z] 12d6caf4c0d1: Download complete [2023-03-01T05:01:38.746Z] 213ec9aee27d: Pull complete [2023-03-01T05:01:39.010Z] 4583459ba037: Pull complete [2023-03-01T05:01:39.010Z] 93c1e223e6f2: Pull complete [2023-03-01T05:01:39.270Z] a7acece74701: Verifying Checksum [2023-03-01T05:01:39.270Z] a7acece74701: Download complete [2023-03-01T05:01:39.528Z] 96b7cbca73a9: Verifying Checksum [2023-03-01T05:01:39.528Z] 96b7cbca73a9: Download complete [2023-03-01T05:01:39.528Z] 53926ce57604: Verifying Checksum [2023-03-01T05:01:39.528Z] 53926ce57604: Download complete [2023-03-01T05:01:43.719Z] 53926ce57604: Pull complete [2023-03-01T05:01:43.719Z] 21b2b0c7a3f4: Pull complete [2023-03-01T05:01:43.719Z] 22ff95d597cd: Pull complete [2023-03-01T05:01:43.719Z] 12d6caf4c0d1: Pull complete [2023-03-01T05:01:45.620Z] 96b7cbca73a9: Pull complete [2023-03-01T05:01:45.880Z] a7acece74701: Pull complete [2023-03-01T05:01:45.880Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-01T05:01:45.880Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-01T05:01:45.880Z] ---> db6d94c90886 [2023-03-01T05:01:45.880Z] Step 3/10 : ARG MAKE=make build [2023-03-01T05:01:49.172Z] ---> Running in 223739ae9167 [2023-03-01T05:01:49.172Z] Removing intermediate container 223739ae9167 [2023-03-01T05:01:49.172Z] ---> 188117bd813f [2023-03-01T05:01:49.172Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-01T05:01:49.431Z] ---> Running in 86347ea80536 [2023-03-01T05:01:49.431Z] Removing intermediate container 86347ea80536 [2023-03-01T05:01:49.431Z] ---> 229339041b5f [2023-03-01T05:01:49.431Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:01:49.431Z] ---> Running in cfac3c6fd2f7 [2023-03-01T05:01:49.431Z] Removing intermediate container cfac3c6fd2f7 [2023-03-01T05:01:49.431Z] ---> 54d625b267d2 [2023-03-01T05:01:49.431Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-01T05:01:49.690Z] ---> Running in 1c7a76e4cad2 [2023-03-01T05:01:49.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T05:01:49.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T05:01:50.209Z] OK: 211 MiB in 51 packages [2023-03-01T05:01:50.468Z] Removing intermediate container 1c7a76e4cad2 [2023-03-01T05:01:50.468Z] ---> 0093c2bba415 [2023-03-01T05:01:50.468Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-01T05:01:50.468Z] ---> 07245b85e331 [2023-03-01T05:01:50.468Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:01:50.468Z] ---> Running in 5d8038854eaf [2023-03-01T05:01:51.610Z] Still waiting to schedule task [2023-03-01T05:01:51.610Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7892’ is offline [2023-03-01T05:02:29.197Z] Removing intermediate container 5d8038854eaf [2023-03-01T05:02:29.197Z] ---> 7d370ace7063 [2023-03-01T05:02:29.197Z] Step 9/10 : COPY . . [2023-03-01T05:02:29.197Z] ---> b45466f75189 [2023-03-01T05:02:29.197Z] Step 10/10 : RUN ${MAKE} [2023-03-01T05:02:29.197Z] ---> Running in 79ed1683539b [2023-03-01T05:02:29.197Z] noop [2023-03-01T05:02:29.197Z] Removing intermediate container 79ed1683539b [2023-03-01T05:02:29.197Z] ---> 3e0cf7af19b4 [2023-03-01T05:02:29.197Z] Successfully built 3e0cf7af19b4 [2023-03-01T05:02:29.197Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:02:29.626Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T05:02:29.626Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:02:29.771Z] prd-ubuntu20.04-docker-8c-8g-7891 does not seem to be running inside a container [2023-03-01T05:02:29.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1354 -v /w/workspace/gexfoundry_device-sdk-go_PR-1354:/w/workspace/gexfoundry_device-sdk-go_PR-1354:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1354@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-03-01T05:02:30.129Z] $ docker top 0e38ef909da7e585d8213501d4b5137b11d492f06b5a74b203e96f0f296bd63c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:02:30.507Z] + go version [2023-03-01T05:02:30.507Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-01T05:02:30.545Z] $ docker stop --time=1 0e38ef909da7e585d8213501d4b5137b11d492f06b5a74b203e96f0f296bd63c [2023-03-01T05:02:31.785Z] $ docker rm -f --volumes 0e38ef909da7e585d8213501d4b5137b11d492f06b5a74b203e96f0f296bd63c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:02:32.492Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T05:02:32.492Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:02:32.644Z] prd-ubuntu20.04-docker-8c-8g-7891 does not seem to be running inside a container [2023-03-01T05:02:32.677Z] $ 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-1354 -v /w/workspace/gexfoundry_device-sdk-go_PR-1354:/w/workspace/gexfoundry_device-sdk-go_PR-1354:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1354@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-03-01T05:02:33.001Z] $ docker top 0f2a0d79b524297e42f1e7a3b9d54e483347c0adc10b868cd947f53c26adf2b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:02:33.406Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1354 [Pipeline] fileExists [Pipeline] sh [2023-03-01T05:02:33.753Z] + make test [2023-03-01T05:02:33.754Z] go test -race -coverprofile=coverage.out ./... [2023-03-01T05:02:40.317Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-01T05:02:55.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-01T05:02:55.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-01T05:02:55.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-01T05:02:55.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-01T05:02:55.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-01T05:02:55.176Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.071s coverage: 27.6% of statements [2023-03-01T05:02:55.176Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.069s coverage: 78.9% of statements [2023-03-01T05:02:55.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-01T05:02:55.176Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.093s coverage: 86.0% of statements [2023-03-01T05:02:55.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-01T05:02:55.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-01T05:02:55.176Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.095s coverage: 75.0% of statements [2023-03-01T05:02:55.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-01T05:02:56.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.069s coverage: 15.3% of statements [2023-03-01T05:02:56.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-01T05:02:56.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.093s coverage: 65.2% of statements [2023-03-01T05:02:56.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-01T05:02:56.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-01T05:02:56.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.718s coverage: 89.2% of statements [2023-03-01T05:02:56.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-01T05:02:56.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.6% of statements [2023-03-01T05:02:56.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-01T05:03:11.491Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-01T05:03:11.491Z] GO111MODULE=on go vet ./... [2023-03-01T05:03:13.439Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T05:03:13.439Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T05:03:13.439Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T05:03:13.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T05:03:13.524Z] $ docker stop --time=1 0f2a0d79b524297e42f1e7a3b9d54e483347c0adc10b868cd947f53c26adf2b1 [2023-03-01T05:03:16.209Z] $ docker rm -f --volumes 0f2a0d79b524297e42f1e7a3b9d54e483347c0adc10b868cd947f53c26adf2b1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T05:03:16.801Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T05:03:16.882Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-01T05:03:17.569Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T05:03:17.875Z] + ls -al . [2023-03-01T05:03:17.875Z] total 280 [2023-03-01T05:03:17.875Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 05:02 . [2023-03-01T05:03:17.875Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:01 .. [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 05:01 .dockerignore [2023-03-01T05:03:17.876Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 05:02 .git [2023-03-01T05:03:17.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:01 .github [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 05:01 .gitignore [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 05:01 .golangci.yml [2023-03-01T05:03:17.876Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 05:01 .semver [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 05:01 CHANGELOG.md [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 05:01 GOVERNANCE.md [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 05:01 Jenkinsfile [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 05:01 LICENSE [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 05:01 Makefile [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 05:01 OWNERS.md [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 05:01 README.md [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 05:01 VERSION [2023-03-01T05:03:17.876Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:01 bin [2023-03-01T05:03:17.876Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 1 05:02 coverage.out [2023-03-01T05:03:17.876Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 05:01 example [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 05:01 go.mod [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 05:01 go.sum [2023-03-01T05:03:17.876Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 05:01 internal [2023-03-01T05:03:17.876Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 05:01 openapi [2023-03-01T05:03:17.876Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 05:01 pkg [2023-03-01T05:03:17.876Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:01 snap [2023-03-01T05:03:17.876Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:03:18.288Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=47dc9c5e9ede83b896a9158eb6c209022a995c6b --label arch=amd64 --label version=0.0.0 . [2023-03-01T05:03:18.288Z] Sending build context to Docker daemon 10.72MB [2023-03-01T05:03:18.288Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:03:18.288Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-01T05:03:18.288Z] ---> 3e0cf7af19b4 [2023-03-01T05:03:18.288Z] Step 3/23 : ARG MAKE=make build [2023-03-01T05:03:18.546Z] ---> Running in 62d6602ad7ef [2023-03-01T05:03:18.546Z] Removing intermediate container 62d6602ad7ef [2023-03-01T05:03:18.546Z] ---> 1b5195923582 [2023-03-01T05:03:18.546Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-01T05:03:18.546Z] ---> Running in 50db24ab84a5 [2023-03-01T05:03:18.546Z] Removing intermediate container 50db24ab84a5 [2023-03-01T05:03:18.546Z] ---> 0368cfcae1ce [2023-03-01T05:03:18.546Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:03:18.546Z] ---> Running in 14752c0e8200 [2023-03-01T05:03:18.803Z] Removing intermediate container 14752c0e8200 [2023-03-01T05:03:18.803Z] ---> 54b9e0bd61e7 [2023-03-01T05:03:18.803Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-01T05:03:18.803Z] ---> Running in 7e97d089f51c [2023-03-01T05:03:19.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T05:03:19.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T05:03:19.319Z] OK: 211 MiB in 51 packages [2023-03-01T05:03:19.884Z] Removing intermediate container 7e97d089f51c [2023-03-01T05:03:19.884Z] ---> e0243f87186a [2023-03-01T05:03:19.884Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-01T05:03:19.884Z] ---> 6d80131a1292 [2023-03-01T05:03:19.884Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:03:19.884Z] ---> Running in 9f125e3a1941 [2023-03-01T05:03:20.879Z] Removing intermediate container 9f125e3a1941 [2023-03-01T05:03:20.879Z] ---> f7bb60547cdb [2023-03-01T05:03:20.879Z] Step 9/23 : COPY . . [2023-03-01T05:03:21.137Z] ---> 65eddacc0075 [2023-03-01T05:03:21.137Z] Step 10/23 : RUN ${MAKE} [2023-03-01T05:03:21.137Z] ---> Running in 9e1eeab3e41a [2023-03-01T05:03:21.396Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-01T05:03:39.469Z] Removing intermediate container 9e1eeab3e41a [2023-03-01T05:03:39.469Z] ---> 147c39e89c59 [2023-03-01T05:03:39.469Z] Step 11/23 : FROM alpine:3.16 [2023-03-01T05:03:39.469Z] 3.16: Pulling from library/alpine [2023-03-01T05:03:39.469Z] ef5531b6e74e: Pulling fs layer [2023-03-01T05:03:39.729Z] ef5531b6e74e: Verifying Checksum [2023-03-01T05:03:39.729Z] ef5531b6e74e: Download complete [2023-03-01T05:03:39.729Z] ef5531b6e74e: Pull complete [2023-03-01T05:03:39.729Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T05:03:39.988Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T05:03:39.988Z] ---> dfd21b5a31f5 [2023-03-01T05:03:39.988Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-01T05:03:39.988Z] ---> Running in de488547306d [2023-03-01T05:03:39.988Z] Removing intermediate container de488547306d [2023-03-01T05:03:39.988Z] ---> 63ed90bc4b96 [2023-03-01T05:03:39.988Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-01T05:03:39.988Z] ---> Running in 7427bbe59aec [2023-03-01T05:03:40.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T05:03:40.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T05:03:40.766Z] OK: 6 MiB in 14 packages [2023-03-01T05:03:41.024Z] Removing intermediate container 7427bbe59aec [2023-03-01T05:03:41.024Z] ---> 2956b194769c [2023-03-01T05:03:41.024Z] Step 14/23 : WORKDIR / [2023-03-01T05:03:41.024Z] ---> Running in 88e0301bfaaf [2023-03-01T05:03:41.024Z] Removing intermediate container 88e0301bfaaf [2023-03-01T05:03:41.024Z] ---> 0d2a5d53d5ba [2023-03-01T05:03:41.024Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-01T05:03:41.281Z] ---> a4970764befa [2023-03-01T05:03:41.281Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-01T05:03:42.213Z] ---> 8806bf254182 [2023-03-01T05:03:42.213Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-01T05:03:42.213Z] ---> 31f80ce848f0 [2023-03-01T05:03:42.213Z] Step 18/23 : EXPOSE 59999 [2023-03-01T05:03:42.213Z] ---> Running in 8f1557d07649 [2023-03-01T05:03:42.213Z] Removing intermediate container 8f1557d07649 [2023-03-01T05:03:42.213Z] ---> 13ba37803dbd [2023-03-01T05:03:42.213Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-01T05:03:42.213Z] ---> Running in 93f7be9fe0f1 [2023-03-01T05:03:42.213Z] Removing intermediate container 93f7be9fe0f1 [2023-03-01T05:03:42.213Z] ---> 0b7cf0edadcc [2023-03-01T05:03:42.213Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-01T05:03:42.213Z] ---> Running in e3da2f02694d [2023-03-01T05:03:42.472Z] Removing intermediate container e3da2f02694d [2023-03-01T05:03:42.472Z] ---> 715278491466 [2023-03-01T05:03:42.472Z] Step 21/23 : LABEL arch=amd64 [2023-03-01T05:03:42.472Z] ---> Running in 2757203b432a [2023-03-01T05:03:42.472Z] Removing intermediate container 2757203b432a [2023-03-01T05:03:42.472Z] ---> 30bdf94faa32 [2023-03-01T05:03:42.472Z] Step 22/23 : LABEL git_sha=47dc9c5e9ede83b896a9158eb6c209022a995c6b [2023-03-01T05:03:42.472Z] ---> Running in 8a4ab8a20d11 [2023-03-01T05:03:42.472Z] Removing intermediate container 8a4ab8a20d11 [2023-03-01T05:03:42.472Z] ---> c415f9614988 [2023-03-01T05:03:42.472Z] Step 23/23 : LABEL version=0.0.0 [2023-03-01T05:03:42.472Z] ---> Running in f353a9118be5 [2023-03-01T05:03:42.732Z] Removing intermediate container f353a9118be5 [2023-03-01T05:03:42.732Z] ---> 580fd4672ece [2023-03-01T05:03:42.732Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T05:03:42.732Z] Successfully built 580fd4672ece [2023-03-01T05:03:42.732Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:03:43.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:03:43.630Z] [2023-03-01T05:03:43.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:03:44.001Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:03:44.001Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-01T05:03:44.001Z] 5eb5b503b376: Pulling fs layer [2023-03-01T05:03:44.001Z] 5c69ac0246d0: Pulling fs layer [2023-03-01T05:03:44.001Z] ec43610c2a17: Pulling fs layer [2023-03-01T05:03:44.001Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-01T05:03:44.001Z] 33b1e0a273af: Pulling fs layer [2023-03-01T05:03:44.001Z] 5d3b04190fa2: Pulling fs layer [2023-03-01T05:03:44.001Z] 2f39f015ded8: Pulling fs layer [2023-03-01T05:03:44.001Z] 3a2ae6a8a46f: Waiting [2023-03-01T05:03:44.001Z] 33b1e0a273af: Waiting [2023-03-01T05:03:44.001Z] 5d3b04190fa2: Waiting [2023-03-01T05:03:44.001Z] 2f39f015ded8: Waiting [2023-03-01T05:03:44.001Z] 5c69ac0246d0: Verifying Checksum [2023-03-01T05:03:44.001Z] 5c69ac0246d0: Download complete [2023-03-01T05:03:44.001Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-01T05:03:44.001Z] 3a2ae6a8a46f: Download complete [2023-03-01T05:03:44.261Z] ec43610c2a17: Verifying Checksum [2023-03-01T05:03:44.261Z] ec43610c2a17: Download complete [2023-03-01T05:03:44.261Z] 5d3b04190fa2: Download complete [2023-03-01T05:03:44.261Z] 33b1e0a273af: Verifying Checksum [2023-03-01T05:03:44.261Z] 33b1e0a273af: Download complete [2023-03-01T05:03:44.261Z] 5eb5b503b376: Download complete [2023-03-01T05:03:44.829Z] 2f39f015ded8: Download complete [2023-03-01T05:03:45.394Z] 5eb5b503b376: Pull complete [2023-03-01T05:03:45.652Z] 5c69ac0246d0: Pull complete [2023-03-01T05:03:45.909Z] ec43610c2a17: Pull complete [2023-03-01T05:03:46.169Z] 3a2ae6a8a46f: Pull complete [2023-03-01T05:03:46.169Z] 33b1e0a273af: Pull complete [2023-03-01T05:03:46.427Z] 5d3b04190fa2: Pull complete [2023-03-01T05:03:50.610Z] 2f39f015ded8: Pull complete [2023-03-01T05:03:50.610Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-01T05:03:50.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:03:50.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:03:50.824Z] prd-ubuntu20.04-docker-8c-8g-7891 does not seem to be running inside a container [2023-03-01T05:03:50.859Z] $ 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-1354 -v /w/workspace/gexfoundry_device-sdk-go_PR-1354:/w/workspace/gexfoundry_device-sdk-go_PR-1354:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1354@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-03-01T05:03:54.117Z] $ docker top f8519f5f990d5a462cdeed36ca3e882eeaca5dadc454d50e9e5eb8ad9790542c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:03:54.542Z] ---> job-cost.sh [2023-03-01T05:03:54.542Z] lf-activate-venv: SKIPPING [2023-03-01T05:03:54.542Z] INFO: No Stack... [2023-03-01T05:03:54.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T05:03:55.383Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T05:03:55.697Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1354/archives/cost.csv [2023-03-01T05:03:55.697Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T05:03:55.735Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1354-1-stack-cost] [2023-03-01T05:03:55.740Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1354-1-stack-cost] did not exist. Created. [2023-03-01T05:03:55.740Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1354-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T05:03:56.135Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-01T05:03:56.191Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T05:03:56.217Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1354-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T05:03:56.294Z] $ docker stop --time=1 f8519f5f990d5a462cdeed36ca3e882eeaca5dadc454d50e9e5eb8ad9790542c [2023-03-01T05:03:57.447Z] $ docker rm -f --volumes f8519f5f990d5a462cdeed36ca3e882eeaca5dadc454d50e9e5eb8ad9790542c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-01T05:04:40.509Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7898 in /w/workspace/gexfoundry_device-sdk-go_PR-1354 [Pipeline] { [Pipeline] ws [2023-03-01T05:04:40.566Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-01T05:04:40.640Z] The recommended git tool is: git [2023-03-01T05:04:47.531Z] using credential edgex-jenkins-ssh [2023-03-01T05:04:47.557Z] Cloning the remote Git repository [2023-03-01T05:04:47.624Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T05:04:47.729Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-01T05:04:47.924Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T05:04:47.926Z] > git --version # timeout=10 [2023-03-01T05:04:47.957Z] > git --version # 'git version 2.25.1' [2023-03-01T05:04:47.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T05:04:48.035Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T05:04:51.227Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-01T05:04:51.257Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T05:04:52.411Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-01T05:04:52.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T05:04:52.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T05:04:53.181Z] Merging remotes/origin/main commit 6c52867c974148776ead9b5ce3090ce3cf294dda into PR head commit 47dc9c5e9ede83b896a9158eb6c209022a995c6b [2023-03-01T05:04:53.479Z] Merge succeeded, producing 47dc9c5e9ede83b896a9158eb6c209022a995c6b [2023-03-01T05:04:53.479Z] Checking out Revision 47dc9c5e9ede83b896a9158eb6c209022a995c6b (PR-1354) [2023-03-01T05:04:52.493Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1354/head:refs/remotes/origin/PR-1354 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-01T05:04:53.200Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T05:04:53.222Z] > git checkout -f 47dc9c5e9ede83b896a9158eb6c209022a995c6b # timeout=10 [2023-03-01T05:04:53.351Z] > git remote # timeout=10 [2023-03-01T05:04:53.373Z] > git config --get remote.origin.url # timeout=10 [2023-03-01T05:04:53.404Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T05:04:53.426Z] > git merge 6c52867c974148776ead9b5ce3090ce3cf294dda # timeout=10 [2023-03-01T05:04:53.458Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-01T05:04:53.485Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T05:04:53.507Z] > git checkout -f 47dc9c5e9ede83b896a9158eb6c209022a995c6b # timeout=10 [2023-03-01T05:04:54.118Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2023-03-01T05:04:54.176Z] > git --version # timeout=10 [2023-03-01T05:04:54.190Z] > git --version # 'git version 2.25.1' [2023-03-01T05:04:54.209Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T05:04:55.502Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-01T05:04:55.502Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T05:04:55.502Z] Dload Upload Total Spent Left Speed [2023-03-01T05:04:55.502Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2023-03-01T05:04:56.166Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-01T05:04:56.513Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-01T05:04:56.513Z] + sudo tee /etc/docker/daemon.new [2023-03-01T05:04:56.513Z] { [2023-03-01T05:04:56.513Z] "registry-mirrors": [ [2023-03-01T05:04:56.513Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-01T05:04:56.513Z] ], [2023-03-01T05:04:56.513Z] "bip": "10.250.0.254/24", [2023-03-01T05:04:56.513Z] "hosts": [ [2023-03-01T05:04:56.513Z] "tcp://0.0.0.0:5555", [2023-03-01T05:04:56.513Z] "unix:///var/run/docker.sock" [2023-03-01T05:04:56.513Z] ], [2023-03-01T05:04:56.513Z] "mtu": 1458, [2023-03-01T05:04:56.513Z] "selinux-enabled": true, [2023-03-01T05:04:56.513Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-01T05:04:56.513Z] } [Pipeline] sh [2023-03-01T05:04:56.862Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-01T05:04:57.215Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:05:15.637Z] provisioning config files... [2023-03-01T05:05:15.671Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11445570910091279789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:05:16.071Z] ---> docker-login.sh [2023-03-01T05:05:16.072Z] nexus3.edgexfoundry.org:10001 [2023-03-01T05:05:16.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:05:16.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:05:16.948Z] Configure a credential helper to remove this warning. See [2023-03-01T05:05:16.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:05:16.948Z] [2023-03-01T05:05:16.948Z] Login Succeeded [2023-03-01T05:05:16.948Z] nexus3.edgexfoundry.org:10002 [2023-03-01T05:05:17.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:05:17.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:05:17.220Z] Configure a credential helper to remove this warning. See [2023-03-01T05:05:17.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:05:17.220Z] [2023-03-01T05:05:17.220Z] Login Succeeded [2023-03-01T05:05:17.220Z] nexus3.edgexfoundry.org:10003 [2023-03-01T05:05:17.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:05:17.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:05:17.818Z] Configure a credential helper to remove this warning. See [2023-03-01T05:05:17.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:05:17.818Z] [2023-03-01T05:05:17.818Z] Login Succeeded [2023-03-01T05:05:17.818Z] nexus3.edgexfoundry.org:10004 [2023-03-01T05:05:18.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:05:18.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:05:18.093Z] Configure a credential helper to remove this warning. See [2023-03-01T05:05:18.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:05:18.093Z] [2023-03-01T05:05:18.093Z] Login Succeeded [2023-03-01T05:05:18.093Z] docker.io [2023-03-01T05:05:18.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:05:18.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:05:18.641Z] Configure a credential helper to remove this warning. See [2023-03-01T05:05:18.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:05:18.641Z] [2023-03-01T05:05:18.641Z] Login Succeeded [2023-03-01T05:05:18.913Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T05:05:18.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T05:05:19.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:05:19.459Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:05:19.493Z] ========================================================= [2023-03-01T05:05:19.493Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-01T05:05:19.493Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:05:20.005Z] + 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-03-01T05:05:20.278Z] Sending build context to Docker daemon 5.698MB [2023-03-01T05:05:20.552Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:05:20.552Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-01T05:05:20.552Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-01T05:05:20.552Z] 9b18e9b68314: Pulling fs layer [2023-03-01T05:05:20.552Z] 35d82f9e3411: Pulling fs layer [2023-03-01T05:05:20.552Z] e16973657156: Pulling fs layer [2023-03-01T05:05:20.552Z] fc693d55d65f: Pulling fs layer [2023-03-01T05:05:20.552Z] 7e9fc2657dce: Pulling fs layer [2023-03-01T05:05:20.552Z] dda99020689f: Pulling fs layer [2023-03-01T05:05:20.552Z] db1c61fa0a46: Pulling fs layer [2023-03-01T05:05:20.552Z] 891c053d2c06: Pulling fs layer [2023-03-01T05:05:20.552Z] dda99020689f: Waiting [2023-03-01T05:05:20.552Z] db1c61fa0a46: Waiting [2023-03-01T05:05:20.552Z] 891c053d2c06: Waiting [2023-03-01T05:05:20.552Z] 7e9fc2657dce: Waiting [2023-03-01T05:05:20.552Z] fc693d55d65f: Waiting [2023-03-01T05:05:20.552Z] e16973657156: Verifying Checksum [2023-03-01T05:05:20.552Z] e16973657156: Download complete [2023-03-01T05:05:20.552Z] 35d82f9e3411: Verifying Checksum [2023-03-01T05:05:20.552Z] 35d82f9e3411: Download complete [2023-03-01T05:05:20.552Z] 7e9fc2657dce: Verifying Checksum [2023-03-01T05:05:20.552Z] 7e9fc2657dce: Download complete [2023-03-01T05:05:20.825Z] dda99020689f: Verifying Checksum [2023-03-01T05:05:20.825Z] dda99020689f: Download complete [2023-03-01T05:05:20.825Z] 9b18e9b68314: Download complete [2023-03-01T05:05:21.820Z] 9b18e9b68314: Pull complete [2023-03-01T05:05:22.096Z] 891c053d2c06: Verifying Checksum [2023-03-01T05:05:22.096Z] 891c053d2c06: Download complete [2023-03-01T05:05:22.368Z] 35d82f9e3411: Pull complete [2023-03-01T05:05:22.962Z] e16973657156: Pull complete [2023-03-01T05:05:23.560Z] db1c61fa0a46: Verifying Checksum [2023-03-01T05:05:23.560Z] db1c61fa0a46: Download complete [2023-03-01T05:05:23.836Z] fc693d55d65f: Verifying Checksum [2023-03-01T05:05:23.836Z] fc693d55d65f: Download complete [2023-03-01T05:05:36.194Z] fc693d55d65f: Pull complete [2023-03-01T05:05:36.194Z] 7e9fc2657dce: Pull complete [2023-03-01T05:05:36.194Z] dda99020689f: Pull complete [2023-03-01T05:05:44.456Z] db1c61fa0a46: Pull complete [2023-03-01T05:05:45.461Z] 891c053d2c06: Pull complete [2023-03-01T05:05:45.461Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-01T05:05:45.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-01T05:05:45.461Z] ---> f96f9c87975a [2023-03-01T05:05:45.461Z] Step 3/10 : ARG MAKE=make build [2023-03-01T05:05:46.461Z] ---> Running in e1db97adf358 [2023-03-01T05:05:46.733Z] Removing intermediate container e1db97adf358 [2023-03-01T05:05:46.733Z] ---> d18ebbe45089 [2023-03-01T05:05:46.733Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-01T05:05:46.733Z] ---> Running in a273577f8d31 [2023-03-01T05:05:47.004Z] Removing intermediate container a273577f8d31 [2023-03-01T05:05:47.004Z] ---> 700dda2978d0 [2023-03-01T05:05:47.004Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:05:47.278Z] ---> Running in 22e86995a368 [2023-03-01T05:05:47.552Z] Removing intermediate container 22e86995a368 [2023-03-01T05:05:47.552Z] ---> d08257571f7d [2023-03-01T05:05:47.552Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-01T05:05:47.552Z] ---> Running in e6075a5f11eb [2023-03-01T05:05:48.987Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T05:05:49.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T05:05:50.685Z] OK: 221 MiB in 51 packages [2023-03-01T05:05:51.667Z] Removing intermediate container e6075a5f11eb [2023-03-01T05:05:51.667Z] ---> 3db30552ac9e [2023-03-01T05:05:51.667Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-01T05:05:52.258Z] ---> b044d79512a1 [2023-03-01T05:05:52.258Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:05:52.258Z] ---> Running in ec9a9059d9fb [2023-03-01T05:07:00.620Z] Removing intermediate container ec9a9059d9fb [2023-03-01T05:07:00.620Z] ---> dbdbc6c84918 [2023-03-01T05:07:00.620Z] Step 9/10 : COPY . . [2023-03-01T05:07:00.620Z] ---> 9b90e7eb40ad [2023-03-01T05:07:00.620Z] Step 10/10 : RUN ${MAKE} [2023-03-01T05:07:00.620Z] ---> Running in 65e7098abe9a [2023-03-01T05:07:00.620Z] noop [2023-03-01T05:07:00.620Z] Removing intermediate container 65e7098abe9a [2023-03-01T05:07:00.620Z] ---> d5224e05acff [2023-03-01T05:07:00.620Z] Successfully built d5224e05acff [2023-03-01T05:07:00.620Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:07:01.107Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T05:07:01.108Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:07:01.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-7898 does not seem to be running inside a container [2023-03-01T05:07:01.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T05:07:02.852Z] $ docker top 2bf7a48ed3d7bf4832f40aba2401a4bfcdca91b750e6e84cd044564eaecbd8f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:07:03.781Z] + go version [2023-03-01T05:07:03.781Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-01T05:07:03.812Z] $ docker stop --time=1 2bf7a48ed3d7bf4832f40aba2401a4bfcdca91b750e6e84cd044564eaecbd8f2 [2023-03-01T05:07:05.520Z] $ docker rm -f --volumes 2bf7a48ed3d7bf4832f40aba2401a4bfcdca91b750e6e84cd044564eaecbd8f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:07:06.379Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T05:07:06.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:07:06.655Z] prd-ubuntu20.04-docker-arm64-4c-16g-7898 does not seem to be running inside a container [2023-03-01T05:07:06.729Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T05:07:07.987Z] $ docker top 9a7adaaf4a9ba2532b92fa80ddb33938fb138176d668d38f06ef97ea2624aaff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:07:08.887Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-01T05:07:09.606Z] + make test [2023-03-01T05:07:09.606Z] go test -race -coverprofile=coverage.out ./... [2023-03-01T05:07:48.527Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-01T05:10:25.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-01T05:10:25.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-01T05:10:25.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-01T05:10:25.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-01T05:10:25.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-01T05:10:35.445Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.416s coverage: 27.6% of statements [2023-03-01T05:10:35.445Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.338s coverage: 78.9% of statements [2023-03-01T05:10:35.445Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-01T05:10:42.114Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.485s coverage: 86.0% of statements [2023-03-01T05:10:42.114Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-01T05:10:42.114Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-01T05:10:45.500Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.500s coverage: 75.0% of statements [2023-03-01T05:10:45.500Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-01T05:10:45.500Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.316s coverage: 15.3% of statements [2023-03-01T05:10:45.500Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-01T05:10:48.112Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.480s coverage: 65.2% of statements [2023-03-01T05:10:48.112Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-01T05:10:48.112Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-01T05:10:48.112Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.581s coverage: 89.2% of statements [2023-03-01T05:10:48.112Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-01T05:10:48.112Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.346s coverage: 4.6% of statements [2023-03-01T05:10:48.112Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-01T05:10:48.381Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-01T05:10:48.381Z] GO111MODULE=on go vet ./... [2023-03-01T05:12:40.139Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T05:12:40.139Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T05:12:40.139Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T05:12:40.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T05:12:40.244Z] $ docker stop --time=1 9a7adaaf4a9ba2532b92fa80ddb33938fb138176d668d38f06ef97ea2624aaff [2023-03-01T05:12:42.232Z] $ docker rm -f --volumes 9a7adaaf4a9ba2532b92fa80ddb33938fb138176d668d38f06ef97ea2624aaff [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T05:12:43.866Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T05:12:43.901Z] Warning: overwriting stash ‘coverage-report’ [2023-03-01T05:12:44.585Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T05:12:45.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T05:12:45.509Z] + ls -al . [2023-03-01T05:12:45.509Z] total 276 [2023-03-01T05:12:45.509Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 05:07 . [2023-03-01T05:12:45.509Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:04 .. [2023-03-01T05:12:45.509Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 05:04 .dockerignore [2023-03-01T05:12:45.509Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 05:04 .git [2023-03-01T05:12:45.509Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:04 .github [2023-03-01T05:12:45.509Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 05:04 .gitignore [2023-03-01T05:12:45.509Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 05:04 .golangci.yml [2023-03-01T05:12:45.509Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 05:04 CHANGELOG.md [2023-03-01T05:12:45.509Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 05:04 GOVERNANCE.md [2023-03-01T05:12:45.509Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 05:04 Jenkinsfile [2023-03-01T05:12:45.509Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 05:04 LICENSE [2023-03-01T05:12:45.509Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 05:04 Makefile [2023-03-01T05:12:45.509Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 05:04 OWNERS.md [2023-03-01T05:12:45.509Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 05:04 README.md [2023-03-01T05:12:45.509Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 05:01 VERSION [2023-03-01T05:12:45.509Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:04 bin [2023-03-01T05:12:45.509Z] -rw-r--r-- 1 jenkins jenkins 111244 Mar 1 05:10 coverage.out [2023-03-01T05:12:45.510Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 05:04 example [2023-03-01T05:12:45.510Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 05:04 go.mod [2023-03-01T05:12:45.510Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 05:04 go.sum [2023-03-01T05:12:45.510Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 05:04 internal [2023-03-01T05:12:45.510Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 05:04 openapi [2023-03-01T05:12:45.510Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 05:04 pkg [2023-03-01T05:12:45.510Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:04 snap [2023-03-01T05:12:45.510Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 05:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:12:45.941Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=47dc9c5e9ede83b896a9158eb6c209022a995c6b --label arch=arm64 --label version=0.0.0 . [2023-03-01T05:12:46.529Z] Sending build context to Docker daemon 5.81MB [2023-03-01T05:12:46.529Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:12:46.529Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-01T05:12:46.529Z] ---> d5224e05acff [2023-03-01T05:12:46.529Z] Step 3/23 : ARG MAKE=make build [2023-03-01T05:12:46.529Z] ---> Running in 750afc6282f7 [2023-03-01T05:12:46.798Z] Removing intermediate container 750afc6282f7 [2023-03-01T05:12:46.798Z] ---> fdbdafe64981 [2023-03-01T05:12:46.798Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-01T05:12:47.068Z] ---> Running in e6d8548e52c6 [2023-03-01T05:12:47.339Z] Removing intermediate container e6d8548e52c6 [2023-03-01T05:12:47.339Z] ---> 0d7925d29565 [2023-03-01T05:12:47.339Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:12:47.339Z] ---> Running in 3ec6c6b5aa2a [2023-03-01T05:12:47.928Z] Removing intermediate container 3ec6c6b5aa2a [2023-03-01T05:12:47.928Z] ---> bfa0e1bd0756 [2023-03-01T05:12:47.928Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-01T05:12:47.928Z] ---> Running in 3de652960438 [2023-03-01T05:12:48.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T05:12:49.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T05:12:50.919Z] OK: 221 MiB in 51 packages [2023-03-01T05:12:51.507Z] Removing intermediate container 3de652960438 [2023-03-01T05:12:51.507Z] ---> 245445d5046b [2023-03-01T05:12:51.507Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-01T05:12:52.093Z] ---> f89b359e299b [2023-03-01T05:12:52.093Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:12:52.093Z] ---> Running in 0db0b1c06c90 [2023-03-01T05:12:54.687Z] Removing intermediate container 0db0b1c06c90 [2023-03-01T05:12:54.687Z] ---> af6ca4ec1199 [2023-03-01T05:12:54.687Z] Step 9/23 : COPY . . [2023-03-01T05:12:56.102Z] ---> a7fadda026ec [2023-03-01T05:12:56.102Z] Step 10/23 : RUN ${MAKE} [2023-03-01T05:12:56.102Z] ---> Running in 62b54e4b4c1c [2023-03-01T05:12:57.525Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-01T05:15:19.606Z] Removing intermediate container 62b54e4b4c1c [2023-03-01T05:15:19.606Z] ---> bc5464203923 [2023-03-01T05:15:19.606Z] Step 11/23 : FROM alpine:3.16 [2023-03-01T05:15:19.606Z] 3.16: Pulling from library/alpine [2023-03-01T05:15:19.606Z] 3760b48202b3: Pulling fs layer [2023-03-01T05:15:19.606Z] 3760b48202b3: Verifying Checksum [2023-03-01T05:15:19.606Z] 3760b48202b3: Download complete [2023-03-01T05:15:19.606Z] 3760b48202b3: Pull complete [2023-03-01T05:15:19.606Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T05:15:19.606Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T05:15:19.606Z] ---> 4c81e5bf8899 [2023-03-01T05:15:19.606Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-01T05:15:19.606Z] ---> Running in 9ccf6c880300 [2023-03-01T05:15:19.606Z] Removing intermediate container 9ccf6c880300 [2023-03-01T05:15:19.606Z] ---> 2eebb459a15a [2023-03-01T05:15:19.606Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-01T05:15:19.606Z] ---> Running in 37176b8298e0 [2023-03-01T05:15:19.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T05:15:19.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T05:15:19.606Z] OK: 5 MiB in 14 packages [2023-03-01T05:15:19.606Z] Removing intermediate container 37176b8298e0 [2023-03-01T05:15:19.606Z] ---> ef9aaaed08c0 [2023-03-01T05:15:19.606Z] Step 14/23 : WORKDIR / [2023-03-01T05:15:19.606Z] ---> Running in 2e080a32ff1e [2023-03-01T05:15:19.606Z] Removing intermediate container 2e080a32ff1e [2023-03-01T05:15:19.606Z] ---> cd8be0230482 [2023-03-01T05:15:19.606Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-01T05:15:19.606Z] ---> 128566066dd5 [2023-03-01T05:15:19.606Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-01T05:15:19.606Z] ---> fe35b119dc7f [2023-03-01T05:15:19.606Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-01T05:15:19.606Z] ---> cdaf16e10a92 [2023-03-01T05:15:19.606Z] Step 18/23 : EXPOSE 59999 [2023-03-01T05:15:19.874Z] ---> Running in e57d0c17624f [2023-03-01T05:15:20.150Z] Removing intermediate container e57d0c17624f [2023-03-01T05:15:20.150Z] ---> 31e3161706d0 [2023-03-01T05:15:20.150Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-01T05:15:20.150Z] ---> Running in 2355d6d4c8c8 [2023-03-01T05:15:20.419Z] Removing intermediate container 2355d6d4c8c8 [2023-03-01T05:15:20.419Z] ---> af7c192f6e76 [2023-03-01T05:15:20.419Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-01T05:15:20.419Z] ---> Running in 0600de738d14 [2023-03-01T05:15:20.711Z] Removing intermediate container 0600de738d14 [2023-03-01T05:15:20.711Z] ---> 2c7315e20002 [2023-03-01T05:15:20.711Z] Step 21/23 : LABEL arch=arm64 [2023-03-01T05:15:20.980Z] ---> Running in d0c6b0bf42ac [2023-03-01T05:15:21.252Z] Removing intermediate container d0c6b0bf42ac [2023-03-01T05:15:21.252Z] ---> 71276e9d5960 [2023-03-01T05:15:21.252Z] Step 22/23 : LABEL git_sha=47dc9c5e9ede83b896a9158eb6c209022a995c6b [2023-03-01T05:15:21.252Z] ---> Running in 64c166f286c5 [2023-03-01T05:15:21.529Z] Removing intermediate container 64c166f286c5 [2023-03-01T05:15:21.529Z] ---> 3b621da6fa8e [2023-03-01T05:15:21.529Z] Step 23/23 : LABEL version=0.0.0 [2023-03-01T05:15:21.797Z] ---> Running in 24df1022940a [2023-03-01T05:15:22.063Z] Removing intermediate container 24df1022940a [2023-03-01T05:15:22.063Z] ---> b15cd9aac11d [2023-03-01T05:15:22.063Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T05:15:22.063Z] Successfully built b15cd9aac11d [2023-03-01T05:15:22.063Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:15:22.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T05:15:22.828Z] [2023-03-01T05:15:22.828Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:15:23.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T05:15:23.231Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-01T05:15:23.231Z] 8998bd30e6a1: Pulling fs layer [2023-03-01T05:15:23.231Z] 04944245beec: Pulling fs layer [2023-03-01T05:15:23.231Z] 699f458cf7ca: Pulling fs layer [2023-03-01T05:15:23.231Z] 765212b225bb: Pulling fs layer [2023-03-01T05:15:23.232Z] f23df028b6ca: Pulling fs layer [2023-03-01T05:15:23.232Z] d65c8cfc05b1: Pulling fs layer [2023-03-01T05:15:23.232Z] 2437ff75d9bd: Pulling fs layer [2023-03-01T05:15:23.232Z] f23df028b6ca: Waiting [2023-03-01T05:15:23.232Z] d65c8cfc05b1: Waiting [2023-03-01T05:15:23.232Z] 765212b225bb: Waiting [2023-03-01T05:15:23.232Z] 2437ff75d9bd: Waiting [2023-03-01T05:15:23.500Z] 04944245beec: Verifying Checksum [2023-03-01T05:15:23.500Z] 04944245beec: Download complete [2023-03-01T05:15:23.500Z] 765212b225bb: Download complete [2023-03-01T05:15:23.500Z] f23df028b6ca: Download complete [2023-03-01T05:15:23.500Z] d65c8cfc05b1: Download complete [2023-03-01T05:15:23.767Z] 699f458cf7ca: Verifying Checksum [2023-03-01T05:15:24.036Z] 8998bd30e6a1: Verifying Checksum [2023-03-01T05:15:24.036Z] 8998bd30e6a1: Download complete [2023-03-01T05:15:25.980Z] 2437ff75d9bd: Verifying Checksum [2023-03-01T05:15:25.980Z] 2437ff75d9bd: Download complete [2023-03-01T05:15:27.921Z] 8998bd30e6a1: Pull complete [2023-03-01T05:15:28.189Z] 04944245beec: Pull complete [2023-03-01T05:15:29.596Z] 699f458cf7ca: Pull complete [2023-03-01T05:15:29.596Z] 765212b225bb: Pull complete [2023-03-01T05:15:30.181Z] f23df028b6ca: Pull complete [2023-03-01T05:15:30.451Z] d65c8cfc05b1: Pull complete [2023-03-01T05:15:45.435Z] 2437ff75d9bd: Pull complete [2023-03-01T05:15:45.435Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-01T05:15:45.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T05:15:45.435Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:15:45.753Z] prd-ubuntu20.04-docker-arm64-4c-16g-7898 does not seem to be running inside a container [2023-03-01T05:15:45.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-01T05:15:48.490Z] $ docker top fb94af90adad429192ddf2f5a3c78aa79f7915acbac4c70cfa47fb6d8b7c5287 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:15:49.404Z] ---> job-cost.sh [2023-03-01T05:15:49.404Z] lf-activate-venv: SKIPPING [2023-03-01T05:15:49.404Z] INFO: No Stack... [2023-03-01T05:15:49.989Z] INFO: Retrieving Pricing Info for: v3-standard-4 [Pipeline] echo [2023-03-01T05:18:11.686Z] Exception caught while running job-cost.sh. [Pipeline] } [2023-03-01T05:18:11.691Z] $ docker stop --time=1 fb94af90adad429192ddf2f5a3c78aa79f7915acbac4c70cfa47fb6d8b7c5287 [2023-03-01T05:18:13.233Z] $ docker rm -f --volumes fb94af90adad429192ddf2f5a3c78aa79f7915acbac4c70cfa47fb6d8b7c5287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-01T05:18:14.194Z] provisioning config files... [2023-03-01T05:18:14.201Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp/config3507153102608239125tmp [Pipeline] { [Pipeline] sh [2023-03-01T05:18:14.535Z] + set +x [2023-03-01T05:18:14.535Z] + bash -s -- [2023-03-01T05:18:14.535Z] + curl -s https://codecov.io/bash [2023-03-01T05:18:14.535Z] [2023-03-01T05:18:14.535Z] _____ _ [2023-03-01T05:18:14.535Z] / ____| | | [2023-03-01T05:18:14.535Z] | | ___ __| | ___ ___ _____ __ [2023-03-01T05:18:14.535Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-01T05:18:14.535Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-01T05:18:14.535Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-01T05:18:14.535Z] Bash-1.0.6 [2023-03-01T05:18:14.535Z] [2023-03-01T05:18:14.535Z] [2023-03-01T05:18:14.535Z] ==> git version 2.25.1 found [2023-03-01T05:18:14.535Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-01T05:18:14.535Z] Release-Date: 2020-01-08 [2023-03-01T05:18:14.535Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-01T05:18:14.535Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-01T05:18:14.535Z] ==> Jenkins CI detected. [2023-03-01T05:18:14.535Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1354 [2023-03-01T05:18:14.535Z] project root: . [2023-03-01T05:18:14.535Z] --> token set from env [2023-03-01T05:18:14.535Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-01T05:18:14.535Z] ==> Running gcov in . (disable via -X gcov) [2023-03-01T05:18:14.535Z] ==> Python coveragepy not found [2023-03-01T05:18:14.535Z] ==> Searching for coverage reports in: [2023-03-01T05:18:14.535Z] + . [2023-03-01T05:18:14.535Z] -> Found 1 reports [2023-03-01T05:18:14.535Z] ==> Detecting git/mercurial file structure [2023-03-01T05:18:14.535Z] ==> Reading reports [2023-03-01T05:18:14.535Z] + ./coverage.out bytes=111244 [2023-03-01T05:18:14.794Z] ==> Appending adjustments [2023-03-01T05:18:14.794Z] https://docs.codecov.io/docs/fixing-reports [2023-03-01T05:18:15.057Z] + Found adjustments [2023-03-01T05:18:15.057Z] ==> Gzipping contents [2023-03-01T05:18:15.057Z] 16K /tmp/codecov.Tf5y8a.gz [2023-03-01T05:18:15.057Z] ==> Uploading reports [2023-03-01T05:18:15.057Z] url: https://codecov.io [2023-03-01T05:18:15.057Z] query: branch=PR-1354&commit=47dc9c5e9ede83b896a9158eb6c209022a995c6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1354&job=&cmd_args= [2023-03-01T05:18:15.057Z] -> Pinging Codecov [2023-03-01T05:18:15.057Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1354&commit=47dc9c5e9ede83b896a9158eb6c209022a995c6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1354&job=&cmd_args= [2023-03-01T05:18:15.057Z] -> Uploading to [2023-03-01T05:18:15.057Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-01/7E55EF52A471D76F132DFD9A03CDDE97/47dc9c5e9ede83b896a9158eb6c209022a995c6b/993f8d9c-c34c-4b18-a2df-dd786cb75b68.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T051814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b9b9c4b20bd165de354972d49222db64df1f1bb1bd9b6ce2e155e28dadcd5e4 [2023-03-01T05:18:15.057Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T05:18:15.057Z] Dload Upload Total Spent Left Speed [2023-03-01T05:18:15.319Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15359 0 0 100 15359 0 69813 --:--:-- --:--:-- --:--:-- 69497 100 15359 0 0 100 15359 0 59762 --:--:-- --:--:-- --:--:-- 59531 [2023-03-01T05:18:15.319Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/47dc9c5e9ede83b896a9158eb6c209022a995c6b [Pipeline] } [2023-03-01T05:18:15.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-01T05:18:17.050Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1354/archives ] [2023-03-01T05:18:17.051Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1354/archives [2023-03-01T05:18:17.051Z] total 16 [2023-03-01T05:18:17.051Z] drwxr-xr-x 3 root root 4096 Mar 1 05:03 . [2023-03-01T05:18:17.051Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 05:03 .. [2023-03-01T05:18:17.051Z] drwxr-xr-x 2 root root 4096 Mar 1 05:03 cost [2023-03-01T05:18:17.051Z] -rw-r--r-- 1 root root 86 Mar 1 05:03 cost.csv [2023-03-01T05:18:17.051Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1354/archives [2023-03-01T05:18:17.051Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1354/archives [2023-03-01T05:18:17.051Z] total 16 [2023-03-01T05:18:17.051Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 05:03 . [2023-03-01T05:18:17.051Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 05:03 .. [2023-03-01T05:18:17.051Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 05:03 cost [2023-03-01T05:18:17.051Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 1 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:18:17.376Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:18:18.257Z] ---> package-listing.sh [2023-03-01T05:18:18.257Z] ++ facter osfamily [2023-03-01T05:18:18.257Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-01T05:18:18.516Z] + OS_FAMILY=debian [2023-03-01T05:18:18.516Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1354 [2023-03-01T05:18:18.516Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-01T05:18:18.516Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-01T05:18:18.516Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-01T05:18:18.516Z] + PACKAGES=/tmp/packages_start.txt [2023-03-01T05:18:18.516Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1354 ']' [2023-03-01T05:18:18.516Z] + PACKAGES=/tmp/packages_end.txt [2023-03-01T05:18:18.516Z] + case "${OS_FAMILY}" in [2023-03-01T05:18:18.516Z] + dpkg -l [2023-03-01T05:18:18.516Z] + grep '^ii' [2023-03-01T05:18:18.516Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-01T05:18:18.516Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-01T05:18:18.516Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-01T05:18:18.516Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1354 ']' [2023-03-01T05:18:18.516Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1354/archives/ [2023-03-01T05:18:18.516Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1354/archives/ [Pipeline] echo [2023-03-01T05:18:18.553Z] 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-1354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-01T05:18:18.851Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:18:19.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:18:19.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:18:19.623Z] prd-ubuntu20.04-docker-8c-8g-7891 does not seem to be running inside a container [2023-03-01T05:18:19.657Z] $ 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-1354/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-1354 -v /w/workspace/gexfoundry_device-sdk-go_PR-1354:/w/workspace/gexfoundry_device-sdk-go_PR-1354:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1354@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-03-01T05:18:19.828Z] $ docker top c4c75f52a85f0e6b34fddd536d20679ab78fc2f3345cc79ab4b86958d8c51086 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:18:20.219Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-01T05:18:20.528Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-01T05:18:20.838Z] + ls /var/log/sa-host [2023-03-01T05:18:20.838Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:18:20.968Z] provisioning config files... [2023-03-01T05:18:20.977Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1354@tmp/config13896627175779987956tmp [Pipeline] { [Pipeline] echo [2023-03-01T05:18:21.033Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:18:21.354Z] ---> create-netrc.sh [Pipeline] } [2023-03-01T05:18:21.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:18:21.784Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-01T05:18:21.815Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:18:22.123Z] ---> sudo-logs.sh [2023-03-01T05:18:22.123Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-01T05:18:22.212Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:18:22.524Z] ---> job-cost.sh [2023-03-01T05:18:22.524Z] lf-activate-venv: SKIPPING [2023-03-01T05:18:22.524Z] DEBUG: total: 0.2199999988079071 [2023-03-01T05:18:22.524Z] INFO: Retrieving Stack Cost... [2023-03-01T05:18:22.784Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T05:18:23.351Z] INFO: Archiving Costs [Pipeline] echo [2023-03-01T05:18:23.382Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:18:23.690Z] ---> logs-deploy.sh [2023-03-01T05:18:23.690Z] lf-activate-venv: SKIPPING [2023-03-01T05:18:23.690Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1354/1 [2023-03-01T05:18:23.690Z] INFO: archiving workspace using pattern(s): [2023-03-01T05:18:24.630Z] Archives upload complete. [2023-03-01T05:18:24.630Z] INFO: archiving logs to Nexus