Pull request #1327 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7c0f25f33206b2882856973f223d92f556bbce2b+cf150bd1006c505b2559d8970edbe52dd5fe7567 (fb9903dd71d944b1d9c47647c86b43ce18022730) 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-ssh2084168324674248651.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-ssh16795601096170217188.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6990792429122268373.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1327/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4770939965877827749.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15201875994072374224.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1327/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1327/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16909100701423140532.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6222 in /w/workspace/gexfoundry_device-sdk-go_PR-1327 [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-1327 # 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 Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 7c0f25f33206b2882856973f223d92f556bbce2b Merge succeeded, producing 7c0f25f33206b2882856973f223d92f556bbce2b Checking out Revision 7c0f25f33206b2882856973f223d92f556bbce2b (PR-1327) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1327/head:refs/remotes/origin/PR-1327 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c0f25f33206b2882856973f223d92f556bbce2b # 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 cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7c0f25f33206b2882856973f223d92f556bbce2b # timeout=10 Commit message: "fix: Add missing 'device' to event publish topic" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-16T00:30:04.280Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-16T00:30:04.452Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-16T00:30:04.543Z] ========================================================= [2023-02-16T00:30:04.543Z] EdgeX Global Pipelines Version Info [2023-02-16T00:30:04.543Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:30:05.689Z] ------------------- [2023-02-16T00:30:05.689Z] stable info: [2023-02-16T00:30:05.689Z] ------------------- [2023-02-16T00:30:05.689Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-16T00:30:05.689Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T00:30:05.689Z] Message: update stable to v1.0.244 [2023-02-16T00:30:05.949Z] ------------------- [2023-02-16T00:30:05.949Z] experimental info: [2023-02-16T00:30:05.949Z] ------------------- [2023-02-16T00:30:05.949Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-16T00:30:05.949Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T00:30:05.949Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-16T00:30:06.268Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-16T00:30:06.307Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-16T00:30:06.348Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-16T00:30:06.389Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-16T00:30:06.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-16T00:30:06.460Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-16T00:30:06.498Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-16T00:30:06.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-16T00:30:06.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-16T00:30:06.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-16T00:30:06.665Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-16T00:30:06.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-16T00:30:06.752Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-16T00:30:06.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-16T00:30:06.851Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T00:30:06.893Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T00:30:06.933Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T00:30:06.976Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T00:30:07.015Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-16T00:30:07.061Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-16T00:30:07.102Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-16T00:30:07.143Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-16T00:30:07.183Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-16T00:30:07.228Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-16T00:30:07.270Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-16T00:30:07.307Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-16T00:30:07.352Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-16T00:30:07.392Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1327 [Pipeline] echo [2023-02-16T00:30:07.433Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1327 [Pipeline] echo [2023-02-16T00:30:07.475Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1327 [Pipeline] echo [2023-02-16T00:30:07.517Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7c0f25f33206b2882856973f223d92f556bbce2b [Pipeline] echo [2023-02-16T00:30:07.558Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7c0f25f [Pipeline] echo [2023-02-16T00:30:07.600Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T00:30:07.721Z] provisioning config files... [2023-02-16T00:30:07.732Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp/config4167900372360905626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:30:08.067Z] ---> docker-login.sh [2023-02-16T00:30:08.068Z] nexus3.edgexfoundry.org:10001 [2023-02-16T00:30:09.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:30:09.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:30:09.005Z] Configure a credential helper to remove this warning. See [2023-02-16T00:30:09.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:30:09.005Z] [2023-02-16T00:30:09.005Z] Login Succeeded [2023-02-16T00:30:09.005Z] nexus3.edgexfoundry.org:10002 [2023-02-16T00:30:09.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:30:09.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:30:09.005Z] Configure a credential helper to remove this warning. See [2023-02-16T00:30:09.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:30:09.005Z] [2023-02-16T00:30:09.005Z] Login Succeeded [2023-02-16T00:30:09.005Z] nexus3.edgexfoundry.org:10003 [2023-02-16T00:30:09.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:30:09.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:30:09.005Z] Configure a credential helper to remove this warning. See [2023-02-16T00:30:09.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:30:09.005Z] [2023-02-16T00:30:09.005Z] Login Succeeded [2023-02-16T00:30:09.005Z] nexus3.edgexfoundry.org:10004 [2023-02-16T00:30:09.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:30:09.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:30:09.265Z] Configure a credential helper to remove this warning. See [2023-02-16T00:30:09.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:30:09.265Z] [2023-02-16T00:30:09.265Z] Login Succeeded [2023-02-16T00:30:09.265Z] docker.io [2023-02-16T00:30:09.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:30:09.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:30:09.526Z] Configure a credential helper to remove this warning. See [2023-02-16T00:30:09.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:30:09.526Z] [2023-02-16T00:30:09.526Z] Login Succeeded [2023-02-16T00:30:09.526Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T00:30:09.552Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-16T00:30:10.149Z] + git rev-list -1 --merges 7c0f25f33206b2882856973f223d92f556bbce2b~1..7c0f25f33206b2882856973f223d92f556bbce2b [Pipeline] echo [2023-02-16T00:30:10.212Z] -----------> git rev-list -1 --merges 7c0f25f33206b2882856973f223d92f556bbce2b~1..7c0f25f33206b2882856973f223d92f556bbce2b 7c0f25f33206b2882856973f223d92f556bbce2b [false] [Pipeline] sh [2023-02-16T00:30:10.522Z] + git log --format=format:%s -1 7c0f25f33206b2882856973f223d92f556bbce2b [Pipeline] echo [2023-02-16T00:30:10.555Z] ========================================================= [2023-02-16T00:30:10.555Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-16T00:30:10.555Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T00:30:10.994Z] + git log --format=format:%s -1 7c0f25f33206b2882856973f223d92f556bbce2b [Pipeline] echo [2023-02-16T00:30:11.026Z] [semverPrep] GIT_COMMIT: 7c0f25f33206b2882856973f223d92f556bbce2b, Commit Message: fix: Add missing 'device' to event publish topic [Pipeline] echo [2023-02-16T00:30:11.055Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-16T00:30:11.419Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-16T00:30:11.419Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-16T00:30:11.419Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-16T00:30:11.419Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-16T00:30:11.419Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-16T00:30:11.419Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-16T00:30:11.419Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:30:11.898Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T00:30:11.898Z] [2023-02-16T00:30:11.898Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:30:12.286Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T00:30:13.234Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-16T00:30:13.234Z] b85a868b505f: Pulling fs layer [2023-02-16T00:30:13.234Z] e2be974225ed: Pulling fs layer [2023-02-16T00:30:13.234Z] 339a4e72a1f5: Pulling fs layer [2023-02-16T00:30:13.234Z] 988bab9f4d93: Pulling fs layer [2023-02-16T00:30:13.234Z] 1469e6f7b9e6: Pulling fs layer [2023-02-16T00:30:13.234Z] eaf3925da568: Pulling fs layer [2023-02-16T00:30:13.234Z] bab4dde63d76: Pulling fs layer [2023-02-16T00:30:13.234Z] bde34c3a00c8: Pulling fs layer [2023-02-16T00:30:13.234Z] b352a97aabf1: Pulling fs layer [2023-02-16T00:30:13.234Z] 4872d77fe225: Pulling fs layer [2023-02-16T00:30:13.234Z] 5851b861e8e6: Pulling fs layer [2023-02-16T00:30:13.234Z] bab4dde63d76: Waiting [2023-02-16T00:30:13.234Z] bde34c3a00c8: Waiting [2023-02-16T00:30:13.234Z] b352a97aabf1: Waiting [2023-02-16T00:30:13.234Z] 4872d77fe225: Waiting [2023-02-16T00:30:13.234Z] 5851b861e8e6: Waiting [2023-02-16T00:30:13.234Z] 988bab9f4d93: Waiting [2023-02-16T00:30:13.234Z] 1469e6f7b9e6: Waiting [2023-02-16T00:30:13.234Z] eaf3925da568: Waiting [2023-02-16T00:30:13.234Z] e2be974225ed: Verifying Checksum [2023-02-16T00:30:13.234Z] e2be974225ed: Download complete [2023-02-16T00:30:13.234Z] 988bab9f4d93: Verifying Checksum [2023-02-16T00:30:13.234Z] 988bab9f4d93: Download complete [2023-02-16T00:30:13.497Z] 1469e6f7b9e6: Verifying Checksum [2023-02-16T00:30:13.497Z] 1469e6f7b9e6: Download complete [2023-02-16T00:30:13.497Z] eaf3925da568: Verifying Checksum [2023-02-16T00:30:13.497Z] eaf3925da568: Download complete [2023-02-16T00:30:13.497Z] 339a4e72a1f5: Verifying Checksum [2023-02-16T00:30:13.497Z] 339a4e72a1f5: Download complete [2023-02-16T00:30:13.497Z] bde34c3a00c8: Verifying Checksum [2023-02-16T00:30:13.497Z] bde34c3a00c8: Download complete [2023-02-16T00:30:13.497Z] b85a868b505f: Verifying Checksum [2023-02-16T00:30:13.497Z] b85a868b505f: Download complete [2023-02-16T00:30:13.497Z] b352a97aabf1: Verifying Checksum [2023-02-16T00:30:13.497Z] b352a97aabf1: Download complete [2023-02-16T00:30:13.497Z] 4872d77fe225: Download complete [2023-02-16T00:30:13.497Z] 5851b861e8e6: Verifying Checksum [2023-02-16T00:30:13.497Z] 5851b861e8e6: Download complete [2023-02-16T00:30:14.063Z] bab4dde63d76: Verifying Checksum [2023-02-16T00:30:14.063Z] bab4dde63d76: Download complete [2023-02-16T00:30:15.000Z] b85a868b505f: Pull complete [2023-02-16T00:30:15.259Z] e2be974225ed: Pull complete [2023-02-16T00:30:16.636Z] 339a4e72a1f5: Pull complete [2023-02-16T00:30:16.899Z] 988bab9f4d93: Pull complete [2023-02-16T00:30:17.469Z] 1469e6f7b9e6: Pull complete [2023-02-16T00:30:17.734Z] eaf3925da568: Pull complete [2023-02-16T00:30:19.632Z] bab4dde63d76: Pull complete [2023-02-16T00:30:20.200Z] bde34c3a00c8: Pull complete [2023-02-16T00:30:20.461Z] b352a97aabf1: Pull complete [2023-02-16T00:30:20.720Z] 4872d77fe225: Pull complete [2023-02-16T00:30:21.289Z] 5851b861e8e6: Pull complete [2023-02-16T00:30:21.548Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-16T00:30:21.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T00:30:21.548Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T00:30:21.769Z] prd-ubuntu20.04-docker-8c-8g-6222 does not seem to be running inside a container [2023-02-16T00:30:21.805Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1327 -v /w/workspace/gexfoundry_device-sdk-go_PR-1327:/w/workspace/gexfoundry_device-sdk-go_PR-1327:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-16T00:30:33.460Z] $ docker top 7334d948672542c498b6b0a6c76ac35056d71ddfa15221438dd11848113385d7 -eo pid,comm [2023-02-16T00:30:33.674Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-16T00:30:33.674Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-16T00:30:33.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T00:30:33.786Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T00:30:34.641Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T00:30:34.656Z] $ docker exec 7334d948672542c498b6b0a6c76ac35056d71ddfa15221438dd11848113385d7 ssh-agent [2023-02-16T00:30:34.781Z] SSH_AUTH_SOCK=/tmp/ssh-vUV84PA68j96/agent.22 [2023-02-16T00:30:34.781Z] SSH_AGENT_PID=28 [2023-02-16T00:30:34.788Z] Running ssh-add (command line suppressed) [2023-02-16T00:30:34.898Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp/private_key_7517724009094399114.key (/w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp/private_key_7517724009094399114.key) [2023-02-16T00:30:34.900Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T00:30:35.225Z] + git tag --points-at HEAD [Pipeline] } [2023-02-16T00:30:35.265Z] $ docker exec --env ******** --env ******** 7334d948672542c498b6b0a6c76ac35056d71ddfa15221438dd11848113385d7 ssh-agent -k [2023-02-16T00:30:35.432Z] unset SSH_AUTH_SOCK; [2023-02-16T00:30:35.432Z] unset SSH_AGENT_PID; [2023-02-16T00:30:35.432Z] echo Agent pid 28 killed; [2023-02-16T00:30:35.428Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-16T00:30:35.518Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T00:30:35.518Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T00:30:35.635Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T00:30:35.650Z] $ docker exec 7334d948672542c498b6b0a6c76ac35056d71ddfa15221438dd11848113385d7 ssh-agent [2023-02-16T00:30:35.745Z] SSH_AUTH_SOCK=/tmp/ssh-Q3NFqB2hLaFq/agent.71 [2023-02-16T00:30:35.745Z] SSH_AGENT_PID=77 [2023-02-16T00:30:35.749Z] Running ssh-add (command line suppressed) [2023-02-16T00:30:35.856Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp/private_key_17355373357920350994.key (/w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp/private_key_17355373357920350994.key) [2023-02-16T00:30:35.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T00:30:36.181Z] + git semver init [2023-02-16T00:30:36.749Z] 2023-02-16 00:30:36,644 [run_init] DEBUG init version:0.0.0 force:False [2023-02-16T00:30:36.749Z] 2023-02-16 00:30:36,646 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1327/.semver [2023-02-16T00:30:36.749Z] 2023-02-16 00:30:36,647 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1327/.semver [2023-02-16T00:30:36.749Z] 2023-02-16 00:30:36,647 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1327/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1327, universal_newlines=False, shell=None, istream=None) [2023-02-16T00:30:38.655Z] 2023-02-16 00:30:38,264 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1327/.git/info/exclude [2023-02-16T00:30:38.655Z] 2023-02-16 00:30:38,264 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1327/.semver/PR-1327 with force:False [2023-02-16T00:30:38.655Z] 2023-02-16 00:30:38,264 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1327/.semver/PR-1327 [2023-02-16T00:30:38.655Z] 2023-02-16 00:30:38,267 [execute] INFO git cat-file --batch-check [2023-02-16T00:30:38.655Z] 2023-02-16 00:30:38,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1327/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T00:30:38.655Z] 2023-02-16 00:30:38,272 [execute] INFO git cat-file --batch [2023-02-16T00:30:38.655Z] 2023-02-16 00:30:38,273 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1327/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T00:30:38.655Z] 2023-02-16 00:30:38,280 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1327/.semver/PR-1327 [2023-02-16T00:30:38.655Z] 0.0.0 [Pipeline] } [2023-02-16T00:30:38.693Z] $ docker exec --env ******** --env ******** 7334d948672542c498b6b0a6c76ac35056d71ddfa15221438dd11848113385d7 ssh-agent -k [2023-02-16T00:30:38.797Z] unset SSH_AUTH_SOCK; [2023-02-16T00:30:38.797Z] unset SSH_AGENT_PID; [2023-02-16T00:30:38.797Z] echo Agent pid 77 killed; [2023-02-16T00:30:38.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T00:30:39.228Z] + git semver [Pipeline] } [2023-02-16T00:30:39.832Z] $ docker stop --time=1 7334d948672542c498b6b0a6c76ac35056d71ddfa15221438dd11848113385d7 [2023-02-16T00:30:41.790Z] $ docker rm -f --volumes 7334d948672542c498b6b0a6c76ac35056d71ddfa15221438dd11848113385d7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T00:30:42.265Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-16T00:30:42.582Z] Stashed 1 file(s) [Pipeline] echo [2023-02-16T00:30:42.601Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T00:30:43.159Z] provisioning config files... [2023-02-16T00:30:43.166Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp/config8500090722823836906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:30:43.512Z] ---> docker-login.sh [2023-02-16T00:30:43.513Z] nexus3.edgexfoundry.org:10001 [2023-02-16T00:30:43.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:30:43.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:30:43.513Z] Configure a credential helper to remove this warning. See [2023-02-16T00:30:43.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:30:43.513Z] [2023-02-16T00:30:43.513Z] Login Succeeded [2023-02-16T00:30:43.513Z] nexus3.edgexfoundry.org:10002 [2023-02-16T00:30:43.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:30:43.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:30:43.771Z] Configure a credential helper to remove this warning. See [2023-02-16T00:30:43.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:30:43.771Z] [2023-02-16T00:30:43.771Z] Login Succeeded [2023-02-16T00:30:43.771Z] nexus3.edgexfoundry.org:10003 [2023-02-16T00:30:43.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:30:43.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:30:43.771Z] Configure a credential helper to remove this warning. See [2023-02-16T00:30:43.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:30:43.771Z] [2023-02-16T00:30:43.771Z] Login Succeeded [2023-02-16T00:30:43.771Z] nexus3.edgexfoundry.org:10004 [2023-02-16T00:30:44.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:30:44.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:30:44.030Z] Configure a credential helper to remove this warning. See [2023-02-16T00:30:44.030Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:30:44.030Z] [2023-02-16T00:30:44.030Z] Login Succeeded [2023-02-16T00:30:44.030Z] docker.io [2023-02-16T00:30:44.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:30:44.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:30:44.289Z] Configure a credential helper to remove this warning. See [2023-02-16T00:30:44.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:30:44.289Z] [2023-02-16T00:30:44.289Z] Login Succeeded [2023-02-16T00:30:44.289Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T00:30:44.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T00:30:44.515Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T00:30:44.551Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T00:30:44.582Z] ========================================================= [2023-02-16T00:30:44.583Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-16T00:30:44.583Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:30:45.034Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-16T00:30:45.034Z] Sending build context to Docker daemon 10.49MB [2023-02-16T00:30:45.034Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T00:30:45.034Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-16T00:30:45.603Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-16T00:30:45.603Z] 213ec9aee27d: Pulling fs layer [2023-02-16T00:30:45.603Z] 4583459ba037: Pulling fs layer [2023-02-16T00:30:45.603Z] 93c1e223e6f2: Pulling fs layer [2023-02-16T00:30:45.603Z] 53926ce57604: Pulling fs layer [2023-02-16T00:30:45.603Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-16T00:30:45.603Z] 22ff95d597cd: Pulling fs layer [2023-02-16T00:30:45.603Z] 12d6caf4c0d1: Pulling fs layer [2023-02-16T00:30:45.603Z] 96b7cbca73a9: Pulling fs layer [2023-02-16T00:30:45.603Z] a7acece74701: Pulling fs layer [2023-02-16T00:30:45.603Z] 53926ce57604: Waiting [2023-02-16T00:30:45.603Z] 21b2b0c7a3f4: Waiting [2023-02-16T00:30:45.603Z] 22ff95d597cd: Waiting [2023-02-16T00:30:45.603Z] 96b7cbca73a9: Waiting [2023-02-16T00:30:45.603Z] 12d6caf4c0d1: Waiting [2023-02-16T00:30:45.603Z] a7acece74701: Waiting [2023-02-16T00:30:45.603Z] 93c1e223e6f2: Verifying Checksum [2023-02-16T00:30:45.603Z] 93c1e223e6f2: Download complete [2023-02-16T00:30:45.603Z] 4583459ba037: Verifying Checksum [2023-02-16T00:30:45.603Z] 4583459ba037: Download complete [2023-02-16T00:30:45.603Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-16T00:30:45.603Z] 21b2b0c7a3f4: Download complete [2023-02-16T00:30:45.603Z] 22ff95d597cd: Download complete [2023-02-16T00:30:45.603Z] 213ec9aee27d: Verifying Checksum [2023-02-16T00:30:45.603Z] 213ec9aee27d: Download complete [2023-02-16T00:30:45.869Z] 12d6caf4c0d1: Download complete [2023-02-16T00:30:46.463Z] 213ec9aee27d: Pull complete [2023-02-16T00:30:46.768Z] 4583459ba037: Pull complete [2023-02-16T00:30:47.082Z] 93c1e223e6f2: Pull complete [2023-02-16T00:30:47.716Z] 53926ce57604: Verifying Checksum [2023-02-16T00:30:47.716Z] 53926ce57604: Download complete [2023-02-16T00:30:47.716Z] a7acece74701: Verifying Checksum [2023-02-16T00:30:47.716Z] a7acece74701: Download complete [2023-02-16T00:30:47.716Z] 96b7cbca73a9: Verifying Checksum [2023-02-16T00:30:47.716Z] 96b7cbca73a9: Download complete [2023-02-16T00:30:51.892Z] 53926ce57604: Pull complete [2023-02-16T00:30:51.892Z] 21b2b0c7a3f4: Pull complete [2023-02-16T00:30:51.892Z] 22ff95d597cd: Pull complete [2023-02-16T00:30:51.892Z] 12d6caf4c0d1: Pull complete [2023-02-16T00:30:53.788Z] 96b7cbca73a9: Pull complete [2023-02-16T00:30:55.185Z] a7acece74701: Pull complete [2023-02-16T00:30:55.444Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-16T00:30:55.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-16T00:30:55.444Z] ---> db6d94c90886 [2023-02-16T00:30:55.444Z] Step 3/10 : ARG MAKE=make build [2023-02-16T00:30:57.983Z] Still waiting to schedule task [2023-02-16T00:30:57.983Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-16T00:31:07.665Z] ---> Running in 5da8909d51be [2023-02-16T00:31:07.665Z] Removing intermediate container 5da8909d51be [2023-02-16T00:31:07.665Z] ---> fe50874e5be0 [2023-02-16T00:31:07.665Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-16T00:31:07.665Z] ---> Running in 1ea1ff8f37bf [2023-02-16T00:31:07.665Z] Removing intermediate container 1ea1ff8f37bf [2023-02-16T00:31:07.665Z] ---> bb2b961afd10 [2023-02-16T00:31:07.665Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T00:31:07.665Z] ---> Running in 38a506f73e39 [2023-02-16T00:31:07.665Z] Removing intermediate container 38a506f73e39 [2023-02-16T00:31:07.665Z] ---> 0df25fafe7e4 [2023-02-16T00:31:07.665Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-16T00:31:07.922Z] ---> Running in 097af6517549 [2023-02-16T00:31:08.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T00:31:08.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T00:31:09.004Z] OK: 211 MiB in 51 packages [2023-02-16T00:31:09.935Z] Removing intermediate container 097af6517549 [2023-02-16T00:31:09.935Z] ---> 37c806ff13ad [2023-02-16T00:31:09.935Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-16T00:31:09.935Z] ---> d245fd3142e2 [2023-02-16T00:31:09.935Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T00:31:10.198Z] ---> Running in 7399c55ddb39 [2023-02-16T00:32:18.068Z] Removing intermediate container 7399c55ddb39 [2023-02-16T00:32:18.068Z] ---> 1650b75df3ba [2023-02-16T00:32:18.068Z] Step 9/10 : COPY . . [2023-02-16T00:32:18.068Z] ---> f9fae6419f0b [2023-02-16T00:32:18.068Z] Step 10/10 : RUN ${MAKE} [2023-02-16T00:32:18.069Z] ---> Running in dece3b77897b [2023-02-16T00:32:18.069Z] noop [2023-02-16T00:32:18.069Z] Removing intermediate container dece3b77897b [2023-02-16T00:32:18.069Z] ---> a5430b033f6b [2023-02-16T00:32:18.069Z] Successfully built a5430b033f6b [2023-02-16T00:32:18.069Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:32:18.531Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T00:32:18.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T00:32:18.684Z] prd-ubuntu20.04-docker-8c-8g-6222 does not seem to be running inside a container [2023-02-16T00:32:18.732Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1327 -v /w/workspace/gexfoundry_device-sdk-go_PR-1327:/w/workspace/gexfoundry_device-sdk-go_PR-1327:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-16T00:32:20.187Z] $ docker top 292a82fe96d43e19d43738924cdbbcfff84fc00f94e2a9411e2741957ea688ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T00:32:20.555Z] + go version [2023-02-16T00:32:20.555Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-16T00:32:20.601Z] $ docker stop --time=1 292a82fe96d43e19d43738924cdbbcfff84fc00f94e2a9411e2741957ea688ec [2023-02-16T00:32:22.791Z] $ docker rm -f --volumes 292a82fe96d43e19d43738924cdbbcfff84fc00f94e2a9411e2741957ea688ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:32:23.861Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T00:32:23.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T00:32:24.188Z] prd-ubuntu20.04-docker-8c-8g-6222 does not seem to be running inside a container [2023-02-16T00:32:24.239Z] $ 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-1327 -v /w/workspace/gexfoundry_device-sdk-go_PR-1327:/w/workspace/gexfoundry_device-sdk-go_PR-1327:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-16T00:32:24.988Z] $ docker top 61bef4bef48973f292875ebe690de23747d7b0b83bea671a7a2748cb81848e48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T00:32:25.374Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1327 [Pipeline] fileExists [Pipeline] sh [2023-02-16T00:32:25.731Z] + make test [2023-02-16T00:32:25.731Z] go test -race -coverprofile=coverage.out ./... [2023-02-16T00:32:32.290Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-16T00:32:44.488Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-02-16T00:32:44.488Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 78.9% of statements [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-16T00:32:44.488Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.113s coverage: 77.8% of statements [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-16T00:32:44.488Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 77.0% of statements [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-16T00:32:44.488Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.084s coverage: 65.2% of statements [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-16T00:32:44.488Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.741s coverage: 89.2% of statements [2023-02-16T00:32:44.488Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-16T00:32:44.746Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.7% of statements [2023-02-16T00:32:44.746Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-16T00:32:59.770Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-16T00:32:59.770Z] GO111MODULE=on go vet ./... [2023-02-16T00:33:01.664Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T00:33:01.664Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T00:33:01.664Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-16T00:33:01.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T00:33:01.743Z] $ docker stop --time=1 61bef4bef48973f292875ebe690de23747d7b0b83bea671a7a2748cb81848e48 [2023-02-16T00:33:05.570Z] $ docker rm -f --volumes 61bef4bef48973f292875ebe690de23747d7b0b83bea671a7a2748cb81848e48 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T00:33:06.102Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T00:33:06.178Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-16T00:33:06.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T00:33:07.263Z] + ls -al . [2023-02-16T00:33:07.263Z] total 272 [2023-02-16T00:33:07.263Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 16 00:32 . [2023-02-16T00:33:07.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 00:29 .. [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 00:30 .dockerignore [2023-02-16T00:33:07.263Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 00:32 .git [2023-02-16T00:33:07.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 00:30 .github [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 16 00:30 .gitignore [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 00:30 .golangci.yml [2023-02-16T00:33:07.263Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 00:30 .semver [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 16 00:30 CHANGELOG.md [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 00:30 GOVERNANCE.md [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 16 00:30 Jenkinsfile [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 16 00:30 LICENSE [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 16 00:30 Makefile [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 16 00:30 OWNERS.md [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 16 00:30 README.md [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 00:30 VERSION [2023-02-16T00:33:07.263Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 00:30 bin [2023-02-16T00:33:07.263Z] -rw-r--r-- 1 jenkins jenkins 98701 Feb 16 00:32 coverage.out [2023-02-16T00:33:07.263Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 16 00:30 example [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 16 00:30 go.mod [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 16 00:30 go.sum [2023-02-16T00:33:07.263Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 16 00:30 internal [2023-02-16T00:33:07.263Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 00:30 openapi [2023-02-16T00:33:07.263Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 16 00:30 pkg [2023-02-16T00:33:07.263Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 00:30 snap [2023-02-16T00:33:07.263Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 16 00:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:33:07.664Z] + 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=7c0f25f33206b2882856973f223d92f556bbce2b --label arch=amd64 --label version=0.0.0 . [2023-02-16T00:33:07.665Z] Sending build context to Docker daemon 10.59MB [2023-02-16T00:33:07.665Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T00:33:07.665Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-16T00:33:07.665Z] ---> a5430b033f6b [2023-02-16T00:33:07.665Z] Step 3/23 : ARG MAKE=make build [2023-02-16T00:33:07.924Z] ---> Running in 64a013a80f18 [2023-02-16T00:33:07.924Z] Removing intermediate container 64a013a80f18 [2023-02-16T00:33:07.924Z] ---> ec839d0a774d [2023-02-16T00:33:07.924Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-16T00:33:07.924Z] ---> Running in 4d9658c1f833 [2023-02-16T00:33:07.924Z] Removing intermediate container 4d9658c1f833 [2023-02-16T00:33:07.924Z] ---> 4fca8964ddd9 [2023-02-16T00:33:07.924Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T00:33:07.924Z] ---> Running in fb9e91f1bec4 [2023-02-16T00:33:08.183Z] Removing intermediate container fb9e91f1bec4 [2023-02-16T00:33:08.183Z] ---> 8b814107271b [2023-02-16T00:33:08.183Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-16T00:33:08.183Z] ---> Running in c3a2c928a6ae [2023-02-16T00:33:08.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T00:33:08.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T00:33:08.700Z] OK: 211 MiB in 51 packages [2023-02-16T00:33:09.267Z] Removing intermediate container c3a2c928a6ae [2023-02-16T00:33:09.267Z] ---> 75ee984a1031 [2023-02-16T00:33:09.267Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-16T00:33:09.267Z] ---> 41b8558ef19a [2023-02-16T00:33:09.267Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T00:33:09.267Z] ---> Running in cdcc9e72a8ab [2023-02-16T00:33:10.201Z] Removing intermediate container cdcc9e72a8ab [2023-02-16T00:33:10.201Z] ---> 428045ee6d3d [2023-02-16T00:33:10.201Z] Step 9/23 : COPY . . [2023-02-16T00:33:10.781Z] ---> cc6b1bc47988 [2023-02-16T00:33:10.781Z] Step 10/23 : RUN ${MAKE} [2023-02-16T00:33:10.781Z] ---> Running in 068fbc5bb761 [2023-02-16T00:33:11.038Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-16T00:33:33.269Z] Removing intermediate container 068fbc5bb761 [2023-02-16T00:33:33.269Z] ---> 9d2e973f4a92 [2023-02-16T00:33:33.269Z] Step 11/23 : FROM alpine:3.16 [2023-02-16T00:33:33.269Z] 3.16: Pulling from library/alpine [2023-02-16T00:33:33.269Z] ef5531b6e74e: Pulling fs layer [2023-02-16T00:33:33.269Z] ef5531b6e74e: Download complete [2023-02-16T00:33:33.269Z] ef5531b6e74e: Pull complete [2023-02-16T00:33:33.269Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T00:33:33.269Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T00:33:33.269Z] ---> dfd21b5a31f5 [2023-02-16T00:33:33.269Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-16T00:33:33.269Z] ---> Running in 27e5bc63d4a2 [2023-02-16T00:33:33.269Z] Removing intermediate container 27e5bc63d4a2 [2023-02-16T00:33:33.269Z] ---> a2ad38d7ce0e [2023-02-16T00:33:33.269Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-16T00:33:33.269Z] ---> Running in 68ac5fb0603e [2023-02-16T00:33:33.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T00:33:33.269Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T00:33:33.269Z] OK: 6 MiB in 14 packages [2023-02-16T00:33:33.269Z] Removing intermediate container 68ac5fb0603e [2023-02-16T00:33:33.269Z] ---> 52fce9939864 [2023-02-16T00:33:33.269Z] Step 14/23 : WORKDIR / [2023-02-16T00:33:33.269Z] ---> Running in 1c0690671023 [2023-02-16T00:33:33.269Z] Removing intermediate container 1c0690671023 [2023-02-16T00:33:33.269Z] ---> 7f5cf18e0726 [2023-02-16T00:33:33.269Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-16T00:33:33.269Z] ---> b0584382d122 [2023-02-16T00:33:33.269Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-16T00:33:33.529Z] ---> 4c100261768f [2023-02-16T00:33:33.529Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-16T00:33:33.789Z] ---> 0d8e62b3ccf0 [2023-02-16T00:33:33.789Z] Step 18/23 : EXPOSE 59999 [2023-02-16T00:33:33.789Z] ---> Running in 63088954834b [2023-02-16T00:33:33.789Z] Removing intermediate container 63088954834b [2023-02-16T00:33:33.789Z] ---> 1797e9b8b202 [2023-02-16T00:33:33.789Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-16T00:33:33.789Z] ---> Running in 142100bd7a25 [2023-02-16T00:33:33.789Z] Removing intermediate container 142100bd7a25 [2023-02-16T00:33:33.789Z] ---> 0ee43a322eed [2023-02-16T00:33:33.789Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-16T00:33:34.051Z] ---> Running in 6dde638b3cbd [2023-02-16T00:33:34.051Z] Removing intermediate container 6dde638b3cbd [2023-02-16T00:33:34.051Z] ---> 8def5a0d5f74 [2023-02-16T00:33:34.051Z] Step 21/23 : LABEL arch=amd64 [2023-02-16T00:33:34.051Z] ---> Running in a86d1bfe59ec [2023-02-16T00:33:34.051Z] Removing intermediate container a86d1bfe59ec [2023-02-16T00:33:34.051Z] ---> 39f804ab4fe5 [2023-02-16T00:33:34.051Z] Step 22/23 : LABEL git_sha=7c0f25f33206b2882856973f223d92f556bbce2b [2023-02-16T00:33:34.051Z] ---> Running in 5bf0fcdd9c37 [2023-02-16T00:33:34.311Z] Removing intermediate container 5bf0fcdd9c37 [2023-02-16T00:33:34.311Z] ---> d7ae9e105dfa [2023-02-16T00:33:34.311Z] Step 23/23 : LABEL version=0.0.0 [2023-02-16T00:33:34.311Z] ---> Running in d412dc12a96d [2023-02-16T00:33:34.311Z] Removing intermediate container d412dc12a96d [2023-02-16T00:33:34.311Z] ---> b560fb35755b [2023-02-16T00:33:34.311Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T00:33:34.311Z] Successfully built b560fb35755b [2023-02-16T00:33:34.311Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:33:35.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T00:33:35.148Z] [2023-02-16T00:33:35.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:33:35.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T00:33:35.524Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-16T00:33:35.524Z] 5eb5b503b376: Pulling fs layer [2023-02-16T00:33:35.524Z] 5c69ac0246d0: Pulling fs layer [2023-02-16T00:33:35.524Z] ec43610c2a17: Pulling fs layer [2023-02-16T00:33:35.524Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-16T00:33:35.524Z] 33b1e0a273af: Pulling fs layer [2023-02-16T00:33:35.524Z] 5d3b04190fa2: Pulling fs layer [2023-02-16T00:33:35.524Z] 2f39f015ded8: Pulling fs layer [2023-02-16T00:33:35.524Z] 3a2ae6a8a46f: Waiting [2023-02-16T00:33:35.524Z] 33b1e0a273af: Waiting [2023-02-16T00:33:35.524Z] 5d3b04190fa2: Waiting [2023-02-16T00:33:35.524Z] 2f39f015ded8: Waiting [2023-02-16T00:33:35.524Z] 5c69ac0246d0: Verifying Checksum [2023-02-16T00:33:35.524Z] 5c69ac0246d0: Download complete [2023-02-16T00:33:35.524Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-16T00:33:35.524Z] 3a2ae6a8a46f: Download complete [2023-02-16T00:33:35.789Z] 33b1e0a273af: Verifying Checksum [2023-02-16T00:33:35.789Z] 33b1e0a273af: Download complete [2023-02-16T00:33:35.789Z] 5d3b04190fa2: Verifying Checksum [2023-02-16T00:33:35.789Z] 5d3b04190fa2: Download complete [2023-02-16T00:33:35.789Z] ec43610c2a17: Verifying Checksum [2023-02-16T00:33:35.789Z] ec43610c2a17: Download complete [2023-02-16T00:33:36.048Z] 5eb5b503b376: Verifying Checksum [2023-02-16T00:33:36.048Z] 5eb5b503b376: Download complete [2023-02-16T00:33:36.612Z] 2f39f015ded8: Download complete [2023-02-16T00:33:37.178Z] 5eb5b503b376: Pull complete [2023-02-16T00:33:37.178Z] 5c69ac0246d0: Pull complete [2023-02-16T00:33:37.743Z] ec43610c2a17: Pull complete [2023-02-16T00:33:37.743Z] 3a2ae6a8a46f: Pull complete [2023-02-16T00:33:38.001Z] 33b1e0a273af: Pull complete [2023-02-16T00:33:38.001Z] 5d3b04190fa2: Pull complete [2023-02-16T00:33:42.182Z] 2f39f015ded8: Pull complete [2023-02-16T00:33:42.182Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-16T00:33:42.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T00:33:42.182Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T00:33:42.397Z] prd-ubuntu20.04-docker-8c-8g-6222 does not seem to be running inside a container [2023-02-16T00:33:42.445Z] $ 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-1327 -v /w/workspace/gexfoundry_device-sdk-go_PR-1327:/w/workspace/gexfoundry_device-sdk-go_PR-1327:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-16T00:33:46.481Z] $ docker top 4a9876767ed420d93539e02a02c9daba0afb99009e709b1bb95942eb8a2b7bc3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:33:46.898Z] ---> job-cost.sh [2023-02-16T00:33:46.898Z] lf-activate-venv: SKIPPING [2023-02-16T00:33:46.898Z] INFO: No Stack... [2023-02-16T00:33:47.156Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T00:33:47.414Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T00:33:47.728Z] + cut -d, -f6 [2023-02-16T00:33:47.728Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1327/archives/cost.csv [Pipeline] lock [2023-02-16T00:33:47.771Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1327-1-stack-cost] [2023-02-16T00:33:47.775Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1327-1-stack-cost] did not exist. Created. [2023-02-16T00:33:47.776Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1327-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T00:33:48.163Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-16T00:33:48.211Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T00:33:48.239Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1327-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T00:33:48.362Z] $ docker stop --time=1 4a9876767ed420d93539e02a02c9daba0afb99009e709b1bb95942eb8a2b7bc3 [2023-02-16T00:33:49.537Z] $ docker rm -f --volumes 4a9876767ed420d93539e02a02c9daba0afb99009e709b1bb95942eb8a2b7bc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-16T00:34:29.622Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6224 in /w/workspace/gexfoundry_device-sdk-go_PR-1327 [Pipeline] { [Pipeline] ws [2023-02-16T00:34:29.676Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-16T00:34:29.751Z] The recommended git tool is: git [2023-02-16T00:34:34.921Z] using credential edgex-jenkins-ssh [2023-02-16T00:34:34.936Z] Cloning the remote Git repository [2023-02-16T00:34:34.989Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-16T00:34:35.065Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-16T00:34:35.234Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-16T00:34:35.235Z] > git --version # timeout=10 [2023-02-16T00:34:35.264Z] > git --version # 'git version 2.25.1' [2023-02-16T00:34:35.266Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T00:34:35.330Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T00:34:36.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-16T00:34:36.959Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T00:34:38.551Z] Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 7c0f25f33206b2882856973f223d92f556bbce2b [2023-02-16T00:34:37.815Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-16T00:34:37.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-16T00:34:37.867Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T00:34:37.883Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1327/head:refs/remotes/origin/PR-1327 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-16T00:34:38.579Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T00:34:38.609Z] > git checkout -f 7c0f25f33206b2882856973f223d92f556bbce2b # timeout=10 [2023-02-16T00:34:38.791Z] Merge succeeded, producing 7c0f25f33206b2882856973f223d92f556bbce2b [2023-02-16T00:34:38.792Z] Checking out Revision 7c0f25f33206b2882856973f223d92f556bbce2b (PR-1327) [2023-02-16T00:34:38.714Z] > git remote # timeout=10 [2023-02-16T00:34:38.732Z] > git config --get remote.origin.url # timeout=10 [2023-02-16T00:34:38.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T00:34:38.756Z] > git merge cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 [2023-02-16T00:34:38.780Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-16T00:34:38.807Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T00:34:38.820Z] > git checkout -f 7c0f25f33206b2882856973f223d92f556bbce2b # timeout=10 [2023-02-16T00:34:42.287Z] Commit message: "fix: Add missing 'device' to event publish topic" [2023-02-16T00:34:42.347Z] > git --version # timeout=10 [2023-02-16T00:34:42.366Z] > git --version # 'git version 2.25.1' [2023-02-16T00:34:42.378Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T00:34:43.416Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-16T00:34:43.416Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T00:34:43.416Z] Dload Upload Total Spent Left Speed [2023-02-16T00:34:43.416Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh [2023-02-16T00:34:44.149Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-16T00:34:44.506Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-16T00:34:44.506Z] + sudo tee /etc/docker/daemon.new [2023-02-16T00:34:44.506Z] { [2023-02-16T00:34:44.506Z] "registry-mirrors": [ [2023-02-16T00:34:44.506Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-16T00:34:44.506Z] ], [2023-02-16T00:34:44.506Z] "bip": "10.250.0.254/24", [2023-02-16T00:34:44.506Z] "hosts": [ [2023-02-16T00:34:44.506Z] "tcp://0.0.0.0:5555", [2023-02-16T00:34:44.506Z] "unix:///var/run/docker.sock" [2023-02-16T00:34:44.506Z] ], [2023-02-16T00:34:44.506Z] "mtu": 1458, [2023-02-16T00:34:44.506Z] "selinux-enabled": true, [2023-02-16T00:34:44.506Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-16T00:34:44.506Z] } [Pipeline] sh [2023-02-16T00:34:44.850Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-16T00:34:45.190Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T00:35:03.572Z] provisioning config files... [2023-02-16T00:35:03.601Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9420630845212453921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:35:03.988Z] ---> docker-login.sh [2023-02-16T00:35:03.988Z] nexus3.edgexfoundry.org:10001 [2023-02-16T00:35:04.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:35:04.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:35:04.527Z] Configure a credential helper to remove this warning. See [2023-02-16T00:35:04.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:35:04.527Z] [2023-02-16T00:35:04.527Z] Login Succeeded [2023-02-16T00:35:04.527Z] nexus3.edgexfoundry.org:10002 [2023-02-16T00:35:04.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:35:05.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:35:05.067Z] Configure a credential helper to remove this warning. See [2023-02-16T00:35:05.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:35:05.067Z] [2023-02-16T00:35:05.067Z] Login Succeeded [2023-02-16T00:35:05.067Z] nexus3.edgexfoundry.org:10003 [2023-02-16T00:35:05.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:35:05.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:35:05.338Z] Configure a credential helper to remove this warning. See [2023-02-16T00:35:05.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:35:05.338Z] [2023-02-16T00:35:05.338Z] Login Succeeded [2023-02-16T00:35:05.338Z] nexus3.edgexfoundry.org:10004 [2023-02-16T00:35:05.608Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:35:05.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:35:05.608Z] Configure a credential helper to remove this warning. See [2023-02-16T00:35:05.608Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:35:05.608Z] [2023-02-16T00:35:05.608Z] Login Succeeded [2023-02-16T00:35:05.608Z] docker.io [2023-02-16T00:35:05.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T00:35:06.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T00:35:06.150Z] Configure a credential helper to remove this warning. See [2023-02-16T00:35:06.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T00:35:06.150Z] [2023-02-16T00:35:06.150Z] Login Succeeded [2023-02-16T00:35:06.150Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T00:35:06.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T00:35:06.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T00:35:06.615Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T00:35:06.648Z] ========================================================= [2023-02-16T00:35:06.648Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-16T00:35:06.648Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:35:07.147Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-16T00:35:07.417Z] Sending build context to Docker daemon 5.635MB [2023-02-16T00:35:07.417Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T00:35:07.417Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-16T00:35:07.690Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-16T00:35:07.690Z] 9b18e9b68314: Pulling fs layer [2023-02-16T00:35:07.690Z] 35d82f9e3411: Pulling fs layer [2023-02-16T00:35:07.690Z] e16973657156: Pulling fs layer [2023-02-16T00:35:07.690Z] fc693d55d65f: Pulling fs layer [2023-02-16T00:35:07.690Z] 7e9fc2657dce: Pulling fs layer [2023-02-16T00:35:07.690Z] dda99020689f: Pulling fs layer [2023-02-16T00:35:07.690Z] db1c61fa0a46: Pulling fs layer [2023-02-16T00:35:07.690Z] 891c053d2c06: Pulling fs layer [2023-02-16T00:35:07.690Z] fc693d55d65f: Waiting [2023-02-16T00:35:07.690Z] 7e9fc2657dce: Waiting [2023-02-16T00:35:07.690Z] dda99020689f: Waiting [2023-02-16T00:35:07.690Z] db1c61fa0a46: Waiting [2023-02-16T00:35:07.690Z] 891c053d2c06: Waiting [2023-02-16T00:35:07.690Z] e16973657156: Verifying Checksum [2023-02-16T00:35:07.690Z] e16973657156: Download complete [2023-02-16T00:35:07.690Z] 35d82f9e3411: Download complete [2023-02-16T00:35:07.690Z] 7e9fc2657dce: Verifying Checksum [2023-02-16T00:35:07.690Z] 7e9fc2657dce: Download complete [2023-02-16T00:35:07.690Z] dda99020689f: Verifying Checksum [2023-02-16T00:35:07.690Z] dda99020689f: Download complete [2023-02-16T00:35:07.974Z] 9b18e9b68314: Download complete [2023-02-16T00:35:08.978Z] 9b18e9b68314: Pull complete [2023-02-16T00:35:08.978Z] 891c053d2c06: Verifying Checksum [2023-02-16T00:35:08.978Z] 891c053d2c06: Download complete [2023-02-16T00:35:09.258Z] 35d82f9e3411: Pull complete [2023-02-16T00:35:09.860Z] e16973657156: Pull complete [2023-02-16T00:35:10.128Z] db1c61fa0a46: Verifying Checksum [2023-02-16T00:35:10.128Z] db1c61fa0a46: Download complete [2023-02-16T00:35:10.718Z] fc693d55d65f: Verifying Checksum [2023-02-16T00:35:10.718Z] fc693d55d65f: Download complete [2023-02-16T00:35:23.067Z] fc693d55d65f: Pull complete [2023-02-16T00:35:23.067Z] 7e9fc2657dce: Pull complete [2023-02-16T00:35:23.067Z] dda99020689f: Pull complete [2023-02-16T00:35:29.724Z] db1c61fa0a46: Pull complete [2023-02-16T00:35:32.305Z] 891c053d2c06: Pull complete [2023-02-16T00:35:32.305Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-16T00:35:32.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-16T00:35:32.305Z] ---> f96f9c87975a [2023-02-16T00:35:32.305Z] Step 3/10 : ARG MAKE=make build [2023-02-16T00:35:34.249Z] ---> Running in 25a37578f22c [2023-02-16T00:35:34.249Z] Removing intermediate container 25a37578f22c [2023-02-16T00:35:34.249Z] ---> 03e69bec2616 [2023-02-16T00:35:34.249Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-16T00:35:34.249Z] ---> Running in 81c080b4db78 [2023-02-16T00:35:34.522Z] Removing intermediate container 81c080b4db78 [2023-02-16T00:35:34.522Z] ---> cdd644abd8bf [2023-02-16T00:35:34.522Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T00:35:34.790Z] ---> Running in 474e2b301de5 [2023-02-16T00:35:35.057Z] Removing intermediate container 474e2b301de5 [2023-02-16T00:35:35.057Z] ---> 6416a4bf787b [2023-02-16T00:35:35.057Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-16T00:35:35.057Z] ---> Running in e0daac2d7885 [2023-02-16T00:35:36.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T00:35:36.469Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T00:35:37.430Z] OK: 221 MiB in 51 packages [2023-02-16T00:35:38.388Z] Removing intermediate container e0daac2d7885 [2023-02-16T00:35:38.388Z] ---> 3cf976185225 [2023-02-16T00:35:38.388Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-16T00:35:38.971Z] ---> fa60c58a8052 [2023-02-16T00:35:38.971Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T00:35:38.971Z] ---> Running in f8798766ea1b [2023-02-16T00:37:00.637Z] Removing intermediate container f8798766ea1b [2023-02-16T00:37:00.637Z] ---> 0bb4a070ec10 [2023-02-16T00:37:00.637Z] Step 9/10 : COPY . . [2023-02-16T00:37:00.637Z] ---> 44a1b42003a0 [2023-02-16T00:37:00.637Z] Step 10/10 : RUN ${MAKE} [2023-02-16T00:37:00.637Z] ---> Running in cac984648f5f [2023-02-16T00:37:00.637Z] noop [2023-02-16T00:37:00.637Z] Removing intermediate container cac984648f5f [2023-02-16T00:37:00.637Z] ---> a3c10bc384e4 [2023-02-16T00:37:00.637Z] Successfully built a3c10bc384e4 [2023-02-16T00:37:00.637Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:37:01.117Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T00:37:01.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T00:37:01.370Z] prd-ubuntu20.04-docker-arm64-4c-16g-6224 does not seem to be running inside a container [2023-02-16T00:37:01.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-16T00:37:02.649Z] $ docker top 3820a9eea94fa84285be2b20abb20bcd3a437b49e829a4747643d7d152c3f738 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T00:37:03.510Z] + go version [2023-02-16T00:37:03.510Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-16T00:37:03.555Z] $ docker stop --time=1 3820a9eea94fa84285be2b20abb20bcd3a437b49e829a4747643d7d152c3f738 [2023-02-16T00:37:05.131Z] $ docker rm -f --volumes 3820a9eea94fa84285be2b20abb20bcd3a437b49e829a4747643d7d152c3f738 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:37:05.928Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T00:37:05.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T00:37:06.174Z] prd-ubuntu20.04-docker-arm64-4c-16g-6224 does not seem to be running inside a container [2023-02-16T00:37:06.254Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-16T00:37:07.407Z] $ docker top ae31f44b58834a15a211330cebfed4344de503400b51a3e132e3793c20d19194 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T00:37:08.265Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-16T00:37:08.657Z] + make test [2023-02-16T00:37:08.657Z] go test -race -coverprofile=coverage.out ./... [2023-02-16T00:37:40.886Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-16T00:39:47.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-16T00:39:47.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-16T00:39:47.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-16T00:39:47.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-16T00:39:47.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-16T00:39:47.760Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.263s coverage: 27.6% of statements [2023-02-16T00:39:47.760Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.289s coverage: 78.9% of statements [2023-02-16T00:39:47.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-16T00:39:47.760Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.401s coverage: 77.8% of statements [2023-02-16T00:39:47.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-16T00:39:47.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-16T00:39:48.035Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.558s coverage: 77.0% of statements [2023-02-16T00:39:48.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-16T00:39:48.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-16T00:39:48.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-16T00:39:48.035Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.499s coverage: 65.2% of statements [2023-02-16T00:39:48.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-16T00:39:48.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-16T00:39:50.006Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.499s coverage: 89.2% of statements [2023-02-16T00:39:50.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-16T00:39:50.006Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.277s coverage: 4.7% of statements [2023-02-16T00:39:50.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-16T00:39:50.614Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-16T00:39:50.614Z] GO111MODULE=on go vet ./... [2023-02-16T00:41:27.305Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T00:41:27.305Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T00:41:27.305Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-16T00:41:27.342Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T00:41:27.384Z] $ docker stop --time=1 ae31f44b58834a15a211330cebfed4344de503400b51a3e132e3793c20d19194 [2023-02-16T00:41:29.204Z] $ docker rm -f --volumes ae31f44b58834a15a211330cebfed4344de503400b51a3e132e3793c20d19194 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T00:41:30.632Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T00:41:30.668Z] Warning: overwriting stash ‘coverage-report’ [2023-02-16T00:41:31.282Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T00:41:31.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T00:41:32.235Z] + ls -al . [2023-02-16T00:41:32.235Z] total 268 [2023-02-16T00:41:32.235Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 00:37 . [2023-02-16T00:41:32.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 00:34 .. [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 00:34 .dockerignore [2023-02-16T00:41:32.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 00:34 .git [2023-02-16T00:41:32.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 00:34 .github [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 16 00:34 .gitignore [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 00:34 .golangci.yml [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 16 00:34 CHANGELOG.md [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 00:34 GOVERNANCE.md [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 16 00:34 Jenkinsfile [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 16 00:34 LICENSE [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 16 00:34 Makefile [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 16 00:34 OWNERS.md [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 16 00:34 README.md [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 00:30 VERSION [2023-02-16T00:41:32.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 00:34 bin [2023-02-16T00:41:32.235Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 16 00:39 coverage.out [2023-02-16T00:41:32.235Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 16 00:34 example [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 16 00:34 go.mod [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 16 00:34 go.sum [2023-02-16T00:41:32.235Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 16 00:34 internal [2023-02-16T00:41:32.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 00:34 openapi [2023-02-16T00:41:32.235Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 16 00:34 pkg [2023-02-16T00:41:32.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 00:34 snap [2023-02-16T00:41:32.235Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 16 00:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:41:32.659Z] + 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=7c0f25f33206b2882856973f223d92f556bbce2b --label arch=arm64 --label version=0.0.0 . [2023-02-16T00:41:33.248Z] Sending build context to Docker daemon 5.734MB [2023-02-16T00:41:33.248Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T00:41:33.248Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-16T00:41:33.248Z] ---> a3c10bc384e4 [2023-02-16T00:41:33.248Z] Step 3/23 : ARG MAKE=make build [2023-02-16T00:41:33.248Z] ---> Running in 75b0386ac151 [2023-02-16T00:41:33.517Z] Removing intermediate container 75b0386ac151 [2023-02-16T00:41:33.517Z] ---> f6808222e32c [2023-02-16T00:41:33.517Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-16T00:41:33.786Z] ---> Running in e7308248cdeb [2023-02-16T00:41:34.053Z] Removing intermediate container e7308248cdeb [2023-02-16T00:41:34.053Z] ---> 170b9812bd1f [2023-02-16T00:41:34.053Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T00:41:34.053Z] ---> Running in 114bcee34c67 [2023-02-16T00:41:34.322Z] Removing intermediate container 114bcee34c67 [2023-02-16T00:41:34.322Z] ---> 8b0d29d2211a [2023-02-16T00:41:34.322Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-16T00:41:34.591Z] ---> Running in 27e2ec2a98cc [2023-02-16T00:41:35.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T00:41:35.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T00:41:36.784Z] OK: 221 MiB in 51 packages [2023-02-16T00:41:37.753Z] Removing intermediate container 27e2ec2a98cc [2023-02-16T00:41:37.753Z] ---> f667b56209d3 [2023-02-16T00:41:37.753Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-16T00:41:38.341Z] ---> 282586ab7eec [2023-02-16T00:41:38.341Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T00:41:38.341Z] ---> Running in d8be0fce20e1 [2023-02-16T00:41:42.605Z] Removing intermediate container d8be0fce20e1 [2023-02-16T00:41:42.605Z] ---> 1884aba8796f [2023-02-16T00:41:42.605Z] Step 9/23 : COPY . . [2023-02-16T00:41:43.189Z] ---> a5794dc01398 [2023-02-16T00:41:43.189Z] Step 10/23 : RUN ${MAKE} [2023-02-16T00:41:43.189Z] ---> Running in 5ac7e8043fc1 [2023-02-16T00:41:44.149Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-16T00:43:50.851Z] Removing intermediate container 5ac7e8043fc1 [2023-02-16T00:43:50.851Z] ---> 1fe71b8b7560 [2023-02-16T00:43:50.851Z] Step 11/23 : FROM alpine:3.16 [2023-02-16T00:43:51.120Z] 3.16: Pulling from library/alpine [2023-02-16T00:43:51.387Z] 3760b48202b3: Pulling fs layer [2023-02-16T00:43:51.653Z] 3760b48202b3: Download complete [2023-02-16T00:43:51.922Z] 3760b48202b3: Pull complete [2023-02-16T00:43:52.189Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T00:43:52.189Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T00:43:52.189Z] ---> 4c81e5bf8899 [2023-02-16T00:43:52.189Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-16T00:43:52.189Z] ---> Running in fe64c1f68f7b [2023-02-16T00:43:52.457Z] Removing intermediate container fe64c1f68f7b [2023-02-16T00:43:52.457Z] ---> be2dd2928744 [2023-02-16T00:43:52.457Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-16T00:43:52.457Z] ---> Running in c3bacffe0ff5 [2023-02-16T00:43:53.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T00:43:53.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T00:43:55.092Z] OK: 5 MiB in 14 packages [2023-02-16T00:43:55.674Z] Removing intermediate container c3bacffe0ff5 [2023-02-16T00:43:55.674Z] ---> 008a7ce07f65 [2023-02-16T00:43:55.674Z] Step 14/23 : WORKDIR / [2023-02-16T00:43:55.674Z] ---> Running in cc6b22f47947 [2023-02-16T00:43:56.262Z] Removing intermediate container cc6b22f47947 [2023-02-16T00:43:56.262Z] ---> c9ebc0898c93 [2023-02-16T00:43:56.262Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-16T00:43:56.529Z] ---> 2cb0808d41cf [2023-02-16T00:43:56.529Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-16T00:43:57.936Z] ---> 900ececacc23 [2023-02-16T00:43:57.936Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-16T00:43:58.523Z] ---> 059cedd9be20 [2023-02-16T00:43:58.523Z] Step 18/23 : EXPOSE 59999 [2023-02-16T00:43:58.523Z] ---> Running in 2b367c158e31 [2023-02-16T00:43:58.791Z] Removing intermediate container 2b367c158e31 [2023-02-16T00:43:58.791Z] ---> 263965c34ec7 [2023-02-16T00:43:58.791Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-16T00:43:58.791Z] ---> Running in 2d30e140db7c [2023-02-16T00:43:59.059Z] Removing intermediate container 2d30e140db7c [2023-02-16T00:43:59.059Z] ---> b5b78b633be6 [2023-02-16T00:43:59.059Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-16T00:43:59.326Z] ---> Running in 963671343d03 [2023-02-16T00:43:59.602Z] Removing intermediate container 963671343d03 [2023-02-16T00:43:59.602Z] ---> 5aaf52414f8b [2023-02-16T00:43:59.602Z] Step 21/23 : LABEL arch=arm64 [2023-02-16T00:43:59.602Z] ---> Running in 809575f2848f [2023-02-16T00:43:59.869Z] Removing intermediate container 809575f2848f [2023-02-16T00:43:59.869Z] ---> 921971268159 [2023-02-16T00:43:59.869Z] Step 22/23 : LABEL git_sha=7c0f25f33206b2882856973f223d92f556bbce2b [2023-02-16T00:43:59.869Z] ---> Running in 55d062a3f18f [2023-02-16T00:44:00.457Z] Removing intermediate container 55d062a3f18f [2023-02-16T00:44:00.457Z] ---> 1b12c5cbc621 [2023-02-16T00:44:00.457Z] Step 23/23 : LABEL version=0.0.0 [2023-02-16T00:44:00.457Z] ---> Running in 661905f6ee4d [2023-02-16T00:44:00.724Z] Removing intermediate container 661905f6ee4d [2023-02-16T00:44:00.724Z] ---> b82e90ac5872 [2023-02-16T00:44:00.724Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T00:44:00.724Z] Successfully built b82e90ac5872 [2023-02-16T00:44:00.724Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:44:01.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T00:44:01.537Z] [2023-02-16T00:44:01.537Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:44:01.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T00:44:02.193Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-16T00:44:02.193Z] 8998bd30e6a1: Pulling fs layer [2023-02-16T00:44:02.193Z] 04944245beec: Pulling fs layer [2023-02-16T00:44:02.193Z] 699f458cf7ca: Pulling fs layer [2023-02-16T00:44:02.193Z] 765212b225bb: Pulling fs layer [2023-02-16T00:44:02.193Z] f23df028b6ca: Pulling fs layer [2023-02-16T00:44:02.193Z] d65c8cfc05b1: Pulling fs layer [2023-02-16T00:44:02.193Z] 2437ff75d9bd: Pulling fs layer [2023-02-16T00:44:02.193Z] 765212b225bb: Waiting [2023-02-16T00:44:02.193Z] f23df028b6ca: Waiting [2023-02-16T00:44:02.193Z] d65c8cfc05b1: Waiting [2023-02-16T00:44:02.193Z] 2437ff75d9bd: Waiting [2023-02-16T00:44:02.193Z] 04944245beec: Verifying Checksum [2023-02-16T00:44:02.193Z] 04944245beec: Download complete [2023-02-16T00:44:02.193Z] 765212b225bb: Verifying Checksum [2023-02-16T00:44:02.193Z] 765212b225bb: Download complete [2023-02-16T00:44:02.463Z] f23df028b6ca: Verifying Checksum [2023-02-16T00:44:02.463Z] f23df028b6ca: Download complete [2023-02-16T00:44:02.463Z] d65c8cfc05b1: Verifying Checksum [2023-02-16T00:44:02.463Z] d65c8cfc05b1: Download complete [2023-02-16T00:44:02.463Z] 699f458cf7ca: Verifying Checksum [2023-02-16T00:44:02.463Z] 699f458cf7ca: Download complete [2023-02-16T00:44:02.732Z] 8998bd30e6a1: Verifying Checksum [2023-02-16T00:44:02.732Z] 8998bd30e6a1: Download complete [2023-02-16T00:44:05.309Z] 2437ff75d9bd: Verifying Checksum [2023-02-16T00:44:05.309Z] 2437ff75d9bd: Download complete [2023-02-16T00:44:06.715Z] 8998bd30e6a1: Pull complete [2023-02-16T00:44:06.981Z] 04944245beec: Pull complete [2023-02-16T00:44:07.938Z] 699f458cf7ca: Pull complete [2023-02-16T00:44:08.202Z] 765212b225bb: Pull complete [2023-02-16T00:44:09.162Z] f23df028b6ca: Pull complete [2023-02-16T00:44:09.162Z] d65c8cfc05b1: Pull complete [2023-02-16T00:44:21.462Z] 2437ff75d9bd: Pull complete [2023-02-16T00:44:21.462Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-16T00:44:21.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T00:44:21.462Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T00:44:21.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-6224 does not seem to be running inside a container [2023-02-16T00:44:21.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-16T00:44:24.589Z] $ docker top ec3ccca2b051829d3032409c1207129c4f11a4280113f5f1deae13cfb7e3a850 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:44:25.171Z] ---> job-cost.sh [2023-02-16T00:44:25.438Z] lf-activate-venv: SKIPPING [2023-02-16T00:44:25.438Z] INFO: No Stack... [2023-02-16T00:44:26.019Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-16T00:44:26.602Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T00:44:26.941Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-16T00:44:26.941Z] + cut -d, -f6 [Pipeline] lock [2023-02-16T00:44:26.998Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1327-1-stack-cost] [2023-02-16T00:44:27.003Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1327-1-stack-cost] did not exist. Created. [2023-02-16T00:44:27.003Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1327-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T00:44:27.717Z] /w/workspace/device-sdk-go/1@tmp/durable-e6ab8ff3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-16T00:44:28.389Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-16T00:44:28.427Z] Warning: overwriting stash ‘stack-cost’ [2023-02-16T00:44:28.490Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T00:44:28.504Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1327-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T00:44:28.593Z] $ docker stop --time=1 ec3ccca2b051829d3032409c1207129c4f11a4280113f5f1deae13cfb7e3a850 [2023-02-16T00:44:30.079Z] $ docker rm -f --volumes ec3ccca2b051829d3032409c1207129c4f11a4280113f5f1deae13cfb7e3a850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-16T00:44:31.014Z] provisioning config files... [2023-02-16T00:44:31.021Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp/config14653599486718885947tmp [Pipeline] { [Pipeline] sh [2023-02-16T00:44:31.359Z] + set +x [2023-02-16T00:44:31.359Z] + curl -s https://codecov.io/bash [2023-02-16T00:44:31.359Z] + bash -s -- [2023-02-16T00:44:31.359Z] [2023-02-16T00:44:31.359Z] _____ _ [2023-02-16T00:44:31.359Z] / ____| | | [2023-02-16T00:44:31.359Z] | | ___ __| | ___ ___ _____ __ [2023-02-16T00:44:31.359Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-16T00:44:31.359Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-16T00:44:31.359Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-16T00:44:31.359Z] Bash-1.0.6 [2023-02-16T00:44:31.359Z] [2023-02-16T00:44:31.359Z] [2023-02-16T00:44:31.359Z] ==> git version 2.25.1 found [2023-02-16T00:44:31.359Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-16T00:44:31.359Z] Release-Date: 2020-01-08 [2023-02-16T00:44:31.359Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-16T00:44:31.359Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-16T00:44:31.359Z] ==> Jenkins CI detected. [2023-02-16T00:44:31.359Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1327 [2023-02-16T00:44:31.359Z] project root: . [2023-02-16T00:44:31.359Z] --> token set from env [2023-02-16T00:44:31.360Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-16T00:44:31.360Z] ==> Running gcov in . (disable via -X gcov) [2023-02-16T00:44:31.360Z] ==> Python coveragepy not found [2023-02-16T00:44:31.360Z] ==> Searching for coverage reports in: [2023-02-16T00:44:31.360Z] + . [2023-02-16T00:44:31.360Z] -> Found 1 reports [2023-02-16T00:44:31.360Z] ==> Detecting git/mercurial file structure [2023-02-16T00:44:31.617Z] ==> Reading reports [2023-02-16T00:44:31.617Z] + ./coverage.out bytes=98700 [2023-02-16T00:44:31.617Z] ==> Appending adjustments [2023-02-16T00:44:31.617Z] https://docs.codecov.io/docs/fixing-reports [2023-02-16T00:44:31.875Z] + Found adjustments [2023-02-16T00:44:31.875Z] ==> Gzipping contents [2023-02-16T00:44:31.875Z] 16K /tmp/codecov.lpxEsh.gz [2023-02-16T00:44:31.875Z] ==> Uploading reports [2023-02-16T00:44:31.875Z] url: https://codecov.io [2023-02-16T00:44:31.875Z] query: branch=PR-1327&commit=7c0f25f33206b2882856973f223d92f556bbce2b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1327&job=&cmd_args= [2023-02-16T00:44:31.875Z] -> Pinging Codecov [2023-02-16T00:44:31.875Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1327&commit=7c0f25f33206b2882856973f223d92f556bbce2b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1327%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1327&job=&cmd_args= [2023-02-16T00:44:31.875Z] -> Uploading to [2023-02-16T00:44:31.875Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-16/7E55EF52A471D76F132DFD9A03CDDE97/7c0f25f33206b2882856973f223d92f556bbce2b/f4d23617-06f3-47fd-b203-f6fc9996704e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230216T004431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f06cf45de21e90e88f12e5679046739dbd6e279b870bfd21089168a15493da7 [2023-02-16T00:44:32.134Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T00:44:32.134Z] Dload Upload Total Spent Left Speed [2023-02-16T00:44:32.392Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14374 0 0 100 14374 0 46820 --:--:-- --:--:-- --:--:-- 46820 [2023-02-16T00:44:32.392Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7c0f25f33206b2882856973f223d92f556bbce2b [Pipeline] } [2023-02-16T00:44:32.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-16T00:44:34.229Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1327/archives ] [2023-02-16T00:44:34.230Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1327/archives [2023-02-16T00:44:34.230Z] total 16 [2023-02-16T00:44:34.230Z] drwxr-xr-x 3 root root 4096 Feb 16 00:33 . [2023-02-16T00:44:34.230Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 00:33 .. [2023-02-16T00:44:34.230Z] drwxr-xr-x 2 root root 4096 Feb 16 00:33 cost [2023-02-16T00:44:34.230Z] -rw-r--r-- 1 root root 86 Feb 16 00:33 cost.csv [2023-02-16T00:44:34.230Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1327/archives [2023-02-16T00:44:34.230Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1327/archives [2023-02-16T00:44:34.230Z] total 16 [2023-02-16T00:44:34.230Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 00:33 . [2023-02-16T00:44:34.230Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 00:33 .. [2023-02-16T00:44:34.230Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 00:33 cost [2023-02-16T00:44:34.230Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 16 00:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:44:34.558Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:44:35.442Z] ---> package-listing.sh [2023-02-16T00:44:35.442Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-16T00:44:35.442Z] ++ facter osfamily [2023-02-16T00:44:35.701Z] + OS_FAMILY=debian [2023-02-16T00:44:35.701Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1327 [2023-02-16T00:44:35.701Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-16T00:44:35.701Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-16T00:44:35.701Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-16T00:44:35.701Z] + PACKAGES=/tmp/packages_start.txt [2023-02-16T00:44:35.701Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1327 ']' [2023-02-16T00:44:35.701Z] + PACKAGES=/tmp/packages_end.txt [2023-02-16T00:44:35.701Z] + case "${OS_FAMILY}" in [2023-02-16T00:44:35.701Z] + dpkg -l [2023-02-16T00:44:35.701Z] + grep '^ii' [2023-02-16T00:44:35.701Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-16T00:44:35.701Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-16T00:44:35.701Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-16T00:44:35.701Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1327 ']' [2023-02-16T00:44:35.701Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1327/archives/ [2023-02-16T00:44:35.701Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1327/archives/ [Pipeline] echo [2023-02-16T00:44:35.732Z] 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-1327/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-16T00:44:36.021Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T00:44:36.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T00:44:36.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T00:44:36.777Z] prd-ubuntu20.04-docker-8c-8g-6222 does not seem to be running inside a container [2023-02-16T00:44:36.831Z] $ 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-1327/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-1327 -v /w/workspace/gexfoundry_device-sdk-go_PR-1327:/w/workspace/gexfoundry_device-sdk-go_PR-1327:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-16T00:44:37.034Z] $ docker top ae9c6e6ddead3f9c09bfc9cc18c0c9860b507142c8b1b17a1dfd36741c21fe69 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T00:44:37.407Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-16T00:44:37.715Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-16T00:44:38.026Z] + ls /var/log/sa-host [2023-02-16T00:44:38.026Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T00:44:38.155Z] provisioning config files... [2023-02-16T00:44:38.166Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1327@tmp/config10091149265110668997tmp [Pipeline] { [Pipeline] echo [2023-02-16T00:44:38.213Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:44:38.523Z] ---> create-netrc.sh [Pipeline] } [2023-02-16T00:44:38.552Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:44:38.953Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-16T00:44:38.986Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:44:39.297Z] ---> sudo-logs.sh [2023-02-16T00:44:39.297Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-16T00:44:39.372Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:44:39.682Z] ---> job-cost.sh [2023-02-16T00:44:39.682Z] lf-activate-venv: SKIPPING [2023-02-16T00:44:39.682Z] DEBUG: total: 0.2199999988079071 [2023-02-16T00:44:39.682Z] INFO: Retrieving Stack Cost... [2023-02-16T00:44:39.942Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T00:44:40.512Z] INFO: Archiving Costs [Pipeline] echo [2023-02-16T00:44:40.547Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T00:44:40.855Z] ---> logs-deploy.sh [2023-02-16T00:44:40.855Z] lf-activate-venv: SKIPPING [2023-02-16T00:44:40.855Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1327/1 [2023-02-16T00:44:40.855Z] INFO: archiving workspace using pattern(s): [2023-02-16T00:44:41.789Z] Archives upload complete. [2023-02-16T00:44:41.789Z] INFO: archiving logs to Nexus