Pull request #1377 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 05123aedd7ce5aa9f3200962d940a7aedada2132+2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 (09a3fbdfb04af77f812c1323ac63c4337b367534) 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-ssh13942078298943987602.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7160705496012870805.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1377/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-1377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh477667013967560290.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-1377/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14132671606619198374.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh10613820204142034042.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-1377/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-1377/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5179057143580868461.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-52 in /w/workspace/gexfoundry_device-sdk-go_PR-1377 [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-1377 # 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 Merging remotes/origin/main commit 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 into PR head commit 05123aedd7ce5aa9f3200962d940a7aedada2132 Merge succeeded, producing 05123aedd7ce5aa9f3200962d940a7aedada2132 Checking out Revision 05123aedd7ce5aa9f3200962d940a7aedada2132 (PR-1377) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a > 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/1377/head:refs/remotes/origin/PR-1377 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05123aedd7ce5aa9f3200962d940a7aedada2132 # 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 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 05123aedd7ce5aa9f3200962d940a7aedada2132 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T05:00:25.084Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T05:00:25.246Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T05:00:25.349Z] ========================================================= [2023-03-14T05:00:25.349Z] EdgeX Global Pipelines Version Info [2023-03-14T05:00:25.349Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:00:26.094Z] ------------------- [2023-03-14T05:00:26.095Z] stable info: [2023-03-14T05:00:26.095Z] ------------------- [2023-03-14T05:00:26.095Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T05:00:26.095Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T05:00:26.095Z] Message: update stable to v1.0.245 [2023-03-14T05:00:26.666Z] ------------------- [2023-03-14T05:00:26.666Z] experimental info: [2023-03-14T05:00:26.666Z] ------------------- [2023-03-14T05:00:26.666Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T05:00:26.666Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T05:00:26.666Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T05:00:27.014Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-14T05:00:27.058Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-14T05:00:27.098Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T05:00:27.142Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T05:00:27.192Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T05:00:27.242Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T05:00:27.282Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T05:00:27.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-14T05:00:27.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T05:00:27.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T05:00:27.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T05:00:27.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-14T05:00:27.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T05:00:27.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T05:00:27.643Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T05:00:27.701Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T05:00:27.745Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T05:00:27.791Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T05:00:27.834Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T05:00:27.880Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T05:00:27.924Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-14T05:00:27.973Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-14T05:00:28.022Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T05:00:28.075Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T05:00:28.120Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T05:00:28.166Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T05:00:28.213Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T05:00:28.255Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1377 [Pipeline] echo [2023-03-14T05:00:28.298Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1377 [Pipeline] echo [2023-03-14T05:00:28.344Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1377 [Pipeline] echo [2023-03-14T05:00:28.397Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 05123aedd7ce5aa9f3200962d940a7aedada2132 [Pipeline] echo [2023-03-14T05:00:28.446Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 05123ae [Pipeline] echo [2023-03-14T05:00:28.491Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T05:00:28.612Z] provisioning config files... [2023-03-14T05:00:28.626Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp/config10597448516381893875tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:00:28.987Z] ---> docker-login.sh [2023-03-14T05:00:28.988Z] nexus3.edgexfoundry.org:10001 [2023-03-14T05:00:29.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:00:29.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:00:29.256Z] Configure a credential helper to remove this warning. See [2023-03-14T05:00:29.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:00:29.256Z] [2023-03-14T05:00:29.256Z] Login Succeeded [2023-03-14T05:00:29.256Z] nexus3.edgexfoundry.org:10002 [2023-03-14T05:00:29.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:00:29.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:00:29.256Z] Configure a credential helper to remove this warning. See [2023-03-14T05:00:29.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:00:29.256Z] [2023-03-14T05:00:29.256Z] Login Succeeded [2023-03-14T05:00:29.256Z] nexus3.edgexfoundry.org:10003 [2023-03-14T05:00:29.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:00:29.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:00:29.516Z] Configure a credential helper to remove this warning. See [2023-03-14T05:00:29.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:00:29.516Z] [2023-03-14T05:00:29.516Z] Login Succeeded [2023-03-14T05:00:29.516Z] nexus3.edgexfoundry.org:10004 [2023-03-14T05:00:29.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:00:29.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:00:29.516Z] Configure a credential helper to remove this warning. See [2023-03-14T05:00:29.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:00:29.516Z] [2023-03-14T05:00:29.516Z] Login Succeeded [2023-03-14T05:00:29.516Z] docker.io [2023-03-14T05:00:29.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:00:29.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:00:29.779Z] Configure a credential helper to remove this warning. See [2023-03-14T05:00:29.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:00:29.779Z] [2023-03-14T05:00:29.779Z] Login Succeeded [2023-03-14T05:00:29.779Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T05:00:29.801Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T05:00:30.434Z] + git rev-list -1 --merges 05123aedd7ce5aa9f3200962d940a7aedada2132~1..05123aedd7ce5aa9f3200962d940a7aedada2132 [Pipeline] echo [2023-03-14T05:00:30.502Z] -----------> git rev-list -1 --merges 05123aedd7ce5aa9f3200962d940a7aedada2132~1..05123aedd7ce5aa9f3200962d940a7aedada2132 05123aedd7ce5aa9f3200962d940a7aedada2132 [false] [Pipeline] sh [2023-03-14T05:00:30.816Z] + git log --format=format:%s -1 05123aedd7ce5aa9f3200962d940a7aedada2132 [Pipeline] echo [2023-03-14T05:00:30.849Z] ========================================================= [2023-03-14T05:00:30.849Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T05:00:30.849Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T05:00:31.273Z] + git log --format=format:%s -1 05123aedd7ce5aa9f3200962d940a7aedada2132 [Pipeline] echo [2023-03-14T05:00:31.309Z] [semverPrep] GIT_COMMIT: 05123aedd7ce5aa9f3200962d940a7aedada2132, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-03-14T05:00:31.336Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T05:00:31.727Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T05:00:31.727Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T05:00:31.727Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T05:00:31.727Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T05:00:31.727Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T05:00:31.727Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T05:00:31.727Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:00:32.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T05:00:32.162Z] [2023-03-14T05:00:32.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:00:32.548Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T05:00:32.548Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T05:00:32.548Z] b85a868b505f: Pulling fs layer [2023-03-14T05:00:32.548Z] e2be974225ed: Pulling fs layer [2023-03-14T05:00:32.548Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T05:00:32.548Z] 988bab9f4d93: Pulling fs layer [2023-03-14T05:00:32.548Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T05:00:32.548Z] eaf3925da568: Pulling fs layer [2023-03-14T05:00:32.548Z] 988bab9f4d93: Waiting [2023-03-14T05:00:32.548Z] 1469e6f7b9e6: Waiting [2023-03-14T05:00:32.548Z] bab4dde63d76: Pulling fs layer [2023-03-14T05:00:32.548Z] bde34c3a00c8: Pulling fs layer [2023-03-14T05:00:32.548Z] eaf3925da568: Waiting [2023-03-14T05:00:32.548Z] b352a97aabf1: Pulling fs layer [2023-03-14T05:00:32.548Z] 4872d77fe225: Pulling fs layer [2023-03-14T05:00:32.548Z] b352a97aabf1: Waiting [2023-03-14T05:00:32.548Z] bde34c3a00c8: Waiting [2023-03-14T05:00:32.548Z] 5851b861e8e6: Pulling fs layer [2023-03-14T05:00:32.548Z] 5851b861e8e6: Waiting [2023-03-14T05:00:32.548Z] e2be974225ed: Verifying Checksum [2023-03-14T05:00:32.548Z] e2be974225ed: Download complete [2023-03-14T05:00:32.548Z] 988bab9f4d93: Verifying Checksum [2023-03-14T05:00:32.548Z] 988bab9f4d93: Download complete [2023-03-14T05:00:32.808Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T05:00:32.808Z] 1469e6f7b9e6: Download complete [2023-03-14T05:00:32.808Z] eaf3925da568: Verifying Checksum [2023-03-14T05:00:32.808Z] eaf3925da568: Download complete [2023-03-14T05:00:32.808Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T05:00:32.808Z] bde34c3a00c8: Download complete [2023-03-14T05:00:32.808Z] b352a97aabf1: Verifying Checksum [2023-03-14T05:00:32.808Z] b352a97aabf1: Download complete [2023-03-14T05:00:32.808Z] b85a868b505f: Verifying Checksum [2023-03-14T05:00:32.808Z] b85a868b505f: Download complete [2023-03-14T05:00:32.808Z] 4872d77fe225: Verifying Checksum [2023-03-14T05:00:32.808Z] 5851b861e8e6: Verifying Checksum [2023-03-14T05:00:32.808Z] 5851b861e8e6: Download complete [2023-03-14T05:00:33.070Z] bab4dde63d76: Verifying Checksum [2023-03-14T05:00:33.070Z] bab4dde63d76: Download complete [2023-03-14T05:00:34.465Z] b85a868b505f: Pull complete [2023-03-14T05:00:34.465Z] e2be974225ed: Pull complete [2023-03-14T05:00:35.032Z] 339a4e72a1f5: Pull complete [2023-03-14T05:00:35.032Z] 988bab9f4d93: Pull complete [2023-03-14T05:00:35.298Z] 1469e6f7b9e6: Pull complete [2023-03-14T05:00:35.298Z] eaf3925da568: Pull complete [2023-03-14T05:00:37.834Z] bab4dde63d76: Pull complete [2023-03-14T05:00:37.834Z] bde34c3a00c8: Pull complete [2023-03-14T05:00:38.094Z] b352a97aabf1: Pull complete [2023-03-14T05:00:38.094Z] 4872d77fe225: Pull complete [2023-03-14T05:00:38.354Z] 5851b861e8e6: Pull complete [2023-03-14T05:00:38.354Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T05:00:38.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T05:00:38.354Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T05:00:38.585Z] prd-ubuntu20.04-docker-8c-8g-52 does not seem to be running inside a container [2023-03-14T05:00:38.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1377 -v /w/workspace/gexfoundry_device-sdk-go_PR-1377:/w/workspace/gexfoundry_device-sdk-go_PR-1377:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1377@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-03-14T05:00:41.498Z] $ docker top 4d8faec83864cc9c7af0daf99cdcd96697391c08424a73b9e84250ee251b6928 -eo pid,comm [2023-03-14T05:00:41.547Z] 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-03-14T05:00:41.547Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T05:00:41.676Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T05:00:41.676Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T05:00:41.804Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T05:00:41.807Z] $ docker exec 4d8faec83864cc9c7af0daf99cdcd96697391c08424a73b9e84250ee251b6928 ssh-agent [2023-03-14T05:00:41.925Z] SSH_AUTH_SOCK=/tmp/ssh-yeeFUqWdLNBc/agent.31 [2023-03-14T05:00:41.925Z] SSH_AGENT_PID=37 [2023-03-14T05:00:41.933Z] Running ssh-add (command line suppressed) [2023-03-14T05:00:42.036Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp/private_key_13473357600457535659.key (/w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp/private_key_13473357600457535659.key) [2023-03-14T05:00:42.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T05:00:42.373Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T05:00:42.395Z] $ docker exec --env ******** --env ******** 4d8faec83864cc9c7af0daf99cdcd96697391c08424a73b9e84250ee251b6928 ssh-agent -k [2023-03-14T05:00:42.495Z] unset SSH_AUTH_SOCK; [2023-03-14T05:00:42.497Z] unset SSH_AGENT_PID; [2023-03-14T05:00:42.497Z] echo Agent pid 37 killed; [2023-03-14T05:00:42.506Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T05:00:42.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T05:00:42.585Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T05:00:42.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T05:00:42.694Z] $ docker exec 4d8faec83864cc9c7af0daf99cdcd96697391c08424a73b9e84250ee251b6928 ssh-agent [2023-03-14T05:00:42.815Z] SSH_AUTH_SOCK=/tmp/ssh-h80AYacKsglD/agent.69 [2023-03-14T05:00:42.815Z] SSH_AGENT_PID=76 [2023-03-14T05:00:42.821Z] Running ssh-add (command line suppressed) [2023-03-14T05:00:42.954Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp/private_key_13381637411921566075.key (/w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp/private_key_13381637411921566075.key) [2023-03-14T05:00:42.969Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T05:00:43.297Z] + git semver init [2023-03-14T05:00:43.559Z] 2023-03-14 05:00:43,511 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T05:00:43.559Z] 2023-03-14 05:00:43,512 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1377/.semver [2023-03-14T05:00:43.559Z] 2023-03-14 05:00:43,512 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1377/.semver [2023-03-14T05:00:43.559Z] 2023-03-14 05:00:43,513 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1377/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1377, universal_newlines=False, shell=None, istream=None) [2023-03-14T05:00:44.942Z] 2023-03-14 05:00:44,553 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1377/.git/info/exclude [2023-03-14T05:00:44.942Z] 2023-03-14 05:00:44,553 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1377/.semver/PR-1377 with force:False [2023-03-14T05:00:44.942Z] 2023-03-14 05:00:44,553 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1377/.semver/PR-1377 [2023-03-14T05:00:44.942Z] 2023-03-14 05:00:44,558 [execute] INFO git cat-file --batch-check [2023-03-14T05:00:44.942Z] 2023-03-14 05:00:44,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1377/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T05:00:44.942Z] 2023-03-14 05:00:44,565 [execute] INFO git cat-file --batch [2023-03-14T05:00:44.942Z] 2023-03-14 05:00:44,566 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1377/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T05:00:44.942Z] 2023-03-14 05:00:44,572 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1377/.semver/PR-1377 [2023-03-14T05:00:44.942Z] 0.0.0 [Pipeline] } [2023-03-14T05:00:44.972Z] $ docker exec --env ******** --env ******** 4d8faec83864cc9c7af0daf99cdcd96697391c08424a73b9e84250ee251b6928 ssh-agent -k [2023-03-14T05:00:45.078Z] unset SSH_AUTH_SOCK; [2023-03-14T05:00:45.079Z] unset SSH_AGENT_PID; [2023-03-14T05:00:45.079Z] echo Agent pid 76 killed; [2023-03-14T05:00:45.090Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T05:00:45.519Z] + git semver [Pipeline] } [2023-03-14T05:00:45.809Z] $ docker stop --time=1 4d8faec83864cc9c7af0daf99cdcd96697391c08424a73b9e84250ee251b6928 [2023-03-14T05:00:47.158Z] $ docker rm -f --volumes 4d8faec83864cc9c7af0daf99cdcd96697391c08424a73b9e84250ee251b6928 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T05:00:47.573Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T05:00:47.914Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T05:00:47.930Z] [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-03-14T05:00:48.483Z] provisioning config files... [2023-03-14T05:00:48.494Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp/config9779354845014546258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:00:48.840Z] ---> docker-login.sh [2023-03-14T05:00:48.840Z] nexus3.edgexfoundry.org:10001 [2023-03-14T05:00:48.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:00:48.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:00:48.840Z] Configure a credential helper to remove this warning. See [2023-03-14T05:00:48.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:00:48.840Z] [2023-03-14T05:00:48.840Z] Login Succeeded [2023-03-14T05:00:48.840Z] nexus3.edgexfoundry.org:10002 [2023-03-14T05:00:48.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:00:48.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:00:48.840Z] Configure a credential helper to remove this warning. See [2023-03-14T05:00:48.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:00:48.840Z] [2023-03-14T05:00:48.840Z] Login Succeeded [2023-03-14T05:00:48.840Z] nexus3.edgexfoundry.org:10003 [2023-03-14T05:00:49.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:00:49.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:00:49.102Z] Configure a credential helper to remove this warning. See [2023-03-14T05:00:49.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:00:49.102Z] [2023-03-14T05:00:49.102Z] Login Succeeded [2023-03-14T05:00:49.102Z] nexus3.edgexfoundry.org:10004 [2023-03-14T05:00:49.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:00:49.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:00:49.102Z] Configure a credential helper to remove this warning. See [2023-03-14T05:00:49.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:00:49.102Z] [2023-03-14T05:00:49.102Z] Login Succeeded [2023-03-14T05:00:49.102Z] docker.io [2023-03-14T05:00:49.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:00:49.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:00:49.362Z] Configure a credential helper to remove this warning. See [2023-03-14T05:00:49.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:00:49.362Z] [2023-03-14T05:00:49.362Z] Login Succeeded [2023-03-14T05:00:49.362Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T05:00:49.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T05:00:49.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T05:00:49.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T05:00:49.643Z] ========================================================= [2023-03-14T05:00:49.643Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T05:00:49.643Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:00:50.106Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T05:00:50.106Z] Sending build context to Docker daemon 10.76MB [2023-03-14T05:00:50.106Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T05:00:50.106Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T05:00:50.367Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T05:00:50.367Z] 63b65145d645: Pulling fs layer [2023-03-14T05:00:50.367Z] a2d21d5440eb: Pulling fs layer [2023-03-14T05:00:50.367Z] 935e6c44a52c: Pulling fs layer [2023-03-14T05:00:50.367Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T05:00:50.367Z] 30dea6a524f1: Pulling fs layer [2023-03-14T05:00:50.367Z] a2aff8979fd8: Pulling fs layer [2023-03-14T05:00:50.367Z] 94cc34f8dd06: Waiting [2023-03-14T05:00:50.367Z] 30dea6a524f1: Waiting [2023-03-14T05:00:50.367Z] 6808be2612f2: Pulling fs layer [2023-03-14T05:00:50.367Z] f25807f1079a: Pulling fs layer [2023-03-14T05:00:50.367Z] 6808be2612f2: Waiting [2023-03-14T05:00:50.367Z] a2aff8979fd8: Waiting [2023-03-14T05:00:50.367Z] f25807f1079a: Waiting [2023-03-14T05:00:50.631Z] a2d21d5440eb: Verifying Checksum [2023-03-14T05:00:50.631Z] a2d21d5440eb: Download complete [2023-03-14T05:00:50.631Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T05:00:50.631Z] 94cc34f8dd06: Download complete [2023-03-14T05:00:50.631Z] 30dea6a524f1: Verifying Checksum [2023-03-14T05:00:50.631Z] 30dea6a524f1: Download complete [2023-03-14T05:00:50.631Z] 63b65145d645: Verifying Checksum [2023-03-14T05:00:50.631Z] 63b65145d645: Download complete [2023-03-14T05:00:50.631Z] a2aff8979fd8: Verifying Checksum [2023-03-14T05:00:50.631Z] a2aff8979fd8: Download complete [2023-03-14T05:00:50.631Z] 63b65145d645: Pull complete [2023-03-14T05:00:50.895Z] a2d21d5440eb: Pull complete [2023-03-14T05:00:51.154Z] f25807f1079a: Verifying Checksum [2023-03-14T05:00:51.154Z] f25807f1079a: Download complete [2023-03-14T05:00:51.414Z] 935e6c44a52c: Verifying Checksum [2023-03-14T05:00:51.414Z] 935e6c44a52c: Download complete [2023-03-14T05:00:51.673Z] 6808be2612f2: Verifying Checksum [2023-03-14T05:00:51.673Z] 6808be2612f2: Download complete [2023-03-14T05:00:55.864Z] 935e6c44a52c: Pull complete [2023-03-14T05:00:55.864Z] 94cc34f8dd06: Pull complete [2023-03-14T05:00:55.864Z] 30dea6a524f1: Pull complete [2023-03-14T05:00:56.124Z] a2aff8979fd8: Pull complete [2023-03-14T05:00:59.423Z] 6808be2612f2: Pull complete [2023-03-14T05:00:59.685Z] f25807f1079a: Pull complete [2023-03-14T05:00:59.685Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T05:00:59.685Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T05:00:59.944Z] ---> 3b553350e43f [2023-03-14T05:00:59.945Z] Step 3/10 : ARG MAKE=make build [2023-03-14T05:01:03.305Z] Still waiting to schedule task [2023-03-14T05:01:03.305Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-55’ is offline [2023-03-14T05:01:04.175Z] ---> Running in b8c6bef30864 [2023-03-14T05:01:04.175Z] Removing intermediate container b8c6bef30864 [2023-03-14T05:01:04.175Z] ---> 7cde54e6254f [2023-03-14T05:01:04.175Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-14T05:01:04.175Z] ---> Running in 7106d9089bbe [2023-03-14T05:01:04.434Z] Removing intermediate container 7106d9089bbe [2023-03-14T05:01:04.434Z] ---> 255acd389799 [2023-03-14T05:01:04.434Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T05:01:04.434Z] ---> Running in 7b9e0cff9df1 [2023-03-14T05:01:04.434Z] Removing intermediate container 7b9e0cff9df1 [2023-03-14T05:01:04.434Z] ---> aaffebe5c037 [2023-03-14T05:01:04.434Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-14T05:01:04.434Z] ---> Running in 20f7445af40d [2023-03-14T05:01:05.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T05:01:05.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T05:01:05.263Z] OK: 265 MiB in 53 packages [2023-03-14T05:01:05.522Z] Removing intermediate container 20f7445af40d [2023-03-14T05:01:05.522Z] ---> a99902dd85ed [2023-03-14T05:01:05.522Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T05:01:05.522Z] ---> 4728d4b7d408 [2023-03-14T05:01:05.522Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T05:01:05.522Z] ---> Running in 03d5daea1538 [2023-03-14T05:01:44.369Z] Removing intermediate container 03d5daea1538 [2023-03-14T05:01:44.369Z] ---> 2021aa58f975 [2023-03-14T05:01:44.369Z] Step 9/10 : COPY . . [2023-03-14T05:01:44.369Z] ---> dcce122f64ae [2023-03-14T05:01:44.369Z] Step 10/10 : RUN ${MAKE} [2023-03-14T05:01:44.369Z] ---> Running in 4ab66ac315c7 [2023-03-14T05:01:44.369Z] noop [2023-03-14T05:01:44.369Z] Removing intermediate container 4ab66ac315c7 [2023-03-14T05:01:44.369Z] ---> 73197937012a [2023-03-14T05:01:44.369Z] Successfully built 73197937012a [2023-03-14T05:01:44.369Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:01:44.822Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T05:01:44.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T05:01:44.979Z] prd-ubuntu20.04-docker-8c-8g-52 does not seem to be running inside a container [2023-03-14T05:01:45.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1377 -v /w/workspace/gexfoundry_device-sdk-go_PR-1377:/w/workspace/gexfoundry_device-sdk-go_PR-1377:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1377@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-03-14T05:01:45.943Z] $ docker top 631322620dc1642534857f7528cad63c24e440f6446f3f35306b4aa65acda9e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T05:01:46.333Z] + go version [2023-03-14T05:01:46.333Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T05:01:46.365Z] $ docker stop --time=1 631322620dc1642534857f7528cad63c24e440f6446f3f35306b4aa65acda9e0 [2023-03-14T05:01:47.634Z] $ docker rm -f --volumes 631322620dc1642534857f7528cad63c24e440f6446f3f35306b4aa65acda9e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:01:48.307Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T05:01:48.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T05:01:48.468Z] prd-ubuntu20.04-docker-8c-8g-52 does not seem to be running inside a container [2023-03-14T05:01:48.505Z] $ 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-1377 -v /w/workspace/gexfoundry_device-sdk-go_PR-1377:/w/workspace/gexfoundry_device-sdk-go_PR-1377:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1377@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-03-14T05:01:48.817Z] $ docker top 4b16f5520d5dc617d37c0070b71b4d81a8cddb434ea5471dcdb3bd0e83188f11 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T05:01:49.205Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1377 [Pipeline] fileExists [Pipeline] sh [2023-03-14T05:01:49.559Z] + make test [2023-03-14T05:01:49.559Z] go test -race -coverprofile=coverage.out ./... [2023-03-14T05:01:56.291Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-14T05:02:11.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-14T05:02:11.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-14T05:02:11.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-14T05:02:11.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-14T05:02:11.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-14T05:02:11.161Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.077s coverage: 27.6% of statements [2023-03-14T05:02:11.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-14T05:02:11.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-14T05:02:11.161Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 78.9% of statements [2023-03-14T05:02:11.161Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.085s coverage: 86.0% of statements [2023-03-14T05:02:11.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-14T05:02:11.161Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 75.9% of statements [2023-03-14T05:02:11.420Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-14T05:02:11.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-14T05:02:11.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-14T05:02:12.246Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-14T05:02:14.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.072s coverage: 15.2% of statements [2023-03-14T05:02:14.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.096s coverage: 65.2% of statements [2023-03-14T05:02:14.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.505s coverage: 89.2% of statements [2023-03-14T05:02:14.777Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements [2023-03-14T05:02:41.354Z] GO111MODULE=on go vet ./... [2023-03-14T05:02:41.919Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T05:02:41.919Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T05:02:41.919Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T05:02:41.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T05:02:41.989Z] $ docker stop --time=1 4b16f5520d5dc617d37c0070b71b4d81a8cddb434ea5471dcdb3bd0e83188f11 [2023-03-14T05:02:46.610Z] $ docker rm -f --volumes 4b16f5520d5dc617d37c0070b71b4d81a8cddb434ea5471dcdb3bd0e83188f11 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T05:02:47.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T05:02:47.303Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T05:02:48.039Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T05:02:48.370Z] + ls -al . [2023-03-14T05:02:48.370Z] total 280 [2023-03-14T05:02:48.370Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 05:01 . [2023-03-14T05:02:48.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 05:00 .. [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 05:00 .dockerignore [2023-03-14T05:02:48.370Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 05:00 .git [2023-03-14T05:02:48.370Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 05:00 .github [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 05:00 .gitignore [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 05:00 .golangci.yml [2023-03-14T05:02:48.370Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 05:00 .semver [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 05:00 CHANGELOG.md [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 05:00 GOVERNANCE.md [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 05:00 Jenkinsfile [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 05:00 LICENSE [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 14 05:00 Makefile [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 05:00 OWNERS.md [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 05:00 README.md [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 05:00 VERSION [2023-03-14T05:02:48.370Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 05:00 bin [2023-03-14T05:02:48.370Z] -rw-r--r-- 1 jenkins jenkins 111699 Mar 14 05:02 coverage.out [2023-03-14T05:02:48.370Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 05:00 example [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 05:00 go.mod [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 05:00 go.sum [2023-03-14T05:02:48.370Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 05:00 internal [2023-03-14T05:02:48.370Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 05:00 openapi [2023-03-14T05:02:48.370Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 05:00 pkg [2023-03-14T05:02:48.370Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 05:00 snap [2023-03-14T05:02:48.370Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 05:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:02:48.986Z] + 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=05123aedd7ce5aa9f3200962d940a7aedada2132 --label arch=amd64 --label version=0.0.0 . [2023-03-14T05:02:48.986Z] Sending build context to Docker daemon 10.87MB [2023-03-14T05:02:48.986Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T05:02:48.986Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-14T05:02:48.986Z] ---> 73197937012a [2023-03-14T05:02:48.986Z] Step 3/23 : ARG MAKE=make build [2023-03-14T05:02:50.473Z] ---> Running in 5c18b077fd46 [2023-03-14T05:02:51.421Z] Removing intermediate container 5c18b077fd46 [2023-03-14T05:02:51.421Z] ---> 5b7962e14ae2 [2023-03-14T05:02:51.421Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-14T05:02:51.421Z] ---> Running in 4f1739a31de8 [2023-03-14T05:02:51.680Z] Removing intermediate container 4f1739a31de8 [2023-03-14T05:02:51.680Z] ---> 9f594b62e600 [2023-03-14T05:02:51.680Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T05:02:51.939Z] ---> Running in 737625e03269 [2023-03-14T05:02:52.591Z] Removing intermediate container 737625e03269 [2023-03-14T05:02:52.591Z] ---> ccae180319c5 [2023-03-14T05:02:52.591Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-14T05:02:52.849Z] ---> Running in 593bb6fb0aaa [2023-03-14T05:02:53.417Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T05:02:53.677Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T05:02:53.936Z] OK: 265 MiB in 53 packages [2023-03-14T05:02:54.195Z] Removing intermediate container 593bb6fb0aaa [2023-03-14T05:02:54.195Z] ---> d3bad8451779 [2023-03-14T05:02:54.195Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-14T05:02:54.453Z] ---> 613435e3fa97 [2023-03-14T05:02:54.453Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T05:02:54.453Z] ---> Running in 9947643a703d [2023-03-14T05:02:55.387Z] Removing intermediate container 9947643a703d [2023-03-14T05:02:55.387Z] ---> 8178e0807730 [2023-03-14T05:02:55.387Z] Step 9/23 : COPY . . [2023-03-14T05:02:55.955Z] ---> 63c30d129ad8 [2023-03-14T05:02:55.955Z] Step 10/23 : RUN ${MAKE} [2023-03-14T05:02:55.955Z] ---> Running in 5057526e7974 [2023-03-14T05:02:56.214Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-14T05:03:18.141Z] Removing intermediate container 5057526e7974 [2023-03-14T05:03:18.141Z] ---> 26b09f2e98e7 [2023-03-14T05:03:18.141Z] Step 11/23 : FROM alpine:3.16 [2023-03-14T05:03:18.141Z] 3.16: Pulling from library/alpine [2023-03-14T05:03:18.141Z] ef5531b6e74e: Pulling fs layer [2023-03-14T05:03:18.141Z] ef5531b6e74e: Verifying Checksum [2023-03-14T05:03:18.141Z] ef5531b6e74e: Download complete [2023-03-14T05:03:18.398Z] ef5531b6e74e: Pull complete [2023-03-14T05:03:18.398Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T05:03:18.398Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T05:03:18.398Z] ---> dfd21b5a31f5 [2023-03-14T05:03:18.398Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T05:03:18.398Z] ---> Running in 347c0feafc60 [2023-03-14T05:03:18.656Z] Removing intermediate container 347c0feafc60 [2023-03-14T05:03:18.656Z] ---> 65531194350c [2023-03-14T05:03:18.656Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-14T05:03:18.656Z] ---> Running in 6b1376103a3b [2023-03-14T05:03:18.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-14T05:03:18.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-14T05:03:19.172Z] OK: 6 MiB in 14 packages [2023-03-14T05:03:19.738Z] Removing intermediate container 6b1376103a3b [2023-03-14T05:03:19.738Z] ---> e27826cfac90 [2023-03-14T05:03:19.738Z] Step 14/23 : WORKDIR / [2023-03-14T05:03:19.738Z] ---> Running in 25edbc93df15 [2023-03-14T05:03:19.738Z] Removing intermediate container 25edbc93df15 [2023-03-14T05:03:19.738Z] ---> 2383198aee4c [2023-03-14T05:03:19.738Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-14T05:03:19.738Z] ---> ce829c995876 [2023-03-14T05:03:19.738Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-14T05:03:20.757Z] ---> 024482744ee7 [2023-03-14T05:03:20.757Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-14T05:03:20.757Z] ---> 4654090f788a [2023-03-14T05:03:20.757Z] Step 18/23 : EXPOSE 59999 [2023-03-14T05:03:21.015Z] ---> Running in 003a93d6cd36 [2023-03-14T05:03:21.015Z] Removing intermediate container 003a93d6cd36 [2023-03-14T05:03:21.015Z] ---> dde1f0fb497e [2023-03-14T05:03:21.015Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-14T05:03:21.015Z] ---> Running in 928c72a9dfbe [2023-03-14T05:03:21.015Z] Removing intermediate container 928c72a9dfbe [2023-03-14T05:03:21.015Z] ---> 93bd9845829c [2023-03-14T05:03:21.015Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T05:03:21.015Z] ---> Running in 079b10546586 [2023-03-14T05:03:21.274Z] Removing intermediate container 079b10546586 [2023-03-14T05:03:21.274Z] ---> 5a051c3a6956 [2023-03-14T05:03:21.274Z] Step 21/23 : LABEL arch=amd64 [2023-03-14T05:03:21.274Z] ---> Running in 8d04ea51ab1d [2023-03-14T05:03:21.274Z] Removing intermediate container 8d04ea51ab1d [2023-03-14T05:03:21.274Z] ---> cfebb74c385f [2023-03-14T05:03:21.274Z] Step 22/23 : LABEL git_sha=05123aedd7ce5aa9f3200962d940a7aedada2132 [2023-03-14T05:03:21.274Z] ---> Running in bd89606c44c9 [2023-03-14T05:03:21.274Z] Removing intermediate container bd89606c44c9 [2023-03-14T05:03:21.274Z] ---> 295843b7308c [2023-03-14T05:03:21.274Z] Step 23/23 : LABEL version=0.0.0 [2023-03-14T05:03:21.274Z] ---> Running in 16682fbdd7d2 [2023-03-14T05:03:21.532Z] Removing intermediate container 16682fbdd7d2 [2023-03-14T05:03:21.532Z] ---> b2dc2f071625 [2023-03-14T05:03:21.532Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T05:03:21.532Z] Successfully built b2dc2f071625 [2023-03-14T05:03:21.532Z] 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-03-14T05:03:22.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T05:03:22.357Z] [2023-03-14T05:03:22.357Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:03:22.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T05:03:22.728Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T05:03:22.728Z] 5eb5b503b376: Pulling fs layer [2023-03-14T05:03:22.728Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T05:03:22.728Z] ec43610c2a17: Pulling fs layer [2023-03-14T05:03:22.728Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T05:03:22.728Z] 33b1e0a273af: Pulling fs layer [2023-03-14T05:03:22.728Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T05:03:22.728Z] 2f39f015ded8: Pulling fs layer [2023-03-14T05:03:22.728Z] 33b1e0a273af: Waiting [2023-03-14T05:03:22.728Z] 5d3b04190fa2: Waiting [2023-03-14T05:03:22.728Z] 2f39f015ded8: Waiting [2023-03-14T05:03:22.728Z] 3a2ae6a8a46f: Waiting [2023-03-14T05:03:22.728Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T05:03:22.728Z] 5c69ac0246d0: Download complete [2023-03-14T05:03:22.728Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-14T05:03:22.728Z] 3a2ae6a8a46f: Download complete [2023-03-14T05:03:22.989Z] 33b1e0a273af: Verifying Checksum [2023-03-14T05:03:22.989Z] 33b1e0a273af: Download complete [2023-03-14T05:03:22.989Z] 5d3b04190fa2: Verifying Checksum [2023-03-14T05:03:22.989Z] 5d3b04190fa2: Download complete [2023-03-14T05:03:22.989Z] ec43610c2a17: Verifying Checksum [2023-03-14T05:03:22.989Z] ec43610c2a17: Download complete [2023-03-14T05:03:22.989Z] 5eb5b503b376: Verifying Checksum [2023-03-14T05:03:22.989Z] 5eb5b503b376: Download complete [2023-03-14T05:03:23.924Z] 2f39f015ded8: Download complete [2023-03-14T05:03:24.497Z] 5eb5b503b376: Pull complete [2023-03-14T05:03:24.497Z] 5c69ac0246d0: Pull complete [2023-03-14T05:03:25.066Z] ec43610c2a17: Pull complete [2023-03-14T05:03:25.066Z] 3a2ae6a8a46f: Pull complete [2023-03-14T05:03:25.325Z] 33b1e0a273af: Pull complete [2023-03-14T05:03:25.325Z] 5d3b04190fa2: Pull complete [2023-03-14T05:03:30.595Z] 2f39f015ded8: Pull complete [2023-03-14T05:03:30.595Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T05:03:30.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T05:03:30.595Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T05:03:30.802Z] prd-ubuntu20.04-docker-8c-8g-52 does not seem to be running inside a container [2023-03-14T05:03:30.836Z] $ 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-1377 -v /w/workspace/gexfoundry_device-sdk-go_PR-1377:/w/workspace/gexfoundry_device-sdk-go_PR-1377:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1377@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-03-14T05:03:34.430Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63 in /w/workspace/gexfoundry_device-sdk-go_PR-1377 [2023-03-14T05:03:35.816Z] $ docker top 3da032a1f6ea3707bde2328fa2ff4d730dd9662a0ffff2f94c90faca25ee936b -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-03-14T05:03:36.065Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-14T05:03:36.144Z] The recommended git tool is: git [2023-03-14T05:03:36.304Z] ---> job-cost.sh [2023-03-14T05:03:36.304Z] lf-activate-venv: SKIPPING [2023-03-14T05:03:36.304Z] INFO: No Stack... [2023-03-14T05:03:36.565Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T05:03:36.824Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T05:03:37.137Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1377/archives/cost.csv [2023-03-14T05:03:37.137Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T05:03:37.173Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1377-1-stack-cost] [2023-03-14T05:03:37.178Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1377-1-stack-cost] did not exist. Created. [2023-03-14T05:03:37.178Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T05:03:37.567Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T05:03:37.616Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T05:03:37.646Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1377-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T05:03:37.721Z] $ docker stop --time=1 3da032a1f6ea3707bde2328fa2ff4d730dd9662a0ffff2f94c90faca25ee936b [2023-03-14T05:03:38.945Z] $ docker rm -f --volumes 3da032a1f6ea3707bde2328fa2ff4d730dd9662a0ffff2f94c90faca25ee936b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T05:03:42.602Z] using credential edgex-jenkins-ssh [2023-03-14T05:03:42.621Z] Cloning the remote Git repository [2023-03-14T05:03:42.687Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T05:03:42.808Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-14T05:03:42.998Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T05:03:42.999Z] > git --version # timeout=10 [2023-03-14T05:03:43.033Z] > git --version # 'git version 2.25.1' [2023-03-14T05:03:43.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T05:03:43.242Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T05:03:45.105Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-14T05:03:45.131Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T05:03:46.305Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-14T05:03:46.357Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T05:03:46.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T05:03:46.377Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1377/head:refs/remotes/origin/PR-1377 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T05:03:46.983Z] Merging remotes/origin/main commit 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 into PR head commit 05123aedd7ce5aa9f3200962d940a7aedada2132 [2023-03-14T05:03:47.362Z] Merge succeeded, producing 05123aedd7ce5aa9f3200962d940a7aedada2132 [2023-03-14T05:03:47.363Z] Checking out Revision 05123aedd7ce5aa9f3200962d940a7aedada2132 (PR-1377) [2023-03-14T05:03:47.013Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T05:03:47.102Z] > git checkout -f 05123aedd7ce5aa9f3200962d940a7aedada2132 # timeout=10 [2023-03-14T05:03:47.226Z] > git remote # timeout=10 [2023-03-14T05:03:47.255Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T05:03:47.288Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T05:03:47.306Z] > git merge 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 # timeout=10 [2023-03-14T05:03:47.344Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T05:03:47.373Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T05:03:47.399Z] > git checkout -f 05123aedd7ce5aa9f3200962d940a7aedada2132 # timeout=10 [2023-03-14T05:03:48.013Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2023-03-14T05:03:48.075Z] > git --version # timeout=10 [2023-03-14T05:03:48.093Z] > git --version # 'git version 2.25.1' [2023-03-14T05:03:48.114Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T05:03:49.182Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T05:03:49.182Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T05:03:49.182Z] Dload Upload Total Spent Left Speed [2023-03-14T05:03:49.182Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh [2023-03-14T05:03:49.865Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T05:03:50.254Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T05:03:50.254Z] + sudo tee /etc/docker/daemon.new [2023-03-14T05:03:50.254Z] { [2023-03-14T05:03:50.254Z] "registry-mirrors": [ [2023-03-14T05:03:50.254Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T05:03:50.254Z] ], [2023-03-14T05:03:50.254Z] "bip": "10.250.0.254/24", [2023-03-14T05:03:50.254Z] "hosts": [ [2023-03-14T05:03:50.254Z] "tcp://0.0.0.0:5555", [2023-03-14T05:03:50.254Z] "unix:///var/run/docker.sock" [2023-03-14T05:03:50.254Z] ], [2023-03-14T05:03:50.254Z] "mtu": 1458, [2023-03-14T05:03:50.254Z] "selinux-enabled": true, [2023-03-14T05:03:50.254Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T05:03:50.254Z] } [Pipeline] sh [2023-03-14T05:03:50.612Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T05:03:50.982Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T05:04:09.374Z] provisioning config files... [2023-03-14T05:04:09.420Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config17866708211150984191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:04:09.848Z] ---> docker-login.sh [2023-03-14T05:04:09.848Z] nexus3.edgexfoundry.org:10001 [2023-03-14T05:04:10.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:04:10.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:04:10.723Z] Configure a credential helper to remove this warning. See [2023-03-14T05:04:10.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:04:10.723Z] [2023-03-14T05:04:10.723Z] Login Succeeded [2023-03-14T05:04:10.723Z] nexus3.edgexfoundry.org:10002 [2023-03-14T05:04:10.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:04:10.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:04:10.999Z] Configure a credential helper to remove this warning. See [2023-03-14T05:04:10.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:04:10.999Z] [2023-03-14T05:04:10.999Z] Login Succeeded [2023-03-14T05:04:10.999Z] nexus3.edgexfoundry.org:10003 [2023-03-14T05:04:11.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:04:11.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:04:11.558Z] Configure a credential helper to remove this warning. See [2023-03-14T05:04:11.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:04:11.558Z] [2023-03-14T05:04:11.558Z] Login Succeeded [2023-03-14T05:04:11.558Z] nexus3.edgexfoundry.org:10004 [2023-03-14T05:04:11.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:04:11.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:04:11.831Z] Configure a credential helper to remove this warning. See [2023-03-14T05:04:11.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:04:11.831Z] [2023-03-14T05:04:11.831Z] Login Succeeded [2023-03-14T05:04:11.831Z] docker.io [2023-03-14T05:04:12.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T05:04:12.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T05:04:12.382Z] Configure a credential helper to remove this warning. See [2023-03-14T05:04:12.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T05:04:12.382Z] [2023-03-14T05:04:12.382Z] Login Succeeded [2023-03-14T05:04:12.382Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T05:04:12.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T05:04:12.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T05:04:12.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T05:04:12.929Z] ========================================================= [2023-03-14T05:04:12.929Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T05:04:12.929Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:04:13.449Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T05:04:14.062Z] Sending build context to Docker daemon 5.777MB [2023-03-14T05:04:14.062Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T05:04:14.062Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T05:04:14.062Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T05:04:14.062Z] af6eaf76a39c: Pulling fs layer [2023-03-14T05:04:14.062Z] 55522c791124: Pulling fs layer [2023-03-14T05:04:14.062Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T05:04:14.062Z] 169dfbe0d373: Pulling fs layer [2023-03-14T05:04:14.062Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T05:04:14.062Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T05:04:14.062Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T05:04:14.062Z] e1ff8fa3b103: Waiting [2023-03-14T05:04:14.062Z] 52ebb69f0ebf: Waiting [2023-03-14T05:04:14.062Z] 169dfbe0d373: Waiting [2023-03-14T05:04:14.062Z] 5abe8eddf0d5: Waiting [2023-03-14T05:04:14.339Z] 55522c791124: Verifying Checksum [2023-03-14T05:04:14.339Z] 55522c791124: Download complete [2023-03-14T05:04:14.339Z] 169dfbe0d373: Verifying Checksum [2023-03-14T05:04:14.339Z] 169dfbe0d373: Download complete [2023-03-14T05:04:14.339Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T05:04:14.339Z] e1ff8fa3b103: Download complete [2023-03-14T05:04:14.339Z] af6eaf76a39c: Verifying Checksum [2023-03-14T05:04:14.339Z] af6eaf76a39c: Download complete [2023-03-14T05:04:15.323Z] af6eaf76a39c: Pull complete [2023-03-14T05:04:15.609Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T05:04:15.609Z] 5abe8eddf0d5: Download complete [2023-03-14T05:04:16.221Z] 55522c791124: Pull complete [2023-03-14T05:04:17.204Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T05:04:17.204Z] ce5c4a1c91eb: Download complete [2023-03-14T05:04:17.204Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T05:04:17.204Z] 52ebb69f0ebf: Download complete [2023-03-14T05:04:29.668Z] ce5c4a1c91eb: Pull complete [2023-03-14T05:04:29.668Z] 169dfbe0d373: Pull complete [2023-03-14T05:04:29.668Z] e1ff8fa3b103: Pull complete [2023-03-14T05:04:37.976Z] 52ebb69f0ebf: Pull complete [2023-03-14T05:04:39.399Z] 5abe8eddf0d5: Pull complete [2023-03-14T05:04:39.399Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T05:04:39.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T05:04:39.399Z] ---> 6cb57ee374ae [2023-03-14T05:04:39.399Z] Step 3/10 : ARG MAKE=make build [2023-03-14T05:04:40.371Z] ---> Running in 028b4cc7523f [2023-03-14T05:04:40.642Z] Removing intermediate container 028b4cc7523f [2023-03-14T05:04:40.642Z] ---> e18dfc1a639f [2023-03-14T05:04:40.642Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-14T05:04:40.642Z] ---> Running in 8bd6b5de7da8 [2023-03-14T05:04:40.945Z] Removing intermediate container 8bd6b5de7da8 [2023-03-14T05:04:40.945Z] ---> 9b21d7d9ec39 [2023-03-14T05:04:40.945Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T05:04:41.219Z] ---> Running in 86e27d74c27a [2023-03-14T05:04:41.494Z] Removing intermediate container 86e27d74c27a [2023-03-14T05:04:41.494Z] ---> 9c6a81dd7259 [2023-03-14T05:04:41.494Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-14T05:04:41.776Z] ---> Running in c870f0402d51 [2023-03-14T05:04:43.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T05:04:43.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T05:04:45.221Z] OK: 263 MiB in 53 packages [2023-03-14T05:04:46.202Z] Removing intermediate container c870f0402d51 [2023-03-14T05:04:46.202Z] ---> b740221e6f3a [2023-03-14T05:04:46.202Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T05:04:46.825Z] ---> b5696b77afbf [2023-03-14T05:04:46.825Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T05:04:46.825Z] ---> Running in 794a46c3c1a9 [2023-03-14T05:06:08.531Z] Removing intermediate container 794a46c3c1a9 [2023-03-14T05:06:08.531Z] ---> b45c4dd29eb6 [2023-03-14T05:06:08.531Z] Step 9/10 : COPY . . [2023-03-14T05:06:08.531Z] ---> 2d1a28fe2083 [2023-03-14T05:06:08.531Z] Step 10/10 : RUN ${MAKE} [2023-03-14T05:06:08.531Z] ---> Running in 8d4c4be46856 [2023-03-14T05:06:08.531Z] noop [2023-03-14T05:06:08.531Z] Removing intermediate container 8d4c4be46856 [2023-03-14T05:06:08.531Z] ---> bb1fb5f814a9 [2023-03-14T05:06:08.531Z] Successfully built bb1fb5f814a9 [2023-03-14T05:06:08.531Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:06:09.128Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T05:06:09.128Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T05:06:09.460Z] prd-ubuntu20.04-docker-arm64-4c-16g-63 does not seem to be running inside a container [2023-03-14T05:06:09.549Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-14T05:06:10.921Z] $ docker top 4116c7bc7a4f1ab951afb9235f7b74627efe83b7635f922237b6bddd4ed75794 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T05:06:11.866Z] + go version [2023-03-14T05:06:11.867Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T05:06:11.909Z] $ docker stop --time=1 4116c7bc7a4f1ab951afb9235f7b74627efe83b7635f922237b6bddd4ed75794 [2023-03-14T05:06:13.605Z] $ docker rm -f --volumes 4116c7bc7a4f1ab951afb9235f7b74627efe83b7635f922237b6bddd4ed75794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:06:14.670Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T05:06:14.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T05:06:14.948Z] prd-ubuntu20.04-docker-arm64-4c-16g-63 does not seem to be running inside a container [2023-03-14T05:06:15.037Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-14T05:06:16.512Z] $ docker top b91ca8f974d69d7183a60a90bb60a248924eb90ee9ededbd033973426da952cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T05:06:17.462Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-14T05:06:18.189Z] + make test [2023-03-14T05:06:18.189Z] go test -race -coverprofile=coverage.out ./... [2023-03-14T05:07:14.656Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-14T05:10:06.481Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-14T05:10:06.481Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-14T05:10:06.481Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-14T05:10:06.481Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-14T05:10:06.481Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-14T05:10:09.836Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.241s coverage: 27.6% of statements [2023-03-14T05:10:16.518Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.285s coverage: 78.9% of statements [2023-03-14T05:10:31.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-14T05:10:31.552Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-14T05:10:31.552Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.433s coverage: 86.0% of statements [2023-03-14T05:10:39.776Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-14T05:10:39.776Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.513s coverage: 75.9% of statements [2023-03-14T05:10:44.068Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-14T05:10:46.665Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-14T05:10:46.665Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-14T05:10:47.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.278s coverage: 15.2% of statements [2023-03-14T05:10:47.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.478s coverage: 65.2% of statements [2023-03-14T05:10:52.633Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-14T05:10:53.601Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.835s coverage: 89.2% of statements [2023-03-14T05:10:53.601Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.285s coverage: 5.5% of statements [2023-03-14T05:10:54.188Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T05:10:54.188Z] GO111MODULE=on go vet ./... [2023-03-14T05:13:46.010Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T05:13:46.010Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T05:13:46.010Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T05:13:46.044Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T05:13:46.073Z] $ docker stop --time=1 b91ca8f974d69d7183a60a90bb60a248924eb90ee9ededbd033973426da952cb [2023-03-14T05:13:48.049Z] $ docker rm -f --volumes b91ca8f974d69d7183a60a90bb60a248924eb90ee9ededbd033973426da952cb [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T05:13:49.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T05:13:49.846Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T05:13:50.481Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T05:13:51.067Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T05:13:51.404Z] + ls -al . [2023-03-14T05:13:51.404Z] total 276 [2023-03-14T05:13:51.404Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 05:06 . [2023-03-14T05:13:51.404Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 05:03 .. [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 05:03 .dockerignore [2023-03-14T05:13:51.404Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 05:03 .git [2023-03-14T05:13:51.404Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 05:03 .github [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 05:03 .gitignore [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 05:03 .golangci.yml [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 05:03 CHANGELOG.md [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 05:03 GOVERNANCE.md [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 05:03 Jenkinsfile [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 05:03 LICENSE [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 14 05:03 Makefile [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 05:03 OWNERS.md [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 05:03 README.md [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 05:00 VERSION [2023-03-14T05:13:51.404Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 05:03 bin [2023-03-14T05:13:51.404Z] -rw-r--r-- 1 jenkins jenkins 111700 Mar 14 05:10 coverage.out [2023-03-14T05:13:51.404Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 05:03 example [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 05:03 go.mod [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 05:03 go.sum [2023-03-14T05:13:51.404Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 05:03 internal [2023-03-14T05:13:51.404Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 05:03 openapi [2023-03-14T05:13:51.404Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 05:03 pkg [2023-03-14T05:13:51.404Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 05:03 snap [2023-03-14T05:13:51.404Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:13:51.883Z] + 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=05123aedd7ce5aa9f3200962d940a7aedada2132 --label arch=arm64 --label version=0.0.0 . [2023-03-14T05:13:52.483Z] Sending build context to Docker daemon 5.89MB [2023-03-14T05:13:52.483Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-14T05:13:52.483Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-14T05:13:52.483Z] ---> bb1fb5f814a9 [2023-03-14T05:13:52.483Z] Step 3/23 : ARG MAKE=make build [2023-03-14T05:13:52.483Z] ---> Running in 21361544d6db [2023-03-14T05:13:52.765Z] Removing intermediate container 21361544d6db [2023-03-14T05:13:52.765Z] ---> 8ef42cf5ee91 [2023-03-14T05:13:52.765Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-14T05:13:53.040Z] ---> Running in b84a02258a02 [2023-03-14T05:13:53.310Z] Removing intermediate container b84a02258a02 [2023-03-14T05:13:53.310Z] ---> baa2f424aca1 [2023-03-14T05:13:53.310Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T05:13:53.310Z] ---> Running in 64c041661cd7 [2023-03-14T05:13:53.591Z] Removing intermediate container 64c041661cd7 [2023-03-14T05:13:53.591Z] ---> 25a28011a032 [2023-03-14T05:13:53.591Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-14T05:13:53.878Z] ---> Running in c7609933314e [2023-03-14T05:13:54.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T05:13:55.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T05:13:56.852Z] OK: 263 MiB in 53 packages [2023-03-14T05:13:57.437Z] Removing intermediate container c7609933314e [2023-03-14T05:13:57.437Z] ---> f751b284f4aa [2023-03-14T05:13:57.437Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-14T05:13:58.028Z] ---> 73376ca9a8ff [2023-03-14T05:13:58.028Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T05:13:58.028Z] ---> Running in 4fb5ec140bec [2023-03-14T05:14:01.379Z] Removing intermediate container 4fb5ec140bec [2023-03-14T05:14:01.379Z] ---> 84bd6b027a15 [2023-03-14T05:14:01.379Z] Step 9/23 : COPY . . [2023-03-14T05:14:02.341Z] ---> ef42bd2771af [2023-03-14T05:14:02.341Z] Step 10/23 : RUN ${MAKE} [2023-03-14T05:14:02.341Z] ---> Running in f6121eee0082 [2023-03-14T05:14:03.301Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-14T05:16:40.025Z] Removing intermediate container f6121eee0082 [2023-03-14T05:16:40.025Z] ---> b57d1c08ca4d [2023-03-14T05:16:40.025Z] Step 11/23 : FROM alpine:3.16 [2023-03-14T05:16:40.025Z] 3.16: Pulling from library/alpine [2023-03-14T05:16:40.025Z] 3760b48202b3: Pulling fs layer [2023-03-14T05:16:40.025Z] 3760b48202b3: Download complete [2023-03-14T05:16:40.025Z] 3760b48202b3: Pull complete [2023-03-14T05:16:40.025Z] Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 [2023-03-14T05:16:40.025Z] Status: Downloaded newer image for alpine:3.16 [2023-03-14T05:16:40.025Z] ---> 4c81e5bf8899 [2023-03-14T05:16:40.025Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T05:16:40.025Z] ---> Running in 10c04c7fac6e [2023-03-14T05:16:40.025Z] Removing intermediate container 10c04c7fac6e [2023-03-14T05:16:40.025Z] ---> 5fb7adbe836e [2023-03-14T05:16:40.025Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-14T05:16:40.025Z] ---> Running in cf19484340f7 [2023-03-14T05:16:40.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-14T05:16:40.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-14T05:16:40.025Z] OK: 5 MiB in 14 packages [2023-03-14T05:16:40.025Z] Removing intermediate container cf19484340f7 [2023-03-14T05:16:40.025Z] ---> 546224aeb860 [2023-03-14T05:16:40.025Z] Step 14/23 : WORKDIR / [2023-03-14T05:16:40.025Z] ---> Running in c771cbb197b2 [2023-03-14T05:16:40.025Z] Removing intermediate container c771cbb197b2 [2023-03-14T05:16:40.025Z] ---> 220efbd5abae [2023-03-14T05:16:40.025Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-14T05:16:40.025Z] ---> 264e3fbdd867 [2023-03-14T05:16:40.025Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-14T05:16:40.025Z] ---> 1f7e05ce5ba6 [2023-03-14T05:16:40.025Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-14T05:16:40.025Z] ---> e7f266bed0ec [2023-03-14T05:16:40.025Z] Step 18/23 : EXPOSE 59999 [2023-03-14T05:16:40.025Z] ---> Running in f6628aa323d9 [2023-03-14T05:16:40.025Z] Removing intermediate container f6628aa323d9 [2023-03-14T05:16:40.025Z] ---> 23adc6ffa2e7 [2023-03-14T05:16:40.025Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-14T05:16:40.025Z] ---> Running in b54e66953462 [2023-03-14T05:16:40.025Z] Removing intermediate container b54e66953462 [2023-03-14T05:16:40.025Z] ---> 9dd11e4fd6f2 [2023-03-14T05:16:40.025Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T05:16:40.025Z] ---> Running in f7837b962f34 [2023-03-14T05:16:40.025Z] Removing intermediate container f7837b962f34 [2023-03-14T05:16:40.025Z] ---> fe8e6917d9a9 [2023-03-14T05:16:40.025Z] Step 21/23 : LABEL arch=arm64 [2023-03-14T05:16:40.025Z] ---> Running in 1cfaf877933e [2023-03-14T05:16:40.025Z] Removing intermediate container 1cfaf877933e [2023-03-14T05:16:40.025Z] ---> 7bf0e902bb55 [2023-03-14T05:16:40.025Z] Step 22/23 : LABEL git_sha=05123aedd7ce5aa9f3200962d940a7aedada2132 [2023-03-14T05:16:40.025Z] ---> Running in 6c41daf3c238 [2023-03-14T05:16:40.025Z] Removing intermediate container 6c41daf3c238 [2023-03-14T05:16:40.025Z] ---> 03a3643e3404 [2023-03-14T05:16:40.025Z] Step 23/23 : LABEL version=0.0.0 [2023-03-14T05:16:40.025Z] ---> Running in 6e266142b5f0 [2023-03-14T05:16:40.025Z] Removing intermediate container 6e266142b5f0 [2023-03-14T05:16:40.025Z] ---> a3813ff90abe [2023-03-14T05:16:40.025Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T05:16:40.025Z] Successfully built a3813ff90abe [2023-03-14T05:16:40.025Z] 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-03-14T05:16:40.793Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T05:16:40.793Z] [2023-03-14T05:16:40.793Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:16:41.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T05:16:41.204Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T05:16:41.204Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T05:16:41.204Z] 04944245beec: Pulling fs layer [2023-03-14T05:16:41.204Z] 699f458cf7ca: Pulling fs layer [2023-03-14T05:16:41.204Z] 765212b225bb: Pulling fs layer [2023-03-14T05:16:41.204Z] f23df028b6ca: Pulling fs layer [2023-03-14T05:16:41.204Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T05:16:41.204Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T05:16:41.204Z] 765212b225bb: Waiting [2023-03-14T05:16:41.204Z] f23df028b6ca: Waiting [2023-03-14T05:16:41.204Z] d65c8cfc05b1: Waiting [2023-03-14T05:16:41.204Z] 2437ff75d9bd: Waiting [2023-03-14T05:16:41.483Z] 04944245beec: Verifying Checksum [2023-03-14T05:16:41.483Z] 04944245beec: Download complete [2023-03-14T05:16:41.483Z] 765212b225bb: Verifying Checksum [2023-03-14T05:16:41.483Z] 765212b225bb: Download complete [2023-03-14T05:16:41.483Z] f23df028b6ca: Verifying Checksum [2023-03-14T05:16:41.483Z] f23df028b6ca: Download complete [2023-03-14T05:16:41.483Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T05:16:41.483Z] d65c8cfc05b1: Download complete [2023-03-14T05:16:41.751Z] 699f458cf7ca: Verifying Checksum [2023-03-14T05:16:41.751Z] 699f458cf7ca: Download complete [2023-03-14T05:16:42.018Z] 8998bd30e6a1: Download complete [2023-03-14T05:16:44.605Z] 2437ff75d9bd: Download complete [2023-03-14T05:16:46.018Z] 8998bd30e6a1: Pull complete [2023-03-14T05:16:46.601Z] 04944245beec: Pull complete [2023-03-14T05:16:48.013Z] 699f458cf7ca: Pull complete [2023-03-14T05:16:48.013Z] 765212b225bb: Pull complete [2023-03-14T05:16:48.972Z] f23df028b6ca: Pull complete [2023-03-14T05:16:48.972Z] d65c8cfc05b1: Pull complete [2023-03-14T05:17:03.964Z] 2437ff75d9bd: Pull complete [2023-03-14T05:17:03.964Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T05:17:03.964Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T05:17:03.964Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T05:17:04.282Z] prd-ubuntu20.04-docker-arm64-4c-16g-63 does not seem to be running inside a container [2023-03-14T05:17:04.344Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T05:17:06.885Z] $ docker top 2df94f499aa2ba54853248e09be5f4022e99c073a8888caed627139e89c691d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:17:07.784Z] ---> job-cost.sh [2023-03-14T05:17:07.784Z] lf-activate-venv: SKIPPING [2023-03-14T05:17:07.784Z] INFO: No Stack... [2023-03-14T05:17:08.363Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T05:17:08.943Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T05:17:09.599Z] + cut+ -d, -f6 [2023-03-14T05:17:09.599Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-03-14T05:17:09.675Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1377-1-stack-cost] [2023-03-14T05:17:09.680Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1377-1-stack-cost] did not exist. Created. [2023-03-14T05:17:09.680Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1377-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T05:17:10.492Z] /w/workspace/device-sdk-go/1@tmp/durable-205d4d65/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T05:17:11.161Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T05:17:11.200Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T05:17:11.265Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T05:17:11.279Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1377-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T05:17:11.344Z] $ docker stop --time=1 2df94f499aa2ba54853248e09be5f4022e99c073a8888caed627139e89c691d8 [2023-03-14T05:17:12.868Z] $ docker rm -f --volumes 2df94f499aa2ba54853248e09be5f4022e99c073a8888caed627139e89c691d8 [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-03-14T05:17:13.804Z] provisioning config files... [2023-03-14T05:17:13.813Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp/config15653176600000846947tmp [Pipeline] { [Pipeline] sh [2023-03-14T05:17:14.145Z] + set +x [2023-03-14T05:17:14.145Z] + bash -s -- [2023-03-14T05:17:14.145Z] + curl -s https://codecov.io/bash [2023-03-14T05:17:14.145Z] [2023-03-14T05:17:14.145Z] _____ _ [2023-03-14T05:17:14.145Z] / ____| | | [2023-03-14T05:17:14.145Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T05:17:14.145Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T05:17:14.145Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T05:17:14.145Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T05:17:14.145Z] Bash-1.0.6 [2023-03-14T05:17:14.145Z] [2023-03-14T05:17:14.145Z] [2023-03-14T05:17:14.145Z] ==> git version 2.25.1 found [2023-03-14T05:17:14.145Z] ==> 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-03-14T05:17:14.145Z] Release-Date: 2020-01-08 [2023-03-14T05:17:14.145Z] 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-03-14T05:17:14.145Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T05:17:14.145Z] ==> Jenkins CI detected. [2023-03-14T05:17:14.145Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1377 [2023-03-14T05:17:14.145Z] project root: . [2023-03-14T05:17:14.145Z] --> token set from env [2023-03-14T05:17:14.145Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T05:17:14.145Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T05:17:14.145Z] ==> Python coveragepy not found [2023-03-14T05:17:14.145Z] ==> Searching for coverage reports in: [2023-03-14T05:17:14.145Z] + . [2023-03-14T05:17:14.406Z] -> Found 1 reports [2023-03-14T05:17:14.406Z] ==> Detecting git/mercurial file structure [2023-03-14T05:17:14.406Z] ==> Reading reports [2023-03-14T05:17:14.406Z] + ./coverage.out bytes=111700 [2023-03-14T05:17:14.406Z] ==> Appending adjustments [2023-03-14T05:17:14.406Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T05:17:14.666Z] + Found adjustments [2023-03-14T05:17:14.666Z] ==> Gzipping contents [2023-03-14T05:17:14.666Z] 16K /tmp/codecov.XcKo79.gz [2023-03-14T05:17:14.666Z] ==> Uploading reports [2023-03-14T05:17:14.666Z] url: https://codecov.io [2023-03-14T05:17:14.666Z] query: branch=PR-1377&commit=05123aedd7ce5aa9f3200962d940a7aedada2132&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1377&job=&cmd_args= [2023-03-14T05:17:14.666Z] -> Pinging Codecov [2023-03-14T05:17:14.666Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1377&commit=05123aedd7ce5aa9f3200962d940a7aedada2132&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1377%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1377&job=&cmd_args= [2023-03-14T05:17:14.926Z] -> Uploading to [2023-03-14T05:17:14.926Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/7E55EF52A471D76F132DFD9A03CDDE97/05123aedd7ce5aa9f3200962d940a7aedada2132/ec22cfa7-4872-47c5-ac34-1eef761d8baf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T051714Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0ebde049953001d34f4e527116b2d5c8b0ddd4901cc4cdbae94448edc666a7b4 [2023-03-14T05:17:14.926Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T05:17:14.926Z] Dload Upload Total Spent Left Speed [2023-03-14T05:17:15.185Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15399 0 0 100 15399 0 59455 --:--:-- --:--:-- --:--:-- 59455 [2023-03-14T05:17:15.185Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/05123aedd7ce5aa9f3200962d940a7aedada2132 [Pipeline] } [2023-03-14T05:17:15.213Z] 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-03-14T05:17:16.906Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1377/archives ] [2023-03-14T05:17:16.906Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1377/archives [2023-03-14T05:17:16.906Z] total 16 [2023-03-14T05:17:16.906Z] drwxr-xr-x 3 root root 4096 Mar 14 05:03 . [2023-03-14T05:17:16.906Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 05:03 .. [2023-03-14T05:17:16.906Z] drwxr-xr-x 2 root root 4096 Mar 14 05:03 cost [2023-03-14T05:17:16.906Z] -rw-r--r-- 1 root root 86 Mar 14 05:03 cost.csv [2023-03-14T05:17:16.906Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1377/archives [2023-03-14T05:17:16.906Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1377/archives [2023-03-14T05:17:16.906Z] total 16 [2023-03-14T05:17:16.906Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 05:03 . [2023-03-14T05:17:16.906Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 05:03 .. [2023-03-14T05:17:16.906Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 05:03 cost [2023-03-14T05:17:16.906Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 14 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:17:17.228Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:17:18.119Z] ---> package-listing.sh [2023-03-14T05:17:18.119Z] ++ facter osfamily [2023-03-14T05:17:18.119Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T05:17:18.379Z] + OS_FAMILY=debian [2023-03-14T05:17:18.379Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1377 [2023-03-14T05:17:18.379Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T05:17:18.379Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T05:17:18.379Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T05:17:18.379Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T05:17:18.379Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1377 ']' [2023-03-14T05:17:18.379Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T05:17:18.379Z] + case "${OS_FAMILY}" in [2023-03-14T05:17:18.379Z] + dpkg -l [2023-03-14T05:17:18.379Z] + grep '^ii' [2023-03-14T05:17:18.379Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T05:17:18.379Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T05:17:18.379Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T05:17:18.379Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1377 ']' [2023-03-14T05:17:18.379Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1377/archives/ [2023-03-14T05:17:18.379Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1377/archives/ [Pipeline] echo [2023-03-14T05:17:18.416Z] 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-1377/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T05:17:18.709Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T05:17:19.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T05:17:19.332Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T05:17:19.467Z] prd-ubuntu20.04-docker-8c-8g-52 does not seem to be running inside a container [2023-03-14T05:17:19.506Z] $ 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-1377/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-1377 -v /w/workspace/gexfoundry_device-sdk-go_PR-1377:/w/workspace/gexfoundry_device-sdk-go_PR-1377:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1377@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-03-14T05:17:19.704Z] $ docker top 96a88b5cce7a1681b3393e35675e7dd0b5ebdbb7692446e8dc9da691d81d78f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T05:17:20.087Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T05:17:20.398Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T05:17:20.711Z] + ls /var/log/sa-host [2023-03-14T05:17:20.711Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T05:17:20.837Z] provisioning config files... [2023-03-14T05:17:20.847Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1377@tmp/config16789974433616651597tmp [Pipeline] { [Pipeline] echo [2023-03-14T05:17:20.893Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:17:21.201Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T05:17:21.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:17:21.622Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T05:17:21.657Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:17:21.966Z] ---> sudo-logs.sh [2023-03-14T05:17:21.966Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T05:17:22.052Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:17:22.362Z] ---> job-cost.sh [2023-03-14T05:17:22.362Z] lf-activate-venv: SKIPPING [2023-03-14T05:17:22.362Z] DEBUG: total: 0.2199999988079071 [2023-03-14T05:17:22.362Z] INFO: Retrieving Stack Cost... [2023-03-14T05:17:22.622Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T05:17:23.190Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T05:17:23.229Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T05:17:23.540Z] ---> logs-deploy.sh [2023-03-14T05:17:23.541Z] lf-activate-venv: SKIPPING [2023-03-14T05:17:23.541Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1377/1 [2023-03-14T05:17:23.541Z] INFO: archiving workspace using pattern(s): [2023-03-14T05:17:24.479Z] Archives upload complete. [2023-03-14T05:17:24.479Z] INFO: archiving logs to Nexus