Pull request #1506 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 88f03503c07c02c451459ab8c2d5aba4061d83b0 rather than 9717c1c853f3528f29e097c66443c6ebe99eb0df Obtained Jenkinsfile from 88f03503c07c02c451459ab8c2d5aba4061d83b0 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-ssh3903854845610034895.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh15000994856048257047.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11047234766173021432.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16925020695841900290.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1171403381828012618.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5858 in /w/workspace/gexfoundry_device-sdk-go_PR-1506 [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-1506 # 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/1506/head:refs/remotes/origin/PR-1506 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 88f03503c07c02c451459ab8c2d5aba4061d83b0 into PR head commit 9717c1c853f3528f29e097c66443c6ebe99eb0df Merge succeeded, producing 32fb47eb60393407249507902e6925af8c7b08fb Checking out Revision 32fb47eb60393407249507902e6925af8c7b08fb (PR-1506) > git config core.sparsecheckout # timeout=10 > git checkout -f 9717c1c853f3528f29e097c66443c6ebe99eb0df # 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 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32fb47eb60393407249507902e6925af8c7b08fb # timeout=10 Commit message: "Merge commit '88f03503c07c02c451459ab8c2d5aba4061d83b0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T03:42:37.127Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T03:42:37.186Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T03:42:37.202Z] ========================================================= [2023-09-12T03:42:37.202Z] EdgeX Global Pipelines Version Info [2023-09-12T03:42:37.202Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:42:37.912Z] ------------------- [2023-09-12T03:42:37.913Z] stable info: [2023-09-12T03:42:37.913Z] ------------------- [2023-09-12T03:42:37.913Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T03:42:37.913Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-12T03:42:37.913Z] Message: update stable to v1.0.253 > git rev-list --no-walk 95f003700f388a4c1e8d18fe61d80fd241bdb166 # timeout=10 [2023-09-12T03:42:38.492Z] ------------------- [2023-09-12T03:42:38.492Z] experimental info: [2023-09-12T03:42:38.492Z] ------------------- [2023-09-12T03:42:38.492Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T03:42:38.492Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-12T03:42:38.492Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T03:42:38.658Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-12T03:42:38.670Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-12T03:42:38.678Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T03:42:38.687Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T03:42:38.696Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T03:42:38.711Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-12T03:42:38.725Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T03:42:38.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-12T03:42:38.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T03:42:38.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T03:42:38.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T03:42:38.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-12T03:42:38.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T03:42:38.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T03:42:38.855Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T03:42:38.872Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T03:42:38.885Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T03:42:38.900Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T03:42:38.913Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T03:42:38.927Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T03:42:38.941Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-12T03:42:38.962Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-12T03:42:38.977Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T03:42:38.994Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T03:42:39.010Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T03:42:39.023Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T03:42:39.039Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T03:42:39.057Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1506 [Pipeline] echo [2023-09-12T03:42:39.071Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1506 [Pipeline] echo [2023-09-12T03:42:39.085Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1506 [Pipeline] echo [2023-09-12T03:42:39.101Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32fb47eb60393407249507902e6925af8c7b08fb [Pipeline] echo [2023-09-12T03:42:39.123Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32fb47e [Pipeline] echo [2023-09-12T03:42:39.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T03:42:39.187Z] provisioning config files... [2023-09-12T03:42:39.202Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config1148762023723113455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:42:39.505Z] ---> docker-login.sh [2023-09-12T03:42:39.505Z] nexus3.edgexfoundry.org:10001 [2023-09-12T03:42:39.766Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:42:40.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:42:40.026Z] Configure a credential helper to remove this warning. See [2023-09-12T03:42:40.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:42:40.026Z] [2023-09-12T03:42:40.026Z] Login Succeeded [2023-09-12T03:42:40.026Z] nexus3.edgexfoundry.org:10002 [2023-09-12T03:42:40.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:42:40.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:42:40.026Z] Configure a credential helper to remove this warning. See [2023-09-12T03:42:40.026Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:42:40.026Z] [2023-09-12T03:42:40.026Z] Login Succeeded [2023-09-12T03:42:40.026Z] nexus3.edgexfoundry.org:10003 [2023-09-12T03:42:40.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:42:40.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:42:40.287Z] Configure a credential helper to remove this warning. See [2023-09-12T03:42:40.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:42:40.287Z] [2023-09-12T03:42:40.287Z] Login Succeeded [2023-09-12T03:42:40.287Z] nexus3.edgexfoundry.org:10004 [2023-09-12T03:42:40.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:42:40.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:42:40.287Z] Configure a credential helper to remove this warning. See [2023-09-12T03:42:40.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:42:40.287Z] [2023-09-12T03:42:40.287Z] Login Succeeded [2023-09-12T03:42:40.287Z] docker.io [2023-09-12T03:42:40.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:42:40.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:42:40.547Z] Configure a credential helper to remove this warning. See [2023-09-12T03:42:40.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:42:40.547Z] [2023-09-12T03:42:40.547Z] Login Succeeded [2023-09-12T03:42:40.547Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T03:42:40.554Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T03:42:40.930Z] + git rev-list -1 --merges 32fb47eb60393407249507902e6925af8c7b08fb~1..32fb47eb60393407249507902e6925af8c7b08fb [Pipeline] echo [2023-09-12T03:42:40.975Z] -----------> git rev-list -1 --merges 32fb47eb60393407249507902e6925af8c7b08fb~1..32fb47eb60393407249507902e6925af8c7b08fb 32fb47eb60393407249507902e6925af8c7b08fb [2023-09-12T03:42:40.975Z] 32fb47eb60393407249507902e6925af8c7b08fb [false] [Pipeline] sh [2023-09-12T03:42:41.263Z] + git log --format=format:%s -1 32fb47eb60393407249507902e6925af8c7b08fb [Pipeline] echo [2023-09-12T03:42:41.278Z] ========================================================= [2023-09-12T03:42:41.278Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T03:42:41.278Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T03:42:41.610Z] + git log --format=format:%s -1 32fb47eb60393407249507902e6925af8c7b08fb [Pipeline] echo [2023-09-12T03:42:41.620Z] [semverPrep] GIT_COMMIT: 32fb47eb60393407249507902e6925af8c7b08fb, Commit Message: Merge commit '88f03503c07c02c451459ab8c2d5aba4061d83b0' into HEAD [Pipeline] echo [2023-09-12T03:42:41.630Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T03:42:41.985Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T03:42:41.985Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T03:42:41.985Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T03:42:41.985Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T03:42:41.985Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T03:42:41.985Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T03:42:41.985Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T03:42:42.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T03:42:42.407Z] [2023-09-12T03:42:42.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T03:42:42.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T03:42:42.704Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T03:42:42.704Z] b85a868b505f: Pulling fs layer [2023-09-12T03:42:42.704Z] e2be974225ed: Pulling fs layer [2023-09-12T03:42:42.704Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T03:42:42.704Z] 988bab9f4d93: Pulling fs layer [2023-09-12T03:42:42.704Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T03:42:42.704Z] eaf3925da568: Pulling fs layer [2023-09-12T03:42:42.704Z] bab4dde63d76: Pulling fs layer [2023-09-12T03:42:42.704Z] bde34c3a00c8: Pulling fs layer [2023-09-12T03:42:42.704Z] b352a97aabf1: Pulling fs layer [2023-09-12T03:42:42.704Z] 4872d77fe225: Pulling fs layer [2023-09-12T03:42:42.704Z] 5851b861e8e6: Pulling fs layer [2023-09-12T03:42:42.704Z] 988bab9f4d93: Waiting [2023-09-12T03:42:42.704Z] 1469e6f7b9e6: Waiting [2023-09-12T03:42:42.704Z] eaf3925da568: Waiting [2023-09-12T03:42:42.704Z] bab4dde63d76: Waiting [2023-09-12T03:42:42.704Z] 4872d77fe225: Waiting [2023-09-12T03:42:42.704Z] bde34c3a00c8: Waiting [2023-09-12T03:42:42.704Z] 5851b861e8e6: Waiting [2023-09-12T03:42:42.704Z] b352a97aabf1: Waiting [2023-09-12T03:42:42.704Z] e2be974225ed: Verifying Checksum [2023-09-12T03:42:42.704Z] e2be974225ed: Download complete [2023-09-12T03:42:42.704Z] 988bab9f4d93: Verifying Checksum [2023-09-12T03:42:42.704Z] 988bab9f4d93: Download complete [2023-09-12T03:42:42.976Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T03:42:42.976Z] 1469e6f7b9e6: Download complete [2023-09-12T03:42:42.976Z] eaf3925da568: Verifying Checksum [2023-09-12T03:42:42.976Z] eaf3925da568: Download complete [2023-09-12T03:42:42.976Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T03:42:42.976Z] 339a4e72a1f5: Download complete [2023-09-12T03:42:42.976Z] bde34c3a00c8: Download complete [2023-09-12T03:42:42.976Z] b352a97aabf1: Download complete [2023-09-12T03:42:42.976Z] 4872d77fe225: Verifying Checksum [2023-09-12T03:42:42.976Z] 4872d77fe225: Download complete [2023-09-12T03:42:42.976Z] 5851b861e8e6: Download complete [2023-09-12T03:42:42.976Z] b85a868b505f: Verifying Checksum [2023-09-12T03:42:42.976Z] b85a868b505f: Download complete [2023-09-12T03:42:43.234Z] bab4dde63d76: Verifying Checksum [2023-09-12T03:42:43.234Z] bab4dde63d76: Download complete [2023-09-12T03:42:44.638Z] b85a868b505f: Pull complete [2023-09-12T03:42:44.638Z] e2be974225ed: Pull complete [2023-09-12T03:42:44.897Z] 339a4e72a1f5: Pull complete [2023-09-12T03:42:45.156Z] 988bab9f4d93: Pull complete [2023-09-12T03:42:45.415Z] 1469e6f7b9e6: Pull complete [2023-09-12T03:42:45.415Z] eaf3925da568: Pull complete [2023-09-12T03:42:47.359Z] bab4dde63d76: Pull complete [2023-09-12T03:42:47.359Z] bde34c3a00c8: Pull complete [2023-09-12T03:42:47.359Z] b352a97aabf1: Pull complete [2023-09-12T03:42:47.619Z] 4872d77fe225: Pull complete [2023-09-12T03:42:47.619Z] 5851b861e8e6: Pull complete [2023-09-12T03:42:47.619Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T03:42:47.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T03:42:47.619Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T03:42:47.724Z] prd-ubuntu20.04-docker-8c-8g-5858 does not seem to be running inside a container [2023-09-12T03:42:47.759Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T03:42:50.245Z] $ docker top 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 -eo pid,comm [2023-09-12T03:42:50.295Z] 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-09-12T03:42:50.295Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T03:42:50.330Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T03:42:50.330Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T03:42:50.444Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T03:42:50.450Z] $ docker exec 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 ssh-agent [2023-09-12T03:42:50.555Z] SSH_AUTH_SOCK=/tmp/ssh-wjGqFxPSv8Uq/agent.34 [2023-09-12T03:42:50.555Z] SSH_AGENT_PID=40 [2023-09-12T03:42:50.562Z] Running ssh-add (command line suppressed) [2023-09-12T03:42:50.672Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_5098729345037460442.key (/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_5098729345037460442.key) [2023-09-12T03:42:50.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T03:42:50.972Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T03:42:50.993Z] $ docker exec --env ******** --env ******** 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 ssh-agent -k [2023-09-12T03:42:51.096Z] unset SSH_AUTH_SOCK; [2023-09-12T03:42:51.096Z] unset SSH_AGENT_PID; [2023-09-12T03:42:51.096Z] echo Agent pid 40 killed; [2023-09-12T03:42:51.103Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T03:42:51.136Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T03:42:51.136Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T03:42:51.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T03:42:51.359Z] $ docker exec 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 ssh-agent [2023-09-12T03:42:51.466Z] SSH_AUTH_SOCK=/tmp/ssh-jjF6xhh0vENl/agent.72 [2023-09-12T03:42:51.466Z] SSH_AGENT_PID=78 [2023-09-12T03:42:51.471Z] Running ssh-add (command line suppressed) [2023-09-12T03:42:51.584Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_3795854233168818474.key (/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_3795854233168818474.key) [2023-09-12T03:42:51.595Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T03:42:51.876Z] + git semver init [2023-09-12T03:42:52.135Z] 2023-09-12 03:42:52,060 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T03:42:52.135Z] 2023-09-12 03:42:52,061 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver [2023-09-12T03:42:52.135Z] 2023-09-12 03:42:52,062 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver [2023-09-12T03:42:52.135Z] 2023-09-12 03:42:52,063 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506, universal_newlines=False, shell=None, istream=None) [2023-09-12T03:42:53.073Z] 2023-09-12 03:42:52,930 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.git/info/exclude [2023-09-12T03:42:53.073Z] 2023-09-12 03:42:52,931 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 with force:False [2023-09-12T03:42:53.073Z] 2023-09-12 03:42:52,931 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 [2023-09-12T03:42:53.073Z] 2023-09-12 03:42:52,934 [execute] INFO git cat-file --batch-check [2023-09-12T03:42:53.073Z] 2023-09-12 03:42:52,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T03:42:53.073Z] 2023-09-12 03:42:52,940 [execute] INFO git cat-file --batch [2023-09-12T03:42:53.073Z] 2023-09-12 03:42:52,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T03:42:53.073Z] 2023-09-12 03:42:52,944 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 [2023-09-12T03:42:53.073Z] 0.0.0 [Pipeline] } [2023-09-12T03:42:53.087Z] $ docker exec --env ******** --env ******** 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 ssh-agent -k [2023-09-12T03:42:53.194Z] unset SSH_AUTH_SOCK; [2023-09-12T03:42:53.194Z] unset SSH_AGENT_PID; [2023-09-12T03:42:53.195Z] echo Agent pid 78 killed; [2023-09-12T03:42:53.202Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T03:42:53.503Z] + git semver [Pipeline] } [2023-09-12T03:42:53.780Z] $ docker stop --time=1 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 [2023-09-12T03:42:55.084Z] $ docker rm -f --volumes 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T03:42:55.423Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T03:42:55.633Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T03:42:55.636Z] [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-09-12T03:42:55.790Z] provisioning config files... [2023-09-12T03:42:55.800Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config5496768896206777241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:42:56.096Z] ---> docker-login.sh [2023-09-12T03:42:56.096Z] nexus3.edgexfoundry.org:10001 [2023-09-12T03:42:56.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:42:56.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:42:56.096Z] Configure a credential helper to remove this warning. See [2023-09-12T03:42:56.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:42:56.096Z] [2023-09-12T03:42:56.096Z] Login Succeeded [2023-09-12T03:42:56.096Z] nexus3.edgexfoundry.org:10002 [2023-09-12T03:42:56.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:42:56.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:42:56.096Z] Configure a credential helper to remove this warning. See [2023-09-12T03:42:56.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:42:56.096Z] [2023-09-12T03:42:56.096Z] Login Succeeded [2023-09-12T03:42:56.096Z] nexus3.edgexfoundry.org:10003 [2023-09-12T03:42:56.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:42:56.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:42:56.428Z] Configure a credential helper to remove this warning. See [2023-09-12T03:42:56.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:42:56.428Z] [2023-09-12T03:42:56.428Z] Login Succeeded [2023-09-12T03:42:56.428Z] nexus3.edgexfoundry.org:10004 [2023-09-12T03:42:56.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:42:56.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:42:56.689Z] Configure a credential helper to remove this warning. See [2023-09-12T03:42:56.689Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:42:56.689Z] [2023-09-12T03:42:56.689Z] Login Succeeded [2023-09-12T03:42:56.689Z] docker.io [2023-09-12T03:42:56.689Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:42:56.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:42:56.947Z] Configure a credential helper to remove this warning. See [2023-09-12T03:42:56.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:42:56.947Z] [2023-09-12T03:42:56.947Z] Login Succeeded [2023-09-12T03:42:56.947Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T03:42:56.956Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T03:42:57.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T03:42:57.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T03:42:57.068Z] ========================================================= [2023-09-12T03:42:57.068Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-12T03:42:57.068Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T03:42:57.390Z] + 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-09-12T03:42:57.390Z] Sending build context to Docker daemon 11.13MB [2023-09-12T03:42:57.390Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T03:42:57.390Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T03:42:57.390Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T03:42:57.390Z] 4db1b89c0bd1: Pulling fs layer [2023-09-12T03:42:57.390Z] 6911f1a30b25: Pulling fs layer [2023-09-12T03:42:57.390Z] e194b8c5c2a9: Pulling fs layer [2023-09-12T03:42:57.390Z] 6863d3e3a2b1: Pulling fs layer [2023-09-12T03:42:57.390Z] ec0bb842ea78: Pulling fs layer [2023-09-12T03:42:57.390Z] 40a00589a448: Pulling fs layer [2023-09-12T03:42:57.390Z] 6c08303d61cc: Pulling fs layer [2023-09-12T03:42:57.390Z] 798269fcf238: Pulling fs layer [2023-09-12T03:42:57.390Z] 40a00589a448: Waiting [2023-09-12T03:42:57.390Z] 6c08303d61cc: Waiting [2023-09-12T03:42:57.390Z] 6863d3e3a2b1: Waiting [2023-09-12T03:42:57.390Z] ec0bb842ea78: Waiting [2023-09-12T03:42:57.390Z] 798269fcf238: Waiting [2023-09-12T03:42:57.650Z] 6911f1a30b25: Verifying Checksum [2023-09-12T03:42:57.650Z] 6911f1a30b25: Download complete [2023-09-12T03:42:57.650Z] 6863d3e3a2b1: Verifying Checksum [2023-09-12T03:42:57.650Z] 6863d3e3a2b1: Download complete [2023-09-12T03:42:57.650Z] ec0bb842ea78: Download complete [2023-09-12T03:42:57.650Z] 4db1b89c0bd1: Verifying Checksum [2023-09-12T03:42:57.650Z] 4db1b89c0bd1: Download complete [2023-09-12T03:42:57.650Z] 40a00589a448: Verifying Checksum [2023-09-12T03:42:57.650Z] 40a00589a448: Download complete [2023-09-12T03:42:57.650Z] 4db1b89c0bd1: Pull complete [2023-09-12T03:42:57.915Z] 6911f1a30b25: Pull complete [2023-09-12T03:42:58.174Z] 798269fcf238: Verifying Checksum [2023-09-12T03:42:58.174Z] 798269fcf238: Download complete [2023-09-12T03:42:58.432Z] e194b8c5c2a9: Verifying Checksum [2023-09-12T03:42:58.432Z] e194b8c5c2a9: Download complete [2023-09-12T03:42:58.432Z] 6c08303d61cc: Verifying Checksum [2023-09-12T03:42:58.432Z] 6c08303d61cc: Download complete [2023-09-12T03:43:01.722Z] e194b8c5c2a9: Pull complete [2023-09-12T03:43:01.981Z] 6863d3e3a2b1: Pull complete [2023-09-12T03:43:01.981Z] ec0bb842ea78: Pull complete [2023-09-12T03:43:01.981Z] 40a00589a448: Pull complete [2023-09-12T03:43:04.512Z] 6c08303d61cc: Pull complete [2023-09-12T03:43:05.889Z] 798269fcf238: Pull complete [2023-09-12T03:43:05.889Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-12T03:43:05.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-12T03:43:05.889Z] ---> ec979cd7f677 [2023-09-12T03:43:05.889Z] Step 3/10 : ARG MAKE=make build [2023-09-12T03:43:10.760Z] Still waiting to schedule task [2023-09-12T03:43:10.760Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-12T03:43:11.213Z] ---> Running in 649bfd90b945 [2023-09-12T03:43:11.213Z] Removing intermediate container 649bfd90b945 [2023-09-12T03:43:11.213Z] ---> 2156522c5285 [2023-09-12T03:43:11.213Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T03:43:11.213Z] ---> Running in 30175d8dcfaa [2023-09-12T03:43:11.213Z] Removing intermediate container 30175d8dcfaa [2023-09-12T03:43:11.213Z] ---> ffb7b9265f4d [2023-09-12T03:43:11.213Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T03:43:11.213Z] ---> Running in 73f4e10f304e [2023-09-12T03:43:11.471Z] Removing intermediate container 73f4e10f304e [2023-09-12T03:43:11.471Z] ---> 97dc39f32c78 [2023-09-12T03:43:11.471Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T03:43:11.471Z] ---> Running in a3cee2761a1c [2023-09-12T03:43:11.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-12T03:43:11.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-12T03:43:12.248Z] OK: 265 MiB in 53 packages [2023-09-12T03:43:12.507Z] Removing intermediate container a3cee2761a1c [2023-09-12T03:43:12.507Z] ---> aad2148fcc76 [2023-09-12T03:43:12.507Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T03:43:12.767Z] ---> e2b17f67a5dd [2023-09-12T03:43:12.767Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T03:43:12.767Z] ---> Running in a82542b6c41d [2023-09-12T03:43:59.463Z] Removing intermediate container a82542b6c41d [2023-09-12T03:43:59.463Z] ---> fec1e0ddeb3d [2023-09-12T03:43:59.463Z] Step 9/10 : COPY . . [2023-09-12T03:43:59.463Z] ---> 5c032c1b4e91 [2023-09-12T03:43:59.463Z] Step 10/10 : RUN ${MAKE} [2023-09-12T03:43:59.463Z] ---> Running in 1e0fbae4093e [2023-09-12T03:43:59.463Z] noop [2023-09-12T03:43:59.463Z] Removing intermediate container 1e0fbae4093e [2023-09-12T03:43:59.463Z] ---> 099e49a1a5fd [2023-09-12T03:43:59.463Z] Successfully built 099e49a1a5fd [2023-09-12T03:43:59.463Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T03:43:59.771Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T03:43:59.771Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T03:43:59.840Z] prd-ubuntu20.04-docker-8c-8g-5858 does not seem to be running inside a container [2023-09-12T03:43:59.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T03:44:00.243Z] $ docker top 4e588d16f2a28f076fb29390cbb1f2a54373df59745ed745cf6e921ec6df86d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T03:44:00.596Z] + go version [2023-09-12T03:44:00.596Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-12T03:44:00.610Z] $ docker stop --time=1 4e588d16f2a28f076fb29390cbb1f2a54373df59745ed745cf6e921ec6df86d8 [2023-09-12T03:44:01.978Z] $ docker rm -f --volumes 4e588d16f2a28f076fb29390cbb1f2a54373df59745ed745cf6e921ec6df86d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T03:44:02.387Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T03:44:02.387Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T03:44:02.457Z] prd-ubuntu20.04-docker-8c-8g-5858 does not seem to be running inside a container [2023-09-12T03:44:02.490Z] $ 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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T03:44:02.928Z] $ docker top a9969a94ad8822c9f796b25ec73b053b5aace207698d938be9e5637481504f9d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T03:44:03.277Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1506 [Pipeline] fileExists [Pipeline] sh [2023-09-12T03:44:03.578Z] + make test [2023-09-12T03:44:03.578Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T03:44:11.692Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T03:44:23.909Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-09-12T03:44:23.909Z] internal/common/utils.go:74:25: undefined: common.NewPathBuilder [2023-09-12T03:44:23.909Z] internal/common/utils.go:74:86: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) [2023-09-12T03:44:23.909Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T03:44:23.909Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T03:44:23.909Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T03:44:23.909Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-09-12T03:44:23.909Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T03:44:23.909Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T03:44:23.909Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T03:44:23.909Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 80.2% of statements [2023-09-12T03:44:23.909Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common [build failed] [2023-09-12T03:44:23.909Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-09-12T03:44:23.909Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-09-12T03:44:24.476Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T03:44:24.476Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T03:44:26.376Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.837s coverage: 44.2% of statements [2023-09-12T03:44:26.376Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2023-09-12T03:44:26.376Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.114s coverage: 89.2% of statements [2023-09-12T03:44:26.376Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-09-12T03:44:26.376Z] FAIL [2023-09-12T03:44:26.376Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2023-09-12T03:44:26.389Z] $ docker stop --time=1 a9969a94ad8822c9f796b25ec73b053b5aace207698d938be9e5637481504f9d [2023-09-12T03:44:30.570Z] $ docker rm -f --volumes a9969a94ad8822c9f796b25ec73b053b5aace207698d938be9e5637481504f9d [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-09-12T03:44:31.151Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T03:44:31.151Z] [2023-09-12T03:44:31.151Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T03:44:31.462Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T03:44:31.462Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T03:44:31.462Z] 5eb5b503b376: Pulling fs layer [2023-09-12T03:44:31.462Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T03:44:31.462Z] ec43610c2a17: Pulling fs layer [2023-09-12T03:44:31.462Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T03:44:31.462Z] 33b1e0a273af: Pulling fs layer [2023-09-12T03:44:31.462Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T03:44:31.462Z] 2f39f015ded8: Pulling fs layer [2023-09-12T03:44:31.462Z] 3a2ae6a8a46f: Waiting [2023-09-12T03:44:31.462Z] 33b1e0a273af: Waiting [2023-09-12T03:44:31.462Z] 5d3b04190fa2: Waiting [2023-09-12T03:44:31.462Z] 2f39f015ded8: Waiting [2023-09-12T03:44:31.462Z] 5c69ac0246d0: Download complete [2023-09-12T03:44:31.462Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T03:44:31.462Z] 3a2ae6a8a46f: Download complete [2023-09-12T03:44:31.462Z] 33b1e0a273af: Verifying Checksum [2023-09-12T03:44:31.462Z] 33b1e0a273af: Download complete [2023-09-12T03:44:31.462Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T03:44:31.462Z] 5d3b04190fa2: Download complete [2023-09-12T03:44:31.462Z] ec43610c2a17: Download complete [2023-09-12T03:44:31.720Z] 5eb5b503b376: Download complete [2023-09-12T03:44:32.284Z] 2f39f015ded8: Download complete [2023-09-12T03:44:32.848Z] 5eb5b503b376: Pull complete [2023-09-12T03:44:32.848Z] 5c69ac0246d0: Pull complete [2023-09-12T03:44:33.413Z] ec43610c2a17: Pull complete [2023-09-12T03:44:33.413Z] 3a2ae6a8a46f: Pull complete [2023-09-12T03:44:33.670Z] 33b1e0a273af: Pull complete [2023-09-12T03:44:33.670Z] 5d3b04190fa2: Pull complete [2023-09-12T03:44:37.854Z] 2f39f015ded8: Pull complete [2023-09-12T03:44:37.854Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T03:44:37.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T03:44:37.854Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T03:44:37.928Z] prd-ubuntu20.04-docker-8c-8g-5858 does not seem to be running inside a container [2023-09-12T03:44:37.962Z] $ 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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T03:44:41.111Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5859 in /w/workspace/gexfoundry_device-sdk-go_PR-1506 [2023-09-12T03:44:41.872Z] $ docker top 2d192eb3023f4021c1c9520ad4c0db0b709dae05cc2cc4e1f9245b9edeac29c2 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-09-12T03:44:42.025Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-09-12T03:44:42.055Z] The recommended git tool is: git [2023-09-12T03:44:42.278Z] ---> job-cost.sh [2023-09-12T03:44:42.278Z] lf-activate-venv: SKIPPING [2023-09-12T03:44:42.278Z] INFO: No Stack... [2023-09-12T03:44:42.536Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T03:44:42.794Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T03:44:43.077Z] + + cut -d, -f6 [2023-09-12T03:44:43.077Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/cost.csv [Pipeline] lock [2023-09-12T03:44:43.089Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] [2023-09-12T03:44:43.098Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] did not exist. Created. [2023-09-12T03:44:43.098Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T03:44:43.394Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T03:44:43.439Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T03:44:43.450Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T03:44:43.473Z] $ docker stop --time=1 2d192eb3023f4021c1c9520ad4c0db0b709dae05cc2cc4e1f9245b9edeac29c2 [2023-09-12T03:44:44.652Z] $ docker rm -f --volumes 2d192eb3023f4021c1c9520ad4c0db0b709dae05cc2cc4e1f9245b9edeac29c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T03:44:44.759Z] Failed in branch amd64 [2023-09-12T03:44:46.591Z] using credential edgex-jenkins-ssh [2023-09-12T03:44:46.606Z] Cloning the remote Git repository [2023-09-12T03:44:46.647Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T03:44:46.737Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-09-12T03:44:46.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T03:44:46.866Z] > git --version # timeout=10 [2023-09-12T03:44:46.886Z] > git --version # 'git version 2.25.1' [2023-09-12T03:44:46.888Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T03:44:47.025Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T03:44:50.201Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-12T03:44:50.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T03:44:51.661Z] Merging remotes/origin/main commit 88f03503c07c02c451459ab8c2d5aba4061d83b0 into PR head commit 9717c1c853f3528f29e097c66443c6ebe99eb0df [2023-09-12T03:44:52.027Z] Merge succeeded, producing 6d7eae2921c35bb2f1f1d34d2e9b0b926fd78207 [2023-09-12T03:44:52.028Z] Checking out Revision 6d7eae2921c35bb2f1f1d34d2e9b0b926fd78207 (PR-1506) [2023-09-12T03:44:51.012Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-12T03:44:51.052Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T03:44:51.053Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T03:44:51.074Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1506/head:refs/remotes/origin/PR-1506 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-12T03:44:51.682Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T03:44:51.755Z] > git checkout -f 9717c1c853f3528f29e097c66443c6ebe99eb0df # timeout=10 [2023-09-12T03:44:51.862Z] > git remote # timeout=10 [2023-09-12T03:44:51.880Z] > git config --get remote.origin.url # timeout=10 [2023-09-12T03:44:51.900Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T03:44:51.915Z] > git merge 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 [2023-09-12T03:44:52.003Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-12T03:44:52.036Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T03:44:52.049Z] > git checkout -f 6d7eae2921c35bb2f1f1d34d2e9b0b926fd78207 # timeout=10 [2023-09-12T03:44:55.519Z] Commit message: "Merge commit '88f03503c07c02c451459ab8c2d5aba4061d83b0' into HEAD" [2023-09-12T03:44:55.545Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T03:44:56.439Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T03:44:56.439Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T03:44:56.439Z] Dload Upload Total Spent Left Speed [2023-09-12T03:44:56.439Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [2023-09-12T03:44:55.530Z] > git rev-list --no-walk 95f003700f388a4c1e8d18fe61d80fd241bdb166 # timeout=10 [Pipeline] sh [2023-09-12T03:44:57.128Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T03:44:57.450Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T03:44:57.451Z] + sudo tee /etc/docker/daemon.new [2023-09-12T03:44:57.451Z] { [2023-09-12T03:44:57.451Z] "registry-mirrors": [ [2023-09-12T03:44:57.451Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T03:44:57.451Z] ], [2023-09-12T03:44:57.451Z] "bip": "10.250.0.254/24", [2023-09-12T03:44:57.451Z] "hosts": [ [2023-09-12T03:44:57.451Z] "tcp://0.0.0.0:5555", [2023-09-12T03:44:57.451Z] "unix:///var/run/docker.sock" [2023-09-12T03:44:57.451Z] ], [2023-09-12T03:44:57.451Z] "mtu": 1458, [2023-09-12T03:44:57.451Z] "selinux-enabled": true, [2023-09-12T03:44:57.451Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T03:44:57.451Z] } [Pipeline] sh [2023-09-12T03:44:57.772Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T03:44:58.098Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T03:45:16.346Z] provisioning config files... [2023-09-12T03:45:16.368Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config10507895395721335433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:45:16.709Z] ---> docker-login.sh [2023-09-12T03:45:16.709Z] nexus3.edgexfoundry.org:10001 [2023-09-12T03:45:16.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:45:17.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:45:17.249Z] Configure a credential helper to remove this warning. See [2023-09-12T03:45:17.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:45:17.249Z] [2023-09-12T03:45:17.249Z] Login Succeeded [2023-09-12T03:45:17.249Z] nexus3.edgexfoundry.org:10002 [2023-09-12T03:45:17.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:45:17.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:45:17.519Z] Configure a credential helper to remove this warning. See [2023-09-12T03:45:17.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:45:17.519Z] [2023-09-12T03:45:17.789Z] Login Succeeded [2023-09-12T03:45:17.789Z] nexus3.edgexfoundry.org:10003 [2023-09-12T03:45:17.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:45:18.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:45:18.057Z] Configure a credential helper to remove this warning. See [2023-09-12T03:45:18.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:45:18.058Z] [2023-09-12T03:45:18.058Z] Login Succeeded [2023-09-12T03:45:18.058Z] nexus3.edgexfoundry.org:10004 [2023-09-12T03:45:18.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:45:18.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:45:18.327Z] Configure a credential helper to remove this warning. See [2023-09-12T03:45:18.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:45:18.327Z] [2023-09-12T03:45:18.327Z] Login Succeeded [2023-09-12T03:45:18.327Z] docker.io [2023-09-12T03:45:18.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T03:45:18.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T03:45:18.862Z] Configure a credential helper to remove this warning. See [2023-09-12T03:45:18.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T03:45:18.862Z] [2023-09-12T03:45:18.862Z] Login Succeeded [2023-09-12T03:45:18.862Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T03:45:18.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T03:45:19.103Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T03:45:19.120Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T03:45:19.134Z] ========================================================= [2023-09-12T03:45:19.134Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-12T03:45:19.134Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T03:45:19.477Z] + 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-09-12T03:45:19.744Z] Sending build context to Docker daemon 5.957MB [2023-09-12T03:45:20.011Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T03:45:20.011Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T03:45:20.011Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T03:45:20.011Z] edb6bdbacee9: Pulling fs layer [2023-09-12T03:45:20.011Z] 5f9638ab2659: Pulling fs layer [2023-09-12T03:45:20.011Z] 8d51d6327a98: Pulling fs layer [2023-09-12T03:45:20.011Z] 8b374f2dd631: Pulling fs layer [2023-09-12T03:45:20.011Z] ec14aa9079de: Pulling fs layer [2023-09-12T03:45:20.011Z] 2f466654f4bb: Pulling fs layer [2023-09-12T03:45:20.011Z] 554e91adad29: Pulling fs layer [2023-09-12T03:45:20.011Z] 2f466654f4bb: Waiting [2023-09-12T03:45:20.011Z] 554e91adad29: Waiting [2023-09-12T03:45:20.011Z] 8b374f2dd631: Waiting [2023-09-12T03:45:20.011Z] ec14aa9079de: Waiting [2023-09-12T03:45:20.011Z] 5f9638ab2659: Verifying Checksum [2023-09-12T03:45:20.011Z] 5f9638ab2659: Download complete [2023-09-12T03:45:20.011Z] 8b374f2dd631: Verifying Checksum [2023-09-12T03:45:20.011Z] 8b374f2dd631: Download complete [2023-09-12T03:45:20.011Z] ec14aa9079de: Verifying Checksum [2023-09-12T03:45:20.011Z] ec14aa9079de: Download complete [2023-09-12T03:45:20.011Z] edb6bdbacee9: Verifying Checksum [2023-09-12T03:45:20.011Z] edb6bdbacee9: Download complete [2023-09-12T03:45:20.975Z] edb6bdbacee9: Pull complete [2023-09-12T03:45:21.244Z] 554e91adad29: Verifying Checksum [2023-09-12T03:45:21.244Z] 554e91adad29: Download complete [2023-09-12T03:45:21.831Z] 5f9638ab2659: Pull complete [2023-09-12T03:45:22.419Z] 8d51d6327a98: Verifying Checksum [2023-09-12T03:45:22.419Z] 8d51d6327a98: Download complete [2023-09-12T03:45:22.687Z] 2f466654f4bb: Verifying Checksum [2023-09-12T03:45:22.687Z] 2f466654f4bb: Download complete [2023-09-12T03:45:32.865Z] 8d51d6327a98: Pull complete [2023-09-12T03:45:33.131Z] 8b374f2dd631: Pull complete [2023-09-12T03:45:33.399Z] ec14aa9079de: Pull complete [2023-09-12T03:45:40.046Z] 2f466654f4bb: Pull complete [2023-09-12T03:45:45.456Z] 554e91adad29: Pull complete [2023-09-12T03:45:45.456Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-12T03:45:45.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-12T03:45:45.456Z] ---> 1e15ea492957 [2023-09-12T03:45:45.456Z] Step 3/10 : ARG MAKE=make build [2023-09-12T03:45:45.456Z] ---> Running in 709425a72061 [2023-09-12T03:45:45.456Z] Removing intermediate container 709425a72061 [2023-09-12T03:45:45.456Z] ---> 6faae0c2a384 [2023-09-12T03:45:45.456Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T03:45:45.456Z] ---> Running in 3b82cab97f18 [2023-09-12T03:45:45.456Z] Removing intermediate container 3b82cab97f18 [2023-09-12T03:45:45.456Z] ---> c8dad63ed518 [2023-09-12T03:45:45.456Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T03:45:45.456Z] ---> Running in 500cb7699b98 [2023-09-12T03:45:45.456Z] Removing intermediate container 500cb7699b98 [2023-09-12T03:45:45.456Z] ---> bd5e4f715ac5 [2023-09-12T03:45:45.456Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T03:45:45.456Z] ---> Running in c6d872650599 [2023-09-12T03:45:46.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-12T03:45:46.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-12T03:45:47.644Z] OK: 263 MiB in 53 packages [2023-09-12T03:45:48.609Z] Removing intermediate container c6d872650599 [2023-09-12T03:45:48.609Z] ---> ec5097a49a82 [2023-09-12T03:45:48.609Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T03:45:49.196Z] ---> 14fef5fb164e [2023-09-12T03:45:49.196Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T03:45:49.196Z] ---> Running in 3a990d226603 [2023-09-12T03:46:57.159Z] Removing intermediate container 3a990d226603 [2023-09-12T03:46:57.159Z] ---> b11d64de3a62 [2023-09-12T03:46:57.159Z] Step 9/10 : COPY . . [2023-09-12T03:46:57.159Z] ---> 45b0bbdf2e08 [2023-09-12T03:46:57.159Z] Step 10/10 : RUN ${MAKE} [2023-09-12T03:46:57.159Z] ---> Running in 9a5d3341ed4d [2023-09-12T03:46:57.159Z] noop [2023-09-12T03:46:57.159Z] Removing intermediate container 9a5d3341ed4d [2023-09-12T03:46:57.159Z] ---> 51755f5489c5 [2023-09-12T03:46:57.159Z] Successfully built 51755f5489c5 [2023-09-12T03:46:57.159Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T03:46:57.501Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T03:46:57.501Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T03:46:57.693Z] prd-ubuntu20.04-docker-arm64-4c-16g-5859 does not seem to be running inside a container [2023-09-12T03:46:57.754Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T03:46:58.880Z] $ docker top a4a77affb039e12efbfaa931815635fe669d1dc767c1234917698e3b3f063c24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T03:46:59.684Z] + go version [2023-09-12T03:46:59.684Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-12T03:46:59.703Z] $ docker stop --time=1 a4a77affb039e12efbfaa931815635fe669d1dc767c1234917698e3b3f063c24 [2023-09-12T03:47:01.293Z] $ docker rm -f --volumes a4a77affb039e12efbfaa931815635fe669d1dc767c1234917698e3b3f063c24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T03:47:01.825Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T03:47:01.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T03:47:01.991Z] prd-ubuntu20.04-docker-arm64-4c-16g-5859 does not seem to be running inside a container [2023-09-12T03:47:02.052Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T03:47:03.187Z] $ docker top ffb239726404f38e065f7cb5450aa2f5f851c3ae3cff0a4a165c52d4ec7ee62a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T03:47:04.019Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-09-12T03:47:04.348Z] + make test [2023-09-12T03:47:04.348Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T03:47:43.236Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T03:49:49.933Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/common [2023-09-12T03:49:49.933Z] internal/common/utils.go:74:25: undefined: common.NewPathBuilder [2023-09-12T03:49:49.933Z] internal/common/utils.go:74:86: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) [2023-09-12T03:49:49.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T03:49:49.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T03:49:49.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T03:49:49.933Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] [2023-09-12T03:49:51.336Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.250s coverage: 80.2% of statements [2023-09-12T03:49:59.533Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T03:49:59.533Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T03:49:59.533Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common [build failed] [2023-09-12T03:50:00.502Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T03:50:00.502Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] [2023-09-12T03:50:00.502Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] [2023-09-12T03:50:03.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T03:50:03.848Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T03:50:06.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.755s coverage: 44.2% of statements [2023-09-12T03:50:06.418Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] [2023-09-12T03:50:07.378Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.454s coverage: 89.2% of statements [2023-09-12T03:50:07.378Z] FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] [2023-09-12T03:50:07.378Z] FAIL [2023-09-12T03:50:07.959Z] make: *** [Makefile:38: unittest] Error 1 [Pipeline] } [2023-09-12T03:50:07.979Z] $ docker stop --time=1 ffb239726404f38e065f7cb5450aa2f5f851c3ae3cff0a4a165c52d4ec7ee62a [2023-09-12T03:50:09.786Z] $ docker rm -f --volumes ffb239726404f38e065f7cb5450aa2f5f851c3ae3cff0a4a165c52d4ec7ee62a [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-09-12T03:50:11.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T03:50:11.013Z] [2023-09-12T03:50:11.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T03:50:11.340Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T03:50:11.608Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T03:50:11.608Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T03:50:11.608Z] 04944245beec: Pulling fs layer [2023-09-12T03:50:11.608Z] 699f458cf7ca: Pulling fs layer [2023-09-12T03:50:11.608Z] 765212b225bb: Pulling fs layer [2023-09-12T03:50:11.608Z] f23df028b6ca: Pulling fs layer [2023-09-12T03:50:11.608Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T03:50:11.608Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T03:50:11.608Z] 765212b225bb: Waiting [2023-09-12T03:50:11.608Z] f23df028b6ca: Waiting [2023-09-12T03:50:11.608Z] d65c8cfc05b1: Waiting [2023-09-12T03:50:11.608Z] 04944245beec: Verifying Checksum [2023-09-12T03:50:11.608Z] 04944245beec: Download complete [2023-09-12T03:50:11.608Z] 765212b225bb: Verifying Checksum [2023-09-12T03:50:11.608Z] 765212b225bb: Download complete [2023-09-12T03:50:11.608Z] f23df028b6ca: Verifying Checksum [2023-09-12T03:50:11.608Z] f23df028b6ca: Download complete [2023-09-12T03:50:11.608Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T03:50:11.608Z] d65c8cfc05b1: Download complete [2023-09-12T03:50:11.875Z] 699f458cf7ca: Verifying Checksum [2023-09-12T03:50:11.875Z] 699f458cf7ca: Download complete [2023-09-12T03:50:12.142Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T03:50:12.142Z] 8998bd30e6a1: Download complete [2023-09-12T03:50:14.741Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T03:50:14.741Z] 2437ff75d9bd: Download complete [2023-09-12T03:50:16.222Z] 8998bd30e6a1: Pull complete [2023-09-12T03:50:16.499Z] 04944245beec: Pull complete [2023-09-12T03:50:17.913Z] 699f458cf7ca: Pull complete [2023-09-12T03:50:18.180Z] 765212b225bb: Pull complete [2023-09-12T03:50:18.762Z] f23df028b6ca: Pull complete [2023-09-12T03:50:19.029Z] d65c8cfc05b1: Pull complete [2023-09-12T03:50:34.196Z] 2437ff75d9bd: Pull complete [2023-09-12T03:50:34.196Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T03:50:34.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T03:50:34.196Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T03:50:34.405Z] prd-ubuntu20.04-docker-arm64-4c-16g-5859 does not seem to be running inside a container [2023-09-12T03:50:34.501Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T03:50:36.871Z] $ docker top cbe633eaa714ff51ff529c25319f6e60f438af6f0c2c425037dea09210895f50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:50:37.414Z] ---> job-cost.sh [2023-09-12T03:50:37.682Z] lf-activate-venv: SKIPPING [2023-09-12T03:50:37.682Z] INFO: No Stack... [2023-09-12T03:50:37.948Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T03:50:38.906Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T03:50:39.222Z] + + catcut /w/workspace/device-sdk-go/3/archives/cost.csv -d, [2023-09-12T03:50:39.223Z] -f6 [Pipeline] lock [2023-09-12T03:50:39.275Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] [2023-09-12T03:50:39.280Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] did not exist. Created. [2023-09-12T03:50:39.280Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T03:50:39.614Z] /w/workspace/device-sdk-go/3@tmp/durable-eb0f6ecf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T03:50:39.946Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T03:50:39.972Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T03:50:40.378Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T03:50:40.385Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T03:50:40.401Z] $ docker stop --time=1 cbe633eaa714ff51ff529c25319f6e60f438af6f0c2c425037dea09210895f50 [2023-09-12T03:50:43.034Z] $ docker rm -f --volumes cbe633eaa714ff51ff529c25319f6e60f438af6f0c2c425037dea09210895f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T03:50:43.307Z] 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-09-12T03:50:43.981Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives ] [2023-09-12T03:50:43.981Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives [2023-09-12T03:50:43.981Z] total 16 [2023-09-12T03:50:43.981Z] drwxr-xr-x 3 root root 4096 Sep 12 03:44 . [2023-09-12T03:50:43.981Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 03:44 .. [2023-09-12T03:50:43.981Z] drwxr-xr-x 2 root root 4096 Sep 12 03:44 cost [2023-09-12T03:50:43.981Z] -rw-r--r-- 1 root root 86 Sep 12 03:44 cost.csv [2023-09-12T03:50:43.981Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives [2023-09-12T03:50:43.981Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives [2023-09-12T03:50:43.981Z] total 16 [2023-09-12T03:50:43.981Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 03:44 . [2023-09-12T03:50:43.981Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 03:44 .. [2023-09-12T03:50:43.981Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 03:44 cost [2023-09-12T03:50:43.981Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 12 03:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:50:44.270Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:50:45.128Z] ---> package-listing.sh [2023-09-12T03:50:45.128Z] ++ facter osfamily [2023-09-12T03:50:45.128Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T03:50:45.388Z] + OS_FAMILY=debian [2023-09-12T03:50:45.388Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1506 [2023-09-12T03:50:45.388Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T03:50:45.388Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T03:50:45.388Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T03:50:45.388Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T03:50:45.388Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1506 ']' [2023-09-12T03:50:45.388Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T03:50:45.388Z] + case "${OS_FAMILY}" in [2023-09-12T03:50:45.388Z] + dpkg -l [2023-09-12T03:50:45.388Z] + grep '^ii' [2023-09-12T03:50:45.388Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T03:50:45.388Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T03:50:45.388Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T03:50:45.388Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1506 ']' [2023-09-12T03:50:45.388Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/ [2023-09-12T03:50:45.388Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/ [Pipeline] echo [2023-09-12T03:50:45.401Z] 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-1506/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-12T03:50:45.676Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T03:50:46.235Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T03:50:46.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T03:50:46.300Z] prd-ubuntu20.04-docker-8c-8g-5858 does not seem to be running inside a container [2023-09-12T03:50:46.330Z] $ 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-1506/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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T03:50:46.511Z] $ docker top 5e846f4d107f27ac22f81278e015d6254bbd615e75fdecd9d93555a194c703da -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T03:50:46.857Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T03:50:47.138Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T03:50:47.420Z] + ls /var/log/sa-host [2023-09-12T03:50:47.420Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T03:50:47.575Z] provisioning config files... [2023-09-12T03:50:47.583Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config403365573543348656tmp [Pipeline] { [Pipeline] echo [2023-09-12T03:50:47.599Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:50:47.879Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T03:50:47.886Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:50:48.223Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T03:50:48.231Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:50:48.516Z] ---> sudo-logs.sh [2023-09-12T03:50:48.516Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T03:50:48.550Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:50:48.837Z] ---> job-cost.sh [2023-09-12T03:50:48.837Z] lf-activate-venv: SKIPPING [2023-09-12T03:50:48.837Z] DEBUG: total: 0.2199999988079071 [2023-09-12T03:50:48.837Z] INFO: Retrieving Stack Cost... [2023-09-12T03:50:49.096Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T03:50:49.356Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T03:50:49.367Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T03:50:49.650Z] ---> logs-deploy.sh [2023-09-12T03:50:49.650Z] lf-activate-venv: SKIPPING [2023-09-12T03:50:49.650Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1506/3 [2023-09-12T03:50:49.650Z] INFO: archiving workspace using pattern(s): [2023-09-12T03:50:50.586Z] Archives upload complete. [2023-09-12T03:50:50.586Z] INFO: archiving logs to Nexus