Pull request #1451 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 EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c2fb876fcd1e0284408ad645a921007a1ace85f5 rather than f26d3a4ddee4a5d174d00ba301c17f2e5604fc5f Obtained Jenkinsfile from c2fb876fcd1e0284408ad645a921007a1ace85f5 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-ssh128893258613216691.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14233358071795813083.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-1451/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-1451/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh911664225841329661.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh17156211950187985526.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-1451/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-1451/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6104366934065841011.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 ‘prd-ubuntu20.04-docker-8c-8g-14512’ is offline Running on prd-ubuntu20.04-docker-8c-8g-14515 in /w/workspace/gexfoundry_device-sdk-go_PR-1451 [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-1451 # 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/1451/head:refs/remotes/origin/PR-1451 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit f26d3a4ddee4a5d174d00ba301c17f2e5604fc5f Merge succeeded, producing edf0396176847e910d8042e25b7e9151ca6810dc Checking out Revision edf0396176847e910d8042e25b7e9151ca6810dc (PR-1451) > git config core.sparsecheckout # timeout=10 > git checkout -f f26d3a4ddee4a5d174d00ba301c17f2e5604fc5f # 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 c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f edf0396176847e910d8042e25b7e9151ca6810dc # timeout=10 Commit message: "Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-08T17:44:24.087Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-08T17:44:24.248Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-08T17:44:24.275Z] ========================================================= [2023-05-08T17:44:24.276Z] EdgeX Global Pipelines Version Info [2023-05-08T17:44:24.276Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e3047ea549b81d3106582eed00ee6983e01fb69a # timeout=10 [2023-05-08T17:44:25.041Z] ------------------- [2023-05-08T17:44:25.041Z] stable info: [2023-05-08T17:44:25.041Z] ------------------- [2023-05-08T17:44:25.041Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-08T17:44:25.042Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T17:44:25.042Z] Message: update stable to v1.0.249 [2023-05-08T17:44:25.636Z] ------------------- [2023-05-08T17:44:25.636Z] experimental info: [2023-05-08T17:44:25.636Z] ------------------- [2023-05-08T17:44:25.636Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-08T17:44:25.636Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-08T17:44:25.636Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-08T17:44:25.816Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-08T17:44:25.834Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-08T17:44:25.854Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-08T17:44:25.868Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-08T17:44:25.886Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-08T17:44:25.906Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-08T17:44:25.922Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-08T17:44:25.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-08T17:44:25.957Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-08T17:44:25.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-08T17:44:25.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-08T17:44:26.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-08T17:44:26.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-08T17:44:26.041Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-08T17:44:26.058Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-08T17:44:26.074Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T17:44:26.091Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T17:44:26.110Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-08T17:44:26.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-08T17:44:26.144Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-08T17:44:26.161Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-08T17:44:26.177Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-08T17:44:26.194Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-08T17:44:26.207Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-08T17:44:26.218Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-08T17:44:26.230Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-08T17:44:26.242Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-08T17:44:26.255Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1451 [Pipeline] echo [2023-05-08T17:44:26.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1451 [Pipeline] echo [2023-05-08T17:44:26.291Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1451 [Pipeline] echo [2023-05-08T17:44:26.311Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = edf0396176847e910d8042e25b7e9151ca6810dc [Pipeline] echo [2023-05-08T17:44:26.332Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = edf0396 [Pipeline] echo [2023-05-08T17:44:26.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T17:44:26.401Z] provisioning config files... [2023-05-08T17:44:26.418Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config17676766542152536577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:44:26.728Z] ---> docker-login.sh [2023-05-08T17:44:26.728Z] nexus3.edgexfoundry.org:10001 [2023-05-08T17:44:26.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:44:26.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:44:26.989Z] Configure a credential helper to remove this warning. See [2023-05-08T17:44:26.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:44:26.989Z] [2023-05-08T17:44:26.989Z] Login Succeeded [2023-05-08T17:44:26.989Z] nexus3.edgexfoundry.org:10002 [2023-05-08T17:44:27.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:44:27.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:44:27.248Z] Configure a credential helper to remove this warning. See [2023-05-08T17:44:27.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:44:27.248Z] [2023-05-08T17:44:27.248Z] Login Succeeded [2023-05-08T17:44:27.248Z] nexus3.edgexfoundry.org:10003 [2023-05-08T17:44:27.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:44:27.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:44:27.248Z] Configure a credential helper to remove this warning. See [2023-05-08T17:44:27.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:44:27.248Z] [2023-05-08T17:44:27.248Z] Login Succeeded [2023-05-08T17:44:27.248Z] nexus3.edgexfoundry.org:10004 [2023-05-08T17:44:27.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:44:27.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:44:27.508Z] Configure a credential helper to remove this warning. See [2023-05-08T17:44:27.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:44:27.508Z] [2023-05-08T17:44:27.508Z] Login Succeeded [2023-05-08T17:44:27.508Z] docker.io [2023-05-08T17:44:27.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:44:27.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:44:27.769Z] Configure a credential helper to remove this warning. See [2023-05-08T17:44:27.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:44:27.769Z] [2023-05-08T17:44:27.769Z] Login Succeeded [2023-05-08T17:44:27.769Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T17:44:27.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-08T17:44:28.153Z] + git rev-list -1 --merges edf0396176847e910d8042e25b7e9151ca6810dc~1..edf0396176847e910d8042e25b7e9151ca6810dc [Pipeline] echo [2023-05-08T17:44:28.255Z] -----------> git rev-list -1 --merges edf0396176847e910d8042e25b7e9151ca6810dc~1..edf0396176847e910d8042e25b7e9151ca6810dc edf0396176847e910d8042e25b7e9151ca6810dc [2023-05-08T17:44:28.255Z] edf0396176847e910d8042e25b7e9151ca6810dc [false] [Pipeline] sh [2023-05-08T17:44:28.549Z] + git log --format=format:%s -1 edf0396176847e910d8042e25b7e9151ca6810dc [Pipeline] echo [2023-05-08T17:44:28.564Z] ========================================================= [2023-05-08T17:44:28.564Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-08T17:44:28.564Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T17:44:28.915Z] + git log --format=format:%s -1 edf0396176847e910d8042e25b7e9151ca6810dc [Pipeline] echo [2023-05-08T17:44:28.925Z] [semverPrep] GIT_COMMIT: edf0396176847e910d8042e25b7e9151ca6810dc, Commit Message: Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD [Pipeline] echo [2023-05-08T17:44:28.934Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-08T17:44:29.317Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-08T17:44:29.317Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-08T17:44:29.317Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-08T17:44:29.317Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-08T17:44:29.317Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-08T17:44:29.317Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-08T17:44:29.317Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:44:29.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T17:44:29.798Z] [2023-05-08T17:44:29.798Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:44:30.102Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T17:44:30.102Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-08T17:44:30.102Z] b85a868b505f: Pulling fs layer [2023-05-08T17:44:30.102Z] e2be974225ed: Pulling fs layer [2023-05-08T17:44:30.102Z] 339a4e72a1f5: Pulling fs layer [2023-05-08T17:44:30.102Z] 988bab9f4d93: Pulling fs layer [2023-05-08T17:44:30.102Z] 1469e6f7b9e6: Pulling fs layer [2023-05-08T17:44:30.102Z] eaf3925da568: Pulling fs layer [2023-05-08T17:44:30.102Z] bab4dde63d76: Pulling fs layer [2023-05-08T17:44:30.102Z] bde34c3a00c8: Pulling fs layer [2023-05-08T17:44:30.102Z] b352a97aabf1: Pulling fs layer [2023-05-08T17:44:30.102Z] 4872d77fe225: Pulling fs layer [2023-05-08T17:44:30.102Z] 5851b861e8e6: Pulling fs layer [2023-05-08T17:44:30.102Z] 988bab9f4d93: Waiting [2023-05-08T17:44:30.102Z] 1469e6f7b9e6: Waiting [2023-05-08T17:44:30.102Z] eaf3925da568: Waiting [2023-05-08T17:44:30.102Z] bab4dde63d76: Waiting [2023-05-08T17:44:30.102Z] 5851b861e8e6: Waiting [2023-05-08T17:44:30.102Z] 4872d77fe225: Waiting [2023-05-08T17:44:30.102Z] bde34c3a00c8: Waiting [2023-05-08T17:44:30.102Z] b352a97aabf1: Waiting [2023-05-08T17:44:30.102Z] e2be974225ed: Verifying Checksum [2023-05-08T17:44:30.102Z] e2be974225ed: Download complete [2023-05-08T17:44:30.102Z] 988bab9f4d93: Download complete [2023-05-08T17:44:30.102Z] 339a4e72a1f5: Verifying Checksum [2023-05-08T17:44:30.102Z] 339a4e72a1f5: Download complete [2023-05-08T17:44:30.102Z] 1469e6f7b9e6: Verifying Checksum [2023-05-08T17:44:30.102Z] 1469e6f7b9e6: Download complete [2023-05-08T17:44:30.363Z] eaf3925da568: Verifying Checksum [2023-05-08T17:44:30.363Z] eaf3925da568: Download complete [2023-05-08T17:44:30.363Z] bde34c3a00c8: Verifying Checksum [2023-05-08T17:44:30.363Z] bde34c3a00c8: Download complete [2023-05-08T17:44:30.363Z] b352a97aabf1: Verifying Checksum [2023-05-08T17:44:30.363Z] b352a97aabf1: Download complete [2023-05-08T17:44:30.363Z] 4872d77fe225: Download complete [2023-05-08T17:44:30.363Z] 5851b861e8e6: Verifying Checksum [2023-05-08T17:44:30.363Z] 5851b861e8e6: Download complete [2023-05-08T17:44:30.363Z] b85a868b505f: Verifying Checksum [2023-05-08T17:44:30.363Z] b85a868b505f: Download complete [2023-05-08T17:44:30.625Z] bab4dde63d76: Verifying Checksum [2023-05-08T17:44:30.625Z] bab4dde63d76: Download complete [2023-05-08T17:44:31.559Z] b85a868b505f: Pull complete [2023-05-08T17:44:31.559Z] e2be974225ed: Pull complete [2023-05-08T17:44:32.126Z] 339a4e72a1f5: Pull complete [2023-05-08T17:44:32.126Z] 988bab9f4d93: Pull complete [2023-05-08T17:44:32.383Z] 1469e6f7b9e6: Pull complete [2023-05-08T17:44:32.383Z] eaf3925da568: Pull complete [2023-05-08T17:44:34.292Z] bab4dde63d76: Pull complete [2023-05-08T17:44:34.292Z] bde34c3a00c8: Pull complete [2023-05-08T17:44:34.292Z] b352a97aabf1: Pull complete [2023-05-08T17:44:34.292Z] 4872d77fe225: Pull complete [2023-05-08T17:44:34.292Z] 5851b861e8e6: Pull complete [2023-05-08T17:44:34.292Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-08T17:44:34.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-08T17:44:34.292Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:44:34.388Z] prd-ubuntu20.04-docker-8c-8g-14515 does not seem to be running inside a container [2023-05-08T17:44:34.512Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-08T17:44:36.734Z] $ docker top 48242757a7c6d9236c5335aa4d7e07b5fd18021ec11fbd17f376e1594488692b -eo pid,comm [2023-05-08T17:44:36.780Z] 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-05-08T17:44:36.780Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-08T17:44:36.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T17:44:36.821Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T17:44:36.926Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T17:44:36.932Z] $ docker exec 48242757a7c6d9236c5335aa4d7e07b5fd18021ec11fbd17f376e1594488692b ssh-agent [2023-05-08T17:44:37.032Z] SSH_AUTH_SOCK=/tmp/ssh-oW9MMkC39hWt/agent.33 [2023-05-08T17:44:37.032Z] SSH_AGENT_PID=39 [2023-05-08T17:44:37.041Z] Running ssh-add (command line suppressed) [2023-05-08T17:44:37.135Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_3443231353050523845.key (/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_3443231353050523845.key) [2023-05-08T17:44:37.145Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T17:44:37.432Z] + git tag --points-at HEAD [Pipeline] } [2023-05-08T17:44:37.454Z] $ docker exec --env ******** --env ******** 48242757a7c6d9236c5335aa4d7e07b5fd18021ec11fbd17f376e1594488692b ssh-agent -k [2023-05-08T17:44:37.546Z] unset SSH_AUTH_SOCK; [2023-05-08T17:44:37.547Z] unset SSH_AGENT_PID; [2023-05-08T17:44:37.547Z] echo Agent pid 39 killed; [2023-05-08T17:44:37.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-08T17:44:37.576Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-08T17:44:37.577Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-08T17:44:37.693Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-08T17:44:37.699Z] $ docker exec 48242757a7c6d9236c5335aa4d7e07b5fd18021ec11fbd17f376e1594488692b ssh-agent [2023-05-08T17:44:37.796Z] SSH_AUTH_SOCK=/tmp/ssh-IgcCD1cpsAgL/agent.71 [2023-05-08T17:44:37.796Z] SSH_AGENT_PID=77 [2023-05-08T17:44:37.801Z] Running ssh-add (command line suppressed) [2023-05-08T17:44:37.905Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_4032020353544663985.key (/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_4032020353544663985.key) [2023-05-08T17:44:37.915Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-08T17:44:38.206Z] + git semver init [2023-05-08T17:44:38.466Z] 2023-05-08 17:44:38,375 [run_init] DEBUG init version:0.0.0 force:False [2023-05-08T17:44:38.466Z] 2023-05-08 17:44:38,376 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver [2023-05-08T17:44:38.466Z] 2023-05-08 17:44:38,376 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver [2023-05-08T17:44:38.466Z] 2023-05-08 17:44:38,376 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451, universal_newlines=False, shell=None, istream=None) [2023-05-08T17:44:39.403Z] 2023-05-08 17:44:39,222 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.git/info/exclude [2023-05-08T17:44:39.403Z] 2023-05-08 17:44:39,223 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 with force:False [2023-05-08T17:44:39.403Z] 2023-05-08 17:44:39,223 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 [2023-05-08T17:44:39.403Z] 2023-05-08 17:44:39,227 [execute] INFO git cat-file --batch-check [2023-05-08T17:44:39.403Z] 2023-05-08 17:44:39,228 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T17:44:39.403Z] 2023-05-08 17:44:39,234 [execute] INFO git cat-file --batch [2023-05-08T17:44:39.403Z] 2023-05-08 17:44:39,234 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver, universal_newlines=False, shell=None, istream=) [2023-05-08T17:44:39.403Z] 2023-05-08 17:44:39,238 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 [2023-05-08T17:44:39.403Z] 0.0.0 [Pipeline] } [2023-05-08T17:44:39.417Z] $ docker exec --env ******** --env ******** 48242757a7c6d9236c5335aa4d7e07b5fd18021ec11fbd17f376e1594488692b ssh-agent -k [2023-05-08T17:44:39.510Z] unset SSH_AUTH_SOCK; [2023-05-08T17:44:39.510Z] unset SSH_AGENT_PID; [2023-05-08T17:44:39.511Z] echo Agent pid 77 killed; [2023-05-08T17:44:39.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-08T17:44:39.816Z] + git semver [Pipeline] } [2023-05-08T17:44:40.091Z] $ docker stop --time=1 48242757a7c6d9236c5335aa4d7e07b5fd18021ec11fbd17f376e1594488692b [2023-05-08T17:44:41.387Z] $ docker rm -f --volumes 48242757a7c6d9236c5335aa4d7e07b5fd18021ec11fbd17f376e1594488692b [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-08T17:44:41.724Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-08T17:44:41.908Z] Stashed 1 file(s) [Pipeline] echo [2023-05-08T17:44:41.910Z] [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-05-08T17:44:42.057Z] provisioning config files... [2023-05-08T17:44:42.065Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config10044246386712854503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:44:42.358Z] ---> docker-login.sh [2023-05-08T17:44:42.359Z] nexus3.edgexfoundry.org:10001 [2023-05-08T17:44:42.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:44:42.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:44:42.359Z] Configure a credential helper to remove this warning. See [2023-05-08T17:44:42.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:44:42.359Z] [2023-05-08T17:44:42.359Z] Login Succeeded [2023-05-08T17:44:42.359Z] nexus3.edgexfoundry.org:10002 [2023-05-08T17:44:42.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:44:42.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:44:42.359Z] Configure a credential helper to remove this warning. See [2023-05-08T17:44:42.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:44:42.359Z] [2023-05-08T17:44:42.359Z] Login Succeeded [2023-05-08T17:44:42.359Z] nexus3.edgexfoundry.org:10003 [2023-05-08T17:44:42.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:44:42.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:44:42.618Z] Configure a credential helper to remove this warning. See [2023-05-08T17:44:42.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:44:42.618Z] [2023-05-08T17:44:42.618Z] Login Succeeded [2023-05-08T17:44:42.618Z] nexus3.edgexfoundry.org:10004 [2023-05-08T17:44:42.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:44:42.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:44:42.618Z] Configure a credential helper to remove this warning. See [2023-05-08T17:44:42.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:44:42.618Z] [2023-05-08T17:44:42.618Z] Login Succeeded [2023-05-08T17:44:42.618Z] docker.io [2023-05-08T17:44:42.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:44:42.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:44:42.877Z] Configure a credential helper to remove this warning. See [2023-05-08T17:44:42.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:44:42.877Z] [2023-05-08T17:44:42.877Z] Login Succeeded [2023-05-08T17:44:42.877Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T17:44:42.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T17:44:42.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:44:42.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:44:42.993Z] ========================================================= [2023-05-08T17:44:42.993Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-08T17:44:42.993Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:44:43.314Z] + 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-05-08T17:44:43.314Z] Sending build context to Docker daemon 11.11MB [2023-05-08T17:44:43.314Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T17:44:43.314Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T17:44:43.314Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-08T17:44:43.314Z] f56be85fc22e: Pulling fs layer [2023-05-08T17:44:43.314Z] 85791d961cd3: Pulling fs layer [2023-05-08T17:44:43.314Z] d694b5ae8c79: Pulling fs layer [2023-05-08T17:44:43.314Z] 9f32a84ed3da: Pulling fs layer [2023-05-08T17:44:43.314Z] 4d19c01a9841: Pulling fs layer [2023-05-08T17:44:43.314Z] 9325e15d5711: Pulling fs layer [2023-05-08T17:44:43.314Z] 556b6ee489ea: Pulling fs layer [2023-05-08T17:44:43.314Z] c5a4b2cf53e6: Pulling fs layer [2023-05-08T17:44:43.314Z] 9325e15d5711: Waiting [2023-05-08T17:44:43.314Z] 556b6ee489ea: Waiting [2023-05-08T17:44:43.314Z] 9f32a84ed3da: Waiting [2023-05-08T17:44:43.314Z] 4d19c01a9841: Waiting [2023-05-08T17:44:43.314Z] 85791d961cd3: Download complete [2023-05-08T17:44:43.314Z] 9f32a84ed3da: Verifying Checksum [2023-05-08T17:44:43.314Z] 9f32a84ed3da: Download complete [2023-05-08T17:44:43.573Z] 4d19c01a9841: Verifying Checksum [2023-05-08T17:44:43.573Z] 4d19c01a9841: Download complete [2023-05-08T17:44:43.573Z] f56be85fc22e: Verifying Checksum [2023-05-08T17:44:43.573Z] f56be85fc22e: Download complete [2023-05-08T17:44:43.573Z] 9325e15d5711: Verifying Checksum [2023-05-08T17:44:43.573Z] 9325e15d5711: Download complete [2023-05-08T17:44:43.573Z] f56be85fc22e: Pull complete [2023-05-08T17:44:43.832Z] 85791d961cd3: Pull complete [2023-05-08T17:44:44.089Z] c5a4b2cf53e6: Verifying Checksum [2023-05-08T17:44:44.089Z] c5a4b2cf53e6: Download complete [2023-05-08T17:44:44.089Z] d694b5ae8c79: Download complete [2023-05-08T17:44:44.346Z] 556b6ee489ea: Verifying Checksum [2023-05-08T17:44:44.346Z] 556b6ee489ea: Download complete [2023-05-08T17:44:47.623Z] d694b5ae8c79: Pull complete [2023-05-08T17:44:47.623Z] 9f32a84ed3da: Pull complete [2023-05-08T17:44:47.623Z] 4d19c01a9841: Pull complete [2023-05-08T17:44:47.623Z] 9325e15d5711: Pull complete [2023-05-08T17:44:50.158Z] 556b6ee489ea: Pull complete [2023-05-08T17:44:51.094Z] c5a4b2cf53e6: Pull complete [2023-05-08T17:44:51.094Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-08T17:44:51.094Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-08T17:44:51.094Z] ---> c4be618373d6 [2023-05-08T17:44:51.094Z] Step 3/10 : ARG MAKE=make build [2023-05-08T17:44:54.399Z] ---> Running in 9a379d057abe [2023-05-08T17:44:54.400Z] Removing intermediate container 9a379d057abe [2023-05-08T17:44:54.400Z] ---> 868cb4ca83f1 [2023-05-08T17:44:54.400Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T17:44:54.400Z] ---> Running in 299417d5972b [2023-05-08T17:44:54.400Z] Removing intermediate container 299417d5972b [2023-05-08T17:44:54.400Z] ---> e36dfe025bb0 [2023-05-08T17:44:54.400Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T17:44:54.400Z] ---> Running in 28d20965d0d1 [2023-05-08T17:44:54.658Z] Removing intermediate container 28d20965d0d1 [2023-05-08T17:44:54.658Z] ---> cb5e33197835 [2023-05-08T17:44:54.658Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T17:44:54.658Z] ---> Running in af1d71e63e18 [2023-05-08T17:44:54.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-08T17:44:54.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-08T17:44:55.178Z] OK: 265 MiB in 53 packages [2023-05-08T17:44:55.437Z] Removing intermediate container af1d71e63e18 [2023-05-08T17:44:55.437Z] ---> 09c661ae52f6 [2023-05-08T17:44:55.437Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T17:44:55.695Z] ---> f767ffabf24e [2023-05-08T17:44:55.695Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T17:44:55.695Z] ---> Running in 9c85812c23aa [2023-05-08T17:44:57.014Z] Still waiting to schedule task [2023-05-08T17:44:57.015Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-14513’ is offline [2023-05-08T17:45:22.313Z] Removing intermediate container 9c85812c23aa [2023-05-08T17:45:22.313Z] ---> a36d218433cb [2023-05-08T17:45:22.313Z] Step 9/10 : COPY . . [2023-05-08T17:45:22.313Z] ---> 124670341ad5 [2023-05-08T17:45:22.313Z] Step 10/10 : RUN ${MAKE} [2023-05-08T17:45:22.313Z] ---> Running in 2383bebcac25 [2023-05-08T17:45:22.313Z] noop [2023-05-08T17:45:22.313Z] Removing intermediate container 2383bebcac25 [2023-05-08T17:45:22.313Z] ---> 0fc95d98e1fe [2023-05-08T17:45:22.313Z] Successfully built 0fc95d98e1fe [2023-05-08T17:45:22.313Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:45:22.630Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T17:45:22.630Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:45:22.704Z] prd-ubuntu20.04-docker-8c-8g-14515 does not seem to be running inside a container [2023-05-08T17:45:22.740Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T17:45:23.104Z] $ docker top 0eef07962f61ae39d70c723a1a25ae3fd333edbfbee0cef386b76b8607a7a8f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:45:23.453Z] + go version [2023-05-08T17:45:23.453Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-08T17:45:23.467Z] $ docker stop --time=1 0eef07962f61ae39d70c723a1a25ae3fd333edbfbee0cef386b76b8607a7a8f0 [2023-05-08T17:45:24.758Z] $ docker rm -f --volumes 0eef07962f61ae39d70c723a1a25ae3fd333edbfbee0cef386b76b8607a7a8f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:45:25.174Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-08T17:45:25.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:45:25.244Z] prd-ubuntu20.04-docker-8c-8g-14515 does not seem to be running inside a container [2023-05-08T17:45:25.280Z] $ 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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-08T17:45:25.635Z] $ docker top d86386e81516ebfc1befe2c2d4200b6743e67e5f3ab61dae8ce24ea2e3114c42 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:45:25.978Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1451 [Pipeline] fileExists [Pipeline] sh [2023-05-08T17:45:26.275Z] + make test [2023-05-08T17:45:26.275Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T17:45:34.390Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T17:45:46.587Z] # github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [2023-05-08T17:45:46.587Z] pkg/startup/bootstrap.go:25:16: service.Run undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method Run) [2023-05-08T17:45:47.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T17:45:47.525Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T17:45:47.525Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T17:45:47.525Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T17:45:48.477Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.066s coverage: 27.6% of statements [2023-05-08T17:45:48.477Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T17:45:48.477Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T17:45:48.735Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 80.2% of statements [2023-05-08T17:45:48.735Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.106s coverage: 86.0% of statements [2023-05-08T17:45:49.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T17:45:49.670Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T17:45:49.928Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.101s coverage: 77.5% of statements [2023-05-08T17:45:49.928Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T17:45:49.928Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T17:45:53.220Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.081s coverage: 14.6% of statements [2023-05-08T17:45:53.220Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.073s coverage: 68.5% of statements [2023-05-08T17:45:53.220Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.113s coverage: 89.2% of statements [2023-05-08T17:45:53.220Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 5.7% of statements [2023-05-08T17:45:53.220Z] FAIL [2023-05-08T17:45:53.220Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-05-08T17:45:53.236Z] $ docker stop --time=1 d86386e81516ebfc1befe2c2d4200b6743e67e5f3ab61dae8ce24ea2e3114c42 [2023-05-08T17:45:56.073Z] $ docker rm -f --volumes d86386e81516ebfc1befe2c2d4200b6743e67e5f3ab61dae8ce24ea2e3114c42 [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-05-08T17:45:56.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T17:45:56.652Z] [2023-05-08T17:45:56.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:45:56.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T17:45:56.951Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-08T17:45:56.951Z] 5eb5b503b376: Pulling fs layer [2023-05-08T17:45:56.951Z] 5c69ac0246d0: Pulling fs layer [2023-05-08T17:45:56.951Z] ec43610c2a17: Pulling fs layer [2023-05-08T17:45:56.951Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-08T17:45:56.951Z] 33b1e0a273af: Pulling fs layer [2023-05-08T17:45:56.951Z] 5d3b04190fa2: Pulling fs layer [2023-05-08T17:45:56.951Z] 2f39f015ded8: Pulling fs layer [2023-05-08T17:45:56.951Z] 5d3b04190fa2: Waiting [2023-05-08T17:45:56.951Z] 2f39f015ded8: Waiting [2023-05-08T17:45:56.951Z] 33b1e0a273af: Waiting [2023-05-08T17:45:56.951Z] 5c69ac0246d0: Download complete [2023-05-08T17:45:56.951Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-08T17:45:56.951Z] 3a2ae6a8a46f: Download complete [2023-05-08T17:45:56.951Z] 33b1e0a273af: Verifying Checksum [2023-05-08T17:45:56.951Z] 33b1e0a273af: Download complete [2023-05-08T17:45:56.951Z] 5d3b04190fa2: Verifying Checksum [2023-05-08T17:45:56.951Z] 5d3b04190fa2: Download complete [2023-05-08T17:45:57.208Z] ec43610c2a17: Download complete [2023-05-08T17:45:57.208Z] 5eb5b503b376: Download complete [2023-05-08T17:45:57.778Z] 2f39f015ded8: Download complete [2023-05-08T17:45:58.345Z] 5eb5b503b376: Pull complete [2023-05-08T17:45:58.345Z] 5c69ac0246d0: Pull complete [2023-05-08T17:45:58.913Z] ec43610c2a17: Pull complete [2023-05-08T17:45:58.913Z] 3a2ae6a8a46f: Pull complete [2023-05-08T17:45:59.172Z] 33b1e0a273af: Pull complete [2023-05-08T17:45:59.172Z] 5d3b04190fa2: Pull complete [2023-05-08T17:46:04.444Z] 2f39f015ded8: Pull complete [2023-05-08T17:46:04.444Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-08T17:46:04.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T17:46:04.444Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:46:04.535Z] prd-ubuntu20.04-docker-8c-8g-14515 does not seem to be running inside a container [2023-05-08T17:46:04.572Z] $ 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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-08T17:46:07.647Z] $ docker top 2313c74a648d96d428e71a24bcd7f25340689515eedac9840ddb5d1b820134a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:46:08.079Z] ---> job-cost.sh [2023-05-08T17:46:08.079Z] lf-activate-venv: SKIPPING [2023-05-08T17:46:08.079Z] INFO: No Stack... [2023-05-08T17:46:08.338Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T17:46:08.597Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T17:46:08.887Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/cost.csv [2023-05-08T17:46:08.887Z] + cut -d, -f6 [Pipeline] lock [2023-05-08T17:46:08.897Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1451-3-stack-cost] [2023-05-08T17:46:08.906Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-3-stack-cost] did not exist. Created. [2023-05-08T17:46:08.906Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1451-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T17:46:09.208Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-08T17:46:09.245Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T17:46:09.251Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T17:46:09.268Z] $ docker stop --time=1 2313c74a648d96d428e71a24bcd7f25340689515eedac9840ddb5d1b820134a1 [2023-05-08T17:46:10.428Z] $ docker rm -f --volumes 2313c74a648d96d428e71a24bcd7f25340689515eedac9840ddb5d1b820134a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T17:46:10.539Z] Failed in branch amd64 [2023-05-08T17:46:26.790Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14516 in /w/workspace/gexfoundry_device-sdk-go_PR-1451 [Pipeline] { [Pipeline] ws [2023-05-08T17:46:26.801Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-05-08T17:46:26.836Z] The recommended git tool is: git [2023-05-08T17:46:32.242Z] using credential edgex-jenkins-ssh [2023-05-08T17:46:32.268Z] Cloning the remote Git repository [2023-05-08T17:46:32.316Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T17:46:32.413Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-05-08T17:46:32.559Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T17:46:32.560Z] > git --version # timeout=10 [2023-05-08T17:46:32.582Z] > git --version # 'git version 2.25.1' [2023-05-08T17:46:32.585Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T17:46:32.747Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T17:46:35.784Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T17:46:35.808Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-08T17:46:36.613Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-08T17:46:36.654Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-08T17:46:36.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T17:46:36.670Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1451/head:refs/remotes/origin/PR-1451 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-08T17:46:37.328Z] Merging remotes/origin/main commit c2fb876fcd1e0284408ad645a921007a1ace85f5 into PR head commit f26d3a4ddee4a5d174d00ba301c17f2e5604fc5f [2023-05-08T17:46:37.700Z] Merge succeeded, producing 99edf3fd8b63ba495a93b22125ede2d0ec2aeab1 [2023-05-08T17:46:37.701Z] Checking out Revision 99edf3fd8b63ba495a93b22125ede2d0ec2aeab1 (PR-1451) [2023-05-08T17:46:37.346Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T17:46:37.432Z] > git checkout -f f26d3a4ddee4a5d174d00ba301c17f2e5604fc5f # timeout=10 [2023-05-08T17:46:37.534Z] > git remote # timeout=10 [2023-05-08T17:46:37.558Z] > git config --get remote.origin.url # timeout=10 [2023-05-08T17:46:37.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-08T17:46:37.593Z] > git merge c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 [2023-05-08T17:46:37.679Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-08T17:46:37.706Z] > git config core.sparsecheckout # timeout=10 [2023-05-08T17:46:37.721Z] > git checkout -f 99edf3fd8b63ba495a93b22125ede2d0ec2aeab1 # timeout=10 [2023-05-08T17:46:41.259Z] Commit message: "Merge commit 'c2fb876fcd1e0284408ad645a921007a1ace85f5' into HEAD" [2023-05-08T17:46:41.285Z] First time build. Skipping changelog. [2023-05-08T17:46:41.267Z] > git rev-list --no-walk e3047ea549b81d3106582eed00ee6983e01fb69a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-08T17:46:42.250Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-08T17:46:42.250Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-08T17:46:42.250Z] Dload Upload Total Spent Left Speed [2023-05-08T17:46:42.250Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh [2023-05-08T17:46:42.945Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-08T17:46:43.296Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-08T17:46:43.296Z] + sudo tee /etc/docker/daemon.new [2023-05-08T17:46:43.296Z] { [2023-05-08T17:46:43.296Z] "registry-mirrors": [ [2023-05-08T17:46:43.296Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-08T17:46:43.296Z] ], [2023-05-08T17:46:43.296Z] "bip": "10.250.0.254/24", [2023-05-08T17:46:43.296Z] "hosts": [ [2023-05-08T17:46:43.296Z] "tcp://0.0.0.0:5555", [2023-05-08T17:46:43.296Z] "unix:///var/run/docker.sock" [2023-05-08T17:46:43.296Z] ], [2023-05-08T17:46:43.296Z] "mtu": 1458, [2023-05-08T17:46:43.296Z] "selinux-enabled": true, [2023-05-08T17:46:43.296Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-08T17:46:43.296Z] } [Pipeline] sh [2023-05-08T17:46:43.623Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-08T17:46:43.964Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T17:47:06.089Z] provisioning config files... [2023-05-08T17:47:06.111Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8995157699187452620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:47:06.462Z] ---> docker-login.sh [2023-05-08T17:47:06.462Z] nexus3.edgexfoundry.org:10001 [2023-05-08T17:47:06.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:47:07.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:47:07.006Z] Configure a credential helper to remove this warning. See [2023-05-08T17:47:07.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:47:07.006Z] [2023-05-08T17:47:07.006Z] Login Succeeded [2023-05-08T17:47:07.006Z] nexus3.edgexfoundry.org:10002 [2023-05-08T17:47:07.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:47:07.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:47:07.275Z] Configure a credential helper to remove this warning. See [2023-05-08T17:47:07.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:47:07.275Z] [2023-05-08T17:47:07.275Z] Login Succeeded [2023-05-08T17:47:07.545Z] nexus3.edgexfoundry.org:10003 [2023-05-08T17:47:07.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:47:07.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:47:07.815Z] Configure a credential helper to remove this warning. See [2023-05-08T17:47:07.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:47:07.815Z] [2023-05-08T17:47:07.815Z] Login Succeeded [2023-05-08T17:47:07.815Z] nexus3.edgexfoundry.org:10004 [2023-05-08T17:47:08.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:47:08.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:47:08.088Z] Configure a credential helper to remove this warning. See [2023-05-08T17:47:08.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:47:08.088Z] [2023-05-08T17:47:08.088Z] Login Succeeded [2023-05-08T17:47:08.088Z] docker.io [2023-05-08T17:47:08.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-08T17:47:08.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-08T17:47:08.637Z] Configure a credential helper to remove this warning. See [2023-05-08T17:47:08.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-08T17:47:08.637Z] [2023-05-08T17:47:08.637Z] Login Succeeded [2023-05-08T17:47:08.637Z] ---> docker-login.sh ends [Pipeline] } [2023-05-08T17:47:08.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-08T17:47:08.900Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:47:08.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-08T17:47:08.924Z] ========================================================= [2023-05-08T17:47:08.924Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-08T17:47:08.924Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:47:09.280Z] + 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-05-08T17:47:09.549Z] Sending build context to Docker daemon 5.979MB [2023-05-08T17:47:09.549Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-08T17:47:09.549Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-08T17:47:09.818Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-08T17:47:09.818Z] c41833b44d91: Pulling fs layer [2023-05-08T17:47:09.818Z] ed15518f5707: Pulling fs layer [2023-05-08T17:47:09.818Z] feae8fd75edb: Pulling fs layer [2023-05-08T17:47:09.818Z] 242c74f7c9fa: Pulling fs layer [2023-05-08T17:47:09.818Z] 3cdef696dda3: Pulling fs layer [2023-05-08T17:47:09.818Z] 2ced38df9373: Pulling fs layer [2023-05-08T17:47:09.818Z] 58f1dce35555: Pulling fs layer [2023-05-08T17:47:09.818Z] 242c74f7c9fa: Waiting [2023-05-08T17:47:09.818Z] 3cdef696dda3: Waiting [2023-05-08T17:47:09.818Z] 2ced38df9373: Waiting [2023-05-08T17:47:09.818Z] 58f1dce35555: Waiting [2023-05-08T17:47:09.818Z] ed15518f5707: Verifying Checksum [2023-05-08T17:47:09.818Z] ed15518f5707: Download complete [2023-05-08T17:47:09.818Z] 242c74f7c9fa: Verifying Checksum [2023-05-08T17:47:09.818Z] 242c74f7c9fa: Download complete [2023-05-08T17:47:09.818Z] 3cdef696dda3: Verifying Checksum [2023-05-08T17:47:09.818Z] 3cdef696dda3: Download complete [2023-05-08T17:47:09.818Z] c41833b44d91: Verifying Checksum [2023-05-08T17:47:09.818Z] c41833b44d91: Download complete [2023-05-08T17:47:11.262Z] c41833b44d91: Pull complete [2023-05-08T17:47:11.263Z] 58f1dce35555: Verifying Checksum [2023-05-08T17:47:11.263Z] 58f1dce35555: Download complete [2023-05-08T17:47:11.531Z] ed15518f5707: Pull complete [2023-05-08T17:47:12.516Z] feae8fd75edb: Verifying Checksum [2023-05-08T17:47:12.516Z] feae8fd75edb: Download complete [2023-05-08T17:47:12.786Z] 2ced38df9373: Verifying Checksum [2023-05-08T17:47:12.786Z] 2ced38df9373: Download complete [2023-05-08T17:47:25.152Z] feae8fd75edb: Pull complete [2023-05-08T17:47:25.152Z] 242c74f7c9fa: Pull complete [2023-05-08T17:47:25.152Z] 3cdef696dda3: Pull complete [2023-05-08T17:47:30.505Z] 2ced38df9373: Pull complete [2023-05-08T17:47:32.537Z] 58f1dce35555: Pull complete [2023-05-08T17:47:32.537Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-08T17:47:32.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-08T17:47:32.537Z] ---> fadd8f120f05 [2023-05-08T17:47:32.537Z] Step 3/10 : ARG MAKE=make build [2023-05-08T17:47:33.951Z] ---> Running in c1e525ebb821 [2023-05-08T17:47:34.221Z] Removing intermediate container c1e525ebb821 [2023-05-08T17:47:34.221Z] ---> 5629e2658e29 [2023-05-08T17:47:34.221Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-08T17:47:34.492Z] ---> Running in 132a022a0cef [2023-05-08T17:47:34.761Z] Removing intermediate container 132a022a0cef [2023-05-08T17:47:34.761Z] ---> c78e0eb3f43d [2023-05-08T17:47:34.761Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-08T17:47:34.761Z] ---> Running in 2723b029a0b7 [2023-05-08T17:47:35.029Z] Removing intermediate container 2723b029a0b7 [2023-05-08T17:47:35.029Z] ---> f06bc6857f33 [2023-05-08T17:47:35.029Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-08T17:47:35.303Z] ---> Running in 69accb46f1dc [2023-05-08T17:47:36.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-08T17:47:36.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-08T17:47:37.921Z] OK: 263 MiB in 53 packages [2023-05-08T17:47:38.559Z] Removing intermediate container 69accb46f1dc [2023-05-08T17:47:38.559Z] ---> 154c7be76fdb [2023-05-08T17:47:38.559Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-08T17:47:39.148Z] ---> 7bb859f455ab [2023-05-08T17:47:39.148Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-08T17:47:39.148Z] ---> Running in fad9140065f8 [2023-05-08T17:48:47.147Z] Removing intermediate container fad9140065f8 [2023-05-08T17:48:47.147Z] ---> a7be2edaaebb [2023-05-08T17:48:47.147Z] Step 9/10 : COPY . . [2023-05-08T17:48:47.147Z] ---> a3da9e67a101 [2023-05-08T17:48:47.147Z] Step 10/10 : RUN ${MAKE} [2023-05-08T17:48:47.147Z] ---> Running in e3258b947e05 [2023-05-08T17:48:47.147Z] noop [2023-05-08T17:48:47.147Z] Removing intermediate container e3258b947e05 [2023-05-08T17:48:47.147Z] ---> 69b492e42404 [2023-05-08T17:48:47.147Z] Successfully built 69b492e42404 [2023-05-08T17:48:47.147Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:48:47.541Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T17:48:47.541Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:48:47.762Z] prd-ubuntu20.04-docker-arm64-4c-16g-14516 does not seem to be running inside a container [2023-05-08T17:48:47.828Z] $ 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-05-08T17:48:49.068Z] $ docker top d4a2bf63e5afbfca17357478fcef964152fb73163453affc1889f72bdb272f72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:48:49.912Z] + go version [2023-05-08T17:48:49.913Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-08T17:48:49.932Z] $ docker stop --time=1 d4a2bf63e5afbfca17357478fcef964152fb73163453affc1889f72bdb272f72 [2023-05-08T17:48:51.518Z] $ docker rm -f --volumes d4a2bf63e5afbfca17357478fcef964152fb73163453affc1889f72bdb272f72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:48:52.090Z] + docker inspect -f . ci-base-image-arm64 [2023-05-08T17:48:52.090Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:48:52.279Z] prd-ubuntu20.04-docker-arm64-4c-16g-14516 does not seem to be running inside a container [2023-05-08T17:48:52.354Z] $ 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-05-08T17:48:53.569Z] $ docker top c066fc8bff74d5d8c21413672b3f87e2e34cd2fa3c41d1242bf3186c59e5d663 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:48:54.081Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-05-08T17:48:54.743Z] + make test [2023-05-08T17:48:54.743Z] go test -race -coverprofile=coverage.out ./... [2023-05-08T17:49:33.643Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-08T17:51:27.465Z] # github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [2023-05-08T17:51:27.465Z] pkg/startup/bootstrap.go:25:16: service.Run undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method Run) [2023-05-08T17:51:28.050Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-08T17:51:28.050Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-08T17:51:28.050Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-08T17:51:28.050Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-08T17:51:40.359Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.230s coverage: 27.6% of statements [2023-05-08T17:51:43.724Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.258s coverage: 80.2% of statements [2023-05-08T17:51:56.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-08T17:51:56.035Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-08T17:51:56.035Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.354s coverage: 86.0% of statements [2023-05-08T17:52:02.706Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-08T17:52:02.706Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.426s coverage: 77.5% of statements [2023-05-08T17:52:09.416Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-08T17:52:09.416Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-08T17:52:09.416Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-08T17:52:10.008Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.242s coverage: 14.6% of statements [2023-05-08T17:52:10.008Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.455s coverage: 68.5% of statements [2023-05-08T17:52:12.600Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.421s coverage: 89.2% of statements [2023-05-08T17:52:14.014Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.247s coverage: 5.7% of statements [2023-05-08T17:52:14.014Z] FAIL [2023-05-08T17:52:14.601Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-05-08T17:52:14.624Z] $ docker stop --time=1 c066fc8bff74d5d8c21413672b3f87e2e34cd2fa3c41d1242bf3186c59e5d663 [2023-05-08T17:52:16.477Z] $ docker rm -f --volumes c066fc8bff74d5d8c21413672b3f87e2e34cd2fa3c41d1242bf3186c59e5d663 [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-05-08T17:52:17.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T17:52:17.723Z] [2023-05-08T17:52:17.723Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:52:18.052Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T17:52:18.324Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-08T17:52:18.324Z] 8998bd30e6a1: Pulling fs layer [2023-05-08T17:52:18.324Z] 04944245beec: Pulling fs layer [2023-05-08T17:52:18.324Z] 699f458cf7ca: Pulling fs layer [2023-05-08T17:52:18.324Z] 765212b225bb: Pulling fs layer [2023-05-08T17:52:18.324Z] f23df028b6ca: Pulling fs layer [2023-05-08T17:52:18.324Z] d65c8cfc05b1: Pulling fs layer [2023-05-08T17:52:18.324Z] 2437ff75d9bd: Pulling fs layer [2023-05-08T17:52:18.324Z] 765212b225bb: Waiting [2023-05-08T17:52:18.324Z] f23df028b6ca: Waiting [2023-05-08T17:52:18.324Z] d65c8cfc05b1: Waiting [2023-05-08T17:52:18.324Z] 2437ff75d9bd: Waiting [2023-05-08T17:52:18.324Z] 04944245beec: Verifying Checksum [2023-05-08T17:52:18.324Z] 04944245beec: Download complete [2023-05-08T17:52:18.324Z] 765212b225bb: Verifying Checksum [2023-05-08T17:52:18.325Z] 765212b225bb: Download complete [2023-05-08T17:52:18.592Z] f23df028b6ca: Verifying Checksum [2023-05-08T17:52:18.592Z] f23df028b6ca: Download complete [2023-05-08T17:52:18.592Z] d65c8cfc05b1: Verifying Checksum [2023-05-08T17:52:18.592Z] d65c8cfc05b1: Download complete [2023-05-08T17:52:18.592Z] 699f458cf7ca: Verifying Checksum [2023-05-08T17:52:18.592Z] 699f458cf7ca: Download complete [2023-05-08T17:52:18.858Z] 8998bd30e6a1: Verifying Checksum [2023-05-08T17:52:18.859Z] 8998bd30e6a1: Download complete [2023-05-08T17:52:21.635Z] 2437ff75d9bd: Verifying Checksum [2023-05-08T17:52:21.635Z] 2437ff75d9bd: Download complete [2023-05-08T17:52:23.163Z] 8998bd30e6a1: Pull complete [2023-05-08T17:52:23.437Z] 04944245beec: Pull complete [2023-05-08T17:52:24.860Z] 699f458cf7ca: Pull complete [2023-05-08T17:52:24.860Z] 765212b225bb: Pull complete [2023-05-08T17:52:25.823Z] f23df028b6ca: Pull complete [2023-05-08T17:52:25.823Z] d65c8cfc05b1: Pull complete [2023-05-08T17:52:38.164Z] 2437ff75d9bd: Pull complete [2023-05-08T17:52:38.164Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-08T17:52:38.164Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-08T17:52:38.164Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:52:38.375Z] prd-ubuntu20.04-docker-arm64-4c-16g-14516 does not seem to be running inside a container [2023-05-08T17:52:38.442Z] $ 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-05-08T17:52:40.849Z] $ docker top 8f4a7fa0b5e1aab8f340bdeda8a8c8a6f8e940848da4eb469cc7eb01f66b7b22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:52:41.701Z] ---> job-cost.sh [2023-05-08T17:52:41.701Z] lf-activate-venv: SKIPPING [2023-05-08T17:52:41.701Z] INFO: No Stack... [2023-05-08T17:52:41.967Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-08T17:52:42.928Z] INFO: Archiving Costs [Pipeline] sh [2023-05-08T17:52:43.569Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/3/archives/cost.csv [2023-05-08T17:52:43.569Z] [Pipeline] lock [2023-05-08T17:52:43.643Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1451-3-stack-cost] [2023-05-08T17:52:43.649Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-3-stack-cost] did not exist. Created. [2023-05-08T17:52:43.649Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1451-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-08T17:52:43.987Z] /w/workspace/device-sdk-go/3@tmp/durable-9a33307f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-08T17:52:44.331Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-08T17:52:44.348Z] Warning: overwriting stash ‘stack-cost’ [2023-05-08T17:52:44.747Z] Stashed 1 file(s) [Pipeline] } [2023-05-08T17:52:44.757Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-08T17:52:44.777Z] $ docker stop --time=1 8f4a7fa0b5e1aab8f340bdeda8a8c8a6f8e940848da4eb469cc7eb01f66b7b22 [2023-05-08T17:52:46.245Z] $ docker rm -f --volumes 8f4a7fa0b5e1aab8f340bdeda8a8c8a6f8e940848da4eb469cc7eb01f66b7b22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-08T17:52:46.512Z] 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-05-08T17:52:47.305Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives ] [2023-05-08T17:52:47.305Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-08T17:52:47.305Z] total 16 [2023-05-08T17:52:47.305Z] drwxr-xr-x 3 root root 4096 May 8 17:46 . [2023-05-08T17:52:47.305Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 17:46 .. [2023-05-08T17:52:47.305Z] drwxr-xr-x 2 root root 4096 May 8 17:46 cost [2023-05-08T17:52:47.305Z] -rw-r--r-- 1 root root 86 May 8 17:46 cost.csv [2023-05-08T17:52:47.305Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-08T17:52:47.305Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-08T17:52:47.305Z] total 16 [2023-05-08T17:52:47.305Z] drwxr-xr-x 3 jenkins jenkins 4096 May 8 17:46 . [2023-05-08T17:52:47.305Z] drwxrwxr-x 12 jenkins jenkins 4096 May 8 17:46 .. [2023-05-08T17:52:47.305Z] drwxr-xr-x 2 jenkins jenkins 4096 May 8 17:46 cost [2023-05-08T17:52:47.305Z] -rw-r--r-- 1 jenkins jenkins 86 May 8 17:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:52:47.596Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:52:48.456Z] ---> package-listing.sh [2023-05-08T17:52:48.456Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-08T17:52:48.456Z] ++ facter osfamily [2023-05-08T17:52:48.714Z] + OS_FAMILY=debian [2023-05-08T17:52:48.714Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1451 [2023-05-08T17:52:48.714Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-08T17:52:48.714Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-08T17:52:48.714Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-08T17:52:48.714Z] + PACKAGES=/tmp/packages_start.txt [2023-05-08T17:52:48.714Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1451 ']' [2023-05-08T17:52:48.714Z] + PACKAGES=/tmp/packages_end.txt [2023-05-08T17:52:48.714Z] + case "${OS_FAMILY}" in [2023-05-08T17:52:48.714Z] + dpkg -l [2023-05-08T17:52:48.714Z] + grep '^ii' [2023-05-08T17:52:48.714Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-08T17:52:48.714Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-08T17:52:48.714Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-08T17:52:48.714Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1451 ']' [2023-05-08T17:52:48.714Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/ [2023-05-08T17:52:48.714Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/ [Pipeline] echo [2023-05-08T17:52:48.724Z] 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-1451/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-08T17:52:48.998Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-08T17:52:49.555Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-08T17:52:49.555Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-08T17:52:49.625Z] prd-ubuntu20.04-docker-8c-8g-14515 does not seem to be running inside a container [2023-05-08T17:52:49.662Z] $ 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-1451/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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@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-05-08T17:52:49.847Z] $ docker top d2a24b179f62b09ce7fd743aba0e9ef8ca39ba9a9506f1444601bfddd7886297 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-08T17:52:50.215Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-08T17:52:50.498Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-08T17:52:50.777Z] + ls /var/log/sa-host [2023-05-08T17:52:50.777Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-08T17:52:50.942Z] provisioning config files... [2023-05-08T17:52:50.950Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config2247520984247099841tmp [Pipeline] { [Pipeline] echo [2023-05-08T17:52:50.966Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:52:51.248Z] ---> create-netrc.sh [Pipeline] } [2023-05-08T17:52:51.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:52:51.582Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-08T17:52:51.589Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:52:51.872Z] ---> sudo-logs.sh [2023-05-08T17:52:51.872Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-08T17:52:51.899Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:52:52.185Z] ---> job-cost.sh [2023-05-08T17:52:52.185Z] lf-activate-venv: SKIPPING [2023-05-08T17:52:52.185Z] DEBUG: total: 0.2199999988079071 [2023-05-08T17:52:52.185Z] INFO: Retrieving Stack Cost... [2023-05-08T17:52:52.458Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-08T17:52:52.718Z] INFO: Archiving Costs [Pipeline] echo [2023-05-08T17:52:52.728Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-08T17:52:53.012Z] ---> logs-deploy.sh [2023-05-08T17:52:53.013Z] lf-activate-venv: SKIPPING [2023-05-08T17:52:53.013Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1451/3 [2023-05-08T17:52:53.013Z] INFO: archiving workspace using pattern(s): [2023-05-08T17:52:53.948Z] Archives upload complete. [2023-05-08T17:52:53.948Z] INFO: archiving logs to Nexus