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 cc7c095b4943943e81fbea6d10399aaf7ce0c0e1+a0da80382c0e288d5b5fa5ac238919125b7cf977 (7d60fa7d669007e283060673b6ddee41e7c12459) 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-ssh339853498277172864.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-ssh11906487413298629338.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-ssh3481141464226710608.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-ssh7016341084998458907.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-ssh10247894862607109935.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1461’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1463 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 cc7c095b4943943e81fbea6d10399aaf7ce0c0e1 Merge succeeded, producing 51f68d3fda4ea4624142784ce0b862c7d227bd6d Checking out Revision 51f68d3fda4ea4624142784ce0b862c7d227bd6d (PR-1471) > git config core.sparsecheckout # timeout=10 > git checkout -f cc7c095b4943943e81fbea6d10399aaf7ce0c0e1 # 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 51f68d3fda4ea4624142784ce0b862c7d227bd6d # timeout=10 Commit message: "Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk eee617f67e6a3f47dc3f9cca9647b6d72480ced5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-18T19:07:24.028Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-18T19:07:24.101Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-18T19:07:24.122Z] ========================================================= [2023-07-18T19:07:24.122Z] EdgeX Global Pipelines Version Info [2023-07-18T19:07:24.122Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:07:24.834Z] ------------------- [2023-07-18T19:07:24.834Z] stable info: [2023-07-18T19:07:24.834Z] ------------------- [2023-07-18T19:07:24.834Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-18T19:07:24.834Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-18T19:07:24.834Z] Message: update stable to v1.0.250 [2023-07-18T19:07:25.405Z] ------------------- [2023-07-18T19:07:25.405Z] experimental info: [2023-07-18T19:07:25.405Z] ------------------- [2023-07-18T19:07:25.405Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-18T19:07:25.405Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-18T19:07:25.405Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-18T19:07:25.566Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-18T19:07:25.582Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-18T19:07:25.598Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-18T19:07:25.617Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-18T19:07:25.634Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-18T19:07:25.648Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-18T19:07:25.665Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-18T19:07:25.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-18T19:07:25.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-18T19:07:25.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-18T19:07:25.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-18T19:07:25.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-18T19:07:25.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-18T19:07:25.769Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-18T19:07:25.786Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-18T19:07:25.806Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T19:07:25.823Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T19:07:25.839Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T19:07:25.856Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-18T19:07:25.868Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-18T19:07:25.879Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-18T19:07:25.904Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-18T19:07:25.914Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-18T19:07:25.926Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-18T19:07:25.945Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-18T19:07:25.963Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-18T19:07:25.980Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-18T19:07:25.995Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1471 [Pipeline] echo [2023-07-18T19:07:26.014Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1471 [Pipeline] echo [2023-07-18T19:07:26.032Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1471 [Pipeline] echo [2023-07-18T19:07:26.052Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51f68d3fda4ea4624142784ce0b862c7d227bd6d [Pipeline] echo [2023-07-18T19:07:26.071Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51f68d3 [Pipeline] echo [2023-07-18T19:07:26.087Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T19:07:26.140Z] provisioning config files... [2023-07-18T19:07:26.154Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config12303007277098022066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:07:26.455Z] ---> docker-login.sh [2023-07-18T19:07:26.456Z] nexus3.edgexfoundry.org:10001 [2023-07-18T19:07:26.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:07:26.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:07:26.715Z] Configure a credential helper to remove this warning. See [2023-07-18T19:07:26.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:07:26.715Z] [2023-07-18T19:07:26.715Z] Login Succeeded [2023-07-18T19:07:26.715Z] nexus3.edgexfoundry.org:10002 [2023-07-18T19:07:26.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:07:26.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:07:26.974Z] Configure a credential helper to remove this warning. See [2023-07-18T19:07:26.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:07:26.974Z] [2023-07-18T19:07:26.974Z] Login Succeeded [2023-07-18T19:07:26.974Z] nexus3.edgexfoundry.org:10003 [2023-07-18T19:07:26.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:07:26.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:07:26.974Z] Configure a credential helper to remove this warning. See [2023-07-18T19:07:26.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:07:26.974Z] [2023-07-18T19:07:26.974Z] Login Succeeded [2023-07-18T19:07:26.974Z] nexus3.edgexfoundry.org:10004 [2023-07-18T19:07:26.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:07:26.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:07:26.974Z] Configure a credential helper to remove this warning. See [2023-07-18T19:07:26.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:07:26.974Z] [2023-07-18T19:07:26.974Z] Login Succeeded [2023-07-18T19:07:26.974Z] docker.io [2023-07-18T19:07:27.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:07:27.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:07:27.494Z] Configure a credential helper to remove this warning. See [2023-07-18T19:07:27.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:07:27.494Z] [2023-07-18T19:07:27.494Z] Login Succeeded [2023-07-18T19:07:27.494Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T19:07:27.501Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-18T19:07:27.883Z] + git rev-list -1 --merges 51f68d3fda4ea4624142784ce0b862c7d227bd6d~1..51f68d3fda4ea4624142784ce0b862c7d227bd6d [Pipeline] echo [2023-07-18T19:07:27.930Z] -----------> git rev-list -1 --merges 51f68d3fda4ea4624142784ce0b862c7d227bd6d~1..51f68d3fda4ea4624142784ce0b862c7d227bd6d 51f68d3fda4ea4624142784ce0b862c7d227bd6d [2023-07-18T19:07:27.931Z] 51f68d3fda4ea4624142784ce0b862c7d227bd6d [false] [Pipeline] sh [2023-07-18T19:07:28.223Z] + git log --format=format:%s -1 51f68d3fda4ea4624142784ce0b862c7d227bd6d [Pipeline] echo [2023-07-18T19:07:28.237Z] ========================================================= [2023-07-18T19:07:28.237Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-18T19:07:28.237Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T19:07:28.573Z] + git log --format=format:%s -1 51f68d3fda4ea4624142784ce0b862c7d227bd6d [Pipeline] echo [2023-07-18T19:07:28.583Z] [semverPrep] GIT_COMMIT: 51f68d3fda4ea4624142784ce0b862c7d227bd6d, Commit Message: Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD [Pipeline] echo [2023-07-18T19:07:28.594Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-18T19:07:28.948Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-18T19:07:28.948Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-18T19:07:28.948Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-18T19:07:28.948Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-18T19:07:28.948Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-18T19:07:28.948Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-18T19:07:28.948Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T19:07:29.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T19:07:29.280Z] [2023-07-18T19:07:29.280Z] 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-18T19:07:29.579Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T19:07:29.579Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-18T19:07:29.579Z] b85a868b505f: Pulling fs layer [2023-07-18T19:07:29.579Z] e2be974225ed: Pulling fs layer [2023-07-18T19:07:29.579Z] 339a4e72a1f5: Pulling fs layer [2023-07-18T19:07:29.579Z] 988bab9f4d93: Pulling fs layer [2023-07-18T19:07:29.579Z] 1469e6f7b9e6: Pulling fs layer [2023-07-18T19:07:29.579Z] eaf3925da568: Pulling fs layer [2023-07-18T19:07:29.579Z] bab4dde63d76: Pulling fs layer [2023-07-18T19:07:29.579Z] bde34c3a00c8: Pulling fs layer [2023-07-18T19:07:29.579Z] b352a97aabf1: Pulling fs layer [2023-07-18T19:07:29.579Z] 4872d77fe225: Pulling fs layer [2023-07-18T19:07:29.579Z] 5851b861e8e6: Pulling fs layer [2023-07-18T19:07:29.579Z] bab4dde63d76: Waiting [2023-07-18T19:07:29.579Z] bde34c3a00c8: Waiting [2023-07-18T19:07:29.579Z] b352a97aabf1: Waiting [2023-07-18T19:07:29.579Z] 988bab9f4d93: Waiting [2023-07-18T19:07:29.579Z] 4872d77fe225: Waiting [2023-07-18T19:07:29.579Z] 5851b861e8e6: Waiting [2023-07-18T19:07:29.579Z] eaf3925da568: Waiting [2023-07-18T19:07:29.579Z] 1469e6f7b9e6: Waiting [2023-07-18T19:07:29.845Z] e2be974225ed: Verifying Checksum [2023-07-18T19:07:29.845Z] 988bab9f4d93: Verifying Checksum [2023-07-18T19:07:29.845Z] 988bab9f4d93: Download complete [2023-07-18T19:07:29.845Z] 1469e6f7b9e6: Verifying Checksum [2023-07-18T19:07:29.845Z] 1469e6f7b9e6: Download complete [2023-07-18T19:07:29.845Z] eaf3925da568: Download complete [2023-07-18T19:07:29.845Z] 339a4e72a1f5: Verifying Checksum [2023-07-18T19:07:29.845Z] 339a4e72a1f5: Download complete [2023-07-18T19:07:29.845Z] bde34c3a00c8: Download complete [2023-07-18T19:07:29.845Z] b352a97aabf1: Verifying Checksum [2023-07-18T19:07:29.845Z] b352a97aabf1: Download complete [2023-07-18T19:07:29.845Z] 4872d77fe225: Download complete [2023-07-18T19:07:29.845Z] 5851b861e8e6: Verifying Checksum [2023-07-18T19:07:29.845Z] 5851b861e8e6: Download complete [2023-07-18T19:07:29.845Z] b85a868b505f: Verifying Checksum [2023-07-18T19:07:29.845Z] b85a868b505f: Download complete [2023-07-18T19:07:30.106Z] bab4dde63d76: Verifying Checksum [2023-07-18T19:07:30.106Z] bab4dde63d76: Download complete [2023-07-18T19:07:31.050Z] b85a868b505f: Pull complete [2023-07-18T19:07:31.314Z] e2be974225ed: Pull complete [2023-07-18T19:07:31.883Z] 339a4e72a1f5: Pull complete [2023-07-18T19:07:31.883Z] 988bab9f4d93: Pull complete [2023-07-18T19:07:32.143Z] 1469e6f7b9e6: Pull complete [2023-07-18T19:07:32.143Z] eaf3925da568: Pull complete [2023-07-18T19:07:34.051Z] bab4dde63d76: Pull complete [2023-07-18T19:07:34.051Z] bde34c3a00c8: Pull complete [2023-07-18T19:07:34.051Z] b352a97aabf1: Pull complete [2023-07-18T19:07:34.051Z] 4872d77fe225: Pull complete [2023-07-18T19:07:34.310Z] 5851b861e8e6: Pull complete [2023-07-18T19:07:34.310Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-18T19:07:34.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T19:07:34.310Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T19:07:34.412Z] prd-ubuntu20.04-docker-8c-8g-1463 does not seem to be running inside a container [2023-07-18T19:07:34.441Z] $ 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-18T19:07:37.293Z] $ docker top ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 -eo pid,comm [2023-07-18T19:07:37.352Z] 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-18T19:07:37.352Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-18T19:07:37.392Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T19:07:37.392Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T19:07:37.496Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T19:07:37.522Z] $ docker exec ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 ssh-agent [2023-07-18T19:07:37.637Z] SSH_AUTH_SOCK=/tmp/ssh-NmEKTSCEFSMD/agent.32 [2023-07-18T19:07:37.637Z] SSH_AGENT_PID=38 [2023-07-18T19:07:37.652Z] Running ssh-add (command line suppressed) [2023-07-18T19:07:37.739Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_12419416095972260937.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_12419416095972260937.key) [2023-07-18T19:07:37.758Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T19:07:38.044Z] + git tag --points-at HEAD [Pipeline] } [2023-07-18T19:07:38.055Z] $ docker exec --env ******** --env ******** ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 ssh-agent -k [2023-07-18T19:07:38.149Z] unset SSH_AUTH_SOCK; [2023-07-18T19:07:38.150Z] unset SSH_AGENT_PID; [2023-07-18T19:07:38.150Z] echo Agent pid 38 killed; [2023-07-18T19:07:38.162Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-18T19:07:38.193Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T19:07:38.194Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T19:07:38.305Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T19:07:38.303Z] $ docker exec ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 ssh-agent [2023-07-18T19:07:38.418Z] SSH_AUTH_SOCK=/tmp/ssh-Hac3pGEfPJ9B/agent.70 [2023-07-18T19:07:38.418Z] SSH_AGENT_PID=76 [2023-07-18T19:07:38.423Z] Running ssh-add (command line suppressed) [2023-07-18T19:07:38.522Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_4821648564361472235.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_4821648564361472235.key) [2023-07-18T19:07:38.549Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T19:07:38.838Z] + git semver init [2023-07-18T19:07:39.096Z] 2023-07-18 19:07:39,027 [run_init] DEBUG init version:0.0.0 force:False [2023-07-18T19:07:39.096Z] 2023-07-18 19:07:39,028 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver [2023-07-18T19:07:39.096Z] 2023-07-18 19:07:39,029 [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-18T19:07:39.096Z] 2023-07-18 19:07:39,030 [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-18T19:07:40.474Z] 2023-07-18 19:07:40,183 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.git/info/exclude [2023-07-18T19:07:40.474Z] 2023-07-18 19:07:40,184 [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-18T19:07:40.474Z] 2023-07-18 19:07:40,184 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 [2023-07-18T19:07:40.474Z] 2023-07-18 19:07:40,188 [execute] INFO git cat-file --batch-check [2023-07-18T19:07:40.474Z] 2023-07-18 19:07:40,189 [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-18T19:07:40.474Z] 2023-07-18 19:07:40,193 [execute] INFO git cat-file --batch [2023-07-18T19:07:40.474Z] 2023-07-18 19:07:40,193 [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-18T19:07:40.474Z] 2023-07-18 19:07:40,197 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 [2023-07-18T19:07:40.474Z] 0.0.0 [Pipeline] } [2023-07-18T19:07:40.480Z] $ docker exec --env ******** --env ******** ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 ssh-agent -k [2023-07-18T19:07:40.564Z] unset SSH_AUTH_SOCK; [2023-07-18T19:07:40.564Z] unset SSH_AGENT_PID; [2023-07-18T19:07:40.565Z] echo Agent pid 76 killed; [2023-07-18T19:07:40.577Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-18T19:07:40.892Z] + git semver [Pipeline] } [2023-07-18T19:07:41.164Z] $ docker stop --time=1 ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 [2023-07-18T19:07:42.489Z] $ docker rm -f --volumes ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-18T19:07:42.840Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-18T19:07:43.071Z] Stashed 1 file(s) [Pipeline] echo [2023-07-18T19:07:43.073Z] [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-18T19:07:43.191Z] provisioning config files... [2023-07-18T19:07:43.198Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config16698058850944190687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:07:43.494Z] ---> docker-login.sh [2023-07-18T19:07:43.495Z] nexus3.edgexfoundry.org:10001 [2023-07-18T19:07:43.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:07:43.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:07:43.495Z] Configure a credential helper to remove this warning. See [2023-07-18T19:07:43.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:07:43.495Z] [2023-07-18T19:07:43.495Z] Login Succeeded [2023-07-18T19:07:43.495Z] nexus3.edgexfoundry.org:10002 [2023-07-18T19:07:43.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:07:43.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:07:43.495Z] Configure a credential helper to remove this warning. See [2023-07-18T19:07:43.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:07:43.495Z] [2023-07-18T19:07:43.495Z] Login Succeeded [2023-07-18T19:07:43.495Z] nexus3.edgexfoundry.org:10003 [2023-07-18T19:07:43.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:07:43.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:07:43.753Z] Configure a credential helper to remove this warning. See [2023-07-18T19:07:43.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:07:43.753Z] [2023-07-18T19:07:43.753Z] Login Succeeded [2023-07-18T19:07:43.753Z] nexus3.edgexfoundry.org:10004 [2023-07-18T19:07:43.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:07:43.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:07:43.753Z] Configure a credential helper to remove this warning. See [2023-07-18T19:07:43.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:07:43.753Z] [2023-07-18T19:07:43.753Z] Login Succeeded [2023-07-18T19:07:43.753Z] docker.io [2023-07-18T19:07:43.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:07:44.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:07:44.013Z] Configure a credential helper to remove this warning. See [2023-07-18T19:07:44.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:07:44.013Z] [2023-07-18T19:07:44.013Z] Login Succeeded [2023-07-18T19:07:44.013Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T19:07:44.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-18T19:07:44.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T19:07:44.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T19:07:44.111Z] ========================================================= [2023-07-18T19:07:44.111Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-18T19:07:44.111Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T19:07:44.433Z] + 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-18T19:07:44.433Z] Sending build context to Docker daemon 11.02MB [2023-07-18T19:07:44.433Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T19:07:44.433Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-18T19:07:44.433Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-18T19:07:44.433Z] 4db1b89c0bd1: Pulling fs layer [2023-07-18T19:07:44.433Z] 6911f1a30b25: Pulling fs layer [2023-07-18T19:07:44.433Z] e194b8c5c2a9: Pulling fs layer [2023-07-18T19:07:44.433Z] 6863d3e3a2b1: Pulling fs layer [2023-07-18T19:07:44.433Z] ec0bb842ea78: Pulling fs layer [2023-07-18T19:07:44.433Z] 40a00589a448: Pulling fs layer [2023-07-18T19:07:44.433Z] 6c08303d61cc: Pulling fs layer [2023-07-18T19:07:44.433Z] 798269fcf238: Pulling fs layer [2023-07-18T19:07:44.433Z] 6863d3e3a2b1: Waiting [2023-07-18T19:07:44.433Z] ec0bb842ea78: Waiting [2023-07-18T19:07:44.434Z] 6c08303d61cc: Waiting [2023-07-18T19:07:44.434Z] 40a00589a448: Waiting [2023-07-18T19:07:44.434Z] 6911f1a30b25: Verifying Checksum [2023-07-18T19:07:44.434Z] 6911f1a30b25: Download complete [2023-07-18T19:07:44.695Z] 6863d3e3a2b1: Verifying Checksum [2023-07-18T19:07:44.695Z] 6863d3e3a2b1: Download complete [2023-07-18T19:07:44.695Z] ec0bb842ea78: Download complete [2023-07-18T19:07:44.695Z] 4db1b89c0bd1: Verifying Checksum [2023-07-18T19:07:44.695Z] 4db1b89c0bd1: Download complete [2023-07-18T19:07:44.695Z] 40a00589a448: Verifying Checksum [2023-07-18T19:07:44.695Z] 40a00589a448: Download complete [2023-07-18T19:07:44.695Z] 4db1b89c0bd1: Pull complete [2023-07-18T19:07:44.957Z] 6911f1a30b25: Pull complete [2023-07-18T19:07:45.527Z] 798269fcf238: Verifying Checksum [2023-07-18T19:07:45.527Z] 798269fcf238: Download complete [2023-07-18T19:07:45.527Z] e194b8c5c2a9: Verifying Checksum [2023-07-18T19:07:45.527Z] e194b8c5c2a9: Download complete [2023-07-18T19:07:45.786Z] 6c08303d61cc: Verifying Checksum [2023-07-18T19:07:45.786Z] 6c08303d61cc: Download complete [2023-07-18T19:07:49.065Z] e194b8c5c2a9: Pull complete [2023-07-18T19:07:49.065Z] 6863d3e3a2b1: Pull complete [2023-07-18T19:07:49.065Z] ec0bb842ea78: Pull complete [2023-07-18T19:07:49.065Z] 40a00589a448: Pull complete [2023-07-18T19:07:51.595Z] 6c08303d61cc: Pull complete [2023-07-18T19:07:52.174Z] 798269fcf238: Pull complete [2023-07-18T19:07:52.174Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-18T19:07:52.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-18T19:07:52.174Z] ---> ec979cd7f677 [2023-07-18T19:07:52.174Z] Step 3/10 : ARG MAKE=make build [2023-07-18T19:07:58.158Z] Still waiting to schedule task [2023-07-18T19:07:58.158Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1462’ [2023-07-18T19:07:58.790Z] ---> Running in 80e1a7bf21b1 [2023-07-18T19:07:58.790Z] Removing intermediate container 80e1a7bf21b1 [2023-07-18T19:07:58.790Z] ---> 834226d7f613 [2023-07-18T19:07:58.791Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-18T19:07:58.791Z] ---> Running in e2f6f99a68df [2023-07-18T19:07:58.791Z] Removing intermediate container e2f6f99a68df [2023-07-18T19:07:58.791Z] ---> ee8785fa6a6b [2023-07-18T19:07:58.791Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T19:07:58.791Z] ---> Running in ff4122047376 [2023-07-18T19:07:58.791Z] Removing intermediate container ff4122047376 [2023-07-18T19:07:58.791Z] ---> e644c13a7d23 [2023-07-18T19:07:58.791Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-18T19:07:58.791Z] ---> Running in 6ed5c53201e6 [2023-07-18T19:07:58.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-18T19:07:59.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-18T19:07:59.307Z] OK: 265 MiB in 53 packages [2023-07-18T19:07:59.564Z] Removing intermediate container 6ed5c53201e6 [2023-07-18T19:07:59.564Z] ---> fcf6c8364b11 [2023-07-18T19:07:59.564Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-18T19:07:59.564Z] ---> 85ddca943910 [2023-07-18T19:07:59.564Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T19:07:59.564Z] ---> Running in d003f6ace6d3 [2023-07-18T19:08:26.121Z] Removing intermediate container d003f6ace6d3 [2023-07-18T19:08:26.121Z] ---> f60f1ab8c8eb [2023-07-18T19:08:26.121Z] Step 9/10 : COPY . . [2023-07-18T19:08:26.121Z] ---> 87b9894101ed [2023-07-18T19:08:26.121Z] Step 10/10 : RUN ${MAKE} [2023-07-18T19:08:26.121Z] ---> Running in 68004f2a458c [2023-07-18T19:08:26.121Z] noop [2023-07-18T19:08:26.121Z] Removing intermediate container 68004f2a458c [2023-07-18T19:08:26.121Z] ---> ea08f437bcc8 [2023-07-18T19:08:26.121Z] Successfully built ea08f437bcc8 [2023-07-18T19:08:26.121Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T19:08:26.434Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-18T19:08:26.435Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T19:08:26.504Z] prd-ubuntu20.04-docker-8c-8g-1463 does not seem to be running inside a container [2023-07-18T19:08:26.526Z] $ 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-18T19:08:26.918Z] $ docker top ef3d82020ed6e99070ed758fbf4e8f0348b5d18c3c2396e9208c168d59a8830b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T19:08:27.265Z] + go version [2023-07-18T19:08:27.265Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-18T19:08:27.272Z] $ docker stop --time=1 ef3d82020ed6e99070ed758fbf4e8f0348b5d18c3c2396e9208c168d59a8830b [2023-07-18T19:08:28.562Z] $ docker rm -f --volumes ef3d82020ed6e99070ed758fbf4e8f0348b5d18c3c2396e9208c168d59a8830b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T19:08:28.958Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-18T19:08:28.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T19:08:29.022Z] prd-ubuntu20.04-docker-8c-8g-1463 does not seem to be running inside a container [2023-07-18T19:08:29.047Z] $ 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-18T19:08:29.353Z] $ docker top 66fa7d7b016c81a638d5a1323fe767cfbc232134ff2dd1dee4c51b3f59226959 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T19:08:29.698Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] fileExists [Pipeline] sh [2023-07-18T19:08:30.008Z] + make test [2023-07-18T19:08:30.008Z] go test -race -coverprofile=coverage.out ./... [2023-07-18T19:08:36.572Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-18T19:08:51.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-18T19:08:51.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-18T19:08:51.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-18T19:08:51.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-18T19:08:51.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-18T19:08:51.441Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements [2023-07-18T19:08:51.441Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.056s coverage: 80.2% of statements [2023-07-18T19:08:51.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-18T19:08:51.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-18T19:08:51.441Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.078s coverage: 86.0% of statements [2023-07-18T19:08:51.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-18T19:08:51.441Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 77.5% of statements [2023-07-18T19:08:51.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-18T19:08:51.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-18T19:08:52.379Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-18T19:08:54.910Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.083s coverage: 14.3% of statements [2023-07-18T19:08:54.910Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.841s coverage: 23.3% of statements [2023-07-18T19:08:54.910Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.077s coverage: 68.5% of statements [2023-07-18T19:08:54.910Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.111s coverage: 89.2% of statements [2023-07-18T19:08:54.910Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.7% of statements [2023-07-18T19:09:12.990Z] internal/provision/devices_test.go:34:19: Error return value of `cache.InitCache` is not checked (errcheck) [2023-07-18T19:09:12.990Z] cache.InitCache(TestDeviceService, TestDeviceService, dic) [2023-07-18T19:09:12.990Z] ^ [2023-07-18T19:09:12.990Z] internal/provision/profiles_test.go:183:19: Error return value of `cache.InitCache` is not checked (errcheck) [2023-07-18T19:09:12.990Z] cache.InitCache(TestDeviceService, TestDeviceService, dic) [2023-07-18T19:09:12.990Z] ^ [2023-07-18T19:09:12.990Z] internal/provision/provisionwatchers_test.go:37:19: Error return value of `cache.InitCache` is not checked (errcheck) [2023-07-18T19:09:12.990Z] cache.InitCache(TestDeviceService, TestDeviceService, dic) [2023-07-18T19:09:12.990Z] ^ [2023-07-18T19:09:12.990Z] make: *** [Makefile:39: lint] Error 1 [Pipeline] } [2023-07-18T19:09:13.002Z] $ docker stop --time=1 66fa7d7b016c81a638d5a1323fe767cfbc232134ff2dd1dee4c51b3f59226959 [2023-07-18T19:09:15.796Z] $ docker rm -f --volumes 66fa7d7b016c81a638d5a1323fe767cfbc232134ff2dd1dee4c51b3f59226959 [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-18T19:09:16.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T19:09:16.523Z] [2023-07-18T19:09:16.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T19:09:16.823Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T19:09:16.823Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-18T19:09:16.823Z] 5eb5b503b376: Pulling fs layer [2023-07-18T19:09:16.823Z] 5c69ac0246d0: Pulling fs layer [2023-07-18T19:09:16.823Z] ec43610c2a17: Pulling fs layer [2023-07-18T19:09:16.823Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-18T19:09:16.823Z] 33b1e0a273af: Pulling fs layer [2023-07-18T19:09:16.823Z] 5d3b04190fa2: Pulling fs layer [2023-07-18T19:09:16.823Z] 2f39f015ded8: Pulling fs layer [2023-07-18T19:09:16.823Z] 5d3b04190fa2: Waiting [2023-07-18T19:09:16.823Z] 2f39f015ded8: Waiting [2023-07-18T19:09:16.823Z] 3a2ae6a8a46f: Waiting [2023-07-18T19:09:16.823Z] 5c69ac0246d0: Download complete [2023-07-18T19:09:16.823Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-18T19:09:16.823Z] 3a2ae6a8a46f: Download complete [2023-07-18T19:09:16.823Z] 33b1e0a273af: Verifying Checksum [2023-07-18T19:09:16.823Z] 33b1e0a273af: Download complete [2023-07-18T19:09:16.823Z] ec43610c2a17: Verifying Checksum [2023-07-18T19:09:16.823Z] ec43610c2a17: Download complete [2023-07-18T19:09:16.823Z] 5d3b04190fa2: Verifying Checksum [2023-07-18T19:09:16.823Z] 5d3b04190fa2: Download complete [2023-07-18T19:09:17.090Z] 5eb5b503b376: Verifying Checksum [2023-07-18T19:09:17.090Z] 5eb5b503b376: Download complete [2023-07-18T19:09:17.658Z] 2f39f015ded8: Download complete [2023-07-18T19:09:18.222Z] 5eb5b503b376: Pull complete [2023-07-18T19:09:18.222Z] 5c69ac0246d0: Pull complete [2023-07-18T19:09:18.789Z] ec43610c2a17: Pull complete [2023-07-18T19:09:18.789Z] 3a2ae6a8a46f: Pull complete [2023-07-18T19:09:18.789Z] 33b1e0a273af: Pull complete [2023-07-18T19:09:19.047Z] 5d3b04190fa2: Pull complete [2023-07-18T19:09:23.231Z] 2f39f015ded8: Pull complete [2023-07-18T19:09:23.231Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-18T19:09:23.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T19:09:23.231Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T19:09:23.317Z] prd-ubuntu20.04-docker-8c-8g-1463 does not seem to be running inside a container [2023-07-18T19:09:23.341Z] $ 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-18T19:09:26.894Z] $ docker top 82d16d23e64905c7985f5d4a750d8513c7781839c73a5e50542c1e47d6b8784c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:09:27.270Z] ---> job-cost.sh [2023-07-18T19:09:27.270Z] lf-activate-venv: SKIPPING [2023-07-18T19:09:27.270Z] INFO: No Stack... [2023-07-18T19:09:27.528Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-18T19:09:27.787Z] INFO: Archiving Costs [Pipeline] sh [2023-07-18T19:09:28.076Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/cost.csv [2023-07-18T19:09:28.076Z] + cut -d, -f6 [Pipeline] lock [2023-07-18T19:09:28.090Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] [2023-07-18T19:09:28.096Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] did not exist. Created. [2023-07-18T19:09:28.096Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-18T19:09:28.413Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-18T19:09:28.449Z] Stashed 1 file(s) [Pipeline] } [2023-07-18T19:09:28.460Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-18T19:09:28.473Z] $ docker stop --time=1 82d16d23e64905c7985f5d4a750d8513c7781839c73a5e50542c1e47d6b8784c [2023-07-18T19:09:29.646Z] $ docker rm -f --volumes 82d16d23e64905c7985f5d4a750d8513c7781839c73a5e50542c1e47d6b8784c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-18T19:09:29.763Z] Failed in branch amd64 [2023-07-18T19:10:37.132Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1464 in /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] { [Pipeline] ws [2023-07-18T19:10:37.152Z] Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout [2023-07-18T19:10:37.192Z] The recommended git tool is: git [2023-07-18T19:10:42.585Z] using credential edgex-jenkins-ssh [2023-07-18T19:10:42.605Z] Cloning the remote Git repository [2023-07-18T19:10:42.642Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-18T19:10:42.735Z] > git init /w/workspace/device-sdk-go/11 # timeout=10 [2023-07-18T19:10:42.882Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-18T19:10:42.883Z] > git --version # timeout=10 [2023-07-18T19:10:42.906Z] > git --version # 'git version 2.25.1' [2023-07-18T19:10:42.909Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T19:10:43.062Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-18T19:10:44.619Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-18T19:10:44.651Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-18T19:10:45.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-18T19:10:45.564Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-18T19:10:45.566Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T19:10:45.582Z] > 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-18T19:10:46.190Z] Merging remotes/origin/main commit a0da80382c0e288d5b5fa5ac238919125b7cf977 into PR head commit cc7c095b4943943e81fbea6d10399aaf7ce0c0e1 [2023-07-18T19:10:46.551Z] Merge succeeded, producing d9234db6e6d2e3e2c71bf42c0920ced4dc4a271d [2023-07-18T19:10:46.551Z] Checking out Revision d9234db6e6d2e3e2c71bf42c0920ced4dc4a271d (PR-1471) [2023-07-18T19:10:46.203Z] > git config core.sparsecheckout # timeout=10 [2023-07-18T19:10:46.281Z] > git checkout -f cc7c095b4943943e81fbea6d10399aaf7ce0c0e1 # timeout=10 [2023-07-18T19:10:46.401Z] > git remote # timeout=10 [2023-07-18T19:10:46.417Z] > git config --get remote.origin.url # timeout=10 [2023-07-18T19:10:46.435Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T19:10:46.449Z] > git merge a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 [2023-07-18T19:10:46.521Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-18T19:10:46.551Z] > git config core.sparsecheckout # timeout=10 [2023-07-18T19:10:46.571Z] > git checkout -f d9234db6e6d2e3e2c71bf42c0920ced4dc4a271d # timeout=10 [2023-07-18T19:10:50.087Z] Commit message: "Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD" [2023-07-18T19:10:50.115Z] First time build. Skipping changelog. [2023-07-18T19:10:50.092Z] > git rev-list --no-walk eee617f67e6a3f47dc3f9cca9647b6d72480ced5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T19:10:51.057Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-18T19:10:51.057Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-18T19:10:51.057Z] Dload Upload Total Spent Left Speed [2023-07-18T19:10:51.057Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-07-18T19:10:51.800Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-18T19:10:52.139Z] + sudo tee /etc/docker/daemon.new [2023-07-18T19:10:52.140Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-18T19:10:52.140Z] { [2023-07-18T19:10:52.140Z] "registry-mirrors": [ [2023-07-18T19:10:52.140Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-18T19:10:52.140Z] ], [2023-07-18T19:10:52.140Z] "bip": "10.250.0.254/24", [2023-07-18T19:10:52.140Z] "hosts": [ [2023-07-18T19:10:52.140Z] "tcp://0.0.0.0:5555", [2023-07-18T19:10:52.140Z] "unix:///var/run/docker.sock" [2023-07-18T19:10:52.140Z] ], [2023-07-18T19:10:52.140Z] "mtu": 1458, [2023-07-18T19:10:52.140Z] "selinux-enabled": true, [2023-07-18T19:10:52.140Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-18T19:10:52.140Z] } [Pipeline] sh [2023-07-18T19:10:52.479Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-18T19:10:52.825Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T19:11:11.120Z] provisioning config files... [2023-07-18T19:11:11.152Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config13810779334517327265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:11:11.513Z] ---> docker-login.sh [2023-07-18T19:11:11.513Z] nexus3.edgexfoundry.org:10001 [2023-07-18T19:11:11.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:11:12.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:11:12.375Z] Configure a credential helper to remove this warning. See [2023-07-18T19:11:12.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:11:12.375Z] [2023-07-18T19:11:12.375Z] Login Succeeded [2023-07-18T19:11:12.375Z] nexus3.edgexfoundry.org:10002 [2023-07-18T19:11:12.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:11:12.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:11:12.644Z] Configure a credential helper to remove this warning. See [2023-07-18T19:11:12.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:11:12.644Z] [2023-07-18T19:11:12.644Z] Login Succeeded [2023-07-18T19:11:12.644Z] nexus3.edgexfoundry.org:10003 [2023-07-18T19:11:12.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:11:12.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:11:12.913Z] Configure a credential helper to remove this warning. See [2023-07-18T19:11:12.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:11:12.913Z] [2023-07-18T19:11:12.913Z] Login Succeeded [2023-07-18T19:11:12.913Z] nexus3.edgexfoundry.org:10004 [2023-07-18T19:11:13.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:11:13.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:11:13.181Z] Configure a credential helper to remove this warning. See [2023-07-18T19:11:13.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:11:13.181Z] [2023-07-18T19:11:13.181Z] Login Succeeded [2023-07-18T19:11:13.181Z] docker.io [2023-07-18T19:11:13.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T19:11:13.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T19:11:13.719Z] Configure a credential helper to remove this warning. See [2023-07-18T19:11:13.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T19:11:13.719Z] [2023-07-18T19:11:13.719Z] Login Succeeded [2023-07-18T19:11:13.719Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T19:11:13.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-18T19:11:13.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T19:11:14.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T19:11:14.019Z] ========================================================= [2023-07-18T19:11:14.019Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-18T19:11:14.019Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T19:11:14.378Z] + 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-18T19:11:14.650Z] Sending build context to Docker daemon 5.912MB [2023-07-18T19:11:14.650Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T19:11:14.650Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-18T19:11:14.925Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-18T19:11:14.925Z] edb6bdbacee9: Pulling fs layer [2023-07-18T19:11:14.925Z] 5f9638ab2659: Pulling fs layer [2023-07-18T19:11:14.925Z] 8d51d6327a98: Pulling fs layer [2023-07-18T19:11:14.925Z] 8b374f2dd631: Pulling fs layer [2023-07-18T19:11:14.925Z] ec14aa9079de: Pulling fs layer [2023-07-18T19:11:14.925Z] 2f466654f4bb: Pulling fs layer [2023-07-18T19:11:14.925Z] 554e91adad29: Pulling fs layer [2023-07-18T19:11:14.925Z] 2f466654f4bb: Waiting [2023-07-18T19:11:14.925Z] 8b374f2dd631: Waiting [2023-07-18T19:11:14.925Z] 554e91adad29: Waiting [2023-07-18T19:11:14.925Z] ec14aa9079de: Waiting [2023-07-18T19:11:14.925Z] 5f9638ab2659: Download complete [2023-07-18T19:11:14.925Z] 8b374f2dd631: Verifying Checksum [2023-07-18T19:11:14.925Z] 8b374f2dd631: Download complete [2023-07-18T19:11:14.925Z] ec14aa9079de: Verifying Checksum [2023-07-18T19:11:14.925Z] ec14aa9079de: Download complete [2023-07-18T19:11:14.925Z] edb6bdbacee9: Verifying Checksum [2023-07-18T19:11:14.925Z] edb6bdbacee9: Download complete [2023-07-18T19:11:15.910Z] edb6bdbacee9: Pull complete [2023-07-18T19:11:16.179Z] 554e91adad29: Verifying Checksum [2023-07-18T19:11:16.179Z] 554e91adad29: Download complete [2023-07-18T19:11:16.768Z] 5f9638ab2659: Pull complete [2023-07-18T19:11:17.357Z] 8d51d6327a98: Verifying Checksum [2023-07-18T19:11:17.357Z] 8d51d6327a98: Download complete [2023-07-18T19:11:17.357Z] 2f466654f4bb: Verifying Checksum [2023-07-18T19:11:17.357Z] 2f466654f4bb: Download complete [2023-07-18T19:11:29.694Z] 8d51d6327a98: Pull complete [2023-07-18T19:11:29.694Z] 8b374f2dd631: Pull complete [2023-07-18T19:11:29.694Z] ec14aa9079de: Pull complete [2023-07-18T19:11:35.063Z] 2f466654f4bb: Pull complete [2023-07-18T19:11:37.016Z] 554e91adad29: Pull complete [2023-07-18T19:11:37.016Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-18T19:11:37.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-18T19:11:37.016Z] ---> 1e15ea492957 [2023-07-18T19:11:37.016Z] Step 3/10 : ARG MAKE=make build [2023-07-18T19:11:38.986Z] ---> Running in 6040feb7bd73 [2023-07-18T19:11:38.986Z] Removing intermediate container 6040feb7bd73 [2023-07-18T19:11:38.986Z] ---> 3b5230d0d9a9 [2023-07-18T19:11:38.986Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-18T19:11:39.259Z] ---> Running in e8bee9c8b7f2 [2023-07-18T19:11:39.526Z] Removing intermediate container e8bee9c8b7f2 [2023-07-18T19:11:39.526Z] ---> 4f983fdad717 [2023-07-18T19:11:39.526Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T19:11:39.526Z] ---> Running in 3743ef56cc00 [2023-07-18T19:11:39.794Z] Removing intermediate container 3743ef56cc00 [2023-07-18T19:11:39.794Z] ---> 8a8ea30082c4 [2023-07-18T19:11:39.794Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-18T19:11:39.794Z] ---> Running in d6ba0f6f78ec [2023-07-18T19:11:41.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T19:11:41.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T19:11:42.432Z] OK: 263 MiB in 53 packages [2023-07-18T19:11:43.395Z] Removing intermediate container d6ba0f6f78ec [2023-07-18T19:11:43.395Z] ---> 4a36fb3a860b [2023-07-18T19:11:43.395Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-18T19:11:43.981Z] ---> ddae7127c1ba [2023-07-18T19:11:43.981Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T19:11:43.981Z] ---> Running in 79b565a1fe1e [2023-07-18T19:12:51.914Z] Removing intermediate container 79b565a1fe1e [2023-07-18T19:12:51.914Z] ---> edde993ed708 [2023-07-18T19:12:51.914Z] Step 9/10 : COPY . . [2023-07-18T19:12:51.914Z] ---> f0cf5dc46eaf [2023-07-18T19:12:51.914Z] Step 10/10 : RUN ${MAKE} [2023-07-18T19:12:51.914Z] ---> Running in b2f95f6526aa [2023-07-18T19:12:51.914Z] noop [2023-07-18T19:12:51.914Z] Removing intermediate container b2f95f6526aa [2023-07-18T19:12:51.914Z] ---> dfe62992841f [2023-07-18T19:12:51.914Z] Successfully built dfe62992841f [2023-07-18T19:12:51.914Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T19:12:52.278Z] + docker inspect -f . ci-base-image-arm64 [2023-07-18T19:12:52.278Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T19:12:52.489Z] prd-ubuntu20.04-docker-arm64-4c-16g-1464 does not seem to be running inside a container [2023-07-18T19:12:52.555Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-arm64 cat [2023-07-18T19:12:54.159Z] $ docker top 31704c128daec676c58e49ef9f237343624d1359fcc7edb8f04157e7228478d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T19:12:55.011Z] + go version [2023-07-18T19:12:55.011Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-18T19:12:55.032Z] $ docker stop --time=1 31704c128daec676c58e49ef9f237343624d1359fcc7edb8f04157e7228478d7 [2023-07-18T19:12:56.679Z] $ docker rm -f --volumes 31704c128daec676c58e49ef9f237343624d1359fcc7edb8f04157e7228478d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T19:12:57.244Z] + docker inspect -f . ci-base-image-arm64 [2023-07-18T19:12:57.244Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T19:12:57.429Z] prd-ubuntu20.04-docker-arm64-4c-16g-1464 does not seem to be running inside a container [2023-07-18T19:12:57.507Z] $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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-arm64 cat [2023-07-18T19:12:58.768Z] $ docker top 9742cec029976797590b67ac97db1a92327278100213238038e668d43a551581 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T19:12:59.297Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/11 [Pipeline] fileExists [Pipeline] sh [2023-07-18T19:12:59.950Z] + make test [2023-07-18T19:12:59.950Z] go test -race -coverprofile=coverage.out ./... [2023-07-18T19:13:46.812Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-18T19:15:53.500Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-18T19:15:53.500Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-18T19:15:53.500Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-18T19:15:53.500Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-18T19:15:53.500Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-18T19:16:05.831Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.225s coverage: 27.6% of statements [2023-07-18T19:16:06.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.311s coverage: 80.2% of statements [2023-07-18T19:16:16.503Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-18T19:16:16.503Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-18T19:16:17.087Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.416s coverage: 86.0% of statements [2023-07-18T19:16:22.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-18T19:16:22.443Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.577s coverage: 77.5% of statements [2023-07-18T19:16:25.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.457s coverage: 14.3% of statements [2023-07-18T19:16:25.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.583s coverage: 23.3% of statements [2023-07-18T19:16:27.728Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-18T19:16:27.728Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-18T19:16:27.995Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.472s coverage: 68.5% of statements [2023-07-18T19:16:29.945Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.472s coverage: 89.2% of statements [2023-07-18T19:16:32.527Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-18T19:16:32.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.273s coverage: 5.7% of statements [2023-07-18T19:16:33.759Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-18T19:16:33.759Z] GO111MODULE=on go vet ./... [2023-07-18T19:19:10.491Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-18T19:19:10.491Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-18T19:19:10.491Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-18T19:19:10.512Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-18T19:19:10.526Z] $ docker stop --time=1 9742cec029976797590b67ac97db1a92327278100213238038e668d43a551581 [2023-07-18T19:19:12.435Z] $ docker rm -f --volumes 9742cec029976797590b67ac97db1a92327278100213238038e668d43a551581 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-18T19:19:14.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-18T19:19:14.896Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T19:19:15.393Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-18T19:19:15.769Z] + ls -al . [2023-07-18T19:19:15.769Z] total 296 [2023-07-18T19:19:15.769Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 19:13 . [2023-07-18T19:19:15.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 19:10 .. [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 19:10 .dockerignore [2023-07-18T19:19:15.769Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 19:10 .git [2023-07-18T19:19:15.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 19:10 .github [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 19:10 .gitignore [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 19:10 .golangci.yml [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 18 19:10 CHANGELOG.md [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 19:10 GOVERNANCE.md [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 19:10 Jenkinsfile [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 19:10 LICENSE [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 18 19:10 Makefile [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 19:10 OWNERS.md [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 18 19:10 README.md [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 19:07 VERSION [2023-07-18T19:19:15.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 19:10 bin [2023-07-18T19:19:15.769Z] -rw-r--r-- 1 jenkins jenkins 122078 Jul 18 19:16 coverage.out [2023-07-18T19:19:15.769Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 19:10 example [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 18 19:10 go.mod [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 18 19:10 go.sum [2023-07-18T19:19:15.769Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 19:10 internal [2023-07-18T19:19:15.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 19:10 openapi [2023-07-18T19:19:15.769Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 19:10 pkg [2023-07-18T19:19:15.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 19:10 snap [2023-07-18T19:19:15.769Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 19:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T19:19:16.124Z] + 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=d9234db6e6d2e3e2c71bf42c0920ced4dc4a271d --label arch=arm64 --label version=0.0.0 . [2023-07-18T19:19:16.396Z] Sending build context to Docker daemon 6.035MB [2023-07-18T19:19:16.662Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T19:19:16.662Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-18T19:19:16.662Z] ---> dfe62992841f [2023-07-18T19:19:16.662Z] Step 3/23 : ARG MAKE=make build [2023-07-18T19:19:16.662Z] ---> Running in 88e1eb63425b [2023-07-18T19:19:16.932Z] Removing intermediate container 88e1eb63425b [2023-07-18T19:19:16.932Z] ---> cc22e5f2ac2b [2023-07-18T19:19:16.932Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-18T19:19:17.200Z] ---> Running in f211574679da [2023-07-18T19:19:17.467Z] Removing intermediate container f211574679da [2023-07-18T19:19:17.467Z] ---> 291d245af84e [2023-07-18T19:19:17.467Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T19:19:17.467Z] ---> Running in f8a307c4e9cf [2023-07-18T19:19:17.736Z] Removing intermediate container f8a307c4e9cf [2023-07-18T19:19:17.736Z] ---> 45e118d0496f [2023-07-18T19:19:17.736Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-18T19:19:17.736Z] ---> Running in ca5e1c9f51c0 [2023-07-18T19:19:18.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T19:19:19.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T19:19:20.245Z] OK: 263 MiB in 53 packages [2023-07-18T19:19:21.207Z] Removing intermediate container ca5e1c9f51c0 [2023-07-18T19:19:21.207Z] ---> 7c6e40cba2e0 [2023-07-18T19:19:21.207Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-18T19:19:21.472Z] ---> ddbad4308bc4 [2023-07-18T19:19:21.472Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T19:19:21.739Z] ---> Running in 8eb1574d335d [2023-07-18T19:19:23.689Z] Removing intermediate container 8eb1574d335d [2023-07-18T19:19:23.690Z] ---> 0af1a1f8a80f [2023-07-18T19:19:23.690Z] Step 9/23 : COPY . . [2023-07-18T19:19:25.100Z] ---> f10f83bc5e05 [2023-07-18T19:19:25.100Z] Step 10/23 : RUN ${MAKE} [2023-07-18T19:19:25.100Z] ---> Running in 00b51b9d7194 [2023-07-18T19:19:26.060Z] 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-18T19:21:47.742Z] Removing intermediate container 00b51b9d7194 [2023-07-18T19:21:47.742Z] ---> 0ec12c46a482 [2023-07-18T19:21:47.742Z] Step 11/23 : FROM alpine:3.17 [2023-07-18T19:21:47.742Z] 3.17: Pulling from library/alpine [2023-07-18T19:21:47.742Z] edb6bdbacee9: Already exists [2023-07-18T19:21:47.742Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-18T19:21:47.742Z] Status: Downloaded newer image for alpine:3.17 [2023-07-18T19:21:47.742Z] ---> 779605e5fbc0 [2023-07-18T19:21:47.742Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-18T19:21:47.742Z] ---> Running in 9c5a5067bff9 [2023-07-18T19:21:47.742Z] Removing intermediate container 9c5a5067bff9 [2023-07-18T19:21:47.742Z] ---> e1e4638ece45 [2023-07-18T19:21:47.742Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-18T19:21:47.742Z] ---> Running in 95444f3bbbc8 [2023-07-18T19:21:47.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T19:21:47.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T19:21:47.742Z] OK: 7 MiB in 15 packages [2023-07-18T19:21:47.742Z] Removing intermediate container 95444f3bbbc8 [2023-07-18T19:21:47.742Z] ---> 8bbb614c669f [2023-07-18T19:21:47.742Z] Step 14/23 : WORKDIR / [2023-07-18T19:21:47.742Z] ---> Running in 526972b77a4f [2023-07-18T19:21:47.742Z] Removing intermediate container 526972b77a4f [2023-07-18T19:21:47.742Z] ---> 474c293d2c53 [2023-07-18T19:21:47.742Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-18T19:21:47.742Z] ---> a5c7a68941e0 [2023-07-18T19:21:47.742Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-18T19:21:47.742Z] ---> 27e19d69e538 [2023-07-18T19:21:47.743Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-18T19:21:47.743Z] ---> bc6d814a7997 [2023-07-18T19:21:47.743Z] Step 18/23 : EXPOSE 59999 [2023-07-18T19:21:47.743Z] ---> Running in c61eeed2a6ee [2023-07-18T19:21:47.743Z] Removing intermediate container c61eeed2a6ee [2023-07-18T19:21:47.743Z] ---> 630b102a6972 [2023-07-18T19:21:47.743Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-18T19:21:47.743Z] ---> Running in 3e3d01158649 [2023-07-18T19:21:47.743Z] Removing intermediate container 3e3d01158649 [2023-07-18T19:21:47.743Z] ---> 4bea65f99650 [2023-07-18T19:21:47.743Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-18T19:21:47.743Z] ---> Running in 1d86ef894816 [2023-07-18T19:21:47.743Z] Removing intermediate container 1d86ef894816 [2023-07-18T19:21:47.743Z] ---> 705b1509365a [2023-07-18T19:21:47.743Z] Step 21/23 : LABEL arch=arm64 [2023-07-18T19:21:47.743Z] ---> Running in 6e605f4c2693 [2023-07-18T19:21:48.014Z] Removing intermediate container 6e605f4c2693 [2023-07-18T19:21:48.014Z] ---> f15a2dcd3726 [2023-07-18T19:21:48.014Z] Step 22/23 : LABEL git_sha=d9234db6e6d2e3e2c71bf42c0920ced4dc4a271d [2023-07-18T19:21:48.280Z] ---> Running in af0d8cb2797e [2023-07-18T19:21:48.546Z] Removing intermediate container af0d8cb2797e [2023-07-18T19:21:48.546Z] ---> 74e3d0bc174b [2023-07-18T19:21:48.546Z] Step 23/23 : LABEL version=0.0.0 [2023-07-18T19:21:48.546Z] ---> Running in a5711bdab4af [2023-07-18T19:21:48.813Z] Removing intermediate container a5711bdab4af [2023-07-18T19:21:48.813Z] ---> 0afd00edc54f [2023-07-18T19:21:48.813Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-18T19:21:48.813Z] Successfully built 0afd00edc54f [2023-07-18T19:21:48.813Z] 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-18T19:21:49.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T19:21:49.543Z] [2023-07-18T19:21:49.543Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T19:21:49.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T19:21:49.874Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-18T19:21:49.874Z] 8998bd30e6a1: Pulling fs layer [2023-07-18T19:21:49.874Z] 04944245beec: Pulling fs layer [2023-07-18T19:21:49.874Z] 699f458cf7ca: Pulling fs layer [2023-07-18T19:21:49.874Z] 765212b225bb: Pulling fs layer [2023-07-18T19:21:49.874Z] f23df028b6ca: Pulling fs layer [2023-07-18T19:21:49.874Z] d65c8cfc05b1: Pulling fs layer [2023-07-18T19:21:49.874Z] 2437ff75d9bd: Pulling fs layer [2023-07-18T19:21:49.874Z] 765212b225bb: Waiting [2023-07-18T19:21:49.874Z] f23df028b6ca: Waiting [2023-07-18T19:21:49.874Z] d65c8cfc05b1: Waiting [2023-07-18T19:21:49.874Z] 2437ff75d9bd: Waiting [2023-07-18T19:21:50.141Z] 04944245beec: Verifying Checksum [2023-07-18T19:21:50.141Z] 04944245beec: Download complete [2023-07-18T19:21:50.141Z] 765212b225bb: Verifying Checksum [2023-07-18T19:21:50.141Z] 765212b225bb: Download complete [2023-07-18T19:21:50.141Z] f23df028b6ca: Download complete [2023-07-18T19:21:50.141Z] d65c8cfc05b1: Verifying Checksum [2023-07-18T19:21:50.141Z] d65c8cfc05b1: Download complete [2023-07-18T19:21:50.410Z] 699f458cf7ca: Verifying Checksum [2023-07-18T19:21:50.410Z] 699f458cf7ca: Download complete [2023-07-18T19:21:50.677Z] 8998bd30e6a1: Download complete [2023-07-18T19:21:52.621Z] 2437ff75d9bd: Verifying Checksum [2023-07-18T19:21:52.621Z] 2437ff75d9bd: Download complete [2023-07-18T19:21:54.567Z] 8998bd30e6a1: Pull complete [2023-07-18T19:21:54.833Z] 04944245beec: Pull complete [2023-07-18T19:21:56.788Z] 699f458cf7ca: Pull complete [2023-07-18T19:21:56.788Z] 765212b225bb: Pull complete [2023-07-18T19:21:57.750Z] f23df028b6ca: Pull complete [2023-07-18T19:21:57.750Z] d65c8cfc05b1: Pull complete [2023-07-18T19:22:12.750Z] 2437ff75d9bd: Pull complete [2023-07-18T19:22:12.750Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-18T19:22:12.750Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T19:22:12.750Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T19:22:12.950Z] prd-ubuntu20.04-docker-arm64-4c-16g-1464 does not seem to be running inside a container [2023-07-18T19:22:13.023Z] $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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:arm64 cat [2023-07-18T19:22:15.717Z] $ docker top 269a235018b7d3add27969a66b8d5bfa0df2b882ebb0639b69db719efd4c5a4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:22:16.558Z] ---> job-cost.sh [2023-07-18T19:22:16.558Z] lf-activate-venv: SKIPPING [2023-07-18T19:22:16.558Z] INFO: No Stack... [2023-07-18T19:22:16.824Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-18T19:22:17.785Z] INFO: Archiving Costs [Pipeline] sh [2023-07-18T19:22:18.105Z] + cut -d, -f6 [2023-07-18T19:22:18.105Z] + cat /w/workspace/device-sdk-go/11/archives/cost.csv [Pipeline] lock [2023-07-18T19:22:18.436Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] [2023-07-18T19:22:18.442Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] did not exist. Created. [2023-07-18T19:22:18.442Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-18T19:22:18.778Z] /w/workspace/device-sdk-go/11@tmp/durable-c5d58985/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-18T19:22:19.378Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-18T19:22:19.407Z] Warning: overwriting stash ‘stack-cost’ [2023-07-18T19:22:19.479Z] Stashed 1 file(s) [Pipeline] } [2023-07-18T19:22:19.489Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-18T19:22:19.520Z] $ docker stop --time=1 269a235018b7d3add27969a66b8d5bfa0df2b882ebb0639b69db719efd4c5a4f [2023-07-18T19:22:21.034Z] $ docker rm -f --volumes 269a235018b7d3add27969a66b8d5bfa0df2b882ebb0639b69db719efd4c5a4f [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-18T19:22:22.085Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives ] [2023-07-18T19:22:22.085Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives [2023-07-18T19:22:22.085Z] total 16 [2023-07-18T19:22:22.085Z] drwxr-xr-x 3 root root 4096 Jul 18 19:09 . [2023-07-18T19:22:22.085Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 19:09 .. [2023-07-18T19:22:22.085Z] drwxr-xr-x 2 root root 4096 Jul 18 19:09 cost [2023-07-18T19:22:22.085Z] -rw-r--r-- 1 root root 87 Jul 18 19:09 cost.csv [2023-07-18T19:22:22.085Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives [2023-07-18T19:22:22.085Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives [2023-07-18T19:22:22.085Z] total 16 [2023-07-18T19:22:22.085Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 19:09 . [2023-07-18T19:22:22.085Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 19:09 .. [2023-07-18T19:22:22.085Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 19:09 cost [2023-07-18T19:22:22.085Z] -rw-r--r-- 1 jenkins jenkins 87 Jul 18 19:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:22:22.378Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:22:23.240Z] ---> package-listing.sh [2023-07-18T19:22:23.240Z] ++ facter osfamily [2023-07-18T19:22:23.240Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-18T19:22:23.499Z] + OS_FAMILY=debian [2023-07-18T19:22:23.499Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1471 [2023-07-18T19:22:23.499Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-18T19:22:23.499Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-18T19:22:23.499Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-18T19:22:23.499Z] + PACKAGES=/tmp/packages_start.txt [2023-07-18T19:22:23.499Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' [2023-07-18T19:22:23.499Z] + PACKAGES=/tmp/packages_end.txt [2023-07-18T19:22:23.499Z] + case "${OS_FAMILY}" in [2023-07-18T19:22:23.499Z] + dpkg -l [2023-07-18T19:22:23.499Z] + grep '^ii' [2023-07-18T19:22:23.499Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-18T19:22:23.499Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-18T19:22:23.499Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-18T19:22:23.499Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' [2023-07-18T19:22:23.499Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/ [2023-07-18T19:22:23.500Z] + 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-18T19:22:23.511Z] 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-18T19:22:23.789Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T19:22:24.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T19:22:24.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T19:22:24.413Z] prd-ubuntu20.04-docker-8c-8g-1463 does not seem to be running inside a container [2023-07-18T19:22:24.433Z] $ 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-18T19:22:24.662Z] $ docker top f7eb8cbfbe2923de7cdee492149ec64203d8dd0b4d17c16bb0e72b8e88321723 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T19:22:25.006Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-18T19:22:25.303Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-18T19:22:25.594Z] + ls /var/log/sa-host [2023-07-18T19:22:25.594Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T19:22:25.666Z] provisioning config files... [2023-07-18T19:22:25.674Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config15293981077856379643tmp [Pipeline] { [Pipeline] echo [2023-07-18T19:22:25.691Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:22:25.972Z] ---> create-netrc.sh [Pipeline] } [2023-07-18T19:22:25.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:22:26.306Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-18T19:22:26.315Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:22:26.597Z] ---> sudo-logs.sh [2023-07-18T19:22:26.597Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-18T19:22:26.626Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:22:26.907Z] ---> job-cost.sh [2023-07-18T19:22:26.907Z] lf-activate-venv: SKIPPING [2023-07-18T19:22:26.907Z] DEBUG: total: 0.2199999988079071 [2023-07-18T19:22:26.907Z] INFO: Retrieving Stack Cost... [2023-07-18T19:22:27.165Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-18T19:22:27.735Z] INFO: Archiving Costs [Pipeline] echo [2023-07-18T19:22:27.747Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T19:22:28.026Z] ---> logs-deploy.sh [2023-07-18T19:22:28.026Z] lf-activate-venv: SKIPPING [2023-07-18T19:22:28.026Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1471/11 [2023-07-18T19:22:28.026Z] INFO: archiving workspace using pattern(s): [2023-07-18T19:22:28.961Z] Archives upload complete. [2023-07-18T19:22:28.961Z] INFO: archiving logs to Nexus