Pull request #1362 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a+57878cf2ebef4e913eea98f4fb62d4130484e110 (7542b378ae82186b64a33f7356916948ae7e0e69) 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-ssh15254883396416461326.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-ssh555796555299686245.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh862765507432552722.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2874323636833162444.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1362/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1362/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17089548946038417610.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8503’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8506 in /w/workspace/gexfoundry_device-sdk-go_PR-1362 [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-1362 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1362/head:refs/remotes/origin/PR-1362 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 57878cf2ebef4e913eea98f4fb62d4130484e110 into PR head commit d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a Merge succeeded, producing d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a Checking out Revision d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a (PR-1362) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T05:59:44.460Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T05:59:44.504Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T05:59:44.519Z] ========================================================= [2023-03-07T05:59:44.519Z] EdgeX Global Pipelines Version Info [2023-03-07T05:59:44.519Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a # 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 57878cf2ebef4e913eea98f4fb62d4130484e110 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a # timeout=10 > git rev-list --no-walk 529a380fc4285eb77e5184ae09e48ed3257457f7 # timeout=10 [2023-03-07T05:59:45.283Z] ------------------- [2023-03-07T05:59:45.283Z] stable info: [2023-03-07T05:59:45.283Z] ------------------- [2023-03-07T05:59:45.283Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T05:59:45.283Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T05:59:45.283Z] Message: update stable to v1.0.244 [2023-03-07T05:59:45.851Z] ------------------- [2023-03-07T05:59:45.851Z] experimental info: [2023-03-07T05:59:45.851Z] ------------------- [2023-03-07T05:59:45.851Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T05:59:45.851Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T05:59:45.851Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T05:59:46.035Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-07T05:59:46.051Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-07T05:59:46.062Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T05:59:46.075Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T05:59:46.087Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T05:59:46.099Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T05:59:46.111Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T05:59:46.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-07T05:59:46.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T05:59:46.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T05:59:46.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T05:59:46.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-07T05:59:46.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T05:59:46.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T05:59:46.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T05:59:46.238Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T05:59:46.250Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T05:59:46.262Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T05:59:46.276Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T05:59:46.286Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T05:59:46.298Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T05:59:46.311Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-07T05:59:46.326Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T05:59:46.346Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T05:59:46.365Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T05:59:46.387Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T05:59:46.405Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T05:59:46.422Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1362 [Pipeline] echo [2023-03-07T05:59:46.437Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1362 [Pipeline] echo [2023-03-07T05:59:46.448Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1362 [Pipeline] echo [2023-03-07T05:59:46.460Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a [Pipeline] echo [2023-03-07T05:59:46.477Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d45a938 [Pipeline] echo [2023-03-07T05:59:46.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T05:59:46.552Z] provisioning config files... [2023-03-07T05:59:46.566Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/config1122048471333903802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:59:46.869Z] ---> docker-login.sh [2023-03-07T05:59:46.869Z] nexus3.edgexfoundry.org:10001 [2023-03-07T05:59:47.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:59:47.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:59:47.128Z] Configure a credential helper to remove this warning. See [2023-03-07T05:59:47.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:59:47.128Z] [2023-03-07T05:59:47.128Z] Login Succeeded [2023-03-07T05:59:47.128Z] nexus3.edgexfoundry.org:10002 [2023-03-07T05:59:47.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:59:47.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:59:47.128Z] Configure a credential helper to remove this warning. See [2023-03-07T05:59:47.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:59:47.128Z] [2023-03-07T05:59:47.128Z] Login Succeeded [2023-03-07T05:59:47.128Z] nexus3.edgexfoundry.org:10003 [2023-03-07T05:59:47.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:59:47.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:59:47.390Z] Configure a credential helper to remove this warning. See [2023-03-07T05:59:47.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:59:47.390Z] [2023-03-07T05:59:47.390Z] Login Succeeded [2023-03-07T05:59:47.390Z] nexus3.edgexfoundry.org:10004 [2023-03-07T05:59:47.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:59:47.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:59:47.390Z] Configure a credential helper to remove this warning. See [2023-03-07T05:59:47.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:59:47.390Z] [2023-03-07T05:59:47.390Z] Login Succeeded [2023-03-07T05:59:47.390Z] docker.io [2023-03-07T05:59:47.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:59:47.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:59:47.652Z] Configure a credential helper to remove this warning. See [2023-03-07T05:59:47.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:59:47.652Z] [2023-03-07T05:59:47.652Z] Login Succeeded [2023-03-07T05:59:47.652Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T05:59:47.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T05:59:48.056Z] + git rev-list -1 --merges d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a~1..d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a [Pipeline] echo [2023-03-07T05:59:48.123Z] -----------> git rev-list -1 --merges d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a~1..d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a [false] [Pipeline] sh [2023-03-07T05:59:48.416Z] + git log --format=format:%s -1 d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a [Pipeline] echo [2023-03-07T05:59:48.438Z] ========================================================= [2023-03-07T05:59:48.438Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T05:59:48.438Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T05:59:48.780Z] + git log --format=format:%s -1 d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a [Pipeline] echo [2023-03-07T05:59:48.793Z] [semverPrep] GIT_COMMIT: d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-03-07T05:59:48.802Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T05:59:49.166Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T05:59:49.166Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T05:59:49.166Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T05:59:49.166Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T05:59:49.166Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T05:59:49.166Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T05:59:49.166Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:59:49.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T05:59:49.538Z] [2023-03-07T05:59:49.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:59:49.852Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T05:59:49.852Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T05:59:49.852Z] b85a868b505f: Pulling fs layer [2023-03-07T05:59:49.852Z] e2be974225ed: Pulling fs layer [2023-03-07T05:59:49.852Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T05:59:49.852Z] 988bab9f4d93: Pulling fs layer [2023-03-07T05:59:49.852Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T05:59:49.852Z] eaf3925da568: Pulling fs layer [2023-03-07T05:59:49.852Z] bab4dde63d76: Pulling fs layer [2023-03-07T05:59:49.852Z] bde34c3a00c8: Pulling fs layer [2023-03-07T05:59:49.852Z] b352a97aabf1: Pulling fs layer [2023-03-07T05:59:49.852Z] 4872d77fe225: Pulling fs layer [2023-03-07T05:59:49.852Z] 5851b861e8e6: Pulling fs layer [2023-03-07T05:59:49.852Z] 988bab9f4d93: Waiting [2023-03-07T05:59:49.852Z] 1469e6f7b9e6: Waiting [2023-03-07T05:59:49.852Z] eaf3925da568: Waiting [2023-03-07T05:59:49.852Z] 4872d77fe225: Waiting [2023-03-07T05:59:49.852Z] bde34c3a00c8: Waiting [2023-03-07T05:59:49.852Z] b352a97aabf1: Waiting [2023-03-07T05:59:49.852Z] 5851b861e8e6: Waiting [2023-03-07T05:59:49.852Z] bab4dde63d76: Waiting [2023-03-07T05:59:49.852Z] e2be974225ed: Verifying Checksum [2023-03-07T05:59:49.852Z] e2be974225ed: Download complete [2023-03-07T05:59:49.852Z] 988bab9f4d93: Download complete [2023-03-07T05:59:50.113Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T05:59:50.113Z] 1469e6f7b9e6: Download complete [2023-03-07T05:59:50.113Z] eaf3925da568: Verifying Checksum [2023-03-07T05:59:50.113Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T05:59:50.113Z] 339a4e72a1f5: Download complete [2023-03-07T05:59:50.113Z] bde34c3a00c8: Verifying Checksum [2023-03-07T05:59:50.113Z] bde34c3a00c8: Download complete [2023-03-07T05:59:50.113Z] b352a97aabf1: Verifying Checksum [2023-03-07T05:59:50.113Z] b352a97aabf1: Download complete [2023-03-07T05:59:50.113Z] 4872d77fe225: Verifying Checksum [2023-03-07T05:59:50.113Z] 4872d77fe225: Download complete [2023-03-07T05:59:50.113Z] 5851b861e8e6: Verifying Checksum [2023-03-07T05:59:50.113Z] 5851b861e8e6: Download complete [2023-03-07T05:59:50.113Z] b85a868b505f: Verifying Checksum [2023-03-07T05:59:50.113Z] b85a868b505f: Download complete [2023-03-07T05:59:50.371Z] bab4dde63d76: Verifying Checksum [2023-03-07T05:59:50.371Z] bab4dde63d76: Download complete [2023-03-07T05:59:51.307Z] b85a868b505f: Pull complete [2023-03-07T05:59:51.567Z] e2be974225ed: Pull complete [2023-03-07T05:59:52.137Z] 339a4e72a1f5: Pull complete [2023-03-07T05:59:52.137Z] 988bab9f4d93: Pull complete [2023-03-07T05:59:52.397Z] 1469e6f7b9e6: Pull complete [2023-03-07T05:59:52.397Z] eaf3925da568: Pull complete [2023-03-07T05:59:54.302Z] bab4dde63d76: Pull complete [2023-03-07T05:59:54.302Z] bde34c3a00c8: Pull complete [2023-03-07T05:59:54.302Z] b352a97aabf1: Pull complete [2023-03-07T05:59:54.562Z] 4872d77fe225: Pull complete [2023-03-07T05:59:54.562Z] 5851b861e8e6: Pull complete [2023-03-07T05:59:54.562Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T05:59:54.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T05:59:54.562Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:59:54.660Z] prd-ubuntu20.04-docker-8c-8g-8506 does not seem to be running inside a container [2023-03-07T05:59:54.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1362 -v /w/workspace/gexfoundry_device-sdk-go_PR-1362:/w/workspace/gexfoundry_device-sdk-go_PR-1362:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1362@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-03-07T05:59:56.842Z] $ docker top 7f7f3252a3aec9dadbc70fa8f43b967212f7bf58cdad5f66cd02bf4f9c830ffe -eo pid,comm [2023-03-07T05:59:56.896Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-07T05:59:56.896Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T05:59:56.939Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T05:59:56.939Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T05:59:57.062Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T05:59:57.069Z] $ docker exec 7f7f3252a3aec9dadbc70fa8f43b967212f7bf58cdad5f66cd02bf4f9c830ffe ssh-agent [2023-03-07T05:59:57.181Z] SSH_AUTH_SOCK=/tmp/ssh-TuLTG1bppcLp/agent.32 [2023-03-07T05:59:57.181Z] SSH_AGENT_PID=38 [2023-03-07T05:59:57.187Z] Running ssh-add (command line suppressed) [2023-03-07T05:59:57.299Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/private_key_16591029162753710140.key (/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/private_key_16591029162753710140.key) [2023-03-07T05:59:57.311Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T05:59:57.601Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T05:59:57.618Z] $ docker exec --env ******** --env ******** 7f7f3252a3aec9dadbc70fa8f43b967212f7bf58cdad5f66cd02bf4f9c830ffe ssh-agent -k [2023-03-07T05:59:57.723Z] unset SSH_AUTH_SOCK; [2023-03-07T05:59:57.723Z] unset SSH_AGENT_PID; [2023-03-07T05:59:57.724Z] echo Agent pid 38 killed; [2023-03-07T05:59:57.730Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T05:59:57.754Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T05:59:57.754Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T05:59:57.869Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T05:59:57.875Z] $ docker exec 7f7f3252a3aec9dadbc70fa8f43b967212f7bf58cdad5f66cd02bf4f9c830ffe ssh-agent [2023-03-07T05:59:57.979Z] SSH_AUTH_SOCK=/tmp/ssh-0yrFDN4ahZud/agent.70 [2023-03-07T05:59:57.979Z] SSH_AGENT_PID=76 [2023-03-07T05:59:57.984Z] Running ssh-add (command line suppressed) [2023-03-07T05:59:58.091Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/private_key_1667409059583033529.key (/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/private_key_1667409059583033529.key) [2023-03-07T05:59:58.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T05:59:58.396Z] + git semver init [2023-03-07T05:59:58.655Z] 2023-03-07 05:59:58,576 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T05:59:58.655Z] 2023-03-07 05:59:58,577 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver [2023-03-07T05:59:58.655Z] 2023-03-07 05:59:58,578 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver [2023-03-07T05:59:58.655Z] 2023-03-07 05:59:58,578 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1362, universal_newlines=False, shell=None, istream=None) [2023-03-07T05:59:59.593Z] 2023-03-07 05:59:59,473 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362/.git/info/exclude [2023-03-07T05:59:59.593Z] 2023-03-07 05:59:59,474 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver/PR-1362 with force:False [2023-03-07T05:59:59.593Z] 2023-03-07 05:59:59,474 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver/PR-1362 [2023-03-07T05:59:59.593Z] 2023-03-07 05:59:59,478 [execute] INFO git cat-file --batch-check [2023-03-07T05:59:59.593Z] 2023-03-07 05:59:59,478 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T05:59:59.593Z] 2023-03-07 05:59:59,483 [execute] INFO git cat-file --batch [2023-03-07T05:59:59.593Z] 2023-03-07 05:59:59,483 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T05:59:59.593Z] 2023-03-07 05:59:59,486 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver/PR-1362 [2023-03-07T05:59:59.593Z] 0.0.0 [Pipeline] } [2023-03-07T05:59:59.607Z] $ docker exec --env ******** --env ******** 7f7f3252a3aec9dadbc70fa8f43b967212f7bf58cdad5f66cd02bf4f9c830ffe ssh-agent -k [2023-03-07T05:59:59.712Z] unset SSH_AUTH_SOCK; [2023-03-07T05:59:59.713Z] unset SSH_AGENT_PID; [2023-03-07T05:59:59.713Z] echo Agent pid 76 killed; [2023-03-07T05:59:59.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T06:00:00.030Z] + git semver [Pipeline] } [2023-03-07T06:00:00.307Z] $ docker stop --time=1 7f7f3252a3aec9dadbc70fa8f43b967212f7bf58cdad5f66cd02bf4f9c830ffe [2023-03-07T06:00:01.611Z] $ docker rm -f --volumes 7f7f3252a3aec9dadbc70fa8f43b967212f7bf58cdad5f66cd02bf4f9c830ffe [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T06:00:01.965Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T06:00:02.175Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T06:00:02.178Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T06:00:02.328Z] provisioning config files... [2023-03-07T06:00:02.336Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/config4747699443134885021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:00:02.631Z] ---> docker-login.sh [2023-03-07T06:00:02.631Z] nexus3.edgexfoundry.org:10001 [2023-03-07T06:00:02.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:00:02.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:00:02.631Z] Configure a credential helper to remove this warning. See [2023-03-07T06:00:02.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:00:02.631Z] [2023-03-07T06:00:02.631Z] Login Succeeded [2023-03-07T06:00:02.631Z] nexus3.edgexfoundry.org:10002 [2023-03-07T06:00:02.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:00:02.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:00:02.631Z] Configure a credential helper to remove this warning. See [2023-03-07T06:00:02.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:00:02.631Z] [2023-03-07T06:00:02.631Z] Login Succeeded [2023-03-07T06:00:02.631Z] nexus3.edgexfoundry.org:10003 [2023-03-07T06:00:02.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:00:02.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:00:02.891Z] Configure a credential helper to remove this warning. See [2023-03-07T06:00:02.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:00:02.891Z] [2023-03-07T06:00:02.891Z] Login Succeeded [2023-03-07T06:00:02.891Z] nexus3.edgexfoundry.org:10004 [2023-03-07T06:00:02.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:00:02.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:00:02.891Z] Configure a credential helper to remove this warning. See [2023-03-07T06:00:02.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:00:02.891Z] [2023-03-07T06:00:02.891Z] Login Succeeded [2023-03-07T06:00:02.891Z] docker.io [2023-03-07T06:00:02.891Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:00:06.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:00:06.179Z] Configure a credential helper to remove this warning. See [2023-03-07T06:00:06.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:00:06.179Z] [2023-03-07T06:00:06.179Z] Login Succeeded [2023-03-07T06:00:06.179Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T06:00:06.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T06:00:06.255Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T06:00:06.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T06:00:06.285Z] ========================================================= [2023-03-07T06:00:06.285Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T06:00:06.285Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:00:06.592Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T06:00:06.592Z] Sending build context to Docker daemon 10.61MB [2023-03-07T06:00:06.592Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T06:00:06.592Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T06:00:06.592Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T06:00:06.592Z] 213ec9aee27d: Pulling fs layer [2023-03-07T06:00:06.592Z] 4583459ba037: Pulling fs layer [2023-03-07T06:00:06.592Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T06:00:06.592Z] 53926ce57604: Pulling fs layer [2023-03-07T06:00:06.592Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T06:00:06.592Z] 22ff95d597cd: Pulling fs layer [2023-03-07T06:00:06.592Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T06:00:06.592Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T06:00:06.592Z] a7acece74701: Pulling fs layer [2023-03-07T06:00:06.592Z] 22ff95d597cd: Waiting [2023-03-07T06:00:06.592Z] 12d6caf4c0d1: Waiting [2023-03-07T06:00:06.592Z] 96b7cbca73a9: Waiting [2023-03-07T06:00:06.592Z] a7acece74701: Waiting [2023-03-07T06:00:06.592Z] 53926ce57604: Waiting [2023-03-07T06:00:06.592Z] 21b2b0c7a3f4: Waiting [2023-03-07T06:00:06.592Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T06:00:06.592Z] 93c1e223e6f2: Download complete [2023-03-07T06:00:06.592Z] 4583459ba037: Verifying Checksum [2023-03-07T06:00:06.592Z] 4583459ba037: Download complete [2023-03-07T06:00:06.856Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T06:00:06.856Z] 21b2b0c7a3f4: Download complete [2023-03-07T06:00:06.856Z] 22ff95d597cd: Verifying Checksum [2023-03-07T06:00:06.856Z] 22ff95d597cd: Download complete [2023-03-07T06:00:06.856Z] 213ec9aee27d: Verifying Checksum [2023-03-07T06:00:06.856Z] 213ec9aee27d: Download complete [2023-03-07T06:00:06.856Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T06:00:06.856Z] 12d6caf4c0d1: Download complete [2023-03-07T06:00:06.856Z] 213ec9aee27d: Pull complete [2023-03-07T06:00:07.121Z] 4583459ba037: Pull complete [2023-03-07T06:00:07.121Z] 93c1e223e6f2: Pull complete [2023-03-07T06:00:07.706Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T06:00:07.706Z] 96b7cbca73a9: Download complete [2023-03-07T06:00:07.706Z] a7acece74701: Verifying Checksum [2023-03-07T06:00:07.706Z] a7acece74701: Download complete [2023-03-07T06:00:07.706Z] 53926ce57604: Verifying Checksum [2023-03-07T06:00:07.706Z] 53926ce57604: Download complete [2023-03-07T06:00:11.894Z] 53926ce57604: Pull complete [2023-03-07T06:00:11.894Z] 21b2b0c7a3f4: Pull complete [2023-03-07T06:00:11.894Z] 22ff95d597cd: Pull complete [2023-03-07T06:00:11.894Z] 12d6caf4c0d1: Pull complete [2023-03-07T06:00:13.800Z] 96b7cbca73a9: Pull complete [2023-03-07T06:00:14.732Z] a7acece74701: Pull complete [2023-03-07T06:00:14.732Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T06:00:14.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T06:00:14.732Z] ---> db6d94c90886 [2023-03-07T06:00:14.732Z] Step 3/10 : ARG MAKE=make build [2023-03-07T06:00:17.283Z] Still waiting to schedule task [2023-03-07T06:00:17.283Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8502’ [2023-03-07T06:00:18.021Z] ---> Running in 234a977646cc [2023-03-07T06:00:18.021Z] Removing intermediate container 234a977646cc [2023-03-07T06:00:18.021Z] ---> a55e94165150 [2023-03-07T06:00:18.021Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T06:00:18.021Z] ---> Running in 38e32dcc85ea [2023-03-07T06:00:18.021Z] Removing intermediate container 38e32dcc85ea [2023-03-07T06:00:18.021Z] ---> 0d81b0ae31c6 [2023-03-07T06:00:18.021Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T06:00:18.021Z] ---> Running in 1395e6cbb6ab [2023-03-07T06:00:18.280Z] Removing intermediate container 1395e6cbb6ab [2023-03-07T06:00:18.280Z] ---> 8b24f8480abf [2023-03-07T06:00:18.280Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T06:00:18.280Z] ---> Running in 92b42464a051 [2023-03-07T06:00:18.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T06:00:18.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T06:00:18.796Z] OK: 211 MiB in 51 packages [2023-03-07T06:00:19.054Z] Removing intermediate container 92b42464a051 [2023-03-07T06:00:19.054Z] ---> d3a1f2b48686 [2023-03-07T06:00:19.054Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T06:00:19.312Z] ---> 293b06ead05b [2023-03-07T06:00:19.312Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T06:00:19.312Z] ---> Running in d50e5ec23de8 [2023-03-07T06:00:41.247Z] Removing intermediate container d50e5ec23de8 [2023-03-07T06:00:41.247Z] ---> 446f0b055573 [2023-03-07T06:00:41.247Z] Step 9/10 : COPY . . [2023-03-07T06:00:41.247Z] ---> b7644782da66 [2023-03-07T06:00:41.247Z] Step 10/10 : RUN ${MAKE} [2023-03-07T06:00:41.247Z] ---> Running in 8b0dca481add [2023-03-07T06:00:41.247Z] noop [2023-03-07T06:00:41.815Z] Removing intermediate container 8b0dca481add [2023-03-07T06:00:41.815Z] ---> 60c077065531 [2023-03-07T06:00:41.815Z] Successfully built 60c077065531 [2023-03-07T06:00:41.815Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:00:42.129Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T06:00:42.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:00:42.197Z] prd-ubuntu20.04-docker-8c-8g-8506 does not seem to be running inside a container [2023-03-07T06:00:42.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1362 -v /w/workspace/gexfoundry_device-sdk-go_PR-1362:/w/workspace/gexfoundry_device-sdk-go_PR-1362:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1362@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-03-07T06:00:42.858Z] $ docker top db1651277f6d6ec8e4c19f5912bfc09d1dbc59415a2c68fe45345cf45afb6d9d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T06:00:43.190Z] + go version [2023-03-07T06:00:43.191Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T06:00:43.204Z] $ docker stop --time=1 db1651277f6d6ec8e4c19f5912bfc09d1dbc59415a2c68fe45345cf45afb6d9d [2023-03-07T06:00:44.735Z] $ docker rm -f --volumes db1651277f6d6ec8e4c19f5912bfc09d1dbc59415a2c68fe45345cf45afb6d9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:00:45.176Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T06:00:45.176Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:00:45.237Z] prd-ubuntu20.04-docker-8c-8g-8506 does not seem to be running inside a container [2023-03-07T06:00:45.264Z] $ 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-1362 -v /w/workspace/gexfoundry_device-sdk-go_PR-1362:/w/workspace/gexfoundry_device-sdk-go_PR-1362:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1362@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-03-07T06:00:45.946Z] $ docker top d54db11bc3f1dd7e475261f19598b37091271f69000fa45c0ace3cda4d619c61 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T06:00:46.291Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1362 [Pipeline] fileExists [Pipeline] sh [2023-03-07T06:00:46.585Z] + make test [2023-03-07T06:00:46.585Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T06:00:53.144Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T06:01:08.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T06:01:08.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T06:01:08.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T06:01:08.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T06:01:08.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T06:01:08.014Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-03-07T06:01:08.014Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.064s coverage: 78.9% of statements [2023-03-07T06:01:08.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T06:01:08.014Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.124s coverage: 86.0% of statements [2023-03-07T06:01:08.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T06:01:08.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T06:01:08.014Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.096s coverage: 75.0% of statements [2023-03-07T06:01:08.014Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T06:01:10.545Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 15.3% of statements [2023-03-07T06:01:10.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T06:01:10.545Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.091s coverage: 65.2% of statements [2023-03-07T06:01:10.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T06:01:10.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T06:01:10.545Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.746s coverage: 89.2% of statements [2023-03-07T06:01:10.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T06:01:10.545Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.6% of statements [2023-03-07T06:01:10.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T06:01:25.573Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-07T06:01:25.573Z] GO111MODULE=on go vet ./... [2023-03-07T06:01:27.474Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T06:01:27.474Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T06:01:27.733Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T06:01:27.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T06:01:27.763Z] $ docker stop --time=1 d54db11bc3f1dd7e475261f19598b37091271f69000fa45c0ace3cda4d619c61 [2023-03-07T06:01:30.518Z] $ docker rm -f --volumes d54db11bc3f1dd7e475261f19598b37091271f69000fa45c0ace3cda4d619c61 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T06:01:30.984Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T06:01:31.046Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T06:01:31.463Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T06:01:31.745Z] + ls -al . [2023-03-07T06:01:31.745Z] total 280 [2023-03-07T06:01:31.745Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 06:00 . [2023-03-07T06:01:31.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 05:59 .. [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 05:59 .dockerignore [2023-03-07T06:01:31.745Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 06:01 .git [2023-03-07T06:01:31.745Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 05:59 .github [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 05:59 .gitignore [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 05:59 .golangci.yml [2023-03-07T06:01:31.745Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 05:59 .semver [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 05:59 CHANGELOG.md [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 05:59 GOVERNANCE.md [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 05:59 Jenkinsfile [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 05:59 LICENSE [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 05:59 Makefile [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 05:59 OWNERS.md [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 05:59 README.md [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 06:00 VERSION [2023-03-07T06:01:31.745Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 05:59 bin [2023-03-07T06:01:31.745Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 7 06:01 coverage.out [2023-03-07T06:01:31.745Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 05:59 example [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 05:59 go.mod [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 05:59 go.sum [2023-03-07T06:01:31.745Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 05:59 internal [2023-03-07T06:01:31.745Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 05:59 openapi [2023-03-07T06:01:31.745Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 05:59 pkg [2023-03-07T06:01:31.745Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 05:59 snap [2023-03-07T06:01:31.745Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:01:32.044Z] + 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=d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a --label arch=amd64 --label version=0.0.0 . [2023-03-07T06:01:32.044Z] Sending build context to Docker daemon 10.72MB [2023-03-07T06:01:32.044Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T06:01:32.044Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T06:01:32.044Z] ---> 60c077065531 [2023-03-07T06:01:32.044Z] Step 3/23 : ARG MAKE=make build [2023-03-07T06:01:32.044Z] ---> Running in 9e65b33a9a69 [2023-03-07T06:01:32.302Z] Removing intermediate container 9e65b33a9a69 [2023-03-07T06:01:32.302Z] ---> bca22c583f8c [2023-03-07T06:01:32.302Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T06:01:32.302Z] ---> Running in a8f805ad55b0 [2023-03-07T06:01:32.302Z] Removing intermediate container a8f805ad55b0 [2023-03-07T06:01:32.302Z] ---> e41098759962 [2023-03-07T06:01:32.302Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T06:01:32.302Z] ---> Running in 50855d449a07 [2023-03-07T06:01:32.302Z] Removing intermediate container 50855d449a07 [2023-03-07T06:01:32.302Z] ---> 492983c11705 [2023-03-07T06:01:32.302Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T06:01:32.302Z] ---> Running in 19188cf372a3 [2023-03-07T06:01:32.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T06:01:32.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T06:01:32.818Z] OK: 211 MiB in 51 packages [2023-03-07T06:01:33.383Z] Removing intermediate container 19188cf372a3 [2023-03-07T06:01:33.383Z] ---> 15cec0b33717 [2023-03-07T06:01:33.383Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T06:01:33.383Z] ---> 266004d75fab [2023-03-07T06:01:33.383Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T06:01:33.383Z] ---> Running in 791aad92dead [2023-03-07T06:01:34.316Z] Removing intermediate container 791aad92dead [2023-03-07T06:01:34.316Z] ---> da9f6eccba6f [2023-03-07T06:01:34.316Z] Step 9/23 : COPY . . [2023-03-07T06:01:34.574Z] ---> 52da50058727 [2023-03-07T06:01:34.574Z] Step 10/23 : RUN ${MAKE} [2023-03-07T06:01:34.574Z] ---> Running in 9d2cacd45a83 [2023-03-07T06:01:34.832Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T06:01:52.916Z] Removing intermediate container 9d2cacd45a83 [2023-03-07T06:01:52.916Z] ---> 93576700d783 [2023-03-07T06:01:52.916Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T06:01:53.482Z] 3.16: Pulling from library/alpine [2023-03-07T06:01:53.482Z] ef5531b6e74e: Pulling fs layer [2023-03-07T06:01:53.741Z] ef5531b6e74e: Download complete [2023-03-07T06:01:53.741Z] ef5531b6e74e: Pull complete [2023-03-07T06:01:53.741Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T06:01:53.741Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T06:01:53.741Z] ---> dfd21b5a31f5 [2023-03-07T06:01:53.741Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T06:01:53.741Z] ---> Running in 8f65e3b309a3 [2023-03-07T06:01:53.999Z] Removing intermediate container 8f65e3b309a3 [2023-03-07T06:01:53.999Z] ---> 5c64d900f808 [2023-03-07T06:01:53.999Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T06:01:53.999Z] ---> Running in 73654882278c [2023-03-07T06:01:54.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T06:01:54.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T06:01:54.517Z] OK: 6 MiB in 14 packages [2023-03-07T06:01:54.774Z] Removing intermediate container 73654882278c [2023-03-07T06:01:54.775Z] ---> 42996e9177cd [2023-03-07T06:01:54.775Z] Step 14/23 : WORKDIR / [2023-03-07T06:01:54.775Z] ---> Running in 63f103f3c3cf [2023-03-07T06:01:55.032Z] Removing intermediate container 63f103f3c3cf [2023-03-07T06:01:55.032Z] ---> 24457ef0b3df [2023-03-07T06:01:55.032Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T06:01:55.032Z] ---> d1ada73e226e [2023-03-07T06:01:55.032Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T06:01:55.599Z] ---> be48cd32eec2 [2023-03-07T06:01:55.599Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T06:01:55.857Z] ---> d99c98ce36a6 [2023-03-07T06:01:55.857Z] Step 18/23 : EXPOSE 59999 [2023-03-07T06:01:55.857Z] ---> Running in 5dfed8857056 [2023-03-07T06:01:55.857Z] Removing intermediate container 5dfed8857056 [2023-03-07T06:01:55.857Z] ---> 800f34059e6b [2023-03-07T06:01:55.857Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T06:01:55.857Z] ---> Running in c333a54d2922 [2023-03-07T06:01:55.857Z] Removing intermediate container c333a54d2922 [2023-03-07T06:01:55.857Z] ---> 2f67988389bf [2023-03-07T06:01:55.857Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T06:01:55.857Z] ---> Running in 08bc1dccdc5b [2023-03-07T06:01:56.115Z] Removing intermediate container 08bc1dccdc5b [2023-03-07T06:01:56.115Z] ---> 908467a54d48 [2023-03-07T06:01:56.115Z] Step 21/23 : LABEL arch=amd64 [2023-03-07T06:01:56.115Z] ---> Running in 0ba59699a3c5 [2023-03-07T06:01:56.115Z] Removing intermediate container 0ba59699a3c5 [2023-03-07T06:01:56.115Z] ---> 54ffaf36a99b [2023-03-07T06:01:56.115Z] Step 22/23 : LABEL git_sha=d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a [2023-03-07T06:01:56.115Z] ---> Running in a0c6062ea608 [2023-03-07T06:01:56.115Z] Removing intermediate container a0c6062ea608 [2023-03-07T06:01:56.115Z] ---> a8ee08022414 [2023-03-07T06:01:56.115Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T06:01:56.115Z] ---> Running in 30408c18f62e [2023-03-07T06:01:56.373Z] Removing intermediate container 30408c18f62e [2023-03-07T06:01:56.373Z] ---> 916a8c9cd280 [2023-03-07T06:01:56.373Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T06:01:56.373Z] Successfully built 916a8c9cd280 [2023-03-07T06:01:56.373Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:01:56.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T06:01:56.804Z] [2023-03-07T06:01:56.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:01:57.104Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T06:01:57.104Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T06:01:57.104Z] 5eb5b503b376: Pulling fs layer [2023-03-07T06:01:57.104Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T06:01:57.104Z] ec43610c2a17: Pulling fs layer [2023-03-07T06:01:57.104Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T06:01:57.104Z] 33b1e0a273af: Pulling fs layer [2023-03-07T06:01:57.104Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T06:01:57.104Z] 2f39f015ded8: Pulling fs layer [2023-03-07T06:01:57.104Z] 3a2ae6a8a46f: Waiting [2023-03-07T06:01:57.104Z] 33b1e0a273af: Waiting [2023-03-07T06:01:57.104Z] 5d3b04190fa2: Waiting [2023-03-07T06:01:57.104Z] 2f39f015ded8: Waiting [2023-03-07T06:01:57.104Z] 5c69ac0246d0: Verifying Checksum [2023-03-07T06:01:57.104Z] 5c69ac0246d0: Download complete [2023-03-07T06:01:57.104Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T06:01:57.104Z] 3a2ae6a8a46f: Download complete [2023-03-07T06:01:57.362Z] 33b1e0a273af: Verifying Checksum [2023-03-07T06:01:57.362Z] 33b1e0a273af: Download complete [2023-03-07T06:01:57.362Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T06:01:57.362Z] 5d3b04190fa2: Download complete [2023-03-07T06:01:57.362Z] ec43610c2a17: Verifying Checksum [2023-03-07T06:01:57.362Z] ec43610c2a17: Download complete [2023-03-07T06:01:57.621Z] 5eb5b503b376: Verifying Checksum [2023-03-07T06:01:57.621Z] 5eb5b503b376: Download complete [2023-03-07T06:01:58.184Z] 2f39f015ded8: Download complete [2023-03-07T06:01:58.441Z] 5eb5b503b376: Pull complete [2023-03-07T06:01:58.698Z] 5c69ac0246d0: Pull complete [2023-03-07T06:01:58.956Z] ec43610c2a17: Pull complete [2023-03-07T06:01:59.213Z] 3a2ae6a8a46f: Pull complete [2023-03-07T06:01:59.213Z] 33b1e0a273af: Pull complete [2023-03-07T06:01:59.470Z] 5d3b04190fa2: Pull complete [2023-03-07T06:02:02.747Z] 2f39f015ded8: Pull complete [2023-03-07T06:02:02.747Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T06:02:02.747Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T06:02:02.747Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:02:02.816Z] prd-ubuntu20.04-docker-8c-8g-8506 does not seem to be running inside a container [2023-03-07T06:02:02.848Z] $ 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-1362 -v /w/workspace/gexfoundry_device-sdk-go_PR-1362:/w/workspace/gexfoundry_device-sdk-go_PR-1362:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1362@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-03-07T06:02:05.182Z] $ docker top 2da341eb1897ff886796c9ef0d9ed8099c3da5df9ce2647b8ab473f159d70c25 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:02:05.546Z] ---> job-cost.sh [2023-03-07T06:02:05.546Z] lf-activate-venv: SKIPPING [2023-03-07T06:02:05.546Z] INFO: No Stack... [2023-03-07T06:02:05.803Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T06:02:06.061Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T06:02:06.348Z] + cut -d, -f6 [2023-03-07T06:02:06.348Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives/cost.csv [Pipeline] lock [2023-03-07T06:02:06.363Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1362-2-stack-cost] [2023-03-07T06:02:06.369Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1362-2-stack-cost] did not exist. Created. [2023-03-07T06:02:06.369Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1362-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T06:02:06.662Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T06:02:06.698Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T06:02:06.705Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1362-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T06:02:06.723Z] $ docker stop --time=1 2da341eb1897ff886796c9ef0d9ed8099c3da5df9ce2647b8ab473f159d70c25 [2023-03-07T06:02:07.854Z] $ docker rm -f --volumes 2da341eb1897ff886796c9ef0d9ed8099c3da5df9ce2647b8ab473f159d70c25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T06:03:10.681Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8512 in /w/workspace/gexfoundry_device-sdk-go_PR-1362 [Pipeline] { [Pipeline] ws [2023-03-07T06:03:10.695Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-07T06:03:10.735Z] The recommended git tool is: git [2023-03-07T06:03:19.524Z] using credential edgex-jenkins-ssh [2023-03-07T06:03:19.542Z] Cloning the remote Git repository [2023-03-07T06:03:19.601Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T06:03:19.695Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-07T06:03:19.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T06:03:19.878Z] > git --version # timeout=10 [2023-03-07T06:03:19.902Z] > git --version # 'git version 2.25.1' [2023-03-07T06:03:19.904Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T06:03:19.972Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T06:03:21.709Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T06:03:21.732Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T06:03:23.388Z] Merging remotes/origin/main commit 57878cf2ebef4e913eea98f4fb62d4130484e110 into PR head commit d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a [2023-03-07T06:03:22.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T06:03:22.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T06:03:22.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T06:03:22.768Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1362/head:refs/remotes/origin/PR-1362 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T06:03:23.655Z] Merge succeeded, producing d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a [2023-03-07T06:03:23.656Z] Checking out Revision d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a (PR-1362) [2023-03-07T06:03:24.302Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T06:03:23.412Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T06:03:23.433Z] > git checkout -f d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a # timeout=10 [2023-03-07T06:03:23.550Z] > git remote # timeout=10 [2023-03-07T06:03:23.568Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T06:03:23.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T06:03:23.609Z] > git merge 57878cf2ebef4e913eea98f4fb62d4130484e110 # timeout=10 [2023-03-07T06:03:23.637Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T06:03:23.666Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T06:03:23.683Z] > git checkout -f d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a # timeout=10 [2023-03-07T06:03:25.268Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T06:03:25.268Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T06:03:25.268Z] Dload Upload Total Spent Left Speed [2023-03-07T06:03:25.268Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-03-07T06:03:25.886Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T06:03:26.234Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T06:03:26.234Z] + sudo tee /etc/docker/daemon.new [2023-03-07T06:03:26.234Z] { [2023-03-07T06:03:26.234Z] "registry-mirrors": [ [2023-03-07T06:03:26.234Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T06:03:26.234Z] ], [2023-03-07T06:03:26.234Z] "bip": "10.250.0.254/24", [2023-03-07T06:03:26.234Z] "hosts": [ [2023-03-07T06:03:26.234Z] "tcp://0.0.0.0:5555", [2023-03-07T06:03:26.234Z] "unix:///var/run/docker.sock" [2023-03-07T06:03:26.234Z] ], [2023-03-07T06:03:26.234Z] "mtu": 1458, [2023-03-07T06:03:26.234Z] "selinux-enabled": true, [2023-03-07T06:03:26.235Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T06:03:26.235Z] } [Pipeline] sh [2023-03-07T06:03:26.586Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T06:03:26.941Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T06:03:45.275Z] provisioning config files... [2023-03-07T06:03:45.309Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config14086249895297209688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:03:45.684Z] ---> docker-login.sh [2023-03-07T06:03:45.684Z] nexus3.edgexfoundry.org:10001 [2023-03-07T06:03:46.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:03:46.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:03:46.285Z] Configure a credential helper to remove this warning. See [2023-03-07T06:03:46.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:03:46.285Z] [2023-03-07T06:03:46.285Z] Login Succeeded [2023-03-07T06:03:46.285Z] nexus3.edgexfoundry.org:10002 [2023-03-07T06:03:46.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:03:46.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:03:46.823Z] Configure a credential helper to remove this warning. See [2023-03-07T06:03:46.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:03:46.823Z] [2023-03-07T06:03:46.823Z] Login Succeeded [2023-03-07T06:03:46.823Z] nexus3.edgexfoundry.org:10003 [2023-03-07T06:03:47.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:03:47.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:03:47.095Z] Configure a credential helper to remove this warning. See [2023-03-07T06:03:47.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:03:47.095Z] [2023-03-07T06:03:47.095Z] Login Succeeded [2023-03-07T06:03:47.095Z] nexus3.edgexfoundry.org:10004 [2023-03-07T06:03:47.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:03:47.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:03:47.641Z] Configure a credential helper to remove this warning. See [2023-03-07T06:03:47.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:03:47.641Z] [2023-03-07T06:03:47.641Z] Login Succeeded [2023-03-07T06:03:47.641Z] docker.io [2023-03-07T06:03:47.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T06:03:48.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T06:03:48.185Z] Configure a credential helper to remove this warning. See [2023-03-07T06:03:48.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T06:03:48.185Z] [2023-03-07T06:03:48.185Z] Login Succeeded [2023-03-07T06:03:48.185Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T06:03:48.202Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T06:03:48.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T06:03:48.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T06:03:48.556Z] ========================================================= [2023-03-07T06:03:48.557Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T06:03:48.557Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:03:48.931Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T06:03:49.214Z] Sending build context to Docker daemon 5.697MB [2023-03-07T06:03:49.487Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T06:03:49.487Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T06:03:49.772Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T06:03:49.772Z] 9b18e9b68314: Pulling fs layer [2023-03-07T06:03:49.772Z] 35d82f9e3411: Pulling fs layer [2023-03-07T06:03:49.772Z] e16973657156: Pulling fs layer [2023-03-07T06:03:49.772Z] fc693d55d65f: Pulling fs layer [2023-03-07T06:03:49.772Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T06:03:49.772Z] dda99020689f: Pulling fs layer [2023-03-07T06:03:49.772Z] db1c61fa0a46: Pulling fs layer [2023-03-07T06:03:49.772Z] 891c053d2c06: Pulling fs layer [2023-03-07T06:03:49.772Z] 7e9fc2657dce: Waiting [2023-03-07T06:03:49.772Z] dda99020689f: Waiting [2023-03-07T06:03:49.772Z] db1c61fa0a46: Waiting [2023-03-07T06:03:49.772Z] 891c053d2c06: Waiting [2023-03-07T06:03:49.772Z] fc693d55d65f: Waiting [2023-03-07T06:03:49.772Z] e16973657156: Download complete [2023-03-07T06:03:49.772Z] 35d82f9e3411: Download complete [2023-03-07T06:03:49.772Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T06:03:49.772Z] 7e9fc2657dce: Download complete [2023-03-07T06:03:49.772Z] dda99020689f: Verifying Checksum [2023-03-07T06:03:49.772Z] dda99020689f: Download complete [2023-03-07T06:03:49.772Z] 9b18e9b68314: Download complete [2023-03-07T06:03:50.780Z] 9b18e9b68314: Pull complete [2023-03-07T06:03:51.060Z] 891c053d2c06: Verifying Checksum [2023-03-07T06:03:51.060Z] 891c053d2c06: Download complete [2023-03-07T06:03:51.336Z] 35d82f9e3411: Pull complete [2023-03-07T06:03:51.935Z] e16973657156: Pull complete [2023-03-07T06:03:52.533Z] db1c61fa0a46: Verifying Checksum [2023-03-07T06:03:53.127Z] fc693d55d65f: Verifying Checksum [2023-03-07T06:03:53.127Z] fc693d55d65f: Download complete [2023-03-07T06:04:05.607Z] fc693d55d65f: Pull complete [2023-03-07T06:04:05.876Z] 7e9fc2657dce: Pull complete [2023-03-07T06:04:06.145Z] dda99020689f: Pull complete [2023-03-07T06:04:12.848Z] db1c61fa0a46: Pull complete [2023-03-07T06:04:14.282Z] 891c053d2c06: Pull complete [2023-03-07T06:04:14.282Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T06:04:14.282Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T06:04:14.282Z] ---> f96f9c87975a [2023-03-07T06:04:14.282Z] Step 3/10 : ARG MAKE=make build [2023-03-07T06:04:16.301Z] ---> Running in 3bd7f9d2ab83 [2023-03-07T06:04:16.573Z] Removing intermediate container 3bd7f9d2ab83 [2023-03-07T06:04:16.573Z] ---> 95ecef7a7822 [2023-03-07T06:04:16.573Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T06:04:16.573Z] ---> Running in 9d2d855c2700 [2023-03-07T06:04:16.846Z] Removing intermediate container 9d2d855c2700 [2023-03-07T06:04:16.846Z] ---> 97db6c3a3033 [2023-03-07T06:04:16.846Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T06:04:17.120Z] ---> Running in a11d9c9b332d [2023-03-07T06:04:17.388Z] Removing intermediate container a11d9c9b332d [2023-03-07T06:04:17.388Z] ---> 8a8c85062a70 [2023-03-07T06:04:17.388Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T06:04:17.658Z] ---> Running in 766c65c49f78 [2023-03-07T06:04:18.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T06:04:19.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T06:04:20.648Z] OK: 221 MiB in 51 packages [2023-03-07T06:04:21.628Z] Removing intermediate container 766c65c49f78 [2023-03-07T06:04:21.628Z] ---> 2eb31fa60bc6 [2023-03-07T06:04:21.628Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T06:04:21.901Z] ---> f42151b73ce7 [2023-03-07T06:04:21.901Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T06:04:22.175Z] ---> Running in 06d6b1a04368 [2023-03-07T06:05:30.110Z] Removing intermediate container 06d6b1a04368 [2023-03-07T06:05:30.110Z] ---> 533891143be1 [2023-03-07T06:05:30.110Z] Step 9/10 : COPY . . [2023-03-07T06:05:30.110Z] ---> e2e11f685885 [2023-03-07T06:05:30.110Z] Step 10/10 : RUN ${MAKE} [2023-03-07T06:05:30.110Z] ---> Running in 0b7c79a71e54 [2023-03-07T06:05:30.110Z] noop [2023-03-07T06:05:30.110Z] Removing intermediate container 0b7c79a71e54 [2023-03-07T06:05:30.110Z] ---> c25dfd552849 [2023-03-07T06:05:30.110Z] Successfully built c25dfd552849 [2023-03-07T06:05:30.110Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:05:30.476Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T06:05:30.476Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:05:30.695Z] prd-ubuntu20.04-docker-arm64-4c-16g-8512 does not seem to be running inside a container [2023-03-07T06:05:30.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T06:05:32.074Z] $ docker top 43fcb53bb3659f2c14cca0e344cd585b721e1646602d9c5336d554346deeb81d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T06:05:32.941Z] + go version [2023-03-07T06:05:32.941Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T06:05:32.971Z] $ docker stop --time=1 43fcb53bb3659f2c14cca0e344cd585b721e1646602d9c5336d554346deeb81d [2023-03-07T06:05:34.675Z] $ docker rm -f --volumes 43fcb53bb3659f2c14cca0e344cd585b721e1646602d9c5336d554346deeb81d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:05:35.278Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T06:05:35.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:05:35.484Z] prd-ubuntu20.04-docker-arm64-4c-16g-8512 does not seem to be running inside a container [2023-03-07T06:05:35.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T06:05:36.891Z] $ docker top d826660b4418abd3d3dfff45de3730d677e214a3bf964e982c84d3373e939618 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T06:05:37.756Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-07T06:05:38.423Z] + make test [2023-03-07T06:05:38.423Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T06:06:18.798Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T06:08:55.582Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T06:08:55.582Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T06:08:55.582Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T06:08:55.582Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T06:08:55.582Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T06:08:55.582Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.249s coverage: 27.6% of statements [2023-03-07T06:08:55.582Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.329s coverage: 78.9% of statements [2023-03-07T06:08:55.582Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T06:08:58.942Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.451s coverage: 86.0% of statements [2023-03-07T06:08:58.942Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T06:08:58.942Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T06:09:01.537Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.563s coverage: 75.0% of statements [2023-03-07T06:09:01.537Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T06:09:01.537Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.420s coverage: 15.3% of statements [2023-03-07T06:09:01.537Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T06:09:03.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.492s coverage: 65.2% of statements [2023-03-07T06:09:03.489Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T06:09:03.489Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T06:09:05.437Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.431s coverage: 89.2% of statements [2023-03-07T06:09:05.437Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T06:09:05.437Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.274s coverage: 4.6% of statements [2023-03-07T06:09:05.437Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T06:09:06.025Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T06:09:06.025Z] GO111MODULE=on go vet ./... [2023-03-07T06:10:42.719Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T06:10:42.719Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T06:10:42.719Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T06:10:42.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T06:10:42.759Z] $ docker stop --time=1 d826660b4418abd3d3dfff45de3730d677e214a3bf964e982c84d3373e939618 [2023-03-07T06:10:44.616Z] $ docker rm -f --volumes d826660b4418abd3d3dfff45de3730d677e214a3bf964e982c84d3373e939618 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T06:10:46.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T06:10:46.067Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T06:10:46.710Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T06:10:47.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T06:10:47.416Z] + ls -al . [2023-03-07T06:10:47.416Z] total 276 [2023-03-07T06:10:47.416Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 06:05 . [2023-03-07T06:10:47.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 06:03 .. [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 06:03 .dockerignore [2023-03-07T06:10:47.416Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 06:03 .git [2023-03-07T06:10:47.416Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 06:03 .github [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 06:03 .gitignore [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 06:03 .golangci.yml [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 06:03 CHANGELOG.md [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 06:03 GOVERNANCE.md [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 06:03 Jenkinsfile [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 06:03 LICENSE [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 06:03 Makefile [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 06:03 OWNERS.md [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 06:03 README.md [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 06:00 VERSION [2023-03-07T06:10:47.416Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 06:03 bin [2023-03-07T06:10:47.416Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 7 06:09 coverage.out [2023-03-07T06:10:47.416Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 06:03 example [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 06:03 go.mod [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 06:03 go.sum [2023-03-07T06:10:47.416Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 06:03 internal [2023-03-07T06:10:47.416Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 06:03 openapi [2023-03-07T06:10:47.416Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 06:03 pkg [2023-03-07T06:10:47.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 06:03 snap [2023-03-07T06:10:47.416Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:10:47.764Z] + 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=d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a --label arch=arm64 --label version=0.0.0 . [2023-03-07T06:10:48.348Z] Sending build context to Docker daemon 5.809MB [2023-03-07T06:10:48.348Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T06:10:48.348Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T06:10:48.348Z] ---> c25dfd552849 [2023-03-07T06:10:48.348Z] Step 3/23 : ARG MAKE=make build [2023-03-07T06:10:48.348Z] ---> Running in f4f7c87cac0b [2023-03-07T06:10:48.619Z] Removing intermediate container f4f7c87cac0b [2023-03-07T06:10:48.619Z] ---> 9f84368a7e7a [2023-03-07T06:10:48.619Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T06:10:48.889Z] ---> Running in c23f9dd9258c [2023-03-07T06:10:49.156Z] Removing intermediate container c23f9dd9258c [2023-03-07T06:10:49.156Z] ---> 30028e881711 [2023-03-07T06:10:49.156Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T06:10:49.156Z] ---> Running in 521b039a4d0c [2023-03-07T06:10:49.426Z] Removing intermediate container 521b039a4d0c [2023-03-07T06:10:49.426Z] ---> 66205dcb8d9e [2023-03-07T06:10:49.426Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T06:10:49.697Z] ---> Running in 57a379c24831 [2023-03-07T06:10:50.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T06:10:50.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T06:10:52.342Z] OK: 221 MiB in 51 packages [2023-03-07T06:10:52.927Z] Removing intermediate container 57a379c24831 [2023-03-07T06:10:52.927Z] ---> 966cbdfe6b6a [2023-03-07T06:10:52.927Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T06:10:53.893Z] ---> a385cb7315c7 [2023-03-07T06:10:53.893Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T06:10:54.165Z] ---> Running in 7f276a4b0b54 [2023-03-07T06:10:56.765Z] Removing intermediate container 7f276a4b0b54 [2023-03-07T06:10:56.765Z] ---> cac0761e03ae [2023-03-07T06:10:56.765Z] Step 9/23 : COPY . . [2023-03-07T06:10:58.180Z] ---> 221b3f19b793 [2023-03-07T06:10:58.180Z] Step 10/23 : RUN ${MAKE} [2023-03-07T06:10:58.180Z] ---> Running in 22a87cefe05f [2023-03-07T06:10:59.148Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T06:13:20.892Z] Removing intermediate container 22a87cefe05f [2023-03-07T06:13:20.892Z] ---> 472c68a73bb7 [2023-03-07T06:13:20.892Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T06:13:20.892Z] 3.16: Pulling from library/alpine [2023-03-07T06:13:20.892Z] 3760b48202b3: Pulling fs layer [2023-03-07T06:13:20.892Z] 3760b48202b3: Verifying Checksum [2023-03-07T06:13:20.892Z] 3760b48202b3: Download complete [2023-03-07T06:13:20.892Z] 3760b48202b3: Pull complete [2023-03-07T06:13:20.892Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T06:13:20.892Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T06:13:20.892Z] ---> 4c81e5bf8899 [2023-03-07T06:13:20.892Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T06:13:20.892Z] ---> Running in 38922bd39907 [2023-03-07T06:13:20.892Z] Removing intermediate container 38922bd39907 [2023-03-07T06:13:20.892Z] ---> 2481bd062e32 [2023-03-07T06:13:20.892Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T06:13:20.892Z] ---> Running in 4edb60548165 [2023-03-07T06:13:20.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T06:13:20.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T06:13:20.892Z] OK: 5 MiB in 14 packages [2023-03-07T06:13:20.892Z] Removing intermediate container 4edb60548165 [2023-03-07T06:13:20.892Z] ---> 460b5a8e0773 [2023-03-07T06:13:20.892Z] Step 14/23 : WORKDIR / [2023-03-07T06:13:20.892Z] ---> Running in 2b0725ded583 [2023-03-07T06:13:20.892Z] Removing intermediate container 2b0725ded583 [2023-03-07T06:13:20.892Z] ---> c2118475b9c2 [2023-03-07T06:13:20.892Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T06:13:20.892Z] ---> c51919bbdb1a [2023-03-07T06:13:20.892Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T06:13:20.892Z] ---> bd4661adcdca [2023-03-07T06:13:20.892Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T06:13:20.892Z] ---> 69a0fc4aa47c [2023-03-07T06:13:20.892Z] Step 18/23 : EXPOSE 59999 [2023-03-07T06:13:20.892Z] ---> Running in 108ae4ff7924 [2023-03-07T06:13:20.892Z] Removing intermediate container 108ae4ff7924 [2023-03-07T06:13:20.892Z] ---> e4b9e7127879 [2023-03-07T06:13:20.892Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T06:13:20.892Z] ---> Running in d666f7ad40cf [2023-03-07T06:13:20.892Z] Removing intermediate container d666f7ad40cf [2023-03-07T06:13:20.892Z] ---> 5b67b6b6ce94 [2023-03-07T06:13:20.892Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T06:13:20.892Z] ---> Running in bb0b4009fdd8 [2023-03-07T06:13:20.892Z] Removing intermediate container bb0b4009fdd8 [2023-03-07T06:13:20.892Z] ---> eab431ba10b8 [2023-03-07T06:13:20.892Z] Step 21/23 : LABEL arch=arm64 [2023-03-07T06:13:20.892Z] ---> Running in 26ae3d247c42 [2023-03-07T06:13:20.892Z] Removing intermediate container 26ae3d247c42 [2023-03-07T06:13:20.892Z] ---> fc4c20cd4f08 [2023-03-07T06:13:20.892Z] Step 22/23 : LABEL git_sha=d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a [2023-03-07T06:13:20.892Z] ---> Running in e8b96601c4b5 [2023-03-07T06:13:20.892Z] Removing intermediate container e8b96601c4b5 [2023-03-07T06:13:20.892Z] ---> 6cd9be507cbb [2023-03-07T06:13:20.892Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T06:13:20.892Z] ---> Running in 4ca6633ccc07 [2023-03-07T06:13:20.892Z] Removing intermediate container 4ca6633ccc07 [2023-03-07T06:13:20.892Z] ---> 90ba241e67f5 [2023-03-07T06:13:20.892Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T06:13:20.892Z] Successfully built 90ba241e67f5 [2023-03-07T06:13:20.892Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:13:21.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T06:13:21.324Z] [2023-03-07T06:13:21.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:13:21.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T06:13:21.666Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T06:13:21.666Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T06:13:21.666Z] 04944245beec: Pulling fs layer [2023-03-07T06:13:21.666Z] 699f458cf7ca: Pulling fs layer [2023-03-07T06:13:21.666Z] 765212b225bb: Pulling fs layer [2023-03-07T06:13:21.666Z] f23df028b6ca: Pulling fs layer [2023-03-07T06:13:21.666Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T06:13:21.666Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T06:13:21.666Z] 765212b225bb: Waiting [2023-03-07T06:13:21.666Z] f23df028b6ca: Waiting [2023-03-07T06:13:21.666Z] d65c8cfc05b1: Waiting [2023-03-07T06:13:21.666Z] 2437ff75d9bd: Waiting [2023-03-07T06:13:21.935Z] 04944245beec: Verifying Checksum [2023-03-07T06:13:21.935Z] 04944245beec: Download complete [2023-03-07T06:13:21.935Z] 765212b225bb: Verifying Checksum [2023-03-07T06:13:21.935Z] 765212b225bb: Download complete [2023-03-07T06:13:21.935Z] f23df028b6ca: Verifying Checksum [2023-03-07T06:13:21.935Z] f23df028b6ca: Download complete [2023-03-07T06:13:21.935Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T06:13:21.935Z] d65c8cfc05b1: Download complete [2023-03-07T06:13:22.206Z] 699f458cf7ca: Verifying Checksum [2023-03-07T06:13:22.206Z] 699f458cf7ca: Download complete [2023-03-07T06:13:22.476Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T06:13:22.476Z] 8998bd30e6a1: Download complete [2023-03-07T06:13:25.219Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T06:13:25.219Z] 2437ff75d9bd: Download complete [2023-03-07T06:13:27.313Z] 8998bd30e6a1: Pull complete [2023-03-07T06:13:27.581Z] 04944245beec: Pull complete [2023-03-07T06:13:28.995Z] 699f458cf7ca: Pull complete [2023-03-07T06:13:31.581Z] 765212b225bb: Pull complete [2023-03-07T06:13:32.165Z] f23df028b6ca: Pull complete [2023-03-07T06:13:32.434Z] d65c8cfc05b1: Pull complete [2023-03-07T06:13:47.441Z] 2437ff75d9bd: Pull complete [2023-03-07T06:13:47.441Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T06:13:47.441Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T06:13:47.441Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:13:47.621Z] prd-ubuntu20.04-docker-arm64-4c-16g-8512 does not seem to be running inside a container [2023-03-07T06:13:47.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-07T06:13:50.340Z] $ docker top 7ebff5d574159a21c3ed3e42584fc684c209a9b70275f530afb1f5aa4f0d127e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:13:51.179Z] ---> job-cost.sh [2023-03-07T06:13:51.179Z] lf-activate-venv: SKIPPING [2023-03-07T06:13:51.179Z] INFO: No Stack... [2023-03-07T06:13:51.765Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T06:13:52.347Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T06:13:52.680Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-03-07T06:13:52.680Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T06:13:53.016Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1362-2-stack-cost] [2023-03-07T06:13:53.022Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1362-2-stack-cost] did not exist. Created. [2023-03-07T06:13:53.022Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1362-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T06:13:53.678Z] /w/workspace/device-sdk-go/2@tmp/durable-d79a0be1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T06:13:54.013Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T06:13:54.302Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T06:13:54.372Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T06:13:54.378Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1362-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T06:13:54.402Z] $ docker stop --time=1 7ebff5d574159a21c3ed3e42584fc684c209a9b70275f530afb1f5aa4f0d127e [2023-03-07T06:13:56.168Z] $ docker rm -f --volumes 7ebff5d574159a21c3ed3e42584fc684c209a9b70275f530afb1f5aa4f0d127e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-07T06:13:56.546Z] provisioning config files... [2023-03-07T06:13:56.552Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/config3558711075026528600tmp [Pipeline] { [Pipeline] sh [2023-03-07T06:13:56.841Z] + set +x [2023-03-07T06:13:56.841Z] + curl -s https://codecov.io/bash [2023-03-07T06:13:56.841Z] + bash -s -- [2023-03-07T06:13:56.841Z] [2023-03-07T06:13:56.841Z] _____ _ [2023-03-07T06:13:56.841Z] / ____| | | [2023-03-07T06:13:56.841Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T06:13:56.841Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T06:13:56.841Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T06:13:56.841Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T06:13:56.841Z] Bash-1.0.6 [2023-03-07T06:13:56.841Z] [2023-03-07T06:13:56.841Z] [2023-03-07T06:13:56.841Z] ==> git version 2.25.1 found [2023-03-07T06:13:56.841Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-07T06:13:56.841Z] Release-Date: 2020-01-08 [2023-03-07T06:13:56.841Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-07T06:13:56.841Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T06:13:56.841Z] ==> Jenkins CI detected. [2023-03-07T06:13:56.841Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1362 [2023-03-07T06:13:56.841Z] project root: . [2023-03-07T06:13:56.841Z] --> token set from env [2023-03-07T06:13:56.841Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T06:13:56.841Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T06:13:56.841Z] ==> Python coveragepy not found [2023-03-07T06:13:56.841Z] ==> Searching for coverage reports in: [2023-03-07T06:13:56.841Z] + . [2023-03-07T06:13:56.841Z] -> Found 1 reports [2023-03-07T06:13:56.841Z] ==> Detecting git/mercurial file structure [2023-03-07T06:13:56.841Z] ==> Reading reports [2023-03-07T06:13:56.841Z] + ./coverage.out bytes=111243 [2023-03-07T06:13:56.841Z] ==> Appending adjustments [2023-03-07T06:13:56.841Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T06:13:57.100Z] + Found adjustments [2023-03-07T06:13:57.100Z] ==> Gzipping contents [2023-03-07T06:13:57.100Z] 16K /tmp/codecov.H2fjtI.gz [2023-03-07T06:13:57.100Z] ==> Uploading reports [2023-03-07T06:13:57.100Z] url: https://codecov.io [2023-03-07T06:13:57.100Z] query: branch=PR-1362&commit=d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1362%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1362&job=&cmd_args= [2023-03-07T06:13:57.100Z] -> Pinging Codecov [2023-03-07T06:13:57.100Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1362&commit=d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1362%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1362&job=&cmd_args= [2023-03-07T06:13:57.358Z] -> Uploading to [2023-03-07T06:13:57.358Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a/87c9e3f5-751d-4cf5-a1b5-d3bd9801a9b1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T061357Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad05d322d18fef557fb25179fa4c496813fdd7e7dfe0bc0c0c1a47ef82dd4e49 [2023-03-07T06:13:57.358Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T06:13:57.358Z] Dload Upload Total Spent Left Speed [2023-03-07T06:13:57.617Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15417 0 0 100 15417 0 58397 --:--:-- --:--:-- --:--:-- 58397 [2023-03-07T06:13:57.617Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d45a938b37ea80fbf57ab10cda99a8a5c49a7c2a [Pipeline] } [2023-03-07T06:13:57.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-07T06:13:58.297Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives ] [2023-03-07T06:13:58.297Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives [2023-03-07T06:13:58.297Z] total 16 [2023-03-07T06:13:58.297Z] drwxr-xr-x 3 root root 4096 Mar 7 06:02 . [2023-03-07T06:13:58.297Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 06:02 .. [2023-03-07T06:13:58.297Z] drwxr-xr-x 2 root root 4096 Mar 7 06:02 cost [2023-03-07T06:13:58.297Z] -rw-r--r-- 1 root root 86 Mar 7 06:02 cost.csv [2023-03-07T06:13:58.297Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives [2023-03-07T06:13:58.297Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives [2023-03-07T06:13:58.297Z] total 16 [2023-03-07T06:13:58.297Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 06:02 . [2023-03-07T06:13:58.297Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 06:02 .. [2023-03-07T06:13:58.297Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 06:02 cost [2023-03-07T06:13:58.297Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:13:58.585Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:13:59.444Z] ---> package-listing.sh [2023-03-07T06:13:59.444Z] ++ facter osfamily [2023-03-07T06:13:59.444Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T06:13:59.703Z] + OS_FAMILY=debian [2023-03-07T06:13:59.703Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1362 [2023-03-07T06:13:59.703Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T06:13:59.703Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T06:13:59.703Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T06:13:59.703Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T06:13:59.703Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1362 ']' [2023-03-07T06:13:59.703Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T06:13:59.703Z] + case "${OS_FAMILY}" in [2023-03-07T06:13:59.703Z] + dpkg -l [2023-03-07T06:13:59.703Z] + grep '^ii' [2023-03-07T06:13:59.703Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T06:13:59.703Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T06:13:59.703Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T06:13:59.703Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1362 ']' [2023-03-07T06:13:59.703Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives/ [2023-03-07T06:13:59.703Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives/ [Pipeline] echo [2023-03-07T06:13:59.715Z] 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-1362/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T06:14:00.001Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T06:14:00.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T06:14:00.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T06:14:00.620Z] prd-ubuntu20.04-docker-8c-8g-8506 does not seem to be running inside a container [2023-03-07T06:14:00.654Z] $ 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-1362/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-1362 -v /w/workspace/gexfoundry_device-sdk-go_PR-1362:/w/workspace/gexfoundry_device-sdk-go_PR-1362:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1362@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-03-07T06:14:00.843Z] $ docker top 5bf0edb73497d1adfef2f889d79ca105c894ca8a1aa6e68b248dc7dcd12bddd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T06:14:01.180Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T06:14:01.462Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T06:14:01.746Z] + ls /var/log/sa-host [2023-03-07T06:14:01.746Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T06:14:01.824Z] provisioning config files... [2023-03-07T06:14:01.832Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/config13925277463852437325tmp [Pipeline] { [Pipeline] echo [2023-03-07T06:14:01.844Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:14:02.126Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T06:14:02.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:14:02.459Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T06:14:02.467Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:14:02.748Z] ---> sudo-logs.sh [2023-03-07T06:14:02.748Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T06:14:02.777Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:14:03.059Z] ---> job-cost.sh [2023-03-07T06:14:03.059Z] lf-activate-venv: SKIPPING [2023-03-07T06:14:03.059Z] DEBUG: total: 0.2199999988079071 [2023-03-07T06:14:03.059Z] INFO: Retrieving Stack Cost... [2023-03-07T06:14:03.628Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T06:14:03.885Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T06:14:03.896Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T06:14:04.182Z] ---> logs-deploy.sh [2023-03-07T06:14:04.182Z] lf-activate-venv: SKIPPING [2023-03-07T06:14:04.182Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1362/2 [2023-03-07T06:14:04.182Z] INFO: archiving workspace using pattern(s): [2023-03-07T06:14:05.117Z] Archives upload complete. [2023-03-07T06:14:05.117Z] INFO: archiving logs to Nexus