Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-sdk-go Loading trusted files from base branch main at cf150bd1006c505b2559d8970edbe52dd5fe7567 rather than 408b6968c03ac3e1d14e96eb72eae9fe4493d621 Obtained Jenkinsfile from cf150bd1006c505b2559d8970edbe52dd5fe7567 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-ssh6621526837178275616.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-ssh12694781104168859364.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-1321/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-1321/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4011645798705294280.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-ssh16534921286820389073.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-1321/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-1321/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6791479827678731200.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-5385’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-6115’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6167’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6168’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6173’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6170’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6171’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6176 in /w/workspace/gexfoundry_device-sdk-go_PR-1321 [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-1321 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 408b6968c03ac3e1d14e96eb72eae9fe4493d621 Merge succeeded, producing 4c6fd1a2c11d2952693f7815207ba2c278eff464 Checking out Revision 4c6fd1a2c11d2952693f7815207ba2c278eff464 (PR-1321) > 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/1321/head:refs/remotes/origin/PR-1321 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c6fd1a2c11d2952693f7815207ba2c278eff464 # timeout=10 Commit message: "Merge commit 'cf150bd1006c505b2559d8970edbe52dd5fe7567' into HEAD" > git rev-list --no-walk 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T18:42:01.040Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T18:42:01.087Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T18:42:01.102Z] ========================================================= [2023-02-15T18:42:01.102Z] EdgeX Global Pipelines Version Info [2023-02-15T18:42:01.102Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:42:01.811Z] ------------------- [2023-02-15T18:42:01.811Z] stable info: [2023-02-15T18:42:01.811Z] ------------------- [2023-02-15T18:42:01.811Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T18:42:01.811Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:42:01.811Z] Message: update stable to v1.0.244 [2023-02-15T18:42:02.749Z] ------------------- [2023-02-15T18:42:02.749Z] experimental info: [2023-02-15T18:42:02.749Z] ------------------- [2023-02-15T18:42:02.749Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T18:42:02.749Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T18:42:02.749Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T18:42:02.907Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-15T18:42:02.918Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-15T18:42:02.933Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T18:42:02.945Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T18:42:02.957Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T18:42:02.971Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T18:42:02.979Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T18:42:02.987Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-15T18:42:02.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T18:42:03.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T18:42:03.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T18:42:03.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-15T18:42:03.051Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T18:42:03.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T18:42:03.080Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T18:42:03.094Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:42:03.107Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:42:03.124Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T18:42:03.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T18:42:03.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T18:42:03.155Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-15T18:42:03.168Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-15T18:42:03.180Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T18:42:03.194Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T18:42:03.212Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T18:42:03.224Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T18:42:03.243Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T18:42:03.257Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1321 [Pipeline] echo [2023-02-15T18:42:03.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1321 [Pipeline] echo [2023-02-15T18:42:03.281Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1321 [Pipeline] echo [2023-02-15T18:42:03.292Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c6fd1a2c11d2952693f7815207ba2c278eff464 [Pipeline] echo [2023-02-15T18:42:03.304Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c6fd1a [Pipeline] echo [2023-02-15T18:42:03.321Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:42:03.362Z] provisioning config files... [2023-02-15T18:42:03.373Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config14123775335031479501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:42:03.671Z] ---> docker-login.sh [2023-02-15T18:42:03.671Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:42:03.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:03.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:03.930Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:03.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:03.930Z] [2023-02-15T18:42:03.930Z] Login Succeeded [2023-02-15T18:42:03.930Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:42:04.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:04.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:04.188Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:04.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:04.188Z] [2023-02-15T18:42:04.188Z] Login Succeeded [2023-02-15T18:42:04.188Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:42:04.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:04.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:04.188Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:04.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:04.188Z] [2023-02-15T18:42:04.188Z] Login Succeeded [2023-02-15T18:42:04.188Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:42:04.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:04.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:04.447Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:04.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:04.447Z] [2023-02-15T18:42:04.447Z] Login Succeeded [2023-02-15T18:42:04.447Z] docker.io [2023-02-15T18:42:04.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:04.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:04.707Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:04.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:04.707Z] [2023-02-15T18:42:04.707Z] Login Succeeded [2023-02-15T18:42:04.707Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:42:04.714Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T18:42:05.083Z] + git rev-list -1 --merges 4c6fd1a2c11d2952693f7815207ba2c278eff464~1..4c6fd1a2c11d2952693f7815207ba2c278eff464 [Pipeline] echo [2023-02-15T18:42:05.144Z] -----------> git rev-list -1 --merges 4c6fd1a2c11d2952693f7815207ba2c278eff464~1..4c6fd1a2c11d2952693f7815207ba2c278eff464 4c6fd1a2c11d2952693f7815207ba2c278eff464 [2023-02-15T18:42:05.145Z] 4c6fd1a2c11d2952693f7815207ba2c278eff464 [false] [Pipeline] sh [2023-02-15T18:42:05.433Z] + git log --format=format:%s -1 4c6fd1a2c11d2952693f7815207ba2c278eff464 [Pipeline] echo [2023-02-15T18:42:05.449Z] ========================================================= [2023-02-15T18:42:05.449Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T18:42:05.449Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:42:05.801Z] + git log --format=format:%s -1 4c6fd1a2c11d2952693f7815207ba2c278eff464 [Pipeline] echo [2023-02-15T18:42:05.820Z] [semverPrep] GIT_COMMIT: 4c6fd1a2c11d2952693f7815207ba2c278eff464, Commit Message: Merge commit 'cf150bd1006c505b2559d8970edbe52dd5fe7567' into HEAD [Pipeline] echo [2023-02-15T18:42:05.827Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T18:42:06.167Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T18:42:06.167Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T18:42:06.167Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T18:42:06.167Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T18:42:06.167Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T18:42:06.167Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T18:42:06.167Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:06.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:42:06.528Z] [2023-02-15T18:42:06.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:06.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:42:06.837Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T18:42:06.837Z] b85a868b505f: Pulling fs layer [2023-02-15T18:42:06.837Z] e2be974225ed: Pulling fs layer [2023-02-15T18:42:06.837Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T18:42:06.837Z] 988bab9f4d93: Pulling fs layer [2023-02-15T18:42:06.837Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T18:42:06.837Z] eaf3925da568: Pulling fs layer [2023-02-15T18:42:06.837Z] bab4dde63d76: Pulling fs layer [2023-02-15T18:42:06.837Z] bde34c3a00c8: Pulling fs layer [2023-02-15T18:42:06.837Z] b352a97aabf1: Pulling fs layer [2023-02-15T18:42:06.837Z] 4872d77fe225: Pulling fs layer [2023-02-15T18:42:06.837Z] 5851b861e8e6: Pulling fs layer [2023-02-15T18:42:06.837Z] 1469e6f7b9e6: Waiting [2023-02-15T18:42:06.837Z] eaf3925da568: Waiting [2023-02-15T18:42:06.837Z] bab4dde63d76: Waiting [2023-02-15T18:42:06.837Z] bde34c3a00c8: Waiting [2023-02-15T18:42:06.837Z] b352a97aabf1: Waiting [2023-02-15T18:42:06.837Z] 4872d77fe225: Waiting [2023-02-15T18:42:06.837Z] 5851b861e8e6: Waiting [2023-02-15T18:42:06.837Z] 988bab9f4d93: Waiting [2023-02-15T18:42:06.837Z] e2be974225ed: Download complete [2023-02-15T18:42:06.837Z] 988bab9f4d93: Download complete [2023-02-15T18:42:07.105Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T18:42:07.105Z] 1469e6f7b9e6: Download complete [2023-02-15T18:42:07.105Z] eaf3925da568: Verifying Checksum [2023-02-15T18:42:07.105Z] eaf3925da568: Download complete [2023-02-15T18:42:07.373Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T18:42:07.373Z] 339a4e72a1f5: Download complete [2023-02-15T18:42:07.373Z] bde34c3a00c8: Verifying Checksum [2023-02-15T18:42:07.373Z] bde34c3a00c8: Download complete [2023-02-15T18:42:07.373Z] b352a97aabf1: Download complete [2023-02-15T18:42:07.373Z] 4872d77fe225: Verifying Checksum [2023-02-15T18:42:07.373Z] 4872d77fe225: Download complete [2023-02-15T18:42:07.374Z] 5851b861e8e6: Verifying Checksum [2023-02-15T18:42:07.374Z] 5851b861e8e6: Download complete [2023-02-15T18:42:07.645Z] b85a868b505f: Verifying Checksum [2023-02-15T18:42:07.645Z] b85a868b505f: Download complete [2023-02-15T18:42:07.906Z] bab4dde63d76: Verifying Checksum [2023-02-15T18:42:07.906Z] bab4dde63d76: Download complete [2023-02-15T18:42:08.845Z] b85a868b505f: Pull complete [2023-02-15T18:42:08.845Z] e2be974225ed: Pull complete [2023-02-15T18:42:09.418Z] 339a4e72a1f5: Pull complete [2023-02-15T18:42:09.418Z] 988bab9f4d93: Pull complete [2023-02-15T18:42:09.986Z] 1469e6f7b9e6: Pull complete [2023-02-15T18:42:09.986Z] eaf3925da568: Pull complete [2023-02-15T18:42:11.896Z] bab4dde63d76: Pull complete [2023-02-15T18:42:12.466Z] bde34c3a00c8: Pull complete [2023-02-15T18:42:12.728Z] b352a97aabf1: Pull complete [2023-02-15T18:42:12.987Z] 4872d77fe225: Pull complete [2023-02-15T18:42:13.247Z] 5851b861e8e6: Pull complete [2023-02-15T18:42:13.247Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T18:42:13.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T18:42:13.247Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:42:13.337Z] prd-ubuntu20.04-docker-8c-8g-6176 does not seem to be running inside a container [2023-02-15T18:42:13.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@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-devops/py-git-semver:0.1.4 cat [2023-02-15T18:42:17.054Z] $ docker top a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 -eo pid,comm [2023-02-15T18:42:17.112Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-15T18:42:17.112Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T18:42:17.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:42:17.148Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:42:17.259Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:42:17.260Z] $ docker exec a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 ssh-agent [2023-02-15T18:42:17.370Z] SSH_AUTH_SOCK=/tmp/ssh-SYb804VQSueO/agent.33 [2023-02-15T18:42:17.370Z] SSH_AGENT_PID=39 [2023-02-15T18:42:17.377Z] Running ssh-add (command line suppressed) [2023-02-15T18:42:17.496Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_1604964605328780654.key (/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_1604964605328780654.key) [2023-02-15T18:42:17.512Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:42:17.804Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T18:42:17.820Z] $ docker exec --env ******** --env ******** a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 ssh-agent -k [2023-02-15T18:42:17.924Z] unset SSH_AUTH_SOCK; [2023-02-15T18:42:17.925Z] unset SSH_AGENT_PID; [2023-02-15T18:42:17.925Z] echo Agent pid 39 killed; [2023-02-15T18:42:17.935Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T18:42:17.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T18:42:17.961Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T18:42:18.072Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T18:42:18.073Z] $ docker exec a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 ssh-agent [2023-02-15T18:42:18.184Z] SSH_AUTH_SOCK=/tmp/ssh-KfSymZEJxDva/agent.70 [2023-02-15T18:42:18.184Z] SSH_AGENT_PID=76 [2023-02-15T18:42:18.189Z] Running ssh-add (command line suppressed) [2023-02-15T18:42:18.314Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_15499690864295823470.key (/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/private_key_15499690864295823470.key) [2023-02-15T18:42:18.330Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T18:42:18.617Z] + git semver init [2023-02-15T18:42:18.879Z] 2023-02-15 18:42:18,846 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T18:42:18.879Z] 2023-02-15 18:42:18,848 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver [2023-02-15T18:42:18.879Z] 2023-02-15 18:42:18,849 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver [2023-02-15T18:42:18.879Z] 2023-02-15 18:42:18,849 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1321, universal_newlines=False, shell=None, istream=None) [2023-02-15T18:42:20.259Z] 2023-02-15 18:42:20,050 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.git/info/exclude [2023-02-15T18:42:20.259Z] 2023-02-15 18:42:20,051 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver/PR-1321 with force:False [2023-02-15T18:42:20.259Z] 2023-02-15 18:42:20,051 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver/PR-1321 [2023-02-15T18:42:20.259Z] 2023-02-15 18:42:20,056 [execute] INFO git cat-file --batch-check [2023-02-15T18:42:20.259Z] 2023-02-15 18:42:20,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:42:20.259Z] 2023-02-15 18:42:20,063 [execute] INFO git cat-file --batch [2023-02-15T18:42:20.259Z] 2023-02-15 18:42:20,063 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T18:42:20.259Z] 2023-02-15 18:42:20,068 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1321/.semver/PR-1321 [2023-02-15T18:42:20.259Z] 0.0.0 [Pipeline] } [2023-02-15T18:42:20.268Z] $ docker exec --env ******** --env ******** a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 ssh-agent -k [2023-02-15T18:42:20.372Z] unset SSH_AUTH_SOCK; [2023-02-15T18:42:20.373Z] unset SSH_AGENT_PID; [2023-02-15T18:42:20.373Z] echo Agent pid 76 killed; [2023-02-15T18:42:20.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T18:42:20.698Z] + git semver [Pipeline] } [2023-02-15T18:42:20.971Z] $ docker stop --time=1 a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 [2023-02-15T18:42:24.402Z] $ docker rm -f --volumes a8d01ba1db1bfb98ac2ee3ee226ec9fecd4e32bb4df6432e87ce24dfe79648c4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:42:24.937Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T18:42:25.279Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T18:42:25.282Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:42:25.402Z] provisioning config files... [2023-02-15T18:42:25.411Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config11930543406117005302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:42:25.714Z] ---> docker-login.sh [2023-02-15T18:42:25.714Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:42:25.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:25.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:25.714Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:25.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:25.714Z] [2023-02-15T18:42:25.714Z] Login Succeeded [2023-02-15T18:42:25.714Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:42:25.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:25.714Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:25.714Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:25.714Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:25.714Z] [2023-02-15T18:42:25.714Z] Login Succeeded [2023-02-15T18:42:25.714Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:42:26.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:26.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:26.005Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:26.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:26.005Z] [2023-02-15T18:42:26.005Z] Login Succeeded [2023-02-15T18:42:26.005Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:42:26.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:27.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:27.386Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:27.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:27.386Z] [2023-02-15T18:42:27.386Z] Login Succeeded [2023-02-15T18:42:27.386Z] docker.io [2023-02-15T18:42:27.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:42:27.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:42:27.386Z] Configure a credential helper to remove this warning. See [2023-02-15T18:42:27.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:42:27.386Z] [2023-02-15T18:42:27.386Z] Login Succeeded [2023-02-15T18:42:27.386Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:42:27.393Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:42:27.448Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:42:27.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:42:27.468Z] ========================================================= [2023-02-15T18:42:27.468Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T18:42:27.468Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:42:27.777Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:42:27.777Z] Sending build context to Docker daemon 10.5MB [2023-02-15T18:42:27.777Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:42:27.777Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T18:42:29.160Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T18:42:29.160Z] 213ec9aee27d: Pulling fs layer [2023-02-15T18:42:29.160Z] 4583459ba037: Pulling fs layer [2023-02-15T18:42:29.160Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T18:42:29.160Z] 53926ce57604: Pulling fs layer [2023-02-15T18:42:29.160Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T18:42:29.160Z] 22ff95d597cd: Pulling fs layer [2023-02-15T18:42:29.160Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T18:42:29.160Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T18:42:29.160Z] a7acece74701: Pulling fs layer [2023-02-15T18:42:29.160Z] 22ff95d597cd: Waiting [2023-02-15T18:42:29.160Z] 12d6caf4c0d1: Waiting [2023-02-15T18:42:29.160Z] 96b7cbca73a9: Waiting [2023-02-15T18:42:29.160Z] a7acece74701: Waiting [2023-02-15T18:42:29.160Z] 53926ce57604: Waiting [2023-02-15T18:42:29.160Z] 21b2b0c7a3f4: Waiting [2023-02-15T18:42:29.160Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T18:42:29.160Z] 93c1e223e6f2: Download complete [2023-02-15T18:42:29.160Z] 4583459ba037: Verifying Checksum [2023-02-15T18:42:29.160Z] 4583459ba037: Download complete [2023-02-15T18:42:29.160Z] 21b2b0c7a3f4: Download complete [2023-02-15T18:42:29.160Z] 22ff95d597cd: Verifying Checksum [2023-02-15T18:42:29.160Z] 22ff95d597cd: Download complete [2023-02-15T18:42:29.449Z] 213ec9aee27d: Verifying Checksum [2023-02-15T18:42:29.449Z] 213ec9aee27d: Download complete [2023-02-15T18:42:29.449Z] 12d6caf4c0d1: Verifying Checksum [2023-02-15T18:42:29.449Z] 12d6caf4c0d1: Download complete [2023-02-15T18:42:30.692Z] 213ec9aee27d: Pull complete [2023-02-15T18:42:31.134Z] a7acece74701: Verifying Checksum [2023-02-15T18:42:31.134Z] a7acece74701: Download complete [2023-02-15T18:42:31.134Z] 53926ce57604: Verifying Checksum [2023-02-15T18:42:31.134Z] 53926ce57604: Download complete [2023-02-15T18:42:31.401Z] 96b7cbca73a9: Download complete [2023-02-15T18:42:31.969Z] 4583459ba037: Pull complete [2023-02-15T18:42:32.227Z] 93c1e223e6f2: Pull complete [2023-02-15T18:42:36.412Z] 53926ce57604: Pull complete [2023-02-15T18:42:36.412Z] 21b2b0c7a3f4: Pull complete [2023-02-15T18:42:36.977Z] 22ff95d597cd: Pull complete [2023-02-15T18:42:37.544Z] 12d6caf4c0d1: Pull complete [2023-02-15T18:42:40.095Z] 96b7cbca73a9: Pull complete [2023-02-15T18:42:40.371Z] Still waiting to schedule task [2023-02-15T18:42:40.371Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6177’ [2023-02-15T18:42:41.028Z] a7acece74701: Pull complete [2023-02-15T18:42:41.028Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T18:42:41.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T18:42:41.028Z] ---> db6d94c90886 [2023-02-15T18:42:41.028Z] Step 3/10 : ARG MAKE=make build [2023-02-15T18:42:55.961Z] ---> Running in d35e49d81b82 [2023-02-15T18:42:55.961Z] Removing intermediate container d35e49d81b82 [2023-02-15T18:42:55.961Z] ---> 6a251d92606b [2023-02-15T18:42:55.961Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T18:42:55.961Z] ---> Running in 75284e88c3df [2023-02-15T18:42:55.961Z] Removing intermediate container 75284e88c3df [2023-02-15T18:42:55.961Z] ---> a92f6a521df9 [2023-02-15T18:42:55.961Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T18:42:55.961Z] ---> Running in 26b6e34d955a [2023-02-15T18:42:55.961Z] Removing intermediate container 26b6e34d955a [2023-02-15T18:42:55.961Z] ---> ca77fb0dc94d [2023-02-15T18:42:55.961Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T18:42:55.961Z] ---> Running in ecc665ef47e0 [2023-02-15T18:42:55.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:42:55.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:42:55.961Z] OK: 211 MiB in 51 packages [2023-02-15T18:42:55.961Z] Removing intermediate container ecc665ef47e0 [2023-02-15T18:42:55.961Z] ---> 62f6c9b5d456 [2023-02-15T18:42:55.961Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T18:42:55.961Z] ---> 151aacf0f7fc [2023-02-15T18:42:55.961Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:42:55.961Z] ---> Running in 8b5f1fd5cd98 [2023-02-15T18:43:52.232Z] Removing intermediate container 8b5f1fd5cd98 [2023-02-15T18:43:52.232Z] ---> d4fe9665bfa1 [2023-02-15T18:43:52.232Z] Step 9/10 : COPY . . [2023-02-15T18:43:52.232Z] ---> 64c48634c95e [2023-02-15T18:43:52.232Z] Step 10/10 : RUN ${MAKE} [2023-02-15T18:43:52.232Z] ---> Running in 55cbf1e8a58c [2023-02-15T18:43:52.232Z] noop [2023-02-15T18:43:52.232Z] Removing intermediate container 55cbf1e8a58c [2023-02-15T18:43:52.232Z] ---> ffdacd5c666c [2023-02-15T18:43:52.232Z] Successfully built ffdacd5c666c [2023-02-15T18:43:52.232Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:52.553Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:43:52.553Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:43:52.632Z] prd-ubuntu20.04-docker-8c-8g-6176 does not seem to be running inside a container [2023-02-15T18:43:52.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T18:43:53.146Z] $ docker top 041a849e1ef3a7d894962872ebba90a6addd1e21822229fb83006f2cfe2641bb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:43:53.480Z] + go version [2023-02-15T18:43:53.480Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T18:43:53.491Z] $ docker stop --time=1 041a849e1ef3a7d894962872ebba90a6addd1e21822229fb83006f2cfe2641bb [2023-02-15T18:43:54.763Z] $ docker rm -f --volumes 041a849e1ef3a7d894962872ebba90a6addd1e21822229fb83006f2cfe2641bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:43:55.152Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T18:43:55.152Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:43:55.224Z] prd-ubuntu20.04-docker-8c-8g-6176 does not seem to be running inside a container [2023-02-15T18:43:55.259Z] $ 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-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T18:43:55.612Z] $ docker top 10bf6841dd5238b7ccfe81751ba514ddc4229e17a3780f4be5cb7e5026f8dee3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:43:55.950Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1321 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:43:56.254Z] + make test [2023-02-15T18:43:56.254Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T18:44:02.816Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T18:44:15.006Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.065s coverage: 27.6% of statements [2023-02-15T18:44:15.006Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 78.9% of statements [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T18:44:15.006Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.106s coverage: 77.8% of statements [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T18:44:15.006Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.116s coverage: 77.0% of statements [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T18:44:15.006Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.096s coverage: 65.2% of statements [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T18:44:15.006Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.766s coverage: 89.2% of statements [2023-02-15T18:44:15.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T18:44:15.265Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements [2023-02-15T18:44:15.265Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T18:44:30.136Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-15T18:44:30.136Z] GO111MODULE=on go vet ./... [2023-02-15T18:44:32.666Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T18:44:32.666Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T18:44:32.666Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T18:44:32.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T18:44:32.697Z] $ docker stop --time=1 10bf6841dd5238b7ccfe81751ba514ddc4229e17a3780f4be5cb7e5026f8dee3 [2023-02-15T18:44:42.664Z] $ docker rm -f --volumes 10bf6841dd5238b7ccfe81751ba514ddc4229e17a3780f4be5cb7e5026f8dee3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:44:43.221Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T18:44:43.339Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T18:44:43.754Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T18:44:44.033Z] + ls -al . [2023-02-15T18:44:44.033Z] total 272 [2023-02-15T18:44:44.033Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 18:43 . [2023-02-15T18:44:44.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:41 .. [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 18:41 .dockerignore [2023-02-15T18:44:44.033Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:44 .git [2023-02-15T18:44:44.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:41 .github [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 18:41 .gitignore [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 18:41 .golangci.yml [2023-02-15T18:44:44.033Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:42 .semver [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 18:41 CHANGELOG.md [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:41 GOVERNANCE.md [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 18:41 Jenkinsfile [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 18:41 LICENSE [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 18:41 Makefile [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 18:41 OWNERS.md [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 18:41 README.md [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 18:42 VERSION [2023-02-15T18:44:44.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:41 bin [2023-02-15T18:44:44.033Z] -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 18:44 coverage.out [2023-02-15T18:44:44.033Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 18:41 example [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 18:41 go.mod [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 18:41 go.sum [2023-02-15T18:44:44.033Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 18:41 internal [2023-02-15T18:44:44.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:41 openapi [2023-02-15T18:44:44.033Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 18:41 pkg [2023-02-15T18:44:44.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:41 snap [2023-02-15T18:44:44.033Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:44:44.345Z] + 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=4c6fd1a2c11d2952693f7815207ba2c278eff464 --label arch=amd64 --label version=0.0.0 . [2023-02-15T18:44:44.345Z] Sending build context to Docker daemon 10.6MB [2023-02-15T18:44:44.345Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:44:44.345Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T18:44:44.345Z] ---> ffdacd5c666c [2023-02-15T18:44:44.345Z] Step 3/23 : ARG MAKE=make build [2023-02-15T18:44:44.910Z] ---> Running in 8f000ffbb3a9 [2023-02-15T18:44:45.168Z] Removing intermediate container 8f000ffbb3a9 [2023-02-15T18:44:45.169Z] ---> c5baefd25fb1 [2023-02-15T18:44:45.169Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T18:44:45.169Z] ---> Running in 1a5b3775e8a9 [2023-02-15T18:44:45.425Z] Removing intermediate container 1a5b3775e8a9 [2023-02-15T18:44:45.425Z] ---> c7741c6d388e [2023-02-15T18:44:45.425Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T18:44:45.425Z] ---> Running in d8c7adf91cdc [2023-02-15T18:44:45.683Z] Removing intermediate container d8c7adf91cdc [2023-02-15T18:44:45.683Z] ---> 7727b1bf47e5 [2023-02-15T18:44:45.683Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T18:44:45.943Z] ---> Running in f7f7c1ba6c66 [2023-02-15T18:44:46.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:44:46.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:44:46.768Z] OK: 211 MiB in 51 packages [2023-02-15T18:44:47.345Z] Removing intermediate container f7f7c1ba6c66 [2023-02-15T18:44:47.345Z] ---> 9a3a3ae5fac5 [2023-02-15T18:44:47.345Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T18:44:47.345Z] ---> 1051a28e7b0e [2023-02-15T18:44:47.345Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:44:47.345Z] ---> Running in f0dae5baa126 [2023-02-15T18:44:48.282Z] Removing intermediate container f0dae5baa126 [2023-02-15T18:44:48.282Z] ---> cf3f9911505e [2023-02-15T18:44:48.282Z] Step 9/23 : COPY . . [2023-02-15T18:44:48.848Z] ---> ffbd3face14d [2023-02-15T18:44:48.848Z] Step 10/23 : RUN ${MAKE} [2023-02-15T18:44:48.848Z] ---> Running in f19485d94325 [2023-02-15T18:44:49.106Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-15T18:45:11.116Z] Removing intermediate container f19485d94325 [2023-02-15T18:45:11.116Z] ---> 899dd5cff3ac [2023-02-15T18:45:11.116Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T18:45:11.690Z] 3.16: Pulling from library/alpine [2023-02-15T18:45:11.690Z] ef5531b6e74e: Pulling fs layer [2023-02-15T18:45:11.997Z] ef5531b6e74e: Verifying Checksum [2023-02-15T18:45:11.997Z] ef5531b6e74e: Download complete [2023-02-15T18:45:11.997Z] ef5531b6e74e: Pull complete [2023-02-15T18:45:11.997Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T18:45:11.997Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T18:45:11.997Z] ---> dfd21b5a31f5 [2023-02-15T18:45:11.997Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T18:45:12.258Z] ---> Running in 6b9d91e31897 [2023-02-15T18:45:12.258Z] Removing intermediate container 6b9d91e31897 [2023-02-15T18:45:12.258Z] ---> 7b79ac133858 [2023-02-15T18:45:12.258Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T18:45:12.258Z] ---> Running in 7cabc13948f9 [2023-02-15T18:45:12.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T18:45:12.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T18:45:13.036Z] OK: 6 MiB in 14 packages [2023-02-15T18:45:13.295Z] Removing intermediate container 7cabc13948f9 [2023-02-15T18:45:13.295Z] ---> 1301e31f5f94 [2023-02-15T18:45:13.295Z] Step 14/23 : WORKDIR / [2023-02-15T18:45:13.553Z] ---> Running in 5a389088e3cc [2023-02-15T18:45:13.553Z] Removing intermediate container 5a389088e3cc [2023-02-15T18:45:13.553Z] ---> 35634b05be0b [2023-02-15T18:45:13.553Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T18:45:13.553Z] ---> f3eaf30927f4 [2023-02-15T18:45:13.553Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T18:45:14.488Z] ---> cb12072d5af7 [2023-02-15T18:45:14.488Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T18:45:14.747Z] ---> 72745cd80480 [2023-02-15T18:45:14.747Z] Step 18/23 : EXPOSE 59999 [2023-02-15T18:45:14.747Z] ---> Running in 428017f5a386 [2023-02-15T18:45:14.747Z] Removing intermediate container 428017f5a386 [2023-02-15T18:45:14.747Z] ---> f23790bdd010 [2023-02-15T18:45:14.747Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T18:45:14.747Z] ---> Running in 1c911ad9aa0e [2023-02-15T18:45:15.006Z] Removing intermediate container 1c911ad9aa0e [2023-02-15T18:45:15.006Z] ---> 9f002d2318d8 [2023-02-15T18:45:15.006Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T18:45:15.006Z] ---> Running in 930e63c9f1f6 [2023-02-15T18:45:15.006Z] Removing intermediate container 930e63c9f1f6 [2023-02-15T18:45:15.006Z] ---> db2607cbf228 [2023-02-15T18:45:15.006Z] Step 21/23 : LABEL arch=amd64 [2023-02-15T18:45:15.006Z] ---> Running in 2a3c830c364a [2023-02-15T18:45:15.006Z] Removing intermediate container 2a3c830c364a [2023-02-15T18:45:15.006Z] ---> aeb91897e920 [2023-02-15T18:45:15.006Z] Step 22/23 : LABEL git_sha=4c6fd1a2c11d2952693f7815207ba2c278eff464 [2023-02-15T18:45:15.006Z] ---> Running in 06ac284d6514 [2023-02-15T18:45:15.264Z] Removing intermediate container 06ac284d6514 [2023-02-15T18:45:15.264Z] ---> 35912785c200 [2023-02-15T18:45:15.264Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T18:45:15.264Z] ---> Running in 515e8e36ecb4 [2023-02-15T18:45:15.264Z] Removing intermediate container 515e8e36ecb4 [2023-02-15T18:45:15.264Z] ---> 0f75f6f2e73a [2023-02-15T18:45:15.264Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T18:45:15.264Z] Successfully built 0f75f6f2e73a [2023-02-15T18:45:15.264Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:45:15.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:45:15.718Z] [2023-02-15T18:45:15.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:45:16.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:45:16.288Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T18:45:16.288Z] 5eb5b503b376: Pulling fs layer [2023-02-15T18:45:16.288Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T18:45:16.288Z] ec43610c2a17: Pulling fs layer [2023-02-15T18:45:16.288Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T18:45:16.288Z] 33b1e0a273af: Pulling fs layer [2023-02-15T18:45:16.288Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T18:45:16.288Z] 2f39f015ded8: Pulling fs layer [2023-02-15T18:45:16.288Z] 3a2ae6a8a46f: Waiting [2023-02-15T18:45:16.288Z] 33b1e0a273af: Waiting [2023-02-15T18:45:16.288Z] 5d3b04190fa2: Waiting [2023-02-15T18:45:16.288Z] 2f39f015ded8: Waiting [2023-02-15T18:45:16.288Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T18:45:16.288Z] 5c69ac0246d0: Download complete [2023-02-15T18:45:16.288Z] 3a2ae6a8a46f: Download complete [2023-02-15T18:45:16.552Z] 33b1e0a273af: Verifying Checksum [2023-02-15T18:45:16.552Z] 33b1e0a273af: Download complete [2023-02-15T18:45:16.552Z] 5d3b04190fa2: Download complete [2023-02-15T18:45:16.552Z] ec43610c2a17: Verifying Checksum [2023-02-15T18:45:16.813Z] 5eb5b503b376: Verifying Checksum [2023-02-15T18:45:16.813Z] 5eb5b503b376: Download complete [2023-02-15T18:45:17.382Z] 2f39f015ded8: Download complete [2023-02-15T18:45:17.951Z] 5eb5b503b376: Pull complete [2023-02-15T18:45:18.519Z] 5c69ac0246d0: Pull complete [2023-02-15T18:45:19.086Z] ec43610c2a17: Pull complete [2023-02-15T18:45:19.345Z] 3a2ae6a8a46f: Pull complete [2023-02-15T18:45:19.605Z] 33b1e0a273af: Pull complete [2023-02-15T18:45:19.866Z] 5d3b04190fa2: Pull complete [2023-02-15T18:45:24.047Z] 2f39f015ded8: Pull complete [2023-02-15T18:45:24.047Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T18:45:24.047Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:45:24.047Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:45:24.121Z] prd-ubuntu20.04-docker-8c-8g-6176 does not seem to be running inside a container [2023-02-15T18:45:24.151Z] $ 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-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T18:45:29.111Z] $ docker top 89e89240efa4583d0c34448e7ed581caf06dd70fc8de8cda03024e93fad0c937 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:45:29.481Z] ---> job-cost.sh [2023-02-15T18:45:29.481Z] lf-activate-venv: SKIPPING [2023-02-15T18:45:29.481Z] INFO: No Stack... [2023-02-15T18:45:29.741Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:45:30.004Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:45:30.306Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives/cost.csv [2023-02-15T18:45:30.306Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T18:45:30.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] [2023-02-15T18:45:30.331Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] did not exist. Created. [2023-02-15T18:45:30.331Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:45:30.641Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T18:45:30.678Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:45:30.684Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:45:30.702Z] $ docker stop --time=1 89e89240efa4583d0c34448e7ed581caf06dd70fc8de8cda03024e93fad0c937 [2023-02-15T18:45:31.853Z] $ docker rm -f --volumes 89e89240efa4583d0c34448e7ed581caf06dd70fc8de8cda03024e93fad0c937 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T18:45:39.228Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6188 in /w/workspace/gexfoundry_device-sdk-go_PR-1321 [Pipeline] { [Pipeline] ws [2023-02-15T18:45:39.241Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-15T18:45:39.279Z] The recommended git tool is: git [2023-02-15T18:45:46.747Z] using credential edgex-jenkins-ssh [2023-02-15T18:45:46.767Z] Cloning the remote Git repository [2023-02-15T18:45:46.839Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T18:45:46.946Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-15T18:45:47.183Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T18:45:47.185Z] > git --version # timeout=10 [2023-02-15T18:45:47.215Z] > git --version # 'git version 2.25.1' [2023-02-15T18:45:47.218Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:45:47.300Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:45:49.331Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T18:45:49.361Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T18:45:50.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T18:45:50.745Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T18:45:50.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:45:50.774Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1321/head:refs/remotes/origin/PR-1321 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T18:45:51.551Z] Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 408b6968c03ac3e1d14e96eb72eae9fe4493d621 [2023-02-15T18:45:51.971Z] Merge succeeded, producing e09e7ffa6c872d2da3d014bf6a687cdbd00ab463 [2023-02-15T18:45:51.972Z] Checking out Revision e09e7ffa6c872d2da3d014bf6a687cdbd00ab463 (PR-1321) [2023-02-15T18:45:51.578Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:45:51.610Z] > git checkout -f 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # timeout=10 [2023-02-15T18:45:51.770Z] > git remote # timeout=10 [2023-02-15T18:45:51.797Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T18:45:51.818Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T18:45:51.836Z] > git merge cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 [2023-02-15T18:45:51.952Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T18:45:51.982Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T18:45:51.998Z] > git checkout -f e09e7ffa6c872d2da3d014bf6a687cdbd00ab463 # timeout=10 [2023-02-15T18:45:55.742Z] Commit message: "Merge commit 'cf150bd1006c505b2559d8970edbe52dd5fe7567' into HEAD" [2023-02-15T18:45:55.752Z] > git rev-list --no-walk 408b6968c03ac3e1d14e96eb72eae9fe4493d621 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:45:56.751Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T18:45:56.752Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:45:56.752Z] Dload Upload Total Spent Left Speed [2023-02-15T18:45:56.752Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-02-15T18:45:57.429Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T18:45:57.792Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T18:45:57.792Z] + sudo tee /etc/docker/daemon.new [2023-02-15T18:45:57.792Z] { [2023-02-15T18:45:57.792Z] "registry-mirrors": [ [2023-02-15T18:45:57.792Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T18:45:57.792Z] ], [2023-02-15T18:45:57.792Z] "bip": "10.250.0.254/24", [2023-02-15T18:45:57.792Z] "hosts": [ [2023-02-15T18:45:57.792Z] "tcp://0.0.0.0:5555", [2023-02-15T18:45:57.792Z] "unix:///var/run/docker.sock" [2023-02-15T18:45:57.792Z] ], [2023-02-15T18:45:57.792Z] "mtu": 1458, [2023-02-15T18:45:57.792Z] "selinux-enabled": true, [2023-02-15T18:45:57.792Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T18:45:57.792Z] } [Pipeline] sh [2023-02-15T18:45:58.175Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T18:45:58.593Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:46:16.948Z] provisioning config files... [2023-02-15T18:46:16.984Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config5510993188022347000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:46:17.376Z] ---> docker-login.sh [2023-02-15T18:46:17.376Z] nexus3.edgexfoundry.org:10001 [2023-02-15T18:46:17.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:46:18.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:46:18.249Z] Configure a credential helper to remove this warning. See [2023-02-15T18:46:18.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:46:18.249Z] [2023-02-15T18:46:18.249Z] Login Succeeded [2023-02-15T18:46:18.249Z] nexus3.edgexfoundry.org:10002 [2023-02-15T18:46:18.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:46:18.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:46:18.796Z] Configure a credential helper to remove this warning. See [2023-02-15T18:46:18.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:46:18.796Z] [2023-02-15T18:46:18.796Z] Login Succeeded [2023-02-15T18:46:18.796Z] nexus3.edgexfoundry.org:10003 [2023-02-15T18:46:19.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:46:19.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:46:19.070Z] Configure a credential helper to remove this warning. See [2023-02-15T18:46:19.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:46:19.070Z] [2023-02-15T18:46:19.070Z] Login Succeeded [2023-02-15T18:46:19.070Z] nexus3.edgexfoundry.org:10004 [2023-02-15T18:46:19.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:46:19.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:46:19.630Z] Configure a credential helper to remove this warning. See [2023-02-15T18:46:19.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:46:19.630Z] [2023-02-15T18:46:19.630Z] Login Succeeded [2023-02-15T18:46:19.630Z] docker.io [2023-02-15T18:46:19.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T18:46:20.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T18:46:20.182Z] Configure a credential helper to remove this warning. See [2023-02-15T18:46:20.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T18:46:20.182Z] [2023-02-15T18:46:20.182Z] Login Succeeded [2023-02-15T18:46:20.182Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T18:46:20.206Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T18:46:20.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:46:20.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T18:46:20.696Z] ========================================================= [2023-02-15T18:46:20.696Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T18:46:20.696Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:46:21.077Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-15T18:46:21.354Z] Sending build context to Docker daemon 5.638MB [2023-02-15T18:46:21.634Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:46:21.634Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T18:46:21.635Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T18:46:21.635Z] 9b18e9b68314: Pulling fs layer [2023-02-15T18:46:21.635Z] 35d82f9e3411: Pulling fs layer [2023-02-15T18:46:21.635Z] e16973657156: Pulling fs layer [2023-02-15T18:46:21.635Z] fc693d55d65f: Pulling fs layer [2023-02-15T18:46:21.635Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T18:46:21.635Z] dda99020689f: Pulling fs layer [2023-02-15T18:46:21.635Z] db1c61fa0a46: Pulling fs layer [2023-02-15T18:46:21.635Z] 891c053d2c06: Pulling fs layer [2023-02-15T18:46:21.635Z] fc693d55d65f: Waiting [2023-02-15T18:46:21.635Z] dda99020689f: Waiting [2023-02-15T18:46:21.635Z] 7e9fc2657dce: Waiting [2023-02-15T18:46:21.635Z] 891c053d2c06: Waiting [2023-02-15T18:46:21.635Z] e16973657156: Verifying Checksum [2023-02-15T18:46:21.635Z] e16973657156: Download complete [2023-02-15T18:46:21.635Z] 35d82f9e3411: Verifying Checksum [2023-02-15T18:46:21.635Z] 35d82f9e3411: Download complete [2023-02-15T18:46:21.914Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T18:46:21.915Z] 7e9fc2657dce: Download complete [2023-02-15T18:46:21.915Z] dda99020689f: Verifying Checksum [2023-02-15T18:46:21.915Z] dda99020689f: Download complete [2023-02-15T18:46:21.915Z] 9b18e9b68314: Verifying Checksum [2023-02-15T18:46:21.915Z] 9b18e9b68314: Download complete [2023-02-15T18:46:22.904Z] 9b18e9b68314: Pull complete [2023-02-15T18:46:23.179Z] 891c053d2c06: Verifying Checksum [2023-02-15T18:46:23.179Z] 891c053d2c06: Download complete [2023-02-15T18:46:23.454Z] 35d82f9e3411: Pull complete [2023-02-15T18:46:24.055Z] e16973657156: Pull complete [2023-02-15T18:46:25.035Z] db1c61fa0a46: Verifying Checksum [2023-02-15T18:46:25.035Z] db1c61fa0a46: Download complete [2023-02-15T18:46:25.627Z] fc693d55d65f: Verifying Checksum [2023-02-15T18:46:25.627Z] fc693d55d65f: Download complete [2023-02-15T18:46:38.238Z] fc693d55d65f: Pull complete [2023-02-15T18:46:38.238Z] 7e9fc2657dce: Pull complete [2023-02-15T18:46:38.238Z] dda99020689f: Pull complete [2023-02-15T18:46:43.629Z] db1c61fa0a46: Pull complete [2023-02-15T18:46:44.594Z] 891c053d2c06: Pull complete [2023-02-15T18:46:44.594Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T18:46:44.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T18:46:44.594Z] ---> f96f9c87975a [2023-02-15T18:46:44.594Z] Step 3/10 : ARG MAKE=make build [2023-02-15T18:46:47.206Z] ---> Running in 02b84f18c6eb [2023-02-15T18:46:47.206Z] Removing intermediate container 02b84f18c6eb [2023-02-15T18:46:47.206Z] ---> 4ed24b61c33c [2023-02-15T18:46:47.206Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T18:46:47.206Z] ---> Running in ad938c72b4f6 [2023-02-15T18:46:47.808Z] Removing intermediate container ad938c72b4f6 [2023-02-15T18:46:47.808Z] ---> 623a71556653 [2023-02-15T18:46:47.808Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T18:46:47.808Z] ---> Running in 57e4c4f79bc1 [2023-02-15T18:46:48.077Z] Removing intermediate container 57e4c4f79bc1 [2023-02-15T18:46:48.077Z] ---> 63410156c25c [2023-02-15T18:46:48.077Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T18:46:48.349Z] ---> Running in e5863f8a0b48 [2023-02-15T18:46:49.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:46:50.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:46:51.469Z] OK: 221 MiB in 51 packages [2023-02-15T18:46:52.439Z] Removing intermediate container e5863f8a0b48 [2023-02-15T18:46:52.439Z] ---> cd9b6c70904b [2023-02-15T18:46:52.439Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T18:46:52.710Z] ---> eef6fc7d60b5 [2023-02-15T18:46:52.710Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:46:52.987Z] ---> Running in 3c4ac7631c1c [2023-02-15T18:48:14.763Z] Removing intermediate container 3c4ac7631c1c [2023-02-15T18:48:14.763Z] ---> 471fcce057cd [2023-02-15T18:48:14.763Z] Step 9/10 : COPY . . [2023-02-15T18:48:14.763Z] ---> 5b7907e0c1a1 [2023-02-15T18:48:14.763Z] Step 10/10 : RUN ${MAKE} [2023-02-15T18:48:14.763Z] ---> Running in f00a711e289a [2023-02-15T18:48:14.763Z] noop [2023-02-15T18:48:14.763Z] Removing intermediate container f00a711e289a [2023-02-15T18:48:14.763Z] ---> 1568aa8757ff [2023-02-15T18:48:14.763Z] Successfully built 1568aa8757ff [2023-02-15T18:48:14.763Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:48:15.205Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:48:15.206Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:48:15.458Z] prd-ubuntu20.04-docker-arm64-4c-16g-6188 does not seem to be running inside a container [2023-02-15T18:48:15.551Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:48:17.078Z] $ docker top 91eefce97738bcd6c9dbb9055274954197a7c5c8a086b451907be3e2b3f2ad16 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:48:17.988Z] + go version [2023-02-15T18:48:17.988Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T18:48:18.016Z] $ docker stop --time=1 91eefce97738bcd6c9dbb9055274954197a7c5c8a086b451907be3e2b3f2ad16 [2023-02-15T18:48:21.243Z] $ docker rm -f --volumes 91eefce97738bcd6c9dbb9055274954197a7c5c8a086b451907be3e2b3f2ad16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:48:21.855Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T18:48:21.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:48:22.088Z] prd-ubuntu20.04-docker-arm64-4c-16g-6188 does not seem to be running inside a container [2023-02-15T18:48:22.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T18:48:23.632Z] $ docker top 7bce760da3ea4033599d57315595b84f26fe731cef0913378e12c69602d20b9c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:48:24.535Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-15T18:48:25.211Z] + make test [2023-02-15T18:48:25.211Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T18:49:12.133Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T18:51:49.019Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T18:51:49.019Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T18:51:49.019Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T18:51:49.019Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T18:51:49.019Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T18:51:52.383Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.339s coverage: 27.6% of statements [2023-02-15T18:51:53.351Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.304s coverage: 78.9% of statements [2023-02-15T18:51:53.351Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T18:52:00.027Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.540s coverage: 77.8% of statements [2023-02-15T18:52:00.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T18:52:00.027Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T18:52:01.991Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.907s coverage: 77.0% of statements [2023-02-15T18:52:01.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T18:52:01.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-15T18:52:01.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T18:52:02.960Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.541s coverage: 65.2% of statements [2023-02-15T18:52:02.960Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T18:52:02.960Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T18:52:02.960Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.036s coverage: 89.2% of statements [2023-02-15T18:52:02.960Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T18:52:04.380Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.281s coverage: 4.7% of statements [2023-02-15T18:52:04.380Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T18:52:04.968Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T18:52:04.968Z] GO111MODULE=on go vet ./... [2023-02-15T18:53:56.721Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T18:53:56.721Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T18:53:56.721Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T18:53:56.742Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T18:53:56.763Z] $ docker stop --time=1 7bce760da3ea4033599d57315595b84f26fe731cef0913378e12c69602d20b9c [2023-02-15T18:53:58.664Z] $ docker rm -f --volumes 7bce760da3ea4033599d57315595b84f26fe731cef0913378e12c69602d20b9c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T18:54:00.166Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T18:54:00.184Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T18:54:00.823Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T18:54:01.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T18:54:01.560Z] + ls -al . [2023-02-15T18:54:01.560Z] total 268 [2023-02-15T18:54:01.560Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 18:48 . [2023-02-15T18:54:01.560Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:45 .. [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 18:45 .dockerignore [2023-02-15T18:54:01.560Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 18:45 .git [2023-02-15T18:54:01.560Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:45 .github [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 18:45 .gitignore [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 18:45 .golangci.yml [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 18:45 CHANGELOG.md [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 18:45 GOVERNANCE.md [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 18:45 Jenkinsfile [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 18:45 LICENSE [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 18:45 Makefile [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 18:45 OWNERS.md [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 18:45 README.md [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 18:42 VERSION [2023-02-15T18:54:01.560Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 18:45 bin [2023-02-15T18:54:01.560Z] -rw-r--r-- 1 jenkins jenkins 98701 Feb 15 18:52 coverage.out [2023-02-15T18:54:01.560Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 18:45 example [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 18:45 go.mod [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 18:45 go.sum [2023-02-15T18:54:01.560Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 18:45 internal [2023-02-15T18:54:01.560Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 18:45 openapi [2023-02-15T18:54:01.560Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 18:45 pkg [2023-02-15T18:54:01.560Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 18:45 snap [2023-02-15T18:54:01.560Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:54:01.914Z] + 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=e09e7ffa6c872d2da3d014bf6a687cdbd00ab463 --label arch=arm64 --label version=0.0.0 . [2023-02-15T18:54:02.507Z] Sending build context to Docker daemon 5.737MB [2023-02-15T18:54:02.507Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T18:54:02.507Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T18:54:02.507Z] ---> 1568aa8757ff [2023-02-15T18:54:02.507Z] Step 3/23 : ARG MAKE=make build [2023-02-15T18:54:05.101Z] ---> Running in 60c070df2a95 [2023-02-15T18:54:05.101Z] Removing intermediate container 60c070df2a95 [2023-02-15T18:54:05.101Z] ---> 720f7cfa5b8f [2023-02-15T18:54:05.101Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T18:54:05.101Z] ---> Running in 02898bad5736 [2023-02-15T18:54:05.370Z] Removing intermediate container 02898bad5736 [2023-02-15T18:54:05.370Z] ---> 8b8832466b29 [2023-02-15T18:54:05.370Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T18:54:05.645Z] ---> Running in 038b1beb5d2c [2023-02-15T18:54:05.920Z] Removing intermediate container 038b1beb5d2c [2023-02-15T18:54:05.920Z] ---> 76a7441bb9be [2023-02-15T18:54:05.920Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T18:54:05.920Z] ---> Running in fc788555ec01 [2023-02-15T18:54:07.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:54:07.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:54:08.579Z] OK: 221 MiB in 51 packages [2023-02-15T18:54:09.547Z] Removing intermediate container fc788555ec01 [2023-02-15T18:54:09.547Z] ---> 743fec793a89 [2023-02-15T18:54:09.547Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T18:54:10.135Z] ---> edc14a354241 [2023-02-15T18:54:10.135Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T18:54:10.406Z] ---> Running in f44b3ec0156b [2023-02-15T18:54:12.996Z] Removing intermediate container f44b3ec0156b [2023-02-15T18:54:12.996Z] ---> e89323e6f5f9 [2023-02-15T18:54:12.996Z] Step 9/23 : COPY . . [2023-02-15T18:54:14.412Z] ---> f9e4ed9c0c83 [2023-02-15T18:54:14.412Z] Step 10/23 : RUN ${MAKE} [2023-02-15T18:54:14.412Z] ---> Running in edf7c9f2f98b [2023-02-15T18:54:15.536Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-15T18:56:37.400Z] Removing intermediate container edf7c9f2f98b [2023-02-15T18:56:37.400Z] ---> fd2b52ac5908 [2023-02-15T18:56:37.400Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T18:56:37.400Z] 3.16: Pulling from library/alpine [2023-02-15T18:56:37.400Z] 3760b48202b3: Pulling fs layer [2023-02-15T18:56:37.400Z] 3760b48202b3: Verifying Checksum [2023-02-15T18:56:37.400Z] 3760b48202b3: Download complete [2023-02-15T18:56:37.400Z] 3760b48202b3: Pull complete [2023-02-15T18:56:37.400Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T18:56:37.400Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T18:56:37.400Z] ---> 4c81e5bf8899 [2023-02-15T18:56:37.400Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T18:56:37.400Z] ---> Running in ce6a9d516c03 [2023-02-15T18:56:37.400Z] Removing intermediate container ce6a9d516c03 [2023-02-15T18:56:37.400Z] ---> abefcd5e6646 [2023-02-15T18:56:37.400Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T18:56:37.400Z] ---> Running in 3140612d8dcb [2023-02-15T18:56:37.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T18:56:37.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T18:56:37.400Z] OK: 5 MiB in 14 packages [2023-02-15T18:56:37.400Z] Removing intermediate container 3140612d8dcb [2023-02-15T18:56:37.400Z] ---> 6e045b19e4a9 [2023-02-15T18:56:37.400Z] Step 14/23 : WORKDIR / [2023-02-15T18:56:37.400Z] ---> Running in 7911d57ba199 [2023-02-15T18:56:37.400Z] Removing intermediate container 7911d57ba199 [2023-02-15T18:56:37.400Z] ---> 717aecd31c2c [2023-02-15T18:56:37.400Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T18:56:37.400Z] ---> 9284523884b9 [2023-02-15T18:56:37.400Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T18:56:37.400Z] ---> 66759568a005 [2023-02-15T18:56:37.400Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T18:56:37.400Z] ---> 6ed29ebba31a [2023-02-15T18:56:37.400Z] Step 18/23 : EXPOSE 59999 [2023-02-15T18:56:37.400Z] ---> Running in 3f862775b8e9 [2023-02-15T18:56:37.400Z] Removing intermediate container 3f862775b8e9 [2023-02-15T18:56:37.400Z] ---> b2249775c775 [2023-02-15T18:56:37.400Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T18:56:37.400Z] ---> Running in cf81e484580a [2023-02-15T18:56:37.400Z] Removing intermediate container cf81e484580a [2023-02-15T18:56:37.400Z] ---> 43d9da3d6de4 [2023-02-15T18:56:37.400Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T18:56:37.400Z] ---> Running in dbe5727867bc [2023-02-15T18:56:37.400Z] Removing intermediate container dbe5727867bc [2023-02-15T18:56:37.400Z] ---> 0160ba19084b [2023-02-15T18:56:37.400Z] Step 21/23 : LABEL arch=arm64 [2023-02-15T18:56:37.400Z] ---> Running in f0c41793c4f4 [2023-02-15T18:56:37.400Z] Removing intermediate container f0c41793c4f4 [2023-02-15T18:56:37.400Z] ---> 16b8490a3271 [2023-02-15T18:56:37.400Z] Step 22/23 : LABEL git_sha=e09e7ffa6c872d2da3d014bf6a687cdbd00ab463 [2023-02-15T18:56:37.400Z] ---> Running in 0a10f043a056 [2023-02-15T18:56:37.400Z] Removing intermediate container 0a10f043a056 [2023-02-15T18:56:37.400Z] ---> c0dec4fd7c1f [2023-02-15T18:56:37.400Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T18:56:37.400Z] ---> Running in 208016d3274b [2023-02-15T18:56:37.400Z] Removing intermediate container 208016d3274b [2023-02-15T18:56:37.400Z] ---> 97600ef776c8 [2023-02-15T18:56:37.400Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T18:56:37.400Z] Successfully built 97600ef776c8 [2023-02-15T18:56:37.400Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:56:37.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:56:37.820Z] [2023-02-15T18:56:37.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:56:38.153Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:56:38.153Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T18:56:38.153Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T18:56:38.153Z] 04944245beec: Pulling fs layer [2023-02-15T18:56:38.153Z] 699f458cf7ca: Pulling fs layer [2023-02-15T18:56:38.153Z] 765212b225bb: Pulling fs layer [2023-02-15T18:56:38.153Z] f23df028b6ca: Pulling fs layer [2023-02-15T18:56:38.153Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T18:56:38.153Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T18:56:38.153Z] 765212b225bb: Waiting [2023-02-15T18:56:38.153Z] f23df028b6ca: Waiting [2023-02-15T18:56:38.153Z] d65c8cfc05b1: Waiting [2023-02-15T18:56:38.153Z] 2437ff75d9bd: Waiting [2023-02-15T18:56:38.424Z] 04944245beec: Verifying Checksum [2023-02-15T18:56:38.424Z] 04944245beec: Download complete [2023-02-15T18:56:38.424Z] 765212b225bb: Verifying Checksum [2023-02-15T18:56:38.424Z] 765212b225bb: Download complete [2023-02-15T18:56:38.424Z] f23df028b6ca: Verifying Checksum [2023-02-15T18:56:38.424Z] f23df028b6ca: Download complete [2023-02-15T18:56:38.424Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T18:56:38.424Z] d65c8cfc05b1: Download complete [2023-02-15T18:56:38.694Z] 699f458cf7ca: Verifying Checksum [2023-02-15T18:56:38.694Z] 699f458cf7ca: Download complete [2023-02-15T18:56:38.962Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T18:56:38.962Z] 8998bd30e6a1: Download complete [2023-02-15T18:56:40.909Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T18:56:40.909Z] 2437ff75d9bd: Download complete [2023-02-15T18:56:42.860Z] 8998bd30e6a1: Pull complete [2023-02-15T18:56:43.126Z] 04944245beec: Pull complete [2023-02-15T18:56:44.531Z] 699f458cf7ca: Pull complete [2023-02-15T18:56:44.799Z] 765212b225bb: Pull complete [2023-02-15T18:56:45.383Z] f23df028b6ca: Pull complete [2023-02-15T18:56:45.653Z] d65c8cfc05b1: Pull complete [2023-02-15T18:57:00.669Z] 2437ff75d9bd: Pull complete [2023-02-15T18:57:00.669Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T18:57:00.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T18:57:00.669Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:57:00.860Z] prd-ubuntu20.04-docker-arm64-4c-16g-6188 does not seem to be running inside a container [2023-02-15T18:57:00.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T18:57:03.555Z] $ docker top 7bc3d8f6147bdafb0237702e516bfd06abdeb4ce3dc52f754bc4ba8bfab5b6f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:57:04.387Z] ---> job-cost.sh [2023-02-15T18:57:04.387Z] lf-activate-venv: SKIPPING [2023-02-15T18:57:04.387Z] INFO: No Stack... [2023-02-15T18:57:04.653Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T18:57:05.613Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T18:57:06.253Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-02-15T18:57:06.254Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T18:57:06.321Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] [2023-02-15T18:57:06.331Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] did not exist. Created. [2023-02-15T18:57:06.331Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T18:57:06.991Z] /w/workspace/device-sdk-go/2@tmp/durable-df72fda8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T18:57:07.650Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T18:57:07.668Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T18:57:07.741Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T18:57:07.748Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1321-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T18:57:07.777Z] $ docker stop --time=1 7bc3d8f6147bdafb0237702e516bfd06abdeb4ce3dc52f754bc4ba8bfab5b6f2 [2023-02-15T18:57:09.301Z] $ docker rm -f --volumes 7bc3d8f6147bdafb0237702e516bfd06abdeb4ce3dc52f754bc4ba8bfab5b6f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-15T18:57:09.670Z] provisioning config files... [2023-02-15T18:57:09.678Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config9621023285596864452tmp [Pipeline] { [Pipeline] sh [2023-02-15T18:57:09.973Z] + set +x [2023-02-15T18:57:09.973Z] + curl -s https://codecov.io/bash [2023-02-15T18:57:09.973Z] + bash -s -- [2023-02-15T18:57:09.973Z] [2023-02-15T18:57:09.973Z] _____ _ [2023-02-15T18:57:09.973Z] / ____| | | [2023-02-15T18:57:09.973Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T18:57:09.973Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T18:57:09.973Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T18:57:09.973Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T18:57:09.973Z] Bash-1.0.6 [2023-02-15T18:57:09.973Z] [2023-02-15T18:57:09.973Z] [2023-02-15T18:57:09.973Z] ==> git version 2.25.1 found [2023-02-15T18:57:09.973Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-15T18:57:09.973Z] Release-Date: 2020-01-08 [2023-02-15T18:57:09.973Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-15T18:57:09.973Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T18:57:09.973Z] ==> Jenkins CI detected. [2023-02-15T18:57:09.973Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1321 [2023-02-15T18:57:09.973Z] project root: . [2023-02-15T18:57:09.973Z] --> token set from env [2023-02-15T18:57:09.973Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T18:57:09.973Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T18:57:09.973Z] ==> Python coveragepy not found [2023-02-15T18:57:09.973Z] ==> Searching for coverage reports in: [2023-02-15T18:57:09.973Z] + . [2023-02-15T18:57:09.973Z] -> Found 1 reports [2023-02-15T18:57:09.973Z] ==> Detecting git/mercurial file structure [2023-02-15T18:57:09.973Z] ==> Reading reports [2023-02-15T18:57:09.973Z] + ./coverage.out bytes=98701 [2023-02-15T18:57:09.973Z] ==> Appending adjustments [2023-02-15T18:57:09.973Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T18:57:10.232Z] + Found adjustments [2023-02-15T18:57:10.516Z] ==> Gzipping contents [2023-02-15T18:57:10.516Z] 16K /tmp/codecov.1VWUNq.gz [2023-02-15T18:57:10.516Z] ==> Uploading reports [2023-02-15T18:57:10.516Z] url: https://codecov.io [2023-02-15T18:57:10.516Z] query: branch=PR-1321&commit=4c6fd1a2c11d2952693f7815207ba2c278eff464&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1321%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1321&job=&cmd_args= [2023-02-15T18:57:10.516Z] -> Pinging Codecov [2023-02-15T18:57:10.516Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1321&commit=4c6fd1a2c11d2952693f7815207ba2c278eff464&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1321%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1321&job=&cmd_args= [2023-02-15T18:57:10.776Z] -> Uploading to [2023-02-15T18:57:10.776Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7E55EF52A471D76F132DFD9A03CDDE97/4c6fd1a2c11d2952693f7815207ba2c278eff464/b0d59b34-df53-4ce1-a65a-6ca34a211afc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T185710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e487a0ff7285051174108bff9b45b6395c25c20b25be895dbcbce2122148b439 [2023-02-15T18:57:10.776Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T18:57:10.776Z] Dload Upload Total Spent Left Speed [2023-02-15T18:57:11.035Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14333 0 0 100 14333 0 48751 --:--:-- --:--:-- --:--:-- 48751 [2023-02-15T18:57:11.035Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4c6fd1a2c11d2952693f7815207ba2c278eff464 [Pipeline] } [2023-02-15T18:57:11.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-15T18:57:11.732Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives ] [2023-02-15T18:57:11.732Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives [2023-02-15T18:57:11.732Z] total 16 [2023-02-15T18:57:11.732Z] drwxr-xr-x 3 root root 4096 Feb 15 18:45 . [2023-02-15T18:57:11.732Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 18:45 .. [2023-02-15T18:57:11.732Z] drwxr-xr-x 2 root root 4096 Feb 15 18:45 cost [2023-02-15T18:57:11.732Z] -rw-r--r-- 1 root root 86 Feb 15 18:45 cost.csv [2023-02-15T18:57:11.732Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives [2023-02-15T18:57:11.732Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives [2023-02-15T18:57:11.732Z] total 16 [2023-02-15T18:57:11.732Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 18:45 . [2023-02-15T18:57:11.732Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 18:45 .. [2023-02-15T18:57:11.732Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 18:45 cost [2023-02-15T18:57:11.732Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:57:12.023Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:57:12.885Z] ---> package-listing.sh [2023-02-15T18:57:12.885Z] ++ facter osfamily [2023-02-15T18:57:12.885Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T18:57:13.143Z] + OS_FAMILY=debian [2023-02-15T18:57:13.143Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1321 [2023-02-15T18:57:13.143Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T18:57:13.143Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T18:57:13.143Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T18:57:13.143Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T18:57:13.143Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1321 ']' [2023-02-15T18:57:13.143Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T18:57:13.143Z] + case "${OS_FAMILY}" in [2023-02-15T18:57:13.143Z] + dpkg -l [2023-02-15T18:57:13.144Z] + grep '^ii' [2023-02-15T18:57:13.144Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T18:57:13.144Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T18:57:13.144Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T18:57:13.144Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1321 ']' [2023-02-15T18:57:13.144Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives/ [2023-02-15T18:57:13.144Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1321/archives/ [Pipeline] echo [2023-02-15T18:57:13.156Z] 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-1321/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T18:57:13.435Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T18:57:13.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T18:57:13.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T18:57:14.069Z] prd-ubuntu20.04-docker-8c-8g-6176 does not seem to be running inside a container [2023-02-15T18:57:14.104Z] $ 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-1321/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-1321 -v /w/workspace/gexfoundry_device-sdk-go_PR-1321:/w/workspace/gexfoundry_device-sdk-go_PR-1321:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T18:57:14.432Z] $ docker top d9b51ed65e6849dda1f31c57edab0c71da1075e2c80c21ee567116af598ed839 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T18:57:14.773Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T18:57:15.059Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T18:57:15.344Z] + ls /var/log/sa-host [2023-02-15T18:57:15.344Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T18:57:15.410Z] provisioning config files... [2023-02-15T18:57:15.419Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1321@tmp/config316663880836712242tmp [Pipeline] { [Pipeline] echo [2023-02-15T18:57:15.431Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:57:15.715Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T18:57:15.722Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:57:16.039Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T18:57:16.048Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:57:16.341Z] ---> sudo-logs.sh [2023-02-15T18:57:16.341Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T18:57:16.374Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:57:16.659Z] ---> job-cost.sh [2023-02-15T18:57:16.659Z] lf-activate-venv: SKIPPING [2023-02-15T18:57:16.659Z] DEBUG: total: 0.2199999988079071 [2023-02-15T18:57:16.659Z] INFO: Retrieving Stack Cost... [2023-02-15T18:57:16.919Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T18:57:17.489Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T18:57:17.502Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T18:57:17.785Z] ---> logs-deploy.sh [2023-02-15T18:57:17.785Z] lf-activate-venv: SKIPPING [2023-02-15T18:57:17.785Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1321/2 [2023-02-15T18:57:17.785Z] INFO: archiving workspace using pattern(s): [2023-02-15T18:57:18.723Z] Archives upload complete. [2023-02-15T18:57:18.723Z] INFO: archiving logs to Nexus [2023-02-15T18:57:19.298Z] ---> uname -a: [2023-02-15T18:57:19.298Z] Linux prd-ubuntu20-04-docker-8c-8g-6176 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-02-15T18:57:19.298Z] [2023-02-15T18:57:19.298Z] [2023-02-15T18:57:19.298Z] ---> lscpu: [2023-02-15T18:57:19.298Z] Architecture: x86_64 [2023-02-15T18:57:19.298Z] CPU op-mode(s): 32-bit, 64-bit [2023-02-15T18:57:19.298Z] Byte Order: Little Endian [2023-02-15T18:57:19.298Z] Address sizes: 40 bits physical, 48 bits virtual [2023-02-15T18:57:19.298Z] CPU(s): 8 [2023-02-15T18:57:19.298Z] On-line CPU(s) list: 0-7 [2023-02-15T18:57:19.298Z] Thread(s) per core: 1 [2023-02-15T18:57:19.298Z] Core(s) per socket: 1 [2023-02-15T18:57:19.298Z] Socket(s): 8 [2023-02-15T18:57:19.298Z] NUMA node(s): 1 [2023-02-15T18:57:19.298Z] Vendor ID: AuthenticAMD [2023-02-15T18:57:19.298Z] CPU family: 23 [2023-02-15T18:57:19.298Z] Model: 49 [2023-02-15T18:57:19.298Z] Model name: AMD EPYC-Rome Processor [2023-02-15T18:57:19.298Z] Stepping: 0 [2023-02-15T18:57:19.298Z] CPU MHz: 2800.000 [2023-02-15T18:57:19.298Z] BogoMIPS: 5600.00 [2023-02-15T18:57:19.298Z] Virtualization: AMD-V [2023-02-15T18:57:19.298Z] Hypervisor vendor: KVM [2023-02-15T18:57:19.298Z] Virtualization type: full [2023-02-15T18:57:19.298Z] L1d cache: 256 KiB [2023-02-15T18:57:19.298Z] L1i cache: 256 KiB [2023-02-15T18:57:19.298Z] L2 cache: 4 MiB [2023-02-15T18:57:19.298Z] L3 cache: 128 MiB [2023-02-15T18:57:19.298Z] NUMA node0 CPU(s): 0-7 [2023-02-15T18:57:19.298Z] Vulnerability Itlb multihit: Not affected [2023-02-15T18:57:19.298Z] Vulnerability L1tf: Not affected [2023-02-15T18:57:19.298Z] Vulnerability Mds: Not affected [2023-02-15T18:57:19.298Z] Vulnerability Meltdown: Not affected [2023-02-15T18:57:19.298Z] Vulnerability Mmio stale data: Not affected [2023-02-15T18:57:19.298Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-02-15T18:57:19.298Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-02-15T18:57:19.298Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-02-15T18:57:19.298Z] Vulnerability Srbds: Not affected [2023-02-15T18:57:19.298Z] Vulnerability Tsx async abort: Not affected [2023-02-15T18:57:19.298Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-02-15T18:57:19.298Z] [2023-02-15T18:57:19.298Z]