Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea2a9f5095d438847c4770173d896939b70fc875 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-ssh6494408988119522507.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-ssh3681960345611172081.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13645457858889029841.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-ssh4336775694461222121.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2057086197655893345.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-825 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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 Avoid second fetch Checking out Revision ea2a9f5095d438847c4770173d896939b70fc875 (main) Commit message: "Merge pull request #1581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.32" > git config core.sparsecheckout # timeout=10 > git checkout -f ea2a9f5095d438847c4770173d896939b70fc875 # timeout=10 > git rev-list --no-walk 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-27T06:49:05.113Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-27T06:49:05.191Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-27T06:49:05.213Z] ========================================================= [2024-05-27T06:49:05.213Z] EdgeX Global Pipelines Version Info [2024-05-27T06:49:05.213Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-27T06:49:06.316Z] ------------------- [2024-05-27T06:49:06.316Z] stable info: [2024-05-27T06:49:06.316Z] ------------------- [2024-05-27T06:49:06.316Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T06:49:06.316Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T06:49:06.316Z] Message: update stable to v1.0.259 [2024-05-27T06:49:06.886Z] ------------------- [2024-05-27T06:49:06.886Z] experimental info: [2024-05-27T06:49:06.886Z] ------------------- [2024-05-27T06:49:06.886Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-27T06:49:06.886Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-27T06:49:06.886Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-27T06:49:06.963Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-05-27T06:49:06.979Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-05-27T06:49:07.001Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-27T06:49:07.026Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-27T06:49:07.044Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-27T06:49:07.063Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-27T06:49:07.082Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-27T06:49:07.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-05-27T06:49:07.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-27T06:49:07.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-27T06:49:07.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-27T06:49:07.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-05-27T06:49:07.210Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-27T06:49:07.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-27T06:49:07.247Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-27T06:49:07.268Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T06:49:07.284Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T06:49:07.301Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-27T06:49:07.324Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-27T06:49:07.342Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-27T06:49:07.361Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-27T06:49:07.387Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-05-27T06:49:07.407Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-27T06:49:07.428Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-27T06:49:07.452Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-27T06:49:07.475Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-27T06:49:07.497Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-27T06:49:07.520Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-05-27T06:49:07.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-05-27T06:49:07.558Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-05-27T06:49:07.577Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea2a9f5095d438847c4770173d896939b70fc875 [Pipeline] echo [2024-05-27T06:49:07.596Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea2a9f5 [Pipeline] echo [2024-05-27T06:49:07.620Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T06:49:07.681Z] provisioning config files... [2024-05-27T06:49:07.694Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3468013556624636091tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T06:49:08.029Z] ---> ****-login.sh [2024-05-27T06:49:08.029Z] nexus3.edgexfoundry.org:10001 [2024-05-27T06:49:08.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:49:08.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:49:08.288Z] Configure a credential helper to remove this warning. See [2024-05-27T06:49:08.288Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:49:08.288Z] [2024-05-27T06:49:08.288Z] Login Succeeded [2024-05-27T06:49:08.288Z] nexus3.edgexfoundry.org:10002 [2024-05-27T06:49:08.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:49:08.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:49:08.547Z] Configure a credential helper to remove this warning. See [2024-05-27T06:49:08.547Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:49:08.547Z] [2024-05-27T06:49:08.547Z] Login Succeeded [2024-05-27T06:49:08.547Z] nexus3.edgexfoundry.org:10003 [2024-05-27T06:49:08.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:49:08.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:49:08.547Z] Configure a credential helper to remove this warning. See [2024-05-27T06:49:08.547Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:49:08.547Z] [2024-05-27T06:49:08.547Z] Login Succeeded [2024-05-27T06:49:08.547Z] nexus3.edgexfoundry.org:10004 [2024-05-27T06:49:08.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:49:08.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:49:08.547Z] Configure a credential helper to remove this warning. See [2024-05-27T06:49:08.548Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:49:08.548Z] [2024-05-27T06:49:08.548Z] Login Succeeded [2024-05-27T06:49:08.548Z] ****.io [2024-05-27T06:49:08.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:49:08.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:49:08.808Z] Configure a credential helper to remove this warning. See [2024-05-27T06:49:08.808Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:49:08.808Z] [2024-05-27T06:49:08.808Z] Login Succeeded [2024-05-27T06:49:08.808Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T06:49:08.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-27T06:49:09.217Z] + git rev-list -1 --merges ea2a9f5095d438847c4770173d896939b70fc875~1..ea2a9f5095d438847c4770173d896939b70fc875 [Pipeline] echo [2024-05-27T06:49:09.241Z] -----------> git rev-list -1 --merges ea2a9f5095d438847c4770173d896939b70fc875~1..ea2a9f5095d438847c4770173d896939b70fc875 ea2a9f5095d438847c4770173d896939b70fc875 [2024-05-27T06:49:09.241Z] ea2a9f5095d438847c4770173d896939b70fc875 [false] [Pipeline] sh [2024-05-27T06:49:09.535Z] + git log --format=format:%s -1 ea2a9f5095d438847c4770173d896939b70fc875 [Pipeline] echo [2024-05-27T06:49:09.548Z] ========================================================= [2024-05-27T06:49:09.548Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-27T06:49:09.548Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T06:49:09.882Z] + git log --format=format:%s -1 ea2a9f5095d438847c4770173d896939b70fc875 [Pipeline] echo [2024-05-27T06:49:09.896Z] [semverPrep] GIT_COMMIT: ea2a9f5095d438847c4770173d896939b70fc875, Commit Message: Merge pull request #1581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.32 [Pipeline] echo [2024-05-27T06:49:09.911Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-27T06:49:10.291Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-27T06:49:10.291Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-27T06:49:10.291Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-27T06:49:10.291Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-27T06:49:10.291Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-27T06:49:10.291Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-27T06:49:10.291Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T06:49:10.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T06:49:10.718Z] [2024-05-27T06:49:10.718Z] 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-27T06:49:11.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T06:49:11.014Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-27T06:49:11.014Z] b85a868b505f: Pulling fs layer [2024-05-27T06:49:11.014Z] e2be974225ed: Pulling fs layer [2024-05-27T06:49:11.014Z] 339a4e72a1f5: Pulling fs layer [2024-05-27T06:49:11.014Z] 988bab9f4d93: Pulling fs layer [2024-05-27T06:49:11.014Z] 1469e6f7b9e6: Pulling fs layer [2024-05-27T06:49:11.014Z] eaf3925da568: Pulling fs layer [2024-05-27T06:49:11.014Z] bab4dde63d76: Pulling fs layer [2024-05-27T06:49:11.014Z] bde34c3a00c8: Pulling fs layer [2024-05-27T06:49:11.014Z] b352a97aabf1: Pulling fs layer [2024-05-27T06:49:11.014Z] 4872d77fe225: Pulling fs layer [2024-05-27T06:49:11.014Z] 5851b861e8e6: Pulling fs layer [2024-05-27T06:49:11.014Z] 988bab9f4d93: Waiting [2024-05-27T06:49:11.014Z] 1469e6f7b9e6: Waiting [2024-05-27T06:49:11.014Z] b352a97aabf1: Waiting [2024-05-27T06:49:11.014Z] 4872d77fe225: Waiting [2024-05-27T06:49:11.014Z] 5851b861e8e6: Waiting [2024-05-27T06:49:11.014Z] bab4dde63d76: Waiting [2024-05-27T06:49:11.014Z] eaf3925da568: Waiting [2024-05-27T06:49:11.014Z] bde34c3a00c8: Waiting [2024-05-27T06:49:11.014Z] e2be974225ed: Verifying Checksum [2024-05-27T06:49:11.014Z] 988bab9f4d93: Verifying Checksum [2024-05-27T06:49:11.014Z] 988bab9f4d93: Download complete [2024-05-27T06:49:11.014Z] 1469e6f7b9e6: Verifying Checksum [2024-05-27T06:49:11.014Z] 1469e6f7b9e6: Download complete [2024-05-27T06:49:11.014Z] eaf3925da568: Verifying Checksum [2024-05-27T06:49:11.014Z] eaf3925da568: Download complete [2024-05-27T06:49:11.271Z] 339a4e72a1f5: Verifying Checksum [2024-05-27T06:49:11.271Z] 339a4e72a1f5: Download complete [2024-05-27T06:49:11.271Z] bde34c3a00c8: Verifying Checksum [2024-05-27T06:49:11.271Z] bde34c3a00c8: Download complete [2024-05-27T06:49:11.271Z] b352a97aabf1: Verifying Checksum [2024-05-27T06:49:11.271Z] b352a97aabf1: Download complete [2024-05-27T06:49:11.271Z] 4872d77fe225: Verifying Checksum [2024-05-27T06:49:11.271Z] 4872d77fe225: Download complete [2024-05-27T06:49:11.271Z] 5851b861e8e6: Verifying Checksum [2024-05-27T06:49:11.271Z] 5851b861e8e6: Download complete [2024-05-27T06:49:11.271Z] b85a868b505f: Verifying Checksum [2024-05-27T06:49:11.271Z] b85a868b505f: Download complete [2024-05-27T06:49:11.533Z] bab4dde63d76: Verifying Checksum [2024-05-27T06:49:11.533Z] bab4dde63d76: Download complete [2024-05-27T06:49:12.465Z] b85a868b505f: Pull complete [2024-05-27T06:49:12.725Z] e2be974225ed: Pull complete [2024-05-27T06:49:12.984Z] 339a4e72a1f5: Pull complete [2024-05-27T06:49:13.243Z] 988bab9f4d93: Pull complete [2024-05-27T06:49:13.502Z] 1469e6f7b9e6: Pull complete [2024-05-27T06:49:13.502Z] eaf3925da568: Pull complete [2024-05-27T06:49:15.401Z] bab4dde63d76: Pull complete [2024-05-27T06:49:15.401Z] bde34c3a00c8: Pull complete [2024-05-27T06:49:15.401Z] b352a97aabf1: Pull complete [2024-05-27T06:49:15.401Z] 4872d77fe225: Pull complete [2024-05-27T06:49:15.401Z] 5851b861e8e6: Pull complete [2024-05-27T06:49:15.401Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-27T06:49:15.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-27T06:49:15.401Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T06:49:15.540Z] prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container [2024-05-27T06:49:15.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-27T06:49:18.792Z] $ docker top 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 -eo pid,comm [2024-05-27T06:49:18.845Z] 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-27T06:49:18.845Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-27T06:49:18.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T06:49:18.902Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T06:49:19.023Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T06:49:19.026Z] $ docker exec 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 ssh-agent [2024-05-27T06:49:19.136Z] SSH_AUTH_SOCK=/tmp/ssh-xMIRmVT6nD6j/agent.32 [2024-05-27T06:49:19.136Z] SSH_AGENT_PID=38 [2024-05-27T06:49:19.144Z] Running ssh-add (command line suppressed) [2024-05-27T06:49:19.236Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_998695521463486793.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_998695521463486793.key) [2024-05-27T06:49:19.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T06:49:19.544Z] + git tag --points-at HEAD [Pipeline] } [2024-05-27T06:49:19.555Z] $ docker exec --env ******** --env ******** 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 ssh-agent -k [2024-05-27T06:49:19.660Z] unset SSH_AUTH_SOCK; [2024-05-27T06:49:19.660Z] unset SSH_AGENT_PID; [2024-05-27T06:49:19.660Z] echo Agent pid 38 killed; [2024-05-27T06:49:19.666Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-27T06:49:19.711Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-27T06:49:19.711Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-27T06:49:19.836Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-27T06:49:19.840Z] $ docker exec 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 ssh-agent [2024-05-27T06:49:19.938Z] SSH_AUTH_SOCK=/tmp/ssh-ZA5zOD3Co1IF/agent.71 [2024-05-27T06:49:19.938Z] SSH_AGENT_PID=77 [2024-05-27T06:49:19.943Z] Running ssh-add (command line suppressed) [2024-05-27T06:49:20.037Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_924027747378866283.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_924027747378866283.key) [2024-05-27T06:49:20.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-27T06:49:20.344Z] + git semver init [2024-05-27T06:49:20.605Z] 2024-05-27 06:49:20,523 [run_init] DEBUG init version:0.0.0 force:False [2024-05-27T06:49:20.605Z] 2024-05-27 06:49:20,524 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-05-27T06:49:20.605Z] 2024-05-27 06:49:20,525 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2024-05-27T06:49:20.605Z] 2024-05-27 06:49:20,525 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2024-05-27T06:49:21.986Z] 2024-05-27 06:49:21,832 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2024-05-27T06:49:21.986Z] 2024-05-27 06:49:21,833 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2024-05-27T06:49:21.986Z] 2024-05-27 06:49:21,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-05-27T06:49:21.986Z] 2024-05-27 06:49:21,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2024-05-27T06:49:21.986Z] 3.2.0-dev.14 [Pipeline] } [2024-05-27T06:49:21.996Z] $ docker exec --env ******** --env ******** 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 ssh-agent -k [2024-05-27T06:49:22.097Z] unset SSH_AUTH_SOCK; [2024-05-27T06:49:22.097Z] unset SSH_AGENT_PID; [2024-05-27T06:49:22.097Z] echo Agent pid 77 killed; [2024-05-27T06:49:22.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-27T06:49:22.436Z] + git semver [Pipeline] } [2024-05-27T06:49:22.708Z] $ docker stop --time=1 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 [2024-05-27T06:49:24.018Z] $ docker rm -f --volumes 84e4107d278677f392f5f0afd423abf6d8005b250eea6ea41ea7b4b453d3a1e1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T06:49:24.361Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-27T06:49:24.592Z] Stashed 1 file(s) [Pipeline] echo [2024-05-27T06:49:24.595Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.14 [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-27T06:49:24.782Z] provisioning config files... [2024-05-27T06:49:24.790Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1497084160342047887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T06:49:25.084Z] ---> ****-login.sh [2024-05-27T06:49:25.084Z] nexus3.edgexfoundry.org:10001 [2024-05-27T06:49:25.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:49:25.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:49:25.084Z] Configure a credential helper to remove this warning. See [2024-05-27T06:49:25.084Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:49:25.084Z] [2024-05-27T06:49:25.084Z] Login Succeeded [2024-05-27T06:49:25.084Z] nexus3.edgexfoundry.org:10002 [2024-05-27T06:49:25.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:49:25.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:49:25.084Z] Configure a credential helper to remove this warning. See [2024-05-27T06:49:25.084Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:49:25.084Z] [2024-05-27T06:49:25.084Z] Login Succeeded [2024-05-27T06:49:25.084Z] nexus3.edgexfoundry.org:10003 [2024-05-27T06:49:25.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:49:25.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:49:25.344Z] Configure a credential helper to remove this warning. See [2024-05-27T06:49:25.344Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:49:25.344Z] [2024-05-27T06:49:25.344Z] Login Succeeded [2024-05-27T06:49:25.344Z] nexus3.edgexfoundry.org:10004 [2024-05-27T06:49:25.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:49:25.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:49:25.344Z] Configure a credential helper to remove this warning. See [2024-05-27T06:49:25.344Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:49:25.344Z] [2024-05-27T06:49:25.344Z] Login Succeeded [2024-05-27T06:49:25.344Z] ****.io [2024-05-27T06:49:25.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:49:25.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:49:25.607Z] Configure a credential helper to remove this warning. See [2024-05-27T06:49:25.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:49:25.607Z] [2024-05-27T06:49:25.607Z] Login Succeeded [2024-05-27T06:49:25.607Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T06:49:25.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T06:49:25.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T06:49:25.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T06:49:25.728Z] ========================================================= [2024-05-27T06:49:25.728Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-27T06:49:25.728Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T06:49:26.063Z] + 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-27T06:49:26.063Z] Sending build context to Docker daemon 25.71MB [2024-05-27T06:49:26.063Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T06:49:26.063Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-27T06:49:26.323Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-27T06:49:26.323Z] 619be1103602: Pulling fs layer [2024-05-27T06:49:26.323Z] 7862e08f4a3e: Pulling fs layer [2024-05-27T06:49:26.323Z] 5df492c9dc93: Pulling fs layer [2024-05-27T06:49:26.323Z] 7629e6793208: Pulling fs layer [2024-05-27T06:49:26.323Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T06:49:26.323Z] fb5054dd5b73: Pulling fs layer [2024-05-27T06:49:26.323Z] eeca6798cff9: Pulling fs layer [2024-05-27T06:49:26.323Z] 7629e6793208: Waiting [2024-05-27T06:49:26.323Z] aa269ceb94a6: Pulling fs layer [2024-05-27T06:49:26.323Z] ada007ff1a6a: Pulling fs layer [2024-05-27T06:49:26.323Z] 4f4fb700ef54: Waiting [2024-05-27T06:49:26.323Z] fb5054dd5b73: Waiting [2024-05-27T06:49:26.323Z] ada007ff1a6a: Waiting [2024-05-27T06:49:26.323Z] eeca6798cff9: Waiting [2024-05-27T06:49:26.323Z] 7862e08f4a3e: Verifying Checksum [2024-05-27T06:49:26.323Z] 7862e08f4a3e: Download complete [2024-05-27T06:49:26.323Z] 7629e6793208: Verifying Checksum [2024-05-27T06:49:26.323Z] 7629e6793208: Download complete [2024-05-27T06:49:26.323Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T06:49:26.323Z] 4f4fb700ef54: Download complete [2024-05-27T06:49:26.323Z] fb5054dd5b73: Download complete [2024-05-27T06:49:26.323Z] 619be1103602: Verifying Checksum [2024-05-27T06:49:26.323Z] 619be1103602: Download complete [2024-05-27T06:49:26.323Z] eeca6798cff9: Verifying Checksum [2024-05-27T06:49:26.323Z] eeca6798cff9: Download complete [2024-05-27T06:49:26.582Z] 619be1103602: Pull complete [2024-05-27T06:49:26.582Z] ada007ff1a6a: Verifying Checksum [2024-05-27T06:49:26.582Z] ada007ff1a6a: Download complete [2024-05-27T06:49:26.582Z] 7862e08f4a3e: Pull complete [2024-05-27T06:49:26.840Z] 5df492c9dc93: Verifying Checksum [2024-05-27T06:49:26.840Z] 5df492c9dc93: Download complete [2024-05-27T06:49:27.098Z] aa269ceb94a6: Verifying Checksum [2024-05-27T06:49:27.098Z] aa269ceb94a6: Download complete [2024-05-27T06:49:30.383Z] 5df492c9dc93: Pull complete [2024-05-27T06:49:30.383Z] 7629e6793208: Pull complete [2024-05-27T06:49:30.383Z] 4f4fb700ef54: Pull complete [2024-05-27T06:49:30.383Z] fb5054dd5b73: Pull complete [2024-05-27T06:49:30.383Z] eeca6798cff9: Pull complete [2024-05-27T06:49:32.912Z] aa269ceb94a6: Pull complete [2024-05-27T06:49:33.481Z] ada007ff1a6a: Pull complete [2024-05-27T06:49:33.481Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-27T06:49:33.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-27T06:49:33.481Z] ---> f489d0715acc [2024-05-27T06:49:33.481Z] Step 3/10 : ARG MAKE=make build [2024-05-27T06:49:37.721Z] ---> Running in 35f0026ddbf3 [2024-05-27T06:49:37.721Z] Removing intermediate container 35f0026ddbf3 [2024-05-27T06:49:37.721Z] ---> b6fd02694eb6 [2024-05-27T06:49:37.721Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-27T06:49:37.721Z] ---> Running in 81c11b09a8dd [2024-05-27T06:49:37.980Z] Removing intermediate container 81c11b09a8dd [2024-05-27T06:49:37.980Z] ---> 8ba7ced95b7e [2024-05-27T06:49:37.980Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T06:49:37.980Z] ---> Running in 5d029bdb9de0 [2024-05-27T06:49:37.980Z] Removing intermediate container 5d029bdb9de0 [2024-05-27T06:49:37.980Z] ---> 45c4fcb1d284 [2024-05-27T06:49:37.980Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-27T06:49:37.980Z] ---> Running in 7f7c6c813ea3 [2024-05-27T06:49:38.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T06:49:38.497Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T06:49:38.757Z] OK: 264 MiB in 52 packages [2024-05-27T06:49:39.016Z] Removing intermediate container 7f7c6c813ea3 [2024-05-27T06:49:39.016Z] ---> 1c2f2c2fe78a [2024-05-27T06:49:39.016Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-27T06:49:39.274Z] ---> 63070d0e760f [2024-05-27T06:49:39.275Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T06:49:39.275Z] ---> Running in 5a64212c1fca [2024-05-27T06:49:39.732Z] Still waiting to schedule task [2024-05-27T06:49:39.732Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-27T06:50:35.607Z] Removing intermediate container 5a64212c1fca [2024-05-27T06:50:35.607Z] ---> bd0d6e52ffcf [2024-05-27T06:50:35.607Z] Step 9/10 : COPY . . [2024-05-27T06:50:36.993Z] ---> 4ec370b49fc2 [2024-05-27T06:50:36.993Z] Step 10/10 : RUN ${MAKE} [2024-05-27T06:50:36.993Z] ---> Running in 9da85e9d2171 [2024-05-27T06:50:36.993Z] noop [2024-05-27T06:50:37.253Z] Removing intermediate container 9da85e9d2171 [2024-05-27T06:50:37.253Z] ---> 5bc030dd9a77 [2024-05-27T06:50:37.253Z] Successfully built 5bc030dd9a77 [2024-05-27T06:50:37.253Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T06:50:37.571Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T06:50:37.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T06:50:37.654Z] prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container [2024-05-27T06:50:37.701Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2024-05-27T06:50:38.042Z] $ docker top 6efb8d66c15d32b5d7e208299a08c24516e059e231f4300ce5303e095d72da61 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T06:50:38.382Z] + go version [2024-05-27T06:50:38.382Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-27T06:50:38.397Z] $ docker stop --time=1 6efb8d66c15d32b5d7e208299a08c24516e059e231f4300ce5303e095d72da61 [2024-05-27T06:50:39.670Z] $ docker rm -f --volumes 6efb8d66c15d32b5d7e208299a08c24516e059e231f4300ce5303e095d72da61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T06:50:40.105Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-27T06:50:40.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T06:50:40.181Z] prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container [2024-05-27T06:50:40.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** ci-base-image-x86_64 cat [2024-05-27T06:50:40.554Z] $ docker top 0691f84ec490feff17e57e50fb6d212182d46c45546f546cd9d8022abfc636be -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T06:50:40.897Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh [2024-05-27T06:50:41.197Z] + make test [2024-05-27T06:50:41.197Z] go test -race -coverprofile=coverage.out ./... [2024-05-27T06:50:49.322Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-27T06:51:09.962Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-827 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2024-05-27T06:51:09.981Z] Running in /w/workspace/device-sdk-go/285 [Pipeline] { [Pipeline] checkout [2024-05-27T06:51:13.039Z] The recommended git tool is: git [2024-05-27T06:51:15.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-27T06:51:15.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-27T06:51:15.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-27T06:51:15.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-27T06:51:15.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-27T06:51:15.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-27T06:51:15.855Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-27T06:51:15.855Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements [2024-05-27T06:51:15.855Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.059s coverage: 81.5% of statements [2024-05-27T06:51:15.855Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.068s coverage: 86.0% of statements [2024-05-27T06:51:16.113Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-27T06:51:16.679Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-27T06:51:16.679Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-27T06:51:17.246Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.109s coverage: 71.8% of statements [2024-05-27T06:51:17.530Z] using credential edgex-jenkins-ssh [2024-05-27T06:51:17.553Z] Cloning the remote Git repository [2024-05-27T06:51:17.814Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-27T06:51:17.600Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-05-27T06:51:17.689Z] > git init /w/workspace/device-sdk-go/285 # timeout=10 [2024-05-27T06:51:17.816Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-27T06:51:17.817Z] > git --version # timeout=10 [2024-05-27T06:51:17.845Z] > git --version # 'git version 2.25.1' [2024-05-27T06:51:17.847Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-27T06:51:17.992Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T06:51:20.349Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.055s coverage: 14.4% of statements [2024-05-27T06:51:20.349Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.977s coverage: 45.9% of statements [2024-05-27T06:51:20.349Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.075s coverage: 68.5% of statements [2024-05-27T06:51:20.349Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.109s coverage: 89.2% of statements [2024-05-27T06:51:20.349Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.061s coverage: 5.5% of statements [2024-05-27T06:51:21.619Z] Avoid second fetch [2024-05-27T06:51:21.619Z] Checking out Revision ea2a9f5095d438847c4770173d896939b70fc875 (main) [2024-05-27T06:51:20.663Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-27T06:51:20.692Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-27T06:51:21.638Z] > git config core.sparsecheckout # timeout=10 [2024-05-27T06:51:21.702Z] > git checkout -f ea2a9f5095d438847c4770173d896939b70fc875 # timeout=10 [2024-05-27T06:51:22.318Z] Commit message: "Merge pull request #1581 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.2.0-dev.32" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T06:51:26.950Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-27T06:51:26.950Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T06:51:26.950Z] Dload Upload Total Spent Left Speed [2024-05-27T06:51:26.950Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 118k 0 --:--:-- --:--:-- --:--:-- 119k [Pipeline] sh [2024-05-27T06:51:27.287Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-27T06:51:27.624Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2024-05-27T06:51:27.624Z] sudo tee /etc/docker/daemon.new [2024-05-27T06:51:27.624Z] { [2024-05-27T06:51:27.624Z] "registry-mirrors": [ [2024-05-27T06:51:27.624Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-27T06:51:27.624Z] ], [2024-05-27T06:51:27.624Z] "bip": "10.250.0.254/24", [2024-05-27T06:51:27.624Z] "hosts": [ [2024-05-27T06:51:27.624Z] "tcp://0.0.0.0:5555", [2024-05-27T06:51:27.624Z] "unix:///var/run/docker.sock" [2024-05-27T06:51:27.624Z] ], [2024-05-27T06:51:27.624Z] "mtu": 1458, [2024-05-27T06:51:27.624Z] "selinux-enabled": true, [2024-05-27T06:51:27.624Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-27T06:51:27.624Z] } [Pipeline] sh [2024-05-27T06:51:27.956Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-27T06:51:28.304Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T06:51:46.568Z] provisioning config files... [2024-05-27T06:51:46.591Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/285@tmp/config12239537865099210335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T06:51:47.052Z] ---> ****-login.sh [2024-05-27T06:51:47.052Z] nexus3.edgexfoundry.org:10001 [2024-05-27T06:51:47.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:51:47.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:51:47.641Z] Configure a credential helper to remove this warning. See [2024-05-27T06:51:47.641Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:51:47.641Z] [2024-05-27T06:51:47.641Z] Login Succeeded [2024-05-27T06:51:47.912Z] nexus3.edgexfoundry.org:10002 [2024-05-27T06:51:48.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:51:48.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:51:48.184Z] Configure a credential helper to remove this warning. See [2024-05-27T06:51:48.184Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:51:48.184Z] [2024-05-27T06:51:48.184Z] Login Succeeded [2024-05-27T06:51:48.184Z] nexus3.edgexfoundry.org:10003 [2024-05-27T06:51:48.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:51:48.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:51:48.461Z] Configure a credential helper to remove this warning. See [2024-05-27T06:51:48.461Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:51:48.461Z] [2024-05-27T06:51:48.461Z] Login Succeeded [2024-05-27T06:51:48.461Z] nexus3.edgexfoundry.org:10004 [2024-05-27T06:51:48.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:51:49.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:51:49.016Z] Configure a credential helper to remove this warning. See [2024-05-27T06:51:49.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:51:49.016Z] [2024-05-27T06:51:49.016Z] Login Succeeded [2024-05-27T06:51:49.016Z] ****.io [2024-05-27T06:51:49.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-27T06:51:49.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-27T06:51:49.551Z] Configure a credential helper to remove this warning. See [2024-05-27T06:51:49.552Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-27T06:51:49.552Z] [2024-05-27T06:51:49.552Z] Login Succeeded [2024-05-27T06:51:49.552Z] ---> ****-login.sh ends [Pipeline] } [2024-05-27T06:51:49.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-27T06:51:49.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T06:51:49.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-27T06:51:49.961Z] ========================================================= [2024-05-27T06:51:49.961Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-27T06:51:49.961Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T06:51:50.347Z] + 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-27T06:51:50.948Z] Sending build context to Docker daemon 13.27MB [2024-05-27T06:51:50.948Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T06:51:50.948Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-27T06:51:51.228Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-27T06:51:51.228Z] c6b39de5b339: Pulling fs layer [2024-05-27T06:51:51.228Z] a69c41024577: Pulling fs layer [2024-05-27T06:51:51.228Z] d6de4b400683: Pulling fs layer [2024-05-27T06:51:51.228Z] 35cb2a7552d0: Pulling fs layer [2024-05-27T06:51:51.228Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T06:51:51.228Z] 464afbd9ba4c: Pulling fs layer [2024-05-27T06:51:51.228Z] 00f215d4a9da: Pulling fs layer [2024-05-27T06:51:51.228Z] d496ad576159: Pulling fs layer [2024-05-27T06:51:51.228Z] 4f4fb700ef54: Waiting [2024-05-27T06:51:51.228Z] 464afbd9ba4c: Waiting [2024-05-27T06:51:51.228Z] 00f215d4a9da: Waiting [2024-05-27T06:51:51.228Z] d496ad576159: Waiting [2024-05-27T06:51:51.228Z] 35cb2a7552d0: Waiting [2024-05-27T06:51:51.228Z] a69c41024577: Verifying Checksum [2024-05-27T06:51:51.228Z] a69c41024577: Download complete [2024-05-27T06:51:51.228Z] 35cb2a7552d0: Verifying Checksum [2024-05-27T06:51:51.228Z] 35cb2a7552d0: Download complete [2024-05-27T06:51:51.228Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T06:51:51.228Z] 4f4fb700ef54: Download complete [2024-05-27T06:51:51.228Z] 464afbd9ba4c: Verifying Checksum [2024-05-27T06:51:51.228Z] 464afbd9ba4c: Download complete [2024-05-27T06:51:51.228Z] c6b39de5b339: Download complete [2024-05-27T06:51:51.827Z] d496ad576159: Verifying Checksum [2024-05-27T06:51:51.827Z] d496ad576159: Download complete [2024-05-27T06:51:52.428Z] c6b39de5b339: Pull complete [2024-05-27T06:51:52.823Z] GO111MODULE=on go vet ./... [2024-05-27T06:51:53.022Z] a69c41024577: Pull complete [2024-05-27T06:51:53.298Z] d6de4b400683: Verifying Checksum [2024-05-27T06:51:53.298Z] d6de4b400683: Download complete [2024-05-27T06:51:54.725Z] 00f215d4a9da: Verifying Checksum [2024-05-27T06:51:54.725Z] 00f215d4a9da: Download complete [2024-05-27T06:51:58.102Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T06:51:58.102Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T06:51:58.102Z] ./bin/test-attribution-txt.sh [2024-05-27T06:51:58.102Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-27T06:51:58.102Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-27T06:51:58.112Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-27T06:51:58.133Z] $ docker stop --time=1 0691f84ec490feff17e57e50fb6d212182d46c45546f546cd9d8022abfc636be [2024-05-27T06:52:03.160Z] $ docker rm -f --volumes 0691f84ec490feff17e57e50fb6d212182d46c45546f546cd9d8022abfc636be [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T06:52:03.848Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T06:52:03.924Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-27T06:52:04.458Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T06:52:04.744Z] + ls -al . [2024-05-27T06:52:04.744Z] total 376 [2024-05-27T06:52:04.744Z] drwxrwxr-x 11 jenkins jenkins 4096 May 27 06:50 . [2024-05-27T06:52:04.744Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 06:48 .. [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 06:49 .dockerignore [2024-05-27T06:52:04.744Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 06:51 .git [2024-05-27T06:52:04.744Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 06:49 .github [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 137 May 27 06:49 .gitignore [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 06:49 .golangci.yml [2024-05-27T06:52:04.744Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 06:49 .semver [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 27 06:49 CHANGELOG.md [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 06:49 GOVERNANCE.md [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 885 May 27 06:49 Jenkinsfile [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 27 06:49 LICENSE [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 27 06:49 Makefile [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 619 May 27 06:49 OWNERS.md [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 27 06:49 README.md [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 12 May 27 06:49 VERSION [2024-05-27T06:52:04.744Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 06:49 bin [2024-05-27T06:52:04.744Z] -rw-r--r-- 1 jenkins jenkins 122155 May 27 06:51 coverage.out [2024-05-27T06:52:04.744Z] drwxrwxr-x 5 jenkins jenkins 4096 May 27 06:49 example [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 7064 May 27 06:49 go.mod [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 101331 May 27 06:49 go.sum [2024-05-27T06:52:04.744Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 06:49 internal [2024-05-27T06:52:04.744Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 06:49 openapi [2024-05-27T06:52:04.744Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 06:49 pkg [2024-05-27T06:52:04.744Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 06:49 snap [2024-05-27T06:52:04.744Z] -rw-rw-r-- 1 jenkins jenkins 222 May 27 06:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T06:52:05.070Z] + 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=ea2a9f5095d438847c4770173d896939b70fc875 --label arch=amd64 --label version=3.2.0-dev.14 . [2024-05-27T06:52:05.070Z] Sending build context to Docker daemon 25.83MB [2024-05-27T06:52:05.070Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T06:52:05.070Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-27T06:52:05.070Z] ---> 5bc030dd9a77 [2024-05-27T06:52:05.070Z] Step 3/23 : ARG MAKE=make build [2024-05-27T06:52:05.640Z] ---> Running in fef5183db9f7 [2024-05-27T06:52:05.640Z] Removing intermediate container fef5183db9f7 [2024-05-27T06:52:05.640Z] ---> 51325ba61d98 [2024-05-27T06:52:05.640Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-27T06:52:05.640Z] ---> Running in 3a91ea1d5418 [2024-05-27T06:52:05.640Z] Removing intermediate container 3a91ea1d5418 [2024-05-27T06:52:05.640Z] ---> ce5adc4cf863 [2024-05-27T06:52:05.640Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T06:52:05.640Z] ---> Running in 5b0480a51a07 [2024-05-27T06:52:05.899Z] Removing intermediate container 5b0480a51a07 [2024-05-27T06:52:05.899Z] ---> 8406504cf3e2 [2024-05-27T06:52:05.899Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-27T06:52:05.899Z] ---> Running in a9af538dfff4 [2024-05-27T06:52:06.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T06:52:06.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T06:52:06.418Z] OK: 264 MiB in 52 packages [2024-05-27T06:52:06.986Z] Removing intermediate container a9af538dfff4 [2024-05-27T06:52:06.986Z] ---> 972ad589fd2c [2024-05-27T06:52:06.986Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-27T06:52:06.986Z] ---> c7a1469fef0d [2024-05-27T06:52:06.986Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T06:52:06.986Z] ---> Running in 11c78ff57f3c [2024-05-27T06:52:07.267Z] d6de4b400683: Pull complete [2024-05-27T06:52:07.267Z] 35cb2a7552d0: Pull complete [2024-05-27T06:52:07.536Z] 4f4fb700ef54: Pull complete [2024-05-27T06:52:07.553Z] Removing intermediate container 11c78ff57f3c [2024-05-27T06:52:07.553Z] ---> a135af2d040b [2024-05-27T06:52:07.553Z] Step 9/23 : COPY . . [2024-05-27T06:52:07.806Z] 464afbd9ba4c: Pull complete [2024-05-27T06:52:08.489Z] ---> fb7380eed2b0 [2024-05-27T06:52:08.489Z] Step 10/23 : RUN ${MAKE} [2024-05-27T06:52:08.489Z] ---> Running in 5a7c095b6087 [2024-05-27T06:52:08.489Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-05-27T06:52:17.906Z] 00f215d4a9da: Pull complete [2024-05-27T06:52:17.906Z] d496ad576159: Pull complete [2024-05-27T06:52:18.176Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-27T06:52:18.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-27T06:52:18.176Z] ---> f246e2811388 [2024-05-27T06:52:18.176Z] Step 3/10 : ARG MAKE=make build [2024-05-27T06:52:20.128Z] ---> Running in 9e4ad043e983 [2024-05-27T06:52:20.128Z] Removing intermediate container 9e4ad043e983 [2024-05-27T06:52:20.128Z] ---> 3037e15be003 [2024-05-27T06:52:20.128Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-27T06:52:20.397Z] ---> Running in 61d1e774387f [2024-05-27T06:52:20.665Z] Removing intermediate container 61d1e774387f [2024-05-27T06:52:20.665Z] ---> 711876a55f6c [2024-05-27T06:52:20.665Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T06:52:20.665Z] ---> Running in cada045052a1 [2024-05-27T06:52:20.935Z] Removing intermediate container cada045052a1 [2024-05-27T06:52:20.935Z] ---> c3411c2525d5 [2024-05-27T06:52:20.935Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-27T06:52:20.935Z] ---> Running in 4d7eef6a39bb [2024-05-27T06:52:22.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T06:52:22.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T06:52:23.570Z] OK: 266 MiB in 52 packages [2024-05-27T06:52:24.164Z] Removing intermediate container 4d7eef6a39bb [2024-05-27T06:52:24.164Z] ---> b80b1b401f2f [2024-05-27T06:52:24.164Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-27T06:52:24.749Z] ---> e1af04a7e1ca [2024-05-27T06:52:24.749Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T06:52:24.750Z] ---> Running in 4468078b5c07 [2024-05-27T06:52:40.593Z] Removing intermediate container 5a7c095b6087 [2024-05-27T06:52:40.593Z] ---> 32b426e30a59 [2024-05-27T06:52:40.593Z] Step 11/23 : FROM alpine:3.18 [2024-05-27T06:52:40.593Z] 3.18: Pulling from library/alpine [2024-05-27T06:52:40.593Z] 619be1103602: Already exists [2024-05-27T06:52:40.593Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T06:52:40.593Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T06:52:40.593Z] ---> d3782b16ccc9 [2024-05-27T06:52:40.593Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-27T06:52:40.593Z] ---> Running in e9ee7a220ea5 [2024-05-27T06:52:40.593Z] Removing intermediate container e9ee7a220ea5 [2024-05-27T06:52:40.593Z] ---> 23f6632ed8e5 [2024-05-27T06:52:40.593Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-27T06:52:40.593Z] ---> Running in 5c34436ab3ac [2024-05-27T06:52:40.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-27T06:52:40.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-27T06:52:41.110Z] OK: 7 MiB in 15 packages [2024-05-27T06:52:41.368Z] Removing intermediate container 5c34436ab3ac [2024-05-27T06:52:41.368Z] ---> 3b7c8ca3f699 [2024-05-27T06:52:41.368Z] Step 14/23 : WORKDIR / [2024-05-27T06:52:41.368Z] ---> Running in d50cb1d457cd [2024-05-27T06:52:41.627Z] Removing intermediate container d50cb1d457cd [2024-05-27T06:52:41.627Z] ---> 0299d4a36cde [2024-05-27T06:52:41.627Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-27T06:52:41.627Z] ---> c4611bb16c55 [2024-05-27T06:52:41.627Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-27T06:52:43.526Z] ---> b085463c849e [2024-05-27T06:52:43.526Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-27T06:52:43.526Z] ---> 02d9e24ddcfd [2024-05-27T06:52:43.526Z] Step 18/23 : EXPOSE 59999 [2024-05-27T06:52:43.526Z] ---> Running in 225d89c621f6 [2024-05-27T06:52:43.526Z] Removing intermediate container 225d89c621f6 [2024-05-27T06:52:43.526Z] ---> 3e722662deed [2024-05-27T06:52:43.526Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-27T06:52:43.526Z] ---> Running in 12f9210198e4 [2024-05-27T06:52:43.526Z] Removing intermediate container 12f9210198e4 [2024-05-27T06:52:43.526Z] ---> 4ee142a4798a [2024-05-27T06:52:43.526Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-27T06:52:43.526Z] ---> Running in e393b443c0f6 [2024-05-27T06:52:43.526Z] Removing intermediate container e393b443c0f6 [2024-05-27T06:52:43.526Z] ---> 37dad2689440 [2024-05-27T06:52:43.526Z] Step 21/23 : LABEL arch=amd64 [2024-05-27T06:52:43.526Z] ---> Running in 61536a96b148 [2024-05-27T06:52:43.785Z] Removing intermediate container 61536a96b148 [2024-05-27T06:52:43.785Z] ---> 33f478cc3257 [2024-05-27T06:52:43.785Z] Step 22/23 : LABEL git_sha=ea2a9f5095d438847c4770173d896939b70fc875 [2024-05-27T06:52:43.785Z] ---> Running in 4194c40f4346 [2024-05-27T06:52:43.785Z] Removing intermediate container 4194c40f4346 [2024-05-27T06:52:43.785Z] ---> bc8e627866fd [2024-05-27T06:52:43.785Z] Step 23/23 : LABEL version=3.2.0-dev.14 [2024-05-27T06:52:43.785Z] ---> Running in 4e6ef2e41de4 [2024-05-27T06:52:43.785Z] Removing intermediate container 4e6ef2e41de4 [2024-05-27T06:52:43.785Z] ---> e468be36f5ab [2024-05-27T06:52:43.785Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T06:52:43.785Z] Successfully built e468be36f5ab [2024-05-27T06:52:43.785Z] 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-27T06:52:44.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T06:52:44.277Z] [2024-05-27T06:52:44.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T06:52:44.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T06:52:44.574Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-27T06:52:44.574Z] 5eb5b503b376: Pulling fs layer [2024-05-27T06:52:44.574Z] 5c69ac0246d0: Pulling fs layer [2024-05-27T06:52:44.574Z] ec43610c2a17: Pulling fs layer [2024-05-27T06:52:44.574Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-27T06:52:44.574Z] 33b1e0a273af: Pulling fs layer [2024-05-27T06:52:44.574Z] 5d3b04190fa2: Pulling fs layer [2024-05-27T06:52:44.574Z] 2f39f015ded8: Pulling fs layer [2024-05-27T06:52:44.574Z] 33b1e0a273af: Waiting [2024-05-27T06:52:44.574Z] 3a2ae6a8a46f: Waiting [2024-05-27T06:52:44.574Z] 5d3b04190fa2: Waiting [2024-05-27T06:52:44.574Z] 2f39f015ded8: Waiting [2024-05-27T06:52:44.574Z] 5c69ac0246d0: Download complete [2024-05-27T06:52:44.574Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-27T06:52:44.574Z] 3a2ae6a8a46f: Download complete [2024-05-27T06:52:44.574Z] 33b1e0a273af: Verifying Checksum [2024-05-27T06:52:44.574Z] 33b1e0a273af: Download complete [2024-05-27T06:52:44.574Z] 5d3b04190fa2: Verifying Checksum [2024-05-27T06:52:44.574Z] 5d3b04190fa2: Download complete [2024-05-27T06:52:44.574Z] ec43610c2a17: Verifying Checksum [2024-05-27T06:52:44.574Z] ec43610c2a17: Download complete [2024-05-27T06:52:44.831Z] 5eb5b503b376: Download complete [2024-05-27T06:52:45.394Z] 2f39f015ded8: Download complete [2024-05-27T06:52:45.958Z] 5eb5b503b376: Pull complete [2024-05-27T06:52:45.958Z] 5c69ac0246d0: Pull complete [2024-05-27T06:52:46.523Z] ec43610c2a17: Pull complete [2024-05-27T06:52:46.523Z] 3a2ae6a8a46f: Pull complete [2024-05-27T06:52:46.782Z] 33b1e0a273af: Pull complete [2024-05-27T06:52:46.782Z] 5d3b04190fa2: Pull complete [2024-05-27T06:52:50.959Z] 2f39f015ded8: Pull complete [2024-05-27T06:52:50.959Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-27T06:52:50.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T06:52:50.959Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T06:52:51.052Z] prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container [2024-05-27T06:52:51.087Z] $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-27T06:52:54.776Z] $ docker top e8f25f065c96d15a63cdcfaef7bc9811817acffff371d0bbefa4c50c719f216d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T06:52:55.142Z] ---> job-cost.sh [2024-05-27T06:52:55.142Z] lf-activate-venv: SKIPPING [2024-05-27T06:52:55.142Z] INFO: No Stack... [2024-05-27T06:52:55.402Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T06:52:55.660Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T06:52:55.949Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2024-05-27T06:52:55.949Z] + cut -d, -f6 [Pipeline] lock [2024-05-27T06:52:55.963Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] [2024-05-27T06:52:55.976Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] did not exist. Created. [2024-05-27T06:52:55.982Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T06:52:56.297Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-27T06:52:56.328Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T06:52:56.336Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T06:52:56.370Z] $ docker stop --time=1 e8f25f065c96d15a63cdcfaef7bc9811817acffff371d0bbefa4c50c719f216d [2024-05-27T06:52:57.533Z] $ docker rm -f --volumes e8f25f065c96d15a63cdcfaef7bc9811817acffff371d0bbefa4c50c719f216d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-27T06:54:16.423Z] Removing intermediate container 4468078b5c07 [2024-05-27T06:54:16.423Z] ---> aa174524fa84 [2024-05-27T06:54:16.423Z] Step 9/10 : COPY . . [2024-05-27T06:54:16.423Z] ---> 0ecede801847 [2024-05-27T06:54:16.423Z] Step 10/10 : RUN ${MAKE} [2024-05-27T06:54:16.423Z] ---> Running in 5c828bb9ebae [2024-05-27T06:54:16.423Z] noop [2024-05-27T06:54:16.423Z] Removing intermediate container 5c828bb9ebae [2024-05-27T06:54:16.423Z] ---> d7d2772334dc [2024-05-27T06:54:16.423Z] Successfully built d7d2772334dc [2024-05-27T06:54:16.423Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T06:54:16.788Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T06:54:16.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T06:54:17.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-827 does not seem to be running inside a container [2024-05-27T06:54:17.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/285 -v /w/workspace/device-sdk-go/285:/w/workspace/device-sdk-go/285:rw,z -v /w/workspace/device-sdk-go/285@tmp:/w/workspace/device-sdk-go/285@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 ******** ci-base-image-arm64 cat [2024-05-27T06:54:18.286Z] $ docker top 610c7291cba20dc8380c15807967ea8d8105c5c321d3442d13d046732fd4c076 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T06:54:19.125Z] + go version [2024-05-27T06:54:19.125Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-27T06:54:19.149Z] $ docker stop --time=1 610c7291cba20dc8380c15807967ea8d8105c5c321d3442d13d046732fd4c076 [2024-05-27T06:54:20.781Z] $ docker rm -f --volumes 610c7291cba20dc8380c15807967ea8d8105c5c321d3442d13d046732fd4c076 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T06:54:21.357Z] + docker inspect -f . ci-base-image-arm64 [2024-05-27T06:54:21.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T06:54:21.527Z] prd-ubuntu20.04-docker-arm64-4c-16g-827 does not seem to be running inside a container [2024-05-27T06:54:21.599Z] $ 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/285 -v /w/workspace/device-sdk-go/285:/w/workspace/device-sdk-go/285:rw,z -v /w/workspace/device-sdk-go/285@tmp:/w/workspace/device-sdk-go/285@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 ******** ci-base-image-arm64 cat [2024-05-27T06:54:22.750Z] $ docker top 8b0039f60b1588bfe0f52be2f620be9c859d10c8473a71a538f240e64ab82749 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T06:54:23.579Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/285 [Pipeline] fileExists [Pipeline] sh [2024-05-27T06:54:23.920Z] + make test [2024-05-27T06:54:24.201Z] go test -race -coverprofile=coverage.out ./... [2024-05-27T06:55:11.028Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-27T06:58:47.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-27T06:58:47.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-27T06:58:47.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-27T06:58:47.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-27T06:58:47.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-27T06:58:47.941Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.288s coverage: 27.6% of statements [2024-05-27T06:58:51.301Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.299s coverage: 81.5% of statements [2024-05-27T06:58:59.542Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-27T06:58:59.542Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-27T06:59:00.129Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.393s coverage: 86.0% of statements [2024-05-27T06:59:02.740Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-27T06:59:04.691Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.637s coverage: 71.8% of statements [2024-05-27T06:59:10.061Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.279s coverage: 14.4% of statements [2024-05-27T06:59:10.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-27T06:59:10.331Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-27T06:59:10.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.873s coverage: 45.9% of statements [2024-05-27T06:59:11.884Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.454s coverage: 68.5% of statements [2024-05-27T06:59:16.155Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.485s coverage: 89.2% of statements [2024-05-27T06:59:19.530Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-27T06:59:20.940Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.358s coverage: 5.5% of statements [2024-05-27T06:59:22.370Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-27T06:59:22.370Z] GO111MODULE=on go vet ./... [2024-05-27T07:03:29.825Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-27T07:03:29.825Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-27T07:03:29.825Z] ./bin/test-attribution-txt.sh [2024-05-27T07:03:29.825Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-27T07:03:29.825Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/spf13/cast is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-27T07:03:29.826Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-27T07:03:29.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-27T07:03:29.859Z] $ docker stop --time=1 8b0039f60b1588bfe0f52be2f620be9c859d10c8473a71a538f240e64ab82749 [2024-05-27T07:03:31.871Z] $ docker rm -f --volumes 8b0039f60b1588bfe0f52be2f620be9c859d10c8473a71a538f240e64ab82749 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-27T07:03:34.402Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-27T07:03:34.431Z] Warning: overwriting stash ‘coverage-report’ [2024-05-27T07:03:35.112Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-27T07:03:35.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-27T07:03:35.845Z] + ls -al . [2024-05-27T07:03:35.845Z] total 372 [2024-05-27T07:03:35.845Z] drwxrwxr-x 10 jenkins jenkins 4096 May 27 06:54 . [2024-05-27T07:03:35.845Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 06:51 .. [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 140 May 27 06:51 .dockerignore [2024-05-27T07:03:35.845Z] drwxrwxr-x 8 jenkins jenkins 4096 May 27 06:51 .git [2024-05-27T07:03:35.845Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 06:51 .github [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 137 May 27 06:51 .gitignore [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 42 May 27 06:51 .golangci.yml [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 27 06:51 CHANGELOG.md [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 677 May 27 06:51 GOVERNANCE.md [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 885 May 27 06:51 Jenkinsfile [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 27 06:51 LICENSE [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 27 06:51 Makefile [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 619 May 27 06:51 OWNERS.md [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 27 06:51 README.md [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 12 May 27 06:49 VERSION [2024-05-27T07:03:35.845Z] drwxrwxr-x 2 jenkins jenkins 4096 May 27 06:51 bin [2024-05-27T07:03:35.845Z] -rw-r--r-- 1 jenkins jenkins 122153 May 27 06:59 coverage.out [2024-05-27T07:03:35.845Z] drwxrwxr-x 5 jenkins jenkins 4096 May 27 06:51 example [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 7064 May 27 06:51 go.mod [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 101331 May 27 06:51 go.sum [2024-05-27T07:03:35.845Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 06:51 internal [2024-05-27T07:03:35.845Z] drwxrwxr-x 3 jenkins jenkins 4096 May 27 06:51 openapi [2024-05-27T07:03:35.845Z] drwxrwxr-x 6 jenkins jenkins 4096 May 27 06:51 pkg [2024-05-27T07:03:35.845Z] drwxrwxr-x 4 jenkins jenkins 4096 May 27 06:51 snap [2024-05-27T07:03:35.845Z] -rw-rw-r-- 1 jenkins jenkins 222 May 27 06:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T07:03:36.203Z] + 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=ea2a9f5095d438847c4770173d896939b70fc875 --label arch=arm64 --label version=3.2.0-dev.14 . [2024-05-27T07:03:36.803Z] Sending build context to Docker daemon 13.39MB [2024-05-27T07:03:36.803Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-27T07:03:36.803Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-27T07:03:36.803Z] ---> d7d2772334dc [2024-05-27T07:03:36.803Z] Step 3/23 : ARG MAKE=make build [2024-05-27T07:03:36.803Z] ---> Running in a6fac538a7f5 [2024-05-27T07:03:37.386Z] Removing intermediate container a6fac538a7f5 [2024-05-27T07:03:37.386Z] ---> 79862beec725 [2024-05-27T07:03:37.386Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-27T07:03:37.386Z] ---> Running in 6b76e357e38c [2024-05-27T07:03:37.654Z] Removing intermediate container 6b76e357e38c [2024-05-27T07:03:37.654Z] ---> b723c5449481 [2024-05-27T07:03:37.654Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-27T07:03:37.654Z] ---> Running in 362d64e79b53 [2024-05-27T07:03:37.922Z] Removing intermediate container 362d64e79b53 [2024-05-27T07:03:37.922Z] ---> 195db8c4bbf0 [2024-05-27T07:03:37.922Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-27T07:03:38.189Z] ---> Running in cc923d033e09 [2024-05-27T07:03:39.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T07:03:39.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T07:03:40.380Z] OK: 266 MiB in 52 packages [2024-05-27T07:03:41.348Z] Removing intermediate container cc923d033e09 [2024-05-27T07:03:41.348Z] ---> edc7e6c3ed1e [2024-05-27T07:03:41.348Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-27T07:03:41.933Z] ---> b1cdc6f30405 [2024-05-27T07:03:41.933Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-27T07:03:41.933Z] ---> Running in 7889dcd8635f [2024-05-27T07:03:44.523Z] Removing intermediate container 7889dcd8635f [2024-05-27T07:03:44.524Z] ---> f2217be7d5b0 [2024-05-27T07:03:44.524Z] Step 9/23 : COPY . . [2024-05-27T07:03:45.933Z] ---> a46fe45ca822 [2024-05-27T07:03:45.933Z] Step 10/23 : RUN ${MAKE} [2024-05-27T07:03:45.933Z] ---> Running in e22db0fedb79 [2024-05-27T07:03:46.895Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.2.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.2.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-05-27T07:07:38.689Z] Removing intermediate container e22db0fedb79 [2024-05-27T07:07:38.689Z] ---> 51571115413e [2024-05-27T07:07:38.689Z] Step 11/23 : FROM alpine:3.18 [2024-05-27T07:07:38.689Z] 3.18: Pulling from library/alpine [2024-05-27T07:07:38.689Z] c6b39de5b339: Already exists [2024-05-27T07:07:38.689Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-27T07:07:38.689Z] Status: Downloaded newer image for alpine:3.18 [2024-05-27T07:07:38.689Z] ---> 33abbf032149 [2024-05-27T07:07:38.689Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-27T07:07:38.689Z] ---> Running in 8c4206fc0218 [2024-05-27T07:07:38.689Z] Removing intermediate container 8c4206fc0218 [2024-05-27T07:07:38.689Z] ---> 503183de1837 [2024-05-27T07:07:38.689Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-27T07:07:38.689Z] ---> Running in 5d1d262aa594 [2024-05-27T07:07:38.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-27T07:07:38.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-27T07:07:38.689Z] OK: 8 MiB in 15 packages [2024-05-27T07:07:38.689Z] Removing intermediate container 5d1d262aa594 [2024-05-27T07:07:38.689Z] ---> 7a97b4c80756 [2024-05-27T07:07:38.689Z] Step 14/23 : WORKDIR / [2024-05-27T07:07:38.689Z] ---> Running in 4a41d5e55653 [2024-05-27T07:07:38.689Z] Removing intermediate container 4a41d5e55653 [2024-05-27T07:07:38.689Z] ---> 26b531133dc6 [2024-05-27T07:07:38.689Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-27T07:07:38.689Z] ---> 5513243d809e [2024-05-27T07:07:38.689Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-27T07:07:38.689Z] ---> edba02c893cc [2024-05-27T07:07:38.689Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-27T07:07:38.689Z] ---> 245f8a83192c [2024-05-27T07:07:38.689Z] Step 18/23 : EXPOSE 59999 [2024-05-27T07:07:38.689Z] ---> Running in 787d76d994cc [2024-05-27T07:07:38.689Z] Removing intermediate container 787d76d994cc [2024-05-27T07:07:38.689Z] ---> 8f93acb9d0f3 [2024-05-27T07:07:38.689Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-27T07:07:38.689Z] ---> Running in e4e7973199b2 [2024-05-27T07:07:38.689Z] Removing intermediate container e4e7973199b2 [2024-05-27T07:07:38.689Z] ---> b0dde82db441 [2024-05-27T07:07:38.689Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-27T07:07:38.689Z] ---> Running in fc60f7b35b39 [2024-05-27T07:07:38.689Z] Removing intermediate container fc60f7b35b39 [2024-05-27T07:07:38.689Z] ---> 0ca2d0e8a6ec [2024-05-27T07:07:38.689Z] Step 21/23 : LABEL arch=arm64 [2024-05-27T07:07:38.689Z] ---> Running in e6813af4019b [2024-05-27T07:07:38.689Z] Removing intermediate container e6813af4019b [2024-05-27T07:07:38.689Z] ---> a97d5307bb1d [2024-05-27T07:07:38.689Z] Step 22/23 : LABEL git_sha=ea2a9f5095d438847c4770173d896939b70fc875 [2024-05-27T07:07:38.689Z] ---> Running in 95a322544a6a [2024-05-27T07:07:38.689Z] Removing intermediate container 95a322544a6a [2024-05-27T07:07:38.689Z] ---> 44d454cd96bf [2024-05-27T07:07:38.689Z] Step 23/23 : LABEL version=3.2.0-dev.14 [2024-05-27T07:07:38.689Z] ---> Running in 51aca520927b [2024-05-27T07:07:38.689Z] Removing intermediate container 51aca520927b [2024-05-27T07:07:38.689Z] ---> 429ddbb3588e [2024-05-27T07:07:38.689Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-27T07:07:38.689Z] Successfully built 429ddbb3588e [2024-05-27T07:07:38.689Z] 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-27T07:07:39.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T07:07:39.150Z] [2024-05-27T07:07:39.150Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T07:07:39.470Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T07:07:39.470Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-27T07:07:39.470Z] 8998bd30e6a1: Pulling fs layer [2024-05-27T07:07:39.470Z] 04944245beec: Pulling fs layer [2024-05-27T07:07:39.470Z] 699f458cf7ca: Pulling fs layer [2024-05-27T07:07:39.470Z] 765212b225bb: Pulling fs layer [2024-05-27T07:07:39.470Z] f23df028b6ca: Pulling fs layer [2024-05-27T07:07:39.470Z] d65c8cfc05b1: Pulling fs layer [2024-05-27T07:07:39.470Z] 2437ff75d9bd: Pulling fs layer [2024-05-27T07:07:39.470Z] 765212b225bb: Waiting [2024-05-27T07:07:39.470Z] f23df028b6ca: Waiting [2024-05-27T07:07:39.470Z] d65c8cfc05b1: Waiting [2024-05-27T07:07:39.470Z] 2437ff75d9bd: Waiting [2024-05-27T07:07:39.737Z] 04944245beec: Verifying Checksum [2024-05-27T07:07:39.737Z] 04944245beec: Download complete [2024-05-27T07:07:39.737Z] 765212b225bb: Verifying Checksum [2024-05-27T07:07:39.737Z] 765212b225bb: Download complete [2024-05-27T07:07:39.737Z] d65c8cfc05b1: Verifying Checksum [2024-05-27T07:07:39.737Z] d65c8cfc05b1: Download complete [2024-05-27T07:07:39.737Z] 699f458cf7ca: Verifying Checksum [2024-05-27T07:07:39.737Z] 699f458cf7ca: Download complete [2024-05-27T07:07:40.316Z] 8998bd30e6a1: Download complete [2024-05-27T07:07:42.888Z] 2437ff75d9bd: Verifying Checksum [2024-05-27T07:07:42.888Z] 2437ff75d9bd: Download complete [2024-05-27T07:07:44.834Z] 8998bd30e6a1: Pull complete [2024-05-27T07:07:45.105Z] 04944245beec: Pull complete [2024-05-27T07:07:47.043Z] 699f458cf7ca: Pull complete [2024-05-27T07:07:47.043Z] 765212b225bb: Pull complete [2024-05-27T07:07:47.625Z] f23df028b6ca: Pull complete [2024-05-27T07:07:47.891Z] d65c8cfc05b1: Pull complete [2024-05-27T07:08:06.082Z] 2437ff75d9bd: Pull complete [2024-05-27T07:08:06.082Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-27T07:08:06.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-27T07:08:06.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T07:08:06.290Z] prd-ubuntu20.04-docker-arm64-4c-16g-827 does not seem to be running inside a container [2024-05-27T07:08:06.343Z] $ 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/285 -v /w/workspace/device-sdk-go/285:/w/workspace/device-sdk-go/285:rw,z -v /w/workspace/device-sdk-go/285@tmp:/w/workspace/device-sdk-go/285@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-27T07:08:09.141Z] $ docker top e0a0623f615131392d411ef67c00dc0cfaa74f3dd291966ef3999606b10f6c95 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-27T07:08:09.987Z] ---> job-cost.sh [2024-05-27T07:08:09.987Z] lf-activate-venv: SKIPPING [2024-05-27T07:08:09.987Z] INFO: No Stack... [2024-05-27T07:08:10.944Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-27T07:08:11.528Z] INFO: Archiving Costs [Pipeline] sh [2024-05-27T07:08:12.158Z] + cat /w/workspace/device-sdk-go/285/archives/cost.csv [2024-05-27T07:08:12.158Z] + cut -d, -f6 [Pipeline] lock [2024-05-27T07:08:12.217Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] [2024-05-27T07:08:12.225Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] did not exist. Created. [2024-05-27T07:08:12.232Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-27T07:08:12.887Z] /w/workspace/device-sdk-go/285@tmp/durable-0fe683a4/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-27T07:08:13.531Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-27T07:08:13.560Z] Warning: overwriting stash ‘stack-cost’ [2024-05-27T07:08:13.722Z] Stashed 1 file(s) [Pipeline] } [2024-05-27T07:08:13.739Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-main-285-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-27T07:08:13.757Z] $ docker stop --time=1 e0a0623f615131392d411ef67c00dc0cfaa74f3dd291966ef3999606b10f6c95 [2024-05-27T07:08:15.382Z] $ docker rm -f --volumes e0a0623f615131392d411ef67c00dc0cfaa74f3dd291966ef3999606b10f6c95 [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-27T07:08:15.907Z] provisioning config files... [2024-05-27T07:08:15.914Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14338816117640630577tmp [Pipeline] { [Pipeline] sh [2024-05-27T07:08:16.210Z] + set +x [2024-05-27T07:08:16.210Z] + curl -s https://codecov.io/bash [2024-05-27T07:08:16.210Z] + bash -s -- [2024-05-27T07:08:16.210Z] [2024-05-27T07:08:16.210Z] _____ _ [2024-05-27T07:08:16.210Z] / ____| | | [2024-05-27T07:08:16.210Z] | | ___ __| | ___ ___ _____ __ [2024-05-27T07:08:16.210Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-27T07:08:16.210Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-27T07:08:16.210Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-27T07:08:16.210Z] Bash-1.0.6 [2024-05-27T07:08:16.210Z] [2024-05-27T07:08:16.210Z] [2024-05-27T07:08:16.210Z] ==> git version 2.25.1 found [2024-05-27T07:08:16.210Z] ==> 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-27T07:08:16.210Z] Release-Date: 2020-01-08 [2024-05-27T07:08:16.210Z] 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-27T07:08:16.210Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-27T07:08:16.210Z] ==> Jenkins CI detected. [2024-05-27T07:08:16.210Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2024-05-27T07:08:16.210Z] project root: . [2024-05-27T07:08:16.210Z] --> token set from env [2024-05-27T07:08:16.210Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-27T07:08:16.210Z] ==> Running gcov in . (disable via -X gcov) [2024-05-27T07:08:16.210Z] ==> Python coveragepy not found [2024-05-27T07:08:16.210Z] ==> Searching for coverage reports in: [2024-05-27T07:08:16.210Z] + . [2024-05-27T07:08:16.469Z] -> Found 1 reports [2024-05-27T07:08:16.469Z] ==> Detecting git/mercurial file structure [2024-05-27T07:08:16.469Z] ==> Reading reports [2024-05-27T07:08:16.469Z] + ./coverage.out bytes=122153 [2024-05-27T07:08:16.469Z] ==> Appending adjustments [2024-05-27T07:08:16.469Z] https://docs.codecov.io/docs/fixing-reports [2024-05-27T07:08:16.727Z] + Found adjustments [2024-05-27T07:08:16.727Z] ==> Gzipping contents [2024-05-27T07:08:16.727Z] 20K /tmp/codecov.a78bIq.gz [2024-05-27T07:08:16.727Z] ==> Uploading reports [2024-05-27T07:08:16.727Z] url: https://codecov.io [2024-05-27T07:08:16.727Z] query: branch=main&commit=ea2a9f5095d438847c4770173d896939b70fc875&build=285&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F285%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-27T07:08:16.727Z] -> Pinging Codecov [2024-05-27T07:08:16.727Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=ea2a9f5095d438847c4770173d896939b70fc875&build=285&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F285%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-27T07:08:16.727Z] -> Uploading to [2024-05-27T07:08:16.727Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-27/7E55EF52A471D76F132DFD9A03CDDE97/ea2a9f5095d438847c4770173d896939b70fc875/f33f448a-78b3-44c9-b810-42673fb86e54.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240527%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240527T070816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b52938211f6489de7ff4cb7541d7d342e214010c818adb906c81a5782062c0ee [2024-05-27T07:08:16.727Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-27T07:08:16.727Z] Dload Upload Total Spent Left Speed [2024-05-27T07:08:16.987Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16715 0 0 100 16715 0 73634 --:--:-- --:--:-- --:--:-- 73634 [2024-05-27T07:08:16.987Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ea2a9f5095d438847c4770173d896939b70fc875 [Pipeline] } [2024-05-27T07:08:16.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-27T07:08:17.210Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-27T07:08:17.229Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T07:08:17.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T07:08:17.531Z] [2024-05-27T07:08:17.531Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T07:08:17.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T07:08:17.827Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-27T07:08:17.827Z] 619be1103602: Already exists [2024-05-27T07:08:17.827Z] f8ea3408117e: Pulling fs layer [2024-05-27T07:08:17.827Z] 91320369b822: Pulling fs layer [2024-05-27T07:08:17.828Z] 0406650e8295: Pulling fs layer [2024-05-27T07:08:17.828Z] 4f4fb700ef54: Pulling fs layer [2024-05-27T07:08:17.828Z] 96d80e3f36e1: Pulling fs layer [2024-05-27T07:08:17.828Z] bcf3aedb951c: Pulling fs layer [2024-05-27T07:08:17.828Z] 4f4fb700ef54: Waiting [2024-05-27T07:08:17.828Z] bcf3aedb951c: Waiting [2024-05-27T07:08:17.828Z] 0406650e8295: Download complete [2024-05-27T07:08:17.828Z] f8ea3408117e: Verifying Checksum [2024-05-27T07:08:17.828Z] f8ea3408117e: Download complete [2024-05-27T07:08:17.828Z] 4f4fb700ef54: Verifying Checksum [2024-05-27T07:08:17.828Z] 4f4fb700ef54: Download complete [2024-05-27T07:08:17.828Z] f8ea3408117e: Pull complete [2024-05-27T07:08:18.086Z] 96d80e3f36e1: Verifying Checksum [2024-05-27T07:08:18.086Z] 96d80e3f36e1: Download complete [2024-05-27T07:08:18.343Z] 91320369b822: Verifying Checksum [2024-05-27T07:08:18.343Z] 91320369b822: Download complete [2024-05-27T07:08:18.908Z] bcf3aedb951c: Verifying Checksum [2024-05-27T07:08:18.908Z] bcf3aedb951c: Download complete [2024-05-27T07:08:22.191Z] 91320369b822: Pull complete [2024-05-27T07:08:22.191Z] 0406650e8295: Pull complete [2024-05-27T07:08:22.191Z] 4f4fb700ef54: Pull complete [2024-05-27T07:08:22.191Z] 96d80e3f36e1: Pull complete [2024-05-27T07:08:25.618Z] bcf3aedb951c: Pull complete [2024-05-27T07:08:25.618Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-27T07:08:25.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-27T07:08:25.618Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T07:08:25.782Z] prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container [2024-05-27T07:08:25.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-05-27T07:08:28.834Z] $ docker top a8f03f40ac3361cf87846b82290006a2f83edb4cbe67602287c81dc1d6f71933 -eo pid,comm [Pipeline] { [Pipeline] echo [2024-05-27T07:08:28.911Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2024-05-27T07:08:29.192Z] + set -o pipefail [2024-05-27T07:08:29.192Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2024-05-27T07:08:34.486Z] [2024-05-27T07:08:34.486Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main... [2024-05-27T07:08:34.486Z] [2024-05-27T07:08:34.486Z] 'go list -json -deps ./...' command failed with error: go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.32 [2024-05-27T07:08:34.486Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.20 [2024-05-27T07:08:34.487Z] go: downloading github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 [2024-05-27T07:08:34.487Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.20 [2024-05-27T07:08:34.487Z] go: downloading github.com/labstack/echo/v4 v4.11.4 [2024-05-27T07:08:34.487Z] go: downloading github.com/google/uuid v1.6.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/hashicorp/go-multierror v1.1.1 [2024-05-27T07:08:34.487Z] go: downloading gopkg.in/yaml.v3 v3.0.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/stretchr/testify v1.9.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2024-05-27T07:08:34.487Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 [2024-05-27T07:08:34.487Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.7 [2024-05-27T07:08:34.487Z] go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.8 [2024-05-27T07:08:34.487Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.5 [2024-05-27T07:08:34.487Z] go: downloading github.com/openziti/sdk-golang v0.23.37 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-kit/log v0.2.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/fxamacker/cbor/v2 v2.6.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-playground/validator/v10 v10.20.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/sirupsen/logrus v1.9.3 [2024-05-27T07:08:34.487Z] go: downloading github.com/mitchellh/copystructure v1.2.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/mitchellh/mapstructure v1.5.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/hashicorp/errwrap v1.1.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc [2024-05-27T07:08:34.487Z] go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 [2024-05-27T07:08:34.487Z] go: downloading github.com/stretchr/objx v0.5.2 [2024-05-27T07:08:34.487Z] go: downloading github.com/labstack/gommon v0.4.2 [2024-05-27T07:08:34.487Z] go: downloading golang.org/x/crypto v0.23.0 [2024-05-27T07:08:34.487Z] go: downloading golang.org/x/net v0.25.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/golang-jwt/jwt v3.2.2+incompatible [2024-05-27T07:08:34.487Z] go: downloading github.com/valyala/fasttemplate v1.2.2 [2024-05-27T07:08:34.487Z] go: downloading golang.org/x/time v0.5.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/spiffe/go-spiffe/v2 v2.1.7 [2024-05-27T07:08:34.487Z] go: downloading github.com/gorilla/websocket v1.5.1 [2024-05-27T07:08:34.487Z] go: downloading golang.org/x/sync v0.7.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-logfmt/logfmt v0.5.1 [2024-05-27T07:08:34.487Z] go: downloading golang.org/x/sys v0.20.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/mitchellh/reflectwalk v1.0.2 [2024-05-27T07:08:34.487Z] go: downloading github.com/x448/float16 v0.8.4 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-openapi/runtime v0.28.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-openapi/strfmt v0.23.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-resty/resty/v2 v2.13.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/golang-jwt/jwt/v5 v5.2.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/michaelquigley/pfxlog v0.6.10 [2024-05-27T07:08:34.487Z] go: downloading github.com/openziti/edge-api v0.26.19 [2024-05-27T07:08:34.487Z] go: downloading github.com/openziti/identity v1.0.77 [2024-05-27T07:08:34.487Z] go: downloading github.com/openziti/foundation/v2 v2.0.45 [2024-05-27T07:08:34.487Z] go: downloading github.com/orcaman/concurrent-map/v2 v2.0.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/pkg/errors v0.9.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/zitadel/oidc/v2 v2.12.0 [2024-05-27T07:08:34.487Z] go: downloading golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63 [2024-05-27T07:08:34.487Z] go: downloading golang.org/x/oauth2 v0.20.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/openziti/channel/v2 v2.0.130 [2024-05-27T07:08:34.487Z] go: downloading github.com/openziti/secretstream v0.1.20 [2024-05-27T07:08:34.487Z] go: downloading github.com/openziti/transport/v2 v2.0.133 [2024-05-27T07:08:34.487Z] go: downloading github.com/cenkalti/backoff/v4 v4.3.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/kataras/go-events v0.0.3 [2024-05-27T07:08:34.487Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2024-05-27T07:08:34.487Z] go: downloading github.com/openziti/metrics v1.2.54 [2024-05-27T07:08:34.487Z] go: downloading github.com/gabriel-vasile/mimetype v1.4.3 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-playground/universal-translator v0.18.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/leodido/go-urn v1.4.0 [2024-05-27T07:08:34.487Z] go: downloading golang.org/x/text v0.15.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/mattn/go-colorable v0.1.13 [2024-05-27T07:08:34.487Z] go: downloading github.com/mattn/go-isatty v0.0.20 [2024-05-27T07:08:34.487Z] go: downloading github.com/hashicorp/consul/api v1.28.3 [2024-05-27T07:08:34.487Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2024-05-27T07:08:34.487Z] go: downloading github.com/spf13/cast v1.6.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/valyala/bytebufferpool v1.0.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/zeebo/errs v1.3.0 [2024-05-27T07:08:34.487Z] go: downloading google.golang.org/grpc v1.60.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-openapi/errors v0.22.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-openapi/swag v0.23.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/opentracing/opentracing-go v1.2.0 [2024-05-27T07:08:34.487Z] go: downloading go.opentelemetry.io/otel v1.25.0 [2024-05-27T07:08:34.487Z] go: downloading go.opentelemetry.io/otel/trace v1.25.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 [2024-05-27T07:08:34.487Z] go: downloading github.com/oklog/ulid v1.3.1 [2024-05-27T07:08:34.487Z] go: downloading go.mongodb.org/mongo-driver v1.15.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d [2024-05-27T07:08:34.487Z] go: downloading github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa [2024-05-27T07:08:34.487Z] go: downloading github.com/go-openapi/validate v0.24.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/fsnotify/fsnotify v1.7.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/speps/go-hashids v2.0.0+incompatible [2024-05-27T07:08:34.487Z] go: downloading github.com/golang/protobuf v1.5.4 [2024-05-27T07:08:34.487Z] go: downloading google.golang.org/protobuf v1.34.1 [2024-05-27T07:08:34.487Z] go: downloading gopkg.in/square/go-jose.v2 v2.6.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/gorilla/securecookie v1.1.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/gorilla/schema v1.2.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/muhlemmer/gu v0.3.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/mitchellh/go-ps v1.0.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/shirou/gopsutil/v3 v3.24.4 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-playground/locales v0.14.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-jose/go-jose/v3 v3.0.3 [2024-05-27T07:08:34.487Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.2 [2024-05-27T07:08:34.487Z] go: downloading github.com/hashicorp/go-hclog v1.5.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2024-05-27T07:08:34.487Z] go: downloading github.com/hashicorp/serf v0.10.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/mailru/easyjson v0.7.7 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-openapi/analysis v0.23.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-openapi/loads v0.22.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-openapi/spec v0.21.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-logr/logr v1.4.1 [2024-05-27T07:08:34.487Z] go: downloading go.opentelemetry.io/otel/metric v1.25.0 [2024-05-27T07:08:34.487Z] go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b [2024-05-27T07:08:34.487Z] go: downloading golang.org/x/term v0.20.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-openapi/jsonpointer v0.21.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/tklauser/go-sysconf v0.3.12 [2024-05-27T07:08:34.487Z] go: downloading github.com/fatih/color v1.16.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/josharian/intern v1.0.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/armon/go-metrics v0.4.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-logr/stdr v1.2.2 [2024-05-27T07:08:34.487Z] go: downloading github.com/parallaxsecond/parsec-client-go v0.0.0-20221025095442-f0a77d263cf9 [2024-05-27T07:08:34.487Z] go: downloading github.com/go-openapi/jsonreference v0.21.0 [2024-05-27T07:08:34.487Z] go: downloading github.com/tklauser/numcpus v0.6.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 [2024-05-27T07:08:34.487Z] go: downloading github.com/hashicorp/golang-lru v0.5.4 [2024-05-27T07:08:34.487Z] error obtaining VCS status: exit status 128 [2024-05-27T07:08:34.487Z] Use -buildvcs=false to disable VCS stamping. [2024-05-27T07:08:34.487Z] [Pipeline] } [2024-05-27T07:08:35.443Z] $ docker stop --time=1 a8f03f40ac3361cf87846b82290006a2f83edb4cbe67602287c81dc1d6f71933 [2024-05-27T07:08:40.134Z] $ docker rm -f --volumes a8f03f40ac3361cf87846b82290006a2f83edb4cbe67602287c81dc1d6f71933 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-27T07:08:40.535Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-27T07:08:41.318Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2024-05-27T07:08:41.318Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-27T07:08:41.318Z] total 16 [2024-05-27T07:08:41.318Z] drwxr-xr-x 3 root root 4096 May 27 06:52 . [2024-05-27T07:08:41.318Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 06:52 .. [2024-05-27T07:08:41.318Z] drwxr-xr-x 2 root root 4096 May 27 06:52 cost [2024-05-27T07:08:41.318Z] -rw-r--r-- 1 root root 85 May 27 06:52 cost.csv [2024-05-27T07:08:41.318Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-27T07:08:41.318Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2024-05-27T07:08:41.318Z] total 16 [2024-05-27T07:08:41.318Z] drwxr-xr-x 3 jenkins jenkins 4096 May 27 06:52 . [2024-05-27T07:08:41.318Z] drwxrwxr-x 12 jenkins jenkins 4096 May 27 06:52 .. [2024-05-27T07:08:41.318Z] drwxr-xr-x 2 jenkins jenkins 4096 May 27 06:52 cost [2024-05-27T07:08:41.318Z] -rw-r--r-- 1 jenkins jenkins 85 May 27 06:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-27T07:08:41.607Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T07:08:42.467Z] ---> package-listing.sh [2024-05-27T07:08:42.467Z] ++ facter osfamily [2024-05-27T07:08:42.467Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-27T07:08:42.727Z] + OS_FAMILY=debian [2024-05-27T07:08:42.727Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2024-05-27T07:08:42.727Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-27T07:08:42.727Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-27T07:08:42.727Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-27T07:08:42.727Z] + PACKAGES=/tmp/packages_start.txt [2024-05-27T07:08:42.727Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-05-27T07:08:42.727Z] + PACKAGES=/tmp/packages_end.txt [2024-05-27T07:08:42.727Z] + case "${OS_FAMILY}" in [2024-05-27T07:08:42.727Z] + dpkg -l [2024-05-27T07:08:42.727Z] + grep '^ii' [2024-05-27T07:08:42.727Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-27T07:08:42.727Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-27T07:08:42.727Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-27T07:08:42.727Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2024-05-27T07:08:42.727Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2024-05-27T07:08:42.727Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2024-05-27T07:08:42.737Z] 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-27T07:08:43.016Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-27T07:08:43.582Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-27T07:08:43.582Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-27T07:08:43.662Z] prd-ubuntu20.04-docker-8c-8g-825 does not seem to be running inside a container [2024-05-27T07:08:43.699Z] $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-27T07:08:43.978Z] $ docker top 3869b47fa22ecce5afe8f14482ccb2b758f4fdc6aa1c07c300dfbe47da76422e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-27T07:08:44.315Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-27T07:08:44.596Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-27T07:08:44.882Z] + ls /var/log/sa-host [2024-05-27T07:08:44.882Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-27T07:08:45.086Z] provisioning config files... [2024-05-27T07:08:45.094Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10733669995798465704tmp [Pipeline] { [Pipeline] echo [2024-05-27T07:08:45.114Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T07:08:45.397Z] ---> create-netrc.sh [Pipeline] } [2024-05-27T07:08:45.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-27T07:08:45.748Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-27T07:08:45.756Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T07:08:46.036Z] ---> sudo-logs.sh [2024-05-27T07:08:46.036Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-27T07:08:46.059Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T07:08:46.342Z] ---> job-cost.sh [2024-05-27T07:08:46.343Z] lf-activate-venv: SKIPPING [2024-05-27T07:08:46.343Z] DEBUG: total: 0.2199999988079071 [2024-05-27T07:08:46.343Z] INFO: Retrieving Stack Cost... [2024-05-27T07:08:46.910Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-27T07:08:47.476Z] INFO: Archiving Costs [Pipeline] echo [2024-05-27T07:08:47.485Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-27T07:08:47.768Z] ---> logs-deploy.sh [2024-05-27T07:08:47.768Z] lf-activate-venv: SKIPPING [2024-05-27T07:08:47.768Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/285 [2024-05-27T07:08:47.768Z] INFO: archiving workspace using pattern(s): [2024-05-27T07:08:48.702Z] Archives upload complete. [2024-05-27T07:08:48.961Z] INFO: archiving logs to Nexus