Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 6846a58e9a18fc50eb2597edee49cc2f283037fd rather than 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 Obtained Jenkinsfile from 6846a58e9a18fc50eb2597edee49cc2f283037fd 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-ssh17570701015042012595.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh11960718334920041721.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1391/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-1391/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5034150252985404564.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh9749859422864429141.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-1391/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-1391/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4525767973406515928.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5727’ Running on prd-ubuntu20.04-docker-8c-8g-5729 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [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-1391 # 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/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6846a58e9a18fc50eb2597edee49cc2f283037fd into PR head commit 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 Merge succeeded, producing 30a63f192906ff71e91ef6e58069631882d35d31 Checking out Revision 30a63f192906ff71e91ef6e58069631882d35d31 (PR-1391) > git config core.sparsecheckout # timeout=10 > git checkout -f 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 # 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 6846a58e9a18fc50eb2597edee49cc2f283037fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 30a63f192906ff71e91ef6e58069631882d35d31 # timeout=10 Commit message: "Merge commit '6846a58e9a18fc50eb2597edee49cc2f283037fd' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk e8be04f574ca2f1e554ffc10ee283ec1ed0f00a2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-24T18:43:29.974Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-24T18:43:30.033Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-24T18:43:30.048Z] ========================================================= [2023-03-24T18:43:30.048Z] EdgeX Global Pipelines Version Info [2023-03-24T18:43:30.048Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:43:30.787Z] ------------------- [2023-03-24T18:43:30.787Z] stable info: [2023-03-24T18:43:30.787Z] ------------------- [2023-03-24T18:43:30.787Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-24T18:43:30.787Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-24T18:43:30.787Z] Message: update stable to v1.0.245 [2023-03-24T18:43:31.357Z] ------------------- [2023-03-24T18:43:31.357Z] experimental info: [2023-03-24T18:43:31.357Z] ------------------- [2023-03-24T18:43:31.357Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-24T18:43:31.357Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-24T18:43:31.357Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-24T18:43:31.532Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-24T18:43:31.542Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-24T18:43:31.551Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-24T18:43:31.560Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-24T18:43:31.568Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-24T18:43:31.578Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-24T18:43:31.594Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-24T18:43:31.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-24T18:43:31.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-24T18:43:31.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-24T18:43:31.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-24T18:43:31.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-24T18:43:31.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-24T18:43:31.674Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-24T18:43:31.685Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-24T18:43:31.693Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T18:43:31.701Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T18:43:31.710Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-24T18:43:31.726Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-24T18:43:31.744Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-24T18:43:31.762Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-24T18:43:31.781Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-24T18:43:31.794Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-24T18:43:31.808Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-24T18:43:31.824Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-24T18:43:31.837Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-24T18:43:31.855Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-24T18:43:31.865Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1391 [Pipeline] echo [2023-03-24T18:43:31.877Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1391 [Pipeline] echo [2023-03-24T18:43:31.893Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1391 [Pipeline] echo [2023-03-24T18:43:31.911Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30a63f192906ff71e91ef6e58069631882d35d31 [Pipeline] echo [2023-03-24T18:43:31.929Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30a63f1 [Pipeline] echo [2023-03-24T18:43:31.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T18:43:32.000Z] provisioning config files... [2023-03-24T18:43:32.019Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config2670760688237255099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:43:32.319Z] ---> docker-login.sh [2023-03-24T18:43:32.319Z] nexus3.edgexfoundry.org:10001 [2023-03-24T18:43:32.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:43:32.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:43:32.846Z] Configure a credential helper to remove this warning. See [2023-03-24T18:43:32.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:43:32.846Z] [2023-03-24T18:43:32.846Z] Login Succeeded [2023-03-24T18:43:32.846Z] nexus3.edgexfoundry.org:10002 [2023-03-24T18:43:32.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:43:32.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:43:32.846Z] Configure a credential helper to remove this warning. See [2023-03-24T18:43:32.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:43:32.846Z] [2023-03-24T18:43:32.846Z] Login Succeeded [2023-03-24T18:43:32.846Z] nexus3.edgexfoundry.org:10003 [2023-03-24T18:43:32.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:43:33.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:43:33.107Z] Configure a credential helper to remove this warning. See [2023-03-24T18:43:33.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:43:33.107Z] [2023-03-24T18:43:33.107Z] Login Succeeded [2023-03-24T18:43:33.107Z] nexus3.edgexfoundry.org:10004 [2023-03-24T18:43:33.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:43:33.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:43:33.107Z] Configure a credential helper to remove this warning. See [2023-03-24T18:43:33.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:43:33.107Z] [2023-03-24T18:43:33.107Z] Login Succeeded [2023-03-24T18:43:33.107Z] docker.io [2023-03-24T18:43:33.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:43:33.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:43:33.366Z] Configure a credential helper to remove this warning. See [2023-03-24T18:43:33.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:43:33.366Z] [2023-03-24T18:43:33.366Z] Login Succeeded [2023-03-24T18:43:33.366Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T18:43:33.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-24T18:43:33.758Z] + git rev-list -1 --merges 30a63f192906ff71e91ef6e58069631882d35d31~1..30a63f192906ff71e91ef6e58069631882d35d31 [Pipeline] echo [2023-03-24T18:43:33.807Z] -----------> git rev-list -1 --merges 30a63f192906ff71e91ef6e58069631882d35d31~1..30a63f192906ff71e91ef6e58069631882d35d31 30a63f192906ff71e91ef6e58069631882d35d31 [2023-03-24T18:43:33.807Z] 30a63f192906ff71e91ef6e58069631882d35d31 [false] [Pipeline] sh [2023-03-24T18:43:34.108Z] + git log --format=format:%s -1 30a63f192906ff71e91ef6e58069631882d35d31 [Pipeline] echo [2023-03-24T18:43:34.128Z] ========================================================= [2023-03-24T18:43:34.128Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-24T18:43:34.128Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T18:43:34.457Z] + git log --format=format:%s -1 30a63f192906ff71e91ef6e58069631882d35d31 [Pipeline] echo [2023-03-24T18:43:34.471Z] [semverPrep] GIT_COMMIT: 30a63f192906ff71e91ef6e58069631882d35d31, Commit Message: Merge commit '6846a58e9a18fc50eb2597edee49cc2f283037fd' into HEAD [Pipeline] echo [2023-03-24T18:43:34.480Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-24T18:43:34.868Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-24T18:43:34.869Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-24T18:43:34.869Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-24T18:43:34.869Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-24T18:43:34.869Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-24T18:43:34.869Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-24T18:43:34.869Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:43:35.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T18:43:35.294Z] [2023-03-24T18:43:35.294Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:43:35.596Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T18:43:35.596Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-24T18:43:35.596Z] b85a868b505f: Pulling fs layer [2023-03-24T18:43:35.596Z] e2be974225ed: Pulling fs layer [2023-03-24T18:43:35.596Z] 339a4e72a1f5: Pulling fs layer [2023-03-24T18:43:35.596Z] 988bab9f4d93: Pulling fs layer [2023-03-24T18:43:35.596Z] 1469e6f7b9e6: Pulling fs layer [2023-03-24T18:43:35.596Z] eaf3925da568: Pulling fs layer [2023-03-24T18:43:35.596Z] bab4dde63d76: Pulling fs layer [2023-03-24T18:43:35.596Z] bde34c3a00c8: Pulling fs layer [2023-03-24T18:43:35.596Z] b352a97aabf1: Pulling fs layer [2023-03-24T18:43:35.596Z] 4872d77fe225: Pulling fs layer [2023-03-24T18:43:35.596Z] 5851b861e8e6: Pulling fs layer [2023-03-24T18:43:35.596Z] bde34c3a00c8: Waiting [2023-03-24T18:43:35.596Z] 1469e6f7b9e6: Waiting [2023-03-24T18:43:35.596Z] b352a97aabf1: Waiting [2023-03-24T18:43:35.596Z] 4872d77fe225: Waiting [2023-03-24T18:43:35.596Z] eaf3925da568: Waiting [2023-03-24T18:43:35.596Z] bab4dde63d76: Waiting [2023-03-24T18:43:35.596Z] 5851b861e8e6: Waiting [2023-03-24T18:43:35.596Z] 988bab9f4d93: Waiting [2023-03-24T18:43:35.596Z] e2be974225ed: Verifying Checksum [2023-03-24T18:43:35.596Z] e2be974225ed: Download complete [2023-03-24T18:43:35.596Z] 988bab9f4d93: Verifying Checksum [2023-03-24T18:43:35.596Z] 988bab9f4d93: Download complete [2023-03-24T18:43:35.858Z] 1469e6f7b9e6: Verifying Checksum [2023-03-24T18:43:35.858Z] 1469e6f7b9e6: Download complete [2023-03-24T18:43:35.858Z] 339a4e72a1f5: Verifying Checksum [2023-03-24T18:43:35.858Z] 339a4e72a1f5: Download complete [2023-03-24T18:43:35.858Z] eaf3925da568: Download complete [2023-03-24T18:43:35.858Z] bde34c3a00c8: Verifying Checksum [2023-03-24T18:43:35.858Z] bde34c3a00c8: Download complete [2023-03-24T18:43:35.858Z] b352a97aabf1: Verifying Checksum [2023-03-24T18:43:35.858Z] 4872d77fe225: Verifying Checksum [2023-03-24T18:43:35.858Z] 4872d77fe225: Download complete [2023-03-24T18:43:35.858Z] 5851b861e8e6: Verifying Checksum [2023-03-24T18:43:35.858Z] 5851b861e8e6: Download complete [2023-03-24T18:43:35.858Z] b85a868b505f: Verifying Checksum [2023-03-24T18:43:35.858Z] b85a868b505f: Download complete [2023-03-24T18:43:36.117Z] bab4dde63d76: Verifying Checksum [2023-03-24T18:43:36.117Z] bab4dde63d76: Download complete [2023-03-24T18:43:37.499Z] b85a868b505f: Pull complete [2023-03-24T18:43:37.499Z] e2be974225ed: Pull complete [2023-03-24T18:43:38.071Z] 339a4e72a1f5: Pull complete [2023-03-24T18:43:38.641Z] 988bab9f4d93: Pull complete [2023-03-24T18:43:38.901Z] 1469e6f7b9e6: Pull complete [2023-03-24T18:43:38.901Z] eaf3925da568: Pull complete [2023-03-24T18:43:40.802Z] bab4dde63d76: Pull complete [2023-03-24T18:43:40.802Z] bde34c3a00c8: Pull complete [2023-03-24T18:43:41.061Z] b352a97aabf1: Pull complete [2023-03-24T18:43:41.061Z] 4872d77fe225: Pull complete [2023-03-24T18:43:41.061Z] 5851b861e8e6: Pull complete [2023-03-24T18:43:41.061Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-24T18:43:41.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-24T18:43:41.061Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:43:41.169Z] prd-ubuntu20.04-docker-8c-8g-5729 does not seem to be running inside a container [2023-03-24T18:43:41.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-24T18:43:45.430Z] $ docker top 60f0744810b1ce78b76dcd04d015b533e27f250e9ad1a182d2ed41b21370dda7 -eo pid,comm [2023-03-24T18:43:45.560Z] 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-03-24T18:43:45.560Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-24T18:43:45.601Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T18:43:45.601Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T18:43:45.759Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T18:43:45.765Z] $ docker exec 60f0744810b1ce78b76dcd04d015b533e27f250e9ad1a182d2ed41b21370dda7 ssh-agent [2023-03-24T18:43:45.885Z] SSH_AUTH_SOCK=/tmp/ssh-yUL1K9U5OJjm/agent.21 [2023-03-24T18:43:45.885Z] SSH_AGENT_PID=27 [2023-03-24T18:43:45.891Z] Running ssh-add (command line suppressed) [2023-03-24T18:43:45.996Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_3584004591959052346.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_3584004591959052346.key) [2023-03-24T18:43:46.006Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T18:43:46.294Z] + git tag --points-at HEAD [Pipeline] } [2023-03-24T18:43:46.321Z] $ docker exec --env ******** --env ******** 60f0744810b1ce78b76dcd04d015b533e27f250e9ad1a182d2ed41b21370dda7 ssh-agent -k [2023-03-24T18:43:46.420Z] unset SSH_AUTH_SOCK; [2023-03-24T18:43:46.421Z] unset SSH_AGENT_PID; [2023-03-24T18:43:46.421Z] echo Agent pid 27 killed; [2023-03-24T18:43:46.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-24T18:43:46.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-24T18:43:46.454Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-24T18:43:46.575Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-24T18:43:46.581Z] $ docker exec 60f0744810b1ce78b76dcd04d015b533e27f250e9ad1a182d2ed41b21370dda7 ssh-agent [2023-03-24T18:43:46.691Z] SSH_AUTH_SOCK=/tmp/ssh-agjDY3Q9Qv8q/agent.70 [2023-03-24T18:43:46.691Z] SSH_AGENT_PID=76 [2023-03-24T18:43:46.696Z] Running ssh-add (command line suppressed) [2023-03-24T18:43:46.815Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_8024000837049349704.key (/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/private_key_8024000837049349704.key) [2023-03-24T18:43:46.827Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-24T18:43:47.116Z] + git semver init [2023-03-24T18:43:47.375Z] 2023-03-24 18:43:47,315 [run_init] DEBUG init version:0.0.0 force:False [2023-03-24T18:43:47.375Z] 2023-03-24 18:43:47,316 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-24T18:43:47.375Z] 2023-03-24 18:43:47,316 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver [2023-03-24T18:43:47.375Z] 2023-03-24 18:43:47,317 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391, universal_newlines=False, shell=None, istream=None) [2023-03-24T18:43:48.317Z] 2023-03-24 18:43:48,253 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.git/info/exclude [2023-03-24T18:43:48.317Z] 2023-03-24 18:43:48,254 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 with force:False [2023-03-24T18:43:48.317Z] 2023-03-24 18:43:48,254 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-24T18:43:48.317Z] 2023-03-24 18:43:48,258 [execute] INFO git cat-file --batch-check [2023-03-24T18:43:48.317Z] 2023-03-24 18:43:48,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T18:43:48.317Z] 2023-03-24 18:43:48,263 [execute] INFO git cat-file --batch [2023-03-24T18:43:48.317Z] 2023-03-24 18:43:48,264 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver, universal_newlines=False, shell=None, istream=) [2023-03-24T18:43:48.317Z] 2023-03-24 18:43:48,268 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1391/.semver/PR-1391 [2023-03-24T18:43:48.317Z] 0.0.0 [Pipeline] } [2023-03-24T18:43:48.330Z] $ docker exec --env ******** --env ******** 60f0744810b1ce78b76dcd04d015b533e27f250e9ad1a182d2ed41b21370dda7 ssh-agent -k [2023-03-24T18:43:48.436Z] unset SSH_AUTH_SOCK; [2023-03-24T18:43:48.436Z] unset SSH_AGENT_PID; [2023-03-24T18:43:48.437Z] echo Agent pid 76 killed; [2023-03-24T18:43:48.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-24T18:43:48.750Z] + git semver [Pipeline] } [2023-03-24T18:43:49.024Z] $ docker stop --time=1 60f0744810b1ce78b76dcd04d015b533e27f250e9ad1a182d2ed41b21370dda7 [2023-03-24T18:43:50.768Z] $ docker rm -f --volumes 60f0744810b1ce78b76dcd04d015b533e27f250e9ad1a182d2ed41b21370dda7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T18:43:51.194Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-24T18:43:51.428Z] Stashed 1 file(s) [Pipeline] echo [2023-03-24T18:43:51.431Z] [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-03-24T18:43:51.582Z] provisioning config files... [2023-03-24T18:43:51.592Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config5270483430215500962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:43:51.888Z] ---> docker-login.sh [2023-03-24T18:43:51.888Z] nexus3.edgexfoundry.org:10001 [2023-03-24T18:43:51.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:43:51.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:43:51.888Z] Configure a credential helper to remove this warning. See [2023-03-24T18:43:51.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:43:51.888Z] [2023-03-24T18:43:51.888Z] Login Succeeded [2023-03-24T18:43:51.888Z] nexus3.edgexfoundry.org:10002 [2023-03-24T18:43:51.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:43:51.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:43:51.888Z] Configure a credential helper to remove this warning. See [2023-03-24T18:43:51.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:43:51.888Z] [2023-03-24T18:43:51.888Z] Login Succeeded [2023-03-24T18:43:51.888Z] nexus3.edgexfoundry.org:10003 [2023-03-24T18:43:52.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:43:52.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:43:52.147Z] Configure a credential helper to remove this warning. See [2023-03-24T18:43:52.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:43:52.147Z] [2023-03-24T18:43:52.147Z] Login Succeeded [2023-03-24T18:43:52.147Z] nexus3.edgexfoundry.org:10004 [2023-03-24T18:43:52.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:43:52.147Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:43:52.147Z] Configure a credential helper to remove this warning. See [2023-03-24T18:43:52.147Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:43:52.147Z] [2023-03-24T18:43:52.147Z] Login Succeeded [2023-03-24T18:43:52.147Z] docker.io [2023-03-24T18:43:52.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:43:52.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:43:52.407Z] Configure a credential helper to remove this warning. See [2023-03-24T18:43:52.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:43:52.407Z] [2023-03-24T18:43:52.407Z] Login Succeeded [2023-03-24T18:43:52.407Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T18:43:52.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T18:43:52.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T18:43:52.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T18:43:52.487Z] ========================================================= [2023-03-24T18:43:52.487Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-24T18:43:52.487Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:43:52.788Z] + 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-03-24T18:43:52.788Z] Sending build context to Docker daemon 10.92MB [2023-03-24T18:43:52.788Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T18:43:52.788Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-24T18:43:53.049Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-24T18:43:53.049Z] 63b65145d645: Pulling fs layer [2023-03-24T18:43:53.049Z] a2d21d5440eb: Pulling fs layer [2023-03-24T18:43:53.049Z] 935e6c44a52c: Pulling fs layer [2023-03-24T18:43:53.049Z] 94cc34f8dd06: Pulling fs layer [2023-03-24T18:43:53.049Z] 30dea6a524f1: Pulling fs layer [2023-03-24T18:43:53.049Z] a2aff8979fd8: Pulling fs layer [2023-03-24T18:43:53.049Z] 6808be2612f2: Pulling fs layer [2023-03-24T18:43:53.049Z] f25807f1079a: Pulling fs layer [2023-03-24T18:43:53.049Z] 94cc34f8dd06: Waiting [2023-03-24T18:43:53.049Z] 30dea6a524f1: Waiting [2023-03-24T18:43:53.049Z] a2aff8979fd8: Waiting [2023-03-24T18:43:53.049Z] 6808be2612f2: Waiting [2023-03-24T18:43:53.049Z] f25807f1079a: Waiting [2023-03-24T18:43:53.049Z] a2d21d5440eb: Verifying Checksum [2023-03-24T18:43:53.049Z] a2d21d5440eb: Download complete [2023-03-24T18:43:53.049Z] 94cc34f8dd06: Verifying Checksum [2023-03-24T18:43:53.049Z] 94cc34f8dd06: Download complete [2023-03-24T18:43:53.049Z] 30dea6a524f1: Verifying Checksum [2023-03-24T18:43:53.049Z] 30dea6a524f1: Download complete [2023-03-24T18:43:53.049Z] 63b65145d645: Verifying Checksum [2023-03-24T18:43:53.049Z] 63b65145d645: Download complete [2023-03-24T18:43:53.049Z] a2aff8979fd8: Verifying Checksum [2023-03-24T18:43:53.049Z] a2aff8979fd8: Download complete [2023-03-24T18:43:53.315Z] 63b65145d645: Pull complete [2023-03-24T18:43:53.315Z] a2d21d5440eb: Pull complete [2023-03-24T18:43:53.577Z] f25807f1079a: Verifying Checksum [2023-03-24T18:43:53.577Z] f25807f1079a: Download complete [2023-03-24T18:43:53.835Z] 935e6c44a52c: Download complete [2023-03-24T18:43:53.835Z] 6808be2612f2: Verifying Checksum [2023-03-24T18:43:53.835Z] 6808be2612f2: Download complete [2023-03-24T18:43:58.025Z] 935e6c44a52c: Pull complete [2023-03-24T18:43:58.025Z] 94cc34f8dd06: Pull complete [2023-03-24T18:43:58.025Z] 30dea6a524f1: Pull complete [2023-03-24T18:43:58.025Z] a2aff8979fd8: Pull complete [2023-03-24T18:44:00.555Z] 6808be2612f2: Pull complete [2023-03-24T18:44:00.814Z] f25807f1079a: Pull complete [2023-03-24T18:44:01.073Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-24T18:44:01.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-24T18:44:01.074Z] ---> 3b553350e43f [2023-03-24T18:44:01.074Z] Step 3/10 : ARG MAKE=make build [2023-03-24T18:44:06.538Z] Still waiting to schedule task [2023-03-24T18:44:06.538Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5728’ [2023-03-24T18:44:09.300Z] ---> Running in 0b8b6319037d [2023-03-24T18:44:09.300Z] Removing intermediate container 0b8b6319037d [2023-03-24T18:44:09.300Z] ---> 7beec6b849a5 [2023-03-24T18:44:09.300Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-24T18:44:09.300Z] ---> Running in 227373e53906 [2023-03-24T18:44:09.300Z] Removing intermediate container 227373e53906 [2023-03-24T18:44:09.300Z] ---> 77170d58f434 [2023-03-24T18:44:09.300Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-24T18:44:09.300Z] ---> Running in 89b0ea53b991 [2023-03-24T18:44:09.300Z] Removing intermediate container 89b0ea53b991 [2023-03-24T18:44:09.300Z] ---> d44794dbe129 [2023-03-24T18:44:09.300Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-24T18:44:09.300Z] ---> Running in aba9aba515f3 [2023-03-24T18:44:09.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T18:44:09.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T18:44:09.300Z] OK: 265 MiB in 53 packages [2023-03-24T18:44:09.560Z] Removing intermediate container aba9aba515f3 [2023-03-24T18:44:09.560Z] ---> 97cc945aefc5 [2023-03-24T18:44:09.560Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-24T18:44:09.818Z] ---> 905ec0824429 [2023-03-24T18:44:09.818Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T18:44:09.818Z] ---> Running in afa6a80464a9 [2023-03-24T18:44:41.894Z] Removing intermediate container afa6a80464a9 [2023-03-24T18:44:41.894Z] ---> 23241e1bcc95 [2023-03-24T18:44:41.894Z] Step 9/10 : COPY . . [2023-03-24T18:44:41.894Z] ---> 3a212b7ba2c6 [2023-03-24T18:44:41.894Z] Step 10/10 : RUN ${MAKE} [2023-03-24T18:44:41.894Z] ---> Running in d7cd73087b28 [2023-03-24T18:44:41.894Z] noop [2023-03-24T18:44:41.894Z] Removing intermediate container d7cd73087b28 [2023-03-24T18:44:41.894Z] ---> fc7ac4606de7 [2023-03-24T18:44:41.894Z] Successfully built fc7ac4606de7 [2023-03-24T18:44:41.894Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:44:42.194Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T18:44:42.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:44:42.262Z] prd-ubuntu20.04-docker-8c-8g-5729 does not seem to be running inside a container [2023-03-24T18:44:42.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-24T18:44:42.607Z] $ docker top 62d78fdeb9885cdc5641509af66b11bf00f6bd05cd44f7d6da717814e2ddc2e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T18:44:42.945Z] + go version [2023-03-24T18:44:42.945Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-24T18:44:42.959Z] $ docker stop --time=1 62d78fdeb9885cdc5641509af66b11bf00f6bd05cd44f7d6da717814e2ddc2e9 [2023-03-24T18:44:44.228Z] $ docker rm -f --volumes 62d78fdeb9885cdc5641509af66b11bf00f6bd05cd44f7d6da717814e2ddc2e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:44:44.597Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-24T18:44:44.598Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:44:44.660Z] prd-ubuntu20.04-docker-8c-8g-5729 does not seem to be running inside a container [2023-03-24T18:44:44.692Z] $ 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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-24T18:44:45.002Z] $ docker top d758e5b68c1760306c2e68a58bbc900c93d34d41f409702c0864ea76c364296a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T18:44:45.339Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] fileExists [Pipeline] sh [2023-03-24T18:44:45.631Z] + make test [2023-03-24T18:44:45.631Z] go test -race -coverprofile=coverage.out ./... [2023-03-24T18:44:52.198Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-24T18:45:07.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-24T18:45:07.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-24T18:45:07.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-24T18:45:07.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-24T18:45:07.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-24T18:45:07.063Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.059s coverage: 27.6% of statements [2023-03-24T18:45:07.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-24T18:45:07.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-24T18:45:07.063Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 78.9% of statements [2023-03-24T18:45:07.063Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.076s coverage: 86.0% of statements [2023-03-24T18:45:08.005Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-24T18:45:08.005Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.091s coverage: 77.6% of statements [2023-03-24T18:45:08.005Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-24T18:45:08.265Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-24T18:45:08.265Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-24T18:45:08.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-24T18:45:11.369Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.061s coverage: 14.9% of statements [2023-03-24T18:45:11.369Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.075s coverage: 68.5% of statements [2023-03-24T18:45:11.369Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.129s coverage: 89.2% of statements [2023-03-24T18:45:11.369Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.6% of statements [2023-03-24T18:45:33.291Z] GO111MODULE=on go vet ./... [2023-03-24T18:45:33.556Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-24T18:45:33.556Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-24T18:45:33.556Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-24T18:45:33.829Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-24T18:45:33.855Z] $ docker stop --time=1 d758e5b68c1760306c2e68a58bbc900c93d34d41f409702c0864ea76c364296a [2023-03-24T18:45:37.149Z] $ docker rm -f --volumes d758e5b68c1760306c2e68a58bbc900c93d34d41f409702c0864ea76c364296a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T18:45:37.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-24T18:45:37.776Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-24T18:45:38.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-24T18:45:38.565Z] + ls -al . [2023-03-24T18:45:38.565Z] total 272 [2023-03-24T18:45:38.565Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 24 18:44 . [2023-03-24T18:45:38.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 18:43 .. [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 18:43 .dockerignore [2023-03-24T18:45:38.565Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 18:43 .git [2023-03-24T18:45:38.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 18:43 .github [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 24 18:43 .gitignore [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 24 18:43 .golangci.yml [2023-03-24T18:45:38.565Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 18:43 .semver [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 24 18:43 CHANGELOG.md [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 18:43 GOVERNANCE.md [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 24 18:43 Jenkinsfile [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 24 18:43 LICENSE [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 24 18:43 Makefile [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 24 18:43 OWNERS.md [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 24 18:43 README.md [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 18:43 VERSION [2023-03-24T18:45:38.565Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 18:43 bin [2023-03-24T18:45:38.565Z] -rw-r--r-- 1 jenkins jenkins 104886 Mar 24 18:45 coverage.out [2023-03-24T18:45:38.565Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 24 18:43 example [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 24 18:43 go.mod [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 24 18:43 go.sum [2023-03-24T18:45:38.565Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 18:43 internal [2023-03-24T18:45:38.565Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 18:43 openapi [2023-03-24T18:45:38.565Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 24 18:43 pkg [2023-03-24T18:45:38.565Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 18:43 snap [2023-03-24T18:45:38.565Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 24 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:45:38.868Z] + 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=30a63f192906ff71e91ef6e58069631882d35d31 --label arch=amd64 --label version=0.0.0 . [2023-03-24T18:45:38.869Z] Sending build context to Docker daemon 11.03MB [2023-03-24T18:45:38.869Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T18:45:38.869Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-24T18:45:38.869Z] ---> fc7ac4606de7 [2023-03-24T18:45:38.869Z] Step 3/23 : ARG MAKE=make build [2023-03-24T18:45:41.654Z] ---> Running in 9858fef3a0b2 [2023-03-24T18:45:41.654Z] Removing intermediate container 9858fef3a0b2 [2023-03-24T18:45:41.654Z] ---> a721a066399f [2023-03-24T18:45:41.654Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-24T18:45:41.654Z] ---> Running in ecb0662daf3e [2023-03-24T18:45:41.654Z] Removing intermediate container ecb0662daf3e [2023-03-24T18:45:41.654Z] ---> 8808ae82b482 [2023-03-24T18:45:41.654Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-24T18:45:41.654Z] ---> Running in 3d0480332336 [2023-03-24T18:45:41.654Z] Removing intermediate container 3d0480332336 [2023-03-24T18:45:41.654Z] ---> 6d41ed0e5395 [2023-03-24T18:45:41.654Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-24T18:45:41.654Z] ---> Running in b5ca15ab2bdb [2023-03-24T18:45:41.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T18:45:41.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T18:45:42.175Z] OK: 265 MiB in 53 packages [2023-03-24T18:45:42.434Z] Removing intermediate container b5ca15ab2bdb [2023-03-24T18:45:42.434Z] ---> 733b4481b250 [2023-03-24T18:45:42.434Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-24T18:45:42.694Z] ---> e5b48b2709b3 [2023-03-24T18:45:42.694Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T18:45:42.694Z] ---> Running in 970a1d69e04c [2023-03-24T18:45:43.668Z] Removing intermediate container 970a1d69e04c [2023-03-24T18:45:43.668Z] ---> d82959f46781 [2023-03-24T18:45:43.668Z] Step 9/23 : COPY . . [2023-03-24T18:45:43.927Z] ---> 2e309251e2f5 [2023-03-24T18:45:43.927Z] Step 10/23 : RUN ${MAKE} [2023-03-24T18:45:43.927Z] ---> Running in 23b1328de3d5 [2023-03-24T18:45:44.185Z] 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-03-24T18:46:06.116Z] Removing intermediate container 23b1328de3d5 [2023-03-24T18:46:06.116Z] ---> f68f5bf3c870 [2023-03-24T18:46:06.116Z] Step 11/23 : FROM alpine:3.17 [2023-03-24T18:46:06.116Z] 3.17: Pulling from library/alpine [2023-03-24T18:46:06.116Z] 63b65145d645: Already exists [2023-03-24T18:46:06.116Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-24T18:46:06.116Z] Status: Downloaded newer image for alpine:3.17 [2023-03-24T18:46:06.116Z] ---> b2aa39c304c2 [2023-03-24T18:46:06.116Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-24T18:46:06.116Z] ---> Running in 94e8faf3391f [2023-03-24T18:46:06.116Z] Removing intermediate container 94e8faf3391f [2023-03-24T18:46:06.116Z] ---> 7a4f43cbbbcc [2023-03-24T18:46:06.116Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-24T18:46:06.116Z] ---> Running in b14f46dc60a1 [2023-03-24T18:46:06.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-24T18:46:06.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-24T18:46:06.116Z] OK: 7 MiB in 15 packages [2023-03-24T18:46:06.116Z] Removing intermediate container b14f46dc60a1 [2023-03-24T18:46:06.116Z] ---> 96fa24e968ab [2023-03-24T18:46:06.116Z] Step 14/23 : WORKDIR / [2023-03-24T18:46:06.116Z] ---> Running in 5a391ddbe386 [2023-03-24T18:46:06.116Z] Removing intermediate container 5a391ddbe386 [2023-03-24T18:46:06.116Z] ---> bee64dcdaa7e [2023-03-24T18:46:06.116Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-24T18:46:06.116Z] ---> 947d6beddfa2 [2023-03-24T18:46:06.116Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-24T18:46:06.376Z] ---> f564b2e12280 [2023-03-24T18:46:06.376Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-24T18:46:06.376Z] ---> c2bd856b27a7 [2023-03-24T18:46:06.376Z] Step 18/23 : EXPOSE 59999 [2023-03-24T18:46:06.634Z] ---> Running in c7320819fdcc [2023-03-24T18:46:06.634Z] Removing intermediate container c7320819fdcc [2023-03-24T18:46:06.634Z] ---> 56cf991af906 [2023-03-24T18:46:06.635Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-24T18:46:06.635Z] ---> Running in 1368c6e06653 [2023-03-24T18:46:06.635Z] Removing intermediate container 1368c6e06653 [2023-03-24T18:46:06.635Z] ---> 6ec52e605653 [2023-03-24T18:46:06.635Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-24T18:46:06.635Z] ---> Running in 9529858d6fdf [2023-03-24T18:46:06.635Z] Removing intermediate container 9529858d6fdf [2023-03-24T18:46:06.635Z] ---> 24866fe4564b [2023-03-24T18:46:06.635Z] Step 21/23 : LABEL arch=amd64 [2023-03-24T18:46:06.895Z] ---> Running in b4d4e56d1980 [2023-03-24T18:46:06.895Z] Removing intermediate container b4d4e56d1980 [2023-03-24T18:46:06.895Z] ---> 9ca8e2ab8461 [2023-03-24T18:46:06.895Z] Step 22/23 : LABEL git_sha=30a63f192906ff71e91ef6e58069631882d35d31 [2023-03-24T18:46:06.895Z] ---> Running in de8aafd663a0 [2023-03-24T18:46:06.895Z] Removing intermediate container de8aafd663a0 [2023-03-24T18:46:06.895Z] ---> bd5a31eb3e1b [2023-03-24T18:46:06.895Z] Step 23/23 : LABEL version=0.0.0 [2023-03-24T18:46:06.895Z] ---> Running in bc2595896f1c [2023-03-24T18:46:06.895Z] Removing intermediate container bc2595896f1c [2023-03-24T18:46:06.895Z] ---> 954a4cd6a643 [2023-03-24T18:46:06.895Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-24T18:46:07.154Z] Successfully built 954a4cd6a643 [2023-03-24T18:46:07.155Z] 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-03-24T18:46:07.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T18:46:07.599Z] [2023-03-24T18:46:07.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:46:07.901Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T18:46:07.901Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-24T18:46:07.901Z] 5eb5b503b376: Pulling fs layer [2023-03-24T18:46:07.901Z] 5c69ac0246d0: Pulling fs layer [2023-03-24T18:46:07.901Z] ec43610c2a17: Pulling fs layer [2023-03-24T18:46:07.901Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-24T18:46:07.901Z] 33b1e0a273af: Pulling fs layer [2023-03-24T18:46:07.901Z] 5d3b04190fa2: Pulling fs layer [2023-03-24T18:46:07.901Z] 2f39f015ded8: Pulling fs layer [2023-03-24T18:46:07.901Z] 3a2ae6a8a46f: Waiting [2023-03-24T18:46:07.901Z] 33b1e0a273af: Waiting [2023-03-24T18:46:07.901Z] 5d3b04190fa2: Waiting [2023-03-24T18:46:07.901Z] 2f39f015ded8: Waiting [2023-03-24T18:46:07.901Z] 5c69ac0246d0: Verifying Checksum [2023-03-24T18:46:07.901Z] 5c69ac0246d0: Download complete [2023-03-24T18:46:07.901Z] 3a2ae6a8a46f: Download complete [2023-03-24T18:46:08.160Z] 33b1e0a273af: Verifying Checksum [2023-03-24T18:46:08.161Z] 33b1e0a273af: Download complete [2023-03-24T18:46:08.161Z] 5d3b04190fa2: Verifying Checksum [2023-03-24T18:46:08.161Z] 5d3b04190fa2: Download complete [2023-03-24T18:46:08.161Z] ec43610c2a17: Verifying Checksum [2023-03-24T18:46:08.161Z] ec43610c2a17: Download complete [2023-03-24T18:46:08.161Z] 5eb5b503b376: Verifying Checksum [2023-03-24T18:46:08.161Z] 5eb5b503b376: Download complete [2023-03-24T18:46:08.728Z] 2f39f015ded8: Verifying Checksum [2023-03-24T18:46:08.728Z] 2f39f015ded8: Download complete [2023-03-24T18:46:09.295Z] 5eb5b503b376: Pull complete [2023-03-24T18:46:09.553Z] 5c69ac0246d0: Pull complete [2023-03-24T18:46:09.812Z] ec43610c2a17: Pull complete [2023-03-24T18:46:10.070Z] 3a2ae6a8a46f: Pull complete [2023-03-24T18:46:10.070Z] 33b1e0a273af: Pull complete [2023-03-24T18:46:10.329Z] 5d3b04190fa2: Pull complete [2023-03-24T18:46:14.509Z] 2f39f015ded8: Pull complete [2023-03-24T18:46:14.509Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-24T18:46:14.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T18:46:14.509Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:46:14.577Z] prd-ubuntu20.04-docker-8c-8g-5729 does not seem to be running inside a container [2023-03-24T18:46:14.607Z] $ 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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T18:46:19.054Z] $ docker top 2f2e87c9035b20d8e4868bcff92b2e8f3640729f0b9c994a1ba10f12bd909401 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:46:19.440Z] ---> job-cost.sh [2023-03-24T18:46:19.440Z] lf-activate-venv: SKIPPING [2023-03-24T18:46:19.440Z] INFO: No Stack... [2023-03-24T18:46:19.698Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T18:46:19.958Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T18:46:20.245Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/cost.csv [2023-03-24T18:46:20.245Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T18:46:20.261Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-12-stack-cost] [2023-03-24T18:46:20.270Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-12-stack-cost] did not exist. Created. [2023-03-24T18:46:20.270Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T18:46:20.578Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-24T18:46:20.605Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T18:46:20.611Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-12-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T18:46:20.631Z] $ docker stop --time=1 2f2e87c9035b20d8e4868bcff92b2e8f3640729f0b9c994a1ba10f12bd909401 [2023-03-24T18:46:21.793Z] $ docker rm -f --volumes 2f2e87c9035b20d8e4868bcff92b2e8f3640729f0b9c994a1ba10f12bd909401 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-24T18:47:43.246Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5730 in /w/workspace/gexfoundry_device-sdk-go_PR-1391 [Pipeline] { [Pipeline] ws [2023-03-24T18:47:43.259Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2023-03-24T18:47:43.312Z] The recommended git tool is: git [2023-03-24T18:47:54.234Z] using credential edgex-jenkins-ssh [2023-03-24T18:47:54.255Z] Cloning the remote Git repository [2023-03-24T18:47:54.336Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-24T18:47:54.448Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2023-03-24T18:47:54.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-24T18:47:54.717Z] > git --version # timeout=10 [2023-03-24T18:47:54.771Z] > git --version # 'git version 2.25.1' [2023-03-24T18:47:54.774Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T18:47:54.991Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T18:47:56.701Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-24T18:47:56.722Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-24T18:47:57.656Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-24T18:47:58.353Z] Merging remotes/origin/main commit 6846a58e9a18fc50eb2597edee49cc2f283037fd into PR head commit 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 [2023-03-24T18:47:58.745Z] Merge succeeded, producing 6587ccfe615b94e4de1fb43dfed47d8503f7a1d9 [2023-03-24T18:47:58.746Z] Checking out Revision 6587ccfe615b94e4de1fb43dfed47d8503f7a1d9 (PR-1391) [2023-03-24T18:47:57.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-24T18:47:57.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T18:47:57.714Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1391/head:refs/remotes/origin/PR-1391 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-24T18:47:58.371Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T18:47:58.443Z] > git checkout -f 3208d00b92d734bd5d5e77ab3f3eea92c01795c2 # timeout=10 [2023-03-24T18:47:58.552Z] > git remote # timeout=10 [2023-03-24T18:47:58.574Z] > git config --get remote.origin.url # timeout=10 [2023-03-24T18:47:58.593Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-24T18:47:58.609Z] > git merge 6846a58e9a18fc50eb2597edee49cc2f283037fd # timeout=10 [2023-03-24T18:47:58.723Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-24T18:47:58.753Z] > git config core.sparsecheckout # timeout=10 [2023-03-24T18:47:58.767Z] > git checkout -f 6587ccfe615b94e4de1fb43dfed47d8503f7a1d9 # timeout=10 [2023-03-24T18:48:02.279Z] Commit message: "Merge commit '6846a58e9a18fc50eb2597edee49cc2f283037fd' into HEAD" [2023-03-24T18:48:02.301Z] First time build. Skipping changelog. [2023-03-24T18:48:02.287Z] > git rev-list --no-walk e8be04f574ca2f1e554ffc10ee283ec1ed0f00a2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T18:48:03.294Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-24T18:48:03.294Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T18:48:03.294Z] Dload Upload Total Spent Left Speed [2023-03-24T18:48:03.294Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77750 0 --:--:-- --:--:-- --:--:-- 77750 [Pipeline] sh [2023-03-24T18:48:04.033Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-24T18:48:04.363Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-24T18:48:04.363Z] + sudo tee /etc/docker/daemon.new [2023-03-24T18:48:04.363Z] { [2023-03-24T18:48:04.363Z] "registry-mirrors": [ [2023-03-24T18:48:04.363Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-24T18:48:04.363Z] ], [2023-03-24T18:48:04.363Z] "bip": "10.250.0.254/24", [2023-03-24T18:48:04.363Z] "hosts": [ [2023-03-24T18:48:04.363Z] "tcp://0.0.0.0:5555", [2023-03-24T18:48:04.363Z] "unix:///var/run/docker.sock" [2023-03-24T18:48:04.363Z] ], [2023-03-24T18:48:04.363Z] "mtu": 1458, [2023-03-24T18:48:04.363Z] "selinux-enabled": true, [2023-03-24T18:48:04.363Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-24T18:48:04.363Z] } [Pipeline] sh [2023-03-24T18:48:04.695Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-24T18:48:05.023Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T18:48:23.300Z] provisioning config files... [2023-03-24T18:48:23.329Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/12@tmp/config10865124006804938946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:48:23.681Z] ---> docker-login.sh [2023-03-24T18:48:23.681Z] nexus3.edgexfoundry.org:10001 [2023-03-24T18:48:24.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:48:24.273Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:48:24.273Z] Configure a credential helper to remove this warning. See [2023-03-24T18:48:24.273Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:48:24.273Z] [2023-03-24T18:48:24.273Z] Login Succeeded [2023-03-24T18:48:24.273Z] nexus3.edgexfoundry.org:10002 [2023-03-24T18:48:24.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:48:24.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:48:24.812Z] Configure a credential helper to remove this warning. See [2023-03-24T18:48:24.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:48:24.812Z] [2023-03-24T18:48:24.812Z] Login Succeeded [2023-03-24T18:48:24.812Z] nexus3.edgexfoundry.org:10003 [2023-03-24T18:48:24.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:48:25.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:48:25.083Z] Configure a credential helper to remove this warning. See [2023-03-24T18:48:25.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:48:25.083Z] [2023-03-24T18:48:25.083Z] Login Succeeded [2023-03-24T18:48:25.083Z] nexus3.edgexfoundry.org:10004 [2023-03-24T18:48:25.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:48:25.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:48:25.353Z] Configure a credential helper to remove this warning. See [2023-03-24T18:48:25.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:48:25.353Z] [2023-03-24T18:48:25.353Z] Login Succeeded [2023-03-24T18:48:25.353Z] docker.io [2023-03-24T18:48:25.624Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-24T18:48:25.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-24T18:48:25.895Z] Configure a credential helper to remove this warning. See [2023-03-24T18:48:25.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-24T18:48:25.895Z] [2023-03-24T18:48:25.895Z] Login Succeeded [2023-03-24T18:48:25.895Z] ---> docker-login.sh ends [Pipeline] } [2023-03-24T18:48:25.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-24T18:48:26.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T18:48:26.175Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-24T18:48:26.188Z] ========================================================= [2023-03-24T18:48:26.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-24T18:48:26.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:48:26.534Z] + 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-03-24T18:48:27.122Z] Sending build context to Docker daemon 5.909MB [2023-03-24T18:48:27.122Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T18:48:27.122Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-24T18:48:28.085Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-24T18:48:28.085Z] af6eaf76a39c: Pulling fs layer [2023-03-24T18:48:28.085Z] 55522c791124: Pulling fs layer [2023-03-24T18:48:28.085Z] ce5c4a1c91eb: Pulling fs layer [2023-03-24T18:48:28.085Z] 169dfbe0d373: Pulling fs layer [2023-03-24T18:48:28.085Z] e1ff8fa3b103: Pulling fs layer [2023-03-24T18:48:28.085Z] 52ebb69f0ebf: Pulling fs layer [2023-03-24T18:48:28.085Z] 5abe8eddf0d5: Pulling fs layer [2023-03-24T18:48:28.085Z] 169dfbe0d373: Waiting [2023-03-24T18:48:28.085Z] e1ff8fa3b103: Waiting [2023-03-24T18:48:28.085Z] 52ebb69f0ebf: Waiting [2023-03-24T18:48:28.085Z] 5abe8eddf0d5: Waiting [2023-03-24T18:48:28.085Z] 55522c791124: Download complete [2023-03-24T18:48:28.085Z] 169dfbe0d373: Verifying Checksum [2023-03-24T18:48:28.085Z] 169dfbe0d373: Download complete [2023-03-24T18:48:28.085Z] e1ff8fa3b103: Verifying Checksum [2023-03-24T18:48:28.085Z] e1ff8fa3b103: Download complete [2023-03-24T18:48:28.085Z] af6eaf76a39c: Verifying Checksum [2023-03-24T18:48:28.085Z] af6eaf76a39c: Download complete [2023-03-24T18:48:29.052Z] 5abe8eddf0d5: Verifying Checksum [2023-03-24T18:48:29.052Z] 5abe8eddf0d5: Download complete [2023-03-24T18:48:29.052Z] af6eaf76a39c: Pull complete [2023-03-24T18:48:29.639Z] 55522c791124: Pull complete [2023-03-24T18:48:30.607Z] 52ebb69f0ebf: Verifying Checksum [2023-03-24T18:48:30.607Z] 52ebb69f0ebf: Download complete [2023-03-24T18:48:30.607Z] ce5c4a1c91eb: Verifying Checksum [2023-03-24T18:48:30.607Z] ce5c4a1c91eb: Download complete [2023-03-24T18:48:40.689Z] ce5c4a1c91eb: Pull complete [2023-03-24T18:48:40.689Z] 169dfbe0d373: Pull complete [2023-03-24T18:48:40.689Z] e1ff8fa3b103: Pull complete [2023-03-24T18:48:46.037Z] 52ebb69f0ebf: Pull complete [2023-03-24T18:48:47.004Z] 5abe8eddf0d5: Pull complete [2023-03-24T18:48:47.004Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-24T18:48:47.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-24T18:48:47.004Z] ---> 6cb57ee374ae [2023-03-24T18:48:47.004Z] Step 3/10 : ARG MAKE=make build [2023-03-24T18:48:48.990Z] ---> Running in 7df1ddae12c1 [2023-03-24T18:48:48.990Z] Removing intermediate container 7df1ddae12c1 [2023-03-24T18:48:48.990Z] ---> 44ae546d499e [2023-03-24T18:48:48.990Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-24T18:48:48.990Z] ---> Running in 7a9600600866 [2023-03-24T18:48:49.265Z] Removing intermediate container 7a9600600866 [2023-03-24T18:48:49.265Z] ---> e858ddf07374 [2023-03-24T18:48:49.265Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-24T18:48:49.265Z] ---> Running in da757f5e4f97 [2023-03-24T18:48:49.531Z] Removing intermediate container da757f5e4f97 [2023-03-24T18:48:49.531Z] ---> f802d8a732be [2023-03-24T18:48:49.531Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-24T18:48:49.805Z] ---> Running in 5c2a79a2a938 [2023-03-24T18:48:50.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T18:48:51.346Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T18:48:52.302Z] OK: 263 MiB in 53 packages [2023-03-24T18:48:55.633Z] Removing intermediate container 5c2a79a2a938 [2023-03-24T18:48:55.633Z] ---> 9d876c5fb19d [2023-03-24T18:48:55.633Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-24T18:48:55.900Z] ---> dceea30cb579 [2023-03-24T18:48:55.900Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T18:48:56.176Z] ---> Running in b79b44d0528b [2023-03-24T18:49:52.590Z] Removing intermediate container b79b44d0528b [2023-03-24T18:49:52.590Z] ---> 86c01babfbbe [2023-03-24T18:49:52.590Z] Step 9/10 : COPY . . [2023-03-24T18:49:52.590Z] ---> 08759b02f6c9 [2023-03-24T18:49:52.590Z] Step 10/10 : RUN ${MAKE} [2023-03-24T18:49:52.590Z] ---> Running in 68def740fd93 [2023-03-24T18:49:52.590Z] noop [2023-03-24T18:49:52.590Z] Removing intermediate container 68def740fd93 [2023-03-24T18:49:52.590Z] ---> da4091c6227a [2023-03-24T18:49:52.590Z] Successfully built da4091c6227a [2023-03-24T18:49:52.590Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:49:52.922Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T18:49:52.922Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:49:53.113Z] prd-ubuntu20.04-docker-arm64-4c-16g-5730 does not seem to be running inside a container [2023-03-24T18:49:53.174Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-24T18:49:54.264Z] $ docker top 805e9bb61d5f3964b1adbfb3ee467cabd93d149fc00f9293d259df9f1df48f95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T18:49:55.065Z] + go version [2023-03-24T18:49:55.065Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-24T18:49:55.083Z] $ docker stop --time=1 805e9bb61d5f3964b1adbfb3ee467cabd93d149fc00f9293d259df9f1df48f95 [2023-03-24T18:49:56.639Z] $ docker rm -f --volumes 805e9bb61d5f3964b1adbfb3ee467cabd93d149fc00f9293d259df9f1df48f95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:49:57.156Z] + docker inspect -f . ci-base-image-arm64 [2023-03-24T18:49:57.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:49:57.318Z] prd-ubuntu20.04-docker-arm64-4c-16g-5730 does not seem to be running inside a container [2023-03-24T18:49:57.378Z] $ 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/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-24T18:49:58.427Z] $ docker top ff873df98ead80465757b4872fd8a807a66f07a5f1f89edbb097fca210ff4e67 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T18:49:58.911Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/12 [Pipeline] fileExists [Pipeline] sh [2023-03-24T18:49:59.245Z] + make test [2023-03-24T18:49:59.245Z] go test -race -coverprofile=coverage.out ./... [2023-03-24T18:50:38.123Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-24T18:52:29.774Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-24T18:52:29.774Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-24T18:52:29.774Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-24T18:52:29.774Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-24T18:52:29.774Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-24T18:52:29.774Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.209s coverage: 27.6% of statements [2023-03-24T18:52:29.774Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.259s coverage: 78.9% of statements [2023-03-24T18:52:42.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-24T18:52:42.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-24T18:52:42.077Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.311s coverage: 86.0% of statements [2023-03-24T18:52:46.321Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-24T18:52:46.321Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.406s coverage: 77.6% of statements [2023-03-24T18:52:50.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-24T18:52:51.155Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-24T18:52:51.155Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-24T18:52:53.111Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.245s coverage: 14.9% of statements [2023-03-24T18:52:53.111Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.392s coverage: 68.5% of statements [2023-03-24T18:52:55.046Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.428s coverage: 89.2% of statements [2023-03-24T18:52:56.024Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-24T18:52:56.024Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.227s coverage: 5.6% of statements [2023-03-24T18:52:56.984Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-24T18:52:56.984Z] GO111MODULE=on go vet ./... [2023-03-24T18:55:18.701Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-24T18:55:18.701Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-24T18:55:18.701Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-24T18:55:18.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-24T18:55:18.730Z] $ docker stop --time=1 ff873df98ead80465757b4872fd8a807a66f07a5f1f89edbb097fca210ff4e67 [2023-03-24T18:55:20.594Z] $ docker rm -f --volumes ff873df98ead80465757b4872fd8a807a66f07a5f1f89edbb097fca210ff4e67 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-24T18:55:22.092Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-24T18:55:22.113Z] Warning: overwriting stash ‘coverage-report’ [2023-03-24T18:55:22.802Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-24T18:55:23.188Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-24T18:55:23.511Z] + ls -al . [2023-03-24T18:55:23.511Z] total 268 [2023-03-24T18:55:23.511Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 24 18:50 . [2023-03-24T18:55:23.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 18:47 .. [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 24 18:47 .dockerignore [2023-03-24T18:55:23.511Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 24 18:47 .git [2023-03-24T18:55:23.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 18:47 .github [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 24 18:47 .gitignore [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 24 18:47 .golangci.yml [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 24 18:47 CHANGELOG.md [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 24 18:47 GOVERNANCE.md [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 24 18:47 Jenkinsfile [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 24 18:47 LICENSE [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 24 18:47 Makefile [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 24 18:47 OWNERS.md [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 24 18:47 README.md [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 24 18:43 VERSION [2023-03-24T18:55:23.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 24 18:47 bin [2023-03-24T18:55:23.511Z] -rw-r--r-- 1 jenkins jenkins 104885 Mar 24 18:52 coverage.out [2023-03-24T18:55:23.511Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 24 18:47 example [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 24 18:47 go.mod [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 24 18:47 go.sum [2023-03-24T18:55:23.511Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 18:47 internal [2023-03-24T18:55:23.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 24 18:47 openapi [2023-03-24T18:55:23.511Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 24 18:47 pkg [2023-03-24T18:55:23.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 24 18:47 snap [2023-03-24T18:55:23.511Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 24 18:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:55:23.882Z] + 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=6587ccfe615b94e4de1fb43dfed47d8503f7a1d9 --label arch=arm64 --label version=0.0.0 . [2023-03-24T18:55:24.481Z] Sending build context to Docker daemon 6.014MB [2023-03-24T18:55:24.481Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-24T18:55:24.481Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-24T18:55:24.481Z] ---> da4091c6227a [2023-03-24T18:55:24.481Z] Step 3/23 : ARG MAKE=make build [2023-03-24T18:55:24.481Z] ---> Running in a5af0dff0763 [2023-03-24T18:55:25.061Z] Removing intermediate container a5af0dff0763 [2023-03-24T18:55:25.061Z] ---> 9c39cd7c8b47 [2023-03-24T18:55:25.061Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-24T18:55:25.061Z] ---> Running in 0885fa117149 [2023-03-24T18:55:25.329Z] Removing intermediate container 0885fa117149 [2023-03-24T18:55:25.329Z] ---> 99111cc0366b [2023-03-24T18:55:25.329Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-24T18:55:25.329Z] ---> Running in e77e75e3491e [2023-03-24T18:55:25.598Z] Removing intermediate container e77e75e3491e [2023-03-24T18:55:25.598Z] ---> 35e84ab07b5e [2023-03-24T18:55:25.598Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-24T18:55:25.598Z] ---> Running in d14a3649da9b [2023-03-24T18:55:26.564Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T18:55:27.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T18:55:28.106Z] OK: 263 MiB in 53 packages [2023-03-24T18:55:29.069Z] Removing intermediate container d14a3649da9b [2023-03-24T18:55:29.069Z] ---> 8909e8c3ce3b [2023-03-24T18:55:29.069Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-24T18:55:29.652Z] ---> ac125a8f70f9 [2023-03-24T18:55:29.652Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-24T18:55:29.652Z] ---> Running in 71bbb7741f31 [2023-03-24T18:55:32.230Z] Removing intermediate container 71bbb7741f31 [2023-03-24T18:55:32.231Z] ---> 8255adb65446 [2023-03-24T18:55:32.231Z] Step 9/23 : COPY . . [2023-03-24T18:55:33.199Z] ---> be63d6fe8233 [2023-03-24T18:55:33.199Z] Step 10/23 : RUN ${MAKE} [2023-03-24T18:55:33.199Z] ---> Running in eb1789768777 [2023-03-24T18:55:34.160Z] 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-03-24T18:57:40.832Z] Removing intermediate container eb1789768777 [2023-03-24T18:57:40.832Z] ---> eac2b74b871c [2023-03-24T18:57:40.832Z] Step 11/23 : FROM alpine:3.17 [2023-03-24T18:57:40.832Z] 3.17: Pulling from library/alpine [2023-03-24T18:57:40.832Z] af6eaf76a39c: Already exists [2023-03-24T18:57:40.832Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-24T18:57:40.832Z] Status: Downloaded newer image for alpine:3.17 [2023-03-24T18:57:40.832Z] ---> d74e625d9115 [2023-03-24T18:57:40.832Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-24T18:57:40.832Z] ---> Running in 8147f156581c [2023-03-24T18:57:40.832Z] Removing intermediate container 8147f156581c [2023-03-24T18:57:40.832Z] ---> f2ef171a28cd [2023-03-24T18:57:40.832Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-24T18:57:40.832Z] ---> Running in d42c33109d91 [2023-03-24T18:57:40.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-24T18:57:40.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-24T18:57:40.832Z] OK: 7 MiB in 15 packages [2023-03-24T18:57:40.832Z] Removing intermediate container d42c33109d91 [2023-03-24T18:57:40.832Z] ---> 14e75b7b449f [2023-03-24T18:57:40.832Z] Step 14/23 : WORKDIR / [2023-03-24T18:57:40.832Z] ---> Running in bfd0d1a0107e [2023-03-24T18:57:40.832Z] Removing intermediate container bfd0d1a0107e [2023-03-24T18:57:40.832Z] ---> 1094586b755e [2023-03-24T18:57:40.832Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-24T18:57:40.832Z] ---> f4a7da14569c [2023-03-24T18:57:40.832Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-24T18:57:40.832Z] ---> ae004201ac53 [2023-03-24T18:57:40.832Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-24T18:57:40.832Z] ---> cd56d08061ff [2023-03-24T18:57:40.832Z] Step 18/23 : EXPOSE 59999 [2023-03-24T18:57:40.832Z] ---> Running in 0e4e454ea3b1 [2023-03-24T18:57:41.100Z] Removing intermediate container 0e4e454ea3b1 [2023-03-24T18:57:41.100Z] ---> 40122f99f418 [2023-03-24T18:57:41.100Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-24T18:57:41.367Z] ---> Running in 5bd6a4c38543 [2023-03-24T18:57:41.367Z] Removing intermediate container 5bd6a4c38543 [2023-03-24T18:57:41.367Z] ---> 04c0a7ef7481 [2023-03-24T18:57:41.367Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-24T18:57:41.634Z] ---> Running in 8d438b62efc3 [2023-03-24T18:57:41.901Z] Removing intermediate container 8d438b62efc3 [2023-03-24T18:57:41.901Z] ---> f96fe8888775 [2023-03-24T18:57:41.901Z] Step 21/23 : LABEL arch=arm64 [2023-03-24T18:57:41.901Z] ---> Running in ecd23fb13dd5 [2023-03-24T18:57:42.169Z] Removing intermediate container ecd23fb13dd5 [2023-03-24T18:57:42.169Z] ---> c5a8aee6e04b [2023-03-24T18:57:42.169Z] Step 22/23 : LABEL git_sha=6587ccfe615b94e4de1fb43dfed47d8503f7a1d9 [2023-03-24T18:57:42.169Z] ---> Running in bbbd89a08752 [2023-03-24T18:57:42.437Z] Removing intermediate container bbbd89a08752 [2023-03-24T18:57:42.437Z] ---> e52ec95449a4 [2023-03-24T18:57:42.437Z] Step 23/23 : LABEL version=0.0.0 [2023-03-24T18:57:42.711Z] ---> Running in ee7f8afbd534 [2023-03-24T18:57:42.978Z] Removing intermediate container ee7f8afbd534 [2023-03-24T18:57:42.978Z] ---> 2c2ef98dde9b [2023-03-24T18:57:42.978Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-24T18:57:42.978Z] Successfully built 2c2ef98dde9b [2023-03-24T18:57:42.978Z] 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-03-24T18:57:43.414Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T18:57:43.414Z] [2023-03-24T18:57:43.414Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:57:43.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T18:57:43.747Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-24T18:57:43.747Z] 8998bd30e6a1: Pulling fs layer [2023-03-24T18:57:43.747Z] 04944245beec: Pulling fs layer [2023-03-24T18:57:43.747Z] 699f458cf7ca: Pulling fs layer [2023-03-24T18:57:43.747Z] 765212b225bb: Pulling fs layer [2023-03-24T18:57:43.747Z] f23df028b6ca: Pulling fs layer [2023-03-24T18:57:43.747Z] d65c8cfc05b1: Pulling fs layer [2023-03-24T18:57:43.747Z] 2437ff75d9bd: Pulling fs layer [2023-03-24T18:57:43.747Z] 765212b225bb: Waiting [2023-03-24T18:57:43.747Z] f23df028b6ca: Waiting [2023-03-24T18:57:43.747Z] d65c8cfc05b1: Waiting [2023-03-24T18:57:43.747Z] 2437ff75d9bd: Waiting [2023-03-24T18:57:44.017Z] 04944245beec: Verifying Checksum [2023-03-24T18:57:44.017Z] 04944245beec: Download complete [2023-03-24T18:57:44.017Z] 765212b225bb: Verifying Checksum [2023-03-24T18:57:44.017Z] 765212b225bb: Download complete [2023-03-24T18:57:44.017Z] f23df028b6ca: Verifying Checksum [2023-03-24T18:57:44.017Z] f23df028b6ca: Download complete [2023-03-24T18:57:44.017Z] d65c8cfc05b1: Verifying Checksum [2023-03-24T18:57:44.017Z] d65c8cfc05b1: Download complete [2023-03-24T18:57:44.017Z] 699f458cf7ca: Verifying Checksum [2023-03-24T18:57:44.017Z] 699f458cf7ca: Download complete [2023-03-24T18:57:44.602Z] 8998bd30e6a1: Verifying Checksum [2023-03-24T18:57:44.602Z] 8998bd30e6a1: Download complete [2023-03-24T18:57:46.544Z] 2437ff75d9bd: Verifying Checksum [2023-03-24T18:57:46.544Z] 2437ff75d9bd: Download complete [2023-03-24T18:57:48.485Z] 8998bd30e6a1: Pull complete [2023-03-24T18:57:49.445Z] 04944245beec: Pull complete [2023-03-24T18:57:50.853Z] 699f458cf7ca: Pull complete [2023-03-24T18:57:50.853Z] 765212b225bb: Pull complete [2023-03-24T18:57:51.811Z] f23df028b6ca: Pull complete [2023-03-24T18:57:51.811Z] d65c8cfc05b1: Pull complete [2023-03-24T18:58:06.810Z] 2437ff75d9bd: Pull complete [2023-03-24T18:58:06.810Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-24T18:58:06.810Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-24T18:58:06.810Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:58:07.012Z] prd-ubuntu20.04-docker-arm64-4c-16g-5730 does not seem to be running inside a container [2023-03-24T18:58:07.060Z] $ 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/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-24T18:58:09.648Z] $ docker top b23c9a2720b0f2fb8b1d1aab7cd63f7ac6965ed6dcd61acb3f2219f7d8d00a6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:58:10.485Z] ---> job-cost.sh [2023-03-24T18:58:10.485Z] lf-activate-venv: SKIPPING [2023-03-24T18:58:10.485Z] INFO: No Stack... [2023-03-24T18:58:10.751Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-24T18:58:11.708Z] INFO: Archiving Costs [Pipeline] sh [2023-03-24T18:58:12.341Z] + cat /w/workspace/device-sdk-go/12/archives/cost.csv [2023-03-24T18:58:12.342Z] + cut -d, -f6 [Pipeline] lock [2023-03-24T18:58:12.372Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1391-12-stack-cost] [2023-03-24T18:58:12.377Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-12-stack-cost] did not exist. Created. [2023-03-24T18:58:12.377Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1391-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-24T18:58:12.712Z] /w/workspace/device-sdk-go/12@tmp/durable-c5dec10e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-24T18:58:13.046Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-24T18:58:13.075Z] Warning: overwriting stash ‘stack-cost’ [2023-03-24T18:58:13.138Z] Stashed 1 file(s) [Pipeline] } [2023-03-24T18:58:13.145Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1391-12-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-24T18:58:13.152Z] $ docker stop --time=1 b23c9a2720b0f2fb8b1d1aab7cd63f7ac6965ed6dcd61acb3f2219f7d8d00a6d [2023-03-24T18:58:14.656Z] $ docker rm -f --volumes b23c9a2720b0f2fb8b1d1aab7cd63f7ac6965ed6dcd61acb3f2219f7d8d00a6d [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-03-24T18:58:15.114Z] provisioning config files... [2023-03-24T18:58:15.121Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config3100636489524360894tmp [Pipeline] { [Pipeline] sh [2023-03-24T18:58:15.421Z] + set +x [2023-03-24T18:58:15.422Z] + bash -s -- [2023-03-24T18:58:15.422Z] + curl -s https://codecov.io/bash [2023-03-24T18:58:15.422Z] [2023-03-24T18:58:15.422Z] _____ _ [2023-03-24T18:58:15.422Z] / ____| | | [2023-03-24T18:58:15.422Z] | | ___ __| | ___ ___ _____ __ [2023-03-24T18:58:15.422Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-24T18:58:15.422Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-24T18:58:15.422Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-24T18:58:15.422Z] Bash-1.0.6 [2023-03-24T18:58:15.422Z] [2023-03-24T18:58:15.422Z] [2023-03-24T18:58:15.422Z] ==> git version 2.25.1 found [2023-03-24T18:58:15.422Z] ==> 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-03-24T18:58:15.422Z] Release-Date: 2020-01-08 [2023-03-24T18:58:15.422Z] 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-03-24T18:58:15.422Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-24T18:58:15.422Z] ==> Jenkins CI detected. [2023-03-24T18:58:15.422Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-24T18:58:15.422Z] project root: . [2023-03-24T18:58:15.422Z] --> token set from env [2023-03-24T18:58:15.422Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-24T18:58:15.422Z] ==> Running gcov in . (disable via -X gcov) [2023-03-24T18:58:15.422Z] ==> Python coveragepy not found [2023-03-24T18:58:15.422Z] ==> Searching for coverage reports in: [2023-03-24T18:58:15.422Z] + . [2023-03-24T18:58:15.422Z] -> Found 1 reports [2023-03-24T18:58:15.422Z] ==> Detecting git/mercurial file structure [2023-03-24T18:58:15.422Z] ==> Reading reports [2023-03-24T18:58:15.422Z] + ./coverage.out bytes=104885 [2023-03-24T18:58:15.680Z] ==> Appending adjustments [2023-03-24T18:58:15.680Z] https://docs.codecov.io/docs/fixing-reports [2023-03-24T18:58:15.937Z] + Found adjustments [2023-03-24T18:58:15.937Z] ==> Gzipping contents [2023-03-24T18:58:15.937Z] 16K /tmp/codecov.14g3Ni.gz [2023-03-24T18:58:15.937Z] ==> Uploading reports [2023-03-24T18:58:15.937Z] url: https://codecov.io [2023-03-24T18:58:15.937Z] query: branch=PR-1391&commit=30a63f192906ff71e91ef6e58069631882d35d31&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-24T18:58:15.937Z] -> Pinging Codecov [2023-03-24T18:58:15.937Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1391&commit=30a63f192906ff71e91ef6e58069631882d35d31&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1391%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1391&job=&cmd_args= [2023-03-24T18:58:15.937Z] -> Uploading to [2023-03-24T18:58:15.937Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-24/7E55EF52A471D76F132DFD9A03CDDE97/30a63f192906ff71e91ef6e58069631882d35d31/3c6e2159-3e32-4239-b5c8-9ba89bc92a1f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230324%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230324T185815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a4895df9b9be76323eb738d4c565c06aa1ce52cf48c014e5494bb58c8d69dd88 [2023-03-24T18:58:15.937Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-24T18:58:15.937Z] Dload Upload Total Spent Left Speed [2023-03-24T18:58:16.195Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14853 0 0 100 14853 0 67208 --:--:-- --:--:-- --:--:-- 66905 100 14853 0 0 100 14853 0 56908 --:--:-- --:--:-- --:--:-- 56690 [2023-03-24T18:58:16.453Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/30a63f192906ff71e91ef6e58069631882d35d31 [Pipeline] } [2023-03-24T18:58:16.459Z] 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-03-24T18:58:17.133Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives ] [2023-03-24T18:58:17.133Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-24T18:58:17.133Z] total 16 [2023-03-24T18:58:17.133Z] drwxr-xr-x 3 root root 4096 Mar 24 18:46 . [2023-03-24T18:58:17.133Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 18:46 .. [2023-03-24T18:58:17.133Z] drwxr-xr-x 2 root root 4096 Mar 24 18:46 cost [2023-03-24T18:58:17.133Z] -rw-r--r-- 1 root root 87 Mar 24 18:46 cost.csv [2023-03-24T18:58:17.133Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-24T18:58:17.133Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives [2023-03-24T18:58:17.133Z] total 16 [2023-03-24T18:58:17.133Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 24 18:46 . [2023-03-24T18:58:17.133Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 24 18:46 .. [2023-03-24T18:58:17.133Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 24 18:46 cost [2023-03-24T18:58:17.133Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 24 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:58:17.419Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:58:18.279Z] ---> package-listing.sh [2023-03-24T18:58:18.279Z] ++ facter osfamily [2023-03-24T18:58:18.279Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-24T18:58:18.538Z] + OS_FAMILY=debian [2023-03-24T18:58:18.538Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1391 [2023-03-24T18:58:18.538Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-24T18:58:18.538Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-24T18:58:18.538Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-24T18:58:18.538Z] + PACKAGES=/tmp/packages_start.txt [2023-03-24T18:58:18.539Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-24T18:58:18.539Z] + PACKAGES=/tmp/packages_end.txt [2023-03-24T18:58:18.539Z] + case "${OS_FAMILY}" in [2023-03-24T18:58:18.539Z] + dpkg -l [2023-03-24T18:58:18.539Z] + grep '^ii' [2023-03-24T18:58:18.539Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-24T18:58:18.539Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-24T18:58:18.539Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-24T18:58:18.539Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1391 ']' [2023-03-24T18:58:18.539Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [2023-03-24T18:58:18.539Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1391/archives/ [Pipeline] echo [2023-03-24T18:58:18.549Z] 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-1391/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-24T18:58:18.826Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-24T18:58:19.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-24T18:58:19.383Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-24T18:58:19.453Z] prd-ubuntu20.04-docker-8c-8g-5729 does not seem to be running inside a container [2023-03-24T18:58:19.484Z] $ 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-1391/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-1391 -v /w/workspace/gexfoundry_device-sdk-go_PR-1391:/w/workspace/gexfoundry_device-sdk-go_PR-1391:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-24T18:58:19.682Z] $ docker top 68e0178c5e8eb53812b9c43235671e96b7ec8448c128efa2d1cd52fa17bb8703 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-24T18:58:20.017Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-24T18:58:20.302Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-24T18:58:20.586Z] + ls /var/log/sa-host [2023-03-24T18:58:20.586Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-24T18:58:20.655Z] provisioning config files... [2023-03-24T18:58:20.663Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1391@tmp/config8625945351355854615tmp [Pipeline] { [Pipeline] echo [2023-03-24T18:58:20.675Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:58:20.958Z] ---> create-netrc.sh [Pipeline] } [2023-03-24T18:58:20.967Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:58:21.283Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-24T18:58:21.290Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:58:21.572Z] ---> sudo-logs.sh [2023-03-24T18:58:21.573Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-24T18:58:21.594Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:58:21.874Z] ---> job-cost.sh [2023-03-24T18:58:21.874Z] lf-activate-venv: SKIPPING [2023-03-24T18:58:21.874Z] DEBUG: total: 0.2199999988079071 [2023-03-24T18:58:21.874Z] INFO: Retrieving Stack Cost... [2023-03-24T18:58:22.442Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-24T18:58:22.700Z] INFO: Archiving Costs [Pipeline] echo [2023-03-24T18:58:22.711Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-24T18:58:22.993Z] ---> logs-deploy.sh [2023-03-24T18:58:22.993Z] lf-activate-venv: SKIPPING [2023-03-24T18:58:22.993Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1391/12 [2023-03-24T18:58:22.993Z] INFO: archiving workspace using pattern(s): [2023-03-24T18:58:23.927Z] Archives upload complete. [2023-03-24T18:58:23.927Z] INFO: archiving logs to Nexus