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 lindseysimple for edgexfoundry/device-sdk-go Obtained Jenkinsfile from af69577eb0e115ca7ea0ed95f3f7d03ef838ca86+afe3ff62d3fd920c33d9e36f21752c88d9373351 (8f516210be7fe6e4279e21caa83ee6c3506e6328) 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-ssh8934688411273022506.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11254498997610663399.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1515/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-1515/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16777323253378812990.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh2478835021015657547.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-1515/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-1515/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh570292904287662089.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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7710 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [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-1515 # 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 Merging remotes/origin/main commit afe3ff62d3fd920c33d9e36f21752c88d9373351 into PR head commit af69577eb0e115ca7ea0ed95f3f7d03ef838ca86 Merge succeeded, producing 72560493bb01140835d359a1f4dfb636202e3727 Checking out Revision 72560493bb01140835d359a1f4dfb636202e3727 (PR-1515) > 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/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af69577eb0e115ca7ea0ed95f3f7d03ef838ca86 # 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 afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 72560493bb01140835d359a1f4dfb636202e3727 # timeout=10 Commit message: "Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-23T18:41:31.648Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-23T18:41:31.716Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-23T18:41:31.730Z] ========================================================= [2023-09-23T18:41:31.730Z] EdgeX Global Pipelines Version Info [2023-09-23T18:41:31.730Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 0cfc8f5b1fb7192e439ef60eb38dab717ba99ed4 # timeout=10 [2023-09-23T18:41:32.478Z] ------------------- [2023-09-23T18:41:32.478Z] stable info: [2023-09-23T18:41:32.478Z] ------------------- [2023-09-23T18:41:32.478Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-23T18:41:32.478Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-23T18:41:32.478Z] Message: update stable to v1.0.254 [2023-09-23T18:41:33.048Z] ------------------- [2023-09-23T18:41:33.048Z] experimental info: [2023-09-23T18:41:33.048Z] ------------------- [2023-09-23T18:41:33.048Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-23T18:41:33.048Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-23T18:41:33.048Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-23T18:41:33.216Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-23T18:41:33.230Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-23T18:41:33.241Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-23T18:41:33.251Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-23T18:41:33.260Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-23T18:41:33.272Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-23T18:41:33.283Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-23T18:41:33.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-23T18:41:33.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-23T18:41:33.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-23T18:41:33.335Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-23T18:41:33.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-23T18:41:33.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-23T18:41:33.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-23T18:41:33.411Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-23T18:41:33.430Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-23T18:41:33.448Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-23T18:41:33.469Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-23T18:41:33.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-23T18:41:33.500Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-23T18:41:33.515Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-23T18:41:33.534Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-23T18:41:33.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-23T18:41:33.569Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-23T18:41:33.589Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-23T18:41:33.613Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-23T18:41:33.626Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-23T18:41:33.637Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1515 [Pipeline] echo [2023-09-23T18:41:33.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1515 [Pipeline] echo [2023-09-23T18:41:33.672Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1515 [Pipeline] echo [2023-09-23T18:41:33.684Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 72560493bb01140835d359a1f4dfb636202e3727 [Pipeline] echo [2023-09-23T18:41:33.696Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7256049 [Pipeline] echo [2023-09-23T18:41:33.720Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T18:41:33.781Z] provisioning config files... [2023-09-23T18:41:33.796Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config14439093687134103745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:41:34.098Z] ---> docker-login.sh [2023-09-23T18:41:34.098Z] nexus3.edgexfoundry.org:10001 [2023-09-23T18:41:34.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:41:34.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:41:34.619Z] Configure a credential helper to remove this warning. See [2023-09-23T18:41:34.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:41:34.619Z] [2023-09-23T18:41:34.619Z] Login Succeeded [2023-09-23T18:41:34.619Z] nexus3.edgexfoundry.org:10002 [2023-09-23T18:41:34.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:41:34.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:41:34.619Z] Configure a credential helper to remove this warning. See [2023-09-23T18:41:34.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:41:34.619Z] [2023-09-23T18:41:34.619Z] Login Succeeded [2023-09-23T18:41:34.619Z] nexus3.edgexfoundry.org:10003 [2023-09-23T18:41:34.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:41:34.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:41:34.880Z] Configure a credential helper to remove this warning. See [2023-09-23T18:41:34.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:41:34.880Z] [2023-09-23T18:41:34.880Z] Login Succeeded [2023-09-23T18:41:34.880Z] nexus3.edgexfoundry.org:10004 [2023-09-23T18:41:34.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:41:34.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:41:34.880Z] Configure a credential helper to remove this warning. See [2023-09-23T18:41:34.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:41:34.880Z] [2023-09-23T18:41:34.880Z] Login Succeeded [2023-09-23T18:41:34.880Z] docker.io [2023-09-23T18:41:34.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:41:35.141Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:41:35.141Z] Configure a credential helper to remove this warning. See [2023-09-23T18:41:35.141Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:41:35.141Z] [2023-09-23T18:41:35.141Z] Login Succeeded [2023-09-23T18:41:35.141Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T18:41:35.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-23T18:41:35.527Z] + git rev-list -1 --merges 72560493bb01140835d359a1f4dfb636202e3727~1..72560493bb01140835d359a1f4dfb636202e3727 [Pipeline] echo [2023-09-23T18:41:35.577Z] -----------> git rev-list -1 --merges 72560493bb01140835d359a1f4dfb636202e3727~1..72560493bb01140835d359a1f4dfb636202e3727 72560493bb01140835d359a1f4dfb636202e3727 [2023-09-23T18:41:35.577Z] 72560493bb01140835d359a1f4dfb636202e3727 [false] [Pipeline] sh [2023-09-23T18:41:35.872Z] + git log --format=format:%s -1 72560493bb01140835d359a1f4dfb636202e3727 [Pipeline] echo [2023-09-23T18:41:35.895Z] ========================================================= [2023-09-23T18:41:35.895Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-23T18:41:35.895Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T18:41:36.217Z] + git log --format=format:%s -1 72560493bb01140835d359a1f4dfb636202e3727 [Pipeline] echo [2023-09-23T18:41:36.227Z] [semverPrep] GIT_COMMIT: 72560493bb01140835d359a1f4dfb636202e3727, Commit Message: Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD [Pipeline] echo [2023-09-23T18:41:36.239Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-23T18:41:36.609Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-23T18:41:36.609Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-23T18:41:36.609Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-23T18:41:36.609Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-23T18:41:36.609Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-23T18:41:36.609Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-23T18:41:36.609Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:41:37.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T18:41:37.049Z] [2023-09-23T18:41:37.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:41:37.349Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T18:41:37.349Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-23T18:41:37.349Z] b85a868b505f: Pulling fs layer [2023-09-23T18:41:37.349Z] e2be974225ed: Pulling fs layer [2023-09-23T18:41:37.349Z] 339a4e72a1f5: Pulling fs layer [2023-09-23T18:41:37.349Z] 988bab9f4d93: Pulling fs layer [2023-09-23T18:41:37.349Z] 1469e6f7b9e6: Pulling fs layer [2023-09-23T18:41:37.349Z] 988bab9f4d93: Waiting [2023-09-23T18:41:37.349Z] eaf3925da568: Pulling fs layer [2023-09-23T18:41:37.349Z] bab4dde63d76: Pulling fs layer [2023-09-23T18:41:37.349Z] 1469e6f7b9e6: Waiting [2023-09-23T18:41:37.349Z] eaf3925da568: Waiting [2023-09-23T18:41:37.349Z] bde34c3a00c8: Pulling fs layer [2023-09-23T18:41:37.349Z] b352a97aabf1: Pulling fs layer [2023-09-23T18:41:37.349Z] bab4dde63d76: Waiting [2023-09-23T18:41:37.349Z] b352a97aabf1: Waiting [2023-09-23T18:41:37.349Z] bde34c3a00c8: Waiting [2023-09-23T18:41:37.349Z] 4872d77fe225: Pulling fs layer [2023-09-23T18:41:37.349Z] 5851b861e8e6: Pulling fs layer [2023-09-23T18:41:37.349Z] 4872d77fe225: Waiting [2023-09-23T18:41:37.349Z] e2be974225ed: Verifying Checksum [2023-09-23T18:41:37.349Z] e2be974225ed: Download complete [2023-09-23T18:41:37.349Z] 988bab9f4d93: Verifying Checksum [2023-09-23T18:41:37.349Z] 988bab9f4d93: Download complete [2023-09-23T18:41:37.349Z] 1469e6f7b9e6: Verifying Checksum [2023-09-23T18:41:37.349Z] 1469e6f7b9e6: Download complete [2023-09-23T18:41:37.349Z] 339a4e72a1f5: Verifying Checksum [2023-09-23T18:41:37.349Z] 339a4e72a1f5: Download complete [2023-09-23T18:41:37.608Z] eaf3925da568: Verifying Checksum [2023-09-23T18:41:37.608Z] eaf3925da568: Download complete [2023-09-23T18:41:37.608Z] bde34c3a00c8: Verifying Checksum [2023-09-23T18:41:37.608Z] bde34c3a00c8: Download complete [2023-09-23T18:41:37.608Z] b352a97aabf1: Download complete [2023-09-23T18:41:37.608Z] 4872d77fe225: Verifying Checksum [2023-09-23T18:41:37.608Z] 4872d77fe225: Download complete [2023-09-23T18:41:37.608Z] 5851b861e8e6: Download complete [2023-09-23T18:41:37.608Z] b85a868b505f: Verifying Checksum [2023-09-23T18:41:37.608Z] b85a868b505f: Download complete [2023-09-23T18:41:37.867Z] bab4dde63d76: Verifying Checksum [2023-09-23T18:41:37.867Z] bab4dde63d76: Download complete [2023-09-23T18:41:38.805Z] b85a868b505f: Pull complete [2023-09-23T18:41:39.063Z] e2be974225ed: Pull complete [2023-09-23T18:41:39.323Z] 339a4e72a1f5: Pull complete [2023-09-23T18:41:39.323Z] 988bab9f4d93: Pull complete [2023-09-23T18:41:39.934Z] 1469e6f7b9e6: Pull complete [2023-09-23T18:41:39.934Z] eaf3925da568: Pull complete [2023-09-23T18:41:41.846Z] bab4dde63d76: Pull complete [2023-09-23T18:41:41.846Z] bde34c3a00c8: Pull complete [2023-09-23T18:41:41.846Z] b352a97aabf1: Pull complete [2023-09-23T18:41:41.846Z] 4872d77fe225: Pull complete [2023-09-23T18:41:41.846Z] 5851b861e8e6: Pull complete [2023-09-23T18:41:41.846Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-23T18:41:41.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-23T18:41:41.846Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T18:41:41.936Z] prd-ubuntu20.04-docker-8c-8g-7710 does not seem to be running inside a container [2023-09-23T18:41:41.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-23T18:41:44.865Z] $ docker top af612957044a7969015ae818215055895ca14bf4740aa8d22ee5152799d0d0ac -eo pid,comm [2023-09-23T18:41:44.920Z] 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-09-23T18:41:44.920Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-23T18:41:45.009Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T18:41:45.009Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T18:41:45.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T18:41:45.119Z] $ docker exec af612957044a7969015ae818215055895ca14bf4740aa8d22ee5152799d0d0ac ssh-agent [2023-09-23T18:41:45.229Z] SSH_AUTH_SOCK=/tmp/ssh-WHg1T3jmcSVB/agent.32 [2023-09-23T18:41:45.229Z] SSH_AGENT_PID=38 [2023-09-23T18:41:45.236Z] Running ssh-add (command line suppressed) [2023-09-23T18:41:45.335Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_9453194713321838753.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_9453194713321838753.key) [2023-09-23T18:41:45.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T18:41:45.634Z] + git tag --points-at HEAD [Pipeline] } [2023-09-23T18:41:45.651Z] $ docker exec --env ******** --env ******** af612957044a7969015ae818215055895ca14bf4740aa8d22ee5152799d0d0ac ssh-agent -k [2023-09-23T18:41:45.752Z] unset SSH_AUTH_SOCK; [2023-09-23T18:41:45.753Z] unset SSH_AGENT_PID; [2023-09-23T18:41:45.753Z] echo Agent pid 38 killed; [2023-09-23T18:41:45.762Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-23T18:41:45.788Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-23T18:41:45.788Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-23T18:41:45.902Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-23T18:41:45.904Z] $ docker exec af612957044a7969015ae818215055895ca14bf4740aa8d22ee5152799d0d0ac ssh-agent [2023-09-23T18:41:46.019Z] SSH_AUTH_SOCK=/tmp/ssh-TH4Z8xt6hupe/agent.70 [2023-09-23T18:41:46.019Z] SSH_AGENT_PID=76 [2023-09-23T18:41:46.024Z] Running ssh-add (command line suppressed) [2023-09-23T18:41:46.115Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_477976272368561465.key (/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/private_key_477976272368561465.key) [2023-09-23T18:41:46.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-23T18:41:46.412Z] + git semver init [2023-09-23T18:41:46.671Z] 2023-09-23 18:41:46,607 [run_init] DEBUG init version:0.0.0 force:False [2023-09-23T18:41:46.671Z] 2023-09-23 18:41:46,608 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver [2023-09-23T18:41:46.671Z] 2023-09-23 18:41:46,608 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver [2023-09-23T18:41:46.671Z] 2023-09-23 18:41:46,608 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515, universal_newlines=False, shell=None, istream=None) [2023-09-23T18:41:47.609Z] 2023-09-23 18:41:47,565 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.git/info/exclude [2023-09-23T18:41:47.609Z] 2023-09-23 18:41:47,566 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 with force:False [2023-09-23T18:41:47.609Z] 2023-09-23 18:41:47,566 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-23T18:41:47.609Z] 2023-09-23 18:41:47,570 [execute] INFO git cat-file --batch-check [2023-09-23T18:41:47.609Z] 2023-09-23 18:41:47,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) [2023-09-23T18:41:47.609Z] 2023-09-23 18:41:47,577 [execute] INFO git cat-file --batch [2023-09-23T18:41:47.609Z] 2023-09-23 18:41:47,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver, universal_newlines=False, shell=None, istream=) [2023-09-23T18:41:47.609Z] 2023-09-23 18:41:47,582 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1515/.semver/PR-1515 [2023-09-23T18:41:47.609Z] 0.0.0 [Pipeline] } [2023-09-23T18:41:47.617Z] $ docker exec --env ******** --env ******** af612957044a7969015ae818215055895ca14bf4740aa8d22ee5152799d0d0ac ssh-agent -k [2023-09-23T18:41:47.714Z] unset SSH_AUTH_SOCK; [2023-09-23T18:41:47.714Z] unset SSH_AGENT_PID; [2023-09-23T18:41:47.714Z] echo Agent pid 76 killed; [2023-09-23T18:41:47.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-23T18:41:48.025Z] + git semver [Pipeline] } [2023-09-23T18:41:48.295Z] $ docker stop --time=1 af612957044a7969015ae818215055895ca14bf4740aa8d22ee5152799d0d0ac [2023-09-23T18:41:49.558Z] $ docker rm -f --volumes af612957044a7969015ae818215055895ca14bf4740aa8d22ee5152799d0d0ac [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T18:41:49.893Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-23T18:41:50.085Z] Stashed 1 file(s) [Pipeline] echo [2023-09-23T18:41:50.087Z] [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-09-23T18:41:50.245Z] provisioning config files... [2023-09-23T18:41:50.256Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config16176094942616290193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:41:50.550Z] ---> docker-login.sh [2023-09-23T18:41:50.550Z] nexus3.edgexfoundry.org:10001 [2023-09-23T18:41:50.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:41:50.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:41:50.550Z] Configure a credential helper to remove this warning. See [2023-09-23T18:41:50.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:41:50.551Z] [2023-09-23T18:41:50.551Z] Login Succeeded [2023-09-23T18:41:50.551Z] nexus3.edgexfoundry.org:10002 [2023-09-23T18:41:50.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:41:50.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:41:50.551Z] Configure a credential helper to remove this warning. See [2023-09-23T18:41:50.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:41:50.551Z] [2023-09-23T18:41:50.551Z] Login Succeeded [2023-09-23T18:41:50.551Z] nexus3.edgexfoundry.org:10003 [2023-09-23T18:41:50.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:41:50.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:41:50.810Z] Configure a credential helper to remove this warning. See [2023-09-23T18:41:50.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:41:50.810Z] [2023-09-23T18:41:50.810Z] Login Succeeded [2023-09-23T18:41:50.810Z] nexus3.edgexfoundry.org:10004 [2023-09-23T18:41:50.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:41:50.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:41:50.810Z] Configure a credential helper to remove this warning. See [2023-09-23T18:41:50.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:41:50.810Z] [2023-09-23T18:41:50.810Z] Login Succeeded [2023-09-23T18:41:50.810Z] docker.io [2023-09-23T18:41:50.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:41:51.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:41:51.070Z] Configure a credential helper to remove this warning. See [2023-09-23T18:41:51.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:41:51.070Z] [2023-09-23T18:41:51.070Z] Login Succeeded [2023-09-23T18:41:51.070Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T18:41:51.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-23T18:41:51.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T18:41:51.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T18:41:51.159Z] ========================================================= [2023-09-23T18:41:51.159Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-23T18:41:51.159Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:41:51.466Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-23T18:41:51.466Z] Sending build context to Docker daemon 11.25MB [2023-09-23T18:41:51.466Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T18:41:51.466Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-23T18:41:51.466Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-23T18:41:51.466Z] 7264a8db6415: Pulling fs layer [2023-09-23T18:41:51.466Z] c4d48a809fc2: Pulling fs layer [2023-09-23T18:41:51.466Z] 4f1c88b9dad5: Pulling fs layer [2023-09-23T18:41:51.466Z] ad3a456e5733: Pulling fs layer [2023-09-23T18:41:51.466Z] 33e27b845d1e: Pulling fs layer [2023-09-23T18:41:51.466Z] c68163c4e522: Pulling fs layer [2023-09-23T18:41:51.466Z] 50da416c3ac9: Pulling fs layer [2023-09-23T18:41:51.466Z] 23d2d4c4bb30: Pulling fs layer [2023-09-23T18:41:51.466Z] ad3a456e5733: Waiting [2023-09-23T18:41:51.466Z] 33e27b845d1e: Waiting [2023-09-23T18:41:51.466Z] c68163c4e522: Waiting [2023-09-23T18:41:51.466Z] 23d2d4c4bb30: Waiting [2023-09-23T18:41:51.725Z] c4d48a809fc2: Download complete [2023-09-23T18:41:51.725Z] ad3a456e5733: Verifying Checksum [2023-09-23T18:41:51.725Z] ad3a456e5733: Download complete [2023-09-23T18:41:51.725Z] 33e27b845d1e: Download complete [2023-09-23T18:41:51.725Z] 7264a8db6415: Verifying Checksum [2023-09-23T18:41:51.725Z] 7264a8db6415: Download complete [2023-09-23T18:41:51.725Z] c68163c4e522: Verifying Checksum [2023-09-23T18:41:51.725Z] c68163c4e522: Download complete [2023-09-23T18:41:51.725Z] 7264a8db6415: Pull complete [2023-09-23T18:41:51.982Z] 23d2d4c4bb30: Verifying Checksum [2023-09-23T18:41:51.982Z] 23d2d4c4bb30: Download complete [2023-09-23T18:41:51.982Z] c4d48a809fc2: Pull complete [2023-09-23T18:41:51.982Z] 4f1c88b9dad5: Verifying Checksum [2023-09-23T18:41:51.982Z] 4f1c88b9dad5: Download complete [2023-09-23T18:41:52.240Z] 50da416c3ac9: Verifying Checksum [2023-09-23T18:41:52.240Z] 50da416c3ac9: Download complete [2023-09-23T18:41:55.520Z] 4f1c88b9dad5: Pull complete [2023-09-23T18:41:55.520Z] ad3a456e5733: Pull complete [2023-09-23T18:41:55.520Z] 33e27b845d1e: Pull complete [2023-09-23T18:41:55.520Z] c68163c4e522: Pull complete [2023-09-23T18:41:57.420Z] 50da416c3ac9: Pull complete [2023-09-23T18:41:57.988Z] 23d2d4c4bb30: Pull complete [2023-09-23T18:41:57.988Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-23T18:41:57.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-23T18:41:57.988Z] ---> 0786185ac409 [2023-09-23T18:41:57.988Z] Step 3/10 : ARG MAKE=make build [2023-09-23T18:42:04.577Z] ---> Running in becccaeb1281 [2023-09-23T18:42:04.577Z] Removing intermediate container becccaeb1281 [2023-09-23T18:42:04.577Z] ---> 47b9bfed257f [2023-09-23T18:42:04.577Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-23T18:42:04.577Z] ---> Running in 4d2f946b2090 [2023-09-23T18:42:04.577Z] Removing intermediate container 4d2f946b2090 [2023-09-23T18:42:04.577Z] ---> 14437bf90a14 [2023-09-23T18:42:04.577Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-23T18:42:04.577Z] ---> Running in 651056fee499 [2023-09-23T18:42:04.577Z] Removing intermediate container 651056fee499 [2023-09-23T18:42:04.577Z] ---> 67bb85491474 [2023-09-23T18:42:04.577Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-23T18:42:04.577Z] ---> Running in 5e66be2817ba [2023-09-23T18:42:04.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T18:42:04.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-23T18:42:05.097Z] OK: 264 MiB in 52 packages [2023-09-23T18:42:05.194Z] Still waiting to schedule task [2023-09-23T18:42:05.194Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-23T18:42:05.357Z] Removing intermediate container 5e66be2817ba [2023-09-23T18:42:05.357Z] ---> 432997f1b909 [2023-09-23T18:42:05.357Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-23T18:42:05.616Z] ---> fb0818aeeef0 [2023-09-23T18:42:05.616Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T18:42:05.616Z] ---> Running in c334b9695522 [2023-09-23T18:43:13.902Z] Removing intermediate container c334b9695522 [2023-09-23T18:43:13.902Z] ---> 23fc626c9825 [2023-09-23T18:43:13.902Z] Step 9/10 : COPY . . [2023-09-23T18:43:13.902Z] ---> a6e09c3f05ac [2023-09-23T18:43:13.902Z] Step 10/10 : RUN ${MAKE} [2023-09-23T18:43:13.902Z] ---> Running in 3b4abd8aa055 [2023-09-23T18:43:13.902Z] noop [2023-09-23T18:43:13.902Z] Removing intermediate container 3b4abd8aa055 [2023-09-23T18:43:13.902Z] ---> 34c382dffe9d [2023-09-23T18:43:13.902Z] Successfully built 34c382dffe9d [2023-09-23T18:43:13.902Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:43:14.220Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-23T18:43:14.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T18:43:14.295Z] prd-ubuntu20.04-docker-8c-8g-7710 does not seem to be running inside a container [2023-09-23T18:43:14.322Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@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 ******** ci-base-image-x86_64 cat [2023-09-23T18:43:14.746Z] $ docker top 0e4b34f3af352cb26321bf64cd89b70d5b72fafa9ba8c31dba319f03367331e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T18:43:15.091Z] + go version [2023-09-23T18:43:15.091Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-23T18:43:15.101Z] $ docker stop --time=1 0e4b34f3af352cb26321bf64cd89b70d5b72fafa9ba8c31dba319f03367331e3 [2023-09-23T18:43:16.362Z] $ docker rm -f --volumes 0e4b34f3af352cb26321bf64cd89b70d5b72fafa9ba8c31dba319f03367331e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:43:16.751Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-23T18:43:16.751Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T18:43:16.817Z] prd-ubuntu20.04-docker-8c-8g-7710 does not seem to be running inside a container [2023-09-23T18:43:16.838Z] $ 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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@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 ******** ci-base-image-x86_64 cat [2023-09-23T18:43:17.171Z] $ docker top a6bd78578eeee311bc0a0ddab801be2ee1b4f1bb210e5d7d638546038b2ee0c3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T18:43:17.512Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] fileExists [Pipeline] sh [2023-09-23T18:43:17.805Z] + make test [2023-09-23T18:43:17.806Z] go test -race -coverprofile=coverage.out ./... [2023-09-23T18:43:24.362Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-23T18:43:36.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-23T18:43:36.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-23T18:43:36.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-23T18:43:36.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-23T18:43:36.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-23T18:43:37.489Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-23T18:43:37.489Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-23T18:43:38.425Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.086s coverage: 27.6% of statements [2023-09-23T18:43:38.425Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-23T18:43:38.425Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.050s coverage: 80.0% of statements [2023-09-23T18:43:38.425Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.061s coverage: 86.0% of statements [2023-09-23T18:43:39.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-23T18:43:39.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-23T18:43:39.356Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 71.8% of statements [2023-09-23T18:43:39.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-23T18:43:42.900Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.048s coverage: 14.4% of statements [2023-09-23T18:43:42.900Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.886s coverage: 45.9% of statements [2023-09-23T18:43:42.900Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements [2023-09-23T18:43:42.900Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.090s coverage: 89.2% of statements [2023-09-23T18:43:42.900Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.048s coverage: 5.5% of statements [2023-09-23T18:43:55.950Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7711 in /w/workspace/gexfoundry_device-sdk-go_PR-1515 [Pipeline] { [Pipeline] ws [2023-09-23T18:43:55.964Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2023-09-23T18:43:56.001Z] The recommended git tool is: git [2023-09-23T18:44:00.965Z] GO111MODULE=on go vet ./... [2023-09-23T18:44:01.026Z] using credential edgex-jenkins-ssh [2023-09-23T18:44:01.043Z] Cloning the remote Git repository [2023-09-23T18:44:01.532Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-23T18:44:01.532Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-23T18:44:01.791Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-23T18:44:01.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-23T18:44:01.815Z] $ docker stop --time=1 a6bd78578eeee311bc0a0ddab801be2ee1b4f1bb210e5d7d638546038b2ee0c3 [2023-09-23T18:44:01.086Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-23T18:44:01.181Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2023-09-23T18:44:01.312Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-23T18:44:01.313Z] > git --version # timeout=10 [2023-09-23T18:44:01.341Z] > git --version # 'git version 2.25.1' [2023-09-23T18:44:01.343Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-23T18:44:01.505Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-23T18:44:03.080Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-23T18:44:03.113Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-23T18:44:04.614Z] Merging remotes/origin/main commit afe3ff62d3fd920c33d9e36f21752c88d9373351 into PR head commit af69577eb0e115ca7ea0ed95f3f7d03ef838ca86 [2023-09-23T18:44:03.941Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-23T18:44:03.983Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-23T18:44:03.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-23T18:44:04.000Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1515/head:refs/remotes/origin/PR-1515 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-23T18:44:04.634Z] > git config core.sparsecheckout # timeout=10 [2023-09-23T18:44:04.709Z] > git checkout -f af69577eb0e115ca7ea0ed95f3f7d03ef838ca86 # timeout=10 [2023-09-23T18:44:04.811Z] > git remote # timeout=10 [2023-09-23T18:44:04.826Z] > git config --get remote.origin.url # timeout=10 [2023-09-23T18:44:04.973Z] Merge succeeded, producing 556a56c75b5b6b374e665f4b95d06394974b2d72 [2023-09-23T18:44:04.973Z] Checking out Revision 556a56c75b5b6b374e665f4b95d06394974b2d72 (PR-1515) [2023-09-23T18:44:06.005Z] $ docker rm -f --volumes a6bd78578eeee311bc0a0ddab801be2ee1b4f1bb210e5d7d638546038b2ee0c3 [2023-09-23T18:44:04.851Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-23T18:44:04.864Z] > git merge afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 [2023-09-23T18:44:04.956Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-23T18:44:04.981Z] > git config core.sparsecheckout # timeout=10 [2023-09-23T18:44:04.993Z] > git checkout -f 556a56c75b5b6b374e665f4b95d06394974b2d72 # timeout=10 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T18:44:06.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-23T18:44:06.602Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-23T18:44:07.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-23T18:44:07.431Z] + ls -al . [2023-09-23T18:44:07.432Z] total 304 [2023-09-23T18:44:07.432Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 23 18:43 . [2023-09-23T18:44:07.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:41 .. [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 23 18:41 .dockerignore [2023-09-23T18:44:07.432Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 18:43 .git [2023-09-23T18:44:07.432Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 18:41 .github [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 23 18:41 .gitignore [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 23 18:41 .golangci.yml [2023-09-23T18:44:07.432Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 18:41 .semver [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 23 18:41 CHANGELOG.md [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 18:41 GOVERNANCE.md [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 23 18:41 Jenkinsfile [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 23 18:41 LICENSE [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 23 18:41 Makefile [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 23 18:41 OWNERS.md [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 23 18:41 README.md [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 18:41 VERSION [2023-09-23T18:44:07.432Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:41 bin [2023-09-23T18:44:07.432Z] -rw-r--r-- 1 jenkins jenkins 122407 Sep 23 18:43 coverage.out [2023-09-23T18:44:07.432Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 23 18:41 example [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 23 18:41 go.mod [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 23 18:41 go.sum [2023-09-23T18:44:07.432Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 23 18:41 internal [2023-09-23T18:44:07.432Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 18:41 openapi [2023-09-23T18:44:07.432Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 23 18:41 pkg [2023-09-23T18:44:07.432Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:41 snap [2023-09-23T18:44:07.432Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 23 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:44:07.818Z] + 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=72560493bb01140835d359a1f4dfb636202e3727 --label arch=amd64 --label version=0.0.0 . [2023-09-23T18:44:07.818Z] Sending build context to Docker daemon 11.38MB [2023-09-23T18:44:07.818Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T18:44:07.818Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-23T18:44:07.818Z] ---> 34c382dffe9d [2023-09-23T18:44:07.818Z] Step 3/23 : ARG MAKE=make build [2023-09-23T18:44:08.078Z] ---> Running in ad250ca344f0 [2023-09-23T18:44:08.078Z] Removing intermediate container ad250ca344f0 [2023-09-23T18:44:08.078Z] ---> 017a0017c370 [2023-09-23T18:44:08.078Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-23T18:44:08.078Z] ---> Running in ac6ee3c7a776 [2023-09-23T18:44:08.336Z] Removing intermediate container ac6ee3c7a776 [2023-09-23T18:44:08.336Z] ---> 26e649dd99dd [2023-09-23T18:44:08.336Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-23T18:44:08.336Z] ---> Running in 5160d4659692 [2023-09-23T18:44:08.336Z] Removing intermediate container 5160d4659692 [2023-09-23T18:44:08.336Z] ---> 78ba446bbbf2 [2023-09-23T18:44:08.336Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-23T18:44:08.336Z] ---> Running in edb16996b6a4 [2023-09-23T18:44:08.486Z] Commit message: "Merge commit 'afe3ff62d3fd920c33d9e36f21752c88d9373351' into HEAD" [2023-09-23T18:44:08.512Z] First time build. Skipping changelog. [2023-09-23T18:44:08.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T18:44:08.853Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T18:44:09.110Z] OK: 264 MiB in 52 packages [2023-09-23T18:44:08.495Z] > git rev-list --no-walk 0cfc8f5b1fb7192e439ef60eb38dab717ba99ed4 # timeout=10 [2023-09-23T18:44:09.371Z] Removing intermediate container edb16996b6a4 [2023-09-23T18:44:09.371Z] ---> a44beeb1c99d [2023-09-23T18:44:09.371Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-23T18:44:09.413Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-23T18:44:09.413Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-23T18:44:09.413Z] Dload Upload Total Spent Left Speed [2023-09-23T18:44:09.413Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [2023-09-23T18:44:09.628Z] ---> 1cfc6476468d [2023-09-23T18:44:09.628Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T18:44:09.628Z] ---> Running in e45f6ca989c3 [Pipeline] sh [2023-09-23T18:44:10.144Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-23T18:44:10.193Z] Removing intermediate container e45f6ca989c3 [2023-09-23T18:44:10.193Z] ---> 28f7d7a134fc [2023-09-23T18:44:10.193Z] Step 9/23 : COPY . . [2023-09-23T18:44:10.471Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-23T18:44:10.471Z] + sudo tee /etc/docker/daemon.new [2023-09-23T18:44:10.471Z] { [2023-09-23T18:44:10.471Z] "registry-mirrors": [ [2023-09-23T18:44:10.471Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-23T18:44:10.471Z] ], [2023-09-23T18:44:10.471Z] "bip": "10.250.0.254/24", [2023-09-23T18:44:10.471Z] "hosts": [ [2023-09-23T18:44:10.471Z] "tcp://0.0.0.0:5555", [2023-09-23T18:44:10.471Z] "unix:///var/run/docker.sock" [2023-09-23T18:44:10.471Z] ], [2023-09-23T18:44:10.471Z] "mtu": 1458, [2023-09-23T18:44:10.471Z] "selinux-enabled": true, [2023-09-23T18:44:10.471Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-23T18:44:10.471Z] } [Pipeline] sh [2023-09-23T18:44:10.802Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-23T18:44:10.950Z] ---> 3d1035ee2f31 [2023-09-23T18:44:10.950Z] Step 10/23 : RUN ${MAKE} [2023-09-23T18:44:10.950Z] ---> Running in 1b3d91485d3d [2023-09-23T18:44:11.125Z] + sudo service docker restart [2023-09-23T18:44:11.209Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T18:44:29.391Z] provisioning config files... [2023-09-23T18:44:29.412Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config7020992984223317855tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:44:29.759Z] ---> docker-login.sh [2023-09-23T18:44:29.759Z] nexus3.edgexfoundry.org:10001 [2023-09-23T18:44:30.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:44:30.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:44:30.300Z] Configure a credential helper to remove this warning. See [2023-09-23T18:44:30.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:44:30.300Z] [2023-09-23T18:44:30.300Z] Login Succeeded [2023-09-23T18:44:30.300Z] nexus3.edgexfoundry.org:10002 [2023-09-23T18:44:30.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:44:30.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:44:30.569Z] Configure a credential helper to remove this warning. See [2023-09-23T18:44:30.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:44:30.569Z] [2023-09-23T18:44:30.569Z] Login Succeeded [2023-09-23T18:44:30.840Z] nexus3.edgexfoundry.org:10003 [2023-09-23T18:44:30.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:44:31.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:44:31.109Z] Configure a credential helper to remove this warning. See [2023-09-23T18:44:31.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:44:31.109Z] [2023-09-23T18:44:31.109Z] Login Succeeded [2023-09-23T18:44:31.109Z] nexus3.edgexfoundry.org:10004 [2023-09-23T18:44:31.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:44:31.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:44:31.380Z] Configure a credential helper to remove this warning. See [2023-09-23T18:44:31.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:44:31.380Z] [2023-09-23T18:44:31.380Z] Login Succeeded [2023-09-23T18:44:31.380Z] docker.io [2023-09-23T18:44:31.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-23T18:44:31.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-23T18:44:31.917Z] Configure a credential helper to remove this warning. See [2023-09-23T18:44:31.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-23T18:44:31.917Z] [2023-09-23T18:44:31.917Z] Login Succeeded [2023-09-23T18:44:31.917Z] ---> docker-login.sh ends [Pipeline] } [2023-09-23T18:44:31.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-23T18:44:32.192Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T18:44:32.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-23T18:44:32.222Z] ========================================================= [2023-09-23T18:44:32.222Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-23T18:44:32.222Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:44:32.577Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-23T18:44:32.848Z] Sending build context to Docker daemon 6.046MB [2023-09-23T18:44:32.848Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T18:44:32.848Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-23T18:44:33.121Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-23T18:44:33.121Z] 9fda8d8052c6: Pulling fs layer [2023-09-23T18:44:33.121Z] 5d54e960e981: Pulling fs layer [2023-09-23T18:44:33.121Z] c4a7e357bf2a: Pulling fs layer [2023-09-23T18:44:33.121Z] f0e02332f6b5: Pulling fs layer [2023-09-23T18:44:33.121Z] cefa15bbcfad: Pulling fs layer [2023-09-23T18:44:33.121Z] 17808c966233: Pulling fs layer [2023-09-23T18:44:33.121Z] f4c1fc716caa: Pulling fs layer [2023-09-23T18:44:33.121Z] cefa15bbcfad: Waiting [2023-09-23T18:44:33.121Z] f0e02332f6b5: Waiting [2023-09-23T18:44:33.121Z] 17808c966233: Waiting [2023-09-23T18:44:33.121Z] f4c1fc716caa: Waiting [2023-09-23T18:44:33.121Z] 5d54e960e981: Verifying Checksum [2023-09-23T18:44:33.121Z] 5d54e960e981: Download complete [2023-09-23T18:44:33.121Z] f0e02332f6b5: Verifying Checksum [2023-09-23T18:44:33.121Z] f0e02332f6b5: Download complete [2023-09-23T18:44:33.121Z] cefa15bbcfad: Verifying Checksum [2023-09-23T18:44:33.121Z] cefa15bbcfad: Download complete [2023-09-23T18:44:33.121Z] 9fda8d8052c6: Verifying Checksum [2023-09-23T18:44:33.121Z] 9fda8d8052c6: Download complete [2023-09-23T18:44:33.156Z] Removing intermediate container 1b3d91485d3d [2023-09-23T18:44:33.156Z] ---> 30011d4986d9 [2023-09-23T18:44:33.156Z] Step 11/23 : FROM alpine:3.18 [2023-09-23T18:44:33.713Z] f4c1fc716caa: Verifying Checksum [2023-09-23T18:44:33.713Z] f4c1fc716caa: Download complete [2023-09-23T18:44:33.721Z] 3.18: Pulling from library/alpine [2023-09-23T18:44:33.721Z] 7264a8db6415: Already exists [2023-09-23T18:44:33.980Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-23T18:44:33.980Z] Status: Downloaded newer image for alpine:3.18 [2023-09-23T18:44:33.980Z] ---> 7e01a0d0a1dc [2023-09-23T18:44:33.980Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-23T18:44:33.980Z] ---> Running in 9b57308b91d8 [2023-09-23T18:44:33.980Z] Removing intermediate container 9b57308b91d8 [2023-09-23T18:44:33.980Z] ---> 4389cefc2c1e [2023-09-23T18:44:33.980Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-23T18:44:33.980Z] ---> Running in e1f3ff4677be [2023-09-23T18:44:33.996Z] 9fda8d8052c6: Pull complete [2023-09-23T18:44:34.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-23T18:44:34.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-23T18:44:34.498Z] OK: 7 MiB in 15 packages [2023-09-23T18:44:34.756Z] Removing intermediate container e1f3ff4677be [2023-09-23T18:44:34.756Z] ---> 9e98136e3573 [2023-09-23T18:44:34.756Z] Step 14/23 : WORKDIR / [2023-09-23T18:44:34.966Z] 5d54e960e981: Pull complete [2023-09-23T18:44:34.966Z] c4a7e357bf2a: Verifying Checksum [2023-09-23T18:44:34.966Z] c4a7e357bf2a: Download complete [2023-09-23T18:44:35.014Z] ---> Running in d4d36f40465a [2023-09-23T18:44:35.015Z] Removing intermediate container d4d36f40465a [2023-09-23T18:44:35.015Z] ---> c54f453d8e4f [2023-09-23T18:44:35.015Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-23T18:44:35.015Z] ---> a2581776f2fc [2023-09-23T18:44:35.015Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-23T18:44:35.944Z] 17808c966233: Verifying Checksum [2023-09-23T18:44:35.944Z] 17808c966233: Download complete [2023-09-23T18:44:35.947Z] ---> cd08d9bf9870 [2023-09-23T18:44:35.948Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-23T18:44:36.207Z] ---> 370041c807cc [2023-09-23T18:44:36.207Z] Step 18/23 : EXPOSE 59999 [2023-09-23T18:44:36.207Z] ---> Running in 06a4b2df1394 [2023-09-23T18:44:36.207Z] Removing intermediate container 06a4b2df1394 [2023-09-23T18:44:36.207Z] ---> 1b581990411c [2023-09-23T18:44:36.207Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-23T18:44:36.207Z] ---> Running in 92ba45ac3a2b [2023-09-23T18:44:36.207Z] Removing intermediate container 92ba45ac3a2b [2023-09-23T18:44:36.207Z] ---> d1ad38065d03 [2023-09-23T18:44:36.207Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-23T18:44:36.467Z] ---> Running in fd29882dc497 [2023-09-23T18:44:36.467Z] Removing intermediate container fd29882dc497 [2023-09-23T18:44:36.467Z] ---> 049cf21d6920 [2023-09-23T18:44:36.467Z] Step 21/23 : LABEL arch=amd64 [2023-09-23T18:44:36.467Z] ---> Running in c02d9d401ba7 [2023-09-23T18:44:36.467Z] Removing intermediate container c02d9d401ba7 [2023-09-23T18:44:36.467Z] ---> db452ae3375e [2023-09-23T18:44:36.467Z] Step 22/23 : LABEL git_sha=72560493bb01140835d359a1f4dfb636202e3727 [2023-09-23T18:44:36.467Z] ---> Running in 7bb0898df231 [2023-09-23T18:44:36.727Z] Removing intermediate container 7bb0898df231 [2023-09-23T18:44:36.727Z] ---> 6dcb66f8425d [2023-09-23T18:44:36.727Z] Step 23/23 : LABEL version=0.0.0 [2023-09-23T18:44:36.727Z] ---> Running in 4d91b4d85b34 [2023-09-23T18:44:36.727Z] Removing intermediate container 4d91b4d85b34 [2023-09-23T18:44:36.727Z] ---> 5eb1cf1f0d42 [2023-09-23T18:44:36.727Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-23T18:44:36.727Z] Successfully built 5eb1cf1f0d42 [2023-09-23T18:44:36.727Z] 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-09-23T18:44:37.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T18:44:37.194Z] [2023-09-23T18:44:37.194Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:44:37.490Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T18:44:37.490Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-23T18:44:37.490Z] 5eb5b503b376: Pulling fs layer [2023-09-23T18:44:37.490Z] 5c69ac0246d0: Pulling fs layer [2023-09-23T18:44:37.490Z] ec43610c2a17: Pulling fs layer [2023-09-23T18:44:37.490Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-23T18:44:37.490Z] 33b1e0a273af: Pulling fs layer [2023-09-23T18:44:37.490Z] 5d3b04190fa2: Pulling fs layer [2023-09-23T18:44:37.490Z] 2f39f015ded8: Pulling fs layer [2023-09-23T18:44:37.490Z] 33b1e0a273af: Waiting [2023-09-23T18:44:37.490Z] 5d3b04190fa2: Waiting [2023-09-23T18:44:37.490Z] 2f39f015ded8: Waiting [2023-09-23T18:44:37.490Z] 3a2ae6a8a46f: Waiting [2023-09-23T18:44:37.490Z] 5c69ac0246d0: Verifying Checksum [2023-09-23T18:44:37.490Z] 5c69ac0246d0: Download complete [2023-09-23T18:44:37.490Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-23T18:44:37.490Z] 3a2ae6a8a46f: Download complete [2023-09-23T18:44:37.490Z] 33b1e0a273af: Verifying Checksum [2023-09-23T18:44:37.490Z] 33b1e0a273af: Download complete [2023-09-23T18:44:37.490Z] ec43610c2a17: Verifying Checksum [2023-09-23T18:44:37.490Z] ec43610c2a17: Download complete [2023-09-23T18:44:37.490Z] 5d3b04190fa2: Verifying Checksum [2023-09-23T18:44:37.490Z] 5d3b04190fa2: Download complete [2023-09-23T18:44:37.748Z] 5eb5b503b376: Verifying Checksum [2023-09-23T18:44:37.748Z] 5eb5b503b376: Download complete [2023-09-23T18:44:38.315Z] 2f39f015ded8: Download complete [2023-09-23T18:44:38.880Z] 5eb5b503b376: Pull complete [2023-09-23T18:44:38.880Z] 5c69ac0246d0: Pull complete [2023-09-23T18:44:39.138Z] ec43610c2a17: Pull complete [2023-09-23T18:44:39.138Z] 3a2ae6a8a46f: Pull complete [2023-09-23T18:44:39.399Z] 33b1e0a273af: Pull complete [2023-09-23T18:44:39.657Z] 5d3b04190fa2: Pull complete [2023-09-23T18:44:43.845Z] 2f39f015ded8: Pull complete [2023-09-23T18:44:43.845Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-23T18:44:43.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T18:44:43.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T18:44:43.936Z] prd-ubuntu20.04-docker-8c-8g-7710 does not seem to be running inside a container [2023-09-23T18:44:43.965Z] $ 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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-23T18:44:46.043Z] c4a7e357bf2a: Pull complete [2023-09-23T18:44:46.043Z] f0e02332f6b5: Pull complete [2023-09-23T18:44:46.043Z] cefa15bbcfad: Pull complete [2023-09-23T18:44:51.644Z] $ docker top 26301ea4822ec6ed72c125094213df123a66f76857bc271713a7a0982d45949b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:44:52.036Z] ---> job-cost.sh [2023-09-23T18:44:52.037Z] lf-activate-venv: SKIPPING [2023-09-23T18:44:52.037Z] INFO: No Stack... [2023-09-23T18:44:52.296Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-23T18:44:52.554Z] INFO: Archiving Costs [Pipeline] sh [2023-09-23T18:44:52.717Z] 17808c966233: Pull complete [2023-09-23T18:44:52.840Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/cost.csv [2023-09-23T18:44:52.840Z] + cut -d, -f6 [Pipeline] lock [2023-09-23T18:44:52.854Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-5-stack-cost] [2023-09-23T18:44:52.859Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-5-stack-cost] did not exist. Created. [2023-09-23T18:44:52.860Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-23T18:44:53.168Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-23T18:44:53.201Z] Stashed 1 file(s) [Pipeline] } [2023-09-23T18:44:53.210Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-23T18:44:53.228Z] $ docker stop --time=1 26301ea4822ec6ed72c125094213df123a66f76857bc271713a7a0982d45949b [2023-09-23T18:44:54.364Z] $ docker rm -f --volumes 26301ea4822ec6ed72c125094213df123a66f76857bc271713a7a0982d45949b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-23T18:44:54.672Z] f4c1fc716caa: Pull complete [2023-09-23T18:44:54.672Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-23T18:44:54.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-23T18:44:54.672Z] ---> ea914061e18c [2023-09-23T18:44:54.672Z] Step 3/10 : ARG MAKE=make build [2023-09-23T18:44:56.086Z] ---> Running in 6a2d9447533a [2023-09-23T18:44:56.354Z] Removing intermediate container 6a2d9447533a [2023-09-23T18:44:56.355Z] ---> 9dacd6aa6d64 [2023-09-23T18:44:56.355Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-23T18:44:56.622Z] ---> Running in 289786b0b5e1 [2023-09-23T18:44:56.888Z] Removing intermediate container 289786b0b5e1 [2023-09-23T18:44:56.888Z] ---> e8b023836dd8 [2023-09-23T18:44:56.889Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-23T18:44:56.889Z] ---> Running in 61351b4da203 [2023-09-23T18:44:57.157Z] Removing intermediate container 61351b4da203 [2023-09-23T18:44:57.157Z] ---> 5e92c602a0ef [2023-09-23T18:44:57.157Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-23T18:44:57.157Z] ---> Running in b94b5f58986b [2023-09-23T18:44:58.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T18:44:58.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T18:44:59.527Z] OK: 266 MiB in 52 packages [2023-09-23T18:45:00.490Z] Removing intermediate container b94b5f58986b [2023-09-23T18:45:00.490Z] ---> f3431e0ff126 [2023-09-23T18:45:00.490Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-23T18:45:00.758Z] ---> f08db68df7a0 [2023-09-23T18:45:00.758Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T18:45:01.026Z] ---> Running in 36b35a6e9b80 [2023-09-23T18:46:08.913Z] Removing intermediate container 36b35a6e9b80 [2023-09-23T18:46:08.913Z] ---> 74c3d73fd839 [2023-09-23T18:46:08.913Z] Step 9/10 : COPY . . [2023-09-23T18:46:09.182Z] ---> 2403669d0ebc [2023-09-23T18:46:09.182Z] Step 10/10 : RUN ${MAKE} [2023-09-23T18:46:09.182Z] ---> Running in af28b36fac92 [2023-09-23T18:46:10.150Z] noop [2023-09-23T18:46:10.747Z] Removing intermediate container af28b36fac92 [2023-09-23T18:46:10.747Z] ---> 5d0a8ebaafb3 [2023-09-23T18:46:10.747Z] Successfully built 5d0a8ebaafb3 [2023-09-23T18:46:10.747Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:46:11.094Z] + docker inspect -f . ci-base-image-arm64 [2023-09-23T18:46:11.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T18:46:11.313Z] prd-ubuntu20.04-docker-arm64-4c-16g-7711 does not seem to be running inside a container [2023-09-23T18:46:11.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-23T18:46:12.554Z] $ docker top 4156624fc1f763185378f110963a339c54097b02823555a5002bdc6c4202a815 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T18:46:13.379Z] + go version [2023-09-23T18:46:13.380Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-23T18:46:13.401Z] $ docker stop --time=1 4156624fc1f763185378f110963a339c54097b02823555a5002bdc6c4202a815 [2023-09-23T18:46:17.051Z] $ docker rm -f --volumes 4156624fc1f763185378f110963a339c54097b02823555a5002bdc6c4202a815 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:46:17.563Z] + docker inspect -f . ci-base-image-arm64 [2023-09-23T18:46:17.564Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T18:46:17.742Z] prd-ubuntu20.04-docker-arm64-4c-16g-7711 does not seem to be running inside a container [2023-09-23T18:46:17.805Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-23T18:46:18.958Z] $ docker top 0cdf1c28fdfb8c8128a914085d44adddfca9436acabf2e5d87ff9738ecba7daa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T18:46:19.769Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2023-09-23T18:46:20.095Z] + make test [2023-09-23T18:46:20.096Z] go test -race -coverprofile=coverage.out ./... [2023-09-23T18:46:52.327Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-23T18:48:28.964Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-23T18:48:28.964Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-23T18:48:28.964Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-23T18:48:28.964Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-23T18:48:28.964Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-23T18:48:28.964Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.197s coverage: 27.6% of statements [2023-09-23T18:48:35.613Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.247s coverage: 80.0% of statements [2023-09-23T18:48:42.252Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-23T18:48:42.252Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-23T18:48:43.212Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.315s coverage: 86.0% of statements [2023-09-23T18:48:47.466Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-23T18:48:48.874Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.520s coverage: 71.8% of statements [2023-09-23T18:48:52.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-23T18:48:52.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-23T18:48:52.208Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.247s coverage: 14.4% of statements [2023-09-23T18:48:52.208Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.548s coverage: 45.9% of statements [2023-09-23T18:48:53.166Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.377s coverage: 68.5% of statements [2023-09-23T18:48:56.514Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.433s coverage: 89.2% of statements [2023-09-23T18:48:56.514Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-23T18:48:57.918Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.219s coverage: 5.5% of statements [2023-09-23T18:49:01.257Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-23T18:49:01.257Z] GO111MODULE=on go vet ./... [2023-09-23T18:50:38.134Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-23T18:50:38.134Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-23T18:50:38.134Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-23T18:50:38.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-23T18:50:38.169Z] $ docker stop --time=1 0cdf1c28fdfb8c8128a914085d44adddfca9436acabf2e5d87ff9738ecba7daa [2023-09-23T18:50:40.012Z] $ docker rm -f --volumes 0cdf1c28fdfb8c8128a914085d44adddfca9436acabf2e5d87ff9738ecba7daa [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-23T18:50:41.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-23T18:50:41.583Z] Warning: overwriting stash ‘coverage-report’ [2023-09-23T18:50:42.121Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-23T18:50:42.514Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-23T18:50:42.826Z] + ls -al . [2023-09-23T18:50:42.826Z] total 300 [2023-09-23T18:50:42.826Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 18:46 . [2023-09-23T18:50:42.826Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:44 .. [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 23 18:44 .dockerignore [2023-09-23T18:50:42.826Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 18:44 .git [2023-09-23T18:50:42.826Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 18:44 .github [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 23 18:44 .gitignore [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 23 18:44 .golangci.yml [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 23 18:44 CHANGELOG.md [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 18:44 GOVERNANCE.md [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 23 18:44 Jenkinsfile [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 23 18:44 LICENSE [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 23 18:44 Makefile [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 23 18:44 OWNERS.md [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 23 18:44 README.md [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 23 18:41 VERSION [2023-09-23T18:50:42.826Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 18:44 bin [2023-09-23T18:50:42.826Z] -rw-r--r-- 1 jenkins jenkins 122406 Sep 23 18:48 coverage.out [2023-09-23T18:50:42.826Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 23 18:44 example [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 23 18:44 go.mod [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 23 18:44 go.sum [2023-09-23T18:50:42.826Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 23 18:44 internal [2023-09-23T18:50:42.826Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 18:44 openapi [2023-09-23T18:50:42.826Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 23 18:44 pkg [2023-09-23T18:50:42.826Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 18:44 snap [2023-09-23T18:50:42.826Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 23 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:50:43.164Z] + 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=556a56c75b5b6b374e665f4b95d06394974b2d72 --label arch=arm64 --label version=0.0.0 . [2023-09-23T18:50:43.432Z] Sending build context to Docker daemon 6.169MB [2023-09-23T18:50:43.699Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-23T18:50:43.699Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-23T18:50:43.699Z] ---> 5d0a8ebaafb3 [2023-09-23T18:50:43.699Z] Step 3/23 : ARG MAKE=make build [2023-09-23T18:50:43.699Z] ---> Running in e9a1fb4ea1fe [2023-09-23T18:50:43.967Z] Removing intermediate container e9a1fb4ea1fe [2023-09-23T18:50:43.967Z] ---> 3c1fa88b8bdb [2023-09-23T18:50:43.967Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-23T18:50:43.967Z] ---> Running in 9346a9896ce0 [2023-09-23T18:50:44.235Z] Removing intermediate container 9346a9896ce0 [2023-09-23T18:50:44.235Z] ---> fc77d4ec172d [2023-09-23T18:50:44.235Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-23T18:50:44.504Z] ---> Running in b4ec54e69484 [2023-09-23T18:50:44.771Z] Removing intermediate container b4ec54e69484 [2023-09-23T18:50:44.771Z] ---> 609455dbbdae [2023-09-23T18:50:44.771Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-23T18:50:44.771Z] ---> Running in 2b20b5619d69 [2023-09-23T18:50:45.732Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T18:50:45.999Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T18:50:46.960Z] OK: 266 MiB in 52 packages [2023-09-23T18:50:49.534Z] Removing intermediate container 2b20b5619d69 [2023-09-23T18:50:49.534Z] ---> d8d045f7ebef [2023-09-23T18:50:49.534Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-23T18:50:50.118Z] ---> cfc49ca826d9 [2023-09-23T18:50:50.118Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-23T18:50:50.118Z] ---> Running in 94f1b36e9784 [2023-09-23T18:50:52.063Z] Removing intermediate container 94f1b36e9784 [2023-09-23T18:50:52.063Z] ---> 8f50947532a8 [2023-09-23T18:50:52.063Z] Step 9/23 : COPY . . [2023-09-23T18:50:53.473Z] ---> c79fcfe54d0b [2023-09-23T18:50:53.473Z] Step 10/23 : RUN ${MAKE} [2023-09-23T18:50:53.473Z] ---> Running in 64d73306ae5c [2023-09-23T18:50:54.433Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-23T18:52:31.041Z] Removing intermediate container 64d73306ae5c [2023-09-23T18:52:31.041Z] ---> c4324af6d127 [2023-09-23T18:52:31.041Z] Step 11/23 : FROM alpine:3.18 [2023-09-23T18:52:31.620Z] 3.18: Pulling from library/alpine [2023-09-23T18:52:31.886Z] 9fda8d8052c6: Already exists [2023-09-23T18:52:31.886Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-23T18:52:32.154Z] Status: Downloaded newer image for alpine:3.18 [2023-09-23T18:52:32.154Z] ---> f6648c04cd6c [2023-09-23T18:52:32.154Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-23T18:52:32.154Z] ---> Running in fc8db52e24d6 [2023-09-23T18:52:32.421Z] Removing intermediate container fc8db52e24d6 [2023-09-23T18:52:32.421Z] ---> 3c3215a89a17 [2023-09-23T18:52:32.421Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-23T18:52:32.421Z] ---> Running in ad9e3ba086ad [2023-09-23T18:52:33.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-23T18:52:33.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-23T18:52:35.057Z] OK: 8 MiB in 15 packages [2023-09-23T18:52:35.641Z] Removing intermediate container ad9e3ba086ad [2023-09-23T18:52:35.641Z] ---> 1e71213e1363 [2023-09-23T18:52:35.641Z] Step 14/23 : WORKDIR / [2023-09-23T18:52:35.641Z] ---> Running in e6bb88076e37 [2023-09-23T18:52:35.908Z] Removing intermediate container e6bb88076e37 [2023-09-23T18:52:35.908Z] ---> 08d10208ab0a [2023-09-23T18:52:35.908Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-23T18:52:36.492Z] ---> ef23d50126a8 [2023-09-23T18:52:36.492Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-23T18:52:37.900Z] ---> a3d168efb492 [2023-09-23T18:52:37.900Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-23T18:52:38.168Z] ---> 8b8af4d72997 [2023-09-23T18:52:38.168Z] Step 18/23 : EXPOSE 59999 [2023-09-23T18:52:38.439Z] ---> Running in b664fe09be3b [2023-09-23T18:52:38.439Z] Removing intermediate container b664fe09be3b [2023-09-23T18:52:38.439Z] ---> 59b2d4f58963 [2023-09-23T18:52:38.439Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-23T18:52:38.706Z] ---> Running in d032aed1b265 [2023-09-23T18:52:38.972Z] Removing intermediate container d032aed1b265 [2023-09-23T18:52:38.972Z] ---> 7718a6659c13 [2023-09-23T18:52:38.972Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-23T18:52:38.972Z] ---> Running in e8333a59e860 [2023-09-23T18:52:39.240Z] Removing intermediate container e8333a59e860 [2023-09-23T18:52:39.240Z] ---> d44240537dc7 [2023-09-23T18:52:39.240Z] Step 21/23 : LABEL arch=arm64 [2023-09-23T18:52:39.240Z] ---> Running in edf76da2a716 [2023-09-23T18:52:39.513Z] Removing intermediate container edf76da2a716 [2023-09-23T18:52:39.513Z] ---> 21c16f14f341 [2023-09-23T18:52:39.513Z] Step 22/23 : LABEL git_sha=556a56c75b5b6b374e665f4b95d06394974b2d72 [2023-09-23T18:52:39.780Z] ---> Running in e84823654964 [2023-09-23T18:52:40.047Z] Removing intermediate container e84823654964 [2023-09-23T18:52:40.047Z] ---> 7ca5ba9e45d1 [2023-09-23T18:52:40.047Z] Step 23/23 : LABEL version=0.0.0 [2023-09-23T18:52:40.047Z] ---> Running in 770dae081898 [2023-09-23T18:52:40.314Z] Removing intermediate container 770dae081898 [2023-09-23T18:52:40.315Z] ---> a244c9f9a09b [2023-09-23T18:52:40.315Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-23T18:52:40.315Z] Successfully built a244c9f9a09b [2023-09-23T18:52:40.315Z] 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-09-23T18:52:40.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T18:52:40.735Z] [2023-09-23T18:52:40.735Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:52:41.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T18:52:41.069Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-23T18:52:41.069Z] 8998bd30e6a1: Pulling fs layer [2023-09-23T18:52:41.069Z] 04944245beec: Pulling fs layer [2023-09-23T18:52:41.069Z] 699f458cf7ca: Pulling fs layer [2023-09-23T18:52:41.069Z] 765212b225bb: Pulling fs layer [2023-09-23T18:52:41.069Z] f23df028b6ca: Pulling fs layer [2023-09-23T18:52:41.069Z] d65c8cfc05b1: Pulling fs layer [2023-09-23T18:52:41.069Z] 2437ff75d9bd: Pulling fs layer [2023-09-23T18:52:41.069Z] 765212b225bb: Waiting [2023-09-23T18:52:41.069Z] f23df028b6ca: Waiting [2023-09-23T18:52:41.069Z] 2437ff75d9bd: Waiting [2023-09-23T18:52:41.341Z] 04944245beec: Verifying Checksum [2023-09-23T18:52:41.341Z] 04944245beec: Download complete [2023-09-23T18:52:41.341Z] 765212b225bb: Verifying Checksum [2023-09-23T18:52:41.341Z] 765212b225bb: Download complete [2023-09-23T18:52:41.341Z] f23df028b6ca: Verifying Checksum [2023-09-23T18:52:41.341Z] f23df028b6ca: Download complete [2023-09-23T18:52:41.341Z] d65c8cfc05b1: Verifying Checksum [2023-09-23T18:52:41.341Z] d65c8cfc05b1: Download complete [2023-09-23T18:52:41.341Z] 699f458cf7ca: Verifying Checksum [2023-09-23T18:52:41.341Z] 699f458cf7ca: Download complete [2023-09-23T18:52:41.923Z] 8998bd30e6a1: Verifying Checksum [2023-09-23T18:52:41.923Z] 8998bd30e6a1: Download complete [2023-09-23T18:52:43.866Z] 2437ff75d9bd: Verifying Checksum [2023-09-23T18:52:43.866Z] 2437ff75d9bd: Download complete [2023-09-23T18:52:45.817Z] 8998bd30e6a1: Pull complete [2023-09-23T18:52:46.085Z] 04944245beec: Pull complete [2023-09-23T18:52:49.428Z] 699f458cf7ca: Pull complete [2023-09-23T18:52:49.694Z] 765212b225bb: Pull complete [2023-09-23T18:52:50.275Z] f23df028b6ca: Pull complete [2023-09-23T18:52:50.540Z] d65c8cfc05b1: Pull complete [2023-09-23T18:53:05.522Z] 2437ff75d9bd: Pull complete [2023-09-23T18:53:05.522Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-23T18:53:05.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-23T18:53:05.522Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T18:53:05.709Z] prd-ubuntu20.04-docker-arm64-4c-16g-7711 does not seem to be running inside a container [2023-09-23T18:53:05.767Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-23T18:53:08.199Z] $ docker top abf580420544a391f049eb26fcab2347294391e6d418bc9638108d89f1b9face -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:53:08.701Z] ---> job-cost.sh [2023-09-23T18:53:08.970Z] lf-activate-venv: SKIPPING [2023-09-23T18:53:08.970Z] INFO: No Stack... [2023-09-23T18:53:09.548Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-23T18:53:10.127Z] INFO: Archiving Costs [Pipeline] sh [2023-09-23T18:53:10.442Z] + cut -d, -f6 [2023-09-23T18:53:10.442Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [Pipeline] lock [2023-09-23T18:53:10.509Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1515-5-stack-cost] [2023-09-23T18:53:10.515Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-5-stack-cost] did not exist. Created. [2023-09-23T18:53:10.515Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1515-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-23T18:53:10.849Z] /w/workspace/device-sdk-go/5@tmp/durable-8751c759/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-23T18:53:11.174Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-23T18:53:11.195Z] Warning: overwriting stash ‘stack-cost’ [2023-09-23T18:53:11.270Z] Stashed 1 file(s) [Pipeline] } [2023-09-23T18:53:11.277Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1515-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-23T18:53:11.302Z] $ docker stop --time=1 abf580420544a391f049eb26fcab2347294391e6d418bc9638108d89f1b9face [2023-09-23T18:53:12.779Z] $ docker rm -f --volumes abf580420544a391f049eb26fcab2347294391e6d418bc9638108d89f1b9face [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-09-23T18:53:13.164Z] provisioning config files... [2023-09-23T18:53:13.219Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config17784091798300284281tmp [Pipeline] { [Pipeline] sh [2023-09-23T18:53:13.530Z] + set +x [2023-09-23T18:53:13.530Z] + curl -s https://codecov.io/bash [2023-09-23T18:53:13.530Z] + bash -s -- [2023-09-23T18:53:13.530Z] [2023-09-23T18:53:13.530Z] _____ _ [2023-09-23T18:53:13.530Z] / ____| | | [2023-09-23T18:53:13.530Z] | | ___ __| | ___ ___ _____ __ [2023-09-23T18:53:13.530Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-23T18:53:13.530Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-23T18:53:13.530Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-23T18:53:13.530Z] Bash-1.0.6 [2023-09-23T18:53:13.530Z] [2023-09-23T18:53:13.530Z] [2023-09-23T18:53:13.530Z] ==> git version 2.25.1 found [2023-09-23T18:53:13.530Z] ==> 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-09-23T18:53:13.530Z] Release-Date: 2020-01-08 [2023-09-23T18:53:13.530Z] 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-09-23T18:53:13.530Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-23T18:53:13.530Z] ==> Jenkins CI detected. [2023-09-23T18:53:13.530Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-23T18:53:13.530Z] project root: . [2023-09-23T18:53:13.530Z] --> token set from env [2023-09-23T18:53:13.530Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-23T18:53:13.530Z] ==> Running gcov in . (disable via -X gcov) [2023-09-23T18:53:13.530Z] ==> Python coveragepy not found [2023-09-23T18:53:13.530Z] ==> Searching for coverage reports in: [2023-09-23T18:53:13.530Z] + . [2023-09-23T18:53:13.530Z] -> Found 1 reports [2023-09-23T18:53:13.530Z] ==> Detecting git/mercurial file structure [2023-09-23T18:53:13.530Z] ==> Reading reports [2023-09-23T18:53:13.788Z] + ./coverage.out bytes=122406 [2023-09-23T18:53:13.788Z] ==> Appending adjustments [2023-09-23T18:53:13.788Z] https://docs.codecov.io/docs/fixing-reports [2023-09-23T18:53:14.046Z] + Found adjustments [2023-09-23T18:53:14.046Z] ==> Gzipping contents [2023-09-23T18:53:14.046Z] 20K /tmp/codecov.7ErbC7.gz [2023-09-23T18:53:14.046Z] ==> Uploading reports [2023-09-23T18:53:14.046Z] url: https://codecov.io [2023-09-23T18:53:14.046Z] query: branch=PR-1515&commit=72560493bb01140835d359a1f4dfb636202e3727&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-23T18:53:14.046Z] -> Pinging Codecov [2023-09-23T18:53:14.046Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1515&commit=72560493bb01140835d359a1f4dfb636202e3727&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1515%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1515&job=&cmd_args= [2023-09-23T18:53:14.046Z] -> Uploading to [2023-09-23T18:53:14.046Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-23/7E55EF52A471D76F132DFD9A03CDDE97/72560493bb01140835d359a1f4dfb636202e3727/9730dac0-8d28-4a33-8760-d6e148aa14a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230923T185313Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60ea0fb3c1102972c81a8787eed5fc39e7d14b86416aabad416962ba86f71b14 [2023-09-23T18:53:14.046Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-23T18:53:14.046Z] Dload Upload Total Spent Left Speed [2023-09-23T18:53:14.369Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16780 0 0 100 16780 0 67935 --:--:-- --:--:-- --:--:-- 67935 [2023-09-23T18:53:14.369Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/72560493bb01140835d359a1f4dfb636202e3727 [Pipeline] } [2023-09-23T18:53:14.375Z] 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-09-23T18:53:15.171Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives ] [2023-09-23T18:53:15.171Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-23T18:53:15.171Z] total 16 [2023-09-23T18:53:15.171Z] drwxr-xr-x 3 root root 4096 Sep 23 18:44 . [2023-09-23T18:53:15.171Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 23 18:44 .. [2023-09-23T18:53:15.171Z] drwxr-xr-x 2 root root 4096 Sep 23 18:44 cost [2023-09-23T18:53:15.171Z] -rw-r--r-- 1 root root 86 Sep 23 18:44 cost.csv [2023-09-23T18:53:15.171Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-23T18:53:15.171Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives [2023-09-23T18:53:15.171Z] total 16 [2023-09-23T18:53:15.171Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 18:44 . [2023-09-23T18:53:15.171Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 23 18:44 .. [2023-09-23T18:53:15.171Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 23 18:44 cost [2023-09-23T18:53:15.171Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 23 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:53:15.461Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:53:16.320Z] ---> package-listing.sh [2023-09-23T18:53:16.320Z] ++ facter osfamily [2023-09-23T18:53:16.320Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-23T18:53:16.579Z] + OS_FAMILY=debian [2023-09-23T18:53:16.579Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1515 [2023-09-23T18:53:16.579Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-23T18:53:16.579Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-23T18:53:16.579Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-23T18:53:16.579Z] + PACKAGES=/tmp/packages_start.txt [2023-09-23T18:53:16.579Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-23T18:53:16.579Z] + PACKAGES=/tmp/packages_end.txt [2023-09-23T18:53:16.579Z] + case "${OS_FAMILY}" in [2023-09-23T18:53:16.579Z] + dpkg -l [2023-09-23T18:53:16.579Z] + grep '^ii' [2023-09-23T18:53:16.579Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-23T18:53:16.579Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-23T18:53:16.579Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-23T18:53:16.579Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1515 ']' [2023-09-23T18:53:16.579Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [2023-09-23T18:53:16.579Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1515/archives/ [Pipeline] echo [2023-09-23T18:53:16.589Z] 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-1515/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-23T18:53:16.863Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-23T18:53:17.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-23T18:53:17.420Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-23T18:53:17.493Z] prd-ubuntu20.04-docker-8c-8g-7710 does not seem to be running inside a container [2023-09-23T18:53:17.517Z] $ 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-1515/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-1515 -v /w/workspace/gexfoundry_device-sdk-go_PR-1515:/w/workspace/gexfoundry_device-sdk-go_PR-1515:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-23T18:53:17.702Z] $ docker top a5b09087a14b2f621a4dbb6716c237fa39202857d7d8fce3bdce39c50a28c7cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-23T18:53:18.046Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-23T18:53:18.331Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-23T18:53:18.614Z] + ls /var/log/sa-host [2023-09-23T18:53:18.614Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-23T18:53:18.751Z] provisioning config files... [2023-09-23T18:53:18.761Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1515@tmp/config6302879838341381814tmp [Pipeline] { [Pipeline] echo [2023-09-23T18:53:18.771Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:53:19.052Z] ---> create-netrc.sh [Pipeline] } [2023-09-23T18:53:19.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:53:19.393Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-23T18:53:19.401Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:53:19.682Z] ---> sudo-logs.sh [2023-09-23T18:53:19.682Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-23T18:53:19.715Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:53:19.999Z] ---> job-cost.sh [2023-09-23T18:53:19.999Z] lf-activate-venv: SKIPPING [2023-09-23T18:53:19.999Z] DEBUG: total: 0.2199999988079071 [2023-09-23T18:53:19.999Z] INFO: Retrieving Stack Cost... [2023-09-23T18:53:20.568Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-23T18:53:20.827Z] INFO: Archiving Costs [Pipeline] echo [2023-09-23T18:53:20.839Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-23T18:53:21.120Z] ---> logs-deploy.sh [2023-09-23T18:53:21.120Z] lf-activate-venv: SKIPPING [2023-09-23T18:53:21.120Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1515/5 [2023-09-23T18:53:21.120Z] INFO: archiving workspace using pattern(s): [2023-09-23T18:53:22.057Z] Archives upload complete. [2023-09-23T18:53:22.057Z] INFO: archiving logs to Nexus