Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb3b780b49bdb40d95a497fa6cff623f428380a1+d1553bc24bec90db76a2b10fa9e928c5afbf1e1c (1fd6c566dbe2744949e5b5f79afcf66497bc824b) 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-ssh18401651517428387295.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-ssh13975990302327059992.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3666446936715165379.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh707675552635794292.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13469266516987979406.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-27916 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1540 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d1553bc24bec90db76a2b10fa9e928c5afbf1e1c into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing 5716ef3bd778e4862bbc20bc852388662eb18d6e Checking out Revision 5716ef3bd778e4862bbc20bc852388662eb18d6e (PR-1540) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d1553bc24bec90db76a2b10fa9e928c5afbf1e1c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5716ef3bd778e4862bbc20bc852388662eb18d6e # timeout=10 Commit message: "Merge commit 'd1553bc24bec90db76a2b10fa9e928c5afbf1e1c' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-01-25T18:41:42.093Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-01-25T18:41:42.182Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-01-25T18:41:42.212Z] ========================================================= [2024-01-25T18:41:42.212Z] EdgeX Global Pipelines Version Info [2024-01-25T18:41:42.212Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e2698840f6e41072fd036ba9b2259f14aabd599a # timeout=10 [2024-01-25T18:41:42.930Z] ------------------- [2024-01-25T18:41:42.930Z] stable info: [2024-01-25T18:41:42.930Z] ------------------- [2024-01-25T18:41:42.930Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-01-25T18:41:42.930Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-25T18:41:42.930Z] Message: update stable to v1.0.258 [2024-01-25T18:41:43.501Z] ------------------- [2024-01-25T18:41:43.501Z] experimental info: [2024-01-25T18:41:43.501Z] ------------------- [2024-01-25T18:41:43.501Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-01-25T18:41:43.501Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-01-25T18:41:43.501Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-01-25T18:41:43.573Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-01-25T18:41:43.594Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-01-25T18:41:43.614Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-01-25T18:41:43.637Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-01-25T18:41:43.662Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-01-25T18:41:43.692Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-01-25T18:41:43.720Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-01-25T18:41:43.750Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-01-25T18:41:43.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-01-25T18:41:43.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-01-25T18:41:43.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-01-25T18:41:43.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-01-25T18:41:43.909Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-01-25T18:41:43.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-01-25T18:41:43.970Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-01-25T18:41:43.999Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-01-25T18:41:44.029Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-01-25T18:41:44.057Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-01-25T18:41:44.097Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-01-25T18:41:44.131Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-01-25T18:41:44.166Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-01-25T18:41:44.196Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-01-25T18:41:44.231Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-01-25T18:41:44.273Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-01-25T18:41:44.310Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-01-25T18:41:44.345Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-01-25T18:41:44.386Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-01-25T18:41:44.420Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo [2024-01-25T18:41:44.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo [2024-01-25T18:41:44.506Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo [2024-01-25T18:41:44.554Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5716ef3bd778e4862bbc20bc852388662eb18d6e [Pipeline] echo [2024-01-25T18:41:44.600Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5716ef3 [Pipeline] echo [2024-01-25T18:41:44.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T18:41:44.745Z] provisioning config files... [2024-01-25T18:41:44.759Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config5237380716973640706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:41:45.101Z] ---> ****-login.sh [2024-01-25T18:41:45.101Z] nexus3.edgexfoundry.org:10001 [2024-01-25T18:41:45.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:41:45.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:41:45.622Z] Configure a credential helper to remove this warning. See [2024-01-25T18:41:45.622Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:41:45.622Z] [2024-01-25T18:41:45.622Z] Login Succeeded [2024-01-25T18:41:45.622Z] nexus3.edgexfoundry.org:10002 [2024-01-25T18:41:45.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:41:45.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:41:45.622Z] Configure a credential helper to remove this warning. See [2024-01-25T18:41:45.622Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:41:45.622Z] [2024-01-25T18:41:45.622Z] Login Succeeded [2024-01-25T18:41:45.622Z] nexus3.edgexfoundry.org:10003 [2024-01-25T18:41:45.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:41:45.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:41:45.882Z] Configure a credential helper to remove this warning. See [2024-01-25T18:41:45.882Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:41:45.882Z] [2024-01-25T18:41:45.882Z] Login Succeeded [2024-01-25T18:41:45.882Z] nexus3.edgexfoundry.org:10004 [2024-01-25T18:41:45.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:41:45.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:41:45.882Z] Configure a credential helper to remove this warning. See [2024-01-25T18:41:45.882Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:41:45.882Z] [2024-01-25T18:41:45.882Z] Login Succeeded [2024-01-25T18:41:45.883Z] ****.io [2024-01-25T18:41:45.883Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:41:46.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:41:46.143Z] Configure a credential helper to remove this warning. See [2024-01-25T18:41:46.144Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:41:46.144Z] [2024-01-25T18:41:46.144Z] Login Succeeded [2024-01-25T18:41:46.144Z] ---> ****-login.sh ends [Pipeline] } [2024-01-25T18:41:46.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-01-25T18:41:46.630Z] + git rev-list -1 --merges 5716ef3bd778e4862bbc20bc852388662eb18d6e~1..5716ef3bd778e4862bbc20bc852388662eb18d6e [Pipeline] echo [2024-01-25T18:41:46.662Z] -----------> git rev-list -1 --merges 5716ef3bd778e4862bbc20bc852388662eb18d6e~1..5716ef3bd778e4862bbc20bc852388662eb18d6e 5716ef3bd778e4862bbc20bc852388662eb18d6e [2024-01-25T18:41:46.662Z] 5716ef3bd778e4862bbc20bc852388662eb18d6e [false] [Pipeline] sh [2024-01-25T18:41:46.963Z] + git log --format=format:%s -1 5716ef3bd778e4862bbc20bc852388662eb18d6e [Pipeline] echo [2024-01-25T18:41:46.979Z] ========================================================= [2024-01-25T18:41:46.979Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-01-25T18:41:46.979Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T18:41:47.355Z] + git log --format=format:%s -1 5716ef3bd778e4862bbc20bc852388662eb18d6e [Pipeline] echo [2024-01-25T18:41:47.367Z] [semverPrep] GIT_COMMIT: 5716ef3bd778e4862bbc20bc852388662eb18d6e, Commit Message: Merge commit 'd1553bc24bec90db76a2b10fa9e928c5afbf1e1c' into HEAD [Pipeline] echo [2024-01-25T18:41:47.390Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-01-25T18:41:47.785Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-01-25T18:41:47.785Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-01-25T18:41:47.785Z] + [ -e /tmp/ssh_known_hosts ] [2024-01-25T18:41:47.785Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-01-25T18:41:47.785Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-01-25T18:41:47.785Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-01-25T18:41:47.785Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:41:48.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T18:41:48.226Z] [2024-01-25T18:41:48.226Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:41:48.541Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T18:41:48.541Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-01-25T18:41:48.541Z] b85a868b505f: Pulling fs layer [2024-01-25T18:41:48.541Z] e2be974225ed: Pulling fs layer [2024-01-25T18:41:48.541Z] 339a4e72a1f5: Pulling fs layer [2024-01-25T18:41:48.541Z] 988bab9f4d93: Pulling fs layer [2024-01-25T18:41:48.541Z] 1469e6f7b9e6: Pulling fs layer [2024-01-25T18:41:48.541Z] eaf3925da568: Pulling fs layer [2024-01-25T18:41:48.541Z] bab4dde63d76: Pulling fs layer [2024-01-25T18:41:48.541Z] bde34c3a00c8: Pulling fs layer [2024-01-25T18:41:48.541Z] b352a97aabf1: Pulling fs layer [2024-01-25T18:41:48.541Z] 4872d77fe225: Pulling fs layer [2024-01-25T18:41:48.541Z] 5851b861e8e6: Pulling fs layer [2024-01-25T18:41:48.541Z] eaf3925da568: Waiting [2024-01-25T18:41:48.541Z] bab4dde63d76: Waiting [2024-01-25T18:41:48.541Z] bde34c3a00c8: Waiting [2024-01-25T18:41:48.541Z] b352a97aabf1: Waiting [2024-01-25T18:41:48.541Z] 4872d77fe225: Waiting [2024-01-25T18:41:48.541Z] 5851b861e8e6: Waiting [2024-01-25T18:41:48.541Z] 988bab9f4d93: Waiting [2024-01-25T18:41:48.541Z] 1469e6f7b9e6: Waiting [2024-01-25T18:41:48.541Z] e2be974225ed: Download complete [2024-01-25T18:41:48.541Z] 988bab9f4d93: Verifying Checksum [2024-01-25T18:41:48.541Z] 988bab9f4d93: Download complete [2024-01-25T18:41:48.541Z] 1469e6f7b9e6: Verifying Checksum [2024-01-25T18:41:48.541Z] 1469e6f7b9e6: Download complete [2024-01-25T18:41:48.801Z] eaf3925da568: Download complete [2024-01-25T18:41:48.801Z] 339a4e72a1f5: Verifying Checksum [2024-01-25T18:41:48.801Z] 339a4e72a1f5: Download complete [2024-01-25T18:41:48.801Z] bde34c3a00c8: Verifying Checksum [2024-01-25T18:41:48.801Z] bde34c3a00c8: Download complete [2024-01-25T18:41:48.801Z] b352a97aabf1: Download complete [2024-01-25T18:41:48.801Z] 4872d77fe225: Verifying Checksum [2024-01-25T18:41:48.801Z] 4872d77fe225: Download complete [2024-01-25T18:41:48.801Z] 5851b861e8e6: Verifying Checksum [2024-01-25T18:41:48.801Z] 5851b861e8e6: Download complete [2024-01-25T18:41:48.801Z] b85a868b505f: Verifying Checksum [2024-01-25T18:41:48.801Z] b85a868b505f: Download complete [2024-01-25T18:41:49.060Z] bab4dde63d76: Verifying Checksum [2024-01-25T18:41:49.060Z] bab4dde63d76: Download complete [2024-01-25T18:41:50.448Z] b85a868b505f: Pull complete [2024-01-25T18:41:50.448Z] e2be974225ed: Pull complete [2024-01-25T18:41:50.707Z] 339a4e72a1f5: Pull complete [2024-01-25T18:41:50.968Z] 988bab9f4d93: Pull complete [2024-01-25T18:41:51.226Z] 1469e6f7b9e6: Pull complete [2024-01-25T18:41:51.226Z] eaf3925da568: Pull complete [2024-01-25T18:41:53.131Z] bab4dde63d76: Pull complete [2024-01-25T18:41:53.131Z] bde34c3a00c8: Pull complete [2024-01-25T18:41:53.391Z] b352a97aabf1: Pull complete [2024-01-25T18:41:53.391Z] 4872d77fe225: Pull complete [2024-01-25T18:41:53.651Z] 5851b861e8e6: Pull complete [2024-01-25T18:41:53.651Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-01-25T18:41:53.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-01-25T18:41:53.651Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T18:41:53.864Z] prd-ubuntu20.04-docker-8c-8g-27916 does not seem to be running inside a container [2024-01-25T18:41:53.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-01-25T18:41:58.853Z] $ docker top a9fed6704f54c0d8316e49d62e5a13794df94be8ce162adaee24a888975d7607 -eo pid,comm [2024-01-25T18:41:58.912Z] 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-01-25T18:41:58.912Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-01-25T18:41:59.005Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-25T18:41:59.005Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-25T18:41:59.126Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-25T18:41:59.126Z] $ docker exec a9fed6704f54c0d8316e49d62e5a13794df94be8ce162adaee24a888975d7607 ssh-agent [2024-01-25T18:41:59.248Z] SSH_AUTH_SOCK=/tmp/ssh-X7LscrDCCPzK/agent.33 [2024-01-25T18:41:59.248Z] SSH_AGENT_PID=39 [2024-01-25T18:41:59.255Z] Running ssh-add (command line suppressed) [2024-01-25T18:41:59.364Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_16570661787496611336.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_16570661787496611336.key) [2024-01-25T18:41:59.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-25T18:41:59.690Z] + git tag --points-at HEAD [Pipeline] } [2024-01-25T18:41:59.701Z] $ docker exec --env ******** --env ******** a9fed6704f54c0d8316e49d62e5a13794df94be8ce162adaee24a888975d7607 ssh-agent -k [2024-01-25T18:41:59.810Z] unset SSH_AUTH_SOCK; [2024-01-25T18:41:59.810Z] unset SSH_AGENT_PID; [2024-01-25T18:41:59.811Z] echo Agent pid 39 killed; [2024-01-25T18:41:59.823Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-01-25T18:41:59.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-01-25T18:41:59.892Z] [ssh-agent] Looking for ssh-agent implementation... [2024-01-25T18:42:00.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-01-25T18:42:00.006Z] $ docker exec a9fed6704f54c0d8316e49d62e5a13794df94be8ce162adaee24a888975d7607 ssh-agent [2024-01-25T18:42:00.113Z] SSH_AUTH_SOCK=/tmp/ssh-CKKTKHuMEBdD/agent.70 [2024-01-25T18:42:00.113Z] SSH_AGENT_PID=76 [2024-01-25T18:42:00.117Z] Running ssh-add (command line suppressed) [2024-01-25T18:42:00.226Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_7330780103847081863.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_7330780103847081863.key) [2024-01-25T18:42:00.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-01-25T18:42:00.547Z] + git semver init [2024-01-25T18:42:00.806Z] 2024-01-25 18:42:00,745 [run_init] DEBUG init version:0.0.0 force:False [2024-01-25T18:42:00.806Z] 2024-01-25 18:42:00,747 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2024-01-25T18:42:00.806Z] 2024-01-25 18:42:00,748 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2024-01-25T18:42:00.806Z] 2024-01-25 18:42:00,749 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) [2024-01-25T18:42:02.184Z] 2024-01-25 18:42:01,992 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude [2024-01-25T18:42:02.184Z] 2024-01-25 18:42:01,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False [2024-01-25T18:42:02.184Z] 2024-01-25 18:42:01,993 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2024-01-25T18:42:02.184Z] 2024-01-25 18:42:01,997 [execute] INFO git cat-file --batch-check [2024-01-25T18:42:02.184Z] 2024-01-25 18:42:01,997 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2024-01-25T18:42:02.184Z] 2024-01-25 18:42:02,006 [execute] INFO git cat-file --batch [2024-01-25T18:42:02.184Z] 2024-01-25 18:42:02,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2024-01-25T18:42:02.184Z] 2024-01-25 18:42:02,012 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2024-01-25T18:42:02.184Z] 0.0.0 [Pipeline] } [2024-01-25T18:42:02.191Z] $ docker exec --env ******** --env ******** a9fed6704f54c0d8316e49d62e5a13794df94be8ce162adaee24a888975d7607 ssh-agent -k [2024-01-25T18:42:02.306Z] unset SSH_AUTH_SOCK; [2024-01-25T18:42:02.306Z] unset SSH_AGENT_PID; [2024-01-25T18:42:02.306Z] echo Agent pid 76 killed; [2024-01-25T18:42:02.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-01-25T18:42:02.703Z] + git semver [Pipeline] } [2024-01-25T18:42:02.983Z] $ docker stop --time=1 a9fed6704f54c0d8316e49d62e5a13794df94be8ce162adaee24a888975d7607 [2024-01-25T18:42:04.289Z] $ docker rm -f --volumes a9fed6704f54c0d8316e49d62e5a13794df94be8ce162adaee24a888975d7607 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-25T18:42:04.689Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-01-25T18:42:04.947Z] Stashed 1 file(s) [Pipeline] echo [2024-01-25T18:42:04.951Z] [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-01-25T18:42:05.337Z] provisioning config files... [2024-01-25T18:42:05.347Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config9486825736917656209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:42:05.673Z] ---> ****-login.sh [2024-01-25T18:42:05.673Z] nexus3.edgexfoundry.org:10001 [2024-01-25T18:42:05.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:42:05.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:42:05.673Z] Configure a credential helper to remove this warning. See [2024-01-25T18:42:05.673Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:42:05.673Z] [2024-01-25T18:42:05.673Z] Login Succeeded [2024-01-25T18:42:05.673Z] nexus3.edgexfoundry.org:10002 [2024-01-25T18:42:05.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:42:05.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:42:05.932Z] Configure a credential helper to remove this warning. See [2024-01-25T18:42:05.932Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:42:05.932Z] [2024-01-25T18:42:05.932Z] Login Succeeded [2024-01-25T18:42:05.932Z] nexus3.edgexfoundry.org:10003 [2024-01-25T18:42:05.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:42:05.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:42:05.932Z] Configure a credential helper to remove this warning. See [2024-01-25T18:42:05.932Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:42:05.932Z] [2024-01-25T18:42:05.932Z] Login Succeeded [2024-01-25T18:42:05.932Z] nexus3.edgexfoundry.org:10004 [2024-01-25T18:42:05.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:42:05.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:42:05.932Z] Configure a credential helper to remove this warning. See [2024-01-25T18:42:05.932Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:42:05.932Z] [2024-01-25T18:42:05.932Z] Login Succeeded [2024-01-25T18:42:05.932Z] ****.io [2024-01-25T18:42:06.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:42:06.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:42:06.191Z] Configure a credential helper to remove this warning. See [2024-01-25T18:42:06.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:42:06.191Z] [2024-01-25T18:42:06.449Z] Login Succeeded [2024-01-25T18:42:06.449Z] ---> ****-login.sh ends [Pipeline] } [2024-01-25T18:42:06.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-01-25T18:42:06.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T18:42:06.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T18:42:06.685Z] ========================================================= [2024-01-25T18:42:06.685Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-01-25T18:42:06.685Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:42:07.104Z] + 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-01-25T18:42:07.104Z] Sending build context to Docker daemon 21.94MB [2024-01-25T18:42:07.104Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-01-25T18:42:07.104Z] Step 2/10 : FROM ${BASE} AS builder [2024-01-25T18:42:07.363Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-01-25T18:42:07.364Z] 7264a8db6415: Pulling fs layer [2024-01-25T18:42:07.364Z] c4d48a809fc2: Pulling fs layer [2024-01-25T18:42:07.364Z] 4f1c88b9dad5: Pulling fs layer [2024-01-25T18:42:07.364Z] ad3a456e5733: Pulling fs layer [2024-01-25T18:42:07.364Z] 69c7f0334f64: Pulling fs layer [2024-01-25T18:42:07.364Z] 1f1c1a5573a3: Pulling fs layer [2024-01-25T18:42:07.364Z] ce7588e14bc9: Pulling fs layer [2024-01-25T18:42:07.364Z] b5e4710f87ac: Pulling fs layer [2024-01-25T18:42:07.364Z] ce7588e14bc9: Waiting [2024-01-25T18:42:07.364Z] b5e4710f87ac: Waiting [2024-01-25T18:42:07.364Z] ad3a456e5733: Waiting [2024-01-25T18:42:07.364Z] 1f1c1a5573a3: Waiting [2024-01-25T18:42:07.364Z] 69c7f0334f64: Waiting [2024-01-25T18:42:07.364Z] c4d48a809fc2: Verifying Checksum [2024-01-25T18:42:07.364Z] c4d48a809fc2: Download complete [2024-01-25T18:42:07.364Z] ad3a456e5733: Download complete [2024-01-25T18:42:07.364Z] 69c7f0334f64: Download complete [2024-01-25T18:42:07.364Z] 7264a8db6415: Verifying Checksum [2024-01-25T18:42:07.364Z] 7264a8db6415: Download complete [2024-01-25T18:42:07.364Z] 1f1c1a5573a3: Verifying Checksum [2024-01-25T18:42:07.364Z] 1f1c1a5573a3: Download complete [2024-01-25T18:42:07.622Z] 7264a8db6415: Pull complete [2024-01-25T18:42:07.622Z] b5e4710f87ac: Verifying Checksum [2024-01-25T18:42:07.622Z] b5e4710f87ac: Download complete [2024-01-25T18:42:07.622Z] c4d48a809fc2: Pull complete [2024-01-25T18:42:07.882Z] 4f1c88b9dad5: Download complete [2024-01-25T18:42:08.141Z] ce7588e14bc9: Verifying Checksum [2024-01-25T18:42:08.141Z] ce7588e14bc9: Download complete [2024-01-25T18:42:11.427Z] 4f1c88b9dad5: Pull complete [2024-01-25T18:42:11.427Z] ad3a456e5733: Pull complete [2024-01-25T18:42:11.427Z] 69c7f0334f64: Pull complete [2024-01-25T18:42:11.687Z] 1f1c1a5573a3: Pull complete [2024-01-25T18:42:14.222Z] ce7588e14bc9: Pull complete [2024-01-25T18:42:14.481Z] b5e4710f87ac: Pull complete [2024-01-25T18:42:14.481Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-01-25T18:42:14.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-01-25T18:42:14.481Z] ---> 88b5674ff536 [2024-01-25T18:42:14.481Z] Step 3/10 : ARG MAKE=make build [2024-01-25T18:42:20.239Z] Still waiting to schedule task [2024-01-25T18:42:20.240Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-01-25T18:42:21.059Z] ---> Running in b317849d3d7c [2024-01-25T18:42:21.059Z] Removing intermediate container b317849d3d7c [2024-01-25T18:42:21.059Z] ---> 8bf876aaeaf4 [2024-01-25T18:42:21.059Z] Step 4/10 : WORKDIR /device-sdk-go [2024-01-25T18:42:21.059Z] ---> Running in 4519cf26e387 [2024-01-25T18:42:21.059Z] Removing intermediate container 4519cf26e387 [2024-01-25T18:42:21.059Z] ---> cd9f4f3593de [2024-01-25T18:42:21.059Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-01-25T18:42:21.059Z] ---> Running in 8b685d4ac964 [2024-01-25T18:42:21.059Z] Removing intermediate container 8b685d4ac964 [2024-01-25T18:42:21.059Z] ---> c3686f3eb45e [2024-01-25T18:42:21.059Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-01-25T18:42:21.059Z] ---> Running in 8f277983e081 [2024-01-25T18:42:21.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:42:21.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T18:42:21.578Z] OK: 264 MiB in 52 packages [2024-01-25T18:42:21.838Z] Removing intermediate container 8f277983e081 [2024-01-25T18:42:21.838Z] ---> 7ada0f63018b [2024-01-25T18:42:21.838Z] Step 7/10 : COPY go.mod vendor* ./ [2024-01-25T18:42:21.838Z] ---> b05ee50ba716 [2024-01-25T18:42:21.838Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-01-25T18:42:22.097Z] ---> Running in 914be05e9192 [2024-01-25T18:42:54.234Z] Removing intermediate container 914be05e9192 [2024-01-25T18:42:54.234Z] ---> 076d559805ad [2024-01-25T18:42:54.234Z] Step 9/10 : COPY . . [2024-01-25T18:42:54.234Z] ---> 56179d98148b [2024-01-25T18:42:54.234Z] Step 10/10 : RUN ${MAKE} [2024-01-25T18:42:54.234Z] ---> Running in b68bae22a515 [2024-01-25T18:42:54.234Z] noop [2024-01-25T18:42:54.234Z] Removing intermediate container b68bae22a515 [2024-01-25T18:42:54.234Z] ---> df4ae301f23f [2024-01-25T18:42:54.234Z] Successfully built df4ae301f23f [2024-01-25T18:42:54.234Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:42:54.616Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-25T18:42:54.617Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T18:42:54.738Z] prd-ubuntu20.04-docker-8c-8g-27916 does not seem to be running inside a container [2024-01-25T18:42:54.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-25T18:42:55.109Z] $ docker top 0763311d217e9fa51085a18ab7bf32eaf55ffb00cb9a9c1085517fa66ad2dc01 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T18:42:55.498Z] + go version [2024-01-25T18:42:55.498Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-01-25T18:42:55.506Z] $ docker stop --time=1 0763311d217e9fa51085a18ab7bf32eaf55ffb00cb9a9c1085517fa66ad2dc01 [2024-01-25T18:42:56.819Z] $ docker rm -f --volumes 0763311d217e9fa51085a18ab7bf32eaf55ffb00cb9a9c1085517fa66ad2dc01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:42:57.415Z] + docker inspect -f . ci-base-image-x86_64 [2024-01-25T18:42:57.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T18:42:57.536Z] prd-ubuntu20.04-docker-8c-8g-27916 does not seem to be running inside a container [2024-01-25T18:42:57.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-01-25T18:42:57.957Z] $ docker top a0f9103db8d95b8e17897dbd2238269229a07b58371b5c758fa82865c9bfa0e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T18:42:58.364Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh [2024-01-25T18:42:58.692Z] + make test [2024-01-25T18:42:58.692Z] go test -race -coverprofile=coverage.out ./... [2024-01-25T18:43:05.265Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-01-25T18:43:20.154Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-01-25T18:43:20.154Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-01-25T18:43:20.154Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-01-25T18:43:20.154Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-01-25T18:43:20.154Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-01-25T18:43:20.414Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-01-25T18:43:20.414Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-01-25T18:43:21.352Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.043s coverage: 27.6% of statements [2024-01-25T18:43:21.352Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-01-25T18:43:21.611Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.051s coverage: 81.5% of statements [2024-01-25T18:43:21.611Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.070s coverage: 86.0% of statements [2024-01-25T18:43:22.549Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-01-25T18:43:22.549Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-01-25T18:43:22.549Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.063s coverage: 71.8% of statements [2024-01-25T18:43:22.809Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-01-25T18:43:26.104Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.057s coverage: 14.4% of statements [2024-01-25T18:43:26.104Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.104s coverage: 45.9% of statements [2024-01-25T18:43:26.104Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.080s coverage: 68.5% of statements [2024-01-25T18:43:26.104Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.098s coverage: 89.2% of statements [2024-01-25T18:43:26.104Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.049s coverage: 5.5% of statements [2024-01-25T18:43:52.658Z] GO111MODULE=on go vet ./... [2024-01-25T18:43:52.658Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-01-25T18:43:52.658Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-01-25T18:43:52.658Z] ./bin/test-attribution-txt.sh [2024-01-25T18:43:52.658Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-01-25T18:43:52.676Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-01-25T18:43:52.713Z] $ docker stop --time=1 a0f9103db8d95b8e17897dbd2238269229a07b58371b5c758fa82865c9bfa0e8 [2024-01-25T18:43:57.505Z] $ docker rm -f --volumes a0f9103db8d95b8e17897dbd2238269229a07b58371b5c758fa82865c9bfa0e8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-25T18:43:58.069Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-01-25T18:43:58.157Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-01-25T18:43:58.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-25T18:43:59.073Z] + ls -al . [2024-01-25T18:43:59.073Z] total 308 [2024-01-25T18:43:59.073Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 25 18:42 . [2024-01-25T18:43:59.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 18:41 .. [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 18:41 .dockerignore [2024-01-25T18:43:59.073Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 18:43 .git [2024-01-25T18:43:59.073Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:41 .github [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 137 Jan 25 18:41 .gitignore [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 18:41 .golangci.yml [2024-01-25T18:43:59.073Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 18:42 .semver [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jan 25 18:41 CHANGELOG.md [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 18:41 GOVERNANCE.md [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 885 Jan 25 18:41 Jenkinsfile [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 18:41 LICENSE [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jan 25 18:41 Makefile [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 18:41 OWNERS.md [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jan 25 18:41 README.md [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 18:42 VERSION [2024-01-25T18:43:59.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 18:41 bin [2024-01-25T18:43:59.073Z] -rw-r--r-- 1 jenkins jenkins 122153 Jan 25 18:43 coverage.out [2024-01-25T18:43:59.073Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 18:41 example [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 3767 Jan 25 18:41 go.mod [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 33874 Jan 25 18:41 go.sum [2024-01-25T18:43:59.073Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 18:41 internal [2024-01-25T18:43:59.073Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:41 openapi [2024-01-25T18:43:59.073Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 25 18:41 pkg [2024-01-25T18:43:59.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 18:41 snap [2024-01-25T18:43:59.073Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:43:59.447Z] + 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=5716ef3bd778e4862bbc20bc852388662eb18d6e --label arch=amd64 --label version=0.0.0 . [2024-01-25T18:43:59.447Z] Sending build context to Docker daemon 22.06MB [2024-01-25T18:43:59.447Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-01-25T18:43:59.447Z] Step 2/24 : FROM ${BASE} AS builder [2024-01-25T18:43:59.447Z] ---> df4ae301f23f [2024-01-25T18:43:59.447Z] Step 3/24 : ARG MAKE=make build [2024-01-25T18:44:00.016Z] ---> Running in ada7ffd73951 [2024-01-25T18:44:00.016Z] Removing intermediate container ada7ffd73951 [2024-01-25T18:44:00.016Z] ---> 8d5e8d2bf0ff [2024-01-25T18:44:00.016Z] Step 4/24 : WORKDIR /device-sdk-go [2024-01-25T18:44:00.016Z] ---> Running in 1196a2b97550 [2024-01-25T18:44:00.274Z] Removing intermediate container 1196a2b97550 [2024-01-25T18:44:00.274Z] ---> fa4a7d69206c [2024-01-25T18:44:00.274Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-01-25T18:44:00.274Z] ---> Running in be17b0c4eafc [2024-01-25T18:44:00.274Z] Removing intermediate container be17b0c4eafc [2024-01-25T18:44:00.274Z] ---> 4c380c90deed [2024-01-25T18:44:00.274Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-01-25T18:44:00.274Z] ---> Running in 169490ba7341 [2024-01-25T18:44:00.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:44:00.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T18:44:00.793Z] OK: 264 MiB in 52 packages [2024-01-25T18:44:01.051Z] Removing intermediate container 169490ba7341 [2024-01-25T18:44:01.051Z] ---> b834437a6902 [2024-01-25T18:44:01.051Z] Step 7/24 : COPY go.mod vendor* ./ [2024-01-25T18:44:01.309Z] ---> 10b7ba3c9b8f [2024-01-25T18:44:01.309Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-01-25T18:44:01.309Z] ---> Running in 6d3d8fa9a77b [2024-01-25T18:44:01.382Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-27917 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws [2024-01-25T18:44:01.419Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2024-01-25T18:44:01.476Z] The recommended git tool is: git [2024-01-25T18:44:01.873Z] Removing intermediate container 6d3d8fa9a77b [2024-01-25T18:44:01.873Z] ---> 2829e41bc5ea [2024-01-25T18:44:01.873Z] Step 9/24 : COPY . . [2024-01-25T18:44:02.807Z] ---> 354d47bf61ac [2024-01-25T18:44:02.807Z] Step 10/24 : RUN ${MAKE} [2024-01-25T18:44:02.807Z] ---> Running in 1b022b0e4120 [2024-01-25T18:44:03.064Z] 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-01-25T18:44:06.678Z] using credential edgex-jenkins-ssh [2024-01-25T18:44:06.704Z] Cloning the remote Git repository [2024-01-25T18:44:06.745Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-01-25T18:44:06.844Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2024-01-25T18:44:06.984Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-01-25T18:44:06.985Z] > git --version # timeout=10 [2024-01-25T18:44:07.011Z] > git --version # 'git version 2.25.1' [2024-01-25T18:44:07.013Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-25T18:44:07.160Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-25T18:44:09.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-01-25T18:44:09.661Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-01-25T18:44:11.216Z] Merging remotes/origin/main commit d1553bc24bec90db76a2b10fa9e928c5afbf1e1c into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 [2024-01-25T18:44:11.623Z] Merge succeeded, producing 3fb07837ef7ab509c9018b92bace93e1b9b37ebe [2024-01-25T18:44:11.624Z] Checking out Revision 3fb07837ef7ab509c9018b92bace93e1b9b37ebe (PR-1540) [2024-01-25T18:44:10.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-01-25T18:44:10.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-01-25T18:44:10.514Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-25T18:44:10.531Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-01-25T18:44:11.234Z] > git config core.sparsecheckout # timeout=10 [2024-01-25T18:44:11.299Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2024-01-25T18:44:11.406Z] > git remote # timeout=10 [2024-01-25T18:44:11.423Z] > git config --get remote.origin.url # timeout=10 [2024-01-25T18:44:11.437Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-01-25T18:44:11.449Z] > git merge d1553bc24bec90db76a2b10fa9e928c5afbf1e1c # timeout=10 [2024-01-25T18:44:11.547Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-01-25T18:44:11.632Z] > git config core.sparsecheckout # timeout=10 [2024-01-25T18:44:11.663Z] > git checkout -f 3fb07837ef7ab509c9018b92bace93e1b9b37ebe # timeout=10 [2024-01-25T18:44:15.185Z] Commit message: "Merge commit 'd1553bc24bec90db76a2b10fa9e928c5afbf1e1c' into HEAD" [2024-01-25T18:44:15.207Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T18:44:15.192Z] > git rev-list --no-walk e2698840f6e41072fd036ba9b2259f14aabd599a # timeout=10 [2024-01-25T18:44:16.403Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-01-25T18:44:16.403Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-25T18:44:16.403Z] Dload Upload Total Spent Left Speed [2024-01-25T18:44:16.403Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 92569 0 --:--:-- --:--:-- --:--:-- 93250 [Pipeline] sh [2024-01-25T18:44:16.871Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-01-25T18:44:17.194Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2024-01-25T18:44:17.194Z] sudo tee /etc/docker/daemon.new [2024-01-25T18:44:17.194Z] { [2024-01-25T18:44:17.194Z] "registry-mirrors": [ [2024-01-25T18:44:17.194Z] "https://nexus3.edgexfoundry.org:10001" [2024-01-25T18:44:17.194Z] ], [2024-01-25T18:44:17.194Z] "bip": "10.250.0.254/24", [2024-01-25T18:44:17.194Z] "hosts": [ [2024-01-25T18:44:17.194Z] "tcp://0.0.0.0:5555", [2024-01-25T18:44:17.194Z] "unix:///var/run/docker.sock" [2024-01-25T18:44:17.194Z] ], [2024-01-25T18:44:17.194Z] "mtu": 1458, [2024-01-25T18:44:17.194Z] "selinux-enabled": true, [2024-01-25T18:44:17.194Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-01-25T18:44:17.194Z] } [Pipeline] sh [2024-01-25T18:44:17.513Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-01-25T18:44:17.839Z] + sudo service docker restart [2024-01-25T18:44:25.025Z] Removing intermediate container 1b022b0e4120 [2024-01-25T18:44:25.025Z] ---> 6be5b9a7ec57 [2024-01-25T18:44:25.025Z] Step 11/24 : FROM alpine:3.18 [2024-01-25T18:44:25.025Z] 3.18: Pulling from library/alpine [2024-01-25T18:44:25.025Z] c926b61bad3b: Pulling fs layer [2024-01-25T18:44:25.025Z] c926b61bad3b: Verifying Checksum [2024-01-25T18:44:25.025Z] c926b61bad3b: Download complete [2024-01-25T18:44:25.025Z] c926b61bad3b: Pull complete [2024-01-25T18:44:25.026Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2024-01-25T18:44:25.026Z] Status: Downloaded newer image for alpine:3.18 [2024-01-25T18:44:25.026Z] ---> b541f2080109 [2024-01-25T18:44:25.026Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-01-25T18:44:25.026Z] ---> Running in eeda2bdc0c3f [2024-01-25T18:44:25.026Z] Removing intermediate container eeda2bdc0c3f [2024-01-25T18:44:25.026Z] ---> a4b1bce4176c [2024-01-25T18:44:25.026Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-01-25T18:44:25.026Z] ---> Running in 5026957dc9ac [2024-01-25T18:44:25.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:44:25.026Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T18:44:25.286Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-01-25T18:44:25.286Z] Executing busybox-1.36.1-r5.trigger [2024-01-25T18:44:25.286Z] OK: 7 MiB in 16 packages [2024-01-25T18:44:25.545Z] Removing intermediate container 5026957dc9ac [2024-01-25T18:44:25.545Z] ---> 53761ee7cf0d [2024-01-25T18:44:25.545Z] Step 14/24 : RUN apk --no-cache upgrade [2024-01-25T18:44:25.545Z] ---> Running in f0160a1b621b [2024-01-25T18:44:25.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-01-25T18:44:25.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-01-25T18:44:26.061Z] (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) [2024-01-25T18:44:26.061Z] (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) [2024-01-25T18:44:26.061Z] OK: 7 MiB in 16 packages [2024-01-25T18:44:27.002Z] Removing intermediate container f0160a1b621b [2024-01-25T18:44:27.002Z] ---> 35b9b1d75f38 [2024-01-25T18:44:27.002Z] Step 15/24 : WORKDIR / [2024-01-25T18:44:27.002Z] ---> Running in dfed3b5ad1c8 [2024-01-25T18:44:27.002Z] Removing intermediate container dfed3b5ad1c8 [2024-01-25T18:44:27.002Z] ---> b729d6c6a6d9 [2024-01-25T18:44:27.002Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-01-25T18:44:27.002Z] ---> 9541b0752b39 [2024-01-25T18:44:27.002Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-01-25T18:44:27.938Z] ---> 5ffac95ae678 [2024-01-25T18:44:27.938Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-01-25T18:44:27.938Z] ---> d5ec53703a2b [2024-01-25T18:44:27.938Z] Step 19/24 : EXPOSE 59999 [2024-01-25T18:44:27.938Z] ---> Running in 689609dd0138 [2024-01-25T18:44:27.938Z] Removing intermediate container 689609dd0138 [2024-01-25T18:44:27.938Z] ---> 4ee07a6908e0 [2024-01-25T18:44:27.938Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-01-25T18:44:27.938Z] ---> Running in eecaaa7e9eb1 [2024-01-25T18:44:28.197Z] Removing intermediate container eecaaa7e9eb1 [2024-01-25T18:44:28.197Z] ---> c595d76f0ad5 [2024-01-25T18:44:28.197Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-01-25T18:44:28.197Z] ---> Running in ed2f58480581 [2024-01-25T18:44:28.197Z] Removing intermediate container ed2f58480581 [2024-01-25T18:44:28.197Z] ---> 68e03c48a5f6 [2024-01-25T18:44:28.197Z] Step 22/24 : LABEL arch=amd64 [2024-01-25T18:44:28.197Z] ---> Running in 9d67974e4330 [2024-01-25T18:44:28.197Z] Removing intermediate container 9d67974e4330 [2024-01-25T18:44:28.197Z] ---> 4b83501e8787 [2024-01-25T18:44:28.197Z] Step 23/24 : LABEL git_sha=5716ef3bd778e4862bbc20bc852388662eb18d6e [2024-01-25T18:44:28.457Z] ---> Running in a305319f7c0a [2024-01-25T18:44:28.457Z] Removing intermediate container a305319f7c0a [2024-01-25T18:44:28.457Z] ---> bf9121c4e6a5 [2024-01-25T18:44:28.457Z] Step 24/24 : LABEL version=0.0.0 [2024-01-25T18:44:28.457Z] ---> Running in 29d60afa3690 [2024-01-25T18:44:28.457Z] Removing intermediate container 29d60afa3690 [2024-01-25T18:44:28.457Z] ---> e7f4133a3f35 [2024-01-25T18:44:28.457Z] [Warning] One or more build-args [ARCH] were not consumed [2024-01-25T18:44:28.457Z] Successfully built e7f4133a3f35 [2024-01-25T18:44:28.457Z] 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-01-25T18:44:29.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T18:44:29.283Z] [2024-01-25T18:44:29.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:44:29.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T18:44:29.621Z] latest: Pulling from edgex-lftools-log-publisher [2024-01-25T18:44:29.621Z] 5eb5b503b376: Pulling fs layer [2024-01-25T18:44:29.621Z] 5c69ac0246d0: Pulling fs layer [2024-01-25T18:44:29.621Z] ec43610c2a17: Pulling fs layer [2024-01-25T18:44:29.621Z] 3a2ae6a8a46f: Pulling fs layer [2024-01-25T18:44:29.621Z] 33b1e0a273af: Pulling fs layer [2024-01-25T18:44:29.621Z] 5d3b04190fa2: Pulling fs layer [2024-01-25T18:44:29.621Z] 2f39f015ded8: Pulling fs layer [2024-01-25T18:44:29.621Z] 3a2ae6a8a46f: Waiting [2024-01-25T18:44:29.621Z] 33b1e0a273af: Waiting [2024-01-25T18:44:29.621Z] 2f39f015ded8: Waiting [2024-01-25T18:44:29.621Z] 5d3b04190fa2: Waiting [2024-01-25T18:44:29.621Z] 5c69ac0246d0: Download complete [2024-01-25T18:44:29.621Z] 3a2ae6a8a46f: Download complete [2024-01-25T18:44:29.621Z] 33b1e0a273af: Verifying Checksum [2024-01-25T18:44:29.621Z] 33b1e0a273af: Download complete [2024-01-25T18:44:29.621Z] ec43610c2a17: Verifying Checksum [2024-01-25T18:44:29.621Z] ec43610c2a17: Download complete [2024-01-25T18:44:29.621Z] 5d3b04190fa2: Download complete [2024-01-25T18:44:29.882Z] 5eb5b503b376: Verifying Checksum [2024-01-25T18:44:29.882Z] 5eb5b503b376: Download complete [2024-01-25T18:44:30.450Z] 2f39f015ded8: Download complete [2024-01-25T18:44:31.015Z] 5eb5b503b376: Pull complete [2024-01-25T18:44:31.015Z] 5c69ac0246d0: Pull complete [2024-01-25T18:44:31.584Z] ec43610c2a17: Pull complete [2024-01-25T18:44:31.584Z] 3a2ae6a8a46f: Pull complete [2024-01-25T18:44:31.584Z] 33b1e0a273af: Pull complete [2024-01-25T18:44:31.842Z] 5d3b04190fa2: Pull complete [2024-01-25T18:44:36.025Z] 2f39f015ded8: Pull complete [2024-01-25T18:44:36.025Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-01-25T18:44:36.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T18:44:36.025Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T18:44:36.196Z] prd-ubuntu20.04-docker-8c-8g-27916 does not seem to be running inside a container [2024-01-25T18:44:36.227Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-25T18:44:41.498Z] $ docker top f3641d8891b2b181c84a2c2d8f579fc307fab18237359fb7b3669f88ae106f65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T18:44:41.706Z] provisioning config files... [2024-01-25T18:44:41.732Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config95508060596575645tmp [Pipeline] libraryResource [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:44:42.021Z] ---> job-cost.sh [2024-01-25T18:44:42.022Z] lf-activate-venv: SKIPPING [2024-01-25T18:44:42.022Z] INFO: No Stack... [2024-01-25T18:44:42.247Z] ---> ****-login.sh [2024-01-25T18:44:42.247Z] nexus3.edgexfoundry.org:10001 [2024-01-25T18:44:42.281Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T18:44:42.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:44:42.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:44:42.795Z] Configure a credential helper to remove this warning. See [2024-01-25T18:44:42.795Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:44:42.795Z] [2024-01-25T18:44:42.795Z] Login Succeeded [2024-01-25T18:44:42.795Z] nexus3.edgexfoundry.org:10002 [2024-01-25T18:44:42.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:44:42.850Z] INFO: Archiving Costs [Pipeline] sh [2024-01-25T18:44:43.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:44:43.065Z] Configure a credential helper to remove this warning. See [2024-01-25T18:44:43.065Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:44:43.065Z] [2024-01-25T18:44:43.065Z] Login Succeeded [2024-01-25T18:44:43.065Z] nexus3.edgexfoundry.org:10003 [2024-01-25T18:44:43.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:44:43.145Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv [2024-01-25T18:44:43.145Z] + cut -d, -f6 [Pipeline] lock [2024-01-25T18:44:43.160Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-9-stack-cost] [2024-01-25T18:44:43.169Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-9-stack-cost] did not exist. Created. [2024-01-25T18:44:43.169Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-25T18:44:43.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:44:43.334Z] Configure a credential helper to remove this warning. See [2024-01-25T18:44:43.334Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:44:43.334Z] [2024-01-25T18:44:43.334Z] Login Succeeded [2024-01-25T18:44:43.334Z] nexus3.edgexfoundry.org:10004 [2024-01-25T18:44:43.529Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-25T18:44:43.557Z] Stashed 1 file(s) [Pipeline] } [2024-01-25T18:44:43.588Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-9-stack-cost] [2024-01-25T18:44:43.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:44:43.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:44:43.604Z] Configure a credential helper to remove this warning. See [2024-01-25T18:44:43.604Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:44:43.604Z] [2024-01-25T18:44:43.604Z] Login Succeeded [2024-01-25T18:44:43.604Z] ****.io [Pipeline] // lock [Pipeline] } [2024-01-25T18:44:43.663Z] $ docker stop --time=1 f3641d8891b2b181c84a2c2d8f579fc307fab18237359fb7b3669f88ae106f65 [2024-01-25T18:44:43.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-25T18:44:44.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-01-25T18:44:44.140Z] Configure a credential helper to remove this warning. See [2024-01-25T18:44:44.140Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-01-25T18:44:44.140Z] [2024-01-25T18:44:44.140Z] Login Succeeded [2024-01-25T18:44:44.140Z] ---> ****-login.sh ends [2024-01-25T18:44:44.806Z] $ docker rm -f --volumes f3641d8891b2b181c84a2c2d8f579fc307fab18237359fb7b3669f88ae106f65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2024-01-25T18:44:44.886Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2024-01-25T18:44:45.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T18:44:45.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-01-25T18:44:45.419Z] ========================================================= [2024-01-25T18:44:45.419Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-01-25T18:44:45.419Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:44:45.953Z] + 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-01-25T18:44:46.924Z] #0 building with "default" instance using docker driver [2024-01-25T18:44:46.924Z] [2024-01-25T18:44:46.924Z] #1 [internal] load .dockerignore [2024-01-25T18:44:46.924Z] #1 transferring context: 182B 0.0s done [2024-01-25T18:44:46.924Z] #1 DONE 0.1s [2024-01-25T18:44:46.924Z] [2024-01-25T18:44:46.924Z] #2 [internal] load build definition from Dockerfile [2024-01-25T18:44:46.924Z] #2 transferring dockerfile: 1.66kB done [2024-01-25T18:44:46.924Z] #2 DONE 0.1s [2024-01-25T18:44:47.205Z] [2024-01-25T18:44:47.205Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-01-25T18:44:47.205Z] #3 DONE 0.1s [2024-01-25T18:44:47.205Z] [2024-01-25T18:44:47.205Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-01-25T18:44:47.205Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2024-01-25T18:44:47.601Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s [2024-01-25T18:44:47.601Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s [2024-01-25T18:44:47.601Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s [2024-01-25T18:44:47.601Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2024-01-25T18:44:47.601Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2024-01-25T18:44:47.601Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2024-01-25T18:44:47.601Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2024-01-25T18:44:47.601Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2024-01-25T18:44:47.601Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.03MB / 63.99MB 0.3s [2024-01-25T18:44:47.601Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done [2024-01-25T18:44:47.601Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done [2024-01-25T18:44:47.601Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s [2024-01-25T18:44:47.601Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s [2024-01-25T18:44:47.874Z] #4 ... [2024-01-25T18:44:47.874Z] [2024-01-25T18:44:47.874Z] #5 [internal] load build context [2024-01-25T18:44:47.874Z] #5 transferring context: 11.16MB 0.5s done [2024-01-25T18:44:47.874Z] #5 DONE 0.5s [2024-01-25T18:44:47.874Z] [2024-01-25T18:44:47.874Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-01-25T18:44:47.874Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.53MB / 63.99MB 0.5s [2024-01-25T18:44:47.874Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.34MB / 97.63MB 0.5s [2024-01-25T18:44:47.874Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.5s [2024-01-25T18:44:47.874Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.6s [2024-01-25T18:44:47.874Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 0.6s [2024-01-25T18:44:48.147Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 26.32MB / 63.99MB 0.8s [2024-01-25T18:44:48.147Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done [2024-01-25T18:44:48.147Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 19.92MB / 97.63MB 0.8s [2024-01-25T18:44:48.147Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done [2024-01-25T18:44:48.147Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.9s [2024-01-25T18:44:48.147Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 25.17MB / 97.63MB 0.9s [2024-01-25T18:44:48.147Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2024-01-25T18:44:48.419Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 36.66MB / 63.99MB 1.0s [2024-01-25T18:44:48.419Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 1.2s [2024-01-25T18:44:48.419Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 40.76MB / 97.63MB 1.2s [2024-01-25T18:44:48.419Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.3s done [2024-01-25T18:44:48.692Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.43MB / 63.99MB 1.3s [2024-01-25T18:44:48.692Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s [2024-01-25T18:44:48.692Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 56.62MB / 97.63MB 1.5s [2024-01-25T18:44:48.967Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done [2024-01-25T18:44:48.967Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 61.87MB / 97.63MB 1.6s [2024-01-25T18:44:48.967Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.40MB / 97.63MB 1.8s [2024-01-25T18:44:48.967Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2024-01-25T18:44:49.235Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 78.64MB / 97.63MB 1.9s [2024-01-25T18:44:49.235Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.39MB / 97.63MB 2.0s [2024-01-25T18:44:49.504Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 90.18MB / 97.63MB 2.1s [2024-01-25T18:44:49.504Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.42MB / 97.63MB 2.2s [2024-01-25T18:44:49.772Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s done [2024-01-25T18:44:55.135Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.8s [2024-01-25T18:45:00.481Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.2s [2024-01-25T18:45:07.141Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.3s done [2024-01-25T18:45:09.723Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2024-01-25T18:45:09.723Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 [2024-01-25T18:45:09.723Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2024-01-25T18:45:09.723Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2024-01-25T18:45:15.073Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s [2024-01-25T18:45:18.419Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.6s done [2024-01-25T18:45:18.419Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s [2024-01-25T18:45:19.829Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done [2024-01-25T18:45:20.414Z] #4 DONE 33.0s [2024-01-25T18:45:20.414Z] [2024-01-25T18:45:20.414Z] #6 [builder 2/7] WORKDIR /device-sdk-go [2024-01-25T18:45:21.822Z] #6 DONE 1.6s [2024-01-25T18:45:22.090Z] [2024-01-25T18:45:22.090Z] #7 [builder 3/7] RUN apk add --update --no-cache make git [2024-01-25T18:45:22.674Z] #7 0.742 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T18:45:22.940Z] #7 1.134 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T18:45:24.364Z] #7 2.101 OK: 266 MiB in 52 packages [2024-01-25T18:45:24.364Z] #7 DONE 2.5s [2024-01-25T18:45:24.638Z] [2024-01-25T18:45:24.638Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2024-01-25T18:45:24.638Z] #8 DONE 0.1s [2024-01-25T18:45:24.638Z] [2024-01-25T18:45:24.638Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-01-25T18:45:42.839Z] #9 DONE 16.4s [2024-01-25T18:45:42.839Z] [2024-01-25T18:45:42.839Z] #10 [builder 6/7] COPY . . [2024-01-25T18:45:42.839Z] #10 DONE 0.4s [2024-01-25T18:45:42.839Z] [2024-01-25T18:45:42.839Z] #11 [builder 7/7] RUN echo noop [2024-01-25T18:45:42.839Z] #11 0.599 noop [2024-01-25T18:45:42.839Z] #11 DONE 0.7s [2024-01-25T18:45:42.839Z] [2024-01-25T18:45:42.839Z] #12 exporting to image [2024-01-25T18:45:42.839Z] #12 exporting layers [2024-01-25T18:46:01.042Z] #12 exporting layers 17.0s done [2024-01-25T18:46:01.042Z] #12 writing image sha256:ad528afe703445172b27c1a5cf68bb2294b14d22d951fb6696a5916267ea906b done [2024-01-25T18:46:01.042Z] #12 naming to docker.io/library/ci-base-image-arm64 0.0s done [2024-01-25T18:46:01.042Z] #12 DONE 17.0s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:46:01.486Z] + docker inspect -f . ci-base-image-arm64 [2024-01-25T18:46:01.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T18:46:01.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-27917 does not seem to be running inside a container [2024-01-25T18:46:01.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-25T18:46:02.964Z] $ docker top 9a51d32ffbfdaa2977fe0f72166c58d26952552e4657c132c4b0f257e7745276 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T18:46:03.498Z] + go version [2024-01-25T18:46:03.764Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-01-25T18:46:03.781Z] $ docker stop --time=1 9a51d32ffbfdaa2977fe0f72166c58d26952552e4657c132c4b0f257e7745276 [2024-01-25T18:46:05.318Z] $ docker rm -f --volumes 9a51d32ffbfdaa2977fe0f72166c58d26952552e4657c132c4b0f257e7745276 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:46:06.140Z] + docker inspect -f . ci-base-image-arm64 [2024-01-25T18:46:06.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T18:46:06.353Z] prd-ubuntu20.04-docker-arm64-4c-16g-27917 does not seem to be running inside a container [2024-01-25T18:46:06.410Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-01-25T18:46:09.534Z] $ docker top 92988c1231680a670937b0eb644e481de127dd6d9773a8e2f1fd52f306995f95 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T18:46:10.071Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/9 [Pipeline] fileExists [Pipeline] sh [2024-01-25T18:46:10.451Z] + make test [2024-01-25T18:46:10.451Z] go test -race -coverprofile=coverage.out ./... [2024-01-25T18:46:42.802Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-01-25T18:47:50.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-01-25T18:47:50.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-01-25T18:47:50.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-01-25T18:47:50.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-01-25T18:47:50.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-01-25T18:47:50.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-01-25T18:47:50.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-01-25T18:47:50.670Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.222s coverage: 27.6% of statements [2024-01-25T18:47:50.670Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.256s coverage: 81.5% of statements [2024-01-25T18:47:50.670Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.360s coverage: 86.0% of statements [2024-01-25T18:47:52.613Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-01-25T18:47:54.024Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.393s coverage: 71.8% of statements [2024-01-25T18:47:54.613Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-01-25T18:47:54.613Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-01-25T18:47:57.185Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.269s coverage: 14.4% of statements [2024-01-25T18:47:57.185Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.861s coverage: 45.9% of statements [2024-01-25T18:47:57.185Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.395s coverage: 68.5% of statements [2024-01-25T18:47:57.185Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.453s coverage: 89.2% of statements [2024-01-25T18:47:57.185Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-01-25T18:47:58.583Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.220s coverage: 5.5% of statements [2024-01-25T18:47:59.162Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-01-25T18:47:59.162Z] GO111MODULE=on go vet ./... [2024-01-25T18:49:07.000Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-01-25T18:49:07.000Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-01-25T18:49:07.000Z] ./bin/test-attribution-txt.sh [2024-01-25T18:49:07.000Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-01-25T18:49:07.024Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-01-25T18:49:07.072Z] $ docker stop --time=1 92988c1231680a670937b0eb644e481de127dd6d9773a8e2f1fd52f306995f95 [2024-01-25T18:49:09.049Z] $ docker rm -f --volumes 92988c1231680a670937b0eb644e481de127dd6d9773a8e2f1fd52f306995f95 [Pipeline] // withDockerContainer [Pipeline] sh [2024-01-25T18:49:10.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-01-25T18:49:10.613Z] Warning: overwriting stash ‘coverage-report’ [2024-01-25T18:49:11.110Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-01-25T18:49:11.688Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-01-25T18:49:12.002Z] + ls -al . [2024-01-25T18:49:12.002Z] total 304 [2024-01-25T18:49:12.002Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 18:46 . [2024-01-25T18:49:12.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 18:44 .. [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 18:44 .dockerignore [2024-01-25T18:49:12.002Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 18:44 .git [2024-01-25T18:49:12.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:44 .github [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 137 Jan 25 18:44 .gitignore [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 18:44 .golangci.yml [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 48109 Jan 25 18:44 CHANGELOG.md [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 18:44 GOVERNANCE.md [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 885 Jan 25 18:44 Jenkinsfile [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 18:44 LICENSE [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 1842 Jan 25 18:44 Makefile [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 18:44 OWNERS.md [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jan 25 18:44 README.md [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 18:42 VERSION [2024-01-25T18:49:12.002Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 18:44 bin [2024-01-25T18:49:12.002Z] -rw-r--r-- 1 jenkins jenkins 122153 Jan 25 18:47 coverage.out [2024-01-25T18:49:12.002Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 18:44 example [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 3767 Jan 25 18:44 go.mod [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 33874 Jan 25 18:44 go.sum [2024-01-25T18:49:12.002Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 18:44 internal [2024-01-25T18:49:12.002Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 25 18:44 openapi [2024-01-25T18:49:12.002Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 25 18:44 pkg [2024-01-25T18:49:12.002Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 18:44 snap [2024-01-25T18:49:12.002Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:49:12.409Z] + 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=3fb07837ef7ab509c9018b92bace93e1b9b37ebe --label arch=arm64 --label version=0.0.0 . [2024-01-25T18:49:12.990Z] #0 building with "default" instance using docker driver [2024-01-25T18:49:12.990Z] [2024-01-25T18:49:12.990Z] #1 [internal] load .dockerignore [2024-01-25T18:49:12.990Z] #1 transferring context: 33B [2024-01-25T18:49:13.255Z] #1 transferring context: 182B 0.0s done [2024-01-25T18:49:13.255Z] #1 DONE 0.0s [2024-01-25T18:49:13.255Z] [2024-01-25T18:49:13.255Z] #2 [internal] load build definition from Dockerfile [2024-01-25T18:49:13.255Z] #2 transferring dockerfile: 1.66kB done [2024-01-25T18:49:13.255Z] #2 DONE 0.0s [2024-01-25T18:49:13.255Z] [2024-01-25T18:49:13.255Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2024-01-25T18:49:13.255Z] #3 DONE 0.0s [2024-01-25T18:49:13.255Z] [2024-01-25T18:49:13.255Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2024-01-25T18:49:13.527Z] #4 DONE 0.3s [2024-01-25T18:49:13.527Z] [2024-01-25T18:49:13.527Z] #5 [internal] load build context [2024-01-25T18:49:13.527Z] #5 transferring context: 137.33kB 0.1s done [2024-01-25T18:49:13.527Z] #5 DONE 0.1s [2024-01-25T18:49:13.527Z] [2024-01-25T18:49:13.527Z] #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2024-01-25T18:49:13.527Z] #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.0s done [2024-01-25T18:49:13.527Z] #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2024-01-25T18:49:13.527Z] #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2024-01-25T18:49:13.527Z] #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2024-01-25T18:49:13.527Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s [2024-01-25T18:49:13.798Z] #6 ... [2024-01-25T18:49:13.798Z] [2024-01-25T18:49:13.798Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2024-01-25T18:49:13.798Z] #7 DONE 0.2s [2024-01-25T18:49:13.798Z] [2024-01-25T18:49:13.798Z] #8 [builder 2/7] WORKDIR /device-sdk-go [2024-01-25T18:49:13.798Z] #8 DONE 0.1s [2024-01-25T18:49:13.798Z] [2024-01-25T18:49:13.798Z] #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2024-01-25T18:49:13.798Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done [2024-01-25T18:49:13.798Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2024-01-25T18:49:14.065Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done [2024-01-25T18:49:14.332Z] #6 DONE 0.9s [2024-01-25T18:49:14.332Z] [2024-01-25T18:49:14.332Z] #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init [2024-01-25T18:49:14.923Z] #9 0.615 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T18:49:15.506Z] #9 0.941 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T18:49:16.099Z] #9 ... [2024-01-25T18:49:16.099Z] [2024-01-25T18:49:16.099Z] #10 [builder 3/7] RUN apk add --update --no-cache make git [2024-01-25T18:49:16.099Z] #10 0.700 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T18:49:16.099Z] #10 1.140 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T18:49:16.099Z] #10 2.180 OK: 266 MiB in 52 packages [2024-01-25T18:49:16.099Z] #10 DONE 2.4s [2024-01-25T18:49:16.099Z] [2024-01-25T18:49:16.099Z] #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init [2024-01-25T18:49:16.099Z] #9 1.919 (1/1) Installing dumb-init (1.2.5-r2) [2024-01-25T18:49:16.374Z] #9 ... [2024-01-25T18:49:16.374Z] [2024-01-25T18:49:16.374Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2024-01-25T18:49:16.374Z] #11 DONE 0.2s [2024-01-25T18:49:16.374Z] [2024-01-25T18:49:16.374Z] #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init [2024-01-25T18:49:16.374Z] #9 1.930 Executing busybox-1.36.1-r5.trigger [2024-01-25T18:49:16.374Z] #9 1.967 OK: 8 MiB in 16 packages [2024-01-25T18:49:16.641Z] #9 DONE 2.3s [2024-01-25T18:49:16.641Z] [2024-01-25T18:49:16.641Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-01-25T18:49:17.603Z] #12 DONE 1.1s [2024-01-25T18:49:17.603Z] [2024-01-25T18:49:17.603Z] #13 [builder 6/7] COPY . . [2024-01-25T18:49:17.869Z] #13 DONE 0.5s [2024-01-25T18:49:17.869Z] [2024-01-25T18:49:17.869Z] #14 [builder 7/7] RUN make build [2024-01-25T18:49:18.453Z] #14 0.674 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-01-25T18:49:22.696Z] #14 ... [2024-01-25T18:49:22.696Z] [2024-01-25T18:49:22.696Z] #15 [stage-1 3/7] RUN apk --no-cache upgrade [2024-01-25T18:49:22.696Z] #15 0.849 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-01-25T18:49:22.696Z] #15 1.210 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-01-25T18:49:22.696Z] #15 2.303 (1/2) Upgrading libcrypto3 (3.1.4-r1 -> 3.1.4-r4) [2024-01-25T18:49:22.696Z] #15 2.405 (2/2) Upgrading libssl3 (3.1.4-r1 -> 3.1.4-r4) [2024-01-25T18:49:22.696Z] #15 2.428 OK: 8 MiB in 16 packages [2024-01-25T18:49:22.696Z] #15 DONE 5.9s [2024-01-25T18:49:22.696Z] [2024-01-25T18:49:22.696Z] #14 [builder 7/7] RUN make build [2024-01-25T18:50:30.520Z] #14 DONE 63.8s [2024-01-25T18:50:30.520Z] [2024-01-25T18:50:30.520Z] #16 [stage-1 4/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-01-25T18:50:30.520Z] #16 DONE 0.1s [2024-01-25T18:50:30.520Z] [2024-01-25T18:50:30.520Z] #17 [stage-1 5/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-01-25T18:50:30.520Z] #17 DONE 0.3s [2024-01-25T18:50:30.520Z] [2024-01-25T18:50:30.520Z] #18 [stage-1 6/7] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-01-25T18:50:30.520Z] #18 DONE 0.1s [2024-01-25T18:50:30.520Z] [2024-01-25T18:50:30.520Z] #19 exporting to image [2024-01-25T18:50:30.520Z] #19 exporting layers [2024-01-25T18:50:30.520Z] #19 exporting layers 0.4s done [2024-01-25T18:50:30.520Z] #19 writing image sha256:da09a4ac7c1bdabf39301861b6e06bd857a812d2d841a998c11a457101c65d3c done [2024-01-25T18:50:30.520Z] #19 naming to docker.io/library/device-sdk-simple-arm64 done [2024-01-25T18:50:30.520Z] #19 DONE 0.4s [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-01-25T18:50:31.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T18:50:31.343Z] [2024-01-25T18:50:31.343Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:50:31.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T18:50:31.716Z] arm64: Pulling from edgex-lftools-log-publisher [2024-01-25T18:50:31.716Z] 8998bd30e6a1: Pulling fs layer [2024-01-25T18:50:31.716Z] 04944245beec: Pulling fs layer [2024-01-25T18:50:31.716Z] 699f458cf7ca: Pulling fs layer [2024-01-25T18:50:31.716Z] 765212b225bb: Pulling fs layer [2024-01-25T18:50:31.983Z] f23df028b6ca: Pulling fs layer [2024-01-25T18:50:31.983Z] d65c8cfc05b1: Pulling fs layer [2024-01-25T18:50:31.983Z] 2437ff75d9bd: Pulling fs layer [2024-01-25T18:50:31.983Z] f23df028b6ca: Waiting [2024-01-25T18:50:31.983Z] d65c8cfc05b1: Waiting [2024-01-25T18:50:31.983Z] 2437ff75d9bd: Waiting [2024-01-25T18:50:31.983Z] 765212b225bb: Waiting [2024-01-25T18:50:31.983Z] 04944245beec: Verifying Checksum [2024-01-25T18:50:31.983Z] 04944245beec: Download complete [2024-01-25T18:50:31.983Z] 765212b225bb: Verifying Checksum [2024-01-25T18:50:31.983Z] 765212b225bb: Download complete [2024-01-25T18:50:31.983Z] f23df028b6ca: Verifying Checksum [2024-01-25T18:50:31.983Z] f23df028b6ca: Download complete [2024-01-25T18:50:31.983Z] d65c8cfc05b1: Download complete [2024-01-25T18:50:32.252Z] 699f458cf7ca: Verifying Checksum [2024-01-25T18:50:32.252Z] 699f458cf7ca: Download complete [2024-01-25T18:50:32.518Z] 8998bd30e6a1: Verifying Checksum [2024-01-25T18:50:32.518Z] 8998bd30e6a1: Download complete [2024-01-25T18:50:34.458Z] 2437ff75d9bd: Verifying Checksum [2024-01-25T18:50:34.458Z] 2437ff75d9bd: Download complete [2024-01-25T18:50:41.099Z] 8998bd30e6a1: Pull complete [2024-01-25T18:50:41.099Z] 04944245beec: Pull complete [2024-01-25T18:50:42.505Z] 699f458cf7ca: Pull complete [2024-01-25T18:50:42.505Z] 765212b225bb: Pull complete [2024-01-25T18:50:43.462Z] f23df028b6ca: Pull complete [2024-01-25T18:50:43.462Z] d65c8cfc05b1: Pull complete [2024-01-25T18:51:10.123Z] 2437ff75d9bd: Pull complete [2024-01-25T18:51:10.123Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-01-25T18:51:10.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-01-25T18:51:10.123Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T18:51:10.419Z] prd-ubuntu20.04-docker-arm64-4c-16g-27917 does not seem to be running inside a container [2024-01-25T18:51:10.469Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-01-25T18:51:12.323Z] $ docker top 8ee59901acea2df5d1162ab0222594f9c325e754cc8782823e216a0857f71c4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:51:12.871Z] ---> job-cost.sh [2024-01-25T18:51:13.137Z] lf-activate-venv: SKIPPING [2024-01-25T18:51:13.137Z] INFO: No Stack... [2024-01-25T18:51:13.401Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T18:51:14.370Z] INFO: Archiving Costs [Pipeline] sh [2024-01-25T18:51:14.688Z] + cat /w/workspace/device-sdk-go/9/archives/cost.csv [2024-01-25T18:51:14.688Z] + cut -d, -f6 [Pipeline] lock [2024-01-25T18:51:14.748Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-9-stack-cost] [2024-01-25T18:51:14.754Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-9-stack-cost] did not exist. Created. [2024-01-25T18:51:14.754Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-01-25T18:51:15.154Z] /w/workspace/device-sdk-go/9@tmp/durable-916c5fba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-01-25T18:51:15.468Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-01-25T18:51:15.484Z] Warning: overwriting stash ‘stack-cost’ [2024-01-25T18:51:15.560Z] Stashed 1 file(s) [Pipeline] } [2024-01-25T18:51:15.567Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-9-stack-cost] [Pipeline] // lock [Pipeline] } [2024-01-25T18:51:15.652Z] $ docker stop --time=1 8ee59901acea2df5d1162ab0222594f9c325e754cc8782823e216a0857f71c4e [2024-01-25T18:51:17.867Z] $ docker rm -f --volumes 8ee59901acea2df5d1162ab0222594f9c325e754cc8782823e216a0857f71c4e [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-01-25T18:51:19.084Z] provisioning config files... [2024-01-25T18:51:19.093Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config6842239935328732865tmp [Pipeline] { [Pipeline] sh [2024-01-25T18:51:19.454Z] + set +x [2024-01-25T18:51:19.454Z] + curl -s https://codecov.io/bash [2024-01-25T18:51:19.454Z] + bash -s -- [2024-01-25T18:51:19.713Z] [2024-01-25T18:51:19.713Z] _____ _ [2024-01-25T18:51:19.713Z] / ____| | | [2024-01-25T18:51:19.713Z] | | ___ __| | ___ ___ _____ __ [2024-01-25T18:51:19.713Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-01-25T18:51:19.713Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-01-25T18:51:19.713Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-01-25T18:51:19.713Z] Bash-1.0.6 [2024-01-25T18:51:19.713Z] [2024-01-25T18:51:19.713Z] [2024-01-25T18:51:19.713Z] ==> git version 2.25.1 found [2024-01-25T18:51:19.713Z] ==> 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-01-25T18:51:19.713Z] Release-Date: 2020-01-08 [2024-01-25T18:51:19.713Z] 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-01-25T18:51:19.713Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-01-25T18:51:19.713Z] ==> Jenkins CI detected. [2024-01-25T18:51:19.713Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 [2024-01-25T18:51:19.713Z] project root: . [2024-01-25T18:51:19.713Z] --> token set from env [2024-01-25T18:51:19.713Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-01-25T18:51:19.713Z] ==> Running gcov in . (disable via -X gcov) [2024-01-25T18:51:19.713Z] ==> Python coveragepy not found [2024-01-25T18:51:19.713Z] ==> Searching for coverage reports in: [2024-01-25T18:51:19.713Z] + . [2024-01-25T18:51:19.713Z] -> Found 1 reports [2024-01-25T18:51:19.713Z] ==> Detecting git/mercurial file structure [2024-01-25T18:51:19.713Z] ==> Reading reports [2024-01-25T18:51:19.713Z] + ./coverage.out bytes=122153 [2024-01-25T18:51:19.713Z] ==> Appending adjustments [2024-01-25T18:51:19.713Z] https://docs.codecov.io/docs/fixing-reports [2024-01-25T18:51:19.973Z] + Found adjustments [2024-01-25T18:51:19.973Z] ==> Gzipping contents [2024-01-25T18:51:19.973Z] 20K /tmp/codecov.r6L7KK.gz [2024-01-25T18:51:19.973Z] ==> Uploading reports [2024-01-25T18:51:19.973Z] url: https://codecov.io [2024-01-25T18:51:19.973Z] query: branch=PR-1540&commit=5716ef3bd778e4862bbc20bc852388662eb18d6e&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2024-01-25T18:51:19.973Z] -> Pinging Codecov [2024-01-25T18:51:19.973Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=5716ef3bd778e4862bbc20bc852388662eb18d6e&build=9&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F9%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2024-01-25T18:51:20.233Z] -> Uploading to [2024-01-25T18:51:20.233Z] https://storage.googleapis.com/codecov/v4/raw/2024-01-25/7E55EF52A471D76F132DFD9A03CDDE97/5716ef3bd778e4862bbc20bc852388662eb18d6e/3312dc27-f052-4fb3-83be-2cf6269241d7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240125T185120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7e63fca3abf8283153dfde616b4d0c9d5780195aa7e4dbb59ef235a3d914048 [2024-01-25T18:51:20.233Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-01-25T18:51:20.233Z] Dload Upload Total Spent Left Speed [2024-01-25T18:51:20.492Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16778 0 0 100 16778 0 82245 --:--:-- --:--:-- --:--:-- 81843 100 16778 0 0 100 16778 0 63794 --:--:-- --:--:-- --:--:-- 63553 [2024-01-25T18:51:20.492Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5716ef3bd778e4862bbc20bc852388662eb18d6e [Pipeline] } [2024-01-25T18:51:20.499Z] 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-01-25T18:51:22.461Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] [2024-01-25T18:51:22.461Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-01-25T18:51:22.461Z] total 16 [2024-01-25T18:51:22.461Z] drwxr-xr-x 3 root root 4096 Jan 25 18:44 . [2024-01-25T18:51:22.461Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 18:44 .. [2024-01-25T18:51:22.461Z] drwxr-xr-x 2 root root 4096 Jan 25 18:44 cost [2024-01-25T18:51:22.461Z] -rw-r--r-- 1 root root 86 Jan 25 18:44 cost.csv [2024-01-25T18:51:22.461Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-01-25T18:51:22.461Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-01-25T18:51:22.461Z] total 16 [2024-01-25T18:51:22.461Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 18:44 . [2024-01-25T18:51:22.461Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 18:44 .. [2024-01-25T18:51:22.461Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 18:44 cost [2024-01-25T18:51:22.461Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 25 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:51:22.756Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:51:23.619Z] ---> package-listing.sh [2024-01-25T18:51:23.619Z] ++ facter osfamily [2024-01-25T18:51:23.619Z] ++ tr '[:upper:]' '[:lower:]' [2024-01-25T18:51:23.878Z] + OS_FAMILY=debian [2024-01-25T18:51:23.878Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 [2024-01-25T18:51:23.878Z] + START_PACKAGES=/tmp/packages_start.txt [2024-01-25T18:51:23.878Z] + END_PACKAGES=/tmp/packages_end.txt [2024-01-25T18:51:23.878Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-01-25T18:51:23.878Z] + PACKAGES=/tmp/packages_start.txt [2024-01-25T18:51:23.878Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2024-01-25T18:51:23.878Z] + PACKAGES=/tmp/packages_end.txt [2024-01-25T18:51:23.878Z] + case "${OS_FAMILY}" in [2024-01-25T18:51:23.878Z] + dpkg -l [2024-01-25T18:51:23.878Z] + grep '^ii' [2024-01-25T18:51:23.878Z] + '[' -f /tmp/packages_start.txt ']' [2024-01-25T18:51:23.878Z] + '[' -f /tmp/packages_end.txt ']' [2024-01-25T18:51:23.878Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-01-25T18:51:23.878Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2024-01-25T18:51:23.878Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [2024-01-25T18:51:23.878Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo [2024-01-25T18:51:23.892Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-01-25T18:51:24.184Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-01-25T18:51:24.783Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-01-25T18:51:24.783Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-01-25T18:51:24.930Z] prd-ubuntu20.04-docker-8c-8g-27916 does not seem to be running inside a container [2024-01-25T18:51:24.960Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-01-25T18:51:25.179Z] $ docker top 31d577c953c6ed92d61fed8209684d5d55130948e10c422bb03c92056d14e647 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-01-25T18:51:25.611Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-01-25T18:51:25.897Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-01-25T18:51:26.181Z] + ls /var/log/sa-host [2024-01-25T18:51:26.181Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-01-25T18:51:26.361Z] provisioning config files... [2024-01-25T18:51:26.370Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config8063706250523743113tmp [Pipeline] { [Pipeline] echo [2024-01-25T18:51:26.456Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:51:26.744Z] ---> create-netrc.sh [Pipeline] } [2024-01-25T18:51:26.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:51:27.168Z] ---> python-tools-install.sh [Pipeline] echo [2024-01-25T18:51:27.178Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:51:27.468Z] ---> sudo-logs.sh [2024-01-25T18:51:27.468Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-01-25T18:51:27.536Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:51:27.815Z] ---> job-cost.sh [2024-01-25T18:51:27.815Z] lf-activate-venv: SKIPPING [2024-01-25T18:51:27.815Z] DEBUG: total: 0.2199999988079071 [2024-01-25T18:51:27.815Z] INFO: Retrieving Stack Cost... [2024-01-25T18:51:28.382Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-01-25T18:51:28.642Z] INFO: Archiving Costs [Pipeline] echo [2024-01-25T18:51:28.650Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-01-25T18:51:28.931Z] ---> logs-deploy.sh [2024-01-25T18:51:28.931Z] lf-activate-venv: SKIPPING [2024-01-25T18:51:28.931Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/9 [2024-01-25T18:51:28.931Z] INFO: archiving workspace using pattern(s): [2024-01-25T18:51:29.866Z] Archives upload complete. [2024-01-25T18:51:30.126Z] INFO: archiving logs to Nexus