Pull request #1639 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1356e5933c5efa778c3bba5bfaf1528eefa7adbd+63928f2973ca38a899cb41cf0d65ddd086cb79a5 (057d265218837175f8144c7f010081f35c34c00e) 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-ssh18250590187045084952.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh4064329095083128609.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1639/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1639/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3572215741655241526.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14153816560583487674.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1639/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1639/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4906349730674161296.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22916 in /w/workspace/gexfoundry_device-sdk-go_PR-1639 [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-1639 # 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/1639/head:refs/remotes/origin/PR-1639 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 63928f2973ca38a899cb41cf0d65ddd086cb79a5 into PR head commit 1356e5933c5efa778c3bba5bfaf1528eefa7adbd Merge succeeded, producing 1356e5933c5efa778c3bba5bfaf1528eefa7adbd Checking out Revision 1356e5933c5efa778c3bba5bfaf1528eefa7adbd (PR-1639) > git config core.sparsecheckout # timeout=10 > git checkout -f 1356e5933c5efa778c3bba5bfaf1528eefa7adbd # 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 63928f2973ca38a899cb41cf0d65ddd086cb79a5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1356e5933c5efa778c3bba5bfaf1528eefa7adbd # timeout=10 Commit message: "feat: create commandValue with nil value" > git rev-list --no-walk 4a576ee47b13ebcb1b4d5dc191f0b21d109c84c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-16T08:08:59.020Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-16T08:08:59.114Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-16T08:08:59.139Z] ========================================================= [2024-10-16T08:08:59.139Z] EdgeX Global Pipelines Version Info [2024-10-16T08:08:59.139Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:09:00.258Z] ------------------- [2024-10-16T08:09:00.258Z] stable info: [2024-10-16T08:09:00.258Z] ------------------- [2024-10-16T08:09:00.258Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-16T08:09:00.258Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-16T08:09:00.258Z] Message: update stable to v1.0.265 [2024-10-16T08:09:00.518Z] ------------------- [2024-10-16T08:09:00.518Z] experimental info: [2024-10-16T08:09:00.518Z] ------------------- [2024-10-16T08:09:00.518Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-16T08:09:00.518Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-16T08:09:00.518Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-16T08:09:00.601Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-16T08:09:00.623Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-16T08:09:00.642Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-16T08:09:00.661Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-16T08:09:00.682Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-16T08:09:00.703Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-16T08:09:00.722Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-16T08:09:00.744Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-16T08:09:00.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-16T08:09:00.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-16T08:09:00.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-16T08:09:01.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-16T08:09:01.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-16T08:09:01.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-16T08:09:01.086Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-16T08:09:01.109Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-16T08:09:01.131Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-16T08:09:01.148Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-16T08:09:01.172Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-16T08:09:01.194Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-16T08:09:01.213Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-16T08:09:01.231Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-16T08:09:01.254Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-16T08:09:01.273Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-16T08:09:01.294Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-16T08:09:01.314Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-16T08:09:01.340Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-16T08:09:01.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1639 [Pipeline] echo [2024-10-16T08:09:01.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1639 [Pipeline] echo [2024-10-16T08:09:01.398Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1639 [Pipeline] echo [2024-10-16T08:09:01.416Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1356e5933c5efa778c3bba5bfaf1528eefa7adbd [Pipeline] echo [2024-10-16T08:09:01.434Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1356e59 [Pipeline] echo [2024-10-16T08:09:01.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-16T08:09:01.519Z] provisioning config files... [2024-10-16T08:09:01.533Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/config15343335877411592632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:09:01.870Z] ---> ****-login.sh [2024-10-16T08:09:01.870Z] nexus3.edgexfoundry.org:10001 [2024-10-16T08:09:02.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:09:02.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:09:02.130Z] Configure a credential helper to remove this warning. See [2024-10-16T08:09:02.130Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:09:02.130Z] [2024-10-16T08:09:02.130Z] Login Succeeded [2024-10-16T08:09:02.130Z] nexus3.edgexfoundry.org:10002 [2024-10-16T08:09:02.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:09:02.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:09:02.392Z] Configure a credential helper to remove this warning. See [2024-10-16T08:09:02.392Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:09:02.392Z] [2024-10-16T08:09:02.392Z] Login Succeeded [2024-10-16T08:09:02.392Z] nexus3.edgexfoundry.org:10003 [2024-10-16T08:09:02.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:09:02.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:09:02.392Z] Configure a credential helper to remove this warning. See [2024-10-16T08:09:02.392Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:09:02.392Z] [2024-10-16T08:09:02.392Z] Login Succeeded [2024-10-16T08:09:02.392Z] nexus3.edgexfoundry.org:10004 [2024-10-16T08:09:02.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:09:02.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:09:02.653Z] Configure a credential helper to remove this warning. See [2024-10-16T08:09:02.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:09:02.653Z] [2024-10-16T08:09:02.653Z] Login Succeeded [2024-10-16T08:09:02.653Z] ****.io [2024-10-16T08:09:02.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:09:02.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:09:02.653Z] Configure a credential helper to remove this warning. See [2024-10-16T08:09:02.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:09:02.653Z] [2024-10-16T08:09:02.913Z] Login Succeeded [2024-10-16T08:09:02.913Z] ---> ****-login.sh ends [Pipeline] } [2024-10-16T08:09:02.919Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-16T08:09:03.320Z] + git rev-list -1 --merges 1356e5933c5efa778c3bba5bfaf1528eefa7adbd~1..1356e5933c5efa778c3bba5bfaf1528eefa7adbd [Pipeline] echo [2024-10-16T08:09:03.347Z] -----------> git rev-list -1 --merges 1356e5933c5efa778c3bba5bfaf1528eefa7adbd~1..1356e5933c5efa778c3bba5bfaf1528eefa7adbd 1356e5933c5efa778c3bba5bfaf1528eefa7adbd [false] [Pipeline] sh [2024-10-16T08:09:03.642Z] + git log --format=format:%s -1 1356e5933c5efa778c3bba5bfaf1528eefa7adbd [Pipeline] echo [2024-10-16T08:09:03.661Z] ========================================================= [2024-10-16T08:09:03.661Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-16T08:09:03.661Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-16T08:09:04.000Z] + git log --format=format:%s -1 1356e5933c5efa778c3bba5bfaf1528eefa7adbd [Pipeline] echo [2024-10-16T08:09:04.013Z] [semverPrep] GIT_COMMIT: 1356e5933c5efa778c3bba5bfaf1528eefa7adbd, Commit Message: feat: create commandValue with nil value [Pipeline] echo [2024-10-16T08:09:04.027Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-16T08:09:04.410Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-16T08:09:04.410Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-16T08:09:04.410Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-16T08:09:04.410Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-16T08:09:04.410Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-16T08:09:04.410Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-16T08:09:04.410Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:09:04.820Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-16T08:09:04.820Z] [2024-10-16T08:09:04.820Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:09:05.140Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-16T08:09:05.140Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-16T08:09:05.140Z] b85a868b505f: Pulling fs layer [2024-10-16T08:09:05.140Z] e2be974225ed: Pulling fs layer [2024-10-16T08:09:05.140Z] 339a4e72a1f5: Pulling fs layer [2024-10-16T08:09:05.140Z] 988bab9f4d93: Pulling fs layer [2024-10-16T08:09:05.140Z] 1469e6f7b9e6: Pulling fs layer [2024-10-16T08:09:05.140Z] eaf3925da568: Pulling fs layer [2024-10-16T08:09:05.140Z] bab4dde63d76: Pulling fs layer [2024-10-16T08:09:05.140Z] bde34c3a00c8: Pulling fs layer [2024-10-16T08:09:05.140Z] b352a97aabf1: Pulling fs layer [2024-10-16T08:09:05.140Z] 4872d77fe225: Pulling fs layer [2024-10-16T08:09:05.140Z] 5851b861e8e6: Pulling fs layer [2024-10-16T08:09:05.140Z] eaf3925da568: Waiting [2024-10-16T08:09:05.140Z] 988bab9f4d93: Waiting [2024-10-16T08:09:05.140Z] 1469e6f7b9e6: Waiting [2024-10-16T08:09:05.140Z] bab4dde63d76: Waiting [2024-10-16T08:09:05.140Z] b352a97aabf1: Waiting [2024-10-16T08:09:05.140Z] 4872d77fe225: Waiting [2024-10-16T08:09:05.140Z] 5851b861e8e6: Waiting [2024-10-16T08:09:05.140Z] e2be974225ed: Download complete [2024-10-16T08:09:05.140Z] 988bab9f4d93: Verifying Checksum [2024-10-16T08:09:05.140Z] 988bab9f4d93: Download complete [2024-10-16T08:09:05.140Z] 1469e6f7b9e6: Verifying Checksum [2024-10-16T08:09:05.140Z] 1469e6f7b9e6: Download complete [2024-10-16T08:09:05.140Z] eaf3925da568: Verifying Checksum [2024-10-16T08:09:05.140Z] eaf3925da568: Download complete [2024-10-16T08:09:05.400Z] 339a4e72a1f5: Verifying Checksum [2024-10-16T08:09:05.400Z] 339a4e72a1f5: Download complete [2024-10-16T08:09:05.400Z] bde34c3a00c8: Verifying Checksum [2024-10-16T08:09:05.400Z] bde34c3a00c8: Download complete [2024-10-16T08:09:05.400Z] b352a97aabf1: Download complete [2024-10-16T08:09:05.400Z] 4872d77fe225: Verifying Checksum [2024-10-16T08:09:05.400Z] 4872d77fe225: Download complete [2024-10-16T08:09:05.400Z] 5851b861e8e6: Verifying Checksum [2024-10-16T08:09:05.400Z] 5851b861e8e6: Download complete [2024-10-16T08:09:05.400Z] b85a868b505f: Download complete [2024-10-16T08:09:05.659Z] bab4dde63d76: Verifying Checksum [2024-10-16T08:09:05.659Z] bab4dde63d76: Download complete [2024-10-16T08:09:06.594Z] b85a868b505f: Pull complete [2024-10-16T08:09:06.852Z] e2be974225ed: Pull complete [2024-10-16T08:09:07.111Z] 339a4e72a1f5: Pull complete [2024-10-16T08:09:07.372Z] 988bab9f4d93: Pull complete [2024-10-16T08:09:07.631Z] 1469e6f7b9e6: Pull complete [2024-10-16T08:09:07.631Z] eaf3925da568: Pull complete [2024-10-16T08:09:09.548Z] bab4dde63d76: Pull complete [2024-10-16T08:09:09.548Z] bde34c3a00c8: Pull complete [2024-10-16T08:09:09.548Z] b352a97aabf1: Pull complete [2024-10-16T08:09:09.548Z] 4872d77fe225: Pull complete [2024-10-16T08:09:09.548Z] 5851b861e8e6: Pull complete [2024-10-16T08:09:09.808Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-16T08:09:09.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-16T08:09:09.808Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-16T08:09:09.955Z] prd-ubuntu20.04-docker-8c-8g-22916 does not seem to be running inside a container [2024-10-16T08:09:09.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1639 -v /w/workspace/gexfoundry_device-sdk-go_PR-1639:/w/workspace/gexfoundry_device-sdk-go_PR-1639:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-16T08:09:13.462Z] $ docker top a4b946aa4bc1f6e352ac69e497d125d866e3227618f1a204ca57c4355d628523 -eo pid,comm [2024-10-16T08:09:13.519Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-16T08:09:13.519Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-16T08:09:13.578Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-16T08:09:13.578Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-16T08:09:13.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-16T08:09:13.683Z] $ docker exec a4b946aa4bc1f6e352ac69e497d125d866e3227618f1a204ca57c4355d628523 ssh-agent [2024-10-16T08:09:13.778Z] SSH_AUTH_SOCK=/tmp/ssh-O9egDS3aWpdO/agent.32 [2024-10-16T08:09:13.778Z] SSH_AGENT_PID=38 [2024-10-16T08:09:13.785Z] Running ssh-add (command line suppressed) [2024-10-16T08:09:13.876Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/private_key_5962930599480022202.key (/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/private_key_5962930599480022202.key) [2024-10-16T08:09:13.894Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-16T08:09:14.186Z] + git tag --points-at HEAD [Pipeline] } [2024-10-16T08:09:14.192Z] $ docker exec --env ******** --env ******** a4b946aa4bc1f6e352ac69e497d125d866e3227618f1a204ca57c4355d628523 ssh-agent -k [2024-10-16T08:09:14.284Z] unset SSH_AUTH_SOCK; [2024-10-16T08:09:14.285Z] unset SSH_AGENT_PID; [2024-10-16T08:09:14.285Z] echo Agent pid 38 killed; [2024-10-16T08:09:14.300Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-16T08:09:14.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-16T08:09:14.338Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-16T08:09:14.449Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-16T08:09:14.448Z] $ docker exec a4b946aa4bc1f6e352ac69e497d125d866e3227618f1a204ca57c4355d628523 ssh-agent [2024-10-16T08:09:14.552Z] SSH_AUTH_SOCK=/tmp/ssh-pjNcJwGcVPkC/agent.71 [2024-10-16T08:09:14.552Z] SSH_AGENT_PID=77 [2024-10-16T08:09:14.557Z] Running ssh-add (command line suppressed) [2024-10-16T08:09:14.650Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/private_key_17369965858530577881.key (/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/private_key_17369965858530577881.key) [2024-10-16T08:09:14.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-16T08:09:14.961Z] + git semver init [2024-10-16T08:09:15.222Z] 2024-10-16 08:09:15,120 [run_init] DEBUG init version:0.0.0 force:False [2024-10-16T08:09:15.222Z] 2024-10-16 08:09:15,120 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver [2024-10-16T08:09:15.222Z] 2024-10-16 08:09:15,121 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver [2024-10-16T08:09:15.222Z] 2024-10-16 08:09:15,121 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1639, universal_newlines=False, shell=None, istream=None) [2024-10-16T08:09:17.765Z] 2024-10-16 08:09:17,133 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1639/.git/info/exclude [2024-10-16T08:09:17.765Z] 2024-10-16 08:09:17,134 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver/PR-1639 with force:False [2024-10-16T08:09:17.765Z] 2024-10-16 08:09:17,134 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver/PR-1639 [2024-10-16T08:09:17.765Z] 2024-10-16 08:09:17,138 [execute] INFO git cat-file --batch-check [2024-10-16T08:09:17.765Z] 2024-10-16 08:09:17,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver, universal_newlines=False, shell=None, istream=) [2024-10-16T08:09:17.765Z] 2024-10-16 08:09:17,144 [execute] INFO git cat-file --batch [2024-10-16T08:09:17.765Z] 2024-10-16 08:09:17,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver, universal_newlines=False, shell=None, istream=) [2024-10-16T08:09:17.765Z] 2024-10-16 08:09:17,150 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver/PR-1639 [2024-10-16T08:09:17.765Z] 0.0.0 [Pipeline] } [2024-10-16T08:09:17.772Z] $ docker exec --env ******** --env ******** a4b946aa4bc1f6e352ac69e497d125d866e3227618f1a204ca57c4355d628523 ssh-agent -k [2024-10-16T08:09:17.858Z] unset SSH_AUTH_SOCK; [2024-10-16T08:09:17.858Z] unset SSH_AGENT_PID; [2024-10-16T08:09:17.858Z] echo Agent pid 77 killed; [2024-10-16T08:09:17.873Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-16T08:09:18.211Z] + git semver [Pipeline] } [2024-10-16T08:09:18.483Z] $ docker stop --time=1 a4b946aa4bc1f6e352ac69e497d125d866e3227618f1a204ca57c4355d628523 [2024-10-16T08:09:19.786Z] $ docker rm -f --volumes a4b946aa4bc1f6e352ac69e497d125d866e3227618f1a204ca57c4355d628523 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-16T08:09:20.142Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-16T08:09:20.372Z] Stashed 1 file(s) [Pipeline] echo [2024-10-16T08:09:20.378Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-16T08:09:20.535Z] provisioning config files... [2024-10-16T08:09:20.543Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/config5427897149660097134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:09:20.846Z] ---> ****-login.sh [2024-10-16T08:09:20.846Z] nexus3.edgexfoundry.org:10001 [2024-10-16T08:09:20.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:09:20.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:09:20.846Z] Configure a credential helper to remove this warning. See [2024-10-16T08:09:20.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:09:20.846Z] [2024-10-16T08:09:20.846Z] Login Succeeded [2024-10-16T08:09:20.847Z] nexus3.edgexfoundry.org:10002 [2024-10-16T08:09:20.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:09:20.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:09:20.847Z] Configure a credential helper to remove this warning. See [2024-10-16T08:09:20.847Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:09:20.847Z] [2024-10-16T08:09:20.847Z] Login Succeeded [2024-10-16T08:09:20.847Z] nexus3.edgexfoundry.org:10003 [2024-10-16T08:09:21.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:09:21.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:09:21.106Z] Configure a credential helper to remove this warning. See [2024-10-16T08:09:21.106Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:09:21.106Z] [2024-10-16T08:09:21.106Z] Login Succeeded [2024-10-16T08:09:21.106Z] nexus3.edgexfoundry.org:10004 [2024-10-16T08:09:21.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:09:21.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:09:21.106Z] Configure a credential helper to remove this warning. See [2024-10-16T08:09:21.106Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:09:21.106Z] [2024-10-16T08:09:21.106Z] Login Succeeded [2024-10-16T08:09:21.106Z] ****.io [2024-10-16T08:09:21.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:09:21.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:09:21.365Z] Configure a credential helper to remove this warning. See [2024-10-16T08:09:21.365Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:09:21.365Z] [2024-10-16T08:09:21.365Z] Login Succeeded [2024-10-16T08:09:21.365Z] ---> ****-login.sh ends [Pipeline] } [2024-10-16T08:09:21.372Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-16T08:09:21.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-16T08:09:21.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-16T08:09:21.519Z] ========================================================= [2024-10-16T08:09:21.519Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-16T08:09:21.519Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:09:21.844Z] + 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.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-16T08:09:21.845Z] Sending build context to Docker daemon 25.41MB [2024-10-16T08:09:21.845Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-16T08:09:21.845Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-16T08:09:22.103Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-16T08:09:22.103Z] 43c4264eed91: Pulling fs layer [2024-10-16T08:09:22.103Z] 4cc291be95ef: Pulling fs layer [2024-10-16T08:09:22.103Z] 2ac1f1163629: Pulling fs layer [2024-10-16T08:09:22.103Z] 5c3c966382ef: Pulling fs layer [2024-10-16T08:09:22.103Z] 4f4fb700ef54: Pulling fs layer [2024-10-16T08:09:22.103Z] 5d5c8e513c77: Pulling fs layer [2024-10-16T08:09:22.103Z] 9f66e0745190: Pulling fs layer [2024-10-16T08:09:22.103Z] f49a43e4bbc0: Pulling fs layer [2024-10-16T08:09:22.103Z] 561ebcabdf7f: Pulling fs layer [2024-10-16T08:09:22.103Z] 5c3c966382ef: Waiting [2024-10-16T08:09:22.103Z] 4f4fb700ef54: Waiting [2024-10-16T08:09:22.103Z] 5d5c8e513c77: Waiting [2024-10-16T08:09:22.103Z] 9f66e0745190: Waiting [2024-10-16T08:09:22.103Z] f49a43e4bbc0: Waiting [2024-10-16T08:09:22.103Z] 561ebcabdf7f: Waiting [2024-10-16T08:09:22.103Z] 4cc291be95ef: Download complete [2024-10-16T08:09:22.103Z] 5c3c966382ef: Verifying Checksum [2024-10-16T08:09:22.103Z] 5c3c966382ef: Download complete [2024-10-16T08:09:22.103Z] 4f4fb700ef54: Download complete [2024-10-16T08:09:22.103Z] 5d5c8e513c77: Verifying Checksum [2024-10-16T08:09:22.103Z] 5d5c8e513c77: Download complete [2024-10-16T08:09:22.103Z] 43c4264eed91: Verifying Checksum [2024-10-16T08:09:22.103Z] 43c4264eed91: Download complete [2024-10-16T08:09:22.103Z] 9f66e0745190: Verifying Checksum [2024-10-16T08:09:22.103Z] 9f66e0745190: Download complete [2024-10-16T08:09:22.361Z] 43c4264eed91: Pull complete [2024-10-16T08:09:22.361Z] 561ebcabdf7f: Verifying Checksum [2024-10-16T08:09:22.361Z] 561ebcabdf7f: Download complete [2024-10-16T08:09:22.361Z] 4cc291be95ef: Pull complete [2024-10-16T08:09:22.619Z] 2ac1f1163629: Verifying Checksum [2024-10-16T08:09:22.619Z] 2ac1f1163629: Download complete [2024-10-16T08:09:22.877Z] f49a43e4bbc0: Verifying Checksum [2024-10-16T08:09:22.877Z] f49a43e4bbc0: Download complete [2024-10-16T08:09:26.163Z] 2ac1f1163629: Pull complete [2024-10-16T08:09:26.163Z] 5c3c966382ef: Pull complete [2024-10-16T08:09:26.163Z] 4f4fb700ef54: Pull complete [2024-10-16T08:09:26.163Z] 5d5c8e513c77: Pull complete [2024-10-16T08:09:26.163Z] 9f66e0745190: Pull complete [2024-10-16T08:09:28.698Z] f49a43e4bbc0: Pull complete [2024-10-16T08:09:29.268Z] 561ebcabdf7f: Pull complete [2024-10-16T08:09:29.268Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-16T08:09:29.268Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-16T08:09:29.268Z] ---> 3a752c3f9dda [2024-10-16T08:09:29.268Z] Step 3/10 : ARG MAKE=make build [2024-10-16T08:09:34.543Z] ---> Running in e612ce276966 [2024-10-16T08:09:34.543Z] Removing intermediate container e612ce276966 [2024-10-16T08:09:34.543Z] ---> beaaa7d6839a [2024-10-16T08:09:34.543Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-16T08:09:34.543Z] ---> Running in 95bccedf7089 [2024-10-16T08:09:34.543Z] Removing intermediate container 95bccedf7089 [2024-10-16T08:09:34.543Z] ---> 52dc9e46a346 [2024-10-16T08:09:34.543Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-16T08:09:34.543Z] ---> Running in 101832137ed0 [2024-10-16T08:09:34.543Z] Removing intermediate container 101832137ed0 [2024-10-16T08:09:34.543Z] ---> fdbdbb3575de [2024-10-16T08:09:34.543Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-16T08:09:34.543Z] ---> Running in fdc0d3f61832 [2024-10-16T08:09:34.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-16T08:09:34.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-16T08:09:34.802Z] OK: 246 MiB in 54 packages [2024-10-16T08:09:35.370Z] Removing intermediate container fdc0d3f61832 [2024-10-16T08:09:35.370Z] ---> 8ee42af9c072 [2024-10-16T08:09:35.370Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-16T08:09:35.370Z] ---> 3a3feeaea385 [2024-10-16T08:09:35.370Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-16T08:09:35.370Z] ---> Running in c739ce1e74ed [2024-10-16T08:09:35.484Z] Still waiting to schedule task [2024-10-16T08:09:35.485Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-16T08:10:31.748Z] Removing intermediate container c739ce1e74ed [2024-10-16T08:10:31.748Z] ---> 550e83fb3eb3 [2024-10-16T08:10:31.748Z] Step 9/10 : COPY . . [2024-10-16T08:10:32.317Z] ---> bd93a8fa51fb [2024-10-16T08:10:32.317Z] Step 10/10 : RUN ${MAKE} [2024-10-16T08:10:32.317Z] ---> Running in c7b0bc6dca84 [2024-10-16T08:10:32.576Z] noop [2024-10-16T08:10:32.835Z] Removing intermediate container c7b0bc6dca84 [2024-10-16T08:10:32.835Z] ---> cad32d98a819 [2024-10-16T08:10:33.096Z] Successfully built cad32d98a819 [2024-10-16T08:10:33.096Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:10:33.419Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-16T08:10:33.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-16T08:10:33.496Z] prd-ubuntu20.04-docker-8c-8g-22916 does not seem to be running inside a container [2024-10-16T08:10:33.523Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1639 -v /w/workspace/gexfoundry_device-sdk-go_PR-1639:/w/workspace/gexfoundry_device-sdk-go_PR-1639:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-16T08:10:33.844Z] $ docker top f802508180873318ffc5e5c049fe4ed99c326200829848d24f3472bb42df42e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-16T08:10:34.197Z] + go version [2024-10-16T08:10:34.197Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-16T08:10:34.204Z] $ docker stop --time=1 f802508180873318ffc5e5c049fe4ed99c326200829848d24f3472bb42df42e5 [2024-10-16T08:10:35.447Z] $ docker rm -f --volumes f802508180873318ffc5e5c049fe4ed99c326200829848d24f3472bb42df42e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:10:35.888Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-16T08:10:35.888Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-16T08:10:35.966Z] prd-ubuntu20.04-docker-8c-8g-22916 does not seem to be running inside a container [2024-10-16T08:10:35.993Z] $ 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-1639 -v /w/workspace/gexfoundry_device-sdk-go_PR-1639:/w/workspace/gexfoundry_device-sdk-go_PR-1639:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-16T08:10:36.268Z] $ docker top 5c73083a896648ca4edb0c0acb7e2204cc4488073ab485d2b8291af9722b8ff6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-16T08:10:36.614Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1639 [Pipeline] fileExists [Pipeline] sh [2024-10-16T08:10:36.910Z] + make test [2024-10-16T08:10:36.910Z] go test -race -coverprofile=coverage.out ./... [2024-10-16T08:10:45.033Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-16T08:10:57.236Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2024-10-16T08:10:57.236Z] internal/transformer/transform.go:149:18: undefined: dtos.NewNullReading [2024-10-16T08:11:07.626Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22917 in /w/workspace/gexfoundry_device-sdk-go_PR-1639 [Pipeline] { [Pipeline] ws [2024-10-16T08:11:07.641Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-10-16T08:11:07.675Z] The recommended git tool is: git [2024-10-16T08:11:12.117Z] using credential edgex-jenkins-ssh [2024-10-16T08:11:12.140Z] Cloning the remote Git repository [2024-10-16T08:11:12.175Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-16T08:11:12.261Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-10-16T08:11:12.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-16T08:11:12.390Z] > git --version # timeout=10 [2024-10-16T08:11:12.410Z] > git --version # 'git version 2.25.1' [2024-10-16T08:11:12.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-16T08:11:12.546Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-16T08:11:15.970Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-16T08:11:15.992Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-16T08:11:17.489Z] Merging remotes/origin/main commit 63928f2973ca38a899cb41cf0d65ddd086cb79a5 into PR head commit 1356e5933c5efa778c3bba5bfaf1528eefa7adbd [2024-10-16T08:11:17.766Z] Merge succeeded, producing 1356e5933c5efa778c3bba5bfaf1528eefa7adbd [2024-10-16T08:11:17.766Z] Checking out Revision 1356e5933c5efa778c3bba5bfaf1528eefa7adbd (PR-1639) [2024-10-16T08:11:16.786Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-16T08:11:16.836Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-16T08:11:16.838Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-16T08:11:16.858Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1639/head:refs/remotes/origin/PR-1639 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-16T08:11:17.500Z] > git config core.sparsecheckout # timeout=10 [2024-10-16T08:11:17.567Z] > git checkout -f 1356e5933c5efa778c3bba5bfaf1528eefa7adbd # timeout=10 [2024-10-16T08:11:17.670Z] > git remote # timeout=10 [2024-10-16T08:11:17.685Z] > git config --get remote.origin.url # timeout=10 [2024-10-16T08:11:17.696Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-16T08:11:17.714Z] > git merge 63928f2973ca38a899cb41cf0d65ddd086cb79a5 # timeout=10 [2024-10-16T08:11:17.737Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-16T08:11:17.765Z] > git config core.sparsecheckout # timeout=10 [2024-10-16T08:11:17.778Z] > git checkout -f 1356e5933c5efa778c3bba5bfaf1528eefa7adbd # timeout=10 [2024-10-16T08:11:19.184Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [build failed] [2024-10-16T08:11:19.184Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/application [build failed] [2024-10-16T08:11:19.184Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2024-10-16T08:11:19.184Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-16T08:11:19.184Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-16T08:11:19.184Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-16T08:11:19.184Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.032s coverage: 79.4% of statements [2024-10-16T08:11:19.184Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2024-10-16T08:11:19.184Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2024-10-16T08:11:19.184Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-16T08:11:19.184Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-16T08:11:19.184Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-16T08:11:19.184Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.042s coverage: 86.0% of statements [2024-10-16T08:11:19.184Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2024-10-16T08:11:19.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-16T08:11:19.184Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2024-10-16T08:11:19.184Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [build failed] [2024-10-16T08:11:19.184Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-16T08:11:19.184Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-16T08:11:21.343Z] Commit message: "feat: create commandValue with nil value" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-16T08:11:22.474Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.543s coverage: 44.6% of statements [2024-10-16T08:11:22.474Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.096s coverage: 88.3% of statements [2024-10-16T08:11:22.474Z] FAIL [2024-10-16T08:11:22.970Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-16T08:11:22.970Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-16T08:11:22.970Z] Dload Upload Total Spent Left Speed [2024-10-16T08:11:22.970Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh [2024-10-16T08:11:23.300Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-16T08:11:23.617Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-16T08:11:23.617Z] + sudo tee /etc/docker/daemon.new [2024-10-16T08:11:23.617Z] { [2024-10-16T08:11:23.617Z] "registry-mirrors": [ [2024-10-16T08:11:23.617Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-16T08:11:23.617Z] ], [2024-10-16T08:11:23.617Z] "bip": "10.250.0.254/24", [2024-10-16T08:11:23.617Z] "hosts": [ [2024-10-16T08:11:23.617Z] "tcp://0.0.0.0:5555", [2024-10-16T08:11:23.617Z] "unix:///var/run/docker.sock" [2024-10-16T08:11:23.617Z] ], [2024-10-16T08:11:23.617Z] "mtu": 1458, [2024-10-16T08:11:23.617Z] "selinux-enabled": true, [2024-10-16T08:11:23.617Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-16T08:11:23.617Z] } [Pipeline] sh [2024-10-16T08:11:23.934Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-16T08:11:24.256Z] + sudo service docker restart [2024-10-16T08:11:24.379Z] make: *** [Makefile:51: unittest] Error 1 [Pipeline] } [2024-10-16T08:11:24.388Z] $ docker stop --time=1 5c73083a896648ca4edb0c0acb7e2204cc4488073ab485d2b8291af9722b8ff6 [2024-10-16T08:11:27.590Z] $ docker rm -f --volumes 5c73083a896648ca4edb0c0acb7e2204cc4488073ab485d2b8291af9722b8ff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:11:28.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-16T08:11:28.345Z] [2024-10-16T08:11:28.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:11:28.647Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-16T08:11:28.647Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-16T08:11:28.647Z] 5eb5b503b376: Pulling fs layer [2024-10-16T08:11:28.647Z] 5c69ac0246d0: Pulling fs layer [2024-10-16T08:11:28.647Z] ec43610c2a17: Pulling fs layer [2024-10-16T08:11:28.647Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-16T08:11:28.647Z] 33b1e0a273af: Pulling fs layer [2024-10-16T08:11:28.647Z] 5d3b04190fa2: Pulling fs layer [2024-10-16T08:11:28.647Z] 2f39f015ded8: Pulling fs layer [2024-10-16T08:11:28.647Z] 33b1e0a273af: Waiting [2024-10-16T08:11:28.647Z] 5d3b04190fa2: Waiting [2024-10-16T08:11:28.647Z] 2f39f015ded8: Waiting [2024-10-16T08:11:28.647Z] 3a2ae6a8a46f: Waiting [2024-10-16T08:11:28.647Z] 5c69ac0246d0: Verifying Checksum [2024-10-16T08:11:28.647Z] 5c69ac0246d0: Download complete [2024-10-16T08:11:28.906Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-16T08:11:28.906Z] 3a2ae6a8a46f: Download complete [2024-10-16T08:11:28.906Z] 33b1e0a273af: Verifying Checksum [2024-10-16T08:11:28.906Z] 33b1e0a273af: Download complete [2024-10-16T08:11:28.906Z] 5d3b04190fa2: Download complete [2024-10-16T08:11:28.906Z] ec43610c2a17: Verifying Checksum [2024-10-16T08:11:28.906Z] 5eb5b503b376: Verifying Checksum [2024-10-16T08:11:28.906Z] 5eb5b503b376: Download complete [2024-10-16T08:11:29.471Z] 2f39f015ded8: Download complete [2024-10-16T08:11:30.039Z] 5eb5b503b376: Pull complete [2024-10-16T08:11:30.297Z] 5c69ac0246d0: Pull complete [2024-10-16T08:11:30.555Z] ec43610c2a17: Pull complete [2024-10-16T08:11:30.814Z] 3a2ae6a8a46f: Pull complete [2024-10-16T08:11:31.072Z] 33b1e0a273af: Pull complete [2024-10-16T08:11:31.072Z] 5d3b04190fa2: Pull complete [2024-10-16T08:11:35.256Z] 2f39f015ded8: Pull complete [2024-10-16T08:11:35.256Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-16T08:11:35.256Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-16T08:11:35.256Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-16T08:11:35.356Z] prd-ubuntu20.04-docker-8c-8g-22916 does not seem to be running inside a container [2024-10-16T08:11:35.382Z] $ 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-1639 -v /w/workspace/gexfoundry_device-sdk-go_PR-1639:/w/workspace/gexfoundry_device-sdk-go_PR-1639:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-16T08:11:38.711Z] $ docker top c128b54d52d65d9851128a1d4f59cc8f97db6e5129db496997985c865d6c2b09 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:11:39.130Z] ---> job-cost.sh [2024-10-16T08:11:39.130Z] lf-activate-venv: SKIPPING [2024-10-16T08:11:39.130Z] INFO: No Stack... [2024-10-16T08:11:39.698Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-16T08:11:39.958Z] INFO: Archiving Costs [Pipeline] sh [2024-10-16T08:11:40.249Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives/cost.csv [2024-10-16T08:11:40.249Z] + cut -d, -f6 [Pipeline] lock [2024-10-16T08:11:40.262Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-2-stack-cost] [2024-10-16T08:11:40.270Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1639-2-stack-cost] did not exist. Created. [2024-10-16T08:11:40.278Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-16T08:11:40.583Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-16T08:11:40.632Z] Stashed 1 file(s) [Pipeline] } [2024-10-16T08:11:40.641Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-16T08:11:40.665Z] $ docker stop --time=1 c128b54d52d65d9851128a1d4f59cc8f97db6e5129db496997985c865d6c2b09 [2024-10-16T08:11:41.805Z] $ docker rm -f --volumes c128b54d52d65d9851128a1d4f59cc8f97db6e5129db496997985c865d6c2b09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-16T08:11:41.946Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-16T08:11:42.493Z] provisioning config files... [2024-10-16T08:11:42.518Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config12909631122779111397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:11:42.952Z] ---> ****-login.sh [2024-10-16T08:11:42.952Z] nexus3.edgexfoundry.org:10001 [2024-10-16T08:11:43.221Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:11:43.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:11:43.489Z] Configure a credential helper to remove this warning. See [2024-10-16T08:11:43.489Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:11:43.489Z] [2024-10-16T08:11:43.489Z] Login Succeeded [2024-10-16T08:11:43.489Z] nexus3.edgexfoundry.org:10002 [2024-10-16T08:11:43.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:11:43.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:11:43.759Z] Configure a credential helper to remove this warning. See [2024-10-16T08:11:43.759Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:11:43.759Z] [2024-10-16T08:11:43.759Z] Login Succeeded [2024-10-16T08:11:43.759Z] nexus3.edgexfoundry.org:10003 [2024-10-16T08:11:44.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:11:44.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:11:44.026Z] Configure a credential helper to remove this warning. See [2024-10-16T08:11:44.027Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:11:44.027Z] [2024-10-16T08:11:44.027Z] Login Succeeded [2024-10-16T08:11:44.298Z] nexus3.edgexfoundry.org:10004 [2024-10-16T08:11:44.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:11:44.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:11:44.571Z] Configure a credential helper to remove this warning. See [2024-10-16T08:11:44.571Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:11:44.571Z] [2024-10-16T08:11:44.571Z] Login Succeeded [2024-10-16T08:11:44.571Z] ****.io [2024-10-16T08:11:44.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-16T08:11:44.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-16T08:11:44.841Z] Configure a credential helper to remove this warning. See [2024-10-16T08:11:44.841Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-16T08:11:44.841Z] [2024-10-16T08:11:44.841Z] Login Succeeded [2024-10-16T08:11:44.841Z] ---> ****-login.sh ends [Pipeline] } [2024-10-16T08:11:44.854Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-16T08:11:45.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-16T08:11:45.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-16T08:11:45.197Z] ========================================================= [2024-10-16T08:11:45.197Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-16T08:11:45.197Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:11:45.552Z] + 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.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-16T08:11:46.134Z] Sending build context to Docker daemon 13.17MB [2024-10-16T08:11:46.134Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-16T08:11:46.134Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-16T08:11:46.134Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-16T08:11:46.134Z] cf04c63912e1: Pulling fs layer [2024-10-16T08:11:46.134Z] 55b35a11ae5e: Pulling fs layer [2024-10-16T08:11:46.134Z] a37a00ec5f00: Pulling fs layer [2024-10-16T08:11:46.134Z] 50b3750afda1: Pulling fs layer [2024-10-16T08:11:46.134Z] 4f4fb700ef54: Pulling fs layer [2024-10-16T08:11:46.134Z] 80978eb59214: Pulling fs layer [2024-10-16T08:11:46.134Z] c9f46d7d2bd2: Pulling fs layer [2024-10-16T08:11:46.134Z] c5a475d317c9: Pulling fs layer [2024-10-16T08:11:46.134Z] 80978eb59214: Waiting [2024-10-16T08:11:46.134Z] c9f46d7d2bd2: Waiting [2024-10-16T08:11:46.134Z] c5a475d317c9: Waiting [2024-10-16T08:11:46.134Z] 50b3750afda1: Waiting [2024-10-16T08:11:46.134Z] 4f4fb700ef54: Waiting [2024-10-16T08:11:46.134Z] 55b35a11ae5e: Verifying Checksum [2024-10-16T08:11:46.134Z] 55b35a11ae5e: Download complete [2024-10-16T08:11:46.134Z] 50b3750afda1: Verifying Checksum [2024-10-16T08:11:46.134Z] 50b3750afda1: Download complete [2024-10-16T08:11:46.401Z] 4f4fb700ef54: Verifying Checksum [2024-10-16T08:11:46.401Z] 4f4fb700ef54: Download complete [2024-10-16T08:11:46.401Z] 80978eb59214: Verifying Checksum [2024-10-16T08:11:46.401Z] 80978eb59214: Download complete [2024-10-16T08:11:46.401Z] cf04c63912e1: Verifying Checksum [2024-10-16T08:11:46.401Z] cf04c63912e1: Download complete [2024-10-16T08:11:46.670Z] c5a475d317c9: Verifying Checksum [2024-10-16T08:11:46.670Z] c5a475d317c9: Download complete [2024-10-16T08:11:47.256Z] cf04c63912e1: Pull complete [2024-10-16T08:11:47.838Z] 55b35a11ae5e: Pull complete [2024-10-16T08:11:48.104Z] a37a00ec5f00: Verifying Checksum [2024-10-16T08:11:48.104Z] a37a00ec5f00: Download complete [2024-10-16T08:11:49.062Z] c9f46d7d2bd2: Verifying Checksum [2024-10-16T08:11:49.062Z] c9f46d7d2bd2: Download complete [2024-10-16T08:12:01.368Z] a37a00ec5f00: Pull complete [2024-10-16T08:12:01.368Z] 50b3750afda1: Pull complete [2024-10-16T08:12:01.368Z] 4f4fb700ef54: Pull complete [2024-10-16T08:12:01.637Z] 80978eb59214: Pull complete [2024-10-16T08:12:09.912Z] c9f46d7d2bd2: Pull complete [2024-10-16T08:12:11.328Z] c5a475d317c9: Pull complete [2024-10-16T08:12:11.328Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-16T08:12:11.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-16T08:12:11.328Z] ---> be29e6b0f0d4 [2024-10-16T08:12:11.328Z] Step 3/10 : ARG MAKE=make build [2024-10-16T08:12:13.272Z] ---> Running in 22700f15fd29 [2024-10-16T08:12:13.272Z] Removing intermediate container 22700f15fd29 [2024-10-16T08:12:13.272Z] ---> 21f0515266aa [2024-10-16T08:12:13.272Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-16T08:12:13.272Z] ---> Running in a76a6ec1eaad [2024-10-16T08:12:13.540Z] Removing intermediate container a76a6ec1eaad [2024-10-16T08:12:13.540Z] ---> 402e43c5dfa0 [2024-10-16T08:12:13.540Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-16T08:12:13.540Z] ---> Running in 792698e4a10a [2024-10-16T08:12:13.809Z] Removing intermediate container 792698e4a10a [2024-10-16T08:12:13.809Z] ---> 6b6eec108600 [2024-10-16T08:12:13.809Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-16T08:12:14.077Z] ---> Running in d33feb359ded [2024-10-16T08:12:15.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-16T08:12:15.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-16T08:12:16.703Z] OK: 238 MiB in 54 packages [2024-10-16T08:12:17.286Z] Removing intermediate container d33feb359ded [2024-10-16T08:12:17.286Z] ---> ca3b8250f14c [2024-10-16T08:12:17.286Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-16T08:12:17.867Z] ---> b30410d32e7b [2024-10-16T08:12:17.867Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-16T08:12:17.867Z] ---> Running in bd29f4a4933d [2024-10-16T08:14:09.553Z] Removing intermediate container bd29f4a4933d [2024-10-16T08:14:09.553Z] ---> 093f04a437ba [2024-10-16T08:14:09.553Z] Step 9/10 : COPY . . [2024-10-16T08:14:09.553Z] ---> 35ea9fa40e55 [2024-10-16T08:14:09.553Z] Step 10/10 : RUN ${MAKE} [2024-10-16T08:14:09.553Z] ---> Running in c883a3f6fefe [2024-10-16T08:14:09.553Z] noop [2024-10-16T08:14:09.553Z] Removing intermediate container c883a3f6fefe [2024-10-16T08:14:09.553Z] ---> 9097ede28f4a [2024-10-16T08:14:09.553Z] Successfully built 9097ede28f4a [2024-10-16T08:14:09.553Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:14:09.918Z] + docker inspect -f . ci-base-image-arm64 [2024-10-16T08:14:09.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-16T08:14:10.148Z] prd-ubuntu20.04-docker-arm64-4c-16g-22917 does not seem to be running inside a container [2024-10-16T08:14:10.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-16T08:14:11.477Z] $ docker top d406581253881333ef4a3d4835870dac750c12a0d92325414ce14d5f6bf6d3ed -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-16T08:14:12.314Z] + go version [2024-10-16T08:14:12.314Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-16T08:14:12.330Z] $ docker stop --time=1 d406581253881333ef4a3d4835870dac750c12a0d92325414ce14d5f6bf6d3ed [2024-10-16T08:14:13.958Z] $ docker rm -f --volumes d406581253881333ef4a3d4835870dac750c12a0d92325414ce14d5f6bf6d3ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:14:14.533Z] + docker inspect -f . ci-base-image-arm64 [2024-10-16T08:14:14.533Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-16T08:14:14.730Z] prd-ubuntu20.04-docker-arm64-4c-16g-22917 does not seem to be running inside a container [2024-10-16T08:14:14.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-16T08:14:15.893Z] $ docker top a9bb588cec8b68f9d46fc0938a575312cc6c6b7a63d613564b84236acb54e245 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-16T08:14:16.412Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-10-16T08:14:17.022Z] + make test [2024-10-16T08:14:17.022Z] go test -race -coverprofile=coverage.out ./... [2024-10-16T08:15:03.841Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-16T08:17:10.965Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2024-10-16T08:17:10.965Z] internal/transformer/transform.go:149:18: undefined: dtos.NewNullReading [2024-10-16T08:18:32.761Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [build failed] [2024-10-16T08:18:32.761Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/application [build failed] [2024-10-16T08:18:32.761Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-16T08:18:32.761Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-16T08:18:32.761Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-16T08:18:32.761Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2024-10-16T08:18:40.947Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.161s coverage: 79.4% of statements [2024-10-16T08:18:53.232Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-16T08:18:53.232Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-16T08:18:54.189Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.276s coverage: 86.0% of statements [2024-10-16T08:18:55.149Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2024-10-16T08:18:55.149Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2024-10-16T08:18:55.149Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-16T08:18:59.382Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2024-10-16T08:18:59.382Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-16T08:18:59.382Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-16T08:18:59.382Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-16T08:19:02.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.460s coverage: 44.6% of statements [2024-10-16T08:19:03.293Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2024-10-16T08:19:03.293Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [build failed] [2024-10-16T08:19:04.692Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.346s coverage: 88.3% of statements [2024-10-16T08:19:04.692Z] FAIL [2024-10-16T08:19:06.099Z] make: *** [Makefile:51: unittest] Error 1 [Pipeline] } [2024-10-16T08:19:06.119Z] $ docker stop --time=1 a9bb588cec8b68f9d46fc0938a575312cc6c6b7a63d613564b84236acb54e245 [2024-10-16T08:19:08.094Z] $ docker rm -f --volumes a9bb588cec8b68f9d46fc0938a575312cc6c6b7a63d613564b84236acb54e245 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:19:09.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-16T08:19:09.889Z] [2024-10-16T08:19:09.889Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:19:10.217Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-16T08:19:10.486Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-16T08:19:10.486Z] 8998bd30e6a1: Pulling fs layer [2024-10-16T08:19:10.486Z] 04944245beec: Pulling fs layer [2024-10-16T08:19:10.486Z] 699f458cf7ca: Pulling fs layer [2024-10-16T08:19:10.486Z] 765212b225bb: Pulling fs layer [2024-10-16T08:19:10.486Z] f23df028b6ca: Pulling fs layer [2024-10-16T08:19:10.486Z] d65c8cfc05b1: Pulling fs layer [2024-10-16T08:19:10.486Z] 2437ff75d9bd: Pulling fs layer [2024-10-16T08:19:10.486Z] f23df028b6ca: Waiting [2024-10-16T08:19:10.486Z] d65c8cfc05b1: Waiting [2024-10-16T08:19:10.486Z] 765212b225bb: Waiting [2024-10-16T08:19:10.486Z] 2437ff75d9bd: Waiting [2024-10-16T08:19:10.486Z] 04944245beec: Verifying Checksum [2024-10-16T08:19:10.486Z] 04944245beec: Download complete [2024-10-16T08:19:10.486Z] 765212b225bb: Verifying Checksum [2024-10-16T08:19:10.486Z] 765212b225bb: Download complete [2024-10-16T08:19:10.486Z] f23df028b6ca: Verifying Checksum [2024-10-16T08:19:10.486Z] f23df028b6ca: Download complete [2024-10-16T08:19:10.752Z] d65c8cfc05b1: Verifying Checksum [2024-10-16T08:19:10.752Z] d65c8cfc05b1: Download complete [2024-10-16T08:19:10.752Z] 699f458cf7ca: Verifying Checksum [2024-10-16T08:19:10.752Z] 699f458cf7ca: Download complete [2024-10-16T08:19:11.336Z] 8998bd30e6a1: Verifying Checksum [2024-10-16T08:19:11.336Z] 8998bd30e6a1: Download complete [2024-10-16T08:19:13.921Z] 2437ff75d9bd: Verifying Checksum [2024-10-16T08:19:13.921Z] 2437ff75d9bd: Download complete [2024-10-16T08:19:15.869Z] 8998bd30e6a1: Pull complete [2024-10-16T08:19:16.453Z] 04944245beec: Pull complete [2024-10-16T08:19:17.861Z] 699f458cf7ca: Pull complete [2024-10-16T08:19:18.128Z] 765212b225bb: Pull complete [2024-10-16T08:19:19.089Z] f23df028b6ca: Pull complete [2024-10-16T08:19:19.089Z] d65c8cfc05b1: Pull complete [2024-10-16T08:19:37.295Z] 2437ff75d9bd: Pull complete [2024-10-16T08:19:37.295Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-16T08:19:37.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-16T08:19:37.295Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-16T08:19:37.512Z] prd-ubuntu20.04-docker-arm64-4c-16g-22917 does not seem to be running inside a container [2024-10-16T08:19:37.573Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-16T08:19:40.032Z] $ docker top d5571fa19aa90fa934a8671ebc38c2ac6dd02a06ee216b79358b71d968ac0387 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:19:40.886Z] ---> job-cost.sh [2024-10-16T08:19:40.886Z] lf-activate-venv: SKIPPING [2024-10-16T08:19:40.886Z] INFO: No Stack... [2024-10-16T08:19:41.464Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-16T08:19:42.042Z] INFO: Archiving Costs [Pipeline] sh [2024-10-16T08:19:42.366Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-10-16T08:19:42.367Z] + cut -d, -f6 [Pipeline] lock [2024-10-16T08:19:42.665Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-2-stack-cost] [2024-10-16T08:19:42.677Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1639-2-stack-cost] did not exist. Created. [2024-10-16T08:19:42.684Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-16T08:19:43.354Z] /w/workspace/device-sdk-go/2@tmp/durable-b2f80b71/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-16T08:19:43.990Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-16T08:19:44.017Z] Warning: overwriting stash ‘stack-cost’ [2024-10-16T08:19:44.479Z] Stashed 1 file(s) [Pipeline] } [2024-10-16T08:19:44.492Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-16T08:19:44.523Z] $ docker stop --time=1 d5571fa19aa90fa934a8671ebc38c2ac6dd02a06ee216b79358b71d968ac0387 [2024-10-16T08:19:45.991Z] $ docker rm -f --volumes d5571fa19aa90fa934a8671ebc38c2ac6dd02a06ee216b79358b71d968ac0387 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-16T08:19:46.323Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-16T08:19:47.206Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives ] [2024-10-16T08:19:47.206Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives [2024-10-16T08:19:47.206Z] total 16 [2024-10-16T08:19:47.206Z] drwxr-xr-x 3 root root 4096 Oct 16 08:11 . [2024-10-16T08:19:47.206Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 16 08:11 .. [2024-10-16T08:19:47.206Z] drwxr-xr-x 2 root root 4096 Oct 16 08:11 cost [2024-10-16T08:19:47.206Z] -rw-r--r-- 1 root root 86 Oct 16 08:11 cost.csv [2024-10-16T08:19:47.206Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives [2024-10-16T08:19:47.206Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives [2024-10-16T08:19:47.206Z] total 16 [2024-10-16T08:19:47.206Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 16 08:11 . [2024-10-16T08:19:47.206Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 16 08:11 .. [2024-10-16T08:19:47.206Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 16 08:11 cost [2024-10-16T08:19:47.206Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 16 08:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:19:47.500Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:19:48.365Z] ---> package-listing.sh [2024-10-16T08:19:48.365Z] ++ facter osfamily [2024-10-16T08:19:48.365Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-16T08:19:48.624Z] + OS_FAMILY=debian [2024-10-16T08:19:48.624Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1639 [2024-10-16T08:19:48.624Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-16T08:19:48.624Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-16T08:19:48.624Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-16T08:19:48.624Z] + PACKAGES=/tmp/packages_start.txt [2024-10-16T08:19:48.624Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1639 ']' [2024-10-16T08:19:48.624Z] + PACKAGES=/tmp/packages_end.txt [2024-10-16T08:19:48.624Z] + case "${OS_FAMILY}" in [2024-10-16T08:19:48.624Z] + dpkg -l [2024-10-16T08:19:48.624Z] + grep '^ii' [2024-10-16T08:19:48.624Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-16T08:19:48.624Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-16T08:19:48.624Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-16T08:19:48.624Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1639 ']' [2024-10-16T08:19:48.624Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives/ [2024-10-16T08:19:48.624Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives/ [Pipeline] echo [2024-10-16T08:19:48.636Z] 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-1639/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-16T08:19:48.914Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-16T08:19:49.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-16T08:19:49.478Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-16T08:19:49.555Z] prd-ubuntu20.04-docker-8c-8g-22916 does not seem to be running inside a container [2024-10-16T08:19:49.668Z] $ 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-1639/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-1639 -v /w/workspace/gexfoundry_device-sdk-go_PR-1639:/w/workspace/gexfoundry_device-sdk-go_PR-1639:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-16T08:19:49.865Z] $ docker top 3f132b816b0fa9a829c5b03687895ba78a6a2a9f4341d681df351b8796c8c7b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-16T08:19:50.262Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-16T08:19:50.546Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-16T08:19:50.830Z] + ls /var/log/sa-host [2024-10-16T08:19:50.830Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-16T08:19:50.982Z] provisioning config files... [2024-10-16T08:19:50.990Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/config3895510516219686046tmp [Pipeline] { [Pipeline] echo [2024-10-16T08:19:51.006Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:19:51.286Z] ---> create-netrc.sh [Pipeline] } [2024-10-16T08:19:51.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:19:51.622Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-16T08:19:51.631Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:19:51.915Z] ---> sudo-logs.sh [2024-10-16T08:19:51.915Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-16T08:19:51.944Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:19:52.225Z] ---> job-cost.sh [2024-10-16T08:19:52.225Z] lf-activate-venv: SKIPPING [2024-10-16T08:19:52.225Z] DEBUG: total: 0.2199999988079071 [2024-10-16T08:19:52.225Z] INFO: Retrieving Stack Cost... [2024-10-16T08:19:52.484Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-16T08:19:53.056Z] INFO: Archiving Costs [Pipeline] echo [2024-10-16T08:19:53.071Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-16T08:19:53.354Z] ---> logs-deploy.sh [2024-10-16T08:19:53.355Z] lf-activate-venv: SKIPPING [2024-10-16T08:19:53.355Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1639/2 [2024-10-16T08:19:53.355Z] INFO: archiving workspace using pattern(s): [2024-10-16T08:19:54.292Z] Archives upload complete. [2024-10-16T08:19:54.292Z] INFO: archiving logs to Nexus