Pull request #1355 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5702d2f43f9adf1b487f1ea51059e9713c2d943c+844470d981b00f1723aa71b22ce5646b0926e81e (05caf2ca461790c46a860fb35ff228839793749a) 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-ssh10114895200611900793.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-ssh13991180657466153909.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-1355/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-1355/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8197717874753893505.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-ssh17713984720162358021.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-1355/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-1355/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8278827064010062853.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7894’ Running on prd-ubuntu20.04-docker-8c-8g-7902 in /w/workspace/gexfoundry_device-sdk-go_PR-1355 [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-1355 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1355/head:refs/remotes/origin/PR-1355 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 844470d981b00f1723aa71b22ce5646b0926e81e into PR head commit 5702d2f43f9adf1b487f1ea51059e9713c2d943c Merge succeeded, producing 5702d2f43f9adf1b487f1ea51059e9713c2d943c Checking out Revision 5702d2f43f9adf1b487f1ea51059e9713c2d943c (PR-1355) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-01T05:29:59.845Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-01T05:29:59.885Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-01T05:29:59.897Z] ========================================================= [2023-03-01T05:29:59.897Z] EdgeX Global Pipelines Version Info [2023-03-01T05:29:59.897Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 5702d2f43f9adf1b487f1ea51059e9713c2d943c # 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 844470d981b00f1723aa71b22ce5646b0926e81e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5702d2f43f9adf1b487f1ea51059e9713c2d943c # timeout=10 > git rev-list --no-walk c37fa7f7b174e2eed9c4d7c07ee33d14043d5c9d # timeout=10 [2023-03-01T05:30:00.582Z] ------------------- [2023-03-01T05:30:00.582Z] stable info: [2023-03-01T05:30:00.582Z] ------------------- [2023-03-01T05:30:00.582Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-01T05:30:00.582Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T05:30:00.582Z] Message: update stable to v1.0.244 [2023-03-01T05:30:01.150Z] ------------------- [2023-03-01T05:30:01.150Z] experimental info: [2023-03-01T05:30:01.150Z] ------------------- [2023-03-01T05:30:01.150Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-01T05:30:01.150Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-01T05:30:01.150Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-01T05:30:01.346Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-01T05:30:01.355Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-01T05:30:01.365Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-01T05:30:01.383Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-01T05:30:01.399Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-01T05:30:01.409Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-01T05:30:01.423Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-01T05:30:01.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-01T05:30:01.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-01T05:30:01.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-01T05:30:01.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-01T05:30:01.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-01T05:30:01.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-01T05:30:01.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-01T05:30:01.502Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-01T05:30:01.511Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T05:30:01.519Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T05:30:01.528Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-01T05:30:01.537Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-01T05:30:01.560Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-01T05:30:01.571Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-01T05:30:01.579Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-01T05:30:01.587Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-01T05:30:01.595Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-01T05:30:01.604Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-01T05:30:01.612Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-01T05:30:01.620Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-01T05:30:01.628Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1355 [Pipeline] echo [2023-03-01T05:30:01.637Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1355 [Pipeline] echo [2023-03-01T05:30:01.645Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1355 [Pipeline] echo [2023-03-01T05:30:01.653Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5702d2f43f9adf1b487f1ea51059e9713c2d943c [Pipeline] echo [2023-03-01T05:30:01.662Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5702d2f [Pipeline] echo [2023-03-01T05:30:01.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:30:01.719Z] provisioning config files... [2023-03-01T05:30:01.731Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp/config4072971150204995886tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:30:02.063Z] ---> docker-login.sh [2023-03-01T05:30:02.063Z] nexus3.edgexfoundry.org:10001 [2023-03-01T05:30:02.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:30:02.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:30:02.323Z] Configure a credential helper to remove this warning. See [2023-03-01T05:30:02.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:30:02.323Z] [2023-03-01T05:30:02.323Z] Login Succeeded [2023-03-01T05:30:02.323Z] nexus3.edgexfoundry.org:10002 [2023-03-01T05:30:02.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:30:02.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:30:02.583Z] Configure a credential helper to remove this warning. See [2023-03-01T05:30:02.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:30:02.583Z] [2023-03-01T05:30:02.583Z] Login Succeeded [2023-03-01T05:30:02.583Z] nexus3.edgexfoundry.org:10003 [2023-03-01T05:30:02.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:30:02.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:30:02.583Z] Configure a credential helper to remove this warning. See [2023-03-01T05:30:02.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:30:02.583Z] [2023-03-01T05:30:02.583Z] Login Succeeded [2023-03-01T05:30:02.583Z] nexus3.edgexfoundry.org:10004 [2023-03-01T05:30:02.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:30:02.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:30:02.842Z] Configure a credential helper to remove this warning. See [2023-03-01T05:30:02.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:30:02.842Z] [2023-03-01T05:30:02.842Z] Login Succeeded [2023-03-01T05:30:02.842Z] docker.io [2023-03-01T05:30:02.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:30:03.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:30:03.787Z] Configure a credential helper to remove this warning. See [2023-03-01T05:30:03.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:30:03.787Z] [2023-03-01T05:30:03.787Z] Login Succeeded [2023-03-01T05:30:03.787Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T05:30:03.796Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-01T05:30:04.147Z] + git rev-list -1 --merges 5702d2f43f9adf1b487f1ea51059e9713c2d943c~1..5702d2f43f9adf1b487f1ea51059e9713c2d943c [Pipeline] echo [2023-03-01T05:30:04.193Z] -----------> git rev-list -1 --merges 5702d2f43f9adf1b487f1ea51059e9713c2d943c~1..5702d2f43f9adf1b487f1ea51059e9713c2d943c 5702d2f43f9adf1b487f1ea51059e9713c2d943c [false] [Pipeline] sh [2023-03-01T05:30:04.483Z] + git log --format=format:%s -1 5702d2f43f9adf1b487f1ea51059e9713c2d943c [Pipeline] echo [2023-03-01T05:30:04.498Z] ========================================================= [2023-03-01T05:30:04.498Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-01T05:30:04.498Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T05:30:04.810Z] + git log --format=format:%s -1 5702d2f43f9adf1b487f1ea51059e9713c2d943c [Pipeline] echo [2023-03-01T05:30:04.821Z] [semverPrep] GIT_COMMIT: 5702d2f43f9adf1b487f1ea51059e9713c2d943c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-01T05:30:04.830Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-01T05:30:05.186Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-01T05:30:05.186Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-01T05:30:05.186Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-01T05:30:05.186Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-01T05:30:05.186Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-01T05:30:05.186Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-01T05:30:05.186Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:30:05.527Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T05:30:05.527Z] [2023-03-01T05:30:05.527Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:30:05.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T05:30:05.832Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-01T05:30:05.832Z] b85a868b505f: Pulling fs layer [2023-03-01T05:30:05.832Z] e2be974225ed: Pulling fs layer [2023-03-01T05:30:05.832Z] 339a4e72a1f5: Pulling fs layer [2023-03-01T05:30:05.832Z] 988bab9f4d93: Pulling fs layer [2023-03-01T05:30:05.832Z] 1469e6f7b9e6: Pulling fs layer [2023-03-01T05:30:05.832Z] eaf3925da568: Pulling fs layer [2023-03-01T05:30:05.832Z] bab4dde63d76: Pulling fs layer [2023-03-01T05:30:05.832Z] bde34c3a00c8: Pulling fs layer [2023-03-01T05:30:05.832Z] b352a97aabf1: Pulling fs layer [2023-03-01T05:30:05.832Z] 4872d77fe225: Pulling fs layer [2023-03-01T05:30:05.832Z] 5851b861e8e6: Pulling fs layer [2023-03-01T05:30:05.832Z] 988bab9f4d93: Waiting [2023-03-01T05:30:05.832Z] 1469e6f7b9e6: Waiting [2023-03-01T05:30:05.832Z] eaf3925da568: Waiting [2023-03-01T05:30:05.832Z] bde34c3a00c8: Waiting [2023-03-01T05:30:05.832Z] bab4dde63d76: Waiting [2023-03-01T05:30:05.832Z] b352a97aabf1: Waiting [2023-03-01T05:30:05.832Z] 5851b861e8e6: Waiting [2023-03-01T05:30:05.832Z] 4872d77fe225: Waiting [2023-03-01T05:30:05.832Z] e2be974225ed: Download complete [2023-03-01T05:30:05.832Z] 988bab9f4d93: Verifying Checksum [2023-03-01T05:30:05.832Z] 988bab9f4d93: Download complete [2023-03-01T05:30:06.092Z] 1469e6f7b9e6: Verifying Checksum [2023-03-01T05:30:06.092Z] 1469e6f7b9e6: Download complete [2023-03-01T05:30:06.092Z] eaf3925da568: Verifying Checksum [2023-03-01T05:30:06.092Z] eaf3925da568: Download complete [2023-03-01T05:30:06.092Z] 339a4e72a1f5: Verifying Checksum [2023-03-01T05:30:06.092Z] 339a4e72a1f5: Download complete [2023-03-01T05:30:06.092Z] b352a97aabf1: Download complete [2023-03-01T05:30:06.092Z] 4872d77fe225: Verifying Checksum [2023-03-01T05:30:06.092Z] 4872d77fe225: Download complete [2023-03-01T05:30:06.092Z] 5851b861e8e6: Verifying Checksum [2023-03-01T05:30:06.092Z] 5851b861e8e6: Download complete [2023-03-01T05:30:06.092Z] b85a868b505f: Verifying Checksum [2023-03-01T05:30:06.092Z] b85a868b505f: Download complete [2023-03-01T05:30:06.352Z] bab4dde63d76: Verifying Checksum [2023-03-01T05:30:06.352Z] bab4dde63d76: Download complete [2023-03-01T05:30:07.286Z] b85a868b505f: Pull complete [2023-03-01T05:30:07.286Z] e2be974225ed: Pull complete [2023-03-01T05:30:07.853Z] 339a4e72a1f5: Pull complete [2023-03-01T05:30:07.853Z] 988bab9f4d93: Pull complete [2023-03-01T05:30:08.111Z] 1469e6f7b9e6: Pull complete [2023-03-01T05:30:08.111Z] eaf3925da568: Pull complete [2023-03-01T05:30:10.012Z] bab4dde63d76: Pull complete [2023-03-01T05:30:10.012Z] bde34c3a00c8: Pull complete [2023-03-01T05:30:10.012Z] b352a97aabf1: Pull complete [2023-03-01T05:30:10.012Z] 4872d77fe225: Pull complete [2023-03-01T05:30:10.012Z] 5851b861e8e6: Pull complete [2023-03-01T05:30:10.012Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-01T05:30:10.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-01T05:30:10.012Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:30:10.097Z] prd-ubuntu20.04-docker-8c-8g-7902 does not seem to be running inside a container [2023-03-01T05:30:10.125Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1355 -v /w/workspace/gexfoundry_device-sdk-go_PR-1355:/w/workspace/gexfoundry_device-sdk-go_PR-1355:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-01T05:30:13.383Z] $ docker top f1b618e117de1824991b9c2eb9832f5b63332d4899ab1ff749bd0424b4fe39da -eo pid,comm [2023-03-01T05:30:13.439Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-01T05:30:13.439Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-01T05:30:13.479Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T05:30:13.479Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T05:30:13.589Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T05:30:13.588Z] $ docker exec f1b618e117de1824991b9c2eb9832f5b63332d4899ab1ff749bd0424b4fe39da ssh-agent [2023-03-01T05:30:13.694Z] SSH_AUTH_SOCK=/tmp/ssh-DGtM1qZrRKhn/agent.32 [2023-03-01T05:30:13.695Z] SSH_AGENT_PID=38 [2023-03-01T05:30:13.701Z] Running ssh-add (command line suppressed) [2023-03-01T05:30:13.799Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp/private_key_16211969616528877110.key (/w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp/private_key_16211969616528877110.key) [2023-03-01T05:30:13.816Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T05:30:14.100Z] + git tag --points-at HEAD [Pipeline] } [2023-03-01T05:30:14.109Z] $ docker exec --env ******** --env ******** f1b618e117de1824991b9c2eb9832f5b63332d4899ab1ff749bd0424b4fe39da ssh-agent -k [2023-03-01T05:30:14.218Z] unset SSH_AUTH_SOCK; [2023-03-01T05:30:14.219Z] unset SSH_AGENT_PID; [2023-03-01T05:30:14.219Z] echo Agent pid 38 killed; [2023-03-01T05:30:14.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-01T05:30:14.255Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-01T05:30:14.255Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-01T05:30:14.365Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-01T05:30:14.364Z] $ docker exec f1b618e117de1824991b9c2eb9832f5b63332d4899ab1ff749bd0424b4fe39da ssh-agent [2023-03-01T05:30:14.481Z] SSH_AUTH_SOCK=/tmp/ssh-HeMWcRExahss/agent.71 [2023-03-01T05:30:14.481Z] SSH_AGENT_PID=77 [2023-03-01T05:30:14.485Z] Running ssh-add (command line suppressed) [2023-03-01T05:30:14.581Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp/private_key_5025081861224625811.key (/w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp/private_key_5025081861224625811.key) [2023-03-01T05:30:14.598Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-01T05:30:14.881Z] + git semver init [2023-03-01T05:30:15.140Z] 2023-03-01 05:30:15,055 [run_init] DEBUG init version:0.0.0 force:False [2023-03-01T05:30:15.140Z] 2023-03-01 05:30:15,055 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1355/.semver [2023-03-01T05:30:15.140Z] 2023-03-01 05:30:15,056 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1355/.semver [2023-03-01T05:30:15.140Z] 2023-03-01 05:30:15,056 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1355/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1355, universal_newlines=False, shell=None, istream=None) [2023-03-01T05:30:16.078Z] 2023-03-01 05:30:16,047 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1355/.git/info/exclude [2023-03-01T05:30:16.078Z] 2023-03-01 05:30:16,048 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1355/.semver/PR-1355 with force:False [2023-03-01T05:30:16.078Z] 2023-03-01 05:30:16,048 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1355/.semver/PR-1355 [2023-03-01T05:30:16.078Z] 2023-03-01 05:30:16,051 [execute] INFO git cat-file --batch-check [2023-03-01T05:30:16.078Z] 2023-03-01 05:30:16,052 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1355/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T05:30:16.078Z] 2023-03-01 05:30:16,056 [execute] INFO git cat-file --batch [2023-03-01T05:30:16.078Z] 2023-03-01 05:30:16,056 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1355/.semver, universal_newlines=False, shell=None, istream=) [2023-03-01T05:30:16.078Z] 2023-03-01 05:30:16,060 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1355/.semver/PR-1355 [2023-03-01T05:30:16.078Z] 0.0.0 [Pipeline] } [2023-03-01T05:30:16.342Z] $ docker exec --env ******** --env ******** f1b618e117de1824991b9c2eb9832f5b63332d4899ab1ff749bd0424b4fe39da ssh-agent -k [2023-03-01T05:30:16.432Z] unset SSH_AUTH_SOCK; [2023-03-01T05:30:16.432Z] unset SSH_AGENT_PID; [2023-03-01T05:30:16.433Z] echo Agent pid 77 killed; [2023-03-01T05:30:16.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-01T05:30:16.743Z] + git semver [Pipeline] } [2023-03-01T05:30:17.011Z] $ docker stop --time=1 f1b618e117de1824991b9c2eb9832f5b63332d4899ab1ff749bd0424b4fe39da [2023-03-01T05:30:18.326Z] $ docker rm -f --volumes f1b618e117de1824991b9c2eb9832f5b63332d4899ab1ff749bd0424b4fe39da [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T05:30:18.660Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-01T05:30:18.888Z] Stashed 1 file(s) [Pipeline] echo [2023-03-01T05:30:18.892Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:30:19.022Z] provisioning config files... [2023-03-01T05:30:19.032Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp/config5514640466334992340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:30:19.332Z] ---> docker-login.sh [2023-03-01T05:30:19.332Z] nexus3.edgexfoundry.org:10001 [2023-03-01T05:30:19.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:30:19.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:30:19.332Z] Configure a credential helper to remove this warning. See [2023-03-01T05:30:19.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:30:19.332Z] [2023-03-01T05:30:19.332Z] Login Succeeded [2023-03-01T05:30:19.332Z] nexus3.edgexfoundry.org:10002 [2023-03-01T05:30:19.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:30:19.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:30:19.332Z] Configure a credential helper to remove this warning. See [2023-03-01T05:30:19.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:30:19.332Z] [2023-03-01T05:30:19.332Z] Login Succeeded [2023-03-01T05:30:19.332Z] nexus3.edgexfoundry.org:10003 [2023-03-01T05:30:19.589Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:30:19.589Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:30:19.589Z] Configure a credential helper to remove this warning. See [2023-03-01T05:30:19.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:30:19.590Z] [2023-03-01T05:30:19.590Z] Login Succeeded [2023-03-01T05:30:19.590Z] nexus3.edgexfoundry.org:10004 [2023-03-01T05:30:19.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:30:19.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:30:19.590Z] Configure a credential helper to remove this warning. See [2023-03-01T05:30:19.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:30:19.590Z] [2023-03-01T05:30:19.590Z] Login Succeeded [2023-03-01T05:30:19.590Z] docker.io [2023-03-01T05:30:19.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:30:19.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:30:19.847Z] Configure a credential helper to remove this warning. See [2023-03-01T05:30:19.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:30:19.847Z] [2023-03-01T05:30:19.847Z] Login Succeeded [2023-03-01T05:30:19.847Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T05:30:19.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T05:30:19.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:30:19.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:30:19.946Z] ========================================================= [2023-03-01T05:30:19.946Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-01T05:30:19.946Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:30:20.274Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T05:30:20.274Z] Sending build context to Docker daemon 10.6MB [2023-03-01T05:30:20.274Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:30:20.274Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-01T05:30:20.274Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-01T05:30:20.274Z] 213ec9aee27d: Pulling fs layer [2023-03-01T05:30:20.274Z] 4583459ba037: Pulling fs layer [2023-03-01T05:30:20.274Z] 93c1e223e6f2: Pulling fs layer [2023-03-01T05:30:20.274Z] 53926ce57604: Pulling fs layer [2023-03-01T05:30:20.274Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-01T05:30:20.274Z] 22ff95d597cd: Pulling fs layer [2023-03-01T05:30:20.274Z] 12d6caf4c0d1: Pulling fs layer [2023-03-01T05:30:20.274Z] 96b7cbca73a9: Pulling fs layer [2023-03-01T05:30:20.274Z] a7acece74701: Pulling fs layer [2023-03-01T05:30:20.274Z] 12d6caf4c0d1: Waiting [2023-03-01T05:30:20.274Z] 96b7cbca73a9: Waiting [2023-03-01T05:30:20.274Z] a7acece74701: Waiting [2023-03-01T05:30:20.274Z] 53926ce57604: Waiting [2023-03-01T05:30:20.274Z] 22ff95d597cd: Waiting [2023-03-01T05:30:20.274Z] 93c1e223e6f2: Verifying Checksum [2023-03-01T05:30:20.274Z] 93c1e223e6f2: Download complete [2023-03-01T05:30:20.534Z] 4583459ba037: Verifying Checksum [2023-03-01T05:30:20.534Z] 4583459ba037: Download complete [2023-03-01T05:30:20.534Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-01T05:30:20.534Z] 21b2b0c7a3f4: Download complete [2023-03-01T05:30:20.534Z] 22ff95d597cd: Verifying Checksum [2023-03-01T05:30:20.534Z] 22ff95d597cd: Download complete [2023-03-01T05:30:20.534Z] 213ec9aee27d: Verifying Checksum [2023-03-01T05:30:20.534Z] 213ec9aee27d: Download complete [2023-03-01T05:30:20.534Z] 12d6caf4c0d1: Download complete [2023-03-01T05:30:20.534Z] 213ec9aee27d: Pull complete [2023-03-01T05:30:20.808Z] 4583459ba037: Pull complete [2023-03-01T05:30:20.808Z] 93c1e223e6f2: Pull complete [2023-03-01T05:30:21.405Z] a7acece74701: Verifying Checksum [2023-03-01T05:30:21.405Z] a7acece74701: Download complete [2023-03-01T05:30:21.664Z] 96b7cbca73a9: Verifying Checksum [2023-03-01T05:30:21.664Z] 96b7cbca73a9: Download complete [2023-03-01T05:30:21.664Z] 53926ce57604: Verifying Checksum [2023-03-01T05:30:21.664Z] 53926ce57604: Download complete [2023-03-01T05:30:24.943Z] 53926ce57604: Pull complete [2023-03-01T05:30:24.943Z] 21b2b0c7a3f4: Pull complete [2023-03-01T05:30:24.943Z] 22ff95d597cd: Pull complete [2023-03-01T05:30:24.943Z] 12d6caf4c0d1: Pull complete [2023-03-01T05:30:26.844Z] 96b7cbca73a9: Pull complete [2023-03-01T05:30:27.409Z] a7acece74701: Pull complete [2023-03-01T05:30:27.669Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-01T05:30:27.669Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-01T05:30:27.669Z] ---> db6d94c90886 [2023-03-01T05:30:27.669Z] Step 3/10 : ARG MAKE=make build [2023-03-01T05:30:30.960Z] ---> Running in 82cc37ab4070 [2023-03-01T05:30:30.960Z] Removing intermediate container 82cc37ab4070 [2023-03-01T05:30:30.960Z] ---> 7a907cea73ad [2023-03-01T05:30:30.960Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-01T05:30:30.960Z] ---> Running in 1e6c088e5451 [2023-03-01T05:30:31.219Z] Removing intermediate container 1e6c088e5451 [2023-03-01T05:30:31.219Z] ---> 393e22a49a7e [2023-03-01T05:30:31.219Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:30:31.219Z] ---> Running in 5cdafe716d40 [2023-03-01T05:30:31.219Z] Removing intermediate container 5cdafe716d40 [2023-03-01T05:30:31.219Z] ---> 6a4625d80bdd [2023-03-01T05:30:31.219Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-01T05:30:31.219Z] ---> Running in aa120bfadf1a [2023-03-01T05:30:31.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T05:30:31.737Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T05:30:31.995Z] OK: 211 MiB in 51 packages [2023-03-01T05:30:32.255Z] Removing intermediate container aa120bfadf1a [2023-03-01T05:30:32.255Z] ---> b31d9eeaa4e3 [2023-03-01T05:30:32.255Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-01T05:30:32.514Z] ---> 5f228bf03225 [2023-03-01T05:30:32.514Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:30:32.514Z] ---> Running in eedb55cfca29 [2023-03-01T05:30:33.966Z] Still waiting to schedule task [2023-03-01T05:30:33.966Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7901’ is offline [2023-03-01T05:31:04.597Z] Removing intermediate container eedb55cfca29 [2023-03-01T05:31:04.597Z] ---> fd524484782e [2023-03-01T05:31:04.597Z] Step 9/10 : COPY . . [2023-03-01T05:31:04.597Z] ---> 4832f6e0e6f2 [2023-03-01T05:31:04.597Z] Step 10/10 : RUN ${MAKE} [2023-03-01T05:31:04.597Z] ---> Running in 6cc3d0c51cdf [2023-03-01T05:31:04.597Z] noop [2023-03-01T05:31:04.597Z] Removing intermediate container 6cc3d0c51cdf [2023-03-01T05:31:04.597Z] ---> bd79bcf70ea6 [2023-03-01T05:31:04.597Z] Successfully built bd79bcf70ea6 [2023-03-01T05:31:04.597Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:31:04.906Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T05:31:04.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:31:04.979Z] prd-ubuntu20.04-docker-8c-8g-7902 does not seem to be running inside a container [2023-03-01T05:31:05.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1355 -v /w/workspace/gexfoundry_device-sdk-go_PR-1355:/w/workspace/gexfoundry_device-sdk-go_PR-1355:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T05:31:05.354Z] $ docker top 39de6ef6967d20dca8e239a08edbd7f399aef7e5ade30f35f4bff9c5d3ec8032 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:31:05.692Z] + go version [2023-03-01T05:31:05.692Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-01T05:31:05.702Z] $ docker stop --time=1 39de6ef6967d20dca8e239a08edbd7f399aef7e5ade30f35f4bff9c5d3ec8032 [2023-03-01T05:31:06.963Z] $ docker rm -f --volumes 39de6ef6967d20dca8e239a08edbd7f399aef7e5ade30f35f4bff9c5d3ec8032 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:31:07.334Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-01T05:31:07.334Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:31:07.398Z] prd-ubuntu20.04-docker-8c-8g-7902 does not seem to be running inside a container [2023-03-01T05:31:07.427Z] $ 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-1355 -v /w/workspace/gexfoundry_device-sdk-go_PR-1355:/w/workspace/gexfoundry_device-sdk-go_PR-1355:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-01T05:31:07.754Z] $ docker top 21ff522ed0527a21bbeaeb24c2566c02da12e8fd980fc5bf6a7f089033e3765c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:31:08.093Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1355 [Pipeline] fileExists [Pipeline] sh [2023-03-01T05:31:08.386Z] + make test [2023-03-01T05:31:08.386Z] go test -race -coverprofile=coverage.out ./... [2023-03-01T05:31:14.947Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-01T05:31:27.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-01T05:31:27.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-01T05:31:27.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-01T05:31:27.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-01T05:31:27.162Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-01T05:31:27.162Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements [2023-03-01T05:31:27.162Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.056s coverage: 78.9% of statements [2023-03-01T05:31:27.162Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-01T05:31:27.162Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.076s coverage: 86.0% of statements [2023-03-01T05:31:27.162Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-01T05:31:27.162Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-01T05:31:27.162Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.084s coverage: 75.0% of statements [2023-03-01T05:31:27.162Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-01T05:31:29.696Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.069s coverage: 15.3% of statements [2023-03-01T05:31:29.696Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-01T05:31:29.696Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.084s coverage: 65.2% of statements [2023-03-01T05:31:29.696Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-01T05:31:29.696Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-01T05:31:29.696Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.810s coverage: 89.2% of statements [2023-03-01T05:31:29.696Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-01T05:31:29.696Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.6% of statements [2023-03-01T05:31:29.696Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-01T05:31:44.558Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-01T05:31:44.558Z] GO111MODULE=on go vet ./... [2023-03-01T05:31:45.934Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T05:31:45.934Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T05:31:45.934Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T05:31:46.208Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T05:31:46.225Z] $ docker stop --time=1 21ff522ed0527a21bbeaeb24c2566c02da12e8fd980fc5bf6a7f089033e3765c [2023-03-01T05:31:49.578Z] $ docker rm -f --volumes 21ff522ed0527a21bbeaeb24c2566c02da12e8fd980fc5bf6a7f089033e3765c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T05:31:50.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T05:31:50.165Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-01T05:31:50.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T05:31:50.895Z] + ls -al . [2023-03-01T05:31:50.896Z] total 280 [2023-03-01T05:31:50.896Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 05:31 . [2023-03-01T05:31:50.896Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:29 .. [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 05:29 .dockerignore [2023-03-01T05:31:50.896Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 05:31 .git [2023-03-01T05:31:50.896Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:29 .github [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 05:29 .gitignore [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 05:29 .golangci.yml [2023-03-01T05:31:50.896Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 05:30 .semver [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 05:29 CHANGELOG.md [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 05:29 GOVERNANCE.md [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 05:29 Jenkinsfile [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 05:29 LICENSE [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 05:29 Makefile [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 05:29 OWNERS.md [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 05:29 README.md [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 05:30 VERSION [2023-03-01T05:31:50.896Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:29 bin [2023-03-01T05:31:50.896Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 1 05:31 coverage.out [2023-03-01T05:31:50.896Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 05:29 example [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 05:29 go.mod [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 05:29 go.sum [2023-03-01T05:31:50.896Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 05:29 internal [2023-03-01T05:31:50.896Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 05:29 openapi [2023-03-01T05:31:50.896Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 05:29 pkg [2023-03-01T05:31:50.896Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:29 snap [2023-03-01T05:31:50.896Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 05:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:31:51.273Z] + 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=5702d2f43f9adf1b487f1ea51059e9713c2d943c --label arch=amd64 --label version=0.0.0 . [2023-03-01T05:31:51.273Z] Sending build context to Docker daemon 10.71MB [2023-03-01T05:31:51.273Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:31:51.273Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-01T05:31:51.273Z] ---> bd79bcf70ea6 [2023-03-01T05:31:51.273Z] Step 3/23 : ARG MAKE=make build [2023-03-01T05:31:51.555Z] ---> Running in eda9d357ed2e [2023-03-01T05:31:51.555Z] Removing intermediate container eda9d357ed2e [2023-03-01T05:31:51.555Z] ---> a02dc35fac93 [2023-03-01T05:31:51.555Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-01T05:31:51.555Z] ---> Running in cab4031d34e0 [2023-03-01T05:31:51.555Z] Removing intermediate container cab4031d34e0 [2023-03-01T05:31:51.555Z] ---> 642833ba1d0f [2023-03-01T05:31:51.555Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:31:51.555Z] ---> Running in 663ced4b2f2a [2023-03-01T05:31:51.555Z] Removing intermediate container 663ced4b2f2a [2023-03-01T05:31:51.555Z] ---> f1534c9ee3e2 [2023-03-01T05:31:51.555Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-01T05:31:51.846Z] ---> Running in fecd4b2a28cc [2023-03-01T05:31:52.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T05:31:52.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T05:31:52.391Z] OK: 211 MiB in 51 packages [2023-03-01T05:31:52.669Z] Removing intermediate container fecd4b2a28cc [2023-03-01T05:31:52.669Z] ---> 5c881d18a2f2 [2023-03-01T05:31:52.669Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-01T05:31:52.669Z] ---> ca081deb04d7 [2023-03-01T05:31:52.669Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:31:52.927Z] ---> Running in bbd321078d73 [2023-03-01T05:31:53.493Z] Removing intermediate container bbd321078d73 [2023-03-01T05:31:53.493Z] ---> fdd970b62b1d [2023-03-01T05:31:53.493Z] Step 9/23 : COPY . . [2023-03-01T05:31:54.075Z] ---> 230409937369 [2023-03-01T05:31:54.075Z] Step 10/23 : RUN ${MAKE} [2023-03-01T05:31:54.075Z] ---> Running in 45d2f800153e [2023-03-01T05:31:54.334Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-01T05:32:01.757Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7904 in /w/workspace/gexfoundry_device-sdk-go_PR-1355 [Pipeline] { [Pipeline] ws [2023-03-01T05:32:01.771Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-01T05:32:01.808Z] The recommended git tool is: git [2023-03-01T05:32:06.718Z] using credential edgex-jenkins-ssh [2023-03-01T05:32:06.736Z] Cloning the remote Git repository [2023-03-01T05:32:06.776Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T05:32:06.846Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-01T05:32:06.989Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T05:32:06.990Z] > git --version # timeout=10 [2023-03-01T05:32:07.017Z] > git --version # 'git version 2.25.1' [2023-03-01T05:32:07.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T05:32:07.078Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T05:32:08.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-01T05:32:08.746Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-01T05:32:10.291Z] Merging remotes/origin/main commit 844470d981b00f1723aa71b22ce5646b0926e81e into PR head commit 5702d2f43f9adf1b487f1ea51059e9713c2d943c [2023-03-01T05:32:10.515Z] Merge succeeded, producing 5702d2f43f9adf1b487f1ea51059e9713c2d943c [2023-03-01T05:32:10.516Z] Checking out Revision 5702d2f43f9adf1b487f1ea51059e9713c2d943c (PR-1355) [2023-03-01T05:32:09.569Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-01T05:32:09.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-01T05:32:09.613Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T05:32:09.637Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1355/head:refs/remotes/origin/PR-1355 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-01T05:32:10.304Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T05:32:10.323Z] > git checkout -f 5702d2f43f9adf1b487f1ea51059e9713c2d943c # timeout=10 [2023-03-01T05:32:10.422Z] > git remote # timeout=10 [2023-03-01T05:32:10.439Z] > git config --get remote.origin.url # timeout=10 [2023-03-01T05:32:10.457Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-01T05:32:10.471Z] > git merge 844470d981b00f1723aa71b22ce5646b0926e81e # timeout=10 [2023-03-01T05:32:10.495Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-01T05:32:10.519Z] > git config core.sparsecheckout # timeout=10 [2023-03-01T05:32:11.053Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T05:32:10.538Z] > git checkout -f 5702d2f43f9adf1b487f1ea51059e9713c2d943c # timeout=10 [2023-03-01T05:32:12.052Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-01T05:32:12.052Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T05:32:12.052Z] Dload Upload Total Spent Left Speed [2023-03-01T05:32:12.052Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 104k 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2023-03-01T05:32:12.402Z] Removing intermediate container 45d2f800153e [2023-03-01T05:32:12.402Z] ---> 3eda1407f597 [2023-03-01T05:32:12.402Z] Step 11/23 : FROM alpine:3.16 [2023-03-01T05:32:12.402Z] 3.16: Pulling from library/alpine [2023-03-01T05:32:12.402Z] ef5531b6e74e: Pulling fs layer [2023-03-01T05:32:12.668Z] ef5531b6e74e: Verifying Checksum [2023-03-01T05:32:12.668Z] ef5531b6e74e: Download complete [2023-03-01T05:32:12.668Z] ef5531b6e74e: Pull complete [2023-03-01T05:32:12.668Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T05:32:12.668Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T05:32:12.668Z] ---> dfd21b5a31f5 [2023-03-01T05:32:12.668Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-01T05:32:12.706Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-01T05:32:12.927Z] ---> Running in 7e7629fbc25d [2023-03-01T05:32:12.927Z] Removing intermediate container 7e7629fbc25d [2023-03-01T05:32:12.927Z] ---> b61b1021eead [2023-03-01T05:32:12.927Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-01T05:32:12.927Z] ---> Running in 172f80f81517 [2023-03-01T05:32:13.021Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-03-01T05:32:13.021Z] [2023-03-01T05:32:13.021Z] { [2023-03-01T05:32:13.021Z] "registry-mirrors": [ [2023-03-01T05:32:13.021Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-01T05:32:13.021Z] ], [2023-03-01T05:32:13.021Z] "bip": "10.250.0.254/24", [2023-03-01T05:32:13.021Z] "hosts": [ [2023-03-01T05:32:13.021Z] "tcp://0.0.0.0:5555", [2023-03-01T05:32:13.021Z] "unix:///var/run/docker.sock" [2023-03-01T05:32:13.021Z] ], [2023-03-01T05:32:13.021Z] "mtu": 1458, [2023-03-01T05:32:13.021Z] "selinux-enabled": true, [2023-03-01T05:32:13.021Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-01T05:32:13.021Z] } [Pipeline] sh [2023-03-01T05:32:13.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-01T05:32:13.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-01T05:32:13.346Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-01T05:32:13.444Z] OK: 6 MiB in 14 packages [2023-03-01T05:32:13.679Z] + sudo service docker restart [2023-03-01T05:32:14.012Z] Removing intermediate container 172f80f81517 [2023-03-01T05:32:14.012Z] ---> 8c1216279be6 [2023-03-01T05:32:14.012Z] Step 14/23 : WORKDIR / [2023-03-01T05:32:14.012Z] ---> Running in 2cc0762aa998 [2023-03-01T05:32:14.012Z] Removing intermediate container 2cc0762aa998 [2023-03-01T05:32:14.012Z] ---> ed8e8ca6e96b [2023-03-01T05:32:14.012Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-01T05:32:14.012Z] ---> db579355a1e7 [2023-03-01T05:32:14.012Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-01T05:32:14.947Z] ---> 4a1f28cfa384 [2023-03-01T05:32:14.947Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-01T05:32:14.947Z] ---> 2f7868a5f69d [2023-03-01T05:32:14.947Z] Step 18/23 : EXPOSE 59999 [2023-03-01T05:32:14.947Z] ---> Running in e592eece992e [2023-03-01T05:32:14.947Z] Removing intermediate container e592eece992e [2023-03-01T05:32:14.947Z] ---> 652b82e28c63 [2023-03-01T05:32:14.947Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-01T05:32:14.947Z] ---> Running in 3c86fab4dd8e [2023-03-01T05:32:14.947Z] Removing intermediate container 3c86fab4dd8e [2023-03-01T05:32:14.947Z] ---> 5ec92328ae49 [2023-03-01T05:32:14.947Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-01T05:32:14.947Z] ---> Running in c113fb3d3968 [2023-03-01T05:32:15.206Z] Removing intermediate container c113fb3d3968 [2023-03-01T05:32:15.206Z] ---> 58baf6467d0b [2023-03-01T05:32:15.206Z] Step 21/23 : LABEL arch=amd64 [2023-03-01T05:32:15.206Z] ---> Running in d9e32a934e5a [2023-03-01T05:32:15.206Z] Removing intermediate container d9e32a934e5a [2023-03-01T05:32:15.206Z] ---> 963ff904f788 [2023-03-01T05:32:15.206Z] Step 22/23 : LABEL git_sha=5702d2f43f9adf1b487f1ea51059e9713c2d943c [2023-03-01T05:32:15.206Z] ---> Running in 706a8b15b6cb [2023-03-01T05:32:15.206Z] Removing intermediate container 706a8b15b6cb [2023-03-01T05:32:15.206Z] ---> 79bb2b9875c2 [2023-03-01T05:32:15.206Z] Step 23/23 : LABEL version=0.0.0 [2023-03-01T05:32:15.206Z] ---> Running in d3d399cc46ff [2023-03-01T05:32:15.465Z] Removing intermediate container d3d399cc46ff [2023-03-01T05:32:15.465Z] ---> c3f440f0477d [2023-03-01T05:32:15.465Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T05:32:15.465Z] Successfully built c3f440f0477d [2023-03-01T05:32:15.465Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:32:15.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:32:15.873Z] [2023-03-01T05:32:15.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:32:16.178Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:32:16.178Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-01T05:32:16.178Z] 5eb5b503b376: Pulling fs layer [2023-03-01T05:32:16.178Z] 5c69ac0246d0: Pulling fs layer [2023-03-01T05:32:16.178Z] ec43610c2a17: Pulling fs layer [2023-03-01T05:32:16.178Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-01T05:32:16.178Z] 33b1e0a273af: Pulling fs layer [2023-03-01T05:32:16.178Z] 5d3b04190fa2: Pulling fs layer [2023-03-01T05:32:16.178Z] 33b1e0a273af: Waiting [2023-03-01T05:32:16.178Z] 3a2ae6a8a46f: Waiting [2023-03-01T05:32:16.178Z] 2f39f015ded8: Pulling fs layer [2023-03-01T05:32:16.178Z] 5d3b04190fa2: Waiting [2023-03-01T05:32:16.178Z] 2f39f015ded8: Waiting [2023-03-01T05:32:16.178Z] 5c69ac0246d0: Verifying Checksum [2023-03-01T05:32:16.178Z] 5c69ac0246d0: Download complete [2023-03-01T05:32:16.178Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-01T05:32:16.178Z] 3a2ae6a8a46f: Download complete [2023-03-01T05:32:16.437Z] 33b1e0a273af: Verifying Checksum [2023-03-01T05:32:16.437Z] 33b1e0a273af: Download complete [2023-03-01T05:32:16.437Z] ec43610c2a17: Verifying Checksum [2023-03-01T05:32:16.437Z] ec43610c2a17: Download complete [2023-03-01T05:32:16.437Z] 5d3b04190fa2: Verifying Checksum [2023-03-01T05:32:16.437Z] 5d3b04190fa2: Download complete [2023-03-01T05:32:16.437Z] 5eb5b503b376: Verifying Checksum [2023-03-01T05:32:16.437Z] 5eb5b503b376: Download complete [2023-03-01T05:32:17.002Z] 2f39f015ded8: Verifying Checksum [2023-03-01T05:32:17.002Z] 2f39f015ded8: Download complete [2023-03-01T05:32:17.576Z] 5eb5b503b376: Pull complete [2023-03-01T05:32:17.834Z] 5c69ac0246d0: Pull complete [2023-03-01T05:32:18.094Z] ec43610c2a17: Pull complete [2023-03-01T05:32:18.094Z] 3a2ae6a8a46f: Pull complete [2023-03-01T05:32:18.353Z] 33b1e0a273af: Pull complete [2023-03-01T05:32:18.353Z] 5d3b04190fa2: Pull complete [2023-03-01T05:32:22.537Z] 2f39f015ded8: Pull complete [2023-03-01T05:32:22.537Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-01T05:32:22.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:32:22.537Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:32:22.628Z] prd-ubuntu20.04-docker-8c-8g-7902 does not seem to be running inside a container [2023-03-01T05:32:22.658Z] $ 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-1355 -v /w/workspace/gexfoundry_device-sdk-go_PR-1355:/w/workspace/gexfoundry_device-sdk-go_PR-1355:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T05:32:25.839Z] $ docker top 685363976b14d60ce84576f1b02d003692d105d98bdf20fedbc218a45488e4c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:32:26.214Z] ---> job-cost.sh [2023-03-01T05:32:26.214Z] lf-activate-venv: SKIPPING [2023-03-01T05:32:26.214Z] INFO: No Stack... [2023-03-01T05:32:26.472Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T05:32:27.041Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T05:32:27.334Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1355/archives/cost.csv [2023-03-01T05:32:27.334Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T05:32:27.352Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1355-2-stack-cost] [2023-03-01T05:32:27.358Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1355-2-stack-cost] did not exist. Created. [2023-03-01T05:32:27.358Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T05:32:27.657Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-01T05:32:27.684Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T05:32:27.690Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1355-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T05:32:27.711Z] $ docker stop --time=1 685363976b14d60ce84576f1b02d003692d105d98bdf20fedbc218a45488e4c8 [2023-03-01T05:32:28.852Z] $ docker rm -f --volumes 685363976b14d60ce84576f1b02d003692d105d98bdf20fedbc218a45488e4c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:32:31.941Z] provisioning config files... [2023-03-01T05:32:31.967Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config2771167656588655110tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:32:32.322Z] ---> docker-login.sh [2023-03-01T05:32:32.322Z] nexus3.edgexfoundry.org:10001 [2023-03-01T05:32:32.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:32:32.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:32:32.862Z] Configure a credential helper to remove this warning. See [2023-03-01T05:32:32.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:32:32.862Z] [2023-03-01T05:32:32.862Z] Login Succeeded [2023-03-01T05:32:32.862Z] nexus3.edgexfoundry.org:10002 [2023-03-01T05:32:33.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:32:33.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:32:33.133Z] Configure a credential helper to remove this warning. See [2023-03-01T05:32:33.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:32:33.133Z] [2023-03-01T05:32:33.133Z] Login Succeeded [2023-03-01T05:32:33.403Z] nexus3.edgexfoundry.org:10003 [2023-03-01T05:32:33.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:32:33.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:32:33.671Z] Configure a credential helper to remove this warning. See [2023-03-01T05:32:33.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:32:33.671Z] [2023-03-01T05:32:33.671Z] Login Succeeded [2023-03-01T05:32:33.671Z] nexus3.edgexfoundry.org:10004 [2023-03-01T05:32:33.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:32:33.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:32:33.941Z] Configure a credential helper to remove this warning. See [2023-03-01T05:32:33.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:32:33.941Z] [2023-03-01T05:32:33.941Z] Login Succeeded [2023-03-01T05:32:33.941Z] docker.io [2023-03-01T05:32:34.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-01T05:32:34.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-01T05:32:34.479Z] Configure a credential helper to remove this warning. See [2023-03-01T05:32:34.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-01T05:32:34.479Z] [2023-03-01T05:32:34.479Z] Login Succeeded [2023-03-01T05:32:34.479Z] ---> docker-login.sh ends [Pipeline] } [2023-03-01T05:32:34.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-01T05:32:34.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:32:34.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-01T05:32:34.765Z] ========================================================= [2023-03-01T05:32:34.765Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-01T05:32:34.765Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:32:35.111Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-01T05:32:35.380Z] Sending build context to Docker daemon 5.688MB [2023-03-01T05:32:35.650Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:32:35.650Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-01T05:32:35.650Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-01T05:32:35.650Z] 9b18e9b68314: Pulling fs layer [2023-03-01T05:32:35.650Z] 35d82f9e3411: Pulling fs layer [2023-03-01T05:32:35.650Z] e16973657156: Pulling fs layer [2023-03-01T05:32:35.650Z] fc693d55d65f: Pulling fs layer [2023-03-01T05:32:35.650Z] 7e9fc2657dce: Pulling fs layer [2023-03-01T05:32:35.650Z] dda99020689f: Pulling fs layer [2023-03-01T05:32:35.650Z] db1c61fa0a46: Pulling fs layer [2023-03-01T05:32:35.650Z] 891c053d2c06: Pulling fs layer [2023-03-01T05:32:35.650Z] dda99020689f: Waiting [2023-03-01T05:32:35.650Z] db1c61fa0a46: Waiting [2023-03-01T05:32:35.650Z] 891c053d2c06: Waiting [2023-03-01T05:32:35.650Z] fc693d55d65f: Waiting [2023-03-01T05:32:35.650Z] 7e9fc2657dce: Waiting [2023-03-01T05:32:35.650Z] e16973657156: Verifying Checksum [2023-03-01T05:32:35.650Z] e16973657156: Download complete [2023-03-01T05:32:35.650Z] 7e9fc2657dce: Verifying Checksum [2023-03-01T05:32:35.650Z] 7e9fc2657dce: Download complete [2023-03-01T05:32:35.650Z] dda99020689f: Verifying Checksum [2023-03-01T05:32:35.650Z] dda99020689f: Download complete [2023-03-01T05:32:35.925Z] 9b18e9b68314: Verifying Checksum [2023-03-01T05:32:35.925Z] 9b18e9b68314: Download complete [2023-03-01T05:32:36.906Z] 9b18e9b68314: Pull complete [2023-03-01T05:32:36.906Z] 891c053d2c06: Verifying Checksum [2023-03-01T05:32:36.906Z] 891c053d2c06: Download complete [2023-03-01T05:32:37.502Z] 35d82f9e3411: Pull complete [2023-03-01T05:32:37.777Z] e16973657156: Pull complete [2023-03-01T05:32:38.373Z] db1c61fa0a46: Verifying Checksum [2023-03-01T05:32:38.373Z] db1c61fa0a46: Download complete [2023-03-01T05:32:38.641Z] fc693d55d65f: Download complete [2023-03-01T05:32:50.984Z] fc693d55d65f: Pull complete [2023-03-01T05:32:50.984Z] 7e9fc2657dce: Pull complete [2023-03-01T05:32:50.984Z] dda99020689f: Pull complete [2023-03-01T05:32:57.377Z] db1c61fa0a46: Pull complete [2023-03-01T05:32:59.339Z] 891c053d2c06: Pull complete [2023-03-01T05:32:59.339Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-01T05:32:59.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-01T05:32:59.339Z] ---> f96f9c87975a [2023-03-01T05:32:59.339Z] Step 3/10 : ARG MAKE=make build [2023-03-01T05:33:00.772Z] ---> Running in 8a8a3ca7272c [2023-03-01T05:33:01.044Z] Removing intermediate container 8a8a3ca7272c [2023-03-01T05:33:01.044Z] ---> 5764e6ac54b1 [2023-03-01T05:33:01.044Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-01T05:33:01.312Z] ---> Running in e7b8f9653ee3 [2023-03-01T05:33:01.580Z] Removing intermediate container e7b8f9653ee3 [2023-03-01T05:33:01.580Z] ---> db62c3e5a921 [2023-03-01T05:33:01.580Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:33:01.580Z] ---> Running in e2dd2fd003ef [2023-03-01T05:33:01.947Z] Removing intermediate container e2dd2fd003ef [2023-03-01T05:33:01.947Z] ---> db17344cb9c9 [2023-03-01T05:33:01.947Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-01T05:33:01.947Z] ---> Running in 98d8604af545 [2023-03-01T05:33:03.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T05:33:03.407Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T05:33:04.374Z] OK: 221 MiB in 51 packages [2023-03-01T05:33:08.898Z] Removing intermediate container 98d8604af545 [2023-03-01T05:33:08.898Z] ---> 63119334839c [2023-03-01T05:33:08.898Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-01T05:33:08.898Z] ---> 6033d59d1b17 [2023-03-01T05:33:08.898Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:33:08.898Z] ---> Running in 5ddf8d854ba4 [2023-03-01T05:34:05.360Z] Removing intermediate container 5ddf8d854ba4 [2023-03-01T05:34:05.360Z] ---> bc19fc7c372d [2023-03-01T05:34:05.360Z] Step 9/10 : COPY . . [2023-03-01T05:34:05.360Z] ---> 9ffba691fc24 [2023-03-01T05:34:05.360Z] Step 10/10 : RUN ${MAKE} [2023-03-01T05:34:05.360Z] ---> Running in 4653ce42198d [2023-03-01T05:34:06.324Z] noop [2023-03-01T05:34:07.287Z] Removing intermediate container 4653ce42198d [2023-03-01T05:34:07.287Z] ---> 336fdbe70898 [2023-03-01T05:34:07.287Z] Successfully built 336fdbe70898 [2023-03-01T05:34:07.287Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:34:07.646Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T05:34:07.646Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:34:07.838Z] prd-ubuntu20.04-docker-arm64-4c-16g-7904 does not seem to be running inside a container [2023-03-01T05:34:07.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T05:34:09.125Z] $ docker top f3e9f98b47f00d2a0dab6c1f015b1cb87bde95aa73b467af737ff9f02ba63227 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:34:09.942Z] + go version [2023-03-01T05:34:09.942Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-01T05:34:09.968Z] $ docker stop --time=1 f3e9f98b47f00d2a0dab6c1f015b1cb87bde95aa73b467af737ff9f02ba63227 [2023-03-01T05:34:11.630Z] $ docker rm -f --volumes f3e9f98b47f00d2a0dab6c1f015b1cb87bde95aa73b467af737ff9f02ba63227 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:34:12.183Z] + docker inspect -f . ci-base-image-arm64 [2023-03-01T05:34:12.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:34:12.384Z] prd-ubuntu20.04-docker-arm64-4c-16g-7904 does not seem to be running inside a container [2023-03-01T05:34:12.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-01T05:34:14.276Z] $ docker top b413d778ea8395ddad5a06d56f11f738ff53477ebb9c1706c9bbba797993f543 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:34:15.076Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-01T05:34:15.403Z] + make test [2023-03-01T05:34:15.403Z] go test -race -coverprofile=coverage.out ./... [2023-03-01T05:34:47.632Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-01T05:36:39.265Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-01T05:36:39.265Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-01T05:36:39.265Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-01T05:36:39.265Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-01T05:36:39.265Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-01T05:36:39.265Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.220s coverage: 27.6% of statements [2023-03-01T05:36:39.265Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.416s coverage: 78.9% of statements [2023-03-01T05:36:39.265Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-01T05:36:45.899Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.342s coverage: 86.0% of statements [2023-03-01T05:36:45.899Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-01T05:36:45.899Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-01T05:36:48.501Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.662s coverage: 75.0% of statements [2023-03-01T05:36:48.501Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-01T05:36:48.501Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.777s coverage: 15.3% of statements [2023-03-01T05:36:48.501Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-01T05:36:48.501Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.533s coverage: 65.2% of statements [2023-03-01T05:36:48.501Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-01T05:36:48.501Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-01T05:36:53.838Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.880s coverage: 89.2% of statements [2023-03-01T05:36:53.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-01T05:36:53.838Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.232s coverage: 4.6% of statements [2023-03-01T05:36:53.838Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-01T05:36:54.423Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-01T05:36:54.423Z] GO111MODULE=on go vet ./... [2023-03-01T05:38:31.077Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-01T05:38:31.077Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-01T05:38:31.077Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-01T05:38:31.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-01T05:38:31.115Z] $ docker stop --time=1 b413d778ea8395ddad5a06d56f11f738ff53477ebb9c1706c9bbba797993f543 [2023-03-01T05:38:32.916Z] $ docker rm -f --volumes b413d778ea8395ddad5a06d56f11f738ff53477ebb9c1706c9bbba797993f543 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-01T05:38:34.246Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-01T05:38:34.265Z] Warning: overwriting stash ‘coverage-report’ [2023-03-01T05:38:34.876Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-01T05:38:35.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-01T05:38:35.576Z] + ls -al . [2023-03-01T05:38:35.577Z] total 276 [2023-03-01T05:38:35.577Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 05:34 . [2023-03-01T05:38:35.577Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:32 .. [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 05:32 .dockerignore [2023-03-01T05:38:35.577Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 05:32 .git [2023-03-01T05:38:35.577Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:32 .github [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 05:32 .gitignore [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 05:32 .golangci.yml [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 05:32 CHANGELOG.md [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 05:32 GOVERNANCE.md [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 05:32 Jenkinsfile [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 05:32 LICENSE [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 05:32 Makefile [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 05:32 OWNERS.md [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 05:32 README.md [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 1 05:30 VERSION [2023-03-01T05:38:35.577Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:32 bin [2023-03-01T05:38:35.577Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 1 05:36 coverage.out [2023-03-01T05:38:35.577Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 05:32 example [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 05:32 go.mod [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 05:32 go.sum [2023-03-01T05:38:35.577Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 05:32 internal [2023-03-01T05:38:35.577Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 05:32 openapi [2023-03-01T05:38:35.577Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 05:32 pkg [2023-03-01T05:38:35.577Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:32 snap [2023-03-01T05:38:35.577Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 05:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:38:35.910Z] + 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=5702d2f43f9adf1b487f1ea51059e9713c2d943c --label arch=arm64 --label version=0.0.0 . [2023-03-01T05:38:36.497Z] Sending build context to Docker daemon 5.8MB [2023-03-01T05:38:36.497Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-01T05:38:36.497Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-01T05:38:36.497Z] ---> 336fdbe70898 [2023-03-01T05:38:36.497Z] Step 3/23 : ARG MAKE=make build [2023-03-01T05:38:36.771Z] ---> Running in a312bc7cf2da [2023-03-01T05:38:37.040Z] Removing intermediate container a312bc7cf2da [2023-03-01T05:38:37.040Z] ---> ed5d97d04f02 [2023-03-01T05:38:37.040Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-01T05:38:37.040Z] ---> Running in c72767d91f21 [2023-03-01T05:38:37.318Z] Removing intermediate container c72767d91f21 [2023-03-01T05:38:37.318Z] ---> e03fc495ca6b [2023-03-01T05:38:37.318Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-01T05:38:37.318Z] ---> Running in 42dfef55e762 [2023-03-01T05:38:37.586Z] Removing intermediate container 42dfef55e762 [2023-03-01T05:38:37.586Z] ---> 77a13c641307 [2023-03-01T05:38:37.586Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-01T05:38:37.857Z] ---> Running in 5742308e575f [2023-03-01T05:38:38.820Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T05:38:39.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T05:38:40.045Z] OK: 221 MiB in 51 packages [2023-03-01T05:38:40.625Z] Removing intermediate container 5742308e575f [2023-03-01T05:38:40.625Z] ---> dc3d92815f52 [2023-03-01T05:38:40.625Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-01T05:38:41.207Z] ---> ca4d9a40d1de [2023-03-01T05:38:41.207Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-01T05:38:41.207Z] ---> Running in 31245d0e26d3 [2023-03-01T05:38:43.778Z] Removing intermediate container 31245d0e26d3 [2023-03-01T05:38:43.778Z] ---> 57ecae97aecf [2023-03-01T05:38:43.778Z] Step 9/23 : COPY . . [2023-03-01T05:38:44.734Z] ---> ec56f7c4c993 [2023-03-01T05:38:44.735Z] Step 10/23 : RUN ${MAKE} [2023-03-01T05:38:44.735Z] ---> Running in 73231b642e09 [2023-03-01T05:38:45.691Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-01T05:40:52.331Z] Removing intermediate container 73231b642e09 [2023-03-01T05:40:52.331Z] ---> 170ff1e1fc04 [2023-03-01T05:40:52.331Z] Step 11/23 : FROM alpine:3.16 [2023-03-01T05:40:52.331Z] 3.16: Pulling from library/alpine [2023-03-01T05:40:52.331Z] 3760b48202b3: Pulling fs layer [2023-03-01T05:40:52.331Z] 3760b48202b3: Verifying Checksum [2023-03-01T05:40:52.331Z] 3760b48202b3: Download complete [2023-03-01T05:40:52.331Z] 3760b48202b3: Pull complete [2023-03-01T05:40:52.331Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-01T05:40:52.331Z] Status: Downloaded newer image for alpine:3.16 [2023-03-01T05:40:52.331Z] ---> 4c81e5bf8899 [2023-03-01T05:40:52.331Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-01T05:40:52.331Z] ---> Running in 0ae70b4ac474 [2023-03-01T05:40:52.331Z] Removing intermediate container 0ae70b4ac474 [2023-03-01T05:40:52.331Z] ---> 97e7d7be5edb [2023-03-01T05:40:52.331Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-01T05:40:52.331Z] ---> Running in acaaa7753bac [2023-03-01T05:40:52.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-01T05:40:52.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-01T05:40:52.331Z] OK: 5 MiB in 14 packages [2023-03-01T05:40:52.331Z] Removing intermediate container acaaa7753bac [2023-03-01T05:40:52.331Z] ---> 8ebe6292baf1 [2023-03-01T05:40:52.331Z] Step 14/23 : WORKDIR / [2023-03-01T05:40:52.331Z] ---> Running in 4e8cfca7723e [2023-03-01T05:40:52.331Z] Removing intermediate container 4e8cfca7723e [2023-03-01T05:40:52.331Z] ---> f08bdd2f7b27 [2023-03-01T05:40:52.331Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-01T05:40:52.331Z] ---> f9d0d411f3e5 [2023-03-01T05:40:52.331Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-01T05:40:52.331Z] ---> 4fac3a9dd824 [2023-03-01T05:40:52.331Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-01T05:40:52.331Z] ---> 88c46bc3283b [2023-03-01T05:40:52.331Z] Step 18/23 : EXPOSE 59999 [2023-03-01T05:40:52.331Z] ---> Running in 750dfc6221ff [2023-03-01T05:40:52.331Z] Removing intermediate container 750dfc6221ff [2023-03-01T05:40:52.331Z] ---> 37a785882236 [2023-03-01T05:40:52.331Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-01T05:40:52.331Z] ---> Running in e60c2d133105 [2023-03-01T05:40:52.331Z] Removing intermediate container e60c2d133105 [2023-03-01T05:40:52.331Z] ---> eb79bbc22159 [2023-03-01T05:40:52.331Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-01T05:40:52.331Z] ---> Running in b78349382bf4 [2023-03-01T05:40:52.331Z] Removing intermediate container b78349382bf4 [2023-03-01T05:40:52.331Z] ---> b17173a2113e [2023-03-01T05:40:52.331Z] Step 21/23 : LABEL arch=arm64 [2023-03-01T05:40:52.331Z] ---> Running in 79cd63e3f06a [2023-03-01T05:40:52.331Z] Removing intermediate container 79cd63e3f06a [2023-03-01T05:40:52.331Z] ---> fc1a637c87c6 [2023-03-01T05:40:52.331Z] Step 22/23 : LABEL git_sha=5702d2f43f9adf1b487f1ea51059e9713c2d943c [2023-03-01T05:40:52.331Z] ---> Running in 12bb4b2f6e6b [2023-03-01T05:40:52.331Z] Removing intermediate container 12bb4b2f6e6b [2023-03-01T05:40:52.331Z] ---> 08b0fe57c12e [2023-03-01T05:40:52.331Z] Step 23/23 : LABEL version=0.0.0 [2023-03-01T05:40:52.331Z] ---> Running in 108696233bee [2023-03-01T05:40:52.331Z] Removing intermediate container 108696233bee [2023-03-01T05:40:52.331Z] ---> 3c96673c37c1 [2023-03-01T05:40:52.331Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-01T05:40:52.331Z] Successfully built 3c96673c37c1 [2023-03-01T05:40:52.331Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:40:52.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T05:40:52.754Z] [2023-03-01T05:40:52.754Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:40:53.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T05:40:53.081Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-01T05:40:53.081Z] 8998bd30e6a1: Pulling fs layer [2023-03-01T05:40:53.081Z] 04944245beec: Pulling fs layer [2023-03-01T05:40:53.081Z] 699f458cf7ca: Pulling fs layer [2023-03-01T05:40:53.081Z] 765212b225bb: Pulling fs layer [2023-03-01T05:40:53.081Z] f23df028b6ca: Pulling fs layer [2023-03-01T05:40:53.081Z] d65c8cfc05b1: Pulling fs layer [2023-03-01T05:40:53.081Z] 2437ff75d9bd: Pulling fs layer [2023-03-01T05:40:53.081Z] f23df028b6ca: Waiting [2023-03-01T05:40:53.082Z] d65c8cfc05b1: Waiting [2023-03-01T05:40:53.082Z] 2437ff75d9bd: Waiting [2023-03-01T05:40:53.082Z] 765212b225bb: Waiting [2023-03-01T05:40:53.351Z] 04944245beec: Verifying Checksum [2023-03-01T05:40:53.351Z] 04944245beec: Download complete [2023-03-01T05:40:53.351Z] 765212b225bb: Verifying Checksum [2023-03-01T05:40:53.351Z] 765212b225bb: Download complete [2023-03-01T05:40:53.351Z] f23df028b6ca: Verifying Checksum [2023-03-01T05:40:53.351Z] f23df028b6ca: Download complete [2023-03-01T05:40:53.351Z] d65c8cfc05b1: Verifying Checksum [2023-03-01T05:40:53.351Z] d65c8cfc05b1: Download complete [2023-03-01T05:40:53.351Z] 699f458cf7ca: Verifying Checksum [2023-03-01T05:40:53.351Z] 699f458cf7ca: Download complete [2023-03-01T05:40:53.936Z] 8998bd30e6a1: Download complete [2023-03-01T05:40:55.882Z] 2437ff75d9bd: Verifying Checksum [2023-03-01T05:40:55.882Z] 2437ff75d9bd: Download complete [2023-03-01T05:40:57.945Z] 8998bd30e6a1: Pull complete [2023-03-01T05:40:58.230Z] 04944245beec: Pull complete [2023-03-01T05:41:00.842Z] 699f458cf7ca: Pull complete [2023-03-01T05:41:01.107Z] 765212b225bb: Pull complete [2023-03-01T05:41:01.691Z] f23df028b6ca: Pull complete [2023-03-01T05:41:01.957Z] d65c8cfc05b1: Pull complete [2023-03-01T05:41:16.958Z] 2437ff75d9bd: Pull complete [2023-03-01T05:41:16.958Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-01T05:41:16.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-01T05:41:16.958Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:41:17.147Z] prd-ubuntu20.04-docker-arm64-4c-16g-7904 does not seem to be running inside a container [2023-03-01T05:41:17.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-01T05:41:19.797Z] $ docker top 449985d936a2f655643bbd9a1df0565635891849ae4beadff390903db96a62d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:41:20.622Z] ---> job-cost.sh [2023-03-01T05:41:20.622Z] lf-activate-venv: SKIPPING [2023-03-01T05:41:20.622Z] INFO: No Stack... [2023-03-01T05:41:20.890Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-01T05:41:21.849Z] INFO: Archiving Costs [Pipeline] sh [2023-03-01T05:41:22.489Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-03-01T05:41:22.489Z] + cut -d, -f6 [Pipeline] lock [2023-03-01T05:41:22.555Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1355-2-stack-cost] [2023-03-01T05:41:22.562Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1355-2-stack-cost] did not exist. Created. [2023-03-01T05:41:22.562Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1355-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-01T05:41:23.228Z] /w/workspace/device-sdk-go/2@tmp/durable-2412ed19/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-01T05:41:23.887Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-01T05:41:23.911Z] Warning: overwriting stash ‘stack-cost’ [2023-03-01T05:41:23.994Z] Stashed 1 file(s) [Pipeline] } [2023-03-01T05:41:24.003Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1355-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-01T05:41:24.039Z] $ docker stop --time=1 449985d936a2f655643bbd9a1df0565635891849ae4beadff390903db96a62d7 [2023-03-01T05:41:25.876Z] $ docker rm -f --volumes 449985d936a2f655643bbd9a1df0565635891849ae4beadff390903db96a62d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-01T05:41:26.311Z] provisioning config files... [2023-03-01T05:41:26.318Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp/config18187521052798963879tmp [Pipeline] { [Pipeline] sh [2023-03-01T05:41:26.608Z] + set +x [2023-03-01T05:41:26.608Z] + curl -s https://codecov.io/bash [2023-03-01T05:41:26.608Z] + bash -s -- [2023-03-01T05:41:26.608Z] [2023-03-01T05:41:26.608Z] _____ _ [2023-03-01T05:41:26.608Z] / ____| | | [2023-03-01T05:41:26.608Z] | | ___ __| | ___ ___ _____ __ [2023-03-01T05:41:26.608Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-01T05:41:26.608Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-01T05:41:26.608Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-01T05:41:26.608Z] Bash-1.0.6 [2023-03-01T05:41:26.608Z] [2023-03-01T05:41:26.608Z] [2023-03-01T05:41:26.608Z] ==> git version 2.25.1 found [2023-03-01T05:41:26.608Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-01T05:41:26.608Z] Release-Date: 2020-01-08 [2023-03-01T05:41:26.608Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-01T05:41:26.608Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-01T05:41:26.608Z] ==> Jenkins CI detected. [2023-03-01T05:41:26.608Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1355 [2023-03-01T05:41:26.608Z] project root: . [2023-03-01T05:41:26.608Z] --> token set from env [2023-03-01T05:41:26.608Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-01T05:41:26.608Z] ==> Running gcov in . (disable via -X gcov) [2023-03-01T05:41:26.608Z] ==> Python coveragepy not found [2023-03-01T05:41:26.609Z] ==> Searching for coverage reports in: [2023-03-01T05:41:26.609Z] + . [2023-03-01T05:41:26.609Z] -> Found 1 reports [2023-03-01T05:41:26.609Z] ==> Detecting git/mercurial file structure [2023-03-01T05:41:26.609Z] ==> Reading reports [2023-03-01T05:41:26.609Z] + ./coverage.out bytes=111243 [2023-03-01T05:41:26.609Z] ==> Appending adjustments [2023-03-01T05:41:26.609Z] https://docs.codecov.io/docs/fixing-reports [2023-03-01T05:41:26.868Z] + Found adjustments [2023-03-01T05:41:26.868Z] ==> Gzipping contents [2023-03-01T05:41:27.128Z] 16K /tmp/codecov.JmmHFn.gz [2023-03-01T05:41:27.128Z] ==> Uploading reports [2023-03-01T05:41:27.128Z] url: https://codecov.io [2023-03-01T05:41:27.128Z] query: branch=PR-1355&commit=5702d2f43f9adf1b487f1ea51059e9713c2d943c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1355%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1355&job=&cmd_args= [2023-03-01T05:41:27.128Z] -> Pinging Codecov [2023-03-01T05:41:27.128Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1355&commit=5702d2f43f9adf1b487f1ea51059e9713c2d943c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1355%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1355&job=&cmd_args= [2023-03-01T05:41:27.128Z] -> Uploading to [2023-03-01T05:41:27.128Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-01/7E55EF52A471D76F132DFD9A03CDDE97/5702d2f43f9adf1b487f1ea51059e9713c2d943c/63b22dc0-73fe-49d7-a90f-d3ed4d728dfd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T054126Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c44c4c78856a9f5e38c0dfd100b060f28cf7947eb80d3f7ce5536d6b2d5118a [2023-03-01T05:41:27.128Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-01T05:41:27.128Z] Dload Upload Total Spent Left Speed [2023-03-01T05:41:27.387Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15376 0 0 100 15376 0 46593 --:--:-- --:--:-- --:--:-- 46593 [2023-03-01T05:41:27.387Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5702d2f43f9adf1b487f1ea51059e9713c2d943c [Pipeline] } [2023-03-01T05:41:27.395Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-01T05:41:28.059Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1355/archives ] [2023-03-01T05:41:28.059Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1355/archives [2023-03-01T05:41:28.059Z] total 16 [2023-03-01T05:41:28.059Z] drwxr-xr-x 3 root root 4096 Mar 1 05:32 . [2023-03-01T05:41:28.059Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 05:32 .. [2023-03-01T05:41:28.059Z] drwxr-xr-x 2 root root 4096 Mar 1 05:32 cost [2023-03-01T05:41:28.059Z] -rw-r--r-- 1 root root 86 Mar 1 05:32 cost.csv [2023-03-01T05:41:28.059Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1355/archives [2023-03-01T05:41:28.059Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1355/archives [2023-03-01T05:41:28.059Z] total 16 [2023-03-01T05:41:28.059Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 05:32 . [2023-03-01T05:41:28.059Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 05:32 .. [2023-03-01T05:41:28.059Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 05:32 cost [2023-03-01T05:41:28.059Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 1 05:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:41:28.347Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:41:29.203Z] ---> package-listing.sh [2023-03-01T05:41:29.203Z] ++ facter osfamily [2023-03-01T05:41:29.203Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-01T05:41:29.462Z] + OS_FAMILY=debian [2023-03-01T05:41:29.462Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1355 [2023-03-01T05:41:29.462Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-01T05:41:29.462Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-01T05:41:29.462Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-01T05:41:29.462Z] + PACKAGES=/tmp/packages_start.txt [2023-03-01T05:41:29.462Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1355 ']' [2023-03-01T05:41:29.462Z] + PACKAGES=/tmp/packages_end.txt [2023-03-01T05:41:29.462Z] + case "${OS_FAMILY}" in [2023-03-01T05:41:29.462Z] + dpkg -l [2023-03-01T05:41:29.462Z] + grep '^ii' [2023-03-01T05:41:29.462Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-01T05:41:29.462Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-01T05:41:29.462Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-01T05:41:29.462Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1355 ']' [2023-03-01T05:41:29.462Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1355/archives/ [2023-03-01T05:41:29.462Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1355/archives/ [Pipeline] echo [2023-03-01T05:41:29.473Z] 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-1355/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-01T05:41:29.750Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-01T05:41:30.306Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-01T05:41:30.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-01T05:41:30.375Z] prd-ubuntu20.04-docker-8c-8g-7902 does not seem to be running inside a container [2023-03-01T05:41:30.404Z] $ 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-1355/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-1355 -v /w/workspace/gexfoundry_device-sdk-go_PR-1355:/w/workspace/gexfoundry_device-sdk-go_PR-1355:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-01T05:41:30.621Z] $ docker top 582260c9ba7567eaf89ae61dcd466c2a54ff19a934fb16da6b313f1b8f4c454a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-01T05:41:30.962Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-01T05:41:31.246Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-01T05:41:31.531Z] + ls /var/log/sa-host [2023-03-01T05:41:31.531Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-01T05:41:31.602Z] provisioning config files... [2023-03-01T05:41:31.612Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1355@tmp/config8900577239052258659tmp [Pipeline] { [Pipeline] echo [2023-03-01T05:41:31.625Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:41:31.904Z] ---> create-netrc.sh [Pipeline] } [2023-03-01T05:41:31.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:41:32.242Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-01T05:41:32.251Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:41:32.533Z] ---> sudo-logs.sh [2023-03-01T05:41:32.534Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-01T05:41:32.568Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:41:32.849Z] ---> job-cost.sh [2023-03-01T05:41:32.849Z] lf-activate-venv: SKIPPING [2023-03-01T05:41:32.849Z] DEBUG: total: 0.2199999988079071 [2023-03-01T05:41:32.849Z] INFO: Retrieving Stack Cost... [2023-03-01T05:41:33.419Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-01T05:41:33.987Z] INFO: Archiving Costs [Pipeline] echo [2023-03-01T05:41:34.001Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-01T05:41:34.284Z] ---> logs-deploy.sh [2023-03-01T05:41:34.284Z] lf-activate-venv: SKIPPING [2023-03-01T05:41:34.284Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1355/2 [2023-03-01T05:41:34.284Z] INFO: archiving workspace using pattern(s): [2023-03-01T05:41:35.220Z] Archives upload complete. [2023-03-01T05:41:35.220Z] INFO: archiving logs to Nexus