Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bef7e6d0673e0e6a9cfa0b0abf49804674033489+bf9c3392919180a8df7f2fb5f876c062118bfa6b (83f67ccdc2f36eb8e9687b000d3e095f61546244) 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-ssh2093844440359818808.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17776805432884838879.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1425/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-1425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh819855665529339324.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh1152626395862297467.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-1425/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-1425/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1032071173176785426.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8964 in /w/workspace/gexfoundry_device-sdk-go_PR-1425 [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-1425 # 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/1425/head:refs/remotes/origin/PR-1425 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bf9c3392919180a8df7f2fb5f876c062118bfa6b into PR head commit bef7e6d0673e0e6a9cfa0b0abf49804674033489 Merge succeeded, producing 75a3725b3d5e992eacdc0642f6d81df8f5d8b842 Checking out Revision 75a3725b3d5e992eacdc0642f6d81df8f5d8b842 (PR-1425) > git config core.sparsecheckout # timeout=10 > git checkout -f bef7e6d0673e0e6a9cfa0b0abf49804674033489 # 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 bf9c3392919180a8df7f2fb5f876c062118bfa6b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 75a3725b3d5e992eacdc0642f6d81df8f5d8b842 # timeout=10 Commit message: "Merge commit 'bf9c3392919180a8df7f2fb5f876c062118bfa6b' into HEAD" > git rev-list --no-walk bef7e6d0673e0e6a9cfa0b0abf49804674033489 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T18:41:38.208Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T18:41:38.264Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T18:41:38.285Z] ========================================================= [2023-04-18T18:41:38.285Z] EdgeX Global Pipelines Version Info [2023-04-18T18:41:38.285Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:41:39.015Z] ------------------- [2023-04-18T18:41:39.015Z] stable info: [2023-04-18T18:41:39.015Z] ------------------- [2023-04-18T18:41:39.015Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T18:41:39.015Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T18:41:39.015Z] Message: update stable to v1.0.248 [2023-04-18T18:41:39.587Z] ------------------- [2023-04-18T18:41:39.587Z] experimental info: [2023-04-18T18:41:39.587Z] ------------------- [2023-04-18T18:41:39.587Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T18:41:39.587Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T18:41:39.587Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T18:41:39.740Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-18T18:41:39.749Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-18T18:41:39.758Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T18:41:39.766Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T18:41:39.775Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T18:41:39.789Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T18:41:39.800Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T18:41:39.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-18T18:41:39.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T18:41:39.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T18:41:39.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T18:41:39.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-18T18:41:39.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T18:41:39.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T18:41:39.915Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T18:41:39.926Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T18:41:39.941Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T18:41:39.960Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T18:41:39.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T18:41:39.987Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T18:41:39.999Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-18T18:41:40.014Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-18T18:41:40.025Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T18:41:40.038Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T18:41:40.051Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T18:41:40.063Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T18:41:40.078Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T18:41:40.089Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1425 [Pipeline] echo [2023-04-18T18:41:40.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1425 [Pipeline] echo [2023-04-18T18:41:40.116Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1425 [Pipeline] echo [2023-04-18T18:41:40.131Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75a3725b3d5e992eacdc0642f6d81df8f5d8b842 [Pipeline] echo [2023-04-18T18:41:40.150Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 75a3725 [Pipeline] echo [2023-04-18T18:41:40.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T18:41:40.224Z] provisioning config files... [2023-04-18T18:41:40.236Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config8894974722372004445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:41:40.533Z] ---> docker-login.sh [2023-04-18T18:41:40.534Z] nexus3.edgexfoundry.org:10001 [2023-04-18T18:41:40.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:41:40.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:41:40.796Z] Configure a credential helper to remove this warning. See [2023-04-18T18:41:40.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:41:40.796Z] [2023-04-18T18:41:40.796Z] Login Succeeded [2023-04-18T18:41:40.796Z] nexus3.edgexfoundry.org:10002 [2023-04-18T18:41:41.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:41:41.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:41:41.056Z] Configure a credential helper to remove this warning. See [2023-04-18T18:41:41.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:41:41.056Z] [2023-04-18T18:41:41.056Z] Login Succeeded [2023-04-18T18:41:41.056Z] nexus3.edgexfoundry.org:10003 [2023-04-18T18:41:41.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:41:41.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:41:41.056Z] Configure a credential helper to remove this warning. See [2023-04-18T18:41:41.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:41:41.056Z] [2023-04-18T18:41:41.056Z] Login Succeeded [2023-04-18T18:41:41.056Z] nexus3.edgexfoundry.org:10004 [2023-04-18T18:41:41.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:41:41.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:41:41.315Z] Configure a credential helper to remove this warning. See [2023-04-18T18:41:41.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:41:41.315Z] [2023-04-18T18:41:41.315Z] Login Succeeded [2023-04-18T18:41:41.315Z] docker.io [2023-04-18T18:41:41.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:41:41.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:41:41.575Z] Configure a credential helper to remove this warning. See [2023-04-18T18:41:41.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:41:41.575Z] [2023-04-18T18:41:41.575Z] Login Succeeded [2023-04-18T18:41:41.575Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T18:41:41.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T18:41:41.930Z] + git rev-list -1 --merges 75a3725b3d5e992eacdc0642f6d81df8f5d8b842~1..75a3725b3d5e992eacdc0642f6d81df8f5d8b842 [Pipeline] echo [2023-04-18T18:41:41.976Z] -----------> git rev-list -1 --merges 75a3725b3d5e992eacdc0642f6d81df8f5d8b842~1..75a3725b3d5e992eacdc0642f6d81df8f5d8b842 75a3725b3d5e992eacdc0642f6d81df8f5d8b842 [2023-04-18T18:41:41.977Z] 75a3725b3d5e992eacdc0642f6d81df8f5d8b842 [false] [Pipeline] sh [2023-04-18T18:41:42.268Z] + git log --format=format:%s -1 75a3725b3d5e992eacdc0642f6d81df8f5d8b842 [Pipeline] echo [2023-04-18T18:41:42.283Z] ========================================================= [2023-04-18T18:41:42.283Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T18:41:42.283Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T18:41:42.605Z] + git log --format=format:%s -1 75a3725b3d5e992eacdc0642f6d81df8f5d8b842 [Pipeline] echo [2023-04-18T18:41:42.616Z] [semverPrep] GIT_COMMIT: 75a3725b3d5e992eacdc0642f6d81df8f5d8b842, Commit Message: Merge commit 'bf9c3392919180a8df7f2fb5f876c062118bfa6b' into HEAD [Pipeline] echo [2023-04-18T18:41:42.624Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T18:41:42.986Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T18:41:42.986Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T18:41:42.986Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T18:41:42.986Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T18:41:42.986Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T18:41:42.986Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T18:41:42.986Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:41:43.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T18:41:43.334Z] [2023-04-18T18:41:43.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:41:43.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T18:41:43.636Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T18:41:43.636Z] b85a868b505f: Pulling fs layer [2023-04-18T18:41:43.636Z] e2be974225ed: Pulling fs layer [2023-04-18T18:41:43.636Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T18:41:43.636Z] 988bab9f4d93: Pulling fs layer [2023-04-18T18:41:43.636Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T18:41:43.636Z] eaf3925da568: Pulling fs layer [2023-04-18T18:41:43.636Z] bab4dde63d76: Pulling fs layer [2023-04-18T18:41:43.636Z] bde34c3a00c8: Pulling fs layer [2023-04-18T18:41:43.636Z] b352a97aabf1: Pulling fs layer [2023-04-18T18:41:43.636Z] 4872d77fe225: Pulling fs layer [2023-04-18T18:41:43.636Z] 5851b861e8e6: Pulling fs layer [2023-04-18T18:41:43.636Z] bab4dde63d76: Waiting [2023-04-18T18:41:43.636Z] 4872d77fe225: Waiting [2023-04-18T18:41:43.636Z] 5851b861e8e6: Waiting [2023-04-18T18:41:43.636Z] 988bab9f4d93: Waiting [2023-04-18T18:41:43.636Z] bde34c3a00c8: Waiting [2023-04-18T18:41:43.636Z] b352a97aabf1: Waiting [2023-04-18T18:41:43.636Z] 1469e6f7b9e6: Waiting [2023-04-18T18:41:43.636Z] eaf3925da568: Waiting [2023-04-18T18:41:43.636Z] e2be974225ed: Download complete [2023-04-18T18:41:43.636Z] 988bab9f4d93: Verifying Checksum [2023-04-18T18:41:43.636Z] 988bab9f4d93: Download complete [2023-04-18T18:41:43.636Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T18:41:43.636Z] 1469e6f7b9e6: Download complete [2023-04-18T18:41:43.636Z] eaf3925da568: Verifying Checksum [2023-04-18T18:41:43.636Z] eaf3925da568: Download complete [2023-04-18T18:41:43.636Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T18:41:43.636Z] 339a4e72a1f5: Download complete [2023-04-18T18:41:43.636Z] bde34c3a00c8: Download complete [2023-04-18T18:41:43.897Z] b352a97aabf1: Verifying Checksum [2023-04-18T18:41:43.897Z] b352a97aabf1: Download complete [2023-04-18T18:41:43.897Z] 4872d77fe225: Verifying Checksum [2023-04-18T18:41:43.897Z] 4872d77fe225: Download complete [2023-04-18T18:41:43.897Z] 5851b861e8e6: Verifying Checksum [2023-04-18T18:41:43.897Z] 5851b861e8e6: Download complete [2023-04-18T18:41:43.897Z] b85a868b505f: Verifying Checksum [2023-04-18T18:41:43.897Z] b85a868b505f: Download complete [2023-04-18T18:41:44.161Z] bab4dde63d76: Verifying Checksum [2023-04-18T18:41:44.161Z] bab4dde63d76: Download complete [2023-04-18T18:41:45.098Z] b85a868b505f: Pull complete [2023-04-18T18:41:45.098Z] e2be974225ed: Pull complete [2023-04-18T18:41:45.669Z] 339a4e72a1f5: Pull complete [2023-04-18T18:41:45.669Z] 988bab9f4d93: Pull complete [2023-04-18T18:41:45.928Z] 1469e6f7b9e6: Pull complete [2023-04-18T18:41:45.928Z] eaf3925da568: Pull complete [2023-04-18T18:41:47.339Z] bab4dde63d76: Pull complete [2023-04-18T18:41:47.602Z] bde34c3a00c8: Pull complete [2023-04-18T18:41:47.602Z] b352a97aabf1: Pull complete [2023-04-18T18:41:47.602Z] 4872d77fe225: Pull complete [2023-04-18T18:41:47.863Z] 5851b861e8e6: Pull complete [2023-04-18T18:41:47.863Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T18:41:47.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T18:41:47.863Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T18:41:47.965Z] prd-ubuntu20.04-docker-8c-8g-8964 does not seem to be running inside a container [2023-04-18T18:41:48.000Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T18:41:50.390Z] $ docker top 1665ef473838f1d2ef83e4feb15cb2a94cb5bb2ffab708a4e8ad347e79689ff0 -eo pid,comm [2023-04-18T18:41:50.441Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-18T18:41:50.441Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T18:41:50.489Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T18:41:50.489Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T18:41:50.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T18:41:50.596Z] $ docker exec 1665ef473838f1d2ef83e4feb15cb2a94cb5bb2ffab708a4e8ad347e79689ff0 ssh-agent [2023-04-18T18:41:50.710Z] SSH_AUTH_SOCK=/tmp/ssh-NVxkdhoxwcdR/agent.32 [2023-04-18T18:41:50.710Z] SSH_AGENT_PID=38 [2023-04-18T18:41:50.716Z] Running ssh-add (command line suppressed) [2023-04-18T18:41:50.816Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_17203277235197460379.key (/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_17203277235197460379.key) [2023-04-18T18:41:50.830Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T18:41:51.120Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T18:41:51.139Z] $ docker exec --env ******** --env ******** 1665ef473838f1d2ef83e4feb15cb2a94cb5bb2ffab708a4e8ad347e79689ff0 ssh-agent -k [2023-04-18T18:41:51.232Z] unset SSH_AUTH_SOCK; [2023-04-18T18:41:51.232Z] unset SSH_AGENT_PID; [2023-04-18T18:41:51.232Z] echo Agent pid 38 killed; [2023-04-18T18:41:51.241Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T18:41:51.265Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T18:41:51.265Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T18:41:51.376Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T18:41:51.379Z] $ docker exec 1665ef473838f1d2ef83e4feb15cb2a94cb5bb2ffab708a4e8ad347e79689ff0 ssh-agent [2023-04-18T18:41:51.486Z] SSH_AUTH_SOCK=/tmp/ssh-cbkwIblvTorA/agent.70 [2023-04-18T18:41:51.486Z] SSH_AGENT_PID=76 [2023-04-18T18:41:51.490Z] Running ssh-add (command line suppressed) [2023-04-18T18:41:51.583Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_11783252428794757594.key (/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/private_key_11783252428794757594.key) [2023-04-18T18:41:51.595Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T18:41:51.882Z] + git semver init [2023-04-18T18:41:52.143Z] 2023-04-18 18:41:52,040 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T18:41:52.143Z] 2023-04-18 18:41:52,041 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver [2023-04-18T18:41:52.143Z] 2023-04-18 18:41:52,041 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver [2023-04-18T18:41:52.143Z] 2023-04-18 18:41:52,042 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1425, universal_newlines=False, shell=None, istream=None) [2023-04-18T18:41:53.082Z] 2023-04-18 18:41:52,944 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.git/info/exclude [2023-04-18T18:41:53.082Z] 2023-04-18 18:41:52,944 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver/PR-1425 with force:False [2023-04-18T18:41:53.082Z] 2023-04-18 18:41:52,944 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver/PR-1425 [2023-04-18T18:41:53.082Z] 2023-04-18 18:41:52,948 [execute] INFO git cat-file --batch-check [2023-04-18T18:41:53.082Z] 2023-04-18 18:41:52,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T18:41:53.082Z] 2023-04-18 18:41:52,953 [execute] INFO git cat-file --batch [2023-04-18T18:41:53.082Z] 2023-04-18 18:41:52,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T18:41:53.082Z] 2023-04-18 18:41:52,957 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1425/.semver/PR-1425 [2023-04-18T18:41:53.082Z] 0.0.0 [Pipeline] } [2023-04-18T18:41:53.094Z] $ docker exec --env ******** --env ******** 1665ef473838f1d2ef83e4feb15cb2a94cb5bb2ffab708a4e8ad347e79689ff0 ssh-agent -k [2023-04-18T18:41:53.201Z] unset SSH_AUTH_SOCK; [2023-04-18T18:41:53.201Z] unset SSH_AGENT_PID; [2023-04-18T18:41:53.201Z] echo Agent pid 76 killed; [2023-04-18T18:41:53.209Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T18:41:53.517Z] + git semver [Pipeline] } [2023-04-18T18:41:53.794Z] $ docker stop --time=1 1665ef473838f1d2ef83e4feb15cb2a94cb5bb2ffab708a4e8ad347e79689ff0 [2023-04-18T18:41:55.077Z] $ docker rm -f --volumes 1665ef473838f1d2ef83e4feb15cb2a94cb5bb2ffab708a4e8ad347e79689ff0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T18:41:55.415Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T18:41:55.640Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T18:41:55.644Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T18:41:55.828Z] provisioning config files... [2023-04-18T18:41:55.838Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config13587719944421830533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:41:56.137Z] ---> docker-login.sh [2023-04-18T18:41:56.137Z] nexus3.edgexfoundry.org:10001 [2023-04-18T18:41:56.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:41:56.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:41:56.137Z] Configure a credential helper to remove this warning. See [2023-04-18T18:41:56.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:41:56.137Z] [2023-04-18T18:41:56.137Z] Login Succeeded [2023-04-18T18:41:56.137Z] nexus3.edgexfoundry.org:10002 [2023-04-18T18:41:56.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:41:56.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:41:56.137Z] Configure a credential helper to remove this warning. See [2023-04-18T18:41:56.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:41:56.137Z] [2023-04-18T18:41:56.137Z] Login Succeeded [2023-04-18T18:41:56.137Z] nexus3.edgexfoundry.org:10003 [2023-04-18T18:41:56.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:41:56.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:41:56.397Z] Configure a credential helper to remove this warning. See [2023-04-18T18:41:56.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:41:56.397Z] [2023-04-18T18:41:56.397Z] Login Succeeded [2023-04-18T18:41:56.397Z] nexus3.edgexfoundry.org:10004 [2023-04-18T18:41:56.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:41:56.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:41:56.398Z] Configure a credential helper to remove this warning. See [2023-04-18T18:41:56.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:41:56.398Z] [2023-04-18T18:41:56.398Z] Login Succeeded [2023-04-18T18:41:56.398Z] docker.io [2023-04-18T18:41:56.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:41:56.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:41:56.661Z] Configure a credential helper to remove this warning. See [2023-04-18T18:41:56.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:41:56.661Z] [2023-04-18T18:41:56.661Z] Login Succeeded [2023-04-18T18:41:56.661Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T18:41:56.669Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T18:41:56.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T18:41:56.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T18:41:56.745Z] ========================================================= [2023-04-18T18:41:56.745Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T18:41:56.745Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:41:57.049Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T18:41:57.049Z] Sending build context to Docker daemon 10.99MB [2023-04-18T18:41:57.049Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T18:41:57.049Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T18:41:57.049Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T18:41:57.049Z] 63b65145d645: Pulling fs layer [2023-04-18T18:41:57.049Z] a2d21d5440eb: Pulling fs layer [2023-04-18T18:41:57.049Z] 935e6c44a52c: Pulling fs layer [2023-04-18T18:41:57.049Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T18:41:57.049Z] 30dea6a524f1: Pulling fs layer [2023-04-18T18:41:57.049Z] a2aff8979fd8: Pulling fs layer [2023-04-18T18:41:57.049Z] 6808be2612f2: Pulling fs layer [2023-04-18T18:41:57.049Z] f25807f1079a: Pulling fs layer [2023-04-18T18:41:57.049Z] 6808be2612f2: Waiting [2023-04-18T18:41:57.049Z] f25807f1079a: Waiting [2023-04-18T18:41:57.049Z] 94cc34f8dd06: Waiting [2023-04-18T18:41:57.049Z] 30dea6a524f1: Waiting [2023-04-18T18:41:57.049Z] a2aff8979fd8: Waiting [2023-04-18T18:41:57.311Z] a2d21d5440eb: Verifying Checksum [2023-04-18T18:41:57.311Z] a2d21d5440eb: Download complete [2023-04-18T18:41:57.311Z] 94cc34f8dd06: Verifying Checksum [2023-04-18T18:41:57.311Z] 94cc34f8dd06: Download complete [2023-04-18T18:41:57.311Z] 30dea6a524f1: Verifying Checksum [2023-04-18T18:41:57.311Z] 30dea6a524f1: Download complete [2023-04-18T18:41:57.311Z] 63b65145d645: Download complete [2023-04-18T18:41:57.311Z] a2aff8979fd8: Verifying Checksum [2023-04-18T18:41:57.311Z] a2aff8979fd8: Download complete [2023-04-18T18:41:57.311Z] 63b65145d645: Pull complete [2023-04-18T18:41:57.573Z] a2d21d5440eb: Pull complete [2023-04-18T18:41:57.831Z] f25807f1079a: Verifying Checksum [2023-04-18T18:41:57.831Z] f25807f1079a: Download complete [2023-04-18T18:41:57.831Z] 935e6c44a52c: Verifying Checksum [2023-04-18T18:41:57.831Z] 935e6c44a52c: Download complete [2023-04-18T18:41:58.091Z] 6808be2612f2: Verifying Checksum [2023-04-18T18:41:58.091Z] 6808be2612f2: Download complete [2023-04-18T18:42:01.391Z] 935e6c44a52c: Pull complete [2023-04-18T18:42:01.391Z] 94cc34f8dd06: Pull complete [2023-04-18T18:42:01.391Z] 30dea6a524f1: Pull complete [2023-04-18T18:42:01.391Z] a2aff8979fd8: Pull complete [2023-04-18T18:42:03.943Z] 6808be2612f2: Pull complete [2023-04-18T18:42:04.513Z] f25807f1079a: Pull complete [2023-04-18T18:42:04.513Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T18:42:04.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T18:42:04.513Z] ---> 3b553350e43f [2023-04-18T18:42:04.513Z] Step 3/10 : ARG MAKE=make build [2023-04-18T18:42:08.736Z] ---> Running in 687550b5796e [2023-04-18T18:42:08.997Z] Removing intermediate container 687550b5796e [2023-04-18T18:42:08.997Z] ---> 027a5752b8da [2023-04-18T18:42:08.997Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-18T18:42:08.997Z] ---> Running in 8db7388b6b24 [2023-04-18T18:42:08.997Z] Removing intermediate container 8db7388b6b24 [2023-04-18T18:42:08.997Z] ---> d360fdb507ae [2023-04-18T18:42:08.997Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T18:42:09.257Z] ---> Running in d4a740b48a2c [2023-04-18T18:42:09.257Z] Removing intermediate container d4a740b48a2c [2023-04-18T18:42:09.257Z] ---> adc4820171ef [2023-04-18T18:42:09.257Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-18T18:42:09.257Z] ---> Running in b32f25b6a76e [2023-04-18T18:42:09.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T18:42:09.775Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T18:42:09.775Z] OK: 265 MiB in 53 packages [2023-04-18T18:42:10.035Z] Removing intermediate container b32f25b6a76e [2023-04-18T18:42:10.035Z] ---> 6af1896d5f30 [2023-04-18T18:42:10.035Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T18:42:10.295Z] ---> 9aa779092fe3 [2023-04-18T18:42:10.295Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T18:42:10.295Z] ---> Running in ba6429ced472 [2023-04-18T18:42:10.767Z] Still waiting to schedule task [2023-04-18T18:42:10.767Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-18T18:42:49.064Z] Removing intermediate container ba6429ced472 [2023-04-18T18:42:49.065Z] ---> c196d1ff37fd [2023-04-18T18:42:49.065Z] Step 9/10 : COPY . . [2023-04-18T18:42:49.065Z] ---> eeb430b7285d [2023-04-18T18:42:49.065Z] Step 10/10 : RUN ${MAKE} [2023-04-18T18:42:49.065Z] ---> Running in 97e5d6176cb9 [2023-04-18T18:42:49.065Z] noop [2023-04-18T18:42:49.065Z] Removing intermediate container 97e5d6176cb9 [2023-04-18T18:42:49.065Z] ---> 49aece68fa3b [2023-04-18T18:42:49.065Z] Successfully built 49aece68fa3b [2023-04-18T18:42:49.065Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:42:49.386Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T18:42:49.386Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T18:42:49.461Z] prd-ubuntu20.04-docker-8c-8g-8964 does not seem to be running inside a container [2023-04-18T18:42:49.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@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 ******** ci-base-image-x86_64 cat [2023-04-18T18:42:49.831Z] $ docker top 2ffce0ff6ffb179bc120b73f72226e4e674447e32b9c982cac47197b0e56e8a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T18:42:50.170Z] + go version [2023-04-18T18:42:50.170Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T18:42:50.189Z] $ docker stop --time=1 2ffce0ff6ffb179bc120b73f72226e4e674447e32b9c982cac47197b0e56e8a5 [2023-04-18T18:42:51.458Z] $ docker rm -f --volumes 2ffce0ff6ffb179bc120b73f72226e4e674447e32b9c982cac47197b0e56e8a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:42:51.884Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T18:42:51.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T18:42:51.962Z] prd-ubuntu20.04-docker-8c-8g-8964 does not seem to be running inside a container [2023-04-18T18:42:52.002Z] $ 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-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@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 ******** ci-base-image-x86_64 cat [2023-04-18T18:42:52.330Z] $ docker top c27857b6f7f2711809f0ebcb680841ccd1fbe1a54eb5f026e60dcc8765d5a2f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T18:42:52.672Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1425 [Pipeline] fileExists [Pipeline] sh [2023-04-18T18:42:52.967Z] + make test [2023-04-18T18:42:52.967Z] go test -race -coverprofile=coverage.out ./... [2023-04-18T18:42:59.564Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-18T18:43:14.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-18T18:43:14.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-18T18:43:14.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-18T18:43:14.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-18T18:43:14.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-18T18:43:14.439Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-04-18T18:43:14.706Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.073s coverage: 80.2% of statements [2023-04-18T18:43:14.706Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-18T18:43:14.706Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-18T18:43:14.966Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements [2023-04-18T18:43:15.905Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-18T18:43:15.905Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-18T18:43:15.905Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 77.5% of statements [2023-04-18T18:43:15.905Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-18T18:43:15.905Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-18T18:43:16.842Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-18T18:43:18.754Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.062s coverage: 14.6% of statements [2023-04-18T18:43:18.754Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.073s coverage: 68.5% of statements [2023-04-18T18:43:18.754Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.112s coverage: 89.2% of statements [2023-04-18T18:43:18.754Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements [2023-04-18T18:43:36.832Z] GO111MODULE=on go vet ./... [2023-04-18T18:43:40.134Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T18:43:40.134Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T18:43:40.134Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T18:43:40.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T18:43:40.177Z] $ docker stop --time=1 c27857b6f7f2711809f0ebcb680841ccd1fbe1a54eb5f026e60dcc8765d5a2f7 [2023-04-18T18:43:43.132Z] $ docker rm -f --volumes c27857b6f7f2711809f0ebcb680841ccd1fbe1a54eb5f026e60dcc8765d5a2f7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T18:43:43.622Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T18:43:43.683Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T18:43:44.235Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T18:43:44.525Z] + ls -al . [2023-04-18T18:43:44.525Z] total 272 [2023-04-18T18:43:44.525Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 18:42 . [2023-04-18T18:43:44.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 18:41 .. [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 18:41 .dockerignore [2023-04-18T18:43:44.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 18:41 .git [2023-04-18T18:43:44.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 18:41 .github [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 18:41 .gitignore [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 18:41 .golangci.yml [2023-04-18T18:43:44.525Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 18:41 .semver [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 18:41 CHANGELOG.md [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 18:41 GOVERNANCE.md [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 18:41 Jenkinsfile [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 18:41 LICENSE [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 18:41 Makefile [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 18:41 OWNERS.md [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 18:41 README.md [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 18:41 VERSION [2023-04-18T18:43:44.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 18:41 bin [2023-04-18T18:43:44.525Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 18 18:43 coverage.out [2023-04-18T18:43:44.525Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 18:41 example [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 18:41 go.mod [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 18 18:41 go.sum [2023-04-18T18:43:44.525Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 18:41 internal [2023-04-18T18:43:44.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 18:41 openapi [2023-04-18T18:43:44.525Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 18:41 pkg [2023-04-18T18:43:44.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 18:41 snap [2023-04-18T18:43:44.525Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:43:44.830Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=75a3725b3d5e992eacdc0642f6d81df8f5d8b842 --label arch=amd64 --label version=0.0.0 . [2023-04-18T18:43:44.831Z] Sending build context to Docker daemon 11.1MB [2023-04-18T18:43:44.831Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T18:43:44.831Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-18T18:43:44.831Z] ---> 49aece68fa3b [2023-04-18T18:43:44.831Z] Step 3/23 : ARG MAKE=make build [2023-04-18T18:43:45.089Z] ---> Running in da77b43de244 [2023-04-18T18:43:45.090Z] Removing intermediate container da77b43de244 [2023-04-18T18:43:45.090Z] ---> 5395556ac0a5 [2023-04-18T18:43:45.090Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-18T18:43:45.090Z] ---> Running in 4e6600344dd2 [2023-04-18T18:43:45.090Z] Removing intermediate container 4e6600344dd2 [2023-04-18T18:43:45.090Z] ---> 64629cde74d2 [2023-04-18T18:43:45.090Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T18:43:45.090Z] ---> Running in 90afaaded5fa [2023-04-18T18:43:45.351Z] Removing intermediate container 90afaaded5fa [2023-04-18T18:43:45.351Z] ---> 89cae747c734 [2023-04-18T18:43:45.351Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-18T18:43:45.351Z] ---> Running in 5952661f75f4 [2023-04-18T18:43:45.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T18:43:45.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T18:43:45.835Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8965 in /w/workspace/gexfoundry_device-sdk-go_PR-1425 [Pipeline] { [Pipeline] ws [2023-04-18T18:43:45.849Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-04-18T18:43:45.867Z] OK: 265 MiB in 53 packages [2023-04-18T18:43:45.878Z] The recommended git tool is: git [2023-04-18T18:43:46.125Z] Removing intermediate container 5952661f75f4 [2023-04-18T18:43:46.125Z] ---> 25367a2a4979 [2023-04-18T18:43:46.125Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-18T18:43:46.125Z] ---> 0d74fb6d4f13 [2023-04-18T18:43:46.125Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T18:43:46.125Z] ---> Running in 4b47dca44ceb [2023-04-18T18:43:47.089Z] Removing intermediate container 4b47dca44ceb [2023-04-18T18:43:47.089Z] ---> 5fc3a21ffeeb [2023-04-18T18:43:47.089Z] Step 9/23 : COPY . . [2023-04-18T18:43:47.357Z] ---> b30ec5872a1d [2023-04-18T18:43:47.357Z] Step 10/23 : RUN ${MAKE} [2023-04-18T18:43:47.617Z] ---> Running in a761dd436638 [2023-04-18T18:43:47.877Z] 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-04-18T18:43:54.380Z] using credential edgex-jenkins-ssh [2023-04-18T18:43:54.397Z] Cloning the remote Git repository [2023-04-18T18:43:54.443Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T18:43:54.550Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-04-18T18:43:54.719Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T18:43:54.720Z] > git --version # timeout=10 [2023-04-18T18:43:54.741Z] > git --version # 'git version 2.25.1' [2023-04-18T18:43:54.744Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T18:43:54.896Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T18:43:56.485Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-18T18:43:56.504Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T18:43:57.956Z] Merging remotes/origin/main commit bf9c3392919180a8df7f2fb5f876c062118bfa6b into PR head commit bef7e6d0673e0e6a9cfa0b0abf49804674033489 [2023-04-18T18:43:57.344Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-18T18:43:57.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T18:43:57.383Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T18:43:57.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1425/head:refs/remotes/origin/PR-1425 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T18:43:57.974Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T18:43:58.040Z] > git checkout -f bef7e6d0673e0e6a9cfa0b0abf49804674033489 # timeout=10 [2023-04-18T18:43:58.144Z] > git remote # timeout=10 [2023-04-18T18:43:58.164Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T18:43:58.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T18:43:58.200Z] > git merge bf9c3392919180a8df7f2fb5f876c062118bfa6b # timeout=10 [2023-04-18T18:43:58.291Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T18:43:58.309Z] Merge succeeded, producing d0817d43130c08f8f67454a6ab5d8c098cddebf9 [2023-04-18T18:43:58.309Z] Checking out Revision d0817d43130c08f8f67454a6ab5d8c098cddebf9 (PR-1425) [2023-04-18T18:43:58.320Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T18:43:58.333Z] > git checkout -f d0817d43130c08f8f67454a6ab5d8c098cddebf9 # timeout=10 [2023-04-18T18:44:01.824Z] Commit message: "Merge commit 'bf9c3392919180a8df7f2fb5f876c062118bfa6b' into HEAD" [2023-04-18T18:44:01.833Z] > git rev-list --no-walk bef7e6d0673e0e6a9cfa0b0abf49804674033489 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T18:44:02.804Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T18:44:02.804Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T18:44:02.804Z] Dload Upload Total Spent Left Speed [2023-04-18T18:44:02.804Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh [2023-04-18T18:44:03.549Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T18:44:03.878Z] + sudo tee /etc/docker/daemon.new [2023-04-18T18:44:03.878Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T18:44:03.878Z] { [2023-04-18T18:44:03.878Z] "registry-mirrors": [ [2023-04-18T18:44:03.878Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T18:44:03.878Z] ], [2023-04-18T18:44:03.878Z] "bip": "10.250.0.254/24", [2023-04-18T18:44:03.878Z] "hosts": [ [2023-04-18T18:44:03.878Z] "tcp://0.0.0.0:5555", [2023-04-18T18:44:03.878Z] "unix:///var/run/docker.sock" [2023-04-18T18:44:03.878Z] ], [2023-04-18T18:44:03.878Z] "mtu": 1458, [2023-04-18T18:44:03.878Z] "selinux-enabled": true, [2023-04-18T18:44:03.878Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T18:44:03.878Z] } [Pipeline] sh [2023-04-18T18:44:04.203Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T18:44:04.560Z] + sudo service docker restart [2023-04-18T18:44:09.910Z] Removing intermediate container a761dd436638 [2023-04-18T18:44:09.910Z] ---> 96175113b34d [2023-04-18T18:44:09.910Z] Step 11/23 : FROM alpine:3.17 [2023-04-18T18:44:09.910Z] 3.17: Pulling from library/alpine [2023-04-18T18:44:09.910Z] f56be85fc22e: Pulling fs layer [2023-04-18T18:44:09.910Z] f56be85fc22e: Verifying Checksum [2023-04-18T18:44:09.910Z] f56be85fc22e: Download complete [2023-04-18T18:44:09.910Z] f56be85fc22e: Pull complete [2023-04-18T18:44:09.910Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T18:44:09.910Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T18:44:09.910Z] ---> 9ed4aefc74f6 [2023-04-18T18:44:09.911Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T18:44:09.911Z] ---> Running in 687f06133a31 [2023-04-18T18:44:09.911Z] Removing intermediate container 687f06133a31 [2023-04-18T18:44:09.911Z] ---> ef484f9603b0 [2023-04-18T18:44:09.911Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-18T18:44:09.911Z] ---> Running in 76a1ff46fd9a [2023-04-18T18:44:09.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T18:44:09.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T18:44:09.911Z] OK: 7 MiB in 15 packages [2023-04-18T18:44:09.911Z] Removing intermediate container 76a1ff46fd9a [2023-04-18T18:44:09.911Z] ---> cc09f260a161 [2023-04-18T18:44:09.911Z] Step 14/23 : WORKDIR / [2023-04-18T18:44:09.911Z] ---> Running in 58387899db39 [2023-04-18T18:44:09.911Z] Removing intermediate container 58387899db39 [2023-04-18T18:44:09.911Z] ---> 14f2eaeb9836 [2023-04-18T18:44:09.911Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-18T18:44:09.911Z] ---> dd51805399c3 [2023-04-18T18:44:09.911Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-18T18:44:10.169Z] ---> 509a3c4131b2 [2023-04-18T18:44:10.170Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-18T18:44:10.428Z] ---> ad14f9402084 [2023-04-18T18:44:10.428Z] Step 18/23 : EXPOSE 59999 [2023-04-18T18:44:10.428Z] ---> Running in ff52b48eb61b [2023-04-18T18:44:10.428Z] Removing intermediate container ff52b48eb61b [2023-04-18T18:44:10.428Z] ---> b2d98d033777 [2023-04-18T18:44:10.428Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-18T18:44:10.428Z] ---> Running in d69550e8bc38 [2023-04-18T18:44:10.687Z] Removing intermediate container d69550e8bc38 [2023-04-18T18:44:10.687Z] ---> 86e05b4a6a82 [2023-04-18T18:44:10.687Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T18:44:10.687Z] ---> Running in a24f11875980 [2023-04-18T18:44:10.687Z] Removing intermediate container a24f11875980 [2023-04-18T18:44:10.687Z] ---> 5c08e7177172 [2023-04-18T18:44:10.687Z] Step 21/23 : LABEL arch=amd64 [2023-04-18T18:44:10.687Z] ---> Running in 971eaa22b153 [2023-04-18T18:44:10.687Z] Removing intermediate container 971eaa22b153 [2023-04-18T18:44:10.687Z] ---> 3af0c88bd7ea [2023-04-18T18:44:10.687Z] Step 22/23 : LABEL git_sha=75a3725b3d5e992eacdc0642f6d81df8f5d8b842 [2023-04-18T18:44:10.687Z] ---> Running in 18ccfcb12fdf [2023-04-18T18:44:10.946Z] Removing intermediate container 18ccfcb12fdf [2023-04-18T18:44:10.946Z] ---> 77c9ec790f6e [2023-04-18T18:44:10.946Z] Step 23/23 : LABEL version=0.0.0 [2023-04-18T18:44:10.946Z] ---> Running in 354005f4b031 [2023-04-18T18:44:10.946Z] Removing intermediate container 354005f4b031 [2023-04-18T18:44:10.946Z] ---> 5f769d8e1a16 [2023-04-18T18:44:10.946Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T18:44:10.946Z] Successfully built 5f769d8e1a16 [2023-04-18T18:44:10.947Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:44:11.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T18:44:11.357Z] [2023-04-18T18:44:11.357Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:44:11.654Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T18:44:11.654Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T18:44:11.654Z] 5eb5b503b376: Pulling fs layer [2023-04-18T18:44:11.654Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T18:44:11.654Z] ec43610c2a17: Pulling fs layer [2023-04-18T18:44:11.654Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T18:44:11.654Z] 33b1e0a273af: Pulling fs layer [2023-04-18T18:44:11.654Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T18:44:11.654Z] 2f39f015ded8: Pulling fs layer [2023-04-18T18:44:11.654Z] 3a2ae6a8a46f: Waiting [2023-04-18T18:44:11.654Z] 33b1e0a273af: Waiting [2023-04-18T18:44:11.654Z] 5d3b04190fa2: Waiting [2023-04-18T18:44:11.654Z] 2f39f015ded8: Waiting [2023-04-18T18:44:11.654Z] 5c69ac0246d0: Download complete [2023-04-18T18:44:11.654Z] 3a2ae6a8a46f: Download complete [2023-04-18T18:44:11.654Z] 33b1e0a273af: Verifying Checksum [2023-04-18T18:44:11.654Z] 33b1e0a273af: Download complete [2023-04-18T18:44:11.654Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T18:44:11.654Z] 5d3b04190fa2: Download complete [2023-04-18T18:44:11.654Z] ec43610c2a17: Verifying Checksum [2023-04-18T18:44:11.654Z] ec43610c2a17: Download complete [2023-04-18T18:44:11.912Z] 5eb5b503b376: Verifying Checksum [2023-04-18T18:44:11.912Z] 5eb5b503b376: Download complete [2023-04-18T18:44:12.479Z] 2f39f015ded8: Download complete [2023-04-18T18:44:13.046Z] 5eb5b503b376: Pull complete [2023-04-18T18:44:13.046Z] 5c69ac0246d0: Pull complete [2023-04-18T18:44:13.611Z] ec43610c2a17: Pull complete [2023-04-18T18:44:13.611Z] 3a2ae6a8a46f: Pull complete [2023-04-18T18:44:13.868Z] 33b1e0a273af: Pull complete [2023-04-18T18:44:13.869Z] 5d3b04190fa2: Pull complete [2023-04-18T18:44:18.052Z] 2f39f015ded8: Pull complete [2023-04-18T18:44:18.052Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T18:44:18.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T18:44:18.052Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T18:44:18.138Z] prd-ubuntu20.04-docker-8c-8g-8964 does not seem to be running inside a container [2023-04-18T18:44:18.180Z] $ 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-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T18:44:22.526Z] $ docker top 937f7064b1945fd8b4cbfeb27add1eacb9fafb44bbe9ec3b47a1ac01a5c89daa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T18:44:22.815Z] provisioning config files... [2023-04-18T18:44:22.841Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6170601774361382728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:44:22.902Z] ---> job-cost.sh [2023-04-18T18:44:22.902Z] lf-activate-venv: SKIPPING [2023-04-18T18:44:22.902Z] INFO: No Stack... [2023-04-18T18:44:23.161Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T18:44:23.189Z] ---> docker-login.sh [2023-04-18T18:44:23.190Z] nexus3.edgexfoundry.org:10001 [2023-04-18T18:44:23.423Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T18:44:23.714Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives/cost.csv [2023-04-18T18:44:23.715Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T18:44:23.726Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1425-2-stack-cost] [2023-04-18T18:44:23.732Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-2-stack-cost] did not exist. Created. [2023-04-18T18:44:23.732Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1425-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T18:44:23.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:44:23.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:44:23.779Z] Configure a credential helper to remove this warning. See [2023-04-18T18:44:23.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:44:23.779Z] [2023-04-18T18:44:23.779Z] Login Succeeded [2023-04-18T18:44:23.779Z] nexus3.edgexfoundry.org:10002 [2023-04-18T18:44:24.034Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T18:44:24.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:44:24.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:44:24.049Z] Configure a credential helper to remove this warning. See [2023-04-18T18:44:24.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:44:24.049Z] [2023-04-18T18:44:24.049Z] Login Succeeded [2023-04-18T18:44:24.049Z] nexus3.edgexfoundry.org:10003 [2023-04-18T18:44:24.067Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T18:44:24.072Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T18:44:24.097Z] $ docker stop --time=1 937f7064b1945fd8b4cbfeb27add1eacb9fafb44bbe9ec3b47a1ac01a5c89daa [2023-04-18T18:44:24.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:44:24.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:44:24.591Z] Configure a credential helper to remove this warning. See [2023-04-18T18:44:24.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:44:24.591Z] [2023-04-18T18:44:24.591Z] Login Succeeded [2023-04-18T18:44:24.591Z] nexus3.edgexfoundry.org:10004 [2023-04-18T18:44:24.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:44:24.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:44:24.859Z] Configure a credential helper to remove this warning. See [2023-04-18T18:44:24.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:44:24.859Z] [2023-04-18T18:44:24.859Z] Login Succeeded [2023-04-18T18:44:24.859Z] docker.io [2023-04-18T18:44:25.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T18:44:25.254Z] $ docker rm -f --volumes 937f7064b1945fd8b4cbfeb27add1eacb9fafb44bbe9ec3b47a1ac01a5c89daa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T18:44:25.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T18:44:25.395Z] Configure a credential helper to remove this warning. See [2023-04-18T18:44:25.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T18:44:25.395Z] [2023-04-18T18:44:25.395Z] Login Succeeded [2023-04-18T18:44:25.395Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T18:44:25.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T18:44:25.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T18:44:25.685Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T18:44:25.695Z] ========================================================= [2023-04-18T18:44:25.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T18:44:25.695Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:44:26.051Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T18:44:26.321Z] Sending build context to Docker daemon 5.904MB [2023-04-18T18:44:26.591Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T18:44:26.591Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T18:44:26.591Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T18:44:26.591Z] af6eaf76a39c: Pulling fs layer [2023-04-18T18:44:26.591Z] 55522c791124: Pulling fs layer [2023-04-18T18:44:26.591Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T18:44:26.591Z] 169dfbe0d373: Pulling fs layer [2023-04-18T18:44:26.591Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T18:44:26.591Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T18:44:26.591Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T18:44:26.591Z] 169dfbe0d373: Waiting [2023-04-18T18:44:26.591Z] e1ff8fa3b103: Waiting [2023-04-18T18:44:26.591Z] 52ebb69f0ebf: Waiting [2023-04-18T18:44:26.591Z] 5abe8eddf0d5: Waiting [2023-04-18T18:44:26.591Z] 55522c791124: Verifying Checksum [2023-04-18T18:44:26.591Z] 169dfbe0d373: Verifying Checksum [2023-04-18T18:44:26.591Z] 169dfbe0d373: Download complete [2023-04-18T18:44:26.868Z] e1ff8fa3b103: Download complete [2023-04-18T18:44:26.868Z] af6eaf76a39c: Verifying Checksum [2023-04-18T18:44:27.844Z] af6eaf76a39c: Pull complete [2023-04-18T18:44:27.844Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T18:44:27.844Z] 5abe8eddf0d5: Download complete [2023-04-18T18:44:28.436Z] 55522c791124: Pull complete [2023-04-18T18:44:29.404Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T18:44:29.404Z] 52ebb69f0ebf: Download complete [2023-04-18T18:44:29.404Z] ce5c4a1c91eb: Download complete [2023-04-18T18:44:41.738Z] ce5c4a1c91eb: Pull complete [2023-04-18T18:44:41.738Z] 169dfbe0d373: Pull complete [2023-04-18T18:44:41.738Z] e1ff8fa3b103: Pull complete [2023-04-18T18:44:47.104Z] 52ebb69f0ebf: Pull complete [2023-04-18T18:44:49.078Z] 5abe8eddf0d5: Pull complete [2023-04-18T18:44:49.078Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T18:44:49.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T18:44:49.078Z] ---> 6cb57ee374ae [2023-04-18T18:44:49.078Z] Step 3/10 : ARG MAKE=make build [2023-04-18T18:44:50.502Z] ---> Running in fc7cdbd26c34 [2023-04-18T18:44:51.093Z] Removing intermediate container fc7cdbd26c34 [2023-04-18T18:44:51.093Z] ---> 814ddab4d41a [2023-04-18T18:44:51.093Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-18T18:44:51.093Z] ---> Running in 0d66a5ecee58 [2023-04-18T18:44:51.369Z] Removing intermediate container 0d66a5ecee58 [2023-04-18T18:44:51.369Z] ---> b2e4d874033c [2023-04-18T18:44:51.369Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T18:44:51.369Z] ---> Running in 3d1e2d1f60b6 [2023-04-18T18:44:51.640Z] Removing intermediate container 3d1e2d1f60b6 [2023-04-18T18:44:51.640Z] ---> 319e701a93ed [2023-04-18T18:44:51.640Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-18T18:44:51.640Z] ---> Running in 7bf70adaa0e7 [2023-04-18T18:44:53.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T18:44:53.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T18:44:54.736Z] OK: 263 MiB in 53 packages [2023-04-18T18:44:55.333Z] Removing intermediate container 7bf70adaa0e7 [2023-04-18T18:44:55.333Z] ---> 7baef4709889 [2023-04-18T18:44:55.333Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T18:44:55.602Z] ---> 3031bb532efe [2023-04-18T18:44:55.602Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T18:44:55.892Z] ---> Running in b2733219f7bb [2023-04-18T18:46:03.765Z] Removing intermediate container b2733219f7bb [2023-04-18T18:46:03.765Z] ---> e9a5babc4e0c [2023-04-18T18:46:03.765Z] Step 9/10 : COPY . . [2023-04-18T18:46:03.765Z] ---> 2be7e70adec6 [2023-04-18T18:46:03.765Z] Step 10/10 : RUN ${MAKE} [2023-04-18T18:46:03.765Z] ---> Running in 7d511aa693da [2023-04-18T18:46:03.765Z] noop [2023-04-18T18:46:03.765Z] Removing intermediate container 7d511aa693da [2023-04-18T18:46:03.765Z] ---> 7ea178892c60 [2023-04-18T18:46:03.765Z] Successfully built 7ea178892c60 [2023-04-18T18:46:03.765Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:46:04.132Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T18:46:04.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T18:46:04.339Z] prd-ubuntu20.04-docker-arm64-4c-16g-8965 does not seem to be running inside a container [2023-04-18T18:46:04.402Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2023-04-18T18:46:05.589Z] $ docker top 94f20f786baa21d1a6e899a74380d646ca2a6db401106419881bd978750555b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T18:46:06.431Z] + go version [2023-04-18T18:46:06.431Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T18:46:06.447Z] $ docker stop --time=1 94f20f786baa21d1a6e899a74380d646ca2a6db401106419881bd978750555b6 [2023-04-18T18:46:08.016Z] $ docker rm -f --volumes 94f20f786baa21d1a6e899a74380d646ca2a6db401106419881bd978750555b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:46:08.557Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T18:46:08.557Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T18:46:08.720Z] prd-ubuntu20.04-docker-arm64-4c-16g-8965 does not seem to be running inside a container [2023-04-18T18:46:08.777Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat [2023-04-18T18:46:09.807Z] $ docker top 66d2fed21e9c82965f2844e47e90ab6289c9258b2f479dd609fda71b0d7e835d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T18:46:10.288Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-04-18T18:46:10.615Z] + make test [2023-04-18T18:46:10.615Z] go test -race -coverprofile=coverage.out ./... [2023-04-18T18:46:49.488Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-18T18:48:41.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-18T18:48:41.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-18T18:48:41.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-18T18:48:41.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-18T18:48:41.177Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-18T18:48:49.391Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.252s coverage: 27.6% of statements [2023-04-18T18:48:51.346Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.263s coverage: 80.2% of statements [2023-04-18T18:48:59.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-18T18:48:59.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-18T18:49:00.136Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.350s coverage: 86.0% of statements [2023-04-18T18:49:05.474Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-18T18:49:05.474Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-18T18:49:05.474Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.425s coverage: 77.5% of statements [2023-04-18T18:49:08.051Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.262s coverage: 14.6% of statements [2023-04-18T18:49:09.465Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-18T18:49:09.465Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-18T18:49:09.734Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.433s coverage: 68.5% of statements [2023-04-18T18:49:12.336Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.438s coverage: 89.2% of statements [2023-04-18T18:49:14.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-18T18:49:14.282Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.242s coverage: 5.5% of statements [2023-04-18T18:49:15.242Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T18:49:15.242Z] GO111MODULE=on go vet ./... [2023-04-18T18:51:37.297Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T18:51:37.297Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T18:51:37.297Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T18:51:37.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T18:51:37.325Z] $ docker stop --time=1 66d2fed21e9c82965f2844e47e90ab6289c9258b2f479dd609fda71b0d7e835d [2023-04-18T18:51:42.408Z] $ docker rm -f --volumes 66d2fed21e9c82965f2844e47e90ab6289c9258b2f479dd609fda71b0d7e835d [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T18:51:43.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T18:51:44.026Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T18:51:44.578Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T18:51:44.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T18:51:45.273Z] + ls -al . [2023-04-18T18:51:45.273Z] total 268 [2023-04-18T18:51:45.273Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 18:46 . [2023-04-18T18:51:45.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 18:43 .. [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 18:43 .dockerignore [2023-04-18T18:51:45.273Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 18:43 .git [2023-04-18T18:51:45.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 18:43 .github [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 18:43 .gitignore [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 18:43 .golangci.yml [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 18:43 CHANGELOG.md [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 18:43 GOVERNANCE.md [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 18:43 Jenkinsfile [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 18:43 LICENSE [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 18:43 Makefile [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 18:43 OWNERS.md [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 18:43 README.md [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 18:41 VERSION [2023-04-18T18:51:45.273Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 18:43 bin [2023-04-18T18:51:45.273Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 18 18:49 coverage.out [2023-04-18T18:51:45.273Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 18:43 example [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 18:43 go.mod [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 18 18:43 go.sum [2023-04-18T18:51:45.273Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 18:43 internal [2023-04-18T18:51:45.273Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 18:43 openapi [2023-04-18T18:51:45.273Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 18:43 pkg [2023-04-18T18:51:45.273Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 18:43 snap [2023-04-18T18:51:45.273Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:51:45.608Z] + 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=d0817d43130c08f8f67454a6ab5d8c098cddebf9 --label arch=arm64 --label version=0.0.0 . [2023-04-18T18:51:45.877Z] Sending build context to Docker daemon 6.011MB [2023-04-18T18:51:46.147Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T18:51:46.147Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-18T18:51:46.147Z] ---> 7ea178892c60 [2023-04-18T18:51:46.147Z] Step 3/23 : ARG MAKE=make build [2023-04-18T18:51:46.147Z] ---> Running in a82a407cceac [2023-04-18T18:51:46.416Z] Removing intermediate container a82a407cceac [2023-04-18T18:51:46.416Z] ---> 6471af786431 [2023-04-18T18:51:46.416Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-18T18:51:46.692Z] ---> Running in 4208292fdb7f [2023-04-18T18:51:46.961Z] Removing intermediate container 4208292fdb7f [2023-04-18T18:51:46.961Z] ---> 450291315a63 [2023-04-18T18:51:46.961Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T18:51:46.961Z] ---> Running in 8aa7fa35cef3 [2023-04-18T18:51:47.229Z] Removing intermediate container 8aa7fa35cef3 [2023-04-18T18:51:47.229Z] ---> 9aa680e15c56 [2023-04-18T18:51:47.229Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-18T18:51:47.229Z] ---> Running in 616839065a7d [2023-04-18T18:51:48.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T18:51:48.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T18:51:49.751Z] OK: 263 MiB in 53 packages [2023-04-18T18:51:50.716Z] Removing intermediate container 616839065a7d [2023-04-18T18:51:50.716Z] ---> 2fba5e75982e [2023-04-18T18:51:50.716Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-18T18:51:50.985Z] ---> bbd6cfb71ce7 [2023-04-18T18:51:50.985Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T18:51:50.985Z] ---> Running in c58bc145b7d1 [2023-04-18T18:51:55.251Z] Removing intermediate container c58bc145b7d1 [2023-04-18T18:51:55.251Z] ---> d931e74caa7e [2023-04-18T18:51:55.251Z] Step 9/23 : COPY . . [2023-04-18T18:51:56.210Z] ---> a2727eb037d9 [2023-04-18T18:51:56.211Z] Step 10/23 : RUN ${MAKE} [2023-04-18T18:51:56.211Z] ---> Running in 86c592e3a305 [2023-04-18T18:51:57.175Z] 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-04-18T18:54:04.538Z] Removing intermediate container 86c592e3a305 [2023-04-18T18:54:04.539Z] ---> b6cd94530fdc [2023-04-18T18:54:04.539Z] Step 11/23 : FROM alpine:3.17 [2023-04-18T18:54:04.539Z] 3.17: Pulling from library/alpine [2023-04-18T18:54:04.539Z] c41833b44d91: Pulling fs layer [2023-04-18T18:54:04.539Z] c41833b44d91: Verifying Checksum [2023-04-18T18:54:04.539Z] c41833b44d91: Download complete [2023-04-18T18:54:04.539Z] c41833b44d91: Pull complete [2023-04-18T18:54:04.539Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T18:54:04.539Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T18:54:04.539Z] ---> 51e60588ff2c [2023-04-18T18:54:04.539Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T18:54:04.539Z] ---> Running in 42c119019fbb [2023-04-18T18:54:04.539Z] Removing intermediate container 42c119019fbb [2023-04-18T18:54:04.539Z] ---> 352fd190b733 [2023-04-18T18:54:04.539Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-18T18:54:04.539Z] ---> Running in aa45807b1b2d [2023-04-18T18:54:04.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T18:54:04.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T18:54:04.539Z] OK: 7 MiB in 15 packages [2023-04-18T18:54:04.539Z] Removing intermediate container aa45807b1b2d [2023-04-18T18:54:04.539Z] ---> 006effc93c7f [2023-04-18T18:54:04.539Z] Step 14/23 : WORKDIR / [2023-04-18T18:54:04.539Z] ---> Running in be42689ee643 [2023-04-18T18:54:04.539Z] Removing intermediate container be42689ee643 [2023-04-18T18:54:04.539Z] ---> 62daea6313ca [2023-04-18T18:54:04.539Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-18T18:54:04.539Z] ---> 403b3967ed58 [2023-04-18T18:54:04.539Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-18T18:54:04.539Z] ---> af903da6164c [2023-04-18T18:54:04.539Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-18T18:54:04.539Z] ---> 192b6af5ff7a [2023-04-18T18:54:04.539Z] Step 18/23 : EXPOSE 59999 [2023-04-18T18:54:04.539Z] ---> Running in c876b0cf4b3c [2023-04-18T18:54:04.805Z] Removing intermediate container c876b0cf4b3c [2023-04-18T18:54:04.805Z] ---> b2abbec62c22 [2023-04-18T18:54:04.805Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-18T18:54:05.072Z] ---> Running in 05dbaf74f128 [2023-04-18T18:54:05.072Z] Removing intermediate container 05dbaf74f128 [2023-04-18T18:54:05.072Z] ---> c581bc64f539 [2023-04-18T18:54:05.072Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T18:54:05.344Z] ---> Running in a620836439f2 [2023-04-18T18:54:05.610Z] Removing intermediate container a620836439f2 [2023-04-18T18:54:05.610Z] ---> b2ecbed62a32 [2023-04-18T18:54:05.610Z] Step 21/23 : LABEL arch=arm64 [2023-04-18T18:54:05.610Z] ---> Running in ab0415dbcf5f [2023-04-18T18:54:05.876Z] Removing intermediate container ab0415dbcf5f [2023-04-18T18:54:05.876Z] ---> 732423c03366 [2023-04-18T18:54:05.876Z] Step 22/23 : LABEL git_sha=d0817d43130c08f8f67454a6ab5d8c098cddebf9 [2023-04-18T18:54:05.876Z] ---> Running in 590bb4d0901e [2023-04-18T18:54:06.142Z] Removing intermediate container 590bb4d0901e [2023-04-18T18:54:06.142Z] ---> 199ac7d7f9be [2023-04-18T18:54:06.142Z] Step 23/23 : LABEL version=0.0.0 [2023-04-18T18:54:06.142Z] ---> Running in 44419dac7d32 [2023-04-18T18:54:06.406Z] Removing intermediate container 44419dac7d32 [2023-04-18T18:54:06.406Z] ---> 73ac57a6d1e2 [2023-04-18T18:54:06.406Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T18:54:06.406Z] Successfully built 73ac57a6d1e2 [2023-04-18T18:54:06.406Z] 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-04-18T18:54:06.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T18:54:06.841Z] [2023-04-18T18:54:06.841Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:54:07.167Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T18:54:07.167Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T18:54:07.167Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T18:54:07.167Z] 04944245beec: Pulling fs layer [2023-04-18T18:54:07.167Z] 699f458cf7ca: Pulling fs layer [2023-04-18T18:54:07.167Z] 765212b225bb: Pulling fs layer [2023-04-18T18:54:07.167Z] f23df028b6ca: Pulling fs layer [2023-04-18T18:54:07.167Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T18:54:07.167Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T18:54:07.167Z] 765212b225bb: Waiting [2023-04-18T18:54:07.167Z] f23df028b6ca: Waiting [2023-04-18T18:54:07.167Z] d65c8cfc05b1: Waiting [2023-04-18T18:54:07.167Z] 2437ff75d9bd: Waiting [2023-04-18T18:54:07.433Z] 04944245beec: Verifying Checksum [2023-04-18T18:54:07.433Z] 04944245beec: Download complete [2023-04-18T18:54:07.433Z] 765212b225bb: Verifying Checksum [2023-04-18T18:54:07.433Z] 765212b225bb: Download complete [2023-04-18T18:54:07.433Z] f23df028b6ca: Verifying Checksum [2023-04-18T18:54:07.433Z] f23df028b6ca: Download complete [2023-04-18T18:54:07.433Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T18:54:07.433Z] d65c8cfc05b1: Download complete [2023-04-18T18:54:07.433Z] 699f458cf7ca: Verifying Checksum [2023-04-18T18:54:07.433Z] 699f458cf7ca: Download complete [2023-04-18T18:54:08.017Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T18:54:08.017Z] 8998bd30e6a1: Download complete [2023-04-18T18:54:09.956Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T18:54:09.956Z] 2437ff75d9bd: Download complete [2023-04-18T18:54:11.368Z] 8998bd30e6a1: Pull complete [2023-04-18T18:54:11.634Z] 04944245beec: Pull complete [2023-04-18T18:54:13.041Z] 699f458cf7ca: Pull complete [2023-04-18T18:54:13.041Z] 765212b225bb: Pull complete [2023-04-18T18:54:13.622Z] f23df028b6ca: Pull complete [2023-04-18T18:54:13.887Z] d65c8cfc05b1: Pull complete [2023-04-18T18:54:26.188Z] 2437ff75d9bd: Pull complete [2023-04-18T18:54:26.188Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T18:54:26.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T18:54:26.188Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T18:54:26.353Z] prd-ubuntu20.04-docker-arm64-4c-16g-8965 does not seem to be running inside a container [2023-04-18T18:54:26.402Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T18:54:28.760Z] $ docker top f0dddabe119f5159eef72c79c96d9115adc0d8b0b93db2b8beb926997c5a459b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:54:29.272Z] ---> job-cost.sh [2023-04-18T18:54:29.537Z] lf-activate-venv: SKIPPING [2023-04-18T18:54:29.537Z] INFO: No Stack... [2023-04-18T18:54:29.802Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T18:54:30.760Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T18:54:31.088Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-04-18T18:54:31.088Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T18:54:31.408Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1425-2-stack-cost] [2023-04-18T18:54:31.415Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-2-stack-cost] did not exist. Created. [2023-04-18T18:54:31.415Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1425-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T18:54:31.751Z] /w/workspace/device-sdk-go/2@tmp/durable-257549db/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T18:54:32.086Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T18:54:32.381Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T18:54:32.435Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T18:54:32.443Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1425-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T18:54:32.457Z] $ docker stop --time=1 f0dddabe119f5159eef72c79c96d9115adc0d8b0b93db2b8beb926997c5a459b [2023-04-18T18:54:35.102Z] $ docker rm -f --volumes f0dddabe119f5159eef72c79c96d9115adc0d8b0b93db2b8beb926997c5a459b [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) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-18T18:54:35.572Z] provisioning config files... [2023-04-18T18:54:35.578Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config2416484112381666671tmp [Pipeline] { [Pipeline] sh [2023-04-18T18:54:35.871Z] + set +x [2023-04-18T18:54:35.871Z] + curl -s https://codecov.io/bash [2023-04-18T18:54:35.871Z] + bash -s -- [2023-04-18T18:54:35.871Z] [2023-04-18T18:54:35.871Z] _____ _ [2023-04-18T18:54:35.871Z] / ____| | | [2023-04-18T18:54:35.871Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T18:54:35.871Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T18:54:35.871Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T18:54:35.871Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T18:54:35.871Z] Bash-1.0.6 [2023-04-18T18:54:35.871Z] [2023-04-18T18:54:35.871Z] [2023-04-18T18:54:35.871Z] ==> git version 2.25.1 found [2023-04-18T18:54:35.871Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-18T18:54:35.871Z] Release-Date: 2020-01-08 [2023-04-18T18:54:35.871Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-18T18:54:35.871Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T18:54:35.871Z] ==> Jenkins CI detected. [2023-04-18T18:54:35.871Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1425 [2023-04-18T18:54:35.871Z] project root: . [2023-04-18T18:54:35.871Z] --> token set from env [2023-04-18T18:54:35.871Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T18:54:35.871Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T18:54:36.131Z] ==> Python coveragepy not found [2023-04-18T18:54:36.131Z] ==> Searching for coverage reports in: [2023-04-18T18:54:36.131Z] + . [2023-04-18T18:54:36.131Z] -> Found 1 reports [2023-04-18T18:54:36.131Z] ==> Detecting git/mercurial file structure [2023-04-18T18:54:36.131Z] ==> Reading reports [2023-04-18T18:54:36.131Z] + ./coverage.out bytes=106119 [2023-04-18T18:54:36.131Z] ==> Appending adjustments [2023-04-18T18:54:36.131Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T18:54:36.391Z] + Found adjustments [2023-04-18T18:54:36.391Z] ==> Gzipping contents [2023-04-18T18:54:36.391Z] 16K /tmp/codecov.hMcq7A.gz [2023-04-18T18:54:36.391Z] ==> Uploading reports [2023-04-18T18:54:36.391Z] url: https://codecov.io [2023-04-18T18:54:36.391Z] query: branch=PR-1425&commit=75a3725b3d5e992eacdc0642f6d81df8f5d8b842&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1425%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1425&job=&cmd_args= [2023-04-18T18:54:36.391Z] -> Pinging Codecov [2023-04-18T18:54:36.391Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1425&commit=75a3725b3d5e992eacdc0642f6d81df8f5d8b842&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1425%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1425&job=&cmd_args= [2023-04-18T18:54:36.650Z] -> Uploading to [2023-04-18T18:54:36.650Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/7E55EF52A471D76F132DFD9A03CDDE97/75a3725b3d5e992eacdc0642f6d81df8f5d8b842/d68b7c3d-7e40-4e4a-9c64-3e6f081957e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T185436Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0138beca95e099f6fdc4f77fbfd05cd2455d49180735e371c7e8a965a630c4e4 [2023-04-18T18:54:36.650Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T18:54:36.650Z] Dload Upload Total Spent Left Speed [2023-04-18T18:54:36.916Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14992 0 0 100 14992 0 67531 --:--:-- --:--:-- --:--:-- 67531 100 14992 0 0 100 14992 0 62728 --:--:-- --:--:-- --:--:-- 62466 [2023-04-18T18:54:36.916Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/75a3725b3d5e992eacdc0642f6d81df8f5d8b842 [Pipeline] } [2023-04-18T18:54:36.930Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-18T18:54:37.635Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives ] [2023-04-18T18:54:37.635Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives [2023-04-18T18:54:37.635Z] total 16 [2023-04-18T18:54:37.635Z] drwxr-xr-x 3 root root 4096 Apr 18 18:44 . [2023-04-18T18:54:37.635Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 18:44 .. [2023-04-18T18:54:37.635Z] drwxr-xr-x 2 root root 4096 Apr 18 18:44 cost [2023-04-18T18:54:37.635Z] -rw-r--r-- 1 root root 86 Apr 18 18:44 cost.csv [2023-04-18T18:54:37.635Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives [2023-04-18T18:54:37.635Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives [2023-04-18T18:54:37.635Z] total 16 [2023-04-18T18:54:37.635Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 18:44 . [2023-04-18T18:54:37.635Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 18:44 .. [2023-04-18T18:54:37.635Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 18:44 cost [2023-04-18T18:54:37.635Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 18 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:54:37.927Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:54:38.789Z] ---> package-listing.sh [2023-04-18T18:54:38.789Z] ++ facter osfamily [2023-04-18T18:54:38.789Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T18:54:39.050Z] + OS_FAMILY=debian [2023-04-18T18:54:39.050Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1425 [2023-04-18T18:54:39.050Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T18:54:39.050Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T18:54:39.050Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T18:54:39.050Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T18:54:39.050Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1425 ']' [2023-04-18T18:54:39.050Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T18:54:39.050Z] + case "${OS_FAMILY}" in [2023-04-18T18:54:39.050Z] + dpkg -l [2023-04-18T18:54:39.050Z] + grep '^ii' [2023-04-18T18:54:39.050Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T18:54:39.050Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T18:54:39.050Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T18:54:39.050Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1425 ']' [2023-04-18T18:54:39.050Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives/ [2023-04-18T18:54:39.050Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1425/archives/ [Pipeline] echo [2023-04-18T18:54:39.068Z] 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-1425/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T18:54:39.351Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T18:54:39.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T18:54:39.914Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T18:54:39.992Z] prd-ubuntu20.04-docker-8c-8g-8964 does not seem to be running inside a container [2023-04-18T18:54:40.029Z] $ 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-1425/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-1425 -v /w/workspace/gexfoundry_device-sdk-go_PR-1425:/w/workspace/gexfoundry_device-sdk-go_PR-1425:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T18:54:40.208Z] $ docker top 2be7b369603680c1ffef487c4965647f19d8fc7b6372ce939b213f0307c3f1a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T18:54:40.561Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T18:54:40.854Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T18:54:41.139Z] + ls /var/log/sa-host [2023-04-18T18:54:41.139Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T18:54:41.215Z] provisioning config files... [2023-04-18T18:54:41.223Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1425@tmp/config10140361837661903436tmp [Pipeline] { [Pipeline] echo [2023-04-18T18:54:41.240Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:54:41.524Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T18:54:41.531Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:54:41.943Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T18:54:41.953Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:54:42.240Z] ---> sudo-logs.sh [2023-04-18T18:54:42.240Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T18:54:42.269Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:54:42.553Z] ---> job-cost.sh [2023-04-18T18:54:42.553Z] lf-activate-venv: SKIPPING [2023-04-18T18:54:42.553Z] DEBUG: total: 0.2199999988079071 [2023-04-18T18:54:42.553Z] INFO: Retrieving Stack Cost... [2023-04-18T18:54:43.122Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T18:54:43.382Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T18:54:43.394Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T18:54:43.679Z] ---> logs-deploy.sh [2023-04-18T18:54:43.679Z] lf-activate-venv: SKIPPING [2023-04-18T18:54:43.679Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1425/2 [2023-04-18T18:54:43.679Z] INFO: archiving workspace using pattern(s): [2023-04-18T18:54:44.614Z] Archives upload complete. [2023-04-18T18:54:44.614Z] INFO: archiving logs to Nexus