Pull request #1428 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c+68f2c3776b57ed1a5eef5a5e3525a947923e1899 (f5f454e8c64cb7113edce03079256d141a972c42) 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-ssh2625452499579771799.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4106227683539497272.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6974358617133630035.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16779195279186172615.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7963336019484425305.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1428/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1428/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1211739256226206312.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9245 in /w/workspace/gexfoundry_device-sdk-go_PR-1428 [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-1428 # 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/1428/head:refs/remotes/origin/PR-1428 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 68f2c3776b57ed1a5eef5a5e3525a947923e1899 into PR head commit 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c Merge succeeded, producing 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c Checking out Revision 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c (PR-1428) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c # 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 68f2c3776b57ed1a5eef5a5e3525a947923e1899 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c # timeout=10 [Pipeline] timeout [2023-04-21T04:59:17.123Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-21T04:59:17.311Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-21T04:59:17.415Z] ========================================================= [2023-04-21T04:59:17.416Z] EdgeX Global Pipelines Version Info [2023-04-21T04:59:17.416Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-21T04:59:18.172Z] ------------------- [2023-04-21T04:59:18.172Z] stable info: [2023-04-21T04:59:18.172Z] ------------------- [2023-04-21T04:59:18.172Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-21T04:59:18.172Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-21T04:59:18.172Z] Message: update stable to v1.0.248 [2023-04-21T04:59:18.745Z] ------------------- [2023-04-21T04:59:18.745Z] experimental info: [2023-04-21T04:59:18.745Z] ------------------- [2023-04-21T04:59:18.745Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-21T04:59:18.745Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-21T04:59:18.745Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-21T04:59:19.054Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-21T04:59:19.095Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-21T04:59:19.133Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-21T04:59:19.175Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-21T04:59:19.212Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-21T04:59:19.249Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-21T04:59:19.291Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-21T04:59:19.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-21T04:59:19.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-21T04:59:19.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-21T04:59:19.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-21T04:59:19.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-21T04:59:19.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-21T04:59:19.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-21T04:59:19.646Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-21T04:59:19.690Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-21T04:59:19.739Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-21T04:59:19.782Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-21T04:59:19.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-21T04:59:19.864Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-21T04:59:19.901Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-21T04:59:19.942Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-21T04:59:19.983Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-21T04:59:20.023Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-21T04:59:20.066Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-21T04:59:20.103Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-21T04:59:20.149Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-21T04:59:20.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1428 [Pipeline] echo [2023-04-21T04:59:20.230Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1428 [Pipeline] echo [2023-04-21T04:59:20.273Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1428 [Pipeline] echo [2023-04-21T04:59:20.312Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c [Pipeline] echo [2023-04-21T04:59:20.350Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 81afdca [Pipeline] echo [2023-04-21T04:59:20.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T04:59:20.509Z] provisioning config files... [2023-04-21T04:59:20.539Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp/config13849179465729561059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T04:59:20.884Z] ---> docker-login.sh [2023-04-21T04:59:20.884Z] nexus3.edgexfoundry.org:10001 [2023-04-21T04:59:21.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:21.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:21.146Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:21.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:21.146Z] [2023-04-21T04:59:21.146Z] Login Succeeded [2023-04-21T04:59:21.146Z] nexus3.edgexfoundry.org:10002 [2023-04-21T04:59:21.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:21.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:21.408Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:21.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:21.408Z] [2023-04-21T04:59:21.408Z] Login Succeeded [2023-04-21T04:59:21.408Z] nexus3.edgexfoundry.org:10003 [2023-04-21T04:59:21.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:21.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:21.408Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:21.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:21.408Z] [2023-04-21T04:59:21.408Z] Login Succeeded [2023-04-21T04:59:21.408Z] nexus3.edgexfoundry.org:10004 [2023-04-21T04:59:21.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:21.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:21.669Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:21.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:21.669Z] [2023-04-21T04:59:21.669Z] Login Succeeded [2023-04-21T04:59:21.669Z] docker.io [2023-04-21T04:59:21.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:21.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:21.930Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:21.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:21.930Z] [2023-04-21T04:59:21.930Z] Login Succeeded [2023-04-21T04:59:21.930Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T04:59:21.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-21T04:59:22.631Z] + git rev-list -1 --merges 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c~1..81afdca927d1c641bc92c8b7f5f8c08cd2fc455c [Pipeline] echo [2023-04-21T04:59:22.700Z] -----------> git rev-list -1 --merges 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c~1..81afdca927d1c641bc92c8b7f5f8c08cd2fc455c 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c [false] [Pipeline] sh [2023-04-21T04:59:23.012Z] + git log --format=format:%s -1 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c [Pipeline] echo [2023-04-21T04:59:23.049Z] ========================================================= [2023-04-21T04:59:23.049Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-21T04:59:23.049Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-21T04:59:23.494Z] + git log --format=format:%s -1 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c [Pipeline] echo [2023-04-21T04:59:23.527Z] [semverPrep] GIT_COMMIT: 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-21T04:59:23.557Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-21T04:59:23.967Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-21T04:59:23.967Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-21T04:59:23.967Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-21T04:59:23.967Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-21T04:59:23.967Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-21T04:59:23.967Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-21T04:59:23.967Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T04:59:24.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T04:59:24.457Z] [2023-04-21T04:59:24.457Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T04:59:24.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T04:59:24.825Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-21T04:59:24.825Z] b85a868b505f: Pulling fs layer [2023-04-21T04:59:24.825Z] e2be974225ed: Pulling fs layer [2023-04-21T04:59:24.825Z] 339a4e72a1f5: Pulling fs layer [2023-04-21T04:59:24.825Z] 988bab9f4d93: Pulling fs layer [2023-04-21T04:59:24.825Z] 1469e6f7b9e6: Pulling fs layer [2023-04-21T04:59:24.825Z] eaf3925da568: Pulling fs layer [2023-04-21T04:59:24.825Z] bab4dde63d76: Pulling fs layer [2023-04-21T04:59:24.825Z] bde34c3a00c8: Pulling fs layer [2023-04-21T04:59:24.825Z] b352a97aabf1: Pulling fs layer [2023-04-21T04:59:24.825Z] 4872d77fe225: Pulling fs layer [2023-04-21T04:59:24.825Z] 5851b861e8e6: Pulling fs layer [2023-04-21T04:59:24.825Z] 988bab9f4d93: Waiting [2023-04-21T04:59:24.825Z] 1469e6f7b9e6: Waiting [2023-04-21T04:59:24.825Z] eaf3925da568: Waiting [2023-04-21T04:59:24.825Z] bab4dde63d76: Waiting [2023-04-21T04:59:24.825Z] bde34c3a00c8: Waiting [2023-04-21T04:59:24.825Z] b352a97aabf1: Waiting [2023-04-21T04:59:24.825Z] 4872d77fe225: Waiting [2023-04-21T04:59:24.825Z] 5851b861e8e6: Waiting [2023-04-21T04:59:24.825Z] e2be974225ed: Verifying Checksum [2023-04-21T04:59:24.825Z] e2be974225ed: Download complete [2023-04-21T04:59:24.825Z] 988bab9f4d93: Download complete [2023-04-21T04:59:24.825Z] 1469e6f7b9e6: Verifying Checksum [2023-04-21T04:59:24.825Z] 1469e6f7b9e6: Download complete [2023-04-21T04:59:24.825Z] 339a4e72a1f5: Verifying Checksum [2023-04-21T04:59:24.825Z] 339a4e72a1f5: Download complete [2023-04-21T04:59:24.825Z] eaf3925da568: Verifying Checksum [2023-04-21T04:59:24.825Z] eaf3925da568: Download complete [2023-04-21T04:59:24.825Z] bde34c3a00c8: Verifying Checksum [2023-04-21T04:59:24.825Z] bde34c3a00c8: Download complete [2023-04-21T04:59:25.084Z] 4872d77fe225: Verifying Checksum [2023-04-21T04:59:25.084Z] 4872d77fe225: Download complete [2023-04-21T04:59:25.084Z] 5851b861e8e6: Verifying Checksum [2023-04-21T04:59:25.084Z] b85a868b505f: Download complete [2023-04-21T04:59:25.344Z] bab4dde63d76: Verifying Checksum [2023-04-21T04:59:25.344Z] bab4dde63d76: Download complete [2023-04-21T04:59:26.281Z] b85a868b505f: Pull complete [2023-04-21T04:59:26.541Z] e2be974225ed: Pull complete [2023-04-21T04:59:26.805Z] 339a4e72a1f5: Pull complete [2023-04-21T04:59:26.805Z] 988bab9f4d93: Pull complete [2023-04-21T04:59:27.067Z] 1469e6f7b9e6: Pull complete [2023-04-21T04:59:27.328Z] eaf3925da568: Pull complete [2023-04-21T04:59:29.233Z] bab4dde63d76: Pull complete [2023-04-21T04:59:29.233Z] bde34c3a00c8: Pull complete [2023-04-21T04:59:29.233Z] b352a97aabf1: Pull complete [2023-04-21T04:59:29.233Z] 4872d77fe225: Pull complete [2023-04-21T04:59:29.233Z] 5851b861e8e6: Pull complete [2023-04-21T04:59:29.233Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-21T04:59:29.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-21T04:59:29.233Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T04:59:29.466Z] prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container [2023-04-21T04:59:29.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1428 -v /w/workspace/gexfoundry_device-sdk-go_PR-1428:/w/workspace/gexfoundry_device-sdk-go_PR-1428:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-21T04:59:33.634Z] $ docker top ab23cb92781714fbb8f039c9a22d30230b098aa33c8e7ccd5750382d16fb7a7d -eo pid,comm [2023-04-21T04:59:33.686Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-21T04:59:33.686Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-21T04:59:33.818Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-21T04:59:33.818Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-21T04:59:33.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-21T04:59:33.942Z] $ docker exec ab23cb92781714fbb8f039c9a22d30230b098aa33c8e7ccd5750382d16fb7a7d ssh-agent [2023-04-21T04:59:34.038Z] SSH_AUTH_SOCK=/tmp/ssh-kL8qBiWnMSna/agent.32 [2023-04-21T04:59:34.039Z] SSH_AGENT_PID=38 [2023-04-21T04:59:34.047Z] Running ssh-add (command line suppressed) [2023-04-21T04:59:34.158Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp/private_key_1132249242318506631.key (/w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp/private_key_1132249242318506631.key) [2023-04-21T04:59:34.172Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-21T04:59:34.503Z] + git tag --points-at HEAD [Pipeline] } [2023-04-21T04:59:34.532Z] $ docker exec --env ******** --env ******** ab23cb92781714fbb8f039c9a22d30230b098aa33c8e7ccd5750382d16fb7a7d ssh-agent -k [2023-04-21T04:59:34.641Z] unset SSH_AUTH_SOCK; [2023-04-21T04:59:34.642Z] unset SSH_AGENT_PID; [2023-04-21T04:59:34.642Z] echo Agent pid 38 killed; [2023-04-21T04:59:34.646Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-21T04:59:34.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-21T04:59:34.732Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-21T04:59:34.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-21T04:59:34.857Z] $ docker exec ab23cb92781714fbb8f039c9a22d30230b098aa33c8e7ccd5750382d16fb7a7d ssh-agent [2023-04-21T04:59:34.981Z] SSH_AUTH_SOCK=/tmp/ssh-BHN18arfTJPh/agent.70 [2023-04-21T04:59:34.981Z] SSH_AGENT_PID=76 [2023-04-21T04:59:34.987Z] Running ssh-add (command line suppressed) [2023-04-21T04:59:35.096Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp/private_key_12567588672959921626.key (/w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp/private_key_12567588672959921626.key) [2023-04-21T04:59:35.115Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-21T04:59:35.452Z] + git semver init [2023-04-21T04:59:35.713Z] 2023-04-21 04:59:35,625 [run_init] DEBUG init version:0.0.0 force:False [2023-04-21T04:59:35.713Z] 2023-04-21 04:59:35,626 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1428/.semver [2023-04-21T04:59:35.713Z] 2023-04-21 04:59:35,626 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1428/.semver [2023-04-21T04:59:35.713Z] 2023-04-21 04:59:35,627 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1428/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1428, universal_newlines=False, shell=None, istream=None) [2023-04-21T04:59:36.656Z] 2023-04-21 04:59:36,517 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1428/.git/info/exclude [2023-04-21T04:59:36.656Z] 2023-04-21 04:59:36,518 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1428/.semver/PR-1428 with force:False [2023-04-21T04:59:36.656Z] 2023-04-21 04:59:36,518 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1428/.semver/PR-1428 [2023-04-21T04:59:36.656Z] 2023-04-21 04:59:36,522 [execute] INFO git cat-file --batch-check [2023-04-21T04:59:36.656Z] 2023-04-21 04:59:36,523 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1428/.semver, universal_newlines=False, shell=None, istream=) [2023-04-21T04:59:36.656Z] 2023-04-21 04:59:36,528 [execute] INFO git cat-file --batch [2023-04-21T04:59:36.656Z] 2023-04-21 04:59:36,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1428/.semver, universal_newlines=False, shell=None, istream=) [2023-04-21T04:59:36.656Z] 2023-04-21 04:59:36,532 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1428/.semver/PR-1428 [2023-04-21T04:59:36.656Z] 0.0.0 [Pipeline] } [2023-04-21T04:59:36.684Z] $ docker exec --env ******** --env ******** ab23cb92781714fbb8f039c9a22d30230b098aa33c8e7ccd5750382d16fb7a7d ssh-agent -k [2023-04-21T04:59:36.782Z] unset SSH_AUTH_SOCK; [2023-04-21T04:59:36.782Z] unset SSH_AGENT_PID; [2023-04-21T04:59:36.782Z] echo Agent pid 76 killed; [2023-04-21T04:59:36.787Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-21T04:59:37.210Z] + git semver [Pipeline] } [2023-04-21T04:59:37.498Z] $ docker stop --time=1 ab23cb92781714fbb8f039c9a22d30230b098aa33c8e7ccd5750382d16fb7a7d [2023-04-21T04:59:38.790Z] $ docker rm -f --volumes ab23cb92781714fbb8f039c9a22d30230b098aa33c8e7ccd5750382d16fb7a7d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-21T04:59:39.187Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-21T04:59:39.457Z] Stashed 1 file(s) [Pipeline] echo [2023-04-21T04:59:39.482Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T04:59:40.075Z] provisioning config files... [2023-04-21T04:59:40.085Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp/config7524048953764153765tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T04:59:40.431Z] ---> docker-login.sh [2023-04-21T04:59:40.431Z] nexus3.edgexfoundry.org:10001 [2023-04-21T04:59:40.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:40.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:40.431Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:40.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:40.431Z] [2023-04-21T04:59:40.431Z] Login Succeeded [2023-04-21T04:59:40.431Z] nexus3.edgexfoundry.org:10002 [2023-04-21T04:59:40.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:40.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:40.431Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:40.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:40.431Z] [2023-04-21T04:59:40.431Z] Login Succeeded [2023-04-21T04:59:40.431Z] nexus3.edgexfoundry.org:10003 [2023-04-21T04:59:40.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:40.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:40.690Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:40.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:40.690Z] [2023-04-21T04:59:40.690Z] Login Succeeded [2023-04-21T04:59:40.690Z] nexus3.edgexfoundry.org:10004 [2023-04-21T04:59:40.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:40.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:40.690Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:40.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:40.690Z] [2023-04-21T04:59:40.690Z] Login Succeeded [2023-04-21T04:59:40.690Z] docker.io [2023-04-21T04:59:40.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T04:59:40.951Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T04:59:40.951Z] Configure a credential helper to remove this warning. See [2023-04-21T04:59:40.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T04:59:40.951Z] [2023-04-21T04:59:40.951Z] Login Succeeded [2023-04-21T04:59:40.951Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T04:59:40.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-21T04:59:41.153Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T04:59:41.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T04:59:41.224Z] ========================================================= [2023-04-21T04:59:41.224Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-21T04:59:41.224Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T04:59:41.686Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-21T04:59:41.686Z] Sending build context to Docker daemon 10.99MB [2023-04-21T04:59:41.686Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T04:59:41.686Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-21T04:59:41.686Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-21T04:59:41.686Z] 63b65145d645: Pulling fs layer [2023-04-21T04:59:41.686Z] a2d21d5440eb: Pulling fs layer [2023-04-21T04:59:41.686Z] 935e6c44a52c: Pulling fs layer [2023-04-21T04:59:41.686Z] 94cc34f8dd06: Pulling fs layer [2023-04-21T04:59:41.686Z] 30dea6a524f1: Pulling fs layer [2023-04-21T04:59:41.686Z] a2aff8979fd8: Pulling fs layer [2023-04-21T04:59:41.686Z] 6808be2612f2: Pulling fs layer [2023-04-21T04:59:41.686Z] f25807f1079a: Pulling fs layer [2023-04-21T04:59:41.686Z] a2aff8979fd8: Waiting [2023-04-21T04:59:41.686Z] 94cc34f8dd06: Waiting [2023-04-21T04:59:41.686Z] 6808be2612f2: Waiting [2023-04-21T04:59:41.686Z] 30dea6a524f1: Waiting [2023-04-21T04:59:41.686Z] f25807f1079a: Waiting [2023-04-21T04:59:41.946Z] a2d21d5440eb: Verifying Checksum [2023-04-21T04:59:41.946Z] a2d21d5440eb: Download complete [2023-04-21T04:59:41.946Z] 94cc34f8dd06: Verifying Checksum [2023-04-21T04:59:41.946Z] 94cc34f8dd06: Download complete [2023-04-21T04:59:41.946Z] 30dea6a524f1: Verifying Checksum [2023-04-21T04:59:41.946Z] 30dea6a524f1: Download complete [2023-04-21T04:59:41.946Z] 63b65145d645: Verifying Checksum [2023-04-21T04:59:41.946Z] 63b65145d645: Download complete [2023-04-21T04:59:41.946Z] a2aff8979fd8: Verifying Checksum [2023-04-21T04:59:41.946Z] a2aff8979fd8: Download complete [2023-04-21T04:59:41.946Z] 63b65145d645: Pull complete [2023-04-21T04:59:42.209Z] a2d21d5440eb: Pull complete [2023-04-21T04:59:42.468Z] f25807f1079a: Verifying Checksum [2023-04-21T04:59:42.468Z] f25807f1079a: Download complete [2023-04-21T04:59:42.468Z] 935e6c44a52c: Verifying Checksum [2023-04-21T04:59:42.468Z] 935e6c44a52c: Download complete [2023-04-21T04:59:42.725Z] 6808be2612f2: Download complete [2023-04-21T04:59:46.015Z] 935e6c44a52c: Pull complete [2023-04-21T04:59:46.015Z] 94cc34f8dd06: Pull complete [2023-04-21T04:59:46.015Z] 30dea6a524f1: Pull complete [2023-04-21T04:59:46.015Z] a2aff8979fd8: Pull complete [2023-04-21T04:59:48.553Z] 6808be2612f2: Pull complete [2023-04-21T04:59:49.121Z] f25807f1079a: Pull complete [2023-04-21T04:59:49.121Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-21T04:59:49.121Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-21T04:59:49.121Z] ---> 3b553350e43f [2023-04-21T04:59:49.121Z] Step 3/10 : ARG MAKE=make build [2023-04-21T04:59:54.892Z] Still waiting to schedule task [2023-04-21T04:59:54.892Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-21T04:59:55.734Z] ---> Running in 5c2d3c11433b [2023-04-21T04:59:55.734Z] Removing intermediate container 5c2d3c11433b [2023-04-21T04:59:55.734Z] ---> a8c1513e84e7 [2023-04-21T04:59:55.734Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-21T04:59:55.734Z] ---> Running in 9a4c403f21f4 [2023-04-21T04:59:55.734Z] Removing intermediate container 9a4c403f21f4 [2023-04-21T04:59:55.734Z] ---> f180c23ce357 [2023-04-21T04:59:55.734Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-21T04:59:55.734Z] ---> Running in 8c97fbf3aaa2 [2023-04-21T04:59:55.734Z] Removing intermediate container 8c97fbf3aaa2 [2023-04-21T04:59:55.734Z] ---> b8d3158ab6a3 [2023-04-21T04:59:55.734Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-21T04:59:55.734Z] ---> Running in 941dac39c05c [2023-04-21T04:59:55.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-21T04:59:55.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-21T04:59:56.251Z] OK: 265 MiB in 53 packages [2023-04-21T04:59:56.509Z] Removing intermediate container 941dac39c05c [2023-04-21T04:59:56.509Z] ---> 5df7b96259b2 [2023-04-21T04:59:56.509Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-21T04:59:56.768Z] ---> 32f2841a7a37 [2023-04-21T04:59:56.769Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T04:59:56.769Z] ---> Running in 774ba9420d44 [2023-04-21T05:00:35.510Z] Removing intermediate container 774ba9420d44 [2023-04-21T05:00:35.510Z] ---> 10bb2368be83 [2023-04-21T05:00:35.510Z] Step 9/10 : COPY . . [2023-04-21T05:00:35.510Z] ---> 2a11957fa931 [2023-04-21T05:00:35.510Z] Step 10/10 : RUN ${MAKE} [2023-04-21T05:00:35.510Z] ---> Running in d2abac2d9274 [2023-04-21T05:00:35.510Z] noop [2023-04-21T05:00:35.510Z] Removing intermediate container d2abac2d9274 [2023-04-21T05:00:35.510Z] ---> b7118d60040c [2023-04-21T05:00:35.510Z] Successfully built b7118d60040c [2023-04-21T05:00:35.510Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:00:35.990Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-21T05:00:35.990Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:00:36.143Z] prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container [2023-04-21T05:00:36.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1428 -v /w/workspace/gexfoundry_device-sdk-go_PR-1428:/w/workspace/gexfoundry_device-sdk-go_PR-1428:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-21T05:00:36.502Z] $ docker top 93d46309af707bb1ae76c04b0e6dc0724a723b5e123dd93d9275bc7237583d5b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T05:00:36.901Z] + go version [2023-04-21T05:00:36.901Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-21T05:00:36.935Z] $ docker stop --time=1 93d46309af707bb1ae76c04b0e6dc0724a723b5e123dd93d9275bc7237583d5b [2023-04-21T05:00:38.215Z] $ docker rm -f --volumes 93d46309af707bb1ae76c04b0e6dc0724a723b5e123dd93d9275bc7237583d5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:00:38.992Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-21T05:00:38.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:00:39.144Z] prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container [2023-04-21T05:00:39.179Z] $ 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-1428 -v /w/workspace/gexfoundry_device-sdk-go_PR-1428:/w/workspace/gexfoundry_device-sdk-go_PR-1428:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-21T05:00:39.529Z] $ docker top 1d72e2c0fc75ef3896d05c052e907a7baa3e0608bec13e11dcfbeac7bdbb7729 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T05:00:39.909Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1428 [Pipeline] fileExists [Pipeline] sh [2023-04-21T05:00:40.265Z] + make test [2023-04-21T05:00:40.265Z] go test -race -coverprofile=coverage.out ./... [2023-04-21T05:00:46.832Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-21T05:00:59.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-21T05:00:59.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-21T05:00:59.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-21T05:00:59.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-21T05:00:59.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-21T05:01:00.114Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.050s coverage: 27.6% of statements [2023-04-21T05:01:00.114Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-21T05:01:00.114Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-21T05:01:00.114Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging.test] [2023-04-21T05:01:00.114Z] internal/controller/messaging/validation_test.go:123:50: undefined: types.ContentTypeText [2023-04-21T05:01:00.114Z] internal/controller/messaging/validation_test.go:128:50: undefined: types.ContentTypeJSON [2023-04-21T05:01:00.114Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.049s coverage: 80.2% of statements [2023-04-21T05:01:00.416Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements [2023-04-21T05:01:00.674Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-21T05:01:00.674Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-21T05:01:00.933Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.100s coverage: 77.5% of statements [2023-04-21T05:01:00.933Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-04-21T05:01:01.193Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-21T05:01:01.193Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-21T05:01:01.452Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-04-21T05:01:01.452Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.110s coverage: 89.2% of statements [2023-04-21T05:01:01.710Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-21T05:01:01.710Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-04-21T05:01:01.710Z] FAIL [2023-04-21T05:01:01.969Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-04-21T05:01:02.017Z] $ docker stop --time=1 1d72e2c0fc75ef3896d05c052e907a7baa3e0608bec13e11dcfbeac7bdbb7729 [2023-04-21T05:01:04.822Z] $ docker rm -f --volumes 1d72e2c0fc75ef3896d05c052e907a7baa3e0608bec13e11dcfbeac7bdbb7729 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:01:06.026Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T05:01:06.026Z] [2023-04-21T05:01:06.026Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:01:06.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T05:01:06.405Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-21T05:01:06.405Z] 5eb5b503b376: Pulling fs layer [2023-04-21T05:01:06.405Z] 5c69ac0246d0: Pulling fs layer [2023-04-21T05:01:06.405Z] ec43610c2a17: Pulling fs layer [2023-04-21T05:01:06.405Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-21T05:01:06.405Z] 33b1e0a273af: Pulling fs layer [2023-04-21T05:01:06.405Z] 5d3b04190fa2: Pulling fs layer [2023-04-21T05:01:06.405Z] 2f39f015ded8: Pulling fs layer [2023-04-21T05:01:06.405Z] 33b1e0a273af: Waiting [2023-04-21T05:01:06.405Z] 5d3b04190fa2: Waiting [2023-04-21T05:01:06.405Z] 2f39f015ded8: Waiting [2023-04-21T05:01:06.405Z] 3a2ae6a8a46f: Waiting [2023-04-21T05:01:06.405Z] 5c69ac0246d0: Verifying Checksum [2023-04-21T05:01:06.405Z] 5c69ac0246d0: Download complete [2023-04-21T05:01:06.405Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-21T05:01:06.405Z] 3a2ae6a8a46f: Download complete [2023-04-21T05:01:06.405Z] 33b1e0a273af: Verifying Checksum [2023-04-21T05:01:06.405Z] 33b1e0a273af: Download complete [2023-04-21T05:01:06.405Z] 5d3b04190fa2: Verifying Checksum [2023-04-21T05:01:06.405Z] ec43610c2a17: Verifying Checksum [2023-04-21T05:01:06.405Z] ec43610c2a17: Download complete [2023-04-21T05:01:06.663Z] 5eb5b503b376: Verifying Checksum [2023-04-21T05:01:06.663Z] 5eb5b503b376: Download complete [2023-04-21T05:01:07.229Z] 2f39f015ded8: Download complete [2023-04-21T05:01:07.797Z] 5eb5b503b376: Pull complete [2023-04-21T05:01:07.797Z] 5c69ac0246d0: Pull complete [2023-04-21T05:01:08.366Z] ec43610c2a17: Pull complete [2023-04-21T05:01:08.366Z] 3a2ae6a8a46f: Pull complete [2023-04-21T05:01:08.624Z] 33b1e0a273af: Pull complete [2023-04-21T05:01:08.624Z] 5d3b04190fa2: Pull complete [2023-04-21T05:01:12.820Z] 2f39f015ded8: Pull complete [2023-04-21T05:01:12.820Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-21T05:01:12.820Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T05:01:12.820Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:01:13.048Z] prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container [2023-04-21T05:01:13.085Z] $ 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-1428 -v /w/workspace/gexfoundry_device-sdk-go_PR-1428:/w/workspace/gexfoundry_device-sdk-go_PR-1428:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-21T05:01:16.127Z] $ docker top f3d444a839eee346623922fde5c9aa5b7a9124bec6e55eb40c3623ac4ceabe73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:01:16.596Z] ---> job-cost.sh [2023-04-21T05:01:16.596Z] lf-activate-venv: SKIPPING [2023-04-21T05:01:16.596Z] INFO: No Stack... [2023-04-21T05:01:17.166Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-21T05:01:17.425Z] INFO: Archiving Costs [Pipeline] sh [2023-04-21T05:01:17.742Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1428/archives/cost.csv [2023-04-21T05:01:17.742Z] + cut -d, -f6 [Pipeline] lock [2023-04-21T05:01:17.787Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1428-1-stack-cost] [2023-04-21T05:01:17.793Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1428-1-stack-cost] did not exist. Created. [2023-04-21T05:01:17.794Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1428-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-21T05:01:18.177Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-21T05:01:18.238Z] Stashed 1 file(s) [Pipeline] } [2023-04-21T05:01:18.254Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1428-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-21T05:01:18.330Z] $ docker stop --time=1 f3d444a839eee346623922fde5c9aa5b7a9124bec6e55eb40c3623ac4ceabe73 [2023-04-21T05:01:19.481Z] $ docker rm -f --volumes f3d444a839eee346623922fde5c9aa5b7a9124bec6e55eb40c3623ac4ceabe73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-21T05:01:19.947Z] Failed in branch amd64 [2023-04-21T05:01:32.701Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9249 in /w/workspace/gexfoundry_device-sdk-go_PR-1428 [Pipeline] { [Pipeline] ws [2023-04-21T05:01:32.761Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-21T05:01:32.844Z] The recommended git tool is: git [2023-04-21T05:01:38.941Z] using credential edgex-jenkins-ssh [2023-04-21T05:01:38.961Z] Cloning the remote Git repository [2023-04-21T05:01:39.028Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-21T05:01:39.149Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-21T05:01:39.332Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-21T05:01:39.334Z] > git --version # timeout=10 [2023-04-21T05:01:39.362Z] > git --version # 'git version 2.25.1' [2023-04-21T05:01:39.365Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T05:01:39.531Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-21T05:01:41.319Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-21T05:01:41.347Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-21T05:01:42.486Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-21T05:01:42.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-21T05:01:42.540Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T05:01:42.562Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1428/head:refs/remotes/origin/PR-1428 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-21T05:01:43.177Z] Merging remotes/origin/main commit 68f2c3776b57ed1a5eef5a5e3525a947923e1899 into PR head commit 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c [2023-04-21T05:01:43.548Z] Merge succeeded, producing 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c [2023-04-21T05:01:43.549Z] Checking out Revision 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c (PR-1428) [2023-04-21T05:01:44.172Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-04-21T05:01:44.227Z] > git --version # timeout=10 [2023-04-21T05:01:44.244Z] > git --version # 'git version 2.25.1' [2023-04-21T05:01:44.262Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-21T05:01:43.201Z] > git config core.sparsecheckout # timeout=10 [2023-04-21T05:01:43.286Z] > git checkout -f 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c # timeout=10 [2023-04-21T05:01:43.416Z] > git remote # timeout=10 [2023-04-21T05:01:43.442Z] > git config --get remote.origin.url # timeout=10 [2023-04-21T05:01:43.479Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-21T05:01:43.497Z] > git merge 68f2c3776b57ed1a5eef5a5e3525a947923e1899 # timeout=10 [2023-04-21T05:01:43.530Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-21T05:01:43.558Z] > git config core.sparsecheckout # timeout=10 [2023-04-21T05:01:43.579Z] > git checkout -f 81afdca927d1c641bc92c8b7f5f8c08cd2fc455c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-21T05:01:45.346Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-21T05:01:45.346Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-21T05:01:45.346Z] Dload Upload Total Spent Left Speed [2023-04-21T05:01:45.346Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-04-21T05:01:45.984Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-21T05:01:46.327Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-21T05:01:46.327Z] + sudo tee /etc/docker/daemon.new [2023-04-21T05:01:46.327Z] { [2023-04-21T05:01:46.327Z] "registry-mirrors": [ [2023-04-21T05:01:46.327Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-21T05:01:46.327Z] ], [2023-04-21T05:01:46.327Z] "bip": "10.250.0.254/24", [2023-04-21T05:01:46.327Z] "hosts": [ [2023-04-21T05:01:46.327Z] "tcp://0.0.0.0:5555", [2023-04-21T05:01:46.327Z] "unix:///var/run/docker.sock" [2023-04-21T05:01:46.327Z] ], [2023-04-21T05:01:46.327Z] "mtu": 1458, [2023-04-21T05:01:46.327Z] "selinux-enabled": true, [2023-04-21T05:01:46.327Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-21T05:01:46.327Z] } [Pipeline] sh [2023-04-21T05:01:46.672Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-21T05:01:47.024Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T05:02:05.370Z] provisioning config files... [2023-04-21T05:02:05.412Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12343581175236167246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:02:05.829Z] ---> docker-login.sh [2023-04-21T05:02:05.830Z] nexus3.edgexfoundry.org:10001 [2023-04-21T05:02:06.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:02:06.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:02:06.718Z] Configure a credential helper to remove this warning. See [2023-04-21T05:02:06.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:02:06.718Z] [2023-04-21T05:02:06.718Z] Login Succeeded [2023-04-21T05:02:06.718Z] nexus3.edgexfoundry.org:10002 [2023-04-21T05:02:06.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:02:06.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:02:06.993Z] Configure a credential helper to remove this warning. See [2023-04-21T05:02:06.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:02:06.993Z] [2023-04-21T05:02:06.993Z] Login Succeeded [2023-04-21T05:02:06.993Z] nexus3.edgexfoundry.org:10003 [2023-04-21T05:02:07.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:02:07.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:02:07.549Z] Configure a credential helper to remove this warning. See [2023-04-21T05:02:07.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:02:07.549Z] [2023-04-21T05:02:07.549Z] Login Succeeded [2023-04-21T05:02:07.549Z] nexus3.edgexfoundry.org:10004 [2023-04-21T05:02:07.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:02:07.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:02:07.828Z] Configure a credential helper to remove this warning. See [2023-04-21T05:02:07.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:02:07.828Z] [2023-04-21T05:02:07.828Z] Login Succeeded [2023-04-21T05:02:07.828Z] docker.io [2023-04-21T05:02:08.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-21T05:02:08.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-21T05:02:08.376Z] Configure a credential helper to remove this warning. See [2023-04-21T05:02:08.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-21T05:02:08.376Z] [2023-04-21T05:02:08.376Z] Login Succeeded [2023-04-21T05:02:08.648Z] ---> docker-login.sh ends [Pipeline] } [2023-04-21T05:02:08.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-21T05:02:09.143Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T05:02:09.179Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-21T05:02:09.214Z] ========================================================= [2023-04-21T05:02:09.214Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-21T05:02:09.214Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:02:09.724Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-21T05:02:10.318Z] Sending build context to Docker daemon 5.907MB [2023-04-21T05:02:10.318Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-21T05:02:10.318Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-21T05:02:10.600Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-21T05:02:10.600Z] af6eaf76a39c: Pulling fs layer [2023-04-21T05:02:10.600Z] 55522c791124: Pulling fs layer [2023-04-21T05:02:10.600Z] ce5c4a1c91eb: Pulling fs layer [2023-04-21T05:02:10.600Z] 169dfbe0d373: Pulling fs layer [2023-04-21T05:02:10.600Z] e1ff8fa3b103: Pulling fs layer [2023-04-21T05:02:10.600Z] 52ebb69f0ebf: Pulling fs layer [2023-04-21T05:02:10.600Z] 5abe8eddf0d5: Pulling fs layer [2023-04-21T05:02:10.600Z] 169dfbe0d373: Waiting [2023-04-21T05:02:10.600Z] e1ff8fa3b103: Waiting [2023-04-21T05:02:10.600Z] 52ebb69f0ebf: Waiting [2023-04-21T05:02:10.600Z] 5abe8eddf0d5: Waiting [2023-04-21T05:02:10.600Z] 55522c791124: Download complete [2023-04-21T05:02:10.600Z] 169dfbe0d373: Verifying Checksum [2023-04-21T05:02:10.600Z] 169dfbe0d373: Download complete [2023-04-21T05:02:10.600Z] e1ff8fa3b103: Download complete [2023-04-21T05:02:10.600Z] af6eaf76a39c: Download complete [2023-04-21T05:02:11.606Z] af6eaf76a39c: Pull complete [2023-04-21T05:02:11.606Z] 5abe8eddf0d5: Verifying Checksum [2023-04-21T05:02:11.606Z] 5abe8eddf0d5: Download complete [2023-04-21T05:02:12.199Z] 55522c791124: Pull complete [2023-04-21T05:02:13.174Z] ce5c4a1c91eb: Verifying Checksum [2023-04-21T05:02:13.174Z] ce5c4a1c91eb: Download complete [2023-04-21T05:02:13.174Z] 52ebb69f0ebf: Verifying Checksum [2023-04-21T05:02:13.174Z] 52ebb69f0ebf: Download complete [2023-04-21T05:02:25.632Z] ce5c4a1c91eb: Pull complete [2023-04-21T05:02:25.632Z] 169dfbe0d373: Pull complete [2023-04-21T05:02:25.632Z] e1ff8fa3b103: Pull complete [2023-04-21T05:02:31.071Z] 52ebb69f0ebf: Pull complete [2023-04-21T05:02:33.040Z] 5abe8eddf0d5: Pull complete [2023-04-21T05:02:33.040Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-21T05:02:33.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-21T05:02:33.040Z] ---> 6cb57ee374ae [2023-04-21T05:02:33.040Z] Step 3/10 : ARG MAKE=make build [2023-04-21T05:02:35.001Z] ---> Running in 323d1e1414de [2023-04-21T05:02:35.273Z] Removing intermediate container 323d1e1414de [2023-04-21T05:02:35.273Z] ---> 38c0d79d9907 [2023-04-21T05:02:35.273Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-21T05:02:35.543Z] ---> Running in a0099fab9987 [2023-04-21T05:02:35.814Z] Removing intermediate container a0099fab9987 [2023-04-21T05:02:35.814Z] ---> 30324c78511e [2023-04-21T05:02:35.814Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-21T05:02:35.814Z] ---> Running in b635c9e723c5 [2023-04-21T05:02:36.406Z] Removing intermediate container b635c9e723c5 [2023-04-21T05:02:36.406Z] ---> 9cf5d392ff0d [2023-04-21T05:02:36.406Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-21T05:02:36.406Z] ---> Running in 9b33a78001dc [2023-04-21T05:02:37.840Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-21T05:02:41.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-21T05:02:42.173Z] OK: 263 MiB in 53 packages [2023-04-21T05:02:43.588Z] Removing intermediate container 9b33a78001dc [2023-04-21T05:02:43.588Z] ---> a305d52f887b [2023-04-21T05:02:43.588Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-21T05:02:43.857Z] ---> 66303083e21b [2023-04-21T05:02:43.857Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-21T05:02:44.127Z] ---> Running in 14ee499f5122 [2023-04-21T05:03:52.070Z] Removing intermediate container 14ee499f5122 [2023-04-21T05:03:52.070Z] ---> 46b1b11e5703 [2023-04-21T05:03:52.070Z] Step 9/10 : COPY . . [2023-04-21T05:03:52.070Z] ---> d933d6fd6b93 [2023-04-21T05:03:52.070Z] Step 10/10 : RUN ${MAKE} [2023-04-21T05:03:52.070Z] ---> Running in c28ec411115c [2023-04-21T05:03:52.070Z] noop [2023-04-21T05:03:56.335Z] Removing intermediate container c28ec411115c [2023-04-21T05:03:56.335Z] ---> ca984e3452f9 [2023-04-21T05:03:56.335Z] Successfully built ca984e3452f9 [2023-04-21T05:03:56.335Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:03:56.827Z] + docker inspect -f . ci-base-image-arm64 [2023-04-21T05:03:56.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:03:57.123Z] prd-ubuntu20.04-docker-arm64-4c-16g-9249 does not seem to be running inside a container [2023-04-21T05:03:57.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-21T05:03:58.493Z] $ docker top 2fcc02c3b872e1cb8073a16591b50ff239110f4042c7f1dd37654e44d5f1aff6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T05:03:59.381Z] + go version [2023-04-21T05:03:59.381Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-21T05:03:59.422Z] $ docker stop --time=1 2fcc02c3b872e1cb8073a16591b50ff239110f4042c7f1dd37654e44d5f1aff6 [2023-04-21T05:04:01.074Z] $ docker rm -f --volumes 2fcc02c3b872e1cb8073a16591b50ff239110f4042c7f1dd37654e44d5f1aff6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:04:01.966Z] + docker inspect -f . ci-base-image-arm64 [2023-04-21T05:04:01.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:04:02.243Z] prd-ubuntu20.04-docker-arm64-4c-16g-9249 does not seem to be running inside a container [2023-04-21T05:04:02.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-21T05:04:03.557Z] $ docker top 5b0c254bdbec0d5df447fc169139173e2cf5bba4c894cba191552b51c6ee0724 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T05:04:04.119Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-21T05:04:05.101Z] + make test [2023-04-21T05:04:05.102Z] go test -race -coverprofile=coverage.out ./... [2023-04-21T05:04:51.954Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-21T05:07:13.666Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-21T05:07:13.666Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-21T05:07:13.666Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-21T05:07:13.666Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-21T05:07:13.666Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-21T05:07:13.666Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.238s coverage: 27.6% of statements [2023-04-21T05:07:14.253Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.280s coverage: 80.2% of statements [2023-04-21T05:07:24.352Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-21T05:07:24.352Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-21T05:07:24.626Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging.test] [2023-04-21T05:07:24.626Z] internal/controller/messaging/validation_test.go:123:50: undefined: types.ContentTypeText [2023-04-21T05:07:24.626Z] internal/controller/messaging/validation_test.go:128:50: undefined: types.ContentTypeJSON [2023-04-21T05:07:24.897Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.419s coverage: 86.0% of statements [2023-04-21T05:07:31.576Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-21T05:07:31.576Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-21T05:07:31.576Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.522s coverage: 77.5% of statements [2023-04-21T05:07:31.576Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-04-21T05:07:36.950Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-21T05:07:36.950Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-21T05:07:37.222Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.482s coverage: 68.5% of statements [2023-04-21T05:07:37.222Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.491s coverage: 89.2% of statements [2023-04-21T05:07:42.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-21T05:07:42.575Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.275s coverage: 5.5% of statements [2023-04-21T05:07:42.575Z] FAIL [2023-04-21T05:07:43.160Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-04-21T05:07:43.211Z] $ docker stop --time=1 5b0c254bdbec0d5df447fc169139173e2cf5bba4c894cba191552b51c6ee0724 [2023-04-21T05:07:45.241Z] $ docker rm -f --volumes 5b0c254bdbec0d5df447fc169139173e2cf5bba4c894cba191552b51c6ee0724 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:07:47.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T05:07:47.033Z] [2023-04-21T05:07:47.033Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:07:47.444Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T05:07:47.444Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-21T05:07:47.444Z] 8998bd30e6a1: Pulling fs layer [2023-04-21T05:07:47.444Z] 04944245beec: Pulling fs layer [2023-04-21T05:07:47.444Z] 699f458cf7ca: Pulling fs layer [2023-04-21T05:07:47.444Z] 765212b225bb: Pulling fs layer [2023-04-21T05:07:47.444Z] f23df028b6ca: Pulling fs layer [2023-04-21T05:07:47.444Z] d65c8cfc05b1: Pulling fs layer [2023-04-21T05:07:47.444Z] 2437ff75d9bd: Pulling fs layer [2023-04-21T05:07:47.444Z] d65c8cfc05b1: Waiting [2023-04-21T05:07:47.444Z] 2437ff75d9bd: Waiting [2023-04-21T05:07:47.444Z] 765212b225bb: Waiting [2023-04-21T05:07:47.444Z] f23df028b6ca: Waiting [2023-04-21T05:07:47.715Z] 04944245beec: Verifying Checksum [2023-04-21T05:07:47.716Z] 04944245beec: Download complete [2023-04-21T05:07:47.716Z] 765212b225bb: Verifying Checksum [2023-04-21T05:07:47.716Z] 765212b225bb: Download complete [2023-04-21T05:07:47.716Z] f23df028b6ca: Verifying Checksum [2023-04-21T05:07:47.716Z] f23df028b6ca: Download complete [2023-04-21T05:07:47.716Z] d65c8cfc05b1: Verifying Checksum [2023-04-21T05:07:47.716Z] d65c8cfc05b1: Download complete [2023-04-21T05:07:47.986Z] 699f458cf7ca: Verifying Checksum [2023-04-21T05:07:47.986Z] 699f458cf7ca: Download complete [2023-04-21T05:07:48.259Z] 8998bd30e6a1: Verifying Checksum [2023-04-21T05:07:48.259Z] 8998bd30e6a1: Download complete [2023-04-21T05:07:50.847Z] 2437ff75d9bd: Verifying Checksum [2023-04-21T05:07:50.847Z] 2437ff75d9bd: Download complete [2023-04-21T05:07:52.262Z] 8998bd30e6a1: Pull complete [2023-04-21T05:07:52.532Z] 04944245beec: Pull complete [2023-04-21T05:07:53.951Z] 699f458cf7ca: Pull complete [2023-04-21T05:07:53.951Z] 765212b225bb: Pull complete [2023-04-21T05:07:56.541Z] f23df028b6ca: Pull complete [2023-04-21T05:07:56.809Z] d65c8cfc05b1: Pull complete [2023-04-21T05:08:11.824Z] 2437ff75d9bd: Pull complete [2023-04-21T05:08:11.824Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-21T05:08:11.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-21T05:08:11.824Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:08:12.178Z] prd-ubuntu20.04-docker-arm64-4c-16g-9249 does not seem to be running inside a container [2023-04-21T05:08:12.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-21T05:08:15.183Z] $ docker top 4b71a9e5b799e46d36667d46619efad4216903c23e5edf731992c4f81bd69414 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:08:16.108Z] ---> job-cost.sh [2023-04-21T05:08:16.108Z] lf-activate-venv: SKIPPING [2023-04-21T05:08:16.108Z] INFO: No Stack... [2023-04-21T05:08:16.378Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-21T05:08:17.431Z] INFO: Archiving Costs [Pipeline] sh [2023-04-21T05:08:18.112Z] + cut -d, -f6 [2023-04-21T05:08:18.112Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-04-21T05:08:18.212Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1428-1-stack-cost] [2023-04-21T05:08:18.330Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1428-1-stack-cost] did not exist. Created. [2023-04-21T05:08:18.330Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1428-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-21T05:08:19.227Z] /w/workspace/device-sdk-go/1@tmp/durable-e856bc95/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-21T05:08:19.909Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-21T05:08:19.986Z] Warning: overwriting stash ‘stack-cost’ [2023-04-21T05:08:20.505Z] Stashed 1 file(s) [Pipeline] } [2023-04-21T05:08:20.525Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1428-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-21T05:08:20.613Z] $ docker stop --time=1 4b71a9e5b799e46d36667d46619efad4216903c23e5edf731992c4f81bd69414 [2023-04-21T05:08:22.143Z] $ docker rm -f --volumes 4b71a9e5b799e46d36667d46619efad4216903c23e5edf731992c4f81bd69414 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-21T05:08:22.880Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-21T05:08:25.460Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1428/archives ] [2023-04-21T05:08:25.460Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1428/archives [2023-04-21T05:08:25.460Z] total 16 [2023-04-21T05:08:25.460Z] drwxr-xr-x 3 root root 4096 Apr 21 05:01 . [2023-04-21T05:08:25.460Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 05:01 .. [2023-04-21T05:08:25.460Z] drwxr-xr-x 2 root root 4096 Apr 21 05:01 cost [2023-04-21T05:08:25.460Z] -rw-r--r-- 1 root root 86 Apr 21 05:01 cost.csv [2023-04-21T05:08:25.460Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1428/archives [2023-04-21T05:08:25.460Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1428/archives [2023-04-21T05:08:25.460Z] total 16 [2023-04-21T05:08:25.460Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 05:01 . [2023-04-21T05:08:25.460Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 05:01 .. [2023-04-21T05:08:25.460Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 05:01 cost [2023-04-21T05:08:25.460Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 21 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:08:25.798Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:08:26.688Z] ---> package-listing.sh [2023-04-21T05:08:26.688Z] ++ facter osfamily [2023-04-21T05:08:26.688Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-21T05:08:26.947Z] + OS_FAMILY=debian [2023-04-21T05:08:26.947Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1428 [2023-04-21T05:08:26.947Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-21T05:08:26.947Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-21T05:08:26.947Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-21T05:08:26.947Z] + PACKAGES=/tmp/packages_start.txt [2023-04-21T05:08:26.947Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1428 ']' [2023-04-21T05:08:26.947Z] + PACKAGES=/tmp/packages_end.txt [2023-04-21T05:08:26.947Z] + case "${OS_FAMILY}" in [2023-04-21T05:08:26.947Z] + dpkg -l [2023-04-21T05:08:26.947Z] + grep '^ii' [2023-04-21T05:08:26.947Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-21T05:08:26.947Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-21T05:08:26.947Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-21T05:08:26.947Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1428 ']' [2023-04-21T05:08:26.947Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1428/archives/ [2023-04-21T05:08:26.947Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1428/archives/ [Pipeline] echo [2023-04-21T05:08:26.986Z] 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-1428/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-21T05:08:27.283Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-21T05:08:28.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-21T05:08:28.004Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-21T05:08:28.150Z] prd-ubuntu20.04-docker-8c-8g-9245 does not seem to be running inside a container [2023-04-21T05:08:28.186Z] $ 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-1428/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-1428 -v /w/workspace/gexfoundry_device-sdk-go_PR-1428:/w/workspace/gexfoundry_device-sdk-go_PR-1428:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-21T05:08:28.380Z] $ docker top 1d1c86fa02101d847582a2424bc55f89eabd20df735f4972c4cf209841234363 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-21T05:08:28.754Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-21T05:08:29.160Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-21T05:08:29.532Z] + ls /var/log/sa-host [2023-04-21T05:08:29.532Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-21T05:08:29.799Z] provisioning config files... [2023-04-21T05:08:29.808Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1428@tmp/config10266420972973822297tmp [Pipeline] { [Pipeline] echo [2023-04-21T05:08:29.890Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:08:30.205Z] ---> create-netrc.sh [Pipeline] } [2023-04-21T05:08:30.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:08:30.646Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-21T05:08:30.681Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:08:30.992Z] ---> sudo-logs.sh [2023-04-21T05:08:30.992Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-21T05:08:31.073Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:08:31.382Z] ---> job-cost.sh [2023-04-21T05:08:31.382Z] lf-activate-venv: SKIPPING [2023-04-21T05:08:31.382Z] DEBUG: total: 0.2199999988079071 [2023-04-21T05:08:31.382Z] INFO: Retrieving Stack Cost... [2023-04-21T05:08:31.642Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-21T05:08:31.902Z] INFO: Archiving Costs [Pipeline] echo [2023-04-21T05:08:31.939Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-21T05:08:32.251Z] ---> logs-deploy.sh [2023-04-21T05:08:32.251Z] lf-activate-venv: SKIPPING [2023-04-21T05:08:32.251Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1428/1 [2023-04-21T05:08:32.251Z] INFO: archiving workspace using pattern(s): [2023-04-21T05:08:33.190Z] Archives upload complete. [2023-04-21T05:08:33.190Z] INFO: archiving logs to Nexus