Pull request #1320 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4b8be513614cb211fc93121ec009df353f6139ea+e412a44eb13141e6797f53827a761c4e91ea34f8 (867355aaae6327e084e70ad205c360e49fc25e5d) 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-ssh10926526392440705392.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-ssh14830756426145409962.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-1320/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-1320/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17958557477435706359.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-1320/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1838046250270544937.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-ssh15208126165656895.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-1320/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-1320/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10616811763433122270.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5892 in /w/workspace/gexfoundry_device-sdk-go_PR-1320 [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-1320 # 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/1320/head:refs/remotes/origin/PR-1320 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e412a44eb13141e6797f53827a761c4e91ea34f8 into PR head commit 4b8be513614cb211fc93121ec009df353f6139ea Merge succeeded, producing 4b8be513614cb211fc93121ec009df353f6139ea Checking out Revision 4b8be513614cb211fc93121ec009df353f6139ea (PR-1320) > git config core.sparsecheckout # timeout=10 > git checkout -f 4b8be513614cb211fc93121ec009df353f6139ea # 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 e412a44eb13141e6797f53827a761c4e91ea34f8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b8be513614cb211fc93121ec009df353f6139ea # timeout=10 Commit message: "refactor: tweaks to private config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-14T20:35:11.223Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-14T20:35:11.412Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-14T20:35:11.516Z] ========================================================= [2023-02-14T20:35:11.516Z] EdgeX Global Pipelines Version Info [2023-02-14T20:35:11.516Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:35:12.294Z] ------------------- [2023-02-14T20:35:12.294Z] stable info: [2023-02-14T20:35:12.294Z] ------------------- [2023-02-14T20:35:12.294Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-14T20:35:12.294Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T20:35:12.294Z] Message: update stable to v1.0.244 [2023-02-14T20:35:12.867Z] ------------------- [2023-02-14T20:35:12.867Z] experimental info: [2023-02-14T20:35:12.867Z] ------------------- [2023-02-14T20:35:12.867Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-14T20:35:12.867Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T20:35:12.867Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-14T20:35:13.155Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-14T20:35:13.205Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-14T20:35:13.248Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-14T20:35:13.292Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-14T20:35:13.337Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-14T20:35:13.385Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-14T20:35:13.429Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-14T20:35:13.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-14T20:35:13.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-14T20:35:13.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-14T20:35:13.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-14T20:35:13.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-14T20:35:13.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-14T20:35:13.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-14T20:35:13.763Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T20:35:13.804Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T20:35:13.843Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T20:35:13.881Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T20:35:13.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-14T20:35:13.956Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-14T20:35:13.999Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-14T20:35:14.045Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-14T20:35:14.174Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-14T20:35:14.215Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-14T20:35:14.254Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-14T20:35:14.296Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-14T20:35:14.339Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-14T20:35:14.381Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1320 [Pipeline] echo [2023-02-14T20:35:14.424Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1320 [Pipeline] echo [2023-02-14T20:35:14.469Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1320 [Pipeline] echo [2023-02-14T20:35:14.513Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b8be513614cb211fc93121ec009df353f6139ea [Pipeline] echo [2023-02-14T20:35:14.555Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b8be51 [Pipeline] echo [2023-02-14T20:35:14.595Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T20:35:14.715Z] provisioning config files... [2023-02-14T20:35:14.729Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp/config17431275889569719238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:35:15.075Z] ---> docker-login.sh [2023-02-14T20:35:15.075Z] nexus3.edgexfoundry.org:10001 [2023-02-14T20:35:15.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:35:15.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:35:15.339Z] Configure a credential helper to remove this warning. See [2023-02-14T20:35:15.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:35:15.339Z] [2023-02-14T20:35:15.339Z] Login Succeeded [2023-02-14T20:35:15.339Z] nexus3.edgexfoundry.org:10002 [2023-02-14T20:35:15.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:35:15.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:35:15.339Z] Configure a credential helper to remove this warning. See [2023-02-14T20:35:15.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:35:15.339Z] [2023-02-14T20:35:15.339Z] Login Succeeded [2023-02-14T20:35:15.339Z] nexus3.edgexfoundry.org:10003 [2023-02-14T20:35:15.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:35:15.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:35:15.601Z] Configure a credential helper to remove this warning. See [2023-02-14T20:35:15.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:35:15.601Z] [2023-02-14T20:35:15.601Z] Login Succeeded [2023-02-14T20:35:15.601Z] nexus3.edgexfoundry.org:10004 [2023-02-14T20:35:15.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:35:15.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:35:15.601Z] Configure a credential helper to remove this warning. See [2023-02-14T20:35:15.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:35:15.601Z] [2023-02-14T20:35:15.601Z] Login Succeeded [2023-02-14T20:35:15.601Z] docker.io [2023-02-14T20:35:15.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:35:16.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:35:16.123Z] Configure a credential helper to remove this warning. See [2023-02-14T20:35:16.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:35:16.123Z] [2023-02-14T20:35:16.123Z] Login Succeeded [2023-02-14T20:35:16.123Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T20:35:16.176Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-14T20:35:16.836Z] + git rev-list -1 --merges 4b8be513614cb211fc93121ec009df353f6139ea~1..4b8be513614cb211fc93121ec009df353f6139ea [Pipeline] echo [2023-02-14T20:35:16.901Z] -----------> git rev-list -1 --merges 4b8be513614cb211fc93121ec009df353f6139ea~1..4b8be513614cb211fc93121ec009df353f6139ea 4b8be513614cb211fc93121ec009df353f6139ea [false] [Pipeline] sh [2023-02-14T20:35:17.213Z] + git log --format=format:%s -1 4b8be513614cb211fc93121ec009df353f6139ea [Pipeline] echo [2023-02-14T20:35:17.250Z] ========================================================= [2023-02-14T20:35:17.250Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-14T20:35:17.250Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T20:35:17.682Z] + git log --format=format:%s -1 4b8be513614cb211fc93121ec009df353f6139ea [Pipeline] echo [2023-02-14T20:35:17.716Z] [semverPrep] GIT_COMMIT: 4b8be513614cb211fc93121ec009df353f6139ea, Commit Message: refactor: tweaks to private config [Pipeline] echo [2023-02-14T20:35:17.747Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-14T20:35:18.209Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-14T20:35:18.209Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-14T20:35:18.209Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-14T20:35:18.209Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-14T20:35:18.210Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-14T20:35:18.210Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-14T20:35:18.210Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:35:18.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T20:35:18.748Z] [2023-02-14T20:35:18.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:35:19.123Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T20:35:19.123Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-14T20:35:19.123Z] b85a868b505f: Pulling fs layer [2023-02-14T20:35:19.123Z] e2be974225ed: Pulling fs layer [2023-02-14T20:35:19.123Z] 339a4e72a1f5: Pulling fs layer [2023-02-14T20:35:19.123Z] 988bab9f4d93: Pulling fs layer [2023-02-14T20:35:19.123Z] 1469e6f7b9e6: Pulling fs layer [2023-02-14T20:35:19.123Z] eaf3925da568: Pulling fs layer [2023-02-14T20:35:19.123Z] bab4dde63d76: Pulling fs layer [2023-02-14T20:35:19.123Z] bde34c3a00c8: Pulling fs layer [2023-02-14T20:35:19.123Z] b352a97aabf1: Pulling fs layer [2023-02-14T20:35:19.123Z] 4872d77fe225: Pulling fs layer [2023-02-14T20:35:19.123Z] 5851b861e8e6: Pulling fs layer [2023-02-14T20:35:19.123Z] 1469e6f7b9e6: Waiting [2023-02-14T20:35:19.123Z] eaf3925da568: Waiting [2023-02-14T20:35:19.123Z] bab4dde63d76: Waiting [2023-02-14T20:35:19.123Z] 988bab9f4d93: Waiting [2023-02-14T20:35:19.123Z] 4872d77fe225: Waiting [2023-02-14T20:35:19.123Z] 5851b861e8e6: Waiting [2023-02-14T20:35:19.123Z] bde34c3a00c8: Waiting [2023-02-14T20:35:19.123Z] e2be974225ed: Download complete [2023-02-14T20:35:19.123Z] 988bab9f4d93: Download complete [2023-02-14T20:35:19.385Z] 1469e6f7b9e6: Verifying Checksum [2023-02-14T20:35:19.385Z] 1469e6f7b9e6: Download complete [2023-02-14T20:35:19.385Z] eaf3925da568: Verifying Checksum [2023-02-14T20:35:19.385Z] eaf3925da568: Download complete [2023-02-14T20:35:19.385Z] 339a4e72a1f5: Verifying Checksum [2023-02-14T20:35:19.385Z] 339a4e72a1f5: Download complete [2023-02-14T20:35:19.646Z] b85a868b505f: Verifying Checksum [2023-02-14T20:35:19.646Z] b85a868b505f: Download complete [2023-02-14T20:35:19.646Z] b352a97aabf1: Verifying Checksum [2023-02-14T20:35:19.646Z] b352a97aabf1: Download complete [2023-02-14T20:35:19.646Z] 4872d77fe225: Verifying Checksum [2023-02-14T20:35:19.646Z] 4872d77fe225: Download complete [2023-02-14T20:35:19.905Z] 5851b861e8e6: Download complete [2023-02-14T20:35:19.905Z] bde34c3a00c8: Verifying Checksum [2023-02-14T20:35:19.905Z] bde34c3a00c8: Download complete [2023-02-14T20:35:19.905Z] bab4dde63d76: Verifying Checksum [2023-02-14T20:35:19.905Z] bab4dde63d76: Download complete [2023-02-14T20:35:20.840Z] b85a868b505f: Pull complete [2023-02-14T20:35:21.100Z] e2be974225ed: Pull complete [2023-02-14T20:35:21.670Z] 339a4e72a1f5: Pull complete [2023-02-14T20:35:21.670Z] 988bab9f4d93: Pull complete [2023-02-14T20:35:21.928Z] 1469e6f7b9e6: Pull complete [2023-02-14T20:35:22.185Z] eaf3925da568: Pull complete [2023-02-14T20:35:24.130Z] bab4dde63d76: Pull complete [2023-02-14T20:35:24.130Z] bde34c3a00c8: Pull complete [2023-02-14T20:35:24.130Z] b352a97aabf1: Pull complete [2023-02-14T20:35:24.390Z] 4872d77fe225: Pull complete [2023-02-14T20:35:24.390Z] 5851b861e8e6: Pull complete [2023-02-14T20:35:24.390Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-14T20:35:24.390Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T20:35:24.390Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T20:35:24.604Z] prd-ubuntu20.04-docker-8c-8g-5892 does not seem to be running inside a container [2023-02-14T20:35:24.634Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1320 -v /w/workspace/gexfoundry_device-sdk-go_PR-1320:/w/workspace/gexfoundry_device-sdk-go_PR-1320:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-14T20:35:27.373Z] $ docker top 3a41f503f307e2bc4dbdeb057fed4f98be5bfdf138d52b492cd01405e1de754b -eo pid,comm [2023-02-14T20:35:27.440Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-14T20:35:27.440Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-14T20:35:27.570Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T20:35:27.570Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T20:35:27.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T20:35:27.673Z] $ docker exec 3a41f503f307e2bc4dbdeb057fed4f98be5bfdf138d52b492cd01405e1de754b ssh-agent [2023-02-14T20:35:27.804Z] SSH_AUTH_SOCK=/tmp/ssh-MoMynrxsAKQ1/agent.31 [2023-02-14T20:35:27.804Z] SSH_AGENT_PID=37 [2023-02-14T20:35:27.812Z] Running ssh-add (command line suppressed) [2023-02-14T20:35:27.910Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp/private_key_3692705929027889490.key (/w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp/private_key_3692705929027889490.key) [2023-02-14T20:35:27.930Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T20:35:28.263Z] + git tag --points-at HEAD [Pipeline] } [2023-02-14T20:35:28.280Z] $ docker exec --env ******** --env ******** 3a41f503f307e2bc4dbdeb057fed4f98be5bfdf138d52b492cd01405e1de754b ssh-agent -k [2023-02-14T20:35:28.386Z] unset SSH_AUTH_SOCK; [2023-02-14T20:35:28.386Z] unset SSH_AGENT_PID; [2023-02-14T20:35:28.386Z] echo Agent pid 37 killed; [2023-02-14T20:35:28.403Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-14T20:35:28.485Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T20:35:28.485Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T20:35:28.602Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T20:35:28.599Z] $ docker exec 3a41f503f307e2bc4dbdeb057fed4f98be5bfdf138d52b492cd01405e1de754b ssh-agent [2023-02-14T20:35:28.708Z] SSH_AUTH_SOCK=/tmp/ssh-cWbu8DClSJt9/agent.69 [2023-02-14T20:35:28.708Z] SSH_AGENT_PID=75 [2023-02-14T20:35:28.713Z] Running ssh-add (command line suppressed) [2023-02-14T20:35:28.814Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp/private_key_4339528659006998343.key (/w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp/private_key_4339528659006998343.key) [2023-02-14T20:35:28.834Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T20:35:29.158Z] + git semver init [2023-02-14T20:35:29.419Z] 2023-02-14 20:35:29,332 [run_init] DEBUG init version:0.0.0 force:False [2023-02-14T20:35:29.419Z] 2023-02-14 20:35:29,333 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1320/.semver [2023-02-14T20:35:29.419Z] 2023-02-14 20:35:29,333 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1320/.semver [2023-02-14T20:35:29.419Z] 2023-02-14 20:35:29,334 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1320/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1320, universal_newlines=False, shell=None, istream=None) [2023-02-14T20:35:31.327Z] 2023-02-14 20:35:31,168 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1320/.git/info/exclude [2023-02-14T20:35:31.328Z] 2023-02-14 20:35:31,170 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1320/.semver/PR-1320 with force:False [2023-02-14T20:35:31.328Z] 2023-02-14 20:35:31,170 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1320/.semver/PR-1320 [2023-02-14T20:35:31.328Z] 2023-02-14 20:35:31,175 [execute] INFO git cat-file --batch-check [2023-02-14T20:35:31.328Z] 2023-02-14 20:35:31,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1320/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T20:35:31.328Z] 2023-02-14 20:35:31,182 [execute] INFO git cat-file --batch [2023-02-14T20:35:31.328Z] 2023-02-14 20:35:31,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1320/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T20:35:31.328Z] 2023-02-14 20:35:31,187 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1320/.semver/PR-1320 [2023-02-14T20:35:31.328Z] 0.0.0 [Pipeline] } [2023-02-14T20:35:31.352Z] $ docker exec --env ******** --env ******** 3a41f503f307e2bc4dbdeb057fed4f98be5bfdf138d52b492cd01405e1de754b ssh-agent -k [2023-02-14T20:35:31.468Z] unset SSH_AUTH_SOCK; [2023-02-14T20:35:31.469Z] unset SSH_AGENT_PID; [2023-02-14T20:35:31.469Z] echo Agent pid 75 killed; [2023-02-14T20:35:31.484Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-14T20:35:31.918Z] + git semver [Pipeline] } [2023-02-14T20:35:32.197Z] $ docker stop --time=1 3a41f503f307e2bc4dbdeb057fed4f98be5bfdf138d52b492cd01405e1de754b [2023-02-14T20:35:33.484Z] $ docker rm -f --volumes 3a41f503f307e2bc4dbdeb057fed4f98be5bfdf138d52b492cd01405e1de754b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T20:35:33.902Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-14T20:35:34.176Z] Stashed 1 file(s) [Pipeline] echo [2023-02-14T20:35:34.192Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T20:35:34.775Z] provisioning config files... [2023-02-14T20:35:34.784Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp/config5904839378047387664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:35:35.123Z] ---> docker-login.sh [2023-02-14T20:35:35.123Z] nexus3.edgexfoundry.org:10001 [2023-02-14T20:35:35.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:35:35.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:35:35.123Z] Configure a credential helper to remove this warning. See [2023-02-14T20:35:35.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:35:35.123Z] [2023-02-14T20:35:35.123Z] Login Succeeded [2023-02-14T20:35:35.123Z] nexus3.edgexfoundry.org:10002 [2023-02-14T20:35:35.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:35:35.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:35:35.123Z] Configure a credential helper to remove this warning. See [2023-02-14T20:35:35.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:35:35.123Z] [2023-02-14T20:35:35.123Z] Login Succeeded [2023-02-14T20:35:35.384Z] nexus3.edgexfoundry.org:10003 [2023-02-14T20:35:35.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:35:35.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:35:35.384Z] Configure a credential helper to remove this warning. See [2023-02-14T20:35:35.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:35:35.384Z] [2023-02-14T20:35:35.384Z] Login Succeeded [2023-02-14T20:35:35.384Z] nexus3.edgexfoundry.org:10004 [2023-02-14T20:35:35.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:35:35.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:35:35.384Z] Configure a credential helper to remove this warning. See [2023-02-14T20:35:35.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:35:35.384Z] [2023-02-14T20:35:35.384Z] Login Succeeded [2023-02-14T20:35:35.384Z] docker.io [2023-02-14T20:35:35.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:35:35.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:35:35.905Z] Configure a credential helper to remove this warning. See [2023-02-14T20:35:35.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:35:35.905Z] [2023-02-14T20:35:35.905Z] Login Succeeded [2023-02-14T20:35:35.905Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T20:35:35.933Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T20:35:36.133Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T20:35:36.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T20:35:36.200Z] ========================================================= [2023-02-14T20:35:36.200Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-14T20:35:36.200Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:35:36.668Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T20:35:36.668Z] Sending build context to Docker daemon 10.44MB [2023-02-14T20:35:36.668Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T20:35:36.668Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-14T20:35:36.668Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-14T20:35:36.668Z] 213ec9aee27d: Pulling fs layer [2023-02-14T20:35:36.668Z] 4583459ba037: Pulling fs layer [2023-02-14T20:35:36.668Z] 93c1e223e6f2: Pulling fs layer [2023-02-14T20:35:36.668Z] 53926ce57604: Pulling fs layer [2023-02-14T20:35:36.668Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-14T20:35:36.668Z] 22ff95d597cd: Pulling fs layer [2023-02-14T20:35:36.668Z] 12d6caf4c0d1: Pulling fs layer [2023-02-14T20:35:36.668Z] 96b7cbca73a9: Pulling fs layer [2023-02-14T20:35:36.668Z] a7acece74701: Pulling fs layer [2023-02-14T20:35:36.668Z] 21b2b0c7a3f4: Waiting [2023-02-14T20:35:36.668Z] 22ff95d597cd: Waiting [2023-02-14T20:35:36.668Z] 12d6caf4c0d1: Waiting [2023-02-14T20:35:36.668Z] 96b7cbca73a9: Waiting [2023-02-14T20:35:36.668Z] a7acece74701: Waiting [2023-02-14T20:35:36.668Z] 53926ce57604: Waiting [2023-02-14T20:35:36.668Z] 93c1e223e6f2: Verifying Checksum [2023-02-14T20:35:36.668Z] 93c1e223e6f2: Download complete [2023-02-14T20:35:36.668Z] 4583459ba037: Download complete [2023-02-14T20:35:36.933Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-14T20:35:36.933Z] 21b2b0c7a3f4: Download complete [2023-02-14T20:35:36.933Z] 22ff95d597cd: Download complete [2023-02-14T20:35:36.933Z] 213ec9aee27d: Verifying Checksum [2023-02-14T20:35:36.933Z] 213ec9aee27d: Download complete [2023-02-14T20:35:36.933Z] 12d6caf4c0d1: Download complete [2023-02-14T20:35:36.933Z] 213ec9aee27d: Pull complete [2023-02-14T20:35:37.201Z] 4583459ba037: Pull complete [2023-02-14T20:35:37.201Z] 93c1e223e6f2: Pull complete [2023-02-14T20:35:37.805Z] 53926ce57604: Verifying Checksum [2023-02-14T20:35:37.805Z] 53926ce57604: Download complete [2023-02-14T20:35:38.065Z] a7acece74701: Verifying Checksum [2023-02-14T20:35:38.065Z] a7acece74701: Download complete [2023-02-14T20:35:38.065Z] 96b7cbca73a9: Verifying Checksum [2023-02-14T20:35:38.065Z] 96b7cbca73a9: Download complete [2023-02-14T20:35:42.245Z] 53926ce57604: Pull complete [2023-02-14T20:35:42.245Z] 21b2b0c7a3f4: Pull complete [2023-02-14T20:35:42.245Z] 22ff95d597cd: Pull complete [2023-02-14T20:35:42.245Z] 12d6caf4c0d1: Pull complete [2023-02-14T20:35:44.146Z] 96b7cbca73a9: Pull complete [2023-02-14T20:35:45.079Z] a7acece74701: Pull complete [2023-02-14T20:35:45.079Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-14T20:35:45.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-14T20:35:45.079Z] ---> db6d94c90886 [2023-02-14T20:35:45.079Z] Step 3/10 : ARG MAKE=make build [2023-02-14T20:35:48.375Z] ---> Running in 333d9e756ace [2023-02-14T20:35:48.375Z] Removing intermediate container 333d9e756ace [2023-02-14T20:35:48.375Z] ---> 81f3d657439e [2023-02-14T20:35:48.375Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-14T20:35:48.634Z] ---> Running in 53136d4a5a68 [2023-02-14T20:35:48.634Z] Removing intermediate container 53136d4a5a68 [2023-02-14T20:35:48.634Z] ---> 5db7e639c8b4 [2023-02-14T20:35:48.634Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T20:35:48.634Z] ---> Running in 0f7c7a0500a4 [2023-02-14T20:35:48.893Z] Removing intermediate container 0f7c7a0500a4 [2023-02-14T20:35:48.893Z] ---> bc28166423e3 [2023-02-14T20:35:48.893Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-14T20:35:48.893Z] ---> Running in a1f5a54fcd30 [2023-02-14T20:35:49.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T20:35:49.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T20:35:49.600Z] Still waiting to schedule task [2023-02-14T20:35:49.601Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-14T20:35:49.732Z] OK: 211 MiB in 51 packages [2023-02-14T20:35:49.992Z] Removing intermediate container a1f5a54fcd30 [2023-02-14T20:35:49.992Z] ---> 4adcc563d333 [2023-02-14T20:35:49.992Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-14T20:35:49.992Z] ---> 4d98e56587d3 [2023-02-14T20:35:49.992Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T20:35:49.992Z] ---> Running in 4a6cb1f5d226 [2023-02-14T20:36:28.767Z] Removing intermediate container 4a6cb1f5d226 [2023-02-14T20:36:28.767Z] ---> 2d4a2e42b6a1 [2023-02-14T20:36:28.767Z] Step 9/10 : COPY . . [2023-02-14T20:36:28.767Z] ---> 636c9e3a1d34 [2023-02-14T20:36:28.767Z] Step 10/10 : RUN ${MAKE} [2023-02-14T20:36:28.767Z] ---> Running in 84d75b197c9d [2023-02-14T20:36:28.767Z] noop [2023-02-14T20:36:28.767Z] Removing intermediate container 84d75b197c9d [2023-02-14T20:36:28.767Z] ---> ceb42a69b0a4 [2023-02-14T20:36:28.767Z] Successfully built ceb42a69b0a4 [2023-02-14T20:36:28.767Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:36:29.212Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T20:36:29.212Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T20:36:29.371Z] prd-ubuntu20.04-docker-8c-8g-5892 does not seem to be running inside a container [2023-02-14T20:36:29.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1320 -v /w/workspace/gexfoundry_device-sdk-go_PR-1320:/w/workspace/gexfoundry_device-sdk-go_PR-1320:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T20:36:29.749Z] $ docker top 5e7bd94eda47d1d9292ed99e96a0434eea7a8b1028674ca894981585d3879e46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T20:36:30.136Z] + go version [2023-02-14T20:36:30.136Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-14T20:36:30.174Z] $ docker stop --time=1 5e7bd94eda47d1d9292ed99e96a0434eea7a8b1028674ca894981585d3879e46 [2023-02-14T20:36:31.437Z] $ docker rm -f --volumes 5e7bd94eda47d1d9292ed99e96a0434eea7a8b1028674ca894981585d3879e46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:36:32.141Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T20:36:32.141Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T20:36:32.288Z] prd-ubuntu20.04-docker-8c-8g-5892 does not seem to be running inside a container [2023-02-14T20:36:32.324Z] $ 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-1320 -v /w/workspace/gexfoundry_device-sdk-go_PR-1320:/w/workspace/gexfoundry_device-sdk-go_PR-1320:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T20:36:32.678Z] $ docker top a53c3f901cb9b00b9f18c68b4c177ccf9333c7fc349c8efc7e6f3b78ef13c547 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T20:36:33.065Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1320 [Pipeline] fileExists [Pipeline] sh [2023-02-14T20:36:33.419Z] + make test [2023-02-14T20:36:33.419Z] go test -race -coverprofile=coverage.out ./... [2023-02-14T20:36:39.983Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-14T20:36:54.865Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-02-14T20:36:54.865Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 78.9% of statements [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-14T20:36:54.865Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.093s coverage: 78.1% of statements [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-14T20:36:54.865Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 77.0% of statements [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-14T20:36:54.865Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.088s coverage: 65.2% of statements [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-14T20:36:54.865Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.779s coverage: 89.2% of statements [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-14T20:36:54.865Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.7% of statements [2023-02-14T20:36:54.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-14T20:37:12.948Z] 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-02-14T20:37:12.948Z] GO111MODULE=on go vet ./... [2023-02-14T20:37:14.849Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T20:37:14.849Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T20:37:14.849Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-14T20:37:14.886Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T20:37:14.923Z] $ docker stop --time=1 a53c3f901cb9b00b9f18c68b4c177ccf9333c7fc349c8efc7e6f3b78ef13c547 [2023-02-14T20:37:18.293Z] $ docker rm -f --volumes a53c3f901cb9b00b9f18c68b4c177ccf9333c7fc349c8efc7e6f3b78ef13c547 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T20:37:18.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T20:37:18.958Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-14T20:37:19.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T20:37:20.050Z] + ls -al . [2023-02-14T20:37:20.050Z] total 272 [2023-02-14T20:37:20.050Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 20:36 . [2023-02-14T20:37:20.050Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 20:35 .. [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 20:35 .dockerignore [2023-02-14T20:37:20.050Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 20:36 .git [2023-02-14T20:37:20.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 20:35 .github [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 20:35 .gitignore [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 20:35 .golangci.yml [2023-02-14T20:37:20.050Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 20:35 .semver [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 20:35 CHANGELOG.md [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 20:35 GOVERNANCE.md [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 20:35 Jenkinsfile [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 20:35 LICENSE [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 20:35 Makefile [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 20:35 OWNERS.md [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 20:35 README.md [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 20:35 VERSION [2023-02-14T20:37:20.050Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 20:35 bin [2023-02-14T20:37:20.050Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 14 20:36 coverage.out [2023-02-14T20:37:20.050Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 20:35 example [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 20:35 go.mod [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 20:35 go.sum [2023-02-14T20:37:20.050Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 20:35 internal [2023-02-14T20:37:20.050Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 20:35 openapi [2023-02-14T20:37:20.050Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 20:35 pkg [2023-02-14T20:37:20.050Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 20:35 snap [2023-02-14T20:37:20.050Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 20:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:37:20.572Z] + 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=4b8be513614cb211fc93121ec009df353f6139ea --label arch=amd64 --label version=0.0.0 . [2023-02-14T20:37:20.573Z] Sending build context to Docker daemon 10.54MB [2023-02-14T20:37:20.573Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T20:37:20.573Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-14T20:37:20.573Z] ---> ceb42a69b0a4 [2023-02-14T20:37:20.573Z] Step 3/23 : ARG MAKE=make build [2023-02-14T20:37:20.840Z] ---> Running in c798495dd295 [2023-02-14T20:37:20.840Z] Removing intermediate container c798495dd295 [2023-02-14T20:37:20.840Z] ---> 890fa8c5d5d9 [2023-02-14T20:37:20.840Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-14T20:37:21.099Z] ---> Running in 5de3e9a51c47 [2023-02-14T20:37:21.099Z] Removing intermediate container 5de3e9a51c47 [2023-02-14T20:37:21.099Z] ---> 3f69a34ef8c4 [2023-02-14T20:37:21.099Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T20:37:21.099Z] ---> Running in 5d35420f74cb [2023-02-14T20:37:21.099Z] Removing intermediate container 5d35420f74cb [2023-02-14T20:37:21.099Z] ---> c8416e7a81bb [2023-02-14T20:37:21.099Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-14T20:37:21.099Z] ---> Running in c9b1b427015e [2023-02-14T20:37:21.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T20:37:21.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T20:37:21.876Z] OK: 211 MiB in 51 packages [2023-02-14T20:37:22.458Z] Removing intermediate container c9b1b427015e [2023-02-14T20:37:22.458Z] ---> a89076261ccc [2023-02-14T20:37:22.458Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-14T20:37:22.718Z] ---> 0388ff5700ae [2023-02-14T20:37:22.718Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T20:37:22.976Z] ---> Running in 03dabeb37f85 [2023-02-14T20:37:24.353Z] Removing intermediate container 03dabeb37f85 [2023-02-14T20:37:24.353Z] ---> 527806e96256 [2023-02-14T20:37:24.353Z] Step 9/23 : COPY . . [2023-02-14T20:37:24.921Z] ---> ca297831aaa3 [2023-02-14T20:37:24.921Z] Step 10/23 : RUN ${MAKE} [2023-02-14T20:37:24.921Z] ---> Running in c8802913825e [2023-02-14T20:37:25.502Z] 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-02-14T20:37:47.452Z] Removing intermediate container c8802913825e [2023-02-14T20:37:47.452Z] ---> abff855ab233 [2023-02-14T20:37:47.452Z] Step 11/23 : FROM alpine:3.16 [2023-02-14T20:37:47.713Z] 3.16: Pulling from library/alpine [2023-02-14T20:37:47.713Z] ef5531b6e74e: Pulling fs layer [2023-02-14T20:37:47.971Z] ef5531b6e74e: Verifying Checksum [2023-02-14T20:37:47.971Z] ef5531b6e74e: Download complete [2023-02-14T20:37:48.232Z] ef5531b6e74e: Pull complete [2023-02-14T20:37:48.232Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T20:37:48.232Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T20:37:48.232Z] ---> dfd21b5a31f5 [2023-02-14T20:37:48.232Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-14T20:37:48.232Z] ---> Running in 14ff40d3c232 [2023-02-14T20:37:48.232Z] Removing intermediate container 14ff40d3c232 [2023-02-14T20:37:48.232Z] ---> b77e199b088e [2023-02-14T20:37:48.232Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-14T20:37:48.232Z] ---> Running in 73a9df0b2cfb [2023-02-14T20:37:48.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T20:37:48.802Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T20:37:48.802Z] OK: 6 MiB in 14 packages [2023-02-14T20:37:49.064Z] Removing intermediate container 73a9df0b2cfb [2023-02-14T20:37:49.064Z] ---> 749b582fb1ee [2023-02-14T20:37:49.064Z] Step 14/23 : WORKDIR / [2023-02-14T20:37:49.064Z] ---> Running in 3e78ca834029 [2023-02-14T20:37:49.324Z] Removing intermediate container 3e78ca834029 [2023-02-14T20:37:49.324Z] ---> 30cfa13cfd1e [2023-02-14T20:37:49.324Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-14T20:37:49.324Z] ---> edfd71e4f32e [2023-02-14T20:37:49.324Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-14T20:37:50.312Z] ---> b3af867bf17f [2023-02-14T20:37:50.312Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-14T20:37:50.571Z] ---> bfddd3d19ccf [2023-02-14T20:37:50.571Z] Step 18/23 : EXPOSE 59999 [2023-02-14T20:37:50.571Z] ---> Running in 57657081ce44 [2023-02-14T20:37:50.571Z] Removing intermediate container 57657081ce44 [2023-02-14T20:37:50.571Z] ---> a65033b69bb0 [2023-02-14T20:37:50.571Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-14T20:37:50.571Z] ---> Running in 1aeae48a54cb [2023-02-14T20:37:50.830Z] Removing intermediate container 1aeae48a54cb [2023-02-14T20:37:50.830Z] ---> 76f0e543ff95 [2023-02-14T20:37:50.830Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T20:37:50.830Z] ---> Running in e30913d7384c [2023-02-14T20:37:50.831Z] Removing intermediate container e30913d7384c [2023-02-14T20:37:50.831Z] ---> 4821bc5f090f [2023-02-14T20:37:50.831Z] Step 21/23 : LABEL arch=amd64 [2023-02-14T20:37:50.831Z] ---> Running in 17ff718704bf [2023-02-14T20:37:50.831Z] Removing intermediate container 17ff718704bf [2023-02-14T20:37:50.831Z] ---> d6425942a063 [2023-02-14T20:37:50.831Z] Step 22/23 : LABEL git_sha=4b8be513614cb211fc93121ec009df353f6139ea [2023-02-14T20:37:51.089Z] ---> Running in 5eb0c8398f7b [2023-02-14T20:37:51.089Z] Removing intermediate container 5eb0c8398f7b [2023-02-14T20:37:51.089Z] ---> 8c6bfb660bf6 [2023-02-14T20:37:51.089Z] Step 23/23 : LABEL version=0.0.0 [2023-02-14T20:37:51.089Z] ---> Running in d7753183fe7f [2023-02-14T20:37:51.089Z] Removing intermediate container d7753183fe7f [2023-02-14T20:37:51.089Z] ---> 752ab99ba648 [2023-02-14T20:37:51.089Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T20:37:51.089Z] Successfully built 752ab99ba648 [2023-02-14T20:37:51.089Z] 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-02-14T20:37:51.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T20:37:51.954Z] [2023-02-14T20:37:51.954Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:37:52.330Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T20:37:52.330Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-14T20:37:52.330Z] 5eb5b503b376: Pulling fs layer [2023-02-14T20:37:52.330Z] 5c69ac0246d0: Pulling fs layer [2023-02-14T20:37:52.330Z] ec43610c2a17: Pulling fs layer [2023-02-14T20:37:52.330Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-14T20:37:52.330Z] 33b1e0a273af: Pulling fs layer [2023-02-14T20:37:52.330Z] 5d3b04190fa2: Pulling fs layer [2023-02-14T20:37:52.331Z] 2f39f015ded8: Pulling fs layer [2023-02-14T20:37:52.331Z] 3a2ae6a8a46f: Waiting [2023-02-14T20:37:52.331Z] 33b1e0a273af: Waiting [2023-02-14T20:37:52.331Z] 5d3b04190fa2: Waiting [2023-02-14T20:37:52.331Z] 2f39f015ded8: Waiting [2023-02-14T20:37:52.331Z] 5c69ac0246d0: Verifying Checksum [2023-02-14T20:37:52.331Z] 5c69ac0246d0: Download complete [2023-02-14T20:37:52.331Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-14T20:37:52.331Z] 3a2ae6a8a46f: Download complete [2023-02-14T20:37:52.592Z] 33b1e0a273af: Verifying Checksum [2023-02-14T20:37:52.592Z] 33b1e0a273af: Download complete [2023-02-14T20:37:52.592Z] 5d3b04190fa2: Verifying Checksum [2023-02-14T20:37:52.592Z] 5d3b04190fa2: Download complete [2023-02-14T20:37:52.592Z] ec43610c2a17: Verifying Checksum [2023-02-14T20:37:52.592Z] ec43610c2a17: Download complete [2023-02-14T20:37:52.852Z] 5eb5b503b376: Verifying Checksum [2023-02-14T20:37:52.852Z] 5eb5b503b376: Download complete [2023-02-14T20:37:53.418Z] 2f39f015ded8: Download complete [2023-02-14T20:37:53.985Z] 5eb5b503b376: Pull complete [2023-02-14T20:37:54.243Z] 5c69ac0246d0: Pull complete [2023-02-14T20:37:54.807Z] ec43610c2a17: Pull complete [2023-02-14T20:37:54.807Z] 3a2ae6a8a46f: Pull complete [2023-02-14T20:37:55.066Z] 33b1e0a273af: Pull complete [2023-02-14T20:37:55.066Z] 5d3b04190fa2: Pull complete [2023-02-14T20:38:00.331Z] 2f39f015ded8: Pull complete [2023-02-14T20:38:00.331Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-14T20:38:00.331Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T20:38:00.331Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T20:38:00.904Z] prd-ubuntu20.04-docker-8c-8g-5892 does not seem to be running inside a container [2023-02-14T20:38:00.942Z] $ 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-1320 -v /w/workspace/gexfoundry_device-sdk-go_PR-1320:/w/workspace/gexfoundry_device-sdk-go_PR-1320:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T20:38:04.966Z] $ docker top 0880b8a0594c80309482ac8d85e87448008716f780ddbe829948c7700f6437a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:38:05.434Z] ---> job-cost.sh [2023-02-14T20:38:05.434Z] lf-activate-venv: SKIPPING [2023-02-14T20:38:05.434Z] INFO: No Stack... [2023-02-14T20:38:05.695Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T20:38:06.264Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T20:38:06.581Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1320/archives/cost.csv [2023-02-14T20:38:06.581Z] + cut -d, -f6 [Pipeline] lock [2023-02-14T20:38:06.621Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1320-1-stack-cost] [2023-02-14T20:38:06.629Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1320-1-stack-cost] did not exist. Created. [2023-02-14T20:38:06.629Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1320-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T20:38:07.026Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-14T20:38:07.081Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T20:38:07.103Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1320-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T20:38:07.184Z] $ docker stop --time=1 0880b8a0594c80309482ac8d85e87448008716f780ddbe829948c7700f6437a8 [2023-02-14T20:38:08.349Z] $ docker rm -f --volumes 0880b8a0594c80309482ac8d85e87448008716f780ddbe829948c7700f6437a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-14T20:39:54.269Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5893 in /w/workspace/gexfoundry_device-sdk-go_PR-1320 [Pipeline] { [Pipeline] ws [2023-02-14T20:39:54.323Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-14T20:39:54.407Z] The recommended git tool is: git [2023-02-14T20:40:00.315Z] using credential edgex-jenkins-ssh [2023-02-14T20:40:00.339Z] Cloning the remote Git repository [2023-02-14T20:40:00.381Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T20:40:00.462Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-14T20:40:00.633Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T20:40:00.634Z] > git --version # timeout=10 [2023-02-14T20:40:00.658Z] > git --version # 'git version 2.25.1' [2023-02-14T20:40:00.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T20:40:00.736Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T20:40:04.634Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-14T20:40:04.671Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T20:40:05.763Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-14T20:40:05.827Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T20:40:05.829Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T20:40:05.848Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1320/head:refs/remotes/origin/PR-1320 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-14T20:40:07.170Z] Merging remotes/origin/main commit e412a44eb13141e6797f53827a761c4e91ea34f8 into PR head commit 4b8be513614cb211fc93121ec009df353f6139ea [2023-02-14T20:40:07.487Z] Merge succeeded, producing 4b8be513614cb211fc93121ec009df353f6139ea [2023-02-14T20:40:07.487Z] Checking out Revision 4b8be513614cb211fc93121ec009df353f6139ea (PR-1320) [2023-02-14T20:40:07.197Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T20:40:07.223Z] > git checkout -f 4b8be513614cb211fc93121ec009df353f6139ea # timeout=10 [2023-02-14T20:40:07.354Z] > git remote # timeout=10 [2023-02-14T20:40:07.381Z] > git config --get remote.origin.url # timeout=10 [2023-02-14T20:40:07.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T20:40:07.430Z] > git merge e412a44eb13141e6797f53827a761c4e91ea34f8 # timeout=10 [2023-02-14T20:40:07.462Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-14T20:40:07.493Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T20:40:07.511Z] > git checkout -f 4b8be513614cb211fc93121ec009df353f6139ea # timeout=10 [2023-02-14T20:40:11.111Z] Commit message: "refactor: tweaks to private config" [2023-02-14T20:40:11.176Z] > git --version # timeout=10 [2023-02-14T20:40:11.194Z] > git --version # 'git version 2.25.1' [2023-02-14T20:40:11.209Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T20:40:12.569Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-14T20:40:12.569Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T20:40:12.569Z] Dload Upload Total Spent Left Speed [2023-02-14T20:40:12.569Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-02-14T20:40:13.351Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-14T20:40:13.701Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-14T20:40:13.701Z] + sudo tee /etc/docker/daemon.new [2023-02-14T20:40:13.701Z] { [2023-02-14T20:40:13.701Z] "registry-mirrors": [ [2023-02-14T20:40:13.701Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-14T20:40:13.701Z] ], [2023-02-14T20:40:13.701Z] "bip": "10.250.0.254/24", [2023-02-14T20:40:13.701Z] "hosts": [ [2023-02-14T20:40:13.701Z] "tcp://0.0.0.0:5555", [2023-02-14T20:40:13.701Z] "unix:///var/run/docker.sock" [2023-02-14T20:40:13.701Z] ], [2023-02-14T20:40:13.701Z] "mtu": 1458, [2023-02-14T20:40:13.701Z] "selinux-enabled": true, [2023-02-14T20:40:13.701Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-14T20:40:13.701Z] } [Pipeline] sh [2023-02-14T20:40:14.044Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-14T20:40:14.407Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T20:40:32.773Z] provisioning config files... [2023-02-14T20:40:32.804Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13751984222404632038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:40:33.201Z] ---> docker-login.sh [2023-02-14T20:40:33.201Z] nexus3.edgexfoundry.org:10001 [2023-02-14T20:40:33.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:40:33.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:40:33.788Z] Configure a credential helper to remove this warning. See [2023-02-14T20:40:33.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:40:33.788Z] [2023-02-14T20:40:33.788Z] Login Succeeded [2023-02-14T20:40:33.788Z] nexus3.edgexfoundry.org:10002 [2023-02-14T20:40:34.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:40:34.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:40:34.326Z] Configure a credential helper to remove this warning. See [2023-02-14T20:40:34.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:40:34.326Z] [2023-02-14T20:40:34.326Z] Login Succeeded [2023-02-14T20:40:34.326Z] nexus3.edgexfoundry.org:10003 [2023-02-14T20:40:34.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:40:34.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:40:34.597Z] Configure a credential helper to remove this warning. See [2023-02-14T20:40:34.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:40:34.597Z] [2023-02-14T20:40:34.597Z] Login Succeeded [2023-02-14T20:40:34.597Z] nexus3.edgexfoundry.org:10004 [2023-02-14T20:40:34.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:40:34.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:40:34.867Z] Configure a credential helper to remove this warning. See [2023-02-14T20:40:34.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:40:34.867Z] [2023-02-14T20:40:34.867Z] Login Succeeded [2023-02-14T20:40:35.136Z] docker.io [2023-02-14T20:40:35.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T20:40:35.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T20:40:35.673Z] Configure a credential helper to remove this warning. See [2023-02-14T20:40:35.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T20:40:35.673Z] [2023-02-14T20:40:35.673Z] Login Succeeded [2023-02-14T20:40:35.673Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T20:40:35.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T20:40:36.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T20:40:36.151Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T20:40:36.182Z] ========================================================= [2023-02-14T20:40:36.182Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-14T20:40:36.182Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:40:36.723Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T20:40:36.992Z] Sending build context to Docker daemon 5.602MB [2023-02-14T20:40:37.277Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T20:40:37.277Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-14T20:40:37.277Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-14T20:40:37.277Z] 9b18e9b68314: Pulling fs layer [2023-02-14T20:40:37.277Z] 35d82f9e3411: Pulling fs layer [2023-02-14T20:40:37.277Z] e16973657156: Pulling fs layer [2023-02-14T20:40:37.277Z] fc693d55d65f: Pulling fs layer [2023-02-14T20:40:37.277Z] 7e9fc2657dce: Pulling fs layer [2023-02-14T20:40:37.277Z] dda99020689f: Pulling fs layer [2023-02-14T20:40:37.277Z] db1c61fa0a46: Pulling fs layer [2023-02-14T20:40:37.277Z] 891c053d2c06: Pulling fs layer [2023-02-14T20:40:37.277Z] dda99020689f: Waiting [2023-02-14T20:40:37.277Z] fc693d55d65f: Waiting [2023-02-14T20:40:37.277Z] 7e9fc2657dce: Waiting [2023-02-14T20:40:37.277Z] db1c61fa0a46: Waiting [2023-02-14T20:40:37.277Z] e16973657156: Download complete [2023-02-14T20:40:37.277Z] 35d82f9e3411: Verifying Checksum [2023-02-14T20:40:37.277Z] 35d82f9e3411: Download complete [2023-02-14T20:40:37.277Z] 7e9fc2657dce: Verifying Checksum [2023-02-14T20:40:37.277Z] 7e9fc2657dce: Download complete [2023-02-14T20:40:37.556Z] dda99020689f: Verifying Checksum [2023-02-14T20:40:37.556Z] dda99020689f: Download complete [2023-02-14T20:40:37.556Z] 9b18e9b68314: Verifying Checksum [2023-02-14T20:40:37.556Z] 9b18e9b68314: Download complete [2023-02-14T20:40:38.536Z] 9b18e9b68314: Pull complete [2023-02-14T20:40:38.536Z] 891c053d2c06: Verifying Checksum [2023-02-14T20:40:38.536Z] 891c053d2c06: Download complete [2023-02-14T20:40:39.134Z] 35d82f9e3411: Pull complete [2023-02-14T20:40:39.134Z] e16973657156: Pull complete [2023-02-14T20:40:39.726Z] db1c61fa0a46: Download complete [2023-02-14T20:40:40.319Z] fc693d55d65f: Verifying Checksum [2023-02-14T20:40:40.319Z] fc693d55d65f: Download complete [2023-02-14T20:40:52.672Z] fc693d55d65f: Pull complete [2023-02-14T20:40:52.672Z] 7e9fc2657dce: Pull complete [2023-02-14T20:40:52.672Z] dda99020689f: Pull complete [2023-02-14T20:40:58.048Z] db1c61fa0a46: Pull complete [2023-02-14T20:41:00.649Z] 891c053d2c06: Pull complete [2023-02-14T20:41:00.649Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-14T20:41:00.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-14T20:41:00.649Z] ---> f96f9c87975a [2023-02-14T20:41:00.649Z] Step 3/10 : ARG MAKE=make build [2023-02-14T20:41:02.598Z] ---> Running in c8f45661d8b1 [2023-02-14T20:41:02.598Z] Removing intermediate container c8f45661d8b1 [2023-02-14T20:41:02.598Z] ---> 2d1d154ac5e1 [2023-02-14T20:41:02.598Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-14T20:41:02.866Z] ---> Running in 553fdf2db9bb [2023-02-14T20:41:03.136Z] Removing intermediate container 553fdf2db9bb [2023-02-14T20:41:03.136Z] ---> 2ba98e33f1c0 [2023-02-14T20:41:03.136Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T20:41:03.136Z] ---> Running in e67c2ac894fa [2023-02-14T20:41:03.415Z] Removing intermediate container e67c2ac894fa [2023-02-14T20:41:03.415Z] ---> 5564171df788 [2023-02-14T20:41:03.415Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-14T20:41:03.415Z] ---> Running in 57b01137bfe7 [2023-02-14T20:41:04.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T20:41:05.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T20:41:06.058Z] OK: 221 MiB in 51 packages [2023-02-14T20:41:07.020Z] Removing intermediate container 57b01137bfe7 [2023-02-14T20:41:07.020Z] ---> 8c6fbd1b714f [2023-02-14T20:41:07.020Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-14T20:41:07.609Z] ---> f26464fd74f2 [2023-02-14T20:41:07.609Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T20:41:07.892Z] ---> Running in 95916818eb87 [2023-02-14T20:42:29.585Z] Removing intermediate container 95916818eb87 [2023-02-14T20:42:29.585Z] ---> 2aa9cf3cb47f [2023-02-14T20:42:29.585Z] Step 9/10 : COPY . . [2023-02-14T20:42:29.585Z] ---> 40a4297e3df8 [2023-02-14T20:42:29.585Z] Step 10/10 : RUN ${MAKE} [2023-02-14T20:42:29.585Z] ---> Running in 7eb35c100e5e [2023-02-14T20:42:29.585Z] noop [2023-02-14T20:42:29.585Z] Removing intermediate container 7eb35c100e5e [2023-02-14T20:42:29.585Z] ---> 307b907abe43 [2023-02-14T20:42:29.585Z] Successfully built 307b907abe43 [2023-02-14T20:42:29.585Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:42:30.038Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T20:42:30.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T20:42:30.316Z] prd-ubuntu20.04-docker-arm64-4c-16g-5893 does not seem to be running inside a container [2023-02-14T20:42:30.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-14T20:42:31.679Z] $ docker top 754a1ac7c500c72c871f9ca97290a2dbff25bcf262b1bd2cfb7bd6b753589380 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T20:42:32.562Z] + go version [2023-02-14T20:42:32.562Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-14T20:42:32.605Z] $ docker stop --time=1 754a1ac7c500c72c871f9ca97290a2dbff25bcf262b1bd2cfb7bd6b753589380 [2023-02-14T20:42:34.222Z] $ docker rm -f --volumes 754a1ac7c500c72c871f9ca97290a2dbff25bcf262b1bd2cfb7bd6b753589380 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:42:35.061Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T20:42:35.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T20:42:35.318Z] prd-ubuntu20.04-docker-arm64-4c-16g-5893 does not seem to be running inside a container [2023-02-14T20:42:35.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-14T20:42:37.870Z] $ docker top c808ea7f4b8074179bddcfca3d9adfd082ff76d6370baa267ea7f2627e2bf1d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T20:42:38.744Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-14T20:42:39.472Z] + make test [2023-02-14T20:42:39.472Z] go test -race -coverprofile=coverage.out ./... [2023-02-14T20:43:18.360Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-14T20:45:10.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-14T20:45:10.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-14T20:45:10.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-14T20:45:10.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-14T20:45:10.030Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-14T20:45:18.279Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.327s coverage: 27.6% of statements [2023-02-14T20:45:19.245Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.330s coverage: 78.9% of statements [2023-02-14T20:45:19.245Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-14T20:45:24.591Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.440s coverage: 78.1% of statements [2023-02-14T20:45:24.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-14T20:45:24.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-14T20:45:26.537Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.550s coverage: 77.0% of statements [2023-02-14T20:45:26.537Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-14T20:45:26.537Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-14T20:45:26.537Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-14T20:45:26.537Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.457s coverage: 65.2% of statements [2023-02-14T20:45:26.537Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-14T20:45:26.537Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-14T20:45:28.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.420s coverage: 89.2% of statements [2023-02-14T20:45:28.489Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-14T20:45:28.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.276s coverage: 4.7% of statements [2023-02-14T20:45:28.489Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-14T20:45:29.073Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-14T20:45:29.073Z] GO111MODULE=on go vet ./... [2023-02-14T20:47:05.761Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T20:47:05.761Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T20:47:05.761Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-14T20:47:05.799Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T20:47:05.831Z] $ docker stop --time=1 c808ea7f4b8074179bddcfca3d9adfd082ff76d6370baa267ea7f2627e2bf1d6 [2023-02-14T20:47:09.245Z] $ docker rm -f --volumes c808ea7f4b8074179bddcfca3d9adfd082ff76d6370baa267ea7f2627e2bf1d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T20:47:10.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T20:47:10.791Z] Warning: overwriting stash ‘coverage-report’ [2023-02-14T20:47:12.085Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T20:47:12.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T20:47:13.139Z] + ls -al . [2023-02-14T20:47:13.139Z] total 268 [2023-02-14T20:47:13.139Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 20:42 . [2023-02-14T20:47:13.139Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 20:40 .. [2023-02-14T20:47:13.139Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 20:40 .dockerignore [2023-02-14T20:47:13.139Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 20:40 .git [2023-02-14T20:47:13.139Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 20:40 .github [2023-02-14T20:47:13.139Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 20:40 .gitignore [2023-02-14T20:47:13.139Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 20:40 .golangci.yml [2023-02-14T20:47:13.139Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 20:40 CHANGELOG.md [2023-02-14T20:47:13.139Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 20:40 GOVERNANCE.md [2023-02-14T20:47:13.139Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 20:40 Jenkinsfile [2023-02-14T20:47:13.139Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 20:40 LICENSE [2023-02-14T20:47:13.139Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 20:40 Makefile [2023-02-14T20:47:13.139Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 20:40 OWNERS.md [2023-02-14T20:47:13.139Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 20:40 README.md [2023-02-14T20:47:13.140Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 20:35 VERSION [2023-02-14T20:47:13.140Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 20:40 bin [2023-02-14T20:47:13.140Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 14 20:45 coverage.out [2023-02-14T20:47:13.140Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 20:40 example [2023-02-14T20:47:13.140Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 20:40 go.mod [2023-02-14T20:47:13.140Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 20:40 go.sum [2023-02-14T20:47:13.140Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 20:40 internal [2023-02-14T20:47:13.140Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 20:40 openapi [2023-02-14T20:47:13.140Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 20:40 pkg [2023-02-14T20:47:13.140Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 20:40 snap [2023-02-14T20:47:13.140Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 20:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:47:13.620Z] + 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=4b8be513614cb211fc93121ec009df353f6139ea --label arch=arm64 --label version=0.0.0 . [2023-02-14T20:47:14.622Z] Sending build context to Docker daemon 5.702MB [2023-02-14T20:47:14.622Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T20:47:14.622Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-14T20:47:14.622Z] ---> 307b907abe43 [2023-02-14T20:47:14.622Z] Step 3/23 : ARG MAKE=make build [2023-02-14T20:47:14.891Z] ---> Running in 921e880894a9 [2023-02-14T20:47:15.485Z] Removing intermediate container 921e880894a9 [2023-02-14T20:47:15.485Z] ---> bf341aa9691f [2023-02-14T20:47:15.485Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-14T20:47:15.485Z] ---> Running in 47c7244eaeb1 [2023-02-14T20:47:16.068Z] Removing intermediate container 47c7244eaeb1 [2023-02-14T20:47:16.068Z] ---> 615740c3fdb2 [2023-02-14T20:47:16.068Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T20:47:16.068Z] ---> Running in 1e3507a666c0 [2023-02-14T20:47:16.664Z] Removing intermediate container 1e3507a666c0 [2023-02-14T20:47:16.664Z] ---> 066cc8a19312 [2023-02-14T20:47:16.664Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-14T20:47:16.664Z] ---> Running in 9c37b80a1f6d [2023-02-14T20:47:18.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T20:47:18.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T20:47:19.570Z] OK: 221 MiB in 51 packages [2023-02-14T20:47:21.513Z] Removing intermediate container 9c37b80a1f6d [2023-02-14T20:47:21.513Z] ---> f37d05db3fac [2023-02-14T20:47:21.513Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-14T20:47:23.454Z] ---> ed8ec98819a3 [2023-02-14T20:47:23.454Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T20:47:23.454Z] ---> Running in b9f6c6bd2102 [2023-02-14T20:47:26.034Z] Removing intermediate container b9f6c6bd2102 [2023-02-14T20:47:26.034Z] ---> 2e2301725e36 [2023-02-14T20:47:26.034Z] Step 9/23 : COPY . . [2023-02-14T20:47:26.992Z] ---> 9974257b7347 [2023-02-14T20:47:26.992Z] Step 10/23 : RUN ${MAKE} [2023-02-14T20:47:26.992Z] ---> Running in 28910db603bb [2023-02-14T20:47:27.949Z] 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-02-14T20:49:34.647Z] Removing intermediate container 28910db603bb [2023-02-14T20:49:34.647Z] ---> 3e3eeda6216e [2023-02-14T20:49:34.647Z] Step 11/23 : FROM alpine:3.16 [2023-02-14T20:49:34.647Z] 3.16: Pulling from library/alpine [2023-02-14T20:49:34.647Z] 3760b48202b3: Pulling fs layer [2023-02-14T20:49:34.647Z] 3760b48202b3: Verifying Checksum [2023-02-14T20:49:34.647Z] 3760b48202b3: Download complete [2023-02-14T20:49:34.647Z] 3760b48202b3: Pull complete [2023-02-14T20:49:34.647Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T20:49:34.647Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T20:49:34.647Z] ---> 4c81e5bf8899 [2023-02-14T20:49:34.647Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-14T20:49:34.647Z] ---> Running in 4dc07d71c5f4 [2023-02-14T20:49:34.647Z] Removing intermediate container 4dc07d71c5f4 [2023-02-14T20:49:34.647Z] ---> c9e857993f32 [2023-02-14T20:49:34.647Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-14T20:49:34.647Z] ---> Running in 2e790792dea4 [2023-02-14T20:49:34.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T20:49:34.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T20:49:34.647Z] OK: 5 MiB in 14 packages [2023-02-14T20:49:34.647Z] Removing intermediate container 2e790792dea4 [2023-02-14T20:49:34.647Z] ---> 3e8c81fdc1c3 [2023-02-14T20:49:34.647Z] Step 14/23 : WORKDIR / [2023-02-14T20:49:34.647Z] ---> Running in 9c957ce68a6d [2023-02-14T20:49:34.647Z] Removing intermediate container 9c957ce68a6d [2023-02-14T20:49:34.647Z] ---> 5a16e7c06093 [2023-02-14T20:49:34.647Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-14T20:49:34.647Z] ---> 9c42bb48d41d [2023-02-14T20:49:34.647Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-14T20:49:34.647Z] ---> e153fd8db789 [2023-02-14T20:49:34.647Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-14T20:49:34.647Z] ---> 49213b33e0f2 [2023-02-14T20:49:34.647Z] Step 18/23 : EXPOSE 59999 [2023-02-14T20:49:34.647Z] ---> Running in 11060b72f521 [2023-02-14T20:49:34.918Z] Removing intermediate container 11060b72f521 [2023-02-14T20:49:34.918Z] ---> 64163e2451eb [2023-02-14T20:49:34.918Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-14T20:49:34.918Z] ---> Running in 692b0549b250 [2023-02-14T20:49:35.187Z] Removing intermediate container 692b0549b250 [2023-02-14T20:49:35.187Z] ---> 101b8d245fbc [2023-02-14T20:49:35.187Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T20:49:35.187Z] ---> Running in 012c26eb3ce6 [2023-02-14T20:49:35.456Z] Removing intermediate container 012c26eb3ce6 [2023-02-14T20:49:35.456Z] ---> 6e609c63e8aa [2023-02-14T20:49:35.456Z] Step 21/23 : LABEL arch=arm64 [2023-02-14T20:49:35.724Z] ---> Running in 1a33cbea893c [2023-02-14T20:49:35.992Z] Removing intermediate container 1a33cbea893c [2023-02-14T20:49:35.992Z] ---> 9239bcf57b0e [2023-02-14T20:49:35.992Z] Step 22/23 : LABEL git_sha=4b8be513614cb211fc93121ec009df353f6139ea [2023-02-14T20:49:35.992Z] ---> Running in f26ee0ef0a8e [2023-02-14T20:49:36.262Z] Removing intermediate container f26ee0ef0a8e [2023-02-14T20:49:36.262Z] ---> 50ef6d8dc458 [2023-02-14T20:49:36.262Z] Step 23/23 : LABEL version=0.0.0 [2023-02-14T20:49:36.262Z] ---> Running in 0ad8d79edea7 [2023-02-14T20:49:36.529Z] Removing intermediate container 0ad8d79edea7 [2023-02-14T20:49:36.529Z] ---> ba2f403161c0 [2023-02-14T20:49:36.529Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T20:49:36.796Z] Successfully built ba2f403161c0 [2023-02-14T20:49:36.796Z] 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-02-14T20:49:37.618Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T20:49:37.619Z] [2023-02-14T20:49:37.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:49:38.036Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T20:49:38.036Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-14T20:49:38.036Z] 8998bd30e6a1: Pulling fs layer [2023-02-14T20:49:38.036Z] 04944245beec: Pulling fs layer [2023-02-14T20:49:38.036Z] 699f458cf7ca: Pulling fs layer [2023-02-14T20:49:38.036Z] 765212b225bb: Pulling fs layer [2023-02-14T20:49:38.036Z] f23df028b6ca: Pulling fs layer [2023-02-14T20:49:38.036Z] d65c8cfc05b1: Pulling fs layer [2023-02-14T20:49:38.036Z] 2437ff75d9bd: Pulling fs layer [2023-02-14T20:49:38.036Z] f23df028b6ca: Waiting [2023-02-14T20:49:38.036Z] d65c8cfc05b1: Waiting [2023-02-14T20:49:38.036Z] 2437ff75d9bd: Waiting [2023-02-14T20:49:38.036Z] 765212b225bb: Waiting [2023-02-14T20:49:38.306Z] 04944245beec: Verifying Checksum [2023-02-14T20:49:38.306Z] 04944245beec: Download complete [2023-02-14T20:49:38.306Z] 765212b225bb: Verifying Checksum [2023-02-14T20:49:38.306Z] 765212b225bb: Download complete [2023-02-14T20:49:38.306Z] f23df028b6ca: Verifying Checksum [2023-02-14T20:49:38.306Z] f23df028b6ca: Download complete [2023-02-14T20:49:38.573Z] d65c8cfc05b1: Verifying Checksum [2023-02-14T20:49:38.573Z] d65c8cfc05b1: Download complete [2023-02-14T20:49:38.573Z] 699f458cf7ca: Verifying Checksum [2023-02-14T20:49:38.573Z] 699f458cf7ca: Download complete [2023-02-14T20:49:38.841Z] 8998bd30e6a1: Verifying Checksum [2023-02-14T20:49:38.841Z] 8998bd30e6a1: Download complete [2023-02-14T20:49:41.424Z] 2437ff75d9bd: Verifying Checksum [2023-02-14T20:49:41.424Z] 2437ff75d9bd: Download complete [2023-02-14T20:49:44.011Z] 8998bd30e6a1: Pull complete [2023-02-14T20:49:44.597Z] 04944245beec: Pull complete [2023-02-14T20:49:46.009Z] 699f458cf7ca: Pull complete [2023-02-14T20:49:46.009Z] 765212b225bb: Pull complete [2023-02-14T20:49:46.972Z] f23df028b6ca: Pull complete [2023-02-14T20:49:47.240Z] d65c8cfc05b1: Pull complete [2023-02-14T20:50:02.232Z] 2437ff75d9bd: Pull complete [2023-02-14T20:50:02.232Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-14T20:50:02.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T20:50:02.232Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T20:50:02.573Z] prd-ubuntu20.04-docker-arm64-4c-16g-5893 does not seem to be running inside a container [2023-02-14T20:50:02.652Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-14T20:50:05.431Z] $ docker top 5e5f91f2bcb96bad2b1695bee7ab495bed0697ab5abae30e4b8e067d2a6900f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:50:06.332Z] ---> job-cost.sh [2023-02-14T20:50:06.332Z] lf-activate-venv: SKIPPING [2023-02-14T20:50:06.332Z] INFO: No Stack... [2023-02-14T20:50:06.600Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-14T20:50:07.560Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T20:50:07.901Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-14T20:50:08.169Z] + cut -d, -f6 [Pipeline] lock [2023-02-14T20:50:08.254Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1320-1-stack-cost] [2023-02-14T20:50:08.261Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1320-1-stack-cost] did not exist. Created. [2023-02-14T20:50:08.261Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1320-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T20:50:08.670Z] /w/workspace/device-sdk-go/1@tmp/durable-d5b9f299/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-14T20:50:09.030Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-14T20:50:09.065Z] Warning: overwriting stash ‘stack-cost’ [2023-02-14T20:50:09.134Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T20:50:09.152Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1320-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T20:50:09.238Z] $ docker stop --time=1 5e5f91f2bcb96bad2b1695bee7ab495bed0697ab5abae30e4b8e067d2a6900f9 [2023-02-14T20:50:10.734Z] $ docker rm -f --volumes 5e5f91f2bcb96bad2b1695bee7ab495bed0697ab5abae30e4b8e067d2a6900f9 [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-02-14T20:50:11.699Z] provisioning config files... [2023-02-14T20:50:11.712Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp/config6593221232897891918tmp [Pipeline] { [Pipeline] sh [2023-02-14T20:50:12.044Z] + set +x [2023-02-14T20:50:12.044Z] + + curl -s https://codecov.io/bashbash [2023-02-14T20:50:12.044Z] -s -- [2023-02-14T20:50:12.044Z] [2023-02-14T20:50:12.044Z] _____ _ [2023-02-14T20:50:12.044Z] / ____| | | [2023-02-14T20:50:12.044Z] | | ___ __| | ___ ___ _____ __ [2023-02-14T20:50:12.044Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-14T20:50:12.044Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-14T20:50:12.044Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-14T20:50:12.044Z] Bash-1.0.6 [2023-02-14T20:50:12.044Z] [2023-02-14T20:50:12.044Z] [2023-02-14T20:50:12.044Z] ==> git version 2.25.1 found [2023-02-14T20:50:12.044Z] ==> 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-02-14T20:50:12.044Z] Release-Date: 2020-01-08 [2023-02-14T20:50:12.044Z] 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-02-14T20:50:12.044Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-14T20:50:12.044Z] ==> Jenkins CI detected. [2023-02-14T20:50:12.044Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1320 [2023-02-14T20:50:12.044Z] project root: . [2023-02-14T20:50:12.044Z] --> token set from env [2023-02-14T20:50:12.044Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-14T20:50:12.044Z] ==> Running gcov in . (disable via -X gcov) [2023-02-14T20:50:12.044Z] ==> Python coveragepy not found [2023-02-14T20:50:12.044Z] ==> Searching for coverage reports in: [2023-02-14T20:50:12.044Z] + . [2023-02-14T20:50:12.044Z] -> Found 1 reports [2023-02-14T20:50:12.044Z] ==> Detecting git/mercurial file structure [2023-02-14T20:50:12.044Z] ==> Reading reports [2023-02-14T20:50:12.044Z] + ./coverage.out bytes=98700 [2023-02-14T20:50:12.044Z] ==> Appending adjustments [2023-02-14T20:50:12.044Z] https://docs.codecov.io/docs/fixing-reports [2023-02-14T20:50:12.612Z] + Found adjustments [2023-02-14T20:50:12.612Z] ==> Gzipping contents [2023-02-14T20:50:12.612Z] 16K /tmp/codecov.OE7L3O.gz [2023-02-14T20:50:12.612Z] ==> Uploading reports [2023-02-14T20:50:12.612Z] url: https://codecov.io [2023-02-14T20:50:12.612Z] query: branch=PR-1320&commit=4b8be513614cb211fc93121ec009df353f6139ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1320%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1320&job=&cmd_args= [2023-02-14T20:50:12.612Z] -> Pinging Codecov [2023-02-14T20:50:12.612Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1320&commit=4b8be513614cb211fc93121ec009df353f6139ea&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1320%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1320&job=&cmd_args= [2023-02-14T20:50:12.612Z] -> Uploading to [2023-02-14T20:50:12.612Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-14/7E55EF52A471D76F132DFD9A03CDDE97/4b8be513614cb211fc93121ec009df353f6139ea/b08df821-ce78-44b8-87a4-6ee2f6d937b7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T205012Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c00e5c7db0a732d51092714e5926f2ec769f3bc7cb219eff5000facb7e958a6 [2023-02-14T20:50:12.612Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T20:50:12.612Z] Dload Upload Total Spent Left Speed [2023-02-14T20:50:12.872Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14317 0 0 100 14317 0 196k --:--:-- --:--:-- --:--:-- 194k 100 14317 0 0 100 14317 0 53025 --:--:-- --:--:-- --:--:-- 52830 [2023-02-14T20:50:12.872Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4b8be513614cb211fc93121ec009df353f6139ea [Pipeline] } [2023-02-14T20:50:12.899Z] 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-02-14T20:50:14.601Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1320/archives ] [2023-02-14T20:50:14.602Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1320/archives [2023-02-14T20:50:14.602Z] total 16 [2023-02-14T20:50:14.602Z] drwxr-xr-x 3 root root 4096 Feb 14 20:38 . [2023-02-14T20:50:14.602Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 20:38 .. [2023-02-14T20:50:14.602Z] drwxr-xr-x 2 root root 4096 Feb 14 20:38 cost [2023-02-14T20:50:14.602Z] -rw-r--r-- 1 root root 86 Feb 14 20:38 cost.csv [2023-02-14T20:50:14.602Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1320/archives [2023-02-14T20:50:14.602Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1320/archives [2023-02-14T20:50:14.602Z] total 16 [2023-02-14T20:50:14.602Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 20:38 . [2023-02-14T20:50:14.602Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 20:38 .. [2023-02-14T20:50:14.602Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 20:38 cost [2023-02-14T20:50:14.602Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 14 20:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:50:14.929Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:50:15.815Z] ---> package-listing.sh [2023-02-14T20:50:15.815Z] ++ facter osfamily [2023-02-14T20:50:15.815Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-14T20:50:16.074Z] + OS_FAMILY=debian [2023-02-14T20:50:16.074Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1320 [2023-02-14T20:50:16.074Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-14T20:50:16.074Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-14T20:50:16.074Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-14T20:50:16.074Z] + PACKAGES=/tmp/packages_start.txt [2023-02-14T20:50:16.074Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1320 ']' [2023-02-14T20:50:16.074Z] + PACKAGES=/tmp/packages_end.txt [2023-02-14T20:50:16.074Z] + case "${OS_FAMILY}" in [2023-02-14T20:50:16.074Z] + dpkg -l [2023-02-14T20:50:16.074Z] + grep '^ii' [2023-02-14T20:50:16.074Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-14T20:50:16.074Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-14T20:50:16.074Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-14T20:50:16.074Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1320 ']' [2023-02-14T20:50:16.074Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1320/archives/ [2023-02-14T20:50:16.074Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1320/archives/ [Pipeline] echo [2023-02-14T20:50:16.107Z] 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-1320/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-14T20:50:16.399Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T20:50:17.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T20:50:17.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T20:50:17.215Z] prd-ubuntu20.04-docker-8c-8g-5892 does not seem to be running inside a container [2023-02-14T20:50:17.262Z] $ 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-1320/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-1320 -v /w/workspace/gexfoundry_device-sdk-go_PR-1320:/w/workspace/gexfoundry_device-sdk-go_PR-1320:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T20:50:17.496Z] $ docker top 359e675507d020ba71085d9580e1c18d7f5908a2525cf0122c615d863287740f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T20:50:17.871Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-14T20:50:18.178Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-14T20:50:18.482Z] + ls /var/log/sa-host [2023-02-14T20:50:18.483Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T20:50:18.633Z] provisioning config files... [2023-02-14T20:50:18.642Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1320@tmp/config2753403310582049428tmp [Pipeline] { [Pipeline] echo [2023-02-14T20:50:18.696Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:50:19.008Z] ---> create-netrc.sh [Pipeline] } [2023-02-14T20:50:19.034Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:50:19.440Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-14T20:50:19.472Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:50:19.779Z] ---> sudo-logs.sh [2023-02-14T20:50:19.779Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-14T20:50:19.860Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:50:20.167Z] ---> job-cost.sh [2023-02-14T20:50:20.167Z] lf-activate-venv: SKIPPING [2023-02-14T20:50:20.167Z] DEBUG: total: 0.2199999988079071 [2023-02-14T20:50:20.167Z] INFO: Retrieving Stack Cost... [2023-02-14T20:50:20.736Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T20:50:20.995Z] INFO: Archiving Costs [Pipeline] echo [2023-02-14T20:50:21.036Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T20:50:21.346Z] ---> logs-deploy.sh [2023-02-14T20:50:21.346Z] lf-activate-venv: SKIPPING [2023-02-14T20:50:21.346Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1320/1 [2023-02-14T20:50:21.346Z] INFO: archiving workspace using pattern(s): [2023-02-14T20:50:22.282Z] Archives upload complete. [2023-02-14T20:50:22.542Z] INFO: archiving logs to Nexus