Pull request #1546 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cac41cf1a21432a5b65ec4de7cc4fddebb208b9c+9538fefa27763f734e76c76e23c9c4865d039fa2 (7f1a31252eb52f4840db7289fa9a776bb74af244) 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-ssh9487252767897840618.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-ssh5786555211862982294.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1546/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1546/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12836200433089418641.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1546/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9320593520998005915.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh191815962176996945.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1546/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1546/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17030781395222708944.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24953 in /w/workspace/gexfoundry_device-sdk-go_PR-1546 [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-1546 # 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 Merging remotes/origin/main commit 9538fefa27763f734e76c76e23c9c4865d039fa2 into PR head commit cac41cf1a21432a5b65ec4de7cc4fddebb208b9c Merge succeeded, producing cac41cf1a21432a5b65ec4de7cc4fddebb208b9c Checking out Revision cac41cf1a21432a5b65ec4de7cc4fddebb208b9c (PR-1546) > 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/1546/head:refs/remotes/origin/PR-1546 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cac41cf1a21432a5b65ec4de7cc4fddebb208b9c # 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 cac41cf1a21432a5b65ec4de7cc4fddebb208b9c # timeout=10 Commit message: "build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-13T04:18:13.093Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-13T04:18:13.414Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-13T04:18:13.571Z] ========================================================= [2023-12-13T04:18:13.571Z] EdgeX Global Pipelines Version Info [2023-12-13T04:18:13.571Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:18:14.391Z] ------------------- [2023-12-13T04:18:14.391Z] stable info: [2023-12-13T04:18:14.391Z] ------------------- [2023-12-13T04:18:14.391Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-13T04:18:14.391Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-13T04:18:14.391Z] Message: update stable to v1.0.258 [2023-12-13T04:18:14.968Z] ------------------- [2023-12-13T04:18:14.968Z] experimental info: [2023-12-13T04:18:14.968Z] ------------------- [2023-12-13T04:18:14.968Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-13T04:18:14.968Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-13T04:18:14.968Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-13T04:18:15.277Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-12-13T04:18:15.356Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-12-13T04:18:15.413Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-13T04:18:15.500Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-13T04:18:15.613Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-13T04:18:15.672Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-13T04:18:15.734Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-13T04:18:15.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-12-13T04:18:15.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-13T04:18:15.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-13T04:18:16.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-13T04:18:16.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-12-13T04:18:16.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-13T04:18:16.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-13T04:18:16.330Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-13T04:18:16.404Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-12-13T04:18:16.469Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-13T04:18:16.552Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-13T04:18:16.621Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-13T04:18:16.691Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-13T04:18:16.772Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-12-13T04:18:16.843Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-12-13T04:18:16.912Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-13T04:18:17.023Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-13T04:18:17.105Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-13T04:18:17.187Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-13T04:18:17.268Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-13T04:18:17.347Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1546 [Pipeline] echo [2023-12-13T04:18:17.426Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1546 [Pipeline] echo [2023-12-13T04:18:17.521Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1546 [Pipeline] echo [2023-12-13T04:18:17.605Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cac41cf1a21432a5b65ec4de7cc4fddebb208b9c [Pipeline] echo [2023-12-13T04:18:17.691Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cac41cf [Pipeline] echo [2023-12-13T04:18:17.768Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-13T04:18:17.938Z] provisioning config files... [2023-12-13T04:18:17.952Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp/config4561202362146620223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:18:20.370Z] ---> ****-login.sh [2023-12-13T04:18:20.370Z] nexus3.edgexfoundry.org:10001 [2023-12-13T04:18:20.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:18:23.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:18:23.106Z] Configure a credential helper to remove this warning. See [2023-12-13T04:18:23.106Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:18:23.106Z] [2023-12-13T04:18:23.106Z] Login Succeeded [2023-12-13T04:18:23.106Z] nexus3.edgexfoundry.org:10002 [2023-12-13T04:18:23.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:18:23.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:18:23.370Z] Configure a credential helper to remove this warning. See [2023-12-13T04:18:23.370Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:18:23.370Z] [2023-12-13T04:18:23.370Z] Login Succeeded [2023-12-13T04:18:23.370Z] nexus3.edgexfoundry.org:10003 [2023-12-13T04:18:23.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:18:23.370Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:18:23.370Z] Configure a credential helper to remove this warning. See [2023-12-13T04:18:23.370Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:18:23.370Z] [2023-12-13T04:18:23.370Z] Login Succeeded [2023-12-13T04:18:23.370Z] nexus3.edgexfoundry.org:10004 [2023-12-13T04:18:23.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:18:23.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:18:23.634Z] Configure a credential helper to remove this warning. See [2023-12-13T04:18:23.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:18:23.634Z] [2023-12-13T04:18:23.634Z] Login Succeeded [2023-12-13T04:18:23.634Z] ****.io [2023-12-13T04:18:23.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:18:23.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:18:23.897Z] Configure a credential helper to remove this warning. See [2023-12-13T04:18:23.897Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:18:23.897Z] [2023-12-13T04:18:23.897Z] Login Succeeded [2023-12-13T04:18:23.897Z] ---> ****-login.sh ends [Pipeline] } [2023-12-13T04:18:23.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-13T04:18:24.822Z] + git rev-list -1 --merges cac41cf1a21432a5b65ec4de7cc4fddebb208b9c~1..cac41cf1a21432a5b65ec4de7cc4fddebb208b9c [Pipeline] echo [2023-12-13T04:18:24.884Z] -----------> git rev-list -1 --merges cac41cf1a21432a5b65ec4de7cc4fddebb208b9c~1..cac41cf1a21432a5b65ec4de7cc4fddebb208b9c cac41cf1a21432a5b65ec4de7cc4fddebb208b9c [false] [Pipeline] sh [2023-12-13T04:18:25.232Z] + git log --format=format:%s -1 cac41cf1a21432a5b65ec4de7cc4fddebb208b9c [Pipeline] echo [2023-12-13T04:18:25.283Z] ========================================================= [2023-12-13T04:18:25.283Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-13T04:18:25.283Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-13T04:18:25.837Z] + git log --format=format:%s -1 cac41cf1a21432a5b65ec4de7cc4fddebb208b9c [Pipeline] echo [2023-12-13T04:18:25.876Z] [semverPrep] GIT_COMMIT: cac41cf1a21432a5b65ec4de7cc4fddebb208b9c, Commit Message: build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 [Pipeline] echo [2023-12-13T04:18:25.951Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-13T04:18:26.425Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-13T04:18:26.425Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-13T04:18:26.425Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-13T04:18:26.425Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-13T04:18:26.425Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-13T04:18:26.425Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-13T04:18:26.425Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-13T04:18:27.072Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-13T04:18:27.072Z] [2023-12-13T04:18:27.072Z] 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-13T04:18:27.529Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-13T04:18:27.529Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-13T04:18:27.529Z] b85a868b505f: Pulling fs layer [2023-12-13T04:18:27.529Z] e2be974225ed: Pulling fs layer [2023-12-13T04:18:27.529Z] 339a4e72a1f5: Pulling fs layer [2023-12-13T04:18:27.529Z] 988bab9f4d93: Pulling fs layer [2023-12-13T04:18:27.529Z] 1469e6f7b9e6: Pulling fs layer [2023-12-13T04:18:27.529Z] eaf3925da568: Pulling fs layer [2023-12-13T04:18:27.529Z] 1469e6f7b9e6: Waiting [2023-12-13T04:18:27.529Z] bab4dde63d76: Pulling fs layer [2023-12-13T04:18:27.529Z] bde34c3a00c8: Pulling fs layer [2023-12-13T04:18:27.529Z] b352a97aabf1: Pulling fs layer [2023-12-13T04:18:27.529Z] bab4dde63d76: Waiting [2023-12-13T04:18:27.529Z] 4872d77fe225: Pulling fs layer [2023-12-13T04:18:27.529Z] 988bab9f4d93: Waiting [2023-12-13T04:18:27.529Z] b352a97aabf1: Waiting [2023-12-13T04:18:27.529Z] 5851b861e8e6: Pulling fs layer [2023-12-13T04:18:27.529Z] bde34c3a00c8: Waiting [2023-12-13T04:18:27.529Z] 5851b861e8e6: Waiting [2023-12-13T04:18:27.529Z] 4872d77fe225: Waiting [2023-12-13T04:18:27.529Z] e2be974225ed: Verifying Checksum [2023-12-13T04:18:27.529Z] e2be974225ed: Download complete [2023-12-13T04:18:27.529Z] 988bab9f4d93: Download complete [2023-12-13T04:18:27.529Z] 1469e6f7b9e6: Download complete [2023-12-13T04:18:27.529Z] eaf3925da568: Verifying Checksum [2023-12-13T04:18:27.529Z] eaf3925da568: Download complete [2023-12-13T04:18:27.788Z] 339a4e72a1f5: Verifying Checksum [2023-12-13T04:18:27.788Z] 339a4e72a1f5: Download complete [2023-12-13T04:18:27.788Z] bde34c3a00c8: Download complete [2023-12-13T04:18:27.788Z] b352a97aabf1: Verifying Checksum [2023-12-13T04:18:27.788Z] b352a97aabf1: Download complete [2023-12-13T04:18:27.788Z] 4872d77fe225: Verifying Checksum [2023-12-13T04:18:27.788Z] 4872d77fe225: Download complete [2023-12-13T04:18:27.788Z] 5851b861e8e6: Verifying Checksum [2023-12-13T04:18:27.788Z] 5851b861e8e6: Download complete [2023-12-13T04:18:27.788Z] b85a868b505f: Verifying Checksum [2023-12-13T04:18:27.788Z] b85a868b505f: Download complete [2023-12-13T04:18:28.047Z] bab4dde63d76: Verifying Checksum [2023-12-13T04:18:28.047Z] bab4dde63d76: Download complete [2023-12-13T04:18:28.995Z] b85a868b505f: Pull complete [2023-12-13T04:18:29.256Z] e2be974225ed: Pull complete [2023-12-13T04:18:29.827Z] 339a4e72a1f5: Pull complete [2023-12-13T04:18:29.827Z] 988bab9f4d93: Pull complete [2023-12-13T04:18:30.089Z] 1469e6f7b9e6: Pull complete [2023-12-13T04:18:30.089Z] eaf3925da568: Pull complete [2023-12-13T04:18:32.026Z] bab4dde63d76: Pull complete [2023-12-13T04:18:32.026Z] bde34c3a00c8: Pull complete [2023-12-13T04:18:32.285Z] b352a97aabf1: Pull complete [2023-12-13T04:18:32.285Z] 4872d77fe225: Pull complete [2023-12-13T04:18:32.285Z] 5851b861e8e6: Pull complete [2023-12-13T04:18:32.285Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-13T04:18:32.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-13T04:18:32.285Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-13T04:18:32.798Z] prd-ubuntu20.04-docker-8c-8g-24953 does not seem to be running inside a container [2023-12-13T04:18:32.845Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1546 -v /w/workspace/gexfoundry_device-sdk-go_PR-1546:/w/workspace/gexfoundry_device-sdk-go_PR-1546:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-12-13T04:18:36.188Z] $ docker top 78e311982baba87bc8deff89964b4cf3bcc0a4e22d870e2045612c4165bb74cc -eo pid,comm [2023-12-13T04:18:36.289Z] 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-13T04:18:36.289Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-13T04:18:36.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-13T04:18:36.498Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-13T04:18:36.604Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-13T04:18:36.613Z] $ docker exec 78e311982baba87bc8deff89964b4cf3bcc0a4e22d870e2045612c4165bb74cc ssh-agent [2023-12-13T04:18:36.734Z] SSH_AUTH_SOCK=/tmp/ssh-QD4NZXSwmPFw/agent.33 [2023-12-13T04:18:36.734Z] SSH_AGENT_PID=39 [2023-12-13T04:18:36.742Z] Running ssh-add (command line suppressed) [2023-12-13T04:18:36.862Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp/private_key_3797864719407747699.key (/w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp/private_key_3797864719407747699.key) [2023-12-13T04:18:36.871Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-13T04:18:37.233Z] + git tag --points-at HEAD [Pipeline] } [2023-12-13T04:18:37.269Z] $ docker exec --env ******** --env ******** 78e311982baba87bc8deff89964b4cf3bcc0a4e22d870e2045612c4165bb74cc ssh-agent -k [2023-12-13T04:18:37.381Z] unset SSH_AUTH_SOCK; [2023-12-13T04:18:37.382Z] unset SSH_AGENT_PID; [2023-12-13T04:18:37.382Z] echo Agent pid 39 killed; [2023-12-13T04:18:37.386Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-13T04:18:37.590Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-13T04:18:37.590Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-13T04:18:37.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-13T04:18:37.716Z] $ docker exec 78e311982baba87bc8deff89964b4cf3bcc0a4e22d870e2045612c4165bb74cc ssh-agent [2023-12-13T04:18:37.829Z] SSH_AUTH_SOCK=/tmp/ssh-Vnz50eCcsvfy/agent.71 [2023-12-13T04:18:37.829Z] SSH_AGENT_PID=77 [2023-12-13T04:18:37.835Z] Running ssh-add (command line suppressed) [2023-12-13T04:18:37.955Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp/private_key_3383110209474733113.key (/w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp/private_key_3383110209474733113.key) [2023-12-13T04:18:37.965Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-13T04:18:38.337Z] + git semver init [2023-12-13T04:18:38.597Z] 2023-12-13 04:18:38,572 [run_init] DEBUG init version:0.0.0 force:False [2023-12-13T04:18:38.597Z] 2023-12-13 04:18:38,574 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1546/.semver [2023-12-13T04:18:38.597Z] 2023-12-13 04:18:38,574 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1546/.semver [2023-12-13T04:18:38.597Z] 2023-12-13 04:18:38,575 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1546/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1546, universal_newlines=False, shell=None, istream=None) [2023-12-13T04:18:40.508Z] 2023-12-13 04:18:39,997 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1546/.git/info/exclude [2023-12-13T04:18:40.508Z] 2023-12-13 04:18:39,998 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1546/.semver/PR-1546 with force:False [2023-12-13T04:18:40.508Z] 2023-12-13 04:18:39,998 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1546/.semver/PR-1546 [2023-12-13T04:18:40.508Z] 2023-12-13 04:18:40,001 [execute] INFO git cat-file --batch-check [2023-12-13T04:18:40.508Z] 2023-12-13 04:18:40,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1546/.semver, universal_newlines=False, shell=None, istream=) [2023-12-13T04:18:40.508Z] 2023-12-13 04:18:40,008 [execute] INFO git cat-file --batch [2023-12-13T04:18:40.508Z] 2023-12-13 04:18:40,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1546/.semver, universal_newlines=False, shell=None, istream=) [2023-12-13T04:18:40.508Z] 2023-12-13 04:18:40,014 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1546/.semver/PR-1546 [2023-12-13T04:18:40.508Z] 0.0.0 [Pipeline] } [2023-12-13T04:18:40.545Z] $ docker exec --env ******** --env ******** 78e311982baba87bc8deff89964b4cf3bcc0a4e22d870e2045612c4165bb74cc ssh-agent -k [2023-12-13T04:18:40.656Z] unset SSH_AUTH_SOCK; [2023-12-13T04:18:40.657Z] unset SSH_AGENT_PID; [2023-12-13T04:18:40.657Z] echo Agent pid 77 killed; [2023-12-13T04:18:40.660Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-13T04:18:41.224Z] + git semver [Pipeline] } [2023-12-13T04:18:41.523Z] $ docker stop --time=1 78e311982baba87bc8deff89964b4cf3bcc0a4e22d870e2045612c4165bb74cc [2023-12-13T04:18:42.825Z] $ docker rm -f --volumes 78e311982baba87bc8deff89964b4cf3bcc0a4e22d870e2045612c4165bb74cc [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-13T04:18:43.287Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-13T04:18:43.641Z] Stashed 1 file(s) [Pipeline] echo [2023-12-13T04:18:43.666Z] [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-13T04:18:44.960Z] provisioning config files... [2023-12-13T04:18:44.971Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp/config6465113730732570480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:18:45.429Z] ---> ****-login.sh [2023-12-13T04:18:45.429Z] nexus3.edgexfoundry.org:10001 [2023-12-13T04:18:45.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:18:45.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:18:45.429Z] Configure a credential helper to remove this warning. See [2023-12-13T04:18:45.429Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:18:45.429Z] [2023-12-13T04:18:45.429Z] Login Succeeded [2023-12-13T04:18:45.429Z] nexus3.edgexfoundry.org:10002 [2023-12-13T04:18:45.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:18:45.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:18:45.429Z] Configure a credential helper to remove this warning. See [2023-12-13T04:18:45.429Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:18:45.429Z] [2023-12-13T04:18:45.429Z] Login Succeeded [2023-12-13T04:18:45.429Z] nexus3.edgexfoundry.org:10003 [2023-12-13T04:18:45.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:18:45.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:18:45.690Z] Configure a credential helper to remove this warning. See [2023-12-13T04:18:45.690Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:18:45.690Z] [2023-12-13T04:18:45.690Z] Login Succeeded [2023-12-13T04:18:45.690Z] nexus3.edgexfoundry.org:10004 [2023-12-13T04:18:45.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:18:45.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:18:45.690Z] Configure a credential helper to remove this warning. See [2023-12-13T04:18:45.690Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:18:45.690Z] [2023-12-13T04:18:45.690Z] Login Succeeded [2023-12-13T04:18:45.690Z] ****.io [2023-12-13T04:18:45.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:18:46.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:18:46.210Z] Configure a credential helper to remove this warning. See [2023-12-13T04:18:46.210Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:18:46.210Z] [2023-12-13T04:18:46.210Z] Login Succeeded [2023-12-13T04:18:46.210Z] ---> ****-login.sh ends [Pipeline] } [2023-12-13T04:18:46.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-13T04:18:46.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-13T04:18:46.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-13T04:18:46.743Z] ========================================================= [2023-12-13T04:18:46.743Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-13T04:18:46.743Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-13T04:18:47.368Z] + 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-13T04:18:47.368Z] Sending build context to Docker daemon 21.9MB [2023-12-13T04:18:47.368Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-12-13T04:18:47.368Z] Step 2/10 : FROM ${BASE} AS builder [2023-12-13T04:18:47.642Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-13T04:18:47.642Z] 7264a8db6415: Pulling fs layer [2023-12-13T04:18:47.642Z] c4d48a809fc2: Pulling fs layer [2023-12-13T04:18:47.642Z] 4f1c88b9dad5: Pulling fs layer [2023-12-13T04:18:47.642Z] ad3a456e5733: Pulling fs layer [2023-12-13T04:18:47.642Z] 69c7f0334f64: Pulling fs layer [2023-12-13T04:18:47.642Z] 1f1c1a5573a3: Pulling fs layer [2023-12-13T04:18:47.642Z] ce7588e14bc9: Pulling fs layer [2023-12-13T04:18:47.642Z] b5e4710f87ac: Pulling fs layer [2023-12-13T04:18:47.642Z] 69c7f0334f64: Waiting [2023-12-13T04:18:47.642Z] ce7588e14bc9: Waiting [2023-12-13T04:18:47.642Z] 1f1c1a5573a3: Waiting [2023-12-13T04:18:47.642Z] b5e4710f87ac: Waiting [2023-12-13T04:18:47.642Z] c4d48a809fc2: Download complete [2023-12-13T04:18:47.642Z] ad3a456e5733: Verifying Checksum [2023-12-13T04:18:47.642Z] ad3a456e5733: Download complete [2023-12-13T04:18:47.642Z] 69c7f0334f64: Download complete [2023-12-13T04:18:47.642Z] 7264a8db6415: Verifying Checksum [2023-12-13T04:18:47.642Z] 7264a8db6415: Download complete [2023-12-13T04:18:47.642Z] 1f1c1a5573a3: Download complete [2023-12-13T04:18:47.902Z] 7264a8db6415: Pull complete [2023-12-13T04:18:47.902Z] b5e4710f87ac: Verifying Checksum [2023-12-13T04:18:47.902Z] b5e4710f87ac: Download complete [2023-12-13T04:18:47.902Z] c4d48a809fc2: Pull complete [2023-12-13T04:18:48.160Z] 4f1c88b9dad5: Verifying Checksum [2023-12-13T04:18:48.160Z] 4f1c88b9dad5: Download complete [2023-12-13T04:18:48.419Z] ce7588e14bc9: Verifying Checksum [2023-12-13T04:18:51.725Z] 4f1c88b9dad5: Pull complete [2023-12-13T04:18:51.725Z] ad3a456e5733: Pull complete [2023-12-13T04:18:51.725Z] 69c7f0334f64: Pull complete [2023-12-13T04:18:51.725Z] 1f1c1a5573a3: Pull complete [2023-12-13T04:18:54.257Z] ce7588e14bc9: Pull complete [2023-12-13T04:18:54.516Z] b5e4710f87ac: Pull complete [2023-12-13T04:18:54.516Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-13T04:18:54.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-13T04:18:54.516Z] ---> 88b5674ff536 [2023-12-13T04:18:54.516Z] Step 3/10 : ARG MAKE=make build [2023-12-13T04:18:59.370Z] Still waiting to schedule task [2023-12-13T04:18:59.370Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-12-13T04:18:59.803Z] ---> Running in 6d048400b697 [2023-12-13T04:18:59.803Z] Removing intermediate container 6d048400b697 [2023-12-13T04:18:59.803Z] ---> 893319b2aba4 [2023-12-13T04:18:59.803Z] Step 4/10 : WORKDIR /device-sdk-go [2023-12-13T04:18:59.803Z] ---> Running in 769a24974fff [2023-12-13T04:18:59.803Z] Removing intermediate container 769a24974fff [2023-12-13T04:18:59.803Z] ---> c3c4a56c7ffe [2023-12-13T04:18:59.803Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-13T04:18:59.803Z] ---> Running in 8ac4b6cde28c [2023-12-13T04:18:59.803Z] Removing intermediate container 8ac4b6cde28c [2023-12-13T04:18:59.803Z] ---> 64fe0a65aae8 [2023-12-13T04:18:59.803Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-12-13T04:18:59.803Z] ---> Running in 2ed803af4d6d [2023-12-13T04:18:59.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-13T04:19:00.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-13T04:19:00.131Z] OK: 264 MiB in 52 packages [2023-12-13T04:19:00.705Z] Removing intermediate container 2ed803af4d6d [2023-12-13T04:19:00.705Z] ---> cad7ca4cb0a2 [2023-12-13T04:19:00.705Z] Step 7/10 : COPY go.mod vendor* ./ [2023-12-13T04:19:00.705Z] ---> f893fc0e0349 [2023-12-13T04:19:00.705Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-13T04:19:00.705Z] ---> Running in 74cf4ea83ee1 [2023-12-13T04:19:47.447Z] Removing intermediate container 74cf4ea83ee1 [2023-12-13T04:19:47.447Z] ---> d92b8ecca169 [2023-12-13T04:19:47.447Z] Step 9/10 : COPY . . [2023-12-13T04:19:47.447Z] ---> 00cb5f2006df [2023-12-13T04:19:47.447Z] Step 10/10 : RUN ${MAKE} [2023-12-13T04:19:47.447Z] ---> Running in 5ed22b317fe1 [2023-12-13T04:19:47.447Z] noop [2023-12-13T04:19:47.447Z] Removing intermediate container 5ed22b317fe1 [2023-12-13T04:19:47.447Z] ---> 3c021212acd1 [2023-12-13T04:19:47.447Z] Successfully built 3c021212acd1 [2023-12-13T04:19:47.447Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-13T04:19:48.116Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-13T04:19:48.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-13T04:19:48.341Z] prd-ubuntu20.04-docker-8c-8g-24953 does not seem to be running inside a container [2023-12-13T04:19:48.381Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1546 -v /w/workspace/gexfoundry_device-sdk-go_PR-1546:/w/workspace/gexfoundry_device-sdk-go_PR-1546:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-13T04:19:48.706Z] $ docker top 0e1668c6e8b5422018eea556e08f3f8421b11570a958fa299134270cabf3689c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-13T04:19:49.172Z] + go version [2023-12-13T04:19:49.172Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-13T04:19:49.212Z] $ docker stop --time=1 0e1668c6e8b5422018eea556e08f3f8421b11570a958fa299134270cabf3689c [2023-12-13T04:19:50.504Z] $ docker rm -f --volumes 0e1668c6e8b5422018eea556e08f3f8421b11570a958fa299134270cabf3689c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-13T04:19:51.536Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-13T04:19:51.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-13T04:19:51.747Z] prd-ubuntu20.04-docker-8c-8g-24953 does not seem to be running inside a container [2023-12-13T04:19:51.785Z] $ 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-1546 -v /w/workspace/gexfoundry_device-sdk-go_PR-1546:/w/workspace/gexfoundry_device-sdk-go_PR-1546:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-13T04:19:52.112Z] $ docker top cd9fcae22135e11286e55defa3c1acfae8a09e276c64aab9202a64ace0a5612c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-13T04:19:52.561Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1546 [Pipeline] fileExists [Pipeline] sh [2023-12-13T04:19:52.980Z] + make test [2023-12-13T04:19:52.980Z] go test -race -coverprofile=coverage.out ./... [2023-12-13T04:19:59.543Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-12-13T04:20:14.415Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-12-13T04:20:14.415Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-12-13T04:20:14.415Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-12-13T04:20:14.415Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-12-13T04:20:14.415Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-12-13T04:20:14.415Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-12-13T04:20:14.415Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-12-13T04:20:14.415Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.041s coverage: 27.6% of statements [2023-12-13T04:20:14.674Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-12-13T04:20:14.675Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.050s coverage: 81.5% of statements [2023-12-13T04:20:14.675Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.063s coverage: 86.0% of statements [2023-12-13T04:20:16.047Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-12-13T04:20:16.047Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 71.8% of statements [2023-12-13T04:20:16.047Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-12-13T04:20:16.047Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-12-13T04:20:19.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.4% of statements [2023-12-13T04:20:19.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.967s coverage: 45.9% of statements [2023-12-13T04:20:19.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements [2023-12-13T04:20:19.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.104s coverage: 89.2% of statements [2023-12-13T04:20:19.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements [2023-12-13T04:20:41.247Z] GO111MODULE=on go vet ./... [2023-12-13T04:20:42.625Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-13T04:20:42.625Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-13T04:20:42.625Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-13T04:20:42.916Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-13T04:20:42.992Z] $ docker stop --time=1 cd9fcae22135e11286e55defa3c1acfae8a09e276c64aab9202a64ace0a5612c [2023-12-13T04:20:46.333Z] $ docker rm -f --volumes cd9fcae22135e11286e55defa3c1acfae8a09e276c64aab9202a64ace0a5612c [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-13T04:20:47.018Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-13T04:20:47.143Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-12-13T04:20:47.624Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24954 in /w/workspace/gexfoundry_device-sdk-go_PR-1546 [Pipeline] sh [Pipeline] { [Pipeline] ws [2023-12-13T04:20:47.966Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-12-13T04:20:48.101Z] + sudo chown -R jenkins:jenkins . [2023-12-13T04:20:51.105Z] The recommended git tool is: git [Pipeline] sh [2023-12-13T04:20:51.475Z] + ls -al . [2023-12-13T04:20:51.475Z] total 308 [2023-12-13T04:20:51.475Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 13 04:19 . [2023-12-13T04:20:51.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:18 .. [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 04:18 .dockerignore [2023-12-13T04:20:51.475Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 04:20 .git [2023-12-13T04:20:51.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:18 .github [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 137 Dec 13 04:18 .gitignore [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 04:18 .golangci.yml [2023-12-13T04:20:51.475Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 04:18 .semver [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 48109 Dec 13 04:18 CHANGELOG.md [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 04:18 GOVERNANCE.md [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 885 Dec 13 04:18 Jenkinsfile [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 04:18 LICENSE [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 1842 Dec 13 04:18 Makefile [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 04:18 OWNERS.md [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 4933 Dec 13 04:18 README.md [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 04:18 VERSION [2023-12-13T04:20:51.475Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:18 bin [2023-12-13T04:20:51.475Z] -rw-r--r-- 1 jenkins jenkins 122154 Dec 13 04:20 coverage.out [2023-12-13T04:20:51.475Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 04:18 example [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 3719 Dec 13 04:18 go.mod [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 34269 Dec 13 04:18 go.sum [2023-12-13T04:20:51.475Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:18 internal [2023-12-13T04:20:51.475Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:18 openapi [2023-12-13T04:20:51.475Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 04:18 pkg [2023-12-13T04:20:51.475Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:18 snap [2023-12-13T04:20:51.475Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 04:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-13T04:20:51.962Z] + 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=cac41cf1a21432a5b65ec4de7cc4fddebb208b9c --label arch=amd64 --label version=0.0.0 . [2023-12-13T04:20:51.962Z] Sending build context to Docker daemon 22.03MB [2023-12-13T04:20:51.962Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-12-13T04:20:51.962Z] Step 2/23 : FROM ${BASE} AS builder [2023-12-13T04:20:51.962Z] ---> 3c021212acd1 [2023-12-13T04:20:51.962Z] Step 3/23 : ARG MAKE=make build [2023-12-13T04:20:52.222Z] ---> Running in c370e7ace468 [2023-12-13T04:20:52.483Z] Removing intermediate container c370e7ace468 [2023-12-13T04:20:52.483Z] ---> a1b0a8de1b7f [2023-12-13T04:20:52.483Z] Step 4/23 : WORKDIR /device-sdk-go [2023-12-13T04:20:52.483Z] ---> Running in c6b5f753512d [2023-12-13T04:20:52.483Z] Removing intermediate container c6b5f753512d [2023-12-13T04:20:52.483Z] ---> 9c4bc741a2fb [2023-12-13T04:20:52.483Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-13T04:20:52.483Z] ---> Running in 3017f2ebbcfa [2023-12-13T04:20:52.483Z] Removing intermediate container 3017f2ebbcfa [2023-12-13T04:20:52.483Z] ---> 5e84f4fdd89d [2023-12-13T04:20:52.483Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-12-13T04:20:52.483Z] ---> Running in 39c960bf2d6b [2023-12-13T04:20:53.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-13T04:20:53.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-13T04:20:53.313Z] OK: 264 MiB in 52 packages [2023-12-13T04:20:53.573Z] Removing intermediate container 39c960bf2d6b [2023-12-13T04:20:53.573Z] ---> 48b228e55438 [2023-12-13T04:20:53.573Z] Step 7/23 : COPY go.mod vendor* ./ [2023-12-13T04:20:53.847Z] ---> 4310a59c00ff [2023-12-13T04:20:53.847Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-13T04:20:53.847Z] ---> Running in 1dceb0320fca [2023-12-13T04:20:54.416Z] Removing intermediate container 1dceb0320fca [2023-12-13T04:20:54.416Z] ---> 06ae4105123e [2023-12-13T04:20:54.416Z] Step 9/23 : COPY . . [2023-12-13T04:20:55.354Z] ---> 85139d8dbf09 [2023-12-13T04:20:55.354Z] Step 10/23 : RUN ${MAKE} [2023-12-13T04:20:55.354Z] ---> Running in 079526b241f6 [2023-12-13T04:20:55.613Z] 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-13T04:20:56.960Z] using credential edgex-jenkins-ssh [2023-12-13T04:20:56.982Z] Cloning the remote Git repository [2023-12-13T04:20:57.037Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-12-13T04:20:57.149Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-12-13T04:20:57.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-12-13T04:20:57.447Z] > git --version # timeout=10 [2023-12-13T04:20:57.466Z] > git --version # 'git version 2.25.1' [2023-12-13T04:20:57.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-13T04:20:57.627Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-13T04:21:00.010Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-12-13T04:21:00.033Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-13T04:21:00.842Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-12-13T04:21:00.878Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-12-13T04:21:00.879Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-13T04:21:00.894Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1546/head:refs/remotes/origin/PR-1546 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-12-13T04:21:01.457Z] Merging remotes/origin/main commit 9538fefa27763f734e76c76e23c9c4865d039fa2 into PR head commit cac41cf1a21432a5b65ec4de7cc4fddebb208b9c [2023-12-13T04:21:01.731Z] Merge succeeded, producing cac41cf1a21432a5b65ec4de7cc4fddebb208b9c [2023-12-13T04:21:01.731Z] Checking out Revision cac41cf1a21432a5b65ec4de7cc4fddebb208b9c (PR-1546) [2023-12-13T04:21:02.254Z] Commit message: "build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0" [2023-12-13T04:21:02.314Z] > git --version # timeout=10 [2023-12-13T04:21:02.327Z] > git --version # 'git version 2.25.1' [2023-12-13T04:21:02.344Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-13T04:21:01.481Z] > git config core.sparsecheckout # timeout=10 [2023-12-13T04:21:01.536Z] > git checkout -f cac41cf1a21432a5b65ec4de7cc4fddebb208b9c # timeout=10 [2023-12-13T04:21:01.643Z] > git remote # timeout=10 [2023-12-13T04:21:01.662Z] > git config --get remote.origin.url # timeout=10 [2023-12-13T04:21:01.676Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-13T04:21:01.689Z] > git merge 9538fefa27763f734e76c76e23c9c4865d039fa2 # timeout=10 [2023-12-13T04:21:01.718Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-13T04:21:01.743Z] > git config core.sparsecheckout # timeout=10 [2023-12-13T04:21:01.756Z] > git checkout -f cac41cf1a21432a5b65ec4de7cc4fddebb208b9c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-13T04:21:03.849Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-13T04:21:03.850Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-13T04:21:03.850Z] Dload Upload Total Spent Left Speed [2023-12-13T04:21:03.850Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 89943 0 --:--:-- --:--:-- --:--:-- 90585 [Pipeline] sh [2023-12-13T04:21:04.214Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-13T04:21:04.569Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-12-13T04:21:04.569Z] sudo tee /etc/docker/daemon.new [2023-12-13T04:21:04.569Z] { [2023-12-13T04:21:04.569Z] "registry-mirrors": [ [2023-12-13T04:21:04.569Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-13T04:21:04.569Z] ], [2023-12-13T04:21:04.569Z] "bip": "10.250.0.254/24", [2023-12-13T04:21:04.569Z] "hosts": [ [2023-12-13T04:21:04.569Z] "tcp://0.0.0.0:5555", [2023-12-13T04:21:04.569Z] "unix:///var/run/docker.sock" [2023-12-13T04:21:04.569Z] ], [2023-12-13T04:21:04.569Z] "mtu": 1458, [2023-12-13T04:21:04.569Z] "selinux-enabled": true, [2023-12-13T04:21:04.569Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-13T04:21:04.569Z] } [Pipeline] sh [2023-12-13T04:21:04.924Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-13T04:21:05.277Z] + sudo service docker restart [2023-12-13T04:21:17.555Z] Removing intermediate container 079526b241f6 [2023-12-13T04:21:17.555Z] ---> e201f1c7dfae [2023-12-13T04:21:17.555Z] Step 11/23 : FROM alpine:3.18 [2023-12-13T04:21:17.555Z] 3.18: Pulling from library/alpine [2023-12-13T04:21:17.555Z] c926b61bad3b: Pulling fs layer [2023-12-13T04:21:17.555Z] c926b61bad3b: Verifying Checksum [2023-12-13T04:21:17.555Z] c926b61bad3b: Download complete [2023-12-13T04:21:17.555Z] c926b61bad3b: Pull complete [2023-12-13T04:21:17.555Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-13T04:21:17.555Z] Status: Downloaded newer image for alpine:3.18 [2023-12-13T04:21:17.555Z] ---> b541f2080109 [2023-12-13T04:21:17.555Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-12-13T04:21:17.555Z] ---> Running in b46d32b3727d [2023-12-13T04:21:17.555Z] Removing intermediate container b46d32b3727d [2023-12-13T04:21:17.555Z] ---> b73291115e41 [2023-12-13T04:21:17.555Z] Step 13/23 : RUN apk add --update --no-cache [2023-12-13T04:21:17.555Z] ---> Running in 21b24123c6c4 [2023-12-13T04:21:17.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-13T04:21:17.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-13T04:21:17.555Z] OK: 7 MiB in 15 packages [2023-12-13T04:21:17.555Z] Removing intermediate container 21b24123c6c4 [2023-12-13T04:21:17.555Z] ---> ed27513605c1 [2023-12-13T04:21:17.555Z] Step 14/23 : WORKDIR / [2023-12-13T04:21:17.555Z] ---> Running in f0a03f487048 [2023-12-13T04:21:17.555Z] Removing intermediate container f0a03f487048 [2023-12-13T04:21:17.555Z] ---> 3a895ec77fc6 [2023-12-13T04:21:17.555Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-12-13T04:21:17.815Z] ---> 99c9688b7b75 [2023-12-13T04:21:17.815Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-12-13T04:21:18.564Z] ---> 8957d526e4fe [2023-12-13T04:21:18.564Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-12-13T04:21:18.824Z] ---> 6557d4329ff2 [2023-12-13T04:21:18.824Z] Step 18/23 : EXPOSE 59999 [2023-12-13T04:21:18.824Z] ---> Running in b58836d7eab8 [2023-12-13T04:21:18.824Z] Removing intermediate container b58836d7eab8 [2023-12-13T04:21:18.824Z] ---> 5c4bb7ad3562 [2023-12-13T04:21:18.824Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-12-13T04:21:18.824Z] ---> Running in f660663a0389 [2023-12-13T04:21:19.084Z] Removing intermediate container f660663a0389 [2023-12-13T04:21:19.084Z] ---> aba30de8b17c [2023-12-13T04:21:19.084Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-12-13T04:21:19.084Z] ---> Running in ed67b1ed6036 [2023-12-13T04:21:19.084Z] Removing intermediate container ed67b1ed6036 [2023-12-13T04:21:19.084Z] ---> 05685925acb0 [2023-12-13T04:21:19.084Z] Step 21/23 : LABEL arch=amd64 [2023-12-13T04:21:19.084Z] ---> Running in a78170201fb6 [2023-12-13T04:21:19.084Z] Removing intermediate container a78170201fb6 [2023-12-13T04:21:19.084Z] ---> 5492e98a4977 [2023-12-13T04:21:19.084Z] Step 22/23 : LABEL git_sha=cac41cf1a21432a5b65ec4de7cc4fddebb208b9c [2023-12-13T04:21:19.084Z] ---> Running in fd75e4fe032c [2023-12-13T04:21:19.344Z] Removing intermediate container fd75e4fe032c [2023-12-13T04:21:19.344Z] ---> 03cb82727ba8 [2023-12-13T04:21:19.344Z] Step 23/23 : LABEL version=0.0.0 [2023-12-13T04:21:19.344Z] ---> Running in 08e80376fa68 [2023-12-13T04:21:19.344Z] Removing intermediate container 08e80376fa68 [2023-12-13T04:21:19.344Z] ---> 6affed94c05d [2023-12-13T04:21:19.344Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-13T04:21:19.344Z] Successfully built 6affed94c05d [2023-12-13T04:21:19.344Z] 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-13T04:21:20.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-13T04:21:20.814Z] [2023-12-13T04:21:20.814Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-13T04:21:21.260Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-13T04:21:21.260Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-13T04:21:21.260Z] 5eb5b503b376: Pulling fs layer [2023-12-13T04:21:21.260Z] 5c69ac0246d0: Pulling fs layer [2023-12-13T04:21:21.260Z] ec43610c2a17: Pulling fs layer [2023-12-13T04:21:21.260Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-13T04:21:21.260Z] 33b1e0a273af: Pulling fs layer [2023-12-13T04:21:21.260Z] 5d3b04190fa2: Pulling fs layer [2023-12-13T04:21:21.260Z] 2f39f015ded8: Pulling fs layer [2023-12-13T04:21:21.260Z] 5d3b04190fa2: Waiting [2023-12-13T04:21:21.260Z] 3a2ae6a8a46f: Waiting [2023-12-13T04:21:21.260Z] 2f39f015ded8: Waiting [2023-12-13T04:21:21.260Z] 33b1e0a273af: Waiting [2023-12-13T04:21:21.260Z] 5c69ac0246d0: Download complete [2023-12-13T04:21:21.260Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-13T04:21:21.260Z] 3a2ae6a8a46f: Download complete [2023-12-13T04:21:21.260Z] 33b1e0a273af: Verifying Checksum [2023-12-13T04:21:21.260Z] 33b1e0a273af: Download complete [2023-12-13T04:21:21.260Z] ec43610c2a17: Verifying Checksum [2023-12-13T04:21:21.260Z] ec43610c2a17: Download complete [2023-12-13T04:21:21.260Z] 5d3b04190fa2: Download complete [2023-12-13T04:21:21.519Z] 5eb5b503b376: Verifying Checksum [2023-12-13T04:21:21.519Z] 5eb5b503b376: Download complete [2023-12-13T04:21:22.084Z] 2f39f015ded8: Download complete [2023-12-13T04:21:22.651Z] 5eb5b503b376: Pull complete [2023-12-13T04:21:22.651Z] 5c69ac0246d0: Pull complete [2023-12-13T04:21:23.216Z] ec43610c2a17: Pull complete [2023-12-13T04:21:23.216Z] 3a2ae6a8a46f: Pull complete [2023-12-13T04:21:23.473Z] 33b1e0a273af: Pull complete [2023-12-13T04:21:23.473Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-13T04:21:27.490Z] provisioning config files... [2023-12-13T04:21:27.515Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5536026115430391741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:21:27.666Z] 2f39f015ded8: Pull complete [2023-12-13T04:21:27.666Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-13T04:21:27.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-13T04:21:27.666Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [2023-12-13T04:21:28.031Z] ---> ****-login.sh [2023-12-13T04:21:28.032Z] nexus3.edgexfoundry.org:10001 [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-13T04:21:28.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:21:28.467Z] prd-ubuntu20.04-docker-8c-8g-24953 does not seem to be running inside a container [2023-12-13T04:21:28.624Z] $ 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-1546 -v /w/workspace/gexfoundry_device-sdk-go_PR-1546:/w/workspace/gexfoundry_device-sdk-go_PR-1546:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-13T04:21:28.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:21:28.632Z] Configure a credential helper to remove this warning. See [2023-12-13T04:21:28.632Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:21:28.632Z] [2023-12-13T04:21:28.632Z] Login Succeeded [2023-12-13T04:21:28.632Z] nexus3.edgexfoundry.org:10002 [2023-12-13T04:21:28.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:21:28.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:21:28.952Z] Configure a credential helper to remove this warning. See [2023-12-13T04:21:28.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:21:28.952Z] [2023-12-13T04:21:28.952Z] Login Succeeded [2023-12-13T04:21:28.952Z] nexus3.edgexfoundry.org:10003 [2023-12-13T04:21:28.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:21:28.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:21:28.952Z] Configure a credential helper to remove this warning. See [2023-12-13T04:21:28.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:21:28.952Z] [2023-12-13T04:21:28.952Z] Login Succeeded [2023-12-13T04:21:28.952Z] nexus3.edgexfoundry.org:10004 [2023-12-13T04:21:29.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:21:29.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:21:29.521Z] Configure a credential helper to remove this warning. See [2023-12-13T04:21:29.521Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:21:29.521Z] [2023-12-13T04:21:29.521Z] Login Succeeded [2023-12-13T04:21:29.521Z] ****.io [2023-12-13T04:21:29.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-13T04:21:30.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-13T04:21:30.067Z] Configure a credential helper to remove this warning. See [2023-12-13T04:21:30.067Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-13T04:21:30.067Z] [2023-12-13T04:21:30.067Z] Login Succeeded [2023-12-13T04:21:30.067Z] ---> ****-login.sh ends [2023-12-13T04:21:32.827Z] $ docker top 7f28efd108aa719d08a93a97f291e7698689c104ca9ff2c2f965fe581bc27f67 -eo pid,comm [Pipeline] { [Pipeline] } [2023-12-13T04:21:33.153Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-12-13T04:21:33.620Z] ---> job-cost.sh [2023-12-13T04:21:33.620Z] lf-activate-venv: SKIPPING [2023-12-13T04:21:33.620Z] INFO: No Stack... [Pipeline] echo [2023-12-13T04:21:33.868Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-13T04:21:33.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-13T04:21:34.036Z] ========================================================= [2023-12-13T04:21:34.036Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-13T04:21:34.036Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [2023-12-13T04:21:34.189Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-12-13T04:21:34.448Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2023-12-13T04:21:34.772Z] + 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-13T04:21:34.911Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1546/archives/cost.csv [2023-12-13T04:21:34.911Z] + cut -d, -f6 [Pipeline] lock [2023-12-13T04:21:34.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1546-1-stack-cost] [2023-12-13T04:21:34.962Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1546-1-stack-cost] did not exist. Created. [2023-12-13T04:21:34.962Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1546-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-13T04:21:35.463Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-13T04:21:35.522Z] Stashed 1 file(s) [Pipeline] } [2023-12-13T04:21:35.605Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1546-1-stack-cost] [Pipeline] // lock [2023-12-13T04:21:35.743Z] #0 building with "default" instance using docker driver [2023-12-13T04:21:35.743Z] [2023-12-13T04:21:35.744Z] #1 [internal] load build definition from Dockerfile [2023-12-13T04:21:35.744Z] #1 transferring dockerfile: 1.54kB 0.0s done [2023-12-13T04:21:35.744Z] #1 DONE 0.1s [2023-12-13T04:21:35.744Z] [2023-12-13T04:21:35.744Z] #2 [internal] load .dockerignore [2023-12-13T04:21:35.744Z] #2 transferring context: 182B 0.0s done [Pipeline] } [2023-12-13T04:21:35.787Z] $ docker stop --time=1 7f28efd108aa719d08a93a97f291e7698689c104ca9ff2c2f965fe581bc27f67 [2023-12-13T04:21:36.015Z] #2 DONE 0.1s [2023-12-13T04:21:36.015Z] [2023-12-13T04:21:36.015Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-13T04:21:36.015Z] #3 DONE 0.1s [2023-12-13T04:21:36.297Z] [2023-12-13T04:21:36.297Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-13T04:21:36.297Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-13T04:21:36.297Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-13T04:21:36.297Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.38MB / 3.33MB 0.2s [2023-12-13T04:21:36.297Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-13T04:21:36.297Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 4.45MB / 63.99MB 0.2s [2023-12-13T04:21:36.297Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-13T04:21:36.297Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.2s [2023-12-13T04:21:36.297Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2023-12-13T04:21:36.297Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 8.39MB / 63.99MB 0.3s [2023-12-13T04:21:36.297Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done [2023-12-13T04:21:36.297Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-13T04:21:36.297Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s [2023-12-13T04:21:36.297Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s [2023-12-13T04:21:36.570Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.58MB / 63.99MB 0.4s [2023-12-13T04:21:36.570Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done [2023-12-13T04:21:36.570Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.4s [2023-12-13T04:21:36.570Z] #4 ... [2023-12-13T04:21:36.570Z] [2023-12-13T04:21:36.570Z] #5 [internal] load build context [2023-12-13T04:21:36.570Z] #5 transferring context: 11.13MB 0.5s done [2023-12-13T04:21:36.570Z] #5 DONE 0.6s [2023-12-13T04:21:36.570Z] [2023-12-13T04:21:36.570Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-13T04:21:36.570Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.78MB / 63.99MB 0.5s [2023-12-13T04:21:36.570Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.51MB / 97.63MB 0.5s [2023-12-13T04:21:36.570Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.5s [2023-12-13T04:21:36.843Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.08MB / 63.99MB 0.6s [2023-12-13T04:21:36.844Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.6s [2023-12-13T04:21:36.844Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 24.12MB / 63.99MB 0.7s [2023-12-13T04:21:36.844Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done [2023-12-13T04:21:36.844Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 17.83MB / 97.63MB 0.8s [2023-12-13T04:21:36.844Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 0.7s [2023-12-13T04:21:36.949Z] $ docker rm -f --volumes 7f28efd108aa719d08a93a97f291e7698689c104ca9ff2c2f965fe581bc27f67 [2023-12-13T04:21:37.120Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 0.9s [2023-12-13T04:21:37.120Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.79MB / 97.63MB 0.9s [2023-12-13T04:21:37.120Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done [2023-12-13T04:21:37.120Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.40MB / 63.99MB 1.1s [2023-12-13T04:21:37.120Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 32.51MB / 97.63MB 1.1s [2023-12-13T04:21:37.120Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [Pipeline] // withDockerContainer [Pipeline] } [2023-12-13T04:21:37.392Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 50.90MB / 63.99MB 1.2s [2023-12-13T04:21:37.392Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 37.75MB / 97.63MB 1.2s [2023-12-13T04:21:37.392Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-13T04:21:37.392Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.57MB / 63.99MB 1.3s [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [2023-12-13T04:21:37.660Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s [2023-12-13T04:21:37.661Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.43MB / 97.63MB 1.5s [2023-12-13T04:21:37.661Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.67MB / 97.63MB 1.6s [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-12-13T04:21:37.927Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.03MB / 97.63MB 1.8s [2023-12-13T04:21:37.927Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.50MB / 97.63MB 1.9s [2023-12-13T04:21:38.194Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 81.79MB / 97.63MB 2.0s [2023-12-13T04:21:38.194Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 2.1s [2023-12-13T04:21:38.462Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s [2023-12-13T04:21:41.058Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 4.6s done [2023-12-13T04:21:41.058Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 4.8s done [2023-12-13T04:21:41.058Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s [2023-12-13T04:21:47.733Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.8s [2023-12-13T04:21:52.012Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.9s [2023-12-13T04:21:58.671Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done [2023-12-13T04:21:59.260Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e [2023-12-13T04:21:59.529Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-13T04:21:59.529Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-13T04:21:59.797Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-13T04:22:05.154Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s [2023-12-13T04:22:08.503Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.6s done [2023-12-13T04:22:08.771Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb [2023-12-13T04:22:10.765Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done [2023-12-13T04:22:10.765Z] #4 DONE 34.7s [2023-12-13T04:22:10.765Z] [2023-12-13T04:22:10.765Z] #6 [builder 2/7] WORKDIR /device-sdk-go [2023-12-13T04:22:12.728Z] #6 DONE 1.8s [2023-12-13T04:22:12.728Z] [2023-12-13T04:22:12.728Z] #7 [builder 3/7] RUN apk add --update --no-cache make git [2023-12-13T04:22:13.315Z] #7 0.744 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-13T04:22:13.582Z] #7 1.165 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-13T04:22:15.008Z] #7 2.254 OK: 266 MiB in 52 packages [2023-12-13T04:22:15.008Z] #7 DONE 2.5s [2023-12-13T04:22:15.282Z] [2023-12-13T04:22:15.282Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-13T04:22:15.282Z] #8 DONE 0.2s [2023-12-13T04:22:15.282Z] [2023-12-13T04:22:15.282Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-13T04:22:41.976Z] #9 DONE 23.5s [2023-12-13T04:22:41.976Z] [2023-12-13T04:22:41.976Z] #10 [builder 6/7] COPY . . [2023-12-13T04:22:41.976Z] #10 DONE 0.4s [2023-12-13T04:22:41.976Z] [2023-12-13T04:22:41.976Z] #11 [builder 7/7] RUN echo noop [2023-12-13T04:22:41.976Z] #11 0.660 noop [2023-12-13T04:22:41.976Z] #11 DONE 0.7s [2023-12-13T04:22:41.976Z] [2023-12-13T04:22:41.976Z] #12 exporting to image [2023-12-13T04:22:41.976Z] #12 exporting layers [2023-12-13T04:23:04.098Z] #12 exporting layers 22.1s done [2023-12-13T04:23:04.098Z] #12 writing image sha256:a82bc043ac903255788ec83d42a1061a5f694b9f52ec9c8065709fef08d68b4c done [2023-12-13T04:23:04.098Z] #12 naming to docker.io/library/ci-base-image-arm64 done [2023-12-13T04:23:04.098Z] #12 DONE 22.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-13T04:23:04.747Z] + docker inspect -f . ci-base-image-arm64 [2023-12-13T04:23:04.747Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-13T04:23:05.118Z] prd-ubuntu20.04-docker-arm64-4c-16g-24954 does not seem to be running inside a container [2023-12-13T04:23:05.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-13T04:23:09.533Z] $ docker top 9d8014e10ecbf3301331b806e149e5cd38f407e99dfa47fa242d018d7fe9bbb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-13T04:23:10.488Z] + go version [2023-12-13T04:23:10.488Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-13T04:23:10.543Z] $ docker stop --time=1 9d8014e10ecbf3301331b806e149e5cd38f407e99dfa47fa242d018d7fe9bbb2 [2023-12-13T04:23:12.063Z] $ docker rm -f --volumes 9d8014e10ecbf3301331b806e149e5cd38f407e99dfa47fa242d018d7fe9bbb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-13T04:23:13.341Z] + docker inspect -f . ci-base-image-arm64 [2023-12-13T04:23:13.341Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-13T04:23:13.675Z] prd-ubuntu20.04-docker-arm64-4c-16g-24954 does not seem to be running inside a container [2023-12-13T04:23:13.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-13T04:23:14.644Z] $ docker top 10751c699ee3c43f4e6af64ee22c35ba610d69db971911de270e97c76c754955 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-13T04:23:15.289Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-12-13T04:23:15.749Z] + make test [2023-12-13T04:23:15.749Z] go test -race -coverprofile=coverage.out ./... [2023-12-13T04:23:47.989Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-12-13T04:24:55.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-12-13T04:24:55.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-12-13T04:24:55.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-12-13T04:24:55.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-12-13T04:24:55.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-12-13T04:24:57.791Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-12-13T04:24:57.791Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-12-13T04:24:57.791Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.197s coverage: 27.6% of statements [2023-12-13T04:24:58.748Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.282s coverage: 81.5% of statements [2023-12-13T04:24:59.017Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.315s coverage: 86.0% of statements [2023-12-13T04:25:02.400Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-12-13T04:25:03.359Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.491s coverage: 71.8% of statements [2023-12-13T04:25:03.944Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-12-13T04:25:03.944Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-12-13T04:25:06.516Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-12-13T04:25:06.516Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.361s coverage: 14.4% of statements [2023-12-13T04:25:06.516Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.836s coverage: 45.9% of statements [2023-12-13T04:25:06.516Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.406s coverage: 68.5% of statements [2023-12-13T04:25:06.516Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.431s coverage: 89.2% of statements [2023-12-13T04:25:07.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.227s coverage: 5.5% of statements [2023-12-13T04:25:08.458Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-13T04:25:08.458Z] GO111MODULE=on go vet ./... [2023-12-13T04:26:30.105Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-13T04:26:30.105Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-13T04:26:30.105Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-13T04:26:30.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-13T04:26:30.233Z] $ docker stop --time=1 10751c699ee3c43f4e6af64ee22c35ba610d69db971911de270e97c76c754955 [2023-12-13T04:26:33.923Z] $ docker rm -f --volumes 10751c699ee3c43f4e6af64ee22c35ba610d69db971911de270e97c76c754955 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-13T04:26:35.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-13T04:26:35.726Z] Warning: overwriting stash ‘coverage-report’ [2023-12-13T04:26:36.288Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-13T04:26:37.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-13T04:26:37.502Z] + ls -al . [2023-12-13T04:26:37.502Z] total 304 [2023-12-13T04:26:37.502Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 04:23 . [2023-12-13T04:26:37.502Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:20 .. [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 04:21 .dockerignore [2023-12-13T04:26:37.502Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 04:21 .git [2023-12-13T04:26:37.502Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:21 .github [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 137 Dec 13 04:21 .gitignore [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 04:21 .golangci.yml [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 48109 Dec 13 04:21 CHANGELOG.md [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 04:21 GOVERNANCE.md [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 885 Dec 13 04:21 Jenkinsfile [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 04:21 LICENSE [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 1842 Dec 13 04:21 Makefile [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 04:21 OWNERS.md [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 4933 Dec 13 04:21 README.md [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 13 04:18 VERSION [2023-12-13T04:26:37.502Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:21 bin [2023-12-13T04:26:37.502Z] -rw-r--r-- 1 jenkins jenkins 122153 Dec 13 04:25 coverage.out [2023-12-13T04:26:37.502Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 04:21 example [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 3719 Dec 13 04:21 go.mod [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 34269 Dec 13 04:21 go.sum [2023-12-13T04:26:37.502Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:21 internal [2023-12-13T04:26:37.502Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:21 openapi [2023-12-13T04:26:37.502Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 04:21 pkg [2023-12-13T04:26:37.502Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:21 snap [2023-12-13T04:26:37.502Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 04:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-13T04:26:38.108Z] + 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=cac41cf1a21432a5b65ec4de7cc4fddebb208b9c --label arch=arm64 --label version=0.0.0 . [2023-12-13T04:26:39.081Z] #0 building with "default" instance using docker driver [2023-12-13T04:26:39.081Z] [2023-12-13T04:26:39.081Z] #1 [internal] load .dockerignore [2023-12-13T04:26:39.081Z] #1 transferring context: 182B done [2023-12-13T04:26:39.081Z] #1 DONE 0.0s [2023-12-13T04:26:39.081Z] [2023-12-13T04:26:39.081Z] #2 [internal] load build definition from Dockerfile [2023-12-13T04:26:39.081Z] #2 transferring dockerfile: 1.54kB 0.0s done [2023-12-13T04:26:39.081Z] #2 DONE 0.0s [2023-12-13T04:26:39.081Z] [2023-12-13T04:26:39.081Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-13T04:26:39.081Z] #3 DONE 0.0s [2023-12-13T04:26:39.081Z] [2023-12-13T04:26:39.081Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-13T04:26:39.681Z] #4 DONE 1.0s [2023-12-13T04:26:39.955Z] [2023-12-13T04:26:39.955Z] #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-13T04:26:39.955Z] #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-13T04:26:39.955Z] #5 ... [2023-12-13T04:26:39.955Z] [2023-12-13T04:26:39.955Z] #6 [internal] load build context [2023-12-13T04:26:39.955Z] #6 transferring context: 137.06kB 0.1s done [2023-12-13T04:26:39.955Z] #6 DONE 0.1s [2023-12-13T04:26:39.955Z] [2023-12-13T04:26:39.955Z] #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-13T04:26:39.955Z] #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-13T04:26:39.955Z] #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-13T04:26:39.955Z] #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-13T04:26:39.955Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0B / 3.33MB 0.1s [2023-12-13T04:26:39.955Z] #5 ... [2023-12-13T04:26:39.955Z] [2023-12-13T04:26:39.955Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-13T04:26:39.955Z] #7 DONE 0.2s [2023-12-13T04:26:39.955Z] [2023-12-13T04:26:39.955Z] #8 [builder 2/7] WORKDIR /device-sdk-go [2023-12-13T04:26:39.955Z] #8 DONE 0.1s [2023-12-13T04:26:39.955Z] [2023-12-13T04:26:39.955Z] #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-13T04:26:39.955Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.2s [2023-12-13T04:26:40.226Z] #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done [2023-12-13T04:26:40.226Z] #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-13T04:26:40.836Z] #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done [2023-12-13T04:26:40.836Z] #5 DONE 1.0s [2023-12-13T04:26:40.836Z] [2023-12-13T04:26:40.836Z] #9 [stage-1 2/6] RUN apk add --update --no-cache [2023-12-13T04:26:41.420Z] #9 0.608 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-13T04:26:41.686Z] #9 0.971 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-13T04:26:42.650Z] #9 ... [2023-12-13T04:26:42.650Z] [2023-12-13T04:26:42.650Z] #10 [builder 3/7] RUN apk add --update --no-cache make git [2023-12-13T04:26:42.650Z] #10 0.737 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-13T04:26:42.650Z] #10 1.189 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-13T04:26:42.650Z] #10 2.295 OK: 266 MiB in 52 packages [2023-12-13T04:26:42.650Z] #10 DONE 2.6s [2023-12-13T04:26:42.917Z] [2023-12-13T04:26:42.917Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2023-12-13T04:26:42.917Z] #11 DONE 0.2s [2023-12-13T04:26:42.917Z] [2023-12-13T04:26:42.917Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-13T04:26:43.187Z] #12 ... [2023-12-13T04:26:43.187Z] [2023-12-13T04:26:43.187Z] #9 [stage-1 2/6] RUN apk add --update --no-cache [2023-12-13T04:26:43.187Z] #9 2.024 OK: 8 MiB in 15 packages [2023-12-13T04:26:43.187Z] #9 DONE 2.4s [2023-12-13T04:26:43.187Z] [2023-12-13T04:26:43.187Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-13T04:26:46.521Z] #12 DONE 3.4s [2023-12-13T04:26:46.521Z] [2023-12-13T04:26:46.521Z] #13 [builder 6/7] COPY . . [2023-12-13T04:26:46.787Z] #13 DONE 0.4s [2023-12-13T04:26:46.787Z] [2023-12-13T04:26:46.787Z] #14 [builder 7/7] RUN make build [2023-12-13T04:26:47.368Z] #14 0.567 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-13T04:27:55.203Z] #14 DONE 63.0s [2023-12-13T04:27:55.203Z] [2023-12-13T04:27:55.203Z] #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-12-13T04:27:55.203Z] #15 DONE 0.1s [2023-12-13T04:27:55.203Z] [2023-12-13T04:27:55.203Z] #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-12-13T04:27:55.203Z] #16 DONE 0.4s [2023-12-13T04:27:55.203Z] [2023-12-13T04:27:55.203Z] #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-12-13T04:27:55.203Z] #17 DONE 0.1s [2023-12-13T04:27:55.203Z] [2023-12-13T04:27:55.203Z] #18 exporting to image [2023-12-13T04:27:55.203Z] #18 exporting layers [2023-12-13T04:27:55.203Z] #18 exporting layers 0.3s done [2023-12-13T04:27:55.203Z] #18 writing image sha256:452f09e25b8a9c5ca755ec14172ee75216de55365570f5abdc4e9366ddd53191 done [2023-12-13T04:27:55.203Z] #18 naming to docker.io/library/device-sdk-simple-arm64 done [2023-12-13T04:27:55.203Z] #18 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-13T04:27:56.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-13T04:27:56.462Z] [2023-12-13T04:27:56.462Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-13T04:27:56.909Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-13T04:27:58.848Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-13T04:27:58.848Z] 8998bd30e6a1: Pulling fs layer [2023-12-13T04:27:58.848Z] 04944245beec: Pulling fs layer [2023-12-13T04:27:58.848Z] 699f458cf7ca: Pulling fs layer [2023-12-13T04:27:58.848Z] 765212b225bb: Pulling fs layer [2023-12-13T04:27:58.848Z] f23df028b6ca: Pulling fs layer [2023-12-13T04:27:58.848Z] d65c8cfc05b1: Pulling fs layer [2023-12-13T04:27:58.848Z] 2437ff75d9bd: Pulling fs layer [2023-12-13T04:27:58.848Z] f23df028b6ca: Waiting [2023-12-13T04:27:58.848Z] 765212b225bb: Waiting [2023-12-13T04:27:58.848Z] 2437ff75d9bd: Waiting [2023-12-13T04:27:58.848Z] d65c8cfc05b1: Waiting [2023-12-13T04:27:58.848Z] 04944245beec: Verifying Checksum [2023-12-13T04:27:58.848Z] 04944245beec: Download complete [2023-12-13T04:27:58.848Z] 765212b225bb: Verifying Checksum [2023-12-13T04:27:58.848Z] 765212b225bb: Download complete [2023-12-13T04:27:59.115Z] f23df028b6ca: Verifying Checksum [2023-12-13T04:27:59.115Z] f23df028b6ca: Download complete [2023-12-13T04:27:59.115Z] d65c8cfc05b1: Verifying Checksum [2023-12-13T04:27:59.115Z] d65c8cfc05b1: Download complete [2023-12-13T04:27:59.115Z] 699f458cf7ca: Verifying Checksum [2023-12-13T04:27:59.115Z] 699f458cf7ca: Download complete [2023-12-13T04:27:59.697Z] 8998bd30e6a1: Verifying Checksum [2023-12-13T04:27:59.697Z] 8998bd30e6a1: Download complete [2023-12-13T04:28:01.639Z] 2437ff75d9bd: Verifying Checksum [2023-12-13T04:28:01.639Z] 2437ff75d9bd: Download complete [2023-12-13T04:28:05.889Z] 8998bd30e6a1: Pull complete [2023-12-13T04:28:05.889Z] 04944245beec: Pull complete [2023-12-13T04:28:07.822Z] 699f458cf7ca: Pull complete [2023-12-13T04:28:07.822Z] 765212b225bb: Pull complete [2023-12-13T04:28:08.777Z] f23df028b6ca: Pull complete [2023-12-13T04:28:08.777Z] d65c8cfc05b1: Pull complete [2023-12-13T04:28:30.806Z] 2437ff75d9bd: Pull complete [2023-12-13T04:28:30.806Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-13T04:28:30.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-13T04:28:30.806Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-13T04:28:31.309Z] prd-ubuntu20.04-docker-arm64-4c-16g-24954 does not seem to be running inside a container [2023-12-13T04:28:31.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-12-13T04:28:33.609Z] $ docker top 5f03a036e84313d33d8c5395c96a8f825133e290f145ba9dc5bb38a2e122e419 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:28:34.298Z] ---> job-cost.sh [2023-12-13T04:28:34.564Z] lf-activate-venv: SKIPPING [2023-12-13T04:28:34.564Z] INFO: No Stack... [2023-12-13T04:28:34.830Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-13T04:28:35.789Z] INFO: Archiving Costs [Pipeline] sh [2023-12-13T04:28:36.128Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-12-13T04:28:36.128Z] + cut -d, -f6 [Pipeline] lock [2023-12-13T04:28:36.216Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1546-1-stack-cost] [2023-12-13T04:28:36.223Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1546-1-stack-cost] did not exist. Created. [2023-12-13T04:28:36.223Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1546-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-13T04:28:36.746Z] /w/workspace/device-sdk-go/1@tmp/durable-a8649448/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-13T04:28:37.100Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-13T04:28:37.137Z] Warning: overwriting stash ‘stack-cost’ [2023-12-13T04:28:37.235Z] Stashed 1 file(s) [Pipeline] } [2023-12-13T04:28:37.250Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1546-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-13T04:28:37.448Z] $ docker stop --time=1 5f03a036e84313d33d8c5395c96a8f825133e290f145ba9dc5bb38a2e122e419 [2023-12-13T04:28:41.996Z] $ docker rm -f --volumes 5f03a036e84313d33d8c5395c96a8f825133e290f145ba9dc5bb38a2e122e419 [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-13T04:28:44.397Z] provisioning config files... [2023-12-13T04:28:44.406Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp/config10664352099991765255tmp [Pipeline] { [Pipeline] sh [2023-12-13T04:28:44.845Z] + set +x [2023-12-13T04:28:44.845Z] + curl -s https://codecov.io/bash [2023-12-13T04:28:44.845Z] + bash -s -- [2023-12-13T04:28:45.105Z] [2023-12-13T04:28:45.105Z] _____ _ [2023-12-13T04:28:45.105Z] / ____| | | [2023-12-13T04:28:45.105Z] | | ___ __| | ___ ___ _____ __ [2023-12-13T04:28:45.105Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-13T04:28:45.105Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-13T04:28:45.105Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-13T04:28:45.105Z] Bash-1.0.6 [2023-12-13T04:28:45.105Z] [2023-12-13T04:28:45.105Z] [2023-12-13T04:28:45.105Z] ==> git version 2.25.1 found [2023-12-13T04:28:45.105Z] ==> 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-13T04:28:45.105Z] Release-Date: 2020-01-08 [2023-12-13T04:28:45.105Z] 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-13T04:28:45.105Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-13T04:28:45.105Z] ==> Jenkins CI detected. [2023-12-13T04:28:45.105Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1546 [2023-12-13T04:28:45.105Z] project root: . [2023-12-13T04:28:45.105Z] --> token set from env [2023-12-13T04:28:45.105Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-13T04:28:45.105Z] ==> Running gcov in . (disable via -X gcov) [2023-12-13T04:28:45.105Z] ==> Python coveragepy not found [2023-12-13T04:28:45.105Z] ==> Searching for coverage reports in: [2023-12-13T04:28:45.105Z] + . [2023-12-13T04:28:45.105Z] -> Found 1 reports [2023-12-13T04:28:45.105Z] ==> Detecting git/mercurial file structure [2023-12-13T04:28:45.105Z] ==> Reading reports [2023-12-13T04:28:45.105Z] + ./coverage.out bytes=122153 [2023-12-13T04:28:45.105Z] ==> Appending adjustments [2023-12-13T04:28:45.105Z] https://docs.codecov.io/docs/fixing-reports [2023-12-13T04:28:45.365Z] + Found adjustments [2023-12-13T04:28:45.365Z] ==> Gzipping contents [2023-12-13T04:28:45.365Z] 20K /tmp/codecov.2Zr4vA.gz [2023-12-13T04:28:45.365Z] ==> Uploading reports [2023-12-13T04:28:45.365Z] url: https://codecov.io [2023-12-13T04:28:45.365Z] query: branch=PR-1546&commit=cac41cf1a21432a5b65ec4de7cc4fddebb208b9c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1546%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1546&job=&cmd_args= [2023-12-13T04:28:45.365Z] -> Pinging Codecov [2023-12-13T04:28:45.366Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1546&commit=cac41cf1a21432a5b65ec4de7cc4fddebb208b9c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1546%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1546&job=&cmd_args= [2023-12-13T04:28:45.625Z] -> Uploading to [2023-12-13T04:28:45.625Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-13/7E55EF52A471D76F132DFD9A03CDDE97/cac41cf1a21432a5b65ec4de7cc4fddebb208b9c/9ae2ce70-d15f-4356-a264-f21f1058ac27.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231213T042845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88d106949e5a8383b0efb0a84d3f20baaec198ff9212732e6cd302c909a02a6a [2023-12-13T04:28:45.625Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-13T04:28:45.625Z] Dload Upload Total Spent Left Speed [2023-12-13T04:28:45.885Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16779 0 0 100 16779 0 69622 --:--:-- --:--:-- --:--:-- 69622 [2023-12-13T04:28:45.885Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/cac41cf1a21432a5b65ec4de7cc4fddebb208b9c [Pipeline] } [2023-12-13T04:28:45.912Z] 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-13T04:28:49.523Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1546/archives ] [2023-12-13T04:28:49.523Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1546/archives [2023-12-13T04:28:49.523Z] total 16 [2023-12-13T04:28:49.523Z] drwxr-xr-x 3 root root 4096 Dec 13 04:21 . [2023-12-13T04:28:49.523Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:21 .. [2023-12-13T04:28:49.523Z] drwxr-xr-x 2 root root 4096 Dec 13 04:21 cost [2023-12-13T04:28:49.523Z] -rw-r--r-- 1 root root 86 Dec 13 04:21 cost.csv [2023-12-13T04:28:49.523Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1546/archives [2023-12-13T04:28:49.523Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1546/archives [2023-12-13T04:28:49.523Z] total 16 [2023-12-13T04:28:49.523Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 04:21 . [2023-12-13T04:28:49.523Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:21 .. [2023-12-13T04:28:49.523Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 04:21 cost [2023-12-13T04:28:49.523Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 13 04:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:28:49.857Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:28:50.752Z] ---> package-listing.sh [2023-12-13T04:28:50.752Z] ++ facter osfamily [2023-12-13T04:28:50.752Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-13T04:28:51.012Z] + OS_FAMILY=debian [2023-12-13T04:28:51.012Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1546 [2023-12-13T04:28:51.012Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-13T04:28:51.012Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-13T04:28:51.012Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-13T04:28:51.012Z] + PACKAGES=/tmp/packages_start.txt [2023-12-13T04:28:51.012Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1546 ']' [2023-12-13T04:28:51.012Z] + PACKAGES=/tmp/packages_end.txt [2023-12-13T04:28:51.012Z] + case "${OS_FAMILY}" in [2023-12-13T04:28:51.012Z] + dpkg -l [2023-12-13T04:28:51.012Z] + grep '^ii' [2023-12-13T04:28:51.012Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-13T04:28:51.012Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-13T04:28:51.012Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-13T04:28:51.012Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1546 ']' [2023-12-13T04:28:51.012Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1546/archives/ [2023-12-13T04:28:51.012Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1546/archives/ [Pipeline] echo [2023-12-13T04:28:51.042Z] 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-1546/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-12-13T04:28:51.337Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-13T04:28:52.014Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-13T04:28:52.014Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-13T04:28:52.281Z] prd-ubuntu20.04-docker-8c-8g-24953 does not seem to be running inside a container [2023-12-13T04:28:52.322Z] $ 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-1546/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-1546 -v /w/workspace/gexfoundry_device-sdk-go_PR-1546:/w/workspace/gexfoundry_device-sdk-go_PR-1546:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-13T04:28:52.503Z] $ docker top 9eaf63c6a85be840482c80f8778b2fa044508201fb5be90ffdf41b89f50e72fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-13T04:28:52.996Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-13T04:28:53.315Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-13T04:28:53.634Z] + ls /var/log/sa-host [2023-12-13T04:28:53.635Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-13T04:28:53.943Z] provisioning config files... [2023-12-13T04:28:53.956Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1546@tmp/config16167204692831356504tmp [Pipeline] { [Pipeline] echo [2023-12-13T04:28:54.140Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:28:54.454Z] ---> create-netrc.sh [Pipeline] } [2023-12-13T04:28:54.483Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:28:55.007Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-13T04:28:55.045Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:28:55.360Z] ---> sudo-logs.sh [2023-12-13T04:28:55.360Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-13T04:28:55.560Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:28:55.880Z] ---> job-cost.sh [2023-12-13T04:28:55.880Z] lf-activate-venv: SKIPPING [2023-12-13T04:28:55.880Z] DEBUG: total: 0.2199999988079071 [2023-12-13T04:28:55.880Z] INFO: Retrieving Stack Cost... [2023-12-13T04:28:56.139Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-13T04:28:56.709Z] INFO: Archiving Costs [Pipeline] echo [2023-12-13T04:28:56.746Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-13T04:28:57.069Z] ---> logs-deploy.sh [2023-12-13T04:28:57.069Z] lf-activate-venv: SKIPPING [2023-12-13T04:28:57.069Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1546/1 [2023-12-13T04:28:57.069Z] INFO: archiving workspace using pattern(s): [2023-12-13T04:28:58.010Z] Archives upload complete. [2023-12-13T04:28:58.010Z] INFO: archiving logs to Nexus