Pull request #1451 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 EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c2fb876fcd1e0284408ad645a921007a1ace85f5 rather than 555e4e9a16edf2845afb0bbe6dba78455fe7c934 Obtained Jenkinsfile from c2fb876fcd1e0284408ad645a921007a1ace85f5 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-ssh191901391614347760.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh63462724726426297.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-1451/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-1451/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6440028406727468164.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh16752743924574264800.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-1451/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-1451/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17860692651748345122.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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-14515’ is offline Running on prd-ubuntu20.04-docker-8c-8g-14517 in /w/workspace/gexfoundry_device-sdk-go_PR-1451 [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-1451 # 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/1451/head:refs/remotes/origin/PR-1451 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit 555e4e9a16edf2845afb0bbe6dba78455fe7c934 Merge succeeded, producing ea64ad377c32851bed255d80604d34e0d31caf84 Checking out Revision ea64ad377c32851bed255d80604d34e0d31caf84 (PR-1451) > git config core.sparsecheckout # timeout=10 > git checkout -f 555e4e9a16edf2845afb0bbe6dba78455fe7c934 # 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 c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea64ad377c32851bed255d80604d34e0d31caf84 # timeout=10 Commit message: "Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T17:54:03.743Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T17:54:03.815Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T17:54:03.838Z] ========================================================= [2023-05-08T17:54:03.838Z] EdgeX Global Pipelines Version Info [2023-05-08T17:54:03.838Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 99edf3fd8b63ba495a93b22125ede2d0ec2aeab1 # timeout=10 [2023-05-08T17:54:04.572Z] ------------------- [2023-05-08T17:54:04.573Z] stable info: [2023-05-08T17:54:04.573Z] ------------------- [2023-05-08T17:54:04.573Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T17:54:04.573Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T17:54:04.573Z] Message: update stable to v1.0.249 [2023-05-08T17:54:05.144Z] ------------------- [2023-05-08T17:54:05.144Z] experimental info: [2023-05-08T17:54:05.144Z] ------------------- [2023-05-08T17:54:05.144Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T17:54:05.144Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T17:54:05.144Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T17:54:05.355Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-08T17:54:05.365Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-08T17:54:05.383Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T17:54:05.400Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T17:54:05.410Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T17:54:05.419Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T17:54:05.430Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T17:54:05.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-08T17:54:05.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T17:54:05.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T17:54:05.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T17:54:05.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-08T17:54:05.526Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T17:54:05.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T17:54:05.558Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T17:54:05.572Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T17:54:05.589Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T17:54:05.601Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T17:54:05.615Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T17:54:05.629Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T17:54:05.641Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-08T17:54:05.655Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-08T17:54:05.669Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T17:54:05.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T17:54:05.704Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T17:54:05.719Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T17:54:05.735Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T17:54:05.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1451 [Pipeline] echo [2023-05-08T17:54:05.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1451 [Pipeline] echo [2023-05-08T17:54:05.790Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1451 [Pipeline] echo [2023-05-08T17:54:05.808Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea64ad377c32851bed255d80604d34e0d31caf84 [Pipeline] echo [2023-05-08T17:54:05.826Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea64ad3 [Pipeline] echo [2023-05-08T17:54:05.842Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T17:54:05.894Z] provisioning config files... [2023-05-08T17:54:05.909Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config9141912296028883766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:54:06.211Z] ---> docker-login.sh [2023-05-08T17:54:06.211Z] nexus3.edgexfoundry.org:10001 [2023-05-08T17:54:06.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:54:06.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:54:06.471Z] Configure a credential helper to remove this warning. See [2023-05-08T17:54:06.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:54:06.471Z] [2023-05-08T17:54:06.471Z] Login Succeeded [2023-05-08T17:54:06.471Z] nexus3.edgexfoundry.org:10002 [2023-05-08T17:54:06.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:54:06.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:54:06.731Z] Configure a credential helper to remove this warning. See [2023-05-08T17:54:06.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:54:06.731Z] [2023-05-08T17:54:06.731Z] Login Succeeded [2023-05-08T17:54:06.731Z] nexus3.edgexfoundry.org:10003 [2023-05-08T17:54:06.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:54:06.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:54:06.731Z] Configure a credential helper to remove this warning. See [2023-05-08T17:54:06.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:54:06.731Z] [2023-05-08T17:54:06.731Z] Login Succeeded [2023-05-08T17:54:06.731Z] nexus3.edgexfoundry.org:10004 [2023-05-08T17:54:06.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:54:06.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:54:06.731Z] Configure a credential helper to remove this warning. See [2023-05-08T17:54:06.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:54:06.731Z] [2023-05-08T17:54:06.731Z] Login Succeeded [2023-05-08T17:54:06.731Z] docker.io [2023-05-08T17:54:06.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:54:07.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:54:07.254Z] Configure a credential helper to remove this warning. See [2023-05-08T17:54:07.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:54:07.254Z] [2023-05-08T17:54:07.254Z] Login Succeeded [2023-05-08T17:54:07.254Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T17:54:07.260Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T17:54:07.662Z] + git rev-list -1 --merges ea64ad377c32851bed255d80604d34e0d31caf84~1..ea64ad377c32851bed255d80604d34e0d31caf84 [Pipeline] echo [2023-05-08T17:54:07.702Z] -----------> git rev-list -1 --merges ea64ad377c32851bed255d80604d34e0d31caf84~1..ea64ad377c32851bed255d80604d34e0d31caf84 ea64ad377c32851bed255d80604d34e0d31caf84 [2023-05-08T17:54:07.702Z] ea64ad377c32851bed255d80604d34e0d31caf84 [false] [Pipeline] sh [2023-05-08T17:54:07.987Z] + git log --format=format:%s -1 ea64ad377c32851bed255d80604d34e0d31caf84 [Pipeline] echo [2023-05-08T17:54:08.000Z] ========================================================= [2023-05-08T17:54:08.000Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T17:54:08.000Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T17:54:08.330Z] + git log --format=format:%s -1 ea64ad377c32851bed255d80604d34e0d31caf84 [Pipeline] echo [2023-05-08T17:54:08.341Z] [semverPrep] GIT_COMMIT: ea64ad377c32851bed255d80604d34e0d31caf84, Commit Message: Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD [Pipeline] echo [2023-05-08T17:54:08.349Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T17:54:08.696Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T17:54:08.696Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T17:54:08.696Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T17:54:08.696Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T17:54:08.696Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T17:54:08.696Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T17:54:08.696Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:54:09.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T17:54:09.066Z] [2023-05-08T17:54:09.066Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:54:09.375Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T17:54:09.375Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T17:54:09.375Z] b85a868b505f: Pulling fs layer [2023-05-08T17:54:09.375Z] e2be974225ed: Pulling fs layer [2023-05-08T17:54:09.375Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T17:54:09.375Z] 988bab9f4d93: Pulling fs layer [2023-05-08T17:54:09.375Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T17:54:09.375Z] eaf3925da568: Pulling fs layer [2023-05-08T17:54:09.375Z] bab4dde63d76: Pulling fs layer [2023-05-08T17:54:09.375Z] bde34c3a00c8: Pulling fs layer [2023-05-08T17:54:09.375Z] b352a97aabf1: Pulling fs layer [2023-05-08T17:54:09.375Z] 988bab9f4d93: Waiting [2023-05-08T17:54:09.375Z] 4872d77fe225: Pulling fs layer [2023-05-08T17:54:09.375Z] 5851b861e8e6: Pulling fs layer [2023-05-08T17:54:09.375Z] 1469e6f7b9e6: Waiting [2023-05-08T17:54:09.375Z] eaf3925da568: Waiting [2023-05-08T17:54:09.375Z] bab4dde63d76: Waiting [2023-05-08T17:54:09.375Z] bde34c3a00c8: Waiting [2023-05-08T17:54:09.375Z] b352a97aabf1: Waiting [2023-05-08T17:54:09.375Z] 4872d77fe225: Waiting [2023-05-08T17:54:09.375Z] 5851b861e8e6: Waiting [2023-05-08T17:54:09.633Z] e2be974225ed: Verifying Checksum [2023-05-08T17:54:09.633Z] e2be974225ed: Download complete [2023-05-08T17:54:09.633Z] 988bab9f4d93: Verifying Checksum [2023-05-08T17:54:09.633Z] 988bab9f4d93: Download complete [2023-05-08T17:54:09.633Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T17:54:09.633Z] 339a4e72a1f5: Download complete [2023-05-08T17:54:09.633Z] eaf3925da568: Download complete [2023-05-08T17:54:09.633Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T17:54:09.633Z] 1469e6f7b9e6: Download complete [2023-05-08T17:54:09.633Z] bde34c3a00c8: Verifying Checksum [2023-05-08T17:54:09.633Z] bde34c3a00c8: Download complete [2023-05-08T17:54:09.634Z] b352a97aabf1: Verifying Checksum [2023-05-08T17:54:09.634Z] b352a97aabf1: Download complete [2023-05-08T17:54:09.634Z] 4872d77fe225: Verifying Checksum [2023-05-08T17:54:09.634Z] 4872d77fe225: Download complete [2023-05-08T17:54:09.634Z] 5851b861e8e6: Verifying Checksum [2023-05-08T17:54:09.634Z] 5851b861e8e6: Download complete [2023-05-08T17:54:09.634Z] b85a868b505f: Verifying Checksum [2023-05-08T17:54:09.634Z] b85a868b505f: Download complete [2023-05-08T17:54:10.200Z] bab4dde63d76: Verifying Checksum [2023-05-08T17:54:10.200Z] bab4dde63d76: Download complete [2023-05-08T17:54:10.770Z] b85a868b505f: Pull complete [2023-05-08T17:54:11.028Z] e2be974225ed: Pull complete [2023-05-08T17:54:11.596Z] 339a4e72a1f5: Pull complete [2023-05-08T17:54:11.596Z] 988bab9f4d93: Pull complete [2023-05-08T17:54:11.859Z] 1469e6f7b9e6: Pull complete [2023-05-08T17:54:12.118Z] eaf3925da568: Pull complete [2023-05-08T17:54:13.545Z] bab4dde63d76: Pull complete [2023-05-08T17:54:13.545Z] bde34c3a00c8: Pull complete [2023-05-08T17:54:13.812Z] b352a97aabf1: Pull complete [2023-05-08T17:54:13.812Z] 4872d77fe225: Pull complete [2023-05-08T17:54:13.812Z] 5851b861e8e6: Pull complete [2023-05-08T17:54:13.812Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T17:54:13.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T17:54:13.812Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:54:13.916Z] prd-ubuntu20.04-docker-8c-8g-14517 does not seem to be running inside a container [2023-05-08T17:54:13.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T17:54:15.902Z] $ docker top 7f0e89412d719ed92c0384574fd452243ff31270fcb9531feb49223f3f820c36 -eo pid,comm [2023-05-08T17:54:15.957Z] 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-05-08T17:54:15.957Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T17:54:15.998Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T17:54:15.998Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T17:54:16.113Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T17:54:16.115Z] $ docker exec 7f0e89412d719ed92c0384574fd452243ff31270fcb9531feb49223f3f820c36 ssh-agent [2023-05-08T17:54:16.221Z] SSH_AUTH_SOCK=/tmp/ssh-lr7kKd9WTXBy/agent.32 [2023-05-08T17:54:16.221Z] SSH_AGENT_PID=38 [2023-05-08T17:54:16.228Z] Running ssh-add (command line suppressed) [2023-05-08T17:54:16.335Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_1096076916721028513.key (/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_1096076916721028513.key) [2023-05-08T17:54:16.350Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T17:54:16.641Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T17:54:16.657Z] $ docker exec --env ******** --env ******** 7f0e89412d719ed92c0384574fd452243ff31270fcb9531feb49223f3f820c36 ssh-agent -k [2023-05-08T17:54:16.755Z] unset SSH_AUTH_SOCK; [2023-05-08T17:54:16.755Z] unset SSH_AGENT_PID; [2023-05-08T17:54:16.755Z] echo Agent pid 38 killed; [2023-05-08T17:54:16.765Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T17:54:16.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T17:54:16.794Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T17:54:16.912Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T17:54:16.915Z] $ docker exec 7f0e89412d719ed92c0384574fd452243ff31270fcb9531feb49223f3f820c36 ssh-agent [2023-05-08T17:54:17.017Z] SSH_AUTH_SOCK=/tmp/ssh-PkWMmB4jDls3/agent.70 [2023-05-08T17:54:17.017Z] SSH_AGENT_PID=76 [2023-05-08T17:54:17.021Z] Running ssh-add (command line suppressed) [2023-05-08T17:54:17.128Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_15338141599224668027.key (/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_15338141599224668027.key) [2023-05-08T17:54:17.144Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T17:54:17.432Z] + git semver init [2023-05-08T17:54:17.692Z] 2023-05-08 17:54:17,616 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T17:54:17.692Z] 2023-05-08 17:54:17,617 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver [2023-05-08T17:54:17.692Z] 2023-05-08 17:54:17,617 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver [2023-05-08T17:54:17.692Z] 2023-05-08 17:54:17,617 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451, universal_newlines=False, shell=None, istream=None) [2023-05-08T17:54:18.631Z] 2023-05-08 17:54:18,488 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.git/info/exclude [2023-05-08T17:54:18.631Z] 2023-05-08 17:54:18,488 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 with force:False [2023-05-08T17:54:18.631Z] 2023-05-08 17:54:18,488 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 [2023-05-08T17:54:18.631Z] 2023-05-08 17:54:18,492 [execute] INFO git cat-file --batch-check [2023-05-08T17:54:18.631Z] 2023-05-08 17:54:18,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T17:54:18.631Z] 2023-05-08 17:54:18,499 [execute] INFO git cat-file --batch [2023-05-08T17:54:18.631Z] 2023-05-08 17:54:18,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T17:54:18.631Z] 2023-05-08 17:54:18,505 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 [2023-05-08T17:54:18.631Z] 0.0.0 [Pipeline] } [2023-05-08T17:54:18.639Z] $ docker exec --env ******** --env ******** 7f0e89412d719ed92c0384574fd452243ff31270fcb9531feb49223f3f820c36 ssh-agent -k [2023-05-08T17:54:18.734Z] unset SSH_AUTH_SOCK; [2023-05-08T17:54:18.735Z] unset SSH_AGENT_PID; [2023-05-08T17:54:18.735Z] echo Agent pid 76 killed; [2023-05-08T17:54:18.744Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T17:54:19.045Z] + git semver [Pipeline] } [2023-05-08T17:54:19.317Z] $ docker stop --time=1 7f0e89412d719ed92c0384574fd452243ff31270fcb9531feb49223f3f820c36 [2023-05-08T17:54:20.654Z] $ docker rm -f --volumes 7f0e89412d719ed92c0384574fd452243ff31270fcb9531feb49223f3f820c36 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T17:54:21.011Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T17:54:21.236Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T17:54:21.240Z] [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-05-08T17:54:21.388Z] provisioning config files... [2023-05-08T17:54:21.398Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config3439635239218264757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:54:21.702Z] ---> docker-login.sh [2023-05-08T17:54:21.702Z] nexus3.edgexfoundry.org:10001 [2023-05-08T17:54:21.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:54:21.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:54:21.702Z] Configure a credential helper to remove this warning. See [2023-05-08T17:54:21.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:54:21.702Z] [2023-05-08T17:54:21.702Z] Login Succeeded [2023-05-08T17:54:21.702Z] nexus3.edgexfoundry.org:10002 [2023-05-08T17:54:21.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:54:21.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:54:21.702Z] Configure a credential helper to remove this warning. See [2023-05-08T17:54:21.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:54:21.702Z] [2023-05-08T17:54:21.702Z] Login Succeeded [2023-05-08T17:54:21.702Z] nexus3.edgexfoundry.org:10003 [2023-05-08T17:54:21.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:54:21.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:54:21.960Z] Configure a credential helper to remove this warning. See [2023-05-08T17:54:21.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:54:21.960Z] [2023-05-08T17:54:21.960Z] Login Succeeded [2023-05-08T17:54:21.960Z] nexus3.edgexfoundry.org:10004 [2023-05-08T17:54:21.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:54:21.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:54:21.960Z] Configure a credential helper to remove this warning. See [2023-05-08T17:54:21.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:54:21.960Z] [2023-05-08T17:54:21.960Z] Login Succeeded [2023-05-08T17:54:21.960Z] docker.io [2023-05-08T17:54:22.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:54:22.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:54:22.235Z] Configure a credential helper to remove this warning. See [2023-05-08T17:54:22.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:54:22.235Z] [2023-05-08T17:54:22.235Z] Login Succeeded [2023-05-08T17:54:22.235Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T17:54:22.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T17:54:22.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:54:22.326Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:54:22.337Z] ========================================================= [2023-05-08T17:54:22.337Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T17:54:22.337Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:54:22.909Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T17:54:22.909Z] Sending build context to Docker daemon 11.11MB [2023-05-08T17:54:22.909Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T17:54:22.909Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T17:54:22.909Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T17:54:22.909Z] f56be85fc22e: Pulling fs layer [2023-05-08T17:54:22.909Z] 85791d961cd3: Pulling fs layer [2023-05-08T17:54:22.909Z] d694b5ae8c79: Pulling fs layer [2023-05-08T17:54:22.909Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T17:54:22.909Z] 4d19c01a9841: Pulling fs layer [2023-05-08T17:54:22.909Z] 9325e15d5711: Pulling fs layer [2023-05-08T17:54:22.909Z] 556b6ee489ea: Pulling fs layer [2023-05-08T17:54:22.909Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T17:54:22.909Z] 9325e15d5711: Waiting [2023-05-08T17:54:22.909Z] 556b6ee489ea: Waiting [2023-05-08T17:54:22.909Z] c5a4b2cf53e6: Waiting [2023-05-08T17:54:22.909Z] 9f32a84ed3da: Waiting [2023-05-08T17:54:22.909Z] 4d19c01a9841: Waiting [2023-05-08T17:54:23.172Z] 85791d961cd3: Download complete [2023-05-08T17:54:23.172Z] 9f32a84ed3da: Verifying Checksum [2023-05-08T17:54:23.172Z] 9f32a84ed3da: Download complete [2023-05-08T17:54:23.172Z] 4d19c01a9841: Verifying Checksum [2023-05-08T17:54:23.172Z] 4d19c01a9841: Download complete [2023-05-08T17:54:23.172Z] f56be85fc22e: Verifying Checksum [2023-05-08T17:54:23.172Z] f56be85fc22e: Download complete [2023-05-08T17:54:23.172Z] 9325e15d5711: Verifying Checksum [2023-05-08T17:54:23.172Z] 9325e15d5711: Download complete [2023-05-08T17:54:23.172Z] f56be85fc22e: Pull complete [2023-05-08T17:54:23.432Z] 85791d961cd3: Pull complete [2023-05-08T17:54:23.693Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T17:54:23.693Z] c5a4b2cf53e6: Download complete [2023-05-08T17:54:23.693Z] d694b5ae8c79: Verifying Checksum [2023-05-08T17:54:23.693Z] d694b5ae8c79: Download complete [2023-05-08T17:54:24.258Z] 556b6ee489ea: Verifying Checksum [2023-05-08T17:54:24.258Z] 556b6ee489ea: Download complete [2023-05-08T17:54:26.787Z] d694b5ae8c79: Pull complete [2023-05-08T17:54:27.050Z] 9f32a84ed3da: Pull complete [2023-05-08T17:54:27.050Z] 4d19c01a9841: Pull complete [2023-05-08T17:54:27.050Z] 9325e15d5711: Pull complete [2023-05-08T17:54:29.576Z] 556b6ee489ea: Pull complete [2023-05-08T17:54:30.511Z] c5a4b2cf53e6: Pull complete [2023-05-08T17:54:30.511Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T17:54:30.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T17:54:30.511Z] ---> c4be618373d6 [2023-05-08T17:54:30.511Z] Step 3/10 : ARG MAKE=make build [2023-05-08T17:54:34.705Z] ---> Running in c962ab864909 [2023-05-08T17:54:34.705Z] Removing intermediate container c962ab864909 [2023-05-08T17:54:34.705Z] ---> 1f620b3e9b7e [2023-05-08T17:54:34.705Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T17:54:34.705Z] ---> Running in 769d6dc49551 [2023-05-08T17:54:34.705Z] Removing intermediate container 769d6dc49551 [2023-05-08T17:54:34.705Z] ---> 261bbfe6b367 [2023-05-08T17:54:34.705Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T17:54:34.705Z] ---> Running in e59be9ba0ef1 [2023-05-08T17:54:34.705Z] Removing intermediate container e59be9ba0ef1 [2023-05-08T17:54:34.705Z] ---> 4c7ec118b180 [2023-05-08T17:54:34.705Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T17:54:34.705Z] ---> Running in 3a4f901d52a9 [2023-05-08T17:54:34.965Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T17:54:35.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T17:54:35.226Z] OK: 265 MiB in 53 packages [2023-05-08T17:54:35.793Z] Removing intermediate container 3a4f901d52a9 [2023-05-08T17:54:35.793Z] ---> 58af2e3e8b03 [2023-05-08T17:54:35.793Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T17:54:36.056Z] ---> 761e14b41a49 [2023-05-08T17:54:36.056Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T17:54:36.056Z] ---> Running in 8dabd5b4874d [2023-05-08T17:54:36.350Z] Still waiting to schedule task [2023-05-08T17:54:36.350Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-14516’ is offline [2023-05-08T17:55:08.180Z] Removing intermediate container 8dabd5b4874d [2023-05-08T17:55:08.180Z] ---> 2bfb92ffbb2c [2023-05-08T17:55:08.180Z] Step 9/10 : COPY . . [2023-05-08T17:55:08.180Z] ---> aa3bc17829f5 [2023-05-08T17:55:08.180Z] Step 10/10 : RUN ${MAKE} [2023-05-08T17:55:08.180Z] ---> Running in f47d26638655 [2023-05-08T17:55:08.180Z] noop [2023-05-08T17:55:08.180Z] Removing intermediate container f47d26638655 [2023-05-08T17:55:08.180Z] ---> 2cdd0b1618ea [2023-05-08T17:55:08.180Z] Successfully built 2cdd0b1618ea [2023-05-08T17:55:08.180Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:55:08.505Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T17:55:08.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:55:08.576Z] prd-ubuntu20.04-docker-8c-8g-14517 does not seem to be running inside a container [2023-05-08T17:55:08.608Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@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-x86_64 cat [2023-05-08T17:55:08.957Z] $ docker top db4712b63c25c33470f8126c3f8faa7c66907ca1499829952456fe79d934017c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:55:09.305Z] + go version [2023-05-08T17:55:09.305Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T17:55:09.317Z] $ docker stop --time=1 db4712b63c25c33470f8126c3f8faa7c66907ca1499829952456fe79d934017c [2023-05-08T17:55:10.610Z] $ docker rm -f --volumes db4712b63c25c33470f8126c3f8faa7c66907ca1499829952456fe79d934017c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:55:11.073Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T17:55:11.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:55:11.145Z] prd-ubuntu20.04-docker-8c-8g-14517 does not seem to be running inside a container [2023-05-08T17:55:11.175Z] $ 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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@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-x86_64 cat [2023-05-08T17:55:11.491Z] $ docker top 4c48c5dba1ef1b3caafd1e1eaeddc6a34716ddfb05bc2519af8bc0233b8d1ffa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:55:11.834Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1451 [Pipeline] fileExists [Pipeline] sh [2023-05-08T17:55:12.132Z] + make test [2023-05-08T17:55:12.133Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T17:55:18.692Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T17:55:33.560Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-08T17:55:33.560Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T17:55:33.560Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T17:55:33.560Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T17:55:33.560Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T17:55:33.560Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.044s coverage: 27.6% of statements [2023-05-08T17:55:33.560Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.082s coverage: 80.2% of statements [2023-05-08T17:55:33.560Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T17:55:33.560Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T17:55:33.560Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.080s coverage: 86.0% of statements [2023-05-08T17:55:33.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T17:55:33.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T17:55:33.817Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.076s coverage: 77.5% of statements [2023-05-08T17:55:34.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T17:55:34.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T17:55:34.641Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-08T17:55:37.172Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 14.6% of statements [2023-05-08T17:55:37.172Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-05-08T17:55:37.172Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.112s coverage: 89.2% of statements [2023-05-08T17:55:37.172Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.050s coverage: 5.7% of statements [2023-05-08T17:55:55.232Z] GO111MODULE=on go vet ./... [2023-05-08T17:55:57.760Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T17:55:57.760Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T17:55:57.760Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T17:55:57.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T17:55:57.785Z] $ docker stop --time=1 4c48c5dba1ef1b3caafd1e1eaeddc6a34716ddfb05bc2519af8bc0233b8d1ffa [2023-05-08T17:56:00.595Z] $ docker rm -f --volumes 4c48c5dba1ef1b3caafd1e1eaeddc6a34716ddfb05bc2519af8bc0233b8d1ffa [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T17:56:01.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T17:56:01.205Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-08T17:56:01.772Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T17:56:02.059Z] + ls -al . [2023-05-08T17:56:02.060Z] total 272 [2023-05-08T17:56:02.060Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 17:55 . [2023-05-08T17:56:02.060Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 17:53 .. [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 17:54 .dockerignore [2023-05-08T17:56:02.060Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 17:54 .git [2023-05-08T17:56:02.060Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 17:54 .github [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 137 May 8 17:54 .gitignore [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 17:54 .golangci.yml [2023-05-08T17:56:02.060Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 17:54 .semver [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 8 17:54 CHANGELOG.md [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 17:54 GOVERNANCE.md [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 885 May 8 17:54 Jenkinsfile [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 8 17:54 LICENSE [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 8 17:54 Makefile [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 619 May 8 17:54 OWNERS.md [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 8 17:54 README.md [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 17:54 VERSION [2023-05-08T17:56:02.060Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 17:54 bin [2023-05-08T17:56:02.060Z] -rw-r--r-- 1 jenkins jenkins 105861 May 8 17:55 coverage.out [2023-05-08T17:56:02.060Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 17:54 example [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 8 17:54 go.mod [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 8 17:54 go.sum [2023-05-08T17:56:02.060Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 17:54 internal [2023-05-08T17:56:02.060Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 17:54 openapi [2023-05-08T17:56:02.060Z] drwxrwxr-x 6 jenkins jenkins 4096 May 8 17:54 pkg [2023-05-08T17:56:02.060Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 17:54 snap [2023-05-08T17:56:02.060Z] -rw-rw-r-- 1 jenkins jenkins 222 May 8 17:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:56:02.365Z] + 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=ea64ad377c32851bed255d80604d34e0d31caf84 --label arch=amd64 --label version=0.0.0 . [2023-05-08T17:56:02.365Z] Sending build context to Docker daemon 11.22MB [2023-05-08T17:56:02.365Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T17:56:02.365Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-08T17:56:02.365Z] ---> 2cdd0b1618ea [2023-05-08T17:56:02.365Z] Step 3/23 : ARG MAKE=make build [2023-05-08T17:56:02.624Z] ---> Running in 3ebfb84b29de [2023-05-08T17:56:02.624Z] Removing intermediate container 3ebfb84b29de [2023-05-08T17:56:02.624Z] ---> 9213c8d75bfc [2023-05-08T17:56:02.624Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-08T17:56:02.624Z] ---> Running in 6f5103e7b5c1 [2023-05-08T17:56:02.883Z] Removing intermediate container 6f5103e7b5c1 [2023-05-08T17:56:02.883Z] ---> 6c538fd205a3 [2023-05-08T17:56:02.883Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T17:56:02.883Z] ---> Running in 2553f8a0f8ef [2023-05-08T17:56:02.883Z] Removing intermediate container 2553f8a0f8ef [2023-05-08T17:56:02.883Z] ---> d7c9bd75ab70 [2023-05-08T17:56:02.883Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-08T17:56:02.883Z] ---> Running in 063b89fb3e08 [2023-05-08T17:56:03.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T17:56:03.142Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T17:56:03.401Z] OK: 265 MiB in 53 packages [2023-05-08T17:56:03.970Z] Removing intermediate container 063b89fb3e08 [2023-05-08T17:56:03.970Z] ---> c040824f4b11 [2023-05-08T17:56:03.970Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-08T17:56:03.970Z] ---> 7829098212f9 [2023-05-08T17:56:03.970Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T17:56:03.970Z] ---> Running in 74086551e3e1 [2023-05-08T17:56:04.539Z] Removing intermediate container 74086551e3e1 [2023-05-08T17:56:04.539Z] ---> 7e3587a453e9 [2023-05-08T17:56:04.539Z] Step 9/23 : COPY . . [2023-05-08T17:56:05.107Z] ---> ca16e6d1421f [2023-05-08T17:56:05.107Z] Step 10/23 : RUN ${MAKE} [2023-05-08T17:56:05.107Z] ---> Running in fc6229eea277 [2023-05-08T17:56:05.366Z] 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-05-08T17:56:12.080Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14518 in /w/workspace/gexfoundry_device-sdk-go_PR-1451 [Pipeline] { [Pipeline] ws [2023-05-08T17:56:12.091Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2023-05-08T17:56:12.129Z] The recommended git tool is: git [2023-05-08T17:56:17.853Z] using credential edgex-jenkins-ssh [2023-05-08T17:56:17.869Z] Cloning the remote Git repository [2023-05-08T17:56:17.913Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T17:56:18.006Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2023-05-08T17:56:18.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T17:56:18.159Z] > git --version # timeout=10 [2023-05-08T17:56:18.190Z] > git --version # 'git version 2.25.1' [2023-05-08T17:56:18.193Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T17:56:18.332Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T17:56:19.987Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T17:56:20.017Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T17:56:20.912Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T17:56:21.671Z] Merging remotes/origin/main commit c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit 555e4e9a16edf2845afb0bbe6dba78455fe7c934 [2023-05-08T17:56:22.051Z] Merge succeeded, producing b0b5902b2b3c6bf2e79d0b0bd778b5f874431ff1 [2023-05-08T17:56:22.052Z] Checking out Revision b0b5902b2b3c6bf2e79d0b0bd778b5f874431ff1 (PR-1451) [2023-05-08T17:56:20.962Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T17:56:20.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T17:56:20.982Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1451/head:refs/remotes/origin/PR-1451 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-08T17:56:21.693Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T17:56:21.765Z] > git checkout -f 555e4e9a16edf2845afb0bbe6dba78455fe7c934 # timeout=10 [2023-05-08T17:56:21.879Z] > git remote # timeout=10 [2023-05-08T17:56:21.899Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T17:56:21.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T17:56:21.931Z] > git merge c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 [2023-05-08T17:56:22.028Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T17:56:22.061Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T17:56:22.078Z] > git checkout -f b0b5902b2b3c6bf2e79d0b0bd778b5f874431ff1 # timeout=10 [2023-05-08T17:56:23.432Z] Removing intermediate container fc6229eea277 [2023-05-08T17:56:23.432Z] ---> dbc8a73b55ba [2023-05-08T17:56:23.432Z] Step 11/23 : FROM alpine:3.17 [2023-05-08T17:56:23.432Z] 3.17: Pulling from library/alpine [2023-05-08T17:56:23.432Z] f56be85fc22e: Already exists [2023-05-08T17:56:23.432Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T17:56:23.432Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T17:56:23.432Z] ---> 9ed4aefc74f6 [2023-05-08T17:56:23.432Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-08T17:56:23.432Z] ---> Running in aa0e4cb8c9f0 [2023-05-08T17:56:23.432Z] Removing intermediate container aa0e4cb8c9f0 [2023-05-08T17:56:23.432Z] ---> eba838f0829f [2023-05-08T17:56:23.432Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-08T17:56:23.432Z] ---> Running in ae228437cb7c [2023-05-08T17:56:23.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T17:56:23.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T17:56:23.432Z] OK: 7 MiB in 15 packages [2023-05-08T17:56:23.432Z] Removing intermediate container ae228437cb7c [2023-05-08T17:56:23.432Z] ---> 633934fe3bbb [2023-05-08T17:56:23.432Z] Step 14/23 : WORKDIR / [2023-05-08T17:56:23.432Z] ---> Running in 8097b9090507 [2023-05-08T17:56:23.432Z] Removing intermediate container 8097b9090507 [2023-05-08T17:56:23.432Z] ---> b820ca02dc7b [2023-05-08T17:56:23.432Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-08T17:56:23.690Z] ---> 0d9d32bd83ce [2023-05-08T17:56:23.690Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-08T17:56:24.259Z] ---> 0efb0031c37b [2023-05-08T17:56:24.259Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-08T17:56:24.259Z] ---> be6ace24658e [2023-05-08T17:56:24.259Z] Step 18/23 : EXPOSE 59999 [2023-05-08T17:56:24.517Z] ---> Running in f754e16d182f [2023-05-08T17:56:24.517Z] Removing intermediate container f754e16d182f [2023-05-08T17:56:24.517Z] ---> 93cd491e2400 [2023-05-08T17:56:24.517Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-08T17:56:24.517Z] ---> Running in ecc967d17ac4 [2023-05-08T17:56:24.517Z] Removing intermediate container ecc967d17ac4 [2023-05-08T17:56:24.517Z] ---> 488d01009462 [2023-05-08T17:56:24.517Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T17:56:24.517Z] ---> Running in 3c11498b11a9 [2023-05-08T17:56:24.776Z] Removing intermediate container 3c11498b11a9 [2023-05-08T17:56:24.776Z] ---> c2310916e7ca [2023-05-08T17:56:24.776Z] Step 21/23 : LABEL arch=amd64 [2023-05-08T17:56:24.776Z] ---> Running in 6f77dc18fc72 [2023-05-08T17:56:24.776Z] Removing intermediate container 6f77dc18fc72 [2023-05-08T17:56:24.776Z] ---> 1583c84eb1ca [2023-05-08T17:56:24.776Z] Step 22/23 : LABEL git_sha=ea64ad377c32851bed255d80604d34e0d31caf84 [2023-05-08T17:56:24.776Z] ---> Running in dbae863ca42c [2023-05-08T17:56:25.035Z] Removing intermediate container dbae863ca42c [2023-05-08T17:56:25.035Z] ---> 3b6cc0e5123a [2023-05-08T17:56:25.035Z] Step 23/23 : LABEL version=0.0.0 [2023-05-08T17:56:25.035Z] ---> Running in b3ee5f7321e4 [2023-05-08T17:56:25.035Z] Removing intermediate container b3ee5f7321e4 [2023-05-08T17:56:25.035Z] ---> 4ac5fa3182fb [2023-05-08T17:56:25.035Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T17:56:25.035Z] Successfully built 4ac5fa3182fb [2023-05-08T17:56:25.035Z] 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-05-08T17:56:25.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T17:56:25.463Z] [2023-05-08T17:56:25.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:56:25.642Z] Commit message: "Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD" [2023-05-08T17:56:25.666Z] First time build. Skipping changelog. [2023-05-08T17:56:25.760Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T17:56:25.760Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T17:56:25.760Z] 5eb5b503b376: Pulling fs layer [2023-05-08T17:56:25.760Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T17:56:25.760Z] ec43610c2a17: Pulling fs layer [2023-05-08T17:56:25.760Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T17:56:25.760Z] 33b1e0a273af: Pulling fs layer [2023-05-08T17:56:25.760Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T17:56:25.760Z] 2f39f015ded8: Pulling fs layer [2023-05-08T17:56:25.760Z] 33b1e0a273af: Waiting [2023-05-08T17:56:25.760Z] 2f39f015ded8: Waiting [2023-05-08T17:56:25.760Z] 5d3b04190fa2: Waiting [2023-05-08T17:56:25.760Z] 3a2ae6a8a46f: Waiting [2023-05-08T17:56:25.760Z] 5c69ac0246d0: Download complete [2023-05-08T17:56:25.760Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T17:56:25.760Z] 3a2ae6a8a46f: Download complete [2023-05-08T17:56:25.760Z] 33b1e0a273af: Verifying Checksum [2023-05-08T17:56:25.760Z] 33b1e0a273af: Download complete [2023-05-08T17:56:26.019Z] ec43610c2a17: Download complete [2023-05-08T17:56:26.019Z] 5d3b04190fa2: Verifying Checksum [2023-05-08T17:56:26.019Z] 5d3b04190fa2: Download complete [2023-05-08T17:56:26.019Z] 5eb5b503b376: Verifying Checksum [2023-05-08T17:56:26.019Z] 5eb5b503b376: Download complete [2023-05-08T17:56:26.110Z] [2023-05-08T17:56:26.110Z] GitHub has been notified of this commit’s build result [2023-05-08T17:56:26.110Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T17:56:26.587Z] 2f39f015ded8: Download complete [2023-05-08T17:56:26.652Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T17:56:26.652Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T17:56:26.652Z] Dload Upload Total Spent Left Speed [2023-05-08T17:56:26.652Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 98k [2023-05-08T17:56:25.652Z] > git rev-list --no-walk 99edf3fd8b63ba495a93b22125ede2d0ec2aeab1 # timeout=10 [Pipeline] sh [2023-05-08T17:56:27.153Z] 5eb5b503b376: Pull complete [2023-05-08T17:56:27.153Z] 5c69ac0246d0: Pull complete [2023-05-08T17:56:27.417Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T17:56:27.719Z] ec43610c2a17: Pull complete [2023-05-08T17:56:27.719Z] 3a2ae6a8a46f: Pull complete [2023-05-08T17:56:27.764Z] + sudo tee /etc/docker/daemon.new [2023-05-08T17:56:27.764Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T17:56:27.764Z] { [2023-05-08T17:56:27.765Z] "registry-mirrors": [ [2023-05-08T17:56:27.765Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T17:56:27.765Z] ], [2023-05-08T17:56:27.765Z] "bip": "10.250.0.254/24", [2023-05-08T17:56:27.765Z] "hosts": [ [2023-05-08T17:56:27.765Z] "tcp://0.0.0.0:5555", [2023-05-08T17:56:27.765Z] "unix:///var/run/docker.sock" [2023-05-08T17:56:27.765Z] ], [2023-05-08T17:56:27.765Z] "mtu": 1458, [2023-05-08T17:56:27.765Z] "selinux-enabled": true, [2023-05-08T17:56:27.765Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T17:56:27.765Z] } [Pipeline] sh [2023-05-08T17:56:27.978Z] 33b1e0a273af: Pull complete [2023-05-08T17:56:27.978Z] 5d3b04190fa2: Pull complete [2023-05-08T17:56:28.086Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T17:56:28.419Z] + sudo service docker restart [2023-05-08T17:56:32.160Z] 2f39f015ded8: Pull complete [2023-05-08T17:56:32.160Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T17:56:32.160Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T17:56:32.160Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:56:32.240Z] prd-ubuntu20.04-docker-8c-8g-14517 does not seem to be running inside a container [2023-05-08T17:56:32.273Z] $ 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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T17:56:34.690Z] $ docker top 06eefba96f258557b27a30d59bca1f81c9b5c6a4e72fb1a79163885061441729 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:56:35.078Z] ---> job-cost.sh [2023-05-08T17:56:35.079Z] lf-activate-venv: SKIPPING [2023-05-08T17:56:35.079Z] INFO: No Stack... [2023-05-08T17:56:35.647Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T17:56:35.906Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T17:56:36.202Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/cost.csv [2023-05-08T17:56:36.202Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T17:56:36.214Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1451-4-stack-cost] [2023-05-08T17:56:36.223Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-4-stack-cost] did not exist. Created. [2023-05-08T17:56:36.223Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1451-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T17:56:36.536Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T17:56:36.565Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T17:56:36.577Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T17:56:36.594Z] $ docker stop --time=1 06eefba96f258557b27a30d59bca1f81c9b5c6a4e72fb1a79163885061441729 [2023-05-08T17:56:37.769Z] $ docker rm -f --volumes 06eefba96f258557b27a30d59bca1f81c9b5c6a4e72fb1a79163885061441729 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T17:56:46.691Z] provisioning config files... [2023-05-08T17:56:46.717Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config3181248764736348177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:56:47.078Z] ---> docker-login.sh [2023-05-08T17:56:47.078Z] nexus3.edgexfoundry.org:10001 [2023-05-08T17:56:47.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:56:47.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:56:47.674Z] Configure a credential helper to remove this warning. See [2023-05-08T17:56:47.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:56:47.674Z] [2023-05-08T17:56:47.674Z] Login Succeeded [2023-05-08T17:56:47.674Z] nexus3.edgexfoundry.org:10002 [2023-05-08T17:56:47.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:56:48.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:56:48.214Z] Configure a credential helper to remove this warning. See [2023-05-08T17:56:48.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:56:48.214Z] [2023-05-08T17:56:48.214Z] Login Succeeded [2023-05-08T17:56:48.214Z] nexus3.edgexfoundry.org:10003 [2023-05-08T17:56:48.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:56:48.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:56:48.486Z] Configure a credential helper to remove this warning. See [2023-05-08T17:56:48.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:56:48.486Z] [2023-05-08T17:56:48.486Z] Login Succeeded [2023-05-08T17:56:48.486Z] nexus3.edgexfoundry.org:10004 [2023-05-08T17:56:48.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:56:48.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:56:48.760Z] Configure a credential helper to remove this warning. See [2023-05-08T17:56:48.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:56:48.760Z] [2023-05-08T17:56:48.760Z] Login Succeeded [2023-05-08T17:56:48.760Z] docker.io [2023-05-08T17:56:49.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:56:49.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:56:49.299Z] Configure a credential helper to remove this warning. See [2023-05-08T17:56:49.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:56:49.299Z] [2023-05-08T17:56:49.299Z] Login Succeeded [2023-05-08T17:56:49.299Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T17:56:49.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T17:56:49.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:56:49.577Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:56:49.592Z] ========================================================= [2023-05-08T17:56:49.592Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T17:56:49.592Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:56:49.953Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-08T17:56:50.552Z] Sending build context to Docker daemon 5.985MB [2023-05-08T17:56:50.552Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T17:56:50.552Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T17:56:50.552Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T17:56:50.552Z] c41833b44d91: Pulling fs layer [2023-05-08T17:56:50.552Z] ed15518f5707: Pulling fs layer [2023-05-08T17:56:50.552Z] feae8fd75edb: Pulling fs layer [2023-05-08T17:56:50.552Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T17:56:50.552Z] 3cdef696dda3: Pulling fs layer [2023-05-08T17:56:50.552Z] 2ced38df9373: Pulling fs layer [2023-05-08T17:56:50.552Z] 58f1dce35555: Pulling fs layer [2023-05-08T17:56:50.552Z] 242c74f7c9fa: Waiting [2023-05-08T17:56:50.552Z] 3cdef696dda3: Waiting [2023-05-08T17:56:50.552Z] 58f1dce35555: Waiting [2023-05-08T17:56:50.552Z] 2ced38df9373: Waiting [2023-05-08T17:56:50.552Z] ed15518f5707: Verifying Checksum [2023-05-08T17:56:50.552Z] ed15518f5707: Download complete [2023-05-08T17:56:50.823Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T17:56:50.823Z] 242c74f7c9fa: Download complete [2023-05-08T17:56:50.823Z] 3cdef696dda3: Verifying Checksum [2023-05-08T17:56:50.823Z] 3cdef696dda3: Download complete [2023-05-08T17:56:50.823Z] c41833b44d91: Verifying Checksum [2023-05-08T17:56:50.823Z] c41833b44d91: Download complete [2023-05-08T17:56:51.793Z] c41833b44d91: Pull complete [2023-05-08T17:56:52.384Z] 58f1dce35555: Verifying Checksum [2023-05-08T17:56:52.384Z] 58f1dce35555: Download complete [2023-05-08T17:56:52.384Z] ed15518f5707: Pull complete [2023-05-08T17:56:53.358Z] feae8fd75edb: Download complete [2023-05-08T17:56:53.358Z] 2ced38df9373: Verifying Checksum [2023-05-08T17:56:53.358Z] 2ced38df9373: Download complete [2023-05-08T17:57:05.735Z] feae8fd75edb: Pull complete [2023-05-08T17:57:05.736Z] 242c74f7c9fa: Pull complete [2023-05-08T17:57:05.736Z] 3cdef696dda3: Pull complete [2023-05-08T17:57:11.088Z] 2ced38df9373: Pull complete [2023-05-08T17:57:13.100Z] 58f1dce35555: Pull complete [2023-05-08T17:57:13.100Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T17:57:13.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T17:57:13.100Z] ---> fadd8f120f05 [2023-05-08T17:57:13.100Z] Step 3/10 : ARG MAKE=make build [2023-05-08T17:57:15.077Z] ---> Running in 8d997169c21b [2023-05-08T17:57:15.077Z] Removing intermediate container 8d997169c21b [2023-05-08T17:57:15.077Z] ---> 643256c7fc2e [2023-05-08T17:57:15.077Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T17:57:15.077Z] ---> Running in ab31d498967c [2023-05-08T17:57:15.666Z] Removing intermediate container ab31d498967c [2023-05-08T17:57:15.666Z] ---> f84194eb49df [2023-05-08T17:57:15.666Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T17:57:15.666Z] ---> Running in e5aea1345c73 [2023-05-08T17:57:15.939Z] Removing intermediate container e5aea1345c73 [2023-05-08T17:57:15.939Z] ---> 387cdc43dd5a [2023-05-08T17:57:15.939Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T17:57:15.939Z] ---> Running in 26c49ca82d2b [2023-05-08T17:57:17.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T17:57:17.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T17:57:19.029Z] OK: 263 MiB in 53 packages [2023-05-08T17:57:19.615Z] Removing intermediate container 26c49ca82d2b [2023-05-08T17:57:19.615Z] ---> e35b1af22681 [2023-05-08T17:57:19.615Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T17:57:20.202Z] ---> bad2d910b313 [2023-05-08T17:57:20.202Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T17:57:20.202Z] ---> Running in dc3ae39807a3 [2023-05-08T17:58:28.095Z] Removing intermediate container dc3ae39807a3 [2023-05-08T17:58:28.095Z] ---> 0af830720836 [2023-05-08T17:58:28.095Z] Step 9/10 : COPY . . [2023-05-08T17:58:28.095Z] ---> 170ee0e68541 [2023-05-08T17:58:28.095Z] Step 10/10 : RUN ${MAKE} [2023-05-08T17:58:28.095Z] ---> Running in e10f6623eb3c [2023-05-08T17:58:28.095Z] noop [2023-05-08T17:58:28.095Z] Removing intermediate container e10f6623eb3c [2023-05-08T17:58:28.095Z] ---> 3cbbf7740bfd [2023-05-08T17:58:28.095Z] Successfully built 3cbbf7740bfd [2023-05-08T17:58:28.095Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:58:28.453Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T17:58:28.454Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:58:28.646Z] prd-ubuntu20.04-docker-arm64-4c-16g-14518 does not seem to be running inside a container [2023-05-08T17:58:28.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-05-08T17:58:29.829Z] $ docker top 5f611ab041a2c2e1798e3eba417515a9bb128fa10ea580f6a505c10bde031b7e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:58:30.630Z] + go version [2023-05-08T17:58:30.630Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T17:58:30.654Z] $ docker stop --time=1 5f611ab041a2c2e1798e3eba417515a9bb128fa10ea580f6a505c10bde031b7e [2023-05-08T17:58:32.239Z] $ docker rm -f --volumes 5f611ab041a2c2e1798e3eba417515a9bb128fa10ea580f6a505c10bde031b7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:58:32.780Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T17:58:32.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:58:32.954Z] prd-ubuntu20.04-docker-arm64-4c-16g-14518 does not seem to be running inside a container [2023-05-08T17:58:33.026Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-05-08T17:58:35.847Z] $ docker top 0f15ec6366f5a605639b912a915343be23331cb102bb00bee3bfd0905be4752a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:58:36.323Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2023-05-08T17:58:36.653Z] + make test [2023-05-08T17:58:36.653Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T17:59:15.545Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T18:01:22.222Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-08T18:01:22.222Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T18:01:22.222Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T18:01:22.222Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T18:01:22.222Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T18:01:22.222Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.218s coverage: 27.6% of statements [2023-05-08T18:01:24.174Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.317s coverage: 80.2% of statements [2023-05-08T18:01:34.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T18:01:34.270Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T18:01:34.270Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.476s coverage: 86.0% of statements [2023-05-08T18:01:39.636Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T18:01:39.636Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T18:01:40.228Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.546s coverage: 77.5% of statements [2023-05-08T18:01:42.810Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.360s coverage: 14.6% of statements [2023-05-08T18:01:46.167Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T18:01:46.167Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T18:01:47.130Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.929s coverage: 68.5% of statements [2023-05-08T18:01:49.088Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.600s coverage: 89.2% of statements [2023-05-08T18:01:52.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-08T18:01:52.425Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.231s coverage: 5.7% of statements [2023-05-08T18:01:53.382Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-08T18:01:53.382Z] GO111MODULE=on go vet ./... [2023-05-08T18:04:16.324Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T18:04:16.324Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T18:04:16.324Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T18:04:16.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T18:04:16.372Z] $ docker stop --time=1 0f15ec6366f5a605639b912a915343be23331cb102bb00bee3bfd0905be4752a [2023-05-08T18:04:18.293Z] $ docker rm -f --volumes 0f15ec6366f5a605639b912a915343be23331cb102bb00bee3bfd0905be4752a [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T18:04:19.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T18:04:19.837Z] Warning: overwriting stash ‘coverage-report’ [2023-05-08T18:04:20.389Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T18:04:20.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T18:04:21.110Z] + ls -al . [2023-05-08T18:04:21.110Z] total 268 [2023-05-08T18:04:21.110Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 17:58 . [2023-05-08T18:04:21.110Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 17:56 .. [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 17:56 .dockerignore [2023-05-08T18:04:21.110Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 17:56 .git [2023-05-08T18:04:21.110Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 17:56 .github [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 137 May 8 17:56 .gitignore [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 17:56 .golangci.yml [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 8 17:56 CHANGELOG.md [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 17:56 GOVERNANCE.md [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 885 May 8 17:56 Jenkinsfile [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 8 17:56 LICENSE [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 8 17:56 Makefile [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 619 May 8 17:56 OWNERS.md [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 8 17:56 README.md [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 17:54 VERSION [2023-05-08T18:04:21.110Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 17:56 bin [2023-05-08T18:04:21.110Z] -rw-r--r-- 1 jenkins jenkins 105861 May 8 18:01 coverage.out [2023-05-08T18:04:21.110Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 17:56 example [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 8 17:56 go.mod [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 8 17:56 go.sum [2023-05-08T18:04:21.110Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 17:56 internal [2023-05-08T18:04:21.110Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 17:56 openapi [2023-05-08T18:04:21.110Z] drwxrwxr-x 6 jenkins jenkins 4096 May 8 17:56 pkg [2023-05-08T18:04:21.110Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 17:56 snap [2023-05-08T18:04:21.110Z] -rw-rw-r-- 1 jenkins jenkins 222 May 8 17:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:04:21.453Z] + 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=b0b5902b2b3c6bf2e79d0b0bd778b5f874431ff1 --label arch=arm64 --label version=0.0.0 . [2023-05-08T18:04:22.041Z] Sending build context to Docker daemon 6.092MB [2023-05-08T18:04:22.041Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T18:04:22.041Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-08T18:04:22.041Z] ---> 3cbbf7740bfd [2023-05-08T18:04:22.041Z] Step 3/23 : ARG MAKE=make build [2023-05-08T18:04:22.041Z] ---> Running in e7e426581f42 [2023-05-08T18:04:22.309Z] Removing intermediate container e7e426581f42 [2023-05-08T18:04:22.309Z] ---> c131fd826352 [2023-05-08T18:04:22.309Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-08T18:04:22.575Z] ---> Running in 409da5df73e5 [2023-05-08T18:04:22.842Z] Removing intermediate container 409da5df73e5 [2023-05-08T18:04:22.842Z] ---> b08ddfb82277 [2023-05-08T18:04:22.842Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T18:04:22.842Z] ---> Running in deba5bf0d11a [2023-05-08T18:04:23.112Z] Removing intermediate container deba5bf0d11a [2023-05-08T18:04:23.112Z] ---> 74ef8c66ab72 [2023-05-08T18:04:23.112Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-08T18:04:23.112Z] ---> Running in fc6a1d1dde94 [2023-05-08T18:04:24.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T18:04:24.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T18:04:25.783Z] OK: 263 MiB in 53 packages [2023-05-08T18:04:26.749Z] Removing intermediate container fc6a1d1dde94 [2023-05-08T18:04:26.749Z] ---> 017fd2646af3 [2023-05-08T18:04:26.749Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-08T18:04:27.335Z] ---> 4a293073b95e [2023-05-08T18:04:27.335Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T18:04:27.335Z] ---> Running in c335ad057de3 [2023-05-08T18:04:29.928Z] Removing intermediate container c335ad057de3 [2023-05-08T18:04:29.928Z] ---> cfc61246d939 [2023-05-08T18:04:29.928Z] Step 9/23 : COPY . . [2023-05-08T18:04:30.910Z] ---> 019375da616a [2023-05-08T18:04:30.910Z] Step 10/23 : RUN ${MAKE} [2023-05-08T18:04:30.910Z] ---> Running in f79cc6cd148a [2023-05-08T18:04:31.872Z] 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-05-08T18:06:38.578Z] Removing intermediate container f79cc6cd148a [2023-05-08T18:06:38.578Z] ---> 00e4a1596c71 [2023-05-08T18:06:38.578Z] Step 11/23 : FROM alpine:3.17 [2023-05-08T18:06:38.578Z] 3.17: Pulling from library/alpine [2023-05-08T18:06:38.578Z] c41833b44d91: Already exists [2023-05-08T18:06:38.578Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T18:06:38.578Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T18:06:38.578Z] ---> 51e60588ff2c [2023-05-08T18:06:38.578Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-08T18:06:38.578Z] ---> Running in 548f4dc8f383 [2023-05-08T18:06:38.578Z] Removing intermediate container 548f4dc8f383 [2023-05-08T18:06:38.578Z] ---> 497c0fcccc53 [2023-05-08T18:06:38.578Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-08T18:06:38.578Z] ---> Running in 8ae149ee614c [2023-05-08T18:06:38.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T18:06:39.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T18:06:40.387Z] OK: 7 MiB in 15 packages [2023-05-08T18:06:41.347Z] Removing intermediate container 8ae149ee614c [2023-05-08T18:06:41.347Z] ---> 8727b703d73e [2023-05-08T18:06:41.347Z] Step 14/23 : WORKDIR / [2023-05-08T18:06:41.347Z] ---> Running in 8fe59c539427 [2023-05-08T18:06:41.615Z] Removing intermediate container 8fe59c539427 [2023-05-08T18:06:41.615Z] ---> f8d1f6dbb191 [2023-05-08T18:06:41.615Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-08T18:06:42.200Z] ---> 8782fd119db3 [2023-05-08T18:06:42.200Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-08T18:06:43.613Z] ---> 12c0da5842d6 [2023-05-08T18:06:43.613Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-08T18:06:43.881Z] ---> 5e4376dd8555 [2023-05-08T18:06:43.881Z] Step 18/23 : EXPOSE 59999 [2023-05-08T18:06:43.881Z] ---> Running in c894592545fb [2023-05-08T18:06:44.152Z] Removing intermediate container c894592545fb [2023-05-08T18:06:44.152Z] ---> e5a716365e98 [2023-05-08T18:06:44.152Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-08T18:06:44.424Z] ---> Running in 7d14f7a9e4d5 [2023-05-08T18:06:44.694Z] Removing intermediate container 7d14f7a9e4d5 [2023-05-08T18:06:44.694Z] ---> 071639b525fb [2023-05-08T18:06:44.694Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T18:06:44.694Z] ---> Running in 40428a629cff [2023-05-08T18:06:44.962Z] Removing intermediate container 40428a629cff [2023-05-08T18:06:44.962Z] ---> 122f1c850363 [2023-05-08T18:06:44.962Z] Step 21/23 : LABEL arch=arm64 [2023-05-08T18:06:44.962Z] ---> Running in 6aae06d6f429 [2023-05-08T18:06:45.247Z] Removing intermediate container 6aae06d6f429 [2023-05-08T18:06:45.247Z] ---> dd4375d97a70 [2023-05-08T18:06:45.247Z] Step 22/23 : LABEL git_sha=b0b5902b2b3c6bf2e79d0b0bd778b5f874431ff1 [2023-05-08T18:06:45.514Z] ---> Running in e17e80da4b85 [2023-05-08T18:06:45.783Z] Removing intermediate container e17e80da4b85 [2023-05-08T18:06:45.783Z] ---> fb294cdd79b4 [2023-05-08T18:06:45.783Z] Step 23/23 : LABEL version=0.0.0 [2023-05-08T18:06:45.783Z] ---> Running in 18c49a380bfd [2023-05-08T18:06:46.048Z] Removing intermediate container 18c49a380bfd [2023-05-08T18:06:46.048Z] ---> 04708241ce0c [2023-05-08T18:06:46.048Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T18:06:46.048Z] Successfully built 04708241ce0c [2023-05-08T18:06:46.048Z] 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-05-08T18:06:46.477Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T18:06:46.477Z] [2023-05-08T18:06:46.477Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:06:46.814Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T18:06:46.814Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T18:06:46.814Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T18:06:46.814Z] 04944245beec: Pulling fs layer [2023-05-08T18:06:46.814Z] 699f458cf7ca: Pulling fs layer [2023-05-08T18:06:46.814Z] 765212b225bb: Pulling fs layer [2023-05-08T18:06:46.814Z] f23df028b6ca: Pulling fs layer [2023-05-08T18:06:46.814Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T18:06:46.814Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T18:06:46.814Z] f23df028b6ca: Waiting [2023-05-08T18:06:46.814Z] d65c8cfc05b1: Waiting [2023-05-08T18:06:46.814Z] 2437ff75d9bd: Waiting [2023-05-08T18:06:46.814Z] 765212b225bb: Waiting [2023-05-08T18:06:47.082Z] 04944245beec: Verifying Checksum [2023-05-08T18:06:47.082Z] 04944245beec: Download complete [2023-05-08T18:06:47.082Z] 765212b225bb: Verifying Checksum [2023-05-08T18:06:47.082Z] 765212b225bb: Download complete [2023-05-08T18:06:47.082Z] f23df028b6ca: Verifying Checksum [2023-05-08T18:06:47.082Z] f23df028b6ca: Download complete [2023-05-08T18:06:47.082Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T18:06:47.082Z] d65c8cfc05b1: Download complete [2023-05-08T18:06:47.082Z] 699f458cf7ca: Verifying Checksum [2023-05-08T18:06:47.082Z] 699f458cf7ca: Download complete [2023-05-08T18:06:47.669Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T18:06:47.669Z] 8998bd30e6a1: Download complete [2023-05-08T18:06:49.744Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T18:06:49.744Z] 2437ff75d9bd: Download complete [2023-05-08T18:06:51.697Z] 8998bd30e6a1: Pull complete [2023-05-08T18:06:51.973Z] 04944245beec: Pull complete [2023-05-08T18:06:53.428Z] 699f458cf7ca: Pull complete [2023-05-08T18:06:53.428Z] 765212b225bb: Pull complete [2023-05-08T18:06:54.410Z] f23df028b6ca: Pull complete [2023-05-08T18:06:54.410Z] d65c8cfc05b1: Pull complete [2023-05-08T18:07:09.444Z] 2437ff75d9bd: Pull complete [2023-05-08T18:07:09.444Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T18:07:09.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T18:07:09.444Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:07:09.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-14518 does not seem to be running inside a container [2023-05-08T18:07:09.726Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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-05-08T18:07:12.288Z] $ docker top cf1dcbf35afda351f6c65eb73edf570cf401a0eb5299b966bbde139e3c0760fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:07:13.123Z] ---> job-cost.sh [2023-05-08T18:07:13.123Z] lf-activate-venv: SKIPPING [2023-05-08T18:07:13.123Z] INFO: No Stack... [2023-05-08T18:07:13.708Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T18:07:14.669Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T18:07:15.310Z] + + cut -d, -f6 [2023-05-08T18:07:15.310Z] cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2023-05-08T18:07:15.377Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1451-4-stack-cost] [2023-05-08T18:07:15.383Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-4-stack-cost] did not exist. Created. [2023-05-08T18:07:15.383Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1451-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T18:07:16.043Z] /w/workspace/device-sdk-go/4@tmp/durable-12627319/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T18:07:16.374Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T18:07:16.389Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T18:07:16.447Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T18:07:16.455Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T18:07:16.483Z] $ docker stop --time=1 cf1dcbf35afda351f6c65eb73edf570cf401a0eb5299b966bbde139e3c0760fd [2023-05-08T18:07:17.995Z] $ docker rm -f --volumes cf1dcbf35afda351f6c65eb73edf570cf401a0eb5299b966bbde139e3c0760fd [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-05-08T18:07:19.232Z] provisioning config files... [2023-05-08T18:07:19.238Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config1846556542084752432tmp [Pipeline] { [Pipeline] sh [2023-05-08T18:07:19.531Z] + set +x [2023-05-08T18:07:19.531Z] + curl -s https://codecov.io/bash [2023-05-08T18:07:19.531Z] + bash -s -- [2023-05-08T18:07:19.789Z] [2023-05-08T18:07:19.789Z] _____ _ [2023-05-08T18:07:19.789Z] / ____| | | [2023-05-08T18:07:19.789Z] | | ___ __| | ___ ___ _____ __ [2023-05-08T18:07:19.789Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-08T18:07:19.789Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-08T18:07:19.789Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-08T18:07:19.789Z] Bash-1.0.6 [2023-05-08T18:07:19.789Z] [2023-05-08T18:07:19.789Z] [2023-05-08T18:07:19.789Z] ==> git version 2.25.1 found [2023-05-08T18:07:19.789Z] ==> 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-05-08T18:07:19.789Z] Release-Date: 2020-01-08 [2023-05-08T18:07:19.789Z] 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-05-08T18:07:19.789Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-08T18:07:19.789Z] ==> Jenkins CI detected. [2023-05-08T18:07:19.789Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1451 [2023-05-08T18:07:19.789Z] project root: . [2023-05-08T18:07:19.789Z] --> token set from env [2023-05-08T18:07:19.789Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-08T18:07:19.789Z] ==> Running gcov in . (disable via -X gcov) [2023-05-08T18:07:19.789Z] ==> Python coveragepy not found [2023-05-08T18:07:19.789Z] ==> Searching for coverage reports in: [2023-05-08T18:07:19.789Z] + . [2023-05-08T18:07:19.789Z] -> Found 1 reports [2023-05-08T18:07:19.789Z] ==> Detecting git/mercurial file structure [2023-05-08T18:07:19.789Z] ==> Reading reports [2023-05-08T18:07:19.789Z] + ./coverage.out bytes=105861 [2023-05-08T18:07:19.789Z] ==> Appending adjustments [2023-05-08T18:07:19.789Z] https://docs.codecov.io/docs/fixing-reports [2023-05-08T18:07:20.047Z] + Found adjustments [2023-05-08T18:07:20.047Z] ==> Gzipping contents [2023-05-08T18:07:20.047Z] 16K /tmp/codecov.d89fWs.gz [2023-05-08T18:07:20.047Z] ==> Uploading reports [2023-05-08T18:07:20.047Z] url: https://codecov.io [2023-05-08T18:07:20.047Z] query: branch=PR-1451&commit=ea64ad377c32851bed255d80604d34e0d31caf84&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1451%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1451&job=&cmd_args= [2023-05-08T18:07:20.047Z] -> Pinging Codecov [2023-05-08T18:07:20.047Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1451&commit=ea64ad377c32851bed255d80604d34e0d31caf84&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1451%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1451&job=&cmd_args= [2023-05-08T18:07:20.306Z] -> Uploading to [2023-05-08T18:07:20.306Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-08/7E55EF52A471D76F132DFD9A03CDDE97/ea64ad377c32851bed255d80604d34e0d31caf84/3ef6a7dc-d094-4b24-9d6c-36bd70309e6b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T180720Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d6d528b7d2a2717808c54c967c319b7d8f4fb7005686a14829a763b0c97e4bb [2023-05-08T18:07:20.306Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T18:07:20.306Z] Dload Upload Total Spent Left Speed [2023-05-08T18:07:20.565Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15054 0 0 100 15054 0 67205 --:--:-- --:--:-- --:--:-- 67205 [2023-05-08T18:07:20.565Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ea64ad377c32851bed255d80604d34e0d31caf84 [Pipeline] } [2023-05-08T18:07:20.572Z] 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-05-08T18:07:21.291Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives ] [2023-05-08T18:07:21.292Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-08T18:07:21.292Z] total 16 [2023-05-08T18:07:21.292Z] drwxr-xr-x 3 root root 4096 May 8 17:56 . [2023-05-08T18:07:21.292Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 17:56 .. [2023-05-08T18:07:21.292Z] drwxr-xr-x 2 root root 4096 May 8 17:56 cost [2023-05-08T18:07:21.292Z] -rw-r--r-- 1 root root 86 May 8 17:56 cost.csv [2023-05-08T18:07:21.292Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-08T18:07:21.292Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-08T18:07:21.292Z] total 16 [2023-05-08T18:07:21.292Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 17:56 . [2023-05-08T18:07:21.292Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 17:56 .. [2023-05-08T18:07:21.292Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 17:56 cost [2023-05-08T18:07:21.292Z] -rw-r--r-- 1 jenkins jenkins 86 May 8 17:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:07:21.579Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:07:22.434Z] ---> package-listing.sh [2023-05-08T18:07:22.434Z] ++ facter osfamily [2023-05-08T18:07:22.434Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T18:07:22.695Z] + OS_FAMILY=debian [2023-05-08T18:07:22.695Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1451 [2023-05-08T18:07:22.695Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T18:07:22.695Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T18:07:22.695Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T18:07:22.695Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T18:07:22.695Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1451 ']' [2023-05-08T18:07:22.695Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T18:07:22.695Z] + case "${OS_FAMILY}" in [2023-05-08T18:07:22.695Z] + grep '^ii' [2023-05-08T18:07:22.695Z] + dpkg -l [2023-05-08T18:07:22.695Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T18:07:22.695Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T18:07:22.695Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T18:07:22.695Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1451 ']' [2023-05-08T18:07:22.695Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/ [2023-05-08T18:07:22.695Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/ [Pipeline] echo [2023-05-08T18:07:22.705Z] 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-1451/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-08T18:07:22.986Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T18:07:23.549Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T18:07:23.549Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T18:07:23.619Z] prd-ubuntu20.04-docker-8c-8g-14517 does not seem to be running inside a container [2023-05-08T18:07:23.651Z] $ 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-1451/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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@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-05-08T18:07:23.822Z] $ docker top abc66948006bdbf7add5f35aa58e1f2336b9d6d2512a012795c78e819271681c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T18:07:24.160Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T18:07:24.448Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T18:07:24.733Z] + ls /var/log/sa-host [2023-05-08T18:07:24.733Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T18:07:24.809Z] provisioning config files... [2023-05-08T18:07:24.819Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config10601187884975226663tmp [Pipeline] { [Pipeline] echo [2023-05-08T18:07:24.834Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:07:25.117Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T18:07:25.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:07:25.449Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T18:07:25.457Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:07:25.740Z] ---> sudo-logs.sh [2023-05-08T18:07:25.740Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T18:07:25.763Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:07:26.045Z] ---> job-cost.sh [2023-05-08T18:07:26.045Z] lf-activate-venv: SKIPPING [2023-05-08T18:07:26.045Z] DEBUG: total: 0.2199999988079071 [2023-05-08T18:07:26.045Z] INFO: Retrieving Stack Cost... [2023-05-08T18:07:26.303Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T18:07:26.903Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T18:07:26.912Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T18:07:27.191Z] ---> logs-deploy.sh [2023-05-08T18:07:27.191Z] lf-activate-venv: SKIPPING [2023-05-08T18:07:27.191Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1451/4 [2023-05-08T18:07:27.191Z] INFO: archiving workspace using pattern(s): [2023-05-08T18:07:28.128Z] Archives upload complete. [2023-05-08T18:07:28.128Z] INFO: archiving logs to Nexus