Pull request #1580 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ethan256 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 97b36af7baff2da76e29dc2359062fa76ab64ed3 rather than 59910a6c5beb06e065bd84591ce7d9000f84a260 Obtained Jenkinsfile from 97b36af7baff2da76e29dc2359062fa76ab64ed3 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-ssh9214086039321681370.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh7080298358111178483.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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-1580/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-1580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7299132802421551619.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh16780410871756275455.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-1580/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-1580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5550356978554139326.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-692 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [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-1580 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 59910a6c5beb06e065bd84591ce7d9000f84a260 Merge succeeded, producing 59910a6c5beb06e065bd84591ce7d9000f84a260 Checking out Revision 59910a6c5beb06e065bd84591ce7d9000f84a260 (PR-1580) > git config core.sparsecheckout # timeout=10 > git checkout -f 59910a6c5beb06e065bd84591ce7d9000f84a260 # 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 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 59910a6c5beb06e065bd84591ce7d9000f84a260 # timeout=10 Commit message: "feat: update ants version to latest" > git rev-list --no-walk 1f7dfa0cee49005af5cff3b6997ca0c64185fcea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-24T10:30:48.272Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-24T10:30:48.348Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-24T10:30:48.376Z] ========================================================= [2024-05-24T10:30:48.376Z] EdgeX Global Pipelines Version Info [2024-05-24T10:30:48.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:30:49.179Z] ------------------- [2024-05-24T10:30:49.179Z] No tag info for: stable [2024-05-24T10:30:49.747Z] ------------------- [2024-05-24T10:30:49.747Z] experimental info: [2024-05-24T10:30:49.747Z] ------------------- [2024-05-24T10:30:49.747Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-24T10:30:49.747Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-24T10:30:49.747Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-24T10:30:49.834Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-05-24T10:30:49.853Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-05-24T10:30:49.875Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-24T10:30:49.899Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-24T10:30:49.919Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-24T10:30:49.938Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-24T10:30:49.959Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-24T10:30:49.978Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-05-24T10:30:50.000Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-24T10:30:50.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-24T10:30:50.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-24T10:30:50.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-05-24T10:30:50.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-24T10:30:50.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-24T10:30:50.145Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T10:30:50.171Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T10:30:50.196Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T10:30:50.217Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T10:30:50.245Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-24T10:30:50.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-24T10:30:50.285Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-24T10:30:50.309Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-05-24T10:30:50.332Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-24T10:30:50.355Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-24T10:30:50.387Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-24T10:30:50.416Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-24T10:30:50.437Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-24T10:30:50.458Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1580 [Pipeline] echo [2024-05-24T10:30:50.482Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1580 [Pipeline] echo [2024-05-24T10:30:50.507Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1580 [Pipeline] echo [2024-05-24T10:30:50.533Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 59910a6c5beb06e065bd84591ce7d9000f84a260 [Pipeline] echo [2024-05-24T10:30:50.562Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 59910a6 [Pipeline] echo [2024-05-24T10:30:50.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T10:30:50.654Z] provisioning config files... [2024-05-24T10:30:50.672Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config9779650807410950911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:30:51.019Z] ---> ****-login.sh [2024-05-24T10:30:51.019Z] nexus3.edgexfoundry.org:10001 [2024-05-24T10:30:51.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:30:51.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:30:51.544Z] Configure a credential helper to remove this warning. See [2024-05-24T10:30:51.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:30:51.544Z] [2024-05-24T10:30:51.544Z] Login Succeeded [2024-05-24T10:30:51.544Z] nexus3.edgexfoundry.org:10002 [2024-05-24T10:30:51.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:30:51.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:30:51.545Z] Configure a credential helper to remove this warning. See [2024-05-24T10:30:51.545Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:30:51.545Z] [2024-05-24T10:30:51.545Z] Login Succeeded [2024-05-24T10:30:51.545Z] nexus3.edgexfoundry.org:10003 [2024-05-24T10:30:51.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:30:51.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:30:51.545Z] Configure a credential helper to remove this warning. See [2024-05-24T10:30:51.545Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:30:51.545Z] [2024-05-24T10:30:51.545Z] Login Succeeded [2024-05-24T10:30:51.545Z] nexus3.edgexfoundry.org:10004 [2024-05-24T10:30:51.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:30:51.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:30:51.805Z] Configure a credential helper to remove this warning. See [2024-05-24T10:30:51.805Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:30:51.805Z] [2024-05-24T10:30:51.805Z] Login Succeeded [2024-05-24T10:30:51.805Z] ****.io [2024-05-24T10:30:51.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:30:52.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:30:52.067Z] Configure a credential helper to remove this warning. See [2024-05-24T10:30:52.067Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:30:52.067Z] [2024-05-24T10:30:52.067Z] Login Succeeded [2024-05-24T10:30:52.067Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T10:30:52.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-24T10:30:52.494Z] + git rev-list -1 --merges 59910a6c5beb06e065bd84591ce7d9000f84a260~1..59910a6c5beb06e065bd84591ce7d9000f84a260 [Pipeline] echo [2024-05-24T10:30:52.526Z] -----------> git rev-list -1 --merges 59910a6c5beb06e065bd84591ce7d9000f84a260~1..59910a6c5beb06e065bd84591ce7d9000f84a260 59910a6c5beb06e065bd84591ce7d9000f84a260 [false] [Pipeline] sh [2024-05-24T10:30:52.818Z] + git log --format=format:%s -1 59910a6c5beb06e065bd84591ce7d9000f84a260 [Pipeline] echo [2024-05-24T10:30:52.832Z] ========================================================= [2024-05-24T10:30:52.832Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-24T10:30:52.832Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T10:30:53.179Z] + git log --format=format:%s -1 59910a6c5beb06e065bd84591ce7d9000f84a260 [Pipeline] echo [2024-05-24T10:30:53.192Z] [semverPrep] GIT_COMMIT: 59910a6c5beb06e065bd84591ce7d9000f84a260, Commit Message: feat: update ants version to latest [Pipeline] echo [2024-05-24T10:30:53.208Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-24T10:30:53.591Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-24T10:30:53.591Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-24T10:30:53.591Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-24T10:30:53.591Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-24T10:30:53.591Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2024-05-24T10:30:53.591Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-24T10:30:53.591Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:30:54.009Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T10:30:54.009Z] [2024-05-24T10:30:54.009Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:30:54.319Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T10:30:54.319Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-24T10:30:54.319Z] b85a868b505f: Pulling fs layer [2024-05-24T10:30:54.319Z] e2be974225ed: Pulling fs layer [2024-05-24T10:30:54.319Z] 339a4e72a1f5: Pulling fs layer [2024-05-24T10:30:54.319Z] 988bab9f4d93: Pulling fs layer [2024-05-24T10:30:54.319Z] 1469e6f7b9e6: Pulling fs layer [2024-05-24T10:30:54.319Z] eaf3925da568: Pulling fs layer [2024-05-24T10:30:54.319Z] bab4dde63d76: Pulling fs layer [2024-05-24T10:30:54.319Z] bde34c3a00c8: Pulling fs layer [2024-05-24T10:30:54.319Z] b352a97aabf1: Pulling fs layer [2024-05-24T10:30:54.319Z] 4872d77fe225: Pulling fs layer [2024-05-24T10:30:54.319Z] 5851b861e8e6: Pulling fs layer [2024-05-24T10:30:54.319Z] eaf3925da568: Waiting [2024-05-24T10:30:54.319Z] bab4dde63d76: Waiting [2024-05-24T10:30:54.319Z] 988bab9f4d93: Waiting [2024-05-24T10:30:54.319Z] 1469e6f7b9e6: Waiting [2024-05-24T10:30:54.319Z] bde34c3a00c8: Waiting [2024-05-24T10:30:54.319Z] 5851b861e8e6: Waiting [2024-05-24T10:30:54.319Z] b352a97aabf1: Waiting [2024-05-24T10:30:54.319Z] e2be974225ed: Verifying Checksum [2024-05-24T10:30:54.319Z] e2be974225ed: Download complete [2024-05-24T10:30:54.319Z] 988bab9f4d93: Verifying Checksum [2024-05-24T10:30:54.319Z] 988bab9f4d93: Download complete [2024-05-24T10:30:54.580Z] 1469e6f7b9e6: Verifying Checksum [2024-05-24T10:30:54.580Z] 1469e6f7b9e6: Download complete [2024-05-24T10:30:54.580Z] eaf3925da568: Download complete [2024-05-24T10:30:54.580Z] 339a4e72a1f5: Verifying Checksum [2024-05-24T10:30:54.580Z] 339a4e72a1f5: Download complete [2024-05-24T10:30:54.580Z] bde34c3a00c8: Verifying Checksum [2024-05-24T10:30:54.580Z] bde34c3a00c8: Download complete [2024-05-24T10:30:54.580Z] b352a97aabf1: Download complete [2024-05-24T10:30:54.580Z] 4872d77fe225: Download complete [2024-05-24T10:30:54.580Z] 5851b861e8e6: Download complete [2024-05-24T10:30:54.580Z] b85a868b505f: Verifying Checksum [2024-05-24T10:30:54.580Z] b85a868b505f: Download complete [2024-05-24T10:30:54.840Z] bab4dde63d76: Verifying Checksum [2024-05-24T10:30:54.841Z] bab4dde63d76: Download complete [2024-05-24T10:30:55.779Z] b85a868b505f: Pull complete [2024-05-24T10:30:56.038Z] e2be974225ed: Pull complete [2024-05-24T10:30:56.605Z] 339a4e72a1f5: Pull complete [2024-05-24T10:30:56.605Z] 988bab9f4d93: Pull complete [2024-05-24T10:30:56.864Z] 1469e6f7b9e6: Pull complete [2024-05-24T10:30:56.864Z] eaf3925da568: Pull complete [2024-05-24T10:30:58.775Z] bab4dde63d76: Pull complete [2024-05-24T10:30:58.775Z] bde34c3a00c8: Pull complete [2024-05-24T10:30:59.035Z] b352a97aabf1: Pull complete [2024-05-24T10:30:59.035Z] 4872d77fe225: Pull complete [2024-05-24T10:30:59.295Z] 5851b861e8e6: Pull complete [2024-05-24T10:30:59.295Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-24T10:30:59.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T10:30:59.295Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T10:30:59.434Z] prd-ubuntu20.04-docker-8c-8g-692 does not seem to be running inside a container [2024-05-24T10:30:59.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@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-devops/py-git-semver:0.1.4 cat [2024-05-24T10:31:02.985Z] $ docker top 3925bc57227d58a7dea0fb7c80c40b211c92d12fc165dcdafefa070a2be7ee88 -eo pid,comm [2024-05-24T10:31:03.045Z] 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-05-24T10:31:03.045Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-24T10:31:03.103Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T10:31:03.103Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T10:31:03.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T10:31:03.237Z] $ docker exec 3925bc57227d58a7dea0fb7c80c40b211c92d12fc165dcdafefa070a2be7ee88 ssh-agent [2024-05-24T10:31:03.354Z] SSH_AUTH_SOCK=/tmp/ssh-LfPfmc3vBAmk/agent.33 [2024-05-24T10:31:03.354Z] SSH_AGENT_PID=39 [2024-05-24T10:31:03.360Z] Running ssh-add (command line suppressed) [2024-05-24T10:31:03.470Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_16786896718823132791.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_16786896718823132791.key) [2024-05-24T10:31:03.481Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T10:31:03.775Z] + git tag --points-at HEAD [Pipeline] } [2024-05-24T10:31:03.790Z] $ docker exec --env ******** --env ******** 3925bc57227d58a7dea0fb7c80c40b211c92d12fc165dcdafefa070a2be7ee88 ssh-agent -k [2024-05-24T10:31:03.886Z] unset SSH_AUTH_SOCK; [2024-05-24T10:31:03.886Z] unset SSH_AGENT_PID; [2024-05-24T10:31:03.887Z] echo Agent pid 39 killed; [2024-05-24T10:31:03.894Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-24T10:31:03.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T10:31:03.930Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T10:31:04.047Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T10:31:04.052Z] $ docker exec 3925bc57227d58a7dea0fb7c80c40b211c92d12fc165dcdafefa070a2be7ee88 ssh-agent [2024-05-24T10:31:04.159Z] SSH_AUTH_SOCK=/tmp/ssh-yJeqyLqyCwLP/agent.72 [2024-05-24T10:31:04.159Z] SSH_AGENT_PID=78 [2024-05-24T10:31:04.164Z] Running ssh-add (command line suppressed) [2024-05-24T10:31:04.259Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_1104246036919986217.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_1104246036919986217.key) [2024-05-24T10:31:04.271Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T10:31:04.564Z] + git semver init [2024-05-24T10:31:04.825Z] 2024-05-24 10:31:04,731 [run_init] DEBUG init version:0.0.0 force:False [2024-05-24T10:31:04.825Z] 2024-05-24 10:31:04,732 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver [2024-05-24T10:31:04.825Z] 2024-05-24 10:31:04,732 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver [2024-05-24T10:31:04.825Z] 2024-05-24 10:31:04,732 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580, universal_newlines=False, shell=None, istream=None) [2024-05-24T10:31:06.202Z] 2024-05-24 10:31:06,057 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.git/info/exclude [2024-05-24T10:31:06.202Z] 2024-05-24 10:31:06,057 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 with force:False [2024-05-24T10:31:06.202Z] 2024-05-24 10:31:06,057 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 [2024-05-24T10:31:06.202Z] 2024-05-24 10:31:06,062 [execute] INFO git cat-file --batch-check [2024-05-24T10:31:06.202Z] 2024-05-24 10:31:06,062 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) [2024-05-24T10:31:06.202Z] 2024-05-24 10:31:06,069 [execute] INFO git cat-file --batch [2024-05-24T10:31:06.202Z] 2024-05-24 10:31:06,070 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) [2024-05-24T10:31:06.202Z] 2024-05-24 10:31:06,076 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 [2024-05-24T10:31:06.202Z] 0.0.0 [Pipeline] } [2024-05-24T10:31:06.215Z] $ docker exec --env ******** --env ******** 3925bc57227d58a7dea0fb7c80c40b211c92d12fc165dcdafefa070a2be7ee88 ssh-agent -k [2024-05-24T10:31:06.328Z] unset SSH_AUTH_SOCK; [2024-05-24T10:31:06.329Z] unset SSH_AGENT_PID; [2024-05-24T10:31:06.330Z] echo Agent pid 78 killed; [2024-05-24T10:31:06.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-24T10:31:06.666Z] + git semver [Pipeline] } [2024-05-24T10:31:06.941Z] $ docker stop --time=1 3925bc57227d58a7dea0fb7c80c40b211c92d12fc165dcdafefa070a2be7ee88 [2024-05-24T10:31:08.243Z] $ docker rm -f --volumes 3925bc57227d58a7dea0fb7c80c40b211c92d12fc165dcdafefa070a2be7ee88 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T10:31:08.586Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-24T10:31:08.828Z] Stashed 1 file(s) [Pipeline] echo [2024-05-24T10:31:08.832Z] [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-05-24T10:31:09.017Z] provisioning config files... [2024-05-24T10:31:09.027Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config16796683960609458433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:31:09.344Z] ---> ****-login.sh [2024-05-24T10:31:09.344Z] nexus3.edgexfoundry.org:10001 [2024-05-24T10:31:09.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:31:09.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:31:09.344Z] Configure a credential helper to remove this warning. See [2024-05-24T10:31:09.344Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:31:09.344Z] [2024-05-24T10:31:09.344Z] Login Succeeded [2024-05-24T10:31:09.344Z] nexus3.edgexfoundry.org:10002 [2024-05-24T10:31:09.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:31:09.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:31:09.345Z] Configure a credential helper to remove this warning. See [2024-05-24T10:31:09.345Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:31:09.345Z] [2024-05-24T10:31:09.345Z] Login Succeeded [2024-05-24T10:31:09.345Z] nexus3.edgexfoundry.org:10003 [2024-05-24T10:31:09.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:31:09.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:31:09.605Z] Configure a credential helper to remove this warning. See [2024-05-24T10:31:09.605Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:31:09.605Z] [2024-05-24T10:31:09.605Z] Login Succeeded [2024-05-24T10:31:09.605Z] nexus3.edgexfoundry.org:10004 [2024-05-24T10:31:09.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:31:09.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:31:09.605Z] Configure a credential helper to remove this warning. See [2024-05-24T10:31:09.605Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:31:09.605Z] [2024-05-24T10:31:09.605Z] Login Succeeded [2024-05-24T10:31:09.605Z] ****.io [2024-05-24T10:31:09.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:31:09.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:31:09.865Z] Configure a credential helper to remove this warning. See [2024-05-24T10:31:09.865Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:31:09.865Z] [2024-05-24T10:31:09.865Z] Login Succeeded [2024-05-24T10:31:09.865Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T10:31:09.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T10:31:09.967Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T10:31:09.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T10:31:10.003Z] ========================================================= [2024-05-24T10:31:10.003Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-24T10:31:10.003Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:31:10.335Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-24T10:31:10.335Z] Sending build context to Docker daemon 25.87MB [2024-05-24T10:31:10.335Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T10:31:10.335Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-24T10:31:10.611Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-24T10:31:10.611Z] 619be1103602: Pulling fs layer [2024-05-24T10:31:10.611Z] 7862e08f4a3e: Pulling fs layer [2024-05-24T10:31:10.611Z] 5df492c9dc93: Pulling fs layer [2024-05-24T10:31:10.611Z] 7629e6793208: Pulling fs layer [2024-05-24T10:31:10.611Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T10:31:10.611Z] fb5054dd5b73: Pulling fs layer [2024-05-24T10:31:10.611Z] eeca6798cff9: Pulling fs layer [2024-05-24T10:31:10.611Z] aa269ceb94a6: Pulling fs layer [2024-05-24T10:31:10.611Z] ada007ff1a6a: Pulling fs layer [2024-05-24T10:31:10.611Z] fb5054dd5b73: Waiting [2024-05-24T10:31:10.611Z] ada007ff1a6a: Waiting [2024-05-24T10:31:10.611Z] eeca6798cff9: Waiting [2024-05-24T10:31:10.611Z] aa269ceb94a6: Waiting [2024-05-24T10:31:10.611Z] 4f4fb700ef54: Waiting [2024-05-24T10:31:10.611Z] 7629e6793208: Waiting [2024-05-24T10:31:10.611Z] 7862e08f4a3e: Verifying Checksum [2024-05-24T10:31:10.611Z] 7862e08f4a3e: Download complete [2024-05-24T10:31:10.611Z] 7629e6793208: Verifying Checksum [2024-05-24T10:31:10.611Z] 7629e6793208: Download complete [2024-05-24T10:31:10.611Z] 4f4fb700ef54: Download complete [2024-05-24T10:31:10.611Z] 619be1103602: Verifying Checksum [2024-05-24T10:31:10.611Z] 619be1103602: Download complete [2024-05-24T10:31:10.611Z] fb5054dd5b73: Verifying Checksum [2024-05-24T10:31:10.611Z] fb5054dd5b73: Download complete [2024-05-24T10:31:10.611Z] eeca6798cff9: Verifying Checksum [2024-05-24T10:31:10.611Z] eeca6798cff9: Download complete [2024-05-24T10:31:10.879Z] 619be1103602: Pull complete [2024-05-24T10:31:10.879Z] ada007ff1a6a: Verifying Checksum [2024-05-24T10:31:10.879Z] ada007ff1a6a: Download complete [2024-05-24T10:31:10.879Z] 7862e08f4a3e: Pull complete [2024-05-24T10:31:11.142Z] 5df492c9dc93: Verifying Checksum [2024-05-24T10:31:11.142Z] 5df492c9dc93: Download complete [2024-05-24T10:31:11.709Z] aa269ceb94a6: Verifying Checksum [2024-05-24T10:31:11.709Z] aa269ceb94a6: Download complete [2024-05-24T10:31:14.996Z] 5df492c9dc93: Pull complete [2024-05-24T10:31:14.996Z] 7629e6793208: Pull complete [2024-05-24T10:31:14.996Z] 4f4fb700ef54: Pull complete [2024-05-24T10:31:14.996Z] fb5054dd5b73: Pull complete [2024-05-24T10:31:14.996Z] eeca6798cff9: Pull complete [2024-05-24T10:31:17.539Z] aa269ceb94a6: Pull complete [2024-05-24T10:31:17.798Z] ada007ff1a6a: Pull complete [2024-05-24T10:31:17.798Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-24T10:31:17.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-24T10:31:17.798Z] ---> f489d0715acc [2024-05-24T10:31:17.798Z] Step 3/10 : ARG MAKE=make build [2024-05-24T10:31:23.968Z] Still waiting to schedule task [2024-05-24T10:31:23.968Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-24T10:31:24.401Z] ---> Running in 3da5ab74bfeb [2024-05-24T10:31:24.401Z] Removing intermediate container 3da5ab74bfeb [2024-05-24T10:31:24.401Z] ---> 982ba74e3bbb [2024-05-24T10:31:24.401Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-24T10:31:24.401Z] ---> Running in 1d727d2cd99b [2024-05-24T10:31:24.401Z] Removing intermediate container 1d727d2cd99b [2024-05-24T10:31:24.401Z] ---> 2471cdd4cdb6 [2024-05-24T10:31:24.401Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T10:31:24.401Z] ---> Running in e7a74627e4a2 [2024-05-24T10:31:24.401Z] Removing intermediate container e7a74627e4a2 [2024-05-24T10:31:24.401Z] ---> 90621f3ac9a6 [2024-05-24T10:31:24.401Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-24T10:31:24.401Z] ---> Running in 825a72e097ed [2024-05-24T10:31:24.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T10:31:24.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T10:31:24.401Z] OK: 264 MiB in 52 packages [2024-05-24T10:31:24.970Z] Removing intermediate container 825a72e097ed [2024-05-24T10:31:24.970Z] ---> 3cfb855f699e [2024-05-24T10:31:24.970Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-24T10:31:24.970Z] ---> f433869b90ab [2024-05-24T10:31:24.970Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T10:31:24.970Z] ---> Running in feb2555a5d43 [2024-05-24T10:32:32.751Z] Removing intermediate container feb2555a5d43 [2024-05-24T10:32:32.751Z] ---> 3ab3a60c34c0 [2024-05-24T10:32:32.751Z] Step 9/10 : COPY . . [2024-05-24T10:32:32.751Z] ---> 3569c6b67814 [2024-05-24T10:32:32.751Z] Step 10/10 : RUN ${MAKE} [2024-05-24T10:32:32.751Z] ---> Running in baa91c1b5a90 [2024-05-24T10:32:32.751Z] noop [2024-05-24T10:32:32.751Z] Removing intermediate container baa91c1b5a90 [2024-05-24T10:32:32.751Z] ---> 5e5ef08f08a6 [2024-05-24T10:32:32.751Z] Successfully built 5e5ef08f08a6 [2024-05-24T10:32:32.751Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:32:33.089Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T10:32:33.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T10:32:33.174Z] prd-ubuntu20.04-docker-8c-8g-692 does not seem to be running inside a container [2024-05-24T10:32:33.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-24T10:32:33.520Z] $ docker top 2d645bca09f1a5ff972f25d1247ed71c7f5b9aa06ac1f46028cdb074fca3249e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T10:32:33.871Z] + go version [2024-05-24T10:32:33.871Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-24T10:32:33.885Z] $ docker stop --time=1 2d645bca09f1a5ff972f25d1247ed71c7f5b9aa06ac1f46028cdb074fca3249e [2024-05-24T10:32:35.151Z] $ docker rm -f --volumes 2d645bca09f1a5ff972f25d1247ed71c7f5b9aa06ac1f46028cdb074fca3249e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:32:35.600Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T10:32:35.600Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T10:32:35.681Z] prd-ubuntu20.04-docker-8c-8g-692 does not seem to be running inside a container [2024-05-24T10:32:35.714Z] $ 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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-24T10:32:36.070Z] $ docker top f5183413a7df36ebd77855c425e0996e5e80162d89505e4e7064d35f2eab7309 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T10:32:36.416Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] fileExists [Pipeline] sh [2024-05-24T10:32:36.717Z] + make test [2024-05-24T10:32:36.717Z] go test -race -coverprofile=coverage.out ./... [2024-05-24T10:32:43.278Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-24T10:32:57.613Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-693 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] { [Pipeline] ws [2024-05-24T10:32:57.629Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2024-05-24T10:33:00.678Z] The recommended git tool is: git [2024-05-24T10:33:05.327Z] using credential edgex-jenkins-ssh [2024-05-24T10:33:05.353Z] Cloning the remote Git repository [2024-05-24T10:33:05.392Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-05-24T10:33:05.478Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2024-05-24T10:33:05.622Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-24T10:33:05.622Z] > git --version # timeout=10 [2024-05-24T10:33:05.649Z] > git --version # 'git version 2.25.1' [2024-05-24T10:33:05.652Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T10:33:05.808Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T10:33:08.465Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-24T10:33:08.486Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T10:33:09.309Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-24T10:33:09.350Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-24T10:33:09.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T10:33:09.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-24T10:33:10.027Z] Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 59910a6c5beb06e065bd84591ce7d9000f84a260 [2024-05-24T10:33:10.326Z] Merge succeeded, producing 59910a6c5beb06e065bd84591ce7d9000f84a260 [2024-05-24T10:33:10.326Z] Checking out Revision 59910a6c5beb06e065bd84591ce7d9000f84a260 (PR-1580) [2024-05-24T10:33:10.038Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T10:33:10.108Z] > git checkout -f 59910a6c5beb06e065bd84591ce7d9000f84a260 # timeout=10 [2024-05-24T10:33:10.217Z] > git remote # timeout=10 [2024-05-24T10:33:10.235Z] > git config --get remote.origin.url # timeout=10 [2024-05-24T10:33:10.257Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T10:33:10.275Z] > git merge 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 [2024-05-24T10:33:10.304Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-24T10:33:10.328Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T10:33:10.340Z] > git checkout -f 59910a6c5beb06e065bd84591ce7d9000f84a260 # timeout=10 [2024-05-24T10:33:13.921Z] Commit message: "feat: update ants version to latest" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T10:33:15.416Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-24T10:33:15.416Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T10:33:15.416Z] Dload Upload Total Spent Left Speed [2024-05-24T10:33:15.416Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2024-05-24T10:33:15.749Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-24T10:33:16.074Z] + sudo tee /etc/docker/daemon.new [2024-05-24T10:33:16.074Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-24T10:33:16.074Z] { [2024-05-24T10:33:16.074Z] "registry-mirrors": [ [2024-05-24T10:33:16.074Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-24T10:33:16.074Z] ], [2024-05-24T10:33:16.074Z] "bip": "10.250.0.254/24", [2024-05-24T10:33:16.074Z] "hosts": [ [2024-05-24T10:33:16.074Z] "tcp://0.0.0.0:5555", [2024-05-24T10:33:16.074Z] "unix:///var/run/docker.sock" [2024-05-24T10:33:16.074Z] ], [2024-05-24T10:33:16.074Z] "mtu": 1458, [2024-05-24T10:33:16.074Z] "selinux-enabled": true, [2024-05-24T10:33:16.074Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-24T10:33:16.074Z] } [Pipeline] sh [2024-05-24T10:33:16.400Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-24T10:33:16.741Z] + sudo service docker restart [2024-05-24T10:33:21.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-24T10:33:21.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-24T10:33:21.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-24T10:33:21.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-24T10:33:21.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-24T10:33:21.991Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.047s coverage: 26.5% of statements [2024-05-24T10:33:21.991Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.056s coverage: 81.5% of statements [2024-05-24T10:33:21.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-24T10:33:21.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-24T10:33:21.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-24T10:33:21.991Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.067s coverage: 86.0% of statements [2024-05-24T10:33:21.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-24T10:33:21.991Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-24T10:33:22.968Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.123s coverage: 71.8% of statements [2024-05-24T10:33:23.535Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-24T10:33:25.439Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.083s coverage: 14.4% of statements [2024-05-24T10:33:25.439Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.950s coverage: 45.9% of statements [2024-05-24T10:33:25.439Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.074s coverage: 68.5% of statements [2024-05-24T10:33:25.439Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.121s coverage: 89.2% of statements [2024-05-24T10:33:25.439Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.075s coverage: 5.4% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T10:33:35.017Z] provisioning config files... [2024-05-24T10:33:35.045Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config13302789904575344497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:33:35.481Z] ---> ****-login.sh [2024-05-24T10:33:35.482Z] nexus3.edgexfoundry.org:10001 [2024-05-24T10:33:35.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:33:36.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:33:36.021Z] Configure a credential helper to remove this warning. See [2024-05-24T10:33:36.021Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:33:36.021Z] [2024-05-24T10:33:36.021Z] Login Succeeded [2024-05-24T10:33:36.021Z] nexus3.edgexfoundry.org:10002 [2024-05-24T10:33:36.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:33:36.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:33:36.562Z] Configure a credential helper to remove this warning. See [2024-05-24T10:33:36.562Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:33:36.562Z] [2024-05-24T10:33:36.562Z] Login Succeeded [2024-05-24T10:33:36.562Z] nexus3.edgexfoundry.org:10003 [2024-05-24T10:33:36.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:33:36.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:33:36.832Z] Configure a credential helper to remove this warning. See [2024-05-24T10:33:36.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:33:36.832Z] [2024-05-24T10:33:36.832Z] Login Succeeded [2024-05-24T10:33:36.832Z] nexus3.edgexfoundry.org:10004 [2024-05-24T10:33:37.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:33:37.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:33:37.103Z] Configure a credential helper to remove this warning. See [2024-05-24T10:33:37.103Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:33:37.103Z] [2024-05-24T10:33:37.103Z] Login Succeeded [2024-05-24T10:33:37.103Z] ****.io [2024-05-24T10:33:37.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T10:33:37.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T10:33:37.641Z] Configure a credential helper to remove this warning. See [2024-05-24T10:33:37.641Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T10:33:37.642Z] [2024-05-24T10:33:37.642Z] Login Succeeded [2024-05-24T10:33:37.642Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T10:33:37.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T10:33:37.939Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T10:33:37.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T10:33:37.972Z] ========================================================= [2024-05-24T10:33:37.972Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-24T10:33:37.972Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:33:38.333Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-24T10:33:38.926Z] Sending build context to Docker daemon 13.43MB [2024-05-24T10:33:38.926Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T10:33:38.926Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-24T10:33:38.926Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-24T10:33:38.926Z] c6b39de5b339: Pulling fs layer [2024-05-24T10:33:38.926Z] a69c41024577: Pulling fs layer [2024-05-24T10:33:38.926Z] d6de4b400683: Pulling fs layer [2024-05-24T10:33:38.926Z] 35cb2a7552d0: Pulling fs layer [2024-05-24T10:33:38.926Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T10:33:38.926Z] 464afbd9ba4c: Pulling fs layer [2024-05-24T10:33:38.926Z] 00f215d4a9da: Pulling fs layer [2024-05-24T10:33:38.926Z] d496ad576159: Pulling fs layer [2024-05-24T10:33:38.926Z] 35cb2a7552d0: Waiting [2024-05-24T10:33:38.926Z] 4f4fb700ef54: Waiting [2024-05-24T10:33:38.926Z] 464afbd9ba4c: Waiting [2024-05-24T10:33:38.926Z] 00f215d4a9da: Waiting [2024-05-24T10:33:38.926Z] d496ad576159: Waiting [2024-05-24T10:33:39.195Z] a69c41024577: Verifying Checksum [2024-05-24T10:33:39.195Z] a69c41024577: Download complete [2024-05-24T10:33:39.195Z] 35cb2a7552d0: Verifying Checksum [2024-05-24T10:33:39.195Z] 35cb2a7552d0: Download complete [2024-05-24T10:33:39.195Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T10:33:39.195Z] 4f4fb700ef54: Download complete [2024-05-24T10:33:39.195Z] 464afbd9ba4c: Verifying Checksum [2024-05-24T10:33:39.195Z] 464afbd9ba4c: Download complete [2024-05-24T10:33:39.195Z] c6b39de5b339: Verifying Checksum [2024-05-24T10:33:39.195Z] c6b39de5b339: Download complete [2024-05-24T10:33:39.801Z] d496ad576159: Verifying Checksum [2024-05-24T10:33:39.801Z] d496ad576159: Download complete [2024-05-24T10:33:40.070Z] c6b39de5b339: Pull complete [2024-05-24T10:33:40.661Z] a69c41024577: Pull complete [2024-05-24T10:33:40.932Z] d6de4b400683: Verifying Checksum [2024-05-24T10:33:40.932Z] d6de4b400683: Download complete [2024-05-24T10:33:42.350Z] 00f215d4a9da: Verifying Checksum [2024-05-24T10:33:42.350Z] 00f215d4a9da: Download complete [2024-05-24T10:33:54.689Z] d6de4b400683: Pull complete [2024-05-24T10:33:54.689Z] 35cb2a7552d0: Pull complete [2024-05-24T10:33:54.689Z] 4f4fb700ef54: Pull complete [2024-05-24T10:33:54.689Z] 464afbd9ba4c: Pull complete [2024-05-24T10:33:57.522Z] GO111MODULE=on go vet ./... [2024-05-24T10:34:00.053Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T10:34:00.053Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T10:34:00.312Z] ./bin/test-attribution-txt.sh [2024-05-24T10:34:00.312Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-24T10:34:00.312Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-24T10:34:00.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-24T10:34:00.342Z] $ docker stop --time=1 f5183413a7df36ebd77855c425e0996e5e80162d89505e4e7064d35f2eab7309 [2024-05-24T10:34:02.898Z] 00f215d4a9da: Pull complete [2024-05-24T10:34:04.843Z] d496ad576159: Pull complete [2024-05-24T10:34:04.843Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-24T10:34:04.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-24T10:34:04.843Z] ---> f246e2811388 [2024-05-24T10:34:04.843Z] Step 3/10 : ARG MAKE=make build [2024-05-24T10:34:05.907Z] $ docker rm -f --volumes f5183413a7df36ebd77855c425e0996e5e80162d89505e4e7064d35f2eab7309 [Pipeline] // withDockerContainer [2024-05-24T10:34:06.265Z] ---> Running in a7d82d7391d5 [Pipeline] sh [2024-05-24T10:34:06.533Z] Removing intermediate container a7d82d7391d5 [2024-05-24T10:34:06.533Z] ---> f28255416057 [2024-05-24T10:34:06.533Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-24T10:34:06.533Z] ---> Running in 8814a924445b [2024-05-24T10:34:06.552Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T10:34:06.627Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-05-24T10:34:06.811Z] Removing intermediate container 8814a924445b [2024-05-24T10:34:06.811Z] ---> 98a449995406 [2024-05-24T10:34:06.811Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [Pipeline] sh [2024-05-24T10:34:07.084Z] ---> Running in c4624c209ce5 [2024-05-24T10:34:07.167Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T10:34:07.351Z] Removing intermediate container c4624c209ce5 [2024-05-24T10:34:07.351Z] ---> 073f2bad7ce3 [2024-05-24T10:34:07.351Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-24T10:34:07.351Z] ---> Running in cba45e525b82 [2024-05-24T10:34:07.454Z] + ls -al . [2024-05-24T10:34:07.454Z] total 376 [2024-05-24T10:34:07.454Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 10:32 . [2024-05-24T10:34:07.454Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 10:30 .. [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 10:30 .dockerignore [2024-05-24T10:34:07.454Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 10:33 .git [2024-05-24T10:34:07.454Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:30 .github [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 137 May 24 10:30 .gitignore [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 10:30 .golangci.yml [2024-05-24T10:34:07.454Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 10:31 .semver [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 24 10:30 CHANGELOG.md [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 10:30 GOVERNANCE.md [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 885 May 24 10:30 Jenkinsfile [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 10:30 LICENSE [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 24 10:30 Makefile [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 619 May 24 10:30 OWNERS.md [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 24 10:30 README.md [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 10:31 VERSION [2024-05-24T10:34:07.454Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:30 bin [2024-05-24T10:34:07.454Z] -rw-r--r-- 1 jenkins jenkins 122831 May 24 10:33 coverage.out [2024-05-24T10:34:07.454Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 10:30 example [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 7107 May 24 10:30 go.mod [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 101309 May 24 10:30 go.sum [2024-05-24T10:34:07.454Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 10:30 internal [2024-05-24T10:34:07.454Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:30 openapi [2024-05-24T10:34:07.454Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 10:30 pkg [2024-05-24T10:34:07.454Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 10:30 snap [2024-05-24T10:34:07.454Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 10:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:34:07.774Z] + 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=59910a6c5beb06e065bd84591ce7d9000f84a260 --label arch=amd64 --label version=0.0.0 . [2024-05-24T10:34:07.774Z] Sending build context to Docker daemon 26MB [2024-05-24T10:34:07.774Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T10:34:07.774Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-24T10:34:07.774Z] ---> 5e5ef08f08a6 [2024-05-24T10:34:07.774Z] Step 3/23 : ARG MAKE=make build [2024-05-24T10:34:08.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T10:34:08.341Z] ---> Running in b1d6cca3c4cf [2024-05-24T10:34:08.341Z] Removing intermediate container b1d6cca3c4cf [2024-05-24T10:34:08.341Z] ---> 20f940eab348 [2024-05-24T10:34:08.341Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-24T10:34:08.341Z] ---> Running in 32089159b401 [2024-05-24T10:34:08.598Z] Removing intermediate container 32089159b401 [2024-05-24T10:34:08.598Z] ---> d1830b4ff663 [2024-05-24T10:34:08.598Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T10:34:08.598Z] ---> Running in 3687065d34ae [2024-05-24T10:34:08.598Z] Removing intermediate container 3687065d34ae [2024-05-24T10:34:08.598Z] ---> d9156bb390b6 [2024-05-24T10:34:08.598Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-24T10:34:08.598Z] ---> Running in 5a979de89954 [2024-05-24T10:34:08.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T10:34:08.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T10:34:09.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T10:34:09.379Z] OK: 264 MiB in 52 packages [2024-05-24T10:34:09.642Z] Removing intermediate container 5a979de89954 [2024-05-24T10:34:09.642Z] ---> 1c149159f04c [2024-05-24T10:34:09.642Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-24T10:34:09.853Z] OK: 266 MiB in 52 packages [2024-05-24T10:34:09.900Z] ---> 55c28c92bcd3 [2024-05-24T10:34:09.900Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T10:34:09.900Z] ---> Running in e4cbcb59d6fa [2024-05-24T10:34:10.435Z] Removing intermediate container cba45e525b82 [2024-05-24T10:34:10.435Z] ---> 60e924f13af1 [2024-05-24T10:34:10.435Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-24T10:34:10.465Z] Removing intermediate container e4cbcb59d6fa [2024-05-24T10:34:10.465Z] ---> 4e2dccce7142 [2024-05-24T10:34:10.465Z] Step 9/23 : COPY . . [2024-05-24T10:34:11.021Z] ---> 517dc891ffcd [2024-05-24T10:34:11.021Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T10:34:11.021Z] ---> Running in 78110252821d [2024-05-24T10:34:11.501Z] ---> 280c510eb84d [2024-05-24T10:34:11.501Z] Step 10/23 : RUN ${MAKE} [2024-05-24T10:34:11.501Z] ---> Running in 5949590aec26 [2024-05-24T10:34:11.760Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-05-24T10:34:50.463Z] Removing intermediate container 5949590aec26 [2024-05-24T10:34:50.463Z] ---> 3cd6adac4336 [2024-05-24T10:34:50.463Z] Step 11/23 : FROM alpine:3.18 [2024-05-24T10:34:50.463Z] 3.18: Pulling from library/alpine [2024-05-24T10:34:50.463Z] 619be1103602: Already exists [2024-05-24T10:34:50.463Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T10:34:50.463Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T10:34:50.463Z] ---> d3782b16ccc9 [2024-05-24T10:34:50.463Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-24T10:34:50.463Z] ---> Running in ed5e0ca4a6fa [2024-05-24T10:34:50.463Z] Removing intermediate container ed5e0ca4a6fa [2024-05-24T10:34:50.463Z] ---> 551e9215da9b [2024-05-24T10:34:50.463Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-24T10:34:50.463Z] ---> Running in 58ac1501ae7f [2024-05-24T10:34:50.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T10:34:50.463Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T10:34:50.463Z] OK: 7 MiB in 15 packages [2024-05-24T10:34:50.463Z] Removing intermediate container 58ac1501ae7f [2024-05-24T10:34:50.463Z] ---> 353034b4a01f [2024-05-24T10:34:50.463Z] Step 14/23 : WORKDIR / [2024-05-24T10:34:50.463Z] ---> Running in dc5a99ca7ef5 [2024-05-24T10:34:50.463Z] Removing intermediate container dc5a99ca7ef5 [2024-05-24T10:34:50.463Z] ---> f88afc19d1a9 [2024-05-24T10:34:50.463Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-24T10:34:50.463Z] ---> 733605186f32 [2024-05-24T10:34:50.463Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-24T10:34:50.463Z] ---> c448903507ab [2024-05-24T10:34:50.463Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-24T10:34:50.463Z] ---> ede68f9634b6 [2024-05-24T10:34:50.463Z] Step 18/23 : EXPOSE 59999 [2024-05-24T10:34:50.463Z] ---> Running in 7b87f75c71af [2024-05-24T10:34:50.463Z] Removing intermediate container 7b87f75c71af [2024-05-24T10:34:50.463Z] ---> c5267d8c875a [2024-05-24T10:34:50.463Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-24T10:34:50.463Z] ---> Running in 438bee81b4db [2024-05-24T10:34:50.463Z] Removing intermediate container 438bee81b4db [2024-05-24T10:34:50.463Z] ---> 44377a30c364 [2024-05-24T10:34:50.463Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-24T10:34:50.463Z] ---> Running in fab1f1173d79 [2024-05-24T10:34:50.463Z] Removing intermediate container fab1f1173d79 [2024-05-24T10:34:50.463Z] ---> 68f33488cbf6 [2024-05-24T10:34:50.463Z] Step 21/23 : LABEL arch=amd64 [2024-05-24T10:34:50.463Z] ---> Running in 3da237657c6c [2024-05-24T10:34:50.463Z] Removing intermediate container 3da237657c6c [2024-05-24T10:34:50.463Z] ---> 52528398e38f [2024-05-24T10:34:50.463Z] Step 22/23 : LABEL git_sha=59910a6c5beb06e065bd84591ce7d9000f84a260 [2024-05-24T10:34:50.463Z] ---> Running in 831023ff2c6f [2024-05-24T10:34:50.463Z] Removing intermediate container 831023ff2c6f [2024-05-24T10:34:50.463Z] ---> b26fcae56037 [2024-05-24T10:34:50.463Z] Step 23/23 : LABEL version=0.0.0 [2024-05-24T10:34:50.463Z] ---> Running in 5e390256d5aa [2024-05-24T10:34:50.463Z] Removing intermediate container 5e390256d5aa [2024-05-24T10:34:50.463Z] ---> df4364365171 [2024-05-24T10:34:50.463Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T10:34:50.463Z] Successfully built df4364365171 [2024-05-24T10:34:50.463Z] 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-05-24T10:34:50.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T10:34:50.951Z] [2024-05-24T10:34:50.951Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:34:51.253Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T10:34:51.253Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-24T10:34:51.253Z] 5eb5b503b376: Pulling fs layer [2024-05-24T10:34:51.253Z] 5c69ac0246d0: Pulling fs layer [2024-05-24T10:34:51.253Z] ec43610c2a17: Pulling fs layer [2024-05-24T10:34:51.253Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-24T10:34:51.253Z] 33b1e0a273af: Pulling fs layer [2024-05-24T10:34:51.253Z] 5d3b04190fa2: Pulling fs layer [2024-05-24T10:34:51.253Z] 2f39f015ded8: Pulling fs layer [2024-05-24T10:34:51.253Z] 33b1e0a273af: Waiting [2024-05-24T10:34:51.253Z] 5d3b04190fa2: Waiting [2024-05-24T10:34:51.253Z] 2f39f015ded8: Waiting [2024-05-24T10:34:51.253Z] 3a2ae6a8a46f: Waiting [2024-05-24T10:34:51.253Z] 5c69ac0246d0: Download complete [2024-05-24T10:34:51.253Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-24T10:34:51.253Z] 3a2ae6a8a46f: Download complete [2024-05-24T10:34:51.511Z] 33b1e0a273af: Verifying Checksum [2024-05-24T10:34:51.511Z] 33b1e0a273af: Download complete [2024-05-24T10:34:51.511Z] 5d3b04190fa2: Verifying Checksum [2024-05-24T10:34:51.511Z] 5d3b04190fa2: Download complete [2024-05-24T10:34:51.511Z] ec43610c2a17: Verifying Checksum [2024-05-24T10:34:51.511Z] ec43610c2a17: Download complete [2024-05-24T10:34:51.511Z] 5eb5b503b376: Verifying Checksum [2024-05-24T10:34:51.511Z] 5eb5b503b376: Download complete [2024-05-24T10:34:52.443Z] 2f39f015ded8: Download complete [2024-05-24T10:34:52.701Z] 5eb5b503b376: Pull complete [2024-05-24T10:34:52.959Z] 5c69ac0246d0: Pull complete [2024-05-24T10:34:53.217Z] ec43610c2a17: Pull complete [2024-05-24T10:34:53.476Z] 3a2ae6a8a46f: Pull complete [2024-05-24T10:34:53.735Z] 33b1e0a273af: Pull complete [2024-05-24T10:34:53.735Z] 5d3b04190fa2: Pull complete [2024-05-24T10:34:59.004Z] 2f39f015ded8: Pull complete [2024-05-24T10:34:59.004Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-24T10:34:59.004Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T10:34:59.004Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T10:34:59.111Z] prd-ubuntu20.04-docker-8c-8g-692 does not seem to be running inside a container [2024-05-24T10:34:59.138Z] $ 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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T10:35:03.640Z] $ docker top 42470c3a3b29b1a08e5fbdeb217004481d19e7d93aae7457b8e969804973e9c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:35:04.029Z] ---> job-cost.sh [2024-05-24T10:35:04.030Z] lf-activate-venv: SKIPPING [2024-05-24T10:35:04.030Z] INFO: No Stack... [2024-05-24T10:35:04.288Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T10:35:04.548Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T10:35:05.351Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/cost.csv [2024-05-24T10:35:05.351Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T10:35:05.365Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-4-stack-cost] [2024-05-24T10:35:05.376Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-4-stack-cost] did not exist. Created. [2024-05-24T10:35:05.383Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T10:35:09.184Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-24T10:35:10.591Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T10:35:10.603Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T10:35:10.664Z] $ docker stop --time=1 42470c3a3b29b1a08e5fbdeb217004481d19e7d93aae7457b8e969804973e9c7 [2024-05-24T10:35:12.350Z] $ docker rm -f --volumes 42470c3a3b29b1a08e5fbdeb217004481d19e7d93aae7457b8e969804973e9c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-24T10:36:02.657Z] Removing intermediate container 78110252821d [2024-05-24T10:36:02.657Z] ---> 17b5a780c118 [2024-05-24T10:36:02.657Z] Step 9/10 : COPY . . [2024-05-24T10:36:02.657Z] ---> db367eeb172b [2024-05-24T10:36:02.657Z] Step 10/10 : RUN ${MAKE} [2024-05-24T10:36:02.657Z] ---> Running in 93a2e2a7d948 [2024-05-24T10:36:02.657Z] noop [2024-05-24T10:36:02.657Z] Removing intermediate container 93a2e2a7d948 [2024-05-24T10:36:02.657Z] ---> 22219cfcc7d8 [2024-05-24T10:36:02.657Z] Successfully built 22219cfcc7d8 [2024-05-24T10:36:02.657Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:36:03.026Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T10:36:03.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T10:36:03.235Z] prd-ubuntu20.04-docker-arm64-4c-16g-693 does not seem to be running inside a container [2024-05-24T10:36:03.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-24T10:36:04.494Z] $ docker top ed459560786973f486947d65d2507afcffbe1d474fb14e0cad249c3daf72cb15 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T10:36:05.324Z] + go version [2024-05-24T10:36:05.325Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-24T10:36:05.340Z] $ docker stop --time=1 ed459560786973f486947d65d2507afcffbe1d474fb14e0cad249c3daf72cb15 [2024-05-24T10:36:06.967Z] $ docker rm -f --volumes ed459560786973f486947d65d2507afcffbe1d474fb14e0cad249c3daf72cb15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:36:07.543Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T10:36:07.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T10:36:07.735Z] prd-ubuntu20.04-docker-arm64-4c-16g-693 does not seem to be running inside a container [2024-05-24T10:36:07.801Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-24T10:36:08.991Z] $ docker top b758f481a5d416acf345fdf4ccb3feeb176c543746bbed7cfc14e3162569b94b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T10:36:09.492Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh [2024-05-24T10:36:10.409Z] + make test [2024-05-24T10:36:10.409Z] go test -race -coverprofile=coverage.out ./... [2024-05-24T10:36:57.255Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-24T10:40:04.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-24T10:40:04.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-24T10:40:04.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-24T10:40:04.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-24T10:40:04.227Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-24T10:40:12.451Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.238s coverage: 26.5% of statements [2024-05-24T10:40:15.808Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.263s coverage: 81.5% of statements [2024-05-24T10:40:22.454Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-24T10:40:22.454Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-24T10:40:23.035Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.382s coverage: 86.0% of statements [2024-05-24T10:40:25.615Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-24T10:40:27.020Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.664s coverage: 71.8% of statements [2024-05-24T10:40:32.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.254s coverage: 14.4% of statements [2024-05-24T10:40:32.360Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-24T10:40:32.360Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-24T10:40:32.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.894s coverage: 45.9% of statements [2024-05-24T10:40:33.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.411s coverage: 68.5% of statements [2024-05-24T10:40:37.579Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.489s coverage: 89.2% of statements [2024-05-24T10:40:40.906Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-24T10:40:41.915Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.341s coverage: 5.4% of statements [2024-05-24T10:40:43.316Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-24T10:40:43.316Z] GO111MODULE=on go vet ./... [2024-05-24T10:44:20.080Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T10:44:20.080Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T10:44:20.080Z] ./bin/test-attribution-txt.sh [2024-05-24T10:44:20.080Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-24T10:44:20.080Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-24T10:44:20.099Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-24T10:44:20.113Z] $ docker stop --time=1 b758f481a5d416acf345fdf4ccb3feeb176c543746bbed7cfc14e3162569b94b [2024-05-24T10:44:22.098Z] $ docker rm -f --volumes b758f481a5d416acf345fdf4ccb3feeb176c543746bbed7cfc14e3162569b94b [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T10:44:24.331Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T10:44:24.359Z] Warning: overwriting stash ‘coverage-report’ [2024-05-24T10:44:24.944Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T10:44:25.357Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T10:44:25.669Z] + ls -al . [2024-05-24T10:44:25.669Z] total 372 [2024-05-24T10:44:25.669Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 10:36 . [2024-05-24T10:44:25.669Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 10:33 .. [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 10:33 .dockerignore [2024-05-24T10:44:25.669Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 10:33 .git [2024-05-24T10:44:25.669Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:33 .github [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 137 May 24 10:33 .gitignore [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 10:33 .golangci.yml [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 24 10:33 CHANGELOG.md [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 10:33 GOVERNANCE.md [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 885 May 24 10:33 Jenkinsfile [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 10:33 LICENSE [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 24 10:33 Makefile [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 619 May 24 10:33 OWNERS.md [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 24 10:33 README.md [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 10:31 VERSION [2024-05-24T10:44:25.669Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 10:33 bin [2024-05-24T10:44:25.669Z] -rw-r--r-- 1 jenkins jenkins 122831 May 24 10:40 coverage.out [2024-05-24T10:44:25.669Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 10:33 example [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 7107 May 24 10:33 go.mod [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 101309 May 24 10:33 go.sum [2024-05-24T10:44:25.669Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 10:33 internal [2024-05-24T10:44:25.669Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 10:33 openapi [2024-05-24T10:44:25.669Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 10:33 pkg [2024-05-24T10:44:25.669Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 10:33 snap [2024-05-24T10:44:25.669Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 10:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:44:26.012Z] + 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=59910a6c5beb06e065bd84591ce7d9000f84a260 --label arch=arm64 --label version=0.0.0 . [2024-05-24T10:44:26.595Z] Sending build context to Docker daemon 13.55MB [2024-05-24T10:44:26.595Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T10:44:26.595Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-24T10:44:26.595Z] ---> 22219cfcc7d8 [2024-05-24T10:44:26.595Z] Step 3/23 : ARG MAKE=make build [2024-05-24T10:44:26.862Z] ---> Running in 07720e414642 [2024-05-24T10:44:27.130Z] Removing intermediate container 07720e414642 [2024-05-24T10:44:27.130Z] ---> f83eda91b76a [2024-05-24T10:44:27.130Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-24T10:44:27.130Z] ---> Running in d8eaf4ec45e5 [2024-05-24T10:44:27.396Z] Removing intermediate container d8eaf4ec45e5 [2024-05-24T10:44:27.396Z] ---> 63518b200752 [2024-05-24T10:44:27.396Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T10:44:27.396Z] ---> Running in 7465d59ffd3f [2024-05-24T10:44:27.663Z] Removing intermediate container 7465d59ffd3f [2024-05-24T10:44:27.663Z] ---> b6d700329aad [2024-05-24T10:44:27.663Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-24T10:44:27.947Z] ---> Running in 32ecbb44ce53 [2024-05-24T10:44:28.923Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T10:44:29.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T10:44:30.145Z] OK: 266 MiB in 52 packages [2024-05-24T10:44:31.106Z] Removing intermediate container 32ecbb44ce53 [2024-05-24T10:44:31.106Z] ---> 80791b45a7d6 [2024-05-24T10:44:31.106Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-24T10:44:31.373Z] ---> e0e3adfadcdf [2024-05-24T10:44:31.373Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T10:44:31.652Z] ---> Running in e69fd5b8a94d [2024-05-24T10:44:33.593Z] Removing intermediate container e69fd5b8a94d [2024-05-24T10:44:33.593Z] ---> b29b7c99febb [2024-05-24T10:44:33.593Z] Step 9/23 : COPY . . [2024-05-24T10:44:35.538Z] ---> 42b39fad027b [2024-05-24T10:44:35.538Z] Step 10/23 : RUN ${MAKE} [2024-05-24T10:44:35.538Z] ---> Running in 5e57efb710f7 [2024-05-24T10:44:36.124Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-05-24T10:47:57.884Z] Removing intermediate container 5e57efb710f7 [2024-05-24T10:47:57.884Z] ---> 0c3b18be1154 [2024-05-24T10:47:57.884Z] Step 11/23 : FROM alpine:3.18 [2024-05-24T10:47:57.884Z] 3.18: Pulling from library/alpine [2024-05-24T10:47:57.884Z] c6b39de5b339: Already exists [2024-05-24T10:47:57.884Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T10:47:57.884Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T10:47:57.884Z] ---> 33abbf032149 [2024-05-24T10:47:57.884Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-24T10:47:57.884Z] ---> Running in b3f27fbcac0f [2024-05-24T10:47:57.884Z] Removing intermediate container b3f27fbcac0f [2024-05-24T10:47:57.884Z] ---> 6832df0466bb [2024-05-24T10:47:57.884Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-24T10:47:57.884Z] ---> Running in b8892c31f670 [2024-05-24T10:47:57.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T10:47:57.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T10:47:57.884Z] OK: 8 MiB in 15 packages [2024-05-24T10:47:57.884Z] Removing intermediate container b8892c31f670 [2024-05-24T10:47:57.884Z] ---> 26252b2758b3 [2024-05-24T10:47:57.884Z] Step 14/23 : WORKDIR / [2024-05-24T10:47:57.884Z] ---> Running in 1fe121848d00 [2024-05-24T10:47:57.884Z] Removing intermediate container 1fe121848d00 [2024-05-24T10:47:57.884Z] ---> 48c708220ce0 [2024-05-24T10:47:57.884Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-24T10:47:57.884Z] ---> fcabe5f99e9b [2024-05-24T10:47:57.884Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-24T10:47:59.814Z] ---> d604ab925dff [2024-05-24T10:47:59.814Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-24T10:48:00.399Z] ---> da0f68be232e [2024-05-24T10:48:00.399Z] Step 18/23 : EXPOSE 59999 [2024-05-24T10:48:00.399Z] ---> Running in 3962407f75cd [2024-05-24T10:48:00.667Z] Removing intermediate container 3962407f75cd [2024-05-24T10:48:00.667Z] ---> 9d7ae2d871ce [2024-05-24T10:48:00.667Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-24T10:48:00.933Z] ---> Running in ebce71c4f29f [2024-05-24T10:48:01.200Z] Removing intermediate container ebce71c4f29f [2024-05-24T10:48:01.200Z] ---> b5641ea7b5b4 [2024-05-24T10:48:01.200Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-24T10:48:01.200Z] ---> Running in 0f4d7c0eef81 [2024-05-24T10:48:01.467Z] Removing intermediate container 0f4d7c0eef81 [2024-05-24T10:48:01.467Z] ---> a305e374d30e [2024-05-24T10:48:01.467Z] Step 21/23 : LABEL arch=arm64 [2024-05-24T10:48:01.467Z] ---> Running in 9d721b5c08b2 [2024-05-24T10:48:01.734Z] Removing intermediate container 9d721b5c08b2 [2024-05-24T10:48:01.734Z] ---> 92c28272de51 [2024-05-24T10:48:01.734Z] Step 22/23 : LABEL git_sha=59910a6c5beb06e065bd84591ce7d9000f84a260 [2024-05-24T10:48:02.003Z] ---> Running in 507307428aae [2024-05-24T10:48:02.270Z] Removing intermediate container 507307428aae [2024-05-24T10:48:02.270Z] ---> 464234d40dd4 [2024-05-24T10:48:02.270Z] Step 23/23 : LABEL version=0.0.0 [2024-05-24T10:48:02.270Z] ---> Running in 66b14b6ce527 [2024-05-24T10:48:02.537Z] Removing intermediate container 66b14b6ce527 [2024-05-24T10:48:02.537Z] ---> 75f56e85cc68 [2024-05-24T10:48:02.537Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T10:48:02.537Z] Successfully built 75f56e85cc68 [2024-05-24T10:48:02.537Z] 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-05-24T10:48:03.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T10:48:03.010Z] [2024-05-24T10:48:03.010Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:48:03.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T10:48:03.338Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-24T10:48:03.338Z] 8998bd30e6a1: Pulling fs layer [2024-05-24T10:48:03.338Z] 04944245beec: Pulling fs layer [2024-05-24T10:48:03.338Z] 699f458cf7ca: Pulling fs layer [2024-05-24T10:48:03.338Z] 765212b225bb: Pulling fs layer [2024-05-24T10:48:03.338Z] f23df028b6ca: Pulling fs layer [2024-05-24T10:48:03.338Z] d65c8cfc05b1: Pulling fs layer [2024-05-24T10:48:03.338Z] 2437ff75d9bd: Pulling fs layer [2024-05-24T10:48:03.338Z] f23df028b6ca: Waiting [2024-05-24T10:48:03.338Z] d65c8cfc05b1: Waiting [2024-05-24T10:48:03.338Z] 2437ff75d9bd: Waiting [2024-05-24T10:48:03.605Z] 04944245beec: Verifying Checksum [2024-05-24T10:48:03.605Z] 04944245beec: Download complete [2024-05-24T10:48:03.605Z] 765212b225bb: Verifying Checksum [2024-05-24T10:48:03.605Z] 765212b225bb: Download complete [2024-05-24T10:48:03.605Z] f23df028b6ca: Verifying Checksum [2024-05-24T10:48:03.605Z] f23df028b6ca: Download complete [2024-05-24T10:48:03.605Z] d65c8cfc05b1: Verifying Checksum [2024-05-24T10:48:03.605Z] d65c8cfc05b1: Download complete [2024-05-24T10:48:03.872Z] 699f458cf7ca: Verifying Checksum [2024-05-24T10:48:03.872Z] 699f458cf7ca: Download complete [2024-05-24T10:48:04.139Z] 8998bd30e6a1: Verifying Checksum [2024-05-24T10:48:04.139Z] 8998bd30e6a1: Download complete [2024-05-24T10:48:06.723Z] 2437ff75d9bd: Verifying Checksum [2024-05-24T10:48:06.723Z] 2437ff75d9bd: Download complete [2024-05-24T10:48:08.672Z] 8998bd30e6a1: Pull complete [2024-05-24T10:48:08.939Z] 04944245beec: Pull complete [2024-05-24T10:48:10.883Z] 699f458cf7ca: Pull complete [2024-05-24T10:48:10.883Z] 765212b225bb: Pull complete [2024-05-24T10:48:11.843Z] f23df028b6ca: Pull complete [2024-05-24T10:48:11.843Z] d65c8cfc05b1: Pull complete [2024-05-24T10:48:30.049Z] 2437ff75d9bd: Pull complete [2024-05-24T10:48:30.049Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-24T10:48:30.049Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T10:48:30.049Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T10:48:30.245Z] prd-ubuntu20.04-docker-arm64-4c-16g-693 does not seem to be running inside a container [2024-05-24T10:48:30.303Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-24T10:48:32.961Z] $ docker top 048b1614f1a472dfe14e953f7c3fbb4e7cbd67d56ddb603f0e27fc4dfe4ed3c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:48:33.838Z] ---> job-cost.sh [2024-05-24T10:48:33.838Z] lf-activate-venv: SKIPPING [2024-05-24T10:48:33.838Z] INFO: No Stack... [2024-05-24T10:48:34.104Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-24T10:48:35.059Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T10:48:35.691Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2024-05-24T10:48:35.691Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T10:48:35.745Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-4-stack-cost] [2024-05-24T10:48:35.754Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-4-stack-cost] did not exist. Created. [2024-05-24T10:48:35.761Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T10:48:36.416Z] /w/workspace/device-sdk-go/4@tmp/durable-dd8ed5e0/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-24T10:48:37.050Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-24T10:48:37.077Z] Warning: overwriting stash ‘stack-cost’ [2024-05-24T10:48:37.151Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T10:48:37.160Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-4-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T10:48:37.182Z] $ docker stop --time=1 048b1614f1a472dfe14e953f7c3fbb4e7cbd67d56ddb603f0e27fc4dfe4ed3c8 [2024-05-24T10:48:38.687Z] $ docker rm -f --volumes 048b1614f1a472dfe14e953f7c3fbb4e7cbd67d56ddb603f0e27fc4dfe4ed3c8 [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-05-24T10:48:39.194Z] provisioning config files... [2024-05-24T10:48:39.201Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config10081449710045890406tmp [Pipeline] { [Pipeline] sh [2024-05-24T10:48:39.501Z] + set +x [2024-05-24T10:48:39.501Z] + curl -s+ https://codecov.io/bash [2024-05-24T10:48:39.501Z] bash -s -- [2024-05-24T10:48:39.501Z] [2024-05-24T10:48:39.501Z] _____ _ [2024-05-24T10:48:39.501Z] / ____| | | [2024-05-24T10:48:39.501Z] | | ___ __| | ___ ___ _____ __ [2024-05-24T10:48:39.501Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-24T10:48:39.501Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-24T10:48:39.501Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-24T10:48:39.501Z] Bash-1.0.6 [2024-05-24T10:48:39.501Z] [2024-05-24T10:48:39.501Z] [2024-05-24T10:48:39.501Z] ==> git version 2.25.1 found [2024-05-24T10:48:39.501Z] ==> 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-05-24T10:48:39.501Z] Release-Date: 2020-01-08 [2024-05-24T10:48:39.501Z] 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-05-24T10:48:39.501Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-24T10:48:39.501Z] ==> Jenkins CI detected. [2024-05-24T10:48:39.501Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1580 [2024-05-24T10:48:39.501Z] project root: . [2024-05-24T10:48:39.501Z] --> token set from env [2024-05-24T10:48:39.501Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-24T10:48:39.501Z] ==> Running gcov in . (disable via -X gcov) [2024-05-24T10:48:39.501Z] ==> Python coveragepy not found [2024-05-24T10:48:39.501Z] ==> Searching for coverage reports in: [2024-05-24T10:48:39.501Z] + . [2024-05-24T10:48:39.501Z] -> Found 1 reports [2024-05-24T10:48:39.501Z] ==> Detecting git/mercurial file structure [2024-05-24T10:48:39.501Z] ==> Reading reports [2024-05-24T10:48:39.761Z] + ./coverage.out bytes=122831 [2024-05-24T10:48:39.761Z] ==> Appending adjustments [2024-05-24T10:48:39.761Z] https://docs.codecov.io/docs/fixing-reports [2024-05-24T10:48:40.020Z] + Found adjustments [2024-05-24T10:48:40.020Z] ==> Gzipping contents [2024-05-24T10:48:40.020Z] 20K /tmp/codecov.96Ig6J.gz [2024-05-24T10:48:40.020Z] ==> Uploading reports [2024-05-24T10:48:40.020Z] url: https://codecov.io [2024-05-24T10:48:40.020Z] query: branch=PR-1580&commit=59910a6c5beb06e065bd84591ce7d9000f84a260&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1580%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1580&job=&cmd_args= [2024-05-24T10:48:40.020Z] -> Pinging Codecov [2024-05-24T10:48:40.020Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1580&commit=59910a6c5beb06e065bd84591ce7d9000f84a260&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1580%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1580&job=&cmd_args= [2024-05-24T10:48:40.279Z] -> Uploading to [2024-05-24T10:48:40.279Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-24/7E55EF52A471D76F132DFD9A03CDDE97/59910a6c5beb06e065bd84591ce7d9000f84a260/28fdc3b0-eaa5-49e6-a253-82861c41efb1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240524%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240524T104839Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56adac2a83d7eabb220a20d9d354ac6ca2d9531f64a48c69c64cc3bb8ca0c266 [2024-05-24T10:48:40.279Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T10:48:40.279Z] Dload Upload Total Spent Left Speed [2024-05-24T10:48:40.538Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16759 0 0 100 16759 0 63722 --:--:-- --:--:-- --:--:-- 63722 [2024-05-24T10:48:40.538Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/59910a6c5beb06e065bd84591ce7d9000f84a260 [Pipeline] } [2024-05-24T10:48:40.544Z] 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-05-24T10:48:41.453Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives ] [2024-05-24T10:48:41.453Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-05-24T10:48:41.453Z] total 16 [2024-05-24T10:48:41.453Z] drwxr-xr-x 3 root root 4096 May 24 10:35 . [2024-05-24T10:48:41.453Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 10:35 .. [2024-05-24T10:48:41.453Z] drwxr-xr-x 2 root root 4096 May 24 10:35 cost [2024-05-24T10:48:41.453Z] -rw-r--r-- 1 root root 86 May 24 10:35 cost.csv [2024-05-24T10:48:41.453Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-05-24T10:48:41.453Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-05-24T10:48:41.453Z] total 16 [2024-05-24T10:48:41.453Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 10:35 . [2024-05-24T10:48:41.453Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 10:35 .. [2024-05-24T10:48:41.453Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 10:35 cost [2024-05-24T10:48:41.453Z] -rw-r--r-- 1 jenkins jenkins 86 May 24 10:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:48:41.741Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:48:42.601Z] ---> package-listing.sh [2024-05-24T10:48:42.601Z] ++ facter osfamily [2024-05-24T10:48:42.601Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-24T10:48:42.861Z] + OS_FAMILY=debian [2024-05-24T10:48:42.861Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1580 [2024-05-24T10:48:42.861Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-24T10:48:42.861Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-24T10:48:42.861Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-24T10:48:42.861Z] + PACKAGES=/tmp/packages_start.txt [2024-05-24T10:48:42.861Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' [2024-05-24T10:48:42.861Z] + PACKAGES=/tmp/packages_end.txt [2024-05-24T10:48:42.861Z] + case "${OS_FAMILY}" in [2024-05-24T10:48:42.861Z] + dpkg -l [2024-05-24T10:48:42.861Z] + grep '^ii' [2024-05-24T10:48:42.861Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-24T10:48:42.861Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-24T10:48:42.861Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-24T10:48:42.861Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' [2024-05-24T10:48:42.861Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ [2024-05-24T10:48:42.861Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ [Pipeline] echo [2024-05-24T10:48:42.871Z] 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-1580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-24T10:48:43.162Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T10:48:43.466Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T10:48:43.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T10:48:43.541Z] prd-ubuntu20.04-docker-8c-8g-692 does not seem to be running inside a container [2024-05-24T10:48:43.570Z] $ 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-1580/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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T10:48:43.760Z] $ docker top bdf0ec80dee052ee340c69cd8c80ebe3a73ef8ad9ba74988b1d4481abdc1b6c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T10:48:44.100Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-24T10:48:44.387Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-24T10:48:44.671Z] + ls /var/log/sa-host [2024-05-24T10:48:44.671Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T10:48:44.841Z] provisioning config files... [2024-05-24T10:48:44.851Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config16654753066728202145tmp [Pipeline] { [Pipeline] echo [2024-05-24T10:48:44.868Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:48:45.153Z] ---> create-netrc.sh [Pipeline] } [2024-05-24T10:48:45.160Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:48:45.495Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-24T10:48:45.504Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:48:45.788Z] ---> sudo-logs.sh [2024-05-24T10:48:45.788Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-24T10:48:45.819Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:48:46.102Z] ---> job-cost.sh [2024-05-24T10:48:46.102Z] lf-activate-venv: SKIPPING [2024-05-24T10:48:46.102Z] DEBUG: total: 0.2199999988079071 [2024-05-24T10:48:46.102Z] INFO: Retrieving Stack Cost... [2024-05-24T10:48:46.362Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T10:48:46.931Z] INFO: Archiving Costs [Pipeline] echo [2024-05-24T10:48:46.943Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T10:48:47.286Z] ---> logs-deploy.sh [2024-05-24T10:48:47.286Z] lf-activate-venv: SKIPPING [2024-05-24T10:48:47.286Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1580/4 [2024-05-24T10:48:47.286Z] INFO: archiving workspace using pattern(s): [2024-05-24T10:48:48.254Z] Archives upload complete. [2024-05-24T10:48:48.254Z] INFO: archiving logs to Nexus