Pull request #1517 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 526596b2a1c7dd5155db82aafa89415c2e504d1d+c9092965fc0e73fdbee605785b6ca16e2186cbeb (74afd165b5e170ff26f1fd229d9b5d6ea3e225c5) 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-ssh15443704792370898111.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-ssh3033997753296331777.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-1517/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-1517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2709025202002945494.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-1517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh185260485869152533.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-ssh18384294132630137900.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-1517/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-1517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2769711417112697898.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 Running on prd-ubuntu20.04-docker-8c-8g-6739 in /w/workspace/gexfoundry_device-sdk-go_PR-1517 [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-1517 # 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/1517/head:refs/remotes/origin/PR-1517 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c9092965fc0e73fdbee605785b6ca16e2186cbeb into PR head commit 526596b2a1c7dd5155db82aafa89415c2e504d1d Merge succeeded, producing 526596b2a1c7dd5155db82aafa89415c2e504d1d Checking out Revision 526596b2a1c7dd5155db82aafa89415c2e504d1d (PR-1517) > git config core.sparsecheckout # timeout=10 > git checkout -f 526596b2a1c7dd5155db82aafa89415c2e504d1d # 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 c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 526596b2a1c7dd5155db82aafa89415c2e504d1d # timeout=10 Commit message: "ci: add automated release workflow on tag creation" 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] { [Pipeline] timeout [2023-09-20T17:23:29.535Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T17:23:29.729Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T17:23:29.840Z] ========================================================= [2023-09-20T17:23:29.840Z] EdgeX Global Pipelines Version Info [2023-09-20T17:23:29.840Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:23:30.590Z] ------------------- [2023-09-20T17:23:30.590Z] stable info: [2023-09-20T17:23:30.590Z] ------------------- [2023-09-20T17:23:30.590Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T17:23:30.590Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:23:30.590Z] Message: update stable to v1.0.254 [2023-09-20T17:23:31.163Z] ------------------- [2023-09-20T17:23:31.163Z] experimental info: [2023-09-20T17:23:31.163Z] ------------------- [2023-09-20T17:23:31.163Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T17:23:31.163Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:23:31.163Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T17:23:31.468Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-20T17:23:31.512Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-20T17:23:31.557Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T17:23:31.600Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T17:23:31.658Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T17:23:31.705Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T17:23:31.744Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T17:23:31.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-20T17:23:31.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T17:23:31.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T17:23:31.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T17:23:31.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-20T17:23:32.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T17:23:32.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T17:23:32.101Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:23:32.152Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:23:32.192Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:23:32.241Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:23:32.289Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T17:23:32.334Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T17:23:32.374Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-20T17:23:32.433Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-20T17:23:32.478Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T17:23:32.517Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T17:23:32.558Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T17:23:32.599Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T17:23:32.642Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T17:23:32.688Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1517 [Pipeline] echo [2023-09-20T17:23:32.725Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1517 [Pipeline] echo [2023-09-20T17:23:32.769Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1517 [Pipeline] echo [2023-09-20T17:23:32.813Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 526596b2a1c7dd5155db82aafa89415c2e504d1d [Pipeline] echo [2023-09-20T17:23:32.861Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 526596b [Pipeline] echo [2023-09-20T17:23:32.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:23:33.019Z] provisioning config files... [2023-09-20T17:23:33.038Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/config8487125647899413691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:23:33.383Z] ---> docker-login.sh [2023-09-20T17:23:33.383Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:23:33.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:33.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:33.645Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:33.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:33.645Z] [2023-09-20T17:23:33.645Z] Login Succeeded [2023-09-20T17:23:33.645Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:23:33.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:33.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:33.905Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:33.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:33.905Z] [2023-09-20T17:23:33.905Z] Login Succeeded [2023-09-20T17:23:33.905Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:23:33.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:33.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:33.905Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:33.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:33.905Z] [2023-09-20T17:23:33.905Z] Login Succeeded [2023-09-20T17:23:33.905Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:23:33.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:34.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:34.166Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:34.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:34.166Z] [2023-09-20T17:23:34.166Z] Login Succeeded [2023-09-20T17:23:34.166Z] docker.io [2023-09-20T17:23:34.166Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:34.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:34.426Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:34.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:34.426Z] [2023-09-20T17:23:34.426Z] Login Succeeded [2023-09-20T17:23:34.426Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:23:34.451Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T17:23:35.093Z] + git rev-list -1 --merges 526596b2a1c7dd5155db82aafa89415c2e504d1d~1..526596b2a1c7dd5155db82aafa89415c2e504d1d [Pipeline] echo [2023-09-20T17:23:35.148Z] -----------> git rev-list -1 --merges 526596b2a1c7dd5155db82aafa89415c2e504d1d~1..526596b2a1c7dd5155db82aafa89415c2e504d1d 526596b2a1c7dd5155db82aafa89415c2e504d1d [false] [Pipeline] sh [2023-09-20T17:23:35.463Z] + git log --format=format:%s -1 526596b2a1c7dd5155db82aafa89415c2e504d1d [Pipeline] echo [2023-09-20T17:23:35.498Z] ========================================================= [2023-09-20T17:23:35.498Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T17:23:35.498Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:23:35.926Z] + git log --format=format:%s -1 526596b2a1c7dd5155db82aafa89415c2e504d1d [Pipeline] echo [2023-09-20T17:23:35.957Z] [semverPrep] GIT_COMMIT: 526596b2a1c7dd5155db82aafa89415c2e504d1d, Commit Message: ci: add automated release workflow on tag creation [Pipeline] echo [2023-09-20T17:23:35.991Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T17:23:36.361Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:23:36.361Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T17:23:36.361Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T17:23:36.361Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T17:23:36.361Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T17:23:36.361Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T17:23:36.361Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:23:36.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:23:36.786Z] [2023-09-20T17:23:36.786Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:23:37.177Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:23:37.178Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T17:23:37.178Z] b85a868b505f: Pulling fs layer [2023-09-20T17:23:37.178Z] e2be974225ed: Pulling fs layer [2023-09-20T17:23:37.178Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T17:23:37.178Z] 988bab9f4d93: Pulling fs layer [2023-09-20T17:23:37.178Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T17:23:37.178Z] eaf3925da568: Pulling fs layer [2023-09-20T17:23:37.178Z] bab4dde63d76: Pulling fs layer [2023-09-20T17:23:37.178Z] bde34c3a00c8: Pulling fs layer [2023-09-20T17:23:37.178Z] 988bab9f4d93: Waiting [2023-09-20T17:23:37.178Z] eaf3925da568: Waiting [2023-09-20T17:23:37.178Z] 1469e6f7b9e6: Waiting [2023-09-20T17:23:37.178Z] bab4dde63d76: Waiting [2023-09-20T17:23:37.178Z] b352a97aabf1: Pulling fs layer [2023-09-20T17:23:37.178Z] 4872d77fe225: Pulling fs layer [2023-09-20T17:23:37.178Z] b352a97aabf1: Waiting [2023-09-20T17:23:37.178Z] 5851b861e8e6: Pulling fs layer [2023-09-20T17:23:37.178Z] 5851b861e8e6: Waiting [2023-09-20T17:23:37.178Z] e2be974225ed: Verifying Checksum [2023-09-20T17:23:37.178Z] e2be974225ed: Download complete [2023-09-20T17:23:37.178Z] 988bab9f4d93: Verifying Checksum [2023-09-20T17:23:37.178Z] 988bab9f4d93: Download complete [2023-09-20T17:23:37.438Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T17:23:37.438Z] 339a4e72a1f5: Download complete [2023-09-20T17:23:37.438Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T17:23:37.438Z] 1469e6f7b9e6: Download complete [2023-09-20T17:23:37.438Z] eaf3925da568: Verifying Checksum [2023-09-20T17:23:37.438Z] eaf3925da568: Download complete [2023-09-20T17:23:37.438Z] bde34c3a00c8: Verifying Checksum [2023-09-20T17:23:37.438Z] bde34c3a00c8: Download complete [2023-09-20T17:23:37.438Z] b352a97aabf1: Download complete [2023-09-20T17:23:37.438Z] 4872d77fe225: Download complete [2023-09-20T17:23:37.438Z] 5851b861e8e6: Verifying Checksum [2023-09-20T17:23:37.438Z] 5851b861e8e6: Download complete [2023-09-20T17:23:37.438Z] b85a868b505f: Verifying Checksum [2023-09-20T17:23:37.438Z] b85a868b505f: Download complete [2023-09-20T17:23:37.698Z] bab4dde63d76: Verifying Checksum [2023-09-20T17:23:37.698Z] bab4dde63d76: Download complete [2023-09-20T17:23:38.635Z] b85a868b505f: Pull complete [2023-09-20T17:23:38.635Z] e2be974225ed: Pull complete [2023-09-20T17:23:39.202Z] 339a4e72a1f5: Pull complete [2023-09-20T17:23:39.202Z] 988bab9f4d93: Pull complete [2023-09-20T17:23:39.465Z] 1469e6f7b9e6: Pull complete [2023-09-20T17:23:39.465Z] eaf3925da568: Pull complete [2023-09-20T17:23:41.366Z] bab4dde63d76: Pull complete [2023-09-20T17:23:41.366Z] bde34c3a00c8: Pull complete [2023-09-20T17:23:41.628Z] b352a97aabf1: Pull complete [2023-09-20T17:23:41.628Z] 4872d77fe225: Pull complete [2023-09-20T17:23:41.628Z] 5851b861e8e6: Pull complete [2023-09-20T17:23:41.628Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T17:23:41.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:23:41.628Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:23:41.846Z] prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container [2023-09-20T17:23:41.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1517 -v /w/workspace/gexfoundry_device-sdk-go_PR-1517:/w/workspace/gexfoundry_device-sdk-go_PR-1517:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1517@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-devops/py-git-semver:0.1.4 cat [2023-09-20T17:23:44.556Z] $ docker top 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 -eo pid,comm [2023-09-20T17:23:44.611Z] 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-09-20T17:23:44.611Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:23:44.740Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:23:44.740Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:23:44.873Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:23:44.879Z] $ docker exec 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 ssh-agent [2023-09-20T17:23:44.976Z] SSH_AUTH_SOCK=/tmp/ssh-Gw4H5eHa5Yep/agent.32 [2023-09-20T17:23:44.976Z] SSH_AGENT_PID=39 [2023-09-20T17:23:44.982Z] Running ssh-add (command line suppressed) [2023-09-20T17:23:45.091Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/private_key_12227460688771599673.key (/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/private_key_12227460688771599673.key) [2023-09-20T17:23:45.103Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:23:45.429Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T17:23:45.460Z] $ docker exec --env ******** --env ******** 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 ssh-agent -k [2023-09-20T17:23:45.554Z] unset SSH_AUTH_SOCK; [2023-09-20T17:23:45.555Z] unset SSH_AGENT_PID; [2023-09-20T17:23:45.555Z] echo Agent pid 39 killed; [2023-09-20T17:23:45.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T17:23:45.646Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:23:45.646Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:23:45.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:23:45.759Z] $ docker exec 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 ssh-agent [2023-09-20T17:23:45.857Z] SSH_AUTH_SOCK=/tmp/ssh-pZr5qqxeP4OM/agent.71 [2023-09-20T17:23:45.857Z] SSH_AGENT_PID=77 [2023-09-20T17:23:45.861Z] Running ssh-add (command line suppressed) [2023-09-20T17:23:45.963Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/private_key_3988855799462624310.key (/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/private_key_3988855799462624310.key) [2023-09-20T17:23:45.975Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:23:46.307Z] + git semver init [2023-09-20T17:23:46.579Z] 2023-09-20 17:23:46,492 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T17:23:46.579Z] 2023-09-20 17:23:46,492 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver [2023-09-20T17:23:46.579Z] 2023-09-20 17:23:46,493 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver [2023-09-20T17:23:46.579Z] 2023-09-20 17:23:46,493 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1517, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:23:47.521Z] 2023-09-20 17:23:47,358 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517/.git/info/exclude [2023-09-20T17:23:47.521Z] 2023-09-20 17:23:47,358 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver/PR-1517 with force:False [2023-09-20T17:23:47.521Z] 2023-09-20 17:23:47,358 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver/PR-1517 [2023-09-20T17:23:47.521Z] 2023-09-20 17:23:47,363 [execute] INFO git cat-file --batch-check [2023-09-20T17:23:47.521Z] 2023-09-20 17:23:47,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:23:47.521Z] 2023-09-20 17:23:47,369 [execute] INFO git cat-file --batch [2023-09-20T17:23:47.521Z] 2023-09-20 17:23:47,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:23:47.521Z] 2023-09-20 17:23:47,374 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver/PR-1517 [2023-09-20T17:23:47.521Z] 0.0.0 [Pipeline] } [2023-09-20T17:23:47.553Z] $ docker exec --env ******** --env ******** 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 ssh-agent -k [2023-09-20T17:23:47.658Z] unset SSH_AUTH_SOCK; [2023-09-20T17:23:47.659Z] unset SSH_AGENT_PID; [2023-09-20T17:23:47.659Z] echo Agent pid 77 killed; [2023-09-20T17:23:47.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:23:48.101Z] + git semver [Pipeline] } [2023-09-20T17:23:48.404Z] $ docker stop --time=1 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 [2023-09-20T17:23:50.286Z] $ docker rm -f --volumes 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:23:50.689Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T17:23:50.942Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T17:23:50.959Z] [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-09-20T17:23:51.588Z] provisioning config files... [2023-09-20T17:23:51.599Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/config13238437813979833986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:23:51.941Z] ---> docker-login.sh [2023-09-20T17:23:51.941Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:23:51.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:51.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:51.941Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:51.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:51.941Z] [2023-09-20T17:23:51.941Z] Login Succeeded [2023-09-20T17:23:51.941Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:23:51.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:51.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:51.941Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:51.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:51.941Z] [2023-09-20T17:23:51.941Z] Login Succeeded [2023-09-20T17:23:51.941Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:23:52.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:52.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:52.202Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:52.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:52.202Z] [2023-09-20T17:23:52.202Z] Login Succeeded [2023-09-20T17:23:52.202Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:23:52.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:52.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:52.202Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:52.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:52.202Z] [2023-09-20T17:23:52.202Z] Login Succeeded [2023-09-20T17:23:52.202Z] docker.io [2023-09-20T17:23:52.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:23:52.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:23:52.463Z] Configure a credential helper to remove this warning. See [2023-09-20T17:23:52.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:23:52.463Z] [2023-09-20T17:23:52.463Z] Login Succeeded [2023-09-20T17:23:52.463Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:23:52.492Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:23:52.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:23:52.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:23:52.778Z] ========================================================= [2023-09-20T17:23:52.779Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T17:23:52.779Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:23:53.255Z] + 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-09-20T17:23:53.255Z] Sending build context to Docker daemon 11.18MB [2023-09-20T17:23:53.255Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:23:53.255Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T17:23:53.826Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T17:23:53.826Z] 7264a8db6415: Pulling fs layer [2023-09-20T17:23:53.826Z] c4d48a809fc2: Pulling fs layer [2023-09-20T17:23:53.826Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T17:23:53.826Z] ad3a456e5733: Pulling fs layer [2023-09-20T17:23:53.826Z] 33e27b845d1e: Pulling fs layer [2023-09-20T17:23:53.826Z] c68163c4e522: Pulling fs layer [2023-09-20T17:23:53.826Z] 33e27b845d1e: Waiting [2023-09-20T17:23:53.826Z] ad3a456e5733: Waiting [2023-09-20T17:23:53.826Z] 50da416c3ac9: Pulling fs layer [2023-09-20T17:23:53.826Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T17:23:53.826Z] c68163c4e522: Waiting [2023-09-20T17:23:53.826Z] 23d2d4c4bb30: Waiting [2023-09-20T17:23:53.826Z] 50da416c3ac9: Waiting [2023-09-20T17:23:53.826Z] c4d48a809fc2: Download complete [2023-09-20T17:23:53.826Z] ad3a456e5733: Verifying Checksum [2023-09-20T17:23:53.826Z] ad3a456e5733: Download complete [2023-09-20T17:23:53.826Z] 33e27b845d1e: Verifying Checksum [2023-09-20T17:23:53.826Z] 33e27b845d1e: Download complete [2023-09-20T17:23:53.826Z] 7264a8db6415: Download complete [2023-09-20T17:23:53.826Z] c68163c4e522: Download complete [2023-09-20T17:23:54.114Z] 7264a8db6415: Pull complete [2023-09-20T17:23:54.114Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T17:23:54.114Z] 23d2d4c4bb30: Download complete [2023-09-20T17:23:54.405Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T17:23:54.405Z] 4f1c88b9dad5: Download complete [2023-09-20T17:23:54.689Z] 50da416c3ac9: Verifying Checksum [2023-09-20T17:23:54.689Z] 50da416c3ac9: Download complete [2023-09-20T17:23:54.950Z] c4d48a809fc2: Pull complete [2023-09-20T17:23:58.229Z] 4f1c88b9dad5: Pull complete [2023-09-20T17:23:58.229Z] ad3a456e5733: Pull complete [2023-09-20T17:23:58.229Z] 33e27b845d1e: Pull complete [2023-09-20T17:23:58.229Z] c68163c4e522: Pull complete [2023-09-20T17:24:00.758Z] 50da416c3ac9: Pull complete [2023-09-20T17:24:00.758Z] 23d2d4c4bb30: Pull complete [2023-09-20T17:24:01.015Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T17:24:01.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T17:24:01.015Z] ---> 0786185ac409 [2023-09-20T17:24:01.015Z] Step 3/10 : ARG MAKE=make build [2023-09-20T17:24:05.207Z] ---> Running in 4c6b39c6d40c [2023-09-20T17:24:05.207Z] Removing intermediate container 4c6b39c6d40c [2023-09-20T17:24:05.207Z] ---> e5428b05a60f [2023-09-20T17:24:05.207Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-20T17:24:05.207Z] ---> Running in 4322f8813cd4 [2023-09-20T17:24:05.207Z] Removing intermediate container 4322f8813cd4 [2023-09-20T17:24:05.207Z] ---> f7277ff5130d [2023-09-20T17:24:05.207Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T17:24:05.207Z] ---> Running in 9c9c68d2702c [2023-09-20T17:24:05.207Z] Removing intermediate container 9c9c68d2702c [2023-09-20T17:24:05.207Z] ---> 37427e6d235e [2023-09-20T17:24:05.207Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-20T17:24:05.207Z] ---> Running in 23c3c73b180e [2023-09-20T17:24:05.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:05.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:24:05.725Z] OK: 264 MiB in 52 packages [2023-09-20T17:24:06.292Z] Removing intermediate container 23c3c73b180e [2023-09-20T17:24:06.292Z] ---> 9fa7a2e67466 [2023-09-20T17:24:06.292Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T17:24:06.292Z] ---> c70cc2049405 [2023-09-20T17:24:06.292Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:24:06.292Z] ---> Running in 35a07769add2 [2023-09-20T17:24:06.405Z] Still waiting to schedule task [2023-09-20T17:24:06.405Z] ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:24:06.405Z] ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:24:06.405Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6741’ is offline [2023-09-20T17:24:06.406Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6742’ is offline [2023-09-20T17:24:38.379Z] Removing intermediate container 35a07769add2 [2023-09-20T17:24:38.379Z] ---> 2008c7c4f46a [2023-09-20T17:24:38.379Z] Step 9/10 : COPY . . [2023-09-20T17:24:38.379Z] ---> c7eccd2ac02f [2023-09-20T17:24:38.379Z] Step 10/10 : RUN ${MAKE} [2023-09-20T17:24:38.379Z] ---> Running in 424257806bdf [2023-09-20T17:24:38.379Z] noop [2023-09-20T17:24:38.379Z] Removing intermediate container 424257806bdf [2023-09-20T17:24:38.379Z] ---> 98bc9b6aaf2f [2023-09-20T17:24:38.379Z] Successfully built 98bc9b6aaf2f [2023-09-20T17:24:38.379Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:24:38.834Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:24:38.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:24:38.997Z] prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container [2023-09-20T17:24:39.031Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1517 -v /w/workspace/gexfoundry_device-sdk-go_PR-1517:/w/workspace/gexfoundry_device-sdk-go_PR-1517:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T17:24:39.401Z] $ docker top 6deeb339124d669b4568dfb16b0717663db31b9cfa1d39ebccfd1c31eea908e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:24:39.788Z] + go version [2023-09-20T17:24:39.788Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T17:24:39.820Z] $ docker stop --time=1 6deeb339124d669b4568dfb16b0717663db31b9cfa1d39ebccfd1c31eea908e2 [2023-09-20T17:24:41.095Z] $ docker rm -f --volumes 6deeb339124d669b4568dfb16b0717663db31b9cfa1d39ebccfd1c31eea908e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:24:41.814Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:24:41.815Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:24:41.961Z] prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container [2023-09-20T17:24:41.991Z] $ 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-1517 -v /w/workspace/gexfoundry_device-sdk-go_PR-1517:/w/workspace/gexfoundry_device-sdk-go_PR-1517:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-20T17:24:42.349Z] $ docker top c67862a3857df49f4356e904bff40c46a78bca1bed3cf2398a6dfe2642c2316a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:24:42.737Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1517 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:24:43.095Z] + make test [2023-09-20T17:24:43.095Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T17:24:51.245Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-20T17:25:06.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-20T17:25:06.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-20T17:25:06.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-20T17:25:06.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-20T17:25:06.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-20T17:25:06.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-20T17:25:06.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-20T17:25:06.121Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements [2023-09-20T17:25:06.379Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.071s coverage: 80.2% of statements [2023-09-20T17:25:06.380Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.073s coverage: 86.0% of statements [2023-09-20T17:25:06.380Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-20T17:25:07.754Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T17:25:07.754Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T17:25:07.754Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 71.8% of statements [2023-09-20T17:25:07.754Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-20T17:25:11.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.066s coverage: 14.4% of statements [2023-09-20T17:25:11.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.106s coverage: 45.6% of statements [2023-09-20T17:25:11.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements [2023-09-20T17:25:11.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.115s coverage: 89.2% of statements [2023-09-20T17:25:11.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements [2023-09-20T17:25:29.118Z] GO111MODULE=on go vet ./... [2023-09-20T17:25:32.416Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:25:32.416Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:25:32.416Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:25:32.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:25:32.480Z] $ docker stop --time=1 c67862a3857df49f4356e904bff40c46a78bca1bed3cf2398a6dfe2642c2316a [2023-09-20T17:25:35.427Z] $ docker rm -f --volumes c67862a3857df49f4356e904bff40c46a78bca1bed3cf2398a6dfe2642c2316a [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:25:36.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:25:36.186Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T17:25:36.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:25:37.223Z] + ls -al . [2023-09-20T17:25:37.224Z] total 304 [2023-09-20T17:25:37.224Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 17:24 . [2023-09-20T17:25:37.224Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:23 .. [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:23 .dockerignore [2023-09-20T17:25:37.224Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:25 .git [2023-09-20T17:25:37.224Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:23 .github [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 17:23 .gitignore [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 17:23 .golangci.yml [2023-09-20T17:25:37.224Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:23 .semver [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 17:23 CHANGELOG.md [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:23 GOVERNANCE.md [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 17:23 Jenkinsfile [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 17:23 LICENSE [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 17:23 Makefile [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 17:23 OWNERS.md [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 17:23 README.md [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION [2023-09-20T17:25:37.224Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:23 bin [2023-09-20T17:25:37.224Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 17:25 coverage.out [2023-09-20T17:25:37.224Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 17:23 example [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 17:23 go.mod [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 17:23 go.sum [2023-09-20T17:25:37.224Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 17:23 internal [2023-09-20T17:25:37.224Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:23 openapi [2023-09-20T17:25:37.224Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 17:23 pkg [2023-09-20T17:25:37.224Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:23 snap [2023-09-20T17:25:37.224Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 17:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:25:37.615Z] + 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=526596b2a1c7dd5155db82aafa89415c2e504d1d --label arch=amd64 --label version=0.0.0 . [2023-09-20T17:25:37.615Z] Sending build context to Docker daemon 11.3MB [2023-09-20T17:25:37.615Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:25:37.615Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-20T17:25:37.615Z] ---> 98bc9b6aaf2f [2023-09-20T17:25:37.615Z] Step 3/23 : ARG MAKE=make build [2023-09-20T17:25:37.875Z] ---> Running in 82352a1cb4e6 [2023-09-20T17:25:37.875Z] Removing intermediate container 82352a1cb4e6 [2023-09-20T17:25:37.875Z] ---> e9ccd66cfb64 [2023-09-20T17:25:37.875Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-20T17:25:37.875Z] ---> Running in ccfaa2d46245 [2023-09-20T17:25:37.875Z] Removing intermediate container ccfaa2d46245 [2023-09-20T17:25:37.875Z] ---> e675370abc6a [2023-09-20T17:25:37.875Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T17:25:38.140Z] ---> Running in aaef96b0901c [2023-09-20T17:25:38.140Z] Removing intermediate container aaef96b0901c [2023-09-20T17:25:38.140Z] ---> 217434f78805 [2023-09-20T17:25:38.140Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-20T17:25:38.140Z] ---> Running in d7bd7674211b [2023-09-20T17:25:38.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:25:38.399Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:25:38.658Z] OK: 264 MiB in 52 packages [2023-09-20T17:25:39.225Z] Removing intermediate container d7bd7674211b [2023-09-20T17:25:39.225Z] ---> a9076c80bcb7 [2023-09-20T17:25:39.225Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-20T17:25:39.225Z] ---> 2aaf0ca38fb5 [2023-09-20T17:25:39.225Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:25:39.225Z] ---> Running in 0fb2b08467ed [2023-09-20T17:25:39.791Z] Removing intermediate container 0fb2b08467ed [2023-09-20T17:25:39.791Z] ---> ab048b100ff8 [2023-09-20T17:25:39.791Z] Step 9/23 : COPY . . [2023-09-20T17:25:40.361Z] ---> 6b71f264d4b4 [2023-09-20T17:25:40.361Z] Step 10/23 : RUN ${MAKE} [2023-09-20T17:25:40.361Z] ---> Running in e0faa69577b3 [2023-09-20T17:25:40.621Z] 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-09-20T17:26:02.556Z] Removing intermediate container e0faa69577b3 [2023-09-20T17:26:02.556Z] ---> 3136f89bf4f2 [2023-09-20T17:26:02.556Z] Step 11/23 : FROM alpine:3.18 [2023-09-20T17:26:02.556Z] 3.18: Pulling from library/alpine [2023-09-20T17:26:02.556Z] 7264a8db6415: Already exists [2023-09-20T17:26:02.556Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:26:02.556Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:26:02.556Z] ---> 7e01a0d0a1dc [2023-09-20T17:26:02.556Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-20T17:26:02.556Z] ---> Running in 2fee881a8192 [2023-09-20T17:26:02.556Z] Removing intermediate container 2fee881a8192 [2023-09-20T17:26:02.556Z] ---> 18c53f242f8e [2023-09-20T17:26:02.556Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-20T17:26:02.556Z] ---> Running in c932e188abf7 [2023-09-20T17:26:02.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:26:02.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:26:02.556Z] OK: 7 MiB in 15 packages [2023-09-20T17:26:02.556Z] Removing intermediate container c932e188abf7 [2023-09-20T17:26:02.556Z] ---> 24a68f0a3407 [2023-09-20T17:26:02.556Z] Step 14/23 : WORKDIR / [2023-09-20T17:26:02.556Z] ---> Running in b82d1eb70f48 [2023-09-20T17:26:02.556Z] Removing intermediate container b82d1eb70f48 [2023-09-20T17:26:02.556Z] ---> 65b73a4e60cc [2023-09-20T17:26:02.556Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-20T17:26:02.556Z] ---> 1c7a20bca554 [2023-09-20T17:26:02.556Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-20T17:26:02.556Z] ---> 641eddac0d03 [2023-09-20T17:26:02.556Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-20T17:26:02.556Z] ---> c67e9cc6550e [2023-09-20T17:26:02.556Z] Step 18/23 : EXPOSE 59999 [2023-09-20T17:26:02.556Z] ---> Running in 881116cfc6f0 [2023-09-20T17:26:02.556Z] Removing intermediate container 881116cfc6f0 [2023-09-20T17:26:02.556Z] ---> c570085921fb [2023-09-20T17:26:02.556Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-20T17:26:02.815Z] ---> Running in 9cbdb33a5ccc [2023-09-20T17:26:02.815Z] Removing intermediate container 9cbdb33a5ccc [2023-09-20T17:26:02.815Z] ---> 3dfe8493bffa [2023-09-20T17:26:02.815Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T17:26:02.815Z] ---> Running in e6be4449dc0f [2023-09-20T17:26:02.815Z] Removing intermediate container e6be4449dc0f [2023-09-20T17:26:02.815Z] ---> c13805b3af54 [2023-09-20T17:26:02.815Z] Step 21/23 : LABEL arch=amd64 [2023-09-20T17:26:02.815Z] ---> Running in 42b8a99f5d0c [2023-09-20T17:26:03.073Z] Removing intermediate container 42b8a99f5d0c [2023-09-20T17:26:03.073Z] ---> 84cc3c0e80d4 [2023-09-20T17:26:03.073Z] Step 22/23 : LABEL git_sha=526596b2a1c7dd5155db82aafa89415c2e504d1d [2023-09-20T17:26:03.073Z] ---> Running in b85e82e88e3b [2023-09-20T17:26:03.073Z] Removing intermediate container b85e82e88e3b [2023-09-20T17:26:03.073Z] ---> 4b934e4baad1 [2023-09-20T17:26:03.073Z] Step 23/23 : LABEL version=0.0.0 [2023-09-20T17:26:03.073Z] ---> Running in d544d7a68a86 [2023-09-20T17:26:03.073Z] Removing intermediate container d544d7a68a86 [2023-09-20T17:26:03.073Z] ---> 78721cfaa753 [2023-09-20T17:26:03.073Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:26:03.073Z] Successfully built 78721cfaa753 [2023-09-20T17:26:03.073Z] 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-09-20T17:26:03.921Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:26:03.921Z] [2023-09-20T17:26:03.921Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:26:04.302Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:26:04.302Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T17:26:04.302Z] 5eb5b503b376: Pulling fs layer [2023-09-20T17:26:04.302Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T17:26:04.302Z] ec43610c2a17: Pulling fs layer [2023-09-20T17:26:04.302Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T17:26:04.302Z] 33b1e0a273af: Pulling fs layer [2023-09-20T17:26:04.302Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T17:26:04.302Z] 2f39f015ded8: Pulling fs layer [2023-09-20T17:26:04.302Z] 33b1e0a273af: Waiting [2023-09-20T17:26:04.302Z] 5d3b04190fa2: Waiting [2023-09-20T17:26:04.302Z] 2f39f015ded8: Waiting [2023-09-20T17:26:04.302Z] 3a2ae6a8a46f: Waiting [2023-09-20T17:26:04.302Z] 5c69ac0246d0: Verifying Checksum [2023-09-20T17:26:04.302Z] 5c69ac0246d0: Download complete [2023-09-20T17:26:04.302Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T17:26:04.302Z] 3a2ae6a8a46f: Download complete [2023-09-20T17:26:04.302Z] 33b1e0a273af: Verifying Checksum [2023-09-20T17:26:04.302Z] 33b1e0a273af: Download complete [2023-09-20T17:26:04.302Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T17:26:04.302Z] 5d3b04190fa2: Download complete [2023-09-20T17:26:04.302Z] ec43610c2a17: Verifying Checksum [2023-09-20T17:26:04.302Z] ec43610c2a17: Download complete [2023-09-20T17:26:04.560Z] 5eb5b503b376: Verifying Checksum [2023-09-20T17:26:04.560Z] 5eb5b503b376: Download complete [2023-09-20T17:26:05.122Z] 2f39f015ded8: Download complete [2023-09-20T17:26:05.689Z] 5eb5b503b376: Pull complete [2023-09-20T17:26:05.947Z] 5c69ac0246d0: Pull complete [2023-09-20T17:26:06.519Z] ec43610c2a17: Pull complete [2023-09-20T17:26:06.519Z] 3a2ae6a8a46f: Pull complete [2023-09-20T17:26:06.777Z] 33b1e0a273af: Pull complete [2023-09-20T17:26:06.777Z] 5d3b04190fa2: Pull complete [2023-09-20T17:26:10.971Z] 2f39f015ded8: Pull complete [2023-09-20T17:26:11.231Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T17:26:11.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:26:11.231Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:26:11.465Z] prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container [2023-09-20T17:26:11.495Z] $ 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-1517 -v /w/workspace/gexfoundry_device-sdk-go_PR-1517:/w/workspace/gexfoundry_device-sdk-go_PR-1517:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T17:26:14.624Z] $ docker top 39a863189bd973718c2eb8b91c66c500a96ef8dccd80c9de8fd10699674cf394 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:26:15.062Z] ---> job-cost.sh [2023-09-20T17:26:15.062Z] lf-activate-venv: SKIPPING [2023-09-20T17:26:15.062Z] INFO: No Stack... [2023-09-20T17:26:15.320Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:26:15.580Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:26:15.887Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives/cost.csv [2023-09-20T17:26:15.887Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:26:15.924Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] [2023-09-20T17:26:15.928Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] did not exist. Created. [2023-09-20T17:26:15.928Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:26:16.327Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T17:26:16.378Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:26:16.409Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:26:16.486Z] $ docker stop --time=1 39a863189bd973718c2eb8b91c66c500a96ef8dccd80c9de8fd10699674cf394 [2023-09-20T17:26:17.649Z] $ docker rm -f --volumes 39a863189bd973718c2eb8b91c66c500a96ef8dccd80c9de8fd10699674cf394 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T17:27:12.391Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6754 in /w/workspace/gexfoundry_device-sdk-go_PR-1517 [Pipeline] { [Pipeline] ws [2023-09-20T17:27:12.444Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-09-20T17:27:12.521Z] The recommended git tool is: git [2023-09-20T17:27:22.716Z] using credential edgex-jenkins-ssh [2023-09-20T17:27:22.740Z] Cloning the remote Git repository [2023-09-20T17:27:22.866Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T17:27:23.080Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-09-20T17:27:23.462Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T17:27:23.464Z] > git --version # timeout=10 [2023-09-20T17:27:23.515Z] > git --version # 'git version 2.25.1' [2023-09-20T17:27:23.519Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:27:23.943Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:27:26.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-20T17:27:26.275Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:27:27.829Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-20T17:27:27.896Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T17:27:27.898Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:27:28.643Z] Merging remotes/origin/main commit c9092965fc0e73fdbee605785b6ca16e2186cbeb into PR head commit 526596b2a1c7dd5155db82aafa89415c2e504d1d [2023-09-20T17:27:29.556Z] Merge succeeded, producing 526596b2a1c7dd5155db82aafa89415c2e504d1d [2023-09-20T17:27:29.557Z] Checking out Revision 526596b2a1c7dd5155db82aafa89415c2e504d1d (PR-1517) [2023-09-20T17:27:27.931Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1517/head:refs/remotes/origin/PR-1517 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-20T17:27:28.699Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:27:28.939Z] > git checkout -f 526596b2a1c7dd5155db82aafa89415c2e504d1d # timeout=10 [2023-09-20T17:27:29.197Z] > git remote # timeout=10 [2023-09-20T17:27:29.271Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T17:27:29.375Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:27:29.420Z] > git merge c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 [2023-09-20T17:27:29.505Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T17:27:29.574Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:27:29.622Z] > git checkout -f 526596b2a1c7dd5155db82aafa89415c2e504d1d # timeout=10 [2023-09-20T17:27:33.785Z] Commit message: "ci: add automated release workflow on tag creation" [2023-09-20T17:27:33.860Z] > git --version # timeout=10 [2023-09-20T17:27:33.875Z] > git --version # 'git version 2.25.1' [2023-09-20T17:27:33.899Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:27:35.103Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T17:27:35.103Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:27:35.103Z] Dload Upload Total Spent Left Speed [2023-09-20T17:27:35.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 148k 0 --:--:-- --:--:-- --:--:-- 148k [Pipeline] sh [2023-09-20T17:27:36.033Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T17:27:36.465Z] + sudo tee /etc/docker/daemon.new [2023-09-20T17:27:36.465Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T17:27:36.748Z] { [2023-09-20T17:27:36.748Z] "registry-mirrors": [ [2023-09-20T17:27:36.748Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T17:27:36.748Z] ], [2023-09-20T17:27:36.748Z] "bip": "10.250.0.254/24", [2023-09-20T17:27:36.748Z] "hosts": [ [2023-09-20T17:27:36.748Z] "tcp://0.0.0.0:5555", [2023-09-20T17:27:36.748Z] "unix:///var/run/docker.sock" [2023-09-20T17:27:36.748Z] ], [2023-09-20T17:27:36.748Z] "mtu": 1458, [2023-09-20T17:27:36.748Z] "selinux-enabled": true, [2023-09-20T17:27:36.748Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T17:27:36.748Z] } [Pipeline] sh [2023-09-20T17:27:37.123Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T17:27:37.552Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:27:56.217Z] provisioning config files... [2023-09-20T17:27:56.253Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13541406132345904552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:27:56.684Z] ---> docker-login.sh [2023-09-20T17:27:56.684Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:27:57.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:57.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:57.283Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:57.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:57.283Z] [2023-09-20T17:27:57.283Z] Login Succeeded [2023-09-20T17:27:57.283Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:27:57.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:57.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:57.883Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:57.883Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:57.883Z] [2023-09-20T17:27:57.883Z] Login Succeeded [2023-09-20T17:27:57.883Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:27:58.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:58.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:58.171Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:58.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:58.171Z] [2023-09-20T17:27:58.171Z] Login Succeeded [2023-09-20T17:27:58.171Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:27:58.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:58.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:58.832Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:58.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:58.832Z] [2023-09-20T17:27:58.832Z] Login Succeeded [2023-09-20T17:27:58.832Z] docker.io [2023-09-20T17:27:59.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:27:59.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:27:59.386Z] Configure a credential helper to remove this warning. See [2023-09-20T17:27:59.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:27:59.386Z] [2023-09-20T17:27:59.386Z] Login Succeeded [2023-09-20T17:27:59.386Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:27:59.420Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:27:59.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:27:59.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:27:59.993Z] ========================================================= [2023-09-20T17:27:59.993Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T17:27:59.993Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:28:00.521Z] + 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-09-20T17:28:01.128Z] Sending build context to Docker daemon 5.976MB [2023-09-20T17:28:01.128Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:28:01.128Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T17:28:01.128Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T17:28:01.128Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T17:28:01.128Z] 5d54e960e981: Pulling fs layer [2023-09-20T17:28:01.128Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T17:28:01.128Z] f0e02332f6b5: Pulling fs layer [2023-09-20T17:28:01.128Z] cefa15bbcfad: Pulling fs layer [2023-09-20T17:28:01.128Z] 17808c966233: Pulling fs layer [2023-09-20T17:28:01.128Z] f4c1fc716caa: Pulling fs layer [2023-09-20T17:28:01.128Z] f0e02332f6b5: Waiting [2023-09-20T17:28:01.128Z] cefa15bbcfad: Waiting [2023-09-20T17:28:01.128Z] 17808c966233: Waiting [2023-09-20T17:28:01.128Z] f4c1fc716caa: Waiting [2023-09-20T17:28:01.403Z] 5d54e960e981: Download complete [2023-09-20T17:28:01.403Z] f0e02332f6b5: Verifying Checksum [2023-09-20T17:28:01.403Z] f0e02332f6b5: Download complete [2023-09-20T17:28:01.403Z] cefa15bbcfad: Verifying Checksum [2023-09-20T17:28:01.403Z] cefa15bbcfad: Download complete [2023-09-20T17:28:01.403Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T17:28:01.403Z] 9fda8d8052c6: Download complete [2023-09-20T17:28:02.008Z] f4c1fc716caa: Verifying Checksum [2023-09-20T17:28:02.008Z] f4c1fc716caa: Download complete [2023-09-20T17:28:02.286Z] 9fda8d8052c6: Pull complete [2023-09-20T17:28:03.280Z] 5d54e960e981: Pull complete [2023-09-20T17:28:03.280Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T17:28:03.280Z] c4a7e357bf2a: Download complete [2023-09-20T17:28:04.269Z] 17808c966233: Verifying Checksum [2023-09-20T17:28:04.269Z] 17808c966233: Download complete [2023-09-20T17:28:16.672Z] c4a7e357bf2a: Pull complete [2023-09-20T17:28:16.672Z] f0e02332f6b5: Pull complete [2023-09-20T17:28:16.672Z] cefa15bbcfad: Pull complete [2023-09-20T17:28:22.081Z] 17808c966233: Pull complete [2023-09-20T17:28:23.512Z] f4c1fc716caa: Pull complete [2023-09-20T17:28:23.512Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T17:28:23.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T17:28:23.512Z] ---> ea914061e18c [2023-09-20T17:28:23.512Z] Step 3/10 : ARG MAKE=make build [2023-09-20T17:28:26.137Z] ---> Running in ccb45b6ab9c2 [2023-09-20T17:28:26.411Z] Removing intermediate container ccb45b6ab9c2 [2023-09-20T17:28:26.411Z] ---> 268e2ef19b2a [2023-09-20T17:28:26.411Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-20T17:28:26.411Z] ---> Running in 11d94d873080 [2023-09-20T17:28:27.009Z] Removing intermediate container 11d94d873080 [2023-09-20T17:28:27.009Z] ---> 98f307f6d86c [2023-09-20T17:28:27.009Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T17:28:27.009Z] ---> Running in ff9b0eaace60 [2023-09-20T17:28:27.285Z] Removing intermediate container ff9b0eaace60 [2023-09-20T17:28:27.285Z] ---> 0ca7a41c3f54 [2023-09-20T17:28:27.285Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-20T17:28:27.556Z] ---> Running in 85c0f3f3c0ba [2023-09-20T17:28:28.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:28:29.260Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:28:30.748Z] OK: 266 MiB in 52 packages [2023-09-20T17:28:31.759Z] Removing intermediate container 85c0f3f3c0ba [2023-09-20T17:28:31.759Z] ---> bcdaedf3a86c [2023-09-20T17:28:31.759Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T17:28:32.364Z] ---> 7a75c8dad019 [2023-09-20T17:28:32.364Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:28:32.647Z] ---> Running in c291bdbfb21b [2023-09-20T17:29:54.437Z] Removing intermediate container c291bdbfb21b [2023-09-20T17:29:54.437Z] ---> f979b5572f7c [2023-09-20T17:29:54.437Z] Step 9/10 : COPY . . [2023-09-20T17:29:54.437Z] ---> 04eb8d3e8f6b [2023-09-20T17:29:54.437Z] Step 10/10 : RUN ${MAKE} [2023-09-20T17:29:54.437Z] ---> Running in c7fc20eac77f [2023-09-20T17:29:54.437Z] noop [2023-09-20T17:29:54.437Z] Removing intermediate container c7fc20eac77f [2023-09-20T17:29:54.437Z] ---> 9d046bb39ad5 [2023-09-20T17:29:54.437Z] Successfully built 9d046bb39ad5 [2023-09-20T17:29:54.437Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:29:54.952Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:29:54.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:29:55.297Z] prd-ubuntu20.04-docker-arm64-4c-16g-6754 does not seem to be running inside a container [2023-09-20T17:29:55.411Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T17:29:56.871Z] $ docker top d3fbee1bd92c37d8af83d6ebfbc3314e52d6eeabfd4900bfb4a68ede6e02fb98 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:29:57.834Z] + go version [2023-09-20T17:29:57.834Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T17:29:57.881Z] $ docker stop --time=1 d3fbee1bd92c37d8af83d6ebfbc3314e52d6eeabfd4900bfb4a68ede6e02fb98 [2023-09-20T17:29:59.721Z] $ docker rm -f --volumes d3fbee1bd92c37d8af83d6ebfbc3314e52d6eeabfd4900bfb4a68ede6e02fb98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:30:00.668Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:30:00.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:30:00.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-6754 does not seem to be running inside a container [2023-09-20T17:30:01.084Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-20T17:30:02.519Z] $ docker top 3c17a6ed55cf8ea718e7d8f2c6531ec5437077e0e770b234e4fcbfda3fd6b830 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:30:03.450Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:30:04.187Z] + make test [2023-09-20T17:30:04.187Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T17:31:00.728Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-20T17:33:23.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-20T17:33:23.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-20T17:33:23.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-20T17:33:23.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-20T17:33:23.732Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-20T17:33:26.343Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.251s coverage: 27.6% of statements [2023-09-20T17:33:33.039Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.317s coverage: 80.2% of statements [2023-09-20T17:33:48.117Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-20T17:33:48.117Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-20T17:33:48.117Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.376s coverage: 86.0% of statements [2023-09-20T17:33:53.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-20T17:33:54.928Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.495s coverage: 71.8% of statements [2023-09-20T17:33:57.532Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.339s coverage: 14.4% of statements [2023-09-20T17:33:57.532Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.910s coverage: 45.6% of statements [2023-09-20T17:33:59.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T17:33:59.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T17:34:00.937Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.583s coverage: 68.5% of statements [2023-09-20T17:34:03.541Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.509s coverage: 89.2% of statements [2023-09-20T17:34:05.515Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-20T17:34:06.486Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.283s coverage: 5.5% of statements [2023-09-20T17:34:07.460Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T17:34:07.460Z] GO111MODULE=on go vet ./... [2023-09-20T17:36:14.222Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:36:14.222Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:36:14.222Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:36:14.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:36:14.302Z] $ docker stop --time=1 3c17a6ed55cf8ea718e7d8f2c6531ec5437077e0e770b234e4fcbfda3fd6b830 [2023-09-20T17:36:16.283Z] $ docker rm -f --volumes 3c17a6ed55cf8ea718e7d8f2c6531ec5437077e0e770b234e4fcbfda3fd6b830 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:36:18.181Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:36:18.271Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T17:36:18.984Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:36:19.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:36:20.006Z] + ls -al . [2023-09-20T17:36:20.006Z] total 300 [2023-09-20T17:36:20.006Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:30 . [2023-09-20T17:36:20.006Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:27 .. [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:27 .dockerignore [2023-09-20T17:36:20.006Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:27 .git [2023-09-20T17:36:20.006Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:27 .github [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 17:27 .gitignore [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 17:27 .golangci.yml [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 17:27 CHANGELOG.md [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:27 GOVERNANCE.md [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 17:27 Jenkinsfile [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 17:27 LICENSE [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 17:27 Makefile [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 17:27 OWNERS.md [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 17:27 README.md [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION [2023-09-20T17:36:20.006Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:27 bin [2023-09-20T17:36:20.006Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 17:34 coverage.out [2023-09-20T17:36:20.006Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 17:27 example [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 17:27 go.mod [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 17:27 go.sum [2023-09-20T17:36:20.006Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 17:27 internal [2023-09-20T17:36:20.006Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:27 openapi [2023-09-20T17:36:20.006Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 17:27 pkg [2023-09-20T17:36:20.006Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:27 snap [2023-09-20T17:36:20.006Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 17:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:36:20.454Z] + 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=526596b2a1c7dd5155db82aafa89415c2e504d1d --label arch=arm64 --label version=0.0.0 . [2023-09-20T17:36:21.075Z] Sending build context to Docker daemon 6.098MB [2023-09-20T17:36:21.075Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:36:21.075Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-20T17:36:21.075Z] ---> 9d046bb39ad5 [2023-09-20T17:36:21.075Z] Step 3/23 : ARG MAKE=make build [2023-09-20T17:36:21.075Z] ---> Running in af668a52cfcb [2023-09-20T17:36:21.662Z] Removing intermediate container af668a52cfcb [2023-09-20T17:36:21.662Z] ---> e133323480cc [2023-09-20T17:36:21.662Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-20T17:36:21.662Z] ---> Running in ecca2e2612d6 [2023-09-20T17:36:21.935Z] Removing intermediate container ecca2e2612d6 [2023-09-20T17:36:21.935Z] ---> 7b04fff77eea [2023-09-20T17:36:21.935Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T17:36:21.935Z] ---> Running in 972ccf8534be [2023-09-20T17:36:22.539Z] Removing intermediate container 972ccf8534be [2023-09-20T17:36:22.539Z] ---> 1f562a654e02 [2023-09-20T17:36:22.539Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-20T17:36:22.539Z] ---> Running in 1e788797f2f2 [2023-09-20T17:36:23.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:36:24.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:36:26.053Z] OK: 266 MiB in 52 packages [2023-09-20T17:36:26.642Z] Removing intermediate container 1e788797f2f2 [2023-09-20T17:36:26.642Z] ---> efa75d6b39f6 [2023-09-20T17:36:26.642Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-20T17:36:27.228Z] ---> 6efb325cdf71 [2023-09-20T17:36:27.228Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:36:27.498Z] ---> Running in 993fe9eeb9e5 [2023-09-20T17:36:30.091Z] Removing intermediate container 993fe9eeb9e5 [2023-09-20T17:36:30.091Z] ---> a688c3fc3ef6 [2023-09-20T17:36:30.091Z] Step 9/23 : COPY . . [2023-09-20T17:36:31.073Z] ---> cd3a32191ead [2023-09-20T17:36:31.073Z] Step 10/23 : RUN ${MAKE} [2023-09-20T17:36:31.344Z] ---> Running in b13fb41cfcaa [2023-09-20T17:36:32.309Z] 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-09-20T17:38:39.030Z] Removing intermediate container b13fb41cfcaa [2023-09-20T17:38:39.031Z] ---> f8a23f55bd1d [2023-09-20T17:38:39.031Z] Step 11/23 : FROM alpine:3.18 [2023-09-20T17:38:39.031Z] 3.18: Pulling from library/alpine [2023-09-20T17:38:39.031Z] 9fda8d8052c6: Already exists [2023-09-20T17:38:39.031Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:38:39.031Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:38:39.031Z] ---> f6648c04cd6c [2023-09-20T17:38:39.031Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-20T17:38:39.031Z] ---> Running in b6c278e92f8e [2023-09-20T17:38:39.031Z] Removing intermediate container b6c278e92f8e [2023-09-20T17:38:39.031Z] ---> 4b19f14b0170 [2023-09-20T17:38:39.031Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-20T17:38:39.031Z] ---> Running in 73c5e5da5421 [2023-09-20T17:38:39.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:38:39.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:38:39.031Z] OK: 8 MiB in 15 packages [2023-09-20T17:38:39.031Z] Removing intermediate container 73c5e5da5421 [2023-09-20T17:38:39.031Z] ---> 302c1bcd0cf0 [2023-09-20T17:38:39.031Z] Step 14/23 : WORKDIR / [2023-09-20T17:38:39.031Z] ---> Running in 1747aac76bec [2023-09-20T17:38:39.031Z] Removing intermediate container 1747aac76bec [2023-09-20T17:38:39.031Z] ---> bbf4dcebf12c [2023-09-20T17:38:39.031Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-20T17:38:39.031Z] ---> 60d9f6e3cf73 [2023-09-20T17:38:39.031Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-20T17:38:39.031Z] ---> 8da28cb9de34 [2023-09-20T17:38:39.031Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-20T17:38:39.031Z] ---> f4f5c904c2bb [2023-09-20T17:38:39.031Z] Step 18/23 : EXPOSE 59999 [2023-09-20T17:38:39.031Z] ---> Running in 748d65ec3920 [2023-09-20T17:38:39.031Z] Removing intermediate container 748d65ec3920 [2023-09-20T17:38:39.031Z] ---> 8eb6dc318885 [2023-09-20T17:38:39.031Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-20T17:38:39.031Z] ---> Running in 6bb88057c210 [2023-09-20T17:38:39.298Z] Removing intermediate container 6bb88057c210 [2023-09-20T17:38:39.298Z] ---> 34cab3b66950 [2023-09-20T17:38:39.298Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T17:38:39.298Z] ---> Running in 4c5276825b7c [2023-09-20T17:38:39.888Z] Removing intermediate container 4c5276825b7c [2023-09-20T17:38:39.888Z] ---> 305e5c6fca34 [2023-09-20T17:38:39.888Z] Step 21/23 : LABEL arch=arm64 [2023-09-20T17:38:39.888Z] ---> Running in e63aeee2989e [2023-09-20T17:38:40.158Z] Removing intermediate container e63aeee2989e [2023-09-20T17:38:40.158Z] ---> 6a1e1e5521b3 [2023-09-20T17:38:40.158Z] Step 22/23 : LABEL git_sha=526596b2a1c7dd5155db82aafa89415c2e504d1d [2023-09-20T17:38:40.158Z] ---> Running in 43b45ce7ed53 [2023-09-20T17:38:40.437Z] Removing intermediate container 43b45ce7ed53 [2023-09-20T17:38:40.437Z] ---> 9529236cc961 [2023-09-20T17:38:40.437Z] Step 23/23 : LABEL version=0.0.0 [2023-09-20T17:38:40.707Z] ---> Running in dd22e3da92db [2023-09-20T17:38:40.976Z] Removing intermediate container dd22e3da92db [2023-09-20T17:38:40.976Z] ---> 544260a61c7a [2023-09-20T17:38:40.976Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:38:40.976Z] Successfully built 544260a61c7a [2023-09-20T17:38:40.976Z] 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-09-20T17:38:41.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:38:41.809Z] [2023-09-20T17:38:41.809Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:38:42.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:38:42.503Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T17:38:42.503Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T17:38:42.503Z] 04944245beec: Pulling fs layer [2023-09-20T17:38:42.503Z] 699f458cf7ca: Pulling fs layer [2023-09-20T17:38:42.503Z] 765212b225bb: Pulling fs layer [2023-09-20T17:38:42.503Z] f23df028b6ca: Pulling fs layer [2023-09-20T17:38:42.503Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T17:38:42.503Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T17:38:42.503Z] 765212b225bb: Waiting [2023-09-20T17:38:42.503Z] f23df028b6ca: Waiting [2023-09-20T17:38:42.503Z] 2437ff75d9bd: Waiting [2023-09-20T17:38:42.503Z] d65c8cfc05b1: Waiting [2023-09-20T17:38:42.503Z] 04944245beec: Verifying Checksum [2023-09-20T17:38:42.503Z] 04944245beec: Download complete [2023-09-20T17:38:42.503Z] 765212b225bb: Download complete [2023-09-20T17:38:42.503Z] f23df028b6ca: Download complete [2023-09-20T17:38:42.503Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T17:38:42.503Z] d65c8cfc05b1: Download complete [2023-09-20T17:38:42.774Z] 699f458cf7ca: Verifying Checksum [2023-09-20T17:38:42.774Z] 699f458cf7ca: Download complete [2023-09-20T17:38:43.044Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T17:38:43.044Z] 8998bd30e6a1: Download complete [2023-09-20T17:38:45.630Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T17:38:45.630Z] 2437ff75d9bd: Download complete [2023-09-20T17:38:47.039Z] 8998bd30e6a1: Pull complete [2023-09-20T17:38:47.310Z] 04944245beec: Pull complete [2023-09-20T17:38:48.728Z] 699f458cf7ca: Pull complete [2023-09-20T17:38:49.004Z] 765212b225bb: Pull complete [2023-09-20T17:38:49.982Z] f23df028b6ca: Pull complete [2023-09-20T17:38:49.982Z] d65c8cfc05b1: Pull complete [2023-09-20T17:39:04.995Z] 2437ff75d9bd: Pull complete [2023-09-20T17:39:04.995Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T17:39:04.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:39:04.995Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:39:05.335Z] prd-ubuntu20.04-docker-arm64-4c-16g-6754 does not seem to be running inside a container [2023-09-20T17:39:05.420Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T17:39:08.319Z] $ docker top de4079c29ac0ca0aa4a6c0f14096fdd521d68b417b1b6cd94b5a737b0d197ebb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:39:09.237Z] ---> job-cost.sh [2023-09-20T17:39:09.237Z] lf-activate-venv: SKIPPING [2023-09-20T17:39:09.237Z] INFO: No Stack... [2023-09-20T17:39:09.507Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T17:39:10.476Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:39:11.142Z] + cut -d, -f6 [2023-09-20T17:39:11.142Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-09-20T17:39:11.230Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] [2023-09-20T17:39:11.234Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] did not exist. Created. [2023-09-20T17:39:11.235Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:39:11.978Z] /w/workspace/device-sdk-go/1@tmp/durable-8d2f0a50/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T17:39:12.665Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T17:39:12.700Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T17:39:12.797Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:39:12.811Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:39:12.902Z] $ docker stop --time=1 de4079c29ac0ca0aa4a6c0f14096fdd521d68b417b1b6cd94b5a737b0d197ebb [2023-09-20T17:39:14.451Z] $ docker rm -f --volumes de4079c29ac0ca0aa4a6c0f14096fdd521d68b417b1b6cd94b5a737b0d197ebb [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-09-20T17:39:15.441Z] provisioning config files... [2023-09-20T17:39:15.447Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/config13391418993224154403tmp [Pipeline] { [Pipeline] sh [2023-09-20T17:39:15.813Z] + set +x [2023-09-20T17:39:15.813Z] + curl -s https://codecov.io/bash [2023-09-20T17:39:15.813Z] + bash -s -- [2023-09-20T17:39:15.813Z] [2023-09-20T17:39:15.813Z] _____ _ [2023-09-20T17:39:15.813Z] / ____| | | [2023-09-20T17:39:15.813Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T17:39:15.813Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T17:39:15.813Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T17:39:15.813Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T17:39:15.813Z] Bash-1.0.6 [2023-09-20T17:39:15.813Z] [2023-09-20T17:39:15.813Z] [2023-09-20T17:39:15.813Z] ==> git version 2.25.1 found [2023-09-20T17:39:15.813Z] ==> 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-09-20T17:39:15.813Z] Release-Date: 2020-01-08 [2023-09-20T17:39:15.813Z] 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-09-20T17:39:15.813Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T17:39:15.813Z] ==> Jenkins CI detected. [2023-09-20T17:39:15.813Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1517 [2023-09-20T17:39:15.813Z] project root: . [2023-09-20T17:39:15.813Z] --> token set from env [2023-09-20T17:39:15.813Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T17:39:15.813Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T17:39:15.813Z] ==> Python coveragepy not found [2023-09-20T17:39:15.813Z] ==> Searching for coverage reports in: [2023-09-20T17:39:15.813Z] + . [2023-09-20T17:39:15.813Z] -> Found 1 reports [2023-09-20T17:39:15.813Z] ==> Detecting git/mercurial file structure [2023-09-20T17:39:15.813Z] ==> Reading reports [2023-09-20T17:39:15.813Z] + ./coverage.out bytes=121385 [2023-09-20T17:39:15.813Z] ==> Appending adjustments [2023-09-20T17:39:15.813Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T17:39:16.074Z] + Found adjustments [2023-09-20T17:39:16.074Z] ==> Gzipping contents [2023-09-20T17:39:16.074Z] 20K /tmp/codecov.VQrHIj.gz [2023-09-20T17:39:16.074Z] ==> Uploading reports [2023-09-20T17:39:16.074Z] url: https://codecov.io [2023-09-20T17:39:16.074Z] query: branch=PR-1517&commit=526596b2a1c7dd5155db82aafa89415c2e504d1d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1517%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1517&job=&cmd_args= [2023-09-20T17:39:16.332Z] -> Pinging Codecov [2023-09-20T17:39:16.332Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1517&commit=526596b2a1c7dd5155db82aafa89415c2e504d1d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1517%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1517&job=&cmd_args= [2023-09-20T17:39:16.332Z] -> Uploading to [2023-09-20T17:39:16.332Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7E55EF52A471D76F132DFD9A03CDDE97/526596b2a1c7dd5155db82aafa89415c2e504d1d/62c2cc96-3429-40ee-b5cf-d55467f609ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T173916Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cafdd65ec0f7b29b6864fbeea8f9e657ce1d36c572b33eabf77f9878218aae9c [2023-09-20T17:39:16.332Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:39:16.332Z] Dload Upload Total Spent Left Speed [2023-09-20T17:39:16.592Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16545 0 0 100 16545 0 83560 --:--:-- --:--:-- --:--:-- 83560 [2023-09-20T17:39:16.592Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/526596b2a1c7dd5155db82aafa89415c2e504d1d [Pipeline] } [2023-09-20T17:39:16.618Z] 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-09-20T17:39:18.440Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives ] [2023-09-20T17:39:18.440Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives [2023-09-20T17:39:18.440Z] total 16 [2023-09-20T17:39:18.440Z] drwxr-xr-x 3 root root 4096 Sep 20 17:26 . [2023-09-20T17:39:18.440Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 17:26 .. [2023-09-20T17:39:18.440Z] drwxr-xr-x 2 root root 4096 Sep 20 17:26 cost [2023-09-20T17:39:18.440Z] -rw-r--r-- 1 root root 86 Sep 20 17:26 cost.csv [2023-09-20T17:39:18.440Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives [2023-09-20T17:39:18.440Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives [2023-09-20T17:39:18.440Z] total 16 [2023-09-20T17:39:18.440Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:26 . [2023-09-20T17:39:18.440Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 17:26 .. [2023-09-20T17:39:18.440Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:26 cost [2023-09-20T17:39:18.440Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 17:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:39:18.770Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:39:19.665Z] ---> package-listing.sh [2023-09-20T17:39:19.665Z] ++ facter osfamily [2023-09-20T17:39:19.665Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T17:39:19.925Z] + OS_FAMILY=debian [2023-09-20T17:39:19.925Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1517 [2023-09-20T17:39:19.925Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T17:39:19.925Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T17:39:19.925Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T17:39:19.925Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T17:39:19.925Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1517 ']' [2023-09-20T17:39:19.925Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T17:39:19.925Z] + case "${OS_FAMILY}" in [2023-09-20T17:39:19.925Z] + dpkg -l [2023-09-20T17:39:19.925Z] + grep '^ii' [2023-09-20T17:39:19.925Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T17:39:19.925Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T17:39:19.925Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T17:39:19.925Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1517 ']' [2023-09-20T17:39:19.925Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives/ [2023-09-20T17:39:19.925Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives/ [Pipeline] echo [2023-09-20T17:39:19.957Z] 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-1517/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T17:39:20.255Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:39:20.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:39:20.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:39:21.049Z] prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container [2023-09-20T17:39:21.084Z] $ 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-1517/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-1517 -v /w/workspace/gexfoundry_device-sdk-go_PR-1517:/w/workspace/gexfoundry_device-sdk-go_PR-1517:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T17:39:21.274Z] $ docker top f61f217cf83e3fa8cd01dfc9acd726329add64fb531d71f50406386d7c8156ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:39:21.659Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T17:39:21.966Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T17:39:22.272Z] + ls /var/log/sa-host [2023-09-20T17:39:22.272Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:39:22.411Z] provisioning config files... [2023-09-20T17:39:22.419Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/config8712466440871112692tmp [Pipeline] { [Pipeline] echo [2023-09-20T17:39:22.479Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:39:22.788Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T17:39:22.813Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:39:23.214Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T17:39:23.245Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:39:23.554Z] ---> sudo-logs.sh [2023-09-20T17:39:23.554Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T17:39:23.649Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:39:23.960Z] ---> job-cost.sh [2023-09-20T17:39:23.960Z] lf-activate-venv: SKIPPING [2023-09-20T17:39:23.960Z] DEBUG: total: 0.2199999988079071 [2023-09-20T17:39:23.960Z] INFO: Retrieving Stack Cost... [2023-09-20T17:39:24.219Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:39:24.787Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T17:39:24.827Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:39:25.137Z] ---> logs-deploy.sh [2023-09-20T17:39:25.137Z] lf-activate-venv: SKIPPING [2023-09-20T17:39:25.137Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1517/1 [2023-09-20T17:39:25.137Z] INFO: archiving workspace using pattern(s): [2023-09-20T17:39:26.092Z] Archives upload complete. [2023-09-20T17:39:26.092Z] INFO: archiving logs to Nexus