Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb3b780b49bdb40d95a497fa6cff623f428380a1+9538fefa27763f734e76c76e23c9c4865d039fa2 (166576cf081a9390606cb5751d3cb7721ca1f283) 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-ssh10407346224821193856.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh14885707394874789039.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17147233015415942411.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 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-ssh7828797544083441333.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14147188762072826659.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24574 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [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-1540 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9538fefa27763f734e76c76e23c9c4865d039fa2 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing 51116c0ef2121ef19687661a0ece2cb94c51cf4e Checking out Revision 51116c0ef2121ef19687661a0ece2cb94c51cf4e (PR-1540) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # 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 9538fefa27763f734e76c76e23c9c4865d039fa2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51116c0ef2121ef19687661a0ece2cb94c51cf4e # timeout=10 Commit message: "Merge commit '9538fefa27763f734e76c76e23c9c4865d039fa2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-06T18:41:46.554Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-06T18:41:46.629Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-06T18:41:46.663Z] ========================================================= [2023-12-06T18:41:46.663Z] EdgeX Global Pipelines Version Info [2023-12-06T18:41:46.663Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 75fec91ffc9333535ffc20e2754e85db6f29132d # timeout=10 [2023-12-06T18:41:47.399Z] ------------------- [2023-12-06T18:41:47.399Z] stable info: [2023-12-06T18:41:47.399Z] ------------------- [2023-12-06T18:41:47.399Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-06T18:41:47.399Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-06T18:41:47.399Z] Message: update stable to v1.0.258 [2023-12-06T18:41:47.969Z] ------------------- [2023-12-06T18:41:47.969Z] experimental info: [2023-12-06T18:41:47.969Z] ------------------- [2023-12-06T18:41:47.969Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-06T18:41:47.969Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-06T18:41:47.969Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-06T18:41:48.050Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-12-06T18:41:48.072Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-12-06T18:41:48.100Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-06T18:41:48.124Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-06T18:41:48.150Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-06T18:41:48.185Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-06T18:41:48.217Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-06T18:41:48.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-12-06T18:41:48.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-06T18:41:48.316Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-06T18:41:48.348Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-06T18:41:48.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-12-06T18:41:48.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-06T18:41:48.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-06T18:41:48.478Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-06T18:41:48.513Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-12-06T18:41:48.547Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-06T18:41:48.582Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-06T18:41:48.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-06T18:41:48.646Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-06T18:41:48.673Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-12-06T18:41:48.707Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-12-06T18:41:48.748Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-06T18:41:48.783Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-06T18:41:48.811Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-06T18:41:48.846Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-06T18:41:48.885Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-06T18:41:48.927Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo [2023-12-06T18:41:48.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo [2023-12-06T18:41:49.016Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo [2023-12-06T18:41:49.058Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51116c0ef2121ef19687661a0ece2cb94c51cf4e [Pipeline] echo [2023-12-06T18:41:49.096Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51116c0 [Pipeline] echo [2023-12-06T18:41:49.139Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T18:41:49.228Z] provisioning config files... [2023-12-06T18:41:49.240Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config7361777968313841116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:41:49.585Z] ---> ****-login.sh [2023-12-06T18:41:49.585Z] nexus3.edgexfoundry.org:10001 [2023-12-06T18:41:49.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:41:49.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:41:49.845Z] Configure a credential helper to remove this warning. See [2023-12-06T18:41:49.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:41:49.845Z] [2023-12-06T18:41:49.845Z] Login Succeeded [2023-12-06T18:41:49.845Z] nexus3.edgexfoundry.org:10002 [2023-12-06T18:41:49.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:41:49.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:41:49.845Z] Configure a credential helper to remove this warning. See [2023-12-06T18:41:49.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:41:49.845Z] [2023-12-06T18:41:49.845Z] Login Succeeded [2023-12-06T18:41:49.845Z] nexus3.edgexfoundry.org:10003 [2023-12-06T18:41:50.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:41:50.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:41:50.107Z] Configure a credential helper to remove this warning. See [2023-12-06T18:41:50.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:41:50.107Z] [2023-12-06T18:41:50.107Z] Login Succeeded [2023-12-06T18:41:50.107Z] nexus3.edgexfoundry.org:10004 [2023-12-06T18:41:50.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:41:50.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:41:50.107Z] Configure a credential helper to remove this warning. See [2023-12-06T18:41:50.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:41:50.107Z] [2023-12-06T18:41:50.107Z] Login Succeeded [2023-12-06T18:41:50.107Z] ****.io [2023-12-06T18:41:50.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:41:50.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:41:50.369Z] Configure a credential helper to remove this warning. See [2023-12-06T18:41:50.369Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:41:50.369Z] [2023-12-06T18:41:50.369Z] Login Succeeded [2023-12-06T18:41:50.369Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T18:41:50.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-06T18:41:50.875Z] + git rev-list -1 --merges 51116c0ef2121ef19687661a0ece2cb94c51cf4e~1..51116c0ef2121ef19687661a0ece2cb94c51cf4e [Pipeline] echo [2023-12-06T18:41:50.902Z] -----------> git rev-list -1 --merges 51116c0ef2121ef19687661a0ece2cb94c51cf4e~1..51116c0ef2121ef19687661a0ece2cb94c51cf4e 51116c0ef2121ef19687661a0ece2cb94c51cf4e [2023-12-06T18:41:50.902Z] 51116c0ef2121ef19687661a0ece2cb94c51cf4e [false] [Pipeline] sh [2023-12-06T18:41:51.206Z] + git log --format=format:%s -1 51116c0ef2121ef19687661a0ece2cb94c51cf4e [Pipeline] echo [2023-12-06T18:41:51.220Z] ========================================================= [2023-12-06T18:41:51.220Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-06T18:41:51.220Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-06T18:41:51.591Z] + git log --format=format:%s -1 51116c0ef2121ef19687661a0ece2cb94c51cf4e [Pipeline] echo [2023-12-06T18:41:51.602Z] [semverPrep] GIT_COMMIT: 51116c0ef2121ef19687661a0ece2cb94c51cf4e, Commit Message: Merge commit '9538fefa27763f734e76c76e23c9c4865d039fa2' into HEAD [Pipeline] echo [2023-12-06T18:41:51.628Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-06T18:41:52.005Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-06T18:41:52.005Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-06T18:41:52.005Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-06T18:41:52.005Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-06T18:41:52.005Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-06T18:41:52.005Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-06T18:41:52.005Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:41:52.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T18:41:52.363Z] [2023-12-06T18:41:52.363Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:41:52.680Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T18:41:52.680Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-06T18:41:52.680Z] b85a868b505f: Pulling fs layer [2023-12-06T18:41:52.680Z] e2be974225ed: Pulling fs layer [2023-12-06T18:41:52.680Z] 339a4e72a1f5: Pulling fs layer [2023-12-06T18:41:52.680Z] 988bab9f4d93: Pulling fs layer [2023-12-06T18:41:52.680Z] 1469e6f7b9e6: Pulling fs layer [2023-12-06T18:41:52.680Z] eaf3925da568: Pulling fs layer [2023-12-06T18:41:52.680Z] 988bab9f4d93: Waiting [2023-12-06T18:41:52.680Z] 1469e6f7b9e6: Waiting [2023-12-06T18:41:52.680Z] bab4dde63d76: Pulling fs layer [2023-12-06T18:41:52.680Z] bde34c3a00c8: Pulling fs layer [2023-12-06T18:41:52.680Z] b352a97aabf1: Pulling fs layer [2023-12-06T18:41:52.680Z] 4872d77fe225: Pulling fs layer [2023-12-06T18:41:52.680Z] 5851b861e8e6: Pulling fs layer [2023-12-06T18:41:52.680Z] eaf3925da568: Waiting [2023-12-06T18:41:52.680Z] bab4dde63d76: Waiting [2023-12-06T18:41:52.680Z] 5851b861e8e6: Waiting [2023-12-06T18:41:52.680Z] bde34c3a00c8: Waiting [2023-12-06T18:41:52.680Z] 4872d77fe225: Waiting [2023-12-06T18:41:52.680Z] e2be974225ed: Verifying Checksum [2023-12-06T18:41:52.680Z] e2be974225ed: Download complete [2023-12-06T18:41:52.680Z] 988bab9f4d93: Verifying Checksum [2023-12-06T18:41:52.680Z] 988bab9f4d93: Download complete [2023-12-06T18:41:52.953Z] 1469e6f7b9e6: Verifying Checksum [2023-12-06T18:41:52.953Z] 1469e6f7b9e6: Download complete [2023-12-06T18:41:52.953Z] eaf3925da568: Verifying Checksum [2023-12-06T18:41:52.953Z] eaf3925da568: Download complete [2023-12-06T18:41:53.215Z] 339a4e72a1f5: Verifying Checksum [2023-12-06T18:41:53.215Z] 339a4e72a1f5: Download complete [2023-12-06T18:41:53.215Z] bde34c3a00c8: Download complete [2023-12-06T18:41:53.215Z] b352a97aabf1: Download complete [2023-12-06T18:41:53.215Z] 4872d77fe225: Verifying Checksum [2023-12-06T18:41:53.215Z] 4872d77fe225: Download complete [2023-12-06T18:41:53.215Z] 5851b861e8e6: Verifying Checksum [2023-12-06T18:41:53.215Z] 5851b861e8e6: Download complete [2023-12-06T18:41:53.473Z] b85a868b505f: Verifying Checksum [2023-12-06T18:41:53.473Z] b85a868b505f: Download complete [2023-12-06T18:41:53.473Z] bab4dde63d76: Verifying Checksum [2023-12-06T18:41:53.473Z] bab4dde63d76: Download complete [2023-12-06T18:41:54.408Z] b85a868b505f: Pull complete [2023-12-06T18:41:54.667Z] e2be974225ed: Pull complete [2023-12-06T18:41:55.234Z] 339a4e72a1f5: Pull complete [2023-12-06T18:41:55.234Z] 988bab9f4d93: Pull complete [2023-12-06T18:41:55.493Z] 1469e6f7b9e6: Pull complete [2023-12-06T18:41:55.494Z] eaf3925da568: Pull complete [2023-12-06T18:41:57.400Z] bab4dde63d76: Pull complete [2023-12-06T18:41:57.400Z] bde34c3a00c8: Pull complete [2023-12-06T18:41:57.400Z] b352a97aabf1: Pull complete [2023-12-06T18:41:57.400Z] 4872d77fe225: Pull complete [2023-12-06T18:41:57.400Z] 5851b861e8e6: Pull complete [2023-12-06T18:41:57.400Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-06T18:41:57.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-06T18:41:57.400Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T18:41:57.590Z] prd-ubuntu20.04-docker-8c-8g-24574 does not seem to be running inside a container [2023-12-06T18:41:57.621Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-12-06T18:41:59.586Z] $ docker top 087b35e5054def982659172142ff16f9cd6d619f37743662d84e2534d7704741 -eo pid,comm [2023-12-06T18:41:59.638Z] 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-12-06T18:41:59.638Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-06T18:41:59.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T18:41:59.732Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T18:41:59.843Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T18:41:59.847Z] $ docker exec 087b35e5054def982659172142ff16f9cd6d619f37743662d84e2534d7704741 ssh-agent [2023-12-06T18:41:59.943Z] SSH_AUTH_SOCK=/tmp/ssh-ef6IGPJQHOcY/agent.33 [2023-12-06T18:41:59.943Z] SSH_AGENT_PID=39 [2023-12-06T18:41:59.956Z] Running ssh-add (command line suppressed) [2023-12-06T18:42:00.062Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_3374899653304750818.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_3374899653304750818.key) [2023-12-06T18:42:00.071Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T18:42:00.375Z] + git tag --points-at HEAD [Pipeline] } [2023-12-06T18:42:00.388Z] $ docker exec --env ******** --env ******** 087b35e5054def982659172142ff16f9cd6d619f37743662d84e2534d7704741 ssh-agent -k [2023-12-06T18:42:00.478Z] unset SSH_AUTH_SOCK; [2023-12-06T18:42:00.478Z] unset SSH_AGENT_PID; [2023-12-06T18:42:00.478Z] echo Agent pid 39 killed; [2023-12-06T18:42:00.485Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-06T18:42:00.549Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-06T18:42:00.549Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-06T18:42:00.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-06T18:42:00.656Z] $ docker exec 087b35e5054def982659172142ff16f9cd6d619f37743662d84e2534d7704741 ssh-agent [2023-12-06T18:42:00.768Z] SSH_AUTH_SOCK=/tmp/ssh-ukgzgB0lhoQq/agent.72 [2023-12-06T18:42:00.768Z] SSH_AGENT_PID=78 [2023-12-06T18:42:00.773Z] Running ssh-add (command line suppressed) [2023-12-06T18:42:00.875Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_7196015513258211542.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_7196015513258211542.key) [2023-12-06T18:42:00.889Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-06T18:42:01.197Z] + git semver init [2023-12-06T18:42:01.457Z] 2023-12-06 18:42:01,360 [run_init] DEBUG init version:0.0.0 force:False [2023-12-06T18:42:01.457Z] 2023-12-06 18:42:01,360 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-12-06T18:42:01.457Z] 2023-12-06 18:42:01,361 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-12-06T18:42:01.457Z] 2023-12-06 18:42:01,361 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) [2023-12-06T18:42:02.836Z] 2023-12-06 18:42:02,560 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude [2023-12-06T18:42:02.836Z] 2023-12-06 18:42:02,561 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False [2023-12-06T18:42:02.836Z] 2023-12-06 18:42:02,561 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-12-06T18:42:02.836Z] 2023-12-06 18:42:02,565 [execute] INFO git cat-file --batch-check [2023-12-06T18:42:02.836Z] 2023-12-06 18:42:02,566 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-12-06T18:42:02.836Z] 2023-12-06 18:42:02,573 [execute] INFO git cat-file --batch [2023-12-06T18:42:02.836Z] 2023-12-06 18:42:02,573 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-12-06T18:42:02.836Z] 2023-12-06 18:42:02,579 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-12-06T18:42:02.836Z] 0.0.0 [Pipeline] } [2023-12-06T18:42:02.847Z] $ docker exec --env ******** --env ******** 087b35e5054def982659172142ff16f9cd6d619f37743662d84e2534d7704741 ssh-agent -k [2023-12-06T18:42:02.944Z] unset SSH_AUTH_SOCK; [2023-12-06T18:42:02.944Z] unset SSH_AGENT_PID; [2023-12-06T18:42:02.944Z] echo Agent pid 78 killed; [2023-12-06T18:42:02.951Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-06T18:42:03.329Z] + git semver [Pipeline] } [2023-12-06T18:42:03.602Z] $ docker stop --time=1 087b35e5054def982659172142ff16f9cd6d619f37743662d84e2534d7704741 [2023-12-06T18:42:04.891Z] $ docker rm -f --volumes 087b35e5054def982659172142ff16f9cd6d619f37743662d84e2534d7704741 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-06T18:42:05.265Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-06T18:42:05.529Z] Stashed 1 file(s) [Pipeline] echo [2023-12-06T18:42:05.532Z] [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-12-06T18:42:05.917Z] provisioning config files... [2023-12-06T18:42:05.925Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config2670222272861725453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:42:06.258Z] ---> ****-login.sh [2023-12-06T18:42:06.258Z] nexus3.edgexfoundry.org:10001 [2023-12-06T18:42:06.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:42:06.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:42:06.518Z] Configure a credential helper to remove this warning. See [2023-12-06T18:42:06.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:42:06.518Z] [2023-12-06T18:42:06.518Z] Login Succeeded [2023-12-06T18:42:06.518Z] nexus3.edgexfoundry.org:10002 [2023-12-06T18:42:06.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:42:06.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:42:06.785Z] Configure a credential helper to remove this warning. See [2023-12-06T18:42:06.785Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:42:06.785Z] [2023-12-06T18:42:06.785Z] Login Succeeded [2023-12-06T18:42:06.785Z] nexus3.edgexfoundry.org:10003 [2023-12-06T18:42:06.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:42:06.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:42:06.785Z] Configure a credential helper to remove this warning. See [2023-12-06T18:42:06.785Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:42:06.785Z] [2023-12-06T18:42:06.785Z] Login Succeeded [2023-12-06T18:42:06.785Z] nexus3.edgexfoundry.org:10004 [2023-12-06T18:42:06.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:42:07.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:42:07.044Z] Configure a credential helper to remove this warning. See [2023-12-06T18:42:07.045Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:42:07.045Z] [2023-12-06T18:42:07.045Z] Login Succeeded [2023-12-06T18:42:07.045Z] ****.io [2023-12-06T18:42:07.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:42:07.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:42:07.304Z] Configure a credential helper to remove this warning. See [2023-12-06T18:42:07.304Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:42:07.304Z] [2023-12-06T18:42:07.304Z] Login Succeeded [2023-12-06T18:42:07.304Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T18:42:07.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-06T18:42:07.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T18:42:07.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T18:42:07.513Z] ========================================================= [2023-12-06T18:42:07.513Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-06T18:42:07.513Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:42:07.930Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-12-06T18:42:07.930Z] Sending build context to Docker daemon 21.91MB [2023-12-06T18:42:07.930Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-12-06T18:42:07.930Z] Step 2/10 : FROM ${BASE} AS builder [2023-12-06T18:42:08.191Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-06T18:42:08.191Z] 7264a8db6415: Pulling fs layer [2023-12-06T18:42:08.191Z] c4d48a809fc2: Pulling fs layer [2023-12-06T18:42:08.191Z] 4f1c88b9dad5: Pulling fs layer [2023-12-06T18:42:08.191Z] ad3a456e5733: Pulling fs layer [2023-12-06T18:42:08.191Z] 69c7f0334f64: Pulling fs layer [2023-12-06T18:42:08.191Z] 1f1c1a5573a3: Pulling fs layer [2023-12-06T18:42:08.191Z] ce7588e14bc9: Pulling fs layer [2023-12-06T18:42:08.191Z] b5e4710f87ac: Pulling fs layer [2023-12-06T18:42:08.191Z] ad3a456e5733: Waiting [2023-12-06T18:42:08.191Z] 69c7f0334f64: Waiting [2023-12-06T18:42:08.191Z] 1f1c1a5573a3: Waiting [2023-12-06T18:42:08.191Z] ce7588e14bc9: Waiting [2023-12-06T18:42:08.191Z] b5e4710f87ac: Waiting [2023-12-06T18:42:08.191Z] c4d48a809fc2: Download complete [2023-12-06T18:42:08.191Z] ad3a456e5733: Verifying Checksum [2023-12-06T18:42:08.191Z] ad3a456e5733: Download complete [2023-12-06T18:42:08.191Z] 69c7f0334f64: Verifying Checksum [2023-12-06T18:42:08.191Z] 69c7f0334f64: Download complete [2023-12-06T18:42:08.191Z] 7264a8db6415: Verifying Checksum [2023-12-06T18:42:08.191Z] 7264a8db6415: Download complete [2023-12-06T18:42:08.191Z] 1f1c1a5573a3: Verifying Checksum [2023-12-06T18:42:08.191Z] 1f1c1a5573a3: Download complete [2023-12-06T18:42:08.453Z] 7264a8db6415: Pull complete [2023-12-06T18:42:08.453Z] b5e4710f87ac: Verifying Checksum [2023-12-06T18:42:08.453Z] b5e4710f87ac: Download complete [2023-12-06T18:42:08.453Z] c4d48a809fc2: Pull complete [2023-12-06T18:42:08.715Z] 4f1c88b9dad5: Verifying Checksum [2023-12-06T18:42:08.715Z] 4f1c88b9dad5: Download complete [2023-12-06T18:42:08.975Z] ce7588e14bc9: Verifying Checksum [2023-12-06T18:42:08.975Z] ce7588e14bc9: Download complete [2023-12-06T18:42:11.513Z] 4f1c88b9dad5: Pull complete [2023-12-06T18:42:11.513Z] ad3a456e5733: Pull complete [2023-12-06T18:42:11.771Z] 69c7f0334f64: Pull complete [2023-12-06T18:42:11.771Z] 1f1c1a5573a3: Pull complete [2023-12-06T18:42:14.359Z] ce7588e14bc9: Pull complete [2023-12-06T18:42:14.617Z] b5e4710f87ac: Pull complete [2023-12-06T18:42:14.617Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-06T18:42:14.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-06T18:42:14.617Z] ---> 88b5674ff536 [2023-12-06T18:42:14.617Z] Step 3/10 : ARG MAKE=make build [2023-12-06T18:42:17.185Z] ---> Running in 08914fabce0f [2023-12-06T18:42:17.185Z] Removing intermediate container 08914fabce0f [2023-12-06T18:42:17.185Z] ---> 85223d63b6d7 [2023-12-06T18:42:17.185Z] Step 4/10 : WORKDIR /device-sdk-go [2023-12-06T18:42:17.185Z] ---> Running in 584c7dac6255 [2023-12-06T18:42:17.185Z] Removing intermediate container 584c7dac6255 [2023-12-06T18:42:17.185Z] ---> b2a5818cb8c8 [2023-12-06T18:42:17.185Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-06T18:42:17.185Z] ---> Running in 134cde430805 [2023-12-06T18:42:17.185Z] Removing intermediate container 134cde430805 [2023-12-06T18:42:17.185Z] ---> 1520db4a5f44 [2023-12-06T18:42:17.185Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-12-06T18:42:17.185Z] ---> Running in 4c34f260ec20 [2023-12-06T18:42:17.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T18:42:17.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T18:42:17.702Z] OK: 264 MiB in 52 packages [2023-12-06T18:42:17.960Z] Removing intermediate container 4c34f260ec20 [2023-12-06T18:42:17.960Z] ---> 6b271a19111b [2023-12-06T18:42:17.960Z] Step 7/10 : COPY go.mod vendor* ./ [2023-12-06T18:42:17.960Z] ---> 35d95f974c42 [2023-12-06T18:42:17.960Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T18:42:18.218Z] ---> Running in 08c185106b38 [2023-12-06T18:42:20.813Z] Still waiting to schedule task [2023-12-06T18:42:20.813Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24571’ [2023-12-06T18:42:44.764Z] Removing intermediate container 08c185106b38 [2023-12-06T18:42:44.764Z] ---> 3c164799a77f [2023-12-06T18:42:44.764Z] Step 9/10 : COPY . . [2023-12-06T18:42:44.764Z] ---> 9fe6e2ae4288 [2023-12-06T18:42:44.764Z] Step 10/10 : RUN ${MAKE} [2023-12-06T18:42:44.764Z] ---> Running in b5c665c25da1 [2023-12-06T18:42:44.764Z] noop [2023-12-06T18:42:45.023Z] Removing intermediate container b5c665c25da1 [2023-12-06T18:42:45.023Z] ---> 0c4811c8eb78 [2023-12-06T18:42:45.023Z] Successfully built 0c4811c8eb78 [2023-12-06T18:42:45.023Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:42:45.413Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-06T18:42:45.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T18:42:45.523Z] prd-ubuntu20.04-docker-8c-8g-24574 does not seem to be running inside a container [2023-12-06T18:42:45.550Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-06T18:42:45.889Z] $ docker top 140adfae19223bdf286a06659782b58dc0a5c006dcd293bf96246021f3f599ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T18:42:46.277Z] + go version [2023-12-06T18:42:46.277Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-06T18:42:46.289Z] $ docker stop --time=1 140adfae19223bdf286a06659782b58dc0a5c006dcd293bf96246021f3f599ac [2023-12-06T18:42:47.589Z] $ docker rm -f --volumes 140adfae19223bdf286a06659782b58dc0a5c006dcd293bf96246021f3f599ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:42:48.189Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-06T18:42:48.190Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T18:42:48.312Z] prd-ubuntu20.04-docker-8c-8g-24574 does not seem to be running inside a container [2023-12-06T18:42:48.341Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-06T18:42:48.693Z] $ docker top d6cd7ee82af8104ed81d29e4d70e795d0c564db54dd78bbd923f5e19b5b10f5e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T18:42:49.071Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh [2023-12-06T18:42:49.397Z] + make test [2023-12-06T18:42:49.397Z] go test -race -coverprofile=coverage.out ./... [2023-12-06T18:42:55.978Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-12-06T18:43:10.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-12-06T18:43:10.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-12-06T18:43:10.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-12-06T18:43:10.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-12-06T18:43:10.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-12-06T18:43:10.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-12-06T18:43:10.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-12-06T18:43:10.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.039s coverage: 27.6% of statements [2023-12-06T18:43:10.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-12-06T18:43:10.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.047s coverage: 81.5% of statements [2023-12-06T18:43:10.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.066s coverage: 86.0% of statements [2023-12-06T18:43:11.423Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.063s coverage: 71.8% of statements [2023-12-06T18:43:11.423Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-12-06T18:43:11.423Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-12-06T18:43:11.682Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-12-06T18:43:14.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.049s coverage: 14.4% of statements [2023-12-06T18:43:14.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.187s coverage: 45.6% of statements [2023-12-06T18:43:14.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.077s coverage: 68.5% of statements [2023-12-06T18:43:14.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.104s coverage: 89.2% of statements [2023-12-06T18:43:14.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.041s coverage: 5.5% of statements [2023-12-06T18:43:33.032Z] GO111MODULE=on go vet ./... [2023-12-06T18:43:34.932Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-06T18:43:34.932Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-06T18:43:34.932Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-06T18:43:34.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-06T18:43:34.978Z] $ docker stop --time=1 d6cd7ee82af8104ed81d29e4d70e795d0c564db54dd78bbd923f5e19b5b10f5e [2023-12-06T18:43:37.802Z] $ docker rm -f --volumes d6cd7ee82af8104ed81d29e4d70e795d0c564db54dd78bbd923f5e19b5b10f5e [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-06T18:43:38.360Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-06T18:43:38.486Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-06T18:43:39.044Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-06T18:43:39.328Z] + ls -al . [2023-12-06T18:43:39.328Z] total 308 [2023-12-06T18:43:39.328Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 6 18:42 . [2023-12-06T18:43:39.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 18:41 .. [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 6 18:41 .dockerignore [2023-12-06T18:43:39.328Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 18:43 .git [2023-12-06T18:43:39.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 18:41 .github [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 137 Dec 6 18:41 .gitignore [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 6 18:41 .golangci.yml [2023-12-06T18:43:39.328Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 18:42 .semver [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 48109 Dec 6 18:41 CHANGELOG.md [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 18:41 GOVERNANCE.md [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 885 Dec 6 18:41 Jenkinsfile [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 6 18:41 LICENSE [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 1842 Dec 6 18:41 Makefile [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 6 18:41 OWNERS.md [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 4933 Dec 6 18:41 README.md [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 18:42 VERSION [2023-12-06T18:43:39.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 18:41 bin [2023-12-06T18:43:39.328Z] -rw-r--r-- 1 jenkins jenkins 122153 Dec 6 18:43 coverage.out [2023-12-06T18:43:39.328Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 6 18:41 example [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 3719 Dec 6 18:41 go.mod [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 34269 Dec 6 18:41 go.sum [2023-12-06T18:43:39.328Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 6 18:41 internal [2023-12-06T18:43:39.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 18:41 openapi [2023-12-06T18:43:39.328Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 6 18:41 pkg [2023-12-06T18:43:39.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 18:41 snap [2023-12-06T18:43:39.328Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 6 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:43:39.680Z] + 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=51116c0ef2121ef19687661a0ece2cb94c51cf4e --label arch=amd64 --label version=0.0.0 . [2023-12-06T18:43:39.680Z] Sending build context to Docker daemon 22.03MB [2023-12-06T18:43:39.680Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-12-06T18:43:39.680Z] Step 2/24 : FROM ${BASE} AS builder [2023-12-06T18:43:39.680Z] ---> 0c4811c8eb78 [2023-12-06T18:43:39.680Z] Step 3/24 : ARG MAKE=make build [2023-12-06T18:43:39.939Z] ---> Running in 2ef7b0a38bf1 [2023-12-06T18:43:39.939Z] Removing intermediate container 2ef7b0a38bf1 [2023-12-06T18:43:39.939Z] ---> 9095a545e1db [2023-12-06T18:43:39.939Z] Step 4/24 : WORKDIR /device-sdk-go [2023-12-06T18:43:39.939Z] ---> Running in a2fd8fbba5c4 [2023-12-06T18:43:40.197Z] Removing intermediate container a2fd8fbba5c4 [2023-12-06T18:43:40.197Z] ---> 1d19e5a79736 [2023-12-06T18:43:40.197Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-06T18:43:40.197Z] ---> Running in 447eddd4b4ef [2023-12-06T18:43:40.197Z] Removing intermediate container 447eddd4b4ef [2023-12-06T18:43:40.197Z] ---> 26cff838dbce [2023-12-06T18:43:40.197Z] Step 6/24 : RUN apk add --update --no-cache make git [2023-12-06T18:43:40.197Z] ---> Running in cb57ac4390c2 [2023-12-06T18:43:40.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T18:43:40.456Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T18:43:40.715Z] OK: 264 MiB in 52 packages [2023-12-06T18:43:40.976Z] Removing intermediate container cb57ac4390c2 [2023-12-06T18:43:40.976Z] ---> 8c1b8974ab84 [2023-12-06T18:43:40.976Z] Step 7/24 : COPY go.mod vendor* ./ [2023-12-06T18:43:41.240Z] ---> 9d3e0db515c7 [2023-12-06T18:43:41.240Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T18:43:41.240Z] ---> Running in a73fbff43ca1 [2023-12-06T18:43:41.807Z] Removing intermediate container a73fbff43ca1 [2023-12-06T18:43:41.807Z] ---> 48cc26731dd7 [2023-12-06T18:43:41.807Z] Step 9/24 : COPY . . [2023-12-06T18:43:42.374Z] ---> 40517460795c [2023-12-06T18:43:42.374Z] Step 10/24 : RUN ${MAKE} [2023-12-06T18:43:42.374Z] ---> Running in c7e7a115fa83 [2023-12-06T18:43:42.631Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-12-06T18:44:00.730Z] Removing intermediate container c7e7a115fa83 [2023-12-06T18:44:00.730Z] ---> 26d6c9e01153 [2023-12-06T18:44:00.730Z] Step 11/24 : FROM alpine:3.18 [2023-12-06T18:44:00.730Z] 3.18: Pulling from library/alpine [2023-12-06T18:44:00.730Z] c926b61bad3b: Pulling fs layer [2023-12-06T18:44:00.730Z] c926b61bad3b: Download complete [2023-12-06T18:44:00.730Z] c926b61bad3b: Pull complete [2023-12-06T18:44:00.730Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T18:44:00.730Z] Status: Downloaded newer image for alpine:3.18 [2023-12-06T18:44:00.730Z] ---> b541f2080109 [2023-12-06T18:44:00.730Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-12-06T18:44:00.730Z] ---> Running in 1187223fabdc [2023-12-06T18:44:00.730Z] Removing intermediate container 1187223fabdc [2023-12-06T18:44:00.730Z] ---> 292714a8533f [2023-12-06T18:44:00.730Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2023-12-06T18:44:00.730Z] ---> Running in 2d13df6f564d [2023-12-06T18:44:00.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T18:44:00.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T18:44:00.730Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-06T18:44:00.730Z] Executing busybox-1.36.1-r5.trigger [2023-12-06T18:44:00.730Z] OK: 7 MiB in 16 packages [2023-12-06T18:44:00.730Z] Removing intermediate container 2d13df6f564d [2023-12-06T18:44:00.730Z] ---> fc9583a65001 [2023-12-06T18:44:00.730Z] Step 14/24 : RUN apk --no-cache upgrade [2023-12-06T18:44:00.730Z] ---> Running in 54054cb11d87 [2023-12-06T18:44:00.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-06T18:44:00.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-06T18:44:00.992Z] OK: 7 MiB in 16 packages [2023-12-06T18:44:01.249Z] Removing intermediate container 54054cb11d87 [2023-12-06T18:44:01.249Z] ---> 82bd1534ce9e [2023-12-06T18:44:01.249Z] Step 15/24 : WORKDIR / [2023-12-06T18:44:01.249Z] ---> Running in 063beb871706 [2023-12-06T18:44:01.508Z] Removing intermediate container 063beb871706 [2023-12-06T18:44:01.508Z] ---> 950f0fecd674 [2023-12-06T18:44:01.508Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-12-06T18:44:01.508Z] ---> 00b2b6fb2bab [2023-12-06T18:44:01.508Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-12-06T18:44:02.080Z] ---> 4370670ab566 [2023-12-06T18:44:02.080Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-12-06T18:44:02.339Z] ---> 98ddd1eb5bf0 [2023-12-06T18:44:02.339Z] Step 19/24 : EXPOSE 59999 [2023-12-06T18:44:02.339Z] ---> Running in 7a1b07b97620 [2023-12-06T18:44:02.339Z] Removing intermediate container 7a1b07b97620 [2023-12-06T18:44:02.339Z] ---> 53cc831a0da9 [2023-12-06T18:44:02.339Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2023-12-06T18:44:02.339Z] ---> Running in 388d37a69c31 [2023-12-06T18:44:02.597Z] Removing intermediate container 388d37a69c31 [2023-12-06T18:44:02.597Z] ---> c5ce7be3d092 [2023-12-06T18:44:02.597Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-12-06T18:44:02.597Z] ---> Running in 66e6b9f61e33 [2023-12-06T18:44:02.597Z] Removing intermediate container 66e6b9f61e33 [2023-12-06T18:44:02.597Z] ---> 39e7c6f183fa [2023-12-06T18:44:02.597Z] Step 22/24 : LABEL arch=amd64 [2023-12-06T18:44:02.597Z] ---> Running in 56825bb0c65b [2023-12-06T18:44:02.597Z] Removing intermediate container 56825bb0c65b [2023-12-06T18:44:02.597Z] ---> 79d999d9f4ee [2023-12-06T18:44:02.597Z] Step 23/24 : LABEL git_sha=51116c0ef2121ef19687661a0ece2cb94c51cf4e [2023-12-06T18:44:02.597Z] ---> Running in 6f11b2c6ac2c [2023-12-06T18:44:02.857Z] Removing intermediate container 6f11b2c6ac2c [2023-12-06T18:44:02.857Z] ---> c7f4606b76e9 [2023-12-06T18:44:02.857Z] Step 24/24 : LABEL version=0.0.0 [2023-12-06T18:44:02.857Z] ---> Running in 6bf600da4cb5 [2023-12-06T18:44:02.857Z] Removing intermediate container 6bf600da4cb5 [2023-12-06T18:44:02.857Z] ---> 9107f45145dc [2023-12-06T18:44:02.857Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-06T18:44:02.857Z] Successfully built 9107f45145dc [2023-12-06T18:44:02.857Z] 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-12-06T18:44:03.573Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T18:44:03.573Z] [2023-12-06T18:44:03.573Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:44:03.912Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T18:44:03.912Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-06T18:44:03.912Z] 5eb5b503b376: Pulling fs layer [2023-12-06T18:44:03.912Z] 5c69ac0246d0: Pulling fs layer [2023-12-06T18:44:03.912Z] ec43610c2a17: Pulling fs layer [2023-12-06T18:44:03.912Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-06T18:44:03.912Z] 33b1e0a273af: Pulling fs layer [2023-12-06T18:44:03.912Z] 5d3b04190fa2: Pulling fs layer [2023-12-06T18:44:03.912Z] 2f39f015ded8: Pulling fs layer [2023-12-06T18:44:03.913Z] 33b1e0a273af: Waiting [2023-12-06T18:44:03.913Z] 5d3b04190fa2: Waiting [2023-12-06T18:44:03.913Z] 2f39f015ded8: Waiting [2023-12-06T18:44:03.913Z] 3a2ae6a8a46f: Waiting [2023-12-06T18:44:03.913Z] 5c69ac0246d0: Verifying Checksum [2023-12-06T18:44:03.913Z] 5c69ac0246d0: Download complete [2023-12-06T18:44:03.913Z] 3a2ae6a8a46f: Download complete [2023-12-06T18:44:03.913Z] 33b1e0a273af: Verifying Checksum [2023-12-06T18:44:03.913Z] 33b1e0a273af: Download complete [2023-12-06T18:44:03.913Z] ec43610c2a17: Download complete [2023-12-06T18:44:03.913Z] 5d3b04190fa2: Download complete [2023-12-06T18:44:04.171Z] 5eb5b503b376: Verifying Checksum [2023-12-06T18:44:04.171Z] 5eb5b503b376: Download complete [2023-12-06T18:44:04.738Z] 2f39f015ded8: Download complete [2023-12-06T18:44:05.303Z] 5eb5b503b376: Pull complete [2023-12-06T18:44:05.303Z] 5c69ac0246d0: Pull complete [2023-12-06T18:44:05.870Z] ec43610c2a17: Pull complete [2023-12-06T18:44:05.870Z] 3a2ae6a8a46f: Pull complete [2023-12-06T18:44:05.870Z] 33b1e0a273af: Pull complete [2023-12-06T18:44:06.128Z] 5d3b04190fa2: Pull complete [2023-12-06T18:44:10.314Z] 2f39f015ded8: Pull complete [2023-12-06T18:44:10.314Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-06T18:44:10.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T18:44:10.314Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T18:44:10.499Z] prd-ubuntu20.04-docker-8c-8g-24574 does not seem to be running inside a container [2023-12-06T18:44:10.536Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-06T18:44:13.470Z] $ docker top eb01286d2f5188e45e991ec8d38323f0fcb9cebc4710cc489a0761138b4ab3ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:44:13.897Z] ---> job-cost.sh [2023-12-06T18:44:13.897Z] lf-activate-venv: SKIPPING [2023-12-06T18:44:13.897Z] INFO: No Stack... [2023-12-06T18:44:14.464Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-06T18:44:14.724Z] INFO: Archiving Costs [Pipeline] sh [2023-12-06T18:44:15.014Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv [2023-12-06T18:44:15.015Z] + cut -d, -f6 [Pipeline] lock [2023-12-06T18:44:15.029Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-5-stack-cost] [2023-12-06T18:44:15.034Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-5-stack-cost] did not exist. Created. [2023-12-06T18:44:15.035Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-06T18:44:15.393Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-06T18:44:15.454Z] Stashed 1 file(s) [Pipeline] } [2023-12-06T18:44:15.460Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-06T18:44:15.530Z] $ docker stop --time=1 eb01286d2f5188e45e991ec8d38323f0fcb9cebc4710cc489a0761138b4ab3ec [2023-12-06T18:44:16.675Z] $ docker rm -f --volumes eb01286d2f5188e45e991ec8d38323f0fcb9cebc4710cc489a0761138b4ab3ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-12-06T18:45:14.560Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24577 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws [2023-12-06T18:45:14.603Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2023-12-06T18:45:17.691Z] The recommended git tool is: git [2023-12-06T18:45:23.170Z] using credential edgex-jenkins-ssh [2023-12-06T18:45:23.197Z] Cloning the remote Git repository [2023-12-06T18:45:23.254Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-12-06T18:45:23.362Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2023-12-06T18:45:23.555Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-12-06T18:45:23.557Z] > git --version # timeout=10 [2023-12-06T18:45:23.583Z] > git --version # 'git version 2.25.1' [2023-12-06T18:45:23.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-06T18:45:23.766Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-06T18:45:26.161Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-12-06T18:45:26.182Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-06T18:45:27.785Z] Merging remotes/origin/main commit 9538fefa27763f734e76c76e23c9c4865d039fa2 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 [2023-12-06T18:45:27.029Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-12-06T18:45:27.068Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-12-06T18:45:27.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-06T18:45:27.085Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-12-06T18:45:27.806Z] > git config core.sparsecheckout # timeout=10 [2023-12-06T18:45:28.126Z] Merge succeeded, producing 8864da9c68b17d0de2eb03c145a50fcb91212c30 [2023-12-06T18:45:28.126Z] Checking out Revision 8864da9c68b17d0de2eb03c145a50fcb91212c30 (PR-1540) [2023-12-06T18:45:27.867Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2023-12-06T18:45:27.970Z] > git remote # timeout=10 [2023-12-06T18:45:27.992Z] > git config --get remote.origin.url # timeout=10 [2023-12-06T18:45:28.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-06T18:45:28.027Z] > git merge 9538fefa27763f734e76c76e23c9c4865d039fa2 # timeout=10 [2023-12-06T18:45:28.109Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-06T18:45:28.134Z] > git config core.sparsecheckout # timeout=10 [2023-12-06T18:45:28.149Z] > git checkout -f 8864da9c68b17d0de2eb03c145a50fcb91212c30 # timeout=10 [2023-12-06T18:45:31.768Z] Commit message: "Merge commit '9538fefa27763f734e76c76e23c9c4865d039fa2' into HEAD" [2023-12-06T18:45:31.796Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-06T18:45:31.779Z] > git rev-list --no-walk 75fec91ffc9333535ffc20e2754e85db6f29132d # timeout=10 [2023-12-06T18:45:33.124Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-06T18:45:33.124Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-06T18:45:33.124Z] Dload Upload Total Spent Left Speed [2023-12-06T18:45:33.124Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 193k 0 --:--:-- --:--:-- --:--:-- 193k [Pipeline] sh [2023-12-06T18:45:33.635Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-06T18:45:33.972Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2023-12-06T18:45:33.973Z] [2023-12-06T18:45:33.973Z] { [2023-12-06T18:45:33.973Z] "registry-mirrors": [ [2023-12-06T18:45:33.973Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-06T18:45:33.973Z] ], [2023-12-06T18:45:33.973Z] "bip": "10.250.0.254/24", [2023-12-06T18:45:33.973Z] "hosts": [ [2023-12-06T18:45:33.973Z] "tcp://0.0.0.0:5555", [2023-12-06T18:45:33.973Z] "unix:///var/run/docker.sock" [2023-12-06T18:45:33.973Z] ], [2023-12-06T18:45:33.973Z] "mtu": 1458, [2023-12-06T18:45:33.973Z] "selinux-enabled": true, [2023-12-06T18:45:33.973Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-06T18:45:33.973Z] } [Pipeline] sh [2023-12-06T18:45:34.305Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-06T18:45:34.637Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T18:45:52.946Z] provisioning config files... [2023-12-06T18:45:52.976Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config12841546252044276124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:45:53.451Z] ---> ****-login.sh [2023-12-06T18:45:53.451Z] nexus3.edgexfoundry.org:10001 [2023-12-06T18:45:53.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:45:53.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:45:53.994Z] Configure a credential helper to remove this warning. See [2023-12-06T18:45:53.994Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:45:53.994Z] [2023-12-06T18:45:53.994Z] Login Succeeded [2023-12-06T18:45:53.994Z] nexus3.edgexfoundry.org:10002 [2023-12-06T18:45:54.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:45:54.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:45:54.267Z] Configure a credential helper to remove this warning. See [2023-12-06T18:45:54.267Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:45:54.267Z] [2023-12-06T18:45:54.267Z] Login Succeeded [2023-12-06T18:45:54.267Z] nexus3.edgexfoundry.org:10003 [2023-12-06T18:45:54.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:45:54.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:45:54.538Z] Configure a credential helper to remove this warning. See [2023-12-06T18:45:54.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:45:54.538Z] [2023-12-06T18:45:54.538Z] Login Succeeded [2023-12-06T18:45:54.538Z] nexus3.edgexfoundry.org:10004 [2023-12-06T18:45:54.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:45:54.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:45:54.808Z] Configure a credential helper to remove this warning. See [2023-12-06T18:45:54.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:45:54.808Z] [2023-12-06T18:45:54.808Z] Login Succeeded [2023-12-06T18:45:54.808Z] ****.io [2023-12-06T18:45:55.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-06T18:45:55.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-06T18:45:55.349Z] Configure a credential helper to remove this warning. See [2023-12-06T18:45:55.349Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-06T18:45:55.349Z] [2023-12-06T18:45:55.349Z] Login Succeeded [2023-12-06T18:45:55.349Z] ---> ****-login.sh ends [Pipeline] } [2023-12-06T18:45:55.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-06T18:45:55.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T18:45:55.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-06T18:45:55.869Z] ========================================================= [2023-12-06T18:45:55.869Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-06T18:45:55.869Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:45:56.338Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-12-06T18:45:57.749Z] #0 building with "default" instance using docker driver [2023-12-06T18:45:57.749Z] [2023-12-06T18:45:57.749Z] #1 [internal] load build definition from Dockerfile [2023-12-06T18:45:57.749Z] #1 transferring dockerfile: 1.66kB 0.0s done [2023-12-06T18:45:57.749Z] #1 DONE 0.1s [2023-12-06T18:45:57.749Z] [2023-12-06T18:45:57.749Z] #2 [internal] load .dockerignore [2023-12-06T18:45:57.749Z] #2 transferring context: 182B 0.0s done [2023-12-06T18:45:57.749Z] #2 DONE 0.1s [2023-12-06T18:45:57.749Z] [2023-12-06T18:45:57.749Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-06T18:45:57.749Z] #3 DONE 0.1s [2023-12-06T18:45:57.749Z] [2023-12-06T18:45:57.749Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-06T18:45:57.749Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-06T18:45:58.021Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.19MB / 63.99MB 0.2s [2023-12-06T18:45:58.021Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done [2023-12-06T18:45:58.021Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-06T18:45:58.021Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-06T18:45:58.021Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-06T18:45:58.021Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 688.13kB / 3.33MB 0.2s [2023-12-06T18:45:58.021Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-06T18:45:58.021Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.00MB / 63.99MB 0.3s [2023-12-06T18:45:58.021Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.3s [2023-12-06T18:45:58.021Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s [2023-12-06T18:45:58.021Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.4s [2023-12-06T18:45:58.021Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.3s done [2023-12-06T18:45:58.021Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-06T18:45:58.021Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 843.78kB / 11.40MB 0.4s [2023-12-06T18:45:58.297Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s [2023-12-06T18:45:58.297Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.5s [2023-12-06T18:45:58.297Z] #4 ... [2023-12-06T18:45:58.297Z] [2023-12-06T18:45:58.297Z] #5 [internal] load build context [2023-12-06T18:45:58.297Z] #5 transferring context: 11.14MB 0.6s done [2023-12-06T18:45:58.297Z] #5 DONE 0.6s [2023-12-06T18:45:58.297Z] [2023-12-06T18:45:58.297Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-06T18:45:58.297Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.97MB / 63.99MB 0.6s [2023-12-06T18:45:58.297Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.00MB / 97.63MB 0.6s [2023-12-06T18:45:58.297Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.6s [2023-12-06T18:45:58.568Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 0.7s [2023-12-06T18:45:58.568Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 0.7s [2023-12-06T18:45:58.568Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 35.65MB / 63.99MB 0.9s [2023-12-06T18:45:58.568Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 21.52MB / 97.63MB 0.9s [2023-12-06T18:45:58.568Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done [2023-12-06T18:45:58.569Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done [2023-12-06T18:45:58.838Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.89MB / 63.99MB 1.0s [2023-12-06T18:45:58.838Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 26.79MB / 97.63MB 1.0s [2023-12-06T18:45:58.838Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 46.14MB / 63.99MB 1.1s [2023-12-06T18:45:58.838Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2023-12-06T18:45:59.107Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 50.33MB / 63.99MB 1.2s [2023-12-06T18:45:59.107Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.70MB / 97.63MB 1.2s [2023-12-06T18:45:59.107Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-06T18:45:59.107Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 1.4s [2023-12-06T18:45:59.107Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 46.49MB / 97.63MB 1.4s [2023-12-06T18:45:59.107Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.30MB / 63.99MB 1.5s [2023-12-06T18:45:59.107Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 51.38MB / 97.63MB 1.5s [2023-12-06T18:45:59.374Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 56.62MB / 97.63MB 1.6s [2023-12-06T18:45:59.644Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done [2023-12-06T18:45:59.644Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.09MB / 97.63MB 1.8s [2023-12-06T18:45:59.644Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2023-12-06T18:45:59.644Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 71.00MB / 97.63MB 1.9s [2023-12-06T18:45:59.911Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.59MB / 97.63MB 2.2s [2023-12-06T18:46:00.178Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 82.84MB / 97.63MB 2.3s [2023-12-06T18:46:00.451Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 96.47MB / 97.63MB 2.6s [2023-12-06T18:46:00.451Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.8s done [2023-12-06T18:46:05.802Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.0s [2023-12-06T18:46:11.150Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.2s [2023-12-06T18:46:17.814Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.9s done [2023-12-06T18:46:18.777Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-06T18:46:18.777Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-06T18:46:19.046Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-06T18:46:24.401Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s [2023-12-06T18:46:27.763Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.8s done [2023-12-06T18:46:28.031Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb [2023-12-06T18:46:29.985Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.9s done [2023-12-06T18:46:30.256Z] #4 DONE 32.4s [2023-12-06T18:46:30.256Z] [2023-12-06T18:46:30.256Z] #6 [builder 2/7] WORKDIR /device-sdk-go [2023-12-06T18:46:32.211Z] #6 DONE 1.9s [2023-12-06T18:46:32.211Z] [2023-12-06T18:46:32.211Z] #7 [builder 3/7] RUN apk add --update --no-cache make git [2023-12-06T18:46:32.794Z] #7 0.748 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T18:46:33.061Z] #7 1.167 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T18:46:34.473Z] #7 2.265 OK: 266 MiB in 52 packages [2023-12-06T18:46:34.739Z] #7 DONE 2.5s [2023-12-06T18:46:34.739Z] [2023-12-06T18:46:34.739Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-06T18:46:34.739Z] #8 DONE 0.2s [2023-12-06T18:46:34.739Z] [2023-12-06T18:46:34.739Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T18:47:01.429Z] #9 DONE 23.7s [2023-12-06T18:47:01.429Z] [2023-12-06T18:47:01.429Z] #10 [builder 6/7] COPY . . [2023-12-06T18:47:01.429Z] #10 DONE 0.4s [2023-12-06T18:47:01.429Z] [2023-12-06T18:47:01.429Z] #11 [builder 7/7] RUN echo noop [2023-12-06T18:47:01.429Z] #11 0.618 noop [2023-12-06T18:47:01.429Z] #11 DONE 0.7s [2023-12-06T18:47:01.429Z] [2023-12-06T18:47:01.429Z] #12 exporting to image [2023-12-06T18:47:01.429Z] #12 exporting layers [2023-12-06T18:47:23.495Z] #12 exporting layers 20.3s done [2023-12-06T18:47:23.495Z] #12 writing image sha256:9e664932002ef5ba1e203b21735cb30d6d643ee8cb4c31d21e7bfae6242684b9 done [2023-12-06T18:47:23.495Z] #12 naming to docker.io/library/ci-base-image-arm64 0.0s done [2023-12-06T18:47:23.495Z] #12 DONE 20.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:47:23.938Z] + docker inspect -f . ci-base-image-arm64 [2023-12-06T18:47:23.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T18:47:24.180Z] prd-ubuntu20.04-docker-arm64-4c-16g-24577 does not seem to be running inside a container [2023-12-06T18:47:24.249Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-06T18:47:25.488Z] $ docker top d10810d16339765fc23cb436216b0303ba6b9ecad1eae486df4feff25e5c1584 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T18:47:26.351Z] + go version [2023-12-06T18:47:26.352Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-06T18:47:26.370Z] $ docker stop --time=1 d10810d16339765fc23cb436216b0303ba6b9ecad1eae486df4feff25e5c1584 [2023-12-06T18:47:27.937Z] $ docker rm -f --volumes d10810d16339765fc23cb436216b0303ba6b9ecad1eae486df4feff25e5c1584 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:47:28.747Z] + docker inspect -f . ci-base-image-arm64 [2023-12-06T18:47:28.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T18:47:28.988Z] prd-ubuntu20.04-docker-arm64-4c-16g-24577 does not seem to be running inside a container [2023-12-06T18:47:29.067Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-06T18:47:30.077Z] $ docker top 8f259a90a6b80d105ab8b07a2931ba6491244e5e873ae45869893b27f52dee97 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T18:47:30.633Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2023-12-06T18:47:31.008Z] + make test [2023-12-06T18:47:31.008Z] go test -race -coverprofile=coverage.out ./... [2023-12-06T18:48:09.870Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-12-06T18:49:33.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-12-06T18:49:33.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-12-06T18:49:33.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-12-06T18:49:33.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-12-06T18:49:33.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-12-06T18:49:33.296Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.245s coverage: 27.6% of statements [2023-12-06T18:49:33.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-12-06T18:49:33.296Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-12-06T18:49:33.296Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.316s coverage: 81.5% of statements [2023-12-06T18:49:33.296Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.392s coverage: 86.0% of statements [2023-12-06T18:49:33.565Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-12-06T18:49:34.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-12-06T18:49:34.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-12-06T18:49:35.111Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.492s coverage: 71.8% of statements [2023-12-06T18:49:38.451Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.305s coverage: 14.4% of statements [2023-12-06T18:49:38.451Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.047s coverage: 45.9% of statements [2023-12-06T18:49:38.451Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.397s coverage: 68.5% of statements [2023-12-06T18:49:38.451Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.456s coverage: 89.2% of statements [2023-12-06T18:49:38.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-12-06T18:49:40.138Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.226s coverage: 5.5% of statements [2023-12-06T18:49:40.721Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-06T18:49:40.721Z] GO111MODULE=on go vet ./... [2023-12-06T18:51:02.438Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-06T18:51:02.706Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-06T18:51:02.706Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-06T18:51:03.312Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-06T18:51:03.364Z] $ docker stop --time=1 8f259a90a6b80d105ab8b07a2931ba6491244e5e873ae45869893b27f52dee97 [2023-12-06T18:51:05.370Z] $ docker rm -f --volumes 8f259a90a6b80d105ab8b07a2931ba6491244e5e873ae45869893b27f52dee97 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-06T18:51:07.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-06T18:51:07.134Z] Warning: overwriting stash ‘coverage-report’ [2023-12-06T18:51:07.684Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-06T18:51:08.251Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-06T18:51:08.575Z] + ls -al . [2023-12-06T18:51:08.575Z] total 304 [2023-12-06T18:51:08.575Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 6 18:47 . [2023-12-06T18:51:08.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 18:45 .. [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 6 18:45 .dockerignore [2023-12-06T18:51:08.575Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 6 18:45 .git [2023-12-06T18:51:08.575Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 18:45 .github [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 137 Dec 6 18:45 .gitignore [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 6 18:45 .golangci.yml [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 48109 Dec 6 18:45 CHANGELOG.md [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 6 18:45 GOVERNANCE.md [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 885 Dec 6 18:45 Jenkinsfile [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 6 18:45 LICENSE [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 1842 Dec 6 18:45 Makefile [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 6 18:45 OWNERS.md [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 4933 Dec 6 18:45 README.md [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 6 18:42 VERSION [2023-12-06T18:51:08.575Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 6 18:45 bin [2023-12-06T18:51:08.575Z] -rw-r--r-- 1 jenkins jenkins 122156 Dec 6 18:49 coverage.out [2023-12-06T18:51:08.575Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 6 18:45 example [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 3719 Dec 6 18:45 go.mod [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 34269 Dec 6 18:45 go.sum [2023-12-06T18:51:08.575Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 6 18:45 internal [2023-12-06T18:51:08.575Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 6 18:45 openapi [2023-12-06T18:51:08.575Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 6 18:45 pkg [2023-12-06T18:51:08.575Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 6 18:45 snap [2023-12-06T18:51:08.575Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 6 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:51:08.985Z] + 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=8864da9c68b17d0de2eb03c145a50fcb91212c30 --label arch=arm64 --label version=0.0.0 . [2023-12-06T18:51:09.960Z] #0 building with "default" instance using docker driver [2023-12-06T18:51:09.960Z] [2023-12-06T18:51:09.960Z] #1 [internal] load build definition from Dockerfile [2023-12-06T18:51:09.960Z] #1 transferring dockerfile: 1.66kB done [2023-12-06T18:51:09.960Z] #1 DONE 0.0s [2023-12-06T18:51:09.960Z] [2023-12-06T18:51:09.960Z] #2 [internal] load .dockerignore [2023-12-06T18:51:09.960Z] #2 transferring context: 182B done [2023-12-06T18:51:09.960Z] #2 DONE 0.0s [2023-12-06T18:51:09.960Z] [2023-12-06T18:51:09.960Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-06T18:51:09.960Z] #3 DONE 0.0s [2023-12-06T18:51:09.960Z] [2023-12-06T18:51:09.960Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-06T18:51:09.960Z] #4 DONE 0.2s [2023-12-06T18:51:09.960Z] [2023-12-06T18:51:09.960Z] #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T18:51:09.960Z] #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-06T18:51:10.230Z] #5 ... [2023-12-06T18:51:10.230Z] [2023-12-06T18:51:10.230Z] #6 [internal] load build context [2023-12-06T18:51:10.230Z] #6 transferring context: 137.15kB 0.1s done [2023-12-06T18:51:10.230Z] #6 DONE 0.1s [2023-12-06T18:51:10.230Z] [2023-12-06T18:51:10.230Z] #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T18:51:10.230Z] #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-06T18:51:10.230Z] #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-06T18:51:10.230Z] #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-06T18:51:10.230Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s [2023-12-06T18:51:10.230Z] #5 ... [2023-12-06T18:51:10.230Z] [2023-12-06T18:51:10.230Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-06T18:51:10.230Z] #7 DONE 0.3s [2023-12-06T18:51:10.230Z] [2023-12-06T18:51:10.230Z] #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T18:51:10.230Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.15MB / 3.33MB 0.2s [2023-12-06T18:51:10.230Z] #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-06T18:51:10.504Z] #5 ... [2023-12-06T18:51:10.504Z] [2023-12-06T18:51:10.504Z] #8 [builder 2/7] WORKDIR /device-sdk-go [2023-12-06T18:51:10.504Z] #8 DONE 0.1s [2023-12-06T18:51:10.504Z] [2023-12-06T18:51:10.504Z] #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T18:51:10.504Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done [2023-12-06T18:51:10.772Z] #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done [2023-12-06T18:51:16.124Z] #5 ... [2023-12-06T18:51:16.124Z] [2023-12-06T18:51:16.124Z] #9 [builder 3/7] RUN apk add --update --no-cache make git [2023-12-06T18:51:16.124Z] #9 0.769 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T18:51:16.124Z] #9 1.205 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T18:51:16.124Z] #9 2.374 OK: 266 MiB in 52 packages [2023-12-06T18:51:16.124Z] #9 DONE 5.3s [2023-12-06T18:51:16.124Z] [2023-12-06T18:51:16.124Z] #10 [builder 4/7] COPY go.mod vendor* ./ [2023-12-06T18:51:16.124Z] #10 ... [2023-12-06T18:51:16.124Z] [2023-12-06T18:51:16.124Z] #5 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-06T18:51:16.124Z] #5 DONE 5.8s [2023-12-06T18:51:16.124Z] [2023-12-06T18:51:16.124Z] #10 [builder 4/7] COPY go.mod vendor* ./ [2023-12-06T18:51:16.124Z] #10 DONE 0.2s [2023-12-06T18:51:16.124Z] [2023-12-06T18:51:16.124Z] #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-06T18:51:17.093Z] #11 DONE 1.3s [2023-12-06T18:51:17.093Z] [2023-12-06T18:51:17.093Z] #12 [stage-1 2/7] RUN apk add --update --no-cache dumb-init [2023-12-06T18:51:17.093Z] #12 0.788 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T18:51:17.093Z] #12 1.160 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T18:51:17.679Z] #12 ... [2023-12-06T18:51:17.679Z] [2023-12-06T18:51:17.679Z] #13 [builder 6/7] COPY . . [2023-12-06T18:51:17.679Z] #13 DONE 0.5s [2023-12-06T18:51:18.074Z] [2023-12-06T18:51:18.074Z] #14 [builder 7/7] RUN make build [2023-12-06T18:51:18.665Z] #14 ... [2023-12-06T18:51:18.665Z] [2023-12-06T18:51:18.665Z] #12 [stage-1 2/7] RUN apk add --update --no-cache dumb-init [2023-12-06T18:51:18.665Z] #12 2.356 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-06T18:51:18.665Z] #12 2.366 Executing busybox-1.36.1-r5.trigger [2023-12-06T18:51:18.665Z] #12 2.395 OK: 8 MiB in 16 packages [2023-12-06T18:51:18.665Z] #12 DONE 2.7s [2023-12-06T18:51:18.665Z] [2023-12-06T18:51:18.665Z] #14 [builder 7/7] RUN make build [2023-12-06T18:51:18.665Z] #14 0.739 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-12-06T18:51:21.253Z] #14 ... [2023-12-06T18:51:21.253Z] [2023-12-06T18:51:21.253Z] #15 [stage-1 3/7] RUN apk --no-cache upgrade [2023-12-06T18:51:21.253Z] #15 0.961 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-06T18:51:21.253Z] #15 1.340 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-06T18:51:21.253Z] #15 2.484 OK: 8 MiB in 16 packages [2023-12-06T18:51:21.253Z] #15 DONE 2.8s [2023-12-06T18:51:21.520Z] [2023-12-06T18:51:21.520Z] #14 [builder 7/7] RUN make build [2023-12-06T18:52:29.469Z] #14 DONE 70.5s [2023-12-06T18:52:29.469Z] [2023-12-06T18:52:29.469Z] #16 [stage-1 4/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-12-06T18:52:29.469Z] #16 DONE 0.1s [2023-12-06T18:52:29.469Z] [2023-12-06T18:52:29.469Z] #17 [stage-1 5/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-12-06T18:52:29.469Z] #17 DONE 0.3s [2023-12-06T18:52:29.469Z] [2023-12-06T18:52:29.469Z] #18 [stage-1 6/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-12-06T18:52:29.469Z] #18 DONE 0.1s [2023-12-06T18:52:29.469Z] [2023-12-06T18:52:29.469Z] #19 exporting to image [2023-12-06T18:52:29.469Z] #19 exporting layers [2023-12-06T18:52:29.470Z] #19 exporting layers 0.3s done [2023-12-06T18:52:29.470Z] #19 writing image sha256:ffc1cddca034bee36f854fa7bba525f602f230f122d82f5d410eb27b7e348ef3 done [2023-12-06T18:52:29.470Z] #19 naming to docker.io/library/device-sdk-simple-arm64 done [2023-12-06T18:52:29.470Z] #19 DONE 0.3s [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-12-06T18:52:30.273Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-06T18:52:30.273Z] [2023-12-06T18:52:30.273Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:52:30.630Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-06T18:52:30.630Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-06T18:52:30.630Z] 8998bd30e6a1: Pulling fs layer [2023-12-06T18:52:30.630Z] 04944245beec: Pulling fs layer [2023-12-06T18:52:30.630Z] 699f458cf7ca: Pulling fs layer [2023-12-06T18:52:30.630Z] 765212b225bb: Pulling fs layer [2023-12-06T18:52:30.630Z] f23df028b6ca: Pulling fs layer [2023-12-06T18:52:30.630Z] d65c8cfc05b1: Pulling fs layer [2023-12-06T18:52:30.630Z] 2437ff75d9bd: Pulling fs layer [2023-12-06T18:52:30.630Z] d65c8cfc05b1: Waiting [2023-12-06T18:52:30.630Z] f23df028b6ca: Waiting [2023-12-06T18:52:30.630Z] 2437ff75d9bd: Waiting [2023-12-06T18:52:30.630Z] 765212b225bb: Waiting [2023-12-06T18:52:30.900Z] 04944245beec: Verifying Checksum [2023-12-06T18:52:30.900Z] 04944245beec: Download complete [2023-12-06T18:52:30.900Z] 765212b225bb: Download complete [2023-12-06T18:52:30.900Z] f23df028b6ca: Verifying Checksum [2023-12-06T18:52:30.900Z] f23df028b6ca: Download complete [2023-12-06T18:52:30.900Z] d65c8cfc05b1: Verifying Checksum [2023-12-06T18:52:30.900Z] d65c8cfc05b1: Download complete [2023-12-06T18:52:30.900Z] 699f458cf7ca: Verifying Checksum [2023-12-06T18:52:30.900Z] 699f458cf7ca: Download complete [2023-12-06T18:52:31.484Z] 8998bd30e6a1: Verifying Checksum [2023-12-06T18:52:31.484Z] 8998bd30e6a1: Download complete [2023-12-06T18:52:33.452Z] 2437ff75d9bd: Verifying Checksum [2023-12-06T18:52:33.452Z] 2437ff75d9bd: Download complete [2023-12-06T18:52:37.701Z] 8998bd30e6a1: Pull complete [2023-12-06T18:52:37.701Z] 04944245beec: Pull complete [2023-12-06T18:52:39.104Z] 699f458cf7ca: Pull complete [2023-12-06T18:52:42.439Z] 765212b225bb: Pull complete [2023-12-06T18:52:43.020Z] f23df028b6ca: Pull complete [2023-12-06T18:52:43.020Z] d65c8cfc05b1: Pull complete [2023-12-06T18:53:09.683Z] 2437ff75d9bd: Pull complete [2023-12-06T18:53:09.683Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-06T18:53:09.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-06T18:53:09.683Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T18:53:09.993Z] prd-ubuntu20.04-docker-arm64-4c-16g-24577 does not seem to be running inside a container [2023-12-06T18:53:10.049Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-12-06T18:53:12.015Z] $ docker top 77347a995b581ecb810b5c2d5950bde507db3ad61e0508317a70ad17c913b692 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:53:12.560Z] ---> job-cost.sh [2023-12-06T18:53:12.826Z] lf-activate-venv: SKIPPING [2023-12-06T18:53:12.826Z] INFO: No Stack... [2023-12-06T18:53:13.406Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-06T18:53:14.360Z] INFO: Archiving Costs [Pipeline] sh [2023-12-06T18:53:14.678Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2023-12-06T18:53:14.678Z] + cut -d, -f6 [Pipeline] lock [2023-12-06T18:53:14.734Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-5-stack-cost] [2023-12-06T18:53:14.743Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-5-stack-cost] did not exist. Created. [2023-12-06T18:53:14.743Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-06T18:53:15.157Z] /w/workspace/device-sdk-go/5@tmp/durable-6cfeea51/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-06T18:53:15.477Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-06T18:53:15.538Z] Warning: overwriting stash ‘stack-cost’ [2023-12-06T18:53:15.612Z] Stashed 1 file(s) [Pipeline] } [2023-12-06T18:53:15.619Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-06T18:53:15.708Z] $ docker stop --time=1 77347a995b581ecb810b5c2d5950bde507db3ad61e0508317a70ad17c913b692 [2023-12-06T18:53:17.108Z] $ docker rm -f --volumes 77347a995b581ecb810b5c2d5950bde507db3ad61e0508317a70ad17c913b692 [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-12-06T18:53:18.226Z] provisioning config files... [2023-12-06T18:53:18.232Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config11602264715567023983tmp [Pipeline] { [Pipeline] sh [2023-12-06T18:53:18.606Z] + set +x [2023-12-06T18:53:18.606Z] + curl -s https://codecov.io/bash [2023-12-06T18:53:18.606Z] + bash -s -- [2023-12-06T18:53:18.606Z] [2023-12-06T18:53:18.606Z] _____ _ [2023-12-06T18:53:18.606Z] / ____| | | [2023-12-06T18:53:18.606Z] | | ___ __| | ___ ___ _____ __ [2023-12-06T18:53:18.606Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-06T18:53:18.606Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-06T18:53:18.606Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-06T18:53:18.606Z] Bash-1.0.6 [2023-12-06T18:53:18.606Z] [2023-12-06T18:53:18.606Z] [2023-12-06T18:53:18.606Z] ==> git version 2.25.1 found [2023-12-06T18:53:18.606Z] ==> 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-12-06T18:53:18.606Z] Release-Date: 2020-01-08 [2023-12-06T18:53:18.606Z] 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-12-06T18:53:18.606Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-06T18:53:18.606Z] ==> Jenkins CI detected. [2023-12-06T18:53:18.606Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-12-06T18:53:18.606Z] project root: . [2023-12-06T18:53:18.606Z] --> token set from env [2023-12-06T18:53:18.606Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-06T18:53:18.606Z] ==> Running gcov in . (disable via -X gcov) [2023-12-06T18:53:18.606Z] ==> Python coveragepy not found [2023-12-06T18:53:18.606Z] ==> Searching for coverage reports in: [2023-12-06T18:53:18.606Z] + . [2023-12-06T18:53:18.606Z] -> Found 1 reports [2023-12-06T18:53:18.606Z] ==> Detecting git/mercurial file structure [2023-12-06T18:53:18.606Z] ==> Reading reports [2023-12-06T18:53:18.606Z] + ./coverage.out bytes=122156 [2023-12-06T18:53:18.606Z] ==> Appending adjustments [2023-12-06T18:53:18.606Z] https://docs.codecov.io/docs/fixing-reports [2023-12-06T18:53:19.174Z] + Found adjustments [2023-12-06T18:53:19.174Z] ==> Gzipping contents [2023-12-06T18:53:19.174Z] 20K /tmp/codecov.oAuCia.gz [2023-12-06T18:53:19.174Z] ==> Uploading reports [2023-12-06T18:53:19.174Z] url: https://codecov.io [2023-12-06T18:53:19.174Z] query: branch=PR-1540&commit=51116c0ef2121ef19687661a0ece2cb94c51cf4e&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-12-06T18:53:19.174Z] -> Pinging Codecov [2023-12-06T18:53:19.174Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=51116c0ef2121ef19687661a0ece2cb94c51cf4e&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-12-06T18:53:19.174Z] -> Uploading to [2023-12-06T18:53:19.174Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-06/7E55EF52A471D76F132DFD9A03CDDE97/51116c0ef2121ef19687661a0ece2cb94c51cf4e/15636501-d2c1-415e-ba1b-c9773f15c3be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231206T185319Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f40c1cab91ff1db1df8fd27ac77733679c01d9b4e1df50e8f9a7664c1e90931 [2023-12-06T18:53:19.174Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-06T18:53:19.174Z] Dload Upload Total Spent Left Speed [2023-12-06T18:53:19.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16759 0 0 100 16759 0 66503 --:--:-- --:--:-- --:--:-- 66503 [2023-12-06T18:53:19.432Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/51116c0ef2121ef19687661a0ece2cb94c51cf4e [Pipeline] } [2023-12-06T18:53:19.439Z] 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-12-06T18:53:21.378Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] [2023-12-06T18:53:21.379Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-12-06T18:53:21.379Z] total 16 [2023-12-06T18:53:21.379Z] drwxr-xr-x 3 root root 4096 Dec 6 18:44 . [2023-12-06T18:53:21.379Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 6 18:44 .. [2023-12-06T18:53:21.379Z] drwxr-xr-x 2 root root 4096 Dec 6 18:44 cost [2023-12-06T18:53:21.379Z] -rw-r--r-- 1 root root 86 Dec 6 18:44 cost.csv [2023-12-06T18:53:21.379Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-12-06T18:53:21.379Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-12-06T18:53:21.379Z] total 16 [2023-12-06T18:53:21.379Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 6 18:44 . [2023-12-06T18:53:21.379Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 6 18:44 .. [2023-12-06T18:53:21.379Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 6 18:44 cost [2023-12-06T18:53:21.379Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 6 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:53:21.671Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:53:22.532Z] ---> package-listing.sh [2023-12-06T18:53:22.532Z] ++ facter osfamily [2023-12-06T18:53:22.532Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-06T18:53:22.791Z] + OS_FAMILY=debian [2023-12-06T18:53:22.791Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-12-06T18:53:22.791Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-06T18:53:22.791Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-06T18:53:22.791Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-06T18:53:22.791Z] + PACKAGES=/tmp/packages_start.txt [2023-12-06T18:53:22.791Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-12-06T18:53:22.791Z] + PACKAGES=/tmp/packages_end.txt [2023-12-06T18:53:22.791Z] + case "${OS_FAMILY}" in [2023-12-06T18:53:22.791Z] + dpkg -l [2023-12-06T18:53:22.791Z] + grep '^ii' [2023-12-06T18:53:22.791Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-06T18:53:22.791Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-06T18:53:22.791Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-06T18:53:22.791Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-12-06T18:53:22.791Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [2023-12-06T18:53:22.791Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo [2023-12-06T18:53:22.801Z] 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-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-12-06T18:53:23.115Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-06T18:53:23.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-06T18:53:23.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-06T18:53:23.662Z] prd-ubuntu20.04-docker-8c-8g-24574 does not seem to be running inside a container [2023-12-06T18:53:23.695Z] $ 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-1540/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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-06T18:53:23.924Z] $ docker top 33c74421ae932e0fd50801adf936215e0075b69d746c54b0016f02d0ba1d5d48 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-06T18:53:24.342Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-06T18:53:24.627Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-06T18:53:24.915Z] + ls /var/log/sa-host [2023-12-06T18:53:24.915Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-06T18:53:25.025Z] provisioning config files... [2023-12-06T18:53:25.036Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config17047380076385517257tmp [Pipeline] { [Pipeline] echo [2023-12-06T18:53:25.123Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:53:25.409Z] ---> create-netrc.sh [Pipeline] } [2023-12-06T18:53:25.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:53:25.809Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-06T18:53:25.818Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:53:26.104Z] ---> sudo-logs.sh [2023-12-06T18:53:26.104Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-06T18:53:26.179Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:53:26.464Z] ---> job-cost.sh [2023-12-06T18:53:26.464Z] lf-activate-venv: SKIPPING [2023-12-06T18:53:26.464Z] DEBUG: total: 0.2199999988079071 [2023-12-06T18:53:26.464Z] INFO: Retrieving Stack Cost... [2023-12-06T18:53:26.724Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-06T18:53:27.292Z] INFO: Archiving Costs [Pipeline] echo [2023-12-06T18:53:27.346Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-06T18:53:27.682Z] ---> logs-deploy.sh [2023-12-06T18:53:27.682Z] lf-activate-venv: SKIPPING [2023-12-06T18:53:27.682Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/5 [2023-12-06T18:53:27.682Z] INFO: archiving workspace using pattern(s): [2023-12-06T18:53:28.698Z] Archives upload complete. [2023-12-06T18:53:28.698Z] INFO: archiving logs to Nexus