Pull request #1449 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee+a0d89e9a5945a079b304faa7b7c2ac3a5afed34b (442a7af7638c1d293012ec333690153cd4def829) 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-ssh15449510266004816316.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-ssh5223906624077397526.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1449/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1449/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13536048750137030134.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1449/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh791662897998607353.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8689310717725340673.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1449/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1449/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17529526283775263691.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-14454’ Running on prd-ubuntu20.04-docker-8c-8g-14456 in /w/workspace/gexfoundry_device-sdk-go_PR-1449 [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-1449 # 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/1449/head:refs/remotes/origin/PR-1449 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a0d89e9a5945a079b304faa7b7c2ac3a5afed34b into PR head commit ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee Merge succeeded, producing ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee Checking out Revision ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee (PR-1449) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T04:59:30.197Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git config core.sparsecheckout # timeout=10 > git checkout -f ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee # 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 a0d89e9a5945a079b304faa7b7c2ac3a5afed34b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee # timeout=10 [2023-05-08T04:59:30.381Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T04:59:30.493Z] ========================================================= [2023-05-08T04:59:30.493Z] EdgeX Global Pipelines Version Info [2023-05-08T04:59:30.493Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:59:31.233Z] ------------------- [2023-05-08T04:59:31.233Z] stable info: [2023-05-08T04:59:31.233Z] ------------------- [2023-05-08T04:59:31.233Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T04:59:31.233Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T04:59:31.233Z] Message: update stable to v1.0.249 [2023-05-08T04:59:31.807Z] ------------------- [2023-05-08T04:59:31.807Z] experimental info: [2023-05-08T04:59:31.807Z] ------------------- [2023-05-08T04:59:31.807Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T04:59:31.807Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T04:59:31.807Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T04:59:32.083Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-08T04:59:32.120Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-08T04:59:32.155Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T04:59:32.198Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T04:59:32.235Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T04:59:32.276Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T04:59:32.317Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T04:59:32.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-08T04:59:32.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T04:59:32.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T04:59:32.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T04:59:32.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-08T04:59:32.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T04:59:32.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T04:59:32.645Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T04:59:32.687Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T04:59:32.735Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T04:59:32.785Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T04:59:32.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T04:59:32.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T04:59:32.914Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-08T04:59:32.958Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-08T04:59:33.002Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T04:59:33.050Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T04:59:33.094Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T04:59:33.139Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T04:59:33.182Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T04:59:33.230Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1449 [Pipeline] echo [2023-05-08T04:59:33.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1449 [Pipeline] echo [2023-05-08T04:59:33.318Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1449 [Pipeline] echo [2023-05-08T04:59:33.361Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee [Pipeline] echo [2023-05-08T04:59:33.403Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ab93fc7 [Pipeline] echo [2023-05-08T04:59:33.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T04:59:33.578Z] provisioning config files... [2023-05-08T04:59:33.598Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp/config5664901236503063788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:59:33.943Z] ---> docker-login.sh [2023-05-08T04:59:33.944Z] nexus3.edgexfoundry.org:10001 [2023-05-08T04:59:34.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:59:34.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:59:34.204Z] Configure a credential helper to remove this warning. See [2023-05-08T04:59:34.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:59:34.204Z] [2023-05-08T04:59:34.204Z] Login Succeeded [2023-05-08T04:59:34.204Z] nexus3.edgexfoundry.org:10002 [2023-05-08T04:59:34.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:59:34.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:59:34.204Z] Configure a credential helper to remove this warning. See [2023-05-08T04:59:34.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:59:34.204Z] [2023-05-08T04:59:34.204Z] Login Succeeded [2023-05-08T04:59:34.204Z] nexus3.edgexfoundry.org:10003 [2023-05-08T04:59:34.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:59:34.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:59:34.466Z] Configure a credential helper to remove this warning. See [2023-05-08T04:59:34.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:59:34.466Z] [2023-05-08T04:59:34.466Z] Login Succeeded [2023-05-08T04:59:34.466Z] nexus3.edgexfoundry.org:10004 [2023-05-08T04:59:34.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:59:34.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:59:34.466Z] Configure a credential helper to remove this warning. See [2023-05-08T04:59:34.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:59:34.466Z] [2023-05-08T04:59:34.466Z] Login Succeeded [2023-05-08T04:59:34.466Z] docker.io [2023-05-08T04:59:34.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:59:34.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:59:34.726Z] Configure a credential helper to remove this warning. See [2023-05-08T04:59:34.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:59:34.726Z] [2023-05-08T04:59:34.726Z] Login Succeeded [2023-05-08T04:59:34.726Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T04:59:34.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T04:59:35.403Z] + git rev-list -1 --merges ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee~1..ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee [Pipeline] echo [2023-05-08T04:59:35.466Z] -----------> git rev-list -1 --merges ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee~1..ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee [false] [Pipeline] sh [2023-05-08T04:59:35.770Z] + git log --format=format:%s -1 ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee [Pipeline] echo [2023-05-08T04:59:35.807Z] ========================================================= [2023-05-08T04:59:35.807Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T04:59:35.807Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T04:59:36.243Z] + git log --format=format:%s -1 ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee [Pipeline] echo [2023-05-08T04:59:36.276Z] [semverPrep] GIT_COMMIT: ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-05-08T04:59:36.308Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T04:59:36.764Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T04:59:36.764Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T04:59:36.764Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T04:59:36.764Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T04:59:36.764Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T04:59:36.764Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T04:59:36.764Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:59:37.246Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T04:59:37.246Z] [2023-05-08T04:59:37.246Z] 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-08T04:59:37.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T04:59:37.622Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T04:59:37.622Z] b85a868b505f: Pulling fs layer [2023-05-08T04:59:37.622Z] e2be974225ed: Pulling fs layer [2023-05-08T04:59:37.622Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T04:59:37.622Z] 988bab9f4d93: Pulling fs layer [2023-05-08T04:59:37.622Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T04:59:37.622Z] eaf3925da568: Pulling fs layer [2023-05-08T04:59:37.622Z] 988bab9f4d93: Waiting [2023-05-08T04:59:37.622Z] 1469e6f7b9e6: Waiting [2023-05-08T04:59:37.622Z] bab4dde63d76: Pulling fs layer [2023-05-08T04:59:37.622Z] bde34c3a00c8: Pulling fs layer [2023-05-08T04:59:37.622Z] b352a97aabf1: Pulling fs layer [2023-05-08T04:59:37.622Z] eaf3925da568: Waiting [2023-05-08T04:59:37.622Z] bab4dde63d76: Waiting [2023-05-08T04:59:37.622Z] 4872d77fe225: Pulling fs layer [2023-05-08T04:59:37.622Z] 5851b861e8e6: Pulling fs layer [2023-05-08T04:59:37.622Z] 5851b861e8e6: Waiting [2023-05-08T04:59:37.622Z] 4872d77fe225: Waiting [2023-05-08T04:59:37.622Z] b352a97aabf1: Waiting [2023-05-08T04:59:37.622Z] e2be974225ed: Download complete [2023-05-08T04:59:37.622Z] 988bab9f4d93: Verifying Checksum [2023-05-08T04:59:37.622Z] 988bab9f4d93: Download complete [2023-05-08T04:59:37.622Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T04:59:37.622Z] 1469e6f7b9e6: Download complete [2023-05-08T04:59:37.882Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T04:59:37.882Z] 339a4e72a1f5: Download complete [2023-05-08T04:59:37.882Z] eaf3925da568: Verifying Checksum [2023-05-08T04:59:37.882Z] eaf3925da568: Download complete [2023-05-08T04:59:37.882Z] bde34c3a00c8: Download complete [2023-05-08T04:59:37.882Z] b352a97aabf1: Verifying Checksum [2023-05-08T04:59:37.882Z] b352a97aabf1: Download complete [2023-05-08T04:59:37.882Z] 4872d77fe225: Download complete [2023-05-08T04:59:37.882Z] 5851b861e8e6: Verifying Checksum [2023-05-08T04:59:37.882Z] 5851b861e8e6: Download complete [2023-05-08T04:59:37.882Z] b85a868b505f: Download complete [2023-05-08T04:59:38.142Z] bab4dde63d76: Verifying Checksum [2023-05-08T04:59:38.142Z] bab4dde63d76: Download complete [2023-05-08T04:59:39.080Z] b85a868b505f: Pull complete [2023-05-08T04:59:39.342Z] e2be974225ed: Pull complete [2023-05-08T04:59:39.602Z] 339a4e72a1f5: Pull complete [2023-05-08T04:59:39.862Z] 988bab9f4d93: Pull complete [2023-05-08T04:59:40.125Z] 1469e6f7b9e6: Pull complete [2023-05-08T04:59:40.125Z] eaf3925da568: Pull complete [2023-05-08T04:59:42.030Z] bab4dde63d76: Pull complete [2023-05-08T04:59:42.030Z] bde34c3a00c8: Pull complete [2023-05-08T04:59:42.030Z] b352a97aabf1: Pull complete [2023-05-08T04:59:42.030Z] 4872d77fe225: Pull complete [2023-05-08T04:59:42.030Z] 5851b861e8e6: Pull complete [2023-05-08T04:59:42.030Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T04:59:42.030Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T04:59:42.030Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T04:59:42.277Z] prd-ubuntu20.04-docker-8c-8g-14456 does not seem to be running inside a container [2023-05-08T04:59:42.310Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1449 -v /w/workspace/gexfoundry_device-sdk-go_PR-1449:/w/workspace/gexfoundry_device-sdk-go_PR-1449:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1449@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T04:59:44.446Z] $ docker top 20ef03714f06f9788177841e482b0c91069a2f25d31406decafdd21896cd2481 -eo pid,comm [2023-05-08T04:59:44.499Z] 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-08T04:59:44.499Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T04:59:44.609Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T04:59:44.609Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T04:59:44.719Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T04:59:44.725Z] $ docker exec 20ef03714f06f9788177841e482b0c91069a2f25d31406decafdd21896cd2481 ssh-agent [2023-05-08T04:59:44.828Z] SSH_AUTH_SOCK=/tmp/ssh-zTcdTKFrYKWw/agent.32 [2023-05-08T04:59:44.828Z] SSH_AGENT_PID=38 [2023-05-08T04:59:44.835Z] Running ssh-add (command line suppressed) [2023-05-08T04:59:44.941Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp/private_key_9907577699169393934.key (/w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp/private_key_9907577699169393934.key) [2023-05-08T04:59:44.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T04:59:45.282Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T04:59:45.312Z] $ docker exec --env ******** --env ******** 20ef03714f06f9788177841e482b0c91069a2f25d31406decafdd21896cd2481 ssh-agent -k [2023-05-08T04:59:45.414Z] unset SSH_AUTH_SOCK; [2023-05-08T04:59:45.414Z] unset SSH_AGENT_PID; [2023-05-08T04:59:45.415Z] echo Agent pid 38 killed; [2023-05-08T04:59:45.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T04:59:45.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T04:59:45.501Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T04:59:45.610Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T04:59:45.616Z] $ docker exec 20ef03714f06f9788177841e482b0c91069a2f25d31406decafdd21896cd2481 ssh-agent [2023-05-08T04:59:45.723Z] SSH_AUTH_SOCK=/tmp/ssh-b4Sf7xmK7kxK/agent.70 [2023-05-08T04:59:45.723Z] SSH_AGENT_PID=77 [2023-05-08T04:59:45.728Z] Running ssh-add (command line suppressed) [2023-05-08T04:59:45.841Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp/private_key_6141487905326771364.key (/w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp/private_key_6141487905326771364.key) [2023-05-08T04:59:45.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T04:59:46.177Z] + git semver init [2023-05-08T04:59:46.437Z] 2023-05-08 04:59:46,357 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T04:59:46.437Z] 2023-05-08 04:59:46,358 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1449/.semver [2023-05-08T04:59:46.437Z] 2023-05-08 04:59:46,358 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1449/.semver [2023-05-08T04:59:46.437Z] 2023-05-08 04:59:46,359 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1449/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1449, universal_newlines=False, shell=None, istream=None) [2023-05-08T04:59:47.378Z] 2023-05-08 04:59:47,227 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1449/.git/info/exclude [2023-05-08T04:59:47.378Z] 2023-05-08 04:59:47,228 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1449/.semver/PR-1449 with force:False [2023-05-08T04:59:47.378Z] 2023-05-08 04:59:47,228 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1449/.semver/PR-1449 [2023-05-08T04:59:47.378Z] 2023-05-08 04:59:47,233 [execute] INFO git cat-file --batch-check [2023-05-08T04:59:47.378Z] 2023-05-08 04:59:47,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1449/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T04:59:47.378Z] 2023-05-08 04:59:47,239 [execute] INFO git cat-file --batch [2023-05-08T04:59:47.378Z] 2023-05-08 04:59:47,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1449/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T04:59:47.378Z] 2023-05-08 04:59:47,244 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1449/.semver/PR-1449 [2023-05-08T04:59:47.378Z] 0.0.0 [Pipeline] } [2023-05-08T04:59:47.408Z] $ docker exec --env ******** --env ******** 20ef03714f06f9788177841e482b0c91069a2f25d31406decafdd21896cd2481 ssh-agent -k [2023-05-08T04:59:47.521Z] unset SSH_AUTH_SOCK; [2023-05-08T04:59:47.521Z] unset SSH_AGENT_PID; [2023-05-08T04:59:47.522Z] echo Agent pid 77 killed; [2023-05-08T04:59:47.531Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T04:59:47.962Z] + git semver [Pipeline] } [2023-05-08T04:59:48.256Z] $ docker stop --time=1 20ef03714f06f9788177841e482b0c91069a2f25d31406decafdd21896cd2481 [2023-05-08T04:59:49.550Z] $ docker rm -f --volumes 20ef03714f06f9788177841e482b0c91069a2f25d31406decafdd21896cd2481 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T04:59:49.952Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T04:59:50.217Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T04:59:50.235Z] [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-08T04:59:50.808Z] provisioning config files... [2023-05-08T04:59:50.818Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp/config4883834204595068568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T04:59:51.165Z] ---> docker-login.sh [2023-05-08T04:59:51.165Z] nexus3.edgexfoundry.org:10001 [2023-05-08T04:59:51.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:59:51.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:59:51.165Z] Configure a credential helper to remove this warning. See [2023-05-08T04:59:51.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:59:51.165Z] [2023-05-08T04:59:51.165Z] Login Succeeded [2023-05-08T04:59:51.165Z] nexus3.edgexfoundry.org:10002 [2023-05-08T04:59:51.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:59:51.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:59:51.165Z] Configure a credential helper to remove this warning. See [2023-05-08T04:59:51.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:59:51.165Z] [2023-05-08T04:59:51.165Z] Login Succeeded [2023-05-08T04:59:51.165Z] nexus3.edgexfoundry.org:10003 [2023-05-08T04:59:51.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:59:51.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:59:51.424Z] Configure a credential helper to remove this warning. See [2023-05-08T04:59:51.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:59:51.424Z] [2023-05-08T04:59:51.424Z] Login Succeeded [2023-05-08T04:59:51.424Z] nexus3.edgexfoundry.org:10004 [2023-05-08T04:59:51.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:59:51.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:59:51.424Z] Configure a credential helper to remove this warning. See [2023-05-08T04:59:51.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:59:51.424Z] [2023-05-08T04:59:51.424Z] Login Succeeded [2023-05-08T04:59:51.424Z] docker.io [2023-05-08T04:59:51.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T04:59:51.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T04:59:51.684Z] Configure a credential helper to remove this warning. See [2023-05-08T04:59:51.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T04:59:51.684Z] [2023-05-08T04:59:51.684Z] Login Succeeded [2023-05-08T04:59:51.684Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T04:59:51.710Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T04:59:51.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T04:59:51.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T04:59:51.982Z] ========================================================= [2023-05-08T04:59:51.982Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T04:59:51.982Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T04:59:52.459Z] + 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-08T04:59:52.460Z] Sending build context to Docker daemon 11.07MB [2023-05-08T04:59:52.460Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T04:59:52.460Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T04:59:52.460Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T04:59:52.460Z] f56be85fc22e: Pulling fs layer [2023-05-08T04:59:52.460Z] 85791d961cd3: Pulling fs layer [2023-05-08T04:59:52.460Z] d694b5ae8c79: Pulling fs layer [2023-05-08T04:59:52.460Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T04:59:52.460Z] 4d19c01a9841: Pulling fs layer [2023-05-08T04:59:52.460Z] 9325e15d5711: Pulling fs layer [2023-05-08T04:59:52.460Z] 556b6ee489ea: Pulling fs layer [2023-05-08T04:59:52.460Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T04:59:52.460Z] 9f32a84ed3da: Waiting [2023-05-08T04:59:52.460Z] 4d19c01a9841: Waiting [2023-05-08T04:59:52.460Z] c5a4b2cf53e6: Waiting [2023-05-08T04:59:52.460Z] 9325e15d5711: Waiting [2023-05-08T04:59:52.719Z] 85791d961cd3: Download complete [2023-05-08T04:59:52.719Z] 9f32a84ed3da: Verifying Checksum [2023-05-08T04:59:52.719Z] 9f32a84ed3da: Download complete [2023-05-08T04:59:52.719Z] 4d19c01a9841: Verifying Checksum [2023-05-08T04:59:52.719Z] 4d19c01a9841: Download complete [2023-05-08T04:59:52.719Z] f56be85fc22e: Verifying Checksum [2023-05-08T04:59:52.719Z] f56be85fc22e: Download complete [2023-05-08T04:59:52.719Z] 9325e15d5711: Verifying Checksum [2023-05-08T04:59:52.719Z] 9325e15d5711: Download complete [2023-05-08T04:59:52.719Z] f56be85fc22e: Pull complete [2023-05-08T04:59:52.983Z] 85791d961cd3: Pull complete [2023-05-08T04:59:53.244Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T04:59:53.244Z] c5a4b2cf53e6: Download complete [2023-05-08T04:59:53.244Z] d694b5ae8c79: Verifying Checksum [2023-05-08T04:59:53.244Z] d694b5ae8c79: Download complete [2023-05-08T04:59:53.501Z] 556b6ee489ea: Verifying Checksum [2023-05-08T04:59:53.501Z] 556b6ee489ea: Download complete [2023-05-08T04:59:56.784Z] d694b5ae8c79: Pull complete [2023-05-08T04:59:56.784Z] 9f32a84ed3da: Pull complete [2023-05-08T04:59:56.784Z] 4d19c01a9841: Pull complete [2023-05-08T04:59:56.784Z] 9325e15d5711: Pull complete [2023-05-08T04:59:58.693Z] 556b6ee489ea: Pull complete [2023-05-08T04:59:59.627Z] c5a4b2cf53e6: Pull complete [2023-05-08T04:59:59.627Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T04:59:59.627Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T04:59:59.627Z] ---> c4be618373d6 [2023-05-08T04:59:59.627Z] Step 3/10 : ARG MAKE=make build [2023-05-08T05:00:02.933Z] ---> Running in b72a99074a39 [2023-05-08T05:00:03.196Z] Removing intermediate container b72a99074a39 [2023-05-08T05:00:03.196Z] ---> 746cb834e2ec [2023-05-08T05:00:03.196Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T05:00:03.196Z] ---> Running in b00193e9b4d2 [2023-05-08T05:00:03.196Z] Removing intermediate container b00193e9b4d2 [2023-05-08T05:00:03.196Z] ---> dba23155990d [2023-05-08T05:00:03.196Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T05:00:03.196Z] ---> Running in a1f40e02de2f [2023-05-08T05:00:03.455Z] Removing intermediate container a1f40e02de2f [2023-05-08T05:00:03.455Z] ---> 18b04201f3d1 [2023-05-08T05:00:03.455Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T05:00:03.455Z] ---> Running in 3989410c8ff8 [2023-05-08T05:00:03.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T05:00:03.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T05:00:03.976Z] OK: 265 MiB in 53 packages [2023-05-08T05:00:04.236Z] Removing intermediate container 3989410c8ff8 [2023-05-08T05:00:04.236Z] ---> e9456fe11981 [2023-05-08T05:00:04.236Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T05:00:04.236Z] ---> 841cacad2482 [2023-05-08T05:00:04.236Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:00:04.495Z] ---> Running in 188ffb0e8680 [2023-05-08T05:00:05.620Z] Still waiting to schedule task [2023-05-08T05:00:05.620Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-14455’ is offline [2023-05-08T05:00:26.432Z] Removing intermediate container 188ffb0e8680 [2023-05-08T05:00:26.432Z] ---> 6a741d64c7dc [2023-05-08T05:00:26.432Z] Step 9/10 : COPY . . [2023-05-08T05:00:26.432Z] ---> 0eb7c41472fb [2023-05-08T05:00:26.432Z] Step 10/10 : RUN ${MAKE} [2023-05-08T05:00:26.432Z] ---> Running in eb82ba5c0698 [2023-05-08T05:00:26.433Z] noop [2023-05-08T05:00:26.691Z] Removing intermediate container eb82ba5c0698 [2023-05-08T05:00:26.691Z] ---> c4275c49e4a2 [2023-05-08T05:00:26.691Z] Successfully built c4275c49e4a2 [2023-05-08T05:00:26.691Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:00:27.129Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T05:00:27.129Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:00:27.267Z] prd-ubuntu20.04-docker-8c-8g-14456 does not seem to be running inside a container [2023-05-08T05:00:27.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1449 -v /w/workspace/gexfoundry_device-sdk-go_PR-1449:/w/workspace/gexfoundry_device-sdk-go_PR-1449:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1449@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 ******** ci-base-image-x86_64 cat [2023-05-08T05:00:27.609Z] $ docker top 5ea84aa7e8845260bae37d35b0977e439dc9a63d81cd1f3128e15d5d610514ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:00:27.994Z] + go version [2023-05-08T05:00:27.994Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T05:00:28.034Z] $ docker stop --time=1 5ea84aa7e8845260bae37d35b0977e439dc9a63d81cd1f3128e15d5d610514ce [2023-05-08T05:00:29.313Z] $ docker rm -f --volumes 5ea84aa7e8845260bae37d35b0977e439dc9a63d81cd1f3128e15d5d610514ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:00:30.016Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T05:00:30.016Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:00:30.156Z] prd-ubuntu20.04-docker-8c-8g-14456 does not seem to be running inside a container [2023-05-08T05:00:30.186Z] $ 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-1449 -v /w/workspace/gexfoundry_device-sdk-go_PR-1449:/w/workspace/gexfoundry_device-sdk-go_PR-1449:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1449@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 ******** ci-base-image-x86_64 cat [2023-05-08T05:00:30.496Z] $ docker top 18d6e1715c4220b544f7059c838cdae74acda7f8d1f91046e8232eb936841576 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:00:30.879Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1449 [Pipeline] fileExists [Pipeline] sh [2023-05-08T05:00:31.241Z] + make test [2023-05-08T05:00:31.241Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T05:00:37.804Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T05:00:52.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-08T05:00:52.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T05:00:52.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T05:00:52.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T05:00:52.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T05:00:52.668Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-05-08T05:00:52.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T05:00:52.668Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T05:00:52.668Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.057s coverage: 80.2% of statements [2023-05-08T05:00:52.668Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.076s coverage: 86.0% of statements [2023-05-08T05:00:52.927Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T05:00:52.927Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T05:00:52.927Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.080s coverage: 77.5% of statements [2023-05-08T05:00:52.927Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T05:00:52.927Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T05:00:53.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-08T05:00:56.399Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 14.6% of statements [2023-05-08T05:00:56.399Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.068s coverage: 68.5% of statements [2023-05-08T05:00:56.399Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements [2023-05-08T05:00:56.399Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.050s coverage: 5.5% of statements [2023-05-08T05:01:14.476Z] GO111MODULE=on go vet ./... [2023-05-08T05:01:17.003Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T05:01:17.003Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T05:01:17.003Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T05:01:17.061Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T05:01:17.094Z] $ docker stop --time=1 18d6e1715c4220b544f7059c838cdae74acda7f8d1f91046e8232eb936841576 [2023-05-08T05:01:20.113Z] $ docker rm -f --volumes 18d6e1715c4220b544f7059c838cdae74acda7f8d1f91046e8232eb936841576 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T05:01:20.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T05:01:20.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-08T05:01:21.639Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T05:01:21.949Z] + ls -al . [2023-05-08T05:01:21.949Z] total 272 [2023-05-08T05:01:21.949Z] drwxrwxr-x 11 jenkins jenkins 4096 May 8 05:00 . [2023-05-08T05:01:21.949Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:59 .. [2023-05-08T05:01:21.949Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 04:59 .dockerignore [2023-05-08T05:01:21.950Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:59 .git [2023-05-08T05:01:21.950Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:59 .github [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 131 May 8 04:59 .gitignore [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 04:59 .golangci.yml [2023-05-08T05:01:21.950Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:59 .semver [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 8 04:59 CHANGELOG.md [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:59 GOVERNANCE.md [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 885 May 8 04:59 Jenkinsfile [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 8 04:59 LICENSE [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 8 04:59 Makefile [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 619 May 8 04:59 OWNERS.md [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 8 04:59 README.md [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:59 VERSION [2023-05-08T05:01:21.950Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:59 bin [2023-05-08T05:01:21.950Z] -rw-r--r-- 1 jenkins jenkins 106119 May 8 05:00 coverage.out [2023-05-08T05:01:21.950Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 04:59 example [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 8 04:59 go.mod [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 8 04:59 go.sum [2023-05-08T05:01:21.950Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 04:59 internal [2023-05-08T05:01:21.950Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:59 openapi [2023-05-08T05:01:21.950Z] drwxrwxr-x 6 jenkins jenkins 4096 May 8 04:59 pkg [2023-05-08T05:01:21.950Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:59 snap [2023-05-08T05:01:21.950Z] -rw-rw-r-- 1 jenkins jenkins 222 May 8 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:01:22.354Z] + 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=ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee --label arch=amd64 --label version=0.0.0 . [2023-05-08T05:01:22.355Z] Sending build context to Docker daemon 11.18MB [2023-05-08T05:01:22.355Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T05:01:22.355Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-08T05:01:22.355Z] ---> c4275c49e4a2 [2023-05-08T05:01:22.355Z] Step 3/23 : ARG MAKE=make build [2023-05-08T05:01:22.615Z] ---> Running in ade3405083c0 [2023-05-08T05:01:22.615Z] Removing intermediate container ade3405083c0 [2023-05-08T05:01:22.615Z] ---> 2032da177158 [2023-05-08T05:01:22.615Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-08T05:01:22.615Z] ---> Running in 6a433d47f507 [2023-05-08T05:01:22.615Z] Removing intermediate container 6a433d47f507 [2023-05-08T05:01:22.615Z] ---> 9b12acbce7fc [2023-05-08T05:01:22.615Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T05:01:22.615Z] ---> Running in 71168a3f07c3 [2023-05-08T05:01:22.875Z] Removing intermediate container 71168a3f07c3 [2023-05-08T05:01:22.875Z] ---> 482d9cfdcb4e [2023-05-08T05:01:22.875Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-08T05:01:22.875Z] ---> Running in fe8dd649d99b [2023-05-08T05:01:23.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T05:01:23.134Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T05:01:23.393Z] OK: 265 MiB in 53 packages [2023-05-08T05:01:23.652Z] Removing intermediate container fe8dd649d99b [2023-05-08T05:01:23.652Z] ---> 2ffc0b4e2f42 [2023-05-08T05:01:23.652Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-08T05:01:23.652Z] ---> d7f43f9e8674 [2023-05-08T05:01:23.652Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:01:23.652Z] ---> Running in 7498e2e09d8e [2023-05-08T05:01:24.592Z] Removing intermediate container 7498e2e09d8e [2023-05-08T05:01:24.592Z] ---> 7656eb2d4755 [2023-05-08T05:01:24.592Z] Step 9/23 : COPY . . [2023-05-08T05:01:24.851Z] ---> 23d8e536bcab [2023-05-08T05:01:24.851Z] Step 10/23 : RUN ${MAKE} [2023-05-08T05:01:24.851Z] ---> Running in 2ed5aa857aea [2023-05-08T05:01:25.109Z] 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-08T05:01:40.973Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14458 in /w/workspace/gexfoundry_device-sdk-go_PR-1449 [Pipeline] { [Pipeline] ws [2023-05-08T05:01:41.036Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-05-08T05:01:41.120Z] The recommended git tool is: git [2023-05-08T05:01:43.183Z] Removing intermediate container 2ed5aa857aea [2023-05-08T05:01:43.183Z] ---> 70f321b26039 [2023-05-08T05:01:43.183Z] Step 11/23 : FROM alpine:3.17 [2023-05-08T05:01:43.183Z] 3.17: Pulling from library/alpine [2023-05-08T05:01:43.183Z] f56be85fc22e: Already exists [2023-05-08T05:01:43.183Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T05:01:43.183Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T05:01:43.183Z] ---> 9ed4aefc74f6 [2023-05-08T05:01:43.183Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-08T05:01:43.183Z] ---> Running in 2a144529547c [2023-05-08T05:01:43.183Z] Removing intermediate container 2a144529547c [2023-05-08T05:01:43.183Z] ---> cc5dd1b8b5a1 [2023-05-08T05:01:43.183Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-08T05:01:43.183Z] ---> Running in fb9a89bfc4af [2023-05-08T05:01:43.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T05:01:43.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T05:01:43.183Z] OK: 7 MiB in 15 packages [2023-05-08T05:01:43.183Z] Removing intermediate container fb9a89bfc4af [2023-05-08T05:01:43.183Z] ---> fd69ba914eb2 [2023-05-08T05:01:43.183Z] Step 14/23 : WORKDIR / [2023-05-08T05:01:43.183Z] ---> Running in 258af459a2ff [2023-05-08T05:01:43.183Z] Removing intermediate container 258af459a2ff [2023-05-08T05:01:43.183Z] ---> cab8e4537252 [2023-05-08T05:01:43.183Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-08T05:01:43.441Z] ---> 33a9a91a632e [2023-05-08T05:01:43.441Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-08T05:01:44.052Z] ---> 9f1af91bf954 [2023-05-08T05:01:44.052Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-08T05:01:44.312Z] ---> c59d728214b8 [2023-05-08T05:01:44.312Z] Step 18/23 : EXPOSE 59999 [2023-05-08T05:01:44.312Z] ---> Running in ef1af264a83e [2023-05-08T05:01:44.312Z] Removing intermediate container ef1af264a83e [2023-05-08T05:01:44.312Z] ---> 2454386a43e3 [2023-05-08T05:01:44.312Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-08T05:01:44.312Z] ---> Running in 1b77a3b0aa27 [2023-05-08T05:01:44.312Z] Removing intermediate container 1b77a3b0aa27 [2023-05-08T05:01:44.312Z] ---> d925276e31c7 [2023-05-08T05:01:44.312Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T05:01:44.312Z] ---> Running in 8da249eaa676 [2023-05-08T05:01:44.572Z] Removing intermediate container 8da249eaa676 [2023-05-08T05:01:44.572Z] ---> 44cb40303668 [2023-05-08T05:01:44.572Z] Step 21/23 : LABEL arch=amd64 [2023-05-08T05:01:44.572Z] ---> Running in 2c10f5e4bf43 [2023-05-08T05:01:44.572Z] Removing intermediate container 2c10f5e4bf43 [2023-05-08T05:01:44.572Z] ---> 74e8416518f2 [2023-05-08T05:01:44.572Z] Step 22/23 : LABEL git_sha=ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee [2023-05-08T05:01:44.572Z] ---> Running in 2ddb97f770df [2023-05-08T05:01:44.572Z] Removing intermediate container 2ddb97f770df [2023-05-08T05:01:44.572Z] ---> a35bed101f90 [2023-05-08T05:01:44.572Z] Step 23/23 : LABEL version=0.0.0 [2023-05-08T05:01:44.572Z] ---> Running in 29840fefd775 [2023-05-08T05:01:44.831Z] Removing intermediate container 29840fefd775 [2023-05-08T05:01:44.831Z] ---> 0fc408a619f4 [2023-05-08T05:01:44.831Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T05:01:44.831Z] Successfully built 0fc408a619f4 [2023-05-08T05:01:44.831Z] 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-08T05:01:45.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:01:45.747Z] [2023-05-08T05:01:45.747Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:01:46.112Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:01:46.112Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T05:01:46.112Z] 5eb5b503b376: Pulling fs layer [2023-05-08T05:01:46.112Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T05:01:46.112Z] ec43610c2a17: Pulling fs layer [2023-05-08T05:01:46.112Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T05:01:46.112Z] 33b1e0a273af: Pulling fs layer [2023-05-08T05:01:46.112Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T05:01:46.112Z] 2f39f015ded8: Pulling fs layer [2023-05-08T05:01:46.112Z] 3a2ae6a8a46f: Waiting [2023-05-08T05:01:46.112Z] 33b1e0a273af: Waiting [2023-05-08T05:01:46.112Z] 5d3b04190fa2: Waiting [2023-05-08T05:01:46.112Z] 5c69ac0246d0: Download complete [2023-05-08T05:01:46.112Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T05:01:46.112Z] 3a2ae6a8a46f: Download complete [2023-05-08T05:01:46.112Z] 33b1e0a273af: Verifying Checksum [2023-05-08T05:01:46.112Z] 33b1e0a273af: Download complete [2023-05-08T05:01:46.112Z] ec43610c2a17: Verifying Checksum [2023-05-08T05:01:46.112Z] ec43610c2a17: Download complete [2023-05-08T05:01:46.112Z] 5d3b04190fa2: Verifying Checksum [2023-05-08T05:01:46.112Z] 5d3b04190fa2: Download complete [2023-05-08T05:01:46.370Z] 5eb5b503b376: Verifying Checksum [2023-05-08T05:01:46.370Z] 5eb5b503b376: Download complete [2023-05-08T05:01:46.480Z] using credential edgex-jenkins-ssh [2023-05-08T05:01:46.498Z] Cloning the remote Git repository [2023-05-08T05:01:46.935Z] 2f39f015ded8: Download complete [2023-05-08T05:01:46.550Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T05:01:46.651Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-05-08T05:01:46.813Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T05:01:46.814Z] > git --version # timeout=10 [2023-05-08T05:01:46.841Z] > git --version # 'git version 2.25.1' [2023-05-08T05:01:46.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T05:01:47.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T05:01:47.503Z] 5eb5b503b376: Pull complete [2023-05-08T05:01:47.503Z] 5c69ac0246d0: Pull complete [2023-05-08T05:01:48.071Z] ec43610c2a17: Pull complete [2023-05-08T05:01:48.071Z] 3a2ae6a8a46f: Pull complete [2023-05-08T05:01:48.330Z] 33b1e0a273af: Pull complete [2023-05-08T05:01:48.330Z] 5d3b04190fa2: Pull complete [2023-05-08T05:01:48.599Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T05:01:48.645Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T05:01:49.488Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T05:01:49.526Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T05:01:49.527Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T05:01:49.544Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1449/head:refs/remotes/origin/PR-1449 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-08T05:01:50.142Z] Merging remotes/origin/main commit a0d89e9a5945a079b304faa7b7c2ac3a5afed34b into PR head commit ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee [2023-05-08T05:01:50.442Z] Merge succeeded, producing ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee [2023-05-08T05:01:50.443Z] Checking out Revision ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee (PR-1449) [2023-05-08T05:01:50.999Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-05-08T05:01:51.060Z] > git --version # timeout=10 [2023-05-08T05:01:51.073Z] > git --version # 'git version 2.25.1' [2023-05-08T05:01:51.093Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T05:01:50.170Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T05:01:50.247Z] > git checkout -f ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee # timeout=10 [2023-05-08T05:01:50.351Z] > git remote # timeout=10 [2023-05-08T05:01:50.369Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T05:01:50.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T05:01:50.405Z] > git merge a0d89e9a5945a079b304faa7b7c2ac3a5afed34b # timeout=10 [2023-05-08T05:01:50.430Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T05:01:50.453Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T05:01:50.467Z] > git checkout -f ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee # timeout=10 [2023-05-08T05:01:51.372Z] [2023-05-08T05:01:51.372Z] GitHub has been notified of this commit’s build result [2023-05-08T05:01:51.372Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T05:01:52.123Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T05:01:52.123Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T05:01:52.123Z] Dload Upload Total Spent Left Speed [2023-05-08T05:01:52.396Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 41132 0 --:--:-- --:--:-- --:--:-- 41000 [2023-05-08T05:01:52.511Z] 2f39f015ded8: Pull complete [2023-05-08T05:01:52.511Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T05:01:52.511Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:01:52.511Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:01:52.738Z] prd-ubuntu20.04-docker-8c-8g-14456 does not seem to be running inside a container [2023-05-08T05:01:52.770Z] $ 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-1449 -v /w/workspace/gexfoundry_device-sdk-go_PR-1449:/w/workspace/gexfoundry_device-sdk-go_PR-1449:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T05:01:55.121Z] $ docker top 4c880add1e06dd71a13da016e61efda7ff5f19f14320093e64fe80c15b2fb85b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:01:55.524Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T05:01:55.646Z] ---> job-cost.sh [2023-05-08T05:01:55.647Z] lf-activate-venv: SKIPPING [2023-05-08T05:01:55.647Z] INFO: No Stack... [2023-05-08T05:01:55.885Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T05:01:55.885Z] + sudo tee /etc/docker/daemon.new [2023-05-08T05:01:55.885Z] { [2023-05-08T05:01:55.885Z] "registry-mirrors": [ [2023-05-08T05:01:55.885Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T05:01:55.885Z] ], [2023-05-08T05:01:55.885Z] "bip": "10.250.0.254/24", [2023-05-08T05:01:55.885Z] "hosts": [ [2023-05-08T05:01:55.885Z] "tcp://0.0.0.0:5555", [2023-05-08T05:01:55.885Z] "unix:///var/run/docker.sock" [2023-05-08T05:01:55.885Z] ], [2023-05-08T05:01:55.885Z] "mtu": 1458, [2023-05-08T05:01:55.885Z] "selinux-enabled": true, [2023-05-08T05:01:55.885Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T05:01:55.885Z] } [2023-05-08T05:01:55.905Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2023-05-08T05:01:56.165Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T05:01:56.243Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T05:01:56.474Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1449/archives/cost.csv [2023-05-08T05:01:56.474Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T05:01:56.512Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1449-1-stack-cost] [2023-05-08T05:01:56.517Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1449-1-stack-cost] did not exist. Created. [2023-05-08T05:01:56.517Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1449-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-05-08T05:01:56.606Z] + sudo service docker restart [Pipeline] sh [2023-05-08T05:01:56.937Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T05:01:56.991Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T05:01:57.024Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1449-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T05:01:57.103Z] $ docker stop --time=1 4c880add1e06dd71a13da016e61efda7ff5f19f14320093e64fe80c15b2fb85b [2023-05-08T05:01:58.256Z] $ docker rm -f --volumes 4c880add1e06dd71a13da016e61efda7ff5f19f14320093e64fe80c15b2fb85b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T05:02:14.940Z] provisioning config files... [2023-05-08T05:02:14.972Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2869435381608175674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:02:15.378Z] ---> docker-login.sh [2023-05-08T05:02:15.378Z] nexus3.edgexfoundry.org:10001 [2023-05-08T05:02:15.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:02:15.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:02:15.969Z] Configure a credential helper to remove this warning. See [2023-05-08T05:02:15.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:02:15.969Z] [2023-05-08T05:02:15.969Z] Login Succeeded [2023-05-08T05:02:15.969Z] nexus3.edgexfoundry.org:10002 [2023-05-08T05:02:16.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:02:16.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:02:16.510Z] Configure a credential helper to remove this warning. See [2023-05-08T05:02:16.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:02:16.510Z] [2023-05-08T05:02:16.510Z] Login Succeeded [2023-05-08T05:02:16.510Z] nexus3.edgexfoundry.org:10003 [2023-05-08T05:02:16.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:02:16.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:02:16.789Z] Configure a credential helper to remove this warning. See [2023-05-08T05:02:16.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:02:16.789Z] [2023-05-08T05:02:16.789Z] Login Succeeded [2023-05-08T05:02:16.789Z] nexus3.edgexfoundry.org:10004 [2023-05-08T05:02:17.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:02:17.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:02:17.060Z] Configure a credential helper to remove this warning. See [2023-05-08T05:02:17.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:02:17.060Z] [2023-05-08T05:02:17.060Z] Login Succeeded [2023-05-08T05:02:17.060Z] docker.io [2023-05-08T05:02:17.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T05:02:17.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T05:02:17.603Z] Configure a credential helper to remove this warning. See [2023-05-08T05:02:17.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T05:02:17.603Z] [2023-05-08T05:02:17.603Z] Login Succeeded [2023-05-08T05:02:17.603Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T05:02:17.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T05:02:18.011Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:02:18.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T05:02:18.080Z] ========================================================= [2023-05-08T05:02:18.080Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T05:02:18.080Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:02:18.583Z] + 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-08T05:02:20.555Z] Sending build context to Docker daemon 5.944MB [2023-05-08T05:02:20.555Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T05:02:20.556Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T05:02:20.556Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T05:02:20.556Z] c41833b44d91: Pulling fs layer [2023-05-08T05:02:20.556Z] ed15518f5707: Pulling fs layer [2023-05-08T05:02:20.556Z] feae8fd75edb: Pulling fs layer [2023-05-08T05:02:20.556Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T05:02:20.556Z] 3cdef696dda3: Pulling fs layer [2023-05-08T05:02:20.556Z] 2ced38df9373: Pulling fs layer [2023-05-08T05:02:20.556Z] 58f1dce35555: Pulling fs layer [2023-05-08T05:02:20.556Z] 242c74f7c9fa: Waiting [2023-05-08T05:02:20.556Z] 3cdef696dda3: Waiting [2023-05-08T05:02:20.556Z] 2ced38df9373: Waiting [2023-05-08T05:02:20.556Z] 58f1dce35555: Waiting [2023-05-08T05:02:20.556Z] ed15518f5707: Verifying Checksum [2023-05-08T05:02:20.556Z] ed15518f5707: Download complete [2023-05-08T05:02:20.556Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T05:02:20.556Z] 242c74f7c9fa: Download complete [2023-05-08T05:02:20.556Z] 3cdef696dda3: Verifying Checksum [2023-05-08T05:02:20.556Z] 3cdef696dda3: Download complete [2023-05-08T05:02:20.556Z] c41833b44d91: Verifying Checksum [2023-05-08T05:02:20.556Z] c41833b44d91: Download complete [2023-05-08T05:02:21.637Z] c41833b44d91: Pull complete [2023-05-08T05:02:21.987Z] 58f1dce35555: Verifying Checksum [2023-05-08T05:02:21.987Z] 58f1dce35555: Download complete [2023-05-08T05:02:22.270Z] ed15518f5707: Pull complete [2023-05-08T05:02:23.258Z] feae8fd75edb: Verifying Checksum [2023-05-08T05:02:23.258Z] feae8fd75edb: Download complete [2023-05-08T05:02:23.528Z] 2ced38df9373: Verifying Checksum [2023-05-08T05:02:23.528Z] 2ced38df9373: Download complete [2023-05-08T05:02:35.886Z] feae8fd75edb: Pull complete [2023-05-08T05:02:35.886Z] 242c74f7c9fa: Pull complete [2023-05-08T05:02:35.886Z] 3cdef696dda3: Pull complete [2023-05-08T05:02:42.592Z] 2ced38df9373: Pull complete [2023-05-08T05:02:45.953Z] 58f1dce35555: Pull complete [2023-05-08T05:02:45.953Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T05:02:45.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T05:02:45.953Z] ---> fadd8f120f05 [2023-05-08T05:02:45.953Z] Step 3/10 : ARG MAKE=make build [2023-05-08T05:02:47.965Z] ---> Running in 56ac73cf8a41 [2023-05-08T05:02:47.965Z] Removing intermediate container 56ac73cf8a41 [2023-05-08T05:02:47.965Z] ---> 489c8d4f6ea2 [2023-05-08T05:02:47.965Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T05:02:48.234Z] ---> Running in d7ce4f163548 [2023-05-08T05:02:48.503Z] Removing intermediate container d7ce4f163548 [2023-05-08T05:02:48.503Z] ---> 8d7a8534195d [2023-05-08T05:02:48.503Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T05:02:48.503Z] ---> Running in ee8abaa198a2 [2023-05-08T05:02:48.775Z] Removing intermediate container ee8abaa198a2 [2023-05-08T05:02:48.775Z] ---> 4df1620276b8 [2023-05-08T05:02:48.775Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T05:02:48.775Z] ---> Running in 5c041fec29be [2023-05-08T05:02:50.190Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T05:02:50.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T05:02:51.878Z] OK: 263 MiB in 53 packages [2023-05-08T05:02:52.467Z] Removing intermediate container 5c041fec29be [2023-05-08T05:02:52.467Z] ---> 714da51ffb48 [2023-05-08T05:02:52.467Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T05:02:53.064Z] ---> 8fd3077cd51b [2023-05-08T05:02:53.064Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:02:53.064Z] ---> Running in 31ab36038548 [2023-05-08T05:04:00.995Z] Removing intermediate container 31ab36038548 [2023-05-08T05:04:00.995Z] ---> e9ddea9481c2 [2023-05-08T05:04:00.995Z] Step 9/10 : COPY . . [2023-05-08T05:04:00.995Z] ---> 119f707b567e [2023-05-08T05:04:00.995Z] Step 10/10 : RUN ${MAKE} [2023-05-08T05:04:00.995Z] ---> Running in 10645f4cf64a [2023-05-08T05:04:00.995Z] noop [2023-05-08T05:04:00.995Z] Removing intermediate container 10645f4cf64a [2023-05-08T05:04:00.995Z] ---> fe0e21f1fddb [2023-05-08T05:04:00.995Z] Successfully built fe0e21f1fddb [2023-05-08T05:04:00.995Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:04:01.495Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T05:04:01.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:04:01.809Z] prd-ubuntu20.04-docker-arm64-4c-16g-14458 does not seem to be running inside a container [2023-05-08T05:04:01.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-05-08T05:04:03.124Z] $ docker top a68c4b7dace6230863f95cfce8e41f95fee3a8c5f54ebe99289de040a4d24f14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:04:04.025Z] + go version [2023-05-08T05:04:04.026Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T05:04:04.070Z] $ docker stop --time=1 a68c4b7dace6230863f95cfce8e41f95fee3a8c5f54ebe99289de040a4d24f14 [2023-05-08T05:04:05.729Z] $ docker rm -f --volumes a68c4b7dace6230863f95cfce8e41f95fee3a8c5f54ebe99289de040a4d24f14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:04:06.630Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T05:04:06.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:04:06.905Z] prd-ubuntu20.04-docker-arm64-4c-16g-14458 does not seem to be running inside a container [2023-05-08T05:04:06.980Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-05-08T05:04:08.214Z] $ docker top 6324ed070fbd460c6eefac66dcf7a54770774d63064455f22ff95af8b1ce7859 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:04:09.111Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-08T05:04:09.836Z] + make test [2023-05-08T05:04:09.836Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T05:04:56.734Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T05:06:48.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-08T05:06:48.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T05:06:48.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T05:06:48.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T05:06:48.721Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T05:06:55.387Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.240s coverage: 27.6% of statements [2023-05-08T05:07:00.751Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.287s coverage: 80.2% of statements [2023-05-08T05:07:13.068Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T05:07:13.068Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T05:07:13.336Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.361s coverage: 86.0% of statements [2023-05-08T05:07:19.994Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T05:07:20.581Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.447s coverage: 77.5% of statements [2023-05-08T05:07:24.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T05:07:26.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T05:07:26.785Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T05:07:28.204Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.255s coverage: 14.6% of statements [2023-05-08T05:07:28.204Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.422s coverage: 68.5% of statements [2023-05-08T05:07:30.789Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.479s coverage: 89.2% of statements [2023-05-08T05:07:32.197Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-08T05:07:32.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.238s coverage: 5.5% of statements [2023-05-08T05:07:33.169Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-08T05:07:33.169Z] GO111MODULE=on go vet ./... [2023-05-08T05:10:09.978Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-08T05:10:09.978Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-08T05:10:09.978Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-08T05:10:10.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-08T05:10:10.060Z] $ docker stop --time=1 6324ed070fbd460c6eefac66dcf7a54770774d63064455f22ff95af8b1ce7859 [2023-05-08T05:10:12.013Z] $ docker rm -f --volumes 6324ed070fbd460c6eefac66dcf7a54770774d63064455f22ff95af8b1ce7859 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T05:10:13.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-08T05:10:13.762Z] Warning: overwriting stash ‘coverage-report’ [2023-05-08T05:10:14.311Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T05:10:14.898Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-08T05:10:15.233Z] + ls -al . [2023-05-08T05:10:15.233Z] total 268 [2023-05-08T05:10:15.233Z] drwxrwxr-x 10 jenkins jenkins 4096 May 8 05:04 . [2023-05-08T05:10:15.233Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:01 .. [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 140 May 8 05:01 .dockerignore [2023-05-08T05:10:15.233Z] drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:01 .git [2023-05-08T05:10:15.233Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:01 .github [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 131 May 8 05:01 .gitignore [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 42 May 8 05:01 .golangci.yml [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 8 05:01 CHANGELOG.md [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:01 GOVERNANCE.md [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 885 May 8 05:01 Jenkinsfile [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 8 05:01 LICENSE [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 8 05:01 Makefile [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 619 May 8 05:01 OWNERS.md [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 8 05:01 README.md [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:59 VERSION [2023-05-08T05:10:15.233Z] drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:01 bin [2023-05-08T05:10:15.233Z] -rw-r--r-- 1 jenkins jenkins 106121 May 8 05:07 coverage.out [2023-05-08T05:10:15.233Z] drwxrwxr-x 5 jenkins jenkins 4096 May 8 05:01 example [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 8 05:01 go.mod [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 8 05:01 go.sum [2023-05-08T05:10:15.233Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 05:01 internal [2023-05-08T05:10:15.233Z] drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:01 openapi [2023-05-08T05:10:15.233Z] drwxrwxr-x 6 jenkins jenkins 4096 May 8 05:01 pkg [2023-05-08T05:10:15.233Z] drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:01 snap [2023-05-08T05:10:15.233Z] -rw-rw-r-- 1 jenkins jenkins 222 May 8 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:10:15.654Z] + 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=ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee --label arch=arm64 --label version=0.0.0 . [2023-05-08T05:10:16.239Z] Sending build context to Docker daemon 6.051MB [2023-05-08T05:10:16.239Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T05:10:16.239Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-08T05:10:16.239Z] ---> fe0e21f1fddb [2023-05-08T05:10:16.239Z] Step 3/23 : ARG MAKE=make build [2023-05-08T05:10:16.239Z] ---> Running in ccb2ece33d24 [2023-05-08T05:10:16.509Z] Removing intermediate container ccb2ece33d24 [2023-05-08T05:10:16.509Z] ---> a85960f5982d [2023-05-08T05:10:16.509Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-08T05:10:16.776Z] ---> Running in 236dc588ce26 [2023-05-08T05:10:17.045Z] Removing intermediate container 236dc588ce26 [2023-05-08T05:10:17.045Z] ---> 27f04bef43ad [2023-05-08T05:10:17.045Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T05:10:17.045Z] ---> Running in a85664ed0c8f [2023-05-08T05:10:17.312Z] Removing intermediate container a85664ed0c8f [2023-05-08T05:10:17.312Z] ---> 90430b056364 [2023-05-08T05:10:17.312Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-08T05:10:17.312Z] ---> Running in 982e0fb7b87e [2023-05-08T05:10:18.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T05:10:19.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T05:10:19.974Z] OK: 263 MiB in 53 packages [2023-05-08T05:10:21.920Z] Removing intermediate container 982e0fb7b87e [2023-05-08T05:10:21.920Z] ---> 347717196733 [2023-05-08T05:10:21.920Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-08T05:10:22.196Z] ---> bbe2d26e4b6a [2023-05-08T05:10:22.196Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T05:10:22.196Z] ---> Running in 39fad2b6fff0 [2023-05-08T05:10:24.787Z] Removing intermediate container 39fad2b6fff0 [2023-05-08T05:10:24.787Z] ---> 421d6c181eaf [2023-05-08T05:10:24.787Z] Step 9/23 : COPY . . [2023-05-08T05:10:26.198Z] ---> 976cf0f2a7da [2023-05-08T05:10:26.198Z] Step 10/23 : RUN ${MAKE} [2023-05-08T05:10:26.198Z] ---> Running in 29b97fce9d91 [2023-05-08T05:10:27.160Z] 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-08T05:12:48.861Z] Removing intermediate container 29b97fce9d91 [2023-05-08T05:12:48.861Z] ---> 93af85e7f1e1 [2023-05-08T05:12:48.861Z] Step 11/23 : FROM alpine:3.17 [2023-05-08T05:12:48.861Z] 3.17: Pulling from library/alpine [2023-05-08T05:12:48.861Z] c41833b44d91: Already exists [2023-05-08T05:12:48.861Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-08T05:12:48.861Z] Status: Downloaded newer image for alpine:3.17 [2023-05-08T05:12:48.861Z] ---> 51e60588ff2c [2023-05-08T05:12:48.861Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-08T05:12:48.861Z] ---> Running in 6b6901868f5a [2023-05-08T05:12:48.861Z] Removing intermediate container 6b6901868f5a [2023-05-08T05:12:48.861Z] ---> e1b178dbe9a1 [2023-05-08T05:12:48.861Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-08T05:12:48.861Z] ---> Running in 13d960347cb1 [2023-05-08T05:12:48.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T05:12:48.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T05:12:48.861Z] OK: 7 MiB in 15 packages [2023-05-08T05:12:48.861Z] Removing intermediate container 13d960347cb1 [2023-05-08T05:12:48.861Z] ---> 226d5eb6384b [2023-05-08T05:12:48.861Z] Step 14/23 : WORKDIR / [2023-05-08T05:12:48.861Z] ---> Running in ba38dfa183f5 [2023-05-08T05:12:48.861Z] Removing intermediate container ba38dfa183f5 [2023-05-08T05:12:48.861Z] ---> ac509eddde26 [2023-05-08T05:12:48.861Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-08T05:12:48.861Z] ---> 18e89ee78aa2 [2023-05-08T05:12:48.861Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-08T05:12:48.861Z] ---> f0f4ed1f140c [2023-05-08T05:12:48.861Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-08T05:12:49.445Z] ---> 1f08a400b536 [2023-05-08T05:12:49.445Z] Step 18/23 : EXPOSE 59999 [2023-05-08T05:12:49.445Z] ---> Running in 07d82c6f4fac [2023-05-08T05:12:49.712Z] Removing intermediate container 07d82c6f4fac [2023-05-08T05:12:49.712Z] ---> ce62d4ae477c [2023-05-08T05:12:49.712Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-08T05:12:49.979Z] ---> Running in 3f2affd4c691 [2023-05-08T05:12:50.244Z] Removing intermediate container 3f2affd4c691 [2023-05-08T05:12:50.244Z] ---> a57fb4c6fa96 [2023-05-08T05:12:50.244Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-08T05:12:50.244Z] ---> Running in 5fcb4ab2bbd3 [2023-05-08T05:12:50.510Z] Removing intermediate container 5fcb4ab2bbd3 [2023-05-08T05:12:50.510Z] ---> 612a5b83a05a [2023-05-08T05:12:50.510Z] Step 21/23 : LABEL arch=arm64 [2023-05-08T05:12:50.510Z] ---> Running in 6f7e71e0cabe [2023-05-08T05:12:50.780Z] Removing intermediate container 6f7e71e0cabe [2023-05-08T05:12:50.780Z] ---> 1aa9e0cfcff4 [2023-05-08T05:12:50.780Z] Step 22/23 : LABEL git_sha=ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee [2023-05-08T05:12:51.046Z] ---> Running in a8f9b90c67ca [2023-05-08T05:12:51.313Z] Removing intermediate container a8f9b90c67ca [2023-05-08T05:12:51.313Z] ---> ff53ac660ae0 [2023-05-08T05:12:51.313Z] Step 23/23 : LABEL version=0.0.0 [2023-05-08T05:12:51.313Z] ---> Running in 4220adbf91c2 [2023-05-08T05:12:51.579Z] Removing intermediate container 4220adbf91c2 [2023-05-08T05:12:51.579Z] ---> f3fab1302a16 [2023-05-08T05:12:51.579Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-08T05:12:51.579Z] Successfully built f3fab1302a16 [2023-05-08T05:12:51.579Z] 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-08T05:12:52.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T05:12:52.392Z] [2023-05-08T05:12:52.392Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:12:52.801Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T05:12:52.801Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T05:12:52.801Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T05:12:52.801Z] 04944245beec: Pulling fs layer [2023-05-08T05:12:52.801Z] 699f458cf7ca: Pulling fs layer [2023-05-08T05:12:52.801Z] 765212b225bb: Pulling fs layer [2023-05-08T05:12:52.801Z] f23df028b6ca: Pulling fs layer [2023-05-08T05:12:52.801Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T05:12:52.801Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T05:12:52.801Z] 765212b225bb: Waiting [2023-05-08T05:12:52.801Z] f23df028b6ca: Waiting [2023-05-08T05:12:52.801Z] d65c8cfc05b1: Waiting [2023-05-08T05:12:52.801Z] 2437ff75d9bd: Waiting [2023-05-08T05:12:53.069Z] 04944245beec: Verifying Checksum [2023-05-08T05:12:53.069Z] 04944245beec: Download complete [2023-05-08T05:12:53.069Z] 765212b225bb: Verifying Checksum [2023-05-08T05:12:53.069Z] 765212b225bb: Download complete [2023-05-08T05:12:53.069Z] f23df028b6ca: Verifying Checksum [2023-05-08T05:12:53.069Z] f23df028b6ca: Download complete [2023-05-08T05:12:53.069Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T05:12:53.069Z] d65c8cfc05b1: Download complete [2023-05-08T05:12:53.069Z] 699f458cf7ca: Verifying Checksum [2023-05-08T05:12:53.069Z] 699f458cf7ca: Download complete [2023-05-08T05:12:53.652Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T05:12:53.652Z] 8998bd30e6a1: Download complete [2023-05-08T05:12:55.592Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T05:12:55.592Z] 2437ff75d9bd: Download complete [2023-05-08T05:12:57.009Z] 8998bd30e6a1: Pull complete [2023-05-08T05:12:57.591Z] 04944245beec: Pull complete [2023-05-08T05:12:59.007Z] 699f458cf7ca: Pull complete [2023-05-08T05:12:59.007Z] 765212b225bb: Pull complete [2023-05-08T05:12:59.594Z] f23df028b6ca: Pull complete [2023-05-08T05:12:59.862Z] d65c8cfc05b1: Pull complete [2023-05-08T05:13:14.912Z] 2437ff75d9bd: Pull complete [2023-05-08T05:13:14.912Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T05:13:14.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T05:13:14.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:13:15.255Z] prd-ubuntu20.04-docker-arm64-4c-16g-14458 does not seem to be running inside a container [2023-05-08T05:13:15.353Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-08T05:13:18.242Z] $ docker top 7ff6d3a98e42b808e981618f77a29aa3b397477184a554439be2530c529bc27f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:13:19.165Z] ---> job-cost.sh [2023-05-08T05:13:19.165Z] lf-activate-venv: SKIPPING [2023-05-08T05:13:19.165Z] INFO: No Stack... [2023-05-08T05:13:19.751Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T05:13:20.339Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T05:13:21.027Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-05-08T05:13:21.027Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T05:13:21.102Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1449-1-stack-cost] [2023-05-08T05:13:21.106Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1449-1-stack-cost] did not exist. Created. [2023-05-08T05:13:21.107Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1449-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T05:13:21.513Z] /w/workspace/device-sdk-go/1@tmp/durable-8dddd789/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T05:13:22.195Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T05:13:22.230Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T05:13:22.291Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T05:13:22.305Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1449-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T05:13:22.385Z] $ docker stop --time=1 7ff6d3a98e42b808e981618f77a29aa3b397477184a554439be2530c529bc27f [2023-05-08T05:13:23.926Z] $ docker rm -f --volumes 7ff6d3a98e42b808e981618f77a29aa3b397477184a554439be2530c529bc27f [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-08T05:13:25.014Z] provisioning config files... [2023-05-08T05:13:25.022Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp/config12548290673872758435tmp [Pipeline] { [Pipeline] sh [2023-05-08T05:13:25.355Z] + set +x [2023-05-08T05:13:25.356Z] + bash -s -- [2023-05-08T05:13:25.356Z] + curl -s https://codecov.io/bash [2023-05-08T05:13:25.356Z] [2023-05-08T05:13:25.356Z] _____ _ [2023-05-08T05:13:25.356Z] / ____| | | [2023-05-08T05:13:25.356Z] | | ___ __| | ___ ___ _____ __ [2023-05-08T05:13:25.356Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-08T05:13:25.356Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-08T05:13:25.356Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-08T05:13:25.356Z] Bash-1.0.6 [2023-05-08T05:13:25.356Z] [2023-05-08T05:13:25.356Z] [2023-05-08T05:13:25.356Z] ==> git version 2.25.1 found [2023-05-08T05:13:25.356Z] ==> 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-08T05:13:25.356Z] Release-Date: 2020-01-08 [2023-05-08T05:13:25.356Z] 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-08T05:13:25.356Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-08T05:13:25.356Z] ==> Jenkins CI detected. [2023-05-08T05:13:25.356Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1449 [2023-05-08T05:13:25.356Z] project root: . [2023-05-08T05:13:25.356Z] --> token set from env [2023-05-08T05:13:25.356Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-08T05:13:25.356Z] ==> Running gcov in . (disable via -X gcov) [2023-05-08T05:13:25.356Z] ==> Python coveragepy not found [2023-05-08T05:13:25.356Z] ==> Searching for coverage reports in: [2023-05-08T05:13:25.356Z] + . [2023-05-08T05:13:25.356Z] -> Found 1 reports [2023-05-08T05:13:25.356Z] ==> Detecting git/mercurial file structure [2023-05-08T05:13:25.356Z] ==> Reading reports [2023-05-08T05:13:25.615Z] + ./coverage.out bytes=106121 [2023-05-08T05:13:25.615Z] ==> Appending adjustments [2023-05-08T05:13:25.615Z] https://docs.codecov.io/docs/fixing-reports [2023-05-08T05:13:25.874Z] + Found adjustments [2023-05-08T05:13:25.874Z] ==> Gzipping contents [2023-05-08T05:13:25.874Z] 16K /tmp/codecov.QsqxAy.gz [2023-05-08T05:13:25.874Z] ==> Uploading reports [2023-05-08T05:13:25.874Z] url: https://codecov.io [2023-05-08T05:13:25.874Z] query: branch=PR-1449&commit=ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1449%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1449&job=&cmd_args= [2023-05-08T05:13:25.874Z] -> Pinging Codecov [2023-05-08T05:13:25.874Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1449&commit=ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1449%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1449&job=&cmd_args= [2023-05-08T05:13:25.874Z] -> Uploading to [2023-05-08T05:13:25.874Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-08/7E55EF52A471D76F132DFD9A03CDDE97/ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee/b58e51eb-2e3e-4a66-a981-02d1e419030d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T051325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=063070b74942153d87dea3b2f1b7cd90bfe9e2a20a52291916de446fb72a3b1c [2023-05-08T05:13:25.874Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T05:13:25.874Z] Dload Upload Total Spent Left Speed [2023-05-08T05:13:26.134Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15029 0 0 100 15029 0 62882 --:--:-- --:--:-- --:--:-- 62882 [2023-05-08T05:13:26.134Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ab93fc7c5e5b5d45d99b048b7f2f8b4e661310ee [Pipeline] } [2023-05-08T05:13:26.163Z] 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-08T05:13:27.930Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1449/archives ] [2023-05-08T05:13:27.930Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1449/archives [2023-05-08T05:13:27.930Z] total 16 [2023-05-08T05:13:27.930Z] drwxr-xr-x 3 root root 4096 May 8 05:01 . [2023-05-08T05:13:27.930Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 05:01 .. [2023-05-08T05:13:27.930Z] drwxr-xr-x 2 root root 4096 May 8 05:01 cost [2023-05-08T05:13:27.930Z] -rw-r--r-- 1 root root 86 May 8 05:01 cost.csv [2023-05-08T05:13:27.930Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1449/archives [2023-05-08T05:13:27.930Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1449/archives [2023-05-08T05:13:27.930Z] total 16 [2023-05-08T05:13:27.930Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:01 . [2023-05-08T05:13:27.930Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 05:01 .. [2023-05-08T05:13:27.930Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 05:01 cost [2023-05-08T05:13:27.930Z] -rw-r--r-- 1 jenkins jenkins 86 May 8 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:13:28.252Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:13:29.139Z] ---> package-listing.sh [2023-05-08T05:13:29.139Z] ++ facter osfamily [2023-05-08T05:13:29.139Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T05:13:29.139Z] + OS_FAMILY=debian [2023-05-08T05:13:29.139Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1449 [2023-05-08T05:13:29.139Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T05:13:29.139Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T05:13:29.139Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T05:13:29.139Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T05:13:29.139Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1449 ']' [2023-05-08T05:13:29.139Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T05:13:29.139Z] + case "${OS_FAMILY}" in [2023-05-08T05:13:29.139Z] + dpkg -l [2023-05-08T05:13:29.139Z] + grep '^ii' [2023-05-08T05:13:29.398Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T05:13:29.398Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T05:13:29.398Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T05:13:29.398Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1449 ']' [2023-05-08T05:13:29.398Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1449/archives/ [2023-05-08T05:13:29.398Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1449/archives/ [Pipeline] echo [2023-05-08T05:13:29.432Z] 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-1449/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-08T05:13:29.722Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T05:13:30.347Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T05:13:30.347Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T05:13:30.485Z] prd-ubuntu20.04-docker-8c-8g-14456 does not seem to be running inside a container [2023-05-08T05:13:30.512Z] $ 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-1449/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-1449 -v /w/workspace/gexfoundry_device-sdk-go_PR-1449:/w/workspace/gexfoundry_device-sdk-go_PR-1449:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T05:13:30.686Z] $ docker top f099b367b78e6fc5397440652f2a6bfc631a3cf2c1df3251be6cc0fcd9a88b9e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T05:13:31.075Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T05:13:31.390Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T05:13:31.698Z] + ls /var/log/sa-host [2023-05-08T05:13:31.698Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T05:13:31.923Z] provisioning config files... [2023-05-08T05:13:31.932Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1449@tmp/config757748286668065935tmp [Pipeline] { [Pipeline] echo [2023-05-08T05:13:31.978Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:13:32.293Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T05:13:32.320Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:13:32.729Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T05:13:32.761Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:13:33.074Z] ---> sudo-logs.sh [2023-05-08T05:13:33.074Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T05:13:33.156Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:13:33.475Z] ---> job-cost.sh [2023-05-08T05:13:33.475Z] lf-activate-venv: SKIPPING [2023-05-08T05:13:33.475Z] DEBUG: total: 0.2199999988079071 [2023-05-08T05:13:33.475Z] INFO: Retrieving Stack Cost... [2023-05-08T05:13:33.734Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T05:13:34.304Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T05:13:34.334Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T05:13:34.643Z] ---> logs-deploy.sh [2023-05-08T05:13:34.643Z] lf-activate-venv: SKIPPING [2023-05-08T05:13:34.643Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1449/1 [2023-05-08T05:13:34.643Z] INFO: archiving workspace using pattern(s): [2023-05-08T05:13:35.587Z] Archives upload complete. [2023-05-08T05:13:35.587Z] INFO: archiving logs to Nexus