Pull request #1312 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at d7de237c874a90e81091b377f7571cc3981ed0ab rather than 09198ff90566170cbb480bcb988d97281c5ebb32 Obtained Jenkinsfile from d7de237c874a90e81091b377f7571cc3981ed0ab 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-ssh14809668223204105311.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-ssh11247334333590123054.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-1312/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-1312/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11405191788000333875.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-ssh15957249303152189908.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-1312/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-1312/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10969573262130121662.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-5466’ Running on prd-ubuntu20.04-docker-8c-8g-5468 in /w/workspace/gexfoundry_device-sdk-go_PR-1312 [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-1312 # 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/1312/head:refs/remotes/origin/PR-1312 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit 09198ff90566170cbb480bcb988d97281c5ebb32 Merge succeeded, producing 09198ff90566170cbb480bcb988d97281c5ebb32 Checking out Revision 09198ff90566170cbb480bcb988d97281c5ebb32 (PR-1312) > git config core.sparsecheckout # timeout=10 > git checkout -f 09198ff90566170cbb480bcb988d97281c5ebb32 # 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 d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09198ff90566170cbb480bcb988d97281c5ebb32 # timeout=10 Commit message: "feat!: replace REST device profile callback with System Events" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-13T04:45:58.958Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-13T04:45:59.012Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-13T04:45:59.033Z] ========================================================= [2023-02-13T04:45:59.033Z] EdgeX Global Pipelines Version Info [2023-02-13T04:45:59.033Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:45:59.754Z] ------------------- [2023-02-13T04:45:59.754Z] stable info: [2023-02-13T04:45:59.754Z] ------------------- [2023-02-13T04:45:59.754Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-13T04:45:59.754Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T04:45:59.754Z] Message: update stable to v1.0.244 > git rev-list --no-walk 40a8d143ad7740a774c76d8fcb5c1845e99bfaf6 # timeout=10 [2023-02-13T04:46:00.324Z] ------------------- [2023-02-13T04:46:00.324Z] experimental info: [2023-02-13T04:46:00.324Z] ------------------- [2023-02-13T04:46:00.324Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-13T04:46:00.324Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-13T04:46:00.324Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-13T04:46:00.487Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-13T04:46:00.498Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-13T04:46:00.509Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-13T04:46:00.520Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-13T04:46:00.532Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-13T04:46:00.545Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-13T04:46:00.560Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-13T04:46:00.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-13T04:46:00.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-13T04:46:00.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-13T04:46:00.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-13T04:46:00.617Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-13T04:46:00.632Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-13T04:46:00.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-13T04:46:00.655Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-13T04:46:00.666Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T04:46:00.679Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T04:46:00.691Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-13T04:46:00.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-13T04:46:00.720Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-13T04:46:00.730Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-13T04:46:00.746Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-13T04:46:00.762Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-13T04:46:00.773Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-13T04:46:00.785Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-13T04:46:00.797Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-13T04:46:00.850Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-13T04:46:00.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1312 [Pipeline] echo [2023-02-13T04:46:00.874Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1312 [Pipeline] echo [2023-02-13T04:46:00.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1312 [Pipeline] echo [2023-02-13T04:46:00.901Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09198ff90566170cbb480bcb988d97281c5ebb32 [Pipeline] echo [2023-02-13T04:46:00.913Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 09198ff [Pipeline] echo [2023-02-13T04:46:00.926Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T04:46:00.975Z] provisioning config files... [2023-02-13T04:46:00.987Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp/config10345971725131769739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:46:01.289Z] ---> docker-login.sh [2023-02-13T04:46:01.289Z] nexus3.edgexfoundry.org:10001 [2023-02-13T04:46:01.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:46:01.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:46:01.549Z] Configure a credential helper to remove this warning. See [2023-02-13T04:46:01.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:46:01.549Z] [2023-02-13T04:46:01.549Z] Login Succeeded [2023-02-13T04:46:01.549Z] nexus3.edgexfoundry.org:10002 [2023-02-13T04:46:01.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:46:01.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:46:01.810Z] Configure a credential helper to remove this warning. See [2023-02-13T04:46:01.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:46:01.810Z] [2023-02-13T04:46:01.810Z] Login Succeeded [2023-02-13T04:46:01.810Z] nexus3.edgexfoundry.org:10003 [2023-02-13T04:46:01.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:46:01.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:46:01.810Z] Configure a credential helper to remove this warning. See [2023-02-13T04:46:01.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:46:01.810Z] [2023-02-13T04:46:01.810Z] Login Succeeded [2023-02-13T04:46:01.810Z] nexus3.edgexfoundry.org:10004 [2023-02-13T04:46:02.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:46:02.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:46:02.070Z] Configure a credential helper to remove this warning. See [2023-02-13T04:46:02.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:46:02.070Z] [2023-02-13T04:46:02.070Z] Login Succeeded [2023-02-13T04:46:02.070Z] docker.io [2023-02-13T04:46:02.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:46:02.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:46:02.330Z] Configure a credential helper to remove this warning. See [2023-02-13T04:46:02.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:46:02.330Z] [2023-02-13T04:46:02.330Z] Login Succeeded [2023-02-13T04:46:02.330Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T04:46:02.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-13T04:46:02.699Z] + git rev-list -1 --merges 09198ff90566170cbb480bcb988d97281c5ebb32~1..09198ff90566170cbb480bcb988d97281c5ebb32 [Pipeline] echo [2023-02-13T04:46:02.741Z] -----------> git rev-list -1 --merges 09198ff90566170cbb480bcb988d97281c5ebb32~1..09198ff90566170cbb480bcb988d97281c5ebb32 09198ff90566170cbb480bcb988d97281c5ebb32 [false] [Pipeline] sh [2023-02-13T04:46:03.028Z] + git log --format=format:%s -1 09198ff90566170cbb480bcb988d97281c5ebb32 [Pipeline] echo [2023-02-13T04:46:03.043Z] ========================================================= [2023-02-13T04:46:03.043Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-13T04:46:03.043Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T04:46:03.360Z] + git log --format=format:%s -1 09198ff90566170cbb480bcb988d97281c5ebb32 [Pipeline] echo [2023-02-13T04:46:03.373Z] [semverPrep] GIT_COMMIT: 09198ff90566170cbb480bcb988d97281c5ebb32, Commit Message: feat!: replace REST device profile callback with System Events [Pipeline] echo [2023-02-13T04:46:03.381Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-13T04:46:03.715Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-13T04:46:03.715Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-13T04:46:03.715Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-13T04:46:03.715Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-13T04:46:03.715Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-13T04:46:03.715Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-13T04:46:03.715Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:46:04.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T04:46:04.064Z] [2023-02-13T04:46:04.064Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:46:04.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T04:46:04.376Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-13T04:46:04.376Z] b85a868b505f: Pulling fs layer [2023-02-13T04:46:04.376Z] e2be974225ed: Pulling fs layer [2023-02-13T04:46:04.376Z] 339a4e72a1f5: Pulling fs layer [2023-02-13T04:46:04.376Z] 988bab9f4d93: Pulling fs layer [2023-02-13T04:46:04.376Z] 1469e6f7b9e6: Pulling fs layer [2023-02-13T04:46:04.376Z] eaf3925da568: Pulling fs layer [2023-02-13T04:46:04.376Z] bab4dde63d76: Pulling fs layer [2023-02-13T04:46:04.376Z] bde34c3a00c8: Pulling fs layer [2023-02-13T04:46:04.376Z] b352a97aabf1: Pulling fs layer [2023-02-13T04:46:04.376Z] 4872d77fe225: Pulling fs layer [2023-02-13T04:46:04.376Z] 5851b861e8e6: Pulling fs layer [2023-02-13T04:46:04.376Z] 988bab9f4d93: Waiting [2023-02-13T04:46:04.376Z] 1469e6f7b9e6: Waiting [2023-02-13T04:46:04.376Z] bab4dde63d76: Waiting [2023-02-13T04:46:04.376Z] eaf3925da568: Waiting [2023-02-13T04:46:04.376Z] 4872d77fe225: Waiting [2023-02-13T04:46:04.376Z] b352a97aabf1: Waiting [2023-02-13T04:46:04.643Z] e2be974225ed: Verifying Checksum [2023-02-13T04:46:04.643Z] e2be974225ed: Download complete [2023-02-13T04:46:04.643Z] 988bab9f4d93: Download complete [2023-02-13T04:46:04.643Z] 1469e6f7b9e6: Verifying Checksum [2023-02-13T04:46:04.643Z] 1469e6f7b9e6: Download complete [2023-02-13T04:46:04.643Z] eaf3925da568: Download complete [2023-02-13T04:46:04.643Z] 339a4e72a1f5: Verifying Checksum [2023-02-13T04:46:04.643Z] 339a4e72a1f5: Download complete [2023-02-13T04:46:04.643Z] bde34c3a00c8: Verifying Checksum [2023-02-13T04:46:04.643Z] bde34c3a00c8: Download complete [2023-02-13T04:46:04.905Z] b352a97aabf1: Download complete [2023-02-13T04:46:04.905Z] 4872d77fe225: Verifying Checksum [2023-02-13T04:46:04.905Z] 4872d77fe225: Download complete [2023-02-13T04:46:04.905Z] 5851b861e8e6: Verifying Checksum [2023-02-13T04:46:04.905Z] 5851b861e8e6: Download complete [2023-02-13T04:46:04.905Z] b85a868b505f: Verifying Checksum [2023-02-13T04:46:04.905Z] b85a868b505f: Download complete [2023-02-13T04:46:05.165Z] bab4dde63d76: Verifying Checksum [2023-02-13T04:46:05.165Z] bab4dde63d76: Download complete [2023-02-13T04:46:06.577Z] b85a868b505f: Pull complete [2023-02-13T04:46:06.577Z] e2be974225ed: Pull complete [2023-02-13T04:46:06.838Z] 339a4e72a1f5: Pull complete [2023-02-13T04:46:07.097Z] 988bab9f4d93: Pull complete [2023-02-13T04:46:07.357Z] 1469e6f7b9e6: Pull complete [2023-02-13T04:46:07.357Z] eaf3925da568: Pull complete [2023-02-13T04:46:09.260Z] bab4dde63d76: Pull complete [2023-02-13T04:46:09.260Z] bde34c3a00c8: Pull complete [2023-02-13T04:46:09.521Z] b352a97aabf1: Pull complete [2023-02-13T04:46:09.521Z] 4872d77fe225: Pull complete [2023-02-13T04:46:09.521Z] 5851b861e8e6: Pull complete [2023-02-13T04:46:09.521Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-13T04:46:09.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-13T04:46:09.521Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:46:09.613Z] prd-ubuntu20.04-docker-8c-8g-5468 does not seem to be running inside a container [2023-02-13T04:46:09.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1312 -v /w/workspace/gexfoundry_device-sdk-go_PR-1312:/w/workspace/gexfoundry_device-sdk-go_PR-1312:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1312@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-devops/py-git-semver:0.1.4 cat [2023-02-13T04:46:10.827Z] $ docker top f850daa12e29792c5645354546489a5f55a02c517223d5e77ec174e6fd56f8ee -eo pid,comm [2023-02-13T04:46:10.882Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-13T04:46:10.882Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-13T04:46:10.922Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T04:46:10.922Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T04:46:11.056Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T04:46:11.063Z] $ docker exec f850daa12e29792c5645354546489a5f55a02c517223d5e77ec174e6fd56f8ee ssh-agent [2023-02-13T04:46:11.178Z] SSH_AUTH_SOCK=/tmp/ssh-RYi7sLrvgyku/agent.32 [2023-02-13T04:46:11.178Z] SSH_AGENT_PID=38 [2023-02-13T04:46:11.186Z] Running ssh-add (command line suppressed) [2023-02-13T04:46:11.289Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp/private_key_17726544400010312040.key (/w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp/private_key_17726544400010312040.key) [2023-02-13T04:46:11.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T04:46:11.591Z] + git tag --points-at HEAD [Pipeline] } [2023-02-13T04:46:11.606Z] $ docker exec --env ******** --env ******** f850daa12e29792c5645354546489a5f55a02c517223d5e77ec174e6fd56f8ee ssh-agent -k [2023-02-13T04:46:11.689Z] unset SSH_AUTH_SOCK; [2023-02-13T04:46:11.690Z] unset SSH_AGENT_PID; [2023-02-13T04:46:11.690Z] echo Agent pid 38 killed; [2023-02-13T04:46:11.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-13T04:46:11.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-13T04:46:11.724Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-13T04:46:11.827Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-13T04:46:11.833Z] $ docker exec f850daa12e29792c5645354546489a5f55a02c517223d5e77ec174e6fd56f8ee ssh-agent [2023-02-13T04:46:11.957Z] SSH_AUTH_SOCK=/tmp/ssh-HEWrWF3LXRvo/agent.71 [2023-02-13T04:46:11.957Z] SSH_AGENT_PID=77 [2023-02-13T04:46:11.962Z] Running ssh-add (command line suppressed) [2023-02-13T04:46:12.076Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp/private_key_4551931586186816880.key (/w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp/private_key_4551931586186816880.key) [2023-02-13T04:46:12.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-13T04:46:12.377Z] + git semver init [2023-02-13T04:46:12.637Z] 2023-02-13 04:46:12,557 [run_init] DEBUG init version:0.0.0 force:False [2023-02-13T04:46:12.637Z] 2023-02-13 04:46:12,558 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1312/.semver [2023-02-13T04:46:12.637Z] 2023-02-13 04:46:12,558 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1312/.semver [2023-02-13T04:46:12.637Z] 2023-02-13 04:46:12,558 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1312/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1312, universal_newlines=False, shell=None, istream=None) [2023-02-13T04:46:13.575Z] 2023-02-13 04:46:13,563 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1312/.git/info/exclude [2023-02-13T04:46:13.575Z] 2023-02-13 04:46:13,564 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1312/.semver/PR-1312 with force:False [2023-02-13T04:46:13.575Z] 2023-02-13 04:46:13,564 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1312/.semver/PR-1312 [2023-02-13T04:46:13.575Z] 2023-02-13 04:46:13,569 [execute] INFO git cat-file --batch-check [2023-02-13T04:46:13.575Z] 2023-02-13 04:46:13,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1312/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T04:46:13.575Z] 2023-02-13 04:46:13,577 [execute] INFO git cat-file --batch [2023-02-13T04:46:13.575Z] 2023-02-13 04:46:13,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1312/.semver, universal_newlines=False, shell=None, istream=) [2023-02-13T04:46:13.835Z] 2023-02-13 04:46:13,582 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1312/.semver/PR-1312 [2023-02-13T04:46:13.835Z] 0.0.0 [Pipeline] } [2023-02-13T04:46:13.849Z] $ docker exec --env ******** --env ******** f850daa12e29792c5645354546489a5f55a02c517223d5e77ec174e6fd56f8ee ssh-agent -k [2023-02-13T04:46:13.952Z] unset SSH_AUTH_SOCK; [2023-02-13T04:46:13.952Z] unset SSH_AGENT_PID; [2023-02-13T04:46:13.952Z] echo Agent pid 77 killed; [2023-02-13T04:46:13.959Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-13T04:46:14.260Z] + git semver [Pipeline] } [2023-02-13T04:46:14.536Z] $ docker stop --time=1 f850daa12e29792c5645354546489a5f55a02c517223d5e77ec174e6fd56f8ee [2023-02-13T04:46:15.838Z] $ docker rm -f --volumes f850daa12e29792c5645354546489a5f55a02c517223d5e77ec174e6fd56f8ee [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T04:46:16.177Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-13T04:46:16.478Z] Stashed 1 file(s) [Pipeline] echo [2023-02-13T04:46:16.481Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T04:46:16.634Z] provisioning config files... [2023-02-13T04:46:16.642Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp/config7981007678511859858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:46:16.959Z] ---> docker-login.sh [2023-02-13T04:46:16.959Z] nexus3.edgexfoundry.org:10001 [2023-02-13T04:46:16.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:46:17.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:46:17.529Z] Configure a credential helper to remove this warning. See [2023-02-13T04:46:17.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:46:17.529Z] [2023-02-13T04:46:17.529Z] Login Succeeded [2023-02-13T04:46:17.529Z] nexus3.edgexfoundry.org:10002 [2023-02-13T04:46:17.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:46:17.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:46:17.529Z] Configure a credential helper to remove this warning. See [2023-02-13T04:46:17.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:46:17.529Z] [2023-02-13T04:46:17.529Z] Login Succeeded [2023-02-13T04:46:17.529Z] nexus3.edgexfoundry.org:10003 [2023-02-13T04:46:17.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:46:17.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:46:17.789Z] Configure a credential helper to remove this warning. See [2023-02-13T04:46:17.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:46:17.789Z] [2023-02-13T04:46:17.789Z] Login Succeeded [2023-02-13T04:46:17.789Z] nexus3.edgexfoundry.org:10004 [2023-02-13T04:46:17.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:46:17.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:46:17.789Z] Configure a credential helper to remove this warning. See [2023-02-13T04:46:17.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:46:17.789Z] [2023-02-13T04:46:17.789Z] Login Succeeded [2023-02-13T04:46:17.789Z] docker.io [2023-02-13T04:46:17.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:46:18.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:46:18.049Z] Configure a credential helper to remove this warning. See [2023-02-13T04:46:18.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:46:18.049Z] [2023-02-13T04:46:18.049Z] Login Succeeded [2023-02-13T04:46:18.049Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T04:46:18.057Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T04:46:18.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T04:46:18.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T04:46:18.134Z] ========================================================= [2023-02-13T04:46:18.134Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-13T04:46:18.134Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:46:18.443Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T04:46:18.443Z] Sending build context to Docker daemon 10.58MB [2023-02-13T04:46:18.443Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T04:46:18.443Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T04:46:18.443Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-13T04:46:18.443Z] 213ec9aee27d: Pulling fs layer [2023-02-13T04:46:18.443Z] 4583459ba037: Pulling fs layer [2023-02-13T04:46:18.443Z] 93c1e223e6f2: Pulling fs layer [2023-02-13T04:46:18.443Z] 53926ce57604: Pulling fs layer [2023-02-13T04:46:18.443Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-13T04:46:18.443Z] 22ff95d597cd: Pulling fs layer [2023-02-13T04:46:18.443Z] 12d6caf4c0d1: Pulling fs layer [2023-02-13T04:46:18.443Z] 96b7cbca73a9: Pulling fs layer [2023-02-13T04:46:18.443Z] a7acece74701: Pulling fs layer [2023-02-13T04:46:18.443Z] 53926ce57604: Waiting [2023-02-13T04:46:18.443Z] 21b2b0c7a3f4: Waiting [2023-02-13T04:46:18.443Z] 12d6caf4c0d1: Waiting [2023-02-13T04:46:18.443Z] 96b7cbca73a9: Waiting [2023-02-13T04:46:18.443Z] a7acece74701: Waiting [2023-02-13T04:46:18.443Z] 22ff95d597cd: Waiting [2023-02-13T04:46:18.443Z] 93c1e223e6f2: Download complete [2023-02-13T04:46:18.707Z] 4583459ba037: Download complete [2023-02-13T04:46:18.707Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-13T04:46:18.707Z] 21b2b0c7a3f4: Download complete [2023-02-13T04:46:18.707Z] 22ff95d597cd: Verifying Checksum [2023-02-13T04:46:18.707Z] 22ff95d597cd: Download complete [2023-02-13T04:46:18.707Z] 213ec9aee27d: Verifying Checksum [2023-02-13T04:46:18.707Z] 213ec9aee27d: Download complete [2023-02-13T04:46:18.707Z] 12d6caf4c0d1: Download complete [2023-02-13T04:46:18.707Z] 213ec9aee27d: Pull complete [2023-02-13T04:46:18.973Z] 4583459ba037: Pull complete [2023-02-13T04:46:18.973Z] 93c1e223e6f2: Pull complete [2023-02-13T04:46:19.976Z] a7acece74701: Verifying Checksum [2023-02-13T04:46:19.976Z] a7acece74701: Download complete [2023-02-13T04:46:19.976Z] 53926ce57604: Verifying Checksum [2023-02-13T04:46:19.976Z] 53926ce57604: Download complete [2023-02-13T04:46:19.976Z] 96b7cbca73a9: Verifying Checksum [2023-02-13T04:46:19.976Z] 96b7cbca73a9: Download complete [2023-02-13T04:46:24.162Z] 53926ce57604: Pull complete [2023-02-13T04:46:24.162Z] 21b2b0c7a3f4: Pull complete [2023-02-13T04:46:24.420Z] 22ff95d597cd: Pull complete [2023-02-13T04:46:24.420Z] 12d6caf4c0d1: Pull complete [2023-02-13T04:46:26.323Z] 96b7cbca73a9: Pull complete [2023-02-13T04:46:27.259Z] a7acece74701: Pull complete [2023-02-13T04:46:27.259Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-13T04:46:27.259Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-13T04:46:27.259Z] ---> db6d94c90886 [2023-02-13T04:46:27.259Z] Step 3/10 : ARG MAKE=make build [2023-02-13T04:46:28.639Z] ---> Running in 1d69c8fd1882 [2023-02-13T04:46:28.899Z] Removing intermediate container 1d69c8fd1882 [2023-02-13T04:46:28.899Z] ---> 851c5c84b941 [2023-02-13T04:46:28.899Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T04:46:28.899Z] ---> Running in 4c0c081afbc6 [2023-02-13T04:46:29.158Z] Removing intermediate container 4c0c081afbc6 [2023-02-13T04:46:29.158Z] ---> 8cefc4e91215 [2023-02-13T04:46:29.158Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T04:46:29.158Z] ---> Running in 09d8c5662d87 [2023-02-13T04:46:29.419Z] Removing intermediate container 09d8c5662d87 [2023-02-13T04:46:29.419Z] ---> 7274ec70cdf9 [2023-02-13T04:46:29.419Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T04:46:29.419Z] ---> Running in bfeefaabd387 [2023-02-13T04:46:29.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T04:46:29.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T04:46:30.247Z] OK: 211 MiB in 51 packages [2023-02-13T04:46:30.507Z] Removing intermediate container bfeefaabd387 [2023-02-13T04:46:30.507Z] ---> 832cf78f8d9b [2023-02-13T04:46:30.507Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T04:46:30.507Z] ---> 224eef063892 [2023-02-13T04:46:30.507Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T04:46:30.507Z] ---> Running in b217eef0487b [2023-02-13T04:46:31.589Z] Still waiting to schedule task [2023-02-13T04:46:31.590Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5467’ [2023-02-13T04:46:57.075Z] Removing intermediate container b217eef0487b [2023-02-13T04:46:57.076Z] ---> e118201abd81 [2023-02-13T04:46:57.076Z] Step 9/10 : COPY . . [2023-02-13T04:46:57.076Z] ---> e86b45801077 [2023-02-13T04:46:57.076Z] Step 10/10 : RUN ${MAKE} [2023-02-13T04:46:57.076Z] ---> Running in 8d4aeda45da2 [2023-02-13T04:46:57.076Z] noop [2023-02-13T04:46:57.076Z] Removing intermediate container 8d4aeda45da2 [2023-02-13T04:46:57.076Z] ---> 0746a2ac8915 [2023-02-13T04:46:57.076Z] Successfully built 0746a2ac8915 [2023-02-13T04:46:57.076Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:46:57.382Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T04:46:57.383Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:46:57.454Z] prd-ubuntu20.04-docker-8c-8g-5468 does not seem to be running inside a container [2023-02-13T04:46:57.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1312 -v /w/workspace/gexfoundry_device-sdk-go_PR-1312:/w/workspace/gexfoundry_device-sdk-go_PR-1312:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T04:46:57.854Z] $ docker top 93c7d7a4c07d151566baf729578c271af97c330b796def43d6a2184172e62af1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T04:46:58.197Z] + go version [2023-02-13T04:46:58.197Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-13T04:46:58.212Z] $ docker stop --time=1 93c7d7a4c07d151566baf729578c271af97c330b796def43d6a2184172e62af1 [2023-02-13T04:46:59.475Z] $ docker rm -f --volumes 93c7d7a4c07d151566baf729578c271af97c330b796def43d6a2184172e62af1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:46:59.900Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-13T04:46:59.901Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:46:59.979Z] prd-ubuntu20.04-docker-8c-8g-5468 does not seem to be running inside a container [2023-02-13T04:47:00.014Z] $ 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-1312 -v /w/workspace/gexfoundry_device-sdk-go_PR-1312:/w/workspace/gexfoundry_device-sdk-go_PR-1312:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-13T04:47:00.334Z] $ docker top e5a4d52fe2c205d63d499051f1990265f8b135ec30f66d567faee022ef82bb76 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T04:47:00.682Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1312 [Pipeline] fileExists [Pipeline] sh [2023-02-13T04:47:00.980Z] + make test [2023-02-13T04:47:00.981Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T04:47:07.563Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T04:47:19.771Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-13T04:47:19.771Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-13T04:47:19.771Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-13T04:47:19.771Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-13T04:47:19.771Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-13T04:47:20.029Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.082s coverage: 27.6% of statements [2023-02-13T04:47:20.029Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.076s coverage: 78.9% of statements [2023-02-13T04:47:20.029Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-13T04:47:20.029Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.113s coverage: 77.8% of statements [2023-02-13T04:47:20.029Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-13T04:47:20.029Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-13T04:47:20.595Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.102s coverage: 63.0% of statements [2023-02-13T04:47:20.595Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-13T04:47:20.595Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-13T04:47:20.595Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-13T04:47:20.595Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.097s coverage: 65.2% of statements [2023-02-13T04:47:20.595Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-13T04:47:20.595Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-13T04:47:20.595Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.724s coverage: 89.2% of statements [2023-02-13T04:47:20.595Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-13T04:47:20.897Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 4.7% of statements [2023-02-13T04:47:20.897Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-13T04:47:35.766Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-13T04:47:35.766Z] GO111MODULE=on go vet ./... [2023-02-13T04:47:39.052Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T04:47:39.052Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T04:47:39.052Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T04:47:39.064Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T04:47:39.083Z] $ docker stop --time=1 e5a4d52fe2c205d63d499051f1990265f8b135ec30f66d567faee022ef82bb76 [2023-02-13T04:47:42.392Z] $ docker rm -f --volumes e5a4d52fe2c205d63d499051f1990265f8b135ec30f66d567faee022ef82bb76 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T04:47:42.882Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T04:47:42.937Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-13T04:47:43.374Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T04:47:43.661Z] + ls -al . [2023-02-13T04:47:43.661Z] total 272 [2023-02-13T04:47:43.661Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 04:47 . [2023-02-13T04:47:43.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 04:45 .. [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 04:45 .dockerignore [2023-02-13T04:47:43.661Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 04:47 .git [2023-02-13T04:47:43.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 04:45 .github [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 04:45 .gitignore [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 04:45 .golangci.yml [2023-02-13T04:47:43.661Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 04:46 .semver [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 04:45 CHANGELOG.md [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 04:45 GOVERNANCE.md [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 04:45 Jenkinsfile [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 04:45 LICENSE [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 04:45 Makefile [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 04:45 OWNERS.md [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 04:45 README.md [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 04:46 VERSION [2023-02-13T04:47:43.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 04:45 bin [2023-02-13T04:47:43.661Z] -rw-r--r-- 1 jenkins jenkins 100374 Feb 13 04:47 coverage.out [2023-02-13T04:47:43.661Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 04:45 example [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 04:45 go.mod [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 04:45 go.sum [2023-02-13T04:47:43.661Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 04:45 internal [2023-02-13T04:47:43.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 04:45 openapi [2023-02-13T04:47:43.661Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 04:45 pkg [2023-02-13T04:47:43.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 04:45 snap [2023-02-13T04:47:43.661Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 04:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:47:44.014Z] + 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=09198ff90566170cbb480bcb988d97281c5ebb32 --label arch=amd64 --label version=0.0.0 . [2023-02-13T04:47:44.014Z] Sending build context to Docker daemon 10.69MB [2023-02-13T04:47:44.014Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T04:47:44.014Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-13T04:47:44.014Z] ---> 0746a2ac8915 [2023-02-13T04:47:44.014Z] Step 3/23 : ARG MAKE=make build [2023-02-13T04:47:44.274Z] ---> Running in 858aa23bb003 [2023-02-13T04:47:44.274Z] Removing intermediate container 858aa23bb003 [2023-02-13T04:47:44.274Z] ---> 1e3b5451cd02 [2023-02-13T04:47:44.274Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-13T04:47:44.274Z] ---> Running in 4682a9d0203d [2023-02-13T04:47:44.274Z] Removing intermediate container 4682a9d0203d [2023-02-13T04:47:44.274Z] ---> bf8d71923881 [2023-02-13T04:47:44.274Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T04:47:44.533Z] ---> Running in 253868c7e4a0 [2023-02-13T04:47:44.533Z] Removing intermediate container 253868c7e4a0 [2023-02-13T04:47:44.533Z] ---> a319472500c5 [2023-02-13T04:47:44.533Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-13T04:47:44.533Z] ---> Running in bc6c087b045b [2023-02-13T04:47:44.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T04:47:46.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T04:47:46.697Z] OK: 211 MiB in 51 packages [2023-02-13T04:47:47.264Z] Removing intermediate container bc6c087b045b [2023-02-13T04:47:47.264Z] ---> 3a4aae373385 [2023-02-13T04:47:47.264Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-13T04:47:47.264Z] ---> 889c579b75e3 [2023-02-13T04:47:47.264Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T04:47:47.264Z] ---> Running in fd694abeb30a [2023-02-13T04:47:48.199Z] Removing intermediate container fd694abeb30a [2023-02-13T04:47:48.199Z] ---> a345ea1f2408 [2023-02-13T04:47:48.199Z] Step 9/23 : COPY . . [2023-02-13T04:47:48.459Z] ---> 65ccbf9475e0 [2023-02-13T04:47:48.459Z] Step 10/23 : RUN ${MAKE} [2023-02-13T04:47:48.459Z] ---> Running in df85c8391705 [2023-02-13T04:47:48.718Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-13T04:48:10.651Z] Removing intermediate container df85c8391705 [2023-02-13T04:48:10.651Z] ---> c11846ce6afb [2023-02-13T04:48:10.651Z] Step 11/23 : FROM alpine:3.16 [2023-02-13T04:48:10.651Z] 3.16: Pulling from library/alpine [2023-02-13T04:48:10.651Z] ef5531b6e74e: Pulling fs layer [2023-02-13T04:48:10.651Z] ef5531b6e74e: Download complete [2023-02-13T04:48:10.651Z] ef5531b6e74e: Pull complete [2023-02-13T04:48:10.651Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T04:48:10.651Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T04:48:10.651Z] ---> dfd21b5a31f5 [2023-02-13T04:48:10.651Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T04:48:10.651Z] ---> Running in ac702221856e [2023-02-13T04:48:10.651Z] Removing intermediate container ac702221856e [2023-02-13T04:48:10.651Z] ---> 44f60c0854e9 [2023-02-13T04:48:10.651Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-13T04:48:10.651Z] ---> Running in c61d7d791e6a [2023-02-13T04:48:10.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-13T04:48:10.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-13T04:48:10.651Z] OK: 6 MiB in 14 packages [2023-02-13T04:48:10.651Z] Removing intermediate container c61d7d791e6a [2023-02-13T04:48:10.651Z] ---> cef56586a587 [2023-02-13T04:48:10.651Z] Step 14/23 : WORKDIR / [2023-02-13T04:48:10.651Z] ---> Running in b7c03e3d6509 [2023-02-13T04:48:10.651Z] Removing intermediate container b7c03e3d6509 [2023-02-13T04:48:10.651Z] ---> 953ed56d093f [2023-02-13T04:48:10.651Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-13T04:48:10.651Z] ---> a1b5c49a7a60 [2023-02-13T04:48:10.651Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-13T04:48:10.651Z] ---> cad10d477429 [2023-02-13T04:48:10.652Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-13T04:48:10.652Z] ---> eed9a91e1cf1 [2023-02-13T04:48:10.652Z] Step 18/23 : EXPOSE 59999 [2023-02-13T04:48:10.652Z] ---> Running in d0e0b3d5be8c [2023-02-13T04:48:10.652Z] Removing intermediate container d0e0b3d5be8c [2023-02-13T04:48:10.652Z] ---> 757ce421213f [2023-02-13T04:48:10.652Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-13T04:48:10.652Z] ---> Running in 21b30d4f77b8 [2023-02-13T04:48:10.652Z] Removing intermediate container 21b30d4f77b8 [2023-02-13T04:48:10.652Z] ---> 79a7b27891d9 [2023-02-13T04:48:10.652Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T04:48:10.652Z] ---> Running in bedfbb439fa4 [2023-02-13T04:48:10.652Z] Removing intermediate container bedfbb439fa4 [2023-02-13T04:48:10.652Z] ---> 9507812abbff [2023-02-13T04:48:10.652Z] Step 21/23 : LABEL arch=amd64 [2023-02-13T04:48:10.652Z] ---> Running in e0b5c742b545 [2023-02-13T04:48:10.652Z] Removing intermediate container e0b5c742b545 [2023-02-13T04:48:10.652Z] ---> bd453bbd89da [2023-02-13T04:48:10.652Z] Step 22/23 : LABEL git_sha=09198ff90566170cbb480bcb988d97281c5ebb32 [2023-02-13T04:48:10.652Z] ---> Running in 776c48c454e0 [2023-02-13T04:48:10.911Z] Removing intermediate container 776c48c454e0 [2023-02-13T04:48:10.911Z] ---> 8fbba6cd34e6 [2023-02-13T04:48:10.911Z] Step 23/23 : LABEL version=0.0.0 [2023-02-13T04:48:10.911Z] ---> Running in 10189ede86fc [2023-02-13T04:48:10.911Z] Removing intermediate container 10189ede86fc [2023-02-13T04:48:10.911Z] ---> 24453fc3aeab [2023-02-13T04:48:10.911Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T04:48:10.911Z] Successfully built 24453fc3aeab [2023-02-13T04:48:10.911Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:48:11.314Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T04:48:11.314Z] [2023-02-13T04:48:11.314Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:48:11.619Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T04:48:11.619Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-13T04:48:11.619Z] 5eb5b503b376: Pulling fs layer [2023-02-13T04:48:11.619Z] 5c69ac0246d0: Pulling fs layer [2023-02-13T04:48:11.619Z] ec43610c2a17: Pulling fs layer [2023-02-13T04:48:11.619Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-13T04:48:11.619Z] 33b1e0a273af: Pulling fs layer [2023-02-13T04:48:11.619Z] 5d3b04190fa2: Pulling fs layer [2023-02-13T04:48:11.619Z] 2f39f015ded8: Pulling fs layer [2023-02-13T04:48:11.619Z] 3a2ae6a8a46f: Waiting [2023-02-13T04:48:11.619Z] 33b1e0a273af: Waiting [2023-02-13T04:48:11.619Z] 5d3b04190fa2: Waiting [2023-02-13T04:48:11.619Z] 2f39f015ded8: Waiting [2023-02-13T04:48:11.619Z] 5c69ac0246d0: Verifying Checksum [2023-02-13T04:48:11.619Z] 5c69ac0246d0: Download complete [2023-02-13T04:48:11.619Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-13T04:48:11.619Z] 3a2ae6a8a46f: Download complete [2023-02-13T04:48:11.883Z] 33b1e0a273af: Verifying Checksum [2023-02-13T04:48:11.884Z] 33b1e0a273af: Download complete [2023-02-13T04:48:11.884Z] 5d3b04190fa2: Verifying Checksum [2023-02-13T04:48:11.884Z] 5d3b04190fa2: Download complete [2023-02-13T04:48:11.884Z] ec43610c2a17: Download complete [2023-02-13T04:48:12.145Z] 5eb5b503b376: Verifying Checksum [2023-02-13T04:48:12.145Z] 5eb5b503b376: Download complete [2023-02-13T04:48:12.712Z] 2f39f015ded8: Download complete [2023-02-13T04:48:13.279Z] 5eb5b503b376: Pull complete [2023-02-13T04:48:13.279Z] 5c69ac0246d0: Pull complete [2023-02-13T04:48:13.846Z] ec43610c2a17: Pull complete [2023-02-13T04:48:13.846Z] 3a2ae6a8a46f: Pull complete [2023-02-13T04:48:14.105Z] 33b1e0a273af: Pull complete [2023-02-13T04:48:14.105Z] 5d3b04190fa2: Pull complete [2023-02-13T04:48:18.286Z] 2f39f015ded8: Pull complete [2023-02-13T04:48:18.286Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-13T04:48:18.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T04:48:18.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:48:18.371Z] prd-ubuntu20.04-docker-8c-8g-5468 does not seem to be running inside a container [2023-02-13T04:48:18.406Z] $ 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-1312 -v /w/workspace/gexfoundry_device-sdk-go_PR-1312:/w/workspace/gexfoundry_device-sdk-go_PR-1312:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T04:48:20.941Z] $ docker top 47ba8907fde89cba9b3b1a305cbc2055a679e0fe908f1dab6e641e770b00c47a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:48:21.331Z] ---> job-cost.sh [2023-02-13T04:48:21.331Z] lf-activate-venv: SKIPPING [2023-02-13T04:48:21.331Z] INFO: No Stack... [2023-02-13T04:48:21.590Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T04:48:21.848Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T04:48:22.135Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1312/archives/cost.csv [2023-02-13T04:48:22.135Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T04:48:22.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1312-3-stack-cost] [2023-02-13T04:48:22.158Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1312-3-stack-cost] did not exist. Created. [2023-02-13T04:48:22.158Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1312-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T04:48:22.452Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-13T04:48:22.482Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T04:48:22.491Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1312-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T04:48:22.509Z] $ docker stop --time=1 47ba8907fde89cba9b3b1a305cbc2055a679e0fe908f1dab6e641e770b00c47a [2023-02-13T04:48:23.637Z] $ docker rm -f --volumes 47ba8907fde89cba9b3b1a305cbc2055a679e0fe908f1dab6e641e770b00c47a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-13T04:49:56.571Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5469 in /w/workspace/gexfoundry_device-sdk-go_PR-1312 [Pipeline] { [Pipeline] ws [2023-02-13T04:49:56.586Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-02-13T04:49:56.620Z] The recommended git tool is: git [2023-02-13T04:50:01.628Z] using credential edgex-jenkins-ssh [2023-02-13T04:50:01.643Z] Cloning the remote Git repository [2023-02-13T04:50:01.683Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T04:50:01.753Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-02-13T04:50:01.892Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T04:50:01.892Z] > git --version # timeout=10 [2023-02-13T04:50:01.910Z] > git --version # 'git version 2.25.1' [2023-02-13T04:50:01.912Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T04:50:01.967Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T04:50:03.689Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T04:50:03.722Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-13T04:50:05.291Z] Merging remotes/origin/main commit d7de237c874a90e81091b377f7571cc3981ed0ab into PR head commit 09198ff90566170cbb480bcb988d97281c5ebb32 [2023-02-13T04:50:04.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-13T04:50:04.561Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-13T04:50:04.562Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T04:50:04.577Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1312/head:refs/remotes/origin/PR-1312 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-13T04:50:05.307Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T04:50:05.327Z] > git checkout -f 09198ff90566170cbb480bcb988d97281c5ebb32 # timeout=10 [2023-02-13T04:50:05.437Z] > git remote # timeout=10 [2023-02-13T04:50:05.455Z] > git config --get remote.origin.url # timeout=10 [2023-02-13T04:50:05.545Z] Merge succeeded, producing 09198ff90566170cbb480bcb988d97281c5ebb32 [2023-02-13T04:50:05.545Z] Checking out Revision 09198ff90566170cbb480bcb988d97281c5ebb32 (PR-1312) [2023-02-13T04:50:05.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-13T04:50:05.499Z] > git merge d7de237c874a90e81091b377f7571cc3981ed0ab # timeout=10 [2023-02-13T04:50:05.525Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-13T04:50:05.552Z] > git config core.sparsecheckout # timeout=10 [2023-02-13T04:50:05.565Z] > git checkout -f 09198ff90566170cbb480bcb988d97281c5ebb32 # timeout=10 [2023-02-13T04:50:09.099Z] Commit message: "feat!: replace REST device profile callback with System Events" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T04:50:10.020Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-13T04:50:10.021Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T04:50:10.021Z] Dload Upload Total Spent Left Speed [2023-02-13T04:50:10.021Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-02-13T04:50:10.842Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-13T04:50:11.181Z] + sudo tee /etc/docker/daemon.new [2023-02-13T04:50:11.181Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-13T04:50:11.181Z] { [2023-02-13T04:50:11.181Z] "registry-mirrors": [ [2023-02-13T04:50:11.181Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-13T04:50:11.181Z] ], [2023-02-13T04:50:11.181Z] "bip": "10.250.0.254/24", [2023-02-13T04:50:11.181Z] "hosts": [ [2023-02-13T04:50:11.181Z] "tcp://0.0.0.0:5555", [2023-02-13T04:50:11.181Z] "unix:///var/run/docker.sock" [2023-02-13T04:50:11.181Z] ], [2023-02-13T04:50:11.181Z] "mtu": 1458, [2023-02-13T04:50:11.181Z] "selinux-enabled": true, [2023-02-13T04:50:11.181Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-13T04:50:11.181Z] } [Pipeline] sh [2023-02-13T04:50:11.512Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-13T04:50:11.840Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T04:50:30.117Z] provisioning config files... [2023-02-13T04:50:30.143Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config15334442847224870747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:50:30.504Z] ---> docker-login.sh [2023-02-13T04:50:30.504Z] nexus3.edgexfoundry.org:10001 [2023-02-13T04:50:31.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:50:31.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:50:31.096Z] Configure a credential helper to remove this warning. See [2023-02-13T04:50:31.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:50:31.096Z] [2023-02-13T04:50:31.096Z] Login Succeeded [2023-02-13T04:50:31.096Z] nexus3.edgexfoundry.org:10002 [2023-02-13T04:50:31.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:50:31.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:50:31.638Z] Configure a credential helper to remove this warning. See [2023-02-13T04:50:31.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:50:31.638Z] [2023-02-13T04:50:31.638Z] Login Succeeded [2023-02-13T04:50:31.638Z] nexus3.edgexfoundry.org:10003 [2023-02-13T04:50:31.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:50:31.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:50:31.911Z] Configure a credential helper to remove this warning. See [2023-02-13T04:50:31.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:50:31.911Z] [2023-02-13T04:50:31.911Z] Login Succeeded [2023-02-13T04:50:31.911Z] nexus3.edgexfoundry.org:10004 [2023-02-13T04:50:32.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:50:32.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:50:32.182Z] Configure a credential helper to remove this warning. See [2023-02-13T04:50:32.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:50:32.182Z] [2023-02-13T04:50:32.182Z] Login Succeeded [2023-02-13T04:50:32.182Z] docker.io [2023-02-13T04:50:32.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-13T04:50:32.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-13T04:50:32.725Z] Configure a credential helper to remove this warning. See [2023-02-13T04:50:32.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-13T04:50:32.725Z] [2023-02-13T04:50:32.725Z] Login Succeeded [2023-02-13T04:50:32.725Z] ---> docker-login.sh ends [Pipeline] } [2023-02-13T04:50:32.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-13T04:50:33.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T04:50:33.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-13T04:50:33.054Z] ========================================================= [2023-02-13T04:50:33.054Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-13T04:50:33.054Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:50:33.422Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-13T04:50:34.016Z] Sending build context to Docker daemon 5.713MB [2023-02-13T04:50:34.016Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T04:50:34.016Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-13T04:50:35.460Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-13T04:50:35.460Z] 9b18e9b68314: Pulling fs layer [2023-02-13T04:50:35.460Z] 35d82f9e3411: Pulling fs layer [2023-02-13T04:50:35.460Z] e16973657156: Pulling fs layer [2023-02-13T04:50:35.460Z] fc693d55d65f: Pulling fs layer [2023-02-13T04:50:35.460Z] 7e9fc2657dce: Pulling fs layer [2023-02-13T04:50:35.460Z] dda99020689f: Pulling fs layer [2023-02-13T04:50:35.460Z] db1c61fa0a46: Pulling fs layer [2023-02-13T04:50:35.460Z] 891c053d2c06: Pulling fs layer [2023-02-13T04:50:35.460Z] dda99020689f: Waiting [2023-02-13T04:50:35.460Z] db1c61fa0a46: Waiting [2023-02-13T04:50:35.460Z] 891c053d2c06: Waiting [2023-02-13T04:50:35.460Z] fc693d55d65f: Waiting [2023-02-13T04:50:35.460Z] 7e9fc2657dce: Waiting [2023-02-13T04:50:35.460Z] e16973657156: Verifying Checksum [2023-02-13T04:50:35.460Z] e16973657156: Download complete [2023-02-13T04:50:35.460Z] 35d82f9e3411: Verifying Checksum [2023-02-13T04:50:35.460Z] 35d82f9e3411: Download complete [2023-02-13T04:50:35.460Z] 7e9fc2657dce: Verifying Checksum [2023-02-13T04:50:35.460Z] dda99020689f: Verifying Checksum [2023-02-13T04:50:35.460Z] dda99020689f: Download complete [2023-02-13T04:50:35.460Z] 9b18e9b68314: Verifying Checksum [2023-02-13T04:50:35.460Z] 9b18e9b68314: Download complete [2023-02-13T04:50:36.447Z] 9b18e9b68314: Pull complete [2023-02-13T04:50:36.721Z] 891c053d2c06: Verifying Checksum [2023-02-13T04:50:36.721Z] 891c053d2c06: Download complete [2023-02-13T04:50:37.322Z] 35d82f9e3411: Pull complete [2023-02-13T04:50:37.602Z] e16973657156: Pull complete [2023-02-13T04:50:38.203Z] db1c61fa0a46: Verifying Checksum [2023-02-13T04:50:38.203Z] db1c61fa0a46: Download complete [2023-02-13T04:50:38.789Z] fc693d55d65f: Download complete [2023-02-13T04:50:51.126Z] fc693d55d65f: Pull complete [2023-02-13T04:50:51.126Z] 7e9fc2657dce: Pull complete [2023-02-13T04:50:51.126Z] dda99020689f: Pull complete [2023-02-13T04:50:57.804Z] db1c61fa0a46: Pull complete [2023-02-13T04:50:59.762Z] 891c053d2c06: Pull complete [2023-02-13T04:50:59.762Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-13T04:50:59.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-13T04:50:59.762Z] ---> f96f9c87975a [2023-02-13T04:50:59.762Z] Step 3/10 : ARG MAKE=make build [2023-02-13T04:51:01.728Z] ---> Running in ab35444faddb [2023-02-13T04:51:02.007Z] Removing intermediate container ab35444faddb [2023-02-13T04:51:02.007Z] ---> fe2e9d4bac10 [2023-02-13T04:51:02.007Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-13T04:51:02.277Z] ---> Running in d01d73b7bc4b [2023-02-13T04:51:02.546Z] Removing intermediate container d01d73b7bc4b [2023-02-13T04:51:02.546Z] ---> 829a9e5e42c1 [2023-02-13T04:51:02.546Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T04:51:02.546Z] ---> Running in 1f2366bf173f [2023-02-13T04:51:02.816Z] Removing intermediate container 1f2366bf173f [2023-02-13T04:51:02.816Z] ---> 890ceb4f3edb [2023-02-13T04:51:02.816Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-13T04:51:03.085Z] ---> Running in 8ee951c438de [2023-02-13T04:51:04.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T04:51:04.502Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T04:51:05.468Z] OK: 221 MiB in 51 packages [2023-02-13T04:51:06.444Z] Removing intermediate container 8ee951c438de [2023-02-13T04:51:06.444Z] ---> 8b5c6d4769e0 [2023-02-13T04:51:06.444Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-13T04:51:06.714Z] ---> 0a67bfbdd18c [2023-02-13T04:51:06.714Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T04:51:06.981Z] ---> Running in 226f6e147749 [2023-02-13T04:52:14.896Z] Removing intermediate container 226f6e147749 [2023-02-13T04:52:14.896Z] ---> 5c0c9ad73a3b [2023-02-13T04:52:14.896Z] Step 9/10 : COPY . . [2023-02-13T04:52:14.896Z] ---> ae75d615ef2a [2023-02-13T04:52:14.896Z] Step 10/10 : RUN ${MAKE} [2023-02-13T04:52:14.896Z] ---> Running in c3d28f654965 [2023-02-13T04:52:14.897Z] noop [2023-02-13T04:52:15.487Z] Removing intermediate container c3d28f654965 [2023-02-13T04:52:15.487Z] ---> 91c2e80d80a7 [2023-02-13T04:52:15.487Z] Successfully built 91c2e80d80a7 [2023-02-13T04:52:15.487Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:52:15.846Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T04:52:15.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:52:16.044Z] prd-ubuntu20.04-docker-arm64-4c-16g-5469 does not seem to be running inside a container [2023-02-13T04:52:16.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T04:52:17.364Z] $ docker top e254649e28b06c3a44517483397425bc71aa7a4172f4895e1fed297a5cbd7189 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T04:52:18.182Z] + go version [2023-02-13T04:52:18.182Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-13T04:52:18.205Z] $ docker stop --time=1 e254649e28b06c3a44517483397425bc71aa7a4172f4895e1fed297a5cbd7189 [2023-02-13T04:52:19.824Z] $ docker rm -f --volumes e254649e28b06c3a44517483397425bc71aa7a4172f4895e1fed297a5cbd7189 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:52:20.369Z] + docker inspect -f . ci-base-image-arm64 [2023-02-13T04:52:20.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:52:20.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-5469 does not seem to be running inside a container [2023-02-13T04:52:20.615Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-13T04:52:21.853Z] $ docker top 156292daf78ceb4d72d9337c4a302a7a29012c2660030775c639d1b7d2191abe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T04:52:22.699Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-02-13T04:52:23.035Z] + make test [2023-02-13T04:52:23.035Z] go test -race -coverprofile=coverage.out ./... [2023-02-13T04:53:01.920Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-13T04:55:08.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-13T04:55:08.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-13T04:55:08.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-13T04:55:08.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-13T04:55:08.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-13T04:55:08.615Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.405s coverage: 27.6% of statements [2023-02-13T04:55:08.615Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.286s coverage: 78.9% of statements [2023-02-13T04:55:08.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-13T04:55:15.285Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.990s coverage: 77.8% of statements [2023-02-13T04:55:15.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-13T04:55:15.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-13T04:55:17.238Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.718s coverage: 63.0% of statements [2023-02-13T04:55:17.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-13T04:55:17.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-13T04:55:17.238Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-13T04:55:17.830Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.466s coverage: 65.2% of statements [2023-02-13T04:55:17.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-13T04:55:17.830Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-13T04:55:18.790Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.825s coverage: 89.2% of statements [2023-02-13T04:55:18.790Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-13T04:55:18.790Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.595s coverage: 4.7% of statements [2023-02-13T04:55:18.790Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-13T04:55:19.754Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-13T04:55:19.754Z] GO111MODULE=on go vet ./... [2023-02-13T04:56:56.415Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-13T04:56:56.415Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-13T04:56:56.415Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-13T04:56:56.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-13T04:56:56.455Z] $ docker stop --time=1 156292daf78ceb4d72d9337c4a302a7a29012c2660030775c639d1b7d2191abe [2023-02-13T04:56:58.210Z] $ docker rm -f --volumes 156292daf78ceb4d72d9337c4a302a7a29012c2660030775c639d1b7d2191abe [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-13T04:56:59.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-13T04:56:59.535Z] Warning: overwriting stash ‘coverage-report’ [2023-02-13T04:57:00.101Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-13T04:57:00.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-13T04:57:00.854Z] + ls -al . [2023-02-13T04:57:00.854Z] total 268 [2023-02-13T04:57:00.854Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 04:52 . [2023-02-13T04:57:00.854Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 04:50 .. [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 04:50 .dockerignore [2023-02-13T04:57:00.854Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 04:50 .git [2023-02-13T04:57:00.854Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 04:50 .github [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 04:50 .gitignore [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 04:50 .golangci.yml [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 04:50 CHANGELOG.md [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 04:50 GOVERNANCE.md [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 04:50 Jenkinsfile [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 04:50 LICENSE [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 04:50 Makefile [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 04:50 OWNERS.md [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 04:50 README.md [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 13 04:46 VERSION [2023-02-13T04:57:00.854Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 04:50 bin [2023-02-13T04:57:00.854Z] -rw-r--r-- 1 jenkins jenkins 100373 Feb 13 04:55 coverage.out [2023-02-13T04:57:00.854Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 04:50 example [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 04:50 go.mod [2023-02-13T04:57:00.854Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 04:50 go.sum [2023-02-13T04:57:00.855Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 04:50 internal [2023-02-13T04:57:00.855Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 04:50 openapi [2023-02-13T04:57:00.855Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 04:50 pkg [2023-02-13T04:57:00.855Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 04:50 snap [2023-02-13T04:57:00.855Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 04:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:57:01.211Z] + 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=09198ff90566170cbb480bcb988d97281c5ebb32 --label arch=arm64 --label version=0.0.0 . [2023-02-13T04:57:01.822Z] Sending build context to Docker daemon 5.814MB [2023-02-13T04:57:01.822Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-13T04:57:01.822Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-13T04:57:01.822Z] ---> 91c2e80d80a7 [2023-02-13T04:57:01.822Z] Step 3/23 : ARG MAKE=make build [2023-02-13T04:57:01.822Z] ---> Running in 28fd05cf4f53 [2023-02-13T04:57:02.095Z] Removing intermediate container 28fd05cf4f53 [2023-02-13T04:57:02.095Z] ---> a96012185e0d [2023-02-13T04:57:02.095Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-13T04:57:02.392Z] ---> Running in 3f9db609f183 [2023-02-13T04:57:02.392Z] Removing intermediate container 3f9db609f183 [2023-02-13T04:57:02.392Z] ---> 830773a55180 [2023-02-13T04:57:02.392Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-13T04:57:02.670Z] ---> Running in e9336d32e511 [2023-02-13T04:57:02.954Z] Removing intermediate container e9336d32e511 [2023-02-13T04:57:02.954Z] ---> 63969845df69 [2023-02-13T04:57:02.954Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-13T04:57:02.954Z] ---> Running in 68f7ac6e55d3 [2023-02-13T04:57:03.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T04:57:04.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T04:57:05.604Z] OK: 221 MiB in 51 packages [2023-02-13T04:57:06.572Z] Removing intermediate container 68f7ac6e55d3 [2023-02-13T04:57:06.572Z] ---> 55e32d84b351 [2023-02-13T04:57:06.572Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-13T04:57:06.843Z] ---> 53d7fafc90af [2023-02-13T04:57:06.843Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-13T04:57:07.111Z] ---> Running in 2975ea5edece [2023-02-13T04:57:09.687Z] Removing intermediate container 2975ea5edece [2023-02-13T04:57:09.687Z] ---> c5da3033513b [2023-02-13T04:57:09.687Z] Step 9/23 : COPY . . [2023-02-13T04:57:10.648Z] ---> 576f2a75353c [2023-02-13T04:57:10.648Z] Step 10/23 : RUN ${MAKE} [2023-02-13T04:57:10.648Z] ---> Running in 5f220df9509b [2023-02-13T04:57:11.614Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-13T04:59:18.272Z] Removing intermediate container 5f220df9509b [2023-02-13T04:59:18.272Z] ---> d65b3e446573 [2023-02-13T04:59:18.272Z] Step 11/23 : FROM alpine:3.16 [2023-02-13T04:59:18.272Z] 3.16: Pulling from library/alpine [2023-02-13T04:59:18.272Z] 3760b48202b3: Pulling fs layer [2023-02-13T04:59:18.272Z] 3760b48202b3: Verifying Checksum [2023-02-13T04:59:18.272Z] 3760b48202b3: Download complete [2023-02-13T04:59:18.272Z] 3760b48202b3: Pull complete [2023-02-13T04:59:18.272Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-13T04:59:18.272Z] Status: Downloaded newer image for alpine:3.16 [2023-02-13T04:59:18.272Z] ---> 4c81e5bf8899 [2023-02-13T04:59:18.272Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-13T04:59:18.272Z] ---> Running in 79d234ec42d0 [2023-02-13T04:59:18.272Z] Removing intermediate container 79d234ec42d0 [2023-02-13T04:59:18.272Z] ---> 3db5d523fd66 [2023-02-13T04:59:18.272Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-13T04:59:18.272Z] ---> Running in 9fe5bd7fb353 [2023-02-13T04:59:18.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-13T04:59:18.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-13T04:59:18.272Z] OK: 5 MiB in 14 packages [2023-02-13T04:59:18.272Z] Removing intermediate container 9fe5bd7fb353 [2023-02-13T04:59:18.272Z] ---> 3a6b0f2c11ad [2023-02-13T04:59:18.272Z] Step 14/23 : WORKDIR / [2023-02-13T04:59:18.272Z] ---> Running in 6cecac08ffe5 [2023-02-13T04:59:18.272Z] Removing intermediate container 6cecac08ffe5 [2023-02-13T04:59:18.272Z] ---> cb1a117e0b04 [2023-02-13T04:59:18.272Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-13T04:59:18.272Z] ---> 1d52442dc6cd [2023-02-13T04:59:18.272Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-13T04:59:18.272Z] ---> b654da6735a1 [2023-02-13T04:59:18.272Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-13T04:59:18.272Z] ---> c26bce34c97b [2023-02-13T04:59:18.272Z] Step 18/23 : EXPOSE 59999 [2023-02-13T04:59:18.272Z] ---> Running in 8d528bcd215e [2023-02-13T04:59:18.272Z] Removing intermediate container 8d528bcd215e [2023-02-13T04:59:18.272Z] ---> edfcc6483f9e [2023-02-13T04:59:18.272Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-13T04:59:18.272Z] ---> Running in 18b4789fec80 [2023-02-13T04:59:18.272Z] Removing intermediate container 18b4789fec80 [2023-02-13T04:59:18.272Z] ---> 68080e428d16 [2023-02-13T04:59:18.272Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-13T04:59:18.272Z] ---> Running in d1f5e4dd9758 [2023-02-13T04:59:18.272Z] Removing intermediate container d1f5e4dd9758 [2023-02-13T04:59:18.272Z] ---> b26fa03d520a [2023-02-13T04:59:18.272Z] Step 21/23 : LABEL arch=arm64 [2023-02-13T04:59:18.272Z] ---> Running in a4486b0e0338 [2023-02-13T04:59:18.272Z] Removing intermediate container a4486b0e0338 [2023-02-13T04:59:18.272Z] ---> 4639335da6ef [2023-02-13T04:59:18.272Z] Step 22/23 : LABEL git_sha=09198ff90566170cbb480bcb988d97281c5ebb32 [2023-02-13T04:59:18.273Z] ---> Running in 7c8eed58051b [2023-02-13T04:59:18.273Z] Removing intermediate container 7c8eed58051b [2023-02-13T04:59:18.273Z] ---> f96471aa927a [2023-02-13T04:59:18.273Z] Step 23/23 : LABEL version=0.0.0 [2023-02-13T04:59:18.273Z] ---> Running in 43637d7d6a31 [2023-02-13T04:59:18.273Z] Removing intermediate container 43637d7d6a31 [2023-02-13T04:59:18.273Z] ---> 7f86c6a4ab42 [2023-02-13T04:59:18.273Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-13T04:59:18.273Z] Successfully built 7f86c6a4ab42 [2023-02-13T04:59:18.273Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:59:18.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T04:59:18.689Z] [2023-02-13T04:59:18.689Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:59:19.019Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T04:59:19.019Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-13T04:59:19.019Z] 8998bd30e6a1: Pulling fs layer [2023-02-13T04:59:19.019Z] 04944245beec: Pulling fs layer [2023-02-13T04:59:19.019Z] 699f458cf7ca: Pulling fs layer [2023-02-13T04:59:19.019Z] 765212b225bb: Pulling fs layer [2023-02-13T04:59:19.019Z] f23df028b6ca: Pulling fs layer [2023-02-13T04:59:19.019Z] d65c8cfc05b1: Pulling fs layer [2023-02-13T04:59:19.019Z] 2437ff75d9bd: Pulling fs layer [2023-02-13T04:59:19.019Z] f23df028b6ca: Waiting [2023-02-13T04:59:19.019Z] 765212b225bb: Waiting [2023-02-13T04:59:19.019Z] d65c8cfc05b1: Waiting [2023-02-13T04:59:19.019Z] 2437ff75d9bd: Waiting [2023-02-13T04:59:19.285Z] 04944245beec: Verifying Checksum [2023-02-13T04:59:19.285Z] 04944245beec: Download complete [2023-02-13T04:59:19.285Z] 765212b225bb: Verifying Checksum [2023-02-13T04:59:19.285Z] 765212b225bb: Download complete [2023-02-13T04:59:19.285Z] f23df028b6ca: Verifying Checksum [2023-02-13T04:59:19.285Z] f23df028b6ca: Download complete [2023-02-13T04:59:19.285Z] d65c8cfc05b1: Verifying Checksum [2023-02-13T04:59:19.285Z] d65c8cfc05b1: Download complete [2023-02-13T04:59:19.554Z] 699f458cf7ca: Verifying Checksum [2023-02-13T04:59:19.554Z] 699f458cf7ca: Download complete [2023-02-13T04:59:19.824Z] 8998bd30e6a1: Verifying Checksum [2023-02-13T04:59:19.824Z] 8998bd30e6a1: Download complete [2023-02-13T04:59:22.415Z] 2437ff75d9bd: Download complete [2023-02-13T04:59:23.370Z] 8998bd30e6a1: Pull complete [2023-02-13T04:59:23.952Z] 04944245beec: Pull complete [2023-02-13T04:59:25.353Z] 699f458cf7ca: Pull complete [2023-02-13T04:59:27.288Z] 765212b225bb: Pull complete [2023-02-13T04:59:27.553Z] f23df028b6ca: Pull complete [2023-02-13T04:59:27.819Z] d65c8cfc05b1: Pull complete [2023-02-13T04:59:40.107Z] 2437ff75d9bd: Pull complete [2023-02-13T04:59:40.107Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-13T04:59:40.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-13T04:59:40.107Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:59:40.286Z] prd-ubuntu20.04-docker-arm64-4c-16g-5469 does not seem to be running inside a container [2023-02-13T04:59:40.354Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-13T04:59:43.034Z] $ docker top b51ba46977be071e615e13446385e06b3bd40d2b0169ca969ffbb6e54c90a34d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:59:43.849Z] ---> job-cost.sh [2023-02-13T04:59:43.849Z] lf-activate-venv: SKIPPING [2023-02-13T04:59:43.849Z] INFO: No Stack... [2023-02-13T04:59:44.115Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-13T04:59:45.072Z] INFO: Archiving Costs [Pipeline] sh [2023-02-13T04:59:45.394Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-02-13T04:59:45.394Z] + cut -d, -f6 [Pipeline] lock [2023-02-13T04:59:45.458Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1312-3-stack-cost] [2023-02-13T04:59:45.467Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1312-3-stack-cost] did not exist. Created. [2023-02-13T04:59:45.467Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1312-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-13T04:59:45.817Z] /w/workspace/device-sdk-go/3@tmp/durable-a99fc808/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-13T04:59:46.150Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-13T04:59:46.172Z] Warning: overwriting stash ‘stack-cost’ [2023-02-13T04:59:46.243Z] Stashed 1 file(s) [Pipeline] } [2023-02-13T04:59:46.250Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1312-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-13T04:59:46.273Z] $ docker stop --time=1 b51ba46977be071e615e13446385e06b3bd40d2b0169ca969ffbb6e54c90a34d [2023-02-13T04:59:47.759Z] $ docker rm -f --volumes b51ba46977be071e615e13446385e06b3bd40d2b0169ca969ffbb6e54c90a34d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-13T04:59:48.207Z] provisioning config files... [2023-02-13T04:59:48.215Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp/config13763155510568411275tmp [Pipeline] { [Pipeline] sh [2023-02-13T04:59:48.508Z] + set +x [2023-02-13T04:59:48.508Z] + + curl -s https://codecov.io/bash [2023-02-13T04:59:48.508Z] bash -s -- [2023-02-13T04:59:48.767Z] [2023-02-13T04:59:48.767Z] _____ _ [2023-02-13T04:59:48.767Z] / ____| | | [2023-02-13T04:59:48.767Z] | | ___ __| | ___ ___ _____ __ [2023-02-13T04:59:48.767Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-13T04:59:48.767Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-13T04:59:48.767Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-13T04:59:48.767Z] Bash-1.0.6 [2023-02-13T04:59:48.767Z] [2023-02-13T04:59:48.767Z] [2023-02-13T04:59:48.767Z] ==> git version 2.25.1 found [2023-02-13T04:59:48.767Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-13T04:59:48.767Z] Release-Date: 2020-01-08 [2023-02-13T04:59:48.767Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-13T04:59:48.767Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-13T04:59:48.767Z] ==> Jenkins CI detected. [2023-02-13T04:59:48.767Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1312 [2023-02-13T04:59:48.767Z] project root: . [2023-02-13T04:59:48.767Z] --> token set from env [2023-02-13T04:59:48.767Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-13T04:59:48.767Z] ==> Running gcov in . (disable via -X gcov) [2023-02-13T04:59:48.767Z] ==> Python coveragepy not found [2023-02-13T04:59:48.767Z] ==> Searching for coverage reports in: [2023-02-13T04:59:48.767Z] + . [2023-02-13T04:59:48.767Z] -> Found 1 reports [2023-02-13T04:59:48.767Z] ==> Detecting git/mercurial file structure [2023-02-13T04:59:48.767Z] ==> Reading reports [2023-02-13T04:59:48.767Z] + ./coverage.out bytes=100373 [2023-02-13T04:59:48.767Z] ==> Appending adjustments [2023-02-13T04:59:48.767Z] https://docs.codecov.io/docs/fixing-reports [2023-02-13T04:59:49.026Z] + Found adjustments [2023-02-13T04:59:49.026Z] ==> Gzipping contents [2023-02-13T04:59:49.026Z] 16K /tmp/codecov.ShghUx.gz [2023-02-13T04:59:49.026Z] ==> Uploading reports [2023-02-13T04:59:49.026Z] url: https://codecov.io [2023-02-13T04:59:49.026Z] query: branch=PR-1312&commit=09198ff90566170cbb480bcb988d97281c5ebb32&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1312%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1312&job=&cmd_args= [2023-02-13T04:59:49.026Z] -> Pinging Codecov [2023-02-13T04:59:49.026Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1312&commit=09198ff90566170cbb480bcb988d97281c5ebb32&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1312%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1312&job=&cmd_args= [2023-02-13T04:59:49.595Z] -> Uploading to [2023-02-13T04:59:49.595Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-13/7E55EF52A471D76F132DFD9A03CDDE97/09198ff90566170cbb480bcb988d97281c5ebb32/e31c4848-8d89-42fe-8851-11f156472125.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T045949Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=daf94492cf8a799912b23488d7b218b993dd5ab4566d9519b7db92273bb3bc36 [2023-02-13T04:59:49.595Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-13T04:59:49.595Z] Dload Upload Total Spent Left Speed [2023-02-13T04:59:49.854Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14519 0 0 100 14519 0 47447 --:--:-- --:--:-- --:--:-- 47447 [2023-02-13T04:59:49.854Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/09198ff90566170cbb480bcb988d97281c5ebb32 [Pipeline] } [2023-02-13T04:59:49.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-13T04:59:50.655Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1312/archives ] [2023-02-13T04:59:50.655Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1312/archives [2023-02-13T04:59:50.655Z] total 16 [2023-02-13T04:59:50.655Z] drwxr-xr-x 3 root root 4096 Feb 13 04:48 . [2023-02-13T04:59:50.655Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 04:48 .. [2023-02-13T04:59:50.655Z] drwxr-xr-x 2 root root 4096 Feb 13 04:48 cost [2023-02-13T04:59:50.655Z] -rw-r--r-- 1 root root 86 Feb 13 04:48 cost.csv [2023-02-13T04:59:50.655Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1312/archives [2023-02-13T04:59:50.655Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1312/archives [2023-02-13T04:59:50.655Z] total 16 [2023-02-13T04:59:50.655Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 04:48 . [2023-02-13T04:59:50.655Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 04:48 .. [2023-02-13T04:59:50.655Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 04:48 cost [2023-02-13T04:59:50.655Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 13 04:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:59:50.954Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:59:51.811Z] ---> package-listing.sh [2023-02-13T04:59:51.811Z] ++ facter osfamily [2023-02-13T04:59:51.811Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-13T04:59:52.070Z] + OS_FAMILY=debian [2023-02-13T04:59:52.070Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1312 [2023-02-13T04:59:52.070Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-13T04:59:52.070Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-13T04:59:52.070Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-13T04:59:52.070Z] + PACKAGES=/tmp/packages_start.txt [2023-02-13T04:59:52.070Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1312 ']' [2023-02-13T04:59:52.070Z] + PACKAGES=/tmp/packages_end.txt [2023-02-13T04:59:52.070Z] + case "${OS_FAMILY}" in [2023-02-13T04:59:52.070Z] + dpkg -l [2023-02-13T04:59:52.070Z] + grep '^ii' [2023-02-13T04:59:52.070Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-13T04:59:52.070Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-13T04:59:52.070Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-13T04:59:52.070Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1312 ']' [2023-02-13T04:59:52.070Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1312/archives/ [2023-02-13T04:59:52.070Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1312/archives/ [Pipeline] echo [2023-02-13T04:59:52.081Z] 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-1312/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-13T04:59:52.361Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-13T04:59:52.918Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-13T04:59:52.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-13T04:59:52.981Z] prd-ubuntu20.04-docker-8c-8g-5468 does not seem to be running inside a container [2023-02-13T04:59:53.003Z] $ 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-1312/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-1312 -v /w/workspace/gexfoundry_device-sdk-go_PR-1312:/w/workspace/gexfoundry_device-sdk-go_PR-1312:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-13T04:59:53.176Z] $ docker top cbbeea6040e8b2eea0ab7f29fce827a242ddd5b3df43b7b68ac566492a92539a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-13T04:59:53.522Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-13T04:59:53.804Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-13T04:59:54.086Z] + ls /var/log/sa-host [2023-02-13T04:59:54.086Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-13T04:59:54.250Z] provisioning config files... [2023-02-13T04:59:54.257Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1312@tmp/config17609360182811648504tmp [Pipeline] { [Pipeline] echo [2023-02-13T04:59:54.269Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:59:54.550Z] ---> create-netrc.sh [Pipeline] } [2023-02-13T04:59:54.557Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:59:54.890Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-13T04:59:54.898Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:59:55.181Z] ---> sudo-logs.sh [2023-02-13T04:59:55.181Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-13T04:59:55.210Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:59:55.490Z] ---> job-cost.sh [2023-02-13T04:59:55.490Z] lf-activate-venv: SKIPPING [2023-02-13T04:59:55.490Z] DEBUG: total: 0.2199999988079071 [2023-02-13T04:59:55.490Z] INFO: Retrieving Stack Cost... [2023-02-13T04:59:56.057Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-13T04:59:56.315Z] INFO: Archiving Costs [Pipeline] echo [2023-02-13T04:59:56.325Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-13T04:59:56.604Z] ---> logs-deploy.sh [2023-02-13T04:59:56.604Z] lf-activate-venv: SKIPPING [2023-02-13T04:59:56.604Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1312/3 [2023-02-13T04:59:56.604Z] INFO: archiving workspace using pattern(s): [2023-02-13T04:59:57.539Z] Archives upload complete. [2023-02-13T04:59:57.539Z] INFO: archiving logs to Nexus