Pull request #1565 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ce178c8c17500841a6f4a6a782eb47f81bbc4242+f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 (e2f86151ab45b26424318ffb07a3888d62c04371) 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-ssh5936545337056408438.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-ssh15377250535915544569.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-1565/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-1565/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17219828331590925873.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-1565/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15188656878788254236.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-ssh16886697195390670041.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-1565/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-1565/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11928461123039863590.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-5561 in /w/workspace/gexfoundry_device-sdk-go_PR-1565 [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-1565 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 into PR head commit ce178c8c17500841a6f4a6a782eb47f81bbc4242 Merge succeeded, producing ce178c8c17500841a6f4a6a782eb47f81bbc4242 Checking out Revision ce178c8c17500841a6f4a6a782eb47f81bbc4242 (PR-1565) Commit message: "build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.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] { > 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/1565/head:refs/remotes/origin/PR-1565 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce178c8c17500841a6f4a6a782eb47f81bbc4242 # 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 f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce178c8c17500841a6f4a6a782eb47f81bbc4242 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-13T23:32:49.908Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-13T23:32:50.163Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-13T23:32:50.271Z] ========================================================= [2024-03-13T23:32:50.271Z] EdgeX Global Pipelines Version Info [2024-03-13T23:32:50.271Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:32:51.033Z] ------------------- [2024-03-13T23:32:51.033Z] stable info: [2024-03-13T23:32:51.033Z] ------------------- [2024-03-13T23:32:51.033Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-13T23:32:51.033Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-13T23:32:51.033Z] Message: update stable to v1.0.258 [2024-03-13T23:32:51.606Z] ------------------- [2024-03-13T23:32:51.606Z] experimental info: [2024-03-13T23:32:51.606Z] ------------------- [2024-03-13T23:32:51.606Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-13T23:32:51.606Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-13T23:32:51.606Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-13T23:32:51.826Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-03-13T23:32:51.874Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-03-13T23:32:51.931Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-13T23:32:51.988Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-13T23:32:52.075Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-13T23:32:52.138Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-13T23:32:52.203Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-13T23:32:52.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-03-13T23:32:52.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-13T23:32:52.391Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-13T23:32:52.450Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-13T23:32:52.506Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-03-13T23:32:52.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-13T23:32:52.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-13T23:32:52.705Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-13T23:32:52.774Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-03-13T23:32:52.838Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-13T23:32:52.914Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-13T23:32:53.021Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-13T23:32:53.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-13T23:32:53.150Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-03-13T23:32:53.216Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-03-13T23:32:53.286Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-13T23:32:53.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-13T23:32:53.428Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-13T23:32:53.496Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-13T23:32:53.568Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-13T23:32:53.649Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1565 [Pipeline] echo [2024-03-13T23:32:53.730Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1565 [Pipeline] echo [2024-03-13T23:32:53.804Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1565 [Pipeline] echo [2024-03-13T23:32:53.886Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce178c8c17500841a6f4a6a782eb47f81bbc4242 [Pipeline] echo [2024-03-13T23:32:53.971Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce178c8 [Pipeline] echo [2024-03-13T23:32:54.045Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:32:54.211Z] provisioning config files... [2024-03-13T23:32:54.260Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/config17055344896354306978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:32:54.644Z] ---> ****-login.sh [2024-03-13T23:32:54.644Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:32:54.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:32:54.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:32:54.906Z] Configure a credential helper to remove this warning. See [2024-03-13T23:32:54.906Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:32:54.906Z] [2024-03-13T23:32:54.906Z] Login Succeeded [2024-03-13T23:32:54.906Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:32:54.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:32:54.906Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:32:54.907Z] Configure a credential helper to remove this warning. See [2024-03-13T23:32:54.907Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:32:54.907Z] [2024-03-13T23:32:54.907Z] Login Succeeded [2024-03-13T23:32:54.907Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:32:54.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:32:55.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:32:55.166Z] Configure a credential helper to remove this warning. See [2024-03-13T23:32:55.166Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:32:55.166Z] [2024-03-13T23:32:55.166Z] Login Succeeded [2024-03-13T23:32:55.166Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:32:55.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:32:55.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:32:55.167Z] Configure a credential helper to remove this warning. See [2024-03-13T23:32:55.167Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:32:55.167Z] [2024-03-13T23:32:55.167Z] Login Succeeded [2024-03-13T23:32:55.167Z] ****.io [2024-03-13T23:32:55.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:32:55.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:32:55.426Z] Configure a credential helper to remove this warning. See [2024-03-13T23:32:55.426Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:32:55.426Z] [2024-03-13T23:32:55.426Z] Login Succeeded [2024-03-13T23:32:55.426Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:32:55.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-13T23:32:56.261Z] + git rev-list -1 --merges ce178c8c17500841a6f4a6a782eb47f81bbc4242~1..ce178c8c17500841a6f4a6a782eb47f81bbc4242 [Pipeline] echo [2024-03-13T23:32:56.309Z] -----------> git rev-list -1 --merges ce178c8c17500841a6f4a6a782eb47f81bbc4242~1..ce178c8c17500841a6f4a6a782eb47f81bbc4242 ce178c8c17500841a6f4a6a782eb47f81bbc4242 [false] [Pipeline] sh [2024-03-13T23:32:56.643Z] + git log --format=format:%s -1 ce178c8c17500841a6f4a6a782eb47f81bbc4242 [Pipeline] echo [2024-03-13T23:32:56.687Z] ========================================================= [2024-03-13T23:32:56.687Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-13T23:32:56.687Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:32:57.223Z] + git log --format=format:%s -1 ce178c8c17500841a6f4a6a782eb47f81bbc4242 [Pipeline] echo [2024-03-13T23:32:57.261Z] [semverPrep] GIT_COMMIT: ce178c8c17500841a6f4a6a782eb47f81bbc4242, Commit Message: build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 [Pipeline] echo [2024-03-13T23:32:57.314Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-13T23:32:57.742Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-13T23:32:57.742Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-13T23:32:57.742Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-13T23:32:57.742Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-13T23:32:57.742Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-13T23:32:57.742Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-13T23:32:57.742Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:32:58.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:32:58.204Z] [2024-03-13T23:32:58.204Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:32:58.600Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:32:58.600Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-13T23:32:58.600Z] b85a868b505f: Pulling fs layer [2024-03-13T23:32:58.600Z] e2be974225ed: Pulling fs layer [2024-03-13T23:32:58.600Z] 339a4e72a1f5: Pulling fs layer [2024-03-13T23:32:58.600Z] 988bab9f4d93: Pulling fs layer [2024-03-13T23:32:58.600Z] 1469e6f7b9e6: Pulling fs layer [2024-03-13T23:32:58.600Z] eaf3925da568: Pulling fs layer [2024-03-13T23:32:58.600Z] bab4dde63d76: Pulling fs layer [2024-03-13T23:32:58.600Z] bde34c3a00c8: Pulling fs layer [2024-03-13T23:32:58.600Z] b352a97aabf1: Pulling fs layer [2024-03-13T23:32:58.600Z] 4872d77fe225: Pulling fs layer [2024-03-13T23:32:58.600Z] 5851b861e8e6: Pulling fs layer [2024-03-13T23:32:58.600Z] 988bab9f4d93: Waiting [2024-03-13T23:32:58.600Z] 1469e6f7b9e6: Waiting [2024-03-13T23:32:58.600Z] eaf3925da568: Waiting [2024-03-13T23:32:58.600Z] bab4dde63d76: Waiting [2024-03-13T23:32:58.600Z] 4872d77fe225: Waiting [2024-03-13T23:32:58.600Z] bde34c3a00c8: Waiting [2024-03-13T23:32:58.600Z] 5851b861e8e6: Waiting [2024-03-13T23:32:58.600Z] b352a97aabf1: Waiting [2024-03-13T23:32:58.600Z] e2be974225ed: Verifying Checksum [2024-03-13T23:32:58.600Z] e2be974225ed: Download complete [2024-03-13T23:32:58.600Z] 988bab9f4d93: Verifying Checksum [2024-03-13T23:32:58.600Z] 988bab9f4d93: Download complete [2024-03-13T23:32:58.600Z] 1469e6f7b9e6: Verifying Checksum [2024-03-13T23:32:58.600Z] 1469e6f7b9e6: Download complete [2024-03-13T23:32:58.861Z] 339a4e72a1f5: Verifying Checksum [2024-03-13T23:32:58.861Z] 339a4e72a1f5: Download complete [2024-03-13T23:32:58.861Z] eaf3925da568: Verifying Checksum [2024-03-13T23:32:58.861Z] eaf3925da568: Download complete [2024-03-13T23:32:58.861Z] bde34c3a00c8: Verifying Checksum [2024-03-13T23:32:58.861Z] bde34c3a00c8: Download complete [2024-03-13T23:32:58.861Z] b352a97aabf1: Download complete [2024-03-13T23:32:58.861Z] 4872d77fe225: Verifying Checksum [2024-03-13T23:32:58.861Z] 4872d77fe225: Download complete [2024-03-13T23:32:58.861Z] 5851b861e8e6: Download complete [2024-03-13T23:32:58.861Z] b85a868b505f: Download complete [2024-03-13T23:32:59.121Z] bab4dde63d76: Verifying Checksum [2024-03-13T23:32:59.121Z] bab4dde63d76: Download complete [2024-03-13T23:33:00.155Z] b85a868b505f: Pull complete [2024-03-13T23:33:00.155Z] e2be974225ed: Pull complete [2024-03-13T23:33:00.736Z] 339a4e72a1f5: Pull complete [2024-03-13T23:33:01.001Z] 988bab9f4d93: Pull complete [2024-03-13T23:33:01.262Z] 1469e6f7b9e6: Pull complete [2024-03-13T23:33:01.262Z] eaf3925da568: Pull complete [2024-03-13T23:33:03.167Z] bab4dde63d76: Pull complete [2024-03-13T23:33:03.167Z] bde34c3a00c8: Pull complete [2024-03-13T23:33:03.433Z] b352a97aabf1: Pull complete [2024-03-13T23:33:03.433Z] 4872d77fe225: Pull complete [2024-03-13T23:33:03.433Z] 5851b861e8e6: Pull complete [2024-03-13T23:33:03.433Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-13T23:33:03.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-13T23:33:03.433Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:33:03.796Z] prd-ubuntu20.04-docker-8c-8g-5561 does not seem to be running inside a container [2024-03-13T23:33:03.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1565 -v /w/workspace/gexfoundry_device-sdk-go_PR-1565:/w/workspace/gexfoundry_device-sdk-go_PR-1565:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1565@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-13T23:33:07.470Z] $ docker top 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c -eo pid,comm [2024-03-13T23:33:07.526Z] 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). [2024-03-13T23:33:07.526Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-13T23:33:07.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-13T23:33:07.718Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-13T23:33:07.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-13T23:33:07.835Z] $ docker exec 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c ssh-agent [2024-03-13T23:33:07.947Z] SSH_AUTH_SOCK=/tmp/ssh-phIneUpzLMwR/agent.32 [2024-03-13T23:33:07.947Z] SSH_AGENT_PID=38 [2024-03-13T23:33:07.953Z] Running ssh-add (command line suppressed) [2024-03-13T23:33:08.057Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/private_key_12219405378252718197.key (/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/private_key_12219405378252718197.key) [2024-03-13T23:33:08.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-13T23:33:08.421Z] + git tag --points-at HEAD [Pipeline] } [2024-03-13T23:33:08.449Z] $ docker exec --env ******** --env ******** 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c ssh-agent -k [2024-03-13T23:33:08.554Z] unset SSH_AUTH_SOCK; [2024-03-13T23:33:08.555Z] unset SSH_AGENT_PID; [2024-03-13T23:33:08.555Z] echo Agent pid 38 killed; [2024-03-13T23:33:08.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-13T23:33:08.699Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-13T23:33:08.699Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-13T23:33:08.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-13T23:33:08.817Z] $ docker exec 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c ssh-agent [2024-03-13T23:33:08.919Z] SSH_AUTH_SOCK=/tmp/ssh-0D1j2SbBEsMt/agent.70 [2024-03-13T23:33:08.919Z] SSH_AGENT_PID=76 [2024-03-13T23:33:08.923Z] Running ssh-add (command line suppressed) [2024-03-13T23:33:09.018Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/private_key_13072811727011628485.key (/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/private_key_13072811727011628485.key) [2024-03-13T23:33:09.032Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-13T23:33:09.385Z] + git semver init [2024-03-13T23:33:09.645Z] 2024-03-13 23:33:09,563 [run_init] DEBUG init version:0.0.0 force:False [2024-03-13T23:33:09.645Z] 2024-03-13 23:33:09,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver [2024-03-13T23:33:09.645Z] 2024-03-13 23:33:09,564 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver [2024-03-13T23:33:09.645Z] 2024-03-13 23:33:09,565 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1565, universal_newlines=False, shell=None, istream=None) [2024-03-13T23:33:11.025Z] 2024-03-13 23:33:10,825 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565/.git/info/exclude [2024-03-13T23:33:11.025Z] 2024-03-13 23:33:10,826 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver/PR-1565 with force:False [2024-03-13T23:33:11.025Z] 2024-03-13 23:33:10,826 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver/PR-1565 [2024-03-13T23:33:11.025Z] 2024-03-13 23:33:10,830 [execute] INFO git cat-file --batch-check [2024-03-13T23:33:11.025Z] 2024-03-13 23:33:10,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver, universal_newlines=False, shell=None, istream=) [2024-03-13T23:33:11.025Z] 2024-03-13 23:33:10,837 [execute] INFO git cat-file --batch [2024-03-13T23:33:11.025Z] 2024-03-13 23:33:10,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver, universal_newlines=False, shell=None, istream=) [2024-03-13T23:33:11.025Z] 2024-03-13 23:33:10,843 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver/PR-1565 [2024-03-13T23:33:11.025Z] 0.0.0 [Pipeline] } [2024-03-13T23:33:11.266Z] $ docker exec --env ******** --env ******** 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c ssh-agent -k [2024-03-13T23:33:11.358Z] unset SSH_AUTH_SOCK; [2024-03-13T23:33:11.358Z] unset SSH_AGENT_PID; [2024-03-13T23:33:11.358Z] echo Agent pid 76 killed; [2024-03-13T23:33:11.370Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-13T23:33:11.896Z] + git semver [Pipeline] } [2024-03-13T23:33:12.182Z] $ docker stop --time=1 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c [2024-03-13T23:33:13.470Z] $ docker rm -f --volumes 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:33:13.924Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-13T23:33:14.314Z] Stashed 1 file(s) [Pipeline] echo [2024-03-13T23:33:14.330Z] [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 [2024-03-13T23:33:15.285Z] provisioning config files... [2024-03-13T23:33:15.309Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/config17798614763714442582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:33:15.691Z] ---> ****-login.sh [2024-03-13T23:33:15.691Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:33:15.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:33:15.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:33:15.691Z] Configure a credential helper to remove this warning. See [2024-03-13T23:33:15.691Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:33:15.691Z] [2024-03-13T23:33:15.691Z] Login Succeeded [2024-03-13T23:33:15.691Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:33:15.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:33:15.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:33:15.691Z] Configure a credential helper to remove this warning. See [2024-03-13T23:33:15.691Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:33:15.691Z] [2024-03-13T23:33:15.691Z] Login Succeeded [2024-03-13T23:33:15.691Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:33:15.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:33:15.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:33:15.952Z] Configure a credential helper to remove this warning. See [2024-03-13T23:33:15.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:33:15.952Z] [2024-03-13T23:33:15.952Z] Login Succeeded [2024-03-13T23:33:15.952Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:33:15.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:33:15.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:33:15.952Z] Configure a credential helper to remove this warning. See [2024-03-13T23:33:15.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:33:15.952Z] [2024-03-13T23:33:15.952Z] Login Succeeded [2024-03-13T23:33:15.952Z] ****.io [2024-03-13T23:33:16.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:33:16.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:33:16.212Z] Configure a credential helper to remove this warning. See [2024-03-13T23:33:16.212Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:33:16.212Z] [2024-03-13T23:33:16.212Z] Login Succeeded [2024-03-13T23:33:16.212Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:33:16.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-13T23:33:16.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:33:16.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:33:16.708Z] ========================================================= [2024-03-13T23:33:16.708Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-13T23:33:16.708Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:33:17.272Z] + 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 . [2024-03-13T23:33:17.272Z] Sending build context to Docker daemon 21.96MB [2024-03-13T23:33:17.272Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:33:17.272Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-13T23:33:17.531Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-13T23:33:17.531Z] 7264a8db6415: Pulling fs layer [2024-03-13T23:33:17.531Z] c4d48a809fc2: Pulling fs layer [2024-03-13T23:33:17.531Z] 4f1c88b9dad5: Pulling fs layer [2024-03-13T23:33:17.531Z] ad3a456e5733: Pulling fs layer [2024-03-13T23:33:17.531Z] 69c7f0334f64: Pulling fs layer [2024-03-13T23:33:17.531Z] 1f1c1a5573a3: Pulling fs layer [2024-03-13T23:33:17.531Z] ce7588e14bc9: Pulling fs layer [2024-03-13T23:33:17.531Z] b5e4710f87ac: Pulling fs layer [2024-03-13T23:33:17.531Z] ad3a456e5733: Waiting [2024-03-13T23:33:17.531Z] ce7588e14bc9: Waiting [2024-03-13T23:33:17.531Z] b5e4710f87ac: Waiting [2024-03-13T23:33:17.531Z] 69c7f0334f64: Waiting [2024-03-13T23:33:17.531Z] 1f1c1a5573a3: Waiting [2024-03-13T23:33:17.531Z] c4d48a809fc2: Verifying Checksum [2024-03-13T23:33:17.531Z] c4d48a809fc2: Download complete [2024-03-13T23:33:17.531Z] ad3a456e5733: Download complete [2024-03-13T23:33:17.531Z] 69c7f0334f64: Verifying Checksum [2024-03-13T23:33:17.531Z] 69c7f0334f64: Download complete [2024-03-13T23:33:17.531Z] 7264a8db6415: Verifying Checksum [2024-03-13T23:33:17.531Z] 7264a8db6415: Download complete [2024-03-13T23:33:17.531Z] 1f1c1a5573a3: Verifying Checksum [2024-03-13T23:33:17.531Z] 1f1c1a5573a3: Download complete [2024-03-13T23:33:17.792Z] b5e4710f87ac: Verifying Checksum [2024-03-13T23:33:17.792Z] b5e4710f87ac: Download complete [2024-03-13T23:33:17.792Z] 7264a8db6415: Pull complete [2024-03-13T23:33:17.792Z] c4d48a809fc2: Pull complete [2024-03-13T23:33:17.792Z] 4f1c88b9dad5: Verifying Checksum [2024-03-13T23:33:17.792Z] 4f1c88b9dad5: Download complete [2024-03-13T23:33:18.365Z] ce7588e14bc9: Verifying Checksum [2024-03-13T23:33:18.365Z] ce7588e14bc9: Download complete [2024-03-13T23:33:21.667Z] 4f1c88b9dad5: Pull complete [2024-03-13T23:33:21.667Z] ad3a456e5733: Pull complete [2024-03-13T23:33:21.667Z] 69c7f0334f64: Pull complete [2024-03-13T23:33:21.667Z] 1f1c1a5573a3: Pull complete [2024-03-13T23:33:23.601Z] ce7588e14bc9: Pull complete [2024-03-13T23:33:24.175Z] b5e4710f87ac: Pull complete [2024-03-13T23:33:24.175Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-13T23:33:24.175Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-13T23:33:24.175Z] ---> 88b5674ff536 [2024-03-13T23:33:24.175Z] Step 3/10 : ARG MAKE=make build [2024-03-13T23:33:30.007Z] Still waiting to schedule task [2024-03-13T23:33:30.007Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-13T23:33:32.377Z] ---> Running in 5b710cdf8d23 [2024-03-13T23:33:32.377Z] Removing intermediate container 5b710cdf8d23 [2024-03-13T23:33:32.377Z] ---> ffe1e1e3b436 [2024-03-13T23:33:32.377Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-13T23:33:32.377Z] ---> Running in 74b34e5c8779 [2024-03-13T23:33:32.377Z] Removing intermediate container 74b34e5c8779 [2024-03-13T23:33:32.377Z] ---> 901f34138863 [2024-03-13T23:33:32.377Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-13T23:33:32.377Z] ---> Running in cc9bf71cfa17 [2024-03-13T23:33:32.377Z] Removing intermediate container cc9bf71cfa17 [2024-03-13T23:33:32.377Z] ---> d6f89df0030e [2024-03-13T23:33:32.377Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-13T23:33:32.377Z] ---> Running in b1458302fd46 [2024-03-13T23:33:32.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:33:32.377Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:33:32.377Z] OK: 264 MiB in 52 packages [2024-03-13T23:33:32.638Z] Removing intermediate container b1458302fd46 [2024-03-13T23:33:32.638Z] ---> f766409f28af [2024-03-13T23:33:32.638Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-13T23:33:32.898Z] ---> 2947fec98032 [2024-03-13T23:33:32.898Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:33:32.898Z] ---> Running in f2c51002174c [2024-03-13T23:34:11.881Z] Removing intermediate container f2c51002174c [2024-03-13T23:34:11.881Z] ---> 9948fd2e070b [2024-03-13T23:34:11.881Z] Step 9/10 : COPY . . [2024-03-13T23:34:11.881Z] ---> 203928aedd20 [2024-03-13T23:34:11.881Z] Step 10/10 : RUN ${MAKE} [2024-03-13T23:34:11.881Z] ---> Running in 253bf93ffcbb [2024-03-13T23:34:11.881Z] noop [2024-03-13T23:34:11.881Z] Removing intermediate container 253bf93ffcbb [2024-03-13T23:34:11.881Z] ---> 66b00f8cb82b [2024-03-13T23:34:11.881Z] Successfully built 66b00f8cb82b [2024-03-13T23:34:11.881Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:34:12.445Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-13T23:34:12.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:34:12.656Z] prd-ubuntu20.04-docker-8c-8g-5561 does not seem to be running inside a container [2024-03-13T23:34:12.689Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1565 -v /w/workspace/gexfoundry_device-sdk-go_PR-1565:/w/workspace/gexfoundry_device-sdk-go_PR-1565:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-13T23:34:13.033Z] $ docker top eb84c05945622c608b13b8be4235046ef35ee8b6297f821a6a76708036e23d68 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:34:13.477Z] + go version [2024-03-13T23:34:13.477Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-13T23:34:13.509Z] $ docker stop --time=1 eb84c05945622c608b13b8be4235046ef35ee8b6297f821a6a76708036e23d68 [2024-03-13T23:34:14.756Z] $ docker rm -f --volumes eb84c05945622c608b13b8be4235046ef35ee8b6297f821a6a76708036e23d68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:34:15.775Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-13T23:34:15.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:34:16.034Z] prd-ubuntu20.04-docker-8c-8g-5561 does not seem to be running inside a container [2024-03-13T23:34:16.068Z] $ 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-1565 -v /w/workspace/gexfoundry_device-sdk-go_PR-1565:/w/workspace/gexfoundry_device-sdk-go_PR-1565:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-13T23:34:16.406Z] $ docker top 2e1acd3b24e742a7df04db3912a177d87ff3999a5a24dd2b42005a090cca6f5f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:34:16.879Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1565 [Pipeline] fileExists [Pipeline] sh [2024-03-13T23:34:17.266Z] + make test [2024-03-13T23:34:17.266Z] go test -race -coverprofile=coverage.out ./... [2024-03-13T23:34:23.834Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-13T23:34:38.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-13T23:34:38.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-13T23:34:38.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-13T23:34:38.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-13T23:34:38.718Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-13T23:34:38.985Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-13T23:34:38.985Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-13T23:34:39.937Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.040s coverage: 27.6% of statements [2024-03-13T23:34:39.937Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.042s coverage: 81.5% of statements [2024-03-13T23:34:39.937Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.065s coverage: 86.0% of statements [2024-03-13T23:34:39.937Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-13T23:34:41.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-13T23:34:41.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-13T23:34:41.325Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.100s coverage: 71.8% of statements [2024-03-13T23:34:41.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-13T23:34:44.630Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.056s coverage: 14.4% of statements [2024-03-13T23:34:44.630Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.865s coverage: 45.9% of statements [2024-03-13T23:34:44.630Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.084s coverage: 68.5% of statements [2024-03-13T23:34:44.630Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.112s coverage: 89.2% of statements [2024-03-13T23:34:44.630Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.048s coverage: 5.5% of statements [2024-03-13T23:35:06.614Z] GO111MODULE=on go vet ./... [2024-03-13T23:35:09.142Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-13T23:35:09.142Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-13T23:35:09.425Z] ./bin/test-attribution-txt.sh [2024-03-13T23:35:09.425Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-13T23:35:09.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-13T23:35:09.542Z] $ docker stop --time=1 2e1acd3b24e742a7df04db3912a177d87ff3999a5a24dd2b42005a090cca6f5f [2024-03-13T23:35:14.423Z] $ docker rm -f --volumes 2e1acd3b24e742a7df04db3912a177d87ff3999a5a24dd2b42005a090cca6f5f [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:35:15.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-13T23:35:15.382Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-13T23:35:16.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-13T23:35:16.492Z] + ls -al . [2024-03-13T23:35:16.492Z] total 308 [2024-03-13T23:35:16.492Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 23:34 . [2024-03-13T23:35:16.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:32 .. [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 23:32 .dockerignore [2024-03-13T23:35:16.492Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:34 .git [2024-03-13T23:35:16.492Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:32 .github [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 13 23:32 .gitignore [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 23:32 .golangci.yml [2024-03-13T23:35:16.492Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:33 .semver [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 13 23:32 CHANGELOG.md [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 23:32 GOVERNANCE.md [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 13 23:32 Jenkinsfile [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 13 23:32 LICENSE [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 13 23:32 Makefile [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 13 23:32 OWNERS.md [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 13 23:32 README.md [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 23:33 VERSION [2024-03-13T23:35:16.492Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:32 bin [2024-03-13T23:35:16.492Z] -rw-r--r-- 1 jenkins jenkins 122153 Mar 13 23:34 coverage.out [2024-03-13T23:35:16.492Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 13 23:32 example [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 13 23:32 go.mod [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 35399 Mar 13 23:32 go.sum [2024-03-13T23:35:16.492Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 23:32 internal [2024-03-13T23:35:16.492Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:32 openapi [2024-03-13T23:35:16.492Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 23:32 pkg [2024-03-13T23:35:16.492Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:32 snap [2024-03-13T23:35:16.492Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 13 23:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:35:16.964Z] + 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=ce178c8c17500841a6f4a6a782eb47f81bbc4242 --label arch=amd64 --label version=0.0.0 . [2024-03-13T23:35:16.964Z] Sending build context to Docker daemon 22.09MB [2024-03-13T23:35:16.964Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:35:16.964Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-13T23:35:16.964Z] ---> 66b00f8cb82b [2024-03-13T23:35:16.964Z] Step 3/23 : ARG MAKE=make build [2024-03-13T23:35:17.225Z] ---> Running in 8825ac65b085 [2024-03-13T23:35:17.484Z] Removing intermediate container 8825ac65b085 [2024-03-13T23:35:17.484Z] ---> 261ce7546559 [2024-03-13T23:35:17.484Z] Step 4/23 : WORKDIR /device-sdk-go [2024-03-13T23:35:17.484Z] ---> Running in a1fe66a64137 [2024-03-13T23:35:17.484Z] Removing intermediate container a1fe66a64137 [2024-03-13T23:35:17.484Z] ---> 1160fe85f501 [2024-03-13T23:35:17.484Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-13T23:35:17.484Z] ---> Running in ccc5b096fe0c [2024-03-13T23:35:17.484Z] Removing intermediate container ccc5b096fe0c [2024-03-13T23:35:17.484Z] ---> 86d8103b0ac7 [2024-03-13T23:35:17.484Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-03-13T23:35:17.744Z] ---> Running in 7716b9cc3b14 [2024-03-13T23:35:18.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:35:18.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:35:18.572Z] OK: 264 MiB in 52 packages [2024-03-13T23:35:18.831Z] Removing intermediate container 7716b9cc3b14 [2024-03-13T23:35:18.831Z] ---> a9484b1af4d9 [2024-03-13T23:35:18.831Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-13T23:35:18.831Z] ---> 1b50aba7bf7e [2024-03-13T23:35:18.831Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:35:18.831Z] ---> Running in 526e6b33f60c [2024-03-13T23:35:19.396Z] Removing intermediate container 526e6b33f60c [2024-03-13T23:35:19.396Z] ---> 0929c447600f [2024-03-13T23:35:19.396Z] Step 9/23 : COPY . . [2024-03-13T23:35:20.334Z] ---> 0576eb1c4964 [2024-03-13T23:35:20.334Z] Step 10/23 : RUN ${MAKE} [2024-03-13T23:35:20.334Z] ---> Running in d6bfe09a209c [2024-03-13T23:35:20.595Z] 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 [2024-03-13T23:35:43.853Z] Removing intermediate container d6bfe09a209c [2024-03-13T23:35:43.853Z] ---> f3f84f92134c [2024-03-13T23:35:43.853Z] Step 11/23 : FROM alpine:3.18 [2024-03-13T23:35:43.853Z] 3.18: Pulling from library/alpine [2024-03-13T23:35:43.853Z] 619be1103602: Pulling fs layer [2024-03-13T23:35:43.853Z] 619be1103602: Verifying Checksum [2024-03-13T23:35:43.853Z] 619be1103602: Download complete [2024-03-13T23:35:43.853Z] 619be1103602: Pull complete [2024-03-13T23:35:43.853Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-13T23:35:43.853Z] Status: Downloaded newer image for alpine:3.18 [2024-03-13T23:35:43.853Z] ---> d3782b16ccc9 [2024-03-13T23:35:43.853Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-13T23:35:43.853Z] ---> Running in 8a3c07bb41c5 [2024-03-13T23:35:43.853Z] Removing intermediate container 8a3c07bb41c5 [2024-03-13T23:35:43.853Z] ---> a29d4d0305e5 [2024-03-13T23:35:43.853Z] Step 13/23 : RUN apk add --update --no-cache [2024-03-13T23:35:43.853Z] ---> Running in f2287a54ba8e [2024-03-13T23:35:43.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-13T23:35:43.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-13T23:35:43.853Z] OK: 7 MiB in 15 packages [2024-03-13T23:35:44.112Z] Removing intermediate container f2287a54ba8e [2024-03-13T23:35:44.112Z] ---> 0f025adc7737 [2024-03-13T23:35:44.112Z] Step 14/23 : WORKDIR / [2024-03-13T23:35:44.112Z] ---> Running in a3d57690044a [2024-03-13T23:35:44.112Z] Removing intermediate container a3d57690044a [2024-03-13T23:35:44.112Z] ---> d315dd2c48ed [2024-03-13T23:35:44.112Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-13T23:35:44.112Z] ---> 36f976dd6998 [2024-03-13T23:35:44.112Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-13T23:35:45.488Z] ---> 342b831d925f [2024-03-13T23:35:45.488Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-13T23:35:45.488Z] ---> 3bcb7eb0905f [2024-03-13T23:35:45.488Z] Step 18/23 : EXPOSE 59999 [2024-03-13T23:35:45.488Z] ---> Running in 12edc8b903ca [2024-03-13T23:35:45.488Z] Removing intermediate container 12edc8b903ca [2024-03-13T23:35:45.488Z] ---> 6c63255b1172 [2024-03-13T23:35:45.488Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-03-13T23:35:45.488Z] ---> Running in a9a03b0600f1 [2024-03-13T23:35:45.488Z] Removing intermediate container a9a03b0600f1 [2024-03-13T23:35:45.488Z] ---> ea89ef88cdf9 [2024-03-13T23:35:45.488Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-13T23:35:45.488Z] ---> Running in 89185059579e [2024-03-13T23:35:45.488Z] Removing intermediate container 89185059579e [2024-03-13T23:35:45.488Z] ---> 2a84076fa292 [2024-03-13T23:35:45.488Z] Step 21/23 : LABEL arch=amd64 [2024-03-13T23:35:45.747Z] ---> Running in 66511b7bb2bc [2024-03-13T23:35:45.747Z] Removing intermediate container 66511b7bb2bc [2024-03-13T23:35:45.747Z] ---> 2f711c1dd539 [2024-03-13T23:35:45.747Z] Step 22/23 : LABEL git_sha=ce178c8c17500841a6f4a6a782eb47f81bbc4242 [2024-03-13T23:35:45.747Z] ---> Running in 036b211a6853 [2024-03-13T23:35:45.747Z] Removing intermediate container 036b211a6853 [2024-03-13T23:35:45.747Z] ---> ec33c704529e [2024-03-13T23:35:45.747Z] Step 23/23 : LABEL version=0.0.0 [2024-03-13T23:35:45.747Z] ---> Running in 8337032d26fe [2024-03-13T23:35:46.007Z] Removing intermediate container 8337032d26fe [2024-03-13T23:35:46.007Z] ---> 8bd17b58fc2e [2024-03-13T23:35:46.007Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-13T23:35:46.007Z] Successfully built 8bd17b58fc2e [2024-03-13T23:35:46.007Z] 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 [2024-03-13T23:35:47.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:35:47.257Z] [2024-03-13T23:35:47.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:35:47.670Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:35:47.670Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-13T23:35:47.670Z] 5eb5b503b376: Pulling fs layer [2024-03-13T23:35:47.670Z] 5c69ac0246d0: Pulling fs layer [2024-03-13T23:35:47.670Z] ec43610c2a17: Pulling fs layer [2024-03-13T23:35:47.670Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-13T23:35:47.670Z] 33b1e0a273af: Pulling fs layer [2024-03-13T23:35:47.670Z] 5d3b04190fa2: Pulling fs layer [2024-03-13T23:35:47.670Z] 2f39f015ded8: Pulling fs layer [2024-03-13T23:35:47.670Z] 33b1e0a273af: Waiting [2024-03-13T23:35:47.670Z] 5d3b04190fa2: Waiting [2024-03-13T23:35:47.670Z] 2f39f015ded8: Waiting [2024-03-13T23:35:47.670Z] 3a2ae6a8a46f: Waiting [2024-03-13T23:35:47.670Z] 5c69ac0246d0: Download complete [2024-03-13T23:35:47.670Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-13T23:35:47.670Z] 3a2ae6a8a46f: Download complete [2024-03-13T23:35:47.670Z] 33b1e0a273af: Verifying Checksum [2024-03-13T23:35:47.670Z] 33b1e0a273af: Download complete [2024-03-13T23:35:47.670Z] ec43610c2a17: Verifying Checksum [2024-03-13T23:35:47.670Z] ec43610c2a17: Download complete [2024-03-13T23:35:47.671Z] 5d3b04190fa2: Verifying Checksum [2024-03-13T23:35:47.671Z] 5d3b04190fa2: Download complete [2024-03-13T23:35:47.930Z] 5eb5b503b376: Verifying Checksum [2024-03-13T23:35:47.930Z] 5eb5b503b376: Download complete [2024-03-13T23:35:48.503Z] 2f39f015ded8: Download complete [2024-03-13T23:35:49.070Z] 5eb5b503b376: Pull complete [2024-03-13T23:35:49.357Z] 5c69ac0246d0: Pull complete [2024-03-13T23:35:49.616Z] ec43610c2a17: Pull complete [2024-03-13T23:35:49.616Z] 3a2ae6a8a46f: Pull complete [2024-03-13T23:35:49.875Z] 33b1e0a273af: Pull complete [2024-03-13T23:35:49.875Z] 5d3b04190fa2: Pull complete [2024-03-13T23:35:50.873Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5578 in /w/workspace/gexfoundry_device-sdk-go_PR-1565 [Pipeline] { [Pipeline] ws [2024-03-13T23:35:50.971Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-03-13T23:35:54.055Z] 2f39f015ded8: Pull complete [2024-03-13T23:35:54.055Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-13T23:35:54.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:35:54.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:35:54.118Z] The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:35:54.521Z] prd-ubuntu20.04-docker-8c-8g-5561 does not seem to be running inside a container [2024-03-13T23:35:54.552Z] $ 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-1565 -v /w/workspace/gexfoundry_device-sdk-go_PR-1565:/w/workspace/gexfoundry_device-sdk-go_PR-1565:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1565@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 [2024-03-13T23:35:59.316Z] $ docker top e4247a8d8667a92a90382a819521931f07e4985c9c271f416e4f854f4ddc080c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:35:59.835Z] ---> job-cost.sh [2024-03-13T23:35:59.835Z] lf-activate-venv: SKIPPING [2024-03-13T23:35:59.835Z] INFO: No Stack... [2024-03-13T23:36:00.095Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-13T23:36:00.665Z] INFO: Archiving Costs [Pipeline] sh [2024-03-13T23:36:01.045Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives/cost.csv [2024-03-13T23:36:01.045Z] + cut -d, -f6 [Pipeline] lock [2024-03-13T23:36:01.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] [2024-03-13T23:36:01.109Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] did not exist. Created. [2024-03-13T23:36:01.114Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-13T23:36:01.594Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-13T23:36:01.654Z] Stashed 1 file(s) [Pipeline] } [2024-03-13T23:36:01.733Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-13T23:36:01.877Z] $ docker stop --time=1 e4247a8d8667a92a90382a819521931f07e4985c9c271f416e4f854f4ddc080c [2024-03-13T23:36:02.068Z] using credential edgex-jenkins-ssh [2024-03-13T23:36:02.092Z] Cloning the remote Git repository [2024-03-13T23:36:02.179Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-03-13T23:36:02.336Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-03-13T23:36:02.551Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-13T23:36:02.552Z] > git --version # timeout=10 [2024-03-13T23:36:02.578Z] > git --version # 'git version 2.25.1' [2024-03-13T23:36:02.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:36:02.782Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-13T23:36:03.131Z] $ docker rm -f --volumes e4247a8d8667a92a90382a819521931f07e4985c9c271f416e4f854f4ddc080c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-13T23:36:06.090Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-13T23:36:06.140Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-13T23:36:08.372Z] Merging remotes/origin/main commit f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 into PR head commit ce178c8c17500841a6f4a6a782eb47f81bbc4242 [2024-03-13T23:36:08.774Z] Merge succeeded, producing ce178c8c17500841a6f4a6a782eb47f81bbc4242 [2024-03-13T23:36:08.775Z] Checking out Revision ce178c8c17500841a6f4a6a782eb47f81bbc4242 (PR-1565) [2024-03-13T23:36:07.603Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-13T23:36:07.660Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-13T23:36:07.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:36:07.687Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1565/head:refs/remotes/origin/PR-1565 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-13T23:36:08.394Z] > git config core.sparsecheckout # timeout=10 [2024-03-13T23:36:08.484Z] > git checkout -f ce178c8c17500841a6f4a6a782eb47f81bbc4242 # timeout=10 [2024-03-13T23:36:08.632Z] > git remote # timeout=10 [2024-03-13T23:36:08.658Z] > git config --get remote.origin.url # timeout=10 [2024-03-13T23:36:08.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-13T23:36:08.704Z] > git merge f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 # timeout=10 [2024-03-13T23:36:08.744Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-13T23:36:08.781Z] > git config core.sparsecheckout # timeout=10 [2024-03-13T23:36:08.810Z] > git checkout -f ce178c8c17500841a6f4a6a782eb47f81bbc4242 # timeout=10 [2024-03-13T23:36:09.645Z] Commit message: "build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0" [2024-03-13T23:36:09.722Z] > git --version # timeout=10 [2024-03-13T23:36:09.736Z] > git --version # 'git version 2.25.1' [2024-03-13T23:36:09.765Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:36:11.255Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-13T23:36:11.255Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-13T23:36:11.255Z] Dload Upload Total Spent Left Speed [2024-03-13T23:36:11.255Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 143k 0 --:--:-- --:--:-- --:--:-- 145k [Pipeline] sh [2024-03-13T23:36:11.712Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-13T23:36:12.093Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-13T23:36:12.093Z] + sudo tee /etc/docker/daemon.new [2024-03-13T23:36:12.093Z] { [2024-03-13T23:36:12.093Z] "registry-mirrors": [ [2024-03-13T23:36:12.093Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-13T23:36:12.093Z] ], [2024-03-13T23:36:12.093Z] "bip": "10.250.0.254/24", [2024-03-13T23:36:12.093Z] "hosts": [ [2024-03-13T23:36:12.093Z] "tcp://0.0.0.0:5555", [2024-03-13T23:36:12.093Z] "unix:///var/run/docker.sock" [2024-03-13T23:36:12.093Z] ], [2024-03-13T23:36:12.093Z] "mtu": 1458, [2024-03-13T23:36:12.093Z] "selinux-enabled": true, [2024-03-13T23:36:12.093Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-13T23:36:12.093Z] } [Pipeline] sh [2024-03-13T23:36:12.476Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-13T23:36:12.860Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:36:31.390Z] provisioning config files... [2024-03-13T23:36:31.445Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14289092060013606028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:36:32.103Z] ---> ****-login.sh [2024-03-13T23:36:32.104Z] nexus3.edgexfoundry.org:10001 [2024-03-13T23:36:32.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:36:33.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:36:33.061Z] Configure a credential helper to remove this warning. See [2024-03-13T23:36:33.061Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:36:33.061Z] [2024-03-13T23:36:33.061Z] Login Succeeded [2024-03-13T23:36:33.061Z] nexus3.edgexfoundry.org:10002 [2024-03-13T23:36:33.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:36:33.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:36:33.659Z] Configure a credential helper to remove this warning. See [2024-03-13T23:36:33.659Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:36:33.659Z] [2024-03-13T23:36:33.659Z] Login Succeeded [2024-03-13T23:36:33.659Z] nexus3.edgexfoundry.org:10003 [2024-03-13T23:36:33.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:36:34.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:36:34.202Z] Configure a credential helper to remove this warning. See [2024-03-13T23:36:34.202Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:36:34.202Z] [2024-03-13T23:36:34.202Z] Login Succeeded [2024-03-13T23:36:34.202Z] nexus3.edgexfoundry.org:10004 [2024-03-13T23:36:34.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:36:34.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:36:34.472Z] Configure a credential helper to remove this warning. See [2024-03-13T23:36:34.472Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:36:34.472Z] [2024-03-13T23:36:34.472Z] Login Succeeded [2024-03-13T23:36:34.472Z] ****.io [2024-03-13T23:36:34.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-13T23:36:35.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-13T23:36:35.011Z] Configure a credential helper to remove this warning. See [2024-03-13T23:36:35.011Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-13T23:36:35.011Z] [2024-03-13T23:36:35.011Z] Login Succeeded [2024-03-13T23:36:35.011Z] ---> ****-login.sh ends [Pipeline] } [2024-03-13T23:36:35.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-13T23:36:35.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:36:35.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-13T23:36:35.850Z] ========================================================= [2024-03-13T23:36:35.850Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-13T23:36:35.850Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:36:36.518Z] + 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 . [2024-03-13T23:36:37.112Z] Sending build context to Docker daemon 11.39MB [2024-03-13T23:36:37.112Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:36:37.112Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-13T23:36:37.702Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-13T23:36:37.702Z] 9fda8d8052c6: Pulling fs layer [2024-03-13T23:36:37.702Z] 5d54e960e981: Pulling fs layer [2024-03-13T23:36:37.702Z] c4a7e357bf2a: Pulling fs layer [2024-03-13T23:36:37.702Z] f0e02332f6b5: Pulling fs layer [2024-03-13T23:36:37.702Z] 872ee5b61b7b: Pulling fs layer [2024-03-13T23:36:37.702Z] 0c6a40ed1a82: Pulling fs layer [2024-03-13T23:36:37.702Z] 94ae7d8d031c: Pulling fs layer [2024-03-13T23:36:37.702Z] 872ee5b61b7b: Waiting [2024-03-13T23:36:37.702Z] 0c6a40ed1a82: Waiting [2024-03-13T23:36:37.702Z] f0e02332f6b5: Waiting [2024-03-13T23:36:37.702Z] 94ae7d8d031c: Waiting [2024-03-13T23:36:37.702Z] 5d54e960e981: Download complete [2024-03-13T23:36:37.702Z] f0e02332f6b5: Verifying Checksum [2024-03-13T23:36:37.702Z] f0e02332f6b5: Download complete [2024-03-13T23:36:37.702Z] 872ee5b61b7b: Verifying Checksum [2024-03-13T23:36:37.702Z] 872ee5b61b7b: Download complete [2024-03-13T23:36:37.702Z] 9fda8d8052c6: Verifying Checksum [2024-03-13T23:36:37.702Z] 9fda8d8052c6: Download complete [2024-03-13T23:36:38.300Z] 94ae7d8d031c: Verifying Checksum [2024-03-13T23:36:38.300Z] 94ae7d8d031c: Download complete [2024-03-13T23:36:38.888Z] 9fda8d8052c6: Pull complete [2024-03-13T23:36:39.864Z] c4a7e357bf2a: Verifying Checksum [2024-03-13T23:36:39.864Z] c4a7e357bf2a: Download complete [2024-03-13T23:36:39.864Z] 5d54e960e981: Pull complete [2024-03-13T23:36:40.828Z] 0c6a40ed1a82: Verifying Checksum [2024-03-13T23:36:40.828Z] 0c6a40ed1a82: Download complete [2024-03-13T23:36:53.165Z] c4a7e357bf2a: Pull complete [2024-03-13T23:36:53.165Z] f0e02332f6b5: Pull complete [2024-03-13T23:36:53.435Z] 872ee5b61b7b: Pull complete [2024-03-13T23:37:03.571Z] 0c6a40ed1a82: Pull complete [2024-03-13T23:37:12.096Z] 94ae7d8d031c: Pull complete [2024-03-13T23:37:12.096Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-13T23:37:12.096Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-13T23:37:12.096Z] ---> 86de565de09d [2024-03-13T23:37:12.096Z] Step 3/10 : ARG MAKE=make build [2024-03-13T23:37:12.096Z] ---> Running in 434f3a5a5560 [2024-03-13T23:37:12.096Z] Removing intermediate container 434f3a5a5560 [2024-03-13T23:37:12.096Z] ---> b72db6841cc3 [2024-03-13T23:37:12.096Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-13T23:37:12.096Z] ---> Running in ec1c438eab9e [2024-03-13T23:37:12.096Z] Removing intermediate container ec1c438eab9e [2024-03-13T23:37:12.096Z] ---> 0f0040993806 [2024-03-13T23:37:12.096Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-13T23:37:12.096Z] ---> Running in d25d7a5483b9 [2024-03-13T23:37:12.096Z] Removing intermediate container d25d7a5483b9 [2024-03-13T23:37:12.096Z] ---> 15724f76b0cd [2024-03-13T23:37:12.096Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-13T23:37:12.096Z] ---> Running in f2143c8f7e4a [2024-03-13T23:37:12.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:37:12.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:37:21.572Z] OK: 266 MiB in 52 packages [2024-03-13T23:37:21.572Z] Removing intermediate container f2143c8f7e4a [2024-03-13T23:37:21.572Z] ---> e35bea0a5978 [2024-03-13T23:37:21.572Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-13T23:37:21.572Z] ---> 307a8cae0032 [2024-03-13T23:37:21.572Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:37:21.572Z] ---> Running in fafb786e08e3 [2024-03-13T23:38:26.960Z] go: github.com/Microsoft/go-winio@v0.6.1: Get "https://proxy.golang.org/github.com/%21microsoft/go-winio/@v/v0.6.1.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/OneOfOne/xxhash@v1.2.8: Get "https://proxy.golang.org/github.com/%21one%21of%21one/xxhash/@v/v1.2.8.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/armon/go-metrics@v0.4.1: Get "https://proxy.golang.org/github.com/armon/go-metrics/@v/v0.4.1.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/cenkalti/backoff@v2.2.1+incompatible: Get "https://proxy.golang.org/github.com/cenkalti/backoff/@v/v2.2.1+incompatible.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/davecgh/go-spew@v1.1.2-0.20180830191138-d8f796af33cc: Get "https://proxy.golang.org/github.com/davecgh/go-spew/@v/v1.1.2-0.20180830191138-d8f796af33cc.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/eclipse/paho.mqtt.golang@v1.4.3: Get "https://proxy.golang.org/github.com/eclipse/paho.mqtt.golang/@v/v1.4.3.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.21: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-bootstrap/v3/@v/v3.2.0-dev.21.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/edgexfoundry/go-mod-configuration/v3@v3.2.0-dev.3: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-configuration/v3/@v/v3.2.0-dev.3.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.2.0-dev.8: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-core-contracts/v3/@v/v3.2.0-dev.8.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/edgexfoundry/go-mod-messaging/v3@v3.2.0-dev.12: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-messaging/v3/@v/v3.2.0-dev.12.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/edgexfoundry/go-mod-registry/v3@v3.2.0-dev.3: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-registry/v3/@v/v3.2.0-dev.3.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/edgexfoundry/go-mod-secrets/v3@v3.2.0-dev.5: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-secrets/v3/@v/v3.2.0-dev.5.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/fatih/color@v1.14.1: Get "https://proxy.golang.org/github.com/fatih/color/@v/v1.14.1.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/fxamacker/cbor/v2@v2.6.0: Get "https://proxy.golang.org/github.com/fxamacker/cbor/v2/@v/v2.6.0.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/gabriel-vasile/mimetype@v1.4.3: Get "https://proxy.golang.org/github.com/gabriel-vasile/mimetype/@v/v1.4.3.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] go: github.com/go-jose/go-jose/v3@v3.0.3: Get "https://proxy.golang.org/github.com/go-jose/go-jose/v3/@v/v3.0.3.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address [2024-03-13T23:38:26.960Z] skipping... [2024-03-13T23:38:59.446Z] Removing intermediate container fafb786e08e3 [2024-03-13T23:38:59.446Z] ---> 53c5c80fb921 [2024-03-13T23:38:59.446Z] Step 9/10 : COPY . . [2024-03-13T23:38:59.446Z] ---> c7abbb0c6a75 [2024-03-13T23:38:59.446Z] Step 10/10 : RUN ${MAKE} [2024-03-13T23:38:59.446Z] ---> Running in 88275c31f698 [2024-03-13T23:38:59.446Z] noop [2024-03-13T23:38:59.717Z] Removing intermediate container 88275c31f698 [2024-03-13T23:38:59.717Z] ---> fee8dc23a428 [2024-03-13T23:38:59.987Z] Successfully built fee8dc23a428 [2024-03-13T23:38:59.987Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:39:00.642Z] + docker inspect -f . ci-base-image-arm64 [2024-03-13T23:39:00.642Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:39:01.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-5578 does not seem to be running inside a container [2024-03-13T23:39:01.211Z] $ 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 [2024-03-13T23:39:02.828Z] $ docker top eed6bb0930fe5658a8b90f60c5295beef0596867dd992c05292f7743336d66b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:39:03.893Z] + go version [2024-03-13T23:39:03.893Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-13T23:39:03.936Z] $ docker stop --time=1 eed6bb0930fe5658a8b90f60c5295beef0596867dd992c05292f7743336d66b2 [2024-03-13T23:39:05.771Z] $ docker rm -f --volumes eed6bb0930fe5658a8b90f60c5295beef0596867dd992c05292f7743336d66b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:39:07.154Z] + docker inspect -f . ci-base-image-arm64 [2024-03-13T23:39:07.154Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:39:07.645Z] prd-ubuntu20.04-docker-arm64-4c-16g-5578 does not seem to be running inside a container [2024-03-13T23:39:07.747Z] $ 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 [2024-03-13T23:39:09.291Z] $ docker top abce990f29d856708f5eb0f9e053f06d4da741f8bfb03ee9c572b9ff2bcdf52c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:39:10.319Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-13T23:39:11.099Z] + make test [2024-03-13T23:39:11.099Z] go test -race -coverprofile=coverage.out ./... [2024-03-13T23:39:11.413Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.8 [2024-03-13T23:39:11.723Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.21 [2024-03-13T23:39:12.705Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2024-03-13T23:39:12.705Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.12 [2024-03-13T23:39:12.705Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.3 [2024-03-13T23:39:12.705Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.3 [2024-03-13T23:39:12.984Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2024-03-13T23:39:12.984Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.5 [2024-03-13T23:39:13.264Z] go: downloading github.com/fxamacker/cbor/v2 v2.6.0 [2024-03-13T23:39:13.540Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-03-13T23:39:13.815Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.3 [2024-03-13T23:39:14.629Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2024-03-13T23:39:14.908Z] go: downloading github.com/go-jose/go-jose/v3 v3.0.3 [2024-03-13T23:39:15.512Z] go: downloading github.com/fatih/color v1.14.1 [2024-03-13T23:39:15.512Z] go: downloading github.com/armon/go-metrics v0.4.1 [2024-03-13T23:40:12.271Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-13T23:42:23.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-13T23:42:23.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-13T23:42:23.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-13T23:42:23.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-13T23:42:23.349Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-13T23:42:35.701Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.242s coverage: 27.6% of statements [2024-03-13T23:42:43.927Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.311s coverage: 81.5% of statements [2024-03-13T23:42:54.023Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-13T23:42:54.023Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-13T23:42:55.443Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.442s coverage: 86.0% of statements [2024-03-13T23:43:02.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-13T23:43:02.725Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.526s coverage: 71.8% of statements [2024-03-13T23:43:06.102Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.352s coverage: 14.4% of statements [2024-03-13T23:43:06.102Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.211s coverage: 45.9% of statements [2024-03-13T23:43:07.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-13T23:43:07.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-13T23:43:08.964Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.504s coverage: 68.5% of statements [2024-03-13T23:43:11.592Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.513s coverage: 89.2% of statements [2024-03-13T23:43:13.044Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-13T23:43:14.487Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.328s coverage: 5.5% of statements [2024-03-13T23:43:15.474Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-13T23:43:15.474Z] GO111MODULE=on go vet ./... [2024-03-13T23:46:22.922Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-13T23:46:22.922Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-13T23:46:22.922Z] ./bin/test-attribution-txt.sh [2024-03-13T23:46:22.922Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-13T23:46:22.968Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-13T23:46:23.062Z] $ docker stop --time=1 abce990f29d856708f5eb0f9e053f06d4da741f8bfb03ee9c572b9ff2bcdf52c [2024-03-13T23:46:25.268Z] $ docker rm -f --volumes abce990f29d856708f5eb0f9e053f06d4da741f8bfb03ee9c572b9ff2bcdf52c [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-13T23:46:27.998Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-13T23:46:28.036Z] Warning: overwriting stash ‘coverage-report’ [2024-03-13T23:46:28.801Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-13T23:46:29.664Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-13T23:46:30.052Z] + ls -al . [2024-03-13T23:46:30.052Z] total 304 [2024-03-13T23:46:30.052Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 23:39 . [2024-03-13T23:46:30.052Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:36 .. [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 23:36 .dockerignore [2024-03-13T23:46:30.052Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:36 .git [2024-03-13T23:46:30.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:36 .github [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 13 23:36 .gitignore [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 23:36 .golangci.yml [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 13 23:36 CHANGELOG.md [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 23:36 GOVERNANCE.md [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 13 23:36 Jenkinsfile [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 13 23:36 LICENSE [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 13 23:36 Makefile [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 13 23:36 OWNERS.md [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 13 23:36 README.md [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 23:33 VERSION [2024-03-13T23:46:30.052Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:36 bin [2024-03-13T23:46:30.052Z] -rw-r--r-- 1 jenkins jenkins 122155 Mar 13 23:43 coverage.out [2024-03-13T23:46:30.052Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 13 23:36 example [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 13 23:36 go.mod [2024-03-13T23:46:30.052Z] -rw-rw-r-- 1 jenkins jenkins 35399 Mar 13 23:36 go.sum [2024-03-13T23:46:30.052Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 23:36 internal [2024-03-13T23:46:30.052Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:36 openapi [2024-03-13T23:46:30.053Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 23:36 pkg [2024-03-13T23:46:30.053Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:36 snap [2024-03-13T23:46:30.053Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 13 23:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:46:30.600Z] + 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=ce178c8c17500841a6f4a6a782eb47f81bbc4242 --label arch=arm64 --label version=0.0.0 . [2024-03-13T23:46:31.195Z] Sending build context to Docker daemon 11.51MB [2024-03-13T23:46:31.195Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-03-13T23:46:31.195Z] Step 2/23 : FROM ${BASE} AS builder [2024-03-13T23:46:31.195Z] ---> fee8dc23a428 [2024-03-13T23:46:31.195Z] Step 3/23 : ARG MAKE=make build [2024-03-13T23:46:31.469Z] ---> Running in ed823e812ba1 [2024-03-13T23:46:31.749Z] Removing intermediate container ed823e812ba1 [2024-03-13T23:46:31.749Z] ---> 6b8b86c1daaf [2024-03-13T23:46:31.749Z] Step 4/23 : WORKDIR /device-sdk-go [2024-03-13T23:46:32.023Z] ---> Running in 348f5bbe8978 [2024-03-13T23:46:32.301Z] Removing intermediate container 348f5bbe8978 [2024-03-13T23:46:32.302Z] ---> 2621ff18ba6e [2024-03-13T23:46:32.302Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-13T23:46:32.581Z] ---> Running in 8623810f4494 [2024-03-13T23:46:32.855Z] Removing intermediate container 8623810f4494 [2024-03-13T23:46:32.855Z] ---> 4016b71435db [2024-03-13T23:46:32.855Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-03-13T23:46:32.855Z] ---> Running in 121b3a997a0b [2024-03-13T23:46:34.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:34.566Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:46:35.999Z] OK: 266 MiB in 52 packages [2024-03-13T23:46:36.587Z] Removing intermediate container 121b3a997a0b [2024-03-13T23:46:36.587Z] ---> cd8435b8cad4 [2024-03-13T23:46:36.587Z] Step 7/23 : COPY go.mod vendor* ./ [2024-03-13T23:46:37.179Z] ---> 150f1e2d3379 [2024-03-13T23:46:37.179Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-13T23:46:37.447Z] ---> Running in 4a6a5af0b169 [2024-03-13T23:46:57.030Z] Removing intermediate container 4a6a5af0b169 [2024-03-13T23:46:57.030Z] ---> c0be611e428e [2024-03-13T23:46:57.030Z] Step 9/23 : COPY . . [2024-03-13T23:46:57.030Z] ---> 9c48a844bfbd [2024-03-13T23:46:57.030Z] Step 10/23 : RUN ${MAKE} [2024-03-13T23:46:57.030Z] ---> Running in 0153c5a0d96f [2024-03-13T23:46:58.454Z] 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 [2024-03-13T23:49:35.277Z] Removing intermediate container 0153c5a0d96f [2024-03-13T23:49:35.277Z] ---> f301e33f5d0e [2024-03-13T23:49:35.277Z] Step 11/23 : FROM alpine:3.18 [2024-03-13T23:49:35.277Z] 3.18: Pulling from library/alpine [2024-03-13T23:49:35.277Z] c6b39de5b339: Pulling fs layer [2024-03-13T23:49:35.277Z] c6b39de5b339: Verifying Checksum [2024-03-13T23:49:35.277Z] c6b39de5b339: Download complete [2024-03-13T23:49:35.277Z] c6b39de5b339: Pull complete [2024-03-13T23:49:35.277Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-13T23:49:35.277Z] Status: Downloaded newer image for alpine:3.18 [2024-03-13T23:49:35.277Z] ---> 33abbf032149 [2024-03-13T23:49:35.277Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-13T23:49:35.277Z] ---> Running in 7c36d2fcf4f7 [2024-03-13T23:49:35.277Z] Removing intermediate container 7c36d2fcf4f7 [2024-03-13T23:49:35.277Z] ---> d9f448965752 [2024-03-13T23:49:35.277Z] Step 13/23 : RUN apk add --update --no-cache [2024-03-13T23:49:35.277Z] ---> Running in 82f13a9aaf5a [2024-03-13T23:49:35.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-13T23:49:35.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-13T23:49:35.277Z] OK: 8 MiB in 15 packages [2024-03-13T23:49:35.277Z] Removing intermediate container 82f13a9aaf5a [2024-03-13T23:49:35.277Z] ---> aa487760761a [2024-03-13T23:49:35.277Z] Step 14/23 : WORKDIR / [2024-03-13T23:49:35.277Z] ---> Running in 4d850e1069c1 [2024-03-13T23:49:35.277Z] Removing intermediate container 4d850e1069c1 [2024-03-13T23:49:35.277Z] ---> d13634312e85 [2024-03-13T23:49:35.277Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-13T23:49:35.277Z] ---> 529c8b72f755 [2024-03-13T23:49:35.277Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-13T23:49:35.277Z] ---> 5e5ce925dfcb [2024-03-13T23:49:35.277Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-13T23:49:35.277Z] ---> 64f18ab0bea2 [2024-03-13T23:49:35.277Z] Step 18/23 : EXPOSE 59999 [2024-03-13T23:49:35.277Z] ---> Running in 02606309c268 [2024-03-13T23:49:35.277Z] Removing intermediate container 02606309c268 [2024-03-13T23:49:35.277Z] ---> feb2ffb9676e [2024-03-13T23:49:35.277Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-03-13T23:49:35.277Z] ---> Running in 8a3bb31f455d [2024-03-13T23:49:35.277Z] Removing intermediate container 8a3bb31f455d [2024-03-13T23:49:35.277Z] ---> 17d3ac676c0a [2024-03-13T23:49:35.277Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-13T23:49:35.277Z] ---> Running in f342144cde5a [2024-03-13T23:49:35.277Z] Removing intermediate container f342144cde5a [2024-03-13T23:49:35.277Z] ---> 8dcbffb3775f [2024-03-13T23:49:35.277Z] Step 21/23 : LABEL arch=arm64 [2024-03-13T23:49:35.277Z] ---> Running in ce67aec9a700 [2024-03-13T23:49:35.277Z] Removing intermediate container ce67aec9a700 [2024-03-13T23:49:35.277Z] ---> 3c64d322d8b4 [2024-03-13T23:49:35.277Z] Step 22/23 : LABEL git_sha=ce178c8c17500841a6f4a6a782eb47f81bbc4242 [2024-03-13T23:49:35.277Z] ---> Running in d24f2624389b [2024-03-13T23:49:35.277Z] Removing intermediate container d24f2624389b [2024-03-13T23:49:35.277Z] ---> 4e185771523f [2024-03-13T23:49:35.277Z] Step 23/23 : LABEL version=0.0.0 [2024-03-13T23:49:35.277Z] ---> Running in 528ef6ed4259 [2024-03-13T23:49:35.277Z] Removing intermediate container 528ef6ed4259 [2024-03-13T23:49:35.277Z] ---> 9175800b27c7 [2024-03-13T23:49:35.277Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-13T23:49:35.277Z] Successfully built 9175800b27c7 [2024-03-13T23:49:35.277Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:49:36.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:49:36.556Z] [2024-03-13T23:49:36.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:49:37.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:49:37.010Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-13T23:49:37.010Z] 8998bd30e6a1: Pulling fs layer [2024-03-13T23:49:37.010Z] 04944245beec: Pulling fs layer [2024-03-13T23:49:37.010Z] 699f458cf7ca: Pulling fs layer [2024-03-13T23:49:37.010Z] 765212b225bb: Pulling fs layer [2024-03-13T23:49:37.010Z] f23df028b6ca: Pulling fs layer [2024-03-13T23:49:37.010Z] d65c8cfc05b1: Pulling fs layer [2024-03-13T23:49:37.010Z] 2437ff75d9bd: Pulling fs layer [2024-03-13T23:49:37.010Z] 765212b225bb: Waiting [2024-03-13T23:49:37.010Z] f23df028b6ca: Waiting [2024-03-13T23:49:37.010Z] 2437ff75d9bd: Waiting [2024-03-13T23:49:37.010Z] d65c8cfc05b1: Waiting [2024-03-13T23:49:37.277Z] 04944245beec: Verifying Checksum [2024-03-13T23:49:37.277Z] 04944245beec: Download complete [2024-03-13T23:49:37.277Z] 765212b225bb: Download complete [2024-03-13T23:49:37.277Z] f23df028b6ca: Verifying Checksum [2024-03-13T23:49:37.277Z] f23df028b6ca: Download complete [2024-03-13T23:49:37.277Z] d65c8cfc05b1: Verifying Checksum [2024-03-13T23:49:37.277Z] d65c8cfc05b1: Download complete [2024-03-13T23:49:37.546Z] 699f458cf7ca: Verifying Checksum [2024-03-13T23:49:37.546Z] 699f458cf7ca: Download complete [2024-03-13T23:49:37.814Z] 8998bd30e6a1: Verifying Checksum [2024-03-13T23:49:37.814Z] 8998bd30e6a1: Download complete [2024-03-13T23:49:40.409Z] 2437ff75d9bd: Verifying Checksum [2024-03-13T23:49:40.409Z] 2437ff75d9bd: Download complete [2024-03-13T23:49:43.006Z] 8998bd30e6a1: Pull complete [2024-03-13T23:49:43.274Z] 04944245beec: Pull complete [2024-03-13T23:49:45.226Z] 699f458cf7ca: Pull complete [2024-03-13T23:49:45.226Z] 765212b225bb: Pull complete [2024-03-13T23:49:46.190Z] f23df028b6ca: Pull complete [2024-03-13T23:49:46.190Z] d65c8cfc05b1: Pull complete [2024-03-13T23:50:04.398Z] 2437ff75d9bd: Pull complete [2024-03-13T23:50:04.398Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-13T23:50:04.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-13T23:50:04.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:50:04.932Z] prd-ubuntu20.04-docker-arm64-4c-16g-5578 does not seem to be running inside a container [2024-03-13T23:50:04.993Z] $ 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 [2024-03-13T23:50:07.816Z] $ docker top f6c882a910496e723ffad280fec3bfe38b33db348ff90ea3909e6bded44184bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:50:08.488Z] ---> job-cost.sh [2024-03-13T23:50:08.754Z] lf-activate-venv: SKIPPING [2024-03-13T23:50:08.754Z] INFO: No Stack... [2024-03-13T23:50:09.334Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-13T23:50:09.913Z] INFO: Archiving Costs [Pipeline] sh [2024-03-13T23:50:10.250Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-03-13T23:50:10.250Z] + cut -d, -f6 [Pipeline] lock [2024-03-13T23:50:10.577Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] [2024-03-13T23:50:10.582Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] did not exist. Created. [2024-03-13T23:50:10.588Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-13T23:50:11.109Z] /w/workspace/device-sdk-go/1@tmp/durable-f7f6aa38/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-13T23:50:11.768Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-13T23:50:11.810Z] Warning: overwriting stash ‘stack-cost’ [2024-03-13T23:50:11.900Z] Stashed 1 file(s) [Pipeline] } [2024-03-13T23:50:11.919Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-13T23:50:12.085Z] $ docker stop --time=1 f6c882a910496e723ffad280fec3bfe38b33db348ff90ea3909e6bded44184bc [2024-03-13T23:50:13.569Z] $ docker rm -f --volumes f6c882a910496e723ffad280fec3bfe38b33db348ff90ea3909e6bded44184bc [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 [2024-03-13T23:50:15.787Z] provisioning config files... [2024-03-13T23:50:15.795Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/config13370636813131536336tmp [Pipeline] { [Pipeline] sh [2024-03-13T23:50:16.215Z] + set +x [2024-03-13T23:50:16.215Z] + bash -s -- [2024-03-13T23:50:16.215Z] + curl -s https://codecov.io/bash [2024-03-13T23:50:16.215Z] [2024-03-13T23:50:16.215Z] _____ _ [2024-03-13T23:50:16.215Z] / ____| | | [2024-03-13T23:50:16.215Z] | | ___ __| | ___ ___ _____ __ [2024-03-13T23:50:16.215Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-13T23:50:16.215Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-13T23:50:16.215Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-13T23:50:16.215Z] Bash-1.0.6 [2024-03-13T23:50:16.215Z] [2024-03-13T23:50:16.215Z] [2024-03-13T23:50:16.215Z] ==> git version 2.25.1 found [2024-03-13T23:50:16.215Z] ==> 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 [2024-03-13T23:50:16.215Z] Release-Date: 2020-01-08 [2024-03-13T23:50:16.215Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-13T23:50:16.215Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-13T23:50:16.215Z] ==> Jenkins CI detected. [2024-03-13T23:50:16.215Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1565 [2024-03-13T23:50:16.215Z] project root: . [2024-03-13T23:50:16.215Z] --> token set from env [2024-03-13T23:50:16.215Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-13T23:50:16.475Z] ==> Running gcov in . (disable via -X gcov) [2024-03-13T23:50:16.475Z] ==> Python coveragepy not found [2024-03-13T23:50:16.475Z] ==> Searching for coverage reports in: [2024-03-13T23:50:16.475Z] + . [2024-03-13T23:50:16.475Z] -> Found 1 reports [2024-03-13T23:50:16.475Z] ==> Detecting git/mercurial file structure [2024-03-13T23:50:16.475Z] ==> Reading reports [2024-03-13T23:50:16.475Z] + ./coverage.out bytes=122155 [2024-03-13T23:50:16.475Z] ==> Appending adjustments [2024-03-13T23:50:16.475Z] https://docs.codecov.io/docs/fixing-reports [2024-03-13T23:50:16.734Z] + Found adjustments [2024-03-13T23:50:16.734Z] ==> Gzipping contents [2024-03-13T23:50:16.734Z] 20K /tmp/codecov.DZORpx.gz [2024-03-13T23:50:16.734Z] ==> Uploading reports [2024-03-13T23:50:16.734Z] url: https://codecov.io [2024-03-13T23:50:16.734Z] query: branch=PR-1565&commit=ce178c8c17500841a6f4a6a782eb47f81bbc4242&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1565%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1565&job=&cmd_args= [2024-03-13T23:50:16.734Z] -> Pinging Codecov [2024-03-13T23:50:16.734Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1565&commit=ce178c8c17500841a6f4a6a782eb47f81bbc4242&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1565%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1565&job=&cmd_args= [2024-03-13T23:50:16.994Z] -> Uploading to [2024-03-13T23:50:16.994Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-13/7E55EF52A471D76F132DFD9A03CDDE97/ce178c8c17500841a6f4a6a782eb47f81bbc4242/bbf97a82-fa50-407e-adcb-a4888b971590.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240313T235016Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e93b768fb677f251c94aecf3df1332fcb13c513ce0a6dc328a63a60a923b9e1f [2024-03-13T23:50:16.994Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-13T23:50:16.994Z] Dload Upload Total Spent Left Speed [2024-03-13T23:50:17.254Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 54550 --:--:-- --:--:-- --:--:-- 54550 [2024-03-13T23:50:17.254Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ce178c8c17500841a6f4a6a782eb47f81bbc4242 [Pipeline] } [2024-03-13T23:50:17.283Z] 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 [2024-03-13T23:50:20.664Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives ] [2024-03-13T23:50:20.664Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives [2024-03-13T23:50:20.664Z] total 16 [2024-03-13T23:50:20.664Z] drwxr-xr-x 3 root root 4096 Mar 13 23:36 . [2024-03-13T23:50:20.664Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 23:36 .. [2024-03-13T23:50:20.664Z] drwxr-xr-x 2 root root 4096 Mar 13 23:36 cost [2024-03-13T23:50:20.664Z] -rw-r--r-- 1 root root 86 Mar 13 23:36 cost.csv [2024-03-13T23:50:20.664Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives [2024-03-13T23:50:20.664Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives [2024-03-13T23:50:20.664Z] total 16 [2024-03-13T23:50:20.664Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:36 . [2024-03-13T23:50:20.664Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 23:36 .. [2024-03-13T23:50:20.664Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 23:36 cost [2024-03-13T23:50:20.664Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 13 23:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:50:20.998Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:50:21.887Z] ---> package-listing.sh [2024-03-13T23:50:21.887Z] ++ facter osfamily [2024-03-13T23:50:21.887Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-13T23:50:22.146Z] + OS_FAMILY=debian [2024-03-13T23:50:22.146Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1565 [2024-03-13T23:50:22.146Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-13T23:50:22.146Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-13T23:50:22.146Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-13T23:50:22.146Z] + PACKAGES=/tmp/packages_start.txt [2024-03-13T23:50:22.146Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1565 ']' [2024-03-13T23:50:22.146Z] + PACKAGES=/tmp/packages_end.txt [2024-03-13T23:50:22.146Z] + case "${OS_FAMILY}" in [2024-03-13T23:50:22.146Z] + dpkg -l [2024-03-13T23:50:22.146Z] + grep '^ii' [2024-03-13T23:50:22.146Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-13T23:50:22.146Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-13T23:50:22.146Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-13T23:50:22.146Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1565 ']' [2024-03-13T23:50:22.146Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives/ [2024-03-13T23:50:22.146Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives/ [Pipeline] echo [2024-03-13T23:50:22.185Z] 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-1565/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-13T23:50:22.478Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-13T23:50:22.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-13T23:50:22.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-13T23:50:23.156Z] prd-ubuntu20.04-docker-8c-8g-5561 does not seem to be running inside a container [2024-03-13T23:50:23.177Z] $ 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-1565/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-1565 -v /w/workspace/gexfoundry_device-sdk-go_PR-1565:/w/workspace/gexfoundry_device-sdk-go_PR-1565:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1565@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-13T23:50:23.364Z] $ docker top cd72431a4498f4260300b1379b45ce932b16a0698a051f3235d7272d04764635 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-13T23:50:23.976Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-13T23:50:24.310Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-13T23:50:24.625Z] + ls /var/log/sa-host [2024-03-13T23:50:24.625Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-13T23:50:24.819Z] provisioning config files... [2024-03-13T23:50:24.828Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/config11787321643769125169tmp [Pipeline] { [Pipeline] echo [2024-03-13T23:50:24.978Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:50:25.306Z] ---> create-netrc.sh [Pipeline] } [2024-03-13T23:50:25.337Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:50:25.866Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-13T23:50:25.898Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:50:26.232Z] ---> sudo-logs.sh [2024-03-13T23:50:26.232Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-13T23:50:26.376Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:50:26.702Z] ---> job-cost.sh [2024-03-13T23:50:26.702Z] lf-activate-venv: SKIPPING [2024-03-13T23:50:26.702Z] DEBUG: total: 0.2199999988079071 [2024-03-13T23:50:26.702Z] INFO: Retrieving Stack Cost... [2024-03-13T23:50:27.272Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-13T23:50:27.532Z] INFO: Archiving Costs [Pipeline] echo [2024-03-13T23:50:27.586Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-13T23:50:27.894Z] ---> logs-deploy.sh [2024-03-13T23:50:27.894Z] lf-activate-venv: SKIPPING [2024-03-13T23:50:27.894Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1565/1 [2024-03-13T23:50:27.894Z] INFO: archiving workspace using pattern(s): [2024-03-13T23:50:28.833Z] Archives upload complete. [2024-03-13T23:50:28.833Z] INFO: archiving logs to Nexus