Pull request #1512 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb+26e70d184d940b851e0540af95c39d19f0ae7fb9 (2c401426870900ff0e2703f5f412c1d99069f7da) 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-ssh10565956608846936590.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13116626099106718193.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1512/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-1512/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2134999268322743042.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-1512/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17127848188852689188.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1442760714661978519.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-1512/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-1512/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15455190483723083183.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6486 in /w/workspace/gexfoundry_device-sdk-go_PR-1512 [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-1512 # 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/1512/head:refs/remotes/origin/PR-1512 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 26e70d184d940b851e0540af95c39d19f0ae7fb9 into PR head commit 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb Merge succeeded, producing 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb Checking out Revision 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb (PR-1512) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb # 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 26e70d184d940b851e0540af95c39d19f0ae7fb9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-19T04:19:38.189Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-19T04:19:38.371Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-19T04:19:38.478Z] ========================================================= [2023-09-19T04:19:38.478Z] EdgeX Global Pipelines Version Info [2023-09-19T04:19:38.478Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:19:39.221Z] ------------------- [2023-09-19T04:19:39.221Z] stable info: [2023-09-19T04:19:39.222Z] ------------------- [2023-09-19T04:19:39.222Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-19T04:19:39.222Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T04:19:39.222Z] Message: update stable to v1.0.254 [2023-09-19T04:19:39.798Z] ------------------- [2023-09-19T04:19:39.798Z] experimental info: [2023-09-19T04:19:39.798Z] ------------------- [2023-09-19T04:19:39.798Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-19T04:19:39.798Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-19T04:19:39.798Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-19T04:19:40.112Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-19T04:19:40.158Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-19T04:19:40.200Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-19T04:19:40.242Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-19T04:19:40.284Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-19T04:19:40.320Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-19T04:19:40.368Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-19T04:19:40.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-19T04:19:40.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-19T04:19:40.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-19T04:19:40.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-19T04:19:40.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-19T04:19:40.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-19T04:19:40.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-19T04:19:40.707Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-19T04:19:40.749Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T04:19:40.790Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T04:19:40.836Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-19T04:19:40.877Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-19T04:19:40.921Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-19T04:19:40.963Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-19T04:19:41.006Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-19T04:19:41.048Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-19T04:19:41.092Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-19T04:19:41.132Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-19T04:19:41.174Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-19T04:19:41.229Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-19T04:19:41.276Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1512 [Pipeline] echo [2023-09-19T04:19:41.320Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1512 [Pipeline] echo [2023-09-19T04:19:41.363Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1512 [Pipeline] echo [2023-09-19T04:19:41.411Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb [Pipeline] echo [2023-09-19T04:19:41.455Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d6ebfb [Pipeline] echo [2023-09-19T04:19:41.503Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T04:19:41.620Z] provisioning config files... [2023-09-19T04:19:41.634Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp/config1283946784564878890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:19:41.987Z] ---> docker-login.sh [2023-09-19T04:19:41.987Z] nexus3.edgexfoundry.org:10001 [2023-09-19T04:19:42.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:19:42.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:19:42.247Z] Configure a credential helper to remove this warning. See [2023-09-19T04:19:42.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:19:42.247Z] [2023-09-19T04:19:42.247Z] Login Succeeded [2023-09-19T04:19:42.247Z] nexus3.edgexfoundry.org:10002 [2023-09-19T04:19:42.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:19:42.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:19:42.507Z] Configure a credential helper to remove this warning. See [2023-09-19T04:19:42.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:19:42.507Z] [2023-09-19T04:19:42.507Z] Login Succeeded [2023-09-19T04:19:42.507Z] nexus3.edgexfoundry.org:10003 [2023-09-19T04:19:42.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:19:42.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:19:42.507Z] Configure a credential helper to remove this warning. See [2023-09-19T04:19:42.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:19:42.507Z] [2023-09-19T04:19:42.507Z] Login Succeeded [2023-09-19T04:19:42.508Z] nexus3.edgexfoundry.org:10004 [2023-09-19T04:19:42.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:19:42.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:19:42.768Z] Configure a credential helper to remove this warning. See [2023-09-19T04:19:42.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:19:42.768Z] [2023-09-19T04:19:42.768Z] Login Succeeded [2023-09-19T04:19:42.768Z] docker.io [2023-09-19T04:19:42.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:19:43.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:19:43.337Z] Configure a credential helper to remove this warning. See [2023-09-19T04:19:43.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:19:43.337Z] [2023-09-19T04:19:43.337Z] Login Succeeded [2023-09-19T04:19:43.337Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T04:19:43.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-19T04:19:43.991Z] + git rev-list -1 --merges 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb~1..0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb [Pipeline] echo [2023-09-19T04:19:44.055Z] -----------> git rev-list -1 --merges 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb~1..0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb [false] [Pipeline] sh [2023-09-19T04:19:44.365Z] + git log --format=format:%s -1 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb [Pipeline] echo [2023-09-19T04:19:44.399Z] ========================================================= [2023-09-19T04:19:44.399Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-19T04:19:44.399Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T04:19:44.838Z] + git log --format=format:%s -1 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb [Pipeline] echo [2023-09-19T04:19:44.870Z] [semverPrep] GIT_COMMIT: 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-09-19T04:19:44.900Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-19T04:19:45.292Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-19T04:19:45.292Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-19T04:19:45.292Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-19T04:19:45.292Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-19T04:19:45.292Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-19T04:19:45.292Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-19T04:19:45.292Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:19:45.804Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T04:19:45.804Z] [2023-09-19T04:19:45.804Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:19:46.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T04:19:46.175Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-19T04:19:46.175Z] b85a868b505f: Pulling fs layer [2023-09-19T04:19:46.175Z] e2be974225ed: Pulling fs layer [2023-09-19T04:19:46.175Z] 339a4e72a1f5: Pulling fs layer [2023-09-19T04:19:46.175Z] 988bab9f4d93: Pulling fs layer [2023-09-19T04:19:46.175Z] 1469e6f7b9e6: Pulling fs layer [2023-09-19T04:19:46.175Z] eaf3925da568: Pulling fs layer [2023-09-19T04:19:46.175Z] bab4dde63d76: Pulling fs layer [2023-09-19T04:19:46.175Z] bde34c3a00c8: Pulling fs layer [2023-09-19T04:19:46.175Z] b352a97aabf1: Pulling fs layer [2023-09-19T04:19:46.175Z] 4872d77fe225: Pulling fs layer [2023-09-19T04:19:46.175Z] 5851b861e8e6: Pulling fs layer [2023-09-19T04:19:46.175Z] bab4dde63d76: Waiting [2023-09-19T04:19:46.175Z] bde34c3a00c8: Waiting [2023-09-19T04:19:46.175Z] b352a97aabf1: Waiting [2023-09-19T04:19:46.175Z] 4872d77fe225: Waiting [2023-09-19T04:19:46.175Z] 5851b861e8e6: Waiting [2023-09-19T04:19:46.175Z] 988bab9f4d93: Waiting [2023-09-19T04:19:46.175Z] eaf3925da568: Waiting [2023-09-19T04:19:46.175Z] 1469e6f7b9e6: Waiting [2023-09-19T04:19:46.175Z] e2be974225ed: Download complete [2023-09-19T04:19:46.175Z] 988bab9f4d93: Download complete [2023-09-19T04:19:46.175Z] 339a4e72a1f5: Verifying Checksum [2023-09-19T04:19:46.175Z] 339a4e72a1f5: Download complete [2023-09-19T04:19:46.438Z] 1469e6f7b9e6: Verifying Checksum [2023-09-19T04:19:46.438Z] 1469e6f7b9e6: Download complete [2023-09-19T04:19:46.438Z] eaf3925da568: Verifying Checksum [2023-09-19T04:19:46.438Z] eaf3925da568: Download complete [2023-09-19T04:19:46.438Z] bde34c3a00c8: Verifying Checksum [2023-09-19T04:19:46.438Z] bde34c3a00c8: Download complete [2023-09-19T04:19:46.438Z] b352a97aabf1: Verifying Checksum [2023-09-19T04:19:46.438Z] b352a97aabf1: Download complete [2023-09-19T04:19:46.438Z] 4872d77fe225: Download complete [2023-09-19T04:19:46.438Z] 5851b861e8e6: Download complete [2023-09-19T04:19:46.438Z] b85a868b505f: Verifying Checksum [2023-09-19T04:19:46.438Z] b85a868b505f: Download complete [2023-09-19T04:19:46.698Z] bab4dde63d76: Download complete [2023-09-19T04:19:47.639Z] b85a868b505f: Pull complete [2023-09-19T04:19:47.901Z] e2be974225ed: Pull complete [2023-09-19T04:19:48.471Z] 339a4e72a1f5: Pull complete [2023-09-19T04:19:48.471Z] 988bab9f4d93: Pull complete [2023-09-19T04:19:48.731Z] 1469e6f7b9e6: Pull complete [2023-09-19T04:19:48.731Z] eaf3925da568: Pull complete [2023-09-19T04:19:50.634Z] bab4dde63d76: Pull complete [2023-09-19T04:19:50.634Z] bde34c3a00c8: Pull complete [2023-09-19T04:19:50.893Z] b352a97aabf1: Pull complete [2023-09-19T04:19:50.893Z] 4872d77fe225: Pull complete [2023-09-19T04:19:51.159Z] 5851b861e8e6: Pull complete [2023-09-19T04:19:51.159Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-19T04:19:51.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-19T04:19:51.159Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T04:19:51.389Z] prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container [2023-09-19T04:19:51.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1512 -v /w/workspace/gexfoundry_device-sdk-go_PR-1512:/w/workspace/gexfoundry_device-sdk-go_PR-1512:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-19T04:19:52.792Z] $ docker top b74cf73db9f2aa73f86f855f5fbe21714606bbcd813cef3de5ebc2ead16d6edf -eo pid,comm [2023-09-19T04:19:52.850Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-19T04:19:52.850Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-19T04:19:52.982Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T04:19:52.983Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T04:19:53.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T04:19:53.096Z] $ docker exec b74cf73db9f2aa73f86f855f5fbe21714606bbcd813cef3de5ebc2ead16d6edf ssh-agent [2023-09-19T04:19:53.210Z] SSH_AUTH_SOCK=/tmp/ssh-YOJFnCrNkBrJ/agent.31 [2023-09-19T04:19:53.210Z] SSH_AGENT_PID=37 [2023-09-19T04:19:53.218Z] Running ssh-add (command line suppressed) [2023-09-19T04:19:53.335Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp/private_key_4466989273000473730.key (/w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp/private_key_4466989273000473730.key) [2023-09-19T04:19:53.354Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T04:19:53.685Z] + git tag --points-at HEAD [Pipeline] } [2023-09-19T04:19:53.710Z] $ docker exec --env ******** --env ******** b74cf73db9f2aa73f86f855f5fbe21714606bbcd813cef3de5ebc2ead16d6edf ssh-agent -k [2023-09-19T04:19:53.814Z] unset SSH_AUTH_SOCK; [2023-09-19T04:19:53.814Z] unset SSH_AGENT_PID; [2023-09-19T04:19:53.814Z] echo Agent pid 37 killed; [2023-09-19T04:19:53.830Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-19T04:19:53.917Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-19T04:19:53.917Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-19T04:19:54.024Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-19T04:19:54.027Z] $ docker exec b74cf73db9f2aa73f86f855f5fbe21714606bbcd813cef3de5ebc2ead16d6edf ssh-agent [2023-09-19T04:19:54.141Z] SSH_AUTH_SOCK=/tmp/ssh-aA2A0FqMRKwf/agent.69 [2023-09-19T04:19:54.141Z] SSH_AGENT_PID=75 [2023-09-19T04:19:54.145Z] Running ssh-add (command line suppressed) [2023-09-19T04:19:54.256Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp/private_key_15704540072667422818.key (/w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp/private_key_15704540072667422818.key) [2023-09-19T04:19:54.269Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-19T04:19:54.607Z] + git semver init [2023-09-19T04:19:54.867Z] 2023-09-19 04:19:54,787 [run_init] DEBUG init version:0.0.0 force:False [2023-09-19T04:19:54.867Z] 2023-09-19 04:19:54,788 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1512/.semver [2023-09-19T04:19:54.867Z] 2023-09-19 04:19:54,789 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1512/.semver [2023-09-19T04:19:54.867Z] 2023-09-19 04:19:54,789 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1512/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1512, universal_newlines=False, shell=None, istream=None) [2023-09-19T04:19:55.806Z] 2023-09-19 04:19:55,784 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1512/.git/info/exclude [2023-09-19T04:19:55.806Z] 2023-09-19 04:19:55,784 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1512/.semver/PR-1512 with force:False [2023-09-19T04:19:55.806Z] 2023-09-19 04:19:55,784 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1512/.semver/PR-1512 [2023-09-19T04:19:55.806Z] 2023-09-19 04:19:55,788 [execute] INFO git cat-file --batch-check [2023-09-19T04:19:55.806Z] 2023-09-19 04:19:55,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1512/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T04:19:55.806Z] 2023-09-19 04:19:55,795 [execute] INFO git cat-file --batch [2023-09-19T04:19:55.806Z] 2023-09-19 04:19:55,795 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1512/.semver, universal_newlines=False, shell=None, istream=) [2023-09-19T04:19:55.806Z] 2023-09-19 04:19:55,801 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1512/.semver/PR-1512 [2023-09-19T04:19:55.806Z] 0.0.0 [Pipeline] } [2023-09-19T04:19:56.082Z] $ docker exec --env ******** --env ******** b74cf73db9f2aa73f86f855f5fbe21714606bbcd813cef3de5ebc2ead16d6edf ssh-agent -k [2023-09-19T04:19:56.196Z] unset SSH_AUTH_SOCK; [2023-09-19T04:19:56.197Z] unset SSH_AGENT_PID; [2023-09-19T04:19:56.197Z] echo Agent pid 75 killed; [2023-09-19T04:19:56.205Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-19T04:19:56.637Z] + git semver [Pipeline] } [2023-09-19T04:19:56.924Z] $ docker stop --time=1 b74cf73db9f2aa73f86f855f5fbe21714606bbcd813cef3de5ebc2ead16d6edf [2023-09-19T04:19:58.202Z] $ docker rm -f --volumes b74cf73db9f2aa73f86f855f5fbe21714606bbcd813cef3de5ebc2ead16d6edf [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T04:19:58.609Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-19T04:19:58.884Z] Stashed 1 file(s) [Pipeline] echo [2023-09-19T04:19:58.902Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T04:19:59.524Z] provisioning config files... [2023-09-19T04:19:59.533Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp/config8379802334907550207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:19:59.953Z] ---> docker-login.sh [2023-09-19T04:19:59.954Z] nexus3.edgexfoundry.org:10001 [2023-09-19T04:19:59.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:19:59.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:19:59.954Z] Configure a credential helper to remove this warning. See [2023-09-19T04:19:59.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:19:59.954Z] [2023-09-19T04:19:59.954Z] Login Succeeded [2023-09-19T04:19:59.954Z] nexus3.edgexfoundry.org:10002 [2023-09-19T04:19:59.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:19:59.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:19:59.954Z] Configure a credential helper to remove this warning. See [2023-09-19T04:19:59.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:19:59.954Z] [2023-09-19T04:19:59.954Z] Login Succeeded [2023-09-19T04:19:59.954Z] nexus3.edgexfoundry.org:10003 [2023-09-19T04:20:00.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:20:00.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:20:00.213Z] Configure a credential helper to remove this warning. See [2023-09-19T04:20:00.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:20:00.213Z] [2023-09-19T04:20:00.213Z] Login Succeeded [2023-09-19T04:20:00.213Z] nexus3.edgexfoundry.org:10004 [2023-09-19T04:20:00.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:20:00.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:20:00.213Z] Configure a credential helper to remove this warning. See [2023-09-19T04:20:00.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:20:00.213Z] [2023-09-19T04:20:00.213Z] Login Succeeded [2023-09-19T04:20:00.213Z] docker.io [2023-09-19T04:20:00.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:20:00.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:20:00.731Z] Configure a credential helper to remove this warning. See [2023-09-19T04:20:00.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:20:00.731Z] [2023-09-19T04:20:00.731Z] Login Succeeded [2023-09-19T04:20:00.731Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T04:20:00.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T04:20:00.962Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T04:20:01.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T04:20:01.032Z] ========================================================= [2023-09-19T04:20:01.032Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-19T04:20:01.032Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:20:01.502Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T04:20:01.502Z] Sending build context to Docker daemon 11.14MB [2023-09-19T04:20:01.502Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T04:20:01.502Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-19T04:20:01.502Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-19T04:20:01.502Z] 7264a8db6415: Pulling fs layer [2023-09-19T04:20:01.502Z] c4d48a809fc2: Pulling fs layer [2023-09-19T04:20:01.502Z] 4f1c88b9dad5: Pulling fs layer [2023-09-19T04:20:01.502Z] ad3a456e5733: Pulling fs layer [2023-09-19T04:20:01.502Z] 9e4f439ed901: Pulling fs layer [2023-09-19T04:20:01.502Z] feaf6a47b606: Pulling fs layer [2023-09-19T04:20:01.502Z] 5e8b037d7d82: Pulling fs layer [2023-09-19T04:20:01.502Z] 8ac70367396e: Pulling fs layer [2023-09-19T04:20:01.502Z] 6db16350a2e2: Pulling fs layer [2023-09-19T04:20:01.502Z] feaf6a47b606: Waiting [2023-09-19T04:20:01.502Z] 5e8b037d7d82: Waiting [2023-09-19T04:20:01.502Z] ad3a456e5733: Waiting [2023-09-19T04:20:01.502Z] 9e4f439ed901: Waiting [2023-09-19T04:20:01.502Z] 9250d5d63582: Pulling fs layer [2023-09-19T04:20:01.502Z] 8ac70367396e: Waiting [2023-09-19T04:20:01.502Z] 6db16350a2e2: Waiting [2023-09-19T04:20:01.502Z] 9250d5d63582: Waiting [2023-09-19T04:20:01.760Z] c4d48a809fc2: Verifying Checksum [2023-09-19T04:20:01.760Z] c4d48a809fc2: Download complete [2023-09-19T04:20:01.760Z] ad3a456e5733: Verifying Checksum [2023-09-19T04:20:01.760Z] ad3a456e5733: Download complete [2023-09-19T04:20:01.760Z] 9e4f439ed901: Verifying Checksum [2023-09-19T04:20:01.760Z] 9e4f439ed901: Download complete [2023-09-19T04:20:01.760Z] 7264a8db6415: Verifying Checksum [2023-09-19T04:20:01.760Z] 7264a8db6415: Download complete [2023-09-19T04:20:01.760Z] feaf6a47b606: Verifying Checksum [2023-09-19T04:20:01.760Z] feaf6a47b606: Download complete [2023-09-19T04:20:02.020Z] 7264a8db6415: Pull complete [2023-09-19T04:20:02.020Z] 8ac70367396e: Verifying Checksum [2023-09-19T04:20:02.020Z] 8ac70367396e: Download complete [2023-09-19T04:20:02.020Z] c4d48a809fc2: Pull complete [2023-09-19T04:20:02.020Z] 4f1c88b9dad5: Verifying Checksum [2023-09-19T04:20:02.020Z] 4f1c88b9dad5: Download complete [2023-09-19T04:20:02.285Z] 6db16350a2e2: Verifying Checksum [2023-09-19T04:20:02.285Z] 6db16350a2e2: Download complete [2023-09-19T04:20:02.558Z] 9250d5d63582: Verifying Checksum [2023-09-19T04:20:02.558Z] 9250d5d63582: Download complete [2023-09-19T04:20:02.558Z] 5e8b037d7d82: Verifying Checksum [2023-09-19T04:20:02.558Z] 5e8b037d7d82: Download complete [2023-09-19T04:20:05.847Z] 4f1c88b9dad5: Pull complete [2023-09-19T04:20:05.847Z] ad3a456e5733: Pull complete [2023-09-19T04:20:05.847Z] 9e4f439ed901: Pull complete [2023-09-19T04:20:05.847Z] feaf6a47b606: Pull complete [2023-09-19T04:20:08.379Z] 5e8b037d7d82: Pull complete [2023-09-19T04:20:08.945Z] 8ac70367396e: Pull complete [2023-09-19T04:20:09.202Z] 6db16350a2e2: Pull complete [2023-09-19T04:20:10.136Z] 9250d5d63582: Pull complete [2023-09-19T04:20:10.136Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-19T04:20:10.136Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-19T04:20:10.136Z] ---> fa269f55d9b9 [2023-09-19T04:20:10.136Z] Step 3/10 : ARG MAKE=make build [2023-09-19T04:20:13.431Z] ---> Running in e99a2c83cb54 [2023-09-19T04:20:13.431Z] Removing intermediate container e99a2c83cb54 [2023-09-19T04:20:13.431Z] ---> b6c5c507b5bd [2023-09-19T04:20:13.431Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-19T04:20:13.431Z] ---> Running in 8b4ea16a246e [2023-09-19T04:20:13.688Z] Removing intermediate container 8b4ea16a246e [2023-09-19T04:20:13.688Z] ---> 74473fbf2d68 [2023-09-19T04:20:13.688Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T04:20:13.688Z] ---> Running in 045a2303e8c9 [2023-09-19T04:20:13.688Z] Removing intermediate container 045a2303e8c9 [2023-09-19T04:20:13.688Z] ---> 8dda50e6690e [2023-09-19T04:20:13.688Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-19T04:20:13.688Z] ---> Running in 36ac35715bda [2023-09-19T04:20:13.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T04:20:13.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T04:20:14.205Z] OK: 265 MiB in 56 packages [2023-09-19T04:20:14.328Z] Still waiting to schedule task [2023-09-19T04:20:14.329Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-19T04:20:14.773Z] Removing intermediate container 36ac35715bda [2023-09-19T04:20:14.773Z] ---> 7ee8e54904a7 [2023-09-19T04:20:14.773Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T04:20:14.773Z] ---> 2e342dea5854 [2023-09-19T04:20:14.773Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T04:20:14.773Z] ---> Running in a519d6a6fb14 [2023-09-19T04:20:47.236Z] Removing intermediate container a519d6a6fb14 [2023-09-19T04:20:47.236Z] ---> 8aef835831f9 [2023-09-19T04:20:47.236Z] Step 9/10 : COPY . . [2023-09-19T04:20:47.236Z] ---> d4c904d8e5c3 [2023-09-19T04:20:47.236Z] Step 10/10 : RUN ${MAKE} [2023-09-19T04:20:47.236Z] ---> Running in 5befff730c36 [2023-09-19T04:20:47.236Z] noop [2023-09-19T04:20:47.236Z] Removing intermediate container 5befff730c36 [2023-09-19T04:20:47.236Z] ---> c352e98c87fa [2023-09-19T04:20:47.236Z] Successfully built c352e98c87fa [2023-09-19T04:20:47.236Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:20:47.671Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T04:20:47.672Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T04:20:47.840Z] prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container [2023-09-19T04:20:47.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1512 -v /w/workspace/gexfoundry_device-sdk-go_PR-1512:/w/workspace/gexfoundry_device-sdk-go_PR-1512:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T04:20:48.185Z] $ docker top 166aa6dd579e6cb194e51beabfd8f523ce3212f5f66ec3b359441d92f991386c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T04:20:48.575Z] + go version [2023-09-19T04:20:48.575Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-19T04:20:48.605Z] $ docker stop --time=1 166aa6dd579e6cb194e51beabfd8f523ce3212f5f66ec3b359441d92f991386c [2023-09-19T04:20:49.864Z] $ docker rm -f --volumes 166aa6dd579e6cb194e51beabfd8f523ce3212f5f66ec3b359441d92f991386c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:20:50.596Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-19T04:20:50.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T04:20:50.753Z] prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container [2023-09-19T04:20:50.786Z] $ 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-1512 -v /w/workspace/gexfoundry_device-sdk-go_PR-1512:/w/workspace/gexfoundry_device-sdk-go_PR-1512:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-19T04:20:51.106Z] $ docker top 52e08fb4611260b176b01c648e2452f2fc06025642c8f866117660bc6d495798 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T04:20:51.500Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1512 [Pipeline] fileExists [Pipeline] sh [2023-09-19T04:20:51.921Z] + make test [2023-09-19T04:20:51.921Z] go test -race -coverprofile=coverage.out ./... [2023-09-19T04:20:58.564Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-19T04:21:13.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-19T04:21:13.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-19T04:21:13.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-19T04:21:13.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-19T04:21:13.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-19T04:21:13.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-19T04:21:13.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-19T04:21:14.004Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.040s coverage: 27.6% of statements [2023-09-19T04:21:14.265Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.072s coverage: 80.2% of statements [2023-09-19T04:21:14.265Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.058s coverage: 86.0% of statements [2023-09-19T04:21:14.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-19T04:21:15.458Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-19T04:21:15.458Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-19T04:21:15.458Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 71.8% of statements [2023-09-19T04:21:15.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-19T04:21:19.008Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.063s coverage: 14.4% of statements [2023-09-19T04:21:19.008Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.148s coverage: 44.2% of statements [2023-09-19T04:21:19.008Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.057s coverage: 68.5% of statements [2023-09-19T04:21:19.008Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.102s coverage: 89.2% of statements [2023-09-19T04:21:19.008Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements [2023-09-19T04:21:41.035Z] GO111MODULE=on go vet ./... [2023-09-19T04:21:41.602Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T04:21:41.860Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T04:21:41.860Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T04:21:41.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T04:21:41.927Z] $ docker stop --time=1 52e08fb4611260b176b01c648e2452f2fc06025642c8f866117660bc6d495798 [2023-09-19T04:21:45.739Z] $ docker rm -f --volumes 52e08fb4611260b176b01c648e2452f2fc06025642c8f866117660bc6d495798 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T04:21:46.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T04:21:46.423Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-19T04:21:47.108Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T04:21:47.416Z] + ls -al . [2023-09-19T04:21:47.416Z] total 304 [2023-09-19T04:21:47.416Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 19 04:20 . [2023-09-19T04:21:47.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:19 .. [2023-09-19T04:21:47.416Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 04:19 .dockerignore [2023-09-19T04:21:47.416Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 04:21 .git [2023-09-19T04:21:47.416Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 04:19 .github [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 04:19 .gitignore [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 04:19 .golangci.yml [2023-09-19T04:21:47.417Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 04:19 .semver [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 04:19 CHANGELOG.md [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 04:19 GOVERNANCE.md [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 04:19 Jenkinsfile [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 04:19 LICENSE [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 04:19 Makefile [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 04:19 OWNERS.md [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 04:19 README.md [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 04:19 VERSION [2023-09-19T04:21:47.417Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 04:19 bin [2023-09-19T04:21:47.417Z] -rw-r--r-- 1 jenkins jenkins 120475 Sep 19 04:21 coverage.out [2023-09-19T04:21:47.417Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 04:19 example [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 04:19 go.mod [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 04:19 go.sum [2023-09-19T04:21:47.417Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 04:19 internal [2023-09-19T04:21:47.417Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 04:19 openapi [2023-09-19T04:21:47.417Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 04:19 pkg [2023-09-19T04:21:47.417Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:19 snap [2023-09-19T04:21:47.417Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:21:47.796Z] + 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=0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb --label arch=amd64 --label version=0.0.0 . [2023-09-19T04:21:47.796Z] Sending build context to Docker daemon 11.26MB [2023-09-19T04:21:47.796Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T04:21:47.796Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-19T04:21:47.796Z] ---> c352e98c87fa [2023-09-19T04:21:47.796Z] Step 3/23 : ARG MAKE=make build [2023-09-19T04:21:48.054Z] ---> Running in 13b378603965 [2023-09-19T04:21:48.313Z] Removing intermediate container 13b378603965 [2023-09-19T04:21:48.313Z] ---> f52553d1bfbd [2023-09-19T04:21:48.313Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-19T04:21:48.313Z] ---> Running in b3f09abf49f8 [2023-09-19T04:21:48.313Z] Removing intermediate container b3f09abf49f8 [2023-09-19T04:21:48.313Z] ---> 8bcdaa69b915 [2023-09-19T04:21:48.313Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T04:21:48.313Z] ---> Running in f56434571d21 [2023-09-19T04:21:48.313Z] Removing intermediate container f56434571d21 [2023-09-19T04:21:48.313Z] ---> 99b44d7db100 [2023-09-19T04:21:48.313Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-19T04:21:48.313Z] ---> Running in 15e43e98fcae [2023-09-19T04:21:48.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T04:21:48.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T04:21:49.089Z] OK: 265 MiB in 56 packages [2023-09-19T04:21:49.347Z] Removing intermediate container 15e43e98fcae [2023-09-19T04:21:49.347Z] ---> cb137f1f7a93 [2023-09-19T04:21:49.347Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-19T04:21:49.606Z] ---> 554b2689f443 [2023-09-19T04:21:49.606Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T04:21:49.606Z] ---> Running in 705074e5b9da [2023-09-19T04:21:50.170Z] Removing intermediate container 705074e5b9da [2023-09-19T04:21:50.170Z] ---> 591a770e3b54 [2023-09-19T04:21:50.170Z] Step 9/23 : COPY . . [2023-09-19T04:21:50.739Z] ---> d7f91a810669 [2023-09-19T04:21:50.739Z] Step 10/23 : RUN ${MAKE} [2023-09-19T04:21:50.739Z] ---> Running in 8d13f9249a3a [2023-09-19T04:21:50.996Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-19T04:22:09.092Z] Removing intermediate container 8d13f9249a3a [2023-09-19T04:22:09.092Z] ---> 45beba54724c [2023-09-19T04:22:09.092Z] Step 11/23 : FROM alpine:3.18 [2023-09-19T04:22:09.666Z] 3.18: Pulling from library/alpine [2023-09-19T04:22:09.666Z] 7264a8db6415: Already exists [2023-09-19T04:22:09.925Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T04:22:09.925Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T04:22:09.925Z] ---> 7e01a0d0a1dc [2023-09-19T04:22:09.925Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-19T04:22:09.925Z] ---> Running in cf448871ebf4 [2023-09-19T04:22:09.925Z] Removing intermediate container cf448871ebf4 [2023-09-19T04:22:09.925Z] ---> f4ab13d611ec [2023-09-19T04:22:09.925Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-19T04:22:09.925Z] ---> Running in cc1829785d0d [2023-09-19T04:22:10.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-19T04:22:10.445Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-19T04:22:10.445Z] OK: 7 MiB in 15 packages [2023-09-19T04:22:11.014Z] Removing intermediate container cc1829785d0d [2023-09-19T04:22:11.014Z] ---> 304e9441a7c5 [2023-09-19T04:22:11.014Z] Step 14/23 : WORKDIR / [2023-09-19T04:22:11.014Z] ---> Running in d9deb786063a [2023-09-19T04:22:11.014Z] Removing intermediate container d9deb786063a [2023-09-19T04:22:11.014Z] ---> 896413a837c2 [2023-09-19T04:22:11.014Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-19T04:22:11.014Z] ---> 009cfb1913b9 [2023-09-19T04:22:11.014Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-19T04:22:11.948Z] ---> afb1cf6c143c [2023-09-19T04:22:11.948Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-19T04:22:11.948Z] ---> 65bea77529d0 [2023-09-19T04:22:11.948Z] Step 18/23 : EXPOSE 59999 [2023-09-19T04:22:11.948Z] ---> Running in 415a97c33b22 [2023-09-19T04:22:11.948Z] Removing intermediate container 415a97c33b22 [2023-09-19T04:22:11.948Z] ---> 9f1dad908e6f [2023-09-19T04:22:11.948Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-19T04:22:12.208Z] ---> Running in d9b7eb926332 [2023-09-19T04:22:12.208Z] Removing intermediate container d9b7eb926332 [2023-09-19T04:22:12.208Z] ---> a35b079e4254 [2023-09-19T04:22:12.208Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T04:22:12.208Z] ---> Running in 0788556f01c0 [2023-09-19T04:22:12.208Z] Removing intermediate container 0788556f01c0 [2023-09-19T04:22:12.208Z] ---> ddbc0e00e8f8 [2023-09-19T04:22:12.208Z] Step 21/23 : LABEL arch=amd64 [2023-09-19T04:22:12.208Z] ---> Running in 26d6bedebe71 [2023-09-19T04:22:12.467Z] Removing intermediate container 26d6bedebe71 [2023-09-19T04:22:12.467Z] ---> 75dbaabd8afc [2023-09-19T04:22:12.467Z] Step 22/23 : LABEL git_sha=0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb [2023-09-19T04:22:12.467Z] ---> Running in 8368248efc46 [2023-09-19T04:22:12.467Z] Removing intermediate container 8368248efc46 [2023-09-19T04:22:12.467Z] ---> aa61fc6c510c [2023-09-19T04:22:12.467Z] Step 23/23 : LABEL version=0.0.0 [2023-09-19T04:22:12.467Z] ---> Running in 64bbe77b2d15 [2023-09-19T04:22:12.467Z] Removing intermediate container 64bbe77b2d15 [2023-09-19T04:22:12.467Z] ---> 931c6db17947 [2023-09-19T04:22:12.467Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T04:22:12.467Z] Successfully built 931c6db17947 [2023-09-19T04:22:12.467Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:22:13.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T04:22:13.325Z] [2023-09-19T04:22:13.325Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:22:13.709Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T04:22:13.709Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-19T04:22:13.709Z] 5eb5b503b376: Pulling fs layer [2023-09-19T04:22:13.709Z] 5c69ac0246d0: Pulling fs layer [2023-09-19T04:22:13.709Z] ec43610c2a17: Pulling fs layer [2023-09-19T04:22:13.709Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-19T04:22:13.709Z] 33b1e0a273af: Pulling fs layer [2023-09-19T04:22:13.709Z] 5d3b04190fa2: Pulling fs layer [2023-09-19T04:22:13.709Z] 2f39f015ded8: Pulling fs layer [2023-09-19T04:22:13.709Z] 33b1e0a273af: Waiting [2023-09-19T04:22:13.709Z] 5d3b04190fa2: Waiting [2023-09-19T04:22:13.709Z] 3a2ae6a8a46f: Waiting [2023-09-19T04:22:13.709Z] 2f39f015ded8: Waiting [2023-09-19T04:22:13.709Z] 5c69ac0246d0: Download complete [2023-09-19T04:22:13.709Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-19T04:22:13.709Z] 3a2ae6a8a46f: Download complete [2023-09-19T04:22:13.709Z] 33b1e0a273af: Verifying Checksum [2023-09-19T04:22:13.709Z] 33b1e0a273af: Download complete [2023-09-19T04:22:13.709Z] 5d3b04190fa2: Verifying Checksum [2023-09-19T04:22:13.709Z] 5d3b04190fa2: Download complete [2023-09-19T04:22:13.709Z] ec43610c2a17: Verifying Checksum [2023-09-19T04:22:13.709Z] ec43610c2a17: Download complete [2023-09-19T04:22:13.968Z] 5eb5b503b376: Verifying Checksum [2023-09-19T04:22:13.968Z] 5eb5b503b376: Download complete [2023-09-19T04:22:14.544Z] 2f39f015ded8: Download complete [2023-09-19T04:22:15.117Z] 5eb5b503b376: Pull complete [2023-09-19T04:22:15.117Z] 5c69ac0246d0: Pull complete [2023-09-19T04:22:15.684Z] ec43610c2a17: Pull complete [2023-09-19T04:22:15.684Z] 3a2ae6a8a46f: Pull complete [2023-09-19T04:22:15.943Z] 33b1e0a273af: Pull complete [2023-09-19T04:22:15.943Z] 5d3b04190fa2: Pull complete [2023-09-19T04:22:20.138Z] 2f39f015ded8: Pull complete [2023-09-19T04:22:20.138Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-19T04:22:20.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T04:22:20.138Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T04:22:20.357Z] prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container [2023-09-19T04:22:20.384Z] $ 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-1512 -v /w/workspace/gexfoundry_device-sdk-go_PR-1512:/w/workspace/gexfoundry_device-sdk-go_PR-1512:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T04:22:23.461Z] $ docker top a8122ef292017942a327983e8563f4f3e9ec1e88478c28eb8832b3463b791c6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:22:23.928Z] ---> job-cost.sh [2023-09-19T04:22:23.928Z] lf-activate-venv: SKIPPING [2023-09-19T04:22:23.928Z] INFO: No Stack... [2023-09-19T04:22:24.187Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T04:22:24.756Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T04:22:25.075Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1512/archives/cost.csv [2023-09-19T04:22:25.075Z] + cut -d, -f6 [Pipeline] lock [2023-09-19T04:22:25.111Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1512-1-stack-cost] [2023-09-19T04:22:25.116Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1512-1-stack-cost] did not exist. Created. [2023-09-19T04:22:25.117Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1512-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T04:22:25.510Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-19T04:22:25.606Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T04:22:25.662Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1512-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T04:22:25.735Z] $ docker stop --time=1 a8122ef292017942a327983e8563f4f3e9ec1e88478c28eb8832b3463b791c6e [2023-09-19T04:22:26.904Z] $ docker rm -f --volumes a8122ef292017942a327983e8563f4f3e9ec1e88478c28eb8832b3463b791c6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-19T04:24:28.599Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6488 in /w/workspace/gexfoundry_device-sdk-go_PR-1512 [Pipeline] { [Pipeline] ws [2023-09-19T04:24:28.659Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-09-19T04:24:28.736Z] The recommended git tool is: git [2023-09-19T04:24:34.077Z] using credential edgex-jenkins-ssh [2023-09-19T04:24:34.094Z] Cloning the remote Git repository [2023-09-19T04:24:34.141Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T04:24:34.238Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-09-19T04:24:34.393Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T04:24:34.394Z] > git --version # timeout=10 [2023-09-19T04:24:34.418Z] > git --version # 'git version 2.25.1' [2023-09-19T04:24:34.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T04:24:34.588Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T04:24:36.987Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-19T04:24:37.010Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-19T04:24:38.479Z] Merging remotes/origin/main commit 26e70d184d940b851e0540af95c39d19f0ae7fb9 into PR head commit 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb [2023-09-19T04:24:38.775Z] Merge succeeded, producing 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb [2023-09-19T04:24:38.776Z] Checking out Revision 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb (PR-1512) [2023-09-19T04:24:37.840Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-19T04:24:37.883Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-19T04:24:37.884Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T04:24:37.899Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1512/head:refs/remotes/origin/PR-1512 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-19T04:24:38.501Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T04:24:38.580Z] > git checkout -f 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb # timeout=10 [2023-09-19T04:24:38.683Z] > git remote # timeout=10 [2023-09-19T04:24:38.703Z] > git config --get remote.origin.url # timeout=10 [2023-09-19T04:24:38.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-19T04:24:38.732Z] > git merge 26e70d184d940b851e0540af95c39d19f0ae7fb9 # timeout=10 [2023-09-19T04:24:38.755Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-19T04:24:38.783Z] > git config core.sparsecheckout # timeout=10 [2023-09-19T04:24:38.794Z] > git checkout -f 0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb # timeout=10 [2023-09-19T04:24:39.220Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-09-19T04:24:39.269Z] > git --version # timeout=10 [2023-09-19T04:24:39.282Z] > git --version # 'git version 2.25.1' [2023-09-19T04:24:39.304Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T04:24:40.470Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-19T04:24:40.470Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T04:24:40.470Z] Dload Upload Total Spent Left Speed [2023-09-19T04:24:40.470Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2023-09-19T04:24:41.097Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-19T04:24:41.445Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-09-19T04:24:41.445Z] [2023-09-19T04:24:41.445Z] { [2023-09-19T04:24:41.445Z] "registry-mirrors": [ [2023-09-19T04:24:41.445Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-19T04:24:41.445Z] ], [2023-09-19T04:24:41.445Z] "bip": "10.250.0.254/24", [2023-09-19T04:24:41.445Z] "hosts": [ [2023-09-19T04:24:41.445Z] "tcp://0.0.0.0:5555", [2023-09-19T04:24:41.445Z] "unix:///var/run/docker.sock" [2023-09-19T04:24:41.445Z] ], [2023-09-19T04:24:41.445Z] "mtu": 1458, [2023-09-19T04:24:41.445Z] "selinux-enabled": true, [2023-09-19T04:24:41.445Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-19T04:24:41.445Z] } [Pipeline] sh [2023-09-19T04:24:41.793Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-19T04:24:42.141Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T04:25:00.466Z] provisioning config files... [2023-09-19T04:25:00.495Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12333226052779873757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:25:00.888Z] ---> docker-login.sh [2023-09-19T04:25:00.888Z] nexus3.edgexfoundry.org:10001 [2023-09-19T04:25:01.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:25:01.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:25:01.751Z] Configure a credential helper to remove this warning. See [2023-09-19T04:25:01.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:25:01.751Z] [2023-09-19T04:25:01.751Z] Login Succeeded [2023-09-19T04:25:01.751Z] nexus3.edgexfoundry.org:10002 [2023-09-19T04:25:02.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:25:02.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:25:02.023Z] Configure a credential helper to remove this warning. See [2023-09-19T04:25:02.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:25:02.023Z] [2023-09-19T04:25:02.023Z] Login Succeeded [2023-09-19T04:25:02.023Z] nexus3.edgexfoundry.org:10003 [2023-09-19T04:25:02.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:25:02.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:25:02.572Z] Configure a credential helper to remove this warning. See [2023-09-19T04:25:02.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:25:02.572Z] [2023-09-19T04:25:02.572Z] Login Succeeded [2023-09-19T04:25:02.572Z] nexus3.edgexfoundry.org:10004 [2023-09-19T04:25:02.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:25:02.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:25:02.844Z] Configure a credential helper to remove this warning. See [2023-09-19T04:25:02.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:25:02.844Z] [2023-09-19T04:25:02.844Z] Login Succeeded [2023-09-19T04:25:02.844Z] docker.io [2023-09-19T04:25:03.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-19T04:25:03.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-19T04:25:03.710Z] Configure a credential helper to remove this warning. See [2023-09-19T04:25:03.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-19T04:25:03.710Z] [2023-09-19T04:25:03.710Z] Login Succeeded [2023-09-19T04:25:03.710Z] ---> docker-login.sh ends [Pipeline] } [2023-09-19T04:25:03.744Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-19T04:25:04.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T04:25:04.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-19T04:25:04.234Z] ========================================================= [2023-09-19T04:25:04.234Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-19T04:25:04.234Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:25:04.754Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-19T04:25:05.023Z] Sending build context to Docker daemon 5.953MB [2023-09-19T04:25:05.297Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T04:25:05.297Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-19T04:25:05.297Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-19T04:25:05.297Z] 9fda8d8052c6: Pulling fs layer [2023-09-19T04:25:05.297Z] 5d54e960e981: Pulling fs layer [2023-09-19T04:25:05.297Z] c4a7e357bf2a: Pulling fs layer [2023-09-19T04:25:05.297Z] f0e02332f6b5: Pulling fs layer [2023-09-19T04:25:05.297Z] 66412af1f25a: Pulling fs layer [2023-09-19T04:25:05.297Z] 1baf3a5c0e64: Pulling fs layer [2023-09-19T04:25:05.297Z] 9a37bb91b891: Pulling fs layer [2023-09-19T04:25:05.297Z] a29adfc67d43: Pulling fs layer [2023-09-19T04:25:05.297Z] d5de9f91c1a4: Pulling fs layer [2023-09-19T04:25:05.297Z] 1baf3a5c0e64: Waiting [2023-09-19T04:25:05.297Z] 9a37bb91b891: Waiting [2023-09-19T04:25:05.297Z] a29adfc67d43: Waiting [2023-09-19T04:25:05.297Z] d5de9f91c1a4: Waiting [2023-09-19T04:25:05.297Z] f0e02332f6b5: Waiting [2023-09-19T04:25:05.297Z] 66412af1f25a: Waiting [2023-09-19T04:25:05.297Z] 5d54e960e981: Verifying Checksum [2023-09-19T04:25:05.297Z] 5d54e960e981: Download complete [2023-09-19T04:25:05.297Z] f0e02332f6b5: Verifying Checksum [2023-09-19T04:25:05.297Z] f0e02332f6b5: Download complete [2023-09-19T04:25:05.297Z] 66412af1f25a: Verifying Checksum [2023-09-19T04:25:05.297Z] 66412af1f25a: Download complete [2023-09-19T04:25:05.586Z] 9fda8d8052c6: Verifying Checksum [2023-09-19T04:25:05.586Z] 9fda8d8052c6: Download complete [2023-09-19T04:25:05.861Z] 9a37bb91b891: Verifying Checksum [2023-09-19T04:25:05.861Z] 9a37bb91b891: Download complete [2023-09-19T04:25:06.483Z] a29adfc67d43: Verifying Checksum [2023-09-19T04:25:06.483Z] a29adfc67d43: Download complete [2023-09-19T04:25:06.483Z] 9fda8d8052c6: Pull complete [2023-09-19T04:25:07.075Z] 5d54e960e981: Pull complete [2023-09-19T04:25:07.357Z] d5de9f91c1a4: Verifying Checksum [2023-09-19T04:25:07.357Z] d5de9f91c1a4: Download complete [2023-09-19T04:25:07.357Z] c4a7e357bf2a: Verifying Checksum [2023-09-19T04:25:07.357Z] c4a7e357bf2a: Download complete [2023-09-19T04:25:08.471Z] 1baf3a5c0e64: Verifying Checksum [2023-09-19T04:25:08.471Z] 1baf3a5c0e64: Download complete [2023-09-19T04:25:18.569Z] c4a7e357bf2a: Pull complete [2023-09-19T04:25:18.838Z] f0e02332f6b5: Pull complete [2023-09-19T04:25:19.105Z] 66412af1f25a: Pull complete [2023-09-19T04:25:25.775Z] 1baf3a5c0e64: Pull complete [2023-09-19T04:25:27.187Z] 9a37bb91b891: Pull complete [2023-09-19T04:25:30.637Z] a29adfc67d43: Pull complete [2023-09-19T04:25:32.577Z] d5de9f91c1a4: Pull complete [2023-09-19T04:25:32.577Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-19T04:25:32.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-19T04:25:32.577Z] ---> 746ca1b523b5 [2023-09-19T04:25:32.577Z] Step 3/10 : ARG MAKE=make build [2023-09-19T04:25:33.995Z] ---> Running in 7244d1d123d3 [2023-09-19T04:25:34.273Z] Removing intermediate container 7244d1d123d3 [2023-09-19T04:25:34.273Z] ---> 3f859f9049c6 [2023-09-19T04:25:34.273Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-19T04:25:34.543Z] ---> Running in 54c291cdc6b7 [2023-09-19T04:25:34.812Z] Removing intermediate container 54c291cdc6b7 [2023-09-19T04:25:34.812Z] ---> 8a50c912605d [2023-09-19T04:25:34.812Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T04:25:34.812Z] ---> Running in ed781a1c4ca9 [2023-09-19T04:25:35.078Z] Removing intermediate container ed781a1c4ca9 [2023-09-19T04:25:35.078Z] ---> 05e06f5336fc [2023-09-19T04:25:35.078Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-19T04:25:35.353Z] ---> Running in 106fd4069bc7 [2023-09-19T04:25:36.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T04:25:36.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T04:25:37.851Z] OK: 267 MiB in 56 packages [2023-09-19T04:25:38.815Z] Removing intermediate container 106fd4069bc7 [2023-09-19T04:25:38.815Z] ---> 0a1a32eed39d [2023-09-19T04:25:38.815Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-19T04:25:39.083Z] ---> 371e1f93e951 [2023-09-19T04:25:39.083Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T04:25:39.353Z] ---> Running in 8a5e9733628c [2023-09-19T04:26:47.218Z] Removing intermediate container 8a5e9733628c [2023-09-19T04:26:47.218Z] ---> 73c1602870cc [2023-09-19T04:26:47.218Z] Step 9/10 : COPY . . [2023-09-19T04:26:47.218Z] ---> 86e1a75339c9 [2023-09-19T04:26:47.218Z] Step 10/10 : RUN ${MAKE} [2023-09-19T04:26:47.218Z] ---> Running in 99365d8fcbaf [2023-09-19T04:26:47.218Z] noop [2023-09-19T04:26:47.218Z] Removing intermediate container 99365d8fcbaf [2023-09-19T04:26:47.218Z] ---> 917e5c1ef0eb [2023-09-19T04:26:47.218Z] Successfully built 917e5c1ef0eb [2023-09-19T04:26:47.218Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:26:47.721Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T04:26:47.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T04:26:48.008Z] prd-ubuntu20.04-docker-arm64-4c-16g-6488 does not seem to be running inside a container [2023-09-19T04:26:48.067Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T04:26:49.178Z] $ docker top 119f625f96e03608aacb2bba2615676c0582c55410931f943e778b6de277b25d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T04:26:50.039Z] + go version [2023-09-19T04:26:50.039Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-19T04:26:50.071Z] $ docker stop --time=1 119f625f96e03608aacb2bba2615676c0582c55410931f943e778b6de277b25d [2023-09-19T04:26:52.115Z] $ docker rm -f --volumes 119f625f96e03608aacb2bba2615676c0582c55410931f943e778b6de277b25d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:26:52.967Z] + docker inspect -f . ci-base-image-arm64 [2023-09-19T04:26:52.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T04:26:53.206Z] prd-ubuntu20.04-docker-arm64-4c-16g-6488 does not seem to be running inside a container [2023-09-19T04:26:53.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-19T04:26:54.364Z] $ docker top f4a3d47f88caad218afa7b9513d4502931c362bbc59d7beb02f0681cda928e7f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T04:26:54.919Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-19T04:26:55.301Z] + make test [2023-09-19T04:26:55.301Z] go test -race -coverprofile=coverage.out ./... [2023-09-19T04:27:30.215Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-19T04:29:21.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-19T04:29:21.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-19T04:29:21.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-19T04:29:21.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-19T04:29:21.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-19T04:29:21.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.207s coverage: 27.6% of statements [2023-09-19T04:29:26.116Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.265s coverage: 80.2% of statements [2023-09-19T04:29:38.436Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-19T04:29:38.436Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-19T04:29:39.025Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.388s coverage: 86.0% of statements [2023-09-19T04:29:47.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-19T04:29:49.182Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.837s coverage: 71.8% of statements [2023-09-19T04:29:52.533Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.351s coverage: 14.4% of statements [2023-09-19T04:29:52.533Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.911s coverage: 44.2% of statements [2023-09-19T04:29:52.801Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-19T04:29:52.801Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-19T04:29:54.755Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.461s coverage: 68.5% of statements [2023-09-19T04:29:57.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.444s coverage: 89.2% of statements [2023-09-19T04:29:57.913Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-19T04:29:59.313Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.218s coverage: 5.5% of statements [2023-09-19T04:29:59.895Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-19T04:29:59.895Z] GO111MODULE=on go vet ./... [2023-09-19T04:32:06.568Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-19T04:32:06.568Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-19T04:32:06.568Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-19T04:32:06.610Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-19T04:32:06.623Z] $ docker stop --time=1 f4a3d47f88caad218afa7b9513d4502931c362bbc59d7beb02f0681cda928e7f [2023-09-19T04:32:08.682Z] $ docker rm -f --volumes f4a3d47f88caad218afa7b9513d4502931c362bbc59d7beb02f0681cda928e7f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-19T04:32:10.674Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-19T04:32:10.707Z] Warning: overwriting stash ‘coverage-report’ [2023-09-19T04:32:11.380Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-19T04:32:11.994Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-19T04:32:12.335Z] + ls -al . [2023-09-19T04:32:12.335Z] total 300 [2023-09-19T04:32:12.335Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 04:26 . [2023-09-19T04:32:12.335Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:24 .. [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 19 04:24 .dockerignore [2023-09-19T04:32:12.335Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 04:24 .git [2023-09-19T04:32:12.335Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 04:24 .github [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 19 04:24 .gitignore [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 19 04:24 .golangci.yml [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 19 04:24 CHANGELOG.md [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 04:24 GOVERNANCE.md [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 19 04:24 Jenkinsfile [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 19 04:24 LICENSE [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 19 04:24 Makefile [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 19 04:24 OWNERS.md [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 19 04:24 README.md [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 19 04:19 VERSION [2023-09-19T04:32:12.335Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 04:24 bin [2023-09-19T04:32:12.335Z] -rw-r--r-- 1 jenkins jenkins 120475 Sep 19 04:29 coverage.out [2023-09-19T04:32:12.335Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 19 04:24 example [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 19 04:24 go.mod [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 19 04:24 go.sum [2023-09-19T04:32:12.335Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 04:24 internal [2023-09-19T04:32:12.335Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 04:24 openapi [2023-09-19T04:32:12.335Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 19 04:24 pkg [2023-09-19T04:32:12.335Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 04:24 snap [2023-09-19T04:32:12.335Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 19 04:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:32:12.773Z] + 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=0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb --label arch=arm64 --label version=0.0.0 . [2023-09-19T04:32:13.128Z] Sending build context to Docker daemon 6.074MB [2023-09-19T04:32:13.417Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-19T04:32:13.417Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-19T04:32:13.417Z] ---> 917e5c1ef0eb [2023-09-19T04:32:13.417Z] Step 3/23 : ARG MAKE=make build [2023-09-19T04:32:13.417Z] ---> Running in f80e2c9d283d [2023-09-19T04:32:13.696Z] Removing intermediate container f80e2c9d283d [2023-09-19T04:32:13.696Z] ---> 25f7370898f6 [2023-09-19T04:32:13.696Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-19T04:32:13.982Z] ---> Running in bfcbfbc872ee [2023-09-19T04:32:14.271Z] Removing intermediate container bfcbfbc872ee [2023-09-19T04:32:14.271Z] ---> ceb25c21185c [2023-09-19T04:32:14.271Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-19T04:32:14.271Z] ---> Running in f366bea2e780 [2023-09-19T04:32:14.553Z] Removing intermediate container f366bea2e780 [2023-09-19T04:32:14.553Z] ---> 63f86ab450ad [2023-09-19T04:32:14.553Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-19T04:32:14.837Z] ---> Running in 0ce5ef7df21c [2023-09-19T04:32:15.827Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T04:32:16.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T04:32:17.834Z] OK: 267 MiB in 56 packages [2023-09-19T04:32:18.802Z] Removing intermediate container 0ce5ef7df21c [2023-09-19T04:32:18.802Z] ---> 38cdcec2387b [2023-09-19T04:32:18.802Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-19T04:32:19.078Z] ---> 4056f74d61dd [2023-09-19T04:32:19.078Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-19T04:32:19.348Z] ---> Running in fe848a3fa4ec [2023-09-19T04:32:21.936Z] Removing intermediate container fe848a3fa4ec [2023-09-19T04:32:21.936Z] ---> 53a7b3a7bfe0 [2023-09-19T04:32:21.936Z] Step 9/23 : COPY . . [2023-09-19T04:32:22.904Z] ---> 3ce584d67a95 [2023-09-19T04:32:22.904Z] Step 10/23 : RUN ${MAKE} [2023-09-19T04:32:22.904Z] ---> Running in 1107c13a6bc7 [2023-09-19T04:32:23.864Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-19T04:34:30.565Z] Removing intermediate container 1107c13a6bc7 [2023-09-19T04:34:30.565Z] ---> e3334282a678 [2023-09-19T04:34:30.565Z] Step 11/23 : FROM alpine:3.18 [2023-09-19T04:34:30.565Z] 3.18: Pulling from library/alpine [2023-09-19T04:34:30.565Z] 9fda8d8052c6: Already exists [2023-09-19T04:34:30.565Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-19T04:34:30.565Z] Status: Downloaded newer image for alpine:3.18 [2023-09-19T04:34:30.565Z] ---> f6648c04cd6c [2023-09-19T04:34:30.565Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-19T04:34:30.565Z] ---> Running in a7ecc273ffcf [2023-09-19T04:34:30.565Z] Removing intermediate container a7ecc273ffcf [2023-09-19T04:34:30.565Z] ---> 32c46c782d8f [2023-09-19T04:34:30.565Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-19T04:34:30.565Z] ---> Running in 6242e062905a [2023-09-19T04:34:30.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-19T04:34:30.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-19T04:34:30.565Z] OK: 8 MiB in 15 packages [2023-09-19T04:34:30.565Z] Removing intermediate container 6242e062905a [2023-09-19T04:34:30.565Z] ---> 81aec3243e04 [2023-09-19T04:34:30.565Z] Step 14/23 : WORKDIR / [2023-09-19T04:34:30.565Z] ---> Running in 6bf6d7c3918d [2023-09-19T04:34:30.565Z] Removing intermediate container 6bf6d7c3918d [2023-09-19T04:34:30.565Z] ---> cf886b0bdc6c [2023-09-19T04:34:30.565Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-19T04:34:30.565Z] ---> e1cc9feafb47 [2023-09-19T04:34:30.565Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-19T04:34:30.565Z] ---> d81fa75dda40 [2023-09-19T04:34:30.565Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-19T04:34:30.565Z] ---> 8ee356610650 [2023-09-19T04:34:30.565Z] Step 18/23 : EXPOSE 59999 [2023-09-19T04:34:30.565Z] ---> Running in 31887890a5ff [2023-09-19T04:34:30.565Z] Removing intermediate container 31887890a5ff [2023-09-19T04:34:30.565Z] ---> 23bbb61442cd [2023-09-19T04:34:30.565Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-19T04:34:30.565Z] ---> Running in 6d985e714840 [2023-09-19T04:34:30.565Z] Removing intermediate container 6d985e714840 [2023-09-19T04:34:30.565Z] ---> 24fc51a14ddc [2023-09-19T04:34:30.565Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-19T04:34:30.565Z] ---> Running in 28f50165272d [2023-09-19T04:34:30.565Z] Removing intermediate container 28f50165272d [2023-09-19T04:34:30.565Z] ---> d13478f4cd5b [2023-09-19T04:34:30.565Z] Step 21/23 : LABEL arch=arm64 [2023-09-19T04:34:30.565Z] ---> Running in e2823436bf6b [2023-09-19T04:34:30.565Z] Removing intermediate container e2823436bf6b [2023-09-19T04:34:30.565Z] ---> 896c2e4547f4 [2023-09-19T04:34:30.565Z] Step 22/23 : LABEL git_sha=0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb [2023-09-19T04:34:30.565Z] ---> Running in e899d152a340 [2023-09-19T04:34:30.565Z] Removing intermediate container e899d152a340 [2023-09-19T04:34:30.565Z] ---> 61efb1be8901 [2023-09-19T04:34:30.565Z] Step 23/23 : LABEL version=0.0.0 [2023-09-19T04:34:30.565Z] ---> Running in 94ee037cedb2 [2023-09-19T04:34:30.565Z] Removing intermediate container 94ee037cedb2 [2023-09-19T04:34:30.565Z] ---> fd50060a33bf [2023-09-19T04:34:30.565Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-19T04:34:30.565Z] Successfully built fd50060a33bf [2023-09-19T04:34:30.565Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:34:31.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T04:34:31.367Z] [2023-09-19T04:34:31.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:34:31.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T04:34:31.776Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-19T04:34:31.776Z] 8998bd30e6a1: Pulling fs layer [2023-09-19T04:34:31.776Z] 04944245beec: Pulling fs layer [2023-09-19T04:34:31.776Z] 699f458cf7ca: Pulling fs layer [2023-09-19T04:34:31.776Z] 765212b225bb: Pulling fs layer [2023-09-19T04:34:31.776Z] f23df028b6ca: Pulling fs layer [2023-09-19T04:34:31.776Z] d65c8cfc05b1: Pulling fs layer [2023-09-19T04:34:31.776Z] 2437ff75d9bd: Pulling fs layer [2023-09-19T04:34:31.776Z] d65c8cfc05b1: Waiting [2023-09-19T04:34:31.776Z] 765212b225bb: Waiting [2023-09-19T04:34:31.776Z] f23df028b6ca: Waiting [2023-09-19T04:34:31.776Z] 2437ff75d9bd: Waiting [2023-09-19T04:34:32.043Z] 04944245beec: Verifying Checksum [2023-09-19T04:34:32.043Z] 04944245beec: Download complete [2023-09-19T04:34:32.043Z] 765212b225bb: Download complete [2023-09-19T04:34:32.043Z] f23df028b6ca: Download complete [2023-09-19T04:34:32.043Z] d65c8cfc05b1: Verifying Checksum [2023-09-19T04:34:32.043Z] d65c8cfc05b1: Download complete [2023-09-19T04:34:32.043Z] 699f458cf7ca: Verifying Checksum [2023-09-19T04:34:32.043Z] 699f458cf7ca: Download complete [2023-09-19T04:34:32.632Z] 8998bd30e6a1: Verifying Checksum [2023-09-19T04:34:32.632Z] 8998bd30e6a1: Download complete [2023-09-19T04:34:34.580Z] 2437ff75d9bd: Verifying Checksum [2023-09-19T04:34:34.580Z] 2437ff75d9bd: Download complete [2023-09-19T04:34:39.664Z] 8998bd30e6a1: Pull complete [2023-09-19T04:34:39.931Z] 04944245beec: Pull complete [2023-09-19T04:34:41.357Z] 699f458cf7ca: Pull complete [2023-09-19T04:34:41.357Z] 765212b225bb: Pull complete [2023-09-19T04:34:41.940Z] f23df028b6ca: Pull complete [2023-09-19T04:34:42.206Z] d65c8cfc05b1: Pull complete [2023-09-19T04:34:57.202Z] 2437ff75d9bd: Pull complete [2023-09-19T04:34:57.202Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-19T04:34:57.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-19T04:34:57.202Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T04:34:57.526Z] prd-ubuntu20.04-docker-arm64-4c-16g-6488 does not seem to be running inside a container [2023-09-19T04:34:57.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-19T04:35:00.109Z] $ docker top 97f34eb8843469c2f2950c2e081dc7900205558694e394bbb3acf62c5b68038f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:35:01.018Z] ---> job-cost.sh [2023-09-19T04:35:01.018Z] lf-activate-venv: SKIPPING [2023-09-19T04:35:01.018Z] INFO: No Stack... [2023-09-19T04:35:01.598Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-19T04:35:02.178Z] INFO: Archiving Costs [Pipeline] sh [2023-09-19T04:35:02.515Z] + + cut -d, -f6 [2023-09-19T04:35:02.515Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-09-19T04:35:02.602Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1512-1-stack-cost] [2023-09-19T04:35:02.607Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1512-1-stack-cost] did not exist. Created. [2023-09-19T04:35:02.607Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1512-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-19T04:35:03.319Z] /w/workspace/device-sdk-go/1@tmp/durable-1852ea38/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-19T04:35:03.672Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-19T04:35:03.708Z] Warning: overwriting stash ‘stack-cost’ [2023-09-19T04:35:03.786Z] Stashed 1 file(s) [Pipeline] } [2023-09-19T04:35:03.801Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1512-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-19T04:35:03.855Z] $ docker stop --time=1 97f34eb8843469c2f2950c2e081dc7900205558694e394bbb3acf62c5b68038f [2023-09-19T04:35:07.997Z] $ docker rm -f --volumes 97f34eb8843469c2f2950c2e081dc7900205558694e394bbb3acf62c5b68038f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-19T04:35:12.068Z] provisioning config files... [2023-09-19T04:35:12.074Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp/config12941179216936250429tmp [Pipeline] { [Pipeline] sh [2023-09-19T04:35:12.415Z] + set +x [2023-09-19T04:35:12.415Z] + curl -s https://codecov.io/bash [2023-09-19T04:35:12.415Z] + bash -s -- [2023-09-19T04:35:12.415Z] [2023-09-19T04:35:12.415Z] _____ _ [2023-09-19T04:35:12.415Z] / ____| | | [2023-09-19T04:35:12.415Z] | | ___ __| | ___ ___ _____ __ [2023-09-19T04:35:12.415Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-19T04:35:12.415Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-19T04:35:12.415Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-19T04:35:12.415Z] Bash-1.0.6 [2023-09-19T04:35:12.415Z] [2023-09-19T04:35:12.415Z] [2023-09-19T04:35:12.415Z] ==> git version 2.25.1 found [2023-09-19T04:35:12.415Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-19T04:35:12.415Z] Release-Date: 2020-01-08 [2023-09-19T04:35:12.415Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-19T04:35:12.415Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-19T04:35:12.415Z] ==> Jenkins CI detected. [2023-09-19T04:35:12.415Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1512 [2023-09-19T04:35:12.415Z] project root: . [2023-09-19T04:35:12.415Z] --> token set from env [2023-09-19T04:35:12.415Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-19T04:35:12.415Z] ==> Running gcov in . (disable via -X gcov) [2023-09-19T04:35:12.415Z] ==> Python coveragepy not found [2023-09-19T04:35:12.415Z] ==> Searching for coverage reports in: [2023-09-19T04:35:12.415Z] + . [2023-09-19T04:35:12.415Z] -> Found 1 reports [2023-09-19T04:35:12.415Z] ==> Detecting git/mercurial file structure [2023-09-19T04:35:12.676Z] ==> Reading reports [2023-09-19T04:35:12.676Z] + ./coverage.out bytes=120475 [2023-09-19T04:35:12.676Z] ==> Appending adjustments [2023-09-19T04:35:12.676Z] https://docs.codecov.io/docs/fixing-reports [2023-09-19T04:35:12.936Z] + Found adjustments [2023-09-19T04:35:12.936Z] ==> Gzipping contents [2023-09-19T04:35:12.936Z] 20K /tmp/codecov.0CQEzf.gz [2023-09-19T04:35:12.936Z] ==> Uploading reports [2023-09-19T04:35:12.936Z] url: https://codecov.io [2023-09-19T04:35:12.936Z] query: branch=PR-1512&commit=0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1512%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1512&job=&cmd_args= [2023-09-19T04:35:12.936Z] -> Pinging Codecov [2023-09-19T04:35:12.936Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1512&commit=0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1512%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1512&job=&cmd_args= [2023-09-19T04:35:12.936Z] -> Uploading to [2023-09-19T04:35:12.936Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-19/7E55EF52A471D76F132DFD9A03CDDE97/0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb/16233ed3-1627-43bc-b9fa-fceb0e672d43.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T043512Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c5543709a8aaf0a68bc72ab3ac45a7742a90089d2e3d59385fdae30b51db3c6 [2023-09-19T04:35:12.936Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-19T04:35:12.936Z] Dload Upload Total Spent Left Speed [2023-09-19T04:35:13.196Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16433 0 0 100 16433 0 83841 --:--:-- --:--:-- --:--:-- 83416 100 16433 0 0 100 16433 0 83841 --:--:-- --:--:-- --:--:-- 83416 [2023-09-19T04:35:13.196Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0d6ebfb1a2e9cb93b41275ca5d339c0a6d3ca8cb [Pipeline] } [2023-09-19T04:35:13.225Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-19T04:35:15.032Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1512/archives ] [2023-09-19T04:35:15.032Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1512/archives [2023-09-19T04:35:15.032Z] total 16 [2023-09-19T04:35:15.032Z] drwxr-xr-x 3 root root 4096 Sep 19 04:22 . [2023-09-19T04:35:15.032Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 04:22 .. [2023-09-19T04:35:15.032Z] drwxr-xr-x 2 root root 4096 Sep 19 04:22 cost [2023-09-19T04:35:15.032Z] -rw-r--r-- 1 root root 86 Sep 19 04:22 cost.csv [2023-09-19T04:35:15.032Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1512/archives [2023-09-19T04:35:15.032Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1512/archives [2023-09-19T04:35:15.032Z] total 16 [2023-09-19T04:35:15.032Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 04:22 . [2023-09-19T04:35:15.032Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 19 04:22 .. [2023-09-19T04:35:15.032Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 04:22 cost [2023-09-19T04:35:15.032Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 19 04:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:35:15.365Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:35:16.260Z] ---> package-listing.sh [2023-09-19T04:35:16.261Z] ++ facter osfamily [2023-09-19T04:35:16.261Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-19T04:35:16.521Z] + OS_FAMILY=debian [2023-09-19T04:35:16.521Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1512 [2023-09-19T04:35:16.521Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-19T04:35:16.521Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-19T04:35:16.521Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-19T04:35:16.521Z] + PACKAGES=/tmp/packages_start.txt [2023-09-19T04:35:16.521Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1512 ']' [2023-09-19T04:35:16.521Z] + PACKAGES=/tmp/packages_end.txt [2023-09-19T04:35:16.521Z] + case "${OS_FAMILY}" in [2023-09-19T04:35:16.521Z] + dpkg -l [2023-09-19T04:35:16.521Z] + grep '^ii' [2023-09-19T04:35:16.521Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-19T04:35:16.521Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-19T04:35:16.521Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-19T04:35:16.521Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1512 ']' [2023-09-19T04:35:16.521Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1512/archives/ [2023-09-19T04:35:16.521Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1512/archives/ [Pipeline] echo [2023-09-19T04:35:16.555Z] 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-1512/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-19T04:35:16.846Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-19T04:35:17.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-19T04:35:17.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-19T04:35:17.621Z] prd-ubuntu20.04-docker-8c-8g-6486 does not seem to be running inside a container [2023-09-19T04:35:17.654Z] $ 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-1512/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-1512 -v /w/workspace/gexfoundry_device-sdk-go_PR-1512:/w/workspace/gexfoundry_device-sdk-go_PR-1512:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-19T04:35:17.877Z] $ docker top 8324be0bc704f5e684e06c05774c299a33ec1fcd91aa6f9f782e2d84b6bc2bfa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-19T04:35:18.279Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-19T04:35:18.592Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-19T04:35:18.901Z] + ls /var/log/sa-host [2023-09-19T04:35:18.902Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-19T04:35:19.119Z] provisioning config files... [2023-09-19T04:35:19.127Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1512@tmp/config9537426642211099474tmp [Pipeline] { [Pipeline] echo [2023-09-19T04:35:19.184Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:35:19.493Z] ---> create-netrc.sh [Pipeline] } [2023-09-19T04:35:19.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:35:19.939Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-19T04:35:19.979Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:35:20.288Z] ---> sudo-logs.sh [2023-09-19T04:35:20.288Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-19T04:35:20.380Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:35:20.692Z] ---> job-cost.sh [2023-09-19T04:35:20.692Z] lf-activate-venv: SKIPPING [2023-09-19T04:35:20.692Z] DEBUG: total: 0.2199999988079071 [2023-09-19T04:35:20.692Z] INFO: Retrieving Stack Cost... [2023-09-19T04:35:21.262Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-19T04:35:21.521Z] INFO: Archiving Costs [Pipeline] echo [2023-09-19T04:35:21.557Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-19T04:35:21.877Z] ---> logs-deploy.sh [2023-09-19T04:35:21.877Z] lf-activate-venv: SKIPPING [2023-09-19T04:35:21.877Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1512/1 [2023-09-19T04:35:21.877Z] INFO: archiving workspace using pattern(s): [2023-09-19T04:35:22.812Z] Archives upload complete. [2023-09-19T04:35:22.813Z] INFO: archiving logs to Nexus