Pull request #1471 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 ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 668323de2196758b3329aa0ada666f398bc17cd1+a0da80382c0e288d5b5fa5ac238919125b7cf977 (fbbf24302f0d808267545618b8c239a26209c704) 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-ssh12760555391726019853.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh5660811520670133809.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-1471/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-1471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12314863823913236355.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh8113033159933689683.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-1471/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-1471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh187618771902386246.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1453 in /w/workspace/gexfoundry_device-sdk-go_PR-1471 [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-1471 # 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/1471/head:refs/remotes/origin/PR-1471 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a0da80382c0e288d5b5fa5ac238919125b7cf977 into PR head commit 668323de2196758b3329aa0ada666f398bc17cd1 Merge succeeded, producing b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 Checking out Revision b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 (PR-1471) > git config core.sparsecheckout # timeout=10 > git checkout -f 668323de2196758b3329aa0ada666f398bc17cd1 # 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 a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 # timeout=10 Commit message: "Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD" > git rev-list --no-walk 2c47d968c3f2c483c59d059233069dd8f349e2ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-18T17:12:57.821Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-18T17:12:57.890Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-18T17:12:57.913Z] ========================================================= [2023-07-18T17:12:57.913Z] EdgeX Global Pipelines Version Info [2023-07-18T17:12:57.913Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:12:58.621Z] ------------------- [2023-07-18T17:12:58.621Z] stable info: [2023-07-18T17:12:58.621Z] ------------------- [2023-07-18T17:12:58.621Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-18T17:12:58.621Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-18T17:12:58.621Z] Message: update stable to v1.0.250 [2023-07-18T17:12:59.191Z] ------------------- [2023-07-18T17:12:59.191Z] experimental info: [2023-07-18T17:12:59.191Z] ------------------- [2023-07-18T17:12:59.191Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-18T17:12:59.191Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-18T17:12:59.191Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-18T17:12:59.364Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-18T17:12:59.378Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-18T17:12:59.394Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-18T17:12:59.408Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-18T17:12:59.422Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-18T17:12:59.433Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-18T17:12:59.454Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-18T17:12:59.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-18T17:12:59.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-18T17:12:59.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-18T17:12:59.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-18T17:12:59.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-18T17:12:59.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-18T17:12:59.559Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-18T17:12:59.573Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-18T17:12:59.592Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T17:12:59.610Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T17:12:59.628Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T17:12:59.650Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-18T17:12:59.667Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-18T17:12:59.685Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-18T17:12:59.704Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-18T17:12:59.720Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-18T17:12:59.731Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-18T17:12:59.745Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-18T17:12:59.761Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-18T17:12:59.779Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-18T17:12:59.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1471 [Pipeline] echo [2023-07-18T17:12:59.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1471 [Pipeline] echo [2023-07-18T17:12:59.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1471 [Pipeline] echo [2023-07-18T17:12:59.832Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 [Pipeline] echo [2023-07-18T17:12:59.844Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b262980 [Pipeline] echo [2023-07-18T17:12:59.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T17:12:59.911Z] provisioning config files... [2023-07-18T17:12:59.924Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config11281253638124886164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:13:00.222Z] ---> docker-login.sh [2023-07-18T17:13:00.222Z] nexus3.edgexfoundry.org:10001 [2023-07-18T17:13:00.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:13:00.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:13:00.481Z] Configure a credential helper to remove this warning. See [2023-07-18T17:13:00.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:13:00.481Z] [2023-07-18T17:13:00.481Z] Login Succeeded [2023-07-18T17:13:00.481Z] nexus3.edgexfoundry.org:10002 [2023-07-18T17:13:00.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:13:00.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:13:00.740Z] Configure a credential helper to remove this warning. See [2023-07-18T17:13:00.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:13:00.740Z] [2023-07-18T17:13:00.740Z] Login Succeeded [2023-07-18T17:13:00.740Z] nexus3.edgexfoundry.org:10003 [2023-07-18T17:13:00.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:13:00.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:13:00.741Z] Configure a credential helper to remove this warning. See [2023-07-18T17:13:00.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:13:00.741Z] [2023-07-18T17:13:00.741Z] Login Succeeded [2023-07-18T17:13:00.741Z] nexus3.edgexfoundry.org:10004 [2023-07-18T17:13:01.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:13:01.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:13:01.001Z] Configure a credential helper to remove this warning. See [2023-07-18T17:13:01.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:13:01.001Z] [2023-07-18T17:13:01.001Z] Login Succeeded [2023-07-18T17:13:01.001Z] docker.io [2023-07-18T17:13:01.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:13:01.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:13:01.261Z] Configure a credential helper to remove this warning. See [2023-07-18T17:13:01.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:13:01.261Z] [2023-07-18T17:13:01.261Z] Login Succeeded [2023-07-18T17:13:01.261Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T17:13:01.268Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-18T17:13:01.665Z] + git rev-list -1 --merges b2629809fb989d447d93b8e5b1d5d3adeaccd1c2~1..b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 [Pipeline] echo [2023-07-18T17:13:01.708Z] -----------> git rev-list -1 --merges b2629809fb989d447d93b8e5b1d5d3adeaccd1c2~1..b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 [2023-07-18T17:13:01.708Z] b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 [false] [Pipeline] sh [2023-07-18T17:13:01.998Z] + git log --format=format:%s -1 b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 [Pipeline] echo [2023-07-18T17:13:02.016Z] ========================================================= [2023-07-18T17:13:02.016Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-18T17:13:02.016Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T17:13:02.337Z] + git log --format=format:%s -1 b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 [Pipeline] echo [2023-07-18T17:13:02.346Z] [semverPrep] GIT_COMMIT: b2629809fb989d447d93b8e5b1d5d3adeaccd1c2, Commit Message: Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD [Pipeline] echo [2023-07-18T17:13:02.354Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-18T17:13:02.749Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-18T17:13:02.749Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-18T17:13:02.749Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-18T17:13:02.749Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-18T17:13:02.749Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-18T17:13:02.749Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-18T17:13:02.749Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:13:03.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T17:13:03.175Z] [2023-07-18T17:13:03.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:13:03.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T17:13:03.558Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-18T17:13:03.558Z] b85a868b505f: Pulling fs layer [2023-07-18T17:13:03.558Z] e2be974225ed: Pulling fs layer [2023-07-18T17:13:03.558Z] 339a4e72a1f5: Pulling fs layer [2023-07-18T17:13:03.558Z] 988bab9f4d93: Pulling fs layer [2023-07-18T17:13:03.558Z] 1469e6f7b9e6: Pulling fs layer [2023-07-18T17:13:03.558Z] eaf3925da568: Pulling fs layer [2023-07-18T17:13:03.558Z] bab4dde63d76: Pulling fs layer [2023-07-18T17:13:03.558Z] bde34c3a00c8: Pulling fs layer [2023-07-18T17:13:03.558Z] b352a97aabf1: Pulling fs layer [2023-07-18T17:13:03.558Z] 4872d77fe225: Pulling fs layer [2023-07-18T17:13:03.558Z] 5851b861e8e6: Pulling fs layer [2023-07-18T17:13:03.558Z] 988bab9f4d93: Waiting [2023-07-18T17:13:03.558Z] 4872d77fe225: Waiting [2023-07-18T17:13:03.558Z] bde34c3a00c8: Waiting [2023-07-18T17:13:03.558Z] 5851b861e8e6: Waiting [2023-07-18T17:13:03.558Z] bab4dde63d76: Waiting [2023-07-18T17:13:03.558Z] 1469e6f7b9e6: Waiting [2023-07-18T17:13:03.558Z] e2be974225ed: Verifying Checksum [2023-07-18T17:13:03.558Z] e2be974225ed: Download complete [2023-07-18T17:13:03.558Z] 988bab9f4d93: Verifying Checksum [2023-07-18T17:13:03.817Z] 1469e6f7b9e6: Download complete [2023-07-18T17:13:03.817Z] eaf3925da568: Verifying Checksum [2023-07-18T17:13:03.817Z] eaf3925da568: Download complete [2023-07-18T17:13:03.817Z] 339a4e72a1f5: Verifying Checksum [2023-07-18T17:13:03.817Z] 339a4e72a1f5: Download complete [2023-07-18T17:13:03.817Z] bde34c3a00c8: Verifying Checksum [2023-07-18T17:13:03.817Z] bde34c3a00c8: Download complete [2023-07-18T17:13:03.817Z] b352a97aabf1: Verifying Checksum [2023-07-18T17:13:03.817Z] b352a97aabf1: Download complete [2023-07-18T17:13:03.817Z] 4872d77fe225: Verifying Checksum [2023-07-18T17:13:03.817Z] 4872d77fe225: Download complete [2023-07-18T17:13:03.817Z] 5851b861e8e6: Download complete [2023-07-18T17:13:03.817Z] b85a868b505f: Download complete [2023-07-18T17:13:04.075Z] bab4dde63d76: Verifying Checksum [2023-07-18T17:13:04.076Z] bab4dde63d76: Download complete [2023-07-18T17:13:05.010Z] b85a868b505f: Pull complete [2023-07-18T17:13:05.268Z] e2be974225ed: Pull complete [2023-07-18T17:13:05.835Z] 339a4e72a1f5: Pull complete [2023-07-18T17:13:05.835Z] 988bab9f4d93: Pull complete [2023-07-18T17:13:06.094Z] 1469e6f7b9e6: Pull complete [2023-07-18T17:13:06.353Z] eaf3925da568: Pull complete [2023-07-18T17:13:08.256Z] bab4dde63d76: Pull complete [2023-07-18T17:13:08.256Z] bde34c3a00c8: Pull complete [2023-07-18T17:13:08.256Z] b352a97aabf1: Pull complete [2023-07-18T17:13:08.256Z] 4872d77fe225: Pull complete [2023-07-18T17:13:08.256Z] 5851b861e8e6: Pull complete [2023-07-18T17:13:08.515Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-18T17:13:08.515Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T17:13:08.515Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T17:13:08.612Z] prd-ubuntu20.04-docker-8c-8g-1453 does not seem to be running inside a container [2023-07-18T17:13:08.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-18T17:13:11.260Z] $ docker top 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 -eo pid,comm [2023-07-18T17:13:11.314Z] 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-07-18T17:13:11.314Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-18T17:13:11.346Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T17:13:11.346Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T17:13:11.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T17:13:11.477Z] $ docker exec 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 ssh-agent [2023-07-18T17:13:11.592Z] SSH_AUTH_SOCK=/tmp/ssh-cTtHYEWZU1jA/agent.33 [2023-07-18T17:13:11.592Z] SSH_AGENT_PID=39 [2023-07-18T17:13:11.600Z] Running ssh-add (command line suppressed) [2023-07-18T17:13:11.700Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_2027147968289494957.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_2027147968289494957.key) [2023-07-18T17:13:11.719Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T17:13:12.005Z] + git tag --points-at HEAD [Pipeline] } [2023-07-18T17:13:12.024Z] $ docker exec --env ******** --env ******** 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 ssh-agent -k [2023-07-18T17:13:12.122Z] unset SSH_AUTH_SOCK; [2023-07-18T17:13:12.122Z] unset SSH_AGENT_PID; [2023-07-18T17:13:12.122Z] echo Agent pid 39 killed; [2023-07-18T17:13:12.132Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-18T17:13:12.156Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T17:13:12.156Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T17:13:12.282Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T17:13:12.285Z] $ docker exec 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 ssh-agent [2023-07-18T17:13:12.395Z] SSH_AUTH_SOCK=/tmp/ssh-gnjz4qY7ebfu/agent.71 [2023-07-18T17:13:12.395Z] SSH_AGENT_PID=77 [2023-07-18T17:13:12.400Z] Running ssh-add (command line suppressed) [2023-07-18T17:13:12.521Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_7381789923134905129.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_7381789923134905129.key) [2023-07-18T17:13:12.535Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T17:13:12.821Z] + git semver init [2023-07-18T17:13:13.081Z] 2023-07-18 17:13:12,999 [run_init] DEBUG init version:0.0.0 force:False [2023-07-18T17:13:13.081Z] 2023-07-18 17:13:13,000 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver [2023-07-18T17:13:13.081Z] 2023-07-18 17:13:13,000 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver [2023-07-18T17:13:13.081Z] 2023-07-18 17:13:13,001 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471, universal_newlines=False, shell=None, istream=None) [2023-07-18T17:13:14.019Z] 2023-07-18 17:13:13,896 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.git/info/exclude [2023-07-18T17:13:14.019Z] 2023-07-18 17:13:13,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 with force:False [2023-07-18T17:13:14.019Z] 2023-07-18 17:13:13,896 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 [2023-07-18T17:13:14.019Z] 2023-07-18 17:13:13,901 [execute] INFO git cat-file --batch-check [2023-07-18T17:13:14.019Z] 2023-07-18 17:13:13,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver, universal_newlines=False, shell=None, istream=) [2023-07-18T17:13:14.019Z] 2023-07-18 17:13:13,906 [execute] INFO git cat-file --batch [2023-07-18T17:13:14.019Z] 2023-07-18 17:13:13,906 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver, universal_newlines=False, shell=None, istream=) [2023-07-18T17:13:14.019Z] 2023-07-18 17:13:13,910 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 [2023-07-18T17:13:14.019Z] 0.0.0 [Pipeline] } [2023-07-18T17:13:14.036Z] $ docker exec --env ******** --env ******** 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 ssh-agent -k [2023-07-18T17:13:14.144Z] unset SSH_AUTH_SOCK; [2023-07-18T17:13:14.144Z] unset SSH_AGENT_PID; [2023-07-18T17:13:14.145Z] echo Agent pid 77 killed; [2023-07-18T17:13:14.158Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-18T17:13:14.463Z] + git semver [Pipeline] } [2023-07-18T17:13:14.735Z] $ docker stop --time=1 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 [2023-07-18T17:13:16.033Z] $ docker rm -f --volumes 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-18T17:13:16.369Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-18T17:13:16.576Z] Stashed 1 file(s) [Pipeline] echo [2023-07-18T17:13:16.578Z] [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-07-18T17:13:16.741Z] provisioning config files... [2023-07-18T17:13:16.751Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config16897495921010324808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:13:17.047Z] ---> docker-login.sh [2023-07-18T17:13:17.047Z] nexus3.edgexfoundry.org:10001 [2023-07-18T17:13:17.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:13:17.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:13:17.047Z] Configure a credential helper to remove this warning. See [2023-07-18T17:13:17.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:13:17.047Z] [2023-07-18T17:13:17.047Z] Login Succeeded [2023-07-18T17:13:17.047Z] nexus3.edgexfoundry.org:10002 [2023-07-18T17:13:17.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:13:17.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:13:17.307Z] Configure a credential helper to remove this warning. See [2023-07-18T17:13:17.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:13:17.307Z] [2023-07-18T17:13:17.307Z] Login Succeeded [2023-07-18T17:13:17.307Z] nexus3.edgexfoundry.org:10003 [2023-07-18T17:13:17.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:13:17.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:13:17.307Z] Configure a credential helper to remove this warning. See [2023-07-18T17:13:17.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:13:17.307Z] [2023-07-18T17:13:17.307Z] Login Succeeded [2023-07-18T17:13:17.307Z] nexus3.edgexfoundry.org:10004 [2023-07-18T17:13:17.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:13:17.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:13:17.307Z] Configure a credential helper to remove this warning. See [2023-07-18T17:13:17.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:13:17.307Z] [2023-07-18T17:13:17.307Z] Login Succeeded [2023-07-18T17:13:17.307Z] docker.io [2023-07-18T17:13:17.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:13:17.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:13:17.567Z] Configure a credential helper to remove this warning. See [2023-07-18T17:13:17.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:13:17.567Z] [2023-07-18T17:13:17.567Z] Login Succeeded [2023-07-18T17:13:17.567Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T17:13:17.575Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-18T17:13:17.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T17:13:17.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T17:13:17.682Z] ========================================================= [2023-07-18T17:13:17.682Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-18T17:13:17.682Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:13:18.011Z] + 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-07-18T17:13:18.011Z] Sending build context to Docker daemon 10.99MB [2023-07-18T17:13:18.011Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T17:13:18.011Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-18T17:13:18.271Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-18T17:13:18.271Z] 4db1b89c0bd1: Pulling fs layer [2023-07-18T17:13:18.271Z] 6911f1a30b25: Pulling fs layer [2023-07-18T17:13:18.271Z] e194b8c5c2a9: Pulling fs layer [2023-07-18T17:13:18.271Z] 6863d3e3a2b1: Pulling fs layer [2023-07-18T17:13:18.271Z] ec0bb842ea78: Pulling fs layer [2023-07-18T17:13:18.271Z] 40a00589a448: Pulling fs layer [2023-07-18T17:13:18.271Z] 6c08303d61cc: Pulling fs layer [2023-07-18T17:13:18.271Z] 798269fcf238: Pulling fs layer [2023-07-18T17:13:18.271Z] 6863d3e3a2b1: Waiting [2023-07-18T17:13:18.271Z] ec0bb842ea78: Waiting [2023-07-18T17:13:18.271Z] 40a00589a448: Waiting [2023-07-18T17:13:18.271Z] 6c08303d61cc: Waiting [2023-07-18T17:13:18.271Z] 798269fcf238: Waiting [2023-07-18T17:13:18.271Z] 6911f1a30b25: Download complete [2023-07-18T17:13:18.271Z] 6863d3e3a2b1: Download complete [2023-07-18T17:13:18.271Z] ec0bb842ea78: Verifying Checksum [2023-07-18T17:13:18.271Z] ec0bb842ea78: Download complete [2023-07-18T17:13:18.271Z] 4db1b89c0bd1: Verifying Checksum [2023-07-18T17:13:18.271Z] 4db1b89c0bd1: Download complete [2023-07-18T17:13:18.271Z] 40a00589a448: Verifying Checksum [2023-07-18T17:13:18.271Z] 40a00589a448: Download complete [2023-07-18T17:13:18.271Z] 4db1b89c0bd1: Pull complete [2023-07-18T17:13:18.530Z] 6911f1a30b25: Pull complete [2023-07-18T17:13:18.789Z] 798269fcf238: Verifying Checksum [2023-07-18T17:13:18.789Z] 798269fcf238: Download complete [2023-07-18T17:13:18.789Z] e194b8c5c2a9: Verifying Checksum [2023-07-18T17:13:18.789Z] e194b8c5c2a9: Download complete [2023-07-18T17:13:19.047Z] 6c08303d61cc: Verifying Checksum [2023-07-18T17:13:19.047Z] 6c08303d61cc: Download complete [2023-07-18T17:13:22.333Z] e194b8c5c2a9: Pull complete [2023-07-18T17:13:22.333Z] 6863d3e3a2b1: Pull complete [2023-07-18T17:13:22.333Z] ec0bb842ea78: Pull complete [2023-07-18T17:13:22.333Z] 40a00589a448: Pull complete [2023-07-18T17:13:24.867Z] 6c08303d61cc: Pull complete [2023-07-18T17:13:25.434Z] 798269fcf238: Pull complete [2023-07-18T17:13:25.434Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-18T17:13:25.434Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-18T17:13:25.434Z] ---> ec979cd7f677 [2023-07-18T17:13:25.434Z] Step 3/10 : ARG MAKE=make build [2023-07-18T17:13:29.757Z] ---> Running in 7f0c10eef61d [2023-07-18T17:13:29.757Z] Removing intermediate container 7f0c10eef61d [2023-07-18T17:13:29.757Z] ---> e6b6b2e228f5 [2023-07-18T17:13:29.757Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-18T17:13:29.757Z] ---> Running in 27b7b07bebe9 [2023-07-18T17:13:29.757Z] Removing intermediate container 27b7b07bebe9 [2023-07-18T17:13:29.757Z] ---> a3aa26e2b8d3 [2023-07-18T17:13:29.757Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T17:13:29.757Z] ---> Running in 2920617e7556 [2023-07-18T17:13:29.757Z] Removing intermediate container 2920617e7556 [2023-07-18T17:13:29.757Z] ---> 56c77e23b00a [2023-07-18T17:13:29.757Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-18T17:13:29.757Z] ---> Running in fde88fcaaad9 [2023-07-18T17:13:30.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-18T17:13:30.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-18T17:13:30.534Z] OK: 265 MiB in 53 packages [2023-07-18T17:13:30.792Z] Removing intermediate container fde88fcaaad9 [2023-07-18T17:13:30.792Z] ---> b05c6655785a [2023-07-18T17:13:30.792Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-18T17:13:30.792Z] ---> f0e5aa681b84 [2023-07-18T17:13:30.792Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T17:13:31.052Z] ---> Running in c546632d6f7d [2023-07-18T17:13:31.694Z] Still waiting to schedule task [2023-07-18T17:13:31.694Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-18T17:14:09.776Z] Removing intermediate container c546632d6f7d [2023-07-18T17:14:09.776Z] ---> ece8a15588fe [2023-07-18T17:14:09.776Z] Step 9/10 : COPY . . [2023-07-18T17:14:09.776Z] ---> 8e37e46f8504 [2023-07-18T17:14:09.776Z] Step 10/10 : RUN ${MAKE} [2023-07-18T17:14:09.776Z] ---> Running in 5e00dac5a35a [2023-07-18T17:14:09.776Z] noop [2023-07-18T17:14:10.037Z] Removing intermediate container 5e00dac5a35a [2023-07-18T17:14:10.037Z] ---> 28077e02f88a [2023-07-18T17:14:10.037Z] Successfully built 28077e02f88a [2023-07-18T17:14:10.037Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:14:10.351Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-18T17:14:10.352Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T17:14:10.431Z] prd-ubuntu20.04-docker-8c-8g-1453 does not seem to be running inside a container [2023-07-18T17:14:10.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** -e ******** ci-base-image-x86_64 cat [2023-07-18T17:14:10.775Z] $ docker top 3229e3175d8c077a198cb1b975677b8e6448e4c9332d3fd78e6b7f09766d9e32 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T17:14:11.113Z] + go version [2023-07-18T17:14:11.113Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-18T17:14:11.124Z] $ docker stop --time=1 3229e3175d8c077a198cb1b975677b8e6448e4c9332d3fd78e6b7f09766d9e32 [2023-07-18T17:14:12.390Z] $ docker rm -f --volumes 3229e3175d8c077a198cb1b975677b8e6448e4c9332d3fd78e6b7f09766d9e32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:14:12.810Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-18T17:14:12.811Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T17:14:12.882Z] prd-ubuntu20.04-docker-8c-8g-1453 does not seem to be running inside a container [2023-07-18T17:14:12.913Z] $ 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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** -e ******** ci-base-image-x86_64 cat [2023-07-18T17:14:13.253Z] $ docker top cc00631e8ab14b7b1af59b7eca021dba3fe099e369d7efc565e3a877952ca564 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T17:14:13.603Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] fileExists [Pipeline] sh [2023-07-18T17:14:13.895Z] + make test [2023-07-18T17:14:13.896Z] go test -race -coverprofile=coverage.out ./... [2023-07-18T17:14:22.017Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-18T17:14:34.215Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-18T17:14:34.215Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-18T17:14:34.215Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-18T17:14:34.215Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-18T17:14:34.215Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-18T17:14:34.215Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.045s coverage: 27.6% of statements [2023-07-18T17:14:34.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-18T17:14:34.473Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-18T17:14:34.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 80.2% of statements [2023-07-18T17:14:34.731Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements [2023-07-18T17:14:35.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-18T17:14:35.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 77.5% of statements [2023-07-18T17:14:35.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-18T17:14:35.865Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-18T17:14:36.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-18T17:14:38.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.088s coverage: 14.3% of statements [2023-07-18T17:14:38.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.774s coverage: 21.5% of statements [2023-07-18T17:14:38.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 68.5% of statements [2023-07-18T17:14:38.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.105s coverage: 89.2% of statements [2023-07-18T17:14:38.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 5.7% of statements [2023-07-18T17:15:00.897Z] internal/provision/devices_test.go:34:19: Error return value of `cache.InitCache` is not checked (errcheck) [2023-07-18T17:15:00.897Z] cache.InitCache(TestDeviceService, TestDeviceService, dic) [2023-07-18T17:15:00.897Z] ^ [2023-07-18T17:15:00.897Z] internal/provision/profiles_test.go:183:19: Error return value of `cache.InitCache` is not checked (errcheck) [2023-07-18T17:15:00.897Z] cache.InitCache(TestDeviceService, TestDeviceService, dic) [2023-07-18T17:15:00.897Z] ^ [2023-07-18T17:15:00.897Z] internal/provision/provisionwatchers_test.go:37:19: Error return value of `cache.InitCache` is not checked (errcheck) [2023-07-18T17:15:00.897Z] cache.InitCache(TestDeviceService, TestDeviceService, dic) [2023-07-18T17:15:00.897Z] ^ [2023-07-18T17:15:00.897Z] make: *** [Makefile:39: lint] Error 1 [Pipeline] } [2023-07-18T17:15:00.909Z] $ docker stop --time=1 cc00631e8ab14b7b1af59b7eca021dba3fe099e369d7efc565e3a877952ca564 [2023-07-18T17:15:04.009Z] $ docker rm -f --volumes cc00631e8ab14b7b1af59b7eca021dba3fe099e369d7efc565e3a877952ca564 [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-07-18T17:15:04.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T17:15:04.716Z] [2023-07-18T17:15:04.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:15:05.019Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T17:15:05.019Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-18T17:15:05.019Z] 5eb5b503b376: Pulling fs layer [2023-07-18T17:15:05.019Z] 5c69ac0246d0: Pulling fs layer [2023-07-18T17:15:05.019Z] ec43610c2a17: Pulling fs layer [2023-07-18T17:15:05.019Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-18T17:15:05.019Z] 33b1e0a273af: Pulling fs layer [2023-07-18T17:15:05.019Z] 5d3b04190fa2: Pulling fs layer [2023-07-18T17:15:05.019Z] 2f39f015ded8: Pulling fs layer [2023-07-18T17:15:05.019Z] 3a2ae6a8a46f: Waiting [2023-07-18T17:15:05.019Z] 5d3b04190fa2: Waiting [2023-07-18T17:15:05.019Z] 2f39f015ded8: Waiting [2023-07-18T17:15:05.019Z] 5c69ac0246d0: Download complete [2023-07-18T17:15:05.019Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-18T17:15:05.019Z] 3a2ae6a8a46f: Download complete [2023-07-18T17:15:05.019Z] 33b1e0a273af: Verifying Checksum [2023-07-18T17:15:05.019Z] 33b1e0a273af: Download complete [2023-07-18T17:15:05.019Z] 5d3b04190fa2: Download complete [2023-07-18T17:15:05.277Z] ec43610c2a17: Verifying Checksum [2023-07-18T17:15:05.277Z] ec43610c2a17: Download complete [2023-07-18T17:15:05.277Z] 5eb5b503b376: Download complete [2023-07-18T17:15:05.841Z] 2f39f015ded8: Download complete [2023-07-18T17:15:06.405Z] 5eb5b503b376: Pull complete [2023-07-18T17:15:06.663Z] 5c69ac0246d0: Pull complete [2023-07-18T17:15:06.921Z] ec43610c2a17: Pull complete [2023-07-18T17:15:07.197Z] 3a2ae6a8a46f: Pull complete [2023-07-18T17:15:07.197Z] 33b1e0a273af: Pull complete [2023-07-18T17:15:07.455Z] 5d3b04190fa2: Pull complete [2023-07-18T17:15:10.128Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1454 in /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] { [Pipeline] ws [2023-07-18T17:15:10.143Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2023-07-18T17:15:10.177Z] The recommended git tool is: git [2023-07-18T17:15:11.640Z] 2f39f015ded8: Pull complete [2023-07-18T17:15:11.640Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-18T17:15:11.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T17:15:11.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T17:15:11.718Z] prd-ubuntu20.04-docker-8c-8g-1453 does not seem to be running inside a container [2023-07-18T17:15:11.751Z] $ 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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-18T17:15:15.115Z] $ docker top 8976f84dad194e6370ea55ac24c88b9f5cac910b3c7c29498d2e8911bfeffb36 -eo pid,comm [2023-07-18T17:15:15.133Z] using credential edgex-jenkins-ssh [2023-07-18T17:15:15.148Z] Cloning the remote Git repository [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:15:15.483Z] ---> job-cost.sh [2023-07-18T17:15:15.483Z] lf-activate-venv: SKIPPING [2023-07-18T17:15:15.483Z] INFO: No Stack... [2023-07-18T17:15:15.742Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-18T17:15:16.002Z] INFO: Archiving Costs [Pipeline] sh [2023-07-18T17:15:15.175Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-18T17:15:15.263Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2023-07-18T17:15:15.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-18T17:15:15.390Z] > git --version # timeout=10 [2023-07-18T17:15:15.410Z] > git --version # 'git version 2.25.1' [2023-07-18T17:15:15.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T17:15:15.553Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-18T17:15:16.288Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/cost.csv [2023-07-18T17:15:16.288Z] + cut -d, -f6 [Pipeline] lock [2023-07-18T17:15:16.300Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] [2023-07-18T17:15:16.308Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] did not exist. Created. [2023-07-18T17:15:16.308Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-18T17:15:16.607Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-18T17:15:16.646Z] Stashed 1 file(s) [Pipeline] } [2023-07-18T17:15:16.652Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-18T17:15:16.667Z] $ docker stop --time=1 8976f84dad194e6370ea55ac24c88b9f5cac910b3c7c29498d2e8911bfeffb36 [2023-07-18T17:15:17.035Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-18T17:15:17.053Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-18T17:15:17.812Z] $ docker rm -f --volumes 8976f84dad194e6370ea55ac24c88b9f5cac910b3c7c29498d2e8911bfeffb36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-18T17:15:17.921Z] Failed in branch amd64 [2023-07-18T17:15:18.490Z] Merging remotes/origin/main commit a0da80382c0e288d5b5fa5ac238919125b7cf977 into PR head commit 668323de2196758b3329aa0ada666f398bc17cd1 [2023-07-18T17:15:18.806Z] Merge succeeded, producing eee617f67e6a3f47dc3f9cca9647b6d72480ced5 [2023-07-18T17:15:18.806Z] Checking out Revision eee617f67e6a3f47dc3f9cca9647b6d72480ced5 (PR-1471) [2023-07-18T17:15:17.798Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-18T17:15:17.842Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-18T17:15:17.843Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T17:15:17.858Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1471/head:refs/remotes/origin/PR-1471 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-18T17:15:18.493Z] > git config core.sparsecheckout # timeout=10 [2023-07-18T17:15:18.568Z] > git checkout -f 668323de2196758b3329aa0ada666f398bc17cd1 # timeout=10 [2023-07-18T17:15:18.668Z] > git remote # timeout=10 [2023-07-18T17:15:18.686Z] > git config --get remote.origin.url # timeout=10 [2023-07-18T17:15:18.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T17:15:18.713Z] > git merge a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 [2023-07-18T17:15:18.777Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-18T17:15:18.799Z] > git config core.sparsecheckout # timeout=10 [2023-07-18T17:15:18.815Z] > git checkout -f eee617f67e6a3f47dc3f9cca9647b6d72480ced5 # timeout=10 [2023-07-18T17:15:22.275Z] Commit message: "Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD" [2023-07-18T17:15:22.272Z] > git rev-list --no-walk 2c47d968c3f2c483c59d059233069dd8f349e2ea # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T17:15:23.405Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-18T17:15:23.405Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-18T17:15:23.405Z] Dload Upload Total Spent Left Speed [2023-07-18T17:15:23.405Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-07-18T17:15:24.077Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-18T17:15:24.396Z] + sudo tee /etc/docker/daemon.new [2023-07-18T17:15:24.396Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-18T17:15:24.396Z] { [2023-07-18T17:15:24.396Z] "registry-mirrors": [ [2023-07-18T17:15:24.396Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-18T17:15:24.396Z] ], [2023-07-18T17:15:24.396Z] "bip": "10.250.0.254/24", [2023-07-18T17:15:24.396Z] "hosts": [ [2023-07-18T17:15:24.396Z] "tcp://0.0.0.0:5555", [2023-07-18T17:15:24.396Z] "unix:///var/run/docker.sock" [2023-07-18T17:15:24.396Z] ], [2023-07-18T17:15:24.396Z] "mtu": 1458, [2023-07-18T17:15:24.396Z] "selinux-enabled": true, [2023-07-18T17:15:24.396Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-18T17:15:24.396Z] } [Pipeline] sh [2023-07-18T17:15:24.725Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-18T17:15:25.045Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T17:15:43.292Z] provisioning config files... [2023-07-18T17:15:43.317Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config12963603726382239987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:15:43.656Z] ---> docker-login.sh [2023-07-18T17:15:43.656Z] nexus3.edgexfoundry.org:10001 [2023-07-18T17:15:43.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:15:44.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:15:44.512Z] Configure a credential helper to remove this warning. See [2023-07-18T17:15:44.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:15:44.512Z] [2023-07-18T17:15:44.512Z] Login Succeeded [2023-07-18T17:15:44.512Z] nexus3.edgexfoundry.org:10002 [2023-07-18T17:15:44.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:15:45.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:15:45.056Z] Configure a credential helper to remove this warning. See [2023-07-18T17:15:45.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:15:45.056Z] [2023-07-18T17:15:45.056Z] Login Succeeded [2023-07-18T17:15:45.056Z] nexus3.edgexfoundry.org:10003 [2023-07-18T17:15:45.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:15:45.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:15:45.326Z] Configure a credential helper to remove this warning. See [2023-07-18T17:15:45.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:15:45.326Z] [2023-07-18T17:15:45.326Z] Login Succeeded [2023-07-18T17:15:45.326Z] nexus3.edgexfoundry.org:10004 [2023-07-18T17:15:45.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:15:45.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:15:45.597Z] Configure a credential helper to remove this warning. See [2023-07-18T17:15:45.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:15:45.597Z] [2023-07-18T17:15:45.597Z] Login Succeeded [2023-07-18T17:15:45.597Z] docker.io [2023-07-18T17:15:45.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T17:15:46.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T17:15:46.131Z] Configure a credential helper to remove this warning. See [2023-07-18T17:15:46.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T17:15:46.131Z] [2023-07-18T17:15:46.131Z] Login Succeeded [2023-07-18T17:15:46.131Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T17:15:46.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-18T17:15:46.384Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T17:15:46.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T17:15:46.417Z] ========================================================= [2023-07-18T17:15:46.417Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-18T17:15:46.417Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:15:46.771Z] + 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-07-18T17:15:47.044Z] Sending build context to Docker daemon 5.892MB [2023-07-18T17:15:47.044Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T17:15:47.044Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-18T17:15:47.312Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-18T17:15:47.312Z] edb6bdbacee9: Pulling fs layer [2023-07-18T17:15:47.312Z] 5f9638ab2659: Pulling fs layer [2023-07-18T17:15:47.312Z] 8d51d6327a98: Pulling fs layer [2023-07-18T17:15:47.312Z] 8b374f2dd631: Pulling fs layer [2023-07-18T17:15:47.312Z] ec14aa9079de: Pulling fs layer [2023-07-18T17:15:47.312Z] 2f466654f4bb: Pulling fs layer [2023-07-18T17:15:47.312Z] 554e91adad29: Pulling fs layer [2023-07-18T17:15:47.312Z] 8b374f2dd631: Waiting [2023-07-18T17:15:47.312Z] ec14aa9079de: Waiting [2023-07-18T17:15:47.312Z] 2f466654f4bb: Waiting [2023-07-18T17:15:47.312Z] 554e91adad29: Waiting [2023-07-18T17:15:47.586Z] 5f9638ab2659: Verifying Checksum [2023-07-18T17:15:47.586Z] 5f9638ab2659: Download complete [2023-07-18T17:15:47.586Z] 8b374f2dd631: Verifying Checksum [2023-07-18T17:15:47.586Z] 8b374f2dd631: Download complete [2023-07-18T17:15:47.857Z] edb6bdbacee9: Download complete [2023-07-18T17:15:48.445Z] edb6bdbacee9: Pull complete [2023-07-18T17:15:49.030Z] ec14aa9079de: Verifying Checksum [2023-07-18T17:15:49.030Z] ec14aa9079de: Download complete [2023-07-18T17:15:50.964Z] 5f9638ab2659: Pull complete [2023-07-18T17:15:51.943Z] 554e91adad29: Verifying Checksum [2023-07-18T17:15:51.943Z] 554e91adad29: Download complete [2023-07-18T17:15:52.214Z] 8d51d6327a98: Verifying Checksum [2023-07-18T17:15:52.214Z] 8d51d6327a98: Download complete [2023-07-18T17:15:53.176Z] 2f466654f4bb: Verifying Checksum [2023-07-18T17:15:53.177Z] 2f466654f4bb: Download complete [2023-07-18T17:16:05.504Z] 8d51d6327a98: Pull complete [2023-07-18T17:16:05.504Z] 8b374f2dd631: Pull complete [2023-07-18T17:16:05.504Z] ec14aa9079de: Pull complete [2023-07-18T17:16:10.865Z] 2f466654f4bb: Pull complete [2023-07-18T17:16:13.447Z] 554e91adad29: Pull complete [2023-07-18T17:16:13.447Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-18T17:16:13.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-18T17:16:13.447Z] ---> 1e15ea492957 [2023-07-18T17:16:13.447Z] Step 3/10 : ARG MAKE=make build [2023-07-18T17:16:14.860Z] ---> Running in b32c014c6328 [2023-07-18T17:16:15.127Z] Removing intermediate container b32c014c6328 [2023-07-18T17:16:15.127Z] ---> 6443ecd66ee3 [2023-07-18T17:16:15.127Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-18T17:16:15.127Z] ---> Running in 6308f3030897 [2023-07-18T17:16:15.397Z] Removing intermediate container 6308f3030897 [2023-07-18T17:16:15.397Z] ---> 55066488b1f7 [2023-07-18T17:16:15.397Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T17:16:15.663Z] ---> Running in 0ff30b9ef6b4 [2023-07-18T17:16:15.932Z] Removing intermediate container 0ff30b9ef6b4 [2023-07-18T17:16:15.932Z] ---> a33ce0de4608 [2023-07-18T17:16:15.932Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-18T17:16:15.932Z] ---> Running in 3e7d4acb09da [2023-07-18T17:16:16.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T17:16:17.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T17:16:18.443Z] OK: 263 MiB in 53 packages [2023-07-18T17:16:19.408Z] Removing intermediate container 3e7d4acb09da [2023-07-18T17:16:19.408Z] ---> 71e8d0cfaa63 [2023-07-18T17:16:19.408Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-18T17:16:19.685Z] ---> 8dcb943019bd [2023-07-18T17:16:19.685Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T17:16:19.955Z] ---> Running in a7bdf5ab7e9a [2023-07-18T17:17:27.842Z] Removing intermediate container a7bdf5ab7e9a [2023-07-18T17:17:27.842Z] ---> 7fa39fa50fad [2023-07-18T17:17:27.842Z] Step 9/10 : COPY . . [2023-07-18T17:17:27.842Z] ---> 972cb323899f [2023-07-18T17:17:27.842Z] Step 10/10 : RUN ${MAKE} [2023-07-18T17:17:27.842Z] ---> Running in c5318cfd2dca [2023-07-18T17:17:27.842Z] noop [2023-07-18T17:17:27.842Z] Removing intermediate container c5318cfd2dca [2023-07-18T17:17:27.842Z] ---> 2b7de422f39a [2023-07-18T17:17:27.842Z] Successfully built 2b7de422f39a [2023-07-18T17:17:27.842Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:17:28.197Z] + docker inspect -f . ci-base-image-arm64 [2023-07-18T17:17:28.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T17:17:28.402Z] prd-ubuntu20.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container [2023-07-18T17:17:28.464Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-07-18T17:17:29.611Z] $ docker top 2aa5f273264323f95c34454fc05f14baec8eb5aa113e5ff23f81224a5c2aaf64 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T17:17:30.432Z] + go version [2023-07-18T17:17:30.432Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-18T17:17:30.457Z] $ docker stop --time=1 2aa5f273264323f95c34454fc05f14baec8eb5aa113e5ff23f81224a5c2aaf64 [2023-07-18T17:17:32.057Z] $ docker rm -f --volumes 2aa5f273264323f95c34454fc05f14baec8eb5aa113e5ff23f81224a5c2aaf64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:17:32.598Z] + docker inspect -f . ci-base-image-arm64 [2023-07-18T17:17:32.598Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T17:17:32.780Z] prd-ubuntu20.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container [2023-07-18T17:17:32.846Z] $ 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/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-07-18T17:17:35.154Z] $ docker top a60f6875c7bcca530580c28ae3866125ea04c41eb9a77e20ef8bd5223ba337c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T17:17:35.654Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/10 [Pipeline] fileExists [Pipeline] sh [2023-07-18T17:17:35.986Z] + make test [2023-07-18T17:17:35.986Z] go test -race -coverprofile=coverage.out ./... [2023-07-18T17:18:14.872Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-18T17:20:21.568Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-18T17:20:21.568Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-18T17:20:21.568Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-18T17:20:21.568Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-18T17:20:21.568Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-18T17:20:24.906Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.231s coverage: 27.6% of statements [2023-07-18T17:20:29.149Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.259s coverage: 80.2% of statements [2023-07-18T17:20:44.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-18T17:20:44.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-18T17:20:44.428Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.434s coverage: 86.0% of statements [2023-07-18T17:20:51.073Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-18T17:20:51.073Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.435s coverage: 77.5% of statements [2023-07-18T17:20:54.432Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.278s coverage: 14.3% of statements [2023-07-18T17:20:55.391Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.576s coverage: 21.5% of statements [2023-07-18T17:20:56.795Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-18T17:20:56.795Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-18T17:20:57.061Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.386s coverage: 68.5% of statements [2023-07-18T17:20:59.644Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.447s coverage: 89.2% of statements [2023-07-18T17:21:01.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-18T17:21:01.949Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.7% of statements [2023-07-18T17:21:02.923Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-18T17:21:02.923Z] GO111MODULE=on go vet ./... [2023-07-18T17:23:24.730Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-18T17:23:24.730Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-18T17:23:24.730Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-18T17:23:24.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-18T17:23:24.777Z] $ docker stop --time=1 a60f6875c7bcca530580c28ae3866125ea04c41eb9a77e20ef8bd5223ba337c9 [2023-07-18T17:23:26.585Z] $ docker rm -f --volumes a60f6875c7bcca530580c28ae3866125ea04c41eb9a77e20ef8bd5223ba337c9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-18T17:23:28.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-18T17:23:28.580Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T17:23:29.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-18T17:23:29.521Z] + ls -al . [2023-07-18T17:23:29.521Z] total 296 [2023-07-18T17:23:29.521Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 17:17 . [2023-07-18T17:23:29.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 17:15 .. [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 17:15 .dockerignore [2023-07-18T17:23:29.521Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 17:15 .git [2023-07-18T17:23:29.521Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 17:15 .github [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 17:15 .gitignore [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 17:15 .golangci.yml [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 18 17:15 CHANGELOG.md [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 17:15 GOVERNANCE.md [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 17:15 Jenkinsfile [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 17:15 LICENSE [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 18 17:15 Makefile [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 17:15 OWNERS.md [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 18 17:15 README.md [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 17:13 VERSION [2023-07-18T17:23:29.521Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 17:15 bin [2023-07-18T17:23:29.521Z] -rw-r--r-- 1 jenkins jenkins 121824 Jul 18 17:21 coverage.out [2023-07-18T17:23:29.521Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 17:15 example [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 18 17:15 go.mod [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 18 17:15 go.sum [2023-07-18T17:23:29.521Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 17:15 internal [2023-07-18T17:23:29.521Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 17:15 openapi [2023-07-18T17:23:29.521Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 17:15 pkg [2023-07-18T17:23:29.521Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 17:15 snap [2023-07-18T17:23:29.521Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 17:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:23:29.847Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=eee617f67e6a3f47dc3f9cca9647b6d72480ced5 --label arch=arm64 --label version=0.0.0 . [2023-07-18T17:23:30.117Z] Sending build context to Docker daemon 6.014MB [2023-07-18T17:23:30.117Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T17:23:30.117Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-18T17:23:30.117Z] ---> 2b7de422f39a [2023-07-18T17:23:30.117Z] Step 3/23 : ARG MAKE=make build [2023-07-18T17:23:30.385Z] ---> Running in f61c87938797 [2023-07-18T17:23:30.652Z] Removing intermediate container f61c87938797 [2023-07-18T17:23:30.652Z] ---> 96ea2693dbd3 [2023-07-18T17:23:30.652Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-18T17:23:30.652Z] ---> Running in f28e8306cb83 [2023-07-18T17:23:30.925Z] Removing intermediate container f28e8306cb83 [2023-07-18T17:23:30.925Z] ---> 6892803ec2a8 [2023-07-18T17:23:30.925Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T17:23:31.193Z] ---> Running in e60aa5d076e7 [2023-07-18T17:23:31.460Z] Removing intermediate container e60aa5d076e7 [2023-07-18T17:23:31.460Z] ---> b24e564d065d [2023-07-18T17:23:31.460Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-18T17:23:31.460Z] ---> Running in 56e214540c8e [2023-07-18T17:23:32.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T17:23:33.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T17:23:33.958Z] OK: 263 MiB in 53 packages [2023-07-18T17:23:34.920Z] Removing intermediate container 56e214540c8e [2023-07-18T17:23:34.920Z] ---> 1357df943c5e [2023-07-18T17:23:34.920Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-18T17:23:37.494Z] ---> e35d3e458dff [2023-07-18T17:23:37.494Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T17:23:37.494Z] ---> Running in aa8bbefe3b46 [2023-07-18T17:23:39.435Z] Removing intermediate container aa8bbefe3b46 [2023-07-18T17:23:39.435Z] ---> 06743857a4a3 [2023-07-18T17:23:39.435Z] Step 9/23 : COPY . . [2023-07-18T17:23:40.865Z] ---> 4959436c1856 [2023-07-18T17:23:40.865Z] Step 10/23 : RUN ${MAKE} [2023-07-18T17:23:40.865Z] ---> Running in 6a5b464ebb5e [2023-07-18T17:23:41.829Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-18T17:25:48.497Z] Removing intermediate container 6a5b464ebb5e [2023-07-18T17:25:48.497Z] ---> 91b6b270d667 [2023-07-18T17:25:48.497Z] Step 11/23 : FROM alpine:3.17 [2023-07-18T17:25:48.497Z] 3.17: Pulling from library/alpine [2023-07-18T17:25:48.497Z] edb6bdbacee9: Already exists [2023-07-18T17:25:48.497Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-18T17:25:48.497Z] Status: Downloaded newer image for alpine:3.17 [2023-07-18T17:25:48.497Z] ---> 779605e5fbc0 [2023-07-18T17:25:48.497Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-18T17:25:48.497Z] ---> Running in 65b1280bdf91 [2023-07-18T17:25:48.497Z] Removing intermediate container 65b1280bdf91 [2023-07-18T17:25:48.497Z] ---> 67203ea67392 [2023-07-18T17:25:48.497Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-18T17:25:48.497Z] ---> Running in 30951310a8f3 [2023-07-18T17:25:48.497Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T17:25:48.497Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T17:25:48.497Z] OK: 7 MiB in 15 packages [2023-07-18T17:25:48.497Z] Removing intermediate container 30951310a8f3 [2023-07-18T17:25:48.497Z] ---> c6be06e4569a [2023-07-18T17:25:48.497Z] Step 14/23 : WORKDIR / [2023-07-18T17:25:48.497Z] ---> Running in a0132947e8bc [2023-07-18T17:25:48.497Z] Removing intermediate container a0132947e8bc [2023-07-18T17:25:48.497Z] ---> 7edf3bd3a0b6 [2023-07-18T17:25:48.497Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-18T17:25:48.497Z] ---> f8b2a02b7c32 [2023-07-18T17:25:48.497Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-18T17:25:49.456Z] ---> d77a07dd4ae7 [2023-07-18T17:25:49.456Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-18T17:25:50.036Z] ---> b04b576c2e75 [2023-07-18T17:25:50.036Z] Step 18/23 : EXPOSE 59999 [2023-07-18T17:25:50.036Z] ---> Running in e97735d728c3 [2023-07-18T17:25:50.303Z] Removing intermediate container e97735d728c3 [2023-07-18T17:25:50.304Z] ---> b985c52d82b8 [2023-07-18T17:25:50.304Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-18T17:25:50.304Z] ---> Running in 3b59faf1c6eb [2023-07-18T17:25:50.569Z] Removing intermediate container 3b59faf1c6eb [2023-07-18T17:25:50.569Z] ---> a9f172cba195 [2023-07-18T17:25:50.569Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-18T17:25:50.569Z] ---> Running in 19f17edaa87e [2023-07-18T17:25:50.834Z] Removing intermediate container 19f17edaa87e [2023-07-18T17:25:50.834Z] ---> bd3572433830 [2023-07-18T17:25:50.834Z] Step 21/23 : LABEL arch=arm64 [2023-07-18T17:25:51.121Z] ---> Running in f2ae47d144cc [2023-07-18T17:25:51.121Z] Removing intermediate container f2ae47d144cc [2023-07-18T17:25:51.121Z] ---> 5045ac676f64 [2023-07-18T17:25:51.121Z] Step 22/23 : LABEL git_sha=eee617f67e6a3f47dc3f9cca9647b6d72480ced5 [2023-07-18T17:25:51.388Z] ---> Running in 11845ff53d8f [2023-07-18T17:25:51.652Z] Removing intermediate container 11845ff53d8f [2023-07-18T17:25:51.652Z] ---> 1743d9d65322 [2023-07-18T17:25:51.652Z] Step 23/23 : LABEL version=0.0.0 [2023-07-18T17:25:51.652Z] ---> Running in 0f298f0d684e [2023-07-18T17:25:51.916Z] Removing intermediate container 0f298f0d684e [2023-07-18T17:25:51.916Z] ---> 65c84a7008fa [2023-07-18T17:25:51.916Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-18T17:25:51.916Z] Successfully built 65c84a7008fa [2023-07-18T17:25:51.916Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:25:52.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T17:25:52.379Z] [2023-07-18T17:25:52.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:25:52.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T17:25:52.707Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-18T17:25:52.707Z] 8998bd30e6a1: Pulling fs layer [2023-07-18T17:25:52.707Z] 04944245beec: Pulling fs layer [2023-07-18T17:25:52.707Z] 699f458cf7ca: Pulling fs layer [2023-07-18T17:25:52.707Z] 765212b225bb: Pulling fs layer [2023-07-18T17:25:52.707Z] f23df028b6ca: Pulling fs layer [2023-07-18T17:25:52.707Z] d65c8cfc05b1: Pulling fs layer [2023-07-18T17:25:52.707Z] 2437ff75d9bd: Pulling fs layer [2023-07-18T17:25:52.707Z] f23df028b6ca: Waiting [2023-07-18T17:25:52.707Z] d65c8cfc05b1: Waiting [2023-07-18T17:25:52.707Z] 765212b225bb: Waiting [2023-07-18T17:25:52.707Z] 2437ff75d9bd: Waiting [2023-07-18T17:25:52.973Z] 04944245beec: Verifying Checksum [2023-07-18T17:25:52.973Z] 04944245beec: Download complete [2023-07-18T17:25:52.973Z] 765212b225bb: Verifying Checksum [2023-07-18T17:25:52.973Z] 765212b225bb: Download complete [2023-07-18T17:25:52.973Z] f23df028b6ca: Download complete [2023-07-18T17:25:52.973Z] d65c8cfc05b1: Download complete [2023-07-18T17:25:52.973Z] 699f458cf7ca: Verifying Checksum [2023-07-18T17:25:52.973Z] 699f458cf7ca: Download complete [2023-07-18T17:25:53.557Z] 8998bd30e6a1: Download complete [2023-07-18T17:25:55.495Z] 2437ff75d9bd: Verifying Checksum [2023-07-18T17:25:55.495Z] 2437ff75d9bd: Download complete [2023-07-18T17:25:57.435Z] 8998bd30e6a1: Pull complete [2023-07-18T17:25:57.704Z] 04944245beec: Pull complete [2023-07-18T17:25:59.115Z] 699f458cf7ca: Pull complete [2023-07-18T17:25:59.383Z] 765212b225bb: Pull complete [2023-07-18T17:26:01.324Z] f23df028b6ca: Pull complete [2023-07-18T17:26:01.325Z] d65c8cfc05b1: Pull complete [2023-07-18T17:26:16.301Z] 2437ff75d9bd: Pull complete [2023-07-18T17:26:16.301Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-18T17:26:16.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T17:26:16.301Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T17:26:16.498Z] prd-ubuntu20.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container [2023-07-18T17:26:16.566Z] $ 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/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-07-18T17:26:18.924Z] $ docker top f94e5686483d2eb6c9801bf085cf16b50da20fa458475ebea3cf604bbe8bbd44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:26:19.720Z] ---> job-cost.sh [2023-07-18T17:26:19.720Z] lf-activate-venv: SKIPPING [2023-07-18T17:26:19.720Z] INFO: No Stack... [2023-07-18T17:26:19.983Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-18T17:26:20.936Z] INFO: Archiving Costs [Pipeline] sh [2023-07-18T17:26:21.255Z] + cut -d, -f6 [2023-07-18T17:26:21.255Z] + cat /w/workspace/device-sdk-go/10/archives/cost.csv [Pipeline] lock [2023-07-18T17:26:21.314Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] [2023-07-18T17:26:21.320Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] did not exist. Created. [2023-07-18T17:26:21.320Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-18T17:26:21.654Z] /w/workspace/device-sdk-go/10@tmp/durable-e9184f92/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-18T17:26:22.560Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-18T17:26:22.580Z] Warning: overwriting stash ‘stack-cost’ [2023-07-18T17:26:22.649Z] Stashed 1 file(s) [Pipeline] } [2023-07-18T17:26:22.655Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-18T17:26:22.682Z] $ docker stop --time=1 f94e5686483d2eb6c9801bf085cf16b50da20fa458475ebea3cf604bbe8bbd44 [2023-07-18T17:26:24.143Z] $ docker rm -f --volumes f94e5686483d2eb6c9801bf085cf16b50da20fa458475ebea3cf604bbe8bbd44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [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-07-18T17:26:25.109Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives ] [2023-07-18T17:26:25.109Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives [2023-07-18T17:26:25.109Z] total 16 [2023-07-18T17:26:25.109Z] drwxr-xr-x 3 root root 4096 Jul 18 17:15 . [2023-07-18T17:26:25.109Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 17:15 .. [2023-07-18T17:26:25.109Z] drwxr-xr-x 2 root root 4096 Jul 18 17:15 cost [2023-07-18T17:26:25.110Z] -rw-r--r-- 1 root root 87 Jul 18 17:15 cost.csv [2023-07-18T17:26:25.110Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives [2023-07-18T17:26:25.110Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives [2023-07-18T17:26:25.110Z] total 16 [2023-07-18T17:26:25.110Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 17:15 . [2023-07-18T17:26:25.110Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 17:15 .. [2023-07-18T17:26:25.110Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 17:15 cost [2023-07-18T17:26:25.110Z] -rw-r--r-- 1 jenkins jenkins 87 Jul 18 17:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:26:25.399Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:26:26.258Z] ---> package-listing.sh [2023-07-18T17:26:26.258Z] ++ facter osfamily [2023-07-18T17:26:26.258Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-18T17:26:26.517Z] + OS_FAMILY=debian [2023-07-18T17:26:26.517Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1471 [2023-07-18T17:26:26.517Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-18T17:26:26.517Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-18T17:26:26.517Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-18T17:26:26.517Z] + PACKAGES=/tmp/packages_start.txt [2023-07-18T17:26:26.517Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' [2023-07-18T17:26:26.517Z] + PACKAGES=/tmp/packages_end.txt [2023-07-18T17:26:26.517Z] + case "${OS_FAMILY}" in [2023-07-18T17:26:26.517Z] + dpkg -l [2023-07-18T17:26:26.517Z] + grep '^ii' [2023-07-18T17:26:26.517Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-18T17:26:26.517Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-18T17:26:26.517Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-18T17:26:26.517Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' [2023-07-18T17:26:26.517Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/ [2023-07-18T17:26:26.517Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/ [Pipeline] echo [2023-07-18T17:26:26.527Z] 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-1471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-18T17:26:26.804Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T17:26:27.362Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T17:26:27.362Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T17:26:27.433Z] prd-ubuntu20.04-docker-8c-8g-1453 does not seem to be running inside a container [2023-07-18T17:26:27.461Z] $ 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-1471/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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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-07-18T17:26:27.652Z] $ docker top 9c763d3a8c1ada77a99c82286c2baf1789c5faef53f23dedc068cc0aebba682b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T17:26:27.998Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-18T17:26:28.285Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-18T17:26:28.571Z] + ls /var/log/sa-host [2023-07-18T17:26:28.571Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T17:26:28.720Z] provisioning config files... [2023-07-18T17:26:28.729Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config6347040566845746960tmp [Pipeline] { [Pipeline] echo [2023-07-18T17:26:28.744Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:26:29.025Z] ---> create-netrc.sh [Pipeline] } [2023-07-18T17:26:29.032Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:26:29.377Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-18T17:26:29.385Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:26:29.669Z] ---> sudo-logs.sh [2023-07-18T17:26:29.669Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-18T17:26:29.697Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:26:29.980Z] ---> job-cost.sh [2023-07-18T17:26:29.980Z] lf-activate-venv: SKIPPING [2023-07-18T17:26:29.980Z] DEBUG: total: 0.2199999988079071 [2023-07-18T17:26:29.980Z] INFO: Retrieving Stack Cost... [2023-07-18T17:26:30.549Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-18T17:26:30.808Z] INFO: Archiving Costs [Pipeline] echo [2023-07-18T17:26:30.821Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T17:26:31.101Z] ---> logs-deploy.sh [2023-07-18T17:26:31.102Z] lf-activate-venv: SKIPPING [2023-07-18T17:26:31.102Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1471/10 [2023-07-18T17:26:31.102Z] INFO: archiving workspace using pattern(s): [2023-07-18T17:26:32.038Z] Archives upload complete. [2023-07-18T17:26:32.038Z] INFO: archiving logs to Nexus