Pull request #1405 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f0c657f90484381f58f6c6e5cb79d8f9c7494849+ba03d3229d39ccd3d083a66246eea2ffd8e01960 (86732a22c5b5944a08669d510cf93f47f4c3fa97) 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-ssh9773909994997450729.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-ssh11650316363229351221.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1405/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1405/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10218411509154441716.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1405/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1812598177932294934.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14805815544712241527.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1405/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1405/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4462448070905212134.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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-5659’ Running on prd-ubuntu20.04-docker-8c-8g-5661 in /w/workspace/gexfoundry_device-sdk-go_PR-1405 [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-1405 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1405/head:refs/remotes/origin/PR-1405 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ba03d3229d39ccd3d083a66246eea2ffd8e01960 into PR head commit f0c657f90484381f58f6c6e5cb79d8f9c7494849 Merge succeeded, producing f0c657f90484381f58f6c6e5cb79d8f9c7494849 Checking out Revision f0c657f90484381f58f6c6e5cb79d8f9c7494849 (PR-1405) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-24T05:00:27.094Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f f0c657f90484381f58f6c6e5cb79d8f9c7494849 # 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 f0c657f90484381f58f6c6e5cb79d8f9c7494849 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-24T05:00:27.285Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-24T05:00:27.394Z] ========================================================= [2023-03-24T05:00:27.394Z] EdgeX Global Pipelines Version Info [2023-03-24T05:00:27.394Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:00:28.152Z] ------------------- [2023-03-24T05:00:28.152Z] stable info: [2023-03-24T05:00:28.152Z] ------------------- [2023-03-24T05:00:28.152Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-24T05:00:28.152Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-24T05:00:28.152Z] Message: update stable to v1.0.245 [2023-03-24T05:00:28.721Z] ------------------- [2023-03-24T05:00:28.721Z] experimental info: [2023-03-24T05:00:28.721Z] ------------------- [2023-03-24T05:00:28.721Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-24T05:00:28.721Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-24T05:00:28.721Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-24T05:00:29.025Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-24T05:00:29.069Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-24T05:00:29.113Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-24T05:00:29.160Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-24T05:00:29.197Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-24T05:00:29.236Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-24T05:00:29.278Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-24T05:00:29.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-24T05:00:29.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-24T05:00:29.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-24T05:00:29.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-24T05:00:29.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-24T05:00:29.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-24T05:00:29.578Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-24T05:00:29.618Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T05:00:29.662Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T05:00:29.705Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T05:00:29.747Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T05:00:29.788Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-24T05:00:29.830Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-24T05:00:29.874Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-24T05:00:29.917Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-24T05:00:29.963Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-24T05:00:30.012Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-24T05:00:30.061Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-24T05:00:30.106Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-24T05:00:30.145Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-24T05:00:30.185Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1405 [Pipeline] echo [2023-03-24T05:00:30.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1405 [Pipeline] echo [2023-03-24T05:00:30.269Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1405 [Pipeline] echo [2023-03-24T05:00:30.311Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f0c657f90484381f58f6c6e5cb79d8f9c7494849 [Pipeline] echo [2023-03-24T05:00:30.352Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f0c657f [Pipeline] echo [2023-03-24T05:00:30.396Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T05:00:30.508Z] provisioning config files... [2023-03-24T05:00:30.544Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp/config9960242518440650576tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:00:30.914Z] ---> docker-login.sh [2023-03-24T05:00:30.914Z] nexus3.edgexfoundry.org:10001 [2023-03-24T05:00:30.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:00:31.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:00:31.188Z] Configure a credential helper to remove this warning. See [2023-03-24T05:00:31.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:00:31.188Z] [2023-03-24T05:00:31.188Z] Login Succeeded [2023-03-24T05:00:31.188Z] nexus3.edgexfoundry.org:10002 [2023-03-24T05:00:31.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:00:31.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:00:31.449Z] Configure a credential helper to remove this warning. See [2023-03-24T05:00:31.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:00:31.449Z] [2023-03-24T05:00:31.449Z] Login Succeeded [2023-03-24T05:00:31.449Z] nexus3.edgexfoundry.org:10003 [2023-03-24T05:00:31.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:00:31.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:00:31.449Z] Configure a credential helper to remove this warning. See [2023-03-24T05:00:31.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:00:31.449Z] [2023-03-24T05:00:31.449Z] Login Succeeded [2023-03-24T05:00:31.449Z] nexus3.edgexfoundry.org:10004 [2023-03-24T05:00:31.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:00:31.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:00:31.709Z] Configure a credential helper to remove this warning. See [2023-03-24T05:00:31.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:00:31.709Z] [2023-03-24T05:00:31.709Z] Login Succeeded [2023-03-24T05:00:31.709Z] docker.io [2023-03-24T05:00:31.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:00:31.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:00:31.968Z] Configure a credential helper to remove this warning. See [2023-03-24T05:00:31.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:00:31.968Z] [2023-03-24T05:00:31.968Z] Login Succeeded [2023-03-24T05:00:31.968Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T05:00:31.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-24T05:00:32.616Z] + git rev-list -1 --merges f0c657f90484381f58f6c6e5cb79d8f9c7494849~1..f0c657f90484381f58f6c6e5cb79d8f9c7494849 [Pipeline] echo [2023-03-24T05:00:32.684Z] -----------> git rev-list -1 --merges f0c657f90484381f58f6c6e5cb79d8f9c7494849~1..f0c657f90484381f58f6c6e5cb79d8f9c7494849 f0c657f90484381f58f6c6e5cb79d8f9c7494849 [false] [Pipeline] sh [2023-03-24T05:00:32.995Z] + git log --format=format:%s -1 f0c657f90484381f58f6c6e5cb79d8f9c7494849 [Pipeline] echo [2023-03-24T05:00:33.037Z] ========================================================= [2023-03-24T05:00:33.037Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-24T05:00:33.037Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T05:00:33.511Z] + git log --format=format:%s -1 f0c657f90484381f58f6c6e5cb79d8f9c7494849 [Pipeline] echo [2023-03-24T05:00:33.546Z] [semverPrep] GIT_COMMIT: f0c657f90484381f58f6c6e5cb79d8f9c7494849, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-03-24T05:00:33.576Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-24T05:00:33.940Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-24T05:00:33.940Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-24T05:00:33.940Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-24T05:00:33.940Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-24T05:00:33.940Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-24T05:00:33.940Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-24T05:00:33.940Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T05:00:34.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T05:00:34.365Z] [2023-03-24T05:00:34.365Z] 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-24T05:00:34.753Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T05:00:34.753Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-24T05:00:34.753Z] b85a868b505f: Pulling fs layer [2023-03-24T05:00:34.753Z] e2be974225ed: Pulling fs layer [2023-03-24T05:00:34.753Z] 339a4e72a1f5: Pulling fs layer [2023-03-24T05:00:34.753Z] 988bab9f4d93: Pulling fs layer [2023-03-24T05:00:34.753Z] 1469e6f7b9e6: Pulling fs layer [2023-03-24T05:00:34.753Z] eaf3925da568: Pulling fs layer [2023-03-24T05:00:34.753Z] bab4dde63d76: Pulling fs layer [2023-03-24T05:00:34.753Z] bde34c3a00c8: Pulling fs layer [2023-03-24T05:00:34.753Z] b352a97aabf1: Pulling fs layer [2023-03-24T05:00:34.753Z] 4872d77fe225: Pulling fs layer [2023-03-24T05:00:34.753Z] 5851b861e8e6: Pulling fs layer [2023-03-24T05:00:34.753Z] b352a97aabf1: Waiting [2023-03-24T05:00:34.753Z] bde34c3a00c8: Waiting [2023-03-24T05:00:34.753Z] eaf3925da568: Waiting [2023-03-24T05:00:34.753Z] bab4dde63d76: Waiting [2023-03-24T05:00:34.753Z] 988bab9f4d93: Waiting [2023-03-24T05:00:34.753Z] 1469e6f7b9e6: Waiting [2023-03-24T05:00:34.753Z] 4872d77fe225: Waiting [2023-03-24T05:00:34.753Z] e2be974225ed: Verifying Checksum [2023-03-24T05:00:34.753Z] e2be974225ed: Download complete [2023-03-24T05:00:34.753Z] 988bab9f4d93: Verifying Checksum [2023-03-24T05:00:34.753Z] 988bab9f4d93: Download complete [2023-03-24T05:00:35.014Z] 1469e6f7b9e6: Verifying Checksum [2023-03-24T05:00:35.014Z] 1469e6f7b9e6: Download complete [2023-03-24T05:00:35.014Z] 339a4e72a1f5: Verifying Checksum [2023-03-24T05:00:35.014Z] 339a4e72a1f5: Download complete [2023-03-24T05:00:35.014Z] eaf3925da568: Verifying Checksum [2023-03-24T05:00:35.014Z] eaf3925da568: Download complete [2023-03-24T05:00:35.014Z] bde34c3a00c8: Download complete [2023-03-24T05:00:35.014Z] b352a97aabf1: Download complete [2023-03-24T05:00:35.014Z] 4872d77fe225: Verifying Checksum [2023-03-24T05:00:35.014Z] 4872d77fe225: Download complete [2023-03-24T05:00:35.014Z] b85a868b505f: Verifying Checksum [2023-03-24T05:00:35.014Z] b85a868b505f: Download complete [2023-03-24T05:00:35.014Z] 5851b861e8e6: Download complete [2023-03-24T05:00:35.273Z] bab4dde63d76: Verifying Checksum [2023-03-24T05:00:35.273Z] bab4dde63d76: Download complete [2023-03-24T05:00:36.648Z] b85a868b505f: Pull complete [2023-03-24T05:00:36.648Z] e2be974225ed: Pull complete [2023-03-24T05:00:36.907Z] 339a4e72a1f5: Pull complete [2023-03-24T05:00:37.165Z] 988bab9f4d93: Pull complete [2023-03-24T05:00:37.424Z] 1469e6f7b9e6: Pull complete [2023-03-24T05:00:37.424Z] eaf3925da568: Pull complete [2023-03-24T05:00:39.335Z] bab4dde63d76: Pull complete [2023-03-24T05:00:39.335Z] bde34c3a00c8: Pull complete [2023-03-24T05:00:39.595Z] b352a97aabf1: Pull complete [2023-03-24T05:00:39.595Z] 4872d77fe225: Pull complete [2023-03-24T05:00:39.595Z] 5851b861e8e6: Pull complete [2023-03-24T05:00:39.595Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-24T05:00:39.595Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T05:00:39.595Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T05:00:39.812Z] prd-ubuntu20.04-docker-8c-8g-5661 does not seem to be running inside a container [2023-03-24T05:00:39.845Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1405 -v /w/workspace/gexfoundry_device-sdk-go_PR-1405:/w/workspace/gexfoundry_device-sdk-go_PR-1405:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-24T05:00:41.793Z] $ docker top 2eec791275dadc4f2b88b586dea4d8512267a49ee51b231de33354e24fed262b -eo pid,comm [2023-03-24T05:00:41.848Z] 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-24T05:00:41.848Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-24T05:00:41.976Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T05:00:41.976Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T05:00:42.107Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T05:00:42.114Z] $ docker exec 2eec791275dadc4f2b88b586dea4d8512267a49ee51b231de33354e24fed262b ssh-agent [2023-03-24T05:00:42.233Z] SSH_AUTH_SOCK=/tmp/ssh-YZ0Sngr1Vedf/agent.31 [2023-03-24T05:00:42.233Z] SSH_AGENT_PID=37 [2023-03-24T05:00:42.242Z] Running ssh-add (command line suppressed) [2023-03-24T05:00:42.359Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp/private_key_16688028385668734609.key (/w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp/private_key_16688028385668734609.key) [2023-03-24T05:00:42.371Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T05:00:42.698Z] + git tag --points-at HEAD [Pipeline] } [2023-03-24T05:00:42.728Z] $ docker exec --env ******** --env ******** 2eec791275dadc4f2b88b586dea4d8512267a49ee51b231de33354e24fed262b ssh-agent -k [2023-03-24T05:00:42.837Z] unset SSH_AUTH_SOCK; [2023-03-24T05:00:42.838Z] unset SSH_AGENT_PID; [2023-03-24T05:00:42.838Z] echo Agent pid 37 killed; [2023-03-24T05:00:42.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-24T05:00:42.938Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T05:00:42.938Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T05:00:43.057Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T05:00:43.064Z] $ docker exec 2eec791275dadc4f2b88b586dea4d8512267a49ee51b231de33354e24fed262b ssh-agent [2023-03-24T05:00:43.178Z] SSH_AUTH_SOCK=/tmp/ssh-x9kfmDoIn1Kq/agent.69 [2023-03-24T05:00:43.178Z] SSH_AGENT_PID=75 [2023-03-24T05:00:43.183Z] Running ssh-add (command line suppressed) [2023-03-24T05:00:43.290Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp/private_key_4515697532212529004.key (/w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp/private_key_4515697532212529004.key) [2023-03-24T05:00:43.300Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T05:00:43.624Z] + git semver init [2023-03-24T05:00:43.883Z] 2023-03-24 05:00:43,828 [run_init] DEBUG init version:0.0.0 force:False [2023-03-24T05:00:43.883Z] 2023-03-24 05:00:43,829 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1405/.semver [2023-03-24T05:00:43.883Z] 2023-03-24 05:00:43,830 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1405/.semver [2023-03-24T05:00:43.883Z] 2023-03-24 05:00:43,830 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1405/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1405, universal_newlines=False, shell=None, istream=None) [2023-03-24T05:00:44.824Z] 2023-03-24 05:00:44,718 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1405/.git/info/exclude [2023-03-24T05:00:44.824Z] 2023-03-24 05:00:44,720 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1405/.semver/PR-1405 with force:False [2023-03-24T05:00:44.824Z] 2023-03-24 05:00:44,720 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1405/.semver/PR-1405 [2023-03-24T05:00:44.824Z] 2023-03-24 05:00:44,724 [execute] INFO git cat-file --batch-check [2023-03-24T05:00:44.824Z] 2023-03-24 05:00:44,725 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1405/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T05:00:44.824Z] 2023-03-24 05:00:44,730 [execute] INFO git cat-file --batch [2023-03-24T05:00:44.824Z] 2023-03-24 05:00:44,730 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1405/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T05:00:44.824Z] 2023-03-24 05:00:44,735 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1405/.semver/PR-1405 [2023-03-24T05:00:44.824Z] 0.0.0 [Pipeline] } [2023-03-24T05:00:44.857Z] $ docker exec --env ******** --env ******** 2eec791275dadc4f2b88b586dea4d8512267a49ee51b231de33354e24fed262b ssh-agent -k [2023-03-24T05:00:44.954Z] unset SSH_AUTH_SOCK; [2023-03-24T05:00:44.954Z] unset SSH_AGENT_PID; [2023-03-24T05:00:44.955Z] echo Agent pid 75 killed; [2023-03-24T05:00:44.959Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-24T05:00:45.400Z] + git semver [Pipeline] } [2023-03-24T05:00:45.693Z] $ docker stop --time=1 2eec791275dadc4f2b88b586dea4d8512267a49ee51b231de33354e24fed262b [2023-03-24T05:00:46.998Z] $ docker rm -f --volumes 2eec791275dadc4f2b88b586dea4d8512267a49ee51b231de33354e24fed262b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T05:00:47.409Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-24T05:00:47.672Z] Stashed 1 file(s) [Pipeline] echo [2023-03-24T05:00:47.689Z] [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-24T05:00:48.248Z] provisioning config files... [2023-03-24T05:00:48.259Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp/config16865838180749597459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:00:48.595Z] ---> docker-login.sh [2023-03-24T05:00:48.596Z] nexus3.edgexfoundry.org:10001 [2023-03-24T05:00:48.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:00:48.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:00:48.596Z] Configure a credential helper to remove this warning. See [2023-03-24T05:00:48.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:00:48.596Z] [2023-03-24T05:00:48.596Z] Login Succeeded [2023-03-24T05:00:48.596Z] nexus3.edgexfoundry.org:10002 [2023-03-24T05:00:48.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:00:48.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:00:48.596Z] Configure a credential helper to remove this warning. See [2023-03-24T05:00:48.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:00:48.596Z] [2023-03-24T05:00:48.596Z] Login Succeeded [2023-03-24T05:00:48.596Z] nexus3.edgexfoundry.org:10003 [2023-03-24T05:00:48.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:00:48.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:00:48.855Z] Configure a credential helper to remove this warning. See [2023-03-24T05:00:48.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:00:48.855Z] [2023-03-24T05:00:48.855Z] Login Succeeded [2023-03-24T05:00:48.855Z] nexus3.edgexfoundry.org:10004 [2023-03-24T05:00:48.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:00:48.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:00:48.855Z] Configure a credential helper to remove this warning. See [2023-03-24T05:00:48.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:00:48.855Z] [2023-03-24T05:00:48.855Z] Login Succeeded [2023-03-24T05:00:48.855Z] docker.io [2023-03-24T05:00:49.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:00:49.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:00:49.375Z] Configure a credential helper to remove this warning. See [2023-03-24T05:00:49.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:00:49.375Z] [2023-03-24T05:00:49.375Z] Login Succeeded [2023-03-24T05:00:49.375Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T05:00:49.404Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T05:00:49.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T05:00:49.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T05:00:49.661Z] ========================================================= [2023-03-24T05:00:49.661Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-24T05:00:49.661Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T05:00:50.112Z] + 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-24T05:00:50.112Z] Sending build context to Docker daemon 10.82MB [2023-03-24T05:00:50.112Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T05:00:50.112Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-24T05:00:50.372Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-24T05:00:50.372Z] 63b65145d645: Pulling fs layer [2023-03-24T05:00:50.372Z] a2d21d5440eb: Pulling fs layer [2023-03-24T05:00:50.372Z] 935e6c44a52c: Pulling fs layer [2023-03-24T05:00:50.372Z] 94cc34f8dd06: Pulling fs layer [2023-03-24T05:00:50.372Z] 30dea6a524f1: Pulling fs layer [2023-03-24T05:00:50.372Z] a2aff8979fd8: Pulling fs layer [2023-03-24T05:00:50.372Z] 6808be2612f2: Pulling fs layer [2023-03-24T05:00:50.372Z] f25807f1079a: Pulling fs layer [2023-03-24T05:00:50.372Z] 30dea6a524f1: Waiting [2023-03-24T05:00:50.372Z] a2aff8979fd8: Waiting [2023-03-24T05:00:50.372Z] 94cc34f8dd06: Waiting [2023-03-24T05:00:50.372Z] f25807f1079a: Waiting [2023-03-24T05:00:50.372Z] 6808be2612f2: Waiting [2023-03-24T05:00:50.372Z] a2d21d5440eb: Download complete [2023-03-24T05:00:50.372Z] 94cc34f8dd06: Verifying Checksum [2023-03-24T05:00:50.372Z] 94cc34f8dd06: Download complete [2023-03-24T05:00:50.372Z] 30dea6a524f1: Download complete [2023-03-24T05:00:50.372Z] 63b65145d645: Verifying Checksum [2023-03-24T05:00:50.372Z] 63b65145d645: Download complete [2023-03-24T05:00:50.372Z] a2aff8979fd8: Verifying Checksum [2023-03-24T05:00:50.372Z] a2aff8979fd8: Download complete [2023-03-24T05:00:50.636Z] 63b65145d645: Pull complete [2023-03-24T05:00:50.636Z] a2d21d5440eb: Pull complete [2023-03-24T05:00:50.904Z] f25807f1079a: Verifying Checksum [2023-03-24T05:00:50.904Z] f25807f1079a: Download complete [2023-03-24T05:00:51.164Z] 935e6c44a52c: Verifying Checksum [2023-03-24T05:00:51.164Z] 935e6c44a52c: Download complete [2023-03-24T05:00:51.422Z] 6808be2612f2: Verifying Checksum [2023-03-24T05:00:51.422Z] 6808be2612f2: Download complete [2023-03-24T05:00:54.704Z] 935e6c44a52c: Pull complete [2023-03-24T05:00:54.704Z] 94cc34f8dd06: Pull complete [2023-03-24T05:00:54.704Z] 30dea6a524f1: Pull complete [2023-03-24T05:00:54.964Z] a2aff8979fd8: Pull complete [2023-03-24T05:00:57.490Z] 6808be2612f2: Pull complete [2023-03-24T05:00:58.054Z] f25807f1079a: Pull complete [2023-03-24T05:00:58.054Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-24T05:00:58.054Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-24T05:00:58.054Z] ---> 3b553350e43f [2023-03-24T05:00:58.054Z] Step 3/10 : ARG MAKE=make build [2023-03-24T05:01:00.597Z] ---> Running in 06549f687872 [2023-03-24T05:01:00.597Z] Removing intermediate container 06549f687872 [2023-03-24T05:01:00.597Z] ---> 55859089f8df [2023-03-24T05:01:00.597Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-24T05:01:00.597Z] ---> Running in a7e78e14616e [2023-03-24T05:01:00.597Z] Removing intermediate container a7e78e14616e [2023-03-24T05:01:00.597Z] ---> 2affa7228826 [2023-03-24T05:01:00.597Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-24T05:01:00.597Z] ---> Running in 52d99bab847f [2023-03-24T05:01:00.857Z] Removing intermediate container 52d99bab847f [2023-03-24T05:01:00.857Z] ---> bf58654db53f [2023-03-24T05:01:00.857Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-24T05:01:00.857Z] ---> Running in d08e8d9eca35 [2023-03-24T05:01:01.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T05:01:01.374Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T05:01:01.374Z] OK: 265 MiB in 53 packages [2023-03-24T05:01:01.942Z] Removing intermediate container d08e8d9eca35 [2023-03-24T05:01:01.943Z] ---> a1f873e9c735 [2023-03-24T05:01:01.943Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-24T05:01:01.943Z] ---> a4dbffcf7016 [2023-03-24T05:01:01.943Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T05:01:01.943Z] ---> Running in 5d3e53727c07 [2023-03-24T05:01:03.087Z] Still waiting to schedule task [2023-03-24T05:01:03.088Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5660’ [2023-03-24T05:01:40.673Z] Removing intermediate container 5d3e53727c07 [2023-03-24T05:01:40.673Z] ---> 2eecd9cd40f0 [2023-03-24T05:01:40.673Z] Step 9/10 : COPY . . [2023-03-24T05:01:40.673Z] ---> bf8dc0db4c24 [2023-03-24T05:01:40.673Z] Step 10/10 : RUN ${MAKE} [2023-03-24T05:01:40.673Z] ---> Running in bd95e8080dd0 [2023-03-24T05:01:40.673Z] noop [2023-03-24T05:01:40.673Z] Removing intermediate container bd95e8080dd0 [2023-03-24T05:01:40.673Z] ---> 4cf60c3c2bc8 [2023-03-24T05:01:40.673Z] Successfully built 4cf60c3c2bc8 [2023-03-24T05:01:40.673Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T05:01:41.123Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T05:01:41.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T05:01:41.279Z] prd-ubuntu20.04-docker-8c-8g-5661 does not seem to be running inside a container [2023-03-24T05:01:41.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1405 -v /w/workspace/gexfoundry_device-sdk-go_PR-1405:/w/workspace/gexfoundry_device-sdk-go_PR-1405:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-24T05:01:41.649Z] $ docker top 017b5f3cd8254a008e51962b45fa309b4ee4e99e1c5957e9350786860bca0f9c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T05:01:42.040Z] + go version [2023-03-24T05:01:42.041Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-24T05:01:42.080Z] $ docker stop --time=1 017b5f3cd8254a008e51962b45fa309b4ee4e99e1c5957e9350786860bca0f9c [2023-03-24T05:01:43.383Z] $ docker rm -f --volumes 017b5f3cd8254a008e51962b45fa309b4ee4e99e1c5957e9350786860bca0f9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T05:01:44.050Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T05:01:44.050Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T05:01:44.285Z] prd-ubuntu20.04-docker-8c-8g-5661 does not seem to be running inside a container [2023-03-24T05:01:44.318Z] $ 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-1405 -v /w/workspace/gexfoundry_device-sdk-go_PR-1405:/w/workspace/gexfoundry_device-sdk-go_PR-1405:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-24T05:01:44.677Z] $ docker top 85d021c8221a47f7fc40c863f40bf89e6121860ebf6dae055430cc6669c2a6aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T05:01:45.060Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1405 [Pipeline] fileExists [Pipeline] sh [2023-03-24T05:01:45.416Z] + make test [2023-03-24T05:01:45.416Z] go test -race -coverprofile=coverage.out ./... [2023-03-24T05:01:51.986Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-24T05:02:01.962Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/application [2023-03-24T05:02:01.962Z] internal/application/callback.go:191:55: provisionWatcher.ProfileName undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProvisionWatcher has no field or method ProfileName) [2023-03-24T05:02:01.962Z] internal/application/callback.go:212:65: updateProvisionWatcherRequest.ProvisionWatcher.ServiceName undefined (type dtos.UpdateProvisionWatcher has no field or method ServiceName) [2023-03-24T05:02:01.962Z] internal/application/callback.go:218:113: updateProvisionWatcherRequest.ProvisionWatcher.ServiceName undefined (type dtos.UpdateProvisionWatcher has no field or method ServiceName) [2023-03-24T05:02:01.962Z] internal/application/callback.go:222:64: updateProvisionWatcherRequest.ProvisionWatcher.ServiceName undefined (type dtos.UpdateProvisionWatcher has no field or method ServiceName) [2023-03-24T05:02:01.962Z] internal/application/callback.go:227:55: provisionWatcher.ProfileName undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProvisionWatcher has no field or method ProfileName) [2023-03-24T05:02:03.465Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-24T05:02:03.465Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-24T05:02:03.465Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-24T05:02:03.465Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-03-24T05:02:04.418Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-24T05:02:04.418Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-24T05:02:04.418Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-24T05:02:04.418Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-24T05:02:04.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.057s coverage: 78.9% of statements [2023-03-24T05:02:04.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.077s coverage: 86.0% of statements [2023-03-24T05:02:04.418Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-03-24T05:02:04.418Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-03-24T05:02:05.354Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-24T05:02:05.354Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-24T05:02:05.354Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-03-24T05:02:05.354Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.112s coverage: 89.2% of statements [2023-03-24T05:02:05.354Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-24T05:02:05.354Z] FAIL [2023-03-24T05:02:05.354Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-24T05:02:05.407Z] $ docker stop --time=1 85d021c8221a47f7fc40c863f40bf89e6121860ebf6dae055430cc6669c2a6aa [2023-03-24T05:02:08.044Z] $ docker rm -f --volumes 85d021c8221a47f7fc40c863f40bf89e6121860ebf6dae055430cc6669c2a6aa [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-24T05:02:09.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T05:02:09.202Z] [2023-03-24T05:02:09.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T05:02:09.582Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T05:02:09.582Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-24T05:02:09.582Z] 5eb5b503b376: Pulling fs layer [2023-03-24T05:02:09.582Z] 5c69ac0246d0: Pulling fs layer [2023-03-24T05:02:09.582Z] ec43610c2a17: Pulling fs layer [2023-03-24T05:02:09.582Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-24T05:02:09.582Z] 33b1e0a273af: Pulling fs layer [2023-03-24T05:02:09.582Z] 5d3b04190fa2: Pulling fs layer [2023-03-24T05:02:09.582Z] 2f39f015ded8: Pulling fs layer [2023-03-24T05:02:09.582Z] 3a2ae6a8a46f: Waiting [2023-03-24T05:02:09.582Z] 33b1e0a273af: Waiting [2023-03-24T05:02:09.582Z] 5d3b04190fa2: Waiting [2023-03-24T05:02:09.582Z] 2f39f015ded8: Waiting [2023-03-24T05:02:09.582Z] 5c69ac0246d0: Verifying Checksum [2023-03-24T05:02:09.582Z] 3a2ae6a8a46f: Download complete [2023-03-24T05:02:09.842Z] 33b1e0a273af: Verifying Checksum [2023-03-24T05:02:09.843Z] 33b1e0a273af: Download complete [2023-03-24T05:02:09.843Z] 5d3b04190fa2: Verifying Checksum [2023-03-24T05:02:09.843Z] 5d3b04190fa2: Download complete [2023-03-24T05:02:09.843Z] ec43610c2a17: Verifying Checksum [2023-03-24T05:02:09.843Z] ec43610c2a17: Download complete [2023-03-24T05:02:09.843Z] 5eb5b503b376: Verifying Checksum [2023-03-24T05:02:09.843Z] 5eb5b503b376: Download complete [2023-03-24T05:02:10.409Z] 2f39f015ded8: Verifying Checksum [2023-03-24T05:02:10.409Z] 2f39f015ded8: Download complete [2023-03-24T05:02:10.976Z] 5eb5b503b376: Pull complete [2023-03-24T05:02:11.235Z] 5c69ac0246d0: Pull complete [2023-03-24T05:02:11.494Z] ec43610c2a17: Pull complete [2023-03-24T05:02:11.494Z] 3a2ae6a8a46f: Pull complete [2023-03-24T05:02:11.754Z] 33b1e0a273af: Pull complete [2023-03-24T05:02:11.754Z] 5d3b04190fa2: Pull complete [2023-03-24T05:02:15.938Z] 2f39f015ded8: Pull complete [2023-03-24T05:02:15.938Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-24T05:02:15.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T05:02:15.938Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T05:02:16.158Z] prd-ubuntu20.04-docker-8c-8g-5661 does not seem to be running inside a container [2023-03-24T05:02:16.193Z] $ 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-1405 -v /w/workspace/gexfoundry_device-sdk-go_PR-1405:/w/workspace/gexfoundry_device-sdk-go_PR-1405:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T05:02:18.584Z] $ docker top f3fb9f20d34e60b08f9055035b5566e9490ca75f944c899b33035a4635ca19c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:02:19.026Z] ---> job-cost.sh [2023-03-24T05:02:19.026Z] lf-activate-venv: SKIPPING [2023-03-24T05:02:19.026Z] INFO: No Stack... [2023-03-24T05:02:19.290Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T05:02:19.550Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T05:02:19.870Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1405/archives/cost.csv [2023-03-24T05:02:19.870Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T05:02:19.907Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1405-1-stack-cost] [2023-03-24T05:02:19.912Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1405-1-stack-cost] did not exist. Created. [2023-03-24T05:02:19.912Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T05:02:20.305Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-24T05:02:20.372Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T05:02:20.390Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1405-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T05:02:20.465Z] $ docker stop --time=1 f3fb9f20d34e60b08f9055035b5566e9490ca75f944c899b33035a4635ca19c2 [2023-03-24T05:02:21.605Z] $ docker rm -f --volumes f3fb9f20d34e60b08f9055035b5566e9490ca75f944c899b33035a4635ca19c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-24T05:02:21.963Z] Failed in branch amd64 [2023-03-24T05:03:33.137Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5663 in /w/workspace/gexfoundry_device-sdk-go_PR-1405 [Pipeline] { [Pipeline] ws [2023-03-24T05:03:33.203Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-24T05:03:33.289Z] The recommended git tool is: git [2023-03-24T05:03:38.751Z] using credential edgex-jenkins-ssh [2023-03-24T05:03:38.771Z] Cloning the remote Git repository [2023-03-24T05:03:38.834Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-24T05:03:38.964Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-24T05:03:39.157Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-24T05:03:39.158Z] > git --version # timeout=10 [2023-03-24T05:03:39.184Z] > git --version # 'git version 2.25.1' [2023-03-24T05:03:39.188Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T05:03:39.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T05:03:44.081Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-24T05:03:44.104Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T05:03:45.692Z] Merging remotes/origin/main commit ba03d3229d39ccd3d083a66246eea2ffd8e01960 into PR head commit f0c657f90484381f58f6c6e5cb79d8f9c7494849 [2023-03-24T05:03:46.039Z] Merge succeeded, producing f0c657f90484381f58f6c6e5cb79d8f9c7494849 [2023-03-24T05:03:46.040Z] Checking out Revision f0c657f90484381f58f6c6e5cb79d8f9c7494849 (PR-1405) [2023-03-24T05:03:45.062Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-24T05:03:45.106Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-24T05:03:45.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T05:03:45.126Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1405/head:refs/remotes/origin/PR-1405 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-24T05:03:45.716Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T05:03:45.796Z] > git checkout -f f0c657f90484381f58f6c6e5cb79d8f9c7494849 # timeout=10 [2023-03-24T05:03:45.919Z] > git remote # timeout=10 [2023-03-24T05:03:45.942Z] > git config --get remote.origin.url # timeout=10 [2023-03-24T05:03:45.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T05:03:45.994Z] > git merge ba03d3229d39ccd3d083a66246eea2ffd8e01960 # timeout=10 [2023-03-24T05:03:46.023Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-24T05:03:46.049Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T05:03:46.064Z] > git checkout -f f0c657f90484381f58f6c6e5cb79d8f9c7494849 # timeout=10 [2023-03-24T05:03:46.576Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-03-24T05:03:46.632Z] > git --version # timeout=10 [2023-03-24T05:03:46.644Z] > git --version # 'git version 2.25.1' [2023-03-24T05:03:46.664Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T05:03:47.837Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-24T05:03:47.837Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T05:03:47.837Z] Dload Upload Total Spent Left Speed [2023-03-24T05:03:47.837Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-03-24T05:03:48.591Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-24T05:03:48.928Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-03-24T05:03:48.928Z] /etc/docker/daemon.new [2023-03-24T05:03:48.928Z] { [2023-03-24T05:03:48.928Z] "registry-mirrors": [ [2023-03-24T05:03:48.928Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-24T05:03:48.928Z] ], [2023-03-24T05:03:48.928Z] "bip": "10.250.0.254/24", [2023-03-24T05:03:48.928Z] "hosts": [ [2023-03-24T05:03:48.928Z] "tcp://0.0.0.0:5555", [2023-03-24T05:03:48.928Z] "unix:///var/run/docker.sock" [2023-03-24T05:03:48.928Z] ], [2023-03-24T05:03:48.928Z] "mtu": 1458, [2023-03-24T05:03:48.928Z] "selinux-enabled": true, [2023-03-24T05:03:48.928Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-24T05:03:48.928Z] } [Pipeline] sh [2023-03-24T05:03:49.273Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-24T05:03:49.619Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T05:04:07.959Z] provisioning config files... [2023-03-24T05:04:07.990Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2598382862818159649tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:04:08.386Z] ---> docker-login.sh [2023-03-24T05:04:08.386Z] nexus3.edgexfoundry.org:10001 [2023-03-24T05:04:08.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:04:08.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:04:08.977Z] Configure a credential helper to remove this warning. See [2023-03-24T05:04:08.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:04:08.977Z] [2023-03-24T05:04:08.977Z] Login Succeeded [2023-03-24T05:04:08.977Z] nexus3.edgexfoundry.org:10002 [2023-03-24T05:04:09.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:04:09.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:04:09.517Z] Configure a credential helper to remove this warning. See [2023-03-24T05:04:09.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:04:09.517Z] [2023-03-24T05:04:09.517Z] Login Succeeded [2023-03-24T05:04:09.517Z] nexus3.edgexfoundry.org:10003 [2023-03-24T05:04:09.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:04:09.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:04:09.791Z] Configure a credential helper to remove this warning. See [2023-03-24T05:04:09.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:04:09.791Z] [2023-03-24T05:04:09.791Z] Login Succeeded [2023-03-24T05:04:09.791Z] nexus3.edgexfoundry.org:10004 [2023-03-24T05:04:10.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:04:10.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:04:10.334Z] Configure a credential helper to remove this warning. See [2023-03-24T05:04:10.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:04:10.334Z] [2023-03-24T05:04:10.334Z] Login Succeeded [2023-03-24T05:04:10.334Z] docker.io [2023-03-24T05:04:10.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T05:04:10.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T05:04:10.873Z] Configure a credential helper to remove this warning. See [2023-03-24T05:04:10.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T05:04:10.873Z] [2023-03-24T05:04:10.874Z] Login Succeeded [2023-03-24T05:04:10.874Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T05:04:10.907Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T05:04:11.307Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T05:04:11.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T05:04:11.375Z] ========================================================= [2023-03-24T05:04:11.375Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-24T05:04:11.375Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T05:04:11.881Z] + 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-24T05:04:12.152Z] Sending build context to Docker daemon 5.806MB [2023-03-24T05:04:12.436Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T05:04:12.436Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-24T05:04:12.436Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-24T05:04:12.436Z] af6eaf76a39c: Pulling fs layer [2023-03-24T05:04:12.436Z] 55522c791124: Pulling fs layer [2023-03-24T05:04:12.436Z] ce5c4a1c91eb: Pulling fs layer [2023-03-24T05:04:12.436Z] 169dfbe0d373: Pulling fs layer [2023-03-24T05:04:12.436Z] e1ff8fa3b103: Pulling fs layer [2023-03-24T05:04:12.436Z] 52ebb69f0ebf: Pulling fs layer [2023-03-24T05:04:12.436Z] 5abe8eddf0d5: Pulling fs layer [2023-03-24T05:04:12.436Z] e1ff8fa3b103: Waiting [2023-03-24T05:04:12.436Z] 52ebb69f0ebf: Waiting [2023-03-24T05:04:12.436Z] 169dfbe0d373: Waiting [2023-03-24T05:04:12.436Z] 55522c791124: Download complete [2023-03-24T05:04:12.436Z] 169dfbe0d373: Verifying Checksum [2023-03-24T05:04:12.436Z] 169dfbe0d373: Download complete [2023-03-24T05:04:12.708Z] e1ff8fa3b103: Verifying Checksum [2023-03-24T05:04:12.708Z] e1ff8fa3b103: Download complete [2023-03-24T05:04:12.708Z] af6eaf76a39c: Verifying Checksum [2023-03-24T05:04:12.708Z] af6eaf76a39c: Download complete [2023-03-24T05:04:14.258Z] af6eaf76a39c: Pull complete [2023-03-24T05:04:14.258Z] 5abe8eddf0d5: Verifying Checksum [2023-03-24T05:04:14.258Z] 5abe8eddf0d5: Download complete [2023-03-24T05:04:14.857Z] 55522c791124: Pull complete [2023-03-24T05:04:15.853Z] 52ebb69f0ebf: Verifying Checksum [2023-03-24T05:04:15.853Z] 52ebb69f0ebf: Download complete [2023-03-24T05:04:15.853Z] ce5c4a1c91eb: Verifying Checksum [2023-03-24T05:04:28.216Z] ce5c4a1c91eb: Pull complete [2023-03-24T05:04:28.216Z] 169dfbe0d373: Pull complete [2023-03-24T05:04:28.216Z] e1ff8fa3b103: Pull complete [2023-03-24T05:04:34.887Z] 52ebb69f0ebf: Pull complete [2023-03-24T05:04:35.853Z] 5abe8eddf0d5: Pull complete [2023-03-24T05:04:35.853Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-24T05:04:35.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-24T05:04:35.853Z] ---> 6cb57ee374ae [2023-03-24T05:04:35.853Z] Step 3/10 : ARG MAKE=make build [2023-03-24T05:04:37.818Z] ---> Running in 74b2dcd438ed [2023-03-24T05:04:38.086Z] Removing intermediate container 74b2dcd438ed [2023-03-24T05:04:38.086Z] ---> de02d9e4d5ff [2023-03-24T05:04:38.086Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-24T05:04:38.086Z] ---> Running in df33f0e3a34b [2023-03-24T05:04:38.672Z] Removing intermediate container df33f0e3a34b [2023-03-24T05:04:38.672Z] ---> 91716e196998 [2023-03-24T05:04:38.672Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-24T05:04:38.672Z] ---> Running in 7d846b9142ee [2023-03-24T05:04:38.941Z] Removing intermediate container 7d846b9142ee [2023-03-24T05:04:38.941Z] ---> 41b97a93df3d [2023-03-24T05:04:38.941Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-24T05:04:38.941Z] ---> Running in 603ade6e5d4b [2023-03-24T05:04:40.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T05:04:40.937Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T05:04:41.906Z] OK: 263 MiB in 53 packages [2023-03-24T05:04:42.892Z] Removing intermediate container 603ade6e5d4b [2023-03-24T05:04:42.892Z] ---> fcf3965912c9 [2023-03-24T05:04:42.892Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-24T05:04:43.162Z] ---> c0ffb480ceab [2023-03-24T05:04:43.162Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T05:04:43.432Z] ---> Running in 408895c8ef57 [2023-03-24T05:05:51.315Z] Removing intermediate container 408895c8ef57 [2023-03-24T05:05:51.315Z] ---> 2c2e8db4c96b [2023-03-24T05:05:51.315Z] Step 9/10 : COPY . . [2023-03-24T05:05:51.315Z] ---> 9c95e2b44228 [2023-03-24T05:05:51.315Z] Step 10/10 : RUN ${MAKE} [2023-03-24T05:05:51.315Z] ---> Running in 814ca9677f74 [2023-03-24T05:05:51.315Z] noop [2023-03-24T05:05:51.315Z] Removing intermediate container 814ca9677f74 [2023-03-24T05:05:51.315Z] ---> c8d26eb73749 [2023-03-24T05:05:51.315Z] Successfully built c8d26eb73749 [2023-03-24T05:05:51.315Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T05:05:51.797Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T05:05:51.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T05:05:52.077Z] prd-ubuntu20.04-docker-arm64-4c-16g-5663 does not seem to be running inside a container [2023-03-24T05:05:52.146Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-24T05:05:53.280Z] $ docker top ca956f4a08e8d30d20cf36df7cb02d8e3f3ff22ca35d9e54daffd636c9e04d98 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T05:05:54.150Z] + go version [2023-03-24T05:05:54.150Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-24T05:05:54.186Z] $ docker stop --time=1 ca956f4a08e8d30d20cf36df7cb02d8e3f3ff22ca35d9e54daffd636c9e04d98 [2023-03-24T05:05:55.933Z] $ docker rm -f --volumes ca956f4a08e8d30d20cf36df7cb02d8e3f3ff22ca35d9e54daffd636c9e04d98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T05:05:56.749Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T05:05:56.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T05:05:56.995Z] prd-ubuntu20.04-docker-arm64-4c-16g-5663 does not seem to be running inside a container [2023-03-24T05:05:57.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-24T05:05:58.179Z] $ docker top 7efcbbed0e41dba2ab1dd94d74426f6f7cede1987f39c4fe685689948d24ff70 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T05:05:58.733Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-24T05:05:59.130Z] + make test [2023-03-24T05:05:59.131Z] go test -race -coverprofile=coverage.out ./... [2023-03-24T05:06:45.986Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-24T05:08:52.681Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/application [2023-03-24T05:08:52.681Z] internal/application/callback.go:191:55: provisionWatcher.ProfileName undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProvisionWatcher has no field or method ProfileName) [2023-03-24T05:08:52.681Z] internal/application/callback.go:212:65: updateProvisionWatcherRequest.ProvisionWatcher.ServiceName undefined (type dtos.UpdateProvisionWatcher has no field or method ServiceName) [2023-03-24T05:08:52.681Z] internal/application/callback.go:218:113: updateProvisionWatcherRequest.ProvisionWatcher.ServiceName undefined (type dtos.UpdateProvisionWatcher has no field or method ServiceName) [2023-03-24T05:08:52.681Z] internal/application/callback.go:222:64: updateProvisionWatcherRequest.ProvisionWatcher.ServiceName undefined (type dtos.UpdateProvisionWatcher has no field or method ServiceName) [2023-03-24T05:08:52.681Z] internal/application/callback.go:227:55: provisionWatcher.ProfileName undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProvisionWatcher has no field or method ProfileName) [2023-03-24T05:08:52.681Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-24T05:08:52.681Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-24T05:08:52.681Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-24T05:08:56.963Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-03-24T05:09:01.223Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.248s coverage: 78.9% of statements [2023-03-24T05:09:09.422Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-24T05:09:09.422Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-24T05:09:09.422Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-24T05:09:09.422Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-24T05:09:09.422Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.353s coverage: 86.0% of statements [2023-03-24T05:09:09.422Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-03-24T05:09:09.422Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-03-24T05:09:14.786Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-24T05:09:14.786Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-24T05:09:14.786Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.409s coverage: 68.5% of statements [2023-03-24T05:09:14.786Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.466s coverage: 89.2% of statements [2023-03-24T05:09:14.786Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-03-24T05:09:14.786Z] FAIL [2023-03-24T05:09:15.369Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-24T05:09:15.422Z] $ docker stop --time=1 7efcbbed0e41dba2ab1dd94d74426f6f7cede1987f39c4fe685689948d24ff70 [2023-03-24T05:09:17.253Z] $ docker rm -f --volumes 7efcbbed0e41dba2ab1dd94d74426f6f7cede1987f39c4fe685689948d24ff70 [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-24T05:09:18.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T05:09:18.933Z] [2023-03-24T05:09:18.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T05:09:19.337Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T05:09:19.337Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-24T05:09:19.337Z] 8998bd30e6a1: Pulling fs layer [2023-03-24T05:09:19.337Z] 04944245beec: Pulling fs layer [2023-03-24T05:09:19.337Z] 699f458cf7ca: Pulling fs layer [2023-03-24T05:09:19.337Z] 765212b225bb: Pulling fs layer [2023-03-24T05:09:19.337Z] f23df028b6ca: Pulling fs layer [2023-03-24T05:09:19.337Z] d65c8cfc05b1: Pulling fs layer [2023-03-24T05:09:19.337Z] 2437ff75d9bd: Pulling fs layer [2023-03-24T05:09:19.337Z] f23df028b6ca: Waiting [2023-03-24T05:09:19.337Z] d65c8cfc05b1: Waiting [2023-03-24T05:09:19.337Z] 2437ff75d9bd: Waiting [2023-03-24T05:09:19.337Z] 765212b225bb: Waiting [2023-03-24T05:09:19.606Z] 04944245beec: Verifying Checksum [2023-03-24T05:09:19.606Z] 04944245beec: Download complete [2023-03-24T05:09:19.606Z] 765212b225bb: Verifying Checksum [2023-03-24T05:09:19.606Z] 765212b225bb: Download complete [2023-03-24T05:09:19.606Z] f23df028b6ca: Download complete [2023-03-24T05:09:19.606Z] d65c8cfc05b1: Verifying Checksum [2023-03-24T05:09:19.606Z] d65c8cfc05b1: Download complete [2023-03-24T05:09:19.876Z] 699f458cf7ca: Verifying Checksum [2023-03-24T05:09:19.876Z] 699f458cf7ca: Download complete [2023-03-24T05:09:20.143Z] 8998bd30e6a1: Verifying Checksum [2023-03-24T05:09:20.143Z] 8998bd30e6a1: Download complete [2023-03-24T05:09:22.084Z] 2437ff75d9bd: Verifying Checksum [2023-03-24T05:09:22.084Z] 2437ff75d9bd: Download complete [2023-03-24T05:09:24.022Z] 8998bd30e6a1: Pull complete [2023-03-24T05:09:24.288Z] 04944245beec: Pull complete [2023-03-24T05:09:25.693Z] 699f458cf7ca: Pull complete [2023-03-24T05:09:25.693Z] 765212b225bb: Pull complete [2023-03-24T05:09:26.278Z] f23df028b6ca: Pull complete [2023-03-24T05:09:26.543Z] d65c8cfc05b1: Pull complete [2023-03-24T05:09:38.855Z] 2437ff75d9bd: Pull complete [2023-03-24T05:09:38.855Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-24T05:09:38.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T05:09:38.855Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T05:09:39.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-5663 does not seem to be running inside a container [2023-03-24T05:09:39.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-24T05:09:41.861Z] $ docker top b84add83d87c1abab69f0ba8f1ccb34324c83a118f8a4b678138a1285d3a94ed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:09:42.436Z] ---> job-cost.sh [2023-03-24T05:09:42.703Z] lf-activate-venv: SKIPPING [2023-03-24T05:09:42.703Z] INFO: No Stack... [2023-03-24T05:09:43.283Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-24T05:09:43.865Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T05:09:44.204Z] + + cut -d, -f6cat [2023-03-24T05:09:44.204Z] /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-03-24T05:09:44.285Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1405-1-stack-cost] [2023-03-24T05:09:44.290Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1405-1-stack-cost] did not exist. Created. [2023-03-24T05:09:44.290Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1405-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T05:09:45.016Z] /w/workspace/device-sdk-go/1@tmp/durable-7495840c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-24T05:09:45.367Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-24T05:09:45.407Z] Warning: overwriting stash ‘stack-cost’ [2023-03-24T05:09:45.838Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T05:09:45.855Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1405-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T05:09:45.940Z] $ docker stop --time=1 b84add83d87c1abab69f0ba8f1ccb34324c83a118f8a4b678138a1285d3a94ed [2023-03-24T05:09:47.423Z] $ docker rm -f --volumes b84add83d87c1abab69f0ba8f1ccb34324c83a118f8a4b678138a1285d3a94ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-24T05:09:48.105Z] 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-24T05:09:50.068Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1405/archives ] [2023-03-24T05:09:50.068Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1405/archives [2023-03-24T05:09:50.068Z] total 16 [2023-03-24T05:09:50.068Z] drwxr-xr-x 3 root root 4096 Mar 24 05:02 . [2023-03-24T05:09:50.068Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 05:02 .. [2023-03-24T05:09:50.068Z] drwxr-xr-x 2 root root 4096 Mar 24 05:02 cost [2023-03-24T05:09:50.068Z] -rw-r--r-- 1 root root 86 Mar 24 05:02 cost.csv [2023-03-24T05:09:50.068Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1405/archives [2023-03-24T05:09:50.068Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1405/archives [2023-03-24T05:09:50.068Z] total 16 [2023-03-24T05:09:50.068Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 05:02 . [2023-03-24T05:09:50.068Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 05:02 .. [2023-03-24T05:09:50.068Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 05:02 cost [2023-03-24T05:09:50.068Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 24 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:09:50.394Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:09:51.285Z] ---> package-listing.sh [2023-03-24T05:09:51.285Z] ++ facter osfamily [2023-03-24T05:09:51.285Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-24T05:09:51.544Z] + OS_FAMILY=debian [2023-03-24T05:09:51.544Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1405 [2023-03-24T05:09:51.544Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-24T05:09:51.544Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-24T05:09:51.544Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-24T05:09:51.544Z] + PACKAGES=/tmp/packages_start.txt [2023-03-24T05:09:51.544Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1405 ']' [2023-03-24T05:09:51.544Z] + PACKAGES=/tmp/packages_end.txt [2023-03-24T05:09:51.544Z] + case "${OS_FAMILY}" in [2023-03-24T05:09:51.544Z] + dpkg -l [2023-03-24T05:09:51.544Z] + grep '^ii' [2023-03-24T05:09:51.544Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-24T05:09:51.544Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-24T05:09:51.544Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-24T05:09:51.544Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1405 ']' [2023-03-24T05:09:51.544Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1405/archives/ [2023-03-24T05:09:51.544Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1405/archives/ [Pipeline] echo [2023-03-24T05:09:51.576Z] 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-1405/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-24T05:09:51.865Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T05:09:52.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T05:09:52.492Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T05:09:52.630Z] prd-ubuntu20.04-docker-8c-8g-5661 does not seem to be running inside a container [2023-03-24T05:09:52.664Z] $ 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-1405/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-1405 -v /w/workspace/gexfoundry_device-sdk-go_PR-1405:/w/workspace/gexfoundry_device-sdk-go_PR-1405:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T05:09:52.874Z] $ docker top dd1144b7495c7196b7bf33d5263fa8489b021c504d72b5cc6c60f11b4971668d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T05:09:53.255Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-24T05:09:53.558Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-24T05:09:53.876Z] + ls /var/log/sa-host [2023-03-24T05:09:53.876Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T05:09:54.034Z] provisioning config files... [2023-03-24T05:09:54.044Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1405@tmp/config3104019384997291745tmp [Pipeline] { [Pipeline] echo [2023-03-24T05:09:54.102Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:09:54.418Z] ---> create-netrc.sh [Pipeline] } [2023-03-24T05:09:54.448Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:09:54.848Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-24T05:09:54.881Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:09:55.192Z] ---> sudo-logs.sh [2023-03-24T05:09:55.192Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-24T05:09:55.277Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:09:55.585Z] ---> job-cost.sh [2023-03-24T05:09:55.585Z] lf-activate-venv: SKIPPING [2023-03-24T05:09:55.585Z] DEBUG: total: 0.2199999988079071 [2023-03-24T05:09:55.585Z] INFO: Retrieving Stack Cost... [2023-03-24T05:09:56.152Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T05:09:56.412Z] INFO: Archiving Costs [Pipeline] echo [2023-03-24T05:09:56.446Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T05:09:56.758Z] ---> logs-deploy.sh [2023-03-24T05:09:56.758Z] lf-activate-venv: SKIPPING [2023-03-24T05:09:56.758Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1405/1 [2023-03-24T05:09:56.758Z] INFO: archiving workspace using pattern(s): [2023-03-24T05:09:57.694Z] Archives upload complete. [2023-03-24T05:09:57.694Z] INFO: archiving logs to Nexus