Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6d16e8182ecb0913aee36e010bf21ba70b942b39+55ceb93b68ddd1fabddb6a346a0921fb81c17045 (bc6fd8aeb2f0d4c89122edb3aed4016abe4af55f) 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-ssh9636085786328938033.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh17938523223122119271.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 590556114a56c6d90cc8043840e039c2f74196dc 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-1610/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-1610/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15079159245042752460.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh5067229449946744348.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-1610/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-1610/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3420105760951457830.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7982 in /w/workspace/gexfoundry_device-sdk-go_PR-1610 [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-1610 # 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/1610/head:refs/remotes/origin/PR-1610 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 55ceb93b68ddd1fabddb6a346a0921fb81c17045 into PR head commit 6d16e8182ecb0913aee36e010bf21ba70b942b39 Merge succeeded, producing 8c077b60cd103b6cc2394adba6f3b41267b968d3 Checking out Revision 8c077b60cd103b6cc2394adba6f3b41267b968d3 (PR-1610) > git config core.sparsecheckout # timeout=10 > git checkout -f 6d16e8182ecb0913aee36e010bf21ba70b942b39 # 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 55ceb93b68ddd1fabddb6a346a0921fb81c17045 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8c077b60cd103b6cc2394adba6f3b41267b968d3 # timeout=10 Commit message: "Merge commit '55ceb93b68ddd1fabddb6a346a0921fb81c17045' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 41a02f1660e79b632e177c6fac435da123a79680 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-19T18:41:37.410Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-19T18:41:37.487Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-19T18:41:37.511Z] ========================================================= [2024-08-19T18:41:37.511Z] EdgeX Global Pipelines Version Info [2024-08-19T18:41:37.511Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:41:38.258Z] ------------------- [2024-08-19T18:41:38.258Z] stable info: [2024-08-19T18:41:38.258Z] ------------------- [2024-08-19T18:41:38.258Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-19T18:41:38.258Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-19T18:41:38.258Z] Message: update stable to v1.0.260 [2024-08-19T18:41:38.829Z] ------------------- [2024-08-19T18:41:38.829Z] experimental info: [2024-08-19T18:41:38.829Z] ------------------- [2024-08-19T18:41:38.829Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-19T18:41:38.829Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-19T18:41:38.829Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-19T18:41:38.910Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-08-19T18:41:38.931Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-08-19T18:41:38.954Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-19T18:41:38.977Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-19T18:41:38.998Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-19T18:41:39.021Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-19T18:41:39.047Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-19T18:41:39.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-08-19T18:41:39.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-19T18:41:39.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-19T18:41:39.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-19T18:41:39.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-08-19T18:41:39.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-19T18:41:39.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-19T18:41:39.220Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-19T18:41:39.241Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-08-19T18:41:39.261Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-19T18:41:39.281Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-19T18:41:39.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-19T18:41:39.326Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-19T18:41:39.347Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-08-19T18:41:39.371Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-08-19T18:41:39.390Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-19T18:41:39.409Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-19T18:41:39.429Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-19T18:41:39.453Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-19T18:41:39.473Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-19T18:41:39.492Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1610 [Pipeline] echo [2024-08-19T18:41:39.514Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1610 [Pipeline] echo [2024-08-19T18:41:39.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1610 [Pipeline] echo [2024-08-19T18:41:39.555Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8c077b60cd103b6cc2394adba6f3b41267b968d3 [Pipeline] echo [2024-08-19T18:41:39.577Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8c077b6 [Pipeline] echo [2024-08-19T18:41:39.599Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-19T18:41:39.658Z] provisioning config files... [2024-08-19T18:41:39.674Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config11622609853640237212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:41:40.008Z] ---> ****-login.sh [2024-08-19T18:41:40.008Z] nexus3.edgexfoundry.org:10001 [2024-08-19T18:41:40.267Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:41:40.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:41:40.268Z] Configure a credential helper to remove this warning. See [2024-08-19T18:41:40.268Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:41:40.268Z] [2024-08-19T18:41:40.268Z] Login Succeeded [2024-08-19T18:41:40.268Z] nexus3.edgexfoundry.org:10002 [2024-08-19T18:41:40.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:41:40.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:41:40.529Z] Configure a credential helper to remove this warning. See [2024-08-19T18:41:40.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:41:40.529Z] [2024-08-19T18:41:40.529Z] Login Succeeded [2024-08-19T18:41:40.529Z] nexus3.edgexfoundry.org:10003 [2024-08-19T18:41:40.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:41:40.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:41:40.529Z] Configure a credential helper to remove this warning. See [2024-08-19T18:41:40.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:41:40.529Z] [2024-08-19T18:41:40.529Z] Login Succeeded [2024-08-19T18:41:40.529Z] nexus3.edgexfoundry.org:10004 [2024-08-19T18:41:40.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:41:40.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:41:40.791Z] Configure a credential helper to remove this warning. See [2024-08-19T18:41:40.791Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:41:40.791Z] [2024-08-19T18:41:40.791Z] Login Succeeded [2024-08-19T18:41:40.791Z] ****.io [2024-08-19T18:41:40.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:41:41.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:41:41.053Z] Configure a credential helper to remove this warning. See [2024-08-19T18:41:41.053Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:41:41.053Z] [2024-08-19T18:41:41.053Z] Login Succeeded [2024-08-19T18:41:41.053Z] ---> ****-login.sh ends [Pipeline] } [2024-08-19T18:41:41.061Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-19T18:41:41.466Z] + git rev-list -1 --merges 8c077b60cd103b6cc2394adba6f3b41267b968d3~1..8c077b60cd103b6cc2394adba6f3b41267b968d3 [Pipeline] echo [2024-08-19T18:41:41.498Z] -----------> git rev-list -1 --merges 8c077b60cd103b6cc2394adba6f3b41267b968d3~1..8c077b60cd103b6cc2394adba6f3b41267b968d3 8c077b60cd103b6cc2394adba6f3b41267b968d3 [2024-08-19T18:41:41.498Z] 8c077b60cd103b6cc2394adba6f3b41267b968d3 [false] [Pipeline] sh [2024-08-19T18:41:41.797Z] + git log --format=format:%s -1 8c077b60cd103b6cc2394adba6f3b41267b968d3 [Pipeline] echo [2024-08-19T18:41:41.814Z] ========================================================= [2024-08-19T18:41:41.814Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-19T18:41:41.814Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-19T18:41:42.154Z] + git log --format=format:%s -1 8c077b60cd103b6cc2394adba6f3b41267b968d3 [Pipeline] echo [2024-08-19T18:41:42.167Z] [semverPrep] GIT_COMMIT: 8c077b60cd103b6cc2394adba6f3b41267b968d3, Commit Message: Merge commit '55ceb93b68ddd1fabddb6a346a0921fb81c17045' into HEAD [Pipeline] echo [2024-08-19T18:41:42.182Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-19T18:41:42.567Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-19T18:41:42.567Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-19T18:41:42.567Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-19T18:41:42.567Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-19T18:41:42.567Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-19T18:41:42.567Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-19T18:41:42.567Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:41:42.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-19T18:41:42.989Z] [2024-08-19T18:41:42.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:41:43.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-19T18:41:43.294Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-19T18:41:43.294Z] b85a868b505f: Pulling fs layer [2024-08-19T18:41:43.294Z] e2be974225ed: Pulling fs layer [2024-08-19T18:41:43.294Z] 339a4e72a1f5: Pulling fs layer [2024-08-19T18:41:43.294Z] 988bab9f4d93: Pulling fs layer [2024-08-19T18:41:43.294Z] 1469e6f7b9e6: Pulling fs layer [2024-08-19T18:41:43.294Z] eaf3925da568: Pulling fs layer [2024-08-19T18:41:43.294Z] bab4dde63d76: Pulling fs layer [2024-08-19T18:41:43.294Z] bde34c3a00c8: Pulling fs layer [2024-08-19T18:41:43.294Z] b352a97aabf1: Pulling fs layer [2024-08-19T18:41:43.294Z] 4872d77fe225: Pulling fs layer [2024-08-19T18:41:43.294Z] 5851b861e8e6: Pulling fs layer [2024-08-19T18:41:43.294Z] 988bab9f4d93: Waiting [2024-08-19T18:41:43.294Z] bab4dde63d76: Waiting [2024-08-19T18:41:43.294Z] 1469e6f7b9e6: Waiting [2024-08-19T18:41:43.294Z] bde34c3a00c8: Waiting [2024-08-19T18:41:43.294Z] b352a97aabf1: Waiting [2024-08-19T18:41:43.294Z] eaf3925da568: Waiting [2024-08-19T18:41:43.294Z] 5851b861e8e6: Waiting [2024-08-19T18:41:43.294Z] e2be974225ed: Verifying Checksum [2024-08-19T18:41:43.294Z] e2be974225ed: Download complete [2024-08-19T18:41:43.294Z] 988bab9f4d93: Verifying Checksum [2024-08-19T18:41:43.294Z] 988bab9f4d93: Download complete [2024-08-19T18:41:43.570Z] 1469e6f7b9e6: Verifying Checksum [2024-08-19T18:41:43.570Z] 1469e6f7b9e6: Download complete [2024-08-19T18:41:43.570Z] 339a4e72a1f5: Verifying Checksum [2024-08-19T18:41:43.570Z] 339a4e72a1f5: Download complete [2024-08-19T18:41:43.570Z] eaf3925da568: Verifying Checksum [2024-08-19T18:41:43.570Z] eaf3925da568: Download complete [2024-08-19T18:41:43.570Z] bde34c3a00c8: Download complete [2024-08-19T18:41:43.570Z] b352a97aabf1: Verifying Checksum [2024-08-19T18:41:43.570Z] b352a97aabf1: Download complete [2024-08-19T18:41:43.570Z] 4872d77fe225: Verifying Checksum [2024-08-19T18:41:43.570Z] 4872d77fe225: Download complete [2024-08-19T18:41:43.570Z] 5851b861e8e6: Download complete [2024-08-19T18:41:43.570Z] b85a868b505f: Verifying Checksum [2024-08-19T18:41:43.570Z] b85a868b505f: Download complete [2024-08-19T18:41:43.840Z] bab4dde63d76: Verifying Checksum [2024-08-19T18:41:43.840Z] bab4dde63d76: Download complete [2024-08-19T18:41:45.217Z] b85a868b505f: Pull complete [2024-08-19T18:41:45.217Z] e2be974225ed: Pull complete [2024-08-19T18:41:45.476Z] 339a4e72a1f5: Pull complete [2024-08-19T18:41:45.736Z] 988bab9f4d93: Pull complete [2024-08-19T18:41:45.995Z] 1469e6f7b9e6: Pull complete [2024-08-19T18:41:45.995Z] eaf3925da568: Pull complete [2024-08-19T18:41:47.900Z] bab4dde63d76: Pull complete [2024-08-19T18:41:47.900Z] bde34c3a00c8: Pull complete [2024-08-19T18:41:48.161Z] b352a97aabf1: Pull complete [2024-08-19T18:41:48.161Z] 4872d77fe225: Pull complete [2024-08-19T18:41:48.161Z] 5851b861e8e6: Pull complete [2024-08-19T18:41:48.161Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-19T18:41:48.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-19T18:41:48.161Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T18:41:48.321Z] prd-ubuntu20.04-docker-8c-8g-7982 does not seem to be running inside a container [2024-08-19T18:41:48.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-19T18:41:52.081Z] $ docker top 3bb995083990206a093ad56053bc983a9ba58555b3aa23a6e068ec58e61f3b60 -eo pid,comm [2024-08-19T18:41:52.137Z] 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). [2024-08-19T18:41:52.137Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-19T18:41:52.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-19T18:41:52.197Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-19T18:41:52.304Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-19T18:41:52.305Z] $ docker exec 3bb995083990206a093ad56053bc983a9ba58555b3aa23a6e068ec58e61f3b60 ssh-agent [2024-08-19T18:41:52.420Z] SSH_AUTH_SOCK=/tmp/ssh-Sxbw7IANOFng/agent.31 [2024-08-19T18:41:52.420Z] SSH_AGENT_PID=38 [2024-08-19T18:41:52.428Z] Running ssh-add (command line suppressed) [2024-08-19T18:41:52.524Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_17573043301319131203.key (/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_17573043301319131203.key) [2024-08-19T18:41:52.538Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-19T18:41:52.834Z] + git tag --points-at HEAD [Pipeline] } [2024-08-19T18:41:52.845Z] $ docker exec --env ******** --env ******** 3bb995083990206a093ad56053bc983a9ba58555b3aa23a6e068ec58e61f3b60 ssh-agent -k [2024-08-19T18:41:52.945Z] unset SSH_AUTH_SOCK; [2024-08-19T18:41:52.945Z] unset SSH_AGENT_PID; [2024-08-19T18:41:52.945Z] echo Agent pid 38 killed; [2024-08-19T18:41:52.958Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-19T18:41:53.003Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-19T18:41:53.003Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-19T18:41:53.111Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-19T18:41:53.111Z] $ docker exec 3bb995083990206a093ad56053bc983a9ba58555b3aa23a6e068ec58e61f3b60 ssh-agent [2024-08-19T18:41:53.218Z] SSH_AUTH_SOCK=/tmp/ssh-gmUKVTzJlbBo/agent.71 [2024-08-19T18:41:53.218Z] SSH_AGENT_PID=77 [2024-08-19T18:41:53.223Z] Running ssh-add (command line suppressed) [2024-08-19T18:41:53.337Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_581451629746198924.key (/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/private_key_581451629746198924.key) [2024-08-19T18:41:53.353Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-19T18:41:53.650Z] + git semver init [2024-08-19T18:41:53.918Z] 2024-08-19 18:41:53,829 [run_init] DEBUG init version:0.0.0 force:False [2024-08-19T18:41:53.918Z] 2024-08-19 18:41:53,830 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver [2024-08-19T18:41:53.918Z] 2024-08-19 18:41:53,831 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver [2024-08-19T18:41:53.918Z] 2024-08-19 18:41:53,831 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1610, universal_newlines=False, shell=None, istream=None) [2024-08-19T18:41:56.459Z] 2024-08-19 18:41:55,904 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.git/info/exclude [2024-08-19T18:41:56.459Z] 2024-08-19 18:41:55,905 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver/PR-1610 with force:False [2024-08-19T18:41:56.459Z] 2024-08-19 18:41:55,905 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver/PR-1610 [2024-08-19T18:41:56.459Z] 2024-08-19 18:41:55,910 [execute] INFO git cat-file --batch-check [2024-08-19T18:41:56.459Z] 2024-08-19 18:41:55,911 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver, universal_newlines=False, shell=None, istream=) [2024-08-19T18:41:56.459Z] 2024-08-19 18:41:55,917 [execute] INFO git cat-file --batch [2024-08-19T18:41:56.459Z] 2024-08-19 18:41:55,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver, universal_newlines=False, shell=None, istream=) [2024-08-19T18:41:56.459Z] 2024-08-19 18:41:55,924 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1610/.semver/PR-1610 [2024-08-19T18:41:56.459Z] 0.0.0 [Pipeline] } [2024-08-19T18:41:56.468Z] $ docker exec --env ******** --env ******** 3bb995083990206a093ad56053bc983a9ba58555b3aa23a6e068ec58e61f3b60 ssh-agent -k [2024-08-19T18:41:56.568Z] unset SSH_AUTH_SOCK; [2024-08-19T18:41:56.569Z] unset SSH_AGENT_PID; [2024-08-19T18:41:56.569Z] echo Agent pid 77 killed; [2024-08-19T18:41:56.579Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-19T18:41:56.912Z] + git semver [Pipeline] } [2024-08-19T18:41:57.191Z] $ docker stop --time=1 3bb995083990206a093ad56053bc983a9ba58555b3aa23a6e068ec58e61f3b60 [2024-08-19T18:41:58.509Z] $ docker rm -f --volumes 3bb995083990206a093ad56053bc983a9ba58555b3aa23a6e068ec58e61f3b60 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-19T18:41:58.862Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-19T18:41:59.138Z] Stashed 1 file(s) [Pipeline] echo [2024-08-19T18:41:59.143Z] [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 [2024-08-19T18:41:59.338Z] provisioning config files... [2024-08-19T18:41:59.348Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config1459415704606880021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:41:59.652Z] ---> ****-login.sh [2024-08-19T18:41:59.652Z] nexus3.edgexfoundry.org:10001 [2024-08-19T18:41:59.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:41:59.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:41:59.652Z] Configure a credential helper to remove this warning. See [2024-08-19T18:41:59.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:41:59.652Z] [2024-08-19T18:41:59.652Z] Login Succeeded [2024-08-19T18:41:59.652Z] nexus3.edgexfoundry.org:10002 [2024-08-19T18:41:59.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:41:59.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:41:59.653Z] Configure a credential helper to remove this warning. See [2024-08-19T18:41:59.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:41:59.653Z] [2024-08-19T18:41:59.653Z] Login Succeeded [2024-08-19T18:41:59.653Z] nexus3.edgexfoundry.org:10003 [2024-08-19T18:41:59.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:41:59.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:41:59.912Z] Configure a credential helper to remove this warning. See [2024-08-19T18:41:59.913Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:41:59.913Z] [2024-08-19T18:41:59.913Z] Login Succeeded [2024-08-19T18:41:59.913Z] nexus3.edgexfoundry.org:10004 [2024-08-19T18:41:59.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:41:59.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:41:59.913Z] Configure a credential helper to remove this warning. See [2024-08-19T18:41:59.913Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:41:59.913Z] [2024-08-19T18:41:59.913Z] Login Succeeded [2024-08-19T18:41:59.913Z] ****.io [2024-08-19T18:41:59.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:42:00.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:42:00.172Z] Configure a credential helper to remove this warning. See [2024-08-19T18:42:00.172Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:42:00.172Z] [2024-08-19T18:42:00.172Z] Login Succeeded [2024-08-19T18:42:00.172Z] ---> ****-login.sh ends [Pipeline] } [2024-08-19T18:42:00.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-19T18:42:00.284Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T18:42:00.308Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T18:42:00.320Z] ========================================================= [2024-08-19T18:42:00.320Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-19T18:42:00.320Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:42:00.664Z] + 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 . [2024-08-19T18:42:00.664Z] Sending build context to Docker daemon 25.18MB [2024-08-19T18:42:00.664Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T18:42:00.664Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-19T18:42:00.924Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-19T18:42:00.924Z] 619be1103602: Pulling fs layer [2024-08-19T18:42:00.924Z] 7862e08f4a3e: Pulling fs layer [2024-08-19T18:42:00.924Z] 5df492c9dc93: Pulling fs layer [2024-08-19T18:42:00.924Z] 7629e6793208: Pulling fs layer [2024-08-19T18:42:00.924Z] 4f4fb700ef54: Pulling fs layer [2024-08-19T18:42:00.924Z] fb5054dd5b73: Pulling fs layer [2024-08-19T18:42:00.924Z] eeca6798cff9: Pulling fs layer [2024-08-19T18:42:00.924Z] aa269ceb94a6: Pulling fs layer [2024-08-19T18:42:00.924Z] ada007ff1a6a: Pulling fs layer [2024-08-19T18:42:00.924Z] 7629e6793208: Waiting [2024-08-19T18:42:00.924Z] 4f4fb700ef54: Waiting [2024-08-19T18:42:00.924Z] aa269ceb94a6: Waiting [2024-08-19T18:42:00.924Z] ada007ff1a6a: Waiting [2024-08-19T18:42:00.924Z] fb5054dd5b73: Waiting [2024-08-19T18:42:00.924Z] eeca6798cff9: Waiting [2024-08-19T18:42:00.924Z] 7862e08f4a3e: Download complete [2024-08-19T18:42:00.924Z] 7629e6793208: Verifying Checksum [2024-08-19T18:42:00.924Z] 7629e6793208: Download complete [2024-08-19T18:42:00.924Z] 4f4fb700ef54: Verifying Checksum [2024-08-19T18:42:00.924Z] 4f4fb700ef54: Download complete [2024-08-19T18:42:00.924Z] fb5054dd5b73: Verifying Checksum [2024-08-19T18:42:00.924Z] fb5054dd5b73: Download complete [2024-08-19T18:42:00.924Z] 619be1103602: Verifying Checksum [2024-08-19T18:42:00.924Z] 619be1103602: Download complete [2024-08-19T18:42:00.924Z] eeca6798cff9: Verifying Checksum [2024-08-19T18:42:00.924Z] eeca6798cff9: Download complete [2024-08-19T18:42:01.183Z] 619be1103602: Pull complete [2024-08-19T18:42:01.183Z] ada007ff1a6a: Verifying Checksum [2024-08-19T18:42:01.183Z] ada007ff1a6a: Download complete [2024-08-19T18:42:01.183Z] 7862e08f4a3e: Pull complete [2024-08-19T18:42:01.442Z] 5df492c9dc93: Download complete [2024-08-19T18:42:01.700Z] aa269ceb94a6: Verifying Checksum [2024-08-19T18:42:04.983Z] 5df492c9dc93: Pull complete [2024-08-19T18:42:04.983Z] 7629e6793208: Pull complete [2024-08-19T18:42:04.983Z] 4f4fb700ef54: Pull complete [2024-08-19T18:42:04.983Z] fb5054dd5b73: Pull complete [2024-08-19T18:42:05.241Z] eeca6798cff9: Pull complete [2024-08-19T18:42:07.772Z] aa269ceb94a6: Pull complete [2024-08-19T18:42:08.339Z] ada007ff1a6a: Pull complete [2024-08-19T18:42:08.339Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-19T18:42:08.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-19T18:42:08.339Z] ---> f489d0715acc [2024-08-19T18:42:08.339Z] Step 3/10 : ARG MAKE=make build [2024-08-19T18:42:13.626Z] ---> Running in efd268558d66 [2024-08-19T18:42:13.626Z] Removing intermediate container efd268558d66 [2024-08-19T18:42:13.626Z] ---> 7e644148d29e [2024-08-19T18:42:13.626Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-19T18:42:13.626Z] ---> Running in 62b9f1f287c6 [2024-08-19T18:42:13.626Z] Removing intermediate container 62b9f1f287c6 [2024-08-19T18:42:13.626Z] ---> 51abd30abafb [2024-08-19T18:42:13.626Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-19T18:42:13.626Z] ---> Running in 06dca3eefd7d [2024-08-19T18:42:13.626Z] Removing intermediate container 06dca3eefd7d [2024-08-19T18:42:13.626Z] ---> 422fe859c64e [2024-08-19T18:42:13.626Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-19T18:42:13.626Z] ---> Running in 4533bdfda504 [2024-08-19T18:42:13.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T18:42:14.145Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T18:42:14.280Z] Still waiting to schedule task [2024-08-19T18:42:14.281Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-19T18:42:14.409Z] OK: 264 MiB in 52 packages [2024-08-19T18:42:14.684Z] Removing intermediate container 4533bdfda504 [2024-08-19T18:42:14.684Z] ---> 0d86e6baa950 [2024-08-19T18:42:14.684Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-19T18:42:14.943Z] ---> 354bd82e1976 [2024-08-19T18:42:14.943Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T18:42:14.943Z] ---> Running in 2f77223a9f70 [2024-08-19T18:43:22.856Z] Removing intermediate container 2f77223a9f70 [2024-08-19T18:43:22.856Z] ---> bbdfe02c98b5 [2024-08-19T18:43:22.856Z] Step 9/10 : COPY . . [2024-08-19T18:43:22.856Z] ---> 74f993c959d5 [2024-08-19T18:43:22.856Z] Step 10/10 : RUN ${MAKE} [2024-08-19T18:43:22.856Z] ---> Running in c79bf5ea3a2a [2024-08-19T18:43:22.856Z] noop [2024-08-19T18:43:22.856Z] Removing intermediate container c79bf5ea3a2a [2024-08-19T18:43:22.856Z] ---> 1888783ddb8b [2024-08-19T18:43:22.856Z] Successfully built 1888783ddb8b [2024-08-19T18:43:22.856Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:43:23.194Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-19T18:43:23.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T18:43:23.280Z] prd-ubuntu20.04-docker-8c-8g-7982 does not seem to be running inside a container [2024-08-19T18:43:23.424Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-19T18:43:23.785Z] $ docker top 10d6307afe30cdbee8fd5cec80390d75a8c44588d2f28aae9c22cdd4fffefc64 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T18:43:24.136Z] + go version [2024-08-19T18:43:24.136Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-19T18:43:24.144Z] $ docker stop --time=1 10d6307afe30cdbee8fd5cec80390d75a8c44588d2f28aae9c22cdd4fffefc64 [2024-08-19T18:43:25.428Z] $ docker rm -f --volumes 10d6307afe30cdbee8fd5cec80390d75a8c44588d2f28aae9c22cdd4fffefc64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:43:25.872Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-19T18:43:25.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T18:43:25.959Z] prd-ubuntu20.04-docker-8c-8g-7982 does not seem to be running inside a container [2024-08-19T18:43:25.988Z] $ 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-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-19T18:43:26.327Z] $ docker top 68f824af05e6aee9c98dc02a279bbae6a14b6a7b564fd6565655a36d537d4838 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T18:43:26.688Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1610 [Pipeline] fileExists [Pipeline] sh [2024-08-19T18:43:26.992Z] + make test [2024-08-19T18:43:26.992Z] go test -race -coverprofile=coverage.out ./... [2024-08-19T18:43:35.140Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-19T18:43:50.503Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7983 in /w/workspace/gexfoundry_device-sdk-go_PR-1610 [Pipeline] { [Pipeline] ws [2024-08-19T18:43:50.519Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2024-08-19T18:43:53.577Z] The recommended git tool is: git [2024-08-19T18:44:01.034Z] using credential edgex-jenkins-ssh [2024-08-19T18:44:01.059Z] Cloning the remote Git repository [2024-08-19T18:44:01.106Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-08-19T18:44:01.211Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2024-08-19T18:44:01.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-19T18:44:01.402Z] > git --version # timeout=10 [2024-08-19T18:44:01.425Z] > git --version # 'git version 2.25.1' [2024-08-19T18:44:01.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-19T18:44:01.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-19T18:44:05.262Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-19T18:44:05.290Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-19T18:44:06.421Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-08-19T18:44:06.485Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-08-19T18:44:06.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-19T18:44:06.510Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1610/head:refs/remotes/origin/PR-1610 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-19T18:44:07.062Z] Merging remotes/origin/main commit 55ceb93b68ddd1fabddb6a346a0921fb81c17045 into PR head commit 6d16e8182ecb0913aee36e010bf21ba70b942b39 [2024-08-19T18:44:07.540Z] Merge succeeded, producing c30bcadee867274bd3478864534403694056bf40 [2024-08-19T18:44:07.540Z] Checking out Revision c30bcadee867274bd3478864534403694056bf40 (PR-1610) [2024-08-19T18:44:07.081Z] > git config core.sparsecheckout # timeout=10 [2024-08-19T18:44:07.150Z] > git checkout -f 6d16e8182ecb0913aee36e010bf21ba70b942b39 # timeout=10 [2024-08-19T18:44:07.294Z] > git remote # timeout=10 [2024-08-19T18:44:07.328Z] > git config --get remote.origin.url # timeout=10 [2024-08-19T18:44:07.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-19T18:44:07.396Z] > git merge 55ceb93b68ddd1fabddb6a346a0921fb81c17045 # timeout=10 [2024-08-19T18:44:07.523Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-19T18:44:07.544Z] > git config core.sparsecheckout # timeout=10 [2024-08-19T18:44:07.591Z] > git checkout -f c30bcadee867274bd3478864534403694056bf40 # timeout=10 [2024-08-19T18:44:11.230Z] Commit message: "Merge commit '55ceb93b68ddd1fabddb6a346a0921fb81c17045' into HEAD" [2024-08-19T18:44:11.298Z] First time build. Skipping changelog. [2024-08-19T18:44:11.237Z] > git rev-list --no-walk 41a02f1660e79b632e177c6fac435da123a79680 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-19T18:44:13.089Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-19T18:44:13.089Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-19T18:44:13.089Z] Dload Upload Total Spent Left Speed [2024-08-19T18:44:13.089Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2024-08-19T18:44:13.432Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-19T18:44:13.782Z] + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2024-08-19T18:44:13.782Z] tee /etc/docker/daemon.new [2024-08-19T18:44:13.782Z] { [2024-08-19T18:44:13.782Z] "registry-mirrors": [ [2024-08-19T18:44:13.782Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-19T18:44:13.782Z] ], [2024-08-19T18:44:13.782Z] "bip": "10.250.0.254/24", [2024-08-19T18:44:13.782Z] "hosts": [ [2024-08-19T18:44:13.782Z] "tcp://0.0.0.0:5555", [2024-08-19T18:44:13.782Z] "unix:///var/run/docker.sock" [2024-08-19T18:44:13.782Z] ], [2024-08-19T18:44:13.782Z] "mtu": 1458, [2024-08-19T18:44:13.783Z] "selinux-enabled": true, [2024-08-19T18:44:13.783Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-19T18:44:13.783Z] } [Pipeline] sh [2024-08-19T18:44:13.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-19T18:44:13.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-19T18:44:13.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-19T18:44:13.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-19T18:44:13.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-19T18:44:13.911Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.028s coverage: 26.0% of statements [2024-08-19T18:44:13.911Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.035s coverage: 79.4% of statements [2024-08-19T18:44:13.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-19T18:44:13.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-19T18:44:13.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-19T18:44:13.911Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.040s coverage: 86.0% of statements [2024-08-19T18:44:13.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-19T18:44:13.911Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-19T18:44:13.911Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 52.2% of statements [2024-08-19T18:44:14.111Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-19T18:44:14.461Z] + sudo service docker restart [2024-08-19T18:44:14.849Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-19T18:44:17.386Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.030s coverage: 14.4% of statements [2024-08-19T18:44:17.386Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.391s coverage: 44.6% of statements [2024-08-19T18:44:17.386Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.046s coverage: 68.5% of statements [2024-08-19T18:44:17.386Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.087s coverage: 89.2% of statements [2024-08-19T18:44:17.386Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.049s coverage: 5.4% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-19T18:44:32.732Z] provisioning config files... [2024-08-19T18:44:32.759Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config13661917682326311310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:44:33.228Z] ---> ****-login.sh [2024-08-19T18:44:33.228Z] nexus3.edgexfoundry.org:10001 [2024-08-19T18:44:33.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:44:33.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:44:33.770Z] Configure a credential helper to remove this warning. See [2024-08-19T18:44:33.770Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:44:33.770Z] [2024-08-19T18:44:33.771Z] Login Succeeded [2024-08-19T18:44:33.771Z] nexus3.edgexfoundry.org:10002 [2024-08-19T18:44:34.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:44:34.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:44:34.316Z] Configure a credential helper to remove this warning. See [2024-08-19T18:44:34.316Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:44:34.316Z] [2024-08-19T18:44:34.316Z] Login Succeeded [2024-08-19T18:44:34.316Z] nexus3.edgexfoundry.org:10003 [2024-08-19T18:44:34.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:44:34.588Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:44:34.588Z] Configure a credential helper to remove this warning. See [2024-08-19T18:44:34.588Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:44:34.588Z] [2024-08-19T18:44:34.588Z] Login Succeeded [2024-08-19T18:44:34.588Z] nexus3.edgexfoundry.org:10004 [2024-08-19T18:44:34.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:44:34.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:44:34.864Z] Configure a credential helper to remove this warning. See [2024-08-19T18:44:34.864Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:44:34.864Z] [2024-08-19T18:44:34.864Z] Login Succeeded [2024-08-19T18:44:34.864Z] ****.io [2024-08-19T18:44:35.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-19T18:44:35.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-19T18:44:35.400Z] Configure a credential helper to remove this warning. See [2024-08-19T18:44:35.400Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-19T18:44:35.400Z] [2024-08-19T18:44:35.400Z] Login Succeeded [2024-08-19T18:44:35.401Z] ---> ****-login.sh ends [Pipeline] } [2024-08-19T18:44:35.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-19T18:44:35.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T18:44:35.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-19T18:44:35.785Z] ========================================================= [2024-08-19T18:44:35.785Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-19T18:44:35.785Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:44:36.151Z] + 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 . [2024-08-19T18:44:36.754Z] Sending build context to Docker daemon 13.03MB [2024-08-19T18:44:36.754Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T18:44:36.754Z] Step 2/10 : FROM ${BASE} AS builder [2024-08-19T18:44:36.754Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-19T18:44:36.754Z] c6b39de5b339: Pulling fs layer [2024-08-19T18:44:36.754Z] a69c41024577: Pulling fs layer [2024-08-19T18:44:36.754Z] d6de4b400683: Pulling fs layer [2024-08-19T18:44:36.754Z] 35cb2a7552d0: Pulling fs layer [2024-08-19T18:44:36.754Z] 4f4fb700ef54: Pulling fs layer [2024-08-19T18:44:36.754Z] 464afbd9ba4c: Pulling fs layer [2024-08-19T18:44:36.754Z] 00f215d4a9da: Pulling fs layer [2024-08-19T18:44:36.754Z] d496ad576159: Pulling fs layer [2024-08-19T18:44:36.754Z] 464afbd9ba4c: Waiting [2024-08-19T18:44:36.754Z] 00f215d4a9da: Waiting [2024-08-19T18:44:36.754Z] d496ad576159: Waiting [2024-08-19T18:44:36.754Z] 35cb2a7552d0: Waiting [2024-08-19T18:44:36.754Z] 4f4fb700ef54: Waiting [2024-08-19T18:44:36.754Z] a69c41024577: Verifying Checksum [2024-08-19T18:44:36.754Z] a69c41024577: Download complete [2024-08-19T18:44:37.022Z] 35cb2a7552d0: Verifying Checksum [2024-08-19T18:44:37.022Z] 35cb2a7552d0: Download complete [2024-08-19T18:44:37.022Z] 4f4fb700ef54: Verifying Checksum [2024-08-19T18:44:37.022Z] 4f4fb700ef54: Download complete [2024-08-19T18:44:37.022Z] 464afbd9ba4c: Verifying Checksum [2024-08-19T18:44:37.022Z] 464afbd9ba4c: Download complete [2024-08-19T18:44:37.022Z] c6b39de5b339: Download complete [2024-08-19T18:44:37.293Z] d496ad576159: Verifying Checksum [2024-08-19T18:44:37.879Z] c6b39de5b339: Pull complete [2024-08-19T18:44:38.466Z] a69c41024577: Pull complete [2024-08-19T18:44:38.734Z] d6de4b400683: Verifying Checksum [2024-08-19T18:44:38.734Z] d6de4b400683: Download complete [2024-08-19T18:44:39.708Z] 00f215d4a9da: Verifying Checksum [2024-08-19T18:44:39.708Z] 00f215d4a9da: Download complete [2024-08-19T18:44:52.043Z] d6de4b400683: Pull complete [2024-08-19T18:44:52.043Z] 35cb2a7552d0: Pull complete [2024-08-19T18:44:52.043Z] 4f4fb700ef54: Pull complete [2024-08-19T18:44:52.043Z] 464afbd9ba4c: Pull complete [2024-08-19T18:44:56.112Z] GO111MODULE=on go vet ./... [2024-08-19T18:44:56.112Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-19T18:44:56.112Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-19T18:44:56.112Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-19T18:44:56.127Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-19T18:44:56.140Z] $ docker stop --time=1 68f824af05e6aee9c98dc02a279bbae6a14b6a7b564fd6565655a36d537d4838 [2024-08-19T18:45:00.269Z] 00f215d4a9da: Pull complete [2024-08-19T18:45:01.985Z] $ docker rm -f --volumes 68f824af05e6aee9c98dc02a279bbae6a14b6a7b564fd6565655a36d537d4838 [2024-08-19T18:45:02.219Z] d496ad576159: Pull complete [2024-08-19T18:45:02.219Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-19T18:45:02.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-19T18:45:02.219Z] ---> f246e2811388 [2024-08-19T18:45:02.219Z] Step 3/10 : ARG MAKE=make build [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-19T18:45:02.624Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-19T18:45:02.689Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-19T18:45:03.236Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-19T18:45:03.522Z] + ls -al . [2024-08-19T18:45:03.522Z] total 380 [2024-08-19T18:45:03.522Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 19 18:43 . [2024-08-19T18:45:03.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 18:41 .. [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 19 18:41 .dockerignore [2024-08-19T18:45:03.522Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 18:44 .git [2024-08-19T18:45:03.522Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 18:41 .github [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 19 18:41 .gitignore [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 19 18:41 .golangci.yml [2024-08-19T18:45:03.522Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 19 18:41 .semver [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 19 18:41 CHANGELOG.md [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 19 18:41 GOVERNANCE.md [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 19 18:41 Jenkinsfile [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 19 18:41 LICENSE [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 19 18:41 Makefile [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 19 18:41 OWNERS.md [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 19 18:41 README.md [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 19 18:41 VERSION [2024-08-19T18:45:03.522Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 18:41 bin [2024-08-19T18:45:03.522Z] -rw-r--r-- 1 jenkins jenkins 126056 Aug 19 18:44 coverage.out [2024-08-19T18:45:03.522Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 19 18:41 example [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 19 18:41 go.mod [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 19 18:41 go.sum [2024-08-19T18:45:03.522Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 19 18:41 internal [2024-08-19T18:45:03.522Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 18:41 openapi [2024-08-19T18:45:03.522Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 19 18:41 pkg [2024-08-19T18:45:03.522Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 18:41 snap [2024-08-19T18:45:03.522Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 19 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:45:03.629Z] ---> Running in 40e9e0a8c3ad [2024-08-19T18:45:03.937Z] + 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=8c077b60cd103b6cc2394adba6f3b41267b968d3 --label arch=amd64 --label version=0.0.0 . [2024-08-19T18:45:03.937Z] Sending build context to Docker daemon 25.31MB [2024-08-19T18:45:03.937Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T18:45:03.937Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-19T18:45:03.937Z] ---> 1888783ddb8b [2024-08-19T18:45:03.937Z] Step 3/24 : ARG MAKE=make build [2024-08-19T18:45:04.215Z] Removing intermediate container 40e9e0a8c3ad [2024-08-19T18:45:04.215Z] ---> 76a953147015 [2024-08-19T18:45:04.215Z] Step 4/10 : WORKDIR /device-sdk-go [2024-08-19T18:45:04.215Z] ---> Running in b227b5f7357d [2024-08-19T18:45:04.482Z] Removing intermediate container b227b5f7357d [2024-08-19T18:45:04.482Z] ---> 055c3cefe0ad [2024-08-19T18:45:04.482Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-19T18:45:04.482Z] ---> Running in 2c0984b36044 [2024-08-19T18:45:04.750Z] Removing intermediate container 2c0984b36044 [2024-08-19T18:45:04.750Z] ---> 45b37701e962 [2024-08-19T18:45:04.750Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-08-19T18:45:04.750Z] ---> Running in 78577d645133 [2024-08-19T18:45:04.876Z] ---> Running in 49df3df5b1e6 [2024-08-19T18:45:05.136Z] Removing intermediate container 49df3df5b1e6 [2024-08-19T18:45:05.136Z] ---> 75c1605778a1 [2024-08-19T18:45:05.136Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-19T18:45:05.395Z] ---> Running in 3f3348d3928d [2024-08-19T18:45:05.395Z] Removing intermediate container 3f3348d3928d [2024-08-19T18:45:05.395Z] ---> a8817c4b24a0 [2024-08-19T18:45:05.395Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-19T18:45:05.395Z] ---> Running in 5b6618410cf3 [2024-08-19T18:45:05.395Z] Removing intermediate container 5b6618410cf3 [2024-08-19T18:45:05.395Z] ---> 9abc5544d685 [2024-08-19T18:45:05.395Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-19T18:45:05.395Z] ---> Running in 71c1b16c1a91 [2024-08-19T18:45:05.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T18:45:05.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T18:45:06.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T18:45:06.171Z] OK: 264 MiB in 52 packages [2024-08-19T18:45:06.429Z] Removing intermediate container 71c1b16c1a91 [2024-08-19T18:45:06.429Z] ---> ce60da9527e6 [2024-08-19T18:45:06.429Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-19T18:45:06.435Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T18:45:06.687Z] ---> 5a1aadcaf31a [2024-08-19T18:45:06.687Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T18:45:06.687Z] ---> Running in 685e6f4fb342 [2024-08-19T18:45:07.017Z] OK: 266 MiB in 52 packages [2024-08-19T18:45:07.253Z] Removing intermediate container 685e6f4fb342 [2024-08-19T18:45:07.253Z] ---> 0671133ec741 [2024-08-19T18:45:07.253Z] Step 9/24 : COPY . . [2024-08-19T18:45:07.980Z] Removing intermediate container 78577d645133 [2024-08-19T18:45:07.980Z] ---> a7797f78b116 [2024-08-19T18:45:07.980Z] Step 7/10 : COPY go.mod vendor* ./ [2024-08-19T18:45:08.188Z] ---> 8449514cb5c9 [2024-08-19T18:45:08.188Z] Step 10/24 : RUN ${MAKE} [2024-08-19T18:45:08.188Z] ---> Running in 142625fff65a [2024-08-19T18:45:08.446Z] 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 [2024-08-19T18:45:08.564Z] ---> 93a24c70f99f [2024-08-19T18:45:08.564Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T18:45:08.564Z] ---> Running in f89dbaf3f190 [2024-08-19T18:45:47.165Z] Removing intermediate container 142625fff65a [2024-08-19T18:45:47.165Z] ---> fb91097f6e71 [2024-08-19T18:45:47.165Z] Step 11/24 : FROM alpine:3.18 [2024-08-19T18:45:47.165Z] 3.18: Pulling from library/alpine [2024-08-19T18:45:47.165Z] 930bdd4d222e: Pulling fs layer [2024-08-19T18:45:47.165Z] 930bdd4d222e: Verifying Checksum [2024-08-19T18:45:47.165Z] 930bdd4d222e: Download complete [2024-08-19T18:45:47.165Z] 930bdd4d222e: Pull complete [2024-08-19T18:45:47.165Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-19T18:45:47.165Z] Status: Downloaded newer image for alpine:3.18 [2024-08-19T18:45:47.165Z] ---> 18f865063206 [2024-08-19T18:45:47.165Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-19T18:45:47.165Z] ---> Running in 36a69e7fe5d3 [2024-08-19T18:45:47.165Z] Removing intermediate container 36a69e7fe5d3 [2024-08-19T18:45:47.165Z] ---> 90869a64ca60 [2024-08-19T18:45:47.165Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-19T18:45:47.165Z] ---> Running in 328975d3faf1 [2024-08-19T18:45:47.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T18:45:47.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T18:45:47.165Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-19T18:45:47.165Z] Executing busybox-1.36.1-r7.trigger [2024-08-19T18:45:47.165Z] OK: 7 MiB in 16 packages [2024-08-19T18:45:47.165Z] Removing intermediate container 328975d3faf1 [2024-08-19T18:45:47.165Z] ---> 894567a91cf8 [2024-08-19T18:45:47.165Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-19T18:45:47.165Z] ---> Running in 3bc3b0ad3153 [2024-08-19T18:45:47.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-19T18:45:47.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-19T18:45:47.165Z] OK: 7 MiB in 16 packages [2024-08-19T18:45:47.165Z] Removing intermediate container 3bc3b0ad3153 [2024-08-19T18:45:47.165Z] ---> f61748b6d5c1 [2024-08-19T18:45:47.165Z] Step 15/24 : WORKDIR / [2024-08-19T18:45:47.165Z] ---> Running in ed5e098b0c22 [2024-08-19T18:45:47.165Z] Removing intermediate container ed5e098b0c22 [2024-08-19T18:45:47.165Z] ---> 627d3c605be4 [2024-08-19T18:45:47.165Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-19T18:45:47.165Z] ---> 5fe5ac235519 [2024-08-19T18:45:47.165Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-19T18:45:47.165Z] ---> 39865d4f6e95 [2024-08-19T18:45:47.166Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-19T18:45:47.166Z] ---> dbe08c949615 [2024-08-19T18:45:47.166Z] Step 19/24 : EXPOSE 59999 [2024-08-19T18:45:47.166Z] ---> Running in b6a8f3d90413 [2024-08-19T18:45:47.425Z] Removing intermediate container b6a8f3d90413 [2024-08-19T18:45:47.425Z] ---> 406915381a41 [2024-08-19T18:45:47.425Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-19T18:45:47.425Z] ---> Running in d38242fbde5f [2024-08-19T18:45:47.425Z] Removing intermediate container d38242fbde5f [2024-08-19T18:45:47.425Z] ---> 48b70a15e573 [2024-08-19T18:45:47.425Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-19T18:45:47.425Z] ---> Running in 70f74f875127 [2024-08-19T18:45:47.425Z] Removing intermediate container 70f74f875127 [2024-08-19T18:45:47.425Z] ---> f2b86fe02a93 [2024-08-19T18:45:47.425Z] Step 22/24 : LABEL arch=amd64 [2024-08-19T18:45:47.425Z] ---> Running in facd26943e11 [2024-08-19T18:45:47.684Z] Removing intermediate container facd26943e11 [2024-08-19T18:45:47.684Z] ---> 3ed228f07f22 [2024-08-19T18:45:47.684Z] Step 23/24 : LABEL git_sha=8c077b60cd103b6cc2394adba6f3b41267b968d3 [2024-08-19T18:45:47.684Z] ---> Running in 79085081b148 [2024-08-19T18:45:47.684Z] Removing intermediate container 79085081b148 [2024-08-19T18:45:47.684Z] ---> dec2b4807033 [2024-08-19T18:45:47.684Z] Step 24/24 : LABEL version=0.0.0 [2024-08-19T18:45:47.684Z] ---> Running in a41e053007fc [2024-08-19T18:45:47.684Z] Removing intermediate container a41e053007fc [2024-08-19T18:45:47.684Z] ---> 2c7e22525cbe [2024-08-19T18:45:47.684Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-19T18:45:47.684Z] Successfully built 2c7e22525cbe [2024-08-19T18:45:47.684Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:45:48.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T18:45:48.175Z] [2024-08-19T18:45:48.175Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:45:48.482Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T18:45:48.482Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-19T18:45:48.482Z] 5eb5b503b376: Pulling fs layer [2024-08-19T18:45:48.482Z] 5c69ac0246d0: Pulling fs layer [2024-08-19T18:45:48.482Z] ec43610c2a17: Pulling fs layer [2024-08-19T18:45:48.482Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-19T18:45:48.482Z] 33b1e0a273af: Pulling fs layer [2024-08-19T18:45:48.482Z] 5d3b04190fa2: Pulling fs layer [2024-08-19T18:45:48.482Z] 2f39f015ded8: Pulling fs layer [2024-08-19T18:45:48.482Z] 33b1e0a273af: Waiting [2024-08-19T18:45:48.482Z] 5d3b04190fa2: Waiting [2024-08-19T18:45:48.482Z] 2f39f015ded8: Waiting [2024-08-19T18:45:48.482Z] 3a2ae6a8a46f: Waiting [2024-08-19T18:45:48.482Z] 5c69ac0246d0: Download complete [2024-08-19T18:45:48.482Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-19T18:45:48.482Z] 3a2ae6a8a46f: Download complete [2024-08-19T18:45:48.482Z] 33b1e0a273af: Verifying Checksum [2024-08-19T18:45:48.482Z] 33b1e0a273af: Download complete [2024-08-19T18:45:48.482Z] ec43610c2a17: Verifying Checksum [2024-08-19T18:45:48.482Z] ec43610c2a17: Download complete [2024-08-19T18:45:48.482Z] 5d3b04190fa2: Verifying Checksum [2024-08-19T18:45:48.482Z] 5d3b04190fa2: Download complete [2024-08-19T18:45:48.741Z] 5eb5b503b376: Verifying Checksum [2024-08-19T18:45:48.741Z] 5eb5b503b376: Download complete [2024-08-19T18:45:49.309Z] 2f39f015ded8: Download complete [2024-08-19T18:45:49.877Z] 5eb5b503b376: Pull complete [2024-08-19T18:45:49.877Z] 5c69ac0246d0: Pull complete [2024-08-19T18:45:50.446Z] ec43610c2a17: Pull complete [2024-08-19T18:45:50.446Z] 3a2ae6a8a46f: Pull complete [2024-08-19T18:45:50.708Z] 33b1e0a273af: Pull complete [2024-08-19T18:45:50.708Z] 5d3b04190fa2: Pull complete [2024-08-19T18:45:54.898Z] 2f39f015ded8: Pull complete [2024-08-19T18:45:54.898Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-19T18:45:54.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T18:45:54.898Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T18:45:55.001Z] prd-ubuntu20.04-docker-8c-8g-7982 does not seem to be running inside a container [2024-08-19T18:45:55.029Z] $ 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-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-19T18:45:59.860Z] $ docker top 9e2868dcefe4c57308b6f829ba31e2661e77fb945f8e338bf6bc0b18176a0cf2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:46:00.277Z] ---> job-cost.sh [2024-08-19T18:46:00.277Z] lf-activate-venv: SKIPPING [2024-08-19T18:46:00.277Z] INFO: No Stack... [2024-08-19T18:46:00.536Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-19T18:46:00.795Z] INFO: Archiving Costs [Pipeline] sh [2024-08-19T18:46:01.084Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives/cost.csv [2024-08-19T18:46:01.084Z] + cut -d, -f6 [Pipeline] lock [2024-08-19T18:46:01.097Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-3-stack-cost] [2024-08-19T18:46:01.110Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1610-3-stack-cost] did not exist. Created. [2024-08-19T18:46:01.122Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-19T18:46:01.429Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-19T18:46:01.470Z] Stashed 1 file(s) [Pipeline] } [2024-08-19T18:46:01.481Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-19T18:46:01.514Z] $ docker stop --time=1 9e2868dcefe4c57308b6f829ba31e2661e77fb945f8e338bf6bc0b18176a0cf2 [2024-08-19T18:46:02.658Z] $ docker rm -f --volumes 9e2868dcefe4c57308b6f829ba31e2661e77fb945f8e338bf6bc0b18176a0cf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-19T18:47:00.226Z] Removing intermediate container f89dbaf3f190 [2024-08-19T18:47:00.226Z] ---> c20bdf9bbd04 [2024-08-19T18:47:00.226Z] Step 9/10 : COPY . . [2024-08-19T18:47:00.226Z] ---> 55e8c9df40ca [2024-08-19T18:47:00.226Z] Step 10/10 : RUN ${MAKE} [2024-08-19T18:47:00.226Z] ---> Running in 1223e41131dc [2024-08-19T18:47:00.226Z] noop [2024-08-19T18:47:00.226Z] Removing intermediate container 1223e41131dc [2024-08-19T18:47:00.226Z] ---> d3ae38e2a6b1 [2024-08-19T18:47:00.226Z] Successfully built d3ae38e2a6b1 [2024-08-19T18:47:00.226Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:47:00.597Z] + docker inspect -f . ci-base-image-arm64 [2024-08-19T18:47:00.597Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T18:47:00.809Z] prd-ubuntu20.04-docker-arm64-4c-16g-7983 does not seem to be running inside a container [2024-08-19T18:47:00.869Z] $ 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 ******** ci-base-image-arm64 cat [2024-08-19T18:47:02.077Z] $ docker top 93a4328c5faff30363416ba32555f40862e0b5cf4f52b85b3bf9842de7f2e4da -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T18:47:02.906Z] + go version [2024-08-19T18:47:02.906Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-19T18:47:02.924Z] $ docker stop --time=1 93a4328c5faff30363416ba32555f40862e0b5cf4f52b85b3bf9842de7f2e4da [2024-08-19T18:47:04.513Z] $ docker rm -f --volumes 93a4328c5faff30363416ba32555f40862e0b5cf4f52b85b3bf9842de7f2e4da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:47:05.070Z] + docker inspect -f . ci-base-image-arm64 [2024-08-19T18:47:05.070Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T18:47:05.257Z] prd-ubuntu20.04-docker-arm64-4c-16g-7983 does not seem to be running inside a container [2024-08-19T18:47:05.323Z] $ 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 ******** ci-base-image-arm64 cat [2024-08-19T18:47:06.441Z] $ docker top 59efc6c535d9ae1b32f1b721d96bd29c7f4368a74a13cd006f5fdedb0c824cd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T18:47:07.101Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2024-08-19T18:47:07.446Z] + make test [2024-08-19T18:47:07.446Z] go test -race -coverprofile=coverage.out ./... [2024-08-19T18:47:54.277Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-08-19T18:51:01.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-08-19T18:51:01.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-08-19T18:51:01.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-08-19T18:51:01.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-08-19T18:51:01.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-08-19T18:51:09.210Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.108s coverage: 26.0% of statements [2024-08-19T18:51:12.544Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.162s coverage: 79.4% of statements [2024-08-19T18:51:20.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-08-19T18:51:20.823Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-08-19T18:51:20.823Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.242s coverage: 86.0% of statements [2024-08-19T18:51:29.049Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-08-19T18:51:29.630Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.432s coverage: 52.2% of statements [2024-08-19T18:51:32.221Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.176s coverage: 14.4% of statements [2024-08-19T18:51:32.221Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.168s coverage: 44.6% of statements [2024-08-19T18:51:33.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-08-19T18:51:33.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-08-19T18:51:35.043Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.303s coverage: 68.5% of statements [2024-08-19T18:51:37.628Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.377s coverage: 89.2% of statements [2024-08-19T18:51:40.968Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-08-19T18:51:42.377Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.240s coverage: 5.4% of statements [2024-08-19T18:51:43.346Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-19T18:51:43.346Z] GO111MODULE=on go vet ./... [2024-08-19T18:55:20.122Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-19T18:55:20.122Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-19T18:55:20.122Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-08-19T18:55:20.142Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-19T18:55:20.165Z] $ docker stop --time=1 59efc6c535d9ae1b32f1b721d96bd29c7f4368a74a13cd006f5fdedb0c824cd7 [2024-08-19T18:55:22.113Z] $ docker rm -f --volumes 59efc6c535d9ae1b32f1b721d96bd29c7f4368a74a13cd006f5fdedb0c824cd7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-19T18:55:24.379Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-19T18:55:24.405Z] Warning: overwriting stash ‘coverage-report’ [2024-08-19T18:55:24.962Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-19T18:55:25.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-19T18:55:25.673Z] + ls -al . [2024-08-19T18:55:25.673Z] total 376 [2024-08-19T18:55:25.673Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 19 18:47 . [2024-08-19T18:55:25.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 18:44 .. [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 19 18:44 .dockerignore [2024-08-19T18:55:25.673Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 19 18:44 .git [2024-08-19T18:55:25.673Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 18:44 .github [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 19 18:44 .gitignore [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 19 18:44 .golangci.yml [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 48109 Aug 19 18:44 CHANGELOG.md [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 19 18:44 GOVERNANCE.md [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 19 18:44 Jenkinsfile [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 19 18:44 LICENSE [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 19 18:44 Makefile [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 19 18:44 OWNERS.md [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 4937 Aug 19 18:44 README.md [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 19 18:41 VERSION [2024-08-19T18:55:25.673Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 19 18:44 bin [2024-08-19T18:55:25.673Z] -rw-r--r-- 1 jenkins jenkins 126053 Aug 19 18:51 coverage.out [2024-08-19T18:55:25.673Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 19 18:44 example [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 6996 Aug 19 18:44 go.mod [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 101460 Aug 19 18:44 go.sum [2024-08-19T18:55:25.673Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 19 18:44 internal [2024-08-19T18:55:25.673Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 19 18:44 openapi [2024-08-19T18:55:25.673Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 19 18:44 pkg [2024-08-19T18:55:25.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 19 18:44 snap [2024-08-19T18:55:25.673Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 19 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:55:26.035Z] + 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=c30bcadee867274bd3478864534403694056bf40 --label arch=arm64 --label version=0.0.0 . [2024-08-19T18:55:26.619Z] Sending build context to Docker daemon 13.16MB [2024-08-19T18:55:26.619Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-08-19T18:55:26.619Z] Step 2/24 : FROM ${BASE} AS builder [2024-08-19T18:55:26.619Z] ---> d3ae38e2a6b1 [2024-08-19T18:55:26.619Z] Step 3/24 : ARG MAKE=make build [2024-08-19T18:55:26.619Z] ---> Running in 9f7bf1f8643d [2024-08-19T18:55:26.887Z] Removing intermediate container 9f7bf1f8643d [2024-08-19T18:55:26.887Z] ---> d186c18284cb [2024-08-19T18:55:26.887Z] Step 4/24 : WORKDIR /device-sdk-go [2024-08-19T18:55:27.153Z] ---> Running in b1e45dd81466 [2024-08-19T18:55:27.419Z] Removing intermediate container b1e45dd81466 [2024-08-19T18:55:27.419Z] ---> 66e94bfd84f0 [2024-08-19T18:55:27.419Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-08-19T18:55:27.419Z] ---> Running in 3c9d83a1b342 [2024-08-19T18:55:27.695Z] Removing intermediate container 3c9d83a1b342 [2024-08-19T18:55:27.695Z] ---> 2fe421c19a16 [2024-08-19T18:55:27.695Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-08-19T18:55:27.695Z] ---> Running in 50d4b5881409 [2024-08-19T18:55:29.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T18:55:29.105Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T18:55:30.503Z] OK: 266 MiB in 52 packages [2024-08-19T18:55:31.457Z] Removing intermediate container 50d4b5881409 [2024-08-19T18:55:31.457Z] ---> aa0fd3d53851 [2024-08-19T18:55:31.457Z] Step 7/24 : COPY go.mod vendor* ./ [2024-08-19T18:55:31.726Z] ---> 9121149e2ebb [2024-08-19T18:55:31.726Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-19T18:55:31.726Z] ---> Running in 9f7e2b2bb5da [2024-08-19T18:55:34.297Z] Removing intermediate container 9f7e2b2bb5da [2024-08-19T18:55:34.297Z] ---> 9be6a9661361 [2024-08-19T18:55:34.297Z] Step 9/24 : COPY . . [2024-08-19T18:55:35.250Z] ---> 05d0027e1e07 [2024-08-19T18:55:35.250Z] Step 10/24 : RUN ${MAKE} [2024-08-19T18:55:35.514Z] ---> Running in fc64892549df [2024-08-19T18:55:36.466Z] 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 [2024-08-19T18:58:58.158Z] Removing intermediate container fc64892549df [2024-08-19T18:58:58.158Z] ---> 2cfd02aa7d94 [2024-08-19T18:58:58.158Z] Step 11/24 : FROM alpine:3.18 [2024-08-19T18:58:58.158Z] 3.18: Pulling from library/alpine [2024-08-19T18:58:58.158Z] 4983c3fe2029: Pulling fs layer [2024-08-19T18:58:58.158Z] 4983c3fe2029: Verifying Checksum [2024-08-19T18:58:58.158Z] 4983c3fe2029: Download complete [2024-08-19T18:58:58.158Z] 4983c3fe2029: Pull complete [2024-08-19T18:58:58.158Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-19T18:58:58.158Z] Status: Downloaded newer image for alpine:3.18 [2024-08-19T18:58:58.158Z] ---> a0237000ae83 [2024-08-19T18:58:58.158Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-08-19T18:58:58.158Z] ---> Running in 3604a82404f1 [2024-08-19T18:58:58.158Z] Removing intermediate container 3604a82404f1 [2024-08-19T18:58:58.158Z] ---> 664325aced8e [2024-08-19T18:58:58.158Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-08-19T18:58:58.158Z] ---> Running in cc4ae718d86c [2024-08-19T18:58:58.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T18:58:58.422Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T18:58:59.379Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-19T18:58:59.379Z] Executing busybox-1.36.1-r7.trigger [2024-08-19T18:58:59.379Z] OK: 8 MiB in 16 packages [2024-08-19T18:59:00.337Z] Removing intermediate container cc4ae718d86c [2024-08-19T18:59:00.337Z] ---> 0e6233117594 [2024-08-19T18:59:00.337Z] Step 14/24 : RUN apk --no-cache upgrade [2024-08-19T18:59:00.337Z] ---> Running in 25b71f54804b [2024-08-19T18:59:01.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-19T18:59:01.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-19T18:59:02.817Z] OK: 8 MiB in 16 packages [2024-08-19T18:59:03.397Z] Removing intermediate container 25b71f54804b [2024-08-19T18:59:03.397Z] ---> 362903342a9a [2024-08-19T18:59:03.397Z] Step 15/24 : WORKDIR / [2024-08-19T18:59:03.662Z] ---> Running in 8ede227a1486 [2024-08-19T18:59:03.927Z] Removing intermediate container 8ede227a1486 [2024-08-19T18:59:03.927Z] ---> e2b228c8d228 [2024-08-19T18:59:03.927Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-08-19T18:59:04.511Z] ---> c2e0c61f6269 [2024-08-19T18:59:04.511Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-08-19T18:59:07.086Z] ---> bf5575dc4356 [2024-08-19T18:59:07.086Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-08-19T18:59:07.086Z] ---> f701d052b6f8 [2024-08-19T18:59:07.086Z] Step 19/24 : EXPOSE 59999 [2024-08-19T18:59:07.353Z] ---> Running in d74409aa0d65 [2024-08-19T18:59:07.618Z] Removing intermediate container d74409aa0d65 [2024-08-19T18:59:07.618Z] ---> d3ae19d9a424 [2024-08-19T18:59:07.618Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-08-19T18:59:07.618Z] ---> Running in f3616efaf85e [2024-08-19T18:59:07.888Z] Removing intermediate container f3616efaf85e [2024-08-19T18:59:07.888Z] ---> edb8f3062cc4 [2024-08-19T18:59:07.888Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-19T18:59:07.888Z] ---> Running in d2605b016597 [2024-08-19T18:59:08.470Z] Removing intermediate container d2605b016597 [2024-08-19T18:59:08.470Z] ---> 9d3614540fae [2024-08-19T18:59:08.470Z] Step 22/24 : LABEL arch=arm64 [2024-08-19T18:59:08.470Z] ---> Running in daab2a71ad95 [2024-08-19T18:59:08.739Z] Removing intermediate container daab2a71ad95 [2024-08-19T18:59:08.739Z] ---> 4d7e0bfdf169 [2024-08-19T18:59:08.739Z] Step 23/24 : LABEL git_sha=c30bcadee867274bd3478864534403694056bf40 [2024-08-19T18:59:08.739Z] ---> Running in 1b300d60c649 [2024-08-19T18:59:09.006Z] Removing intermediate container 1b300d60c649 [2024-08-19T18:59:09.006Z] ---> 8cd110b9d892 [2024-08-19T18:59:09.006Z] Step 24/24 : LABEL version=0.0.0 [2024-08-19T18:59:09.006Z] ---> Running in cc445eb4bd44 [2024-08-19T18:59:09.273Z] Removing intermediate container cc445eb4bd44 [2024-08-19T18:59:09.273Z] ---> 65672d4c64ec [2024-08-19T18:59:09.273Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-19T18:59:09.539Z] Successfully built 65672d4c64ec [2024-08-19T18:59:09.539Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:59:10.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-19T18:59:10.023Z] [2024-08-19T18:59:10.023Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:59:10.358Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-19T18:59:10.358Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-19T18:59:10.358Z] 8998bd30e6a1: Pulling fs layer [2024-08-19T18:59:10.358Z] 04944245beec: Pulling fs layer [2024-08-19T18:59:10.358Z] 699f458cf7ca: Pulling fs layer [2024-08-19T18:59:10.358Z] 765212b225bb: Pulling fs layer [2024-08-19T18:59:10.358Z] f23df028b6ca: Pulling fs layer [2024-08-19T18:59:10.358Z] d65c8cfc05b1: Pulling fs layer [2024-08-19T18:59:10.358Z] 2437ff75d9bd: Pulling fs layer [2024-08-19T18:59:10.358Z] 2437ff75d9bd: Waiting [2024-08-19T18:59:10.358Z] f23df028b6ca: Waiting [2024-08-19T18:59:10.358Z] 765212b225bb: Waiting [2024-08-19T18:59:10.358Z] d65c8cfc05b1: Waiting [2024-08-19T18:59:10.626Z] 04944245beec: Verifying Checksum [2024-08-19T18:59:10.626Z] 04944245beec: Download complete [2024-08-19T18:59:10.626Z] 765212b225bb: Verifying Checksum [2024-08-19T18:59:10.626Z] 765212b225bb: Download complete [2024-08-19T18:59:10.626Z] f23df028b6ca: Verifying Checksum [2024-08-19T18:59:10.626Z] f23df028b6ca: Download complete [2024-08-19T18:59:10.626Z] d65c8cfc05b1: Verifying Checksum [2024-08-19T18:59:10.626Z] d65c8cfc05b1: Download complete [2024-08-19T18:59:10.894Z] 699f458cf7ca: Verifying Checksum [2024-08-19T18:59:10.894Z] 699f458cf7ca: Download complete [2024-08-19T18:59:11.162Z] 8998bd30e6a1: Download complete [2024-08-19T18:59:13.743Z] 2437ff75d9bd: Verifying Checksum [2024-08-19T18:59:13.743Z] 2437ff75d9bd: Download complete [2024-08-19T18:59:15.692Z] 8998bd30e6a1: Pull complete [2024-08-19T18:59:16.274Z] 04944245beec: Pull complete [2024-08-19T18:59:17.679Z] 699f458cf7ca: Pull complete [2024-08-19T18:59:17.946Z] 765212b225bb: Pull complete [2024-08-19T18:59:18.905Z] f23df028b6ca: Pull complete [2024-08-19T18:59:19.171Z] d65c8cfc05b1: Pull complete [2024-08-19T18:59:37.373Z] 2437ff75d9bd: Pull complete [2024-08-19T18:59:37.373Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-19T18:59:37.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-19T18:59:37.373Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T18:59:37.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-7983 does not seem to be running inside a container [2024-08-19T18:59:37.624Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-19T18:59:40.441Z] $ docker top 47f924147e1769c85c08191bec25b0b295e41b84beb6b27fea88c61be97f6418 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:59:41.285Z] ---> job-cost.sh [2024-08-19T18:59:41.285Z] lf-activate-venv: SKIPPING [2024-08-19T18:59:41.285Z] INFO: No Stack... [2024-08-19T18:59:41.865Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-19T18:59:42.445Z] INFO: Archiving Costs [Pipeline] sh [2024-08-19T18:59:43.095Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2024-08-19T18:59:43.095Z] + cut -d, -f6 [Pipeline] lock [2024-08-19T18:59:43.156Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-3-stack-cost] [2024-08-19T18:59:43.165Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1610-3-stack-cost] did not exist. Created. [2024-08-19T18:59:43.173Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-19T18:59:43.855Z] /w/workspace/device-sdk-go/3@tmp/durable-82a6a4b4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-19T18:59:44.498Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-19T18:59:44.526Z] Warning: overwriting stash ‘stack-cost’ [2024-08-19T18:59:44.614Z] Stashed 1 file(s) [Pipeline] } [2024-08-19T18:59:44.624Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1610-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-19T18:59:44.657Z] $ docker stop --time=1 47f924147e1769c85c08191bec25b0b295e41b84beb6b27fea88c61be97f6418 [2024-08-19T18:59:46.165Z] $ docker rm -f --volumes 47f924147e1769c85c08191bec25b0b295e41b84beb6b27fea88c61be97f6418 [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 [2024-08-19T18:59:46.695Z] provisioning config files... [2024-08-19T18:59:46.704Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config9569363721350233694tmp [Pipeline] { [Pipeline] sh [2024-08-19T18:59:47.000Z] + set +x [2024-08-19T18:59:47.000Z] + bash -s -- [2024-08-19T18:59:47.000Z] + curl -s https://codecov.io/bash [2024-08-19T18:59:47.000Z] [2024-08-19T18:59:47.000Z] _____ _ [2024-08-19T18:59:47.000Z] / ____| | | [2024-08-19T18:59:47.000Z] | | ___ __| | ___ ___ _____ __ [2024-08-19T18:59:47.000Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-19T18:59:47.000Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-19T18:59:47.000Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-19T18:59:47.000Z] Bash-1.0.6 [2024-08-19T18:59:47.000Z] [2024-08-19T18:59:47.000Z] [2024-08-19T18:59:47.000Z] ==> git version 2.25.1 found [2024-08-19T18:59:47.000Z] ==> 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 [2024-08-19T18:59:47.000Z] Release-Date: 2020-01-08 [2024-08-19T18:59:47.000Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-19T18:59:47.000Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-19T18:59:47.000Z] ==> Jenkins CI detected. [2024-08-19T18:59:47.000Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1610 [2024-08-19T18:59:47.000Z] project root: . [2024-08-19T18:59:47.000Z] --> token set from env [2024-08-19T18:59:47.000Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-19T18:59:47.000Z] ==> Running gcov in . (disable via -X gcov) [2024-08-19T18:59:47.000Z] ==> Python coveragepy not found [2024-08-19T18:59:47.000Z] ==> Searching for coverage reports in: [2024-08-19T18:59:47.000Z] + . [2024-08-19T18:59:47.258Z] -> Found 1 reports [2024-08-19T18:59:47.258Z] ==> Detecting git/mercurial file structure [2024-08-19T18:59:47.258Z] ==> Reading reports [2024-08-19T18:59:47.258Z] + ./coverage.out bytes=126053 [2024-08-19T18:59:47.258Z] ==> Appending adjustments [2024-08-19T18:59:47.258Z] https://docs.codecov.io/docs/fixing-reports [2024-08-19T18:59:47.520Z] + Found adjustments [2024-08-19T18:59:47.520Z] ==> Gzipping contents [2024-08-19T18:59:47.520Z] 20K /tmp/codecov.iEgvdv.gz [2024-08-19T18:59:47.520Z] ==> Uploading reports [2024-08-19T18:59:47.520Z] url: https://codecov.io [2024-08-19T18:59:47.520Z] query: branch=PR-1610&commit=8c077b60cd103b6cc2394adba6f3b41267b968d3&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1610%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1610&job=&cmd_args= [2024-08-19T18:59:47.520Z] -> Pinging Codecov [2024-08-19T18:59:47.520Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1610&commit=8c077b60cd103b6cc2394adba6f3b41267b968d3&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1610%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1610&job=&cmd_args= [2024-08-19T18:59:47.780Z] -> Uploading to [2024-08-19T18:59:47.780Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-19/7E55EF52A471D76F132DFD9A03CDDE97/8c077b60cd103b6cc2394adba6f3b41267b968d3/7a48defb-b69f-48a8-bae7-5a1c90beb45e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240819%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240819T185947Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62ed6377a1dd09a6a2a160eaab4ac9c5ad1f09f22d84045273a1b0ab303e83c8 [2024-08-19T18:59:47.780Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-19T18:59:47.780Z] Dload Upload Total Spent Left Speed [2024-08-19T18:59:48.041Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17149 0 0 100 17149 0 77247 --:--:-- --:--:-- --:--:-- 77247 [2024-08-19T18:59:48.041Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8c077b60cd103b6cc2394adba6f3b41267b968d3 [Pipeline] } [2024-08-19T18:59:48.049Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-19T18:59:48.886Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives ] [2024-08-19T18:59:48.886Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives [2024-08-19T18:59:48.886Z] total 16 [2024-08-19T18:59:48.886Z] drwxr-xr-x 3 root root 4096 Aug 19 18:46 . [2024-08-19T18:59:48.886Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 19 18:46 .. [2024-08-19T18:59:48.886Z] drwxr-xr-x 2 root root 4096 Aug 19 18:46 cost [2024-08-19T18:59:48.886Z] -rw-r--r-- 1 root root 86 Aug 19 18:46 cost.csv [2024-08-19T18:59:48.886Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives [2024-08-19T18:59:48.886Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives [2024-08-19T18:59:48.886Z] total 16 [2024-08-19T18:59:48.886Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 19 18:46 . [2024-08-19T18:59:48.886Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 19 18:46 .. [2024-08-19T18:59:48.886Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 19 18:46 cost [2024-08-19T18:59:48.886Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 19 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:59:49.180Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:59:50.041Z] ---> package-listing.sh [2024-08-19T18:59:50.041Z] ++ facter osfamily [2024-08-19T18:59:50.041Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-19T18:59:50.299Z] + OS_FAMILY=debian [2024-08-19T18:59:50.299Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1610 [2024-08-19T18:59:50.299Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-19T18:59:50.299Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-19T18:59:50.299Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-19T18:59:50.299Z] + PACKAGES=/tmp/packages_start.txt [2024-08-19T18:59:50.299Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1610 ']' [2024-08-19T18:59:50.299Z] + PACKAGES=/tmp/packages_end.txt [2024-08-19T18:59:50.299Z] + case "${OS_FAMILY}" in [2024-08-19T18:59:50.299Z] + dpkg -l [2024-08-19T18:59:50.299Z] + grep '^ii' [2024-08-19T18:59:50.299Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-19T18:59:50.299Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-19T18:59:50.299Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-19T18:59:50.299Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1610 ']' [2024-08-19T18:59:50.299Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives/ [2024-08-19T18:59:50.299Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1610/archives/ [Pipeline] echo [2024-08-19T18:59:50.307Z] 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-1610/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-19T18:59:50.582Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-19T18:59:51.149Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-19T18:59:51.149Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-19T18:59:51.226Z] prd-ubuntu20.04-docker-8c-8g-7982 does not seem to be running inside a container [2024-08-19T18:59:51.237Z] $ 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-1610/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-1610 -v /w/workspace/gexfoundry_device-sdk-go_PR-1610:/w/workspace/gexfoundry_device-sdk-go_PR-1610:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-19T18:59:51.431Z] $ docker top eb31e6750d178166c66541c2da51498b79d9f93f5e0c9f934272e5d50f41facf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-19T18:59:51.807Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-19T18:59:52.092Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-19T18:59:52.379Z] + ls /var/log/sa-host [2024-08-19T18:59:52.379Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-19T18:59:52.552Z] provisioning config files... [2024-08-19T18:59:52.563Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1610@tmp/config1559528138262571409tmp [Pipeline] { [Pipeline] echo [2024-08-19T18:59:52.582Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:59:52.871Z] ---> create-netrc.sh [Pipeline] } [2024-08-19T18:59:52.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:59:53.213Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-19T18:59:53.224Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:59:53.508Z] ---> sudo-logs.sh [2024-08-19T18:59:53.508Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-19T18:59:53.541Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:59:53.822Z] ---> job-cost.sh [2024-08-19T18:59:53.822Z] lf-activate-venv: SKIPPING [2024-08-19T18:59:53.822Z] DEBUG: total: 0.2199999988079071 [2024-08-19T18:59:53.822Z] INFO: Retrieving Stack Cost... [2024-08-19T18:59:54.388Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-19T18:59:54.648Z] INFO: Archiving Costs [Pipeline] echo [2024-08-19T18:59:54.663Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-19T18:59:54.946Z] ---> logs-deploy.sh [2024-08-19T18:59:54.946Z] lf-activate-venv: SKIPPING [2024-08-19T18:59:54.946Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1610/3 [2024-08-19T18:59:54.946Z] INFO: archiving workspace using pattern(s): [2024-08-19T18:59:56.326Z] Archives upload complete. [2024-08-19T18:59:56.326Z] INFO: archiving logs to Nexus [2024-08-19T18:59:56.901Z] ---> uname -a: [2024-08-19T18:59:56.901Z] Linux prd-ubuntu20-04-docker-8c-8g-7982 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-08-19T18:59:56.901Z] [2024-08-19T18:59:56.901Z] [2024-08-19T18:59:56.901Z] ---> lscpu: [2024-08-19T18:59:56.901Z] Architecture: x86_64 [2024-08-19T18:59:56.901Z] CPU op-mode(s): 32-bit, 64-bit [2024-08-19T18:59:56.901Z] Byte Order: Little Endian [2024-08-19T18:59:56.901Z] Address sizes: 40 bits physical, 48 bits virtual [2024-08-19T18:59:56.901Z] CPU(s): 8 [2024-08-19T18:59:56.901Z] On-line CPU(s) list: 0-7 [2024-08-19T18:59:56.901Z] Thread(s) per core: 1 [2024-08-19T18:59:56.901Z] Core(s) per socket: 1 [2024-08-19T18:59:56.901Z] Socket(s): 8 [2024-08-19T18:59:56.901Z] NUMA node(s): 1 [2024-08-19T18:59:56.901Z] Vendor ID: AuthenticAMD [2024-08-19T18:59:56.901Z] CPU family: 23 [2024-08-19T18:59:56.901Z] Model: 49 [2024-08-19T18:59:56.901Z] Model name: AMD EPYC-Rome Processor [2024-08-19T18:59:56.901Z] Stepping: 0 [2024-08-19T18:59:56.901Z] CPU MHz: 2799.998 [2024-08-19T18:59:56.901Z] BogoMIPS: 5599.99 [2024-08-19T18:59:56.901Z] Virtualization: AMD-V [2024-08-19T18:59:56.901Z] Hypervisor vendor: KVM [2024-08-19T18:59:56.901Z] Virtualization type: full [2024-08-19T18:59:56.901Z] L1d cache: 256 KiB [2024-08-19T18:59:56.901Z] L1i cache: 256 KiB [2024-08-19T18:59:56.901Z] L2 cache: 4 MiB [2024-08-19T18:59:56.901Z] L3 cache: 128 MiB [2024-08-19T18:59:56.901Z] NUMA node0 CPU(s): 0-7 [2024-08-19T18:59:56.901Z] Vulnerability Itlb multihit: Not affected [2024-08-19T18:59:56.901Z] Vulnerability L1tf: Not affected [2024-08-19T18:59:56.901Z] Vulnerability Mds: Not affected [2024-08-19T18:59:56.901Z] Vulnerability Meltdown: Not affected [2024-08-19T18:59:56.901Z] Vulnerability Mmio stale data: Not affected [2024-08-19T18:59:56.901Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2024-08-19T18:59:56.902Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2024-08-19T18:59:56.902Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2024-08-19T18:59:56.902Z] Vulnerability Srbds: Not affected [2024-08-19T18:59:56.902Z] Vulnerability Tsx async abort: Not affected [2024-08-19T18:59:56.902Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2024-08-19T18:59:56.902Z] [2024-08-19T18:59:56.902Z] [2024-08-19T18:59:56.902Z] ---> nproc: [2024-08-19T18:59:56.902Z] 8 [2024-08-19T18:59:56.902Z] [2024-08-19T18:59:56.902Z] [2024-08-19T18:59:56.902Z] ---> df -h: [2024-08-19T18:59:56.902Z] Filesystem Size Used Avail Use% Mounted on [2024-08-19T18:59:56.902Z] overlay 155G 12G 143G 8% / [2024-08-19T18:59:56.902Z] tmpfs 64M 0 64M 0% /dev [2024-08-19T18:59:56.902Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2024-08-19T18:59:56.902Z] shm 64M 0 64M 0% /dev/shm [2024-08-19T18:59:56.902Z] /dev/vda1 155G 12G 143G 8% /facter-os [2024-08-19T18:59:56.902Z] [2024-08-19T18:59:56.902Z]