Pull request #1356 updated 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bfaf1cb2e0564bf88f325ac167a80e6040adddd1+b4dcd90c517d60267da088e4e26fcccd6a523ed6 (42ae8e983bc3b04f7758a53e2ad531b782720510) 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-ssh13741560366441858296.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-ssh375730197427539337.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1356/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2649808256403659791.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 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-ssh5541814801026732873.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1356/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17092539229829420782.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8157’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8159 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [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-1356 # 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 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit bfaf1cb2e0564bf88f325ac167a80e6040adddd1 Merge succeeded, producing bfaf1cb2e0564bf88f325ac167a80e6040adddd1 Checking out Revision bfaf1cb2e0564bf88f325ac167a80e6040adddd1 (PR-1356) 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/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bfaf1cb2e0564bf88f325ac167a80e6040adddd1 # 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bfaf1cb2e0564bf88f325ac167a80e6040adddd1 # timeout=10 Commit message: "feat: publish event with updated value for PUT command" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-03T09:44:58.991Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-03T09:44:59.032Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-03T09:44:59.057Z] ========================================================= [2023-03-03T09:44:59.058Z] EdgeX Global Pipelines Version Info [2023-03-03T09:44:59.058Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 107e4c63881265bbe14459a2f732245d35a254e6 # timeout=10 [2023-03-03T09:44:59.791Z] ------------------- [2023-03-03T09:44:59.791Z] stable info: [2023-03-03T09:44:59.791Z] ------------------- [2023-03-03T09:44:59.791Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-03T09:44:59.791Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-03T09:44:59.791Z] Message: update stable to v1.0.244 [2023-03-03T09:45:00.362Z] ------------------- [2023-03-03T09:45:00.362Z] experimental info: [2023-03-03T09:45:00.362Z] ------------------- [2023-03-03T09:45:00.362Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-03T09:45:00.362Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-03T09:45:00.362Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-03T09:45:00.521Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-03T09:45:00.535Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-03T09:45:00.546Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-03T09:45:00.558Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-03T09:45:00.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-03T09:45:00.583Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-03T09:45:00.594Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-03T09:45:00.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-03T09:45:00.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-03T09:45:00.646Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-03T09:45:00.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-03T09:45:00.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-03T09:45:00.679Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-03T09:45:00.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-03T09:45:00.708Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-03T09:45:00.721Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-03T09:45:00.736Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-03T09:45:00.750Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-03T09:45:00.761Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-03T09:45:00.776Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-03T09:45:00.791Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-03T09:45:00.801Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-03T09:45:00.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-03T09:45:00.826Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-03T09:45:00.837Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-03T09:45:00.849Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-03T09:45:00.861Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-03T09:45:00.877Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1356 [Pipeline] echo [2023-03-03T09:45:00.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1356 [Pipeline] echo [2023-03-03T09:45:00.903Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1356 [Pipeline] echo [2023-03-03T09:45:00.919Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bfaf1cb2e0564bf88f325ac167a80e6040adddd1 [Pipeline] echo [2023-03-03T09:45:00.931Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bfaf1cb [Pipeline] echo [2023-03-03T09:45:00.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-03T09:45:00.985Z] provisioning config files... [2023-03-03T09:45:01.003Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config15746219629037680834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:45:01.310Z] ---> docker-login.sh [2023-03-03T09:45:01.310Z] nexus3.edgexfoundry.org:10001 [2023-03-03T09:45:01.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:45:01.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:45:01.571Z] Configure a credential helper to remove this warning. See [2023-03-03T09:45:01.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:45:01.571Z] [2023-03-03T09:45:01.571Z] Login Succeeded [2023-03-03T09:45:01.571Z] nexus3.edgexfoundry.org:10002 [2023-03-03T09:45:01.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:45:01.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:45:01.832Z] Configure a credential helper to remove this warning. See [2023-03-03T09:45:01.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:45:01.832Z] [2023-03-03T09:45:01.832Z] Login Succeeded [2023-03-03T09:45:01.832Z] nexus3.edgexfoundry.org:10003 [2023-03-03T09:45:01.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:45:01.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:45:01.832Z] Configure a credential helper to remove this warning. See [2023-03-03T09:45:01.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:45:01.832Z] [2023-03-03T09:45:01.832Z] Login Succeeded [2023-03-03T09:45:01.832Z] nexus3.edgexfoundry.org:10004 [2023-03-03T09:45:02.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:45:02.094Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:45:02.094Z] Configure a credential helper to remove this warning. See [2023-03-03T09:45:02.094Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:45:02.094Z] [2023-03-03T09:45:02.094Z] Login Succeeded [2023-03-03T09:45:02.094Z] docker.io [2023-03-03T09:45:02.094Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:45:02.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:45:02.663Z] Configure a credential helper to remove this warning. See [2023-03-03T09:45:02.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:45:02.663Z] [2023-03-03T09:45:02.663Z] Login Succeeded [2023-03-03T09:45:02.663Z] ---> docker-login.sh ends [Pipeline] } [2023-03-03T09:45:02.671Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-03T09:45:03.023Z] + git rev-list -1 --merges bfaf1cb2e0564bf88f325ac167a80e6040adddd1~1..bfaf1cb2e0564bf88f325ac167a80e6040adddd1 [Pipeline] echo [2023-03-03T09:45:03.081Z] -----------> git rev-list -1 --merges bfaf1cb2e0564bf88f325ac167a80e6040adddd1~1..bfaf1cb2e0564bf88f325ac167a80e6040adddd1 bfaf1cb2e0564bf88f325ac167a80e6040adddd1 [false] [Pipeline] sh [2023-03-03T09:45:03.370Z] + git log --format=format:%s -1 bfaf1cb2e0564bf88f325ac167a80e6040adddd1 [Pipeline] echo [2023-03-03T09:45:03.383Z] ========================================================= [2023-03-03T09:45:03.383Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-03T09:45:03.383Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-03T09:45:03.697Z] + git log --format=format:%s -1 bfaf1cb2e0564bf88f325ac167a80e6040adddd1 [Pipeline] echo [2023-03-03T09:45:03.709Z] [semverPrep] GIT_COMMIT: bfaf1cb2e0564bf88f325ac167a80e6040adddd1, Commit Message: feat: publish event with updated value for PUT command [Pipeline] echo [2023-03-03T09:45:03.717Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-03T09:45:04.046Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-03T09:45:04.046Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-03T09:45:04.046Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-03T09:45:04.046Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-03T09:45:04.046Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-03T09:45:04.046Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-03T09:45:04.046Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:45:04.386Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-03T09:45:04.386Z] [2023-03-03T09:45:04.386Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:45:04.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-03T09:45:04.689Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-03T09:45:04.689Z] b85a868b505f: Pulling fs layer [2023-03-03T09:45:04.689Z] e2be974225ed: Pulling fs layer [2023-03-03T09:45:04.689Z] 339a4e72a1f5: Pulling fs layer [2023-03-03T09:45:04.689Z] 988bab9f4d93: Pulling fs layer [2023-03-03T09:45:04.689Z] 1469e6f7b9e6: Pulling fs layer [2023-03-03T09:45:04.689Z] eaf3925da568: Pulling fs layer [2023-03-03T09:45:04.689Z] bab4dde63d76: Pulling fs layer [2023-03-03T09:45:04.689Z] bde34c3a00c8: Pulling fs layer [2023-03-03T09:45:04.689Z] b352a97aabf1: Pulling fs layer [2023-03-03T09:45:04.689Z] 4872d77fe225: Pulling fs layer [2023-03-03T09:45:04.689Z] 5851b861e8e6: Pulling fs layer [2023-03-03T09:45:04.689Z] 988bab9f4d93: Waiting [2023-03-03T09:45:04.689Z] bab4dde63d76: Waiting [2023-03-03T09:45:04.689Z] 1469e6f7b9e6: Waiting [2023-03-03T09:45:04.689Z] bde34c3a00c8: Waiting [2023-03-03T09:45:04.689Z] eaf3925da568: Waiting [2023-03-03T09:45:04.689Z] b352a97aabf1: Waiting [2023-03-03T09:45:04.689Z] 4872d77fe225: Waiting [2023-03-03T09:45:04.689Z] 5851b861e8e6: Waiting [2023-03-03T09:45:04.689Z] e2be974225ed: Download complete [2023-03-03T09:45:04.689Z] 988bab9f4d93: Verifying Checksum [2023-03-03T09:45:04.689Z] 988bab9f4d93: Download complete [2023-03-03T09:45:04.950Z] 1469e6f7b9e6: Verifying Checksum [2023-03-03T09:45:04.950Z] 1469e6f7b9e6: Download complete [2023-03-03T09:45:04.950Z] 339a4e72a1f5: Verifying Checksum [2023-03-03T09:45:04.950Z] 339a4e72a1f5: Download complete [2023-03-03T09:45:04.950Z] eaf3925da568: Verifying Checksum [2023-03-03T09:45:04.950Z] eaf3925da568: Download complete [2023-03-03T09:45:04.950Z] bde34c3a00c8: Verifying Checksum [2023-03-03T09:45:04.950Z] bde34c3a00c8: Download complete [2023-03-03T09:45:04.950Z] b352a97aabf1: Download complete [2023-03-03T09:45:04.950Z] 4872d77fe225: Download complete [2023-03-03T09:45:04.950Z] 5851b861e8e6: Download complete [2023-03-03T09:45:04.950Z] b85a868b505f: Verifying Checksum [2023-03-03T09:45:04.950Z] b85a868b505f: Download complete [2023-03-03T09:45:05.212Z] bab4dde63d76: Verifying Checksum [2023-03-03T09:45:05.212Z] bab4dde63d76: Download complete [2023-03-03T09:45:06.592Z] b85a868b505f: Pull complete [2023-03-03T09:45:06.592Z] e2be974225ed: Pull complete [2023-03-03T09:45:07.161Z] 339a4e72a1f5: Pull complete [2023-03-03T09:45:07.161Z] 988bab9f4d93: Pull complete [2023-03-03T09:45:07.420Z] 1469e6f7b9e6: Pull complete [2023-03-03T09:45:07.420Z] eaf3925da568: Pull complete [2023-03-03T09:45:09.324Z] bab4dde63d76: Pull complete [2023-03-03T09:45:09.324Z] bde34c3a00c8: Pull complete [2023-03-03T09:45:09.324Z] b352a97aabf1: Pull complete [2023-03-03T09:45:09.584Z] 4872d77fe225: Pull complete [2023-03-03T09:45:09.584Z] 5851b861e8e6: Pull complete [2023-03-03T09:45:09.584Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-03T09:45:09.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-03T09:45:09.584Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T09:45:09.677Z] prd-ubuntu20.04-docker-8c-8g-8159 does not seem to be running inside a container [2023-03-03T09:45:09.712Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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-devops/py-git-semver:0.1.4 cat [2023-03-03T09:45:12.903Z] $ docker top 63c3f0d5e4d38a535dde67da33ffac89c4c3e1b61a50b4fb846949e5a854b896 -eo pid,comm [2023-03-03T09:45:12.954Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-03T09:45:12.954Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-03T09:45:12.986Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-03T09:45:12.986Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-03T09:45:13.119Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-03T09:45:13.127Z] $ docker exec 63c3f0d5e4d38a535dde67da33ffac89c4c3e1b61a50b4fb846949e5a854b896 ssh-agent [2023-03-03T09:45:13.239Z] SSH_AUTH_SOCK=/tmp/ssh-JQkSr6WLpmSW/agent.33 [2023-03-03T09:45:13.239Z] SSH_AGENT_PID=39 [2023-03-03T09:45:13.246Z] Running ssh-add (command line suppressed) [2023-03-03T09:45:13.348Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_4911769583555148226.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_4911769583555148226.key) [2023-03-03T09:45:13.356Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-03T09:45:13.641Z] + git tag --points-at HEAD [Pipeline] } [2023-03-03T09:45:13.657Z] $ docker exec --env ******** --env ******** 63c3f0d5e4d38a535dde67da33ffac89c4c3e1b61a50b4fb846949e5a854b896 ssh-agent -k [2023-03-03T09:45:13.757Z] unset SSH_AUTH_SOCK; [2023-03-03T09:45:13.758Z] unset SSH_AGENT_PID; [2023-03-03T09:45:13.758Z] echo Agent pid 39 killed; [2023-03-03T09:45:13.763Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-03T09:45:13.790Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-03T09:45:13.790Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-03T09:45:13.909Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-03T09:45:13.916Z] $ docker exec 63c3f0d5e4d38a535dde67da33ffac89c4c3e1b61a50b4fb846949e5a854b896 ssh-agent [2023-03-03T09:45:14.019Z] SSH_AUTH_SOCK=/tmp/ssh-naloLaFNrJeE/agent.72 [2023-03-03T09:45:14.019Z] SSH_AGENT_PID=78 [2023-03-03T09:45:14.024Z] Running ssh-add (command line suppressed) [2023-03-03T09:45:14.150Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_15840983410036638570.key (/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/private_key_15840983410036638570.key) [2023-03-03T09:45:14.159Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-03T09:45:14.446Z] + git semver init [2023-03-03T09:45:14.705Z] 2023-03-03 09:45:14,634 [run_init] DEBUG init version:0.0.0 force:False [2023-03-03T09:45:14.705Z] 2023-03-03 09:45:14,635 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-03T09:45:14.705Z] 2023-03-03 09:45:14,635 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver [2023-03-03T09:45:14.705Z] 2023-03-03 09:45:14,635 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356, universal_newlines=False, shell=None, istream=None) [2023-03-03T09:45:15.643Z] 2023-03-03 09:45:15,599 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.git/info/exclude [2023-03-03T09:45:15.643Z] 2023-03-03 09:45:15,600 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 with force:False [2023-03-03T09:45:15.643Z] 2023-03-03 09:45:15,600 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-03T09:45:15.643Z] 2023-03-03 09:45:15,604 [execute] INFO git cat-file --batch-check [2023-03-03T09:45:15.643Z] 2023-03-03 09:45:15,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-03T09:45:15.643Z] 2023-03-03 09:45:15,611 [execute] INFO git cat-file --batch [2023-03-03T09:45:15.643Z] 2023-03-03 09:45:15,612 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver, universal_newlines=False, shell=None, istream=) [2023-03-03T09:45:15.643Z] 2023-03-03 09:45:15,617 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1356/.semver/PR-1356 [2023-03-03T09:45:15.643Z] 0.0.0 [Pipeline] } [2023-03-03T09:45:15.658Z] $ docker exec --env ******** --env ******** 63c3f0d5e4d38a535dde67da33ffac89c4c3e1b61a50b4fb846949e5a854b896 ssh-agent -k [2023-03-03T09:45:15.754Z] unset SSH_AUTH_SOCK; [2023-03-03T09:45:15.757Z] unset SSH_AGENT_PID; [2023-03-03T09:45:15.757Z] echo Agent pid 78 killed; [2023-03-03T09:45:15.759Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-03T09:45:16.058Z] + git semver [Pipeline] } [2023-03-03T09:45:16.336Z] $ docker stop --time=1 63c3f0d5e4d38a535dde67da33ffac89c4c3e1b61a50b4fb846949e5a854b896 [2023-03-03T09:45:17.617Z] $ docker rm -f --volumes 63c3f0d5e4d38a535dde67da33ffac89c4c3e1b61a50b4fb846949e5a854b896 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-03T09:45:17.958Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-03T09:45:18.178Z] Stashed 1 file(s) [Pipeline] echo [2023-03-03T09:45:18.181Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-03T09:45:18.317Z] provisioning config files... [2023-03-03T09:45:18.325Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config2141503627048451173tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:45:18.620Z] ---> docker-login.sh [2023-03-03T09:45:18.620Z] nexus3.edgexfoundry.org:10001 [2023-03-03T09:45:18.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:45:18.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:45:18.620Z] Configure a credential helper to remove this warning. See [2023-03-03T09:45:18.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:45:18.620Z] [2023-03-03T09:45:18.620Z] Login Succeeded [2023-03-03T09:45:18.620Z] nexus3.edgexfoundry.org:10002 [2023-03-03T09:45:18.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:45:18.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:45:18.620Z] Configure a credential helper to remove this warning. See [2023-03-03T09:45:18.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:45:18.620Z] [2023-03-03T09:45:18.620Z] Login Succeeded [2023-03-03T09:45:18.620Z] nexus3.edgexfoundry.org:10003 [2023-03-03T09:45:18.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:45:18.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:45:18.880Z] Configure a credential helper to remove this warning. See [2023-03-03T09:45:18.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:45:18.880Z] [2023-03-03T09:45:18.880Z] Login Succeeded [2023-03-03T09:45:18.880Z] nexus3.edgexfoundry.org:10004 [2023-03-03T09:45:18.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:45:18.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:45:18.880Z] Configure a credential helper to remove this warning. See [2023-03-03T09:45:18.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:45:18.880Z] [2023-03-03T09:45:18.880Z] Login Succeeded [2023-03-03T09:45:18.880Z] docker.io [2023-03-03T09:45:19.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:45:19.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:45:19.138Z] Configure a credential helper to remove this warning. See [2023-03-03T09:45:19.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:45:19.138Z] [2023-03-03T09:45:19.138Z] Login Succeeded [2023-03-03T09:45:19.138Z] ---> docker-login.sh ends [Pipeline] } [2023-03-03T09:45:19.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-03T09:45:19.201Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-03T09:45:19.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-03T09:45:19.217Z] ========================================================= [2023-03-03T09:45:19.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-03T09:45:19.217Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:45:19.525Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-03T09:45:19.525Z] Sending build context to Docker daemon 10.65MB [2023-03-03T09:45:19.525Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-03T09:45:19.525Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-03T09:45:19.787Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-03T09:45:19.787Z] 213ec9aee27d: Pulling fs layer [2023-03-03T09:45:19.787Z] 4583459ba037: Pulling fs layer [2023-03-03T09:45:19.787Z] 93c1e223e6f2: Pulling fs layer [2023-03-03T09:45:19.787Z] 53926ce57604: Pulling fs layer [2023-03-03T09:45:19.787Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-03T09:45:19.787Z] 22ff95d597cd: Pulling fs layer [2023-03-03T09:45:19.787Z] 12d6caf4c0d1: Pulling fs layer [2023-03-03T09:45:19.787Z] 53926ce57604: Waiting [2023-03-03T09:45:19.787Z] 96b7cbca73a9: Pulling fs layer [2023-03-03T09:45:19.787Z] a7acece74701: Pulling fs layer [2023-03-03T09:45:19.787Z] 21b2b0c7a3f4: Waiting [2023-03-03T09:45:19.787Z] 22ff95d597cd: Waiting [2023-03-03T09:45:19.787Z] 96b7cbca73a9: Waiting [2023-03-03T09:45:19.787Z] 12d6caf4c0d1: Waiting [2023-03-03T09:45:19.787Z] a7acece74701: Waiting [2023-03-03T09:45:19.787Z] 93c1e223e6f2: Verifying Checksum [2023-03-03T09:45:19.787Z] 93c1e223e6f2: Download complete [2023-03-03T09:45:19.787Z] 4583459ba037: Download complete [2023-03-03T09:45:19.787Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-03T09:45:19.787Z] 21b2b0c7a3f4: Download complete [2023-03-03T09:45:19.787Z] 22ff95d597cd: Verifying Checksum [2023-03-03T09:45:19.787Z] 22ff95d597cd: Download complete [2023-03-03T09:45:19.787Z] 213ec9aee27d: Verifying Checksum [2023-03-03T09:45:19.787Z] 213ec9aee27d: Download complete [2023-03-03T09:45:19.787Z] 12d6caf4c0d1: Verifying Checksum [2023-03-03T09:45:19.787Z] 12d6caf4c0d1: Download complete [2023-03-03T09:45:19.787Z] 213ec9aee27d: Pull complete [2023-03-03T09:45:20.052Z] 4583459ba037: Pull complete [2023-03-03T09:45:20.052Z] 93c1e223e6f2: Pull complete [2023-03-03T09:45:20.314Z] a7acece74701: Verifying Checksum [2023-03-03T09:45:20.314Z] a7acece74701: Download complete [2023-03-03T09:45:20.572Z] 96b7cbca73a9: Verifying Checksum [2023-03-03T09:45:20.572Z] 96b7cbca73a9: Download complete [2023-03-03T09:45:20.831Z] 53926ce57604: Verifying Checksum [2023-03-03T09:45:20.831Z] 53926ce57604: Download complete [2023-03-03T09:45:25.026Z] 53926ce57604: Pull complete [2023-03-03T09:45:25.026Z] 21b2b0c7a3f4: Pull complete [2023-03-03T09:45:25.026Z] 22ff95d597cd: Pull complete [2023-03-03T09:45:25.026Z] 12d6caf4c0d1: Pull complete [2023-03-03T09:45:26.929Z] 96b7cbca73a9: Pull complete [2023-03-03T09:45:27.495Z] a7acece74701: Pull complete [2023-03-03T09:45:27.495Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-03T09:45:27.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-03T09:45:27.495Z] ---> db6d94c90886 [2023-03-03T09:45:27.495Z] Step 3/10 : ARG MAKE=make build [2023-03-03T09:45:32.784Z] ---> Running in 03b1e2b1fb3e [2023-03-03T09:45:32.784Z] Removing intermediate container 03b1e2b1fb3e [2023-03-03T09:45:32.784Z] ---> 8d6acf62559a [2023-03-03T09:45:32.784Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-03T09:45:32.784Z] ---> Running in 9bd8f27539ff [2023-03-03T09:45:32.784Z] Removing intermediate container 9bd8f27539ff [2023-03-03T09:45:32.784Z] ---> 251b23eabaa3 [2023-03-03T09:45:32.784Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-03T09:45:32.784Z] ---> Running in 1e4c3ee5a736 [2023-03-03T09:45:33.044Z] Removing intermediate container 1e4c3ee5a736 [2023-03-03T09:45:33.044Z] ---> ebfafae0d349 [2023-03-03T09:45:33.044Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-03T09:45:33.044Z] ---> Running in 30f94f8f2502 [2023-03-03T09:45:33.287Z] Still waiting to schedule task [2023-03-03T09:45:33.288Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8158’ is offline [2023-03-03T09:45:33.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-03T09:45:33.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-03T09:45:33.562Z] OK: 211 MiB in 51 packages [2023-03-03T09:45:34.131Z] Removing intermediate container 30f94f8f2502 [2023-03-03T09:45:34.131Z] ---> 023a29c60c04 [2023-03-03T09:45:34.131Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-03T09:45:34.131Z] ---> 85f4b3032664 [2023-03-03T09:45:34.131Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-03T09:45:34.131Z] ---> Running in 67c75d6ba00d [2023-03-03T09:46:00.708Z] Removing intermediate container 67c75d6ba00d [2023-03-03T09:46:00.708Z] ---> 7025fc54fa09 [2023-03-03T09:46:00.708Z] Step 9/10 : COPY . . [2023-03-03T09:46:00.708Z] ---> 4cac0ea50725 [2023-03-03T09:46:00.708Z] Step 10/10 : RUN ${MAKE} [2023-03-03T09:46:00.708Z] ---> Running in 99543305f416 [2023-03-03T09:46:00.708Z] noop [2023-03-03T09:46:00.966Z] Removing intermediate container 99543305f416 [2023-03-03T09:46:00.966Z] ---> dc3f82db655d [2023-03-03T09:46:00.966Z] Successfully built dc3f82db655d [2023-03-03T09:46:00.966Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:46:01.278Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-03T09:46:01.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T09:46:01.348Z] prd-ubuntu20.04-docker-8c-8g-8159 does not seem to be running inside a container [2023-03-03T09:46:01.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-03T09:46:01.710Z] $ docker top c91aa82a8fce5edb8de8aec9cf40f32baf1e78127938b7a210697593a48c5cd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-03T09:46:02.047Z] + go version [2023-03-03T09:46:02.047Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-03T09:46:02.060Z] $ docker stop --time=1 c91aa82a8fce5edb8de8aec9cf40f32baf1e78127938b7a210697593a48c5cd7 [2023-03-03T09:46:03.345Z] $ docker rm -f --volumes c91aa82a8fce5edb8de8aec9cf40f32baf1e78127938b7a210697593a48c5cd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:46:03.733Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-03T09:46:03.733Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T09:46:03.796Z] prd-ubuntu20.04-docker-8c-8g-8159 does not seem to be running inside a container [2023-03-03T09:46:03.820Z] $ 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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-03T09:46:04.122Z] $ docker top 36731356625d9a19f58968d91bce713572f3f9d1411956762ad0388fc61c6625 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-03T09:46:04.458Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] fileExists [Pipeline] sh [2023-03-03T09:46:04.750Z] + make test [2023-03-03T09:46:04.750Z] go test -race -coverprofile=coverage.out ./... [2023-03-03T09:46:11.310Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-03T09:46:26.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-03T09:46:26.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-03T09:46:26.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-03T09:46:26.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-03T09:46:26.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-03T09:46:26.170Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-03-03T09:46:26.170Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.072s coverage: 78.9% of statements [2023-03-03T09:46:26.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-03T09:46:26.170Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.105s coverage: 86.0% of statements [2023-03-03T09:46:26.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-03T09:46:26.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-03T09:46:26.170Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.120s coverage: 75.4% of statements [2023-03-03T09:46:26.170Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-03T09:46:28.700Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.070s coverage: 15.2% of statements [2023-03-03T09:46:28.700Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-03T09:46:28.700Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.112s coverage: 65.2% of statements [2023-03-03T09:46:28.700Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-03T09:46:28.700Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-03T09:46:28.700Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.770s coverage: 89.2% of statements [2023-03-03T09:46:28.700Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-03T09:46:28.700Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.6% of statements [2023-03-03T09:46:28.700Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-03T09:46:46.772Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-03T09:46:46.772Z] GO111MODULE=on go vet ./... [2023-03-03T09:46:48.153Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-03T09:46:48.153Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-03T09:46:48.153Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-03T09:46:48.166Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-03T09:46:48.179Z] $ docker stop --time=1 36731356625d9a19f58968d91bce713572f3f9d1411956762ad0388fc61c6625 [2023-03-03T09:46:51.444Z] $ docker rm -f --volumes 36731356625d9a19f58968d91bce713572f3f9d1411956762ad0388fc61c6625 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-03T09:46:51.986Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-03T09:46:52.046Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-03T09:46:52.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-03T09:46:52.768Z] + ls -al . [2023-03-03T09:46:52.768Z] total 280 [2023-03-03T09:46:52.768Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 3 09:46 . [2023-03-03T09:46:52.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 09:44 .. [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 3 09:44 .dockerignore [2023-03-03T09:46:52.768Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 09:46 .git [2023-03-03T09:46:52.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 09:44 .github [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 3 09:44 .gitignore [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 09:44 .golangci.yml [2023-03-03T09:46:52.768Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 09:45 .semver [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 3 09:44 CHANGELOG.md [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 09:44 GOVERNANCE.md [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 3 09:44 Jenkinsfile [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 3 09:44 LICENSE [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 3 09:44 Makefile [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 3 09:44 OWNERS.md [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 3 09:44 README.md [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 09:45 VERSION [2023-03-03T09:46:52.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 09:44 bin [2023-03-03T09:46:52.768Z] -rw-r--r-- 1 jenkins jenkins 111634 Mar 3 09:46 coverage.out [2023-03-03T09:46:52.768Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 3 09:44 example [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 3 09:44 go.mod [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 3 09:44 go.sum [2023-03-03T09:46:52.768Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 3 09:44 internal [2023-03-03T09:46:52.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 09:44 openapi [2023-03-03T09:46:52.768Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 09:44 pkg [2023-03-03T09:46:52.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 09:44 snap [2023-03-03T09:46:52.768Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 3 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:46:53.144Z] + 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=bfaf1cb2e0564bf88f325ac167a80e6040adddd1 --label arch=amd64 --label version=0.0.0 . [2023-03-03T09:46:53.145Z] Sending build context to Docker daemon 10.76MB [2023-03-03T09:46:53.145Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-03T09:46:53.145Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-03T09:46:53.145Z] ---> dc3f82db655d [2023-03-03T09:46:53.145Z] Step 3/23 : ARG MAKE=make build [2023-03-03T09:46:53.404Z] ---> Running in fa93409bd1b9 [2023-03-03T09:46:53.404Z] Removing intermediate container fa93409bd1b9 [2023-03-03T09:46:53.404Z] ---> 9b2c55f8e9d2 [2023-03-03T09:46:53.404Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-03T09:46:53.404Z] ---> Running in 333b9b7aa7a4 [2023-03-03T09:46:53.404Z] Removing intermediate container 333b9b7aa7a4 [2023-03-03T09:46:53.404Z] ---> 7090d999b8aa [2023-03-03T09:46:53.404Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-03T09:46:53.404Z] ---> Running in cd191d7c9e81 [2023-03-03T09:46:53.662Z] Removing intermediate container cd191d7c9e81 [2023-03-03T09:46:53.663Z] ---> 4b1b4388d113 [2023-03-03T09:46:53.663Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-03T09:46:53.663Z] ---> Running in 8d9f522cdfdd [2023-03-03T09:46:53.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-03T09:46:53.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-03T09:46:54.183Z] OK: 211 MiB in 51 packages [2023-03-03T09:46:54.753Z] Removing intermediate container 8d9f522cdfdd [2023-03-03T09:46:54.753Z] ---> f50de1cb9f2c [2023-03-03T09:46:54.753Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-03T09:46:54.753Z] ---> c4ae5e1ea163 [2023-03-03T09:46:54.753Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-03T09:46:54.753Z] ---> Running in a39f78af9e2f [2023-03-03T09:46:55.823Z] Removing intermediate container a39f78af9e2f [2023-03-03T09:46:55.823Z] ---> cd7bf66fc23b [2023-03-03T09:46:55.823Z] Step 9/23 : COPY . . [2023-03-03T09:46:56.082Z] ---> 2b083a7fc76c [2023-03-03T09:46:56.082Z] Step 10/23 : RUN ${MAKE} [2023-03-03T09:46:56.082Z] ---> Running in fcaef5b78133 [2023-03-03T09:46:56.341Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-03T09:47:01.474Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8160 in /w/workspace/gexfoundry_device-sdk-go_PR-1356 [Pipeline] { [Pipeline] ws [2023-03-03T09:47:01.488Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-03T09:47:01.516Z] The recommended git tool is: git [2023-03-03T09:47:06.551Z] using credential edgex-jenkins-ssh [2023-03-03T09:47:06.569Z] Cloning the remote Git repository [2023-03-03T09:47:06.610Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-03T09:47:06.692Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-03T09:47:06.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-03T09:47:06.851Z] > git --version # timeout=10 [2023-03-03T09:47:06.873Z] > git --version # 'git version 2.25.1' [2023-03-03T09:47:06.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-03T09:47:06.940Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-03T09:47:08.609Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-03T09:47:08.630Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-03T09:47:10.258Z] Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit bfaf1cb2e0564bf88f325ac167a80e6040adddd1 [2023-03-03T09:47:09.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-03T09:47:09.511Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-03T09:47:09.512Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-03T09:47:09.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1356/head:refs/remotes/origin/PR-1356 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-03T09:47:10.502Z] Merge succeeded, producing bfaf1cb2e0564bf88f325ac167a80e6040adddd1 [2023-03-03T09:47:10.502Z] Checking out Revision bfaf1cb2e0564bf88f325ac167a80e6040adddd1 (PR-1356) [2023-03-03T09:47:10.270Z] > git config core.sparsecheckout # timeout=10 [2023-03-03T09:47:10.290Z] > git checkout -f bfaf1cb2e0564bf88f325ac167a80e6040adddd1 # timeout=10 [2023-03-03T09:47:10.397Z] > git remote # timeout=10 [2023-03-03T09:47:10.415Z] > git config --get remote.origin.url # timeout=10 [2023-03-03T09:47:10.442Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-03T09:47:10.455Z] > git merge b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 [2023-03-03T09:47:10.480Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-03T09:47:10.504Z] > git config core.sparsecheckout # timeout=10 [2023-03-03T09:47:10.518Z] > git checkout -f bfaf1cb2e0564bf88f325ac167a80e6040adddd1 # timeout=10 [2023-03-03T09:47:14.064Z] Commit message: "feat: publish event with updated value for PUT command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-03T09:47:14.976Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-03T09:47:14.976Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-03T09:47:14.976Z] Dload Upload Total Spent Left Speed [2023-03-03T09:47:14.976Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 88548 0 --:--:-- --:--:-- --:--:-- 88548 [Pipeline] sh [2023-03-03T09:47:15.635Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-03T09:47:15.986Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-03T09:47:15.986Z] + sudo tee /etc/docker/daemon.new [2023-03-03T09:47:15.986Z] { [2023-03-03T09:47:15.986Z] "registry-mirrors": [ [2023-03-03T09:47:15.986Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-03T09:47:15.986Z] ], [2023-03-03T09:47:15.986Z] "bip": "10.250.0.254/24", [2023-03-03T09:47:15.986Z] "hosts": [ [2023-03-03T09:47:15.986Z] "tcp://0.0.0.0:5555", [2023-03-03T09:47:15.986Z] "unix:///var/run/docker.sock" [2023-03-03T09:47:15.986Z] ], [2023-03-03T09:47:15.986Z] "mtu": 1458, [2023-03-03T09:47:15.986Z] "selinux-enabled": true, [2023-03-03T09:47:15.986Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-03T09:47:15.986Z] } [Pipeline] sh [2023-03-03T09:47:16.315Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-03T09:47:16.638Z] + sudo service docker restart [2023-03-03T09:47:18.263Z] Removing intermediate container fcaef5b78133 [2023-03-03T09:47:18.263Z] ---> 149f976dfa8b [2023-03-03T09:47:18.263Z] Step 11/23 : FROM alpine:3.16 [2023-03-03T09:47:18.263Z] 3.16: Pulling from library/alpine [2023-03-03T09:47:18.263Z] ef5531b6e74e: Pulling fs layer [2023-03-03T09:47:18.263Z] ef5531b6e74e: Verifying Checksum [2023-03-03T09:47:18.263Z] ef5531b6e74e: Download complete [2023-03-03T09:47:18.263Z] ef5531b6e74e: Pull complete [2023-03-03T09:47:18.263Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-03T09:47:18.263Z] Status: Downloaded newer image for alpine:3.16 [2023-03-03T09:47:18.263Z] ---> dfd21b5a31f5 [2023-03-03T09:47:18.263Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-03T09:47:18.263Z] ---> Running in a3544c337ddc [2023-03-03T09:47:18.263Z] Removing intermediate container a3544c337ddc [2023-03-03T09:47:18.263Z] ---> 84a823a3d51a [2023-03-03T09:47:18.263Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-03T09:47:18.263Z] ---> Running in 574e319415c7 [2023-03-03T09:47:18.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-03T09:47:18.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-03T09:47:18.263Z] OK: 6 MiB in 14 packages [2023-03-03T09:47:18.263Z] Removing intermediate container 574e319415c7 [2023-03-03T09:47:18.263Z] ---> baee6ad36597 [2023-03-03T09:47:18.263Z] Step 14/23 : WORKDIR / [2023-03-03T09:47:18.263Z] ---> Running in 2c2b65d0547b [2023-03-03T09:47:18.263Z] Removing intermediate container 2c2b65d0547b [2023-03-03T09:47:18.263Z] ---> a1a00fac8959 [2023-03-03T09:47:18.263Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-03T09:47:18.523Z] ---> 814c6375d70e [2023-03-03T09:47:18.523Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-03T09:47:19.460Z] ---> 308209ab8c5b [2023-03-03T09:47:19.460Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-03T09:47:19.460Z] ---> 41bd79286162 [2023-03-03T09:47:19.460Z] Step 18/23 : EXPOSE 59999 [2023-03-03T09:47:19.460Z] ---> Running in a5b7d1232d31 [2023-03-03T09:47:19.460Z] Removing intermediate container a5b7d1232d31 [2023-03-03T09:47:19.460Z] ---> 276312c4611c [2023-03-03T09:47:19.460Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-03T09:47:19.460Z] ---> Running in 6ad926116fa1 [2023-03-03T09:47:19.460Z] Removing intermediate container 6ad926116fa1 [2023-03-03T09:47:19.460Z] ---> bb034fe224fc [2023-03-03T09:47:19.460Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-03T09:47:19.460Z] ---> Running in f0956cdc94ae [2023-03-03T09:47:19.719Z] Removing intermediate container f0956cdc94ae [2023-03-03T09:47:19.719Z] ---> eee51128feeb [2023-03-03T09:47:19.719Z] Step 21/23 : LABEL arch=amd64 [2023-03-03T09:47:19.719Z] ---> Running in d200278d0fe3 [2023-03-03T09:47:19.719Z] Removing intermediate container d200278d0fe3 [2023-03-03T09:47:19.719Z] ---> b38ab56dbe7a [2023-03-03T09:47:19.719Z] Step 22/23 : LABEL git_sha=bfaf1cb2e0564bf88f325ac167a80e6040adddd1 [2023-03-03T09:47:19.719Z] ---> Running in 7e77046bdbe1 [2023-03-03T09:47:19.719Z] Removing intermediate container 7e77046bdbe1 [2023-03-03T09:47:19.719Z] ---> 47eba595e418 [2023-03-03T09:47:19.719Z] Step 23/23 : LABEL version=0.0.0 [2023-03-03T09:47:19.977Z] ---> Running in 735553e37761 [2023-03-03T09:47:19.977Z] Removing intermediate container 735553e37761 [2023-03-03T09:47:19.977Z] ---> c8f8b715e6be [2023-03-03T09:47:19.978Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-03T09:47:19.978Z] Successfully built c8f8b715e6be [2023-03-03T09:47:19.978Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:47:20.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-03T09:47:20.414Z] [2023-03-03T09:47:20.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:47:20.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-03T09:47:20.713Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-03T09:47:20.713Z] 5eb5b503b376: Pulling fs layer [2023-03-03T09:47:20.713Z] 5c69ac0246d0: Pulling fs layer [2023-03-03T09:47:20.713Z] ec43610c2a17: Pulling fs layer [2023-03-03T09:47:20.713Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-03T09:47:20.713Z] 33b1e0a273af: Pulling fs layer [2023-03-03T09:47:20.713Z] 5d3b04190fa2: Pulling fs layer [2023-03-03T09:47:20.713Z] 2f39f015ded8: Pulling fs layer [2023-03-03T09:47:20.713Z] 33b1e0a273af: Waiting [2023-03-03T09:47:20.713Z] 5d3b04190fa2: Waiting [2023-03-03T09:47:20.713Z] 3a2ae6a8a46f: Waiting [2023-03-03T09:47:20.713Z] 2f39f015ded8: Waiting [2023-03-03T09:47:20.713Z] 5c69ac0246d0: Download complete [2023-03-03T09:47:20.713Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-03T09:47:20.713Z] 3a2ae6a8a46f: Download complete [2023-03-03T09:47:20.972Z] ec43610c2a17: Verifying Checksum [2023-03-03T09:47:20.972Z] ec43610c2a17: Download complete [2023-03-03T09:47:20.972Z] 33b1e0a273af: Verifying Checksum [2023-03-03T09:47:20.972Z] 33b1e0a273af: Download complete [2023-03-03T09:47:20.972Z] 5d3b04190fa2: Verifying Checksum [2023-03-03T09:47:20.972Z] 5d3b04190fa2: Download complete [2023-03-03T09:47:20.972Z] 5eb5b503b376: Verifying Checksum [2023-03-03T09:47:20.972Z] 5eb5b503b376: Download complete [2023-03-03T09:47:21.538Z] 2f39f015ded8: Download complete [2023-03-03T09:47:22.105Z] 5eb5b503b376: Pull complete [2023-03-03T09:47:22.362Z] 5c69ac0246d0: Pull complete [2023-03-03T09:47:22.928Z] ec43610c2a17: Pull complete [2023-03-03T09:47:22.928Z] 3a2ae6a8a46f: Pull complete [2023-03-03T09:47:23.186Z] 33b1e0a273af: Pull complete [2023-03-03T09:47:23.186Z] 5d3b04190fa2: Pull complete [2023-03-03T09:47:28.453Z] 2f39f015ded8: Pull complete [2023-03-03T09:47:28.453Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-03T09:47:28.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-03T09:47:28.453Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T09:47:28.531Z] prd-ubuntu20.04-docker-8c-8g-8159 does not seem to be running inside a container [2023-03-03T09:47:28.560Z] $ 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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-03T09:47:32.424Z] $ docker top 6a1c7f4799639ac8ca9817faf5b19a4a1b400ce682ee33223968e613799712ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:47:32.783Z] ---> job-cost.sh [2023-03-03T09:47:32.783Z] lf-activate-venv: SKIPPING [2023-03-03T09:47:32.783Z] INFO: No Stack... [2023-03-03T09:47:33.351Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-03T09:47:33.610Z] INFO: Archiving Costs [Pipeline] sh [2023-03-03T09:47:33.899Z] + cut -d, -f6 [2023-03-03T09:47:33.899Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/cost.csv [Pipeline] lock [2023-03-03T09:47:33.912Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-2-stack-cost] [2023-03-03T09:47:33.918Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-2-stack-cost] did not exist. Created. [2023-03-03T09:47:33.918Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-03T09:47:34.214Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-03T09:47:34.244Z] Stashed 1 file(s) [Pipeline] } [2023-03-03T09:47:34.250Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-03T09:47:34.267Z] $ docker stop --time=1 6a1c7f4799639ac8ca9817faf5b19a4a1b400ce682ee33223968e613799712ce [2023-03-03T09:47:35.431Z] $ docker rm -f --volumes 6a1c7f4799639ac8ca9817faf5b19a4a1b400ce682ee33223968e613799712ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider [2023-03-03T09:47:35.517Z] provisioning config files... [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-03-03T09:47:35.544Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7273852965537817761tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:47:35.887Z] ---> docker-login.sh [2023-03-03T09:47:35.888Z] nexus3.edgexfoundry.org:10001 [2023-03-03T09:47:36.163Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:47:36.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:47:36.436Z] Configure a credential helper to remove this warning. See [2023-03-03T09:47:36.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:47:36.436Z] [2023-03-03T09:47:36.436Z] Login Succeeded [2023-03-03T09:47:36.436Z] nexus3.edgexfoundry.org:10002 [2023-03-03T09:47:36.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:47:36.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:47:36.978Z] Configure a credential helper to remove this warning. See [2023-03-03T09:47:36.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:47:36.978Z] [2023-03-03T09:47:36.978Z] Login Succeeded [2023-03-03T09:47:36.978Z] nexus3.edgexfoundry.org:10003 [2023-03-03T09:47:36.978Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:47:37.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:47:37.249Z] Configure a credential helper to remove this warning. See [2023-03-03T09:47:37.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:47:37.249Z] [2023-03-03T09:47:37.249Z] Login Succeeded [2023-03-03T09:47:37.249Z] nexus3.edgexfoundry.org:10004 [2023-03-03T09:47:37.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:47:37.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:47:37.518Z] Configure a credential helper to remove this warning. See [2023-03-03T09:47:37.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:47:37.518Z] [2023-03-03T09:47:37.518Z] Login Succeeded [2023-03-03T09:47:37.518Z] docker.io [2023-03-03T09:47:37.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-03T09:47:38.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-03T09:47:38.056Z] Configure a credential helper to remove this warning. See [2023-03-03T09:47:38.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-03T09:47:38.056Z] [2023-03-03T09:47:38.056Z] Login Succeeded [2023-03-03T09:47:38.056Z] ---> docker-login.sh ends [Pipeline] } [2023-03-03T09:47:38.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-03T09:47:38.315Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-03T09:47:38.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-03T09:47:38.348Z] ========================================================= [2023-03-03T09:47:38.348Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-03T09:47:38.348Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:47:38.692Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-03T09:47:38.964Z] Sending build context to Docker daemon 5.735MB [2023-03-03T09:47:39.234Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-03T09:47:39.234Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-03T09:47:39.234Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-03T09:47:39.234Z] 9b18e9b68314: Pulling fs layer [2023-03-03T09:47:39.234Z] 35d82f9e3411: Pulling fs layer [2023-03-03T09:47:39.234Z] e16973657156: Pulling fs layer [2023-03-03T09:47:39.234Z] fc693d55d65f: Pulling fs layer [2023-03-03T09:47:39.234Z] 7e9fc2657dce: Pulling fs layer [2023-03-03T09:47:39.234Z] dda99020689f: Pulling fs layer [2023-03-03T09:47:39.234Z] db1c61fa0a46: Pulling fs layer [2023-03-03T09:47:39.234Z] 891c053d2c06: Pulling fs layer [2023-03-03T09:47:39.234Z] fc693d55d65f: Waiting [2023-03-03T09:47:39.234Z] 7e9fc2657dce: Waiting [2023-03-03T09:47:39.234Z] dda99020689f: Waiting [2023-03-03T09:47:39.234Z] db1c61fa0a46: Waiting [2023-03-03T09:47:39.234Z] 891c053d2c06: Waiting [2023-03-03T09:47:39.234Z] e16973657156: Verifying Checksum [2023-03-03T09:47:39.234Z] e16973657156: Download complete [2023-03-03T09:47:39.234Z] 35d82f9e3411: Download complete [2023-03-03T09:47:39.234Z] 7e9fc2657dce: Verifying Checksum [2023-03-03T09:47:39.234Z] 7e9fc2657dce: Download complete [2023-03-03T09:47:39.505Z] dda99020689f: Verifying Checksum [2023-03-03T09:47:39.505Z] dda99020689f: Download complete [2023-03-03T09:47:39.505Z] 9b18e9b68314: Download complete [2023-03-03T09:47:40.103Z] 9b18e9b68314: Pull complete [2023-03-03T09:47:40.377Z] 891c053d2c06: Verifying Checksum [2023-03-03T09:47:40.377Z] 891c053d2c06: Download complete [2023-03-03T09:47:40.646Z] 35d82f9e3411: Pull complete [2023-03-03T09:47:41.234Z] e16973657156: Pull complete [2023-03-03T09:47:41.504Z] db1c61fa0a46: Verifying Checksum [2023-03-03T09:47:41.504Z] db1c61fa0a46: Download complete [2023-03-03T09:47:42.087Z] fc693d55d65f: Verifying Checksum [2023-03-03T09:47:42.087Z] fc693d55d65f: Download complete [2023-03-03T09:47:54.421Z] fc693d55d65f: Pull complete [2023-03-03T09:47:54.421Z] 7e9fc2657dce: Pull complete [2023-03-03T09:47:54.421Z] dda99020689f: Pull complete [2023-03-03T09:48:01.089Z] db1c61fa0a46: Pull complete [2023-03-03T09:48:02.056Z] 891c053d2c06: Pull complete [2023-03-03T09:48:02.056Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-03T09:48:02.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-03T09:48:02.056Z] ---> f96f9c87975a [2023-03-03T09:48:02.056Z] Step 3/10 : ARG MAKE=make build [2023-03-03T09:48:04.657Z] ---> Running in ae72a1f2ebe2 [2023-03-03T09:48:04.657Z] Removing intermediate container ae72a1f2ebe2 [2023-03-03T09:48:04.657Z] ---> 4f6e07afdff4 [2023-03-03T09:48:04.657Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-03T09:48:04.657Z] ---> Running in a1bac6105f92 [2023-03-03T09:48:04.928Z] Removing intermediate container a1bac6105f92 [2023-03-03T09:48:04.928Z] ---> 04d4689133df [2023-03-03T09:48:04.928Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-03T09:48:04.928Z] ---> Running in 32fe4d6c94a3 [2023-03-03T09:48:05.515Z] Removing intermediate container 32fe4d6c94a3 [2023-03-03T09:48:05.515Z] ---> dbab9b238d97 [2023-03-03T09:48:05.515Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-03T09:48:05.515Z] ---> Running in bf123c78c5ea [2023-03-03T09:48:06.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-03T09:48:07.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-03T09:48:08.045Z] OK: 221 MiB in 51 packages [2023-03-03T09:48:09.012Z] Removing intermediate container bf123c78c5ea [2023-03-03T09:48:09.012Z] ---> 623f1ffbb8f5 [2023-03-03T09:48:09.012Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-03T09:48:09.280Z] ---> 272588a8fca9 [2023-03-03T09:48:09.280Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-03T09:48:09.549Z] ---> Running in faf5c30ec7fe [2023-03-03T09:49:17.461Z] Removing intermediate container faf5c30ec7fe [2023-03-03T09:49:17.461Z] ---> 5a5bdd4ff009 [2023-03-03T09:49:17.461Z] Step 9/10 : COPY . . [2023-03-03T09:49:17.461Z] ---> 1d57d4ec7d01 [2023-03-03T09:49:17.461Z] Step 10/10 : RUN ${MAKE} [2023-03-03T09:49:17.461Z] ---> Running in 0e7043004945 [2023-03-03T09:49:17.461Z] noop [2023-03-03T09:49:17.461Z] Removing intermediate container 0e7043004945 [2023-03-03T09:49:17.461Z] ---> 68449c421dfb [2023-03-03T09:49:17.461Z] Successfully built 68449c421dfb [2023-03-03T09:49:17.461Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:49:17.815Z] + docker inspect -f . ci-base-image-arm64 [2023-03-03T09:49:17.815Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T09:49:17.987Z] prd-ubuntu20.04-docker-arm64-4c-16g-8160 does not seem to be running inside a container [2023-03-03T09:49:18.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-03T09:49:19.236Z] $ docker top bdf46ea349c7ff047a6e290b9155671a76dc39afd7980e302e281d18586eeff4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-03T09:49:20.048Z] + go version [2023-03-03T09:49:20.048Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-03T09:49:20.073Z] $ docker stop --time=1 bdf46ea349c7ff047a6e290b9155671a76dc39afd7980e302e281d18586eeff4 [2023-03-03T09:49:21.696Z] $ docker rm -f --volumes bdf46ea349c7ff047a6e290b9155671a76dc39afd7980e302e281d18586eeff4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:49:22.195Z] + docker inspect -f . ci-base-image-arm64 [2023-03-03T09:49:22.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T09:49:22.361Z] prd-ubuntu20.04-docker-arm64-4c-16g-8160 does not seem to be running inside a container [2023-03-03T09:49:22.430Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-03T09:49:23.651Z] $ docker top 01b43784a77849d2260d4db92e6e33aa16aaf5061e07638ff3400598da048d77 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-03T09:49:24.138Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-03T09:49:24.463Z] + make test [2023-03-03T09:49:24.463Z] go test -race -coverprofile=coverage.out ./... [2023-03-03T09:49:56.682Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-03T09:51:33.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-03T09:51:33.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-03T09:51:33.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-03T09:51:33.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-03T09:51:33.339Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-03T09:51:45.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.362s coverage: 27.6% of statements [2023-03-03T09:51:47.580Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.389s coverage: 78.9% of statements [2023-03-03T09:51:47.580Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-03T09:51:54.227Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.487s coverage: 86.0% of statements [2023-03-03T09:51:54.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-03T09:51:54.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-03T09:51:57.572Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.519s coverage: 75.4% of statements [2023-03-03T09:51:57.572Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-03T09:51:57.572Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.435s coverage: 15.2% of statements [2023-03-03T09:51:57.572Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-03T09:51:58.987Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.408s coverage: 65.2% of statements [2023-03-03T09:51:58.987Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-03T09:51:58.987Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-03T09:51:59.254Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.446s coverage: 89.2% of statements [2023-03-03T09:51:59.254Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-03T09:51:59.254Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.316s coverage: 4.6% of statements [2023-03-03T09:51:59.254Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-03T09:52:00.217Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-03T09:52:00.217Z] GO111MODULE=on go vet ./... [2023-03-03T09:53:36.872Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-03T09:53:36.872Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-03T09:53:36.872Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-03T09:53:36.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-03T09:53:36.920Z] $ docker stop --time=1 01b43784a77849d2260d4db92e6e33aa16aaf5061e07638ff3400598da048d77 [2023-03-03T09:53:38.697Z] $ docker rm -f --volumes 01b43784a77849d2260d4db92e6e33aa16aaf5061e07638ff3400598da048d77 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-03T09:53:39.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-03T09:53:39.955Z] Warning: overwriting stash ‘coverage-report’ [2023-03-03T09:53:40.464Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-03T09:53:40.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-03T09:53:41.181Z] + ls -al . [2023-03-03T09:53:41.181Z] total 276 [2023-03-03T09:53:41.181Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 3 09:49 . [2023-03-03T09:53:41.181Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 09:47 .. [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 3 09:47 .dockerignore [2023-03-03T09:53:41.181Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 3 09:47 .git [2023-03-03T09:53:41.181Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 09:47 .github [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 3 09:47 .gitignore [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 3 09:47 .golangci.yml [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 3 09:47 CHANGELOG.md [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 3 09:47 GOVERNANCE.md [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 3 09:47 Jenkinsfile [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 3 09:47 LICENSE [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 3 09:47 Makefile [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 3 09:47 OWNERS.md [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 3 09:47 README.md [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 3 09:45 VERSION [2023-03-03T09:53:41.181Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 3 09:47 bin [2023-03-03T09:53:41.181Z] -rw-r--r-- 1 jenkins jenkins 111634 Mar 3 09:51 coverage.out [2023-03-03T09:53:41.181Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 3 09:47 example [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 3 09:47 go.mod [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 3 09:47 go.sum [2023-03-03T09:53:41.181Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 3 09:47 internal [2023-03-03T09:53:41.181Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 3 09:47 openapi [2023-03-03T09:53:41.181Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 3 09:47 pkg [2023-03-03T09:53:41.181Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 3 09:47 snap [2023-03-03T09:53:41.181Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 3 09:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:53:41.518Z] + 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=bfaf1cb2e0564bf88f325ac167a80e6040adddd1 --label arch=arm64 --label version=0.0.0 . [2023-03-03T09:53:41.785Z] Sending build context to Docker daemon 5.848MB [2023-03-03T09:53:42.055Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-03T09:53:42.056Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-03T09:53:42.056Z] ---> 68449c421dfb [2023-03-03T09:53:42.056Z] Step 3/23 : ARG MAKE=make build [2023-03-03T09:53:42.056Z] ---> Running in 7d47ca9cd1e4 [2023-03-03T09:53:42.323Z] Removing intermediate container 7d47ca9cd1e4 [2023-03-03T09:53:42.323Z] ---> 48609ea0cf6c [2023-03-03T09:53:42.323Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-03T09:53:42.323Z] ---> Running in c1fac8b5c468 [2023-03-03T09:53:42.592Z] Removing intermediate container c1fac8b5c468 [2023-03-03T09:53:42.592Z] ---> 3234aa6c8c4e [2023-03-03T09:53:42.592Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-03T09:53:42.859Z] ---> Running in abbed3273105 [2023-03-03T09:53:43.126Z] Removing intermediate container abbed3273105 [2023-03-03T09:53:43.126Z] ---> 884a497cbf02 [2023-03-03T09:53:43.126Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-03T09:53:43.126Z] ---> Running in 02de88d3269f [2023-03-03T09:53:44.082Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-03T09:53:44.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-03T09:53:45.312Z] OK: 221 MiB in 51 packages [2023-03-03T09:53:48.736Z] Removing intermediate container 02de88d3269f [2023-03-03T09:53:48.737Z] ---> 92dc7c53016b [2023-03-03T09:53:48.737Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-03T09:53:48.737Z] ---> d992a39d1b66 [2023-03-03T09:53:48.737Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-03T09:53:49.007Z] ---> Running in ea61f71c3adb [2023-03-03T09:53:51.663Z] Removing intermediate container ea61f71c3adb [2023-03-03T09:53:51.663Z] ---> ab974d9c000c [2023-03-03T09:53:51.663Z] Step 9/23 : COPY . . [2023-03-03T09:53:52.644Z] ---> 80b014122def [2023-03-03T09:53:52.644Z] Step 10/23 : RUN ${MAKE} [2023-03-03T09:53:52.911Z] ---> Running in 8275a6b53fa1 [2023-03-03T09:53:53.868Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-03T09:56:00.571Z] Removing intermediate container 8275a6b53fa1 [2023-03-03T09:56:00.571Z] ---> 47f87b787f69 [2023-03-03T09:56:00.571Z] Step 11/23 : FROM alpine:3.16 [2023-03-03T09:56:00.571Z] 3.16: Pulling from library/alpine [2023-03-03T09:56:00.571Z] 3760b48202b3: Pulling fs layer [2023-03-03T09:56:00.571Z] 3760b48202b3: Verifying Checksum [2023-03-03T09:56:00.571Z] 3760b48202b3: Pull complete [2023-03-03T09:56:00.571Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-03T09:56:00.571Z] Status: Downloaded newer image for alpine:3.16 [2023-03-03T09:56:00.571Z] ---> 4c81e5bf8899 [2023-03-03T09:56:00.571Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-03T09:56:00.571Z] ---> Running in 7979a2073df8 [2023-03-03T09:56:00.571Z] Removing intermediate container 7979a2073df8 [2023-03-03T09:56:00.571Z] ---> 5aeb6dce2ef5 [2023-03-03T09:56:00.571Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-03T09:56:00.571Z] ---> Running in 1617199795fc [2023-03-03T09:56:00.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-03T09:56:00.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-03T09:56:00.571Z] OK: 5 MiB in 14 packages [2023-03-03T09:56:00.571Z] Removing intermediate container 1617199795fc [2023-03-03T09:56:00.571Z] ---> 84089f4a82cc [2023-03-03T09:56:00.571Z] Step 14/23 : WORKDIR / [2023-03-03T09:56:00.571Z] ---> Running in ec5ed5d48369 [2023-03-03T09:56:00.571Z] Removing intermediate container ec5ed5d48369 [2023-03-03T09:56:00.571Z] ---> 95ab6ac429a6 [2023-03-03T09:56:00.571Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-03T09:56:00.571Z] ---> bc30281b538e [2023-03-03T09:56:00.571Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-03T09:56:00.571Z] ---> 66e6bc474140 [2023-03-03T09:56:00.571Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-03T09:56:00.571Z] ---> a7de9548c1bf [2023-03-03T09:56:00.571Z] Step 18/23 : EXPOSE 59999 [2023-03-03T09:56:00.571Z] ---> Running in 4aa6d0516d58 [2023-03-03T09:56:00.571Z] Removing intermediate container 4aa6d0516d58 [2023-03-03T09:56:00.571Z] ---> e817715ee184 [2023-03-03T09:56:00.571Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-03T09:56:00.571Z] ---> Running in f293b3fdd86a [2023-03-03T09:56:00.571Z] Removing intermediate container f293b3fdd86a [2023-03-03T09:56:00.571Z] ---> 2b9cbb257da4 [2023-03-03T09:56:00.571Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-03T09:56:00.571Z] ---> Running in 146041326e35 [2023-03-03T09:56:00.571Z] Removing intermediate container 146041326e35 [2023-03-03T09:56:00.571Z] ---> 053a895801bd [2023-03-03T09:56:00.571Z] Step 21/23 : LABEL arch=arm64 [2023-03-03T09:56:00.571Z] ---> Running in 9d1acbdc8e5c [2023-03-03T09:56:00.571Z] Removing intermediate container 9d1acbdc8e5c [2023-03-03T09:56:00.571Z] ---> 3b2884829055 [2023-03-03T09:56:00.571Z] Step 22/23 : LABEL git_sha=bfaf1cb2e0564bf88f325ac167a80e6040adddd1 [2023-03-03T09:56:00.839Z] ---> Running in 43d0bfa16a54 [2023-03-03T09:56:01.105Z] Removing intermediate container 43d0bfa16a54 [2023-03-03T09:56:01.105Z] ---> fd4f4e626be5 [2023-03-03T09:56:01.105Z] Step 23/23 : LABEL version=0.0.0 [2023-03-03T09:56:01.105Z] ---> Running in 288408866a00 [2023-03-03T09:56:01.371Z] Removing intermediate container 288408866a00 [2023-03-03T09:56:01.371Z] ---> 16d72d12ac0a [2023-03-03T09:56:01.371Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-03T09:56:01.371Z] Successfully built 16d72d12ac0a [2023-03-03T09:56:01.371Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:56:01.787Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-03T09:56:01.787Z] [2023-03-03T09:56:01.787Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:56:02.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-03T09:56:02.109Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-03T09:56:02.109Z] 8998bd30e6a1: Pulling fs layer [2023-03-03T09:56:02.109Z] 04944245beec: Pulling fs layer [2023-03-03T09:56:02.109Z] 699f458cf7ca: Pulling fs layer [2023-03-03T09:56:02.109Z] 765212b225bb: Pulling fs layer [2023-03-03T09:56:02.109Z] f23df028b6ca: Pulling fs layer [2023-03-03T09:56:02.109Z] d65c8cfc05b1: Pulling fs layer [2023-03-03T09:56:02.109Z] 2437ff75d9bd: Pulling fs layer [2023-03-03T09:56:02.109Z] f23df028b6ca: Waiting [2023-03-03T09:56:02.109Z] d65c8cfc05b1: Waiting [2023-03-03T09:56:02.109Z] 2437ff75d9bd: Waiting [2023-03-03T09:56:02.109Z] 765212b225bb: Waiting [2023-03-03T09:56:02.376Z] 04944245beec: Verifying Checksum [2023-03-03T09:56:02.376Z] 04944245beec: Download complete [2023-03-03T09:56:02.376Z] 765212b225bb: Verifying Checksum [2023-03-03T09:56:02.376Z] 765212b225bb: Download complete [2023-03-03T09:56:02.376Z] f23df028b6ca: Verifying Checksum [2023-03-03T09:56:02.376Z] f23df028b6ca: Download complete [2023-03-03T09:56:02.376Z] d65c8cfc05b1: Download complete [2023-03-03T09:56:02.645Z] 699f458cf7ca: Verifying Checksum [2023-03-03T09:56:02.645Z] 699f458cf7ca: Download complete [2023-03-03T09:56:02.912Z] 8998bd30e6a1: Verifying Checksum [2023-03-03T09:56:02.912Z] 8998bd30e6a1: Download complete [2023-03-03T09:56:04.854Z] 2437ff75d9bd: Verifying Checksum [2023-03-03T09:56:04.854Z] 2437ff75d9bd: Download complete [2023-03-03T09:56:06.791Z] 8998bd30e6a1: Pull complete [2023-03-03T09:56:07.060Z] 04944245beec: Pull complete [2023-03-03T09:56:08.468Z] 699f458cf7ca: Pull complete [2023-03-03T09:56:08.468Z] 765212b225bb: Pull complete [2023-03-03T09:56:11.040Z] f23df028b6ca: Pull complete [2023-03-03T09:56:11.307Z] d65c8cfc05b1: Pull complete [2023-03-03T09:56:26.309Z] 2437ff75d9bd: Pull complete [2023-03-03T09:56:26.309Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-03T09:56:26.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-03T09:56:26.309Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T09:56:26.490Z] prd-ubuntu20.04-docker-arm64-4c-16g-8160 does not seem to be running inside a container [2023-03-03T09:56:26.571Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-03T09:56:29.123Z] $ docker top f482ae5e31edea6c122fcc749c702c18c3f097372799846b22b9429effa46850 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:56:29.973Z] ---> job-cost.sh [2023-03-03T09:56:29.973Z] lf-activate-venv: SKIPPING [2023-03-03T09:56:29.973Z] INFO: No Stack... [2023-03-03T09:56:30.240Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-03T09:56:31.197Z] INFO: Archiving Costs [Pipeline] sh [2023-03-03T09:56:31.829Z] + cat+ /w/workspace/device-sdk-go/2/archives/cost.csv [2023-03-03T09:56:31.829Z] cut -d, -f6 [Pipeline] lock [2023-03-03T09:56:31.887Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1356-2-stack-cost] [2023-03-03T09:56:31.893Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-2-stack-cost] did not exist. Created. [2023-03-03T09:56:31.893Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1356-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-03T09:56:32.561Z] /w/workspace/device-sdk-go/2@tmp/durable-d3ea66c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-03T09:56:33.215Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-03T09:56:33.236Z] Warning: overwriting stash ‘stack-cost’ [2023-03-03T09:56:33.319Z] Stashed 1 file(s) [Pipeline] } [2023-03-03T09:56:33.324Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1356-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-03T09:56:33.351Z] $ docker stop --time=1 f482ae5e31edea6c122fcc749c702c18c3f097372799846b22b9429effa46850 [2023-03-03T09:56:34.873Z] $ docker rm -f --volumes f482ae5e31edea6c122fcc749c702c18c3f097372799846b22b9429effa46850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-03T09:56:37.329Z] provisioning config files... [2023-03-03T09:56:37.337Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config9558589529620909302tmp [Pipeline] { [Pipeline] sh [2023-03-03T09:56:37.627Z] + set +x [2023-03-03T09:56:37.627Z] + + curl -s https://codecov.io/bash [2023-03-03T09:56:37.627Z] bash -s -- [2023-03-03T09:56:37.627Z] [2023-03-03T09:56:37.627Z] _____ _ [2023-03-03T09:56:37.627Z] / ____| | | [2023-03-03T09:56:37.627Z] | | ___ __| | ___ ___ _____ __ [2023-03-03T09:56:37.627Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-03T09:56:37.627Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-03T09:56:37.627Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-03T09:56:37.627Z] Bash-1.0.6 [2023-03-03T09:56:37.627Z] [2023-03-03T09:56:37.627Z] [2023-03-03T09:56:37.627Z] ==> git version 2.25.1 found [2023-03-03T09:56:37.627Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-03T09:56:37.627Z] Release-Date: 2020-01-08 [2023-03-03T09:56:37.627Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-03T09:56:37.627Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-03T09:56:37.627Z] ==> Jenkins CI detected. [2023-03-03T09:56:37.627Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-03T09:56:37.627Z] project root: . [2023-03-03T09:56:37.627Z] --> token set from env [2023-03-03T09:56:37.627Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-03T09:56:37.627Z] ==> Running gcov in . (disable via -X gcov) [2023-03-03T09:56:37.627Z] ==> Python coveragepy not found [2023-03-03T09:56:37.627Z] ==> Searching for coverage reports in: [2023-03-03T09:56:37.627Z] + . [2023-03-03T09:56:37.627Z] -> Found 1 reports [2023-03-03T09:56:37.627Z] ==> Detecting git/mercurial file structure [2023-03-03T09:56:37.627Z] ==> Reading reports [2023-03-03T09:56:37.627Z] + ./coverage.out bytes=111634 [2023-03-03T09:56:37.627Z] ==> Appending adjustments [2023-03-03T09:56:37.627Z] https://docs.codecov.io/docs/fixing-reports [2023-03-03T09:56:38.195Z] + Found adjustments [2023-03-03T09:56:38.195Z] ==> Gzipping contents [2023-03-03T09:56:38.195Z] 16K /tmp/codecov.k0tutn.gz [2023-03-03T09:56:38.195Z] ==> Uploading reports [2023-03-03T09:56:38.195Z] url: https://codecov.io [2023-03-03T09:56:38.195Z] query: branch=PR-1356&commit=bfaf1cb2e0564bf88f325ac167a80e6040adddd1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-03T09:56:38.195Z] -> Pinging Codecov [2023-03-03T09:56:38.195Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1356&commit=bfaf1cb2e0564bf88f325ac167a80e6040adddd1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1356%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1356&job=&cmd_args= [2023-03-03T09:56:38.195Z] -> Uploading to [2023-03-03T09:56:38.195Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-03/7E55EF52A471D76F132DFD9A03CDDE97/bfaf1cb2e0564bf88f325ac167a80e6040adddd1/e6f184a0-5ade-478d-9f6c-0622797c2934.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230303%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230303T095638Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=70e55093347bb6f38b6ac4679459d01899830cf3d1bbda7f25f7a9dfe0d44a2c [2023-03-03T09:56:38.195Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-03T09:56:38.195Z] Dload Upload Total Spent Left Speed [2023-03-03T09:56:38.454Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15395 0 0 100 15395 0 59211 --:--:-- --:--:-- --:--:-- 59211 [2023-03-03T09:56:38.454Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bfaf1cb2e0564bf88f325ac167a80e6040adddd1 [Pipeline] } [2023-03-03T09:56:38.461Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-03T09:56:39.160Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives ] [2023-03-03T09:56:39.160Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-03T09:56:39.160Z] total 16 [2023-03-03T09:56:39.160Z] drwxr-xr-x 3 root root 4096 Mar 3 09:47 . [2023-03-03T09:56:39.160Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 09:47 .. [2023-03-03T09:56:39.160Z] drwxr-xr-x 2 root root 4096 Mar 3 09:47 cost [2023-03-03T09:56:39.160Z] -rw-r--r-- 1 root root 86 Mar 3 09:47 cost.csv [2023-03-03T09:56:39.160Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-03T09:56:39.160Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives [2023-03-03T09:56:39.160Z] total 16 [2023-03-03T09:56:39.160Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 3 09:47 . [2023-03-03T09:56:39.160Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 3 09:47 .. [2023-03-03T09:56:39.160Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 3 09:47 cost [2023-03-03T09:56:39.160Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 3 09:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:56:39.455Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:56:40.317Z] ---> package-listing.sh [2023-03-03T09:56:40.317Z] ++ facter osfamily [2023-03-03T09:56:40.317Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-03T09:56:40.576Z] + OS_FAMILY=debian [2023-03-03T09:56:40.576Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1356 [2023-03-03T09:56:40.576Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-03T09:56:40.576Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-03T09:56:40.576Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-03T09:56:40.576Z] + PACKAGES=/tmp/packages_start.txt [2023-03-03T09:56:40.576Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-03T09:56:40.576Z] + PACKAGES=/tmp/packages_end.txt [2023-03-03T09:56:40.576Z] + case "${OS_FAMILY}" in [2023-03-03T09:56:40.577Z] + dpkg -l [2023-03-03T09:56:40.577Z] + grep '^ii' [2023-03-03T09:56:40.577Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-03T09:56:40.577Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-03T09:56:40.577Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-03T09:56:40.577Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1356 ']' [2023-03-03T09:56:40.577Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [2023-03-03T09:56:40.577Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1356/archives/ [Pipeline] echo [2023-03-03T09:56:40.589Z] 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-1356/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-03T09:56:40.866Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-03T09:56:41.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-03T09:56:41.422Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-03T09:56:41.490Z] prd-ubuntu20.04-docker-8c-8g-8159 does not seem to be running inside a container [2023-03-03T09:56:41.516Z] $ 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-1356/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-1356 -v /w/workspace/gexfoundry_device-sdk-go_PR-1356:/w/workspace/gexfoundry_device-sdk-go_PR-1356:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1356@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-03T09:56:41.697Z] $ docker top d231d8c8ecfbd08845da9112025fb5102879ac5162212df54e5b6eecadf88dc3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-03T09:56:42.044Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-03T09:56:42.335Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-03T09:56:42.621Z] + ls /var/log/sa-host [2023-03-03T09:56:42.621Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-03T09:56:42.710Z] provisioning config files... [2023-03-03T09:56:42.718Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1356@tmp/config8987348094719674877tmp [Pipeline] { [Pipeline] echo [2023-03-03T09:56:42.731Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:56:43.017Z] ---> create-netrc.sh [Pipeline] } [2023-03-03T09:56:43.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:56:43.356Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-03T09:56:43.367Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:56:43.654Z] ---> sudo-logs.sh [2023-03-03T09:56:43.654Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-03T09:56:43.692Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:56:43.976Z] ---> job-cost.sh [2023-03-03T09:56:43.977Z] lf-activate-venv: SKIPPING [2023-03-03T09:56:43.977Z] DEBUG: total: 0.2199999988079071 [2023-03-03T09:56:43.977Z] INFO: Retrieving Stack Cost... [2023-03-03T09:56:44.236Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-03T09:56:44.802Z] INFO: Archiving Costs [Pipeline] echo [2023-03-03T09:56:44.815Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-03T09:56:45.098Z] ---> logs-deploy.sh [2023-03-03T09:56:45.098Z] lf-activate-venv: SKIPPING [2023-03-03T09:56:45.098Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1356/2 [2023-03-03T09:56:45.098Z] INFO: archiving workspace using pattern(s): [2023-03-03T09:56:46.037Z] Archives upload complete. [2023-03-03T09:56:46.037Z] INFO: archiving logs to Nexus