Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at ba03d3229d39ccd3d083a66246eea2ffd8e01960 rather than 74220dca883406582eff475b7d4c0a6c1de787c8 Obtained Jenkinsfile from ba03d3229d39ccd3d083a66246eea2ffd8e01960 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-ssh3644901984324602533.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh9973944296929351210.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1402/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-1402/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9763326167161894160.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh14493957400245781524.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-1402/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-1402/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9919085236187453813.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.20 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5595’ Running on prd-ubuntu20.04-docker-8c-8g-5597 in /w/workspace/gexfoundry_device-sdk-go_PR-1402 [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-1402 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ba03d3229d39ccd3d083a66246eea2ffd8e01960 into PR head commit 74220dca883406582eff475b7d4c0a6c1de787c8 Merge succeeded, producing 63578b3d080f1812db9e3798261a2bb87200f74c Checking out Revision 63578b3d080f1812db9e3798261a2bb87200f74c (PR-1402) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1402/head:refs/remotes/origin/PR-1402 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74220dca883406582eff475b7d4c0a6c1de787c8 # 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 ba03d3229d39ccd3d083a66246eea2ffd8e01960 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63578b3d080f1812db9e3798261a2bb87200f74c # timeout=10 Commit message: "Merge commit 'ba03d3229d39ccd3d083a66246eea2ffd8e01960' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-23T18:42:31.587Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-23T18:42:31.643Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git rev-list --no-walk c4409faf4c2d2ab16e941d54287a7beaa134650a # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-23T18:42:31.658Z] ========================================================= [2023-03-23T18:42:31.658Z] EdgeX Global Pipelines Version Info [2023-03-23T18:42:31.658Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:42:32.399Z] ------------------- [2023-03-23T18:42:32.399Z] stable info: [2023-03-23T18:42:32.399Z] ------------------- [2023-03-23T18:42:32.399Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-23T18:42:32.399Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-23T18:42:32.399Z] Message: update stable to v1.0.245 [2023-03-23T18:42:32.971Z] ------------------- [2023-03-23T18:42:32.971Z] experimental info: [2023-03-23T18:42:32.971Z] ------------------- [2023-03-23T18:42:32.971Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-23T18:42:32.971Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-23T18:42:32.971Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-23T18:42:33.137Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-23T18:42:33.148Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-23T18:42:33.159Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-23T18:42:33.172Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-23T18:42:33.183Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-23T18:42:33.195Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-23T18:42:33.206Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-23T18:42:33.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-23T18:42:33.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-23T18:42:33.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-23T18:42:33.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-23T18:42:33.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-23T18:42:33.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-23T18:42:33.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-23T18:42:33.316Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-23T18:42:33.327Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T18:42:33.341Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T18:42:33.355Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-23T18:42:33.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-23T18:42:33.383Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-23T18:42:33.401Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-23T18:42:33.425Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-23T18:42:33.442Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-23T18:42:33.459Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-23T18:42:33.477Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-23T18:42:33.494Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-23T18:42:33.510Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-23T18:42:33.529Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1402 [Pipeline] echo [2023-03-23T18:42:33.544Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1402 [Pipeline] echo [2023-03-23T18:42:33.560Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1402 [Pipeline] echo [2023-03-23T18:42:33.572Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63578b3d080f1812db9e3798261a2bb87200f74c [Pipeline] echo [2023-03-23T18:42:33.584Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63578b3 [Pipeline] echo [2023-03-23T18:42:33.600Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T18:42:33.645Z] provisioning config files... [2023-03-23T18:42:33.659Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp/config4296014845085922132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:42:33.963Z] ---> docker-login.sh [2023-03-23T18:42:33.963Z] nexus3.edgexfoundry.org:10001 [2023-03-23T18:42:34.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:42:34.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:42:34.485Z] Configure a credential helper to remove this warning. See [2023-03-23T18:42:34.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:42:34.486Z] [2023-03-23T18:42:34.486Z] Login Succeeded [2023-03-23T18:42:34.486Z] nexus3.edgexfoundry.org:10002 [2023-03-23T18:42:34.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:42:34.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:42:34.486Z] Configure a credential helper to remove this warning. See [2023-03-23T18:42:34.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:42:34.486Z] [2023-03-23T18:42:34.486Z] Login Succeeded [2023-03-23T18:42:34.486Z] nexus3.edgexfoundry.org:10003 [2023-03-23T18:42:34.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:42:34.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:42:34.746Z] Configure a credential helper to remove this warning. See [2023-03-23T18:42:34.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:42:34.746Z] [2023-03-23T18:42:34.746Z] Login Succeeded [2023-03-23T18:42:34.746Z] nexus3.edgexfoundry.org:10004 [2023-03-23T18:42:34.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:42:34.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:42:34.746Z] Configure a credential helper to remove this warning. See [2023-03-23T18:42:34.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:42:34.746Z] [2023-03-23T18:42:34.746Z] Login Succeeded [2023-03-23T18:42:34.746Z] docker.io [2023-03-23T18:42:35.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:42:35.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:42:35.006Z] Configure a credential helper to remove this warning. See [2023-03-23T18:42:35.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:42:35.006Z] [2023-03-23T18:42:35.006Z] Login Succeeded [2023-03-23T18:42:35.006Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T18:42:35.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-23T18:42:35.390Z] + git rev-list -1 --merges 63578b3d080f1812db9e3798261a2bb87200f74c~1..63578b3d080f1812db9e3798261a2bb87200f74c [Pipeline] echo [2023-03-23T18:42:35.438Z] -----------> git rev-list -1 --merges 63578b3d080f1812db9e3798261a2bb87200f74c~1..63578b3d080f1812db9e3798261a2bb87200f74c 63578b3d080f1812db9e3798261a2bb87200f74c [2023-03-23T18:42:35.438Z] 63578b3d080f1812db9e3798261a2bb87200f74c [false] [Pipeline] sh [2023-03-23T18:42:35.732Z] + git log --format=format:%s -1 63578b3d080f1812db9e3798261a2bb87200f74c [Pipeline] echo [2023-03-23T18:42:35.746Z] ========================================================= [2023-03-23T18:42:35.747Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-23T18:42:35.747Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T18:42:36.062Z] + git log --format=format:%s -1 63578b3d080f1812db9e3798261a2bb87200f74c [Pipeline] echo [2023-03-23T18:42:36.074Z] [semverPrep] GIT_COMMIT: 63578b3d080f1812db9e3798261a2bb87200f74c, Commit Message: Merge commit 'ba03d3229d39ccd3d083a66246eea2ffd8e01960' into HEAD [Pipeline] echo [2023-03-23T18:42:36.082Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-23T18:42:36.424Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-23T18:42:36.424Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-23T18:42:36.424Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-23T18:42:36.424Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-23T18:42:36.424Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-23T18:42:36.424Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-23T18:42:36.424Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:42:36.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T18:42:36.785Z] [2023-03-23T18:42:36.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:42:37.099Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T18:42:37.099Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-23T18:42:37.099Z] b85a868b505f: Pulling fs layer [2023-03-23T18:42:37.099Z] e2be974225ed: Pulling fs layer [2023-03-23T18:42:37.099Z] 339a4e72a1f5: Pulling fs layer [2023-03-23T18:42:37.099Z] 988bab9f4d93: Pulling fs layer [2023-03-23T18:42:37.099Z] 1469e6f7b9e6: Pulling fs layer [2023-03-23T18:42:37.099Z] eaf3925da568: Pulling fs layer [2023-03-23T18:42:37.099Z] bab4dde63d76: Pulling fs layer [2023-03-23T18:42:37.099Z] bde34c3a00c8: Pulling fs layer [2023-03-23T18:42:37.099Z] b352a97aabf1: Pulling fs layer [2023-03-23T18:42:37.099Z] 4872d77fe225: Pulling fs layer [2023-03-23T18:42:37.099Z] 5851b861e8e6: Pulling fs layer [2023-03-23T18:42:37.099Z] 988bab9f4d93: Waiting [2023-03-23T18:42:37.099Z] 1469e6f7b9e6: Waiting [2023-03-23T18:42:37.099Z] b352a97aabf1: Waiting [2023-03-23T18:42:37.099Z] eaf3925da568: Waiting [2023-03-23T18:42:37.099Z] 4872d77fe225: Waiting [2023-03-23T18:42:37.099Z] bab4dde63d76: Waiting [2023-03-23T18:42:37.099Z] 5851b861e8e6: Waiting [2023-03-23T18:42:37.099Z] bde34c3a00c8: Waiting [2023-03-23T18:42:37.099Z] e2be974225ed: Verifying Checksum [2023-03-23T18:42:37.099Z] e2be974225ed: Download complete [2023-03-23T18:42:37.099Z] 988bab9f4d93: Download complete [2023-03-23T18:42:37.360Z] 1469e6f7b9e6: Verifying Checksum [2023-03-23T18:42:37.360Z] 1469e6f7b9e6: Download complete [2023-03-23T18:42:37.360Z] eaf3925da568: Download complete [2023-03-23T18:42:37.360Z] 339a4e72a1f5: Verifying Checksum [2023-03-23T18:42:37.360Z] 339a4e72a1f5: Download complete [2023-03-23T18:42:37.360Z] bde34c3a00c8: Download complete [2023-03-23T18:42:37.360Z] b352a97aabf1: Verifying Checksum [2023-03-23T18:42:37.360Z] b352a97aabf1: Download complete [2023-03-23T18:42:37.360Z] 4872d77fe225: Download complete [2023-03-23T18:42:37.360Z] 5851b861e8e6: Verifying Checksum [2023-03-23T18:42:37.360Z] 5851b861e8e6: Download complete [2023-03-23T18:42:37.360Z] b85a868b505f: Verifying Checksum [2023-03-23T18:42:37.360Z] b85a868b505f: Download complete [2023-03-23T18:42:37.619Z] bab4dde63d76: Verifying Checksum [2023-03-23T18:42:37.619Z] bab4dde63d76: Download complete [2023-03-23T18:42:39.001Z] b85a868b505f: Pull complete [2023-03-23T18:42:39.001Z] e2be974225ed: Pull complete [2023-03-23T18:42:39.577Z] 339a4e72a1f5: Pull complete [2023-03-23T18:42:39.577Z] 988bab9f4d93: Pull complete [2023-03-23T18:42:39.836Z] 1469e6f7b9e6: Pull complete [2023-03-23T18:42:40.095Z] eaf3925da568: Pull complete [2023-03-23T18:42:42.018Z] bab4dde63d76: Pull complete [2023-03-23T18:42:42.018Z] bde34c3a00c8: Pull complete [2023-03-23T18:42:42.280Z] b352a97aabf1: Pull complete [2023-03-23T18:42:42.280Z] 4872d77fe225: Pull complete [2023-03-23T18:42:42.280Z] 5851b861e8e6: Pull complete [2023-03-23T18:42:42.280Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-23T18:42:42.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-23T18:42:42.280Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T18:42:42.388Z] prd-ubuntu20.04-docker-8c-8g-5597 does not seem to be running inside a container [2023-03-23T18:42:42.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1402 -v /w/workspace/gexfoundry_device-sdk-go_PR-1402:/w/workspace/gexfoundry_device-sdk-go_PR-1402:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-23T18:42:46.438Z] $ docker top a95b75e75b3d5e3d66c8f4d3568b5c3a0d67a11517e8138d5df65a94de34c9b8 -eo pid,comm [2023-03-23T18:42:46.520Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-23T18:42:46.520Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-23T18:42:46.565Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T18:42:46.565Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T18:42:46.678Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T18:42:46.686Z] $ docker exec a95b75e75b3d5e3d66c8f4d3568b5c3a0d67a11517e8138d5df65a94de34c9b8 ssh-agent [2023-03-23T18:42:46.785Z] SSH_AUTH_SOCK=/tmp/ssh-Vfp9RGu0wy3V/agent.32 [2023-03-23T18:42:46.785Z] SSH_AGENT_PID=38 [2023-03-23T18:42:46.791Z] Running ssh-add (command line suppressed) [2023-03-23T18:42:46.909Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp/private_key_759358422886137967.key (/w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp/private_key_759358422886137967.key) [2023-03-23T18:42:46.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T18:42:47.200Z] + git tag --points-at HEAD [Pipeline] } [2023-03-23T18:42:47.221Z] $ docker exec --env ******** --env ******** a95b75e75b3d5e3d66c8f4d3568b5c3a0d67a11517e8138d5df65a94de34c9b8 ssh-agent -k [2023-03-23T18:42:47.322Z] unset SSH_AUTH_SOCK; [2023-03-23T18:42:47.323Z] unset SSH_AGENT_PID; [2023-03-23T18:42:47.323Z] echo Agent pid 38 killed; [2023-03-23T18:42:47.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-23T18:42:47.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-23T18:42:47.352Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-23T18:42:47.478Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-23T18:42:47.485Z] $ docker exec a95b75e75b3d5e3d66c8f4d3568b5c3a0d67a11517e8138d5df65a94de34c9b8 ssh-agent [2023-03-23T18:42:47.596Z] SSH_AUTH_SOCK=/tmp/ssh-h93M2FWxPuqT/agent.70 [2023-03-23T18:42:47.596Z] SSH_AGENT_PID=76 [2023-03-23T18:42:47.601Z] Running ssh-add (command line suppressed) [2023-03-23T18:42:47.711Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp/private_key_7485754835717053489.key (/w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp/private_key_7485754835717053489.key) [2023-03-23T18:42:47.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-23T18:42:48.007Z] + git semver init [2023-03-23T18:42:48.266Z] 2023-03-23 18:42:48,205 [run_init] DEBUG init version:0.0.0 force:False [2023-03-23T18:42:48.266Z] 2023-03-23 18:42:48,206 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1402/.semver [2023-03-23T18:42:48.266Z] 2023-03-23 18:42:48,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1402/.semver [2023-03-23T18:42:48.266Z] 2023-03-23 18:42:48,207 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1402/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1402, universal_newlines=False, shell=None, istream=None) [2023-03-23T18:42:49.201Z] 2023-03-23 18:42:49,109 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1402/.git/info/exclude [2023-03-23T18:42:49.201Z] 2023-03-23 18:42:49,109 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1402/.semver/PR-1402 with force:False [2023-03-23T18:42:49.201Z] 2023-03-23 18:42:49,109 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1402/.semver/PR-1402 [2023-03-23T18:42:49.201Z] 2023-03-23 18:42:49,113 [execute] INFO git cat-file --batch-check [2023-03-23T18:42:49.201Z] 2023-03-23 18:42:49,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1402/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T18:42:49.201Z] 2023-03-23 18:42:49,120 [execute] INFO git cat-file --batch [2023-03-23T18:42:49.201Z] 2023-03-23 18:42:49,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1402/.semver, universal_newlines=False, shell=None, istream=) [2023-03-23T18:42:49.201Z] 2023-03-23 18:42:49,126 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1402/.semver/PR-1402 [2023-03-23T18:42:49.201Z] 0.0.0 [Pipeline] } [2023-03-23T18:42:49.214Z] $ docker exec --env ******** --env ******** a95b75e75b3d5e3d66c8f4d3568b5c3a0d67a11517e8138d5df65a94de34c9b8 ssh-agent -k [2023-03-23T18:42:49.313Z] unset SSH_AUTH_SOCK; [2023-03-23T18:42:49.314Z] unset SSH_AGENT_PID; [2023-03-23T18:42:49.314Z] echo Agent pid 76 killed; [2023-03-23T18:42:49.317Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-23T18:42:49.618Z] + git semver [Pipeline] } [2023-03-23T18:42:49.893Z] $ docker stop --time=1 a95b75e75b3d5e3d66c8f4d3568b5c3a0d67a11517e8138d5df65a94de34c9b8 [2023-03-23T18:42:51.251Z] $ docker rm -f --volumes a95b75e75b3d5e3d66c8f4d3568b5c3a0d67a11517e8138d5df65a94de34c9b8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-23T18:42:51.584Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-23T18:42:51.963Z] Stashed 1 file(s) [Pipeline] echo [2023-03-23T18:42:51.966Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T18:42:52.085Z] provisioning config files... [2023-03-23T18:42:52.094Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp/config1397995178042213298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:42:52.396Z] ---> docker-login.sh [2023-03-23T18:42:52.396Z] nexus3.edgexfoundry.org:10001 [2023-03-23T18:42:52.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:42:52.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:42:52.397Z] Configure a credential helper to remove this warning. See [2023-03-23T18:42:52.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:42:52.397Z] [2023-03-23T18:42:52.397Z] Login Succeeded [2023-03-23T18:42:52.397Z] nexus3.edgexfoundry.org:10002 [2023-03-23T18:42:52.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:42:52.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:42:52.397Z] Configure a credential helper to remove this warning. See [2023-03-23T18:42:52.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:42:52.397Z] [2023-03-23T18:42:52.397Z] Login Succeeded [2023-03-23T18:42:52.397Z] nexus3.edgexfoundry.org:10003 [2023-03-23T18:42:52.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:42:52.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:42:52.656Z] Configure a credential helper to remove this warning. See [2023-03-23T18:42:52.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:42:52.656Z] [2023-03-23T18:42:52.656Z] Login Succeeded [2023-03-23T18:42:52.656Z] nexus3.edgexfoundry.org:10004 [2023-03-23T18:42:52.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:42:52.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:42:52.656Z] Configure a credential helper to remove this warning. See [2023-03-23T18:42:52.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:42:52.656Z] [2023-03-23T18:42:52.656Z] Login Succeeded [2023-03-23T18:42:52.656Z] docker.io [2023-03-23T18:42:52.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:42:53.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:42:53.177Z] Configure a credential helper to remove this warning. See [2023-03-23T18:42:53.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:42:53.177Z] [2023-03-23T18:42:53.177Z] Login Succeeded [2023-03-23T18:42:53.177Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T18:42:53.187Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T18:42:53.245Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T18:42:53.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T18:42:53.278Z] ========================================================= [2023-03-23T18:42:53.278Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-23T18:42:53.278Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:42:53.585Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-23T18:42:53.585Z] Sending build context to Docker daemon 10.85MB [2023-03-23T18:42:53.585Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T18:42:53.585Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-23T18:42:53.845Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-23T18:42:53.845Z] 63b65145d645: Pulling fs layer [2023-03-23T18:42:53.845Z] a2d21d5440eb: Pulling fs layer [2023-03-23T18:42:53.845Z] 935e6c44a52c: Pulling fs layer [2023-03-23T18:42:53.845Z] 94cc34f8dd06: Pulling fs layer [2023-03-23T18:42:53.845Z] 30dea6a524f1: Pulling fs layer [2023-03-23T18:42:53.845Z] a2aff8979fd8: Pulling fs layer [2023-03-23T18:42:53.845Z] 6808be2612f2: Pulling fs layer [2023-03-23T18:42:53.845Z] 30dea6a524f1: Waiting [2023-03-23T18:42:53.845Z] a2aff8979fd8: Waiting [2023-03-23T18:42:53.845Z] f25807f1079a: Pulling fs layer [2023-03-23T18:42:53.845Z] 6808be2612f2: Waiting [2023-03-23T18:42:53.845Z] f25807f1079a: Waiting [2023-03-23T18:42:53.845Z] a2d21d5440eb: Download complete [2023-03-23T18:42:53.845Z] 94cc34f8dd06: Verifying Checksum [2023-03-23T18:42:53.845Z] 94cc34f8dd06: Download complete [2023-03-23T18:42:53.845Z] 30dea6a524f1: Verifying Checksum [2023-03-23T18:42:53.845Z] 30dea6a524f1: Download complete [2023-03-23T18:42:53.845Z] 63b65145d645: Verifying Checksum [2023-03-23T18:42:53.845Z] 63b65145d645: Download complete [2023-03-23T18:42:53.845Z] a2aff8979fd8: Verifying Checksum [2023-03-23T18:42:53.845Z] a2aff8979fd8: Download complete [2023-03-23T18:42:54.115Z] 63b65145d645: Pull complete [2023-03-23T18:42:54.115Z] a2d21d5440eb: Pull complete [2023-03-23T18:42:54.697Z] f25807f1079a: Verifying Checksum [2023-03-23T18:42:54.697Z] f25807f1079a: Download complete [2023-03-23T18:42:54.697Z] 935e6c44a52c: Verifying Checksum [2023-03-23T18:42:54.697Z] 935e6c44a52c: Download complete [2023-03-23T18:42:54.697Z] 6808be2612f2: Verifying Checksum [2023-03-23T18:42:54.697Z] 6808be2612f2: Download complete [2023-03-23T18:42:58.883Z] 935e6c44a52c: Pull complete [2023-03-23T18:42:58.883Z] 94cc34f8dd06: Pull complete [2023-03-23T18:42:58.883Z] 30dea6a524f1: Pull complete [2023-03-23T18:42:58.883Z] a2aff8979fd8: Pull complete [2023-03-23T18:43:02.167Z] 6808be2612f2: Pull complete [2023-03-23T18:43:02.427Z] f25807f1079a: Pull complete [2023-03-23T18:43:02.427Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-23T18:43:02.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-23T18:43:02.427Z] ---> 3b553350e43f [2023-03-23T18:43:02.427Z] Step 3/10 : ARG MAKE=make build [2023-03-23T18:43:07.055Z] Still waiting to schedule task [2023-03-23T18:43:07.055Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5596’ [2023-03-23T18:43:10.604Z] ---> Running in ebe195a99088 [2023-03-23T18:43:10.604Z] Removing intermediate container ebe195a99088 [2023-03-23T18:43:10.604Z] ---> 124150bd38cb [2023-03-23T18:43:10.604Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-23T18:43:10.604Z] ---> Running in 9bfb1c1a8ce5 [2023-03-23T18:43:10.604Z] Removing intermediate container 9bfb1c1a8ce5 [2023-03-23T18:43:10.604Z] ---> 5434d5b00897 [2023-03-23T18:43:10.604Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-23T18:43:10.604Z] ---> Running in 6e2aee0e1c1d [2023-03-23T18:43:10.604Z] Removing intermediate container 6e2aee0e1c1d [2023-03-23T18:43:10.604Z] ---> 007e020811cc [2023-03-23T18:43:10.604Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-23T18:43:10.604Z] ---> Running in 53a17b59b547 [2023-03-23T18:43:10.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-23T18:43:10.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-23T18:43:10.863Z] OK: 265 MiB in 53 packages [2023-03-23T18:43:11.434Z] Removing intermediate container 53a17b59b547 [2023-03-23T18:43:11.434Z] ---> 0e68b4fbb4b7 [2023-03-23T18:43:11.434Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-23T18:43:11.434Z] ---> 0dda81f74dfb [2023-03-23T18:43:11.434Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T18:43:11.434Z] ---> Running in fceb464e76de [2023-03-23T18:43:50.176Z] Removing intermediate container fceb464e76de [2023-03-23T18:43:50.176Z] ---> 702a84c44b56 [2023-03-23T18:43:50.176Z] Step 9/10 : COPY . . [2023-03-23T18:43:50.176Z] ---> 581e9134198e [2023-03-23T18:43:50.176Z] Step 10/10 : RUN ${MAKE} [2023-03-23T18:43:50.176Z] ---> Running in 778bd7ef9247 [2023-03-23T18:43:50.176Z] noop [2023-03-23T18:43:50.176Z] Removing intermediate container 778bd7ef9247 [2023-03-23T18:43:50.176Z] ---> 77bd6b3ce813 [2023-03-23T18:43:50.176Z] Successfully built 77bd6b3ce813 [2023-03-23T18:43:50.176Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:43:50.495Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T18:43:50.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T18:43:50.564Z] prd-ubuntu20.04-docker-8c-8g-5597 does not seem to be running inside a container [2023-03-23T18:43:50.597Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1402 -v /w/workspace/gexfoundry_device-sdk-go_PR-1402:/w/workspace/gexfoundry_device-sdk-go_PR-1402:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-23T18:43:51.665Z] $ docker top a6cc5d56fcce502eba546252faea1497f759b6c928171ebb82328f82353842d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T18:43:52.000Z] + go version [2023-03-23T18:43:52.000Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-23T18:43:52.012Z] $ docker stop --time=1 a6cc5d56fcce502eba546252faea1497f759b6c928171ebb82328f82353842d0 [2023-03-23T18:43:53.448Z] $ docker rm -f --volumes a6cc5d56fcce502eba546252faea1497f759b6c928171ebb82328f82353842d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:43:53.851Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-23T18:43:53.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T18:43:53.918Z] prd-ubuntu20.04-docker-8c-8g-5597 does not seem to be running inside a container [2023-03-23T18:43:53.951Z] $ 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-1402 -v /w/workspace/gexfoundry_device-sdk-go_PR-1402:/w/workspace/gexfoundry_device-sdk-go_PR-1402:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-23T18:43:54.283Z] $ docker top 44939eb6d2d6a83f1e0ea2bfee985a6d233d51d01776fa0e13f8c29b712ec291 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T18:43:54.613Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1402 [Pipeline] fileExists [Pipeline] sh [2023-03-23T18:43:54.913Z] + make test [2023-03-23T18:43:54.913Z] go test -race -coverprofile=coverage.out ./... [2023-03-23T18:44:01.474Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-23T18:44:13.672Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/application [2023-03-23T18:44:13.672Z] internal/application/callback.go:191:55: provisionWatcher.DiscoveredDevice undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-23T18:44:13.672Z] internal/application/callback.go:212:65: updateProvisionWatcherRequest.ProvisionWatcher.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) [2023-03-23T18:44:13.672Z] internal/application/callback.go:218:113: updateProvisionWatcherRequest.ProvisionWatcher.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) [2023-03-23T18:44:13.672Z] internal/application/callback.go:222:64: updateProvisionWatcherRequest.ProvisionWatcher.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) [2023-03-23T18:44:13.672Z] internal/application/callback.go:227:55: provisionWatcher.DiscoveredDevice undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-23T18:44:13.672Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-23T18:44:13.672Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-23T18:44:13.672Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-23T18:44:13.672Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-03-23T18:44:14.240Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-23T18:44:14.240Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-23T18:44:14.240Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-23T18:44:14.240Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-23T18:44:14.240Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 78.9% of statements [2023-03-23T18:44:14.240Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.072s coverage: 86.0% of statements [2023-03-23T18:44:14.240Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-03-23T18:44:14.240Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-03-23T18:44:15.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-23T18:44:15.176Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-23T18:44:15.176Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.067s coverage: 68.5% of statements [2023-03-23T18:44:15.176Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.110s coverage: 89.2% of statements [2023-03-23T18:44:15.176Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-23T18:44:15.176Z] FAIL [2023-03-23T18:44:15.435Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-23T18:44:15.451Z] $ docker stop --time=1 44939eb6d2d6a83f1e0ea2bfee985a6d233d51d01776fa0e13f8c29b712ec291 [2023-03-23T18:44:18.965Z] $ docker rm -f --volumes 44939eb6d2d6a83f1e0ea2bfee985a6d233d51d01776fa0e13f8c29b712ec291 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:44:19.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T18:44:19.525Z] [2023-03-23T18:44:19.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:44:19.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T18:44:20.106Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-23T18:44:20.106Z] 5eb5b503b376: Pulling fs layer [2023-03-23T18:44:20.106Z] 5c69ac0246d0: Pulling fs layer [2023-03-23T18:44:20.106Z] ec43610c2a17: Pulling fs layer [2023-03-23T18:44:20.106Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-23T18:44:20.106Z] 33b1e0a273af: Pulling fs layer [2023-03-23T18:44:20.106Z] 5d3b04190fa2: Pulling fs layer [2023-03-23T18:44:20.106Z] 2f39f015ded8: Pulling fs layer [2023-03-23T18:44:20.106Z] 3a2ae6a8a46f: Waiting [2023-03-23T18:44:20.106Z] 33b1e0a273af: Waiting [2023-03-23T18:44:20.106Z] 5d3b04190fa2: Waiting [2023-03-23T18:44:20.106Z] 5c69ac0246d0: Verifying Checksum [2023-03-23T18:44:20.106Z] 5c69ac0246d0: Download complete [2023-03-23T18:44:20.106Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-23T18:44:20.106Z] 3a2ae6a8a46f: Download complete [2023-03-23T18:44:20.106Z] 33b1e0a273af: Verifying Checksum [2023-03-23T18:44:20.106Z] 33b1e0a273af: Download complete [2023-03-23T18:44:20.106Z] 5d3b04190fa2: Download complete [2023-03-23T18:44:20.106Z] ec43610c2a17: Verifying Checksum [2023-03-23T18:44:20.106Z] ec43610c2a17: Download complete [2023-03-23T18:44:20.365Z] 5eb5b503b376: Verifying Checksum [2023-03-23T18:44:20.365Z] 5eb5b503b376: Download complete [2023-03-23T18:44:20.933Z] 2f39f015ded8: Download complete [2023-03-23T18:44:21.502Z] 5eb5b503b376: Pull complete [2023-03-23T18:44:21.502Z] 5c69ac0246d0: Pull complete [2023-03-23T18:44:22.068Z] ec43610c2a17: Pull complete [2023-03-23T18:44:22.068Z] 3a2ae6a8a46f: Pull complete [2023-03-23T18:44:22.326Z] 33b1e0a273af: Pull complete [2023-03-23T18:44:22.326Z] 5d3b04190fa2: Pull complete [2023-03-23T18:44:26.510Z] 2f39f015ded8: Pull complete [2023-03-23T18:44:26.510Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-23T18:44:26.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T18:44:26.510Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T18:44:26.589Z] prd-ubuntu20.04-docker-8c-8g-5597 does not seem to be running inside a container [2023-03-23T18:44:26.628Z] $ 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-1402 -v /w/workspace/gexfoundry_device-sdk-go_PR-1402:/w/workspace/gexfoundry_device-sdk-go_PR-1402:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T18:44:35.021Z] $ docker top d4e1cbdb9b4215d30c7caccc779dcd2194e0f2bf7ac1c12f2191442d8e0ac6c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:44:35.398Z] ---> job-cost.sh [2023-03-23T18:44:35.398Z] lf-activate-venv: SKIPPING [2023-03-23T18:44:35.398Z] INFO: No Stack... [2023-03-23T18:44:35.658Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T18:44:35.917Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T18:44:36.207Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1402/archives/cost.csv [2023-03-23T18:44:36.207Z] + cut -d, -f6 [Pipeline] lock [2023-03-23T18:44:36.219Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1402-2-stack-cost] [2023-03-23T18:44:36.225Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1402-2-stack-cost] did not exist. Created. [2023-03-23T18:44:36.225Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1402-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T18:44:36.531Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-23T18:44:36.584Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T18:44:36.590Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1402-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T18:44:36.611Z] $ docker stop --time=1 d4e1cbdb9b4215d30c7caccc779dcd2194e0f2bf7ac1c12f2191442d8e0ac6c8 [2023-03-23T18:44:37.785Z] $ docker rm -f --volumes d4e1cbdb9b4215d30c7caccc779dcd2194e0f2bf7ac1c12f2191442d8e0ac6c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-23T18:44:37.909Z] Failed in branch amd64 [2023-03-23T18:45:43.581Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5599 in /w/workspace/gexfoundry_device-sdk-go_PR-1402 [Pipeline] { [Pipeline] ws [2023-03-23T18:45:43.594Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-23T18:45:43.630Z] The recommended git tool is: git [2023-03-23T18:45:49.296Z] using credential edgex-jenkins-ssh [2023-03-23T18:45:49.311Z] Cloning the remote Git repository [2023-03-23T18:45:49.360Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-23T18:45:49.479Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-23T18:45:49.658Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-23T18:45:49.659Z] > git --version # timeout=10 [2023-03-23T18:45:49.686Z] > git --version # 'git version 2.25.1' [2023-03-23T18:45:49.689Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T18:45:49.878Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T18:45:51.627Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-23T18:45:51.658Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-23T18:45:53.347Z] Merging remotes/origin/main commit ba03d3229d39ccd3d083a66246eea2ffd8e01960 into PR head commit 74220dca883406582eff475b7d4c0a6c1de787c8 [2023-03-23T18:45:53.741Z] Merge succeeded, producing 353e264a924b1be6ab578d6bfc8cb9fe8cfda178 [2023-03-23T18:45:53.741Z] Checking out Revision 353e264a924b1be6ab578d6bfc8cb9fe8cfda178 (PR-1402) [2023-03-23T18:45:52.606Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-23T18:45:52.652Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-23T18:45:52.654Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T18:45:52.670Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1402/head:refs/remotes/origin/PR-1402 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-23T18:45:53.363Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T18:45:53.448Z] > git checkout -f 74220dca883406582eff475b7d4c0a6c1de787c8 # timeout=10 [2023-03-23T18:45:53.558Z] > git remote # timeout=10 [2023-03-23T18:45:53.579Z] > git config --get remote.origin.url # timeout=10 [2023-03-23T18:45:53.597Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-23T18:45:53.610Z] > git merge ba03d3229d39ccd3d083a66246eea2ffd8e01960 # timeout=10 [2023-03-23T18:45:53.708Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-23T18:45:53.745Z] > git config core.sparsecheckout # timeout=10 [2023-03-23T18:45:53.765Z] > git checkout -f 353e264a924b1be6ab578d6bfc8cb9fe8cfda178 # timeout=10 [2023-03-23T18:45:57.285Z] Commit message: "Merge commit 'ba03d3229d39ccd3d083a66246eea2ffd8e01960' into HEAD" [2023-03-23T18:45:57.308Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-23T18:45:58.110Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-23T18:45:58.110Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-23T18:45:58.110Z] Dload Upload Total Spent Left Speed [2023-03-23T18:45:58.110Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [2023-03-23T18:45:57.290Z] > git rev-list --no-walk c4409faf4c2d2ab16e941d54287a7beaa134650a # timeout=10 [Pipeline] sh [2023-03-23T18:45:58.781Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-23T18:45:59.104Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-23T18:45:59.105Z] + sudo tee /etc/docker/daemon.new [2023-03-23T18:45:59.105Z] { [2023-03-23T18:45:59.105Z] "registry-mirrors": [ [2023-03-23T18:45:59.105Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-23T18:45:59.105Z] ], [2023-03-23T18:45:59.105Z] "bip": "10.250.0.254/24", [2023-03-23T18:45:59.105Z] "hosts": [ [2023-03-23T18:45:59.105Z] "tcp://0.0.0.0:5555", [2023-03-23T18:45:59.105Z] "unix:///var/run/docker.sock" [2023-03-23T18:45:59.105Z] ], [2023-03-23T18:45:59.105Z] "mtu": 1458, [2023-03-23T18:45:59.105Z] "selinux-enabled": true, [2023-03-23T18:45:59.105Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-23T18:45:59.105Z] } [Pipeline] sh [2023-03-23T18:45:59.434Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-23T18:45:59.767Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T18:46:18.022Z] provisioning config files... [2023-03-23T18:46:18.047Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7193763872602409669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:46:18.389Z] ---> docker-login.sh [2023-03-23T18:46:18.389Z] nexus3.edgexfoundry.org:10001 [2023-03-23T18:46:18.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:46:18.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:46:18.983Z] Configure a credential helper to remove this warning. See [2023-03-23T18:46:18.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:46:18.983Z] [2023-03-23T18:46:18.983Z] Login Succeeded [2023-03-23T18:46:18.983Z] nexus3.edgexfoundry.org:10002 [2023-03-23T18:46:19.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:46:19.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:46:19.252Z] Configure a credential helper to remove this warning. See [2023-03-23T18:46:19.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:46:19.252Z] [2023-03-23T18:46:19.252Z] Login Succeeded [2023-03-23T18:46:19.252Z] nexus3.edgexfoundry.org:10003 [2023-03-23T18:46:19.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:46:19.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:46:19.788Z] Configure a credential helper to remove this warning. See [2023-03-23T18:46:19.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:46:19.788Z] [2023-03-23T18:46:19.788Z] Login Succeeded [2023-03-23T18:46:19.788Z] nexus3.edgexfoundry.org:10004 [2023-03-23T18:46:19.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:46:20.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:46:20.057Z] Configure a credential helper to remove this warning. See [2023-03-23T18:46:20.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:46:20.057Z] [2023-03-23T18:46:20.057Z] Login Succeeded [2023-03-23T18:46:20.057Z] docker.io [2023-03-23T18:46:20.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-23T18:46:20.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-23T18:46:20.591Z] Configure a credential helper to remove this warning. See [2023-03-23T18:46:20.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-23T18:46:20.591Z] [2023-03-23T18:46:20.591Z] Login Succeeded [2023-03-23T18:46:20.591Z] ---> docker-login.sh ends [Pipeline] } [2023-03-23T18:46:20.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-23T18:46:20.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T18:46:20.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-23T18:46:20.883Z] ========================================================= [2023-03-23T18:46:20.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-23T18:46:20.883Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:46:21.215Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-23T18:46:21.483Z] Sending build context to Docker daemon 5.843MB [2023-03-23T18:46:21.751Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-23T18:46:21.751Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-23T18:46:22.021Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-23T18:46:22.021Z] af6eaf76a39c: Pulling fs layer [2023-03-23T18:46:22.021Z] 55522c791124: Pulling fs layer [2023-03-23T18:46:22.021Z] ce5c4a1c91eb: Pulling fs layer [2023-03-23T18:46:22.021Z] 169dfbe0d373: Pulling fs layer [2023-03-23T18:46:22.021Z] e1ff8fa3b103: Pulling fs layer [2023-03-23T18:46:22.021Z] 52ebb69f0ebf: Pulling fs layer [2023-03-23T18:46:22.021Z] 5abe8eddf0d5: Pulling fs layer [2023-03-23T18:46:22.022Z] 169dfbe0d373: Waiting [2023-03-23T18:46:22.022Z] 52ebb69f0ebf: Waiting [2023-03-23T18:46:22.022Z] e1ff8fa3b103: Waiting [2023-03-23T18:46:22.022Z] 5abe8eddf0d5: Waiting [2023-03-23T18:46:22.022Z] 55522c791124: Verifying Checksum [2023-03-23T18:46:22.022Z] 55522c791124: Download complete [2023-03-23T18:46:22.022Z] 169dfbe0d373: Verifying Checksum [2023-03-23T18:46:22.022Z] 169dfbe0d373: Download complete [2023-03-23T18:46:22.022Z] e1ff8fa3b103: Download complete [2023-03-23T18:46:22.022Z] af6eaf76a39c: Verifying Checksum [2023-03-23T18:46:22.022Z] af6eaf76a39c: Download complete [2023-03-23T18:46:23.016Z] 5abe8eddf0d5: Verifying Checksum [2023-03-23T18:46:23.016Z] 5abe8eddf0d5: Download complete [2023-03-23T18:46:23.016Z] af6eaf76a39c: Pull complete [2023-03-23T18:46:23.603Z] 55522c791124: Pull complete [2023-03-23T18:46:24.190Z] ce5c4a1c91eb: Verifying Checksum [2023-03-23T18:46:24.190Z] ce5c4a1c91eb: Download complete [2023-03-23T18:46:24.459Z] 52ebb69f0ebf: Verifying Checksum [2023-03-23T18:46:24.459Z] 52ebb69f0ebf: Download complete [2023-03-23T18:46:34.652Z] ce5c4a1c91eb: Pull complete [2023-03-23T18:46:34.653Z] 169dfbe0d373: Pull complete [2023-03-23T18:46:34.653Z] e1ff8fa3b103: Pull complete [2023-03-23T18:46:41.309Z] 52ebb69f0ebf: Pull complete [2023-03-23T18:46:41.901Z] 5abe8eddf0d5: Pull complete [2023-03-23T18:46:41.901Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-23T18:46:41.901Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-23T18:46:41.901Z] ---> 6cb57ee374ae [2023-03-23T18:46:41.901Z] Step 3/10 : ARG MAKE=make build [2023-03-23T18:46:43.865Z] ---> Running in 0cb030c3bb76 [2023-03-23T18:46:44.135Z] Removing intermediate container 0cb030c3bb76 [2023-03-23T18:46:44.135Z] ---> c543ae6d453a [2023-03-23T18:46:44.135Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-23T18:46:44.135Z] ---> Running in f122c8a850b6 [2023-03-23T18:46:44.403Z] Removing intermediate container f122c8a850b6 [2023-03-23T18:46:44.403Z] ---> df523cd878a7 [2023-03-23T18:46:44.403Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-23T18:46:44.403Z] ---> Running in bbe5abe6963f [2023-03-23T18:46:44.987Z] Removing intermediate container bbe5abe6963f [2023-03-23T18:46:44.987Z] ---> 787031580113 [2023-03-23T18:46:44.987Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-23T18:46:44.987Z] ---> Running in 9321b2ccf7e7 [2023-03-23T18:46:46.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-23T18:46:46.675Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-23T18:46:47.643Z] OK: 263 MiB in 53 packages [2023-03-23T18:46:48.605Z] Removing intermediate container 9321b2ccf7e7 [2023-03-23T18:46:48.605Z] ---> 32ff70531130 [2023-03-23T18:46:48.605Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-23T18:46:49.198Z] ---> 0f6f37606dcd [2023-03-23T18:46:49.198Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-23T18:46:49.198Z] ---> Running in 61563fad9c8d [2023-03-23T18:47:57.123Z] Removing intermediate container 61563fad9c8d [2023-03-23T18:47:57.123Z] ---> 3f712432646d [2023-03-23T18:47:57.123Z] Step 9/10 : COPY . . [2023-03-23T18:47:57.123Z] ---> a358a43a1bdd [2023-03-23T18:47:57.123Z] Step 10/10 : RUN ${MAKE} [2023-03-23T18:47:57.123Z] ---> Running in 4880db1a6271 [2023-03-23T18:47:57.123Z] noop [2023-03-23T18:47:57.123Z] Removing intermediate container 4880db1a6271 [2023-03-23T18:47:57.123Z] ---> 5c008da643e0 [2023-03-23T18:47:57.123Z] Successfully built 5c008da643e0 [2023-03-23T18:47:57.123Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:47:57.487Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T18:47:57.487Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T18:47:57.711Z] prd-ubuntu20.04-docker-arm64-4c-16g-5599 does not seem to be running inside a container [2023-03-23T18:47:57.785Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-23T18:47:59.045Z] $ docker top 47e6f6f478574faf128b0e6f3a5c8ee1db50667e4692c8011b2d81a1eecdccf5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T18:47:59.933Z] + go version [2023-03-23T18:47:59.933Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-23T18:47:59.954Z] $ docker stop --time=1 47e6f6f478574faf128b0e6f3a5c8ee1db50667e4692c8011b2d81a1eecdccf5 [2023-03-23T18:48:01.606Z] $ docker rm -f --volumes 47e6f6f478574faf128b0e6f3a5c8ee1db50667e4692c8011b2d81a1eecdccf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:48:02.139Z] + docker inspect -f . ci-base-image-arm64 [2023-03-23T18:48:02.139Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T18:48:02.325Z] prd-ubuntu20.04-docker-arm64-4c-16g-5599 does not seem to be running inside a container [2023-03-23T18:48:02.401Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-23T18:48:03.660Z] $ docker top 8d9da74f7bcc01cbe6e206b2c558b1d72c33997067794e2f00d0f3354f04bd16 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T18:48:04.512Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-23T18:48:04.849Z] + make test [2023-03-23T18:48:05.119Z] go test -race -coverprofile=coverage.out ./... [2023-03-23T18:48:51.991Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-23T18:51:13.802Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/application [2023-03-23T18:51:13.803Z] internal/application/callback.go:191:55: provisionWatcher.DiscoveredDevice undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-23T18:51:13.803Z] internal/application/callback.go:212:65: updateProvisionWatcherRequest.ProvisionWatcher.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) [2023-03-23T18:51:13.803Z] internal/application/callback.go:218:113: updateProvisionWatcherRequest.ProvisionWatcher.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) [2023-03-23T18:51:13.803Z] internal/application/callback.go:222:64: updateProvisionWatcherRequest.ProvisionWatcher.DiscoveredDevice undefined (type dtos.UpdateProvisionWatcher has no field or method DiscoveredDevice) [2023-03-23T18:51:13.803Z] internal/application/callback.go:227:55: provisionWatcher.DiscoveredDevice undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProvisionWatcher has no field or method DiscoveredDevice) [2023-03-23T18:51:15.777Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-23T18:51:15.777Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-23T18:51:15.777Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-23T18:51:25.901Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-03-23T18:51:30.174Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.305s coverage: 78.9% of statements [2023-03-23T18:51:40.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-23T18:51:40.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-23T18:51:40.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-23T18:51:40.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-23T18:51:40.295Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.389s coverage: 86.0% of statements [2023-03-23T18:51:40.295Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-03-23T18:51:40.295Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-03-23T18:51:45.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-23T18:51:45.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-23T18:51:46.246Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.466s coverage: 68.5% of statements [2023-03-23T18:51:46.246Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.528s coverage: 89.2% of statements [2023-03-23T18:51:46.246Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-23T18:51:46.246Z] FAIL [2023-03-23T18:51:47.213Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-23T18:51:47.227Z] $ docker stop --time=1 8d9da74f7bcc01cbe6e206b2c558b1d72c33997067794e2f00d0f3354f04bd16 [2023-03-23T18:51:49.184Z] $ docker rm -f --volumes 8d9da74f7bcc01cbe6e206b2c558b1d72c33997067794e2f00d0f3354f04bd16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:51:50.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T18:51:50.523Z] [2023-03-23T18:51:50.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:51:50.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T18:51:50.866Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-23T18:51:50.866Z] 8998bd30e6a1: Pulling fs layer [2023-03-23T18:51:50.866Z] 04944245beec: Pulling fs layer [2023-03-23T18:51:50.866Z] 699f458cf7ca: Pulling fs layer [2023-03-23T18:51:50.866Z] 765212b225bb: Pulling fs layer [2023-03-23T18:51:50.867Z] f23df028b6ca: Pulling fs layer [2023-03-23T18:51:50.867Z] d65c8cfc05b1: Pulling fs layer [2023-03-23T18:51:50.867Z] 2437ff75d9bd: Pulling fs layer [2023-03-23T18:51:50.867Z] 765212b225bb: Waiting [2023-03-23T18:51:50.867Z] f23df028b6ca: Waiting [2023-03-23T18:51:50.867Z] d65c8cfc05b1: Waiting [2023-03-23T18:51:50.867Z] 2437ff75d9bd: Waiting [2023-03-23T18:51:51.135Z] 04944245beec: Verifying Checksum [2023-03-23T18:51:51.135Z] 04944245beec: Download complete [2023-03-23T18:51:51.135Z] 765212b225bb: Verifying Checksum [2023-03-23T18:51:51.135Z] 765212b225bb: Download complete [2023-03-23T18:51:51.135Z] f23df028b6ca: Verifying Checksum [2023-03-23T18:51:51.135Z] f23df028b6ca: Download complete [2023-03-23T18:51:51.135Z] d65c8cfc05b1: Verifying Checksum [2023-03-23T18:51:51.135Z] d65c8cfc05b1: Download complete [2023-03-23T18:51:51.404Z] 699f458cf7ca: Verifying Checksum [2023-03-23T18:51:51.404Z] 699f458cf7ca: Download complete [2023-03-23T18:51:51.676Z] 8998bd30e6a1: Verifying Checksum [2023-03-23T18:51:51.676Z] 8998bd30e6a1: Download complete [2023-03-23T18:51:54.268Z] 2437ff75d9bd: Verifying Checksum [2023-03-23T18:51:54.268Z] 2437ff75d9bd: Download complete [2023-03-23T18:51:55.769Z] 8998bd30e6a1: Pull complete [2023-03-23T18:51:56.050Z] 04944245beec: Pull complete [2023-03-23T18:51:57.494Z] 699f458cf7ca: Pull complete [2023-03-23T18:51:57.494Z] 765212b225bb: Pull complete [2023-03-23T18:51:58.499Z] f23df028b6ca: Pull complete [2023-03-23T18:51:58.499Z] d65c8cfc05b1: Pull complete [2023-03-23T18:52:13.494Z] 2437ff75d9bd: Pull complete [2023-03-23T18:52:13.494Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-23T18:52:13.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-23T18:52:13.494Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T18:52:13.686Z] prd-ubuntu20.04-docker-arm64-4c-16g-5599 does not seem to be running inside a container [2023-03-23T18:52:13.749Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-23T18:52:16.708Z] $ docker top d665da97467505e2f812578806a45eeab2686b6396976036528e3ed30d655013 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:52:17.593Z] ---> job-cost.sh [2023-03-23T18:52:17.593Z] lf-activate-venv: SKIPPING [2023-03-23T18:52:17.593Z] INFO: No Stack... [2023-03-23T18:52:17.861Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-23T18:52:18.826Z] INFO: Archiving Costs [Pipeline] sh [2023-03-23T18:52:19.477Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-03-23T18:52:19.477Z] + cut -d, -f6 [Pipeline] lock [2023-03-23T18:52:19.545Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1402-2-stack-cost] [2023-03-23T18:52:19.552Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1402-2-stack-cost] did not exist. Created. [2023-03-23T18:52:19.552Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1402-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-23T18:52:20.220Z] /w/workspace/device-sdk-go/2@tmp/durable-4566f2c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-23T18:52:20.879Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-23T18:52:20.903Z] Warning: overwriting stash ‘stack-cost’ [2023-03-23T18:52:21.398Z] Stashed 1 file(s) [Pipeline] } [2023-03-23T18:52:21.406Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1402-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-23T18:52:21.420Z] $ docker stop --time=1 d665da97467505e2f812578806a45eeab2686b6396976036528e3ed30d655013 [2023-03-23T18:52:22.959Z] $ docker rm -f --volumes d665da97467505e2f812578806a45eeab2686b6396976036528e3ed30d655013 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-23T18:52:23.253Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-23T18:52:23.904Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1402/archives ] [2023-03-23T18:52:23.905Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1402/archives [2023-03-23T18:52:23.905Z] total 16 [2023-03-23T18:52:23.905Z] drwxr-xr-x 3 root root 4096 Mar 23 18:44 . [2023-03-23T18:52:23.905Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 23 18:44 .. [2023-03-23T18:52:23.905Z] drwxr-xr-x 2 root root 4096 Mar 23 18:44 cost [2023-03-23T18:52:23.905Z] -rw-r--r-- 1 root root 86 Mar 23 18:44 cost.csv [2023-03-23T18:52:23.905Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1402/archives [2023-03-23T18:52:23.905Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1402/archives [2023-03-23T18:52:23.905Z] total 16 [2023-03-23T18:52:23.905Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 23 18:44 . [2023-03-23T18:52:23.905Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 23 18:44 .. [2023-03-23T18:52:23.905Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 23 18:44 cost [2023-03-23T18:52:23.905Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 23 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:52:24.197Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:52:25.054Z] ---> package-listing.sh [2023-03-23T18:52:25.055Z] ++ facter osfamily [2023-03-23T18:52:25.055Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-23T18:52:25.312Z] + OS_FAMILY=debian [2023-03-23T18:52:25.312Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1402 [2023-03-23T18:52:25.312Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-23T18:52:25.312Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-23T18:52:25.312Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-23T18:52:25.312Z] + PACKAGES=/tmp/packages_start.txt [2023-03-23T18:52:25.312Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1402 ']' [2023-03-23T18:52:25.312Z] + PACKAGES=/tmp/packages_end.txt [2023-03-23T18:52:25.312Z] + case "${OS_FAMILY}" in [2023-03-23T18:52:25.312Z] + dpkg -l [2023-03-23T18:52:25.312Z] + grep '^ii' [2023-03-23T18:52:25.312Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-23T18:52:25.312Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-23T18:52:25.312Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-23T18:52:25.312Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1402 ']' [2023-03-23T18:52:25.312Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1402/archives/ [2023-03-23T18:52:25.312Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1402/archives/ [Pipeline] echo [2023-03-23T18:52:25.323Z] 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-1402/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-23T18:52:25.600Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-23T18:52:26.160Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-23T18:52:26.160Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-23T18:52:26.233Z] prd-ubuntu20.04-docker-8c-8g-5597 does not seem to be running inside a container [2023-03-23T18:52:26.265Z] $ 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-1402/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-1402 -v /w/workspace/gexfoundry_device-sdk-go_PR-1402:/w/workspace/gexfoundry_device-sdk-go_PR-1402:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-23T18:52:26.493Z] $ docker top 55737af2fbc59f66887737a161736c64e4383ca33717abb057ed823174510dee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-23T18:52:26.827Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-23T18:52:27.110Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-23T18:52:27.395Z] + ls /var/log/sa-host [2023-03-23T18:52:27.395Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-23T18:52:27.544Z] provisioning config files... [2023-03-23T18:52:27.553Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1402@tmp/config2848056649882643126tmp [Pipeline] { [Pipeline] echo [2023-03-23T18:52:27.566Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:52:27.846Z] ---> create-netrc.sh [Pipeline] } [2023-03-23T18:52:27.852Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:52:28.185Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-23T18:52:28.194Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:52:28.478Z] ---> sudo-logs.sh [2023-03-23T18:52:28.478Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-23T18:52:28.504Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:52:28.788Z] ---> job-cost.sh [2023-03-23T18:52:28.788Z] lf-activate-venv: SKIPPING [2023-03-23T18:52:28.788Z] DEBUG: total: 0.2199999988079071 [2023-03-23T18:52:28.788Z] INFO: Retrieving Stack Cost... [2023-03-23T18:52:29.047Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-23T18:52:29.616Z] INFO: Archiving Costs [Pipeline] echo [2023-03-23T18:52:29.624Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-23T18:52:29.905Z] ---> logs-deploy.sh [2023-03-23T18:52:29.905Z] lf-activate-venv: SKIPPING [2023-03-23T18:52:29.905Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1402/2 [2023-03-23T18:52:29.905Z] INFO: archiving workspace using pattern(s): [2023-03-23T18:52:30.842Z] Archives upload complete. [2023-03-23T18:52:30.842Z] INFO: archiving logs to Nexus