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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb3b780b49bdb40d95a497fa6cff623f428380a1+85278c73853f3bd4b620ac341e15b8756b181622 (4a961708593670e9025587cffc022af0b8715fd9) 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-ssh9817836945096096296.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15251002437771913970.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1540/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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12569353718013911834.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh12641425189187569910.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-1540/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-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7984674852647638269.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1567 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [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-1540 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 85278c73853f3bd4b620ac341e15b8756b181622 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing f2f81cf9deba556a40f2d8be7bc873cf74430f3c Checking out Revision f2f81cf9deba556a40f2d8be7bc873cf74430f3c (PR-1540) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # 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 85278c73853f3bd4b620ac341e15b8756b181622 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2f81cf9deba556a40f2d8be7bc873cf74430f3c # timeout=10 Commit message: "Merge commit '85278c73853f3bd4b620ac341e15b8756b181622' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 26719909bbadee2a0eac166024d3f112ccc7cc54 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-28T18:42:23.579Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-28T18:42:23.661Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-28T18:42:23.687Z] ========================================================= [2023-11-28T18:42:23.688Z] EdgeX Global Pipelines Version Info [2023-11-28T18:42:23.688Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:42:24.816Z] ------------------- [2023-11-28T18:42:24.816Z] stable info: [2023-11-28T18:42:24.816Z] ------------------- [2023-11-28T18:42:24.816Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-28T18:42:24.816Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:42:24.816Z] Message: update stable to v1.0.258 [2023-11-28T18:42:25.075Z] ------------------- [2023-11-28T18:42:25.075Z] experimental info: [2023-11-28T18:42:25.075Z] ------------------- [2023-11-28T18:42:25.075Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-28T18:42:25.075Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-28T18:42:25.075Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-28T18:42:25.182Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-28T18:42:25.207Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-28T18:42:25.233Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-28T18:42:25.256Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-28T18:42:25.278Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-28T18:42:25.304Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-28T18:42:25.335Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-28T18:42:25.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-28T18:42:25.389Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-28T18:42:25.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-28T18:42:25.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-28T18:42:25.538Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-28T18:42:25.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-28T18:42:25.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-28T18:42:25.613Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-28T18:42:25.635Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:42:25.660Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:42:25.682Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-28T18:42:25.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-28T18:42:25.740Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-28T18:42:25.767Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-28T18:42:25.798Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-28T18:42:25.829Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-28T18:42:25.863Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-28T18:42:25.903Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-28T18:42:25.938Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-28T18:42:25.971Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-28T18:42:26.006Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo [2023-11-28T18:42:26.047Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo [2023-11-28T18:42:26.082Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo [2023-11-28T18:42:26.118Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2f81cf9deba556a40f2d8be7bc873cf74430f3c [Pipeline] echo [2023-11-28T18:42:26.152Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2f81cf [Pipeline] echo [2023-11-28T18:42:26.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T18:42:26.270Z] provisioning config files... [2023-11-28T18:42:26.285Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config17503488868243804566tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:42:26.626Z] ---> ****-login.sh [2023-11-28T18:42:26.626Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:42:28.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:42:28.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:42:28.069Z] Configure a credential helper to remove this warning. See [2023-11-28T18:42:28.069Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:42:28.069Z] [2023-11-28T18:42:28.069Z] Login Succeeded [2023-11-28T18:42:28.069Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:42:28.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:42:28.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:42:28.338Z] Configure a credential helper to remove this warning. See [2023-11-28T18:42:28.338Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:42:28.338Z] [2023-11-28T18:42:28.338Z] Login Succeeded [2023-11-28T18:42:28.338Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:42:28.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:42:28.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:42:28.338Z] Configure a credential helper to remove this warning. See [2023-11-28T18:42:28.338Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:42:28.338Z] [2023-11-28T18:42:28.338Z] Login Succeeded [2023-11-28T18:42:28.338Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:42:28.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:42:28.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:42:28.338Z] Configure a credential helper to remove this warning. See [2023-11-28T18:42:28.338Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:42:28.338Z] [2023-11-28T18:42:28.338Z] Login Succeeded [2023-11-28T18:42:28.338Z] ****.io [2023-11-28T18:42:28.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:42:28.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:42:28.858Z] Configure a credential helper to remove this warning. See [2023-11-28T18:42:28.858Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:42:28.858Z] [2023-11-28T18:42:28.858Z] Login Succeeded [2023-11-28T18:42:28.858Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:42:28.866Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-28T18:42:29.358Z] + git rev-list -1 --merges f2f81cf9deba556a40f2d8be7bc873cf74430f3c~1..f2f81cf9deba556a40f2d8be7bc873cf74430f3c [Pipeline] echo [2023-11-28T18:42:29.394Z] -----------> git rev-list -1 --merges f2f81cf9deba556a40f2d8be7bc873cf74430f3c~1..f2f81cf9deba556a40f2d8be7bc873cf74430f3c f2f81cf9deba556a40f2d8be7bc873cf74430f3c [2023-11-28T18:42:29.394Z] f2f81cf9deba556a40f2d8be7bc873cf74430f3c [false] [Pipeline] sh [2023-11-28T18:42:29.704Z] + git log --format=format:%s -1 f2f81cf9deba556a40f2d8be7bc873cf74430f3c [Pipeline] echo [2023-11-28T18:42:29.719Z] ========================================================= [2023-11-28T18:42:29.719Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-28T18:42:29.719Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T18:42:30.095Z] + git log --format=format:%s -1 f2f81cf9deba556a40f2d8be7bc873cf74430f3c [Pipeline] echo [2023-11-28T18:42:30.106Z] [semverPrep] GIT_COMMIT: f2f81cf9deba556a40f2d8be7bc873cf74430f3c, Commit Message: Merge commit '85278c73853f3bd4b620ac341e15b8756b181622' into HEAD [Pipeline] echo [2023-11-28T18:42:30.131Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-28T18:42:30.529Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-28T18:42:30.529Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-28T18:42:30.529Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-28T18:42:30.529Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-28T18:42:30.529Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-28T18:42:30.529Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-28T18:42:30.529Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:42:30.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:42:30.912Z] [2023-11-28T18:42:30.912Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:42:31.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:42:31.228Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-28T18:42:31.228Z] b85a868b505f: Pulling fs layer [2023-11-28T18:42:31.228Z] e2be974225ed: Pulling fs layer [2023-11-28T18:42:31.228Z] 339a4e72a1f5: Pulling fs layer [2023-11-28T18:42:31.228Z] 988bab9f4d93: Pulling fs layer [2023-11-28T18:42:31.228Z] 1469e6f7b9e6: Pulling fs layer [2023-11-28T18:42:31.228Z] eaf3925da568: Pulling fs layer [2023-11-28T18:42:31.228Z] bab4dde63d76: Pulling fs layer [2023-11-28T18:42:31.228Z] bde34c3a00c8: Pulling fs layer [2023-11-28T18:42:31.228Z] b352a97aabf1: Pulling fs layer [2023-11-28T18:42:31.228Z] 4872d77fe225: Pulling fs layer [2023-11-28T18:42:31.228Z] 5851b861e8e6: Pulling fs layer [2023-11-28T18:42:31.228Z] 988bab9f4d93: Waiting [2023-11-28T18:42:31.228Z] 1469e6f7b9e6: Waiting [2023-11-28T18:42:31.228Z] eaf3925da568: Waiting [2023-11-28T18:42:31.228Z] bde34c3a00c8: Waiting [2023-11-28T18:42:31.228Z] b352a97aabf1: Waiting [2023-11-28T18:42:31.228Z] 4872d77fe225: Waiting [2023-11-28T18:42:31.228Z] bab4dde63d76: Waiting [2023-11-28T18:42:31.228Z] e2be974225ed: Verifying Checksum [2023-11-28T18:42:31.228Z] e2be974225ed: Download complete [2023-11-28T18:42:31.228Z] 988bab9f4d93: Download complete [2023-11-28T18:42:31.228Z] 1469e6f7b9e6: Verifying Checksum [2023-11-28T18:42:31.228Z] 1469e6f7b9e6: Download complete [2023-11-28T18:42:31.228Z] eaf3925da568: Verifying Checksum [2023-11-28T18:42:31.228Z] eaf3925da568: Download complete [2023-11-28T18:42:31.228Z] 339a4e72a1f5: Verifying Checksum [2023-11-28T18:42:31.228Z] 339a4e72a1f5: Download complete [2023-11-28T18:42:31.488Z] bde34c3a00c8: Verifying Checksum [2023-11-28T18:42:31.488Z] bde34c3a00c8: Download complete [2023-11-28T18:42:31.488Z] b352a97aabf1: Download complete [2023-11-28T18:42:31.488Z] 4872d77fe225: Verifying Checksum [2023-11-28T18:42:31.488Z] 4872d77fe225: Download complete [2023-11-28T18:42:31.488Z] 5851b861e8e6: Verifying Checksum [2023-11-28T18:42:31.488Z] 5851b861e8e6: Download complete [2023-11-28T18:42:31.488Z] b85a868b505f: Verifying Checksum [2023-11-28T18:42:31.488Z] b85a868b505f: Download complete [2023-11-28T18:42:31.749Z] bab4dde63d76: Verifying Checksum [2023-11-28T18:42:31.749Z] bab4dde63d76: Download complete [2023-11-28T18:42:32.690Z] b85a868b505f: Pull complete [2023-11-28T18:42:32.690Z] e2be974225ed: Pull complete [2023-11-28T18:42:33.260Z] 339a4e72a1f5: Pull complete [2023-11-28T18:42:33.521Z] 988bab9f4d93: Pull complete [2023-11-28T18:42:33.779Z] 1469e6f7b9e6: Pull complete [2023-11-28T18:42:33.779Z] eaf3925da568: Pull complete [2023-11-28T18:42:36.325Z] bab4dde63d76: Pull complete [2023-11-28T18:42:36.325Z] bde34c3a00c8: Pull complete [2023-11-28T18:42:36.586Z] b352a97aabf1: Pull complete [2023-11-28T18:42:36.846Z] 4872d77fe225: Pull complete [2023-11-28T18:42:37.107Z] 5851b861e8e6: Pull complete [2023-11-28T18:42:37.107Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-28T18:42:37.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-28T18:42:37.107Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:42:37.340Z] prd-ubuntu20.04-docker-8c-8g-1567 does not seem to be running inside a container [2023-11-28T18:42:37.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-28T18:42:44.240Z] $ docker top ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 -eo pid,comm [2023-11-28T18:42:44.330Z] 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-11-28T18:42:44.330Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-28T18:42:44.423Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:42:44.423Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:42:44.665Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:42:44.664Z] $ docker exec ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 ssh-agent [2023-11-28T18:42:44.821Z] SSH_AUTH_SOCK=/tmp/ssh-xpDtO1KfuRTN/agent.14 [2023-11-28T18:42:44.821Z] SSH_AGENT_PID=20 [2023-11-28T18:42:44.838Z] Running ssh-add (command line suppressed) [2023-11-28T18:42:44.992Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_8853722220381676673.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_8853722220381676673.key) [2023-11-28T18:42:45.013Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:42:45.350Z] + git tag --points-at HEAD [Pipeline] } [2023-11-28T18:42:45.354Z] $ docker exec --env ******** --env ******** ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 ssh-agent -k [2023-11-28T18:42:45.485Z] unset SSH_AUTH_SOCK; [2023-11-28T18:42:45.486Z] unset SSH_AGENT_PID; [2023-11-28T18:42:45.486Z] echo Agent pid 20 killed; [2023-11-28T18:42:45.509Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-28T18:42:45.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-28T18:42:45.568Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-28T18:42:45.687Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-28T18:42:45.685Z] $ docker exec ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 ssh-agent [2023-11-28T18:42:45.976Z] SSH_AUTH_SOCK=/tmp/ssh-PCD0xXXd3mz9/agent.71 [2023-11-28T18:42:45.976Z] SSH_AGENT_PID=77 [2023-11-28T18:42:45.981Z] Running ssh-add (command line suppressed) [2023-11-28T18:42:46.093Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_3385816638666997800.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_3385816638666997800.key) [2023-11-28T18:42:46.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-28T18:42:46.453Z] + git semver init [2023-11-28T18:42:46.715Z] 2023-11-28 18:42:46,700 [run_init] DEBUG init version:0.0.0 force:False [2023-11-28T18:42:46.715Z] 2023-11-28 18:42:46,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-11-28T18:42:46.715Z] 2023-11-28 18:42:46,702 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-11-28T18:42:46.715Z] 2023-11-28 18:42:46,702 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) [2023-11-28T18:42:48.624Z] 2023-11-28 18:42:48,398 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude [2023-11-28T18:42:48.624Z] 2023-11-28 18:42:48,398 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False [2023-11-28T18:42:48.624Z] 2023-11-28 18:42:48,398 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-11-28T18:42:48.624Z] 2023-11-28 18:42:48,403 [execute] INFO git cat-file --batch-check [2023-11-28T18:42:48.624Z] 2023-11-28 18:42:48,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:42:48.624Z] 2023-11-28 18:42:48,410 [execute] INFO git cat-file --batch [2023-11-28T18:42:48.624Z] 2023-11-28 18:42:48,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-11-28T18:42:48.624Z] 2023-11-28 18:42:48,415 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-11-28T18:42:48.624Z] 0.0.0 [Pipeline] } [2023-11-28T18:42:48.631Z] $ docker exec --env ******** --env ******** ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 ssh-agent -k [2023-11-28T18:42:48.728Z] unset SSH_AUTH_SOCK; [2023-11-28T18:42:48.729Z] unset SSH_AGENT_PID; [2023-11-28T18:42:48.729Z] echo Agent pid 77 killed; [2023-11-28T18:42:48.743Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-28T18:42:49.134Z] + git semver [Pipeline] } [2023-11-28T18:42:49.399Z] $ docker stop --time=1 ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 [2023-11-28T18:42:50.969Z] $ docker rm -f --volumes ebcd66463192b77ac983ef62e1e5659b22e6a12c79491fa7ad5e221eadd2a309 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:42:51.390Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-28T18:42:51.716Z] Stashed 1 file(s) [Pipeline] echo [2023-11-28T18:42:51.719Z] [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-11-28T18:42:52.083Z] provisioning config files... [2023-11-28T18:42:52.094Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config317087004499388586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:42:52.417Z] ---> ****-login.sh [2023-11-28T18:42:52.417Z] nexus3.edgexfoundry.org:10001 [2023-11-28T18:42:52.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:42:52.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:42:52.417Z] Configure a credential helper to remove this warning. See [2023-11-28T18:42:52.417Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:42:52.417Z] [2023-11-28T18:42:52.417Z] Login Succeeded [2023-11-28T18:42:52.417Z] nexus3.edgexfoundry.org:10002 [2023-11-28T18:42:52.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:42:52.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:42:52.418Z] Configure a credential helper to remove this warning. See [2023-11-28T18:42:52.418Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:42:52.418Z] [2023-11-28T18:42:52.418Z] Login Succeeded [2023-11-28T18:42:52.679Z] nexus3.edgexfoundry.org:10003 [2023-11-28T18:42:52.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:42:52.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:42:52.679Z] Configure a credential helper to remove this warning. See [2023-11-28T18:42:52.679Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:42:52.679Z] [2023-11-28T18:42:52.679Z] Login Succeeded [2023-11-28T18:42:52.679Z] nexus3.edgexfoundry.org:10004 [2023-11-28T18:42:52.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:42:52.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:42:52.679Z] Configure a credential helper to remove this warning. See [2023-11-28T18:42:52.679Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:42:52.679Z] [2023-11-28T18:42:52.679Z] Login Succeeded [2023-11-28T18:42:52.679Z] ****.io [2023-11-28T18:42:52.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T18:42:53.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T18:42:53.197Z] Configure a credential helper to remove this warning. See [2023-11-28T18:42:53.197Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T18:42:53.197Z] [2023-11-28T18:42:53.197Z] Login Succeeded [2023-11-28T18:42:53.197Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T18:42:53.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T18:42:53.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:42:53.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T18:42:53.432Z] ========================================================= [2023-11-28T18:42:53.432Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-28T18:42:53.432Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:42:53.845Z] + 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-11-28T18:42:53.845Z] Sending build context to Docker daemon 21.87MB [2023-11-28T18:42:53.845Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:42:53.845Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-28T18:42:54.105Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-28T18:42:54.105Z] 7264a8db6415: Pulling fs layer [2023-11-28T18:42:54.105Z] c4d48a809fc2: Pulling fs layer [2023-11-28T18:42:54.105Z] 4f1c88b9dad5: Pulling fs layer [2023-11-28T18:42:54.105Z] ad3a456e5733: Pulling fs layer [2023-11-28T18:42:54.105Z] 69c7f0334f64: Pulling fs layer [2023-11-28T18:42:54.105Z] 1f1c1a5573a3: Pulling fs layer [2023-11-28T18:42:54.105Z] ce7588e14bc9: Pulling fs layer [2023-11-28T18:42:54.105Z] b5e4710f87ac: Pulling fs layer [2023-11-28T18:42:54.105Z] 69c7f0334f64: Waiting [2023-11-28T18:42:54.105Z] 1f1c1a5573a3: Waiting [2023-11-28T18:42:54.105Z] ce7588e14bc9: Waiting [2023-11-28T18:42:54.105Z] b5e4710f87ac: Waiting [2023-11-28T18:42:54.105Z] ad3a456e5733: Waiting [2023-11-28T18:42:54.105Z] c4d48a809fc2: Download complete [2023-11-28T18:42:54.105Z] ad3a456e5733: Verifying Checksum [2023-11-28T18:42:54.105Z] ad3a456e5733: Download complete [2023-11-28T18:42:54.105Z] 69c7f0334f64: Download complete [2023-11-28T18:42:54.105Z] 7264a8db6415: Verifying Checksum [2023-11-28T18:42:54.105Z] 7264a8db6415: Download complete [2023-11-28T18:42:54.105Z] 1f1c1a5573a3: Verifying Checksum [2023-11-28T18:42:54.105Z] 1f1c1a5573a3: Download complete [2023-11-28T18:42:54.365Z] 7264a8db6415: Pull complete [2023-11-28T18:42:54.365Z] b5e4710f87ac: Verifying Checksum [2023-11-28T18:42:54.365Z] b5e4710f87ac: Download complete [2023-11-28T18:42:54.365Z] c4d48a809fc2: Pull complete [2023-11-28T18:42:54.624Z] 4f1c88b9dad5: Verifying Checksum [2023-11-28T18:42:54.624Z] 4f1c88b9dad5: Download complete [2023-11-28T18:42:54.882Z] ce7588e14bc9: Verifying Checksum [2023-11-28T18:42:54.882Z] ce7588e14bc9: Download complete [2023-11-28T18:42:58.178Z] 4f1c88b9dad5: Pull complete [2023-11-28T18:42:58.178Z] ad3a456e5733: Pull complete [2023-11-28T18:42:58.178Z] 69c7f0334f64: Pull complete [2023-11-28T18:42:58.178Z] 1f1c1a5573a3: Pull complete [2023-11-28T18:43:00.727Z] ce7588e14bc9: Pull complete [2023-11-28T18:43:00.727Z] b5e4710f87ac: Pull complete [2023-11-28T18:43:00.727Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-28T18:43:00.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-28T18:43:00.987Z] ---> 88b5674ff536 [2023-11-28T18:43:00.987Z] Step 3/10 : ARG MAKE=make build [2023-11-28T18:43:06.987Z] Still waiting to schedule task [2023-11-28T18:43:06.988Z] ‘prd-centos7-blackbox-4c-2g-951’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T18:43:06.988Z] ‘prd-centos7-blackbox-4c-2g-952’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-28T18:43:06.988Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1568’ is offline [2023-11-28T18:43:11.120Z] ---> Running in 4800228455b7 [2023-11-28T18:43:11.121Z] Removing intermediate container 4800228455b7 [2023-11-28T18:43:11.121Z] ---> 67b7d93c82e3 [2023-11-28T18:43:11.121Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-28T18:43:11.121Z] ---> Running in 79a98697ff87 [2023-11-28T18:43:11.121Z] Removing intermediate container 79a98697ff87 [2023-11-28T18:43:11.121Z] ---> 5929c18ab45a [2023-11-28T18:43:11.121Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T18:43:11.121Z] ---> Running in 0576b1543b5e [2023-11-28T18:43:11.121Z] Removing intermediate container 0576b1543b5e [2023-11-28T18:43:11.121Z] ---> 41684cf6b61a [2023-11-28T18:43:11.121Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-28T18:43:11.121Z] ---> Running in 3df47731c01f [2023-11-28T18:43:11.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:43:11.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:43:11.380Z] OK: 264 MiB in 52 packages [2023-11-28T18:43:11.951Z] Removing intermediate container 3df47731c01f [2023-11-28T18:43:11.951Z] ---> 09199f088eba [2023-11-28T18:43:11.951Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-28T18:43:12.210Z] ---> 484a74df3322 [2023-11-28T18:43:12.210Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:43:12.481Z] ---> Running in f3a694c58d3b [2023-11-28T18:43:53.289Z] Removing intermediate container f3a694c58d3b [2023-11-28T18:43:53.289Z] ---> ad150dfe2e58 [2023-11-28T18:43:53.289Z] Step 9/10 : COPY . . [2023-11-28T18:43:53.289Z] ---> 389c7141b9c1 [2023-11-28T18:43:53.289Z] Step 10/10 : RUN ${MAKE} [2023-11-28T18:43:53.289Z] ---> Running in e16b22bde028 [2023-11-28T18:43:53.289Z] noop [2023-11-28T18:43:53.289Z] Removing intermediate container e16b22bde028 [2023-11-28T18:43:53.289Z] ---> e57dc84cc2c7 [2023-11-28T18:43:53.289Z] Successfully built e57dc84cc2c7 [2023-11-28T18:43:53.289Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:43:53.664Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:43:53.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:43:53.779Z] prd-ubuntu20.04-docker-8c-8g-1567 does not seem to be running inside a container [2023-11-28T18:43:53.807Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T18:43:54.117Z] $ docker top 3b570e0eb093d50b0e0a815e51bff2a9309ad61212b42efcf67cb25bc377c41f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:43:54.505Z] + go version [2023-11-28T18:43:54.505Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-28T18:43:54.511Z] $ docker stop --time=1 3b570e0eb093d50b0e0a815e51bff2a9309ad61212b42efcf67cb25bc377c41f [2023-11-28T18:43:55.771Z] $ docker rm -f --volumes 3b570e0eb093d50b0e0a815e51bff2a9309ad61212b42efcf67cb25bc377c41f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:43:56.465Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-28T18:43:56.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:43:56.585Z] prd-ubuntu20.04-docker-8c-8g-1567 does not seem to be running inside a container [2023-11-28T18:43:56.618Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-28T18:43:56.954Z] $ docker top 97c94ccb997cf1fea964e90629c2754325cabefcb1ae966c863c2b3b54bc3c0f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T18:43:57.352Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh [2023-11-28T18:43:57.675Z] + make test [2023-11-28T18:43:57.675Z] go test -race -coverprofile=coverage.out ./... [2023-11-28T18:44:05.983Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-28T18:44:20.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-28T18:44:20.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-28T18:44:20.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-28T18:44:20.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-28T18:44:20.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-28T18:44:21.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-28T18:44:21.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-28T18:44:22.365Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.048s coverage: 27.6% of statements [2023-11-28T18:44:22.365Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-28T18:44:22.365Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.046s coverage: 81.5% of statements [2023-11-28T18:44:22.365Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.072s coverage: 86.0% of statements [2023-11-28T18:44:23.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.095s coverage: 71.8% of statements [2023-11-28T18:44:23.558Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-28T18:44:23.558Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-28T18:44:23.558Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-28T18:44:26.891Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.059s coverage: 14.4% of statements [2023-11-28T18:44:26.892Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.402s coverage: 45.9% of statements [2023-11-28T18:44:26.892Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.075s coverage: 68.5% of statements [2023-11-28T18:44:26.892Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.115s coverage: 89.2% of statements [2023-11-28T18:44:26.892Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.047s coverage: 5.5% of statements [2023-11-28T18:44:53.696Z] GO111MODULE=on go vet ./... [2023-11-28T18:44:55.096Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T18:44:55.096Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T18:44:55.096Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T18:44:55.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T18:44:55.396Z] $ docker stop --time=1 97c94ccb997cf1fea964e90629c2754325cabefcb1ae966c863c2b3b54bc3c0f [2023-11-28T18:44:59.987Z] $ docker rm -f --volumes 97c94ccb997cf1fea964e90629c2754325cabefcb1ae966c863c2b3b54bc3c0f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T18:45:00.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T18:45:00.660Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-28T18:45:01.211Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T18:45:01.500Z] + ls -al . [2023-11-28T18:45:01.500Z] total 308 [2023-11-28T18:45:01.500Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 28 18:43 . [2023-11-28T18:45:01.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 18:42 .. [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 18:42 .dockerignore [2023-11-28T18:45:01.500Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 18:44 .git [2023-11-28T18:45:01.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:42 .github [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 28 18:42 .gitignore [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 28 18:42 .golangci.yml [2023-11-28T18:45:01.500Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:42 .semver [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 28 18:42 CHANGELOG.md [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 18:42 GOVERNANCE.md [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 28 18:42 Jenkinsfile [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 28 18:42 LICENSE [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 28 18:42 Makefile [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 28 18:42 OWNERS.md [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 28 18:42 README.md [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:42 VERSION [2023-11-28T18:45:01.500Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 18:42 bin [2023-11-28T18:45:01.500Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 28 18:44 coverage.out [2023-11-28T18:45:01.500Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 28 18:42 example [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 3719 Nov 28 18:42 go.mod [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 34269 Nov 28 18:42 go.sum [2023-11-28T18:45:01.500Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 18:42 internal [2023-11-28T18:45:01.500Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 18:42 openapi [2023-11-28T18:45:01.500Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 28 18:42 pkg [2023-11-28T18:45:01.500Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 18:42 snap [2023-11-28T18:45:01.500Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 28 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:45:01.919Z] + 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=f2f81cf9deba556a40f2d8be7bc873cf74430f3c --label arch=amd64 --label version=0.0.0 . [2023-11-28T18:45:01.919Z] Sending build context to Docker daemon 21.99MB [2023-11-28T18:45:01.919Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T18:45:01.919Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-28T18:45:01.919Z] ---> e57dc84cc2c7 [2023-11-28T18:45:01.919Z] Step 3/24 : ARG MAKE=make build [2023-11-28T18:45:02.502Z] ---> Running in b06a1f465604 [2023-11-28T18:45:02.759Z] Removing intermediate container b06a1f465604 [2023-11-28T18:45:02.759Z] ---> 1c9c1851ac91 [2023-11-28T18:45:02.759Z] Step 4/24 : WORKDIR /device-sdk-go [2023-11-28T18:45:02.759Z] ---> Running in ac3d2212d168 [2023-11-28T18:45:03.025Z] Removing intermediate container ac3d2212d168 [2023-11-28T18:45:03.025Z] ---> bc0f2000c2bb [2023-11-28T18:45:03.025Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T18:45:03.598Z] ---> Running in c65e08f8b383 [2023-11-28T18:45:03.856Z] Removing intermediate container c65e08f8b383 [2023-11-28T18:45:03.856Z] ---> 319d70daf378 [2023-11-28T18:45:03.856Z] Step 6/24 : RUN apk add --update --no-cache make git [2023-11-28T18:45:03.856Z] ---> Running in 7c5fc4097c31 [2023-11-28T18:45:04.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:45:04.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:45:05.246Z] OK: 264 MiB in 52 packages [2023-11-28T18:45:06.215Z] Removing intermediate container 7c5fc4097c31 [2023-11-28T18:45:06.215Z] ---> 29c544459695 [2023-11-28T18:45:06.215Z] Step 7/24 : COPY go.mod vendor* ./ [2023-11-28T18:45:06.215Z] ---> f41596adc834 [2023-11-28T18:45:06.215Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T18:45:06.215Z] ---> Running in 2616e9a74b45 [2023-11-28T18:45:06.782Z] Removing intermediate container 2616e9a74b45 [2023-11-28T18:45:06.782Z] ---> ecef0c2be41f [2023-11-28T18:45:06.782Z] Step 9/24 : COPY . . [2023-11-28T18:45:07.718Z] ---> d76fc1e99a5e [2023-11-28T18:45:07.718Z] Step 10/24 : RUN ${MAKE} [2023-11-28T18:45:07.718Z] ---> Running in 498299b61ba3 [2023-11-28T18:45:07.718Z] 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-11-28T18:45:29.867Z] Removing intermediate container 498299b61ba3 [2023-11-28T18:45:29.867Z] ---> bff3f7e8f048 [2023-11-28T18:45:29.867Z] Step 11/24 : FROM alpine:3.18 [2023-11-28T18:45:29.867Z] 3.18: Pulling from library/alpine [2023-11-28T18:45:29.867Z] 96526aa774ef: Pulling fs layer [2023-11-28T18:45:29.867Z] 96526aa774ef: Verifying Checksum [2023-11-28T18:45:29.867Z] 96526aa774ef: Download complete [2023-11-28T18:45:29.867Z] 96526aa774ef: Pull complete [2023-11-28T18:45:29.867Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T18:45:29.867Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T18:45:29.867Z] ---> 8ca4688f4f35 [2023-11-28T18:45:29.867Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-28T18:45:29.867Z] ---> Running in 6b5ef5e0a03b [2023-11-28T18:45:29.867Z] Removing intermediate container 6b5ef5e0a03b [2023-11-28T18:45:29.867Z] ---> 107d03c68209 [2023-11-28T18:45:29.867Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2023-11-28T18:45:29.867Z] ---> Running in 531af84fd989 [2023-11-28T18:45:29.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:45:29.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:45:29.867Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T18:45:29.867Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T18:45:29.867Z] OK: 7 MiB in 16 packages [2023-11-28T18:45:29.867Z] Removing intermediate container 531af84fd989 [2023-11-28T18:45:29.867Z] ---> f8d2af320370 [2023-11-28T18:45:29.867Z] Step 14/24 : RUN apk --no-cache upgrade [2023-11-28T18:45:30.126Z] ---> Running in 7c368b6e0120 [2023-11-28T18:45:30.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-28T18:45:30.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-28T18:45:30.641Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:45:30.641Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:45:30.641Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T18:45:30.641Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:45:30.641Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:45:30.641Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T18:45:30.641Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T18:45:30.641Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T18:45:30.641Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T18:45:30.641Z] OK: 7 MiB in 16 packages [2023-11-28T18:45:31.210Z] Removing intermediate container 7c368b6e0120 [2023-11-28T18:45:31.210Z] ---> 01b752a42216 [2023-11-28T18:45:31.210Z] Step 15/24 : WORKDIR / [2023-11-28T18:45:31.210Z] ---> Running in bbc97b76002c [2023-11-28T18:45:31.210Z] Removing intermediate container bbc97b76002c [2023-11-28T18:45:31.210Z] ---> 515350cda3a8 [2023-11-28T18:45:31.210Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-28T18:45:31.469Z] ---> 45a2692d3aba [2023-11-28T18:45:31.469Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-28T18:45:32.034Z] ---> e4cdcbd14a09 [2023-11-28T18:45:32.034Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-28T18:45:32.292Z] ---> 947cd776df94 [2023-11-28T18:45:32.292Z] Step 19/24 : EXPOSE 59999 [2023-11-28T18:45:32.292Z] ---> Running in 0b801cd38549 [2023-11-28T18:45:32.292Z] Removing intermediate container 0b801cd38549 [2023-11-28T18:45:32.292Z] ---> a34eb2d6cd8b [2023-11-28T18:45:32.292Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2023-11-28T18:45:32.292Z] ---> Running in 3db928f48e32 [2023-11-28T18:45:32.551Z] Removing intermediate container 3db928f48e32 [2023-11-28T18:45:32.551Z] ---> 9c8ed8b022a6 [2023-11-28T18:45:32.551Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T18:45:32.551Z] ---> Running in 7a6d40fe3d78 [2023-11-28T18:45:32.551Z] Removing intermediate container 7a6d40fe3d78 [2023-11-28T18:45:32.551Z] ---> a154b3677b3b [2023-11-28T18:45:32.551Z] Step 22/24 : LABEL arch=amd64 [2023-11-28T18:45:32.551Z] ---> Running in d174cd2e1a3c [2023-11-28T18:45:32.551Z] Removing intermediate container d174cd2e1a3c [2023-11-28T18:45:32.551Z] ---> 1e611b17f381 [2023-11-28T18:45:32.551Z] Step 23/24 : LABEL git_sha=f2f81cf9deba556a40f2d8be7bc873cf74430f3c [2023-11-28T18:45:32.551Z] ---> Running in 791404524a91 [2023-11-28T18:45:32.812Z] Removing intermediate container 791404524a91 [2023-11-28T18:45:32.812Z] ---> 5125ff96e605 [2023-11-28T18:45:32.812Z] Step 24/24 : LABEL version=0.0.0 [2023-11-28T18:45:32.812Z] ---> Running in 6fc9f692e663 [2023-11-28T18:45:32.812Z] Removing intermediate container 6fc9f692e663 [2023-11-28T18:45:32.812Z] ---> fd08117d73eb [2023-11-28T18:45:32.812Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T18:45:32.812Z] Successfully built fd08117d73eb [2023-11-28T18:45:32.812Z] 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-11-28T18:45:33.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:45:33.503Z] [2023-11-28T18:45:33.503Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T18:45:33.825Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:45:33.825Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-28T18:45:33.825Z] 5eb5b503b376: Pulling fs layer [2023-11-28T18:45:33.825Z] 5c69ac0246d0: Pulling fs layer [2023-11-28T18:45:33.825Z] ec43610c2a17: Pulling fs layer [2023-11-28T18:45:33.825Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-28T18:45:33.825Z] 33b1e0a273af: Pulling fs layer [2023-11-28T18:45:33.825Z] 5d3b04190fa2: Pulling fs layer [2023-11-28T18:45:33.825Z] 2f39f015ded8: Pulling fs layer [2023-11-28T18:45:33.825Z] 3a2ae6a8a46f: Waiting [2023-11-28T18:45:33.825Z] 33b1e0a273af: Waiting [2023-11-28T18:45:33.825Z] 5d3b04190fa2: Waiting [2023-11-28T18:45:33.825Z] 2f39f015ded8: Waiting [2023-11-28T18:45:33.825Z] 5c69ac0246d0: Download complete [2023-11-28T18:45:33.825Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-28T18:45:33.825Z] 33b1e0a273af: Verifying Checksum [2023-11-28T18:45:33.825Z] 33b1e0a273af: Download complete [2023-11-28T18:45:33.825Z] 5d3b04190fa2: Verifying Checksum [2023-11-28T18:45:33.825Z] 5d3b04190fa2: Download complete [2023-11-28T18:45:33.825Z] ec43610c2a17: Verifying Checksum [2023-11-28T18:45:33.825Z] ec43610c2a17: Download complete [2023-11-28T18:45:34.084Z] 5eb5b503b376: Verifying Checksum [2023-11-28T18:45:34.084Z] 5eb5b503b376: Download complete [2023-11-28T18:45:34.652Z] 2f39f015ded8: Verifying Checksum [2023-11-28T18:45:34.652Z] 2f39f015ded8: Download complete [2023-11-28T18:45:35.218Z] 5eb5b503b376: Pull complete [2023-11-28T18:45:35.218Z] 5c69ac0246d0: Pull complete [2023-11-28T18:45:35.784Z] ec43610c2a17: Pull complete [2023-11-28T18:45:35.784Z] 3a2ae6a8a46f: Pull complete [2023-11-28T18:45:36.041Z] 33b1e0a273af: Pull complete [2023-11-28T18:45:36.041Z] 5d3b04190fa2: Pull complete [2023-11-28T18:45:40.235Z] 2f39f015ded8: Pull complete [2023-11-28T18:45:40.235Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-28T18:45:40.235Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T18:45:40.235Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T18:45:40.422Z] prd-ubuntu20.04-docker-8c-8g-1567 does not seem to be running inside a container [2023-11-28T18:45:40.460Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T18:45:44.241Z] $ docker top b872733e31bcd14bfc17b515d919e33adb0e9f79af01655f9ae3882193d64108 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T18:45:44.655Z] ---> job-cost.sh [2023-11-28T18:45:44.655Z] lf-activate-venv: SKIPPING [2023-11-28T18:45:44.655Z] INFO: No Stack... [2023-11-28T18:45:46.557Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T18:45:46.557Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T18:45:46.848Z] + cat+ /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv [2023-11-28T18:45:46.848Z] cut -d, -f6 [Pipeline] lock [2023-11-28T18:45:46.860Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] [2023-11-28T18:45:46.872Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] did not exist. Created. [2023-11-28T18:45:46.872Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T18:45:47.232Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-28T18:45:47.338Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T18:45:47.344Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T18:45:47.417Z] $ docker stop --time=1 b872733e31bcd14bfc17b515d919e33adb0e9f79af01655f9ae3882193d64108 [2023-11-28T18:45:48.698Z] $ docker rm -f --volumes b872733e31bcd14bfc17b515d919e33adb0e9f79af01655f9ae3882193d64108 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-28T19:06:51.286Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2263 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws [2023-11-28T19:06:51.323Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-11-28T19:06:51.412Z] The recommended git tool is: git [2023-11-28T19:06:57.230Z] using credential edgex-jenkins-ssh [2023-11-28T19:06:57.254Z] Cloning the remote Git repository [2023-11-28T19:06:57.306Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-28T19:06:57.414Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-11-28T19:06:57.587Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-28T19:06:57.588Z] > git --version # timeout=10 [2023-11-28T19:06:57.612Z] > git --version # 'git version 2.25.1' [2023-11-28T19:06:57.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:06:57.784Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:07:00.159Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-28T19:07:00.196Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-28T19:07:01.125Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-28T19:07:01.169Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-28T19:07:01.170Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:07:01.188Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-28T19:07:01.893Z] Merging remotes/origin/main commit 85278c73853f3bd4b620ac341e15b8756b181622 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 [2023-11-28T19:07:02.286Z] Merge succeeded, producing fec59e9fda01cdfef93c7987ac1751221428a1b1 [2023-11-28T19:07:02.287Z] Checking out Revision fec59e9fda01cdfef93c7987ac1751221428a1b1 (PR-1540) [2023-11-28T19:07:01.915Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:07:01.994Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2023-11-28T19:07:02.106Z] > git remote # timeout=10 [2023-11-28T19:07:02.128Z] > git config --get remote.origin.url # timeout=10 [2023-11-28T19:07:02.146Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-28T19:07:02.162Z] > git merge 85278c73853f3bd4b620ac341e15b8756b181622 # timeout=10 [2023-11-28T19:07:02.265Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-28T19:07:02.295Z] > git config core.sparsecheckout # timeout=10 [2023-11-28T19:07:02.312Z] > git checkout -f fec59e9fda01cdfef93c7987ac1751221428a1b1 # timeout=10 [2023-11-28T19:07:05.915Z] Commit message: "Merge commit '85278c73853f3bd4b620ac341e15b8756b181622' into HEAD" [2023-11-28T19:07:05.943Z] First time build. Skipping changelog. [2023-11-28T19:07:05.923Z] > git rev-list --no-walk 26719909bbadee2a0eac166024d3f112ccc7cc54 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:07:07.300Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-28T19:07:07.300Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T19:07:07.300Z] Dload Upload Total Spent Left Speed [2023-11-28T19:07:07.300Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 88069 0 --:--:-- --:--:-- --:--:-- 88069 [Pipeline] sh [2023-11-28T19:07:07.772Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-28T19:07:08.099Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-28T19:07:08.099Z] + sudo tee /etc/docker/daemon.new [2023-11-28T19:07:08.099Z] { [2023-11-28T19:07:08.099Z] "registry-mirrors": [ [2023-11-28T19:07:08.099Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-28T19:07:08.099Z] ], [2023-11-28T19:07:08.099Z] "bip": "10.250.0.254/24", [2023-11-28T19:07:08.099Z] "hosts": [ [2023-11-28T19:07:08.099Z] "tcp://0.0.0.0:5555", [2023-11-28T19:07:08.099Z] "unix:///var/run/docker.sock" [2023-11-28T19:07:08.099Z] ], [2023-11-28T19:07:08.099Z] "mtu": 1458, [2023-11-28T19:07:08.099Z] "selinux-enabled": true, [2023-11-28T19:07:08.099Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-28T19:07:08.099Z] } [Pipeline] sh [2023-11-28T19:07:08.431Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-28T19:07:08.765Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:07:27.084Z] provisioning config files... [2023-11-28T19:07:27.129Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config1928948871268990712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:07:27.619Z] ---> ****-login.sh [2023-11-28T19:07:27.619Z] nexus3.edgexfoundry.org:10001 [2023-11-28T19:07:28.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:07:28.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:07:28.215Z] Configure a credential helper to remove this warning. See [2023-11-28T19:07:28.215Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:07:28.215Z] [2023-11-28T19:07:28.215Z] Login Succeeded [2023-11-28T19:07:28.215Z] nexus3.edgexfoundry.org:10002 [2023-11-28T19:07:28.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:07:28.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:07:28.756Z] Configure a credential helper to remove this warning. See [2023-11-28T19:07:28.756Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:07:28.756Z] [2023-11-28T19:07:28.756Z] Login Succeeded [2023-11-28T19:07:28.756Z] nexus3.edgexfoundry.org:10003 [2023-11-28T19:07:29.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:07:29.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:07:29.064Z] Configure a credential helper to remove this warning. See [2023-11-28T19:07:29.064Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:07:29.064Z] [2023-11-28T19:07:29.064Z] Login Succeeded [2023-11-28T19:07:29.064Z] nexus3.edgexfoundry.org:10004 [2023-11-28T19:07:29.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:07:29.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:07:29.338Z] Configure a credential helper to remove this warning. See [2023-11-28T19:07:29.338Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:07:29.338Z] [2023-11-28T19:07:29.338Z] Login Succeeded [2023-11-28T19:07:29.338Z] ****.io [2023-11-28T19:07:29.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-28T19:07:29.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-28T19:07:29.873Z] Configure a credential helper to remove this warning. See [2023-11-28T19:07:29.873Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-28T19:07:29.873Z] [2023-11-28T19:07:29.873Z] Login Succeeded [2023-11-28T19:07:29.873Z] ---> ****-login.sh ends [Pipeline] } [2023-11-28T19:07:29.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-28T19:07:30.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:07:30.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-28T19:07:30.520Z] ========================================================= [2023-11-28T19:07:30.520Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-28T19:07:30.520Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:07:31.096Z] + 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-11-28T19:07:31.685Z] Sending build context to Docker daemon 11.34MB [2023-11-28T19:07:31.685Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:07:31.685Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-28T19:07:31.958Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-28T19:07:31.958Z] 9fda8d8052c6: Pulling fs layer [2023-11-28T19:07:31.958Z] 5d54e960e981: Pulling fs layer [2023-11-28T19:07:31.958Z] c4a7e357bf2a: Pulling fs layer [2023-11-28T19:07:31.958Z] f0e02332f6b5: Pulling fs layer [2023-11-28T19:07:31.958Z] 872ee5b61b7b: Pulling fs layer [2023-11-28T19:07:31.958Z] 0c6a40ed1a82: Pulling fs layer [2023-11-28T19:07:31.958Z] 94ae7d8d031c: Pulling fs layer [2023-11-28T19:07:31.958Z] 872ee5b61b7b: Waiting [2023-11-28T19:07:31.958Z] f0e02332f6b5: Waiting [2023-11-28T19:07:31.958Z] 0c6a40ed1a82: Waiting [2023-11-28T19:07:31.958Z] 94ae7d8d031c: Waiting [2023-11-28T19:07:31.958Z] 5d54e960e981: Download complete [2023-11-28T19:07:31.958Z] f0e02332f6b5: Verifying Checksum [2023-11-28T19:07:31.958Z] f0e02332f6b5: Download complete [2023-11-28T19:07:31.958Z] 872ee5b61b7b: Verifying Checksum [2023-11-28T19:07:31.958Z] 872ee5b61b7b: Download complete [2023-11-28T19:07:31.958Z] 9fda8d8052c6: Verifying Checksum [2023-11-28T19:07:31.958Z] 9fda8d8052c6: Download complete [2023-11-28T19:07:32.547Z] 94ae7d8d031c: Verifying Checksum [2023-11-28T19:07:32.547Z] 94ae7d8d031c: Download complete [2023-11-28T19:07:32.819Z] 9fda8d8052c6: Pull complete [2023-11-28T19:07:33.808Z] c4a7e357bf2a: Verifying Checksum [2023-11-28T19:07:33.808Z] c4a7e357bf2a: Download complete [2023-11-28T19:07:34.394Z] 0c6a40ed1a82: Verifying Checksum [2023-11-28T19:07:34.394Z] 0c6a40ed1a82: Download complete [2023-11-28T19:07:35.357Z] 5d54e960e981: Pull complete [2023-11-28T19:07:50.392Z] c4a7e357bf2a: Pull complete [2023-11-28T19:07:50.660Z] f0e02332f6b5: Pull complete [2023-11-28T19:07:50.932Z] 872ee5b61b7b: Pull complete [2023-11-28T19:08:01.026Z] 0c6a40ed1a82: Pull complete [2023-11-28T19:08:04.368Z] 94ae7d8d031c: Pull complete [2023-11-28T19:08:04.368Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-28T19:08:04.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-28T19:08:04.368Z] ---> 86de565de09d [2023-11-28T19:08:04.368Z] Step 3/10 : ARG MAKE=make build [2023-11-28T19:08:05.329Z] ---> Running in 872b32355969 [2023-11-28T19:08:05.601Z] Removing intermediate container 872b32355969 [2023-11-28T19:08:05.601Z] ---> 7fa008d1e712 [2023-11-28T19:08:05.601Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-28T19:08:05.877Z] ---> Running in e7a89bc650c5 [2023-11-28T19:08:06.146Z] Removing intermediate container e7a89bc650c5 [2023-11-28T19:08:06.146Z] ---> fa37b4b3c647 [2023-11-28T19:08:06.146Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T19:08:06.146Z] ---> Running in 07b3af6bcbd7 [2023-11-28T19:08:06.414Z] Removing intermediate container 07b3af6bcbd7 [2023-11-28T19:08:06.414Z] ---> ab3006124d75 [2023-11-28T19:08:06.414Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-28T19:08:06.687Z] ---> Running in 337f89bed58c [2023-11-28T19:08:07.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:08:08.244Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:08:09.223Z] OK: 266 MiB in 52 packages [2023-11-28T19:08:10.191Z] Removing intermediate container 337f89bed58c [2023-11-28T19:08:10.191Z] ---> 2217bdea29d9 [2023-11-28T19:08:10.191Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-28T19:08:10.782Z] ---> 22d0c0fc988b [2023-11-28T19:08:10.782Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:08:10.782Z] ---> Running in 7ed7798f45e6 [2023-11-28T19:09:32.425Z] Removing intermediate container 7ed7798f45e6 [2023-11-28T19:09:32.425Z] ---> a9a0377ea3b6 [2023-11-28T19:09:32.425Z] Step 9/10 : COPY . . [2023-11-28T19:09:32.425Z] ---> 8128be0ea886 [2023-11-28T19:09:32.425Z] Step 10/10 : RUN ${MAKE} [2023-11-28T19:09:32.425Z] ---> Running in c81f32b0e717 [2023-11-28T19:09:32.425Z] noop [2023-11-28T19:09:32.425Z] Removing intermediate container c81f32b0e717 [2023-11-28T19:09:32.425Z] ---> 4bc9db17d5eb [2023-11-28T19:09:32.425Z] Successfully built 4bc9db17d5eb [2023-11-28T19:09:32.425Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:09:32.859Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T19:09:32.859Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:09:33.133Z] prd-ubuntu20.04-docker-arm64-4c-16g-2263 does not seem to be running inside a container [2023-11-28T19:09:33.197Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T19:09:34.395Z] $ docker top daabd6c0b8262be75654d03a367ba0caa2bedea87b3811c4b11405440c1f104a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:09:35.293Z] + go version [2023-11-28T19:09:35.293Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-28T19:09:35.310Z] $ docker stop --time=1 daabd6c0b8262be75654d03a367ba0caa2bedea87b3811c4b11405440c1f104a [2023-11-28T19:09:36.926Z] $ docker rm -f --volumes daabd6c0b8262be75654d03a367ba0caa2bedea87b3811c4b11405440c1f104a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:09:37.767Z] + docker inspect -f . ci-base-image-arm64 [2023-11-28T19:09:37.767Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:09:38.013Z] prd-ubuntu20.04-docker-arm64-4c-16g-2263 does not seem to be running inside a container [2023-11-28T19:09:38.075Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-28T19:09:39.223Z] $ docker top 57425e5946ef40cdf82393aee9093e3b198e44f4b73b6bb58bf588c2c31c2b97 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:09:40.125Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-11-28T19:09:40.489Z] + make test [2023-11-28T19:09:40.489Z] go test -race -coverprofile=coverage.out ./... [2023-11-28T19:10:19.376Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-28T19:11:30.645Z] Cannot contact prd-ubuntu20.04-docker-arm64-4c-16g-2263: java.lang.InterruptedException [2023-11-28T19:12:03.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-28T19:12:03.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-28T19:12:03.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-28T19:12:03.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-28T19:12:03.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-28T19:12:16.270Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.207s coverage: 27.6% of statements [2023-11-28T19:12:24.478Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.267s coverage: 81.5% of statements [2023-11-28T19:12:31.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-28T19:12:31.138Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-28T19:12:32.094Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.306s coverage: 86.0% of statements [2023-11-28T19:12:36.342Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-28T19:12:37.751Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.527s coverage: 71.8% of statements [2023-11-28T19:12:41.091Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.244s coverage: 14.4% of statements [2023-11-28T19:12:41.091Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.868s coverage: 45.9% of statements [2023-11-28T19:12:41.091Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-28T19:12:41.091Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-28T19:12:42.510Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.380s coverage: 68.5% of statements [2023-11-28T19:12:45.859Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.419s coverage: 89.2% of statements [2023-11-28T19:12:45.859Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-28T19:12:47.264Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.219s coverage: 5.5% of statements [2023-11-28T19:12:50.605Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-28T19:12:50.605Z] GO111MODULE=on go vet ./... [2023-11-28T19:14:42.249Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-28T19:14:42.249Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-28T19:14:42.249Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-28T19:14:42.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-28T19:14:42.314Z] $ docker stop --time=1 57425e5946ef40cdf82393aee9093e3b198e44f4b73b6bb58bf588c2c31c2b97 [2023-11-28T19:14:45.265Z] $ docker rm -f --volumes 57425e5946ef40cdf82393aee9093e3b198e44f4b73b6bb58bf588c2c31c2b97 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-28T19:14:46.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-28T19:14:46.964Z] Warning: overwriting stash ‘coverage-report’ [2023-11-28T19:14:47.468Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-28T19:14:48.080Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-28T19:14:48.396Z] + ls -al . [2023-11-28T19:14:48.397Z] total 304 [2023-11-28T19:14:48.397Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 28 19:09 . [2023-11-28T19:14:48.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:06 .. [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 28 19:07 .dockerignore [2023-11-28T19:14:48.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 28 19:07 .git [2023-11-28T19:14:48.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:07 .github [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 28 19:07 .gitignore [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 28 19:07 .golangci.yml [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 28 19:07 CHANGELOG.md [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 28 19:07 GOVERNANCE.md [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 28 19:07 Jenkinsfile [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 28 19:07 LICENSE [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 28 19:07 Makefile [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 28 19:07 OWNERS.md [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 28 19:07 README.md [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 28 18:42 VERSION [2023-11-28T19:14:48.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 28 19:07 bin [2023-11-28T19:14:48.397Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 28 19:12 coverage.out [2023-11-28T19:14:48.397Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 28 19:07 example [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 3719 Nov 28 19:07 go.mod [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 34269 Nov 28 19:07 go.sum [2023-11-28T19:14:48.397Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 19:07 internal [2023-11-28T19:14:48.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 28 19:07 openapi [2023-11-28T19:14:48.397Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 28 19:07 pkg [2023-11-28T19:14:48.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 28 19:07 snap [2023-11-28T19:14:48.397Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 28 19:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:14:48.803Z] + 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=fec59e9fda01cdfef93c7987ac1751221428a1b1 --label arch=arm64 --label version=0.0.0 . [2023-11-28T19:14:49.396Z] Sending build context to Docker daemon 11.46MB [2023-11-28T19:14:49.396Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-28T19:14:49.396Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-28T19:14:49.396Z] ---> 4bc9db17d5eb [2023-11-28T19:14:49.396Z] Step 3/24 : ARG MAKE=make build [2023-11-28T19:14:49.662Z] ---> Running in 6c5a5c3f6b2a [2023-11-28T19:14:50.243Z] Removing intermediate container 6c5a5c3f6b2a [2023-11-28T19:14:50.243Z] ---> 45ee6e0aaa8f [2023-11-28T19:14:50.243Z] Step 4/24 : WORKDIR /device-sdk-go [2023-11-28T19:14:50.243Z] ---> Running in c875f03b7797 [2023-11-28T19:14:50.513Z] Removing intermediate container c875f03b7797 [2023-11-28T19:14:50.513Z] ---> 9bbcf54846a4 [2023-11-28T19:14:50.513Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-28T19:14:50.513Z] ---> Running in 9060ae012f7c [2023-11-28T19:14:50.780Z] Removing intermediate container 9060ae012f7c [2023-11-28T19:14:50.780Z] ---> bb21487d0bfb [2023-11-28T19:14:50.780Z] Step 6/24 : RUN apk add --update --no-cache make git [2023-11-28T19:14:51.055Z] ---> Running in 12778817cfcb [2023-11-28T19:14:52.014Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:14:52.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:14:53.686Z] OK: 266 MiB in 52 packages [2023-11-28T19:14:54.270Z] Removing intermediate container 12778817cfcb [2023-11-28T19:14:54.270Z] ---> 6cf7c3b90c49 [2023-11-28T19:14:54.270Z] Step 7/24 : COPY go.mod vendor* ./ [2023-11-28T19:14:58.514Z] ---> 70d24bbb9825 [2023-11-28T19:14:58.514Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-28T19:14:58.783Z] ---> Running in 970a507dad8f [2023-11-28T19:15:00.730Z] Removing intermediate container 970a507dad8f [2023-11-28T19:15:00.730Z] ---> be81794e0607 [2023-11-28T19:15:00.730Z] Step 9/24 : COPY . . [2023-11-28T19:15:02.155Z] ---> 39c6cd45ca35 [2023-11-28T19:15:02.155Z] Step 10/24 : RUN ${MAKE} [2023-11-28T19:15:02.433Z] ---> Running in e6fcd9ea90cb [2023-11-28T19:15:03.404Z] 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-11-28T19:17:10.400Z] Removing intermediate container e6fcd9ea90cb [2023-11-28T19:17:10.400Z] ---> e154d717460a [2023-11-28T19:17:10.400Z] Step 11/24 : FROM alpine:3.18 [2023-11-28T19:17:10.400Z] 3.18: Pulling from library/alpine [2023-11-28T19:17:10.400Z] 579b34f0a95b: Pulling fs layer [2023-11-28T19:17:10.400Z] 579b34f0a95b: Download complete [2023-11-28T19:17:10.400Z] 579b34f0a95b: Pull complete [2023-11-28T19:17:10.400Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-28T19:17:10.400Z] Status: Downloaded newer image for alpine:3.18 [2023-11-28T19:17:10.400Z] ---> 3cc203321400 [2023-11-28T19:17:10.400Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-28T19:17:10.400Z] ---> Running in 09f33fadf0c2 [2023-11-28T19:17:10.400Z] Removing intermediate container 09f33fadf0c2 [2023-11-28T19:17:10.400Z] ---> 4c7317536af7 [2023-11-28T19:17:10.400Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2023-11-28T19:17:10.400Z] ---> Running in f5059631c7b4 [2023-11-28T19:17:10.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:17:10.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:17:10.400Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-28T19:17:10.400Z] Executing busybox-1.36.1-r2.trigger [2023-11-28T19:17:10.400Z] OK: 8 MiB in 16 packages [2023-11-28T19:17:10.400Z] Removing intermediate container f5059631c7b4 [2023-11-28T19:17:10.400Z] ---> 8e1d10f6ae51 [2023-11-28T19:17:10.400Z] Step 14/24 : RUN apk --no-cache upgrade [2023-11-28T19:17:10.400Z] ---> Running in f81fa72776c2 [2023-11-28T19:17:10.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-28T19:17:10.400Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-28T19:17:10.400Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:17:10.400Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:17:10.400Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-28T19:17:10.400Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:17:10.400Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:17:10.400Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-28T19:17:10.400Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-28T19:17:10.400Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-28T19:17:10.400Z] Executing busybox-1.36.1-r5.trigger [2023-11-28T19:17:10.400Z] OK: 8 MiB in 16 packages [2023-11-28T19:17:10.400Z] Removing intermediate container f81fa72776c2 [2023-11-28T19:17:10.400Z] ---> d347917d69bd [2023-11-28T19:17:10.400Z] Step 15/24 : WORKDIR / [2023-11-28T19:17:10.400Z] ---> Running in 1a9bebd47afb [2023-11-28T19:17:10.400Z] Removing intermediate container 1a9bebd47afb [2023-11-28T19:17:10.400Z] ---> f6dc2fd027c1 [2023-11-28T19:17:10.400Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-28T19:17:10.400Z] ---> 24df1c44a6e4 [2023-11-28T19:17:10.400Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-28T19:17:11.365Z] ---> 03bb396a1b8a [2023-11-28T19:17:11.365Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-28T19:17:12.330Z] ---> 1c6b6c7efb3f [2023-11-28T19:17:12.330Z] Step 19/24 : EXPOSE 59999 [2023-11-28T19:17:12.330Z] ---> Running in cf727e1c96d5 [2023-11-28T19:17:12.598Z] Removing intermediate container cf727e1c96d5 [2023-11-28T19:17:12.598Z] ---> b16cce92efa1 [2023-11-28T19:17:12.598Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2023-11-28T19:17:12.598Z] ---> Running in ac77fe3692fb [2023-11-28T19:17:12.869Z] Removing intermediate container ac77fe3692fb [2023-11-28T19:17:12.869Z] ---> 6510f3232097 [2023-11-28T19:17:12.869Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-28T19:17:12.869Z] ---> Running in 09530c765cb4 [2023-11-28T19:17:13.452Z] Removing intermediate container 09530c765cb4 [2023-11-28T19:17:13.452Z] ---> ac445e95e78e [2023-11-28T19:17:13.452Z] Step 22/24 : LABEL arch=arm64 [2023-11-28T19:17:13.452Z] ---> Running in 2d0a7ca3ea0a [2023-11-28T19:17:13.720Z] Removing intermediate container 2d0a7ca3ea0a [2023-11-28T19:17:13.720Z] ---> 16e9d767ffd5 [2023-11-28T19:17:13.720Z] Step 23/24 : LABEL git_sha=fec59e9fda01cdfef93c7987ac1751221428a1b1 [2023-11-28T19:17:13.720Z] ---> Running in c5aaebb2eb60 [2023-11-28T19:17:13.988Z] Removing intermediate container c5aaebb2eb60 [2023-11-28T19:17:13.988Z] ---> bee15bf2451d [2023-11-28T19:17:13.988Z] Step 24/24 : LABEL version=0.0.0 [2023-11-28T19:17:13.988Z] ---> Running in 26dba60fe0bb [2023-11-28T19:17:14.258Z] Removing intermediate container 26dba60fe0bb [2023-11-28T19:17:14.258Z] ---> 06836cae132d [2023-11-28T19:17:14.258Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-28T19:17:14.524Z] Successfully built 06836cae132d [2023-11-28T19:17:14.524Z] 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-11-28T19:17:15.375Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:17:15.375Z] [2023-11-28T19:17:15.375Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:17:15.742Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:17:15.742Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-28T19:17:15.742Z] 8998bd30e6a1: Pulling fs layer [2023-11-28T19:17:15.742Z] 04944245beec: Pulling fs layer [2023-11-28T19:17:15.742Z] 699f458cf7ca: Pulling fs layer [2023-11-28T19:17:15.742Z] 765212b225bb: Pulling fs layer [2023-11-28T19:17:15.742Z] f23df028b6ca: Pulling fs layer [2023-11-28T19:17:15.742Z] d65c8cfc05b1: Pulling fs layer [2023-11-28T19:17:15.742Z] 2437ff75d9bd: Pulling fs layer [2023-11-28T19:17:15.742Z] f23df028b6ca: Waiting [2023-11-28T19:17:15.742Z] d65c8cfc05b1: Waiting [2023-11-28T19:17:15.742Z] 765212b225bb: Waiting [2023-11-28T19:17:15.742Z] 2437ff75d9bd: Waiting [2023-11-28T19:17:16.012Z] 04944245beec: Verifying Checksum [2023-11-28T19:17:16.012Z] 04944245beec: Download complete [2023-11-28T19:17:16.012Z] 765212b225bb: Verifying Checksum [2023-11-28T19:17:16.012Z] 765212b225bb: Download complete [2023-11-28T19:17:16.012Z] f23df028b6ca: Verifying Checksum [2023-11-28T19:17:16.012Z] f23df028b6ca: Download complete [2023-11-28T19:17:16.012Z] d65c8cfc05b1: Verifying Checksum [2023-11-28T19:17:16.012Z] d65c8cfc05b1: Download complete [2023-11-28T19:17:16.281Z] 699f458cf7ca: Verifying Checksum [2023-11-28T19:17:16.553Z] 8998bd30e6a1: Verifying Checksum [2023-11-28T19:17:16.553Z] 8998bd30e6a1: Download complete [2023-11-28T19:17:19.137Z] 2437ff75d9bd: Verifying Checksum [2023-11-28T19:17:19.138Z] 2437ff75d9bd: Download complete [2023-11-28T19:17:21.080Z] 8998bd30e6a1: Pull complete [2023-11-28T19:17:22.485Z] 04944245beec: Pull complete [2023-11-28T19:17:24.428Z] 699f458cf7ca: Pull complete [2023-11-28T19:17:24.428Z] 765212b225bb: Pull complete [2023-11-28T19:17:25.387Z] f23df028b6ca: Pull complete [2023-11-28T19:17:25.387Z] d65c8cfc05b1: Pull complete [2023-11-28T19:17:43.599Z] 2437ff75d9bd: Pull complete [2023-11-28T19:17:43.599Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-28T19:17:43.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-28T19:17:43.599Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:17:44.001Z] prd-ubuntu20.04-docker-arm64-4c-16g-2263 does not seem to be running inside a container [2023-11-28T19:17:44.070Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-28T19:17:47.064Z] $ docker top d70e91286e9adb5a7f2063ae73f21be57b8820e9dc5b3d2e931e117ae8684731 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:17:48.093Z] ---> job-cost.sh [2023-11-28T19:17:48.093Z] lf-activate-venv: SKIPPING [2023-11-28T19:17:48.093Z] INFO: No Stack... [2023-11-28T19:17:48.690Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-28T19:17:49.285Z] INFO: Archiving Costs [Pipeline] sh [2023-11-28T19:17:49.971Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-11-28T19:17:49.971Z] + cut -d, -f6 [Pipeline] lock [2023-11-28T19:17:50.042Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] [2023-11-28T19:17:50.048Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] did not exist. Created. [2023-11-28T19:17:50.048Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-28T19:17:50.803Z] /w/workspace/device-sdk-go/3@tmp/durable-5be4e444/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-28T19:17:51.455Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-28T19:17:51.523Z] Warning: overwriting stash ‘stack-cost’ [2023-11-28T19:17:51.627Z] Stashed 1 file(s) [Pipeline] } [2023-11-28T19:17:51.640Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-28T19:17:51.741Z] $ docker stop --time=1 d70e91286e9adb5a7f2063ae73f21be57b8820e9dc5b3d2e931e117ae8684731 [2023-11-28T19:17:53.321Z] $ docker rm -f --volumes d70e91286e9adb5a7f2063ae73f21be57b8820e9dc5b3d2e931e117ae8684731 [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-11-28T19:17:54.535Z] provisioning config files... [2023-11-28T19:17:54.542Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config4459923753671135884tmp [Pipeline] { [Pipeline] sh [2023-11-28T19:17:54.906Z] + set +x [2023-11-28T19:17:54.906Z] + curl -s https://codecov.io/bash [2023-11-28T19:17:54.906Z] + bash -s -- [2023-11-28T19:17:54.906Z] [2023-11-28T19:17:54.906Z] _____ _ [2023-11-28T19:17:54.906Z] / ____| | | [2023-11-28T19:17:54.906Z] | | ___ __| | ___ ___ _____ __ [2023-11-28T19:17:54.906Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-28T19:17:54.906Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-28T19:17:54.906Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-28T19:17:54.906Z] Bash-1.0.6 [2023-11-28T19:17:54.906Z] [2023-11-28T19:17:54.906Z] [2023-11-28T19:17:54.906Z] ==> git version 2.25.1 found [2023-11-28T19:17:54.906Z] ==> 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-11-28T19:17:54.906Z] Release-Date: 2020-01-08 [2023-11-28T19:17:54.906Z] 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-11-28T19:17:54.906Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-28T19:17:54.906Z] ==> Jenkins CI detected. [2023-11-28T19:17:54.906Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-11-28T19:17:54.906Z] project root: . [2023-11-28T19:17:54.906Z] --> token set from env [2023-11-28T19:17:54.906Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-28T19:17:54.906Z] ==> Running gcov in . (disable via -X gcov) [2023-11-28T19:17:54.906Z] ==> Python coveragepy not found [2023-11-28T19:17:54.906Z] ==> Searching for coverage reports in: [2023-11-28T19:17:54.906Z] + . [2023-11-28T19:17:55.166Z] -> Found 1 reports [2023-11-28T19:17:55.166Z] ==> Detecting git/mercurial file structure [2023-11-28T19:17:55.166Z] ==> Reading reports [2023-11-28T19:17:55.166Z] + ./coverage.out bytes=122153 [2023-11-28T19:17:55.166Z] ==> Appending adjustments [2023-11-28T19:17:55.166Z] https://docs.codecov.io/docs/fixing-reports [2023-11-28T19:17:55.424Z] + Found adjustments [2023-11-28T19:17:55.424Z] ==> Gzipping contents [2023-11-28T19:17:55.424Z] 20K /tmp/codecov.UkhpUB.gz [2023-11-28T19:17:55.424Z] ==> Uploading reports [2023-11-28T19:17:55.424Z] url: https://codecov.io [2023-11-28T19:17:55.424Z] query: branch=PR-1540&commit=f2f81cf9deba556a40f2d8be7bc873cf74430f3c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-11-28T19:17:55.424Z] -> Pinging Codecov [2023-11-28T19:17:55.424Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=f2f81cf9deba556a40f2d8be7bc873cf74430f3c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-11-28T19:17:55.424Z] -> Uploading to [2023-11-28T19:17:55.424Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-28/7E55EF52A471D76F132DFD9A03CDDE97/f2f81cf9deba556a40f2d8be7bc873cf74430f3c/ae5af971-4312-4401-875d-9961a4871042.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231128%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231128T191755Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7a82576e7ebb33f7fad7a0369637ee5b971b503a68db2243c5b4d5c343a059a [2023-11-28T19:17:55.424Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-28T19:17:55.424Z] Dload Upload Total Spent Left Speed [2023-11-28T19:17:55.683Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16752 0 0 100 16752 0 75800 --:--:-- --:--:-- --:--:-- 75459 100 16752 0 0 100 16752 0 61362 --:--:-- --:--:-- --:--:-- 61138 [2023-11-28T19:17:55.683Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f2f81cf9deba556a40f2d8be7bc873cf74430f3c [Pipeline] } [2023-11-28T19:17:55.690Z] 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-11-28T19:17:57.667Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] [2023-11-28T19:17:57.667Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-11-28T19:17:57.667Z] total 16 [2023-11-28T19:17:57.667Z] drwxr-xr-x 3 root root 4096 Nov 28 18:45 . [2023-11-28T19:17:57.667Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 18:45 .. [2023-11-28T19:17:57.667Z] drwxr-xr-x 2 root root 4096 Nov 28 18:45 cost [2023-11-28T19:17:57.667Z] -rw-r--r-- 1 root root 86 Nov 28 18:45 cost.csv [2023-11-28T19:17:57.667Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-11-28T19:17:57.667Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-11-28T19:17:57.667Z] total 16 [2023-11-28T19:17:57.667Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 28 18:45 . [2023-11-28T19:17:57.667Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 28 18:45 .. [2023-11-28T19:17:57.667Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 28 18:45 cost [2023-11-28T19:17:57.667Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 28 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:17:57.961Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:17:58.815Z] ---> package-listing.sh [2023-11-28T19:17:58.815Z] ++ facter osfamily [2023-11-28T19:17:58.815Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-28T19:17:58.815Z] + OS_FAMILY=debian [2023-11-28T19:17:58.815Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-11-28T19:17:58.815Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-28T19:17:58.815Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-28T19:17:58.815Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-28T19:17:58.815Z] + PACKAGES=/tmp/packages_start.txt [2023-11-28T19:17:58.815Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-11-28T19:17:58.815Z] + PACKAGES=/tmp/packages_end.txt [2023-11-28T19:17:58.815Z] + case "${OS_FAMILY}" in [2023-11-28T19:17:58.815Z] + dpkg -l [2023-11-28T19:17:58.815Z] + grep '^ii' [2023-11-28T19:17:59.074Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-28T19:17:59.074Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-28T19:17:59.074Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-28T19:17:59.074Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-11-28T19:17:59.074Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [2023-11-28T19:17:59.074Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo [2023-11-28T19:17:59.084Z] 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-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-28T19:17:59.361Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-28T19:17:59.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-28T19:17:59.954Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-28T19:18:00.116Z] prd-ubuntu20.04-docker-8c-8g-1567 does not seem to be running inside a container [2023-11-28T19:18:00.127Z] $ 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-1540/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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-28T19:18:00.312Z] $ docker top 90a952f4496472b0c28fbb40fdd09607421c27ffcfd05e78f1bf1dfe76bc8734 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-28T19:18:00.746Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-28T19:18:01.030Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-28T19:18:01.316Z] + ls /var/log/sa-host [2023-11-28T19:18:01.316Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-28T19:18:01.419Z] provisioning config files... [2023-11-28T19:18:01.427Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config15327222495530763790tmp [Pipeline] { [Pipeline] echo [2023-11-28T19:18:01.517Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:18:01.802Z] ---> create-netrc.sh [Pipeline] } [2023-11-28T19:18:01.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:18:02.224Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-28T19:18:02.233Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:18:02.516Z] ---> sudo-logs.sh [2023-11-28T19:18:02.516Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-28T19:18:02.582Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:18:02.862Z] ---> job-cost.sh [2023-11-28T19:18:02.862Z] lf-activate-venv: SKIPPING [2023-11-28T19:18:02.862Z] DEBUG: total: 0.2199999988079071 [2023-11-28T19:18:02.862Z] INFO: Retrieving Stack Cost... [2023-11-28T19:18:03.123Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-28T19:18:04.511Z] INFO: Archiving Costs [Pipeline] echo [2023-11-28T19:18:04.520Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-28T19:18:04.803Z] ---> logs-deploy.sh [2023-11-28T19:18:04.803Z] lf-activate-venv: SKIPPING [2023-11-28T19:18:04.803Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/3 [2023-11-28T19:18:04.803Z] INFO: archiving workspace using pattern(s): [2023-11-28T19:18:05.737Z] Archives upload complete. [2023-11-28T19:18:05.737Z] INFO: archiving logs to Nexus