Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6022b55aa28b84bb084135b90188b1b6f409b14d+97b36af7baff2da76e29dc2359062fa76ab64ed3 (b4c2bfdb6446cf7fc8c88eec0b2c6dacea59be30) 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-ssh13089982548637488555.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-ssh3175554988814211738.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15141107335330405180.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4087288944795018692.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1575/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1575/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh867223480265537649.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-295 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 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 6022b55aa28b84bb084135b90188b1b6f409b14d Merge succeeded, producing 52e6da81349bfd285acd743fd724851427ed4430 Checking out Revision 52e6da81349bfd285acd743fd724851427ed4430 (PR-1575) > 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 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 52e6da81349bfd285acd743fd724851427ed4430 # timeout=10 Commit message: "Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-16T18:42:20.996Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-16T18:42:21.078Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-16T18:42:21.108Z] ========================================================= [2024-05-16T18:42:21.108Z] EdgeX Global Pipelines Version Info [2024-05-16T18:42:21.108Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:42:21.871Z] ------------------- [2024-05-16T18:42:21.871Z] stable info: [2024-05-16T18:42:21.871Z] ------------------- [2024-05-16T18:42:21.872Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-16T18:42:21.872Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T18:42:21.872Z] Message: update stable to v1.0.258 [2024-05-16T18:42:22.442Z] ------------------- [2024-05-16T18:42:22.442Z] experimental info: [2024-05-16T18:42:22.442Z] ------------------- [2024-05-16T18:42:22.442Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-16T18:42:22.442Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-16T18:42:22.442Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-16T18:42:22.537Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-05-16T18:42:22.566Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-05-16T18:42:22.596Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-16T18:42:22.618Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-16T18:42:22.645Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-16T18:42:22.670Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-16T18:42:22.698Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-16T18:42:22.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-05-16T18:42:22.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-16T18:42:22.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-16T18:42:22.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-16T18:42:22.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-05-16T18:42:22.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-16T18:42:22.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-16T18:42:22.887Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-16T18:42:22.910Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T18:42:22.933Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T18:42:22.958Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-16T18:42:22.984Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-16T18:42:23.008Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-16T18:42:23.035Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-16T18:42:23.061Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-05-16T18:42:23.085Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-16T18:42:23.109Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-16T18:42:23.135Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-16T18:42:23.159Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-16T18:42:23.184Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-16T18:42:23.208Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1575 [Pipeline] echo [2024-05-16T18:42:23.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1575 [Pipeline] echo [2024-05-16T18:42:23.260Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1575 [Pipeline] echo [2024-05-16T18:42:23.282Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 52e6da81349bfd285acd743fd724851427ed4430 [Pipeline] echo [2024-05-16T18:42:23.303Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 52e6da8 [Pipeline] echo [2024-05-16T18:42:23.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T18:42:23.395Z] provisioning config files... [2024-05-16T18:42:23.413Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/config13798393878305717782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:42:23.745Z] ---> ****-login.sh [2024-05-16T18:42:23.745Z] nexus3.edgexfoundry.org:10001 [2024-05-16T18:42:24.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:42:24.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:42:24.005Z] Configure a credential helper to remove this warning. See [2024-05-16T18:42:24.005Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:42:24.005Z] [2024-05-16T18:42:24.005Z] Login Succeeded [2024-05-16T18:42:24.005Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:42:24.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:42:24.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:42:24.286Z] Configure a credential helper to remove this warning. See [2024-05-16T18:42:24.286Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:42:24.286Z] [2024-05-16T18:42:24.286Z] Login Succeeded [2024-05-16T18:42:24.286Z] nexus3.edgexfoundry.org:10003 [2024-05-16T18:42:24.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:42:24.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:42:24.286Z] Configure a credential helper to remove this warning. See [2024-05-16T18:42:24.286Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:42:24.286Z] [2024-05-16T18:42:24.286Z] Login Succeeded [2024-05-16T18:42:24.286Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:42:24.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:42:24.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:42:24.548Z] Configure a credential helper to remove this warning. See [2024-05-16T18:42:24.548Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:42:24.548Z] [2024-05-16T18:42:24.548Z] Login Succeeded [2024-05-16T18:42:24.548Z] ****.io [2024-05-16T18:42:24.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:42:24.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:42:24.808Z] Configure a credential helper to remove this warning. See [2024-05-16T18:42:24.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:42:24.808Z] [2024-05-16T18:42:24.808Z] Login Succeeded [2024-05-16T18:42:24.808Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T18:42:24.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-16T18:42:25.223Z] + git rev-list -1 --merges 52e6da81349bfd285acd743fd724851427ed4430~1..52e6da81349bfd285acd743fd724851427ed4430 [Pipeline] echo [2024-05-16T18:42:25.250Z] -----------> git rev-list -1 --merges 52e6da81349bfd285acd743fd724851427ed4430~1..52e6da81349bfd285acd743fd724851427ed4430 52e6da81349bfd285acd743fd724851427ed4430 [2024-05-16T18:42:25.250Z] 52e6da81349bfd285acd743fd724851427ed4430 [false] [Pipeline] sh [2024-05-16T18:42:25.549Z] + git log --format=format:%s -1 52e6da81349bfd285acd743fd724851427ed4430 [Pipeline] echo [2024-05-16T18:42:25.565Z] ========================================================= [2024-05-16T18:42:25.565Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-16T18:42:25.565Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T18:42:25.919Z] + git log --format=format:%s -1 52e6da81349bfd285acd743fd724851427ed4430 [Pipeline] echo [2024-05-16T18:42:25.930Z] [semverPrep] GIT_COMMIT: 52e6da81349bfd285acd743fd724851427ed4430, Commit Message: Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD [Pipeline] echo [2024-05-16T18:42:25.946Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-16T18:42:26.339Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-16T18:42:26.339Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-16T18:42:26.339Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-16T18:42:26.339Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-16T18:42:26.339Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-16T18:42:26.339Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-16T18:42:26.339Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:42:26.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:42:26.770Z] [2024-05-16T18:42:26.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:42:27.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:42:27.081Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-16T18:42:27.081Z] b85a868b505f: Pulling fs layer [2024-05-16T18:42:27.081Z] e2be974225ed: Pulling fs layer [2024-05-16T18:42:27.081Z] 339a4e72a1f5: Pulling fs layer [2024-05-16T18:42:27.081Z] 988bab9f4d93: Pulling fs layer [2024-05-16T18:42:27.081Z] 1469e6f7b9e6: Pulling fs layer [2024-05-16T18:42:27.081Z] eaf3925da568: Pulling fs layer [2024-05-16T18:42:27.081Z] bab4dde63d76: Pulling fs layer [2024-05-16T18:42:27.081Z] bde34c3a00c8: Pulling fs layer [2024-05-16T18:42:27.081Z] b352a97aabf1: Pulling fs layer [2024-05-16T18:42:27.081Z] 4872d77fe225: Pulling fs layer [2024-05-16T18:42:27.081Z] 5851b861e8e6: Pulling fs layer [2024-05-16T18:42:27.081Z] bab4dde63d76: Waiting [2024-05-16T18:42:27.081Z] bde34c3a00c8: Waiting [2024-05-16T18:42:27.081Z] 988bab9f4d93: Waiting [2024-05-16T18:42:27.081Z] 5851b861e8e6: Waiting [2024-05-16T18:42:27.081Z] 1469e6f7b9e6: Waiting [2024-05-16T18:42:27.081Z] b352a97aabf1: Waiting [2024-05-16T18:42:27.081Z] 4872d77fe225: Waiting [2024-05-16T18:42:27.081Z] e2be974225ed: Verifying Checksum [2024-05-16T18:42:27.081Z] e2be974225ed: Download complete [2024-05-16T18:42:27.081Z] 988bab9f4d93: Verifying Checksum [2024-05-16T18:42:27.081Z] 988bab9f4d93: Download complete [2024-05-16T18:42:27.342Z] 1469e6f7b9e6: Verifying Checksum [2024-05-16T18:42:27.342Z] 1469e6f7b9e6: Download complete [2024-05-16T18:42:27.342Z] 339a4e72a1f5: Verifying Checksum [2024-05-16T18:42:27.342Z] 339a4e72a1f5: Download complete [2024-05-16T18:42:27.342Z] eaf3925da568: Verifying Checksum [2024-05-16T18:42:27.342Z] eaf3925da568: Download complete [2024-05-16T18:42:27.342Z] bde34c3a00c8: Download complete [2024-05-16T18:42:27.342Z] b352a97aabf1: Verifying Checksum [2024-05-16T18:42:27.342Z] b352a97aabf1: Download complete [2024-05-16T18:42:27.342Z] 4872d77fe225: Verifying Checksum [2024-05-16T18:42:27.342Z] 4872d77fe225: Download complete [2024-05-16T18:42:27.342Z] 5851b861e8e6: Verifying Checksum [2024-05-16T18:42:27.342Z] 5851b861e8e6: Download complete [2024-05-16T18:42:27.342Z] b85a868b505f: Verifying Checksum [2024-05-16T18:42:27.342Z] b85a868b505f: Download complete [2024-05-16T18:42:27.601Z] bab4dde63d76: Verifying Checksum [2024-05-16T18:42:27.601Z] bab4dde63d76: Download complete [2024-05-16T18:42:28.536Z] b85a868b505f: Pull complete [2024-05-16T18:42:28.795Z] e2be974225ed: Pull complete [2024-05-16T18:42:29.365Z] 339a4e72a1f5: Pull complete [2024-05-16T18:42:29.365Z] 988bab9f4d93: Pull complete [2024-05-16T18:42:29.625Z] 1469e6f7b9e6: Pull complete [2024-05-16T18:42:29.625Z] eaf3925da568: Pull complete [2024-05-16T18:42:31.527Z] bab4dde63d76: Pull complete [2024-05-16T18:42:31.527Z] bde34c3a00c8: Pull complete [2024-05-16T18:42:31.786Z] b352a97aabf1: Pull complete [2024-05-16T18:42:31.786Z] 4872d77fe225: Pull complete [2024-05-16T18:42:31.786Z] 5851b861e8e6: Pull complete [2024-05-16T18:42:31.786Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-16T18:42:31.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-16T18:42:31.786Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:42:31.927Z] prd-ubuntu20.04-docker-8c-8g-295 does not seem to be running inside a container [2024-05-16T18:42:31.954Z] $ 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-05-16T18:42:36.300Z] $ docker top 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a -eo pid,comm [2024-05-16T18:42:36.363Z] 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-05-16T18:42:36.363Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-16T18:42:36.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T18:42:36.420Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T18:42:36.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T18:42:36.551Z] $ docker exec 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a ssh-agent [2024-05-16T18:42:36.661Z] SSH_AUTH_SOCK=/tmp/ssh-iUCcaSpulpdg/agent.32 [2024-05-16T18:42:36.661Z] SSH_AGENT_PID=38 [2024-05-16T18:42:36.668Z] Running ssh-add (command line suppressed) [2024-05-16T18:42:36.781Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_11803250040573510397.key (/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_11803250040573510397.key) [2024-05-16T18:42:36.801Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T18:42:37.096Z] + git tag --points-at HEAD [Pipeline] } [2024-05-16T18:42:37.102Z] $ docker exec --env ******** --env ******** 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a ssh-agent -k [2024-05-16T18:42:37.205Z] unset SSH_AUTH_SOCK; [2024-05-16T18:42:37.206Z] unset SSH_AGENT_PID; [2024-05-16T18:42:37.206Z] echo Agent pid 38 killed; [2024-05-16T18:42:37.220Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-16T18:42:37.264Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-16T18:42:37.264Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-16T18:42:37.388Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-16T18:42:37.386Z] $ docker exec 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a ssh-agent [2024-05-16T18:42:37.528Z] SSH_AUTH_SOCK=/tmp/ssh-wlORluukBHyQ/agent.71 [2024-05-16T18:42:37.528Z] SSH_AGENT_PID=77 [2024-05-16T18:42:37.532Z] Running ssh-add (command line suppressed) [2024-05-16T18:42:37.643Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_16071005362349786286.key (/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_16071005362349786286.key) [2024-05-16T18:42:37.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-16T18:42:37.952Z] + git semver init [2024-05-16T18:42:38.211Z] 2024-05-16 18:42:38,125 [run_init] DEBUG init version:0.0.0 force:False [2024-05-16T18:42:38.211Z] 2024-05-16 18:42:38,127 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver [2024-05-16T18:42:38.211Z] 2024-05-16 18:42:38,127 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver [2024-05-16T18:42:38.211Z] 2024-05-16 18:42:38,128 [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-05-16T18:42:39.585Z] 2024-05-16 18:42:39,422 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575/.git/info/exclude [2024-05-16T18:42:39.585Z] 2024-05-16 18:42:39,423 [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-05-16T18:42:39.585Z] 2024-05-16 18:42:39,423 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver/PR-1575 [2024-05-16T18:42:39.585Z] 2024-05-16 18:42:39,428 [execute] INFO git cat-file --batch-check [2024-05-16T18:42:39.585Z] 2024-05-16 18:42:39,428 [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-05-16T18:42:39.585Z] 2024-05-16 18:42:39,435 [execute] INFO git cat-file --batch [2024-05-16T18:42:39.585Z] 2024-05-16 18:42:39,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver, universal_newlines=False, shell=None, istream=) [2024-05-16T18:42:39.585Z] 2024-05-16 18:42:39,441 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver/PR-1575 [2024-05-16T18:42:39.585Z] 0.0.0 [Pipeline] } [2024-05-16T18:42:39.591Z] $ docker exec --env ******** --env ******** 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a ssh-agent -k [2024-05-16T18:42:39.698Z] unset SSH_AUTH_SOCK; [2024-05-16T18:42:39.699Z] unset SSH_AGENT_PID; [2024-05-16T18:42:39.699Z] echo Agent pid 77 killed; [2024-05-16T18:42:39.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-16T18:42:40.040Z] + git semver [Pipeline] } [2024-05-16T18:42:40.309Z] $ docker stop --time=1 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a [2024-05-16T18:42:41.621Z] $ docker rm -f --volumes 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-16T18:42:41.984Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-16T18:42:42.229Z] Stashed 1 file(s) [Pipeline] echo [2024-05-16T18:42:42.233Z] [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-05-16T18:42:42.434Z] provisioning config files... [2024-05-16T18:42:42.445Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/config6434245411087696475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:42:42.756Z] ---> ****-login.sh [2024-05-16T18:42:42.756Z] nexus3.edgexfoundry.org:10001 [2024-05-16T18:42:42.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:42:42.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:42:42.756Z] Configure a credential helper to remove this warning. See [2024-05-16T18:42:42.756Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:42:42.756Z] [2024-05-16T18:42:42.756Z] Login Succeeded [2024-05-16T18:42:42.756Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:42:42.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:42:42.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:42:42.756Z] Configure a credential helper to remove this warning. See [2024-05-16T18:42:42.756Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:42:42.756Z] [2024-05-16T18:42:42.756Z] Login Succeeded [2024-05-16T18:42:42.756Z] nexus3.edgexfoundry.org:10003 [2024-05-16T18:42:43.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:42:43.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:42:43.016Z] Configure a credential helper to remove this warning. See [2024-05-16T18:42:43.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:42:43.016Z] [2024-05-16T18:42:43.016Z] Login Succeeded [2024-05-16T18:42:43.016Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:42:43.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:42:43.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:42:43.016Z] Configure a credential helper to remove this warning. See [2024-05-16T18:42:43.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:42:43.016Z] [2024-05-16T18:42:43.016Z] Login Succeeded [2024-05-16T18:42:43.016Z] ****.io [2024-05-16T18:42:43.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:42:43.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:42:43.538Z] Configure a credential helper to remove this warning. See [2024-05-16T18:42:43.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:42:43.538Z] [2024-05-16T18:42:43.538Z] Login Succeeded [2024-05-16T18:42:43.538Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T18:42:43.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T18:42:43.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:42:43.660Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:42:43.675Z] ========================================================= [2024-05-16T18:42:43.675Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-16T18:42:43.675Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:42:44.018Z] + 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-05-16T18:42:44.018Z] Sending build context to Docker daemon 25.72MB [2024-05-16T18:42:44.018Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:42:44.018Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T18:42:44.294Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-16T18:42:44.294Z] 619be1103602: Pulling fs layer [2024-05-16T18:42:44.294Z] 7862e08f4a3e: Pulling fs layer [2024-05-16T18:42:44.294Z] 5df492c9dc93: Pulling fs layer [2024-05-16T18:42:44.294Z] 7629e6793208: Pulling fs layer [2024-05-16T18:42:44.294Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T18:42:44.294Z] fb5054dd5b73: Pulling fs layer [2024-05-16T18:42:44.294Z] eeca6798cff9: Pulling fs layer [2024-05-16T18:42:44.294Z] aa269ceb94a6: Pulling fs layer [2024-05-16T18:42:44.294Z] ada007ff1a6a: Pulling fs layer [2024-05-16T18:42:44.294Z] fb5054dd5b73: Waiting [2024-05-16T18:42:44.294Z] 7629e6793208: Waiting [2024-05-16T18:42:44.294Z] 4f4fb700ef54: Waiting [2024-05-16T18:42:44.294Z] ada007ff1a6a: Waiting [2024-05-16T18:42:44.294Z] eeca6798cff9: Waiting [2024-05-16T18:42:44.294Z] aa269ceb94a6: Waiting [2024-05-16T18:42:44.294Z] 7862e08f4a3e: Verifying Checksum [2024-05-16T18:42:44.294Z] 7862e08f4a3e: Download complete [2024-05-16T18:42:44.294Z] 7629e6793208: Download complete [2024-05-16T18:42:44.294Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T18:42:44.294Z] 4f4fb700ef54: Download complete [2024-05-16T18:42:44.294Z] fb5054dd5b73: Download complete [2024-05-16T18:42:44.294Z] 619be1103602: Verifying Checksum [2024-05-16T18:42:44.294Z] 619be1103602: Download complete [2024-05-16T18:42:44.294Z] eeca6798cff9: Verifying Checksum [2024-05-16T18:42:44.294Z] eeca6798cff9: Download complete [2024-05-16T18:42:44.553Z] 619be1103602: Pull complete [2024-05-16T18:42:44.554Z] ada007ff1a6a: Verifying Checksum [2024-05-16T18:42:44.554Z] ada007ff1a6a: Download complete [2024-05-16T18:42:45.123Z] 7862e08f4a3e: Pull complete [2024-05-16T18:42:45.123Z] 5df492c9dc93: Verifying Checksum [2024-05-16T18:42:45.123Z] 5df492c9dc93: Download complete [2024-05-16T18:42:45.380Z] aa269ceb94a6: Verifying Checksum [2024-05-16T18:42:45.380Z] aa269ceb94a6: Download complete [2024-05-16T18:42:48.687Z] 5df492c9dc93: Pull complete [2024-05-16T18:42:48.687Z] 7629e6793208: Pull complete [2024-05-16T18:42:48.687Z] 4f4fb700ef54: Pull complete [2024-05-16T18:42:48.687Z] fb5054dd5b73: Pull complete [2024-05-16T18:42:48.687Z] eeca6798cff9: Pull complete [2024-05-16T18:42:51.218Z] aa269ceb94a6: Pull complete [2024-05-16T18:42:51.477Z] ada007ff1a6a: Pull complete [2024-05-16T18:42:51.477Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-16T18:42:51.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-16T18:42:51.477Z] ---> f489d0715acc [2024-05-16T18:42:51.477Z] Step 3/10 : ARG MAKE=make build [2024-05-16T18:42:57.379Z] Still waiting to schedule task [2024-05-16T18:42:57.380Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-16T18:42:59.606Z] ---> Running in e8f4f5d90954 [2024-05-16T18:42:59.606Z] Removing intermediate container e8f4f5d90954 [2024-05-16T18:42:59.606Z] ---> 346d026a76ac [2024-05-16T18:42:59.606Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-16T18:42:59.606Z] ---> Running in 9d1201366023 [2024-05-16T18:43:00.175Z] Removing intermediate container 9d1201366023 [2024-05-16T18:43:00.175Z] ---> 2d1af1684af9 [2024-05-16T18:43:00.175Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-16T18:43:00.435Z] ---> Running in 2fdb59d261c5 [2024-05-16T18:43:00.697Z] Removing intermediate container 2fdb59d261c5 [2024-05-16T18:43:00.697Z] ---> 2e69ecd16544 [2024-05-16T18:43:00.697Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-16T18:43:00.957Z] ---> Running in 688bfa7d0849 [2024-05-16T18:43:01.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-16T18:43:04.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-16T18:43:04.346Z] OK: 264 MiB in 52 packages [2024-05-16T18:43:04.607Z] Removing intermediate container 688bfa7d0849 [2024-05-16T18:43:04.607Z] ---> bc8b31db194b [2024-05-16T18:43:04.607Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T18:43:04.607Z] ---> 762a3b5b9b19 [2024-05-16T18:43:04.607Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:43:04.866Z] ---> Running in c9fdf14a1403 [2024-05-16T18:44:01.345Z] Removing intermediate container c9fdf14a1403 [2024-05-16T18:44:01.345Z] ---> fa240bde99ec [2024-05-16T18:44:01.345Z] Step 9/10 : COPY . . [2024-05-16T18:44:01.345Z] ---> 744955f193bb [2024-05-16T18:44:01.345Z] Step 10/10 : RUN ${MAKE} [2024-05-16T18:44:01.345Z] ---> Running in 15613fac1640 [2024-05-16T18:44:01.345Z] noop [2024-05-16T18:44:01.345Z] Removing intermediate container 15613fac1640 [2024-05-16T18:44:01.345Z] ---> eed19dbf620a [2024-05-16T18:44:01.345Z] Successfully built eed19dbf620a [2024-05-16T18:44:01.345Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:44:01.674Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T18:44:01.674Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:44:01.756Z] prd-ubuntu20.04-docker-8c-8g-295 does not seem to be running inside a container [2024-05-16T18:44:01.783Z] $ 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-05-16T18:44:02.126Z] $ docker top d9434cef08073ea17a554e3b27d7357b686dbddd300167e06b8f2298ffefa11c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:44:02.477Z] + go version [2024-05-16T18:44:02.477Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-16T18:44:02.486Z] $ docker stop --time=1 d9434cef08073ea17a554e3b27d7357b686dbddd300167e06b8f2298ffefa11c [2024-05-16T18:44:03.776Z] $ docker rm -f --volumes d9434cef08073ea17a554e3b27d7357b686dbddd300167e06b8f2298ffefa11c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:44:04.224Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-16T18:44:04.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:44:04.306Z] prd-ubuntu20.04-docker-8c-8g-295 does not seem to be running inside a container [2024-05-16T18:44:04.332Z] $ 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-05-16T18:44:04.645Z] $ docker top 3e0fb8b0c58712d8e91b02a462a3c4cb51466c8cdb51370df64c61bf2e9baadb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:44:04.993Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1575 [Pipeline] fileExists [Pipeline] sh [2024-05-16T18:44:05.300Z] + make test [2024-05-16T18:44:05.300Z] go test -race -coverprofile=coverage.out ./... [2024-05-16T18:44:11.865Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-16T18:44:32.200Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-299 in /w/workspace/gexfoundry_device-sdk-go_PR-1575 [Pipeline] { [Pipeline] ws [2024-05-16T18:44:32.215Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-05-16T18:44:33.292Z] The recommended git tool is: git [2024-05-16T18:44:38.705Z] using credential edgex-jenkins-ssh [2024-05-16T18:44:38.730Z] Cloning the remote Git repository [2024-05-16T18:44:38.786Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-05-16T18:44:38.900Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-05-16T18:44:39.075Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-16T18:44:39.076Z] > git --version # timeout=10 [2024-05-16T18:44:39.104Z] > git --version # 'git version 2.25.1' [2024-05-16T18:44:39.107Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:44:39.301Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T18:44:42.434Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-16T18:44:42.478Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-16T18:44:43.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-16T18:44:43.704Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-16T18:44:43.706Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:44:43.732Z] > 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-05-16T18:44:44.293Z] Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 6022b55aa28b84bb084135b90188b1b6f409b14d [2024-05-16T18:44:44.767Z] Merge succeeded, producing 03d2350f6a220024c358480ab0ab11dc2f4c9832 [2024-05-16T18:44:44.767Z] Checking out Revision 03d2350f6a220024c358480ab0ab11dc2f4c9832 (PR-1575) [2024-05-16T18:44:44.323Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T18:44:44.415Z] > git checkout -f 6022b55aa28b84bb084135b90188b1b6f409b14d # timeout=10 [2024-05-16T18:44:44.555Z] > git remote # timeout=10 [2024-05-16T18:44:44.576Z] > git config --get remote.origin.url # timeout=10 [2024-05-16T18:44:44.593Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-16T18:44:44.618Z] > git merge 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 [2024-05-16T18:44:44.747Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-16T18:44:44.778Z] > git config core.sparsecheckout # timeout=10 [2024-05-16T18:44:44.807Z] > git checkout -f 03d2350f6a220024c358480ab0ab11dc2f4c9832 # timeout=10 [2024-05-16T18:44:48.562Z] Commit message: "Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD" [2024-05-16T18:44:48.562Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-16T18:44:50.261Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-16T18:44:50.261Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-16T18:44:50.261Z] Dload Upload Total Spent Left Speed [2024-05-16T18:44:50.261Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-05-16T18:44:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-16T18:44:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-16T18:44:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-16T18:44:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-16T18:44:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-16T18:44:50.591Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.048s coverage: 27.6% of statements [2024-05-16T18:44:50.591Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.060s coverage: 81.5% of statements [2024-05-16T18:44:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-16T18:44:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-16T18:44:50.591Z] --- FAIL: TestAddReadingTags (0.00s) [2024-05-16T18:44:50.591Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-05-16T18:44:50.591Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-05-16T18:44:50.591Z] [2024-05-16T18:44:50.591Z] goroutine 45 [running]: [2024-05-16T18:44:50.591Z] testing.tRunner.func1.2({0x10b3340, 0xc0003ec300}) [2024-05-16T18:44:50.591Z] /usr/local/go/src/testing/testing.go:1545 +0x3f7 [2024-05-16T18:44:50.591Z] testing.tRunner.func1() [2024-05-16T18:44:50.591Z] /usr/local/go/src/testing/testing.go:1548 +0x716 [2024-05-16T18:44:50.591Z] panic({0x10b3340?, 0xc0003ec300?}) [2024-05-16T18:44:50.591Z] /usr/local/go/src/runtime/panic.go:920 +0x270 [2024-05-16T18:44:50.591Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000f1100) [2024-05-16T18:44:50.591Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 [2024-05-16T18:44:50.591Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x11aa9e0, 0x11}, {0x11aa9e0, 0x11}, 0xc0004d7660) [2024-05-16T18:44:50.591Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 [2024-05-16T18:44:50.591Z] github.com/edgexfoundry/device-sdk-go/v3/internal/common.TestAddReadingTags(0x0?) [2024-05-16T18:44:50.591Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/common/utils_test.go:275 +0x51 [2024-05-16T18:44:50.591Z] testing.tRunner(0xc0002b4b60, 0x11f56f0) [2024-05-16T18:44:50.591Z] /usr/local/go/src/testing/testing.go:1595 +0x262 [2024-05-16T18:44:50.591Z] created by testing.(*T).Run in goroutine 1 [2024-05-16T18:44:50.591Z] /usr/local/go/src/testing/testing.go:1648 +0x846 [2024-05-16T18:44:50.591Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.066s [2024-05-16T18:44:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-16T18:44:50.591Z] --- FAIL: TestRestController_GetCommand (0.00s) [2024-05-16T18:44:50.591Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-05-16T18:44:50.591Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-05-16T18:44:50.591Z] [2024-05-16T18:44:50.591Z] goroutine 7 [running]: [2024-05-16T18:44:50.591Z] testing.tRunner.func1.2({0x1960840, 0xc0002fce40}) [2024-05-16T18:44:50.591Z] /usr/local/go/src/testing/testing.go:1545 +0x3f7 [2024-05-16T18:44:50.591Z] testing.tRunner.func1() [2024-05-16T18:44:50.591Z] /usr/local/go/src/testing/testing.go:1548 +0x716 [2024-05-16T18:44:50.591Z] panic({0x1960840?, 0xc0002fce40?}) [2024-05-16T18:44:50.591Z] /usr/local/go/src/runtime/panic.go:920 +0x270 [2024-05-16T18:44:50.591Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc000133270) [2024-05-16T18:44:50.591Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 [2024-05-16T18:44:50.591Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x1b687f9, 0xc}, {0x1b687f9, 0xc}, 0xc000349340) [2024-05-16T18:44:50.591Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 [2024-05-16T18:44:50.591Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http.TestRestController_GetCommand(0x0?) [2024-05-16T18:44:50.591Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/controller/http/command_test.go:220 +0x5d [2024-05-16T18:44:50.591Z] testing.tRunner(0xc0005831e0, 0x1be76d8) [2024-05-16T18:44:50.591Z] /usr/local/go/src/testing/testing.go:1595 +0x262 [2024-05-16T18:44:50.591Z] created by testing.(*T).Run in goroutine 1 [2024-05-16T18:44:50.591Z] /usr/local/go/src/testing/testing.go:1648 +0x846 [2024-05-16T18:44:50.591Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.072s [2024-05-16T18:44:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-16T18:44:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-16T18:44:50.591Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-16T18:44:50.598Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-16T18:44:50.852Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.063s coverage: 14.4% of statements [2024-05-16T18:44:50.852Z] --- FAIL: Test_processDevices (0.00s) [2024-05-16T18:44:50.852Z] --- FAIL: Test_processDevices/valid_load_device_from_file (0.00s) [2024-05-16T18:44:50.852Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-05-16T18:44:50.852Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-05-16T18:44:50.852Z] [2024-05-16T18:44:50.852Z] goroutine 65 [running]: [2024-05-16T18:44:50.852Z] testing.tRunner.func1.2({0x10b53c0, 0xc000528b10}) [2024-05-16T18:44:50.852Z] /usr/local/go/src/testing/testing.go:1545 +0x3f7 [2024-05-16T18:44:50.852Z] testing.tRunner.func1() [2024-05-16T18:44:50.852Z] /usr/local/go/src/testing/testing.go:1548 +0x716 [2024-05-16T18:44:50.852Z] panic({0x10b53c0?, 0xc000528b10?}) [2024-05-16T18:44:50.852Z] /usr/local/go/src/runtime/panic.go:920 +0x270 [2024-05-16T18:44:50.852Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000bd518) [2024-05-16T18:44:50.852Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 [2024-05-16T18:44:50.852Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x11acef4, 0x11}, {0x11acef4, 0x11}, 0xc000522320) [2024-05-16T18:44:50.852Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 [2024-05-16T18:44:50.852Z] github.com/edgexfoundry/device-sdk-go/v3/internal/provision.Test_processDevices.func1(0x0?) [2024-05-16T18:44:50.852Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/provision/devices_test.go:37 +0x7f [2024-05-16T18:44:50.852Z] testing.tRunner(0xc0006a9520, 0xc0005206d0) [2024-05-16T18:44:50.852Z] /usr/local/go/src/testing/testing.go:1595 +0x262 [2024-05-16T18:44:50.852Z] created by testing.(*T).Run in goroutine 64 [2024-05-16T18:44:50.852Z] /usr/local/go/src/testing/testing.go:1648 +0x846 [2024-05-16T18:44:50.852Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.055s [2024-05-16T18:44:50.852Z] --- FAIL: TestCommandValuesToEventDTO_ReadingUnits (0.00s) [2024-05-16T18:44:50.852Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-05-16T18:44:50.852Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-05-16T18:44:50.852Z] [2024-05-16T18:44:50.852Z] goroutine 82 [running]: [2024-05-16T18:44:50.852Z] testing.tRunner.func1.2({0x10c2a60, 0xc0003185a0}) [2024-05-16T18:44:50.852Z] /usr/local/go/src/testing/testing.go:1545 +0x3f7 [2024-05-16T18:44:50.852Z] testing.tRunner.func1() [2024-05-16T18:44:50.852Z] /usr/local/go/src/testing/testing.go:1548 +0x716 [2024-05-16T18:44:50.852Z] panic({0x10c2a60?, 0xc0003185a0?}) [2024-05-16T18:44:50.852Z] /usr/local/go/src/runtime/panic.go:920 +0x270 [2024-05-16T18:44:50.852Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000174e0) [2024-05-16T18:44:50.852Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 [2024-05-16T18:44:50.852Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x11ba70e, 0x11}, {0x11ba70e, 0x11}, 0xc000602220) [2024-05-16T18:44:50.852Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 [2024-05-16T18:44:50.852Z] github.com/edgexfoundry/device-sdk-go/v3/internal/transformer.TestCommandValuesToEventDTO_ReadingUnits(0x0?) [2024-05-16T18:44:50.852Z] /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/transformer/transform_test.go:156 +0x50 [2024-05-16T18:44:50.852Z] testing.tRunner(0xc000338000, 0x12068b8) [2024-05-16T18:44:50.852Z] /usr/local/go/src/testing/testing.go:1595 +0x262 [2024-05-16T18:44:50.852Z] created by testing.(*T).Run in goroutine 1 [2024-05-16T18:44:50.852Z] /usr/local/go/src/testing/testing.go:1648 +0x846 [2024-05-16T18:44:50.852Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.044s [2024-05-16T18:44:50.852Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.117s coverage: 89.2% of statements [2024-05-16T18:44:50.852Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.065s coverage: 5.5% of statements [2024-05-16T18:44:50.852Z] FAIL [2024-05-16T18:44:50.858Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2024-05-16T18:44:50.864Z] $ docker stop --time=1 3e0fb8b0c58712d8e91b02a462a3c4cb51466c8cdb51370df64c61bf2e9baadb [2024-05-16T18:44:50.949Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-16T18:44:50.949Z] + sudo tee /etc/docker/daemon.new [2024-05-16T18:44:50.949Z] { [2024-05-16T18:44:50.949Z] "registry-mirrors": [ [2024-05-16T18:44:50.949Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-16T18:44:50.949Z] ], [2024-05-16T18:44:50.949Z] "bip": "10.250.0.254/24", [2024-05-16T18:44:50.949Z] "hosts": [ [2024-05-16T18:44:50.949Z] "tcp://0.0.0.0:5555", [2024-05-16T18:44:50.949Z] "unix:///var/run/docker.sock" [2024-05-16T18:44:50.949Z] ], [2024-05-16T18:44:50.949Z] "mtu": 1458, [2024-05-16T18:44:50.949Z] "selinux-enabled": true, [2024-05-16T18:44:50.949Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-16T18:44:50.949Z] } [2024-05-16T18:44:52.541Z] $ docker rm -f --volumes 3e0fb8b0c58712d8e91b02a462a3c4cb51466c8cdb51370df64c61bf2e9baadb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:44:53.060Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-16T18:44:53.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:44:53.303Z] [2024-05-16T18:44:53.303Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:44:53.397Z] + sudo service docker restart [2024-05-16T18:44:53.609Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:44:53.609Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-16T18:44:53.609Z] 5eb5b503b376: Pulling fs layer [2024-05-16T18:44:53.609Z] 5c69ac0246d0: Pulling fs layer [2024-05-16T18:44:53.609Z] ec43610c2a17: Pulling fs layer [2024-05-16T18:44:53.609Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-16T18:44:53.609Z] 33b1e0a273af: Pulling fs layer [2024-05-16T18:44:53.609Z] 5d3b04190fa2: Pulling fs layer [2024-05-16T18:44:53.609Z] 2f39f015ded8: Pulling fs layer [2024-05-16T18:44:53.609Z] 33b1e0a273af: Waiting [2024-05-16T18:44:53.609Z] 5d3b04190fa2: Waiting [2024-05-16T18:44:53.609Z] 3a2ae6a8a46f: Waiting [2024-05-16T18:44:53.609Z] 5c69ac0246d0: Verifying Checksum [2024-05-16T18:44:53.609Z] 5c69ac0246d0: Download complete [2024-05-16T18:44:53.609Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-16T18:44:53.609Z] 3a2ae6a8a46f: Download complete [2024-05-16T18:44:53.609Z] 33b1e0a273af: Verifying Checksum [2024-05-16T18:44:53.609Z] 33b1e0a273af: Download complete [2024-05-16T18:44:53.871Z] 5d3b04190fa2: Download complete [2024-05-16T18:44:53.871Z] ec43610c2a17: Verifying Checksum [2024-05-16T18:44:53.871Z] ec43610c2a17: Download complete [2024-05-16T18:44:53.871Z] 5eb5b503b376: Verifying Checksum [2024-05-16T18:44:53.871Z] 5eb5b503b376: Download complete [2024-05-16T18:44:54.438Z] 2f39f015ded8: Download complete [2024-05-16T18:44:55.005Z] 5eb5b503b376: Pull complete [2024-05-16T18:44:55.264Z] 5c69ac0246d0: Pull complete [2024-05-16T18:44:55.832Z] ec43610c2a17: Pull complete [2024-05-16T18:44:55.832Z] 3a2ae6a8a46f: Pull complete [2024-05-16T18:44:56.091Z] 33b1e0a273af: Pull complete [2024-05-16T18:44:56.091Z] 5d3b04190fa2: Pull complete [2024-05-16T18:45:00.278Z] 2f39f015ded8: Pull complete [2024-05-16T18:45:00.278Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-16T18:45:00.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:45:00.278Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:45:00.378Z] prd-ubuntu20.04-docker-8c-8g-295 does not seem to be running inside a container [2024-05-16T18:45:00.405Z] $ 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-05-16T18:45:02.159Z] $ docker top 2b0f8e5198f8411d93f494701db5149c38574653930bde6684150a66ed43a028 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:45:02.556Z] ---> job-cost.sh [2024-05-16T18:45:02.556Z] lf-activate-venv: SKIPPING [2024-05-16T18:45:02.556Z] INFO: No Stack... [2024-05-16T18:45:02.815Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T18:45:03.384Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T18:45:03.675Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives/cost.csv [2024-05-16T18:45:03.676Z] + cut -d, -f6 [Pipeline] lock [2024-05-16T18:45:03.688Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] [2024-05-16T18:45:03.700Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] did not exist. Created. [2024-05-16T18:45:03.707Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T18:45:04.016Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-16T18:45:04.066Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T18:45:04.075Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T18:45:04.098Z] $ docker stop --time=1 2b0f8e5198f8411d93f494701db5149c38574653930bde6684150a66ed43a028 [2024-05-16T18:45:05.253Z] $ docker rm -f --volumes 2b0f8e5198f8411d93f494701db5149c38574653930bde6684150a66ed43a028 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-16T18:45:05.394Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T18:45:11.689Z] provisioning config files... [2024-05-16T18:45:11.720Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config11701522486408460005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:45:12.198Z] ---> ****-login.sh [2024-05-16T18:45:12.198Z] nexus3.edgexfoundry.org:10001 [2024-05-16T18:45:12.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:45:12.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:45:12.794Z] Configure a credential helper to remove this warning. See [2024-05-16T18:45:12.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:45:12.794Z] [2024-05-16T18:45:12.794Z] Login Succeeded [2024-05-16T18:45:12.794Z] nexus3.edgexfoundry.org:10002 [2024-05-16T18:45:13.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:45:13.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:45:13.359Z] Configure a credential helper to remove this warning. See [2024-05-16T18:45:13.359Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:45:13.359Z] [2024-05-16T18:45:13.359Z] Login Succeeded [2024-05-16T18:45:13.359Z] nexus3.edgexfoundry.org:10003 [2024-05-16T18:45:13.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:45:13.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:45:13.914Z] Configure a credential helper to remove this warning. See [2024-05-16T18:45:13.914Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:45:13.914Z] [2024-05-16T18:45:13.914Z] Login Succeeded [2024-05-16T18:45:13.914Z] nexus3.edgexfoundry.org:10004 [2024-05-16T18:45:14.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:45:14.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:45:14.188Z] Configure a credential helper to remove this warning. See [2024-05-16T18:45:14.188Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:45:14.188Z] [2024-05-16T18:45:14.188Z] Login Succeeded [2024-05-16T18:45:14.188Z] ****.io [2024-05-16T18:45:14.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-16T18:45:14.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-16T18:45:14.734Z] Configure a credential helper to remove this warning. See [2024-05-16T18:45:14.734Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-16T18:45:14.734Z] [2024-05-16T18:45:14.734Z] Login Succeeded [2024-05-16T18:45:14.734Z] ---> ****-login.sh ends [Pipeline] } [2024-05-16T18:45:14.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-16T18:45:15.164Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:45:15.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-16T18:45:15.205Z] ========================================================= [2024-05-16T18:45:15.205Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-16T18:45:15.205Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:45:15.590Z] + 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-05-16T18:45:16.185Z] Sending build context to Docker daemon 13.27MB [2024-05-16T18:45:16.185Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-16T18:45:16.185Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-16T18:45:16.461Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-16T18:45:16.461Z] c6b39de5b339: Pulling fs layer [2024-05-16T18:45:16.461Z] a69c41024577: Pulling fs layer [2024-05-16T18:45:16.461Z] d6de4b400683: Pulling fs layer [2024-05-16T18:45:16.461Z] 35cb2a7552d0: Pulling fs layer [2024-05-16T18:45:16.461Z] 4f4fb700ef54: Pulling fs layer [2024-05-16T18:45:16.461Z] 464afbd9ba4c: Pulling fs layer [2024-05-16T18:45:16.461Z] 00f215d4a9da: Pulling fs layer [2024-05-16T18:45:16.461Z] d496ad576159: Pulling fs layer [2024-05-16T18:45:16.461Z] 35cb2a7552d0: Waiting [2024-05-16T18:45:16.461Z] 464afbd9ba4c: Waiting [2024-05-16T18:45:16.461Z] 4f4fb700ef54: Waiting [2024-05-16T18:45:16.461Z] 00f215d4a9da: Waiting [2024-05-16T18:45:16.461Z] d496ad576159: Waiting [2024-05-16T18:45:16.461Z] a69c41024577: Verifying Checksum [2024-05-16T18:45:16.461Z] a69c41024577: Download complete [2024-05-16T18:45:16.461Z] 35cb2a7552d0: Verifying Checksum [2024-05-16T18:45:16.461Z] 35cb2a7552d0: Download complete [2024-05-16T18:45:16.461Z] 4f4fb700ef54: Verifying Checksum [2024-05-16T18:45:16.461Z] 4f4fb700ef54: Download complete [2024-05-16T18:45:16.461Z] 464afbd9ba4c: Download complete [2024-05-16T18:45:16.461Z] c6b39de5b339: Verifying Checksum [2024-05-16T18:45:16.461Z] c6b39de5b339: Download complete [2024-05-16T18:45:17.068Z] d496ad576159: Verifying Checksum [2024-05-16T18:45:17.068Z] d496ad576159: Download complete [2024-05-16T18:45:17.664Z] c6b39de5b339: Pull complete [2024-05-16T18:45:18.265Z] a69c41024577: Pull complete [2024-05-16T18:45:18.536Z] d6de4b400683: Verifying Checksum [2024-05-16T18:45:18.536Z] d6de4b400683: Download complete [2024-05-16T18:45:19.956Z] 00f215d4a9da: Verifying Checksum [2024-05-16T18:45:19.956Z] 00f215d4a9da: Download complete [2024-05-16T18:45:32.293Z] d6de4b400683: Pull complete [2024-05-16T18:45:32.293Z] 35cb2a7552d0: Pull complete [2024-05-16T18:45:32.293Z] 4f4fb700ef54: Pull complete [2024-05-16T18:45:32.563Z] 464afbd9ba4c: Pull complete [2024-05-16T18:45:42.679Z] 00f215d4a9da: Pull complete [2024-05-16T18:45:44.658Z] d496ad576159: Pull complete [2024-05-16T18:45:44.658Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-16T18:45:44.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-16T18:45:44.658Z] ---> f246e2811388 [2024-05-16T18:45:44.658Z] Step 3/10 : ARG MAKE=make build [2024-05-16T18:45:45.642Z] ---> Running in d90db39d72f8 [2024-05-16T18:45:45.912Z] Removing intermediate container d90db39d72f8 [2024-05-16T18:45:45.912Z] ---> 21ca6e616806 [2024-05-16T18:45:45.912Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-16T18:45:46.184Z] ---> Running in d99ad050859b [2024-05-16T18:45:46.456Z] Removing intermediate container d99ad050859b [2024-05-16T18:45:46.456Z] ---> a93b8f935d38 [2024-05-16T18:45:46.456Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-16T18:45:46.456Z] ---> Running in e4f673bd5fe7 [2024-05-16T18:45:46.732Z] Removing intermediate container e4f673bd5fe7 [2024-05-16T18:45:46.732Z] ---> 7f8c1b0bf1b5 [2024-05-16T18:45:46.732Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-16T18:45:47.003Z] ---> Running in 7951a7cd5d6e [2024-05-16T18:45:48.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-16T18:45:48.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-16T18:45:49.680Z] OK: 266 MiB in 52 packages [2024-05-16T18:45:50.659Z] Removing intermediate container 7951a7cd5d6e [2024-05-16T18:45:50.659Z] ---> 8db38536ff7f [2024-05-16T18:45:50.659Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-16T18:45:51.254Z] ---> 2435008f1ccf [2024-05-16T18:45:51.254Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-16T18:45:51.532Z] ---> Running in d648cb5a86c2 [2024-05-16T18:47:58.292Z] Removing intermediate container d648cb5a86c2 [2024-05-16T18:47:58.292Z] ---> 2dd8bdf62f24 [2024-05-16T18:47:58.292Z] Step 9/10 : COPY . . [2024-05-16T18:47:58.292Z] ---> 3a2c2bf686d1 [2024-05-16T18:47:58.292Z] Step 10/10 : RUN ${MAKE} [2024-05-16T18:47:58.292Z] ---> Running in b931ad0b8c08 [2024-05-16T18:47:58.292Z] noop [2024-05-16T18:47:58.292Z] Removing intermediate container b931ad0b8c08 [2024-05-16T18:47:58.292Z] ---> 17e002b88dee [2024-05-16T18:47:58.292Z] Successfully built 17e002b88dee [2024-05-16T18:47:58.292Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:47:58.685Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T18:47:58.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:47:58.922Z] prd-ubuntu20.04-docker-arm64-4c-16g-299 does not seem to be running inside a container [2024-05-16T18:47:59.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-16T18:48:00.307Z] $ docker top 867683be805459fbd75cd4d7d01321151ac150decee44523021e9ddebdde24b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:48:01.184Z] + go version [2024-05-16T18:48:01.184Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-16T18:48:01.215Z] $ docker stop --time=1 867683be805459fbd75cd4d7d01321151ac150decee44523021e9ddebdde24b7 [2024-05-16T18:48:02.939Z] $ docker rm -f --volumes 867683be805459fbd75cd4d7d01321151ac150decee44523021e9ddebdde24b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:48:03.570Z] + docker inspect -f . ci-base-image-arm64 [2024-05-16T18:48:03.570Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:48:03.796Z] prd-ubuntu20.04-docker-arm64-4c-16g-299 does not seem to be running inside a container [2024-05-16T18:48:03.876Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-16T18:48:05.217Z] $ docker top 53fb5676c567417f3670ee025df74a5b148c7718ddfe4e337c859ad878398c4b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:48:06.104Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-05-16T18:48:06.773Z] + make test [2024-05-16T18:48:06.773Z] go test -race -coverprofile=coverage.out ./... [2024-05-16T18:49:03.192Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-16T18:52:55.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-16T18:52:55.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-16T18:52:55.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-16T18:52:55.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-16T18:52:55.412Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-16T18:52:55.412Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.275s coverage: 27.6% of statements [2024-05-16T18:52:58.770Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.325s coverage: 81.5% of statements [2024-05-16T18:53:05.450Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-16T18:53:05.450Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-16T18:53:05.450Z] --- FAIL: TestAddReadingTags (0.00s) [2024-05-16T18:53:05.451Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-05-16T18:53:05.451Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-05-16T18:53:05.451Z] [2024-05-16T18:53:05.451Z] goroutine 9 [running]: [2024-05-16T18:53:05.451Z] testing.tRunner.func1.2({0xab10e0, 0xc0000b9530}) [2024-05-16T18:53:05.451Z] /usr/local/go/src/testing/testing.go:1545 +0x2c8 [2024-05-16T18:53:05.451Z] testing.tRunner.func1() [2024-05-16T18:53:05.451Z] /usr/local/go/src/testing/testing.go:1548 +0x4c4 [2024-05-16T18:53:05.451Z] panic({0xab10e0?, 0xc0000b9530?}) [2024-05-16T18:53:05.451Z] /usr/local/go/src/runtime/panic.go:920 +0x26c [2024-05-16T18:53:05.451Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0005350e0) [2024-05-16T18:53:05.451Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 [2024-05-16T18:53:05.451Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0xba8626, 0x11}, {0xba8626, 0x11}, 0xc0004f45e0) [2024-05-16T18:53:05.451Z] /w/workspace/device-sdk-go/2/internal/cache/init.go:22 +0x70 [2024-05-16T18:53:05.451Z] github.com/edgexfoundry/device-sdk-go/v3/internal/common.TestAddReadingTags(0x0?) [2024-05-16T18:53:05.451Z] /w/workspace/device-sdk-go/2/internal/common/utils_test.go:275 +0x4c [2024-05-16T18:53:05.451Z] testing.tRunner(0xc000107040, 0xbf3128) [2024-05-16T18:53:05.451Z] /usr/local/go/src/testing/testing.go:1595 +0x1b4 [2024-05-16T18:53:05.451Z] created by testing.(*T).Run in goroutine 1 [2024-05-16T18:53:05.451Z] /usr/local/go/src/testing/testing.go:1648 +0x5ec [2024-05-16T18:53:05.451Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.430s [2024-05-16T18:53:10.867Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-16T18:53:10.867Z] --- FAIL: TestRestController_GetCommand (0.00s) [2024-05-16T18:53:10.867Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-05-16T18:53:10.867Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-05-16T18:53:10.867Z] [2024-05-16T18:53:10.867Z] goroutine 18 [running]: [2024-05-16T18:53:10.867Z] testing.tRunner.func1.2({0x1248760, 0xc0002b72f0}) [2024-05-16T18:53:10.867Z] /usr/local/go/src/testing/testing.go:1545 +0x2c8 [2024-05-16T18:53:10.867Z] testing.tRunner.func1() [2024-05-16T18:53:10.867Z] /usr/local/go/src/testing/testing.go:1548 +0x4c4 [2024-05-16T18:53:10.867Z] panic({0x1248760?, 0xc0002b72f0?}) [2024-05-16T18:53:10.867Z] /usr/local/go/src/runtime/panic.go:920 +0x26c [2024-05-16T18:53:10.867Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0004df250) [2024-05-16T18:53:10.867Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 [2024-05-16T18:53:10.867Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x1450787, 0xc}, {0x1450787, 0xc}, 0xc00036a220) [2024-05-16T18:53:10.867Z] /w/workspace/device-sdk-go/2/internal/cache/init.go:22 +0x70 [2024-05-16T18:53:10.867Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http.TestRestController_GetCommand(0x0?) [2024-05-16T18:53:10.867Z] /w/workspace/device-sdk-go/2/internal/controller/http/command_test.go:220 +0x58 [2024-05-16T18:53:10.867Z] testing.tRunner(0xc000502d00, 0x14cf4c8) [2024-05-16T18:53:10.867Z] /usr/local/go/src/testing/testing.go:1595 +0x1b4 [2024-05-16T18:53:10.867Z] created by testing.(*T).Run in goroutine 1 [2024-05-16T18:53:10.867Z] /usr/local/go/src/testing/testing.go:1648 +0x5ec [2024-05-16T18:53:10.867Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.462s [2024-05-16T18:53:16.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.344s coverage: 14.4% of statements [2024-05-16T18:53:16.236Z] --- FAIL: Test_processDevices (0.00s) [2024-05-16T18:53:16.236Z] --- FAIL: Test_processDevices/valid_load_device_from_file (0.00s) [2024-05-16T18:53:16.236Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-05-16T18:53:16.236Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-05-16T18:53:16.236Z] [2024-05-16T18:53:16.236Z] goroutine 26 [running]: [2024-05-16T18:53:16.236Z] testing.tRunner.func1.2({0xab1140, 0xc0002ea090}) [2024-05-16T18:53:16.236Z] /usr/local/go/src/testing/testing.go:1545 +0x2c8 [2024-05-16T18:53:16.236Z] testing.tRunner.func1() [2024-05-16T18:53:16.236Z] /usr/local/go/src/testing/testing.go:1548 +0x4c4 [2024-05-16T18:53:16.236Z] panic({0xab1140?, 0xc0002ea090?}) [2024-05-16T18:53:16.236Z] /usr/local/go/src/runtime/panic.go:920 +0x26c [2024-05-16T18:53:16.236Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000b9500) [2024-05-16T18:53:16.236Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 [2024-05-16T18:53:16.236Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0xba8b1a, 0x11}, {0xba8b1a, 0x11}, 0xc00004c2a0) [2024-05-16T18:53:16.236Z] /w/workspace/device-sdk-go/2/internal/cache/init.go:22 +0x70 [2024-05-16T18:53:16.236Z] github.com/edgexfoundry/device-sdk-go/v3/internal/provision.Test_processDevices.func1(0x0?) [2024-05-16T18:53:16.236Z] /w/workspace/device-sdk-go/2/internal/provision/devices_test.go:37 +0x68 [2024-05-16T18:53:16.236Z] testing.tRunner(0xc00054ad00, 0xc000580530) [2024-05-16T18:53:16.236Z] /usr/local/go/src/testing/testing.go:1595 +0x1b4 [2024-05-16T18:53:16.236Z] created by testing.(*T).Run in goroutine 25 [2024-05-16T18:53:16.236Z] /usr/local/go/src/testing/testing.go:1648 +0x5ec [2024-05-16T18:53:16.236Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.260s [2024-05-16T18:53:17.659Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-16T18:53:17.659Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-16T18:53:17.931Z] --- FAIL: TestCommandValuesToEventDTO_ReadingUnits (0.00s) [2024-05-16T18:53:17.931Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] [2024-05-16T18:53:17.931Z] panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [2024-05-16T18:53:17.931Z] [2024-05-16T18:53:17.931Z] goroutine 66 [running]: [2024-05-16T18:53:17.931Z] testing.tRunner.func1.2({0xab1800, 0xc00046efc0}) [2024-05-16T18:53:17.931Z] /usr/local/go/src/testing/testing.go:1545 +0x2c8 [2024-05-16T18:53:17.931Z] testing.tRunner.func1() [2024-05-16T18:53:17.931Z] /usr/local/go/src/testing/testing.go:1548 +0x4c4 [2024-05-16T18:53:17.931Z] panic({0xab1800?, 0xc00046efc0?}) [2024-05-16T18:53:17.931Z] /usr/local/go/src/runtime/panic.go:920 +0x26c [2024-05-16T18:53:17.931Z] github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0001354c0) [2024-05-16T18:53:17.931Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 [2024-05-16T18:53:17.931Z] github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0xba9354, 0x11}, {0xba9354, 0x11}, 0xc000175080) [2024-05-16T18:53:17.931Z] /w/workspace/device-sdk-go/2/internal/cache/init.go:22 +0x70 [2024-05-16T18:53:17.931Z] github.com/edgexfoundry/device-sdk-go/v3/internal/transformer.TestCommandValuesToEventDTO_ReadingUnits(0x0?) [2024-05-16T18:53:17.931Z] /w/workspace/device-sdk-go/2/internal/transformer/transform_test.go:156 +0x50 [2024-05-16T18:53:17.931Z] testing.tRunner(0xc0002be000, 0xbf52f0) [2024-05-16T18:53:17.931Z] /usr/local/go/src/testing/testing.go:1595 +0x1b4 [2024-05-16T18:53:17.931Z] created by testing.(*T).Run in goroutine 1 [2024-05-16T18:53:17.931Z] /usr/local/go/src/testing/testing.go:1648 +0x5ec [2024-05-16T18:53:17.931Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.308s [2024-05-16T18:53:22.206Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.565s coverage: 89.2% of statements [2024-05-16T18:53:26.493Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-16T18:53:27.454Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.408s coverage: 5.5% of statements [2024-05-16T18:53:27.454Z] FAIL [2024-05-16T18:53:28.863Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2024-05-16T18:53:28.892Z] $ docker stop --time=1 53fb5676c567417f3670ee025df74a5b148c7718ddfe4e337c859ad878398c4b [2024-05-16T18:53:30.907Z] $ docker rm -f --volumes 53fb5676c567417f3670ee025df74a5b148c7718ddfe4e337c859ad878398c4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:53:32.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T18:53:32.801Z] [2024-05-16T18:53:32.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:53:33.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T18:53:33.399Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-16T18:53:33.399Z] 8998bd30e6a1: Pulling fs layer [2024-05-16T18:53:33.399Z] 04944245beec: Pulling fs layer [2024-05-16T18:53:33.399Z] 699f458cf7ca: Pulling fs layer [2024-05-16T18:53:33.399Z] 765212b225bb: Pulling fs layer [2024-05-16T18:53:33.399Z] f23df028b6ca: Pulling fs layer [2024-05-16T18:53:33.399Z] d65c8cfc05b1: Pulling fs layer [2024-05-16T18:53:33.399Z] 2437ff75d9bd: Pulling fs layer [2024-05-16T18:53:33.399Z] f23df028b6ca: Waiting [2024-05-16T18:53:33.399Z] 765212b225bb: Waiting [2024-05-16T18:53:33.399Z] d65c8cfc05b1: Waiting [2024-05-16T18:53:33.399Z] 2437ff75d9bd: Waiting [2024-05-16T18:53:33.667Z] 04944245beec: Verifying Checksum [2024-05-16T18:53:33.667Z] 04944245beec: Download complete [2024-05-16T18:53:33.667Z] 765212b225bb: Verifying Checksum [2024-05-16T18:53:33.667Z] 765212b225bb: Download complete [2024-05-16T18:53:33.667Z] f23df028b6ca: Verifying Checksum [2024-05-16T18:53:33.667Z] f23df028b6ca: Download complete [2024-05-16T18:53:33.667Z] d65c8cfc05b1: Verifying Checksum [2024-05-16T18:53:33.667Z] d65c8cfc05b1: Download complete [2024-05-16T18:53:33.940Z] 699f458cf7ca: Verifying Checksum [2024-05-16T18:53:33.940Z] 699f458cf7ca: Download complete [2024-05-16T18:53:34.526Z] 8998bd30e6a1: Verifying Checksum [2024-05-16T18:53:34.526Z] 8998bd30e6a1: Download complete [2024-05-16T18:53:37.109Z] 2437ff75d9bd: Verifying Checksum [2024-05-16T18:53:37.109Z] 2437ff75d9bd: Download complete [2024-05-16T18:53:39.686Z] 8998bd30e6a1: Pull complete [2024-05-16T18:53:39.953Z] 04944245beec: Pull complete [2024-05-16T18:53:41.892Z] 699f458cf7ca: Pull complete [2024-05-16T18:53:41.892Z] 765212b225bb: Pull complete [2024-05-16T18:53:42.852Z] f23df028b6ca: Pull complete [2024-05-16T18:53:43.120Z] d65c8cfc05b1: Pull complete [2024-05-16T18:54:01.395Z] 2437ff75d9bd: Pull complete [2024-05-16T18:54:01.395Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-16T18:54:01.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-16T18:54:01.395Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:54:01.644Z] prd-ubuntu20.04-docker-arm64-4c-16g-299 does not seem to be running inside a container [2024-05-16T18:54:01.735Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-16T18:54:04.719Z] $ docker top 62a1e0a1b63c0e9895286d3795838293e6c7a15a64c48fbf70f048801d8928f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:54:05.613Z] ---> job-cost.sh [2024-05-16T18:54:05.613Z] lf-activate-venv: SKIPPING [2024-05-16T18:54:05.613Z] INFO: No Stack... [2024-05-16T18:54:06.205Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-16T18:54:07.171Z] INFO: Archiving Costs [Pipeline] sh [2024-05-16T18:54:07.821Z] + cut -d, -f6 [2024-05-16T18:54:07.821Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2024-05-16T18:54:07.880Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] [2024-05-16T18:54:07.894Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] did not exist. Created. [2024-05-16T18:54:07.907Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-16T18:54:08.575Z] /w/workspace/device-sdk-go/2@tmp/durable-f56469fa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-16T18:54:09.221Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-16T18:54:09.247Z] Warning: overwriting stash ‘stack-cost’ [2024-05-16T18:54:09.807Z] Stashed 1 file(s) [Pipeline] } [2024-05-16T18:54:09.813Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-16T18:54:09.845Z] $ docker stop --time=1 62a1e0a1b63c0e9895286d3795838293e6c7a15a64c48fbf70f048801d8928f9 [2024-05-16T18:54:11.401Z] $ docker rm -f --volumes 62a1e0a1b63c0e9895286d3795838293e6c7a15a64c48fbf70f048801d8928f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-16T18:54:11.751Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [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-05-16T18:54:12.595Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives ] [2024-05-16T18:54:12.595Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives [2024-05-16T18:54:12.595Z] total 16 [2024-05-16T18:54:12.595Z] drwxr-xr-x 3 root root 4096 May 16 18:45 . [2024-05-16T18:54:12.595Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:45 .. [2024-05-16T18:54:12.595Z] drwxr-xr-x 2 root root 4096 May 16 18:45 cost [2024-05-16T18:54:12.595Z] -rw-r--r-- 1 root root 86 May 16 18:45 cost.csv [2024-05-16T18:54:12.595Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives [2024-05-16T18:54:12.595Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives [2024-05-16T18:54:12.595Z] total 16 [2024-05-16T18:54:12.595Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:45 . [2024-05-16T18:54:12.595Z] drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:45 .. [2024-05-16T18:54:12.595Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 18:45 cost [2024-05-16T18:54:12.595Z] -rw-r--r-- 1 jenkins jenkins 86 May 16 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:54:12.889Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:54:13.751Z] ---> package-listing.sh [2024-05-16T18:54:13.751Z] ++ facter osfamily [2024-05-16T18:54:13.751Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-16T18:54:14.012Z] + OS_FAMILY=debian [2024-05-16T18:54:14.012Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1575 [2024-05-16T18:54:14.012Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-16T18:54:14.012Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-16T18:54:14.012Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-16T18:54:14.012Z] + PACKAGES=/tmp/packages_start.txt [2024-05-16T18:54:14.012Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1575 ']' [2024-05-16T18:54:14.012Z] + PACKAGES=/tmp/packages_end.txt [2024-05-16T18:54:14.012Z] + case "${OS_FAMILY}" in [2024-05-16T18:54:14.012Z] + dpkg -l [2024-05-16T18:54:14.012Z] + grep '^ii' [2024-05-16T18:54:14.012Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-16T18:54:14.012Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-16T18:54:14.012Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-16T18:54:14.012Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1575 ']' [2024-05-16T18:54:14.012Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives/ [2024-05-16T18:54:14.012Z] + 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-05-16T18:54:14.023Z] 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-05-16T18:54:14.303Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-16T18:54:14.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-16T18:54:14.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-16T18:54:14.956Z] prd-ubuntu20.04-docker-8c-8g-295 does not seem to be running inside a container [2024-05-16T18:54:14.985Z] $ 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-05-16T18:54:15.180Z] $ docker top 6b9024eb6ffbedb00a41ad9c1eca34eb392964e611815d2a318e779e31001517 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-16T18:54:15.540Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-16T18:54:15.827Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-16T18:54:16.119Z] + ls /var/log/sa-host [2024-05-16T18:54:16.119Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-16T18:54:16.295Z] provisioning config files... [2024-05-16T18:54:16.305Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/config17322989968667818776tmp [Pipeline] { [Pipeline] echo [2024-05-16T18:54:16.330Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:54:16.615Z] ---> create-netrc.sh [Pipeline] } [2024-05-16T18:54:16.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:54:16.959Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-16T18:54:16.968Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:54:17.252Z] ---> sudo-logs.sh [2024-05-16T18:54:17.252Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-16T18:54:17.286Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:54:17.570Z] ---> job-cost.sh [2024-05-16T18:54:17.571Z] lf-activate-venv: SKIPPING [2024-05-16T18:54:17.571Z] DEBUG: total: 0.2199999988079071 [2024-05-16T18:54:17.571Z] INFO: Retrieving Stack Cost... [2024-05-16T18:54:17.830Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-16T18:54:18.088Z] INFO: Archiving Costs [Pipeline] echo [2024-05-16T18:54:18.103Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-16T18:54:18.387Z] ---> logs-deploy.sh [2024-05-16T18:54:18.387Z] lf-activate-venv: SKIPPING [2024-05-16T18:54:18.387Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1575/2 [2024-05-16T18:54:18.387Z] INFO: archiving workspace using pattern(s): [2024-05-16T18:54:19.323Z] Archives upload complete. [2024-05-16T18:54:19.581Z] INFO: archiving logs to Nexus