Pull request #1575 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6022b55aa28b84bb084135b90188b1b6f409b14d+decf7a4867f03271291a6465384c5ba130c9fec8 (54eb38be5b20be5191d83703616ff7836409589c) 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-ssh18292389170949333424.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-ssh16288718326202392190.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1551250509479638263.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3143748276805317307.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh658240777616986065.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1575/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1575/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16735239179263706514.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-3422 in /w/workspace/gexfoundry_device-sdk-go_PR-1575 [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-1575 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit decf7a4867f03271291a6465384c5ba130c9fec8 into PR head commit 6022b55aa28b84bb084135b90188b1b6f409b14d Merge succeeded, producing 6022b55aa28b84bb084135b90188b1b6f409b14d Checking out Revision 6022b55aa28b84bb084135b90188b1b6f409b14d (PR-1575) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/1575/head:refs/remotes/origin/PR-1575 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6022b55aa28b84bb084135b90188b1b6f409b14d # 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 decf7a4867f03271291a6465384c5ba130c9fec8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6022b55aa28b84bb084135b90188b1b6f409b14d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-23T04:13:29.667Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-23T04:13:29.870Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-23T04:13:29.972Z] ========================================================= [2024-04-23T04:13:29.972Z] EdgeX Global Pipelines Version Info [2024-04-23T04:13:29.972Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:13:30.741Z] ------------------- [2024-04-23T04:13:30.741Z] stable info: [2024-04-23T04:13:30.741Z] ------------------- [2024-04-23T04:13:30.741Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-23T04:13:30.741Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-23T04:13:30.741Z] Message: update stable to v1.0.258 [2024-04-23T04:13:31.682Z] ------------------- [2024-04-23T04:13:31.682Z] experimental info: [2024-04-23T04:13:31.682Z] ------------------- [2024-04-23T04:13:31.682Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-23T04:13:31.682Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-23T04:13:31.682Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-23T04:13:31.898Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-04-23T04:13:31.946Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-04-23T04:13:31.992Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-23T04:13:32.043Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-23T04:13:32.088Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-23T04:13:32.129Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-04-23T04:13:32.182Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-04-23T04:13:32.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-04-23T04:13:32.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-04-23T04:13:32.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-23T04:13:32.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-23T04:13:32.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-04-23T04:13:32.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-23T04:13:32.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-23T04:13:32.575Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-23T04:13:32.624Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-04-23T04:13:32.670Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-04-23T04:13:32.729Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-04-23T04:13:32.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-23T04:13:32.834Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-23T04:13:32.882Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-04-23T04:13:32.931Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-04-23T04:13:32.976Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-04-23T04:13:33.026Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-04-23T04:13:33.077Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-04-23T04:13:33.131Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-23T04:13:33.181Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-04-23T04:13:33.229Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1575 [Pipeline] echo [2024-04-23T04:13:33.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1575 [Pipeline] echo [2024-04-23T04:13:33.329Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1575 [Pipeline] echo [2024-04-23T04:13:33.381Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6022b55aa28b84bb084135b90188b1b6f409b14d [Pipeline] echo [2024-04-23T04:13:33.434Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6022b55 [Pipeline] echo [2024-04-23T04:13:33.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-23T04:13:33.621Z] provisioning config files... [2024-04-23T04:13:33.637Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/config14123421698408979108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:13:34.014Z] ---> ****-login.sh [2024-04-23T04:13:34.014Z] nexus3.edgexfoundry.org:10001 [2024-04-23T04:13:34.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:13:34.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:13:34.535Z] Configure a credential helper to remove this warning. See [2024-04-23T04:13:34.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:13:34.535Z] [2024-04-23T04:13:34.535Z] Login Succeeded [2024-04-23T04:13:34.535Z] nexus3.edgexfoundry.org:10002 [2024-04-23T04:13:34.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:13:34.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:13:34.535Z] Configure a credential helper to remove this warning. See [2024-04-23T04:13:34.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:13:34.535Z] [2024-04-23T04:13:34.535Z] Login Succeeded [2024-04-23T04:13:34.535Z] nexus3.edgexfoundry.org:10003 [2024-04-23T04:13:34.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:13:34.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:13:34.795Z] Configure a credential helper to remove this warning. See [2024-04-23T04:13:34.795Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:13:34.795Z] [2024-04-23T04:13:34.795Z] Login Succeeded [2024-04-23T04:13:34.795Z] nexus3.edgexfoundry.org:10004 [2024-04-23T04:13:34.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:13:34.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:13:34.795Z] Configure a credential helper to remove this warning. See [2024-04-23T04:13:34.795Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:13:34.795Z] [2024-04-23T04:13:34.795Z] Login Succeeded [2024-04-23T04:13:34.795Z] ****.io [2024-04-23T04:13:35.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:13:35.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:13:35.316Z] Configure a credential helper to remove this warning. See [2024-04-23T04:13:35.316Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:13:35.316Z] [2024-04-23T04:13:35.316Z] Login Succeeded [2024-04-23T04:13:35.316Z] ---> ****-login.sh ends [Pipeline] } [2024-04-23T04:13:35.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-04-23T04:13:36.010Z] + git rev-list -1 --merges 6022b55aa28b84bb084135b90188b1b6f409b14d~1..6022b55aa28b84bb084135b90188b1b6f409b14d [Pipeline] echo [2024-04-23T04:13:36.052Z] -----------> git rev-list -1 --merges 6022b55aa28b84bb084135b90188b1b6f409b14d~1..6022b55aa28b84bb084135b90188b1b6f409b14d 6022b55aa28b84bb084135b90188b1b6f409b14d [false] [Pipeline] sh [2024-04-23T04:13:36.365Z] + git log --format=format:%s -1 6022b55aa28b84bb084135b90188b1b6f409b14d [Pipeline] echo [2024-04-23T04:13:36.402Z] ========================================================= [2024-04-23T04:13:36.402Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-23T04:13:36.402Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-23T04:13:36.845Z] + git log --format=format:%s -1 6022b55aa28b84bb084135b90188b1b6f409b14d [Pipeline] echo [2024-04-23T04:13:36.880Z] [semverPrep] GIT_COMMIT: 6022b55aa28b84bb084135b90188b1b6f409b14d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2024-04-23T04:13:36.921Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-04-23T04:13:37.332Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-23T04:13:37.332Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-23T04:13:37.332Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-23T04:13:37.332Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-23T04:13:37.332Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-23T04:13:37.332Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-23T04:13:37.332Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:13:37.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-23T04:13:37.836Z] [2024-04-23T04:13:37.836Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:13:38.317Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-23T04:13:38.317Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-23T04:13:38.317Z] b85a868b505f: Pulling fs layer [2024-04-23T04:13:38.317Z] e2be974225ed: Pulling fs layer [2024-04-23T04:13:38.317Z] 339a4e72a1f5: Pulling fs layer [2024-04-23T04:13:38.317Z] 988bab9f4d93: Pulling fs layer [2024-04-23T04:13:38.317Z] 1469e6f7b9e6: Pulling fs layer [2024-04-23T04:13:38.317Z] eaf3925da568: Pulling fs layer [2024-04-23T04:13:38.317Z] bab4dde63d76: Pulling fs layer [2024-04-23T04:13:38.317Z] bde34c3a00c8: Pulling fs layer [2024-04-23T04:13:38.317Z] b352a97aabf1: Pulling fs layer [2024-04-23T04:13:38.317Z] 4872d77fe225: Pulling fs layer [2024-04-23T04:13:38.317Z] 5851b861e8e6: Pulling fs layer [2024-04-23T04:13:38.317Z] 988bab9f4d93: Waiting [2024-04-23T04:13:38.317Z] 1469e6f7b9e6: Waiting [2024-04-23T04:13:38.317Z] eaf3925da568: Waiting [2024-04-23T04:13:38.317Z] 4872d77fe225: Waiting [2024-04-23T04:13:38.317Z] 5851b861e8e6: Waiting [2024-04-23T04:13:38.317Z] bab4dde63d76: Waiting [2024-04-23T04:13:38.317Z] b352a97aabf1: Waiting [2024-04-23T04:13:38.317Z] bde34c3a00c8: Waiting [2024-04-23T04:13:38.317Z] e2be974225ed: Download complete [2024-04-23T04:13:38.317Z] 988bab9f4d93: Download complete [2024-04-23T04:13:38.576Z] 1469e6f7b9e6: Verifying Checksum [2024-04-23T04:13:38.576Z] 1469e6f7b9e6: Download complete [2024-04-23T04:13:38.576Z] 339a4e72a1f5: Verifying Checksum [2024-04-23T04:13:38.576Z] 339a4e72a1f5: Download complete [2024-04-23T04:13:38.576Z] eaf3925da568: Verifying Checksum [2024-04-23T04:13:38.576Z] eaf3925da568: Download complete [2024-04-23T04:13:38.576Z] bde34c3a00c8: Download complete [2024-04-23T04:13:38.576Z] b352a97aabf1: Download complete [2024-04-23T04:13:38.576Z] 5851b861e8e6: Verifying Checksum [2024-04-23T04:13:38.576Z] b85a868b505f: Verifying Checksum [2024-04-23T04:13:38.576Z] b85a868b505f: Download complete [2024-04-23T04:13:38.835Z] bab4dde63d76: Verifying Checksum [2024-04-23T04:13:38.835Z] bab4dde63d76: Download complete [2024-04-23T04:13:39.769Z] b85a868b505f: Pull complete [2024-04-23T04:13:40.028Z] e2be974225ed: Pull complete [2024-04-23T04:13:40.286Z] 339a4e72a1f5: Pull complete [2024-04-23T04:13:40.544Z] 988bab9f4d93: Pull complete [2024-04-23T04:13:40.802Z] 1469e6f7b9e6: Pull complete [2024-04-23T04:13:40.802Z] eaf3925da568: Pull complete [2024-04-23T04:13:42.717Z] bab4dde63d76: Pull complete [2024-04-23T04:13:42.717Z] bde34c3a00c8: Pull complete [2024-04-23T04:13:42.717Z] b352a97aabf1: Pull complete [2024-04-23T04:13:42.717Z] 4872d77fe225: Pull complete [2024-04-23T04:13:42.717Z] 5851b861e8e6: Pull complete [2024-04-23T04:13:42.978Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-23T04:13:42.978Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-23T04:13:42.978Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-23T04:13:43.245Z] prd-ubuntu20.04-docker-8c-8g-3422 does not seem to be running inside a container [2024-04-23T04:13:43.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1575 -v /w/workspace/gexfoundry_device-sdk-go_PR-1575:/w/workspace/gexfoundry_device-sdk-go_PR-1575:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-23T04:13:46.229Z] $ docker top 7df0e4cf7ae17daebc6715b9a3920e4226352eb512c64f413aa045e317bce223 -eo pid,comm [2024-04-23T04:13:46.297Z] 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-04-23T04:13:46.297Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-23T04:13:46.446Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-23T04:13:46.446Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-23T04:13:46.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-23T04:13:46.567Z] $ docker exec 7df0e4cf7ae17daebc6715b9a3920e4226352eb512c64f413aa045e317bce223 ssh-agent [2024-04-23T04:13:46.682Z] SSH_AUTH_SOCK=/tmp/ssh-75nKgjWMAJMU/agent.32 [2024-04-23T04:13:46.682Z] SSH_AGENT_PID=38 [2024-04-23T04:13:46.689Z] Running ssh-add (command line suppressed) [2024-04-23T04:13:46.789Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_1873716351313225515.key (/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_1873716351313225515.key) [2024-04-23T04:13:46.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-23T04:13:47.143Z] + git tag --points-at HEAD [Pipeline] } [2024-04-23T04:13:47.176Z] $ docker exec --env ******** --env ******** 7df0e4cf7ae17daebc6715b9a3920e4226352eb512c64f413aa045e317bce223 ssh-agent -k [2024-04-23T04:13:47.280Z] unset SSH_AUTH_SOCK; [2024-04-23T04:13:47.280Z] unset SSH_AGENT_PID; [2024-04-23T04:13:47.281Z] echo Agent pid 38 killed; [2024-04-23T04:13:47.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-23T04:13:47.396Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-23T04:13:47.396Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-23T04:13:47.507Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-23T04:13:47.509Z] $ docker exec 7df0e4cf7ae17daebc6715b9a3920e4226352eb512c64f413aa045e317bce223 ssh-agent [2024-04-23T04:13:47.614Z] SSH_AUTH_SOCK=/tmp/ssh-vGQYjGxnljIv/agent.71 [2024-04-23T04:13:47.614Z] SSH_AGENT_PID=77 [2024-04-23T04:13:47.619Z] Running ssh-add (command line suppressed) [2024-04-23T04:13:47.722Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_6558304941912037954.key (/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_6558304941912037954.key) [2024-04-23T04:13:47.737Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-23T04:13:48.070Z] + git semver init [2024-04-23T04:13:48.330Z] 2024-04-23 04:13:48,242 [run_init] DEBUG init version:0.0.0 force:False [2024-04-23T04:13:48.330Z] 2024-04-23 04:13:48,243 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver [2024-04-23T04:13:48.330Z] 2024-04-23 04:13:48,243 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver [2024-04-23T04:13:48.330Z] 2024-04-23 04:13:48,244 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1575, universal_newlines=False, shell=None, istream=None) [2024-04-23T04:13:49.708Z] 2024-04-23 04:13:49,449 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575/.git/info/exclude [2024-04-23T04:13:49.708Z] 2024-04-23 04:13:49,450 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver/PR-1575 with force:False [2024-04-23T04:13:49.708Z] 2024-04-23 04:13:49,450 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver/PR-1575 [2024-04-23T04:13:49.708Z] 2024-04-23 04:13:49,455 [execute] INFO git cat-file --batch-check [2024-04-23T04:13:49.708Z] 2024-04-23 04:13:49,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver, universal_newlines=False, shell=None, istream=) [2024-04-23T04:13:49.708Z] 2024-04-23 04:13:49,462 [execute] INFO git cat-file --batch [2024-04-23T04:13:49.708Z] 2024-04-23 04:13:49,462 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver, universal_newlines=False, shell=None, istream=) [2024-04-23T04:13:49.708Z] 2024-04-23 04:13:49,468 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver/PR-1575 [2024-04-23T04:13:49.708Z] 0.0.0 [Pipeline] } [2024-04-23T04:13:49.813Z] $ docker exec --env ******** --env ******** 7df0e4cf7ae17daebc6715b9a3920e4226352eb512c64f413aa045e317bce223 ssh-agent -k [2024-04-23T04:13:49.903Z] unset SSH_AUTH_SOCK; [2024-04-23T04:13:49.903Z] unset SSH_AGENT_PID; [2024-04-23T04:13:49.904Z] echo Agent pid 77 killed; [2024-04-23T04:13:49.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-23T04:13:50.356Z] + git semver [Pipeline] } [2024-04-23T04:13:50.638Z] $ docker stop --time=1 7df0e4cf7ae17daebc6715b9a3920e4226352eb512c64f413aa045e317bce223 [2024-04-23T04:13:51.926Z] $ docker rm -f --volumes 7df0e4cf7ae17daebc6715b9a3920e4226352eb512c64f413aa045e317bce223 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-23T04:13:52.335Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-23T04:13:52.617Z] Stashed 1 file(s) [Pipeline] echo [2024-04-23T04:13:52.639Z] [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-04-23T04:13:53.409Z] provisioning config files... [2024-04-23T04:13:53.419Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/config9409855203769986611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:13:53.771Z] ---> ****-login.sh [2024-04-23T04:13:53.771Z] nexus3.edgexfoundry.org:10001 [2024-04-23T04:13:53.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:13:53.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:13:53.771Z] Configure a credential helper to remove this warning. See [2024-04-23T04:13:53.771Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:13:53.771Z] [2024-04-23T04:13:53.771Z] Login Succeeded [2024-04-23T04:13:53.771Z] nexus3.edgexfoundry.org:10002 [2024-04-23T04:13:53.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:13:53.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:13:53.771Z] Configure a credential helper to remove this warning. See [2024-04-23T04:13:53.771Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:13:53.771Z] [2024-04-23T04:13:53.771Z] Login Succeeded [2024-04-23T04:13:53.771Z] nexus3.edgexfoundry.org:10003 [2024-04-23T04:13:54.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:13:54.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:13:54.036Z] Configure a credential helper to remove this warning. See [2024-04-23T04:13:54.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:13:54.036Z] [2024-04-23T04:13:54.036Z] Login Succeeded [2024-04-23T04:13:54.036Z] nexus3.edgexfoundry.org:10004 [2024-04-23T04:13:54.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:13:54.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:13:54.036Z] Configure a credential helper to remove this warning. See [2024-04-23T04:13:54.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:13:54.036Z] [2024-04-23T04:13:54.036Z] Login Succeeded [2024-04-23T04:13:54.036Z] ****.io [2024-04-23T04:13:54.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:13:54.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:13:54.607Z] Configure a credential helper to remove this warning. See [2024-04-23T04:13:54.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:13:54.607Z] [2024-04-23T04:13:54.607Z] Login Succeeded [2024-04-23T04:13:54.607Z] ---> ****-login.sh ends [Pipeline] } [2024-04-23T04:13:54.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-23T04:13:54.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-23T04:13:54.878Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-23T04:13:54.922Z] ========================================================= [2024-04-23T04:13:54.922Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-04-23T04:13:54.922Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:13:55.408Z] + 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-04-23T04:13:55.408Z] Sending build context to Docker daemon 22.13MB [2024-04-23T04:13:55.408Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-23T04:13:55.408Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-23T04:13:55.668Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-04-23T04:13:55.668Z] 619be1103602: Pulling fs layer [2024-04-23T04:13:55.668Z] 7862e08f4a3e: Pulling fs layer [2024-04-23T04:13:55.668Z] 5df492c9dc93: Pulling fs layer [2024-04-23T04:13:55.668Z] 7629e6793208: Pulling fs layer [2024-04-23T04:13:55.668Z] 4f4fb700ef54: Pulling fs layer [2024-04-23T04:13:55.668Z] fb5054dd5b73: Pulling fs layer [2024-04-23T04:13:55.668Z] eeca6798cff9: Pulling fs layer [2024-04-23T04:13:55.668Z] aa269ceb94a6: Pulling fs layer [2024-04-23T04:13:55.668Z] ada007ff1a6a: Pulling fs layer [2024-04-23T04:13:55.668Z] aa269ceb94a6: Waiting [2024-04-23T04:13:55.668Z] fb5054dd5b73: Waiting [2024-04-23T04:13:55.668Z] ada007ff1a6a: Waiting [2024-04-23T04:13:55.668Z] 7629e6793208: Waiting [2024-04-23T04:13:55.668Z] 4f4fb700ef54: Waiting [2024-04-23T04:13:55.668Z] eeca6798cff9: Waiting [2024-04-23T04:13:55.668Z] 7862e08f4a3e: Verifying Checksum [2024-04-23T04:13:55.668Z] 7862e08f4a3e: Download complete [2024-04-23T04:13:55.668Z] 7629e6793208: Verifying Checksum [2024-04-23T04:13:55.668Z] 7629e6793208: Download complete [2024-04-23T04:13:55.668Z] 4f4fb700ef54: Download complete [2024-04-23T04:13:55.668Z] 619be1103602: Verifying Checksum [2024-04-23T04:13:55.668Z] 619be1103602: Download complete [2024-04-23T04:13:55.668Z] fb5054dd5b73: Verifying Checksum [2024-04-23T04:13:55.668Z] fb5054dd5b73: Download complete [2024-04-23T04:13:55.668Z] eeca6798cff9: Verifying Checksum [2024-04-23T04:13:55.668Z] eeca6798cff9: Download complete [2024-04-23T04:13:55.668Z] 619be1103602: Pull complete [2024-04-23T04:13:55.927Z] ada007ff1a6a: Verifying Checksum [2024-04-23T04:13:55.927Z] ada007ff1a6a: Download complete [2024-04-23T04:13:55.927Z] 7862e08f4a3e: Pull complete [2024-04-23T04:13:56.186Z] 5df492c9dc93: Verifying Checksum [2024-04-23T04:13:56.186Z] 5df492c9dc93: Download complete [2024-04-23T04:13:56.445Z] aa269ceb94a6: Verifying Checksum [2024-04-23T04:13:56.445Z] aa269ceb94a6: Download complete [2024-04-23T04:13:59.728Z] 5df492c9dc93: Pull complete [2024-04-23T04:13:59.728Z] 7629e6793208: Pull complete [2024-04-23T04:13:59.728Z] 4f4fb700ef54: Pull complete [2024-04-23T04:13:59.728Z] fb5054dd5b73: Pull complete [2024-04-23T04:13:59.728Z] eeca6798cff9: Pull complete [2024-04-23T04:14:02.276Z] aa269ceb94a6: Pull complete [2024-04-23T04:14:02.535Z] ada007ff1a6a: Pull complete [2024-04-23T04:14:02.535Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-04-23T04:14:02.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-23T04:14:02.536Z] ---> f489d0715acc [2024-04-23T04:14:02.536Z] Step 3/10 : ARG MAKE=make build [2024-04-23T04:14:07.808Z] ---> Running in 6a51a1225c2b [2024-04-23T04:14:07.808Z] Removing intermediate container 6a51a1225c2b [2024-04-23T04:14:07.808Z] ---> fbfdca9c8456 [2024-04-23T04:14:07.808Z] Step 4/10 : WORKDIR /device-sdk-go [2024-04-23T04:14:07.808Z] ---> Running in cf7a1e38e2ac [2024-04-23T04:14:07.808Z] Removing intermediate container cf7a1e38e2ac [2024-04-23T04:14:07.808Z] ---> 3eae12912df2 [2024-04-23T04:14:07.808Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-04-23T04:14:07.808Z] ---> Running in 664b70baba7f [2024-04-23T04:14:07.808Z] Removing intermediate container 664b70baba7f [2024-04-23T04:14:07.808Z] ---> ecb6540f3cc8 [2024-04-23T04:14:07.808Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-04-23T04:14:07.808Z] ---> Running in f8ed370ba7ce [2024-04-23T04:14:07.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-23T04:14:08.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-23T04:14:08.229Z] Still waiting to schedule task [2024-04-23T04:14:08.230Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-04-23T04:14:08.325Z] OK: 264 MiB in 52 packages [2024-04-23T04:14:08.596Z] Removing intermediate container f8ed370ba7ce [2024-04-23T04:14:08.596Z] ---> 7fb26455d417 [2024-04-23T04:14:08.596Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-23T04:14:08.856Z] ---> d5eacb8df5e9 [2024-04-23T04:14:08.856Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-23T04:14:08.856Z] ---> Running in 7c28b749aaeb [2024-04-23T04:15:16.577Z] Removing intermediate container 7c28b749aaeb [2024-04-23T04:15:16.577Z] ---> 3e0357573e66 [2024-04-23T04:15:16.577Z] Step 9/10 : COPY . . [2024-04-23T04:15:16.577Z] ---> 9cd6f8abbda6 [2024-04-23T04:15:16.577Z] Step 10/10 : RUN ${MAKE} [2024-04-23T04:15:16.577Z] ---> Running in ed3026a449b3 [2024-04-23T04:15:16.577Z] noop [2024-04-23T04:15:16.577Z] Removing intermediate container ed3026a449b3 [2024-04-23T04:15:16.577Z] ---> c858ee6d1c2d [2024-04-23T04:15:16.577Z] Successfully built c858ee6d1c2d [2024-04-23T04:15:16.577Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:15:17.035Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-23T04:15:17.035Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-23T04:15:17.190Z] prd-ubuntu20.04-docker-8c-8g-3422 does not seem to be running inside a container [2024-04-23T04:15:17.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1575 -v /w/workspace/gexfoundry_device-sdk-go_PR-1575:/w/workspace/gexfoundry_device-sdk-go_PR-1575:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-23T04:15:17.547Z] $ docker top 6cc46675081b9c545cb56cb40f60d90f945f0aeb3c1d7e9cb64049fc24d6d7e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-23T04:15:17.960Z] + go version [2024-04-23T04:15:17.960Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-04-23T04:15:17.987Z] $ docker stop --time=1 6cc46675081b9c545cb56cb40f60d90f945f0aeb3c1d7e9cb64049fc24d6d7e9 [2024-04-23T04:15:19.241Z] $ docker rm -f --volumes 6cc46675081b9c545cb56cb40f60d90f945f0aeb3c1d7e9cb64049fc24d6d7e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:15:19.997Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-23T04:15:19.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-23T04:15:20.146Z] prd-ubuntu20.04-docker-8c-8g-3422 does not seem to be running inside a container [2024-04-23T04:15:20.175Z] $ 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-1575 -v /w/workspace/gexfoundry_device-sdk-go_PR-1575:/w/workspace/gexfoundry_device-sdk-go_PR-1575:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-23T04:15:20.506Z] $ docker top ce1beedec80ba7a30f88ce4cd4ea9ca3b6520f545882a457d3c378d5e8e2d278 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-23T04:15:20.904Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1575 [Pipeline] fileExists [Pipeline] sh [2024-04-23T04:15:21.267Z] + make test [2024-04-23T04:15:21.267Z] go test -race -coverprofile=coverage.out ./... [2024-04-23T04:15:27.833Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-04-23T04:15:49.327Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3423 in /w/workspace/gexfoundry_device-sdk-go_PR-1575 [Pipeline] { [Pipeline] ws [2024-04-23T04:15:49.386Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-04-23T04:15:50.519Z] The recommended git tool is: git [2024-04-23T04:15:58.274Z] using credential edgex-jenkins-ssh [2024-04-23T04:15:58.296Z] Cloning the remote Git repository [2024-04-23T04:15:58.487Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-04-23T04:15:58.650Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-04-23T04:15:58.944Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-04-23T04:15:58.945Z] > git --version # timeout=10 [2024-04-23T04:15:59.024Z] > git --version # 'git version 2.25.1' [2024-04-23T04:15:59.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-23T04:15:59.406Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-23T04:16:02.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-04-23T04:16:02.189Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-23T04:16:03.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-04-23T04:16:03.435Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-04-23T04:16:03.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-23T04:16:03.468Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1575/head:refs/remotes/origin/PR-1575 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-23T04:16:04.028Z] Merging remotes/origin/main commit decf7a4867f03271291a6465384c5ba130c9fec8 into PR head commit 6022b55aa28b84bb084135b90188b1b6f409b14d [2024-04-23T04:16:04.538Z] Merge succeeded, producing 6022b55aa28b84bb084135b90188b1b6f409b14d [2024-04-23T04:16:04.539Z] Checking out Revision 6022b55aa28b84bb084135b90188b1b6f409b14d (PR-1575) [2024-04-23T04:16:05.277Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2024-04-23T04:16:05.337Z] > git --version # timeout=10 [2024-04-23T04:16:05.352Z] > git --version # 'git version 2.25.1' [2024-04-23T04:16:05.367Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-23T04:16:04.062Z] > git config core.sparsecheckout # timeout=10 [2024-04-23T04:16:04.170Z] > git checkout -f 6022b55aa28b84bb084135b90188b1b6f409b14d # timeout=10 [2024-04-23T04:16:04.392Z] > git remote # timeout=10 [2024-04-23T04:16:04.455Z] > git config --get remote.origin.url # timeout=10 [2024-04-23T04:16:04.472Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-23T04:16:04.496Z] > git merge decf7a4867f03271291a6465384c5ba130c9fec8 # timeout=10 [2024-04-23T04:16:04.525Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-23T04:16:04.547Z] > git config core.sparsecheckout # timeout=10 [2024-04-23T04:16:04.585Z] > git checkout -f 6022b55aa28b84bb084135b90188b1b6f409b14d # timeout=10 [2024-04-23T04:16:06.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-04-23T04:16:06.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-04-23T04:16:06.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-04-23T04:16:06.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-04-23T04:16:06.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-04-23T04:16:06.573Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.048s coverage: 27.6% of statements [2024-04-23T04:16:06.573Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements [2024-04-23T04:16:06.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-04-23T04:16:06.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-04-23T04:16:06.573Z] --- FAIL: TestAddReadingTags (0.00s) [2024-04-23T04:16:06.573Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-23T04:16:06.573Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-23T04:16:06.573Z] [2024-04-23T04:16:06.573Z] goroutine 28 [running]: [2024-04-23T04:16:06.573Z] testing.tRunner.func1.2({0x10b3340, 0xc0003e0b10}) [2024-04-23T04:16:06.573Z] /usr/local/go/src/testing/testing.go:1545 +0x3f7 [2024-04-23T04:16:06.573Z] testing.tRunner.func1() [2024-04-23T04:16:06.573Z] /usr/local/go/src/testing/testing.go:1548 +0x716 [2024-04-23T04:16:06.573Z] panic({0x10b3340?, 0xc0003e0b10?}) [2024-04-23T04:16:06.573Z] /usr/local/go/src/runtime/panic.go:920 +0x270 [2024-04-23T04:16:06.573Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc000473100) [2024-04-23T04:16:06.573Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 [2024-04-23T04:16:06.573Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x11aa9e0, 0x11}, {0x11aa9e0, 0x11}, 0xc000434440) [2024-04-23T04:16:06.573Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 [2024-04-23T04:16:06.573Z] github.com/edgexfoundry/device-sdk-go/v3/internal/common.TestAddReadingTags(0x0?) [2024-04-23T04:16:06.573Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/common/utils_test.go:275 +0x51 [2024-04-23T04:16:06.573Z] testing.tRunner(0xc0004ae9c0, 0x11f56f0) [2024-04-23T04:16:06.573Z] /usr/local/go/src/testing/testing.go:1595 +0x262 [2024-04-23T04:16:06.573Z] created by testing.(*T).Run in goroutine 1 [2024-04-23T04:16:06.573Z] /usr/local/go/src/testing/testing.go:1648 +0x846 [2024-04-23T04:16:06.573Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.065s [2024-04-23T04:16:06.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-04-23T04:16:06.573Z] --- FAIL: TestRestController_GetCommand (0.00s) [2024-04-23T04:16:06.573Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-23T04:16:06.573Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-23T04:16:06.573Z] [2024-04-23T04:16:06.573Z] goroutine 34 [running]: [2024-04-23T04:16:06.573Z] testing.tRunner.func1.2({0x1960840, 0xc00014dd10}) [2024-04-23T04:16:06.573Z] /usr/local/go/src/testing/testing.go:1545 +0x3f7 [2024-04-23T04:16:06.573Z] testing.tRunner.func1() [2024-04-23T04:16:06.573Z] /usr/local/go/src/testing/testing.go:1548 +0x716 [2024-04-23T04:16:06.573Z] panic({0x1960840?, 0xc00014dd10?}) [2024-04-23T04:16:06.573Z] /usr/local/go/src/runtime/panic.go:920 +0x270 [2024-04-23T04:16:06.573Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc000165270) [2024-04-23T04:16:06.573Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 [2024-04-23T04:16:06.573Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x1b687f9, 0xc}, {0x1b687f9, 0xc}, 0xc00027ecc0) [2024-04-23T04:16:06.573Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 [2024-04-23T04:16:06.573Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http.TestRestController_GetCommand(0x0?) [2024-04-23T04:16:06.573Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/controller/http/command_test.go:220 +0x5d [2024-04-23T04:16:06.573Z] testing.tRunner(0xc000103040, 0x1be76d8) [2024-04-23T04:16:06.573Z] /usr/local/go/src/testing/testing.go:1595 +0x262 [2024-04-23T04:16:06.573Z] created by testing.(*T).Run in goroutine 1 [2024-04-23T04:16:06.573Z] /usr/local/go/src/testing/testing.go:1648 +0x846 [2024-04-23T04:16:06.573Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.064s [2024-04-23T04:16:06.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-04-23T04:16:06.573Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-04-23T04:16:07.955Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-23T04:16:09.859Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.059s coverage: 14.4% of statements [2024-04-23T04:16:09.859Z] --- FAIL: Test_processDevices (0.00s) [2024-04-23T04:16:09.859Z] --- FAIL: Test_processDevices/valid_load_device_from_file (0.00s) [2024-04-23T04:16:09.859Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-23T04:16:09.859Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-23T04:16:09.859Z] [2024-04-23T04:16:09.859Z] goroutine 56 [running]: [2024-04-23T04:16:09.859Z] testing.tRunner.func1.2({0x10b53c0, 0xc000425e30}) [2024-04-23T04:16:09.859Z] /usr/local/go/src/testing/testing.go:1545 +0x3f7 [2024-04-23T04:16:09.859Z] testing.tRunner.func1() [2024-04-23T04:16:09.859Z] /usr/local/go/src/testing/testing.go:1548 +0x716 [2024-04-23T04:16:09.859Z] panic({0x10b53c0?, 0xc000425e30?}) [2024-04-23T04:16:09.859Z] /usr/local/go/src/runtime/panic.go:920 +0x270 [2024-04-23T04:16:09.859Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000e7518) [2024-04-23T04:16:09.859Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 [2024-04-23T04:16:09.859Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x11acef4, 0x11}, {0x11acef4, 0x11}, 0xc00007b220) [2024-04-23T04:16:09.859Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 [2024-04-23T04:16:09.859Z] github.com/edgexfoundry/device-sdk-go/v3/internal/provision.Test_processDevices.func1(0x0?) [2024-04-23T04:16:09.859Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/provision/devices_test.go:37 +0x7f [2024-04-23T04:16:09.859Z] testing.tRunner(0xc000209d40, 0xc000332890) [2024-04-23T04:16:09.859Z] /usr/local/go/src/testing/testing.go:1595 +0x262 [2024-04-23T04:16:09.859Z] created by testing.(*T).Run in goroutine 55 [2024-04-23T04:16:09.859Z] /usr/local/go/src/testing/testing.go:1648 +0x846 [2024-04-23T04:16:09.859Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.058s [2024-04-23T04:16:09.859Z] --- FAIL: TestCommandValuesToEventDTO_ReadingUnits (0.00s) [2024-04-23T04:16:09.859Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-23T04:16:09.859Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-23T04:16:09.859Z] [2024-04-23T04:16:09.859Z] goroutine 82 [running]: [2024-04-23T04:16:09.859Z] testing.tRunner.func1.2({0x10c2a60, 0xc0004b9080}) [2024-04-23T04:16:09.859Z] /usr/local/go/src/testing/testing.go:1545 +0x3f7 [2024-04-23T04:16:09.859Z] testing.tRunner.func1() [2024-04-23T04:16:09.859Z] /usr/local/go/src/testing/testing.go:1548 +0x716 [2024-04-23T04:16:09.859Z] panic({0x10c2a60?, 0xc0004b9080?}) [2024-04-23T04:16:09.859Z] /usr/local/go/src/runtime/panic.go:920 +0x270 [2024-04-23T04:16:09.859Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc00053b4e0) [2024-04-23T04:16:09.859Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 [2024-04-23T04:16:09.859Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x11ba70e, 0x11}, {0x11ba70e, 0x11}, 0xc0000ca740) [2024-04-23T04:16:09.859Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 [2024-04-23T04:16:09.859Z] github.com/edgexfoundry/device-sdk-go/v3/internal/transformer.TestCommandValuesToEventDTO_ReadingUnits(0x0?) [2024-04-23T04:16:09.859Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/transformer/transform_test.go:156 +0x50 [2024-04-23T04:16:09.859Z] testing.tRunner(0xc0002c6000, 0x12068b8) [2024-04-23T04:16:09.859Z] /usr/local/go/src/testing/testing.go:1595 +0x262 [2024-04-23T04:16:09.859Z] created by testing.(*T).Run in goroutine 1 [2024-04-23T04:16:09.859Z] /usr/local/go/src/testing/testing.go:1648 +0x846 [2024-04-23T04:16:09.859Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.044s [2024-04-23T04:16:09.859Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.101s coverage: 89.2% of statements [2024-04-23T04:16:09.859Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.067s coverage: 5.5% of statements [2024-04-23T04:16:09.859Z] FAIL [2024-04-23T04:16:10.117Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2024-04-23T04:16:10.162Z] $ docker stop --time=1 ce1beedec80ba7a30f88ce4cd4ea9ca3b6520f545882a457d3c378d5e8e2d278 [2024-04-23T04:16:10.328Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-23T04:16:10.328Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-23T04:16:10.328Z] Dload Upload Total Spent Left Speed [2024-04-23T04:16:10.328Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 173k 0 --:--:-- --:--:-- --:--:-- 176k [2024-04-23T04:16:12.412Z] $ docker rm -f --volumes ce1beedec80ba7a30f88ce4cd4ea9ca3b6520f545882a457d3c378d5e8e2d278 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [2024-04-23T04:16:12.994Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [2024-04-23T04:16:13.416Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-23T04:16:13.416Z] + sudo tee /etc/docker/daemon.new [2024-04-23T04:16:13.416Z] { [2024-04-23T04:16:13.416Z] "registry-mirrors": [ [2024-04-23T04:16:13.416Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-23T04:16:13.416Z] ], [2024-04-23T04:16:13.416Z] "bip": "10.250.0.254/24", [2024-04-23T04:16:13.416Z] "hosts": [ [2024-04-23T04:16:13.416Z] "tcp://0.0.0.0:5555", [2024-04-23T04:16:13.416Z] "unix:///var/run/docker.sock" [2024-04-23T04:16:13.416Z] ], [2024-04-23T04:16:13.416Z] "mtu": 1458, [2024-04-23T04:16:13.416Z] "selinux-enabled": true, [2024-04-23T04:16:13.416Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-23T04:16:13.416Z] } [Pipeline] // stage Post stage [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:16:13.809Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-23T04:16:13.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-23T04:16:13.994Z] [2024-04-23T04:16:13.994Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:16:14.157Z] + sudo service docker restart [2024-04-23T04:16:14.385Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-23T04:16:14.385Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-23T04:16:14.385Z] 5eb5b503b376: Pulling fs layer [2024-04-23T04:16:14.385Z] 5c69ac0246d0: Pulling fs layer [2024-04-23T04:16:14.385Z] ec43610c2a17: Pulling fs layer [2024-04-23T04:16:14.385Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-23T04:16:14.385Z] 33b1e0a273af: Pulling fs layer [2024-04-23T04:16:14.385Z] 5d3b04190fa2: Pulling fs layer [2024-04-23T04:16:14.385Z] 2f39f015ded8: Pulling fs layer [2024-04-23T04:16:14.385Z] 33b1e0a273af: Waiting [2024-04-23T04:16:14.385Z] 5d3b04190fa2: Waiting [2024-04-23T04:16:14.385Z] 2f39f015ded8: Waiting [2024-04-23T04:16:14.385Z] 5c69ac0246d0: Verifying Checksum [2024-04-23T04:16:14.385Z] 5c69ac0246d0: Download complete [2024-04-23T04:16:14.385Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-23T04:16:14.385Z] 3a2ae6a8a46f: Download complete [2024-04-23T04:16:14.644Z] 33b1e0a273af: Verifying Checksum [2024-04-23T04:16:14.644Z] 33b1e0a273af: Download complete [2024-04-23T04:16:14.644Z] ec43610c2a17: Verifying Checksum [2024-04-23T04:16:14.644Z] ec43610c2a17: Download complete [2024-04-23T04:16:14.644Z] 5d3b04190fa2: Verifying Checksum [2024-04-23T04:16:14.644Z] 5d3b04190fa2: Download complete [2024-04-23T04:16:14.644Z] 5eb5b503b376: Verifying Checksum [2024-04-23T04:16:14.644Z] 5eb5b503b376: Download complete [2024-04-23T04:16:15.579Z] 2f39f015ded8: Download complete [2024-04-23T04:16:15.839Z] 5eb5b503b376: Pull complete [2024-04-23T04:16:16.098Z] 5c69ac0246d0: Pull complete [2024-04-23T04:16:16.666Z] ec43610c2a17: Pull complete [2024-04-23T04:16:16.666Z] 3a2ae6a8a46f: Pull complete [2024-04-23T04:16:16.925Z] 33b1e0a273af: Pull complete [2024-04-23T04:16:16.925Z] 5d3b04190fa2: Pull complete [2024-04-23T04:16:22.334Z] 2f39f015ded8: Pull complete [2024-04-23T04:16:22.334Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-23T04:16:22.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-23T04:16:22.334Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-23T04:16:22.579Z] prd-ubuntu20.04-docker-8c-8g-3422 does not seem to be running inside a container [2024-04-23T04:16:22.608Z] $ 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-1575 -v /w/workspace/gexfoundry_device-sdk-go_PR-1575:/w/workspace/gexfoundry_device-sdk-go_PR-1575:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-23T04:16:28.335Z] $ docker top c7e0e99d5bb95a62e18a5783aadeeefd6b5da6d8f109dd8e1c2e10ca89957813 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:16:28.818Z] ---> job-cost.sh [2024-04-23T04:16:28.818Z] lf-activate-venv: SKIPPING [2024-04-23T04:16:28.818Z] INFO: No Stack... [2024-04-23T04:16:29.077Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-23T04:16:29.339Z] INFO: Archiving Costs [Pipeline] sh [2024-04-23T04:16:29.661Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives/cost.csv [2024-04-23T04:16:29.662Z] + cut -d, -f6 [Pipeline] lock [2024-04-23T04:16:29.699Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1575-1-stack-cost] [2024-04-23T04:16:29.704Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1575-1-stack-cost] did not exist. Created. [2024-04-23T04:16:29.709Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1575-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-23T04:16:30.103Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-23T04:16:30.169Z] Stashed 1 file(s) [Pipeline] } [2024-04-23T04:16:30.184Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1575-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-23T04:16:30.267Z] $ docker stop --time=1 c7e0e99d5bb95a62e18a5783aadeeefd6b5da6d8f109dd8e1c2e10ca89957813 [2024-04-23T04:16:31.428Z] $ docker rm -f --volumes c7e0e99d5bb95a62e18a5783aadeeefd6b5da6d8f109dd8e1c2e10ca89957813 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-23T04:16:31.796Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-23T04:16:32.471Z] provisioning config files... [2024-04-23T04:16:32.498Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7486345557879423091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:16:32.976Z] ---> ****-login.sh [2024-04-23T04:16:32.976Z] nexus3.edgexfoundry.org:10001 [2024-04-23T04:16:33.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:16:33.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:16:33.515Z] Configure a credential helper to remove this warning. See [2024-04-23T04:16:33.516Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:16:33.516Z] [2024-04-23T04:16:33.516Z] Login Succeeded [2024-04-23T04:16:33.516Z] nexus3.edgexfoundry.org:10002 [2024-04-23T04:16:33.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:16:33.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:16:33.783Z] Configure a credential helper to remove this warning. See [2024-04-23T04:16:33.783Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:16:33.783Z] [2024-04-23T04:16:34.051Z] Login Succeeded [2024-04-23T04:16:34.051Z] nexus3.edgexfoundry.org:10003 [2024-04-23T04:16:34.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:16:34.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:16:34.324Z] Configure a credential helper to remove this warning. See [2024-04-23T04:16:34.324Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:16:34.324Z] [2024-04-23T04:16:34.324Z] Login Succeeded [2024-04-23T04:16:34.324Z] nexus3.edgexfoundry.org:10004 [2024-04-23T04:16:34.593Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:16:34.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:16:34.593Z] Configure a credential helper to remove this warning. See [2024-04-23T04:16:34.593Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:16:34.593Z] [2024-04-23T04:16:34.593Z] Login Succeeded [2024-04-23T04:16:34.593Z] ****.io [2024-04-23T04:16:34.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-23T04:16:35.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-23T04:16:35.128Z] Configure a credential helper to remove this warning. See [2024-04-23T04:16:35.128Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-23T04:16:35.128Z] [2024-04-23T04:16:35.128Z] Login Succeeded [2024-04-23T04:16:35.128Z] ---> ****-login.sh ends [Pipeline] } [2024-04-23T04:16:35.158Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-23T04:16:35.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-23T04:16:35.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-23T04:16:35.624Z] ========================================================= [2024-04-23T04:16:35.624Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-04-23T04:16:35.624Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:16:36.127Z] + 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-04-23T04:16:36.714Z] Sending build context to Docker daemon 11.48MB [2024-04-23T04:16:36.714Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-23T04:16:36.714Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-23T04:16:36.714Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-04-23T04:16:36.714Z] c6b39de5b339: Pulling fs layer [2024-04-23T04:16:36.714Z] a69c41024577: Pulling fs layer [2024-04-23T04:16:36.714Z] d6de4b400683: Pulling fs layer [2024-04-23T04:16:36.714Z] 35cb2a7552d0: Pulling fs layer [2024-04-23T04:16:36.714Z] 4f4fb700ef54: Pulling fs layer [2024-04-23T04:16:36.714Z] 464afbd9ba4c: Pulling fs layer [2024-04-23T04:16:36.714Z] 00f215d4a9da: Pulling fs layer [2024-04-23T04:16:36.714Z] d496ad576159: Pulling fs layer [2024-04-23T04:16:36.714Z] 4f4fb700ef54: Waiting [2024-04-23T04:16:36.714Z] 00f215d4a9da: Waiting [2024-04-23T04:16:36.714Z] d496ad576159: Waiting [2024-04-23T04:16:36.714Z] 464afbd9ba4c: Waiting [2024-04-23T04:16:36.995Z] a69c41024577: Verifying Checksum [2024-04-23T04:16:36.995Z] a69c41024577: Download complete [2024-04-23T04:16:36.995Z] 35cb2a7552d0: Verifying Checksum [2024-04-23T04:16:36.995Z] 35cb2a7552d0: Download complete [2024-04-23T04:16:36.995Z] 4f4fb700ef54: Download complete [2024-04-23T04:16:36.995Z] 464afbd9ba4c: Verifying Checksum [2024-04-23T04:16:36.995Z] 464afbd9ba4c: Download complete [2024-04-23T04:16:36.995Z] c6b39de5b339: Verifying Checksum [2024-04-23T04:16:36.995Z] c6b39de5b339: Download complete [2024-04-23T04:16:37.265Z] d496ad576159: Verifying Checksum [2024-04-23T04:16:37.265Z] d496ad576159: Download complete [2024-04-23T04:16:37.855Z] c6b39de5b339: Pull complete [2024-04-23T04:16:38.443Z] a69c41024577: Pull complete [2024-04-23T04:16:38.712Z] d6de4b400683: Verifying Checksum [2024-04-23T04:16:38.712Z] d6de4b400683: Download complete [2024-04-23T04:16:40.125Z] 00f215d4a9da: Verifying Checksum [2024-04-23T04:16:40.125Z] 00f215d4a9da: Download complete [2024-04-23T04:16:52.448Z] d6de4b400683: Pull complete [2024-04-23T04:16:52.448Z] 35cb2a7552d0: Pull complete [2024-04-23T04:16:52.448Z] 4f4fb700ef54: Pull complete [2024-04-23T04:16:52.448Z] 464afbd9ba4c: Pull complete [2024-04-23T04:17:00.678Z] 00f215d4a9da: Pull complete [2024-04-23T04:17:02.628Z] d496ad576159: Pull complete [2024-04-23T04:17:02.628Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-04-23T04:17:02.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-23T04:17:02.628Z] ---> f246e2811388 [2024-04-23T04:17:02.628Z] Step 3/10 : ARG MAKE=make build [2024-04-23T04:17:04.036Z] ---> Running in 5b0a49a07608 [2024-04-23T04:17:04.306Z] Removing intermediate container 5b0a49a07608 [2024-04-23T04:17:04.306Z] ---> 850af63824f6 [2024-04-23T04:17:04.306Z] Step 4/10 : WORKDIR /device-sdk-go [2024-04-23T04:17:04.306Z] ---> Running in 83ce03e1b1ea [2024-04-23T04:17:04.573Z] Removing intermediate container 83ce03e1b1ea [2024-04-23T04:17:04.573Z] ---> d1c35e5454fd [2024-04-23T04:17:04.573Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-04-23T04:17:04.573Z] ---> Running in eacece50444d [2024-04-23T04:17:04.840Z] Removing intermediate container eacece50444d [2024-04-23T04:17:04.840Z] ---> 60c77f74402d [2024-04-23T04:17:04.840Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-04-23T04:17:05.108Z] ---> Running in e33bec1f042c [2024-04-23T04:17:06.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-23T04:17:06.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-23T04:17:07.614Z] OK: 266 MiB in 52 packages [2024-04-23T04:17:08.200Z] Removing intermediate container e33bec1f042c [2024-04-23T04:17:08.200Z] ---> ba308dfcda90 [2024-04-23T04:17:08.200Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-23T04:17:08.790Z] ---> 909c3050116f [2024-04-23T04:17:08.790Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-23T04:17:09.060Z] ---> Running in 62256c61d27a [2024-04-23T04:19:00.754Z] Removing intermediate container 62256c61d27a [2024-04-23T04:19:00.755Z] ---> 3b1a545fd14a [2024-04-23T04:19:00.755Z] Step 9/10 : COPY . . [2024-04-23T04:19:02.705Z] ---> abd7c44ba014 [2024-04-23T04:19:02.705Z] Step 10/10 : RUN ${MAKE} [2024-04-23T04:19:02.705Z] ---> Running in 5f58b20cd300 [2024-04-23T04:19:03.290Z] noop [2024-04-23T04:19:04.257Z] Removing intermediate container 5f58b20cd300 [2024-04-23T04:19:04.257Z] ---> 23859817a28d [2024-04-23T04:19:04.257Z] Successfully built 23859817a28d [2024-04-23T04:19:04.257Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:19:04.755Z] + docker inspect -f . ci-base-image-arm64 [2024-04-23T04:19:04.755Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-23T04:19:05.038Z] prd-ubuntu20.04-docker-arm64-4c-16g-3423 does not seem to be running inside a container [2024-04-23T04:19:05.101Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-23T04:19:06.271Z] $ docker top b77d96f2f2b28685c6663ac982f5d9da729a9609dd5cd3db01fc855141403efb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-23T04:19:07.163Z] + go version [2024-04-23T04:19:07.163Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-04-23T04:19:07.200Z] $ docker stop --time=1 b77d96f2f2b28685c6663ac982f5d9da729a9609dd5cd3db01fc855141403efb [2024-04-23T04:19:08.825Z] $ docker rm -f --volumes b77d96f2f2b28685c6663ac982f5d9da729a9609dd5cd3db01fc855141403efb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:19:09.692Z] + docker inspect -f . ci-base-image-arm64 [2024-04-23T04:19:09.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-23T04:19:09.972Z] prd-ubuntu20.04-docker-arm64-4c-16g-3423 does not seem to be running inside a container [2024-04-23T04:19:10.037Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-04-23T04:19:11.192Z] $ docker top 62077b6473a39ba3b55443eda6470fee2aaef06a8130e42c95a22be1cc1f0202 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-23T04:19:12.089Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-04-23T04:19:12.814Z] + make test [2024-04-23T04:19:12.814Z] go test -race -coverprofile=coverage.out ./... [2024-04-23T04:19:59.685Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-04-23T04:23:06.530Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-04-23T04:23:06.530Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-04-23T04:23:06.530Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-04-23T04:23:06.530Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-04-23T04:23:06.530Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-04-23T04:23:16.617Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.247s coverage: 27.6% of statements [2024-04-23T04:23:19.969Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.341s coverage: 81.5% of statements [2024-04-23T04:23:28.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-04-23T04:23:28.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-04-23T04:23:28.227Z] --- FAIL: TestAddReadingTags (0.00s) [2024-04-23T04:23:28.227Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-23T04:23:28.227Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-23T04:23:28.227Z] [2024-04-23T04:23:28.227Z] goroutine 16 [running]: [2024-04-23T04:23:28.227Z] testing.tRunner.func1.2({0xab10e0, 0xc0001752c0}) [2024-04-23T04:23:28.227Z] /usr/local/go/src/testing/testing.go:1545 +0x2c8 [2024-04-23T04:23:28.227Z] testing.tRunner.func1() [2024-04-23T04:23:28.227Z] /usr/local/go/src/testing/testing.go:1548 +0x4c4 [2024-04-23T04:23:28.227Z] panic({0xab10e0?, 0xc0001752c0?}) [2024-04-23T04:23:28.227Z] /usr/local/go/src/runtime/panic.go:920 +0x26c [2024-04-23T04:23:28.227Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000b70e0) [2024-04-23T04:23:28.227Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 [2024-04-23T04:23:28.227Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0xba8626, 0x11}, {0xba8626, 0x11}, 0xc0004f68e0) [2024-04-23T04:23:28.227Z] /w/workspace/device-sdk-go/1/internal/cache/init.go:22 +0x70 [2024-04-23T04:23:28.227Z] github.com/edgexfoundry/device-sdk-go/v3/internal/common.TestAddReadingTags(0x0?) [2024-04-23T04:23:28.227Z] /w/workspace/device-sdk-go/1/internal/common/utils_test.go:275 +0x4c [2024-04-23T04:23:28.227Z] testing.tRunner(0xc00018ed00, 0xbf3128) [2024-04-23T04:23:28.227Z] /usr/local/go/src/testing/testing.go:1595 +0x1b4 [2024-04-23T04:23:28.227Z] created by testing.(*T).Run in goroutine 1 [2024-04-23T04:23:28.227Z] /usr/local/go/src/testing/testing.go:1648 +0x5ec [2024-04-23T04:23:28.227Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.341s [2024-04-23T04:23:32.485Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-04-23T04:23:32.485Z] --- FAIL: TestRestController_GetCommand (0.00s) [2024-04-23T04:23:32.485Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-23T04:23:32.485Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-23T04:23:32.485Z] [2024-04-23T04:23:32.485Z] goroutine 5 [running]: [2024-04-23T04:23:32.485Z] testing.tRunner.func1.2({0x1248760, 0xc00037a960}) [2024-04-23T04:23:32.485Z] /usr/local/go/src/testing/testing.go:1545 +0x2c8 [2024-04-23T04:23:32.485Z] testing.tRunner.func1() [2024-04-23T04:23:32.485Z] /usr/local/go/src/testing/testing.go:1548 +0x4c4 [2024-04-23T04:23:32.485Z] panic({0x1248760?, 0xc00037a960?}) [2024-04-23T04:23:32.485Z] /usr/local/go/src/runtime/panic.go:920 +0x26c [2024-04-23T04:23:32.485Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc000161250) [2024-04-23T04:23:32.485Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 [2024-04-23T04:23:32.485Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x1450787, 0xc}, {0x1450787, 0xc}, 0xc0002cb2c0) [2024-04-23T04:23:32.485Z] /w/workspace/device-sdk-go/1/internal/cache/init.go:22 +0x70 [2024-04-23T04:23:32.485Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http.TestRestController_GetCommand(0x0?) [2024-04-23T04:23:32.485Z] /w/workspace/device-sdk-go/1/internal/controller/http/command_test.go:220 +0x58 [2024-04-23T04:23:32.485Z] testing.tRunner(0xc0002c5380, 0x14cf4c8) [2024-04-23T04:23:32.485Z] /usr/local/go/src/testing/testing.go:1595 +0x1b4 [2024-04-23T04:23:32.485Z] created by testing.(*T).Run in goroutine 1 [2024-04-23T04:23:32.485Z] /usr/local/go/src/testing/testing.go:1648 +0x5ec [2024-04-23T04:23:32.485Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.384s [2024-04-23T04:23:39.152Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.461s coverage: 14.4% of statements [2024-04-23T04:23:39.152Z] --- FAIL: Test_processDevices (0.00s) [2024-04-23T04:23:39.152Z] --- FAIL: Test_processDevices/valid_load_device_from_file (0.00s) [2024-04-23T04:23:39.152Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-23T04:23:39.152Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-23T04:23:39.152Z] [2024-04-23T04:23:39.152Z] goroutine 53 [running]: [2024-04-23T04:23:39.152Z] testing.tRunner.func1.2({0xab1140, 0xc0000a4ae0}) [2024-04-23T04:23:39.152Z] /usr/local/go/src/testing/testing.go:1545 +0x2c8 [2024-04-23T04:23:39.152Z] testing.tRunner.func1() [2024-04-23T04:23:39.152Z] /usr/local/go/src/testing/testing.go:1548 +0x4c4 [2024-04-23T04:23:39.152Z] panic({0xab1140?, 0xc0000a4ae0?}) [2024-04-23T04:23:39.152Z] /usr/local/go/src/runtime/panic.go:920 +0x26c [2024-04-23T04:23:39.152Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000b9500) [2024-04-23T04:23:39.152Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 [2024-04-23T04:23:39.152Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0xba8b1a, 0x11}, {0xba8b1a, 0x11}, 0xc0005437e0) [2024-04-23T04:23:39.152Z] /w/workspace/device-sdk-go/1/internal/cache/init.go:22 +0x70 [2024-04-23T04:23:39.152Z] github.com/edgexfoundry/device-sdk-go/v3/internal/provision.Test_processDevices.func1(0x0?) [2024-04-23T04:23:39.152Z] /w/workspace/device-sdk-go/1/internal/provision/devices_test.go:37 +0x68 [2024-04-23T04:23:39.152Z] testing.tRunner(0xc000003a00, 0xc00004af20) [2024-04-23T04:23:39.152Z] /usr/local/go/src/testing/testing.go:1595 +0x1b4 [2024-04-23T04:23:39.152Z] created by testing.(*T).Run in goroutine 52 [2024-04-23T04:23:39.152Z] /usr/local/go/src/testing/testing.go:1648 +0x5ec [2024-04-23T04:23:39.152Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.226s [2024-04-23T04:23:39.152Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-04-23T04:23:39.152Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-04-23T04:23:39.152Z] --- FAIL: TestCommandValuesToEventDTO_ReadingUnits (0.01s) [2024-04-23T04:23:39.152Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-04-23T04:23:39.152Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-04-23T04:23:39.152Z] [2024-04-23T04:23:39.152Z] goroutine 23 [running]: [2024-04-23T04:23:39.152Z] testing.tRunner.func1.2({0xab1800, 0xc0004e4ba0}) [2024-04-23T04:23:39.152Z] /usr/local/go/src/testing/testing.go:1545 +0x2c8 [2024-04-23T04:23:39.152Z] testing.tRunner.func1() [2024-04-23T04:23:39.152Z] /usr/local/go/src/testing/testing.go:1548 +0x4c4 [2024-04-23T04:23:39.152Z] panic({0xab1800?, 0xc0004e4ba0?}) [2024-04-23T04:23:39.152Z] /usr/local/go/src/runtime/panic.go:920 +0x26c [2024-04-23T04:23:39.152Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000bb4c0) [2024-04-23T04:23:39.152Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 [2024-04-23T04:23:39.152Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0xba9354, 0x11}, {0xba9354, 0x11}, 0xc00004d600) [2024-04-23T04:23:39.152Z] /w/workspace/device-sdk-go/1/internal/cache/init.go:22 +0x70 [2024-04-23T04:23:39.152Z] github.com/edgexfoundry/device-sdk-go/v3/internal/transformer.TestCommandValuesToEventDTO_ReadingUnits(0x0?) [2024-04-23T04:23:39.152Z] /w/workspace/device-sdk-go/1/internal/transformer/transform_test.go:156 +0x50 [2024-04-23T04:23:39.152Z] testing.tRunner(0xc000003860, 0xbf52f0) [2024-04-23T04:23:39.152Z] /usr/local/go/src/testing/testing.go:1595 +0x1b4 [2024-04-23T04:23:39.152Z] created by testing.(*T).Run in goroutine 1 [2024-04-23T04:23:39.152Z] /usr/local/go/src/testing/testing.go:1648 +0x5ec [2024-04-23T04:23:39.152Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.281s [2024-04-23T04:23:44.515Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.492s coverage: 89.2% of statements [2024-04-23T04:23:49.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-04-23T04:23:50.823Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.349s coverage: 5.5% of statements [2024-04-23T04:23:50.823Z] FAIL [2024-04-23T04:23:52.233Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2024-04-23T04:23:52.278Z] $ docker stop --time=1 62077b6473a39ba3b55443eda6470fee2aaef06a8130e42c95a22be1cc1f0202 [2024-04-23T04:23:54.351Z] $ docker rm -f --volumes 62077b6473a39ba3b55443eda6470fee2aaef06a8130e42c95a22be1cc1f0202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:23:56.649Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-23T04:23:56.649Z] [2024-04-23T04:23:56.649Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:23:57.065Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-23T04:23:57.333Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-23T04:23:57.333Z] 8998bd30e6a1: Pulling fs layer [2024-04-23T04:23:57.333Z] 04944245beec: Pulling fs layer [2024-04-23T04:23:57.333Z] 699f458cf7ca: Pulling fs layer [2024-04-23T04:23:57.333Z] 765212b225bb: Pulling fs layer [2024-04-23T04:23:57.333Z] f23df028b6ca: Pulling fs layer [2024-04-23T04:23:57.333Z] d65c8cfc05b1: Pulling fs layer [2024-04-23T04:23:57.333Z] 2437ff75d9bd: Pulling fs layer [2024-04-23T04:23:57.333Z] f23df028b6ca: Waiting [2024-04-23T04:23:57.333Z] d65c8cfc05b1: Waiting [2024-04-23T04:23:57.333Z] 2437ff75d9bd: Waiting [2024-04-23T04:23:57.333Z] 765212b225bb: Waiting [2024-04-23T04:23:57.333Z] 04944245beec: Verifying Checksum [2024-04-23T04:23:57.333Z] 04944245beec: Download complete [2024-04-23T04:23:57.333Z] f23df028b6ca: Verifying Checksum [2024-04-23T04:23:57.333Z] f23df028b6ca: Download complete [2024-04-23T04:23:57.333Z] d65c8cfc05b1: Verifying Checksum [2024-04-23T04:23:57.333Z] d65c8cfc05b1: Download complete [2024-04-23T04:23:57.601Z] 699f458cf7ca: Verifying Checksum [2024-04-23T04:23:57.601Z] 699f458cf7ca: Download complete [2024-04-23T04:23:58.187Z] 8998bd30e6a1: Verifying Checksum [2024-04-23T04:23:58.187Z] 8998bd30e6a1: Download complete [2024-04-23T04:24:00.770Z] 2437ff75d9bd: Download complete [2024-04-23T04:24:02.715Z] 8998bd30e6a1: Pull complete [2024-04-23T04:24:02.982Z] 04944245beec: Pull complete [2024-04-23T04:24:04.391Z] 699f458cf7ca: Pull complete [2024-04-23T04:24:04.659Z] 765212b225bb: Pull complete [2024-04-23T04:24:05.619Z] f23df028b6ca: Pull complete [2024-04-23T04:24:05.887Z] d65c8cfc05b1: Pull complete [2024-04-23T04:24:24.097Z] 2437ff75d9bd: Pull complete [2024-04-23T04:24:24.097Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-23T04:24:24.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-23T04:24:24.097Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-23T04:24:24.482Z] prd-ubuntu20.04-docker-arm64-4c-16g-3423 does not seem to be running inside a container [2024-04-23T04:24:24.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-23T04:24:27.743Z] $ docker top 152e2888876f4197c0e6a5e52aaa1059b08277dd0268fe254a4992d231fa9136 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:24:28.663Z] ---> job-cost.sh [2024-04-23T04:24:28.663Z] lf-activate-venv: SKIPPING [2024-04-23T04:24:28.663Z] INFO: No Stack... [2024-04-23T04:24:31.241Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-23T04:24:31.825Z] INFO: Archiving Costs [Pipeline] sh [2024-04-23T04:24:32.477Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-04-23T04:24:32.478Z] + cut -d, -f6 [Pipeline] lock [2024-04-23T04:24:32.551Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1575-1-stack-cost] [2024-04-23T04:24:32.555Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1575-1-stack-cost] did not exist. Created. [2024-04-23T04:24:32.560Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1575-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-23T04:24:33.290Z] /w/workspace/device-sdk-go/1@tmp/durable-73a7d4f5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-23T04:24:33.964Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-23T04:24:33.996Z] Warning: overwriting stash ‘stack-cost’ [2024-04-23T04:24:34.503Z] Stashed 1 file(s) [Pipeline] } [2024-04-23T04:24:34.519Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1575-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-23T04:24:34.608Z] $ docker stop --time=1 152e2888876f4197c0e6a5e52aaa1059b08277dd0268fe254a4992d231fa9136 [2024-04-23T04:24:36.130Z] $ docker rm -f --volumes 152e2888876f4197c0e6a5e52aaa1059b08277dd0268fe254a4992d231fa9136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-23T04:24:36.874Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-04-23T04:24:39.043Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives ] [2024-04-23T04:24:39.043Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives [2024-04-23T04:24:39.043Z] total 16 [2024-04-23T04:24:39.043Z] drwxr-xr-x 3 root root 4096 Apr 23 04:16 . [2024-04-23T04:24:39.043Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 23 04:16 .. [2024-04-23T04:24:39.043Z] drwxr-xr-x 2 root root 4096 Apr 23 04:16 cost [2024-04-23T04:24:39.043Z] -rw-r--r-- 1 root root 86 Apr 23 04:16 cost.csv [2024-04-23T04:24:39.043Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives [2024-04-23T04:24:39.043Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives [2024-04-23T04:24:39.043Z] total 16 [2024-04-23T04:24:39.043Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 23 04:16 . [2024-04-23T04:24:39.043Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 23 04:16 .. [2024-04-23T04:24:39.043Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 23 04:16 cost [2024-04-23T04:24:39.043Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 23 04:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:24:39.365Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:24:40.251Z] ---> package-listing.sh [2024-04-23T04:24:40.251Z] ++ facter osfamily [2024-04-23T04:24:40.251Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-23T04:24:40.509Z] + OS_FAMILY=debian [2024-04-23T04:24:40.510Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1575 [2024-04-23T04:24:40.510Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-23T04:24:40.510Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-23T04:24:40.510Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-23T04:24:40.510Z] + PACKAGES=/tmp/packages_start.txt [2024-04-23T04:24:40.510Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1575 ']' [2024-04-23T04:24:40.510Z] + PACKAGES=/tmp/packages_end.txt [2024-04-23T04:24:40.510Z] + case "${OS_FAMILY}" in [2024-04-23T04:24:40.510Z] + dpkg -l [2024-04-23T04:24:40.510Z] + grep '^ii' [2024-04-23T04:24:40.510Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-23T04:24:40.510Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-23T04:24:40.510Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-23T04:24:40.510Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1575 ']' [2024-04-23T04:24:40.510Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives/ [2024-04-23T04:24:40.510Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives/ [Pipeline] echo [2024-04-23T04:24:40.542Z] 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-1575/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-23T04:24:40.833Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-23T04:24:41.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-23T04:24:41.460Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-23T04:24:41.615Z] prd-ubuntu20.04-docker-8c-8g-3422 does not seem to be running inside a container [2024-04-23T04:24:41.638Z] $ 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-1575/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-1575 -v /w/workspace/gexfoundry_device-sdk-go_PR-1575:/w/workspace/gexfoundry_device-sdk-go_PR-1575:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-23T04:24:41.844Z] $ docker top bc97e63195fc95051494fb0acfd942cffdc6050319eb96ba82f11af3de56143f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-23T04:24:42.251Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-23T04:24:42.560Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-23T04:24:42.869Z] + ls /var/log/sa-host [2024-04-23T04:24:42.869Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-23T04:24:43.093Z] provisioning config files... [2024-04-23T04:24:43.102Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/config10784442216353912140tmp [Pipeline] { [Pipeline] echo [2024-04-23T04:24:43.169Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:24:43.475Z] ---> create-netrc.sh [Pipeline] } [2024-04-23T04:24:43.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:24:43.904Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-23T04:24:43.938Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:24:44.245Z] ---> sudo-logs.sh [2024-04-23T04:24:44.245Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-23T04:24:44.335Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:24:44.646Z] ---> job-cost.sh [2024-04-23T04:24:44.646Z] lf-activate-venv: SKIPPING [2024-04-23T04:24:44.646Z] DEBUG: total: 0.2199999988079071 [2024-04-23T04:24:44.646Z] INFO: Retrieving Stack Cost... [2024-04-23T04:24:45.215Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-23T04:24:45.474Z] INFO: Archiving Costs [Pipeline] echo [2024-04-23T04:24:45.508Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-23T04:24:45.813Z] ---> logs-deploy.sh [2024-04-23T04:24:45.813Z] lf-activate-venv: SKIPPING [2024-04-23T04:24:45.813Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1575/1 [2024-04-23T04:24:45.813Z] INFO: archiving workspace using pattern(s): [2024-04-23T04:24:46.745Z] Archives upload complete. [2024-04-23T04:24:46.745Z] INFO: archiving logs to Nexus