Pull request #1532 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d30a68bf2de75389605c04efcf476c17a3bf0d63+abc21ca26102b759b02d11fb71eec9f0d2267cdf (f7f94838ec2dbe3a90697f95c7d9aab09c066fb4) 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-ssh13466759959170480948.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh4788834499530045865.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1532/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-1532/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9962832726110873460.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-1532/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16974162709148118972.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh13245159411282929470.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-1532/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-1532/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9265737084687217164.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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-15629’ Running on prd-ubuntu20.04-docker-8c-8g-15643 in /w/workspace/gexfoundry_device-sdk-go_PR-1532 [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-1532 # 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/1532/head:refs/remotes/origin/PR-1532 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit abc21ca26102b759b02d11fb71eec9f0d2267cdf into PR head commit d30a68bf2de75389605c04efcf476c17a3bf0d63 Merge succeeded, producing d30a68bf2de75389605c04efcf476c17a3bf0d63 Checking out Revision d30a68bf2de75389605c04efcf476c17a3bf0d63 (PR-1532) Commit message: "build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f d30a68bf2de75389605c04efcf476c17a3bf0d63 # 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 abc21ca26102b759b02d11fb71eec9f0d2267cdf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d30a68bf2de75389605c04efcf476c17a3bf0d63 # timeout=10 [Pipeline] timeout [2023-10-31T21:36:02.336Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-31T21:36:02.518Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-31T21:36:02.630Z] ========================================================= [2023-10-31T21:36:02.630Z] EdgeX Global Pipelines Version Info [2023-10-31T21:36:02.630Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:36:03.381Z] ------------------- [2023-10-31T21:36:03.381Z] stable info: [2023-10-31T21:36:03.381Z] ------------------- [2023-10-31T21:36:03.381Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-31T21:36:03.381Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-31T21:36:03.381Z] Message: update stable to v1.0.254 [2023-10-31T21:36:03.954Z] ------------------- [2023-10-31T21:36:03.954Z] experimental info: [2023-10-31T21:36:03.954Z] ------------------- [2023-10-31T21:36:03.954Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-31T21:36:03.954Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-10-31T21:36:03.954Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-31T21:36:04.259Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-31T21:36:04.305Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-31T21:36:04.362Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-31T21:36:04.409Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-31T21:36:04.450Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-31T21:36:04.493Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-31T21:36:04.536Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-31T21:36:04.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-31T21:36:04.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-31T21:36:04.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-31T21:36:04.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-31T21:36:04.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-31T21:36:04.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-31T21:36:04.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-31T21:36:04.907Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-31T21:36:04.951Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:36:04.995Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:36:05.038Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-31T21:36:05.078Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-31T21:36:05.122Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-31T21:36:05.167Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-31T21:36:05.215Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-31T21:36:05.260Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-31T21:36:05.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-31T21:36:05.341Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-31T21:36:05.387Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-31T21:36:05.434Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-31T21:36:05.481Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1532 [Pipeline] echo [2023-10-31T21:36:05.528Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1532 [Pipeline] echo [2023-10-31T21:36:05.570Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1532 [Pipeline] echo [2023-10-31T21:36:05.616Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d30a68bf2de75389605c04efcf476c17a3bf0d63 [Pipeline] echo [2023-10-31T21:36:05.668Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d30a68b [Pipeline] echo [2023-10-31T21:36:05.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:36:05.828Z] provisioning config files... [2023-10-31T21:36:05.847Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp/config2165317508241445076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:36:06.198Z] ---> docker-login.sh [2023-10-31T21:36:06.199Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:36:06.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:06.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:06.477Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:06.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:06.477Z] [2023-10-31T21:36:06.477Z] Login Succeeded [2023-10-31T21:36:06.477Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:36:06.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:06.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:06.477Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:06.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:06.477Z] [2023-10-31T21:36:06.477Z] Login Succeeded [2023-10-31T21:36:06.742Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:36:06.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:06.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:06.742Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:06.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:06.742Z] [2023-10-31T21:36:06.742Z] Login Succeeded [2023-10-31T21:36:06.742Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:36:06.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:06.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:06.742Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:06.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:06.742Z] [2023-10-31T21:36:06.742Z] Login Succeeded [2023-10-31T21:36:06.742Z] docker.io [2023-10-31T21:36:07.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:07.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:07.263Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:07.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:07.263Z] [2023-10-31T21:36:07.263Z] Login Succeeded [2023-10-31T21:36:07.263Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:36:07.289Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-31T21:36:07.931Z] + git rev-list -1 --merges d30a68bf2de75389605c04efcf476c17a3bf0d63~1..d30a68bf2de75389605c04efcf476c17a3bf0d63 [Pipeline] echo [2023-10-31T21:36:07.996Z] -----------> git rev-list -1 --merges d30a68bf2de75389605c04efcf476c17a3bf0d63~1..d30a68bf2de75389605c04efcf476c17a3bf0d63 d30a68bf2de75389605c04efcf476c17a3bf0d63 [false] [Pipeline] sh [2023-10-31T21:36:08.311Z] + git log --format=format:%s -1 d30a68bf2de75389605c04efcf476c17a3bf0d63 [Pipeline] echo [2023-10-31T21:36:08.343Z] ========================================================= [2023-10-31T21:36:08.343Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-31T21:36:08.343Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:36:08.795Z] + git log --format=format:%s -1 d30a68bf2de75389605c04efcf476c17a3bf0d63 [Pipeline] echo [2023-10-31T21:36:08.866Z] [semverPrep] GIT_COMMIT: d30a68bf2de75389605c04efcf476c17a3bf0d63, Commit Message: build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 [Pipeline] echo [2023-10-31T21:36:08.899Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-31T21:36:09.265Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-31T21:36:09.265Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-31T21:36:09.265Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-31T21:36:09.265Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-31T21:36:09.265Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-31T21:36:09.265Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-31T21:36:09.265Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:36:09.687Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:36:09.687Z] [2023-10-31T21:36:09.687Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:36:10.063Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:36:10.063Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-31T21:36:10.063Z] b85a868b505f: Pulling fs layer [2023-10-31T21:36:10.063Z] e2be974225ed: Pulling fs layer [2023-10-31T21:36:10.063Z] 339a4e72a1f5: Pulling fs layer [2023-10-31T21:36:10.063Z] 988bab9f4d93: Pulling fs layer [2023-10-31T21:36:10.063Z] 1469e6f7b9e6: Pulling fs layer [2023-10-31T21:36:10.063Z] eaf3925da568: Pulling fs layer [2023-10-31T21:36:10.063Z] bab4dde63d76: Pulling fs layer [2023-10-31T21:36:10.063Z] bde34c3a00c8: Pulling fs layer [2023-10-31T21:36:10.063Z] 1469e6f7b9e6: Waiting [2023-10-31T21:36:10.063Z] 988bab9f4d93: Waiting [2023-10-31T21:36:10.063Z] eaf3925da568: Waiting [2023-10-31T21:36:10.063Z] bab4dde63d76: Waiting [2023-10-31T21:36:10.063Z] b352a97aabf1: Pulling fs layer [2023-10-31T21:36:10.063Z] bde34c3a00c8: Waiting [2023-10-31T21:36:10.063Z] 4872d77fe225: Pulling fs layer [2023-10-31T21:36:10.063Z] b352a97aabf1: Waiting [2023-10-31T21:36:10.063Z] 5851b861e8e6: Pulling fs layer [2023-10-31T21:36:10.063Z] 4872d77fe225: Waiting [2023-10-31T21:36:10.063Z] 5851b861e8e6: Waiting [2023-10-31T21:36:10.063Z] e2be974225ed: Download complete [2023-10-31T21:36:10.063Z] 988bab9f4d93: Download complete [2023-10-31T21:36:10.063Z] 1469e6f7b9e6: Verifying Checksum [2023-10-31T21:36:10.063Z] 1469e6f7b9e6: Download complete [2023-10-31T21:36:10.322Z] eaf3925da568: Verifying Checksum [2023-10-31T21:36:10.322Z] eaf3925da568: Download complete [2023-10-31T21:36:10.322Z] 339a4e72a1f5: Verifying Checksum [2023-10-31T21:36:10.322Z] 339a4e72a1f5: Download complete [2023-10-31T21:36:10.322Z] bde34c3a00c8: Download complete [2023-10-31T21:36:10.322Z] b352a97aabf1: Download complete [2023-10-31T21:36:10.322Z] 4872d77fe225: Verifying Checksum [2023-10-31T21:36:10.322Z] 4872d77fe225: Download complete [2023-10-31T21:36:10.322Z] 5851b861e8e6: Verifying Checksum [2023-10-31T21:36:10.322Z] 5851b861e8e6: Download complete [2023-10-31T21:36:10.322Z] b85a868b505f: Verifying Checksum [2023-10-31T21:36:10.322Z] b85a868b505f: Download complete [2023-10-31T21:36:10.583Z] bab4dde63d76: Verifying Checksum [2023-10-31T21:36:10.583Z] bab4dde63d76: Download complete [2023-10-31T21:36:11.517Z] b85a868b505f: Pull complete [2023-10-31T21:36:12.455Z] e2be974225ed: Pull complete [2023-10-31T21:36:13.036Z] 339a4e72a1f5: Pull complete [2023-10-31T21:36:13.609Z] 988bab9f4d93: Pull complete [2023-10-31T21:36:13.869Z] 1469e6f7b9e6: Pull complete [2023-10-31T21:36:13.869Z] eaf3925da568: Pull complete [2023-10-31T21:36:15.915Z] bab4dde63d76: Pull complete [2023-10-31T21:36:15.915Z] bde34c3a00c8: Pull complete [2023-10-31T21:36:15.915Z] b352a97aabf1: Pull complete [2023-10-31T21:36:15.915Z] 4872d77fe225: Pull complete [2023-10-31T21:36:15.915Z] 5851b861e8e6: Pull complete [2023-10-31T21:36:15.915Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-31T21:36:15.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-31T21:36:15.915Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:36:16.171Z] prd-ubuntu20.04-docker-8c-8g-15643 does not seem to be running inside a container [2023-10-31T21:36:16.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1532 -v /w/workspace/gexfoundry_device-sdk-go_PR-1532:/w/workspace/gexfoundry_device-sdk-go_PR-1532:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1532@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-31T21:36:20.305Z] $ docker top a05f56c71a08aa8cefe8d0368e9a73006e691e677590eaa0a1cec64ffe0a2c1e -eo pid,comm [2023-10-31T21:36:20.368Z] 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-10-31T21:36:20.368Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-31T21:36:20.501Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T21:36:20.501Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T21:36:20.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T21:36:20.624Z] $ docker exec a05f56c71a08aa8cefe8d0368e9a73006e691e677590eaa0a1cec64ffe0a2c1e ssh-agent [2023-10-31T21:36:20.736Z] SSH_AUTH_SOCK=/tmp/ssh-OJ2T3RjCD6pt/agent.32 [2023-10-31T21:36:20.736Z] SSH_AGENT_PID=38 [2023-10-31T21:36:20.742Z] Running ssh-add (command line suppressed) [2023-10-31T21:36:20.841Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp/private_key_1394993907913386339.key (/w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp/private_key_1394993907913386339.key) [2023-10-31T21:36:20.853Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T21:36:21.186Z] + git tag --points-at HEAD [Pipeline] } [2023-10-31T21:36:21.219Z] $ docker exec --env ******** --env ******** a05f56c71a08aa8cefe8d0368e9a73006e691e677590eaa0a1cec64ffe0a2c1e ssh-agent -k [2023-10-31T21:36:21.319Z] unset SSH_AUTH_SOCK; [2023-10-31T21:36:21.320Z] unset SSH_AGENT_PID; [2023-10-31T21:36:21.320Z] echo Agent pid 38 killed; [2023-10-31T21:36:21.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-31T21:36:21.418Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-31T21:36:21.418Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-31T21:36:21.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-31T21:36:21.538Z] $ docker exec a05f56c71a08aa8cefe8d0368e9a73006e691e677590eaa0a1cec64ffe0a2c1e ssh-agent [2023-10-31T21:36:21.638Z] SSH_AUTH_SOCK=/tmp/ssh-ySDRc44phCKr/agent.70 [2023-10-31T21:36:21.638Z] SSH_AGENT_PID=76 [2023-10-31T21:36:21.644Z] Running ssh-add (command line suppressed) [2023-10-31T21:36:21.735Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp/private_key_8194497004738199384.key (/w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp/private_key_8194497004738199384.key) [2023-10-31T21:36:21.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-31T21:36:22.079Z] + git semver init [2023-10-31T21:36:22.338Z] 2023-10-31 21:36:22,319 [run_init] DEBUG init version:0.0.0 force:False [2023-10-31T21:36:22.338Z] 2023-10-31 21:36:22,320 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1532/.semver [2023-10-31T21:36:22.338Z] 2023-10-31 21:36:22,320 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1532/.semver [2023-10-31T21:36:22.338Z] 2023-10-31 21:36:22,321 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1532/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1532, universal_newlines=False, shell=None, istream=None) [2023-10-31T21:36:23.724Z] 2023-10-31 21:36:23,330 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1532/.git/info/exclude [2023-10-31T21:36:23.724Z] 2023-10-31 21:36:23,331 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1532/.semver/PR-1532 with force:False [2023-10-31T21:36:23.724Z] 2023-10-31 21:36:23,331 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1532/.semver/PR-1532 [2023-10-31T21:36:23.724Z] 2023-10-31 21:36:23,335 [execute] INFO git cat-file --batch-check [2023-10-31T21:36:23.724Z] 2023-10-31 21:36:23,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1532/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T21:36:23.724Z] 2023-10-31 21:36:23,343 [execute] INFO git cat-file --batch [2023-10-31T21:36:23.724Z] 2023-10-31 21:36:23,343 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1532/.semver, universal_newlines=False, shell=None, istream=) [2023-10-31T21:36:23.724Z] 2023-10-31 21:36:23,349 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1532/.semver/PR-1532 [2023-10-31T21:36:23.724Z] 0.0.0 [Pipeline] } [2023-10-31T21:36:23.750Z] $ docker exec --env ******** --env ******** a05f56c71a08aa8cefe8d0368e9a73006e691e677590eaa0a1cec64ffe0a2c1e ssh-agent -k [2023-10-31T21:36:23.848Z] unset SSH_AUTH_SOCK; [2023-10-31T21:36:23.848Z] unset SSH_AGENT_PID; [2023-10-31T21:36:23.849Z] echo Agent pid 76 killed; [2023-10-31T21:36:23.852Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-31T21:36:24.280Z] + git semver [Pipeline] } [2023-10-31T21:36:24.567Z] $ docker stop --time=1 a05f56c71a08aa8cefe8d0368e9a73006e691e677590eaa0a1cec64ffe0a2c1e [2023-10-31T21:36:25.876Z] $ docker rm -f --volumes a05f56c71a08aa8cefe8d0368e9a73006e691e677590eaa0a1cec64ffe0a2c1e [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:36:26.293Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-31T21:36:26.583Z] Stashed 1 file(s) [Pipeline] echo [2023-10-31T21:36:26.602Z] [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-10-31T21:36:27.217Z] provisioning config files... [2023-10-31T21:36:27.226Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp/config10561601842236272379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:36:27.567Z] ---> docker-login.sh [2023-10-31T21:36:27.567Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:36:27.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:27.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:27.567Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:27.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:27.567Z] [2023-10-31T21:36:27.567Z] Login Succeeded [2023-10-31T21:36:27.567Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:36:27.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:27.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:27.567Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:27.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:27.567Z] [2023-10-31T21:36:27.567Z] Login Succeeded [2023-10-31T21:36:27.567Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:36:27.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:27.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:27.826Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:27.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:27.826Z] [2023-10-31T21:36:27.826Z] Login Succeeded [2023-10-31T21:36:27.826Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:36:27.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:27.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:27.826Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:27.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:27.826Z] [2023-10-31T21:36:27.826Z] Login Succeeded [2023-10-31T21:36:27.826Z] docker.io [2023-10-31T21:36:27.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:36:28.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:36:28.085Z] Configure a credential helper to remove this warning. See [2023-10-31T21:36:28.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:36:28.085Z] [2023-10-31T21:36:28.085Z] Login Succeeded [2023-10-31T21:36:28.085Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:36:28.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-31T21:36:28.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:36:28.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:36:28.420Z] ========================================================= [2023-10-31T21:36:28.420Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-31T21:36:28.420Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:36:28.910Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-31T21:36:28.910Z] Sending build context to Docker daemon 11.26MB [2023-10-31T21:36:28.910Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:36:28.910Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-31T21:36:28.910Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-31T21:36:28.910Z] 7264a8db6415: Pulling fs layer [2023-10-31T21:36:28.910Z] c4d48a809fc2: Pulling fs layer [2023-10-31T21:36:28.910Z] 4f1c88b9dad5: Pulling fs layer [2023-10-31T21:36:28.910Z] ad3a456e5733: Pulling fs layer [2023-10-31T21:36:28.910Z] 33e27b845d1e: Pulling fs layer [2023-10-31T21:36:28.910Z] c68163c4e522: Pulling fs layer [2023-10-31T21:36:28.910Z] 50da416c3ac9: Pulling fs layer [2023-10-31T21:36:28.910Z] 23d2d4c4bb30: Pulling fs layer [2023-10-31T21:36:28.910Z] c68163c4e522: Waiting [2023-10-31T21:36:28.910Z] 50da416c3ac9: Waiting [2023-10-31T21:36:28.910Z] ad3a456e5733: Waiting [2023-10-31T21:36:28.910Z] 33e27b845d1e: Waiting [2023-10-31T21:36:28.910Z] 23d2d4c4bb30: Waiting [2023-10-31T21:36:29.169Z] c4d48a809fc2: Verifying Checksum [2023-10-31T21:36:29.170Z] c4d48a809fc2: Download complete [2023-10-31T21:36:29.170Z] ad3a456e5733: Download complete [2023-10-31T21:36:29.170Z] 33e27b845d1e: Verifying Checksum [2023-10-31T21:36:29.170Z] 33e27b845d1e: Download complete [2023-10-31T21:36:29.170Z] 7264a8db6415: Verifying Checksum [2023-10-31T21:36:29.170Z] 7264a8db6415: Download complete [2023-10-31T21:36:29.170Z] 7264a8db6415: Pull complete [2023-10-31T21:36:29.170Z] c68163c4e522: Verifying Checksum [2023-10-31T21:36:29.170Z] c68163c4e522: Download complete [2023-10-31T21:36:29.430Z] c4d48a809fc2: Pull complete [2023-10-31T21:36:29.430Z] 23d2d4c4bb30: Verifying Checksum [2023-10-31T21:36:29.430Z] 23d2d4c4bb30: Download complete [2023-10-31T21:36:29.691Z] 4f1c88b9dad5: Verifying Checksum [2023-10-31T21:36:29.691Z] 4f1c88b9dad5: Download complete [2023-10-31T21:36:29.951Z] 50da416c3ac9: Verifying Checksum [2023-10-31T21:36:29.951Z] 50da416c3ac9: Download complete [2023-10-31T21:36:32.488Z] 4f1c88b9dad5: Pull complete [2023-10-31T21:36:32.488Z] ad3a456e5733: Pull complete [2023-10-31T21:36:32.488Z] 33e27b845d1e: Pull complete [2023-10-31T21:36:32.748Z] c68163c4e522: Pull complete [2023-10-31T21:36:35.286Z] 50da416c3ac9: Pull complete [2023-10-31T21:36:35.551Z] 23d2d4c4bb30: Pull complete [2023-10-31T21:36:35.551Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-31T21:36:35.551Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-31T21:36:35.551Z] ---> 0786185ac409 [2023-10-31T21:36:35.551Z] Step 3/10 : ARG MAKE=make build [2023-10-31T21:36:42.032Z] Still waiting to schedule task [2023-10-31T21:36:42.032Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15630’ [2023-10-31T21:36:43.774Z] ---> Running in ec4f80dcecc5 [2023-10-31T21:36:43.774Z] Removing intermediate container ec4f80dcecc5 [2023-10-31T21:36:43.774Z] ---> 7b543f3a1a2e [2023-10-31T21:36:43.774Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-31T21:36:43.774Z] ---> Running in 7095faa549da [2023-10-31T21:36:43.774Z] Removing intermediate container 7095faa549da [2023-10-31T21:36:43.774Z] ---> 67deace5b2dc [2023-10-31T21:36:43.774Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-31T21:36:43.774Z] ---> Running in 7e48d866195d [2023-10-31T21:36:43.774Z] Removing intermediate container 7e48d866195d [2023-10-31T21:36:43.774Z] ---> e57588c2a2d8 [2023-10-31T21:36:43.774Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-31T21:36:43.774Z] ---> Running in ac6e4ba8cfb3 [2023-10-31T21:36:44.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:36:44.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:36:44.301Z] OK: 264 MiB in 52 packages [2023-10-31T21:36:44.566Z] Removing intermediate container ac6e4ba8cfb3 [2023-10-31T21:36:44.566Z] ---> 3bed78bc9d36 [2023-10-31T21:36:44.566Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-31T21:36:44.825Z] ---> d9ef8a01e42b [2023-10-31T21:36:44.825Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:36:44.825Z] ---> Running in c0ab2af73b7f [2023-10-31T21:37:23.759Z] Removing intermediate container c0ab2af73b7f [2023-10-31T21:37:23.759Z] ---> c964bf081c92 [2023-10-31T21:37:23.759Z] Step 9/10 : COPY . . [2023-10-31T21:37:24.695Z] ---> c2ea2e21499b [2023-10-31T21:37:24.695Z] Step 10/10 : RUN ${MAKE} [2023-10-31T21:37:24.695Z] ---> Running in 458d365b85d8 [2023-10-31T21:37:24.695Z] noop [2023-10-31T21:37:24.971Z] Removing intermediate container 458d365b85d8 [2023-10-31T21:37:24.971Z] ---> 2482bbbbd35b [2023-10-31T21:37:24.971Z] Successfully built 2482bbbbd35b [2023-10-31T21:37:25.237Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:37:25.720Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-31T21:37:25.720Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:37:25.883Z] prd-ubuntu20.04-docker-8c-8g-15643 does not seem to be running inside a container [2023-10-31T21:37:25.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1532 -v /w/workspace/gexfoundry_device-sdk-go_PR-1532:/w/workspace/gexfoundry_device-sdk-go_PR-1532:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1532@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 ******** ci-base-image-x86_64 cat [2023-10-31T21:37:26.295Z] $ docker top 8aca74402160de74675a3545c35a8b01435b1b8bc7d5bfcd91a6190db30e5145 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:37:26.699Z] + go version [2023-10-31T21:37:26.699Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-31T21:37:26.737Z] $ docker stop --time=1 8aca74402160de74675a3545c35a8b01435b1b8bc7d5bfcd91a6190db30e5145 [2023-10-31T21:37:28.109Z] $ docker rm -f --volumes 8aca74402160de74675a3545c35a8b01435b1b8bc7d5bfcd91a6190db30e5145 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:37:28.824Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-31T21:37:28.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:37:28.979Z] prd-ubuntu20.04-docker-8c-8g-15643 does not seem to be running inside a container [2023-10-31T21:37:29.013Z] $ 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-1532 -v /w/workspace/gexfoundry_device-sdk-go_PR-1532:/w/workspace/gexfoundry_device-sdk-go_PR-1532:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1532@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 ******** ci-base-image-x86_64 cat [2023-10-31T21:37:29.363Z] $ docker top 15d5f8232178cfe5089dc9c7a5f6faa8455ba24f6743bc06f3ec9ae982b95da9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:37:29.755Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1532 [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:37:30.212Z] + make test [2023-10-31T21:37:30.213Z] go test -race -coverprofile=coverage.out ./... [2023-10-31T21:37:36.807Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-31T21:37:54.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-31T21:37:54.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-31T21:37:54.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-31T21:37:54.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-31T21:37:54.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-31T21:37:54.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-31T21:37:54.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-31T21:37:54.923Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.051s coverage: 27.6% of statements [2023-10-31T21:37:54.923Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-31T21:37:54.923Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.066s coverage: 81.5% of statements [2023-10-31T21:37:54.923Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.084s coverage: 86.0% of statements [2023-10-31T21:37:55.499Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.083s coverage: 71.8% of statements [2023-10-31T21:37:55.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-31T21:37:55.499Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-31T21:37:55.760Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-31T21:37:59.043Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.052s coverage: 14.4% of statements [2023-10-31T21:37:59.044Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.996s coverage: 45.9% of statements [2023-10-31T21:37:59.044Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.076s coverage: 68.5% of statements [2023-10-31T21:37:59.044Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.119s coverage: 89.2% of statements [2023-10-31T21:37:59.044Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.5% of statements [2023-10-31T21:38:21.016Z] GO111MODULE=on go vet ./... [2023-10-31T21:38:24.345Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-31T21:38:24.345Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-31T21:38:24.345Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-31T21:38:24.630Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-31T21:38:24.664Z] $ docker stop --time=1 15d5f8232178cfe5089dc9c7a5f6faa8455ba24f6743bc06f3ec9ae982b95da9 [2023-10-31T21:38:29.699Z] $ docker rm -f --volumes 15d5f8232178cfe5089dc9c7a5f6faa8455ba24f6743bc06f3ec9ae982b95da9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:38:30.364Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-31T21:38:30.456Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-31T21:38:31.087Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-31T21:38:31.408Z] + ls -al . [2023-10-31T21:38:31.408Z] total 304 [2023-10-31T21:38:31.408Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 31 21:37 . [2023-10-31T21:38:31.408Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:35 .. [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 21:36 .dockerignore [2023-10-31T21:38:31.408Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:37 .git [2023-10-31T21:38:31.408Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 .github [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 31 21:36 .gitignore [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 31 21:36 .golangci.yml [2023-10-31T21:38:31.408Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:36 .semver [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 31 21:36 CHANGELOG.md [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:36 GOVERNANCE.md [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 31 21:36 Jenkinsfile [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 31 21:36 LICENSE [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 31 21:36 Makefile [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 31 21:36 OWNERS.md [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 31 21:36 README.md [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:36 VERSION [2023-10-31T21:38:31.408Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:36 bin [2023-10-31T21:38:31.408Z] -rw-r--r-- 1 jenkins jenkins 122155 Oct 31 21:37 coverage.out [2023-10-31T21:38:31.408Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 31 21:36 example [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 31 21:36 go.mod [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 31 21:36 go.sum [2023-10-31T21:38:31.408Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 31 21:36 internal [2023-10-31T21:38:31.408Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 openapi [2023-10-31T21:38:31.408Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 31 21:36 pkg [2023-10-31T21:38:31.408Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:36 snap [2023-10-31T21:38:31.408Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 31 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:38:31.825Z] + 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=d30a68bf2de75389605c04efcf476c17a3bf0d63 --label arch=amd64 --label version=0.0.0 . [2023-10-31T21:38:31.825Z] Sending build context to Docker daemon 11.38MB [2023-10-31T21:38:31.825Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:38:31.825Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-31T21:38:31.825Z] ---> 2482bbbbd35b [2023-10-31T21:38:31.825Z] Step 3/23 : ARG MAKE=make build [2023-10-31T21:38:32.398Z] ---> Running in cc40aff5abf8 [2023-10-31T21:38:32.398Z] Removing intermediate container cc40aff5abf8 [2023-10-31T21:38:32.398Z] ---> c6a91af29402 [2023-10-31T21:38:32.398Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-31T21:38:32.398Z] ---> Running in 254231be1bfc [2023-10-31T21:38:32.398Z] Removing intermediate container 254231be1bfc [2023-10-31T21:38:32.398Z] ---> 8c6cad7c142c [2023-10-31T21:38:32.398Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-31T21:38:32.398Z] ---> Running in 4daba81b2a2b [2023-10-31T21:38:32.657Z] Removing intermediate container 4daba81b2a2b [2023-10-31T21:38:32.657Z] ---> 0843b50dda61 [2023-10-31T21:38:32.657Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-31T21:38:32.657Z] ---> Running in b2859783bda0 [2023-10-31T21:38:32.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:38:32.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:38:33.176Z] OK: 264 MiB in 52 packages [2023-10-31T21:38:33.744Z] Removing intermediate container b2859783bda0 [2023-10-31T21:38:33.744Z] ---> aa508ae78016 [2023-10-31T21:38:33.744Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-31T21:38:33.744Z] ---> 3de913aec875 [2023-10-31T21:38:33.744Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:38:33.744Z] ---> Running in a45bb579423c [2023-10-31T21:38:34.318Z] Removing intermediate container a45bb579423c [2023-10-31T21:38:34.318Z] ---> a6f26b6c402c [2023-10-31T21:38:34.318Z] Step 9/23 : COPY . . [2023-10-31T21:38:35.256Z] ---> cdc700968600 [2023-10-31T21:38:35.256Z] Step 10/23 : RUN ${MAKE} [2023-10-31T21:38:35.256Z] ---> Running in 1ec441cbeb4c [2023-10-31T21:38:35.522Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-31T21:39:07.703Z] Removing intermediate container 1ec441cbeb4c [2023-10-31T21:39:07.703Z] ---> f4a495b0889e [2023-10-31T21:39:07.703Z] Step 11/23 : FROM alpine:3.18 [2023-10-31T21:39:07.703Z] 3.18: Pulling from library/alpine [2023-10-31T21:39:07.703Z] 96526aa774ef: Pulling fs layer [2023-10-31T21:39:07.703Z] 96526aa774ef: Download complete [2023-10-31T21:39:07.703Z] 96526aa774ef: Pull complete [2023-10-31T21:39:07.703Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-31T21:39:07.703Z] Status: Downloaded newer image for alpine:3.18 [2023-10-31T21:39:07.703Z] ---> 8ca4688f4f35 [2023-10-31T21:39:07.703Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-31T21:39:07.703Z] ---> Running in 792ea906a070 [2023-10-31T21:39:07.703Z] Removing intermediate container 792ea906a070 [2023-10-31T21:39:07.703Z] ---> 95636eef4c7d [2023-10-31T21:39:07.703Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-31T21:39:07.703Z] ---> Running in 184b2b33fa56 [2023-10-31T21:39:07.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-31T21:39:07.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-31T21:39:07.703Z] OK: 7 MiB in 15 packages [2023-10-31T21:39:07.703Z] Removing intermediate container 184b2b33fa56 [2023-10-31T21:39:07.703Z] ---> dcbdfadda07e [2023-10-31T21:39:07.703Z] Step 14/23 : WORKDIR / [2023-10-31T21:39:07.961Z] ---> Running in a4011247503d [2023-10-31T21:39:08.231Z] Removing intermediate container a4011247503d [2023-10-31T21:39:08.231Z] ---> 69304b0b4d49 [2023-10-31T21:39:08.231Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-31T21:39:08.490Z] ---> 83ba40272829 [2023-10-31T21:39:08.490Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-31T21:39:09.870Z] ---> b8906b8d9636 [2023-10-31T21:39:09.870Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-31T21:39:10.439Z] ---> f0880ab46ee1 [2023-10-31T21:39:10.439Z] Step 18/23 : EXPOSE 59999 [2023-10-31T21:39:10.698Z] ---> Running in 2ac6a0eef242 [2023-10-31T21:39:10.957Z] Removing intermediate container 2ac6a0eef242 [2023-10-31T21:39:10.957Z] ---> e0110fc421a7 [2023-10-31T21:39:10.957Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-31T21:39:10.957Z] ---> Running in f4429f0e582e [2023-10-31T21:39:11.217Z] Removing intermediate container f4429f0e582e [2023-10-31T21:39:11.217Z] ---> ba5936b84655 [2023-10-31T21:39:11.217Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-31T21:39:11.783Z] ---> Running in ea104270da1b [2023-10-31T21:39:12.049Z] Removing intermediate container ea104270da1b [2023-10-31T21:39:12.049Z] ---> bddf3706e329 [2023-10-31T21:39:12.049Z] Step 21/23 : LABEL arch=amd64 [2023-10-31T21:39:12.327Z] ---> Running in 88b2bd2edd43 [2023-10-31T21:39:12.327Z] Removing intermediate container 88b2bd2edd43 [2023-10-31T21:39:12.327Z] ---> f7ae3b905c8d [2023-10-31T21:39:12.327Z] Step 22/23 : LABEL git_sha=d30a68bf2de75389605c04efcf476c17a3bf0d63 [2023-10-31T21:39:12.594Z] ---> Running in af97cc57377b [2023-10-31T21:39:13.161Z] Removing intermediate container af97cc57377b [2023-10-31T21:39:13.161Z] ---> d53e62c9dc03 [2023-10-31T21:39:13.161Z] Step 23/23 : LABEL version=0.0.0 [2023-10-31T21:39:13.420Z] ---> Running in 87bae6e42ee8 [2023-10-31T21:39:13.678Z] Removing intermediate container 87bae6e42ee8 [2023-10-31T21:39:13.678Z] ---> 9f3f8636e94b [2023-10-31T21:39:13.678Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-31T21:39:13.678Z] Successfully built 9f3f8636e94b [2023-10-31T21:39:13.937Z] 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-10-31T21:39:14.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:39:14.887Z] [2023-10-31T21:39:14.887Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:39:15.265Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:39:15.551Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-31T21:39:15.551Z] 5eb5b503b376: Pulling fs layer [2023-10-31T21:39:15.551Z] 5c69ac0246d0: Pulling fs layer [2023-10-31T21:39:15.551Z] ec43610c2a17: Pulling fs layer [2023-10-31T21:39:15.551Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-31T21:39:15.551Z] 33b1e0a273af: Pulling fs layer [2023-10-31T21:39:15.551Z] 5d3b04190fa2: Pulling fs layer [2023-10-31T21:39:15.551Z] 2f39f015ded8: Pulling fs layer [2023-10-31T21:39:15.551Z] 33b1e0a273af: Waiting [2023-10-31T21:39:15.551Z] 5d3b04190fa2: Waiting [2023-10-31T21:39:15.551Z] 2f39f015ded8: Waiting [2023-10-31T21:39:15.551Z] 3a2ae6a8a46f: Waiting [2023-10-31T21:39:15.551Z] 5c69ac0246d0: Verifying Checksum [2023-10-31T21:39:15.551Z] 5c69ac0246d0: Download complete [2023-10-31T21:39:15.551Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-31T21:39:15.551Z] 3a2ae6a8a46f: Download complete [2023-10-31T21:39:15.551Z] 33b1e0a273af: Verifying Checksum [2023-10-31T21:39:15.551Z] 33b1e0a273af: Download complete [2023-10-31T21:39:15.551Z] ec43610c2a17: Download complete [2023-10-31T21:39:15.551Z] 5d3b04190fa2: Verifying Checksum [2023-10-31T21:39:15.551Z] 5d3b04190fa2: Download complete [2023-10-31T21:39:15.811Z] 5eb5b503b376: Verifying Checksum [2023-10-31T21:39:15.812Z] 5eb5b503b376: Download complete [2023-10-31T21:39:16.376Z] 2f39f015ded8: Download complete [2023-10-31T21:39:16.945Z] 5eb5b503b376: Pull complete [2023-10-31T21:39:17.204Z] 5c69ac0246d0: Pull complete [2023-10-31T21:39:17.771Z] ec43610c2a17: Pull complete [2023-10-31T21:39:18.030Z] 3a2ae6a8a46f: Pull complete [2023-10-31T21:39:18.291Z] 33b1e0a273af: Pull complete [2023-10-31T21:39:18.550Z] 5d3b04190fa2: Pull complete [2023-10-31T21:39:23.815Z] 2f39f015ded8: Pull complete [2023-10-31T21:39:23.815Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-31T21:39:23.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:39:23.815Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:39:24.160Z] prd-ubuntu20.04-docker-8c-8g-15643 does not seem to be running inside a container [2023-10-31T21:39:24.198Z] $ 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-1532 -v /w/workspace/gexfoundry_device-sdk-go_PR-1532:/w/workspace/gexfoundry_device-sdk-go_PR-1532:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1532@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-10-31T21:39:38.567Z] $ docker top 3021e49c91ba613105b2223e9941c7fb093c1c4f3e4a1ec9459792ef85c697e9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:39:39.023Z] ---> job-cost.sh [2023-10-31T21:39:39.023Z] lf-activate-venv: SKIPPING [2023-10-31T21:39:39.023Z] INFO: No Stack... [2023-10-31T21:39:39.292Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T21:39:39.551Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T21:39:39.870Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1532/archives/cost.csv [2023-10-31T21:39:39.870Z] + cut -d, -f6 [Pipeline] lock [2023-10-31T21:39:39.914Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1532-1-stack-cost] [2023-10-31T21:39:39.919Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1532-1-stack-cost] did not exist. Created. [2023-10-31T21:39:39.919Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1532-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T21:39:40.321Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-31T21:39:40.400Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T21:39:40.441Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1532-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T21:39:40.527Z] $ docker stop --time=1 3021e49c91ba613105b2223e9941c7fb093c1c4f3e4a1ec9459792ef85c697e9 [2023-10-31T21:39:41.822Z] $ docker rm -f --volumes 3021e49c91ba613105b2223e9941c7fb093c1c4f3e4a1ec9459792ef85c697e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-31T21:39:42.432Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15657 in /w/workspace/gexfoundry_device-sdk-go_PR-1532 [Pipeline] { [Pipeline] ws [2023-10-31T21:39:42.495Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-10-31T21:39:42.582Z] The recommended git tool is: git [2023-10-31T21:39:50.561Z] using credential edgex-jenkins-ssh [2023-10-31T21:39:50.594Z] Cloning the remote Git repository [2023-10-31T21:39:50.673Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-31T21:39:50.828Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-10-31T21:39:51.063Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-31T21:39:51.064Z] > git --version # timeout=10 [2023-10-31T21:39:51.099Z] > git --version # 'git version 2.25.1' [2023-10-31T21:39:51.103Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:39:51.342Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-31T21:39:53.436Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-31T21:39:53.466Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-31T21:39:55.530Z] Merging remotes/origin/main commit abc21ca26102b759b02d11fb71eec9f0d2267cdf into PR head commit d30a68bf2de75389605c04efcf476c17a3bf0d63 [2023-10-31T21:39:55.921Z] Merge succeeded, producing d30a68bf2de75389605c04efcf476c17a3bf0d63 [2023-10-31T21:39:55.923Z] Checking out Revision d30a68bf2de75389605c04efcf476c17a3bf0d63 (PR-1532) [2023-10-31T21:39:54.765Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-31T21:39:54.824Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-31T21:39:54.826Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:39:54.848Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1532/head:refs/remotes/origin/PR-1532 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-31T21:39:55.565Z] > git config core.sparsecheckout # timeout=10 [2023-10-31T21:39:55.667Z] > git checkout -f d30a68bf2de75389605c04efcf476c17a3bf0d63 # timeout=10 [2023-10-31T21:39:55.800Z] > git remote # timeout=10 [2023-10-31T21:39:55.824Z] > git config --get remote.origin.url # timeout=10 [2023-10-31T21:39:55.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-31T21:39:55.868Z] > git merge abc21ca26102b759b02d11fb71eec9f0d2267cdf # timeout=10 [2023-10-31T21:39:55.903Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-31T21:39:55.932Z] > git config core.sparsecheckout # timeout=10 [2023-10-31T21:39:55.949Z] > git checkout -f d30a68bf2de75389605c04efcf476c17a3bf0d63 # timeout=10 [2023-10-31T21:39:56.596Z] Commit message: "build(deps): bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" [2023-10-31T21:39:56.667Z] > git --version # timeout=10 [2023-10-31T21:39:56.683Z] > git --version # 'git version 2.25.1' [2023-10-31T21:39:56.709Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:39:57.919Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-31T21:39:57.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-31T21:39:57.920Z] Dload Upload Total Spent Left Speed [2023-10-31T21:39:57.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2023-10-31T21:39:58.580Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-31T21:39:58.952Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-31T21:39:58.952Z] + sudo tee /etc/docker/daemon.new [2023-10-31T21:39:58.952Z] { [2023-10-31T21:39:58.952Z] "registry-mirrors": [ [2023-10-31T21:39:58.952Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-31T21:39:58.952Z] ], [2023-10-31T21:39:58.952Z] "bip": "10.250.0.254/24", [2023-10-31T21:39:58.952Z] "hosts": [ [2023-10-31T21:39:58.952Z] "tcp://0.0.0.0:5555", [2023-10-31T21:39:58.952Z] "unix:///var/run/docker.sock" [2023-10-31T21:39:58.952Z] ], [2023-10-31T21:39:58.952Z] "mtu": 1458, [2023-10-31T21:39:58.952Z] "selinux-enabled": true, [2023-10-31T21:39:58.952Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-31T21:39:58.952Z] } [Pipeline] sh [2023-10-31T21:39:59.326Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-31T21:39:59.717Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:40:18.111Z] provisioning config files... [2023-10-31T21:40:18.152Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10622829790164080011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:40:18.589Z] ---> docker-login.sh [2023-10-31T21:40:18.589Z] nexus3.edgexfoundry.org:10001 [2023-10-31T21:40:19.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:40:19.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:40:19.457Z] Configure a credential helper to remove this warning. See [2023-10-31T21:40:19.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:40:19.457Z] [2023-10-31T21:40:19.457Z] Login Succeeded [2023-10-31T21:40:19.457Z] nexus3.edgexfoundry.org:10002 [2023-10-31T21:40:19.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:40:19.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:40:19.744Z] Configure a credential helper to remove this warning. See [2023-10-31T21:40:19.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:40:19.744Z] [2023-10-31T21:40:19.744Z] Login Succeeded [2023-10-31T21:40:19.744Z] nexus3.edgexfoundry.org:10003 [2023-10-31T21:40:20.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:40:20.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:40:20.404Z] Configure a credential helper to remove this warning. See [2023-10-31T21:40:20.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:40:20.404Z] [2023-10-31T21:40:20.404Z] Login Succeeded [2023-10-31T21:40:20.404Z] nexus3.edgexfoundry.org:10004 [2023-10-31T21:40:20.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:40:20.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:40:20.683Z] Configure a credential helper to remove this warning. See [2023-10-31T21:40:20.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:40:20.683Z] [2023-10-31T21:40:20.683Z] Login Succeeded [2023-10-31T21:40:20.683Z] docker.io [2023-10-31T21:40:20.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-31T21:40:21.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-31T21:40:21.559Z] Configure a credential helper to remove this warning. See [2023-10-31T21:40:21.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-31T21:40:21.559Z] [2023-10-31T21:40:21.559Z] Login Succeeded [2023-10-31T21:40:21.559Z] ---> docker-login.sh ends [Pipeline] } [2023-10-31T21:40:21.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-31T21:40:22.220Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:40:22.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-31T21:40:22.322Z] ========================================================= [2023-10-31T21:40:22.322Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-31T21:40:22.322Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:40:22.853Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-31T21:40:23.469Z] Sending build context to Docker daemon 6.024MB [2023-10-31T21:40:23.469Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:40:23.469Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-31T21:40:23.744Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-31T21:40:23.744Z] 9fda8d8052c6: Pulling fs layer [2023-10-31T21:40:23.744Z] 5d54e960e981: Pulling fs layer [2023-10-31T21:40:23.744Z] c4a7e357bf2a: Pulling fs layer [2023-10-31T21:40:23.744Z] f0e02332f6b5: Pulling fs layer [2023-10-31T21:40:23.744Z] cefa15bbcfad: Pulling fs layer [2023-10-31T21:40:23.744Z] 17808c966233: Pulling fs layer [2023-10-31T21:40:23.744Z] f4c1fc716caa: Pulling fs layer [2023-10-31T21:40:23.744Z] cefa15bbcfad: Waiting [2023-10-31T21:40:23.744Z] 17808c966233: Waiting [2023-10-31T21:40:23.744Z] f0e02332f6b5: Waiting [2023-10-31T21:40:23.744Z] f4c1fc716caa: Waiting [2023-10-31T21:40:23.744Z] 9fda8d8052c6: Verifying Checksum [2023-10-31T21:40:23.744Z] 9fda8d8052c6: Download complete [2023-10-31T21:40:24.026Z] f0e02332f6b5: Verifying Checksum [2023-10-31T21:40:24.026Z] f0e02332f6b5: Download complete [2023-10-31T21:40:24.026Z] 5d54e960e981: Verifying Checksum [2023-10-31T21:40:24.026Z] 5d54e960e981: Download complete [2023-10-31T21:40:24.026Z] cefa15bbcfad: Download complete [2023-10-31T21:40:25.019Z] f4c1fc716caa: Verifying Checksum [2023-10-31T21:40:25.019Z] f4c1fc716caa: Download complete [2023-10-31T21:40:25.291Z] 9fda8d8052c6: Pull complete [2023-10-31T21:40:26.269Z] c4a7e357bf2a: Verifying Checksum [2023-10-31T21:40:26.269Z] c4a7e357bf2a: Download complete [2023-10-31T21:40:26.540Z] 5d54e960e981: Pull complete [2023-10-31T21:40:27.516Z] 17808c966233: Verifying Checksum [2023-10-31T21:40:39.952Z] c4a7e357bf2a: Pull complete [2023-10-31T21:40:40.224Z] f0e02332f6b5: Pull complete [2023-10-31T21:40:40.495Z] cefa15bbcfad: Pull complete [2023-10-31T21:40:50.701Z] 17808c966233: Pull complete [2023-10-31T21:40:52.126Z] f4c1fc716caa: Pull complete [2023-10-31T21:40:52.126Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-31T21:40:52.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-31T21:40:52.126Z] ---> ea914061e18c [2023-10-31T21:40:52.126Z] Step 3/10 : ARG MAKE=make build [2023-10-31T21:40:54.769Z] ---> Running in a96590f04071 [2023-10-31T21:40:54.769Z] Removing intermediate container a96590f04071 [2023-10-31T21:40:54.769Z] ---> c2b81348cb3f [2023-10-31T21:40:54.769Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-31T21:40:55.040Z] ---> Running in c028b67ee6a3 [2023-10-31T21:40:55.313Z] Removing intermediate container c028b67ee6a3 [2023-10-31T21:40:55.313Z] ---> 4c45a242a38a [2023-10-31T21:40:55.313Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-31T21:40:55.585Z] ---> Running in adac6fba09a6 [2023-10-31T21:40:55.865Z] Removing intermediate container adac6fba09a6 [2023-10-31T21:40:55.865Z] ---> 8203752210f4 [2023-10-31T21:40:55.865Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-31T21:40:56.136Z] ---> Running in a0a3dcbe23d1 [2023-10-31T21:40:57.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T21:40:57.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T21:40:59.396Z] OK: 266 MiB in 52 packages [2023-10-31T21:41:00.421Z] Removing intermediate container a0a3dcbe23d1 [2023-10-31T21:41:00.421Z] ---> 0538f687e703 [2023-10-31T21:41:00.421Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-31T21:41:01.033Z] ---> f399ef2fed8b [2023-10-31T21:41:01.033Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:41:01.308Z] ---> Running in 7fd2e82d30f4 [2023-10-31T21:42:23.052Z] Removing intermediate container 7fd2e82d30f4 [2023-10-31T21:42:23.052Z] ---> 62fe2cddf36e [2023-10-31T21:42:23.052Z] Step 9/10 : COPY . . [2023-10-31T21:42:23.052Z] ---> 7c0502b8dd79 [2023-10-31T21:42:23.052Z] Step 10/10 : RUN ${MAKE} [2023-10-31T21:42:23.052Z] ---> Running in e16477368265 [2023-10-31T21:42:23.052Z] noop [2023-10-31T21:42:23.644Z] Removing intermediate container e16477368265 [2023-10-31T21:42:23.644Z] ---> 542c0ddacbeb [2023-10-31T21:42:23.644Z] Successfully built 542c0ddacbeb [2023-10-31T21:42:23.644Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:42:24.149Z] + docker inspect -f . ci-base-image-arm64 [2023-10-31T21:42:24.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:42:24.523Z] prd-ubuntu20.04-docker-arm64-4c-16g-15657 does not seem to be running inside a container [2023-10-31T21:42:24.618Z] $ 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-10-31T21:42:26.032Z] $ docker top 5df5edcdfda9ea6648fa458dd00af4c2d2828323fddcbce1b99a519b4e17bd3c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:42:26.998Z] + go version [2023-10-31T21:42:26.999Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-31T21:42:27.039Z] $ docker stop --time=1 5df5edcdfda9ea6648fa458dd00af4c2d2828323fddcbce1b99a519b4e17bd3c [2023-10-31T21:42:28.764Z] $ docker rm -f --volumes 5df5edcdfda9ea6648fa458dd00af4c2d2828323fddcbce1b99a519b4e17bd3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:42:29.686Z] + docker inspect -f . ci-base-image-arm64 [2023-10-31T21:42:29.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:42:30.006Z] prd-ubuntu20.04-docker-arm64-4c-16g-15657 does not seem to be running inside a container [2023-10-31T21:42:30.096Z] $ 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-10-31T21:42:31.553Z] $ docker top c63f6ba694efe092c48bbb7697268bab9063322dce1d225b16a5522749b960da -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:42:32.521Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-31T21:42:33.162Z] + make test [2023-10-31T21:42:33.162Z] go test -race -coverprofile=coverage.out ./... [2023-10-31T21:43:29.648Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-31T21:45:51.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-31T21:45:51.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-31T21:45:51.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-31T21:45:51.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-31T21:45:51.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-31T21:45:59.795Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.232s coverage: 27.6% of statements [2023-10-31T21:46:09.916Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.305s coverage: 81.5% of statements [2023-10-31T21:46:20.107Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-31T21:46:20.107Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-31T21:46:21.084Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.510s coverage: 86.0% of statements [2023-10-31T21:46:27.810Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-31T21:46:29.238Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.586s coverage: 71.8% of statements [2023-10-31T21:46:32.626Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.322s coverage: 14.4% of statements [2023-10-31T21:46:36.004Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-31T21:46:36.004Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-31T21:46:36.275Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.140s coverage: 45.9% of statements [2023-10-31T21:46:37.714Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.446s coverage: 68.5% of statements [2023-10-31T21:46:42.009Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.503s coverage: 89.2% of statements [2023-10-31T21:46:42.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-31T21:46:44.057Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.301s coverage: 5.5% of statements [2023-10-31T21:46:45.035Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-31T21:46:45.035Z] GO111MODULE=on go vet ./... [2023-10-31T21:49:21.914Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-31T21:49:21.914Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-31T21:49:21.914Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-31T21:49:21.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-31T21:49:21.986Z] $ docker stop --time=1 c63f6ba694efe092c48bbb7697268bab9063322dce1d225b16a5522749b960da [2023-10-31T21:49:24.069Z] $ docker rm -f --volumes c63f6ba694efe092c48bbb7697268bab9063322dce1d225b16a5522749b960da [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-31T21:49:26.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-31T21:49:26.081Z] Warning: overwriting stash ‘coverage-report’ [2023-10-31T21:49:26.947Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-31T21:49:27.698Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-31T21:49:28.059Z] + ls -al . [2023-10-31T21:49:28.059Z] total 300 [2023-10-31T21:49:28.059Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 31 21:42 . [2023-10-31T21:49:28.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:39 .. [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 31 21:39 .dockerignore [2023-10-31T21:49:28.059Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:39 .git [2023-10-31T21:49:28.059Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:39 .github [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 31 21:39 .gitignore [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 31 21:39 .golangci.yml [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 31 21:39 CHANGELOG.md [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:39 GOVERNANCE.md [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 31 21:39 Jenkinsfile [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 31 21:39 LICENSE [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 31 21:39 Makefile [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 31 21:39 OWNERS.md [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 31 21:39 README.md [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:36 VERSION [2023-10-31T21:49:28.059Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:39 bin [2023-10-31T21:49:28.059Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 31 21:46 coverage.out [2023-10-31T21:49:28.059Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 31 21:39 example [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 31 21:39 go.mod [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 31 21:39 go.sum [2023-10-31T21:49:28.059Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 31 21:39 internal [2023-10-31T21:49:28.059Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:39 openapi [2023-10-31T21:49:28.059Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 31 21:39 pkg [2023-10-31T21:49:28.059Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:39 snap [2023-10-31T21:49:28.059Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 31 21:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:49:28.552Z] + 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=d30a68bf2de75389605c04efcf476c17a3bf0d63 --label arch=arm64 --label version=0.0.0 . [2023-10-31T21:49:29.182Z] Sending build context to Docker daemon 6.147MB [2023-10-31T21:49:29.182Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-31T21:49:29.182Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-31T21:49:29.182Z] ---> 542c0ddacbeb [2023-10-31T21:49:29.182Z] Step 3/23 : ARG MAKE=make build [2023-10-31T21:49:29.465Z] ---> Running in 81fa0079e1e2 [2023-10-31T21:49:29.751Z] Removing intermediate container 81fa0079e1e2 [2023-10-31T21:49:29.751Z] ---> beeaa3d020fc [2023-10-31T21:49:29.751Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-31T21:49:30.022Z] ---> Running in f39f3c198d68 [2023-10-31T21:49:30.291Z] Removing intermediate container f39f3c198d68 [2023-10-31T21:49:30.291Z] ---> 941cd29bc7c9 [2023-10-31T21:49:30.291Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-31T21:49:30.562Z] ---> Running in dbe6222855c2 [2023-10-31T21:49:30.829Z] Removing intermediate container dbe6222855c2 [2023-10-31T21:49:30.829Z] ---> a4c35d555a4f [2023-10-31T21:49:30.829Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-31T21:49:31.097Z] ---> Running in e9e270b65dc9 [2023-10-31T21:49:32.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T21:49:32.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T21:49:33.659Z] OK: 266 MiB in 52 packages [2023-10-31T21:49:34.638Z] Removing intermediate container e9e270b65dc9 [2023-10-31T21:49:34.638Z] ---> 0f1d83da3bee [2023-10-31T21:49:34.638Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-31T21:49:35.241Z] ---> a602949c959e [2023-10-31T21:49:35.241Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-31T21:49:35.508Z] ---> Running in 76ac1d2855f6 [2023-10-31T21:49:37.530Z] Removing intermediate container 76ac1d2855f6 [2023-10-31T21:49:37.530Z] ---> 48dbfe0c3dc8 [2023-10-31T21:49:37.530Z] Step 9/23 : COPY . . [2023-10-31T21:49:38.959Z] ---> d90f08513d59 [2023-10-31T21:49:38.959Z] Step 10/23 : RUN ${MAKE} [2023-10-31T21:49:38.959Z] ---> Running in 41086e2277c1 [2023-10-31T21:49:39.924Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-31T21:51:46.637Z] Removing intermediate container 41086e2277c1 [2023-10-31T21:51:46.637Z] ---> 3f4ec48111d2 [2023-10-31T21:51:46.637Z] Step 11/23 : FROM alpine:3.18 [2023-10-31T21:51:46.637Z] 3.18: Pulling from library/alpine [2023-10-31T21:51:46.637Z] 579b34f0a95b: Pulling fs layer [2023-10-31T21:51:46.637Z] 579b34f0a95b: Verifying Checksum [2023-10-31T21:51:46.637Z] 579b34f0a95b: Download complete [2023-10-31T21:51:46.637Z] 579b34f0a95b: Pull complete [2023-10-31T21:51:46.637Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-31T21:51:46.637Z] Status: Downloaded newer image for alpine:3.18 [2023-10-31T21:51:46.637Z] ---> 3cc203321400 [2023-10-31T21:51:46.637Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-31T21:51:46.637Z] ---> Running in 3480c8c4a57e [2023-10-31T21:51:46.637Z] Removing intermediate container 3480c8c4a57e [2023-10-31T21:51:46.637Z] ---> 3b46f8109658 [2023-10-31T21:51:46.637Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-31T21:51:46.637Z] ---> Running in 2dfc2d7363e8 [2023-10-31T21:51:46.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-31T21:51:46.637Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-31T21:51:46.637Z] OK: 8 MiB in 15 packages [2023-10-31T21:51:46.637Z] Removing intermediate container 2dfc2d7363e8 [2023-10-31T21:51:46.637Z] ---> 0170387aeaf1 [2023-10-31T21:51:46.637Z] Step 14/23 : WORKDIR / [2023-10-31T21:51:46.637Z] ---> Running in aee43d677180 [2023-10-31T21:51:46.637Z] Removing intermediate container aee43d677180 [2023-10-31T21:51:46.637Z] ---> 86c691d313a9 [2023-10-31T21:51:46.637Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-31T21:51:46.637Z] ---> 92ac47c68535 [2023-10-31T21:51:46.637Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-31T21:51:46.637Z] ---> 8200340bd3a5 [2023-10-31T21:51:46.637Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-31T21:51:46.637Z] ---> 34c06199788d [2023-10-31T21:51:46.637Z] Step 18/23 : EXPOSE 59999 [2023-10-31T21:51:46.637Z] ---> Running in 1a83495165fa [2023-10-31T21:51:46.904Z] Removing intermediate container 1a83495165fa [2023-10-31T21:51:46.904Z] ---> efbf45802d69 [2023-10-31T21:51:46.904Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-31T21:51:46.904Z] ---> Running in a0c5ca2be8f3 [2023-10-31T21:51:47.169Z] Removing intermediate container a0c5ca2be8f3 [2023-10-31T21:51:47.169Z] ---> d2923eef7527 [2023-10-31T21:51:47.169Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-31T21:51:47.169Z] ---> Running in bd6e6c89fbdd [2023-10-31T21:51:47.452Z] Removing intermediate container bd6e6c89fbdd [2023-10-31T21:51:47.452Z] ---> a5f2e98dbade [2023-10-31T21:51:47.452Z] Step 21/23 : LABEL arch=arm64 [2023-10-31T21:51:47.722Z] ---> Running in d7b4165f9955 [2023-10-31T21:51:47.991Z] Removing intermediate container d7b4165f9955 [2023-10-31T21:51:47.991Z] ---> 5c182f979369 [2023-10-31T21:51:47.991Z] Step 22/23 : LABEL git_sha=d30a68bf2de75389605c04efcf476c17a3bf0d63 [2023-10-31T21:51:47.991Z] ---> Running in 10e88cfbc3e3 [2023-10-31T21:51:48.258Z] Removing intermediate container 10e88cfbc3e3 [2023-10-31T21:51:48.258Z] ---> d8802e10a40f [2023-10-31T21:51:48.258Z] Step 23/23 : LABEL version=0.0.0 [2023-10-31T21:51:48.258Z] ---> Running in 540b772cc0e5 [2023-10-31T21:51:52.506Z] Removing intermediate container 540b772cc0e5 [2023-10-31T21:51:52.506Z] ---> 2784ef47bb1a [2023-10-31T21:51:52.506Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-31T21:51:52.506Z] Successfully built 2784ef47bb1a [2023-10-31T21:51:52.506Z] 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-10-31T21:51:53.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:51:53.401Z] [2023-10-31T21:51:53.401Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:51:53.811Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:51:53.812Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-31T21:51:53.812Z] 8998bd30e6a1: Pulling fs layer [2023-10-31T21:51:53.812Z] 04944245beec: Pulling fs layer [2023-10-31T21:51:53.812Z] 699f458cf7ca: Pulling fs layer [2023-10-31T21:51:53.812Z] 765212b225bb: Pulling fs layer [2023-10-31T21:51:53.812Z] f23df028b6ca: Pulling fs layer [2023-10-31T21:51:53.812Z] d65c8cfc05b1: Pulling fs layer [2023-10-31T21:51:53.812Z] 2437ff75d9bd: Pulling fs layer [2023-10-31T21:51:53.812Z] 765212b225bb: Waiting [2023-10-31T21:51:53.812Z] f23df028b6ca: Waiting [2023-10-31T21:51:53.812Z] d65c8cfc05b1: Waiting [2023-10-31T21:51:53.812Z] 2437ff75d9bd: Waiting [2023-10-31T21:51:54.080Z] 04944245beec: Verifying Checksum [2023-10-31T21:51:54.080Z] 04944245beec: Download complete [2023-10-31T21:51:54.080Z] 765212b225bb: Verifying Checksum [2023-10-31T21:51:54.080Z] 765212b225bb: Download complete [2023-10-31T21:51:54.080Z] f23df028b6ca: Verifying Checksum [2023-10-31T21:51:54.080Z] f23df028b6ca: Download complete [2023-10-31T21:51:54.080Z] d65c8cfc05b1: Verifying Checksum [2023-10-31T21:51:54.080Z] d65c8cfc05b1: Download complete [2023-10-31T21:51:54.405Z] 699f458cf7ca: Verifying Checksum [2023-10-31T21:51:54.405Z] 699f458cf7ca: Download complete [2023-10-31T21:51:54.674Z] 8998bd30e6a1: Verifying Checksum [2023-10-31T21:51:54.674Z] 8998bd30e6a1: Download complete [2023-10-31T21:51:57.261Z] 2437ff75d9bd: Verifying Checksum [2023-10-31T21:51:57.261Z] 2437ff75d9bd: Download complete [2023-10-31T21:51:59.205Z] 8998bd30e6a1: Pull complete [2023-10-31T21:51:59.786Z] 04944245beec: Pull complete [2023-10-31T21:52:01.200Z] 699f458cf7ca: Pull complete [2023-10-31T21:52:01.467Z] 765212b225bb: Pull complete [2023-10-31T21:52:02.445Z] f23df028b6ca: Pull complete [2023-10-31T21:52:02.715Z] d65c8cfc05b1: Pull complete [2023-10-31T21:52:21.115Z] 2437ff75d9bd: Pull complete [2023-10-31T21:52:21.115Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-31T21:52:21.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-31T21:52:21.115Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:52:21.449Z] prd-ubuntu20.04-docker-arm64-4c-16g-15657 does not seem to be running inside a container [2023-10-31T21:52:21.522Z] $ 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-10-31T21:52:24.337Z] $ docker top 25a31959cec708b4f598643dc89ba5ca95da2e00116f55c68af6d0433153885d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:52:25.278Z] ---> job-cost.sh [2023-10-31T21:52:25.279Z] lf-activate-venv: SKIPPING [2023-10-31T21:52:25.279Z] INFO: No Stack... [2023-10-31T21:52:25.863Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-31T21:52:26.823Z] INFO: Archiving Costs [Pipeline] sh [2023-10-31T21:52:27.501Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv+ cut -d, -f6 [2023-10-31T21:52:27.502Z] [Pipeline] lock [2023-10-31T21:52:27.592Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1532-1-stack-cost] [2023-10-31T21:52:27.597Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1532-1-stack-cost] did not exist. Created. [2023-10-31T21:52:27.597Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1532-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-31T21:52:28.356Z] /w/workspace/device-sdk-go/1@tmp/durable-2cd883b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-31T21:52:29.051Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-31T21:52:29.089Z] Warning: overwriting stash ‘stack-cost’ [2023-10-31T21:52:29.182Z] Stashed 1 file(s) [Pipeline] } [2023-10-31T21:52:29.197Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1532-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-31T21:52:29.283Z] $ docker stop --time=1 25a31959cec708b4f598643dc89ba5ca95da2e00116f55c68af6d0433153885d [2023-10-31T21:52:30.852Z] $ docker rm -f --volumes 25a31959cec708b4f598643dc89ba5ca95da2e00116f55c68af6d0433153885d [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-10-31T21:52:32.007Z] provisioning config files... [2023-10-31T21:52:32.014Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp/config12025655212316879730tmp [Pipeline] { [Pipeline] sh [2023-10-31T21:52:32.367Z] + set +x [2023-10-31T21:52:32.367Z] + + curl -sbash https://codecov.io/bash -s [2023-10-31T21:52:32.367Z] -- [2023-10-31T21:52:32.367Z] [2023-10-31T21:52:32.367Z] _____ _ [2023-10-31T21:52:32.367Z] / ____| | | [2023-10-31T21:52:32.367Z] | | ___ __| | ___ ___ _____ __ [2023-10-31T21:52:32.367Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-31T21:52:32.367Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-31T21:52:32.367Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-31T21:52:32.367Z] Bash-1.0.6 [2023-10-31T21:52:32.367Z] [2023-10-31T21:52:32.367Z] [2023-10-31T21:52:32.367Z] ==> git version 2.25.1 found [2023-10-31T21:52:32.367Z] ==> 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-10-31T21:52:32.367Z] Release-Date: 2020-01-08 [2023-10-31T21:52:32.367Z] 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-10-31T21:52:32.367Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-31T21:52:32.367Z] ==> Jenkins CI detected. [2023-10-31T21:52:32.367Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1532 [2023-10-31T21:52:32.367Z] project root: . [2023-10-31T21:52:32.367Z] --> token set from env [2023-10-31T21:52:32.367Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-31T21:52:32.367Z] ==> Running gcov in . (disable via -X gcov) [2023-10-31T21:52:32.367Z] ==> Python coveragepy not found [2023-10-31T21:52:32.367Z] ==> Searching for coverage reports in: [2023-10-31T21:52:32.367Z] + . [2023-10-31T21:52:32.367Z] -> Found 1 reports [2023-10-31T21:52:32.367Z] ==> Detecting git/mercurial file structure [2023-10-31T21:52:32.367Z] ==> Reading reports [2023-10-31T21:52:32.367Z] + ./coverage.out bytes=122153 [2023-10-31T21:52:32.367Z] ==> Appending adjustments [2023-10-31T21:52:32.367Z] https://docs.codecov.io/docs/fixing-reports [2023-10-31T21:52:32.626Z] + Found adjustments [2023-10-31T21:52:32.626Z] ==> Gzipping contents [2023-10-31T21:52:32.884Z] 20K /tmp/codecov.krJl6P.gz [2023-10-31T21:52:32.884Z] ==> Uploading reports [2023-10-31T21:52:32.884Z] url: https://codecov.io [2023-10-31T21:52:32.884Z] query: branch=PR-1532&commit=d30a68bf2de75389605c04efcf476c17a3bf0d63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1532%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1532&job=&cmd_args= [2023-10-31T21:52:32.884Z] -> Pinging Codecov [2023-10-31T21:52:32.885Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1532&commit=d30a68bf2de75389605c04efcf476c17a3bf0d63&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1532%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1532&job=&cmd_args= [2023-10-31T21:52:33.143Z] -> Uploading to [2023-10-31T21:52:33.143Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-31/7E55EF52A471D76F132DFD9A03CDDE97/d30a68bf2de75389605c04efcf476c17a3bf0d63/21fc9588-a1e1-4a4a-9601-ef4299392996.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231031%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231031T215232Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60892b883890e039d1b605585ba42abced5e419a873a8a1e06511ee35b2863a9 [2023-10-31T21:52:33.143Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-31T21:52:33.143Z] Dload Upload Total Spent Left Speed [2023-10-31T21:52:33.401Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16715 0 0 100 16715 0 64536 --:--:-- --:--:-- --:--:-- 64536 [2023-10-31T21:52:33.401Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d30a68bf2de75389605c04efcf476c17a3bf0d63 [Pipeline] } [2023-10-31T21:52:33.434Z] 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-10-31T21:52:35.485Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1532/archives ] [2023-10-31T21:52:35.486Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1532/archives [2023-10-31T21:52:35.486Z] total 16 [2023-10-31T21:52:35.486Z] drwxr-xr-x 3 root root 4096 Oct 31 21:39 . [2023-10-31T21:52:35.486Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 31 21:39 .. [2023-10-31T21:52:35.486Z] drwxr-xr-x 2 root root 4096 Oct 31 21:39 cost [2023-10-31T21:52:35.486Z] -rw-r--r-- 1 root root 86 Oct 31 21:39 cost.csv [2023-10-31T21:52:35.486Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1532/archives [2023-10-31T21:52:35.486Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1532/archives [2023-10-31T21:52:35.486Z] total 16 [2023-10-31T21:52:35.486Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:39 . [2023-10-31T21:52:35.486Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 31 21:39 .. [2023-10-31T21:52:35.486Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 21:39 cost [2023-10-31T21:52:35.486Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 31 21:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:52:35.816Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:52:36.755Z] ---> package-listing.sh [2023-10-31T21:52:36.755Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-31T21:52:36.755Z] ++ facter osfamily [2023-10-31T21:52:37.013Z] + OS_FAMILY=debian [2023-10-31T21:52:37.013Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1532 [2023-10-31T21:52:37.013Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-31T21:52:37.013Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-31T21:52:37.013Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-31T21:52:37.013Z] + PACKAGES=/tmp/packages_start.txt [2023-10-31T21:52:37.013Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1532 ']' [2023-10-31T21:52:37.013Z] + PACKAGES=/tmp/packages_end.txt [2023-10-31T21:52:37.013Z] + case "${OS_FAMILY}" in [2023-10-31T21:52:37.013Z] + dpkg -l [2023-10-31T21:52:37.013Z] + grep '^ii' [2023-10-31T21:52:37.013Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-31T21:52:37.013Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-31T21:52:37.013Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-31T21:52:37.013Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1532 ']' [2023-10-31T21:52:37.013Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1532/archives/ [2023-10-31T21:52:37.013Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1532/archives/ [Pipeline] echo [2023-10-31T21:52:37.060Z] 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-1532/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-31T21:52:37.368Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-31T21:52:38.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-31T21:52:38.146Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-31T21:52:38.299Z] prd-ubuntu20.04-docker-8c-8g-15643 does not seem to be running inside a container [2023-10-31T21:52:38.333Z] $ 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-1532/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-1532 -v /w/workspace/gexfoundry_device-sdk-go_PR-1532:/w/workspace/gexfoundry_device-sdk-go_PR-1532:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1532@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-31T21:52:38.987Z] $ docker top 64915d81926bbe6960fe3578e6eb12e062e0ac9476eb2de5a0904b0bb05fb1e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-31T21:52:39.395Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-31T21:52:39.714Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-31T21:52:40.038Z] + ls /var/log/sa-host [2023-10-31T21:52:40.038Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-31T21:52:40.181Z] provisioning config files... [2023-10-31T21:52:40.192Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1532@tmp/config13481319183629924303tmp [Pipeline] { [Pipeline] echo [2023-10-31T21:52:40.241Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:52:40.559Z] ---> create-netrc.sh [Pipeline] } [2023-10-31T21:52:40.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:52:41.004Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-31T21:52:41.047Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:52:41.361Z] ---> sudo-logs.sh [2023-10-31T21:52:41.361Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-31T21:52:41.450Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:52:41.763Z] ---> job-cost.sh [2023-10-31T21:52:41.764Z] lf-activate-venv: SKIPPING [2023-10-31T21:52:41.764Z] DEBUG: total: 0.2199999988079071 [2023-10-31T21:52:41.764Z] INFO: Retrieving Stack Cost... [2023-10-31T21:52:42.081Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-31T21:52:42.649Z] INFO: Archiving Costs [Pipeline] echo [2023-10-31T21:52:42.682Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-31T21:52:42.995Z] ---> logs-deploy.sh [2023-10-31T21:52:42.996Z] lf-activate-venv: SKIPPING [2023-10-31T21:52:42.996Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1532/1 [2023-10-31T21:52:42.996Z] INFO: archiving workspace using pattern(s): [2023-10-31T21:52:43.956Z] Archives upload complete. [2023-10-31T21:52:44.215Z] INFO: archiving logs to Nexus