Pull request #1502 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c51a94a8207d4a1ad8be458cdf522e8931b07b09 rather than fdbdbc112457214c0e1c2a8eec7425427dc3eb50 Obtained Jenkinsfile from c51a94a8207d4a1ad8be458cdf522e8931b07b09 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-ssh4139560461018702147.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh12447757721215306632.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-1502/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-1502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12813278211861719923.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-1502/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2341379593613113952.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh18201599016010432086.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-1502/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-1502/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8419271228527115982.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-4486’ is offline Running on prd-ubuntu20.04-docker-8c-8g-4488 in /w/workspace/gexfoundry_device-sdk-go_PR-1502 [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-1502 # 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/1502/head:refs/remotes/origin/PR-1502 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c51a94a8207d4a1ad8be458cdf522e8931b07b09 into PR head commit fdbdbc112457214c0e1c2a8eec7425427dc3eb50 Merge succeeded, producing f165fea5e597c45f253c0c51488dc66f20f0341a Checking out Revision f165fea5e597c45f253c0c51488dc66f20f0341a (PR-1502) > git config core.sparsecheckout # timeout=10 > git checkout -f fdbdbc112457214c0e1c2a8eec7425427dc3eb50 # 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 c51a94a8207d4a1ad8be458cdf522e8931b07b09 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f165fea5e597c45f253c0c51488dc66f20f0341a # timeout=10 Commit message: "Merge commit 'c51a94a8207d4a1ad8be458cdf522e8931b07b09' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-25T03:49:50.435Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-25T03:49:50.618Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-25T03:49:50.718Z] ========================================================= [2023-08-25T03:49:50.718Z] EdgeX Global Pipelines Version Info [2023-08-25T03:49:50.718Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:49:51.449Z] ------------------- [2023-08-25T03:49:51.449Z] stable info: [2023-08-25T03:49:51.449Z] ------------------- [2023-08-25T03:49:51.449Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-25T03:49:51.449Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T03:49:51.449Z] Message: update stable to v1.0.253 [2023-08-25T03:49:52.021Z] ------------------- [2023-08-25T03:49:52.021Z] experimental info: [2023-08-25T03:49:52.021Z] ------------------- [2023-08-25T03:49:52.021Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-25T03:49:52.021Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T03:49:52.021Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-25T03:49:52.324Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-25T03:49:52.361Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-25T03:49:52.396Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-25T03:49:52.437Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-25T03:49:52.477Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-25T03:49:52.516Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-25T03:49:52.557Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-25T03:49:52.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-25T03:49:52.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-25T03:49:52.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-25T03:49:52.712Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-25T03:49:52.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-25T03:49:52.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-25T03:49:52.838Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-25T03:49:52.876Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-25T03:49:52.916Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T03:49:52.956Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T03:49:52.995Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-25T03:49:53.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-25T03:49:53.079Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-25T03:49:53.123Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-25T03:49:53.168Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-25T03:49:53.214Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-25T03:49:53.256Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-25T03:49:53.301Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-25T03:49:53.343Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-25T03:49:53.387Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-25T03:49:53.427Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1502 [Pipeline] echo [2023-08-25T03:49:53.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1502 [Pipeline] echo [2023-08-25T03:49:53.498Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1502 [Pipeline] echo [2023-08-25T03:49:53.538Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f165fea5e597c45f253c0c51488dc66f20f0341a [Pipeline] echo [2023-08-25T03:49:53.590Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f165fea [Pipeline] echo [2023-08-25T03:49:53.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T03:49:53.765Z] provisioning config files... [2023-08-25T03:49:53.779Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/config5805437648754812903tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:49:54.121Z] ---> docker-login.sh [2023-08-25T03:49:54.121Z] nexus3.edgexfoundry.org:10001 [2023-08-25T03:49:54.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:49:54.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:49:54.381Z] Configure a credential helper to remove this warning. See [2023-08-25T03:49:54.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:49:54.381Z] [2023-08-25T03:49:54.381Z] Login Succeeded [2023-08-25T03:49:54.381Z] nexus3.edgexfoundry.org:10002 [2023-08-25T03:49:54.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:49:54.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:49:54.641Z] Configure a credential helper to remove this warning. See [2023-08-25T03:49:54.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:49:54.641Z] [2023-08-25T03:49:54.641Z] Login Succeeded [2023-08-25T03:49:54.641Z] nexus3.edgexfoundry.org:10003 [2023-08-25T03:49:54.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:49:54.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:49:54.641Z] Configure a credential helper to remove this warning. See [2023-08-25T03:49:54.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:49:54.641Z] [2023-08-25T03:49:54.641Z] Login Succeeded [2023-08-25T03:49:54.641Z] nexus3.edgexfoundry.org:10004 [2023-08-25T03:49:54.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:49:54.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:49:54.902Z] Configure a credential helper to remove this warning. See [2023-08-25T03:49:54.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:49:54.902Z] [2023-08-25T03:49:54.902Z] Login Succeeded [2023-08-25T03:49:54.902Z] docker.io [2023-08-25T03:49:54.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:49:55.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:49:55.162Z] Configure a credential helper to remove this warning. See [2023-08-25T03:49:55.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:49:55.162Z] [2023-08-25T03:49:55.162Z] Login Succeeded [2023-08-25T03:49:55.162Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T03:49:55.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-25T03:49:55.883Z] + git rev-list -1 --merges f165fea5e597c45f253c0c51488dc66f20f0341a~1..f165fea5e597c45f253c0c51488dc66f20f0341a [Pipeline] echo [2023-08-25T03:49:55.945Z] -----------> git rev-list -1 --merges f165fea5e597c45f253c0c51488dc66f20f0341a~1..f165fea5e597c45f253c0c51488dc66f20f0341a f165fea5e597c45f253c0c51488dc66f20f0341a [2023-08-25T03:49:55.945Z] f165fea5e597c45f253c0c51488dc66f20f0341a [false] [Pipeline] sh [2023-08-25T03:49:56.255Z] + git log --format=format:%s -1 f165fea5e597c45f253c0c51488dc66f20f0341a [Pipeline] echo [2023-08-25T03:49:56.289Z] ========================================================= [2023-08-25T03:49:56.289Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-25T03:49:56.289Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T03:49:56.710Z] + git log --format=format:%s -1 f165fea5e597c45f253c0c51488dc66f20f0341a [Pipeline] echo [2023-08-25T03:49:56.743Z] [semverPrep] GIT_COMMIT: f165fea5e597c45f253c0c51488dc66f20f0341a, Commit Message: Merge commit 'c51a94a8207d4a1ad8be458cdf522e8931b07b09' into HEAD [Pipeline] echo [2023-08-25T03:49:56.769Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-25T03:49:57.153Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-25T03:49:57.153Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-25T03:49:57.153Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-25T03:49:57.153Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-25T03:49:57.153Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-08-25T03:49:57.153Z] -a /etc/ssh/ssh_known_hosts [2023-08-25T03:49:57.153Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:49:57.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T03:49:57.665Z] [2023-08-25T03:49:57.665Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:49:58.083Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T03:49:58.083Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-25T03:49:58.083Z] b85a868b505f: Pulling fs layer [2023-08-25T03:49:58.083Z] e2be974225ed: Pulling fs layer [2023-08-25T03:49:58.083Z] 339a4e72a1f5: Pulling fs layer [2023-08-25T03:49:58.083Z] 988bab9f4d93: Pulling fs layer [2023-08-25T03:49:58.083Z] 1469e6f7b9e6: Pulling fs layer [2023-08-25T03:49:58.083Z] eaf3925da568: Pulling fs layer [2023-08-25T03:49:58.083Z] bab4dde63d76: Pulling fs layer [2023-08-25T03:49:58.083Z] bde34c3a00c8: Pulling fs layer [2023-08-25T03:49:58.083Z] b352a97aabf1: Pulling fs layer [2023-08-25T03:49:58.083Z] 4872d77fe225: Pulling fs layer [2023-08-25T03:49:58.083Z] 5851b861e8e6: Pulling fs layer [2023-08-25T03:49:58.083Z] 4872d77fe225: Waiting [2023-08-25T03:49:58.083Z] bde34c3a00c8: Waiting [2023-08-25T03:49:58.083Z] eaf3925da568: Waiting [2023-08-25T03:49:58.083Z] bab4dde63d76: Waiting [2023-08-25T03:49:58.083Z] 988bab9f4d93: Waiting [2023-08-25T03:49:58.083Z] b352a97aabf1: Waiting [2023-08-25T03:49:58.083Z] 1469e6f7b9e6: Waiting [2023-08-25T03:49:58.083Z] e2be974225ed: Verifying Checksum [2023-08-25T03:49:58.083Z] e2be974225ed: Download complete [2023-08-25T03:49:58.083Z] 988bab9f4d93: Download complete [2023-08-25T03:49:58.083Z] 1469e6f7b9e6: Verifying Checksum [2023-08-25T03:49:58.083Z] 1469e6f7b9e6: Download complete [2023-08-25T03:49:58.342Z] eaf3925da568: Download complete [2023-08-25T03:49:58.342Z] 339a4e72a1f5: Verifying Checksum [2023-08-25T03:49:58.342Z] 339a4e72a1f5: Download complete [2023-08-25T03:49:58.342Z] bde34c3a00c8: Download complete [2023-08-25T03:49:58.342Z] b352a97aabf1: Verifying Checksum [2023-08-25T03:49:58.342Z] b352a97aabf1: Download complete [2023-08-25T03:49:58.342Z] 4872d77fe225: Download complete [2023-08-25T03:49:58.342Z] 5851b861e8e6: Verifying Checksum [2023-08-25T03:49:58.342Z] 5851b861e8e6: Download complete [2023-08-25T03:49:58.342Z] b85a868b505f: Verifying Checksum [2023-08-25T03:49:58.342Z] b85a868b505f: Download complete [2023-08-25T03:49:58.600Z] bab4dde63d76: Verifying Checksum [2023-08-25T03:49:58.600Z] bab4dde63d76: Download complete [2023-08-25T03:49:59.536Z] b85a868b505f: Pull complete [2023-08-25T03:49:59.795Z] e2be974225ed: Pull complete [2023-08-25T03:50:00.363Z] 339a4e72a1f5: Pull complete [2023-08-25T03:50:00.363Z] 988bab9f4d93: Pull complete [2023-08-25T03:50:00.620Z] 1469e6f7b9e6: Pull complete [2023-08-25T03:50:00.621Z] eaf3925da568: Pull complete [2023-08-25T03:50:02.526Z] bab4dde63d76: Pull complete [2023-08-25T03:50:02.526Z] bde34c3a00c8: Pull complete [2023-08-25T03:50:02.787Z] b352a97aabf1: Pull complete [2023-08-25T03:50:02.787Z] 4872d77fe225: Pull complete [2023-08-25T03:50:02.787Z] 5851b861e8e6: Pull complete [2023-08-25T03:50:02.787Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-25T03:50:02.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-25T03:50:02.787Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:50:03.035Z] prd-ubuntu20.04-docker-8c-8g-4488 does not seem to be running inside a container [2023-08-25T03:50:03.068Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1502 -v /w/workspace/gexfoundry_device-sdk-go_PR-1502:/w/workspace/gexfoundry_device-sdk-go_PR-1502:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1502@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-08-25T03:50:06.660Z] $ docker top f6f864c652eb1554923b13e5d5c9f645533f396d27320249be3e56230beec85d -eo pid,comm [2023-08-25T03:50:06.709Z] 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-08-25T03:50:06.709Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-25T03:50:06.832Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T03:50:06.832Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T03:50:06.941Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T03:50:06.947Z] $ docker exec f6f864c652eb1554923b13e5d5c9f645533f396d27320249be3e56230beec85d ssh-agent [2023-08-25T03:50:07.039Z] SSH_AUTH_SOCK=/tmp/ssh-NPnqxUTuAhzm/agent.32 [2023-08-25T03:50:07.039Z] SSH_AGENT_PID=38 [2023-08-25T03:50:07.061Z] Running ssh-add (command line suppressed) [2023-08-25T03:50:07.164Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/private_key_1435339030431149498.key (/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/private_key_1435339030431149498.key) [2023-08-25T03:50:07.180Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T03:50:07.513Z] + git tag --points-at HEAD [Pipeline] } [2023-08-25T03:50:07.542Z] $ docker exec --env ******** --env ******** f6f864c652eb1554923b13e5d5c9f645533f396d27320249be3e56230beec85d ssh-agent -k [2023-08-25T03:50:07.636Z] unset SSH_AUTH_SOCK; [2023-08-25T03:50:07.637Z] unset SSH_AGENT_PID; [2023-08-25T03:50:07.637Z] echo Agent pid 38 killed; [2023-08-25T03:50:07.643Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-25T03:50:07.725Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-25T03:50:07.725Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-25T03:50:07.846Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-25T03:50:07.851Z] $ docker exec f6f864c652eb1554923b13e5d5c9f645533f396d27320249be3e56230beec85d ssh-agent [2023-08-25T03:50:07.951Z] SSH_AUTH_SOCK=/tmp/ssh-ZRWKLfA83hxr/agent.71 [2023-08-25T03:50:07.951Z] SSH_AGENT_PID=77 [2023-08-25T03:50:07.956Z] Running ssh-add (command line suppressed) [2023-08-25T03:50:08.054Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/private_key_13019051498704240534.key (/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/private_key_13019051498704240534.key) [2023-08-25T03:50:08.069Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-25T03:50:08.394Z] + git semver init [2023-08-25T03:50:08.655Z] 2023-08-25 03:50:08,578 [run_init] DEBUG init version:0.0.0 force:False [2023-08-25T03:50:08.655Z] 2023-08-25 03:50:08,579 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver [2023-08-25T03:50:08.655Z] 2023-08-25 03:50:08,579 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver [2023-08-25T03:50:08.655Z] 2023-08-25 03:50:08,579 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1502, universal_newlines=False, shell=None, istream=None) [2023-08-25T03:50:09.597Z] 2023-08-25 03:50:09,528 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502/.git/info/exclude [2023-08-25T03:50:09.597Z] 2023-08-25 03:50:09,528 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver/PR-1502 with force:False [2023-08-25T03:50:09.597Z] 2023-08-25 03:50:09,528 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver/PR-1502 [2023-08-25T03:50:09.597Z] 2023-08-25 03:50:09,532 [execute] INFO git cat-file --batch-check [2023-08-25T03:50:09.597Z] 2023-08-25 03:50:09,533 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T03:50:09.597Z] 2023-08-25 03:50:09,538 [execute] INFO git cat-file --batch [2023-08-25T03:50:09.597Z] 2023-08-25 03:50:09,539 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver, universal_newlines=False, shell=None, istream=) [2023-08-25T03:50:09.597Z] 2023-08-25 03:50:09,543 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1502/.semver/PR-1502 [2023-08-25T03:50:09.597Z] 0.0.0 [Pipeline] } [2023-08-25T03:50:09.631Z] $ docker exec --env ******** --env ******** f6f864c652eb1554923b13e5d5c9f645533f396d27320249be3e56230beec85d ssh-agent -k [2023-08-25T03:50:09.758Z] unset SSH_AUTH_SOCK; [2023-08-25T03:50:09.758Z] unset SSH_AGENT_PID; [2023-08-25T03:50:09.758Z] echo Agent pid 77 killed; [2023-08-25T03:50:09.762Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-25T03:50:10.180Z] + git semver [Pipeline] } [2023-08-25T03:50:10.468Z] $ docker stop --time=1 f6f864c652eb1554923b13e5d5c9f645533f396d27320249be3e56230beec85d [2023-08-25T03:50:11.767Z] $ docker rm -f --volumes f6f864c652eb1554923b13e5d5c9f645533f396d27320249be3e56230beec85d [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T03:50:12.160Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-25T03:50:12.419Z] Stashed 1 file(s) [Pipeline] echo [2023-08-25T03:50:12.437Z] [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-08-25T03:50:13.003Z] provisioning config files... [2023-08-25T03:50:13.013Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/config12675974395028920240tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:50:13.351Z] ---> docker-login.sh [2023-08-25T03:50:13.352Z] nexus3.edgexfoundry.org:10001 [2023-08-25T03:50:13.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:50:13.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:50:13.352Z] Configure a credential helper to remove this warning. See [2023-08-25T03:50:13.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:50:13.352Z] [2023-08-25T03:50:13.352Z] Login Succeeded [2023-08-25T03:50:13.352Z] nexus3.edgexfoundry.org:10002 [2023-08-25T03:50:13.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:50:13.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:50:13.352Z] Configure a credential helper to remove this warning. See [2023-08-25T03:50:13.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:50:13.352Z] [2023-08-25T03:50:13.352Z] Login Succeeded [2023-08-25T03:50:13.352Z] nexus3.edgexfoundry.org:10003 [2023-08-25T03:50:13.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:50:13.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:50:13.613Z] Configure a credential helper to remove this warning. See [2023-08-25T03:50:13.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:50:13.613Z] [2023-08-25T03:50:13.613Z] Login Succeeded [2023-08-25T03:50:13.613Z] nexus3.edgexfoundry.org:10004 [2023-08-25T03:50:13.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:50:13.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:50:13.613Z] Configure a credential helper to remove this warning. See [2023-08-25T03:50:13.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:50:13.613Z] [2023-08-25T03:50:13.613Z] Login Succeeded [2023-08-25T03:50:13.613Z] docker.io [2023-08-25T03:50:13.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:50:13.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:50:13.873Z] Configure a credential helper to remove this warning. See [2023-08-25T03:50:13.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:50:13.873Z] [2023-08-25T03:50:13.873Z] Login Succeeded [2023-08-25T03:50:13.873Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T03:50:13.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T03:50:14.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T03:50:14.122Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T03:50:14.157Z] ========================================================= [2023-08-25T03:50:14.157Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-25T03:50:14.157Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:50:14.628Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T03:50:14.629Z] Sending build context to Docker daemon 11.11MB [2023-08-25T03:50:14.629Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T03:50:14.629Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-25T03:50:14.629Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-25T03:50:14.629Z] 4db1b89c0bd1: Pulling fs layer [2023-08-25T03:50:14.629Z] 6911f1a30b25: Pulling fs layer [2023-08-25T03:50:14.629Z] e194b8c5c2a9: Pulling fs layer [2023-08-25T03:50:14.629Z] 6863d3e3a2b1: Pulling fs layer [2023-08-25T03:50:14.629Z] ec0bb842ea78: Pulling fs layer [2023-08-25T03:50:14.629Z] 40a00589a448: Pulling fs layer [2023-08-25T03:50:14.629Z] 6c08303d61cc: Pulling fs layer [2023-08-25T03:50:14.629Z] 798269fcf238: Pulling fs layer [2023-08-25T03:50:14.629Z] ec0bb842ea78: Waiting [2023-08-25T03:50:14.629Z] 40a00589a448: Waiting [2023-08-25T03:50:14.629Z] 6863d3e3a2b1: Waiting [2023-08-25T03:50:14.629Z] 6c08303d61cc: Waiting [2023-08-25T03:50:14.629Z] 798269fcf238: Waiting [2023-08-25T03:50:14.888Z] 6911f1a30b25: Download complete [2023-08-25T03:50:14.888Z] 6863d3e3a2b1: Verifying Checksum [2023-08-25T03:50:14.888Z] 6863d3e3a2b1: Download complete [2023-08-25T03:50:14.888Z] ec0bb842ea78: Verifying Checksum [2023-08-25T03:50:14.888Z] ec0bb842ea78: Download complete [2023-08-25T03:50:14.888Z] 4db1b89c0bd1: Download complete [2023-08-25T03:50:14.888Z] 40a00589a448: Verifying Checksum [2023-08-25T03:50:14.888Z] 40a00589a448: Download complete [2023-08-25T03:50:14.888Z] 4db1b89c0bd1: Pull complete [2023-08-25T03:50:15.149Z] 6911f1a30b25: Pull complete [2023-08-25T03:50:15.409Z] 798269fcf238: Verifying Checksum [2023-08-25T03:50:15.409Z] 798269fcf238: Download complete [2023-08-25T03:50:15.409Z] e194b8c5c2a9: Verifying Checksum [2023-08-25T03:50:15.409Z] e194b8c5c2a9: Download complete [2023-08-25T03:50:15.667Z] 6c08303d61cc: Verifying Checksum [2023-08-25T03:50:15.667Z] 6c08303d61cc: Download complete [2023-08-25T03:50:18.952Z] e194b8c5c2a9: Pull complete [2023-08-25T03:50:18.952Z] 6863d3e3a2b1: Pull complete [2023-08-25T03:50:18.952Z] ec0bb842ea78: Pull complete [2023-08-25T03:50:18.952Z] 40a00589a448: Pull complete [2023-08-25T03:50:20.855Z] 6c08303d61cc: Pull complete [2023-08-25T03:50:21.788Z] 798269fcf238: Pull complete [2023-08-25T03:50:21.788Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-25T03:50:21.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-25T03:50:21.788Z] ---> ec979cd7f677 [2023-08-25T03:50:21.788Z] Step 3/10 : ARG MAKE=make build [2023-08-25T03:50:27.830Z] Still waiting to schedule task [2023-08-25T03:50:27.830Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-4487’ is offline [2023-08-25T03:50:29.906Z] ---> Running in e24dce6f95b4 [2023-08-25T03:50:29.906Z] Removing intermediate container e24dce6f95b4 [2023-08-25T03:50:29.906Z] ---> 67907b5d296a [2023-08-25T03:50:29.906Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-25T03:50:29.906Z] ---> Running in 40dffe66deb9 [2023-08-25T03:50:29.906Z] Removing intermediate container 40dffe66deb9 [2023-08-25T03:50:29.906Z] ---> 73a912989a41 [2023-08-25T03:50:29.906Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T03:50:29.906Z] ---> Running in 946f39bad28e [2023-08-25T03:50:29.906Z] Removing intermediate container 946f39bad28e [2023-08-25T03:50:29.906Z] ---> ca2bd9c4d2d8 [2023-08-25T03:50:29.906Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-25T03:50:29.906Z] ---> Running in 2a2b0cc52339 [2023-08-25T03:50:29.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T03:50:30.166Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T03:50:30.426Z] OK: 265 MiB in 53 packages [2023-08-25T03:50:30.686Z] Removing intermediate container 2a2b0cc52339 [2023-08-25T03:50:30.686Z] ---> 8c7e28a43228 [2023-08-25T03:50:30.686Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-25T03:50:30.945Z] ---> 8d2970856307 [2023-08-25T03:50:30.945Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T03:50:30.945Z] ---> Running in e9f467f560c3 [2023-08-25T03:51:09.789Z] Removing intermediate container e9f467f560c3 [2023-08-25T03:51:09.789Z] ---> 38249ab2dd12 [2023-08-25T03:51:09.789Z] Step 9/10 : COPY . . [2023-08-25T03:51:09.789Z] ---> 468b358ab6b1 [2023-08-25T03:51:09.789Z] Step 10/10 : RUN ${MAKE} [2023-08-25T03:51:09.789Z] ---> Running in 26c9b11d4e4d [2023-08-25T03:51:09.789Z] noop [2023-08-25T03:51:09.789Z] Removing intermediate container 26c9b11d4e4d [2023-08-25T03:51:09.789Z] ---> 1e6a994e6f29 [2023-08-25T03:51:09.789Z] Successfully built 1e6a994e6f29 [2023-08-25T03:51:09.789Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:51:10.219Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T03:51:10.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:51:10.368Z] prd-ubuntu20.04-docker-8c-8g-4488 does not seem to be running inside a container [2023-08-25T03:51:10.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1502 -v /w/workspace/gexfoundry_device-sdk-go_PR-1502:/w/workspace/gexfoundry_device-sdk-go_PR-1502:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1502@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-08-25T03:51:10.742Z] $ docker top cee7f70d669e3155495e079b5d94cafe9728870bcbb37ce86b9b8ab2483ea357 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:51:11.123Z] + go version [2023-08-25T03:51:11.123Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-25T03:51:11.157Z] $ docker stop --time=1 cee7f70d669e3155495e079b5d94cafe9728870bcbb37ce86b9b8ab2483ea357 [2023-08-25T03:51:12.434Z] $ docker rm -f --volumes cee7f70d669e3155495e079b5d94cafe9728870bcbb37ce86b9b8ab2483ea357 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:51:13.168Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-25T03:51:13.168Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:51:13.311Z] prd-ubuntu20.04-docker-8c-8g-4488 does not seem to be running inside a container [2023-08-25T03:51:13.340Z] $ 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-1502 -v /w/workspace/gexfoundry_device-sdk-go_PR-1502:/w/workspace/gexfoundry_device-sdk-go_PR-1502:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1502@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-08-25T03:51:13.657Z] $ docker top ca918b4fe0a534e9c71705146d8748157ebb9a4d48df2f69ef536e7a1019d18a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:51:14.062Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1502 [Pipeline] fileExists [Pipeline] sh [2023-08-25T03:51:14.425Z] + make test [2023-08-25T03:51:14.425Z] go test -race -coverprofile=coverage.out ./... [2023-08-25T03:51:20.981Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-25T03:51:33.168Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-25T03:51:33.168Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-25T03:51:33.168Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-25T03:51:33.168Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-25T03:51:33.168Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-25T03:51:34.101Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.076s coverage: 27.6% of statements [2023-08-25T03:51:34.358Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 80.2% of statements [2023-08-25T03:51:34.358Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-25T03:51:34.358Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-25T03:51:34.358Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-08-25T03:51:34.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-25T03:51:34.615Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 71.8% of statements [2023-08-25T03:51:35.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-25T03:51:35.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-25T03:51:35.804Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-25T03:51:37.703Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 14.1% of statements [2023-08-25T03:51:37.703Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.975s coverage: 43.8% of statements [2023-08-25T03:51:37.703Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-08-25T03:51:37.703Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.128s coverage: 89.2% of statements [2023-08-25T03:51:37.703Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-08-25T03:51:52.941Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4489 in /w/workspace/gexfoundry_device-sdk-go_PR-1502 [Pipeline] { [Pipeline] ws [2023-08-25T03:51:53.003Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-08-25T03:51:53.074Z] The recommended git tool is: git [2023-08-25T03:51:57.919Z] using credential edgex-jenkins-ssh [2023-08-25T03:51:57.936Z] Cloning the remote Git repository [2023-08-25T03:51:57.986Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-25T03:51:58.080Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-08-25T03:51:58.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-25T03:51:58.222Z] > git --version # timeout=10 [2023-08-25T03:51:58.241Z] > git --version # 'git version 2.25.1' [2023-08-25T03:51:58.243Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T03:51:58.385Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T03:51:59.648Z] GO111MODULE=on go vet ./... [2023-08-25T03:51:59.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-25T03:51:59.917Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-25T03:52:01.019Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T03:52:01.019Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T03:52:01.019Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T03:52:01.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T03:52:01.333Z] $ docker stop --time=1 ca918b4fe0a534e9c71705146d8748157ebb9a4d48df2f69ef536e7a1019d18a [2023-08-25T03:52:01.363Z] Merging remotes/origin/main commit c51a94a8207d4a1ad8be458cdf522e8931b07b09 into PR head commit fdbdbc112457214c0e1c2a8eec7425427dc3eb50 [2023-08-25T03:52:01.779Z] Merge succeeded, producing bfd061ba66a13690f6bf759196bf371b7e4a34e9 [2023-08-25T03:52:01.779Z] Checking out Revision bfd061ba66a13690f6bf759196bf371b7e4a34e9 (PR-1502) [2023-08-25T03:52:00.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-25T03:52:00.740Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-25T03:52:00.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T03:52:00.756Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1502/head:refs/remotes/origin/PR-1502 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-25T03:52:01.385Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T03:52:01.455Z] > git checkout -f fdbdbc112457214c0e1c2a8eec7425427dc3eb50 # timeout=10 [2023-08-25T03:52:01.559Z] > git remote # timeout=10 [2023-08-25T03:52:01.580Z] > git config --get remote.origin.url # timeout=10 [2023-08-25T03:52:01.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-25T03:52:01.620Z] > git merge c51a94a8207d4a1ad8be458cdf522e8931b07b09 # timeout=10 [2023-08-25T03:52:01.754Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-25T03:52:01.788Z] > git config core.sparsecheckout # timeout=10 [2023-08-25T03:52:01.804Z] > git checkout -f bfd061ba66a13690f6bf759196bf371b7e4a34e9 # timeout=10 [2023-08-25T03:52:05.280Z] Commit message: "Merge commit 'c51a94a8207d4a1ad8be458cdf522e8931b07b09' into HEAD" [2023-08-25T03:52:05.280Z] First time build. Skipping changelog. [2023-08-25T03:52:05.330Z] > git --version # timeout=10 [2023-08-25T03:52:05.342Z] > git --version # 'git version 2.25.1' [2023-08-25T03:52:05.353Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-25T03:52:05.400Z] $ docker rm -f --volumes ca918b4fe0a534e9c71705146d8748157ebb9a4d48df2f69ef536e7a1019d18a [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-08-25T03:52:05.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2023-08-25T03:52:06.220Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-08-25T03:52:06.440Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-25T03:52:06.440Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T03:52:06.440Z] Dload Upload Total Spent Left Speed [2023-08-25T03:52:06.440Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 114k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh [Pipeline] sh [2023-08-25T03:52:06.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T03:52:07.188Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-25T03:52:07.266Z] + ls -al . [2023-08-25T03:52:07.266Z] total 304 [2023-08-25T03:52:07.266Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 25 03:51 . [2023-08-25T03:52:07.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:49 .. [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 03:49 .dockerignore [2023-08-25T03:52:07.266Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 03:50 .git [2023-08-25T03:52:07.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:49 .github [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 25 03:49 .gitignore [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 03:49 .golangci.yml [2023-08-25T03:52:07.266Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 03:50 .semver [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 25 03:49 CHANGELOG.md [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 03:49 GOVERNANCE.md [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 25 03:49 Jenkinsfile [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 25 03:49 LICENSE [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 25 03:49 Makefile [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 25 03:49 OWNERS.md [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 25 03:49 README.md [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 03:50 VERSION [2023-08-25T03:52:07.266Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:49 bin [2023-08-25T03:52:07.266Z] -rw-r--r-- 1 jenkins jenkins 120468 Aug 25 03:51 coverage.out [2023-08-25T03:52:07.266Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 25 03:49 example [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 25 03:49 go.mod [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 25 03:49 go.sum [2023-08-25T03:52:07.266Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:49 internal [2023-08-25T03:52:07.266Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 03:49 openapi [2023-08-25T03:52:07.266Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 03:49 pkg [2023-08-25T03:52:07.266Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:49 snap [2023-08-25T03:52:07.266Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 25 03:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:52:07.536Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-25T03:52:07.536Z] + sudo tee /etc/docker/daemon.new [2023-08-25T03:52:07.536Z] { [2023-08-25T03:52:07.536Z] "registry-mirrors": [ [2023-08-25T03:52:07.536Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-25T03:52:07.536Z] ], [2023-08-25T03:52:07.536Z] "bip": "10.250.0.254/24", [2023-08-25T03:52:07.536Z] "hosts": [ [2023-08-25T03:52:07.536Z] "tcp://0.0.0.0:5555", [2023-08-25T03:52:07.536Z] "unix:///var/run/docker.sock" [2023-08-25T03:52:07.536Z] ], [2023-08-25T03:52:07.536Z] "mtu": 1458, [2023-08-25T03:52:07.536Z] "selinux-enabled": true, [2023-08-25T03:52:07.536Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-25T03:52:07.536Z] } [Pipeline] sh [2023-08-25T03:52:07.704Z] + 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=f165fea5e597c45f253c0c51488dc66f20f0341a --label arch=amd64 --label version=0.0.0 . [2023-08-25T03:52:07.704Z] Sending build context to Docker daemon 11.23MB [2023-08-25T03:52:07.704Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T03:52:07.704Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-25T03:52:07.704Z] ---> 1e6a994e6f29 [2023-08-25T03:52:07.704Z] Step 3/23 : ARG MAKE=make build [2023-08-25T03:52:07.879Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-25T03:52:07.962Z] ---> Running in 22388e0b4e3b [2023-08-25T03:52:07.962Z] Removing intermediate container 22388e0b4e3b [2023-08-25T03:52:07.962Z] ---> b8990c51907f [2023-08-25T03:52:07.962Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-25T03:52:07.962Z] ---> Running in 9e6a28d18010 [2023-08-25T03:52:08.221Z] + sudo service docker restart [2023-08-25T03:52:08.222Z] Removing intermediate container 9e6a28d18010 [2023-08-25T03:52:08.222Z] ---> d39b7cfc40ea [2023-08-25T03:52:08.222Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T03:52:08.222Z] ---> Running in 7cc4fc0cfc3b [2023-08-25T03:52:08.222Z] Removing intermediate container 7cc4fc0cfc3b [2023-08-25T03:52:08.222Z] ---> 660803a883c0 [2023-08-25T03:52:08.222Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-25T03:52:08.222Z] ---> Running in f09512d53acb [2023-08-25T03:52:08.481Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T03:52:08.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T03:52:09.000Z] OK: 265 MiB in 53 packages [2023-08-25T03:52:09.569Z] Removing intermediate container f09512d53acb [2023-08-25T03:52:09.569Z] ---> 1742ee8d816a [2023-08-25T03:52:09.569Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-25T03:52:09.569Z] ---> dc52a79dba96 [2023-08-25T03:52:09.569Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T03:52:09.569Z] ---> Running in c9aca792ad17 [2023-08-25T03:52:10.136Z] Removing intermediate container c9aca792ad17 [2023-08-25T03:52:10.136Z] ---> e10437f662a9 [2023-08-25T03:52:10.136Z] Step 9/23 : COPY . . [2023-08-25T03:52:10.705Z] ---> a6ed37f8594c [2023-08-25T03:52:10.705Z] Step 10/23 : RUN ${MAKE} [2023-08-25T03:52:10.965Z] ---> Running in 652de3bdbc9b [2023-08-25T03:52:11.230Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T03:52:26.522Z] provisioning config files... [2023-08-25T03:52:26.546Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9094675923211517930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:52:26.924Z] ---> docker-login.sh [2023-08-25T03:52:26.924Z] nexus3.edgexfoundry.org:10001 [2023-08-25T03:52:27.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:52:27.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:52:27.781Z] Configure a credential helper to remove this warning. See [2023-08-25T03:52:27.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:52:27.781Z] [2023-08-25T03:52:27.781Z] Login Succeeded [2023-08-25T03:52:27.781Z] nexus3.edgexfoundry.org:10002 [2023-08-25T03:52:27.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:52:28.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:52:28.050Z] Configure a credential helper to remove this warning. See [2023-08-25T03:52:28.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:52:28.050Z] [2023-08-25T03:52:28.050Z] Login Succeeded [2023-08-25T03:52:28.050Z] nexus3.edgexfoundry.org:10003 [2023-08-25T03:52:28.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:52:28.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:52:28.319Z] Configure a credential helper to remove this warning. See [2023-08-25T03:52:28.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:52:28.319Z] [2023-08-25T03:52:28.319Z] Login Succeeded [2023-08-25T03:52:28.319Z] nexus3.edgexfoundry.org:10004 [2023-08-25T03:52:28.591Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:52:28.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:52:28.591Z] Configure a credential helper to remove this warning. See [2023-08-25T03:52:28.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:52:28.591Z] [2023-08-25T03:52:28.591Z] Login Succeeded [2023-08-25T03:52:28.591Z] docker.io [2023-08-25T03:52:28.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-25T03:52:29.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-25T03:52:29.125Z] Configure a credential helper to remove this warning. See [2023-08-25T03:52:29.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-25T03:52:29.125Z] [2023-08-25T03:52:29.125Z] Login Succeeded [2023-08-25T03:52:29.125Z] ---> docker-login.sh ends [Pipeline] } [2023-08-25T03:52:29.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-25T03:52:29.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T03:52:29.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-25T03:52:29.587Z] ========================================================= [2023-08-25T03:52:29.587Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-25T03:52:29.587Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:52:30.080Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-25T03:52:30.666Z] Sending build context to Docker daemon 5.945MB [2023-08-25T03:52:30.666Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T03:52:30.666Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-25T03:52:30.949Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-25T03:52:30.949Z] edb6bdbacee9: Pulling fs layer [2023-08-25T03:52:30.949Z] 5f9638ab2659: Pulling fs layer [2023-08-25T03:52:30.949Z] 8d51d6327a98: Pulling fs layer [2023-08-25T03:52:30.949Z] 8b374f2dd631: Pulling fs layer [2023-08-25T03:52:30.949Z] ec14aa9079de: Pulling fs layer [2023-08-25T03:52:30.949Z] 2f466654f4bb: Pulling fs layer [2023-08-25T03:52:30.949Z] 554e91adad29: Pulling fs layer [2023-08-25T03:52:30.949Z] ec14aa9079de: Waiting [2023-08-25T03:52:30.949Z] 554e91adad29: Waiting [2023-08-25T03:52:30.949Z] 2f466654f4bb: Waiting [2023-08-25T03:52:30.949Z] 8b374f2dd631: Waiting [2023-08-25T03:52:30.949Z] 5f9638ab2659: Verifying Checksum [2023-08-25T03:52:30.949Z] 5f9638ab2659: Download complete [2023-08-25T03:52:30.949Z] 8b374f2dd631: Verifying Checksum [2023-08-25T03:52:30.949Z] 8b374f2dd631: Download complete [2023-08-25T03:52:30.949Z] ec14aa9079de: Verifying Checksum [2023-08-25T03:52:30.949Z] ec14aa9079de: Download complete [2023-08-25T03:52:30.949Z] edb6bdbacee9: Download complete [2023-08-25T03:52:31.936Z] edb6bdbacee9: Pull complete [2023-08-25T03:52:32.206Z] 554e91adad29: Verifying Checksum [2023-08-25T03:52:32.206Z] 554e91adad29: Download complete [2023-08-25T03:52:32.476Z] 5f9638ab2659: Pull complete [2023-08-25T03:52:33.166Z] Removing intermediate container 652de3bdbc9b [2023-08-25T03:52:33.167Z] ---> ecb92ba65b55 [2023-08-25T03:52:33.167Z] Step 11/23 : FROM alpine:3.17 [2023-08-25T03:52:33.167Z] 3.17: Pulling from library/alpine [2023-08-25T03:52:33.167Z] 9398808236ff: Pulling fs layer [2023-08-25T03:52:33.167Z] 9398808236ff: Verifying Checksum [2023-08-25T03:52:33.167Z] 9398808236ff: Download complete [2023-08-25T03:52:33.167Z] 9398808236ff: Pull complete [2023-08-25T03:52:33.167Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T03:52:33.167Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T03:52:33.167Z] ---> 1e0b8b5322fc [2023-08-25T03:52:33.167Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-25T03:52:33.167Z] ---> Running in 5ffd2eadb580 [2023-08-25T03:52:33.167Z] Removing intermediate container 5ffd2eadb580 [2023-08-25T03:52:33.167Z] ---> 27dcd7a8935b [2023-08-25T03:52:33.167Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-25T03:52:33.167Z] ---> Running in b0eb98c58590 [2023-08-25T03:52:33.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-25T03:52:33.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-25T03:52:33.425Z] OK: 7 MiB in 15 packages [2023-08-25T03:52:33.442Z] 8d51d6327a98: Verifying Checksum [2023-08-25T03:52:33.442Z] 8d51d6327a98: Download complete [2023-08-25T03:52:33.442Z] 2f466654f4bb: Verifying Checksum [2023-08-25T03:52:33.442Z] 2f466654f4bb: Download complete [2023-08-25T03:52:33.684Z] Removing intermediate container b0eb98c58590 [2023-08-25T03:52:33.684Z] ---> 51b2e6fa5aa9 [2023-08-25T03:52:33.684Z] Step 14/23 : WORKDIR / [2023-08-25T03:52:33.684Z] ---> Running in 2ebb55115282 [2023-08-25T03:52:33.945Z] Removing intermediate container 2ebb55115282 [2023-08-25T03:52:33.945Z] ---> 813cbe7f7b8d [2023-08-25T03:52:33.945Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-25T03:52:33.945Z] ---> 65036c8ad5db [2023-08-25T03:52:33.945Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-25T03:52:35.334Z] ---> a49171936bd2 [2023-08-25T03:52:35.334Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-25T03:52:35.334Z] ---> f20d0d71fc5c [2023-08-25T03:52:35.334Z] Step 18/23 : EXPOSE 59999 [2023-08-25T03:52:35.334Z] ---> Running in 289834b2fcf7 [2023-08-25T03:52:35.334Z] Removing intermediate container 289834b2fcf7 [2023-08-25T03:52:35.334Z] ---> f9a1e6e582d1 [2023-08-25T03:52:35.334Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-25T03:52:35.334Z] ---> Running in 11dee03ba123 [2023-08-25T03:52:35.334Z] Removing intermediate container 11dee03ba123 [2023-08-25T03:52:35.334Z] ---> 7a2863e6b9ad [2023-08-25T03:52:35.334Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T03:52:35.334Z] ---> Running in 8861a4059468 [2023-08-25T03:52:35.334Z] Removing intermediate container 8861a4059468 [2023-08-25T03:52:35.334Z] ---> f1966e8a820c [2023-08-25T03:52:35.334Z] Step 21/23 : LABEL arch=amd64 [2023-08-25T03:52:35.334Z] ---> Running in 25dc020565ce [2023-08-25T03:52:35.593Z] Removing intermediate container 25dc020565ce [2023-08-25T03:52:35.593Z] ---> 4bf4bbbd07b3 [2023-08-25T03:52:35.593Z] Step 22/23 : LABEL git_sha=f165fea5e597c45f253c0c51488dc66f20f0341a [2023-08-25T03:52:35.593Z] ---> Running in 741695a09966 [2023-08-25T03:52:35.593Z] Removing intermediate container 741695a09966 [2023-08-25T03:52:35.593Z] ---> d3e271622068 [2023-08-25T03:52:35.593Z] Step 23/23 : LABEL version=0.0.0 [2023-08-25T03:52:35.593Z] ---> Running in 75e6f2a6424e [2023-08-25T03:52:35.852Z] Removing intermediate container 75e6f2a6424e [2023-08-25T03:52:35.852Z] ---> 07491e7353da [2023-08-25T03:52:35.852Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T03:52:35.852Z] Successfully built 07491e7353da [2023-08-25T03:52:35.852Z] 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-08-25T03:52:36.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T03:52:36.705Z] [2023-08-25T03:52:36.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:52:37.074Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T03:52:37.074Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-25T03:52:37.074Z] 5eb5b503b376: Pulling fs layer [2023-08-25T03:52:37.074Z] 5c69ac0246d0: Pulling fs layer [2023-08-25T03:52:37.074Z] ec43610c2a17: Pulling fs layer [2023-08-25T03:52:37.074Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-25T03:52:37.074Z] 33b1e0a273af: Pulling fs layer [2023-08-25T03:52:37.074Z] 5d3b04190fa2: Pulling fs layer [2023-08-25T03:52:37.074Z] 2f39f015ded8: Pulling fs layer [2023-08-25T03:52:37.074Z] 3a2ae6a8a46f: Waiting [2023-08-25T03:52:37.074Z] 5d3b04190fa2: Waiting [2023-08-25T03:52:37.074Z] 2f39f015ded8: Waiting [2023-08-25T03:52:37.074Z] 33b1e0a273af: Waiting [2023-08-25T03:52:37.074Z] 5c69ac0246d0: Verifying Checksum [2023-08-25T03:52:37.074Z] 5c69ac0246d0: Download complete [2023-08-25T03:52:37.074Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-25T03:52:37.074Z] 3a2ae6a8a46f: Download complete [2023-08-25T03:52:37.074Z] 33b1e0a273af: Verifying Checksum [2023-08-25T03:52:37.074Z] 33b1e0a273af: Download complete [2023-08-25T03:52:37.074Z] ec43610c2a17: Verifying Checksum [2023-08-25T03:52:37.074Z] ec43610c2a17: Download complete [2023-08-25T03:52:37.074Z] 5d3b04190fa2: Download complete [2023-08-25T03:52:37.333Z] 5eb5b503b376: Verifying Checksum [2023-08-25T03:52:37.333Z] 5eb5b503b376: Download complete [2023-08-25T03:52:37.898Z] 2f39f015ded8: Verifying Checksum [2023-08-25T03:52:37.898Z] 2f39f015ded8: Download complete [2023-08-25T03:52:38.466Z] 5eb5b503b376: Pull complete [2023-08-25T03:52:38.466Z] 5c69ac0246d0: Pull complete [2023-08-25T03:52:39.032Z] ec43610c2a17: Pull complete [2023-08-25T03:52:39.032Z] 3a2ae6a8a46f: Pull complete [2023-08-25T03:52:39.291Z] 33b1e0a273af: Pull complete [2023-08-25T03:52:39.291Z] 5d3b04190fa2: Pull complete [2023-08-25T03:52:43.480Z] 2f39f015ded8: Pull complete [2023-08-25T03:52:43.480Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-25T03:52:43.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T03:52:43.480Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:52:43.714Z] prd-ubuntu20.04-docker-8c-8g-4488 does not seem to be running inside a container [2023-08-25T03:52:43.742Z] $ 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-1502 -v /w/workspace/gexfoundry_device-sdk-go_PR-1502:/w/workspace/gexfoundry_device-sdk-go_PR-1502:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1502@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-08-25T03:52:45.757Z] 8d51d6327a98: Pull complete [2023-08-25T03:52:45.757Z] 8b374f2dd631: Pull complete [2023-08-25T03:52:45.757Z] ec14aa9079de: Pull complete [2023-08-25T03:52:47.641Z] $ docker top 4fade9774c05409b755918ee35e1add06e4f7a5b1e0be9bd729723c790c6f611 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T03:52:48.127Z] ---> job-cost.sh [2023-08-25T03:52:48.127Z] lf-activate-venv: SKIPPING [2023-08-25T03:52:48.127Z] INFO: No Stack... [2023-08-25T03:52:48.388Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T03:52:48.646Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T03:52:48.956Z] + + catcut /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives/cost.csv -d, [2023-08-25T03:52:48.956Z] -f6 [Pipeline] lock [2023-08-25T03:52:48.996Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1502-1-stack-cost] [2023-08-25T03:52:49.001Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1502-1-stack-cost] did not exist. Created. [2023-08-25T03:52:49.001Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T03:52:49.396Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-25T03:52:49.449Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T03:52:49.473Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1502-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T03:52:49.547Z] $ docker stop --time=1 4fade9774c05409b755918ee35e1add06e4f7a5b1e0be9bd729723c790c6f611 [2023-08-25T03:52:50.690Z] $ docker rm -f --volumes 4fade9774c05409b755918ee35e1add06e4f7a5b1e0be9bd729723c790c6f611 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-25T03:52:51.120Z] 2f466654f4bb: Pull complete [2023-08-25T03:52:53.732Z] 554e91adad29: Pull complete [2023-08-25T03:52:53.732Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-25T03:52:53.732Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-25T03:52:53.732Z] ---> 1e15ea492957 [2023-08-25T03:52:53.732Z] Step 3/10 : ARG MAKE=make build [2023-08-25T03:52:55.685Z] ---> Running in 382efeee5864 [2023-08-25T03:52:55.685Z] Removing intermediate container 382efeee5864 [2023-08-25T03:52:55.685Z] ---> 1aabcb0c4679 [2023-08-25T03:52:55.685Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-25T03:52:55.685Z] ---> Running in e6b61bdf080a [2023-08-25T03:52:55.954Z] Removing intermediate container e6b61bdf080a [2023-08-25T03:52:55.954Z] ---> ac2c19d08326 [2023-08-25T03:52:55.954Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T03:52:56.225Z] ---> Running in eef9e6d3c173 [2023-08-25T03:52:56.493Z] Removing intermediate container eef9e6d3c173 [2023-08-25T03:52:56.493Z] ---> 7a1a481fd1df [2023-08-25T03:52:56.493Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-25T03:52:56.493Z] ---> Running in 800be75a8fbd [2023-08-25T03:52:57.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T03:52:58.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T03:52:58.990Z] OK: 263 MiB in 53 packages [2023-08-25T03:52:59.949Z] Removing intermediate container 800be75a8fbd [2023-08-25T03:52:59.949Z] ---> 5f3a67d9de4d [2023-08-25T03:52:59.949Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-25T03:53:00.217Z] ---> df853cbdf8c7 [2023-08-25T03:53:00.217Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T03:53:00.484Z] ---> Running in e63215345309 [2023-08-25T03:54:08.350Z] Removing intermediate container e63215345309 [2023-08-25T03:54:08.350Z] ---> d6bda0c13052 [2023-08-25T03:54:08.350Z] Step 9/10 : COPY . . [2023-08-25T03:54:08.350Z] ---> 382222dd1736 [2023-08-25T03:54:08.350Z] Step 10/10 : RUN ${MAKE} [2023-08-25T03:54:08.350Z] ---> Running in cecbcba7a5dd [2023-08-25T03:54:08.350Z] noop [2023-08-25T03:54:08.350Z] Removing intermediate container cecbcba7a5dd [2023-08-25T03:54:08.350Z] ---> a06b5e5b39b5 [2023-08-25T03:54:08.350Z] Successfully built a06b5e5b39b5 [2023-08-25T03:54:08.350Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:54:08.841Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T03:54:08.841Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:54:09.112Z] prd-ubuntu20.04-docker-arm64-4c-16g-4489 does not seem to be running inside a container [2023-08-25T03:54:09.175Z] $ 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-08-25T03:54:10.346Z] $ docker top 570d63ad8c7bbcdb1528f39beb4c399a2e532e886bb65e8012329f48bc9f2fa8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:54:11.215Z] + go version [2023-08-25T03:54:11.215Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-25T03:54:11.248Z] $ docker stop --time=1 570d63ad8c7bbcdb1528f39beb4c399a2e532e886bb65e8012329f48bc9f2fa8 [2023-08-25T03:54:12.847Z] $ docker rm -f --volumes 570d63ad8c7bbcdb1528f39beb4c399a2e532e886bb65e8012329f48bc9f2fa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T03:54:13.695Z] + docker inspect -f . ci-base-image-arm64 [2023-08-25T03:54:13.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T03:54:13.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-4489 does not seem to be running inside a container [2023-08-25T03:54:14.047Z] $ 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-08-25T03:54:17.601Z] $ docker top b268d3855c380aaf602e87cedffbd93a2d84c1c9a803d262f16ab61fda167ec2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T03:54:18.151Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-25T03:54:18.943Z] + make test [2023-08-25T03:54:18.943Z] go test -race -coverprofile=coverage.out ./... [2023-08-25T03:54:57.816Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-25T03:57:04.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-25T03:57:04.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-25T03:57:04.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-25T03:57:04.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-25T03:57:04.463Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-25T03:57:09.791Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.210s coverage: 27.6% of statements [2023-08-25T03:57:15.128Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.259s coverage: 80.2% of statements [2023-08-25T03:57:27.435Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-25T03:57:27.435Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-25T03:57:27.435Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.347s coverage: 86.0% of statements [2023-08-25T03:57:32.793Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-25T03:57:33.378Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.489s coverage: 71.8% of statements [2023-08-25T03:57:36.722Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.292s coverage: 14.1% of statements [2023-08-25T03:57:39.304Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-25T03:57:39.304Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-25T03:57:39.304Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.818s coverage: 43.8% of statements [2023-08-25T03:57:39.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.418s coverage: 68.5% of statements [2023-08-25T03:57:43.044Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.428s coverage: 89.2% of statements [2023-08-25T03:57:44.567Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-25T03:57:44.846Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.5% of statements [2023-08-25T03:57:45.810Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-25T03:57:45.810Z] GO111MODULE=on go vet ./... [2023-08-25T04:00:07.548Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-25T04:00:07.548Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-25T04:00:07.548Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-25T04:00:07.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-25T04:00:07.678Z] $ docker stop --time=1 b268d3855c380aaf602e87cedffbd93a2d84c1c9a803d262f16ab61fda167ec2 [2023-08-25T04:00:09.492Z] $ docker rm -f --volumes b268d3855c380aaf602e87cedffbd93a2d84c1c9a803d262f16ab61fda167ec2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-25T04:00:11.088Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-25T04:00:11.122Z] Warning: overwriting stash ‘coverage-report’ [2023-08-25T04:00:11.639Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-25T04:00:12.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-25T04:00:12.798Z] + ls -al . [2023-08-25T04:00:12.798Z] total 300 [2023-08-25T04:00:12.798Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 03:54 . [2023-08-25T04:00:12.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:51 .. [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 25 03:52 .dockerignore [2023-08-25T04:00:12.798Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 03:52 .git [2023-08-25T04:00:12.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:52 .github [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 25 03:52 .gitignore [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 25 03:52 .golangci.yml [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 25 03:52 CHANGELOG.md [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 03:52 GOVERNANCE.md [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 25 03:52 Jenkinsfile [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 25 03:52 LICENSE [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 25 03:52 Makefile [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 25 03:52 OWNERS.md [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 25 03:52 README.md [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 03:50 VERSION [2023-08-25T04:00:12.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 03:52 bin [2023-08-25T04:00:12.798Z] -rw-r--r-- 1 jenkins jenkins 120468 Aug 25 03:57 coverage.out [2023-08-25T04:00:12.798Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 25 03:52 example [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 25 03:52 go.mod [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 25 03:52 go.sum [2023-08-25T04:00:12.798Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:52 internal [2023-08-25T04:00:12.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 03:52 openapi [2023-08-25T04:00:12.798Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 25 03:52 pkg [2023-08-25T04:00:12.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 03:52 snap [2023-08-25T04:00:12.798Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 25 03:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T04:00:13.262Z] + 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=bfd061ba66a13690f6bf759196bf371b7e4a34e9 --label arch=arm64 --label version=0.0.0 . [2023-08-25T04:00:13.531Z] Sending build context to Docker daemon 6.067MB [2023-08-25T04:00:13.531Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-25T04:00:13.531Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-25T04:00:13.531Z] ---> a06b5e5b39b5 [2023-08-25T04:00:13.531Z] Step 3/23 : ARG MAKE=make build [2023-08-25T04:00:13.799Z] ---> Running in d9209c7b2e15 [2023-08-25T04:00:14.067Z] Removing intermediate container d9209c7b2e15 [2023-08-25T04:00:14.067Z] ---> 86a07f4b79cd [2023-08-25T04:00:14.067Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-25T04:00:14.067Z] ---> Running in cc679dddf86b [2023-08-25T04:00:14.344Z] Removing intermediate container cc679dddf86b [2023-08-25T04:00:14.344Z] ---> 879d07ecbad2 [2023-08-25T04:00:14.344Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-25T04:00:14.344Z] ---> Running in 8d66edc94cbf [2023-08-25T04:00:14.614Z] Removing intermediate container 8d66edc94cbf [2023-08-25T04:00:14.614Z] ---> b28ee487d464 [2023-08-25T04:00:14.614Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-25T04:00:14.887Z] ---> Running in 9888ab7f5814 [2023-08-25T04:00:15.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T04:00:16.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T04:00:17.395Z] OK: 263 MiB in 53 packages [2023-08-25T04:00:18.356Z] Removing intermediate container 9888ab7f5814 [2023-08-25T04:00:18.356Z] ---> 70f4a0b6ee2f [2023-08-25T04:00:18.356Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-25T04:00:18.624Z] ---> f6602b9a71b0 [2023-08-25T04:00:18.624Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-25T04:00:18.624Z] ---> Running in 7d975e149be0 [2023-08-25T04:00:20.565Z] Removing intermediate container 7d975e149be0 [2023-08-25T04:00:20.565Z] ---> 7af75ccf66e8 [2023-08-25T04:00:20.565Z] Step 9/23 : COPY . . [2023-08-25T04:00:21.981Z] ---> 7f22caac3dd2 [2023-08-25T04:00:21.981Z] Step 10/23 : RUN ${MAKE} [2023-08-25T04:00:21.981Z] ---> Running in 5104cc60d6d7 [2023-08-25T04:00:22.562Z] 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-08-25T04:02:29.225Z] Removing intermediate container 5104cc60d6d7 [2023-08-25T04:02:29.225Z] ---> acc1ab5017d9 [2023-08-25T04:02:29.225Z] Step 11/23 : FROM alpine:3.17 [2023-08-25T04:02:29.489Z] 3.17: Pulling from library/alpine [2023-08-25T04:02:29.755Z] 4060ece20d7a: Pulling fs layer [2023-08-25T04:02:29.755Z] 4060ece20d7a: Verifying Checksum [2023-08-25T04:02:29.755Z] 4060ece20d7a: Download complete [2023-08-25T04:02:30.337Z] 4060ece20d7a: Pull complete [2023-08-25T04:02:30.337Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-25T04:02:30.337Z] Status: Downloaded newer image for alpine:3.17 [2023-08-25T04:02:30.337Z] ---> 8650cd65339b [2023-08-25T04:02:30.337Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-25T04:02:30.608Z] ---> Running in bf45eabbdbd1 [2023-08-25T04:02:30.876Z] Removing intermediate container bf45eabbdbd1 [2023-08-25T04:02:30.876Z] ---> 72960fd960d5 [2023-08-25T04:02:30.876Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-25T04:02:30.876Z] ---> Running in df399d42f3d6 [2023-08-25T04:02:31.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-25T04:02:32.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-25T04:02:33.379Z] OK: 7 MiB in 15 packages [2023-08-25T04:02:33.970Z] Removing intermediate container df399d42f3d6 [2023-08-25T04:02:33.970Z] ---> 627abbcc7fa6 [2023-08-25T04:02:33.970Z] Step 14/23 : WORKDIR / [2023-08-25T04:02:34.236Z] ---> Running in 7c0870d8a76d [2023-08-25T04:02:34.505Z] Removing intermediate container 7c0870d8a76d [2023-08-25T04:02:34.505Z] ---> 73466eece136 [2023-08-25T04:02:34.505Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-25T04:02:34.772Z] ---> 20a0ae90c84e [2023-08-25T04:02:34.772Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-25T04:02:36.184Z] ---> c7c5e1e346dd [2023-08-25T04:02:36.184Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-25T04:02:36.768Z] ---> c0b09cd437b5 [2023-08-25T04:02:36.768Z] Step 18/23 : EXPOSE 59999 [2023-08-25T04:02:36.768Z] ---> Running in b004f7770fa2 [2023-08-25T04:02:37.038Z] Removing intermediate container b004f7770fa2 [2023-08-25T04:02:37.038Z] ---> 55d12eacb4f8 [2023-08-25T04:02:37.038Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-25T04:02:37.306Z] ---> Running in 8eed05a91a13 [2023-08-25T04:02:37.574Z] Removing intermediate container 8eed05a91a13 [2023-08-25T04:02:37.574Z] ---> ec0f1ea2d8e8 [2023-08-25T04:02:37.574Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-25T04:02:37.574Z] ---> Running in 5456e5557b09 [2023-08-25T04:02:37.842Z] Removing intermediate container 5456e5557b09 [2023-08-25T04:02:37.842Z] ---> 2c7482add7e5 [2023-08-25T04:02:37.842Z] Step 21/23 : LABEL arch=arm64 [2023-08-25T04:02:37.842Z] ---> Running in cca1b2fe02aa [2023-08-25T04:02:38.108Z] Removing intermediate container cca1b2fe02aa [2023-08-25T04:02:38.108Z] ---> 4f666a6c18b4 [2023-08-25T04:02:38.108Z] Step 22/23 : LABEL git_sha=bfd061ba66a13690f6bf759196bf371b7e4a34e9 [2023-08-25T04:02:38.108Z] ---> Running in e25e1ca32488 [2023-08-25T04:02:38.376Z] Removing intermediate container e25e1ca32488 [2023-08-25T04:02:38.376Z] ---> 83d02be01c2f [2023-08-25T04:02:38.376Z] Step 23/23 : LABEL version=0.0.0 [2023-08-25T04:02:38.650Z] ---> Running in 32474d2f6847 [2023-08-25T04:02:38.931Z] Removing intermediate container 32474d2f6847 [2023-08-25T04:02:38.931Z] ---> a514ede072c4 [2023-08-25T04:02:38.931Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-25T04:02:38.931Z] Successfully built a514ede072c4 [2023-08-25T04:02:38.931Z] 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-08-25T04:02:39.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T04:02:39.718Z] [2023-08-25T04:02:39.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T04:02:40.224Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T04:02:40.494Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-25T04:02:40.494Z] 8998bd30e6a1: Pulling fs layer [2023-08-25T04:02:40.494Z] 04944245beec: Pulling fs layer [2023-08-25T04:02:40.494Z] 699f458cf7ca: Pulling fs layer [2023-08-25T04:02:40.494Z] 765212b225bb: Pulling fs layer [2023-08-25T04:02:40.494Z] f23df028b6ca: Pulling fs layer [2023-08-25T04:02:40.494Z] d65c8cfc05b1: Pulling fs layer [2023-08-25T04:02:40.494Z] 2437ff75d9bd: Pulling fs layer [2023-08-25T04:02:40.494Z] f23df028b6ca: Waiting [2023-08-25T04:02:40.494Z] d65c8cfc05b1: Waiting [2023-08-25T04:02:40.494Z] 765212b225bb: Waiting [2023-08-25T04:02:40.494Z] 2437ff75d9bd: Waiting [2023-08-25T04:02:40.494Z] 04944245beec: Verifying Checksum [2023-08-25T04:02:40.494Z] 04944245beec: Download complete [2023-08-25T04:02:40.494Z] 765212b225bb: Verifying Checksum [2023-08-25T04:02:40.494Z] 765212b225bb: Download complete [2023-08-25T04:02:40.762Z] f23df028b6ca: Verifying Checksum [2023-08-25T04:02:40.762Z] f23df028b6ca: Download complete [2023-08-25T04:02:40.762Z] 699f458cf7ca: Verifying Checksum [2023-08-25T04:02:40.762Z] 699f458cf7ca: Download complete [2023-08-25T04:02:40.762Z] d65c8cfc05b1: Verifying Checksum [2023-08-25T04:02:40.762Z] d65c8cfc05b1: Download complete [2023-08-25T04:02:41.029Z] 8998bd30e6a1: Download complete [2023-08-25T04:02:43.618Z] 2437ff75d9bd: Verifying Checksum [2023-08-25T04:02:43.618Z] 2437ff75d9bd: Download complete [2023-08-25T04:02:46.952Z] 8998bd30e6a1: Pull complete [2023-08-25T04:02:46.952Z] 04944245beec: Pull complete [2023-08-25T04:02:48.361Z] 699f458cf7ca: Pull complete [2023-08-25T04:02:48.361Z] 765212b225bb: Pull complete [2023-08-25T04:02:48.947Z] f23df028b6ca: Pull complete [2023-08-25T04:02:49.216Z] d65c8cfc05b1: Pull complete [2023-08-25T04:03:04.234Z] 2437ff75d9bd: Pull complete [2023-08-25T04:03:04.234Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-25T04:03:04.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-25T04:03:04.234Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T04:03:04.558Z] prd-ubuntu20.04-docker-arm64-4c-16g-4489 does not seem to be running inside a container [2023-08-25T04:03:04.621Z] $ 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-08-25T04:03:07.110Z] $ docker top 462c26002d2153bccc7389832c2c41fdc99bd109a33aa292fb2530e8b3454cf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-25T04:03:07.993Z] ---> job-cost.sh [2023-08-25T04:03:07.993Z] lf-activate-venv: SKIPPING [2023-08-25T04:03:07.993Z] INFO: No Stack... [2023-08-25T04:03:08.259Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-25T04:03:09.216Z] INFO: Archiving Costs [Pipeline] sh [2023-08-25T04:03:09.561Z] + cut -d, -f6 [2023-08-25T04:03:09.562Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-08-25T04:03:09.635Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1502-1-stack-cost] [2023-08-25T04:03:09.640Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1502-1-stack-cost] did not exist. Created. [2023-08-25T04:03:09.640Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1502-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-25T04:03:10.044Z] /w/workspace/device-sdk-go/1@tmp/durable-dff36199/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-25T04:03:10.708Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-25T04:03:10.742Z] Warning: overwriting stash ‘stack-cost’ [2023-08-25T04:03:10.813Z] Stashed 1 file(s) [Pipeline] } [2023-08-25T04:03:10.828Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1502-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-25T04:03:10.901Z] $ docker stop --time=1 462c26002d2153bccc7389832c2c41fdc99bd109a33aa292fb2530e8b3454cf5 [2023-08-25T04:03:13.675Z] $ docker rm -f --volumes 462c26002d2153bccc7389832c2c41fdc99bd109a33aa292fb2530e8b3454cf5 [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-08-25T04:03:14.687Z] provisioning config files... [2023-08-25T04:03:14.695Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/config14621907826827784895tmp [Pipeline] { [Pipeline] sh [2023-08-25T04:03:15.031Z] + set +x [2023-08-25T04:03:15.031Z] + + curlbash -s -s https://codecov.io/bash -- [2023-08-25T04:03:15.031Z] [2023-08-25T04:03:15.031Z] [2023-08-25T04:03:15.031Z] _____ _ [2023-08-25T04:03:15.031Z] / ____| | | [2023-08-25T04:03:15.031Z] | | ___ __| | ___ ___ _____ __ [2023-08-25T04:03:15.031Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-25T04:03:15.031Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-25T04:03:15.031Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-25T04:03:15.031Z] Bash-1.0.6 [2023-08-25T04:03:15.031Z] [2023-08-25T04:03:15.031Z] [2023-08-25T04:03:15.031Z] ==> git version 2.25.1 found [2023-08-25T04:03:15.031Z] ==> 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-08-25T04:03:15.031Z] Release-Date: 2020-01-08 [2023-08-25T04:03:15.031Z] 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-08-25T04:03:15.031Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-25T04:03:15.031Z] ==> Jenkins CI detected. [2023-08-25T04:03:15.031Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1502 [2023-08-25T04:03:15.031Z] project root: . [2023-08-25T04:03:15.031Z] --> token set from env [2023-08-25T04:03:15.031Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-25T04:03:15.031Z] ==> Running gcov in . (disable via -X gcov) [2023-08-25T04:03:15.031Z] ==> Python coveragepy not found [2023-08-25T04:03:15.031Z] ==> Searching for coverage reports in: [2023-08-25T04:03:15.031Z] + . [2023-08-25T04:03:15.031Z] -> Found 1 reports [2023-08-25T04:03:15.031Z] ==> Detecting git/mercurial file structure [2023-08-25T04:03:15.290Z] ==> Reading reports [2023-08-25T04:03:15.290Z] + ./coverage.out bytes=120468 [2023-08-25T04:03:15.290Z] ==> Appending adjustments [2023-08-25T04:03:15.290Z] https://docs.codecov.io/docs/fixing-reports [2023-08-25T04:03:15.549Z] + Found adjustments [2023-08-25T04:03:15.549Z] ==> Gzipping contents [2023-08-25T04:03:15.549Z] 20K /tmp/codecov.PnM1CH.gz [2023-08-25T04:03:15.549Z] ==> Uploading reports [2023-08-25T04:03:15.549Z] url: https://codecov.io [2023-08-25T04:03:15.549Z] query: branch=PR-1502&commit=f165fea5e597c45f253c0c51488dc66f20f0341a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1502%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1502&job=&cmd_args= [2023-08-25T04:03:15.549Z] -> Pinging Codecov [2023-08-25T04:03:15.550Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1502&commit=f165fea5e597c45f253c0c51488dc66f20f0341a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1502%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1502&job=&cmd_args= [2023-08-25T04:03:15.807Z] -> Uploading to [2023-08-25T04:03:15.807Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-25/7E55EF52A471D76F132DFD9A03CDDE97/f165fea5e597c45f253c0c51488dc66f20f0341a/f1d7a072-c80c-4ef3-93ba-877acded3739.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T040315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=52cea178cea0e15951dcf0a7df93f1f34c40686b5b8ead3b09a67c6de286cce8 [2023-08-25T04:03:15.807Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-25T04:03:15.807Z] Dload Upload Total Spent Left Speed [2023-08-25T04:03:15.807Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16427 0 0 100 16427 0 82547 --:--:-- --:--:-- --:--:-- 82135 [2023-08-25T04:03:15.807Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f165fea5e597c45f253c0c51488dc66f20f0341a [Pipeline] } [2023-08-25T04:03:15.833Z] 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-08-25T04:03:17.634Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives ] [2023-08-25T04:03:17.634Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives [2023-08-25T04:03:17.634Z] total 16 [2023-08-25T04:03:17.634Z] drwxr-xr-x 3 root root 4096 Aug 25 03:52 . [2023-08-25T04:03:17.634Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:52 .. [2023-08-25T04:03:17.634Z] drwxr-xr-x 2 root root 4096 Aug 25 03:52 cost [2023-08-25T04:03:17.634Z] -rw-r--r-- 1 root root 86 Aug 25 03:52 cost.csv [2023-08-25T04:03:17.634Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives [2023-08-25T04:03:17.634Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives [2023-08-25T04:03:17.634Z] total 16 [2023-08-25T04:03:17.634Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 03:52 . [2023-08-25T04:03:17.634Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 25 03:52 .. [2023-08-25T04:03:17.634Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 03:52 cost [2023-08-25T04:03:17.634Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 25 03:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-25T04:03:17.959Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T04:03:18.845Z] ---> package-listing.sh [2023-08-25T04:03:18.845Z] ++ facter osfamily [2023-08-25T04:03:18.845Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-25T04:03:19.105Z] + OS_FAMILY=debian [2023-08-25T04:03:19.105Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1502 [2023-08-25T04:03:19.105Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-25T04:03:19.105Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-25T04:03:19.105Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-25T04:03:19.105Z] + PACKAGES=/tmp/packages_start.txt [2023-08-25T04:03:19.105Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1502 ']' [2023-08-25T04:03:19.105Z] + PACKAGES=/tmp/packages_end.txt [2023-08-25T04:03:19.105Z] + case "${OS_FAMILY}" in [2023-08-25T04:03:19.105Z] + dpkg -l [2023-08-25T04:03:19.105Z] + grep '^ii' [2023-08-25T04:03:19.105Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-25T04:03:19.105Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-25T04:03:19.105Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-25T04:03:19.105Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1502 ']' [2023-08-25T04:03:19.105Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives/ [2023-08-25T04:03:19.105Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1502/archives/ [Pipeline] echo [2023-08-25T04:03:19.140Z] 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-1502/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-25T04:03:19.431Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-25T04:03:20.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-25T04:03:20.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-25T04:03:20.198Z] prd-ubuntu20.04-docker-8c-8g-4488 does not seem to be running inside a container [2023-08-25T04:03:20.235Z] $ 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-1502/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-1502 -v /w/workspace/gexfoundry_device-sdk-go_PR-1502:/w/workspace/gexfoundry_device-sdk-go_PR-1502:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1502@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-08-25T04:03:20.406Z] $ docker top c7efae1c53fc2ad5147a69d9ede6ddd00ca0a44cf36931b6c31c158c526c893f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-25T04:03:20.786Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-25T04:03:21.095Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-25T04:03:21.403Z] + ls /var/log/sa-host [2023-08-25T04:03:21.403Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-25T04:03:21.652Z] provisioning config files... [2023-08-25T04:03:21.661Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1502@tmp/config5870842302088127849tmp [Pipeline] { [Pipeline] echo [2023-08-25T04:03:21.710Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T04:03:22.019Z] ---> create-netrc.sh [Pipeline] } [2023-08-25T04:03:22.043Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-25T04:03:22.453Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-25T04:03:22.483Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T04:03:22.791Z] ---> sudo-logs.sh [2023-08-25T04:03:22.791Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-25T04:03:22.876Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T04:03:23.188Z] ---> job-cost.sh [2023-08-25T04:03:23.188Z] lf-activate-venv: SKIPPING [2023-08-25T04:03:23.188Z] DEBUG: total: 0.2199999988079071 [2023-08-25T04:03:23.188Z] INFO: Retrieving Stack Cost... [2023-08-25T04:03:23.449Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-25T04:03:24.018Z] INFO: Archiving Costs [Pipeline] echo [2023-08-25T04:03:24.051Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-25T04:03:24.357Z] ---> logs-deploy.sh [2023-08-25T04:03:24.357Z] lf-activate-venv: SKIPPING [2023-08-25T04:03:24.357Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1502/1 [2023-08-25T04:03:24.357Z] INFO: archiving workspace using pattern(s): [2023-08-25T04:03:25.293Z] Archives upload complete. [2023-08-25T04:03:25.293Z] INFO: archiving logs to Nexus