Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e7d219c81bb1a39276e759e1bfbf54ad13c5976a+1e80e475b0e97679140bd79592a828cf1f53df47 (360c759dcb42d0d99e8a800702110f819e93b68b) 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-ssh3350930050204747372.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh9700067943210993852.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-1640/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-1640/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11246336327258148801.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh5223707521929502339.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-1640/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-1640/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14505618377028578065.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]] ========================================================= [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.23 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 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-23538 in /w/workspace/gexfoundry_device-sdk-go_PR-1640 [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-1640 # 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 Merging remotes/origin/main commit 1e80e475b0e97679140bd79592a828cf1f53df47 into PR head commit e7d219c81bb1a39276e759e1bfbf54ad13c5976a Merge succeeded, producing 917cfc341c17128e17f1974807d3be2cb615ad82 Checking out Revision 917cfc341c17128e17f1974807d3be2cb615ad82 (PR-1640) > 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/1640/head:refs/remotes/origin/PR-1640 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e7d219c81bb1a39276e759e1bfbf54ad13c5976a # 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 1e80e475b0e97679140bd79592a828cf1f53df47 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 917cfc341c17128e17f1974807d3be2cb615ad82 # timeout=10 Commit message: "Merge commit '1e80e475b0e97679140bd79592a828cf1f53df47' into HEAD" > git rev-list --no-walk e7d219c81bb1a39276e759e1bfbf54ad13c5976a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-22T18:42:25.189Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-22T18:42:25.267Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-22T18:42:25.289Z] ========================================================= [2024-10-22T18:42:25.289Z] EdgeX Global Pipelines Version Info [2024-10-22T18:42:25.289Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:42:26.391Z] ------------------- [2024-10-22T18:42:26.391Z] stable info: [2024-10-22T18:42:26.391Z] ------------------- [2024-10-22T18:42:26.391Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-22T18:42:26.391Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-22T18:42:26.391Z] Message: update stable to v1.0.265 [2024-10-22T18:42:26.651Z] ------------------- [2024-10-22T18:42:26.651Z] experimental info: [2024-10-22T18:42:26.651Z] ------------------- [2024-10-22T18:42:26.651Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-22T18:42:26.651Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-22T18:42:26.651Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-22T18:42:26.733Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-22T18:42:26.758Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-22T18:42:26.778Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-22T18:42:26.804Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-22T18:42:26.833Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-22T18:42:26.860Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-22T18:42:26.885Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-22T18:42:26.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-22T18:42:26.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-22T18:42:26.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-22T18:42:26.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-22T18:42:27.018Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-22T18:42:27.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-22T18:42:27.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-22T18:42:27.098Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-22T18:42:27.120Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T18:42:27.145Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T18:42:27.171Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-22T18:42:27.195Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-22T18:42:27.213Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-22T18:42:27.234Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-22T18:42:27.261Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-10-22T18:42:27.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-22T18:42:27.308Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-22T18:42:27.333Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-22T18:42:27.354Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-22T18:42:27.375Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-22T18:42:27.393Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1640 [Pipeline] echo [2024-10-22T18:42:27.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1640 [Pipeline] echo [2024-10-22T18:42:27.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1640 [Pipeline] echo [2024-10-22T18:42:27.474Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 917cfc341c17128e17f1974807d3be2cb615ad82 [Pipeline] echo [2024-10-22T18:42:27.495Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 917cfc3 [Pipeline] echo [2024-10-22T18:42:27.518Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:42:27.586Z] provisioning config files... [2024-10-22T18:42:27.600Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/config10911174833781331919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:42:27.931Z] ---> ****-login.sh [2024-10-22T18:42:27.931Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:42:28.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:42:28.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:42:28.191Z] Configure a credential helper to remove this warning. See [2024-10-22T18:42:28.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:42:28.191Z] [2024-10-22T18:42:28.191Z] Login Succeeded [2024-10-22T18:42:28.191Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:42:28.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:42:28.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:42:28.451Z] Configure a credential helper to remove this warning. See [2024-10-22T18:42:28.451Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:42:28.451Z] [2024-10-22T18:42:28.451Z] Login Succeeded [2024-10-22T18:42:28.451Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:42:28.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:42:28.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:42:28.451Z] Configure a credential helper to remove this warning. See [2024-10-22T18:42:28.451Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:42:28.451Z] [2024-10-22T18:42:28.451Z] Login Succeeded [2024-10-22T18:42:28.451Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:42:28.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:42:28.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:42:28.713Z] Configure a credential helper to remove this warning. See [2024-10-22T18:42:28.713Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:42:28.713Z] [2024-10-22T18:42:28.713Z] Login Succeeded [2024-10-22T18:42:28.713Z] ****.io [2024-10-22T18:42:28.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:42:28.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:42:28.974Z] Configure a credential helper to remove this warning. See [2024-10-22T18:42:28.974Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:42:28.974Z] [2024-10-22T18:42:28.974Z] Login Succeeded [2024-10-22T18:42:28.974Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:42:28.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-22T18:42:29.423Z] + git rev-list -1 --merges 917cfc341c17128e17f1974807d3be2cb615ad82~1..917cfc341c17128e17f1974807d3be2cb615ad82 [Pipeline] echo [2024-10-22T18:42:29.449Z] -----------> git rev-list -1 --merges 917cfc341c17128e17f1974807d3be2cb615ad82~1..917cfc341c17128e17f1974807d3be2cb615ad82 917cfc341c17128e17f1974807d3be2cb615ad82 [2024-10-22T18:42:29.449Z] 917cfc341c17128e17f1974807d3be2cb615ad82 [false] [Pipeline] sh [2024-10-22T18:42:29.740Z] + git log --format=format:%s -1 917cfc341c17128e17f1974807d3be2cb615ad82 [Pipeline] echo [2024-10-22T18:42:29.754Z] ========================================================= [2024-10-22T18:42:29.754Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-22T18:42:29.754Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:42:30.086Z] + git log --format=format:%s -1 917cfc341c17128e17f1974807d3be2cb615ad82 [Pipeline] echo [2024-10-22T18:42:30.099Z] [semverPrep] GIT_COMMIT: 917cfc341c17128e17f1974807d3be2cb615ad82, Commit Message: Merge commit '1e80e475b0e97679140bd79592a828cf1f53df47' into HEAD [Pipeline] echo [2024-10-22T18:42:30.114Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-22T18:42:30.492Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-22T18:42:30.492Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-22T18:42:30.492Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-22T18:42:30.492Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-22T18:42:30.492Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-22T18:42:30.492Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-22T18:42:30.492Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:42:30.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:42:30.917Z] [2024-10-22T18:42:30.917Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:42:31.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:42:31.231Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-22T18:42:31.231Z] b85a868b505f: Pulling fs layer [2024-10-22T18:42:31.231Z] e2be974225ed: Pulling fs layer [2024-10-22T18:42:31.231Z] 339a4e72a1f5: Pulling fs layer [2024-10-22T18:42:31.231Z] 988bab9f4d93: Pulling fs layer [2024-10-22T18:42:31.231Z] 1469e6f7b9e6: Pulling fs layer [2024-10-22T18:42:31.231Z] eaf3925da568: Pulling fs layer [2024-10-22T18:42:31.231Z] bab4dde63d76: Pulling fs layer [2024-10-22T18:42:31.231Z] bde34c3a00c8: Pulling fs layer [2024-10-22T18:42:31.231Z] b352a97aabf1: Pulling fs layer [2024-10-22T18:42:31.231Z] 4872d77fe225: Pulling fs layer [2024-10-22T18:42:31.231Z] 5851b861e8e6: Pulling fs layer [2024-10-22T18:42:31.231Z] 988bab9f4d93: Waiting [2024-10-22T18:42:31.232Z] 1469e6f7b9e6: Waiting [2024-10-22T18:42:31.232Z] b352a97aabf1: Waiting [2024-10-22T18:42:31.232Z] 4872d77fe225: Waiting [2024-10-22T18:42:31.232Z] eaf3925da568: Waiting [2024-10-22T18:42:31.232Z] 5851b861e8e6: Waiting [2024-10-22T18:42:31.232Z] bab4dde63d76: Waiting [2024-10-22T18:42:31.232Z] bde34c3a00c8: Waiting [2024-10-22T18:42:31.232Z] e2be974225ed: Download complete [2024-10-22T18:42:31.232Z] 988bab9f4d93: Verifying Checksum [2024-10-22T18:42:31.232Z] 988bab9f4d93: Download complete [2024-10-22T18:42:31.232Z] 1469e6f7b9e6: Verifying Checksum [2024-10-22T18:42:31.232Z] 1469e6f7b9e6: Download complete [2024-10-22T18:42:31.492Z] 339a4e72a1f5: Verifying Checksum [2024-10-22T18:42:31.492Z] 339a4e72a1f5: Download complete [2024-10-22T18:42:31.492Z] eaf3925da568: Download complete [2024-10-22T18:42:31.492Z] bde34c3a00c8: Verifying Checksum [2024-10-22T18:42:31.492Z] bde34c3a00c8: Download complete [2024-10-22T18:42:31.492Z] b352a97aabf1: Download complete [2024-10-22T18:42:31.492Z] 4872d77fe225: Verifying Checksum [2024-10-22T18:42:31.492Z] 4872d77fe225: Download complete [2024-10-22T18:42:31.492Z] 5851b861e8e6: Verifying Checksum [2024-10-22T18:42:31.492Z] 5851b861e8e6: Download complete [2024-10-22T18:42:31.492Z] b85a868b505f: Download complete [2024-10-22T18:42:31.751Z] bab4dde63d76: Verifying Checksum [2024-10-22T18:42:31.751Z] bab4dde63d76: Download complete [2024-10-22T18:42:32.690Z] b85a868b505f: Pull complete [2024-10-22T18:42:32.690Z] e2be974225ed: Pull complete [2024-10-22T18:42:33.259Z] 339a4e72a1f5: Pull complete [2024-10-22T18:42:33.259Z] 988bab9f4d93: Pull complete [2024-10-22T18:42:33.519Z] 1469e6f7b9e6: Pull complete [2024-10-22T18:42:33.519Z] eaf3925da568: Pull complete [2024-10-22T18:42:35.427Z] bab4dde63d76: Pull complete [2024-10-22T18:42:35.427Z] bde34c3a00c8: Pull complete [2024-10-22T18:42:35.427Z] b352a97aabf1: Pull complete [2024-10-22T18:42:35.427Z] 4872d77fe225: Pull complete [2024-10-22T18:42:35.687Z] 5851b861e8e6: Pull complete [2024-10-22T18:42:35.688Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-22T18:42:35.688Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-22T18:42:35.688Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:42:35.832Z] prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container [2024-10-22T18:42:39.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1640 -v /w/workspace/gexfoundry_device-sdk-go_PR-1640:/w/workspace/gexfoundry_device-sdk-go_PR-1640:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-22T18:42:41.785Z] $ docker top 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b -eo pid,comm [2024-10-22T18:42:41.839Z] 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-10-22T18:42:41.839Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-22T18:42:41.893Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T18:42:41.893Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T18:42:42.010Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T18:42:42.010Z] $ docker exec 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b ssh-agent [2024-10-22T18:42:42.115Z] SSH_AUTH_SOCK=/tmp/ssh-4VK6tkoLI7ny/agent.32 [2024-10-22T18:42:42.115Z] SSH_AGENT_PID=38 [2024-10-22T18:42:42.120Z] Running ssh-add (command line suppressed) [2024-10-22T18:42:42.213Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/private_key_3166602011455944097.key (/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/private_key_3166602011455944097.key) [2024-10-22T18:42:42.228Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T18:42:42.527Z] + git tag --points-at HEAD [Pipeline] } [2024-10-22T18:42:42.536Z] $ docker exec --env ******** --env ******** 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b ssh-agent -k [2024-10-22T18:42:42.639Z] unset SSH_AUTH_SOCK; [2024-10-22T18:42:42.639Z] unset SSH_AGENT_PID; [2024-10-22T18:42:42.639Z] echo Agent pid 38 killed; [2024-10-22T18:42:42.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-22T18:42:42.697Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-22T18:42:42.697Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-22T18:42:42.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-22T18:42:42.810Z] $ docker exec 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b ssh-agent [2024-10-22T18:42:42.915Z] SSH_AUTH_SOCK=/tmp/ssh-IAc3EpZqcOfr/agent.71 [2024-10-22T18:42:42.915Z] SSH_AGENT_PID=77 [2024-10-22T18:42:42.921Z] Running ssh-add (command line suppressed) [2024-10-22T18:42:43.006Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/private_key_1880764422417578491.key (/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/private_key_1880764422417578491.key) [2024-10-22T18:42:43.022Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-22T18:42:43.321Z] + git semver init [2024-10-22T18:42:43.581Z] 2024-10-22 18:42:43,500 [run_init] DEBUG init version:0.0.0 force:False [2024-10-22T18:42:43.581Z] 2024-10-22 18:42:43,501 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver [2024-10-22T18:42:43.581Z] 2024-10-22 18:42:43,501 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver [2024-10-22T18:42:43.581Z] 2024-10-22 18:42:43,501 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1640, universal_newlines=False, shell=None, istream=None) [2024-10-22T18:42:46.923Z] 2024-10-22 18:42:46,857 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640/.git/info/exclude [2024-10-22T18:42:46.923Z] 2024-10-22 18:42:46,858 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver/PR-1640 with force:False [2024-10-22T18:42:46.923Z] 2024-10-22 18:42:46,858 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver/PR-1640 [2024-10-22T18:42:46.923Z] 2024-10-22 18:42:46,862 [execute] INFO git cat-file --batch-check [2024-10-22T18:42:46.923Z] 2024-10-22 18:42:46,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T18:42:46.923Z] 2024-10-22 18:42:46,867 [execute] INFO git cat-file --batch [2024-10-22T18:42:46.923Z] 2024-10-22 18:42:46,867 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver, universal_newlines=False, shell=None, istream=) [2024-10-22T18:42:46.923Z] 2024-10-22 18:42:46,871 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1640/.semver/PR-1640 [2024-10-22T18:42:46.923Z] 0.0.0 [Pipeline] } [2024-10-22T18:42:46.932Z] $ docker exec --env ******** --env ******** 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b ssh-agent -k [2024-10-22T18:42:47.039Z] unset SSH_AUTH_SOCK; [2024-10-22T18:42:47.039Z] unset SSH_AGENT_PID; [2024-10-22T18:42:47.040Z] echo Agent pid 77 killed; [2024-10-22T18:42:47.050Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-22T18:42:47.386Z] + git semver [Pipeline] } [2024-10-22T18:42:47.658Z] $ docker stop --time=1 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b [2024-10-22T18:42:48.943Z] $ docker rm -f --volumes 22cda2d5204cb596a9dbee6fd57189cc72803ca3b2e3d8a59c5fa19fa2aadf0b [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T18:42:49.291Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-22T18:42:49.539Z] Stashed 1 file(s) [Pipeline] echo [2024-10-22T18:42:49.544Z] [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-10-22T18:42:49.734Z] provisioning config files... [2024-10-22T18:42:49.746Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/config15725686645606615604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:42:50.053Z] ---> ****-login.sh [2024-10-22T18:42:50.053Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:42:50.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:42:50.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:42:50.053Z] Configure a credential helper to remove this warning. See [2024-10-22T18:42:50.053Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:42:50.053Z] [2024-10-22T18:42:50.053Z] Login Succeeded [2024-10-22T18:42:50.053Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:42:50.053Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:42:50.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:42:50.053Z] Configure a credential helper to remove this warning. See [2024-10-22T18:42:50.053Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:42:50.053Z] [2024-10-22T18:42:50.053Z] Login Succeeded [2024-10-22T18:42:50.053Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:42:50.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:42:50.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:42:50.313Z] Configure a credential helper to remove this warning. See [2024-10-22T18:42:50.313Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:42:50.313Z] [2024-10-22T18:42:50.313Z] Login Succeeded [2024-10-22T18:42:50.313Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:42:50.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:42:50.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:42:50.313Z] Configure a credential helper to remove this warning. See [2024-10-22T18:42:50.314Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:42:50.314Z] [2024-10-22T18:42:50.314Z] Login Succeeded [2024-10-22T18:42:50.314Z] ****.io [2024-10-22T18:42:50.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:42:50.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:42:50.574Z] Configure a credential helper to remove this warning. See [2024-10-22T18:42:50.574Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:42:50.574Z] [2024-10-22T18:42:50.574Z] Login Succeeded [2024-10-22T18:42:50.574Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:42:50.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T18:42:50.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:42:50.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:42:50.713Z] ========================================================= [2024-10-22T18:42:50.713Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-22T18:42:50.713Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:42:51.053Z] + 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.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-22T18:42:51.053Z] Sending build context to Docker daemon 25.5MB [2024-10-22T18:42:51.053Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T18:42:51.053Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-22T18:42:51.314Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-22T18:42:51.314Z] 43c4264eed91: Pulling fs layer [2024-10-22T18:42:51.314Z] 4cc291be95ef: Pulling fs layer [2024-10-22T18:42:51.314Z] 2ac1f1163629: Pulling fs layer [2024-10-22T18:42:51.314Z] 5c3c966382ef: Pulling fs layer [2024-10-22T18:42:51.314Z] 4f4fb700ef54: Pulling fs layer [2024-10-22T18:42:51.314Z] 5d5c8e513c77: Pulling fs layer [2024-10-22T18:42:51.314Z] 9f66e0745190: Pulling fs layer [2024-10-22T18:42:51.314Z] f49a43e4bbc0: Pulling fs layer [2024-10-22T18:42:51.314Z] 561ebcabdf7f: Pulling fs layer [2024-10-22T18:42:51.314Z] 5c3c966382ef: Waiting [2024-10-22T18:42:51.314Z] f49a43e4bbc0: Waiting [2024-10-22T18:42:51.314Z] 9f66e0745190: Waiting [2024-10-22T18:42:51.314Z] 561ebcabdf7f: Waiting [2024-10-22T18:42:51.314Z] 4f4fb700ef54: Waiting [2024-10-22T18:42:51.314Z] 4cc291be95ef: Download complete [2024-10-22T18:42:51.314Z] 5c3c966382ef: Verifying Checksum [2024-10-22T18:42:51.314Z] 5c3c966382ef: Download complete [2024-10-22T18:42:51.314Z] 4f4fb700ef54: Verifying Checksum [2024-10-22T18:42:51.314Z] 4f4fb700ef54: Download complete [2024-10-22T18:42:51.314Z] 5d5c8e513c77: Verifying Checksum [2024-10-22T18:42:51.314Z] 5d5c8e513c77: Download complete [2024-10-22T18:42:51.314Z] 43c4264eed91: Download complete [2024-10-22T18:42:51.314Z] 9f66e0745190: Verifying Checksum [2024-10-22T18:42:51.314Z] 9f66e0745190: Download complete [2024-10-22T18:42:51.573Z] 43c4264eed91: Pull complete [2024-10-22T18:42:51.573Z] 561ebcabdf7f: Verifying Checksum [2024-10-22T18:42:51.573Z] 561ebcabdf7f: Download complete [2024-10-22T18:42:51.573Z] 4cc291be95ef: Pull complete [2024-10-22T18:42:51.832Z] 2ac1f1163629: Verifying Checksum [2024-10-22T18:42:51.832Z] 2ac1f1163629: Download complete [2024-10-22T18:42:52.091Z] f49a43e4bbc0: Verifying Checksum [2024-10-22T18:42:52.091Z] f49a43e4bbc0: Download complete [2024-10-22T18:42:54.622Z] 2ac1f1163629: Pull complete [2024-10-22T18:42:54.622Z] 5c3c966382ef: Pull complete [2024-10-22T18:42:54.880Z] 4f4fb700ef54: Pull complete [2024-10-22T18:42:54.880Z] 5d5c8e513c77: Pull complete [2024-10-22T18:42:54.880Z] 9f66e0745190: Pull complete [2024-10-22T18:42:57.417Z] f49a43e4bbc0: Pull complete [2024-10-22T18:42:57.678Z] 561ebcabdf7f: Pull complete [2024-10-22T18:42:57.678Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-22T18:42:57.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-22T18:42:57.678Z] ---> 3a752c3f9dda [2024-10-22T18:42:57.678Z] Step 3/10 : ARG MAKE=make build [2024-10-22T18:43:01.888Z] ---> Running in ab22cae2149e [2024-10-22T18:43:01.888Z] Removing intermediate container ab22cae2149e [2024-10-22T18:43:01.888Z] ---> 23520c468859 [2024-10-22T18:43:01.888Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-22T18:43:01.888Z] ---> Running in 90d668e85c22 [2024-10-22T18:43:01.888Z] Removing intermediate container 90d668e85c22 [2024-10-22T18:43:01.888Z] ---> ed0c89670102 [2024-10-22T18:43:01.888Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-22T18:43:01.888Z] ---> Running in 26c9daa0ac5e [2024-10-22T18:43:01.888Z] Removing intermediate container 26c9daa0ac5e [2024-10-22T18:43:01.888Z] ---> 1578bd17cb64 [2024-10-22T18:43:01.888Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-22T18:43:01.888Z] ---> Running in f080d86ce12a [2024-10-22T18:43:01.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:43:01.888Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:43:02.146Z] OK: 246 MiB in 54 packages [2024-10-22T18:43:02.404Z] Removing intermediate container f080d86ce12a [2024-10-22T18:43:02.404Z] ---> 03f2ffbf3d69 [2024-10-22T18:43:02.404Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-22T18:43:02.663Z] ---> 092ad7d41b47 [2024-10-22T18:43:02.663Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T18:43:02.663Z] ---> Running in 7f5c5469d616 [2024-10-22T18:43:04.685Z] Still waiting to schedule task [2024-10-22T18:43:04.685Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-22T18:43:49.357Z] Removing intermediate container 7f5c5469d616 [2024-10-22T18:43:49.357Z] ---> 636a0b1fa8e8 [2024-10-22T18:43:49.357Z] Step 9/10 : COPY . . [2024-10-22T18:43:50.294Z] ---> afb490be6a2b [2024-10-22T18:43:50.294Z] Step 10/10 : RUN ${MAKE} [2024-10-22T18:43:50.294Z] ---> Running in 9ac5eed0defa [2024-10-22T18:43:50.553Z] noop [2024-10-22T18:43:50.811Z] Removing intermediate container 9ac5eed0defa [2024-10-22T18:43:50.811Z] ---> f61ac6ee0899 [2024-10-22T18:43:50.811Z] Successfully built f61ac6ee0899 [2024-10-22T18:43:50.811Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:43:51.147Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-22T18:43:51.147Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:43:51.225Z] prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container [2024-10-22T18:43:51.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1640 -v /w/workspace/gexfoundry_device-sdk-go_PR-1640:/w/workspace/gexfoundry_device-sdk-go_PR-1640:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-22T18:43:51.572Z] $ docker top a9e388072ccadf1d9076f95e7fca1477b982307ca843d80ec041ea97d6d1818e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:43:51.919Z] + go version [2024-10-22T18:43:51.919Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-22T18:43:51.927Z] $ docker stop --time=1 a9e388072ccadf1d9076f95e7fca1477b982307ca843d80ec041ea97d6d1818e [2024-10-22T18:43:53.192Z] $ docker rm -f --volumes a9e388072ccadf1d9076f95e7fca1477b982307ca843d80ec041ea97d6d1818e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:43:53.628Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-22T18:43:53.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:43:53.717Z] prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container [2024-10-22T18:43:53.748Z] $ 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-1640 -v /w/workspace/gexfoundry_device-sdk-go_PR-1640:/w/workspace/gexfoundry_device-sdk-go_PR-1640:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-22T18:43:54.070Z] $ docker top 0472d69351545a1cce0ddead41efb3c4d4b75f55332e62d7c6405656b32f0a79 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:43:54.433Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1640 [Pipeline] fileExists [Pipeline] sh [2024-10-22T18:43:54.741Z] + make test [2024-10-22T18:43:54.741Z] go test -race -coverprofile=coverage.out ./... [2024-10-22T18:44:02.859Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-22T18:44:29.397Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-22T18:44:29.397Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-22T18:44:29.397Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-22T18:44:29.397Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-22T18:44:29.397Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-22T18:44:29.397Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-22T18:44:29.397Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-22T18:44:29.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.030s coverage: 26.0% of statements [2024-10-22T18:44:29.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.034s coverage: 79.4% of statements [2024-10-22T18:44:29.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.045s coverage: 86.0% of statements [2024-10-22T18:44:29.397Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-22T18:44:29.397Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-22T18:44:29.397Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-22T18:44:29.397Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-22T18:44:29.397Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.083s coverage: 45.2% of statements [2024-10-22T18:44:30.773Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-22T18:44:32.691Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.045s coverage: 14.1% of statements [2024-10-22T18:44:32.691Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.253s coverage: 44.6% of statements [2024-10-22T18:44:32.691Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.047s coverage: 68.4% of statements [2024-10-22T18:44:32.691Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.083s coverage: 88.3% of statements [2024-10-22T18:44:32.691Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.3% of statements [2024-10-22T18:44:44.488Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23539 in /w/workspace/gexfoundry_device-sdk-go_PR-1640 [Pipeline] { [Pipeline] ws [2024-10-22T18:44:44.505Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-10-22T18:44:47.560Z] The recommended git tool is: git [2024-10-22T18:44:55.770Z] using credential edgex-jenkins-ssh [2024-10-22T18:44:55.799Z] Cloning the remote Git repository [2024-10-22T18:44:55.849Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-22T18:44:55.963Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-10-22T18:44:56.145Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-22T18:44:56.146Z] > git --version # timeout=10 [2024-10-22T18:44:56.186Z] > git --version # 'git version 2.25.1' [2024-10-22T18:44:56.189Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:44:56.431Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-22T18:45:00.166Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-22T18:45:00.206Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-22T18:45:02.072Z] Merging remotes/origin/main commit 1e80e475b0e97679140bd79592a828cf1f53df47 into PR head commit e7d219c81bb1a39276e759e1bfbf54ad13c5976a [2024-10-22T18:45:02.463Z] Merge succeeded, producing 1131a507cbcd464d6d1ec7afdd112b36e4ad4e79 [2024-10-22T18:45:02.464Z] Checking out Revision 1131a507cbcd464d6d1ec7afdd112b36e4ad4e79 (PR-1640) [2024-10-22T18:45:01.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-22T18:45:01.446Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-22T18:45:01.447Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:45:01.473Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1640/head:refs/remotes/origin/PR-1640 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-22T18:45:02.083Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T18:45:02.141Z] > git checkout -f e7d219c81bb1a39276e759e1bfbf54ad13c5976a # timeout=10 [2024-10-22T18:45:02.270Z] > git remote # timeout=10 [2024-10-22T18:45:02.289Z] > git config --get remote.origin.url # timeout=10 [2024-10-22T18:45:02.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-22T18:45:02.337Z] > git merge 1e80e475b0e97679140bd79592a828cf1f53df47 # timeout=10 [2024-10-22T18:45:02.442Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-22T18:45:02.463Z] > git config core.sparsecheckout # timeout=10 [2024-10-22T18:45:02.476Z] > git checkout -f 1131a507cbcd464d6d1ec7afdd112b36e4ad4e79 # timeout=10 [2024-10-22T18:45:04.888Z] GO111MODULE=on go vet ./... [2024-10-22T18:45:06.093Z] Commit message: "Merge commit '1e80e475b0e97679140bd79592a828cf1f53df47' into HEAD" [2024-10-22T18:45:06.097Z] > git rev-list --no-walk e7d219c81bb1a39276e759e1bfbf54ad13c5976a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:45:07.416Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-22T18:45:07.417Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-22T18:45:07.417Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-22T18:45:07.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-22T18:45:07.709Z] $ docker stop --time=1 0472d69351545a1cce0ddead41efb3c4d4b75f55332e62d7c6405656b32f0a79 [2024-10-22T18:45:07.840Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-22T18:45:07.840Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-22T18:45:07.840Z] Dload Upload Total Spent Left Speed [2024-10-22T18:45:07.840Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 108k [2024-10-22T18:45:12.210Z] $ docker rm -f --volumes 0472d69351545a1cce0ddead41efb3c4d4b75f55332e62d7c6405656b32f0a79 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2024-10-22T18:45:12.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-22T18:45:12.908Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-22T18:45:12.944Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-10-22T18:45:13.234Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2024-10-22T18:45:13.234Z] sudo tee /etc/docker/daemon.new [2024-10-22T18:45:13.234Z] { [2024-10-22T18:45:13.234Z] "registry-mirrors": [ [2024-10-22T18:45:13.234Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-22T18:45:13.234Z] ], [2024-10-22T18:45:13.234Z] "bip": "10.250.0.254/24", [2024-10-22T18:45:13.234Z] "hosts": [ [2024-10-22T18:45:13.234Z] "tcp://0.0.0.0:5555", [2024-10-22T18:45:13.234Z] "unix:///var/run/docker.sock" [2024-10-22T18:45:13.234Z] ], [2024-10-22T18:45:13.234Z] "mtu": 1458, [2024-10-22T18:45:13.234Z] "selinux-enabled": true, [2024-10-22T18:45:13.234Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-22T18:45:13.234Z] } [Pipeline] sh [Pipeline] sh [2024-10-22T18:45:13.530Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T18:45:13.602Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-22T18:45:13.817Z] + ls -al . [2024-10-22T18:45:13.817Z] total 716 [2024-10-22T18:45:13.817Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 22 18:43 . [2024-10-22T18:45:13.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:42 .. [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 18:42 .dockerignore [2024-10-22T18:45:13.817Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:44 .git [2024-10-22T18:45:13.817Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:42 .github [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 22 18:42 .gitignore [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 22 18:42 .golangci.yml [2024-10-22T18:45:13.817Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:42 .semver [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 22 18:42 CHANGELOG.md [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:42 GOVERNANCE.md [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 882 Oct 22 18:42 Jenkinsfile [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 18:42 LICENSE [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 2379 Oct 22 18:42 Makefile [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 22 18:42 OWNERS.md [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 22 18:42 README.md [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:42 VERSION [2024-10-22T18:45:13.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:42 bin [2024-10-22T18:45:13.817Z] -rw-r--r-- 1 jenkins jenkins 467900 Oct 22 18:44 coverage.out [2024-10-22T18:45:13.817Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 18:42 example [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 22 18:42 go.mod [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 22 18:42 go.sum [2024-10-22T18:45:13.817Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 22 18:42 internal [2024-10-22T18:45:13.817Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:42 openapi [2024-10-22T18:45:13.817Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 22 18:42 pkg [2024-10-22T18:45:13.817Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:42 snap [2024-10-22T18:45:13.817Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:45:13.929Z] + sudo service docker restart [2024-10-22T18:45:14.132Z] + 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=917cfc341c17128e17f1974807d3be2cb615ad82 --label arch=amd64 --label version=0.0.0 . [2024-10-22T18:45:14.132Z] Sending build context to Docker daemon 25.97MB [2024-10-22T18:45:14.132Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T18:45:14.132Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-22T18:45:14.132Z] ---> f61ac6ee0899 [2024-10-22T18:45:14.132Z] Step 3/24 : ARG MAKE=make build [2024-10-22T18:45:14.699Z] ---> Running in 8896bee3b068 [2024-10-22T18:45:14.700Z] Removing intermediate container 8896bee3b068 [2024-10-22T18:45:14.700Z] ---> 6377b81e400c [2024-10-22T18:45:14.700Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-22T18:45:14.700Z] ---> Running in 42af538825c7 [2024-10-22T18:45:14.958Z] Removing intermediate container 42af538825c7 [2024-10-22T18:45:14.958Z] ---> b95e7046964c [2024-10-22T18:45:14.958Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-22T18:45:14.958Z] ---> Running in b9295f73feb9 [2024-10-22T18:45:14.958Z] Removing intermediate container b9295f73feb9 [2024-10-22T18:45:14.958Z] ---> f6fecbfab978 [2024-10-22T18:45:14.958Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-22T18:45:14.958Z] ---> Running in 06012b633a74 [2024-10-22T18:45:15.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:45:15.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:45:15.475Z] OK: 246 MiB in 54 packages [2024-10-22T18:45:15.735Z] Removing intermediate container 06012b633a74 [2024-10-22T18:45:15.735Z] ---> 1e4cca40ec45 [2024-10-22T18:45:15.735Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-22T18:45:15.994Z] ---> 5e197f6e9738 [2024-10-22T18:45:15.994Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T18:45:15.994Z] ---> Running in ef59c7945895 [2024-10-22T18:45:16.562Z] Removing intermediate container ef59c7945895 [2024-10-22T18:45:16.562Z] ---> 685a35c8e6a7 [2024-10-22T18:45:16.562Z] Step 9/24 : COPY . . [2024-10-22T18:45:17.499Z] ---> 4f2116476915 [2024-10-22T18:45:17.499Z] Step 10/24 : RUN ${MAKE} [2024-10-22T18:45:17.499Z] ---> Running in 5c4455fc6290 [2024-10-22T18:45:17.757Z] 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 -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T18:45:32.189Z] provisioning config files... [2024-10-22T18:45:32.219Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4022943561259463552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:45:32.659Z] ---> ****-login.sh [2024-10-22T18:45:32.659Z] nexus3.edgexfoundry.org:10001 [2024-10-22T18:45:32.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:45:33.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:45:33.199Z] Configure a credential helper to remove this warning. See [2024-10-22T18:45:33.199Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:45:33.199Z] [2024-10-22T18:45:33.199Z] Login Succeeded [2024-10-22T18:45:33.199Z] nexus3.edgexfoundry.org:10002 [2024-10-22T18:45:33.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:45:33.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:45:33.734Z] Configure a credential helper to remove this warning. See [2024-10-22T18:45:33.734Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:45:33.734Z] [2024-10-22T18:45:33.734Z] Login Succeeded [2024-10-22T18:45:33.734Z] nexus3.edgexfoundry.org:10003 [2024-10-22T18:45:34.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:45:34.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:45:34.004Z] Configure a credential helper to remove this warning. See [2024-10-22T18:45:34.004Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:45:34.004Z] [2024-10-22T18:45:34.004Z] Login Succeeded [2024-10-22T18:45:34.004Z] nexus3.edgexfoundry.org:10004 [2024-10-22T18:45:34.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:45:34.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:45:34.276Z] Configure a credential helper to remove this warning. See [2024-10-22T18:45:34.276Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:45:34.276Z] [2024-10-22T18:45:34.276Z] Login Succeeded [2024-10-22T18:45:34.276Z] ****.io [2024-10-22T18:45:34.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-22T18:45:34.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-22T18:45:34.815Z] Configure a credential helper to remove this warning. See [2024-10-22T18:45:34.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-22T18:45:34.815Z] [2024-10-22T18:45:34.815Z] Login Succeeded [2024-10-22T18:45:34.815Z] ---> ****-login.sh ends [Pipeline] } [2024-10-22T18:45:34.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-22T18:45:35.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:45:35.155Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-22T18:45:35.176Z] ========================================================= [2024-10-22T18:45:35.176Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-22T18:45:35.176Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:45:35.534Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-22T18:45:36.121Z] Sending build context to Docker daemon 13.21MB [2024-10-22T18:45:36.121Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T18:45:36.121Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-22T18:45:36.707Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-22T18:45:36.707Z] cf04c63912e1: Pulling fs layer [2024-10-22T18:45:36.707Z] 55b35a11ae5e: Pulling fs layer [2024-10-22T18:45:36.707Z] a37a00ec5f00: Pulling fs layer [2024-10-22T18:45:36.707Z] 50b3750afda1: Pulling fs layer [2024-10-22T18:45:36.707Z] 4f4fb700ef54: Pulling fs layer [2024-10-22T18:45:36.707Z] 80978eb59214: Pulling fs layer [2024-10-22T18:45:36.707Z] c9f46d7d2bd2: Pulling fs layer [2024-10-22T18:45:36.707Z] c5a475d317c9: Pulling fs layer [2024-10-22T18:45:36.707Z] 50b3750afda1: Waiting [2024-10-22T18:45:36.707Z] 80978eb59214: Waiting [2024-10-22T18:45:36.707Z] c9f46d7d2bd2: Waiting [2024-10-22T18:45:36.707Z] 4f4fb700ef54: Waiting [2024-10-22T18:45:36.707Z] c5a475d317c9: Waiting [2024-10-22T18:45:36.707Z] 55b35a11ae5e: Download complete [2024-10-22T18:45:36.976Z] 50b3750afda1: Verifying Checksum [2024-10-22T18:45:36.976Z] 50b3750afda1: Download complete [2024-10-22T18:45:36.976Z] 4f4fb700ef54: Verifying Checksum [2024-10-22T18:45:36.976Z] 4f4fb700ef54: Download complete [2024-10-22T18:45:36.976Z] 80978eb59214: Verifying Checksum [2024-10-22T18:45:36.976Z] 80978eb59214: Download complete [2024-10-22T18:45:36.976Z] cf04c63912e1: Verifying Checksum [2024-10-22T18:45:36.976Z] cf04c63912e1: Download complete [2024-10-22T18:45:37.561Z] c5a475d317c9: Verifying Checksum [2024-10-22T18:45:37.561Z] c5a475d317c9: Download complete [2024-10-22T18:45:37.835Z] cf04c63912e1: Pull complete [2024-10-22T18:45:38.420Z] 55b35a11ae5e: Pull complete [2024-10-22T18:45:39.006Z] a37a00ec5f00: Verifying Checksum [2024-10-22T18:45:39.006Z] a37a00ec5f00: Download complete [2024-10-22T18:45:39.964Z] c9f46d7d2bd2: Verifying Checksum [2024-10-22T18:45:39.964Z] c9f46d7d2bd2: Download complete [2024-10-22T18:45:49.839Z] Removing intermediate container 5c4455fc6290 [2024-10-22T18:45:49.839Z] ---> 92f4ab4e5056 [2024-10-22T18:45:49.839Z] Step 11/24 : FROM alpine:3.20 [2024-10-22T18:45:49.839Z] 3.20: Pulling from library/alpine [2024-10-22T18:45:49.839Z] 43c4264eed91: Already exists [2024-10-22T18:45:49.839Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-22T18:45:49.839Z] Status: Downloaded newer image for alpine:3.20 [2024-10-22T18:45:49.839Z] ---> 91ef0af61f39 [2024-10-22T18:45:49.839Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-22T18:45:49.839Z] ---> Running in f40b836f9f2e [2024-10-22T18:45:49.839Z] Removing intermediate container f40b836f9f2e [2024-10-22T18:45:49.839Z] ---> 07984f6295be [2024-10-22T18:45:49.839Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-22T18:45:49.839Z] ---> Running in 83b2ceffb649 [2024-10-22T18:45:49.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:45:49.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:45:49.839Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-22T18:45:49.839Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T18:45:49.839Z] OK: 8 MiB in 15 packages [2024-10-22T18:45:49.839Z] Removing intermediate container 83b2ceffb649 [2024-10-22T18:45:49.839Z] ---> 1f9ed865369a [2024-10-22T18:45:49.839Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-22T18:45:49.839Z] ---> Running in b745d82f7b54 [2024-10-22T18:45:49.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:45:49.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:45:50.099Z] Upgrading critical system libraries and apk-tools: [2024-10-22T18:45:50.099Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-22T18:45:50.099Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T18:45:50.099Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T18:45:50.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-22T18:45:50.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-22T18:45:50.358Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T18:45:50.358Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T18:45:50.358Z] OK: 8 MiB in 15 packages [2024-10-22T18:45:50.925Z] Removing intermediate container b745d82f7b54 [2024-10-22T18:45:50.925Z] ---> a74fe9c13c00 [2024-10-22T18:45:50.925Z] Step 15/24 : WORKDIR / [2024-10-22T18:45:50.925Z] ---> Running in c3bab82bae77 [2024-10-22T18:45:50.925Z] Removing intermediate container c3bab82bae77 [2024-10-22T18:45:50.925Z] ---> 59e1377ca225 [2024-10-22T18:45:50.925Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-22T18:45:51.184Z] ---> c944a1a54a61 [2024-10-22T18:45:51.184Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-22T18:45:52.562Z] ---> 5722ddaa4307 [2024-10-22T18:45:52.562Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-22T18:45:52.562Z] ---> b335b9dfcffa [2024-10-22T18:45:52.562Z] Step 19/24 : EXPOSE 59999 [2024-10-22T18:45:52.562Z] ---> Running in 5315cda13ee5 [2024-10-22T18:45:52.562Z] Removing intermediate container 5315cda13ee5 [2024-10-22T18:45:52.562Z] ---> 916566a6701d [2024-10-22T18:45:52.562Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-22T18:45:52.562Z] ---> Running in cb055c6d620f [2024-10-22T18:45:52.562Z] Removing intermediate container cb055c6d620f [2024-10-22T18:45:52.562Z] ---> a10702d8c541 [2024-10-22T18:45:52.562Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-22T18:45:52.562Z] ---> Running in ee07a2d27ae6 [2024-10-22T18:45:52.562Z] Removing intermediate container ee07a2d27ae6 [2024-10-22T18:45:52.562Z] ---> f7c2f0313575 [2024-10-22T18:45:52.562Z] Step 22/24 : LABEL arch=amd64 [2024-10-22T18:45:52.821Z] ---> Running in 170376e9e8a3 [2024-10-22T18:45:52.821Z] Removing intermediate container 170376e9e8a3 [2024-10-22T18:45:52.821Z] ---> 5109e7041c2d [2024-10-22T18:45:52.821Z] Step 23/24 : LABEL git_sha=917cfc341c17128e17f1974807d3be2cb615ad82 [2024-10-22T18:45:52.821Z] ---> Running in fd02654be7db [2024-10-22T18:45:52.821Z] Removing intermediate container fd02654be7db [2024-10-22T18:45:52.821Z] ---> 4e6c685c4774 [2024-10-22T18:45:52.821Z] Step 24/24 : LABEL version=0.0.0 [2024-10-22T18:45:52.821Z] ---> Running in d178b79faf07 [2024-10-22T18:45:53.082Z] Removing intermediate container d178b79faf07 [2024-10-22T18:45:53.082Z] ---> 3811ca2bc4df [2024-10-22T18:45:53.082Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-22T18:45:53.082Z] Successfully built 3811ca2bc4df [2024-10-22T18:45:53.082Z] 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-10-22T18:45:53.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:45:53.568Z] [2024-10-22T18:45:53.568Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:45:53.877Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:45:53.877Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-22T18:45:53.877Z] 5eb5b503b376: Pulling fs layer [2024-10-22T18:45:53.877Z] 5c69ac0246d0: Pulling fs layer [2024-10-22T18:45:53.877Z] ec43610c2a17: Pulling fs layer [2024-10-22T18:45:53.877Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-22T18:45:53.877Z] 33b1e0a273af: Pulling fs layer [2024-10-22T18:45:53.877Z] 5d3b04190fa2: Pulling fs layer [2024-10-22T18:45:53.877Z] 33b1e0a273af: Waiting [2024-10-22T18:45:53.877Z] 2f39f015ded8: Pulling fs layer [2024-10-22T18:45:53.877Z] 5d3b04190fa2: Waiting [2024-10-22T18:45:53.877Z] 3a2ae6a8a46f: Waiting [2024-10-22T18:45:53.877Z] 5c69ac0246d0: Download complete [2024-10-22T18:45:53.877Z] 3a2ae6a8a46f: Download complete [2024-10-22T18:45:53.877Z] 33b1e0a273af: Verifying Checksum [2024-10-22T18:45:53.877Z] 33b1e0a273af: Download complete [2024-10-22T18:45:53.877Z] ec43610c2a17: Verifying Checksum [2024-10-22T18:45:53.877Z] ec43610c2a17: Download complete [2024-10-22T18:45:53.877Z] 5d3b04190fa2: Verifying Checksum [2024-10-22T18:45:53.877Z] 5d3b04190fa2: Download complete [2024-10-22T18:45:54.138Z] 5eb5b503b376: Verifying Checksum [2024-10-22T18:45:54.138Z] 5eb5b503b376: Download complete [2024-10-22T18:45:54.705Z] 2f39f015ded8: Download complete [2024-10-22T18:45:54.957Z] a37a00ec5f00: Pull complete [2024-10-22T18:45:54.957Z] 50b3750afda1: Pull complete [2024-10-22T18:45:54.957Z] 4f4fb700ef54: Pull complete [2024-10-22T18:45:54.957Z] 80978eb59214: Pull complete [2024-10-22T18:45:54.964Z] 5eb5b503b376: Pull complete [2024-10-22T18:45:55.223Z] 5c69ac0246d0: Pull complete [2024-10-22T18:45:55.482Z] ec43610c2a17: Pull complete [2024-10-22T18:45:55.745Z] 3a2ae6a8a46f: Pull complete [2024-10-22T18:45:55.745Z] 33b1e0a273af: Pull complete [2024-10-22T18:45:56.004Z] 5d3b04190fa2: Pull complete [2024-10-22T18:46:00.193Z] 2f39f015ded8: Pull complete [2024-10-22T18:46:00.193Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-22T18:46:00.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T18:46:00.193Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:46:00.303Z] prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container [2024-10-22T18:46:00.325Z] $ 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-1640 -v /w/workspace/gexfoundry_device-sdk-go_PR-1640:/w/workspace/gexfoundry_device-sdk-go_PR-1640:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-22T18:46:01.627Z] c9f46d7d2bd2: Pull complete [2024-10-22T18:46:03.581Z] c5a475d317c9: Pull complete [2024-10-22T18:46:03.581Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-22T18:46:03.581Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-22T18:46:03.581Z] ---> be29e6b0f0d4 [2024-10-22T18:46:03.581Z] Step 3/10 : ARG MAKE=make build [2024-10-22T18:46:04.326Z] $ docker top 92917c332b812860da2ad50a933fe82b3a512660aa8021477e7cc0ca9a6a8ae3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T18:46:04.738Z] ---> job-cost.sh [2024-10-22T18:46:04.738Z] lf-activate-venv: SKIPPING [2024-10-22T18:46:04.738Z] INFO: No Stack... [2024-10-22T18:46:04.985Z] ---> Running in 281b2c51a096 [2024-10-22T18:46:04.997Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T18:46:05.252Z] Removing intermediate container 281b2c51a096 [2024-10-22T18:46:05.252Z] ---> 84da88671d14 [2024-10-22T18:46:05.252Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-22T18:46:05.255Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T18:46:05.524Z] ---> Running in 96888708f5c4 [2024-10-22T18:46:05.546Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives/cost.csv [2024-10-22T18:46:05.546Z] + cut -d, -f6 [Pipeline] lock [2024-10-22T18:46:05.563Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] [2024-10-22T18:46:05.571Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] did not exist. Created. [2024-10-22T18:46:05.578Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T18:46:05.796Z] Removing intermediate container 96888708f5c4 [2024-10-22T18:46:05.796Z] ---> 60ad2e1236b6 [2024-10-22T18:46:05.796Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-22T18:46:05.796Z] ---> Running in c3173f2fe8f0 [2024-10-22T18:46:05.894Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-22T18:46:05.937Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T18:46:05.946Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T18:46:05.971Z] $ docker stop --time=1 92917c332b812860da2ad50a933fe82b3a512660aa8021477e7cc0ca9a6a8ae3 [2024-10-22T18:46:06.064Z] Removing intermediate container c3173f2fe8f0 [2024-10-22T18:46:06.064Z] ---> 2fe869af7481 [2024-10-22T18:46:06.064Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-22T18:46:06.064Z] ---> Running in fae08a23f0dd [2024-10-22T18:46:07.121Z] $ docker rm -f --volumes 92917c332b812860da2ad50a933fe82b3a512660aa8021477e7cc0ca9a6a8ae3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-22T18:46:07.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:46:07.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:46:08.871Z] OK: 238 MiB in 54 packages [2024-10-22T18:46:09.455Z] Removing intermediate container fae08a23f0dd [2024-10-22T18:46:09.455Z] ---> 431e4b4dd25e [2024-10-22T18:46:09.455Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-22T18:46:10.049Z] ---> 804c675939a2 [2024-10-22T18:46:10.049Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T18:46:10.049Z] ---> Running in 7578dcbb4174 [2024-10-22T18:48:01.737Z] Removing intermediate container 7578dcbb4174 [2024-10-22T18:48:01.738Z] ---> d76739c2fbb1 [2024-10-22T18:48:01.738Z] Step 9/10 : COPY . . [2024-10-22T18:48:01.738Z] ---> 41df6d6734b2 [2024-10-22T18:48:01.738Z] Step 10/10 : RUN ${MAKE} [2024-10-22T18:48:01.738Z] ---> Running in 60fc734669e7 [2024-10-22T18:48:01.738Z] noop [2024-10-22T18:48:01.738Z] Removing intermediate container 60fc734669e7 [2024-10-22T18:48:01.738Z] ---> 234aef631be2 [2024-10-22T18:48:01.738Z] Successfully built 234aef631be2 [2024-10-22T18:48:01.738Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:48:02.104Z] + docker inspect -f . ci-base-image-arm64 [2024-10-22T18:48:02.104Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:48:02.339Z] prd-ubuntu20.04-docker-arm64-4c-16g-23539 does not seem to be running inside a container [2024-10-22T18:48:02.397Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-22T18:48:03.560Z] $ docker top e42874d7ff915355d83e88b63e924cd44784d24435ab6d8ff6739d6d272af612 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:48:04.426Z] + go version [2024-10-22T18:48:04.426Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-22T18:48:04.440Z] $ docker stop --time=1 e42874d7ff915355d83e88b63e924cd44784d24435ab6d8ff6739d6d272af612 [2024-10-22T18:48:06.436Z] $ docker rm -f --volumes e42874d7ff915355d83e88b63e924cd44784d24435ab6d8ff6739d6d272af612 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:48:07.022Z] + docker inspect -f . ci-base-image-arm64 [2024-10-22T18:48:07.022Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T18:48:07.212Z] prd-ubuntu20.04-docker-arm64-4c-16g-23539 does not seem to be running inside a container [2024-10-22T18:48:07.272Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-22T18:48:08.450Z] $ docker top 210d05e011ebd46635316e0b1c8a6045e511743a29091f31cbf35beefe29211d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T18:48:09.290Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-10-22T18:48:09.942Z] + make test [2024-10-22T18:48:09.942Z] go test -race -coverprofile=coverage.out ./... [2024-10-22T18:48:56.934Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-22T18:52:18.816Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-22T18:52:18.816Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-22T18:52:18.816Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-22T18:52:18.816Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-22T18:52:18.816Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-22T18:52:31.183Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.154s coverage: 26.0% of statements [2024-10-22T18:52:33.140Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.189s coverage: 79.4% of statements [2024-10-22T18:52:45.456Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-22T18:52:45.456Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-22T18:52:46.410Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.265s coverage: 86.0% of statements [2024-10-22T18:52:56.516Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-22T18:52:58.468Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.529s coverage: 45.2% of statements [2024-10-22T18:53:01.076Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.250s coverage: 14.1% of statements [2024-10-22T18:53:01.076Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.057s coverage: 44.6% of statements [2024-10-22T18:53:04.432Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-22T18:53:04.432Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-22T18:53:04.432Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-22T18:53:05.848Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.386s coverage: 68.4% of statements [2024-10-22T18:53:12.717Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.349s coverage: 88.3% of statements [2024-10-22T18:53:16.060Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-22T18:53:17.017Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.274s coverage: 5.3% of statements [2024-10-22T18:53:18.425Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-22T18:53:18.425Z] GO111MODULE=on go vet ./... [2024-10-22T18:56:55.202Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-22T18:56:55.202Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-22T18:56:55.202Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-22T18:56:56.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-22T18:56:56.187Z] $ docker stop --time=1 210d05e011ebd46635316e0b1c8a6045e511743a29091f31cbf35beefe29211d [2024-10-22T18:56:58.195Z] $ docker rm -f --volumes 210d05e011ebd46635316e0b1c8a6045e511743a29091f31cbf35beefe29211d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-22T18:57:00.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-22T18:57:00.487Z] Warning: overwriting stash ‘coverage-report’ [2024-10-22T18:57:01.171Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-22T18:57:01.585Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-22T18:57:01.911Z] + ls -al . [2024-10-22T18:57:01.912Z] total 712 [2024-10-22T18:57:01.912Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 22 18:48 . [2024-10-22T18:57:01.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:44 .. [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 22 18:45 .dockerignore [2024-10-22T18:57:01.912Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 22 18:45 .git [2024-10-22T18:57:01.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 22 18:45 .github [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 22 18:45 .gitignore [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 22 18:45 .golangci.yml [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 22 18:45 CHANGELOG.md [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 22 18:45 GOVERNANCE.md [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 882 Oct 22 18:45 Jenkinsfile [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 22 18:45 LICENSE [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 2379 Oct 22 18:45 Makefile [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 22 18:45 OWNERS.md [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 22 18:45 README.md [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 22 18:42 VERSION [2024-10-22T18:57:01.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:45 bin [2024-10-22T18:57:01.912Z] -rw-r--r-- 1 jenkins jenkins 467900 Oct 22 18:53 coverage.out [2024-10-22T18:57:01.912Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 22 18:45 example [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 22 18:45 go.mod [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 22 18:45 go.sum [2024-10-22T18:57:01.912Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 22 18:45 internal [2024-10-22T18:57:01.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 22 18:45 openapi [2024-10-22T18:57:01.912Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 22 18:45 pkg [2024-10-22T18:57:01.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 22 18:45 snap [2024-10-22T18:57:01.912Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 22 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T18:57:02.285Z] + 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=1131a507cbcd464d6d1ec7afdd112b36e4ad4e79 --label arch=arm64 --label version=0.0.0 . [2024-10-22T18:57:02.882Z] Sending build context to Docker daemon 13.68MB [2024-10-22T18:57:02.882Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-22T18:57:02.882Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-22T18:57:02.882Z] ---> 234aef631be2 [2024-10-22T18:57:02.882Z] Step 3/24 : ARG MAKE=make build [2024-10-22T18:57:03.152Z] ---> Running in b05546fefee4 [2024-10-22T18:57:03.419Z] Removing intermediate container b05546fefee4 [2024-10-22T18:57:03.419Z] ---> 6da92aec81a6 [2024-10-22T18:57:03.419Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-22T18:57:03.419Z] ---> Running in c3089f558962 [2024-10-22T18:57:03.686Z] Removing intermediate container c3089f558962 [2024-10-22T18:57:03.686Z] ---> dfd3ceb65e7a [2024-10-22T18:57:03.686Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-22T18:57:03.686Z] ---> Running in 6fc2935c2a98 [2024-10-22T18:57:04.277Z] Removing intermediate container 6fc2935c2a98 [2024-10-22T18:57:04.277Z] ---> fc93686cc21a [2024-10-22T18:57:04.277Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-22T18:57:04.277Z] ---> Running in a28ced3195e3 [2024-10-22T18:57:05.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T18:57:05.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T18:57:06.900Z] OK: 238 MiB in 54 packages [2024-10-22T18:57:07.860Z] Removing intermediate container a28ced3195e3 [2024-10-22T18:57:07.860Z] ---> b38f74d52fc8 [2024-10-22T18:57:07.860Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-22T18:57:08.827Z] ---> b1ac31b0436c [2024-10-22T18:57:08.827Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-22T18:57:09.096Z] ---> Running in 651f71aa77bf [2024-10-22T18:57:11.038Z] Removing intermediate container 651f71aa77bf [2024-10-22T18:57:11.038Z] ---> 7a4e4b4922d5 [2024-10-22T18:57:11.038Z] Step 9/24 : COPY . . [2024-10-22T18:57:12.983Z] ---> dc0f5002ab2f [2024-10-22T18:57:12.983Z] Step 10/24 : RUN ${MAKE} [2024-10-22T18:57:12.983Z] ---> Running in f56ee608246b [2024-10-22T18:57:13.943Z] 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 -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-22T19:00:52.472Z] Removing intermediate container f56ee608246b [2024-10-22T19:00:52.472Z] ---> 736860ccc125 [2024-10-22T19:00:52.472Z] Step 11/24 : FROM alpine:3.20 [2024-10-22T19:00:52.472Z] 3.20: Pulling from library/alpine [2024-10-22T19:00:52.472Z] cf04c63912e1: Already exists [2024-10-22T19:00:52.472Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-22T19:00:52.472Z] Status: Downloaded newer image for alpine:3.20 [2024-10-22T19:00:52.472Z] ---> c157a85ed455 [2024-10-22T19:00:52.472Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-22T19:00:52.472Z] ---> Running in 2e5675a743df [2024-10-22T19:00:52.472Z] Removing intermediate container 2e5675a743df [2024-10-22T19:00:52.472Z] ---> 7d709424518a [2024-10-22T19:00:52.472Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-22T19:00:52.472Z] ---> Running in b1704b47330a [2024-10-22T19:00:52.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T19:00:52.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T19:00:52.472Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-22T19:00:52.472Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T19:00:52.472Z] OK: 9 MiB in 15 packages [2024-10-22T19:00:52.472Z] Removing intermediate container b1704b47330a [2024-10-22T19:00:52.472Z] ---> 9a3c23dad38b [2024-10-22T19:00:52.472Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-22T19:00:52.472Z] ---> Running in deaa974fdc53 [2024-10-22T19:00:52.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T19:00:52.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T19:00:52.472Z] Upgrading critical system libraries and apk-tools: [2024-10-22T19:00:52.472Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-22T19:00:52.472Z] Executing busybox-1.36.1-r29.trigger [2024-10-22T19:00:52.472Z] Continuing the upgrade transaction with new apk-tools: [2024-10-22T19:00:52.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-22T19:00:52.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-22T19:00:52.472Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T19:00:52.472Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-22T19:00:52.472Z] OK: 9 MiB in 15 packages [2024-10-22T19:00:52.472Z] Removing intermediate container deaa974fdc53 [2024-10-22T19:00:52.472Z] ---> 437cb506f735 [2024-10-22T19:00:52.472Z] Step 15/24 : WORKDIR / [2024-10-22T19:00:52.472Z] ---> Running in 52b9fd5d66f7 [2024-10-22T19:00:52.472Z] Removing intermediate container 52b9fd5d66f7 [2024-10-22T19:00:52.472Z] ---> c89ba6327e10 [2024-10-22T19:00:52.472Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-22T19:00:52.472Z] ---> 2a010abffc6a [2024-10-22T19:00:52.472Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-22T19:00:54.407Z] ---> 83a4b268e159 [2024-10-22T19:00:54.407Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-22T19:00:54.674Z] ---> f4f7878438e8 [2024-10-22T19:00:54.674Z] Step 19/24 : EXPOSE 59999 [2024-10-22T19:00:54.944Z] ---> Running in 38c0f1e7ad09 [2024-10-22T19:00:55.210Z] Removing intermediate container 38c0f1e7ad09 [2024-10-22T19:00:55.210Z] ---> 561546d1554c [2024-10-22T19:00:55.210Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-22T19:00:55.210Z] ---> Running in 71685987ae93 [2024-10-22T19:00:55.482Z] Removing intermediate container 71685987ae93 [2024-10-22T19:00:55.482Z] ---> 7af4228e78b1 [2024-10-22T19:00:55.482Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-22T19:00:55.482Z] ---> Running in c87e0cebdd71 [2024-10-22T19:00:55.751Z] Removing intermediate container c87e0cebdd71 [2024-10-22T19:00:55.751Z] ---> 1c7def2ec45e [2024-10-22T19:00:55.751Z] Step 22/24 : LABEL arch=arm64 [2024-10-22T19:00:56.021Z] ---> Running in 9c6e2f714c65 [2024-10-22T19:00:56.287Z] Removing intermediate container 9c6e2f714c65 [2024-10-22T19:00:56.287Z] ---> 688937fc9854 [2024-10-22T19:00:56.287Z] Step 23/24 : LABEL git_sha=1131a507cbcd464d6d1ec7afdd112b36e4ad4e79 [2024-10-22T19:00:56.287Z] ---> Running in 9de981457a45 [2024-10-22T19:00:56.553Z] Removing intermediate container 9de981457a45 [2024-10-22T19:00:56.553Z] ---> d66052b35699 [2024-10-22T19:00:56.553Z] Step 24/24 : LABEL version=0.0.0 [2024-10-22T19:00:56.553Z] ---> Running in 1e6cc4b89695 [2024-10-22T19:00:56.818Z] Removing intermediate container 1e6cc4b89695 [2024-10-22T19:00:56.818Z] ---> a877b9a5b246 [2024-10-22T19:00:56.818Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-22T19:00:57.085Z] Successfully built a877b9a5b246 [2024-10-22T19:00:57.085Z] 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-10-22T19:00:57.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T19:00:57.566Z] [2024-10-22T19:00:57.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T19:00:57.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T19:00:58.477Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-22T19:00:58.477Z] 8998bd30e6a1: Pulling fs layer [2024-10-22T19:00:58.477Z] 04944245beec: Pulling fs layer [2024-10-22T19:00:58.477Z] 699f458cf7ca: Pulling fs layer [2024-10-22T19:00:58.477Z] 765212b225bb: Pulling fs layer [2024-10-22T19:00:58.477Z] f23df028b6ca: Pulling fs layer [2024-10-22T19:00:58.477Z] d65c8cfc05b1: Pulling fs layer [2024-10-22T19:00:58.477Z] 765212b225bb: Waiting [2024-10-22T19:00:58.477Z] f23df028b6ca: Waiting [2024-10-22T19:00:58.477Z] 2437ff75d9bd: Pulling fs layer [2024-10-22T19:00:58.477Z] 2437ff75d9bd: Waiting [2024-10-22T19:00:58.477Z] d65c8cfc05b1: Waiting [2024-10-22T19:00:58.477Z] 04944245beec: Verifying Checksum [2024-10-22T19:00:58.477Z] 04944245beec: Download complete [2024-10-22T19:00:58.477Z] 765212b225bb: Verifying Checksum [2024-10-22T19:00:58.477Z] 765212b225bb: Download complete [2024-10-22T19:00:58.477Z] f23df028b6ca: Verifying Checksum [2024-10-22T19:00:58.477Z] f23df028b6ca: Download complete [2024-10-22T19:00:58.477Z] d65c8cfc05b1: Verifying Checksum [2024-10-22T19:00:58.477Z] d65c8cfc05b1: Download complete [2024-10-22T19:00:58.744Z] 699f458cf7ca: Verifying Checksum [2024-10-22T19:00:58.744Z] 699f458cf7ca: Download complete [2024-10-22T19:00:59.011Z] 8998bd30e6a1: Verifying Checksum [2024-10-22T19:00:59.011Z] 8998bd30e6a1: Download complete [2024-10-22T19:01:01.590Z] 2437ff75d9bd: Verifying Checksum [2024-10-22T19:01:01.590Z] 2437ff75d9bd: Download complete [2024-10-22T19:01:03.535Z] 8998bd30e6a1: Pull complete [2024-10-22T19:01:04.119Z] 04944245beec: Pull complete [2024-10-22T19:01:05.529Z] 699f458cf7ca: Pull complete [2024-10-22T19:01:05.795Z] 765212b225bb: Pull complete [2024-10-22T19:01:06.753Z] f23df028b6ca: Pull complete [2024-10-22T19:01:07.020Z] d65c8cfc05b1: Pull complete [2024-10-22T19:01:25.230Z] 2437ff75d9bd: Pull complete [2024-10-22T19:01:25.230Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-22T19:01:25.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-22T19:01:25.230Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T19:01:25.438Z] prd-ubuntu20.04-docker-arm64-4c-16g-23539 does not seem to be running inside a container [2024-10-22T19:01:25.487Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-22T19:01:28.130Z] $ docker top bb12b2ff3a05b46f85c80dcb8940612b9831275c0585db6ce0f58ed3b06230a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-22T19:01:28.994Z] ---> job-cost.sh [2024-10-22T19:01:28.994Z] lf-activate-venv: SKIPPING [2024-10-22T19:01:28.994Z] INFO: No Stack... [2024-10-22T19:01:29.259Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-22T19:01:30.216Z] INFO: Archiving Costs [Pipeline] sh [2024-10-22T19:01:30.909Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-10-22T19:01:30.909Z] + cut -d, -f6 [Pipeline] lock [2024-10-22T19:01:30.952Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] [2024-10-22T19:01:30.962Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] did not exist. Created. [2024-10-22T19:01:30.972Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-22T19:01:31.637Z] /w/workspace/device-sdk-go/2@tmp/durable-ba868fee/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-22T19:01:32.276Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-22T19:01:32.304Z] Warning: overwriting stash ‘stack-cost’ [2024-10-22T19:01:32.390Z] Stashed 1 file(s) [Pipeline] } [2024-10-22T19:01:32.408Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1640-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-22T19:01:32.426Z] $ docker stop --time=1 bb12b2ff3a05b46f85c80dcb8940612b9831275c0585db6ce0f58ed3b06230a5 [2024-10-22T19:01:34.190Z] $ docker rm -f --volumes bb12b2ff3a05b46f85c80dcb8940612b9831275c0585db6ce0f58ed3b06230a5 [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-10-22T19:01:34.733Z] provisioning config files... [2024-10-22T19:01:34.742Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/config9130200762510386964tmp [Pipeline] { [Pipeline] sh [2024-10-22T19:01:35.040Z] + set +x [2024-10-22T19:01:35.040Z] + curl -s https://codecov.io/bash [2024-10-22T19:01:35.040Z] + bash -s -- [2024-10-22T19:01:35.040Z] [2024-10-22T19:01:35.040Z] _____ _ [2024-10-22T19:01:35.040Z] / ____| | | [2024-10-22T19:01:35.040Z] | | ___ __| | ___ ___ _____ __ [2024-10-22T19:01:35.040Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-22T19:01:35.040Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-22T19:01:35.040Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-22T19:01:35.040Z] Bash-1.0.6 [2024-10-22T19:01:35.040Z] [2024-10-22T19:01:35.040Z] [2024-10-22T19:01:35.040Z] ==> git version 2.25.1 found [2024-10-22T19:01:35.040Z] ==> 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-10-22T19:01:35.040Z] Release-Date: 2020-01-08 [2024-10-22T19:01:35.040Z] 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-10-22T19:01:35.040Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-22T19:01:35.040Z] ==> Jenkins CI detected. [2024-10-22T19:01:35.040Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1640 [2024-10-22T19:01:35.040Z] project root: . [2024-10-22T19:01:35.040Z] --> token set from env [2024-10-22T19:01:35.041Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-22T19:01:35.041Z] ==> Running gcov in . (disable via -X gcov) [2024-10-22T19:01:35.041Z] ==> Python coveragepy not found [2024-10-22T19:01:35.041Z] ==> Searching for coverage reports in: [2024-10-22T19:01:35.041Z] + . [2024-10-22T19:01:35.041Z] -> Found 1 reports [2024-10-22T19:01:35.041Z] ==> Detecting git/mercurial file structure [2024-10-22T19:01:35.299Z] ==> Reading reports [2024-10-22T19:01:35.299Z] + ./coverage.out bytes=467900 [2024-10-22T19:01:35.299Z] ==> Appending adjustments [2024-10-22T19:01:35.299Z] https://docs.codecov.io/docs/fixing-reports [2024-10-22T19:01:35.558Z] + Found adjustments [2024-10-22T19:01:35.558Z] ==> Gzipping contents [2024-10-22T19:01:35.558Z] 44K /tmp/codecov.uwOwjI.gz [2024-10-22T19:01:35.558Z] ==> Uploading reports [2024-10-22T19:01:35.558Z] url: https://codecov.io [2024-10-22T19:01:35.558Z] query: branch=PR-1640&commit=917cfc341c17128e17f1974807d3be2cb615ad82&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1640%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1640&job=&cmd_args= [2024-10-22T19:01:35.558Z] -> Pinging Codecov [2024-10-22T19:01:35.558Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1640&commit=917cfc341c17128e17f1974807d3be2cb615ad82&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1640%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1640&job=&cmd_args= [2024-10-22T19:01:43.672Z] -> Uploading to [2024-10-22T19:01:43.672Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/917cfc341c17128e17f1974807d3be2cb615ad82/883cfc68-3296-47e8-a6c6-12d591479ac1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241022%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241022T190140Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=1e05484e552fba91b4f3c611cdeca0133fb7b53fbd0edce78f704e731ade1319 [2024-10-22T19:01:43.672Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-22T19:01:43.672Z] Dload Upload Total Spent Left Speed [2024-10-22T19:01:43.672Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44720 0 0 100 44720 0 157k --:--:-- --:--:-- --:--:-- 157k [2024-10-22T19:01:43.672Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/917cfc341c17128e17f1974807d3be2cb615ad82 [Pipeline] } [2024-10-22T19:01:43.679Z] 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-10-22T19:01:44.556Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives ] [2024-10-22T19:01:44.556Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives [2024-10-22T19:01:44.556Z] total 16 [2024-10-22T19:01:44.556Z] drwxr-xr-x 3 root root 4096 Oct 22 18:46 . [2024-10-22T19:01:44.556Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 22 18:46 .. [2024-10-22T19:01:44.556Z] drwxr-xr-x 2 root root 4096 Oct 22 18:46 cost [2024-10-22T19:01:44.556Z] -rw-r--r-- 1 root root 86 Oct 22 18:46 cost.csv [2024-10-22T19:01:44.556Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives [2024-10-22T19:01:44.556Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives [2024-10-22T19:01:44.556Z] total 16 [2024-10-22T19:01:44.556Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 22 18:46 . [2024-10-22T19:01:44.556Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 22 18:46 .. [2024-10-22T19:01:44.556Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 22 18:46 cost [2024-10-22T19:01:44.556Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 22 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-22T19:01:44.845Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T19:01:45.705Z] ---> package-listing.sh [2024-10-22T19:01:45.705Z] ++ facter osfamily [2024-10-22T19:01:45.705Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-22T19:01:45.964Z] + OS_FAMILY=debian [2024-10-22T19:01:45.964Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1640 [2024-10-22T19:01:45.964Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-22T19:01:45.964Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-22T19:01:45.964Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-22T19:01:45.964Z] + PACKAGES=/tmp/packages_start.txt [2024-10-22T19:01:45.964Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1640 ']' [2024-10-22T19:01:45.964Z] + PACKAGES=/tmp/packages_end.txt [2024-10-22T19:01:45.964Z] + case "${OS_FAMILY}" in [2024-10-22T19:01:45.964Z] + dpkg -l [2024-10-22T19:01:45.964Z] + grep '^ii' [2024-10-22T19:01:45.964Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-22T19:01:45.964Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-22T19:01:45.964Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-22T19:01:45.964Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1640 ']' [2024-10-22T19:01:45.964Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives/ [2024-10-22T19:01:45.964Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1640/archives/ [Pipeline] echo [2024-10-22T19:01:45.989Z] 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-1640/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-22T19:01:46.274Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-22T19:01:46.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-22T19:01:46.838Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-22T19:01:46.910Z] prd-ubuntu20.04-docker-8c-8g-23538 does not seem to be running inside a container [2024-10-22T19:01:46.938Z] $ 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-1640/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-1640 -v /w/workspace/gexfoundry_device-sdk-go_PR-1640:/w/workspace/gexfoundry_device-sdk-go_PR-1640:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1640@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-10-22T19:01:47.135Z] $ docker top 1f0efc9f3e2cd720e0d5b72d2e84019fb571c06f364b6455866ab7a7772f150b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-22T19:01:47.485Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-22T19:01:47.772Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-22T19:01:48.059Z] + ls /var/log/sa-host [2024-10-22T19:01:48.059Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-22T19:01:48.222Z] provisioning config files... [2024-10-22T19:01:48.230Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1640@tmp/config13930172587232395469tmp [Pipeline] { [Pipeline] echo [2024-10-22T19:01:48.253Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T19:01:48.536Z] ---> create-netrc.sh [Pipeline] } [2024-10-22T19:01:48.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-22T19:01:48.898Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-22T19:01:48.909Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T19:01:49.195Z] ---> sudo-logs.sh [2024-10-22T19:01:49.196Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-22T19:01:49.232Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T19:01:49.517Z] ---> job-cost.sh [2024-10-22T19:01:49.517Z] lf-activate-venv: SKIPPING [2024-10-22T19:01:49.517Z] DEBUG: total: 0.2199999988079071 [2024-10-22T19:01:49.517Z] INFO: Retrieving Stack Cost... [2024-10-22T19:01:49.777Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-22T19:01:50.037Z] INFO: Archiving Costs [Pipeline] echo [2024-10-22T19:01:50.052Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-22T19:01:50.336Z] ---> logs-deploy.sh [2024-10-22T19:01:50.336Z] lf-activate-venv: SKIPPING [2024-10-22T19:01:50.336Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1640/2 [2024-10-22T19:01:50.336Z] INFO: archiving workspace using pattern(s): [2024-10-22T19:01:51.274Z] Archives upload complete. [2024-10-22T19:01:51.274Z] INFO: archiving logs to Nexus