Pull request #1580 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ethan256 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 97b36af7baff2da76e29dc2359062fa76ab64ed3 rather than 1f7dfa0cee49005af5cff3b6997ca0c64185fcea Obtained Jenkinsfile from 97b36af7baff2da76e29dc2359062fa76ab64ed3 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh18211787786540406207.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh13324738102064293981.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7285922027776326104.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14933471496344711813.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9117004495218904796.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-668 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1580 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 1f7dfa0cee49005af5cff3b6997ca0c64185fcea Merge succeeded, producing 1f7dfa0cee49005af5cff3b6997ca0c64185fcea Checking out Revision 1f7dfa0cee49005af5cff3b6997ca0c64185fcea (PR-1580) > git config core.sparsecheckout # timeout=10 > git checkout -f 1f7dfa0cee49005af5cff3b6997ca0c64185fcea # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f7dfa0cee49005af5cff3b6997ca0c64185fcea # timeout=10 Commit message: "fix: fix ci errcheck" > git rev-list --no-walk 172d6e4a11e37274c9c8e5c582891029179f4345 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-24T06:24:33.904Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-24T06:24:34.001Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-24T06:24:34.023Z] ========================================================= [2024-05-24T06:24:34.023Z] EdgeX Global Pipelines Version Info [2024-05-24T06:24:34.023Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:24:34.750Z] ------------------- [2024-05-24T06:24:34.750Z] stable info: [2024-05-24T06:24:34.750Z] ------------------- [2024-05-24T06:24:34.750Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-24T06:24:34.750Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-24T06:24:34.750Z] Message: update stable to v1.0.258 [2024-05-24T06:24:35.319Z] ------------------- [2024-05-24T06:24:35.319Z] experimental info: [2024-05-24T06:24:35.319Z] ------------------- [2024-05-24T06:24:35.319Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-24T06:24:35.319Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-24T06:24:35.319Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-24T06:24:35.400Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-05-24T06:24:35.422Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-05-24T06:24:35.442Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-24T06:24:35.468Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-24T06:24:35.493Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-24T06:24:35.517Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-24T06:24:35.542Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-24T06:24:35.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-05-24T06:24:35.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-24T06:24:35.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-24T06:24:35.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-24T06:24:35.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-05-24T06:24:35.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-24T06:24:35.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-24T06:24:35.727Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T06:24:35.751Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T06:24:35.775Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T06:24:35.800Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T06:24:35.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-24T06:24:35.847Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-24T06:24:35.875Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-24T06:24:35.896Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-05-24T06:24:35.920Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-24T06:24:35.939Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-24T06:24:35.959Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-24T06:24:35.983Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-24T06:24:36.003Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-24T06:24:36.023Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1580 [Pipeline] echo [2024-05-24T06:24:36.050Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1580 [Pipeline] echo [2024-05-24T06:24:36.074Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1580 [Pipeline] echo [2024-05-24T06:24:36.095Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f7dfa0cee49005af5cff3b6997ca0c64185fcea [Pipeline] echo [2024-05-24T06:24:36.118Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f7dfa0 [Pipeline] echo [2024-05-24T06:24:36.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T06:24:36.204Z] provisioning config files... [2024-05-24T06:24:36.219Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config13883146410587178077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:24:36.587Z] ---> ****-login.sh [2024-05-24T06:24:36.588Z] nexus3.edgexfoundry.org:10001 [2024-05-24T06:24:36.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:24:36.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:24:36.852Z] Configure a credential helper to remove this warning. See [2024-05-24T06:24:36.852Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:24:36.852Z] [2024-05-24T06:24:36.852Z] Login Succeeded [2024-05-24T06:24:36.852Z] nexus3.edgexfoundry.org:10002 [2024-05-24T06:24:36.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:24:37.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:24:37.113Z] Configure a credential helper to remove this warning. See [2024-05-24T06:24:37.113Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:24:37.113Z] [2024-05-24T06:24:37.113Z] Login Succeeded [2024-05-24T06:24:37.113Z] nexus3.edgexfoundry.org:10003 [2024-05-24T06:24:37.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:24:37.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:24:37.113Z] Configure a credential helper to remove this warning. See [2024-05-24T06:24:37.113Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:24:37.113Z] [2024-05-24T06:24:37.113Z] Login Succeeded [2024-05-24T06:24:37.113Z] nexus3.edgexfoundry.org:10004 [2024-05-24T06:24:37.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:24:37.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:24:37.373Z] Configure a credential helper to remove this warning. See [2024-05-24T06:24:37.374Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:24:37.374Z] [2024-05-24T06:24:37.374Z] Login Succeeded [2024-05-24T06:24:37.374Z] ****.io [2024-05-24T06:24:37.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:24:37.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:24:37.633Z] Configure a credential helper to remove this warning. See [2024-05-24T06:24:37.633Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:24:37.633Z] [2024-05-24T06:24:37.633Z] Login Succeeded [2024-05-24T06:24:37.633Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T06:24:37.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-24T06:24:38.067Z] + git rev-list -1 --merges 1f7dfa0cee49005af5cff3b6997ca0c64185fcea~1..1f7dfa0cee49005af5cff3b6997ca0c64185fcea [Pipeline] echo [2024-05-24T06:24:38.095Z] -----------> git rev-list -1 --merges 1f7dfa0cee49005af5cff3b6997ca0c64185fcea~1..1f7dfa0cee49005af5cff3b6997ca0c64185fcea 1f7dfa0cee49005af5cff3b6997ca0c64185fcea [false] [Pipeline] sh [2024-05-24T06:24:38.384Z] + git log --format=format:%s -1 1f7dfa0cee49005af5cff3b6997ca0c64185fcea [Pipeline] echo [2024-05-24T06:24:38.400Z] ========================================================= [2024-05-24T06:24:38.400Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-24T06:24:38.400Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T06:24:38.746Z] + git log --format=format:%s -1 1f7dfa0cee49005af5cff3b6997ca0c64185fcea [Pipeline] echo [2024-05-24T06:24:38.756Z] [semverPrep] GIT_COMMIT: 1f7dfa0cee49005af5cff3b6997ca0c64185fcea, Commit Message: fix: fix ci errcheck [Pipeline] echo [2024-05-24T06:24:38.767Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-24T06:24:39.155Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-24T06:24:39.155Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-24T06:24:39.155Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-24T06:24:39.155Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-24T06:24:39.155Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-24T06:24:39.155Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-24T06:24:39.155Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:24:39.576Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T06:24:39.577Z] [2024-05-24T06:24:39.577Z] 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-24T06:24:39.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T06:24:39.875Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-24T06:24:39.875Z] b85a868b505f: Pulling fs layer [2024-05-24T06:24:39.875Z] e2be974225ed: Pulling fs layer [2024-05-24T06:24:39.875Z] 339a4e72a1f5: Pulling fs layer [2024-05-24T06:24:39.875Z] 988bab9f4d93: Pulling fs layer [2024-05-24T06:24:39.875Z] 1469e6f7b9e6: Pulling fs layer [2024-05-24T06:24:39.875Z] eaf3925da568: Pulling fs layer [2024-05-24T06:24:39.875Z] bab4dde63d76: Pulling fs layer [2024-05-24T06:24:39.875Z] bde34c3a00c8: Pulling fs layer [2024-05-24T06:24:39.875Z] b352a97aabf1: Pulling fs layer [2024-05-24T06:24:39.875Z] 4872d77fe225: Pulling fs layer [2024-05-24T06:24:39.875Z] 5851b861e8e6: Pulling fs layer [2024-05-24T06:24:39.875Z] bab4dde63d76: Waiting [2024-05-24T06:24:39.875Z] bde34c3a00c8: Waiting [2024-05-24T06:24:39.875Z] b352a97aabf1: Waiting [2024-05-24T06:24:39.875Z] 4872d77fe225: Waiting [2024-05-24T06:24:39.875Z] 5851b861e8e6: Waiting [2024-05-24T06:24:39.875Z] 988bab9f4d93: Waiting [2024-05-24T06:24:39.875Z] 1469e6f7b9e6: Waiting [2024-05-24T06:24:39.875Z] eaf3925da568: Waiting [2024-05-24T06:24:39.875Z] e2be974225ed: Download complete [2024-05-24T06:24:39.875Z] 988bab9f4d93: Download complete [2024-05-24T06:24:39.875Z] 1469e6f7b9e6: Verifying Checksum [2024-05-24T06:24:39.875Z] 1469e6f7b9e6: Download complete [2024-05-24T06:24:39.875Z] 339a4e72a1f5: Verifying Checksum [2024-05-24T06:24:39.875Z] 339a4e72a1f5: Download complete [2024-05-24T06:24:39.875Z] eaf3925da568: Verifying Checksum [2024-05-24T06:24:39.875Z] eaf3925da568: Download complete [2024-05-24T06:24:40.135Z] bde34c3a00c8: Download complete [2024-05-24T06:24:40.135Z] b352a97aabf1: Verifying Checksum [2024-05-24T06:24:40.135Z] b352a97aabf1: Download complete [2024-05-24T06:24:40.135Z] 4872d77fe225: Verifying Checksum [2024-05-24T06:24:40.135Z] 4872d77fe225: Download complete [2024-05-24T06:24:40.135Z] 5851b861e8e6: Verifying Checksum [2024-05-24T06:24:40.135Z] 5851b861e8e6: Download complete [2024-05-24T06:24:40.135Z] b85a868b505f: Verifying Checksum [2024-05-24T06:24:40.135Z] b85a868b505f: Download complete [2024-05-24T06:24:40.394Z] bab4dde63d76: Verifying Checksum [2024-05-24T06:24:40.394Z] bab4dde63d76: Download complete [2024-05-24T06:24:41.333Z] b85a868b505f: Pull complete [2024-05-24T06:24:41.592Z] e2be974225ed: Pull complete [2024-05-24T06:24:41.851Z] 339a4e72a1f5: Pull complete [2024-05-24T06:24:41.851Z] 988bab9f4d93: Pull complete [2024-05-24T06:24:42.112Z] 1469e6f7b9e6: Pull complete [2024-05-24T06:24:42.370Z] eaf3925da568: Pull complete [2024-05-24T06:24:44.273Z] bab4dde63d76: Pull complete [2024-05-24T06:24:44.273Z] bde34c3a00c8: Pull complete [2024-05-24T06:24:44.273Z] b352a97aabf1: Pull complete [2024-05-24T06:24:44.273Z] 4872d77fe225: Pull complete [2024-05-24T06:24:44.273Z] 5851b861e8e6: Pull complete [2024-05-24T06:24:44.273Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-24T06:24:44.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T06:24:44.273Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T06:24:44.417Z] prd-ubuntu20.04-docker-8c-8g-668 does not seem to be running inside a container [2024-05-24T06:24:44.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-24T06:24:47.760Z] $ docker top 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 -eo pid,comm [2024-05-24T06:24:47.817Z] 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-24T06:24:47.817Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-24T06:24:47.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T06:24:47.872Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T06:24:47.994Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T06:24:47.999Z] $ docker exec 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 ssh-agent [2024-05-24T06:24:48.096Z] SSH_AUTH_SOCK=/tmp/ssh-TcIzDYIgK1fM/agent.32 [2024-05-24T06:24:48.096Z] SSH_AGENT_PID=38 [2024-05-24T06:24:48.102Z] Running ssh-add (command line suppressed) [2024-05-24T06:24:48.202Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_9452531414924454403.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_9452531414924454403.key) [2024-05-24T06:24:48.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T06:24:48.508Z] + git tag --points-at HEAD [Pipeline] } [2024-05-24T06:24:48.522Z] $ docker exec --env ******** --env ******** 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 ssh-agent -k [2024-05-24T06:24:48.629Z] unset SSH_AUTH_SOCK; [2024-05-24T06:24:48.629Z] unset SSH_AGENT_PID; [2024-05-24T06:24:48.629Z] echo Agent pid 38 killed; [2024-05-24T06:24:48.639Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-24T06:24:48.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T06:24:48.677Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T06:24:48.788Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T06:24:48.793Z] $ docker exec 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 ssh-agent [2024-05-24T06:24:48.900Z] SSH_AUTH_SOCK=/tmp/ssh-EBRBTwNoPfIX/agent.72 [2024-05-24T06:24:48.900Z] SSH_AGENT_PID=78 [2024-05-24T06:24:48.904Z] Running ssh-add (command line suppressed) [2024-05-24T06:24:48.991Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_2823322643912964655.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_2823322643912964655.key) [2024-05-24T06:24:49.006Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T06:24:49.297Z] + git semver init [2024-05-24T06:24:49.556Z] 2024-05-24 06:24:49,501 [run_init] DEBUG init version:0.0.0 force:False [2024-05-24T06:24:49.556Z] 2024-05-24 06:24:49,503 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver [2024-05-24T06:24:49.556Z] 2024-05-24 06:24:49,503 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver [2024-05-24T06:24:49.556Z] 2024-05-24 06:24:49,503 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580, universal_newlines=False, shell=None, istream=None) [2024-05-24T06:24:50.934Z] 2024-05-24 06:24:50,855 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.git/info/exclude [2024-05-24T06:24:50.934Z] 2024-05-24 06:24:50,856 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 with force:False [2024-05-24T06:24:50.934Z] 2024-05-24 06:24:50,856 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 [2024-05-24T06:24:50.934Z] 2024-05-24 06:24:50,862 [execute] INFO git cat-file --batch-check [2024-05-24T06:24:50.934Z] 2024-05-24 06:24:50,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) [2024-05-24T06:24:50.934Z] 2024-05-24 06:24:50,870 [execute] INFO git cat-file --batch [2024-05-24T06:24:50.934Z] 2024-05-24 06:24:50,870 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) [2024-05-24T06:24:50.934Z] 2024-05-24 06:24:50,876 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 [2024-05-24T06:24:50.934Z] 0.0.0 [Pipeline] } [2024-05-24T06:24:50.945Z] $ docker exec --env ******** --env ******** 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 ssh-agent -k [2024-05-24T06:24:51.046Z] unset SSH_AUTH_SOCK; [2024-05-24T06:24:51.046Z] unset SSH_AGENT_PID; [2024-05-24T06:24:51.047Z] echo Agent pid 78 killed; [2024-05-24T06:24:51.054Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-24T06:24:51.376Z] + git semver [Pipeline] } [2024-05-24T06:24:51.650Z] $ docker stop --time=1 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 [2024-05-24T06:24:52.937Z] $ docker rm -f --volumes 29eef16bdbc3421cba223fd3fdc9eb0267b51935dae001b694a77881ae326756 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T06:24:53.277Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-24T06:24:53.502Z] Stashed 1 file(s) [Pipeline] echo [2024-05-24T06:24:53.504Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T06:24:53.684Z] provisioning config files... [2024-05-24T06:24:53.694Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config14678177575237727018tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:24:53.999Z] ---> ****-login.sh [2024-05-24T06:24:54.000Z] nexus3.edgexfoundry.org:10001 [2024-05-24T06:24:54.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:24:54.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:24:54.000Z] Configure a credential helper to remove this warning. See [2024-05-24T06:24:54.000Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:24:54.000Z] [2024-05-24T06:24:54.000Z] Login Succeeded [2024-05-24T06:24:54.000Z] nexus3.edgexfoundry.org:10002 [2024-05-24T06:24:54.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:24:54.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:24:54.000Z] Configure a credential helper to remove this warning. See [2024-05-24T06:24:54.000Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:24:54.000Z] [2024-05-24T06:24:54.000Z] Login Succeeded [2024-05-24T06:24:54.000Z] nexus3.edgexfoundry.org:10003 [2024-05-24T06:24:54.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:24:54.259Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:24:54.259Z] Configure a credential helper to remove this warning. See [2024-05-24T06:24:54.259Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:24:54.259Z] [2024-05-24T06:24:54.259Z] Login Succeeded [2024-05-24T06:24:54.259Z] nexus3.edgexfoundry.org:10004 [2024-05-24T06:24:54.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:24:54.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:24:54.260Z] Configure a credential helper to remove this warning. See [2024-05-24T06:24:54.260Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:24:54.260Z] [2024-05-24T06:24:54.260Z] Login Succeeded [2024-05-24T06:24:54.260Z] ****.io [2024-05-24T06:24:54.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:24:54.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:24:54.519Z] Configure a credential helper to remove this warning. See [2024-05-24T06:24:54.519Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:24:54.519Z] [2024-05-24T06:24:54.519Z] Login Succeeded [2024-05-24T06:24:54.519Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T06:24:54.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T06:24:54.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T06:24:54.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T06:24:54.729Z] ========================================================= [2024-05-24T06:24:54.729Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-05-24T06:24:54.729Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:24:55.053Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-05-24T06:24:55.053Z] Sending build context to Docker daemon 25.8MB [2024-05-24T06:24:55.053Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T06:24:55.053Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-24T06:24:55.323Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-05-24T06:24:55.323Z] 619be1103602: Pulling fs layer [2024-05-24T06:24:55.323Z] 7862e08f4a3e: Pulling fs layer [2024-05-24T06:24:55.323Z] 5df492c9dc93: Pulling fs layer [2024-05-24T06:24:55.323Z] 7629e6793208: Pulling fs layer [2024-05-24T06:24:55.323Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T06:24:55.323Z] fb5054dd5b73: Pulling fs layer [2024-05-24T06:24:55.323Z] eeca6798cff9: Pulling fs layer [2024-05-24T06:24:55.323Z] aa269ceb94a6: Pulling fs layer [2024-05-24T06:24:55.323Z] ada007ff1a6a: Pulling fs layer [2024-05-24T06:24:55.323Z] 4f4fb700ef54: Waiting [2024-05-24T06:24:55.323Z] fb5054dd5b73: Waiting [2024-05-24T06:24:55.323Z] 7629e6793208: Waiting [2024-05-24T06:24:55.323Z] aa269ceb94a6: Waiting [2024-05-24T06:24:55.323Z] ada007ff1a6a: Waiting [2024-05-24T06:24:55.323Z] eeca6798cff9: Waiting [2024-05-24T06:24:55.323Z] 7862e08f4a3e: Download complete [2024-05-24T06:24:55.323Z] 7629e6793208: Download complete [2024-05-24T06:24:55.323Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T06:24:55.323Z] 4f4fb700ef54: Download complete [2024-05-24T06:24:55.323Z] fb5054dd5b73: Download complete [2024-05-24T06:24:55.323Z] 619be1103602: Download complete [2024-05-24T06:24:55.323Z] eeca6798cff9: Verifying Checksum [2024-05-24T06:24:55.323Z] eeca6798cff9: Download complete [2024-05-24T06:24:55.582Z] 619be1103602: Pull complete [2024-05-24T06:24:55.582Z] 7862e08f4a3e: Pull complete [2024-05-24T06:24:55.582Z] ada007ff1a6a: Verifying Checksum [2024-05-24T06:24:55.582Z] ada007ff1a6a: Download complete [2024-05-24T06:24:55.840Z] 5df492c9dc93: Verifying Checksum [2024-05-24T06:24:55.840Z] 5df492c9dc93: Download complete [2024-05-24T06:24:56.098Z] aa269ceb94a6: Verifying Checksum [2024-05-24T06:24:56.098Z] aa269ceb94a6: Download complete [2024-05-24T06:24:59.395Z] 5df492c9dc93: Pull complete [2024-05-24T06:24:59.395Z] 7629e6793208: Pull complete [2024-05-24T06:24:59.652Z] 4f4fb700ef54: Pull complete [2024-05-24T06:24:59.652Z] fb5054dd5b73: Pull complete [2024-05-24T06:24:59.909Z] eeca6798cff9: Pull complete [2024-05-24T06:25:02.447Z] aa269ceb94a6: Pull complete [2024-05-24T06:25:02.448Z] ada007ff1a6a: Pull complete [2024-05-24T06:25:02.448Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-05-24T06:25:02.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-05-24T06:25:02.448Z] ---> f489d0715acc [2024-05-24T06:25:02.448Z] Step 3/10 : ARG MAKE=make build [2024-05-24T06:25:06.635Z] ---> Running in 1d17a3540902 [2024-05-24T06:25:06.635Z] Removing intermediate container 1d17a3540902 [2024-05-24T06:25:06.635Z] ---> 62bc2c2a3afa [2024-05-24T06:25:06.635Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-24T06:25:06.635Z] ---> Running in 97bbee669b16 [2024-05-24T06:25:06.635Z] Removing intermediate container 97bbee669b16 [2024-05-24T06:25:06.635Z] ---> abbed35195ea [2024-05-24T06:25:06.635Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T06:25:06.635Z] ---> Running in 94696d0cdb12 [2024-05-24T06:25:06.635Z] Removing intermediate container 94696d0cdb12 [2024-05-24T06:25:06.635Z] ---> 137d6d9db91a [2024-05-24T06:25:06.635Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-24T06:25:06.635Z] ---> Running in b781afb02261 [2024-05-24T06:25:06.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T06:25:07.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T06:25:07.412Z] OK: 264 MiB in 52 packages [2024-05-24T06:25:07.671Z] Removing intermediate container b781afb02261 [2024-05-24T06:25:07.671Z] ---> e8fb3bee2ccf [2024-05-24T06:25:07.671Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-24T06:25:07.930Z] ---> e3015474d7c2 [2024-05-24T06:25:07.930Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T06:25:07.930Z] ---> Running in 70ec57db5c7b [2024-05-24T06:25:08.633Z] Still waiting to schedule task [2024-05-24T06:25:08.633Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-24T06:26:29.407Z] Removing intermediate container 70ec57db5c7b [2024-05-24T06:26:29.407Z] ---> d6613a95583d [2024-05-24T06:26:29.407Z] Step 9/10 : COPY . . [2024-05-24T06:26:29.407Z] ---> 6eaafe71b828 [2024-05-24T06:26:29.407Z] Step 10/10 : RUN ${MAKE} [2024-05-24T06:26:29.407Z] ---> Running in bdc5278f87ee [2024-05-24T06:26:29.407Z] noop [2024-05-24T06:26:29.407Z] Removing intermediate container bdc5278f87ee [2024-05-24T06:26:29.407Z] ---> 1120467406c5 [2024-05-24T06:26:29.407Z] Successfully built 1120467406c5 [2024-05-24T06:26:29.407Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:26:29.743Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T06:26:29.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T06:26:29.829Z] prd-ubuntu20.04-docker-8c-8g-668 does not seem to be running inside a container [2024-05-24T06:26:29.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-24T06:26:30.195Z] $ docker top 0acc9be300a8104e8a61f9ba0924098e69a9d6edbcddd1b102d34fecbab6b344 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T06:26:30.549Z] + go version [2024-05-24T06:26:30.549Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-24T06:26:30.561Z] $ docker stop --time=1 0acc9be300a8104e8a61f9ba0924098e69a9d6edbcddd1b102d34fecbab6b344 [2024-05-24T06:26:31.807Z] $ docker rm -f --volumes 0acc9be300a8104e8a61f9ba0924098e69a9d6edbcddd1b102d34fecbab6b344 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:26:32.231Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T06:26:32.231Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T06:26:32.313Z] prd-ubuntu20.04-docker-8c-8g-668 does not seem to be running inside a container [2024-05-24T06:26:32.343Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-05-24T06:26:32.641Z] $ docker top 84de5086d04862fd6b4babe4df80a9f86e9f99bc049a06a97e6c34706452938f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T06:26:32.981Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] fileExists [Pipeline] sh [2024-05-24T06:26:33.287Z] + make test [2024-05-24T06:26:33.287Z] go test -race -coverprofile=coverage.out ./... [2024-05-24T06:26:37.351Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-669 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] { [Pipeline] ws [2024-05-24T06:26:37.367Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2024-05-24T06:26:40.420Z] The recommended git tool is: git [2024-05-24T06:26:41.404Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-24T06:26:45.038Z] using credential edgex-jenkins-ssh [2024-05-24T06:26:45.059Z] Cloning the remote Git repository [2024-05-24T06:26:45.104Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-05-24T06:26:45.195Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2024-05-24T06:26:45.330Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-24T06:26:45.331Z] > git --version # timeout=10 [2024-05-24T06:26:45.354Z] > git --version # 'git version 2.25.1' [2024-05-24T06:26:45.357Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T06:26:45.500Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T06:26:48.166Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-24T06:26:48.185Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T06:26:49.059Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-24T06:26:49.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-24T06:26:49.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T06:26:49.126Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-05-24T06:26:49.759Z] Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 1f7dfa0cee49005af5cff3b6997ca0c64185fcea [2024-05-24T06:26:50.097Z] Merge succeeded, producing 1f7dfa0cee49005af5cff3b6997ca0c64185fcea [2024-05-24T06:26:50.097Z] Checking out Revision 1f7dfa0cee49005af5cff3b6997ca0c64185fcea (PR-1580) [2024-05-24T06:26:49.780Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T06:26:49.892Z] > git checkout -f 1f7dfa0cee49005af5cff3b6997ca0c64185fcea # timeout=10 [2024-05-24T06:26:50.004Z] > git remote # timeout=10 [2024-05-24T06:26:50.021Z] > git config --get remote.origin.url # timeout=10 [2024-05-24T06:26:50.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T06:26:50.059Z] > git merge 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 [2024-05-24T06:26:50.084Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-24T06:26:50.106Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T06:26:50.122Z] > git checkout -f 1f7dfa0cee49005af5cff3b6997ca0c64185fcea # timeout=10 [2024-05-24T06:26:53.750Z] Commit message: "fix: fix ci errcheck" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T06:26:55.331Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-24T06:26:55.331Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T06:26:55.331Z] Dload Upload Total Spent Left Speed [2024-05-24T06:26:55.331Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 81 12828 81 10467 0 0 95154 0 --:--:-- --:--:-- --:--:-- 94297 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2024-05-24T06:26:55.655Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-24T06:26:55.968Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-24T06:26:55.968Z] + sudo tee /etc/docker/daemon.new [2024-05-24T06:26:55.968Z] { [2024-05-24T06:26:55.968Z] "registry-mirrors": [ [2024-05-24T06:26:55.968Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-24T06:26:55.968Z] ], [2024-05-24T06:26:55.968Z] "bip": "10.250.0.254/24", [2024-05-24T06:26:55.968Z] "hosts": [ [2024-05-24T06:26:55.968Z] "tcp://0.0.0.0:5555", [2024-05-24T06:26:55.968Z] "unix:///var/run/docker.sock" [2024-05-24T06:26:55.968Z] ], [2024-05-24T06:26:55.968Z] "mtu": 1458, [2024-05-24T06:26:55.968Z] "selinux-enabled": true, [2024-05-24T06:26:55.969Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-24T06:26:55.969Z] } [Pipeline] sh [2024-05-24T06:26:56.283Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-24T06:26:56.598Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T06:27:14.864Z] provisioning config files... [2024-05-24T06:27:14.889Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config12131751904169865674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:27:15.320Z] ---> ****-login.sh [2024-05-24T06:27:15.320Z] nexus3.edgexfoundry.org:10001 [2024-05-24T06:27:15.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:27:15.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:27:15.864Z] Configure a credential helper to remove this warning. See [2024-05-24T06:27:15.864Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:27:15.864Z] [2024-05-24T06:27:15.864Z] Login Succeeded [2024-05-24T06:27:15.864Z] nexus3.edgexfoundry.org:10002 [2024-05-24T06:27:16.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:27:16.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:27:16.401Z] Configure a credential helper to remove this warning. See [2024-05-24T06:27:16.401Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:27:16.401Z] [2024-05-24T06:27:16.401Z] Login Succeeded [2024-05-24T06:27:16.401Z] nexus3.edgexfoundry.org:10003 [2024-05-24T06:27:16.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:27:16.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:27:16.671Z] Configure a credential helper to remove this warning. See [2024-05-24T06:27:16.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:27:16.671Z] [2024-05-24T06:27:16.671Z] Login Succeeded [2024-05-24T06:27:16.671Z] nexus3.edgexfoundry.org:10004 [2024-05-24T06:27:16.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:27:16.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:27:16.942Z] Configure a credential helper to remove this warning. See [2024-05-24T06:27:16.942Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:27:16.942Z] [2024-05-24T06:27:16.942Z] Login Succeeded [2024-05-24T06:27:16.942Z] ****.io [2024-05-24T06:27:17.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T06:27:17.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T06:27:17.485Z] Configure a credential helper to remove this warning. See [2024-05-24T06:27:17.485Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T06:27:17.485Z] [2024-05-24T06:27:17.485Z] Login Succeeded [2024-05-24T06:27:17.485Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T06:27:17.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T06:27:17.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T06:27:17.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T06:27:17.869Z] ========================================================= [2024-05-24T06:27:17.869Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-05-24T06:27:17.869Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:27:18.225Z] + 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-24T06:27:18.813Z] Sending build context to Docker daemon 13.35MB [2024-05-24T06:27:18.813Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T06:27:18.813Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-24T06:27:18.813Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-24T06:27:18.813Z] c6b39de5b339: Pulling fs layer [2024-05-24T06:27:18.813Z] a69c41024577: Pulling fs layer [2024-05-24T06:27:18.813Z] d6de4b400683: Pulling fs layer [2024-05-24T06:27:18.813Z] 35cb2a7552d0: Pulling fs layer [2024-05-24T06:27:18.813Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T06:27:18.813Z] 464afbd9ba4c: Pulling fs layer [2024-05-24T06:27:18.813Z] 00f215d4a9da: Pulling fs layer [2024-05-24T06:27:18.813Z] d496ad576159: Pulling fs layer [2024-05-24T06:27:18.813Z] 4f4fb700ef54: Waiting [2024-05-24T06:27:18.813Z] 464afbd9ba4c: Waiting [2024-05-24T06:27:18.813Z] 00f215d4a9da: Waiting [2024-05-24T06:27:18.813Z] 35cb2a7552d0: Waiting [2024-05-24T06:27:18.813Z] d496ad576159: Waiting [2024-05-24T06:27:19.082Z] a69c41024577: Download complete [2024-05-24T06:27:19.082Z] 35cb2a7552d0: Verifying Checksum [2024-05-24T06:27:19.082Z] 35cb2a7552d0: Download complete [2024-05-24T06:27:19.082Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T06:27:19.082Z] 4f4fb700ef54: Download complete [2024-05-24T06:27:19.082Z] c6b39de5b339: Verifying Checksum [2024-05-24T06:27:19.082Z] c6b39de5b339: Download complete [2024-05-24T06:27:19.082Z] 464afbd9ba4c: Verifying Checksum [2024-05-24T06:27:19.082Z] 464afbd9ba4c: Download complete [2024-05-24T06:27:19.359Z] d496ad576159: Verifying Checksum [2024-05-24T06:27:19.359Z] d496ad576159: Download complete [2024-05-24T06:27:19.947Z] c6b39de5b339: Pull complete [2024-05-24T06:27:20.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-24T06:27:20.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-24T06:27:20.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-24T06:27:20.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-24T06:27:20.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-24T06:27:20.118Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.061s coverage: 26.5% of statements [2024-05-24T06:27:20.118Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.061s coverage: 81.5% of statements [2024-05-24T06:27:20.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-24T06:27:20.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-24T06:27:20.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-24T06:27:20.118Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.083s coverage: 86.0% of statements [2024-05-24T06:27:20.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-24T06:27:20.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-24T06:27:20.118Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.103s coverage: 71.8% of statements [2024-05-24T06:27:20.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-24T06:27:20.377Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.056s coverage: 14.4% of statements [2024-05-24T06:27:20.377Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.784s coverage: 45.9% of statements [2024-05-24T06:27:20.377Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.071s coverage: 68.5% of statements [2024-05-24T06:27:20.377Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.119s coverage: 89.2% of statements [2024-05-24T06:27:20.377Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.064s coverage: 5.4% of statements [2024-05-24T06:27:20.534Z] a69c41024577: Pull complete [2024-05-24T06:27:20.803Z] d6de4b400683: Verifying Checksum [2024-05-24T06:27:20.803Z] d6de4b400683: Download complete [2024-05-24T06:27:22.217Z] 00f215d4a9da: Verifying Checksum [2024-05-24T06:27:22.217Z] 00f215d4a9da: Download complete [2024-05-24T06:27:34.545Z] d6de4b400683: Pull complete [2024-05-24T06:27:34.545Z] 35cb2a7552d0: Pull complete [2024-05-24T06:27:34.545Z] 4f4fb700ef54: Pull complete [2024-05-24T06:27:34.545Z] 464afbd9ba4c: Pull complete [2024-05-24T06:27:42.774Z] 00f215d4a9da: Pull complete [2024-05-24T06:27:44.727Z] d496ad576159: Pull complete [2024-05-24T06:27:44.727Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-05-24T06:27:44.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-05-24T06:27:44.727Z] ---> f246e2811388 [2024-05-24T06:27:44.727Z] Step 3/10 : ARG MAKE=make build [2024-05-24T06:27:46.702Z] ---> Running in b8963ec96cba [2024-05-24T06:27:46.702Z] Removing intermediate container b8963ec96cba [2024-05-24T06:27:46.702Z] ---> b88d09d30781 [2024-05-24T06:27:46.702Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-24T06:27:46.702Z] ---> Running in 2de6754d81d1 [2024-05-24T06:27:46.969Z] Removing intermediate container 2de6754d81d1 [2024-05-24T06:27:46.969Z] ---> 6835ec6a3f40 [2024-05-24T06:27:46.969Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T06:27:46.969Z] ---> Running in 73c2624f6f6c [2024-05-24T06:27:47.247Z] Removing intermediate container 73c2624f6f6c [2024-05-24T06:27:47.247Z] ---> 0aa8b467c030 [2024-05-24T06:27:47.247Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-24T06:27:47.513Z] ---> Running in 5cd143fb6762 [2024-05-24T06:27:48.479Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T06:27:49.061Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T06:27:50.024Z] OK: 266 MiB in 52 packages [2024-05-24T06:27:50.987Z] Removing intermediate container 5cd143fb6762 [2024-05-24T06:27:50.987Z] ---> af1db2346c1e [2024-05-24T06:27:50.987Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-24T06:27:51.256Z] ---> 1b87d3626c7c [2024-05-24T06:27:51.256Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T06:27:51.535Z] ---> Running in 205ed96648a2 [2024-05-24T06:27:52.465Z] GO111MODULE=on go vet ./... [2024-05-24T06:27:59.022Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T06:27:59.022Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T06:27:59.022Z] ./bin/test-attribution-txt.sh [2024-05-24T06:27:59.022Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/panjf2000/ants is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-24T06:27:59.022Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-24T06:27:59.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-24T06:27:59.053Z] $ docker stop --time=1 84de5086d04862fd6b4babe4df80a9f86e9f99bc049a06a97e6c34706452938f [2024-05-24T06:28:03.343Z] $ docker rm -f --volumes 84de5086d04862fd6b4babe4df80a9f86e9f99bc049a06a97e6c34706452938f [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T06:28:04.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T06:28:04.095Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-24T06:28:04.722Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T06:28:05.005Z] + ls -al . [2024-05-24T06:28:05.005Z] total 376 [2024-05-24T06:28:05.005Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 06:26 . [2024-05-24T06:28:05.005Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:24 .. [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 06:24 .dockerignore [2024-05-24T06:28:05.005Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 06:27 .git [2024-05-24T06:28:05.005Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:24 .github [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 137 May 24 06:24 .gitignore [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 06:24 .golangci.yml [2024-05-24T06:28:05.005Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 06:24 .semver [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 24 06:24 CHANGELOG.md [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 06:24 GOVERNANCE.md [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 885 May 24 06:24 Jenkinsfile [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 06:24 LICENSE [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 24 06:24 Makefile [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 619 May 24 06:24 OWNERS.md [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 24 06:24 README.md [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 06:24 VERSION [2024-05-24T06:28:05.005Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:24 bin [2024-05-24T06:28:05.005Z] -rw-r--r-- 1 jenkins jenkins 122832 May 24 06:27 coverage.out [2024-05-24T06:28:05.005Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 06:24 example [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 7104 May 24 06:24 go.mod [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 101133 May 24 06:24 go.sum [2024-05-24T06:28:05.005Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 06:24 internal [2024-05-24T06:28:05.005Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:24 openapi [2024-05-24T06:28:05.005Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 06:24 pkg [2024-05-24T06:28:05.005Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:24 snap [2024-05-24T06:28:05.005Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 06:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:28:05.321Z] + 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=1f7dfa0cee49005af5cff3b6997ca0c64185fcea --label arch=amd64 --label version=0.0.0 . [2024-05-24T06:28:05.321Z] Sending build context to Docker daemon 25.92MB [2024-05-24T06:28:05.321Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T06:28:05.321Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-24T06:28:05.321Z] ---> 1120467406c5 [2024-05-24T06:28:05.321Z] Step 3/23 : ARG MAKE=make build [2024-05-24T06:28:05.886Z] ---> Running in 12babb40f668 [2024-05-24T06:28:05.886Z] Removing intermediate container 12babb40f668 [2024-05-24T06:28:05.886Z] ---> 78af8982cedc [2024-05-24T06:28:05.886Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-24T06:28:05.886Z] ---> Running in f7f083f8f092 [2024-05-24T06:28:05.886Z] Removing intermediate container f7f083f8f092 [2024-05-24T06:28:05.886Z] ---> b3a6206772ac [2024-05-24T06:28:05.886Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T06:28:05.886Z] ---> Running in babb9b05e966 [2024-05-24T06:28:06.145Z] Removing intermediate container babb9b05e966 [2024-05-24T06:28:06.145Z] ---> 6c8728289fcc [2024-05-24T06:28:06.145Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-24T06:28:06.145Z] ---> Running in 1678ba91a846 [2024-05-24T06:28:06.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T06:28:06.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T06:28:06.977Z] OK: 264 MiB in 52 packages [2024-05-24T06:28:07.236Z] Removing intermediate container 1678ba91a846 [2024-05-24T06:28:07.236Z] ---> ca1606f38366 [2024-05-24T06:28:07.236Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-24T06:28:07.236Z] ---> e1e81b49c588 [2024-05-24T06:28:07.236Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T06:28:07.236Z] ---> Running in 57598643b9bd [2024-05-24T06:28:07.803Z] Removing intermediate container 57598643b9bd [2024-05-24T06:28:07.803Z] ---> 7ddc12fed8fe [2024-05-24T06:28:07.803Z] Step 9/23 : COPY . . [2024-05-24T06:28:08.738Z] ---> de1584c60c21 [2024-05-24T06:28:08.738Z] Step 10/23 : RUN ${MAKE} [2024-05-24T06:28:08.738Z] ---> Running in 7c4e980d217b [2024-05-24T06:28:08.999Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-05-24T06:28:41.085Z] Removing intermediate container 7c4e980d217b [2024-05-24T06:28:41.085Z] ---> 9c3de1ccbaa5 [2024-05-24T06:28:41.085Z] Step 11/23 : FROM alpine:3.18 [2024-05-24T06:28:41.085Z] 3.18: Pulling from library/alpine [2024-05-24T06:28:41.085Z] 619be1103602: Already exists [2024-05-24T06:28:41.085Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T06:28:41.085Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T06:28:41.085Z] ---> d3782b16ccc9 [2024-05-24T06:28:41.085Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-24T06:28:41.085Z] ---> Running in bab57a352300 [2024-05-24T06:28:41.085Z] Removing intermediate container bab57a352300 [2024-05-24T06:28:41.085Z] ---> 26b74ec92ec9 [2024-05-24T06:28:41.085Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-24T06:28:41.085Z] ---> Running in 5c6567a1586d [2024-05-24T06:28:41.085Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T06:28:41.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T06:28:41.604Z] OK: 7 MiB in 15 packages [2024-05-24T06:28:41.863Z] Removing intermediate container 5c6567a1586d [2024-05-24T06:28:41.863Z] ---> 534d54be8fb7 [2024-05-24T06:28:41.863Z] Step 14/23 : WORKDIR / [2024-05-24T06:28:41.863Z] ---> Running in 4ffe1251e5d2 [2024-05-24T06:28:42.123Z] Removing intermediate container 4ffe1251e5d2 [2024-05-24T06:28:42.123Z] ---> 71c8081ec908 [2024-05-24T06:28:42.123Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-24T06:28:42.123Z] ---> c14c3a5bc23a [2024-05-24T06:28:42.123Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-24T06:28:43.520Z] ---> 13a5c7f64ddd [2024-05-24T06:28:43.520Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-24T06:28:43.520Z] ---> fc5522479afc [2024-05-24T06:28:43.520Z] Step 18/23 : EXPOSE 59999 [2024-05-24T06:28:43.520Z] ---> Running in ca3acfecd4d3 [2024-05-24T06:28:43.779Z] Removing intermediate container ca3acfecd4d3 [2024-05-24T06:28:43.779Z] ---> 3ee2e15ce8b4 [2024-05-24T06:28:43.779Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-24T06:28:43.779Z] ---> Running in 499644e60bbf [2024-05-24T06:28:43.779Z] Removing intermediate container 499644e60bbf [2024-05-24T06:28:43.779Z] ---> 41044758653b [2024-05-24T06:28:43.779Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-24T06:28:43.779Z] ---> Running in fec4b8043eea [2024-05-24T06:28:43.779Z] Removing intermediate container fec4b8043eea [2024-05-24T06:28:43.779Z] ---> b03fe07fc099 [2024-05-24T06:28:43.779Z] Step 21/23 : LABEL arch=amd64 [2024-05-24T06:28:43.779Z] ---> Running in 9c2e40e51789 [2024-05-24T06:28:44.039Z] Removing intermediate container 9c2e40e51789 [2024-05-24T06:28:44.039Z] ---> 552d7de1b01d [2024-05-24T06:28:44.039Z] Step 22/23 : LABEL git_sha=1f7dfa0cee49005af5cff3b6997ca0c64185fcea [2024-05-24T06:28:44.039Z] ---> Running in 0763e8198b14 [2024-05-24T06:28:44.039Z] Removing intermediate container 0763e8198b14 [2024-05-24T06:28:44.039Z] ---> e0032c3aa66b [2024-05-24T06:28:44.039Z] Step 23/23 : LABEL version=0.0.0 [2024-05-24T06:28:44.039Z] ---> Running in e9fc02c2a372 [2024-05-24T06:28:44.039Z] Removing intermediate container e9fc02c2a372 [2024-05-24T06:28:44.039Z] ---> d6daf3bb4244 [2024-05-24T06:28:44.039Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T06:28:44.039Z] Successfully built d6daf3bb4244 [2024-05-24T06:28:44.039Z] 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-24T06:28:44.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T06:28:44.541Z] [2024-05-24T06:28:44.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:28:44.842Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T06:28:44.842Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-24T06:28:44.842Z] 5eb5b503b376: Pulling fs layer [2024-05-24T06:28:44.842Z] 5c69ac0246d0: Pulling fs layer [2024-05-24T06:28:44.842Z] ec43610c2a17: Pulling fs layer [2024-05-24T06:28:44.842Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-24T06:28:44.842Z] 33b1e0a273af: Pulling fs layer [2024-05-24T06:28:44.842Z] 5d3b04190fa2: Pulling fs layer [2024-05-24T06:28:44.842Z] 3a2ae6a8a46f: Waiting [2024-05-24T06:28:44.842Z] 33b1e0a273af: Waiting [2024-05-24T06:28:44.842Z] 5d3b04190fa2: Waiting [2024-05-24T06:28:44.842Z] 2f39f015ded8: Pulling fs layer [2024-05-24T06:28:44.842Z] 5c69ac0246d0: Verifying Checksum [2024-05-24T06:28:44.842Z] 5c69ac0246d0: Download complete [2024-05-24T06:28:44.842Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-24T06:28:44.842Z] 3a2ae6a8a46f: Download complete [2024-05-24T06:28:44.842Z] ec43610c2a17: Verifying Checksum [2024-05-24T06:28:44.842Z] ec43610c2a17: Download complete [2024-05-24T06:28:44.842Z] 33b1e0a273af: Verifying Checksum [2024-05-24T06:28:44.842Z] 33b1e0a273af: Download complete [2024-05-24T06:28:44.842Z] 5d3b04190fa2: Download complete [2024-05-24T06:28:45.102Z] 5eb5b503b376: Download complete [2024-05-24T06:28:45.669Z] 2f39f015ded8: Download complete [2024-05-24T06:28:46.235Z] 5eb5b503b376: Pull complete [2024-05-24T06:28:46.492Z] 5c69ac0246d0: Pull complete [2024-05-24T06:28:46.749Z] ec43610c2a17: Pull complete [2024-05-24T06:28:47.008Z] 3a2ae6a8a46f: Pull complete [2024-05-24T06:28:47.008Z] 33b1e0a273af: Pull complete [2024-05-24T06:28:47.266Z] 5d3b04190fa2: Pull complete [2024-05-24T06:28:51.453Z] 2f39f015ded8: Pull complete [2024-05-24T06:28:51.453Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-24T06:28:51.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T06:28:51.454Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T06:28:51.556Z] prd-ubuntu20.04-docker-8c-8g-668 does not seem to be running inside a container [2024-05-24T06:28:51.585Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T06:28:55.922Z] $ docker top 4dfa551952f7673bee84a363d39a4ba27599bd73213ff55586e5583f2410545b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:28:56.334Z] ---> job-cost.sh [2024-05-24T06:28:56.334Z] lf-activate-venv: SKIPPING [2024-05-24T06:28:56.334Z] INFO: No Stack... [2024-05-24T06:28:56.903Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T06:28:57.161Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T06:28:57.453Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/cost.csv [2024-05-24T06:28:57.453Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T06:28:57.467Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] [2024-05-24T06:28:57.475Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] did not exist. Created. [2024-05-24T06:28:57.481Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T06:28:57.795Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-24T06:28:57.836Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T06:28:57.844Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T06:28:57.870Z] $ docker stop --time=1 4dfa551952f7673bee84a363d39a4ba27599bd73213ff55586e5583f2410545b [2024-05-24T06:28:59.987Z] $ docker rm -f --volumes 4dfa551952f7673bee84a363d39a4ba27599bd73213ff55586e5583f2410545b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-24T06:29:43.189Z] Removing intermediate container 205ed96648a2 [2024-05-24T06:29:43.189Z] ---> 1aa30ef3cba7 [2024-05-24T06:29:43.189Z] Step 9/10 : COPY . . [2024-05-24T06:29:43.189Z] ---> 856d33ed1103 [2024-05-24T06:29:43.189Z] Step 10/10 : RUN ${MAKE} [2024-05-24T06:29:43.189Z] ---> Running in cfd7a9f21cec [2024-05-24T06:29:43.189Z] noop [2024-05-24T06:29:43.189Z] Removing intermediate container cfd7a9f21cec [2024-05-24T06:29:43.189Z] ---> c98266de3932 [2024-05-24T06:29:43.189Z] Successfully built c98266de3932 [2024-05-24T06:29:43.189Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:29:43.544Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T06:29:43.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T06:29:43.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-669 does not seem to be running inside a container [2024-05-24T06:29:43.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-24T06:29:45.060Z] $ docker top d54b6516321f2b2c84f126037a95932f36c0ac7c719fe1ce9fb35e7fde1df6b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T06:29:45.874Z] + go version [2024-05-24T06:29:45.874Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-24T06:29:45.898Z] $ docker stop --time=1 d54b6516321f2b2c84f126037a95932f36c0ac7c719fe1ce9fb35e7fde1df6b2 [2024-05-24T06:29:47.538Z] $ docker rm -f --volumes d54b6516321f2b2c84f126037a95932f36c0ac7c719fe1ce9fb35e7fde1df6b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:29:48.099Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T06:29:48.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T06:29:48.282Z] prd-ubuntu20.04-docker-arm64-4c-16g-669 does not seem to be running inside a container [2024-05-24T06:29:48.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-24T06:29:49.537Z] $ docker top 94c768e91b50dcb010a158366f2b6cd16ccdfe5778862414232509eb182ad666 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T06:29:50.038Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2024-05-24T06:29:50.679Z] + make test [2024-05-24T06:29:50.679Z] go test -race -coverprofile=coverage.out ./... [2024-05-24T06:30:29.547Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-24T06:33:51.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-24T06:33:51.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-24T06:33:51.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-24T06:33:51.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-24T06:33:51.545Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-24T06:33:52.129Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.230s coverage: 26.5% of statements [2024-05-24T06:33:56.409Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.272s coverage: 81.5% of statements [2024-05-24T06:34:01.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-24T06:34:01.752Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-24T06:34:03.171Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.428s coverage: 86.0% of statements [2024-05-24T06:34:07.433Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-24T06:34:08.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.632s coverage: 71.8% of statements [2024-05-24T06:34:12.195Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.296s coverage: 14.4% of statements [2024-05-24T06:34:12.781Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.629s coverage: 45.9% of statements [2024-05-24T06:34:13.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-24T06:34:13.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-24T06:34:15.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.482s coverage: 68.5% of statements [2024-05-24T06:34:17.911Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.464s coverage: 89.2% of statements [2024-05-24T06:34:21.247Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-24T06:34:22.204Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.324s coverage: 5.4% of statements [2024-05-24T06:34:23.607Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-24T06:34:23.607Z] GO111MODULE=on go vet ./... [2024-05-24T06:38:00.384Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T06:38:00.384Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T06:38:00.384Z] ./bin/test-attribution-txt.sh [2024-05-24T06:38:00.384Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/panjf2000/ants is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-05-24T06:38:00.384Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-05-24T06:38:00.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-05-24T06:38:00.430Z] $ docker stop --time=1 94c768e91b50dcb010a158366f2b6cd16ccdfe5778862414232509eb182ad666 [2024-05-24T06:38:02.351Z] $ docker rm -f --volumes 94c768e91b50dcb010a158366f2b6cd16ccdfe5778862414232509eb182ad666 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T06:38:04.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T06:38:04.599Z] Warning: overwriting stash ‘coverage-report’ [2024-05-24T06:38:05.162Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T06:38:05.563Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T06:38:05.875Z] + ls -al . [2024-05-24T06:38:05.875Z] total 372 [2024-05-24T06:38:05.875Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 06:29 . [2024-05-24T06:38:05.875Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:26 .. [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 140 May 24 06:26 .dockerignore [2024-05-24T06:38:05.875Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 06:26 .git [2024-05-24T06:38:05.875Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:26 .github [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 137 May 24 06:26 .gitignore [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 42 May 24 06:26 .golangci.yml [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 24 06:26 CHANGELOG.md [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 06:26 GOVERNANCE.md [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 885 May 24 06:26 Jenkinsfile [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 24 06:26 LICENSE [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 24 06:26 Makefile [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 619 May 24 06:26 OWNERS.md [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 24 06:26 README.md [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 06:24 VERSION [2024-05-24T06:38:05.875Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 06:26 bin [2024-05-24T06:38:05.875Z] -rw-r--r-- 1 jenkins jenkins 122833 May 24 06:34 coverage.out [2024-05-24T06:38:05.875Z] drwxrwxr-x 5 jenkins jenkins 4096 May 24 06:26 example [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 7104 May 24 06:26 go.mod [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 101133 May 24 06:26 go.sum [2024-05-24T06:38:05.875Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 06:26 internal [2024-05-24T06:38:05.875Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 06:26 openapi [2024-05-24T06:38:05.875Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 06:26 pkg [2024-05-24T06:38:05.875Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 06:26 snap [2024-05-24T06:38:05.875Z] -rw-rw-r-- 1 jenkins jenkins 222 May 24 06:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:38:06.221Z] + 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=1f7dfa0cee49005af5cff3b6997ca0c64185fcea --label arch=arm64 --label version=0.0.0 . [2024-05-24T06:38:06.811Z] Sending build context to Docker daemon 13.48MB [2024-05-24T06:38:06.811Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T06:38:06.811Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-24T06:38:06.811Z] ---> c98266de3932 [2024-05-24T06:38:06.811Z] Step 3/23 : ARG MAKE=make build [2024-05-24T06:38:07.077Z] ---> Running in f6a11a29e0ca [2024-05-24T06:38:07.343Z] Removing intermediate container f6a11a29e0ca [2024-05-24T06:38:07.343Z] ---> b0fe242615a4 [2024-05-24T06:38:07.343Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-24T06:38:07.343Z] ---> Running in 9936b25b6d83 [2024-05-24T06:38:07.609Z] Removing intermediate container 9936b25b6d83 [2024-05-24T06:38:07.609Z] ---> 43f5b144a8ff [2024-05-24T06:38:07.609Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T06:38:07.875Z] ---> Running in ddf784b43fb9 [2024-05-24T06:38:08.141Z] Removing intermediate container ddf784b43fb9 [2024-05-24T06:38:08.141Z] ---> 2ef92481ba17 [2024-05-24T06:38:08.141Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-24T06:38:08.141Z] ---> Running in c3221f7a9a1f [2024-05-24T06:38:09.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T06:38:09.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T06:38:10.317Z] OK: 266 MiB in 52 packages [2024-05-24T06:38:11.271Z] Removing intermediate container c3221f7a9a1f [2024-05-24T06:38:11.271Z] ---> 8080e70587b3 [2024-05-24T06:38:11.271Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-24T06:38:11.854Z] ---> a997a2742ee0 [2024-05-24T06:38:11.854Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T06:38:11.854Z] ---> Running in fb44eda15b28 [2024-05-24T06:38:13.796Z] Removing intermediate container fb44eda15b28 [2024-05-24T06:38:13.797Z] ---> 010ed4914f13 [2024-05-24T06:38:13.797Z] Step 9/23 : COPY . . [2024-05-24T06:38:15.742Z] ---> 04f7ddead867 [2024-05-24T06:38:15.742Z] Step 10/23 : RUN ${MAKE} [2024-05-24T06:38:15.742Z] ---> Running in 5ac0b181dba1 [2024-05-24T06:38:16.329Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-05-24T06:41:38.077Z] Removing intermediate container 5ac0b181dba1 [2024-05-24T06:41:38.077Z] ---> 7a3f31ea5d12 [2024-05-24T06:41:38.077Z] Step 11/23 : FROM alpine:3.18 [2024-05-24T06:41:38.077Z] 3.18: Pulling from library/alpine [2024-05-24T06:41:38.077Z] c6b39de5b339: Already exists [2024-05-24T06:41:38.077Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T06:41:38.077Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T06:41:38.077Z] ---> 33abbf032149 [2024-05-24T06:41:38.077Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-24T06:41:38.077Z] ---> Running in 1cb8b5d8dbcd [2024-05-24T06:41:38.077Z] Removing intermediate container 1cb8b5d8dbcd [2024-05-24T06:41:38.077Z] ---> c7d5d2de2476 [2024-05-24T06:41:38.077Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-24T06:41:38.077Z] ---> Running in 872aa873a36a [2024-05-24T06:41:38.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T06:41:38.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T06:41:38.077Z] OK: 8 MiB in 15 packages [2024-05-24T06:41:38.664Z] Removing intermediate container 872aa873a36a [2024-05-24T06:41:38.664Z] ---> 650cff8c88ee [2024-05-24T06:41:38.664Z] Step 14/23 : WORKDIR / [2024-05-24T06:41:38.931Z] ---> Running in 3a786a610632 [2024-05-24T06:41:39.200Z] Removing intermediate container 3a786a610632 [2024-05-24T06:41:39.200Z] ---> efc4ade37a97 [2024-05-24T06:41:39.200Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-24T06:41:39.778Z] ---> 072d09b209e6 [2024-05-24T06:41:39.778Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-24T06:41:41.712Z] ---> d0156fab616b [2024-05-24T06:41:41.712Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-24T06:41:42.292Z] ---> 03e6c3fbce38 [2024-05-24T06:41:42.292Z] Step 18/23 : EXPOSE 59999 [2024-05-24T06:41:42.292Z] ---> Running in 2fc15146e881 [2024-05-24T06:41:42.560Z] Removing intermediate container 2fc15146e881 [2024-05-24T06:41:42.560Z] ---> a4eb231987d9 [2024-05-24T06:41:42.560Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-24T06:41:42.826Z] ---> Running in 4508787326c7 [2024-05-24T06:41:43.090Z] Removing intermediate container 4508787326c7 [2024-05-24T06:41:43.090Z] ---> 32669fce07b9 [2024-05-24T06:41:43.090Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-24T06:41:43.090Z] ---> Running in fbdb727b7040 [2024-05-24T06:41:43.355Z] Removing intermediate container fbdb727b7040 [2024-05-24T06:41:43.355Z] ---> 9c2fb7d393d7 [2024-05-24T06:41:43.355Z] Step 21/23 : LABEL arch=arm64 [2024-05-24T06:41:43.355Z] ---> Running in b9ed0f464930 [2024-05-24T06:41:43.937Z] Removing intermediate container b9ed0f464930 [2024-05-24T06:41:43.937Z] ---> 243c6c20c6e3 [2024-05-24T06:41:43.937Z] Step 22/23 : LABEL git_sha=1f7dfa0cee49005af5cff3b6997ca0c64185fcea [2024-05-24T06:41:43.937Z] ---> Running in 94160639f6d0 [2024-05-24T06:41:44.202Z] Removing intermediate container 94160639f6d0 [2024-05-24T06:41:44.202Z] ---> 3902dec5459f [2024-05-24T06:41:44.202Z] Step 23/23 : LABEL version=0.0.0 [2024-05-24T06:41:44.202Z] ---> Running in ef4b26813792 [2024-05-24T06:41:44.467Z] Removing intermediate container ef4b26813792 [2024-05-24T06:41:44.467Z] ---> f8a260c9e449 [2024-05-24T06:41:44.467Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T06:41:44.467Z] Successfully built f8a260c9e449 [2024-05-24T06:41:44.467Z] 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-24T06:41:44.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T06:41:44.937Z] [2024-05-24T06:41:44.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:41:45.277Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T06:41:45.277Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-24T06:41:45.277Z] 8998bd30e6a1: Pulling fs layer [2024-05-24T06:41:45.277Z] 04944245beec: Pulling fs layer [2024-05-24T06:41:45.277Z] 699f458cf7ca: Pulling fs layer [2024-05-24T06:41:45.277Z] 765212b225bb: Pulling fs layer [2024-05-24T06:41:45.277Z] f23df028b6ca: Pulling fs layer [2024-05-24T06:41:45.277Z] d65c8cfc05b1: Pulling fs layer [2024-05-24T06:41:45.277Z] 2437ff75d9bd: Pulling fs layer [2024-05-24T06:41:45.277Z] 765212b225bb: Waiting [2024-05-24T06:41:45.277Z] f23df028b6ca: Waiting [2024-05-24T06:41:45.277Z] d65c8cfc05b1: Waiting [2024-05-24T06:41:45.277Z] 2437ff75d9bd: Waiting [2024-05-24T06:41:45.543Z] 04944245beec: Verifying Checksum [2024-05-24T06:41:45.543Z] 04944245beec: Download complete [2024-05-24T06:41:45.543Z] 765212b225bb: Verifying Checksum [2024-05-24T06:41:45.543Z] 765212b225bb: Download complete [2024-05-24T06:41:45.543Z] f23df028b6ca: Download complete [2024-05-24T06:41:45.543Z] d65c8cfc05b1: Verifying Checksum [2024-05-24T06:41:45.543Z] d65c8cfc05b1: Download complete [2024-05-24T06:41:45.808Z] 699f458cf7ca: Verifying Checksum [2024-05-24T06:41:45.808Z] 699f458cf7ca: Download complete [2024-05-24T06:41:46.072Z] 8998bd30e6a1: Verifying Checksum [2024-05-24T06:41:46.072Z] 8998bd30e6a1: Download complete [2024-05-24T06:41:48.641Z] 2437ff75d9bd: Verifying Checksum [2024-05-24T06:41:48.641Z] 2437ff75d9bd: Download complete [2024-05-24T06:41:50.571Z] 8998bd30e6a1: Pull complete [2024-05-24T06:41:51.150Z] 04944245beec: Pull complete [2024-05-24T06:41:52.554Z] 699f458cf7ca: Pull complete [2024-05-24T06:41:52.818Z] 765212b225bb: Pull complete [2024-05-24T06:41:53.772Z] f23df028b6ca: Pull complete [2024-05-24T06:41:53.772Z] d65c8cfc05b1: Pull complete [2024-05-24T06:42:11.938Z] 2437ff75d9bd: Pull complete [2024-05-24T06:42:11.938Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-24T06:42:11.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T06:42:11.938Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T06:42:12.145Z] prd-ubuntu20.04-docker-arm64-4c-16g-669 does not seem to be running inside a container [2024-05-24T06:42:12.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-24T06:42:14.863Z] $ docker top 0f0fa7c4dbb96dcac4fa84e76faa7c007682c60813c143d55ebb93bdfc0bf245 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:42:15.681Z] ---> job-cost.sh [2024-05-24T06:42:15.681Z] lf-activate-venv: SKIPPING [2024-05-24T06:42:15.681Z] INFO: No Stack... [2024-05-24T06:42:15.946Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-24T06:42:16.903Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T06:42:17.537Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2024-05-24T06:42:17.537Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T06:42:17.589Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] [2024-05-24T06:42:17.603Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] did not exist. Created. [2024-05-24T06:42:17.610Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T06:42:18.275Z] /w/workspace/device-sdk-go/3@tmp/durable-d8938ff6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-24T06:42:18.909Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-24T06:42:18.934Z] Warning: overwriting stash ‘stack-cost’ [2024-05-24T06:42:19.012Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T06:42:19.025Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T06:42:19.064Z] $ docker stop --time=1 0f0fa7c4dbb96dcac4fa84e76faa7c007682c60813c143d55ebb93bdfc0bf245 [2024-05-24T06:42:20.545Z] $ docker rm -f --volumes 0f0fa7c4dbb96dcac4fa84e76faa7c007682c60813c143d55ebb93bdfc0bf245 [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-24T06:42:21.054Z] provisioning config files... [2024-05-24T06:42:21.064Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config3568990731238473774tmp [Pipeline] { [Pipeline] sh [2024-05-24T06:42:21.413Z] + set +x [2024-05-24T06:42:21.413Z] + curl -s https://codecov.io/bash [2024-05-24T06:42:21.413Z] + bash -s -- [2024-05-24T06:42:21.413Z] [2024-05-24T06:42:21.413Z] _____ _ [2024-05-24T06:42:21.413Z] / ____| | | [2024-05-24T06:42:21.413Z] | | ___ __| | ___ ___ _____ __ [2024-05-24T06:42:21.413Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-24T06:42:21.413Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-24T06:42:21.413Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-24T06:42:21.413Z] Bash-1.0.6 [2024-05-24T06:42:21.413Z] [2024-05-24T06:42:21.413Z] [2024-05-24T06:42:21.413Z] ==> git version 2.25.1 found [2024-05-24T06:42:21.413Z] ==> 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-24T06:42:21.413Z] Release-Date: 2020-01-08 [2024-05-24T06:42:21.413Z] 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-24T06:42:21.413Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-24T06:42:21.413Z] ==> Jenkins CI detected. [2024-05-24T06:42:21.413Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1580 [2024-05-24T06:42:21.413Z] project root: . [2024-05-24T06:42:21.413Z] --> token set from env [2024-05-24T06:42:21.413Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-05-24T06:42:21.413Z] ==> Running gcov in . (disable via -X gcov) [2024-05-24T06:42:21.413Z] ==> Python coveragepy not found [2024-05-24T06:42:21.413Z] ==> Searching for coverage reports in: [2024-05-24T06:42:21.413Z] + . [2024-05-24T06:42:21.413Z] -> Found 1 reports [2024-05-24T06:42:21.413Z] ==> Detecting git/mercurial file structure [2024-05-24T06:42:21.413Z] ==> Reading reports [2024-05-24T06:42:21.692Z] + ./coverage.out bytes=122833 [2024-05-24T06:42:21.692Z] ==> Appending adjustments [2024-05-24T06:42:21.692Z] https://docs.codecov.io/docs/fixing-reports [2024-05-24T06:42:21.692Z] + Found adjustments [2024-05-24T06:42:21.692Z] ==> Gzipping contents [2024-05-24T06:42:21.692Z] 20K /tmp/codecov.ceBtru.gz [2024-05-24T06:42:21.692Z] ==> Uploading reports [2024-05-24T06:42:21.692Z] url: https://codecov.io [2024-05-24T06:42:21.692Z] query: branch=PR-1580&commit=1f7dfa0cee49005af5cff3b6997ca0c64185fcea&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1580%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1580&job=&cmd_args= [2024-05-24T06:42:21.692Z] -> Pinging Codecov [2024-05-24T06:42:21.692Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1580&commit=1f7dfa0cee49005af5cff3b6997ca0c64185fcea&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1580%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1580&job=&cmd_args= [2024-05-24T06:42:21.971Z] -> Uploading to [2024-05-24T06:42:21.971Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-24/7E55EF52A471D76F132DFD9A03CDDE97/1f7dfa0cee49005af5cff3b6997ca0c64185fcea/68bda536-59e9-48f2-baef-a9af2afe7dd7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240524%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240524T064221Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14806754b92ea70bfce2c90bcab723b23562895ccbd1c2f60f439ab4ed272ece [2024-05-24T06:42:21.971Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T06:42:21.971Z] Dload Upload Total Spent Left Speed [2024-05-24T06:42:22.237Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16783 0 0 100 16783 0 50857 --:--:-- --:--:-- --:--:-- 50857 [2024-05-24T06:42:22.237Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1f7dfa0cee49005af5cff3b6997ca0c64185fcea [Pipeline] } [2024-05-24T06:42:22.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-24T06:42:23.118Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives ] [2024-05-24T06:42:23.118Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-05-24T06:42:23.118Z] total 16 [2024-05-24T06:42:23.118Z] drwxr-xr-x 3 root root 4096 May 24 06:28 . [2024-05-24T06:42:23.118Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 06:28 .. [2024-05-24T06:42:23.118Z] drwxr-xr-x 2 root root 4096 May 24 06:28 cost [2024-05-24T06:42:23.118Z] -rw-r--r-- 1 root root 86 May 24 06:28 cost.csv [2024-05-24T06:42:23.118Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-05-24T06:42:23.118Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives [2024-05-24T06:42:23.118Z] total 16 [2024-05-24T06:42:23.118Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 06:28 . [2024-05-24T06:42:23.118Z] drwxrwxr-x 12 jenkins jenkins 4096 May 24 06:28 .. [2024-05-24T06:42:23.118Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 06:28 cost [2024-05-24T06:42:23.118Z] -rw-r--r-- 1 jenkins jenkins 86 May 24 06:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:42:23.407Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:42:24.262Z] ---> package-listing.sh [2024-05-24T06:42:24.263Z] ++ facter osfamily [2024-05-24T06:42:24.263Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-24T06:42:24.520Z] + OS_FAMILY=debian [2024-05-24T06:42:24.520Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1580 [2024-05-24T06:42:24.520Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-24T06:42:24.520Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-24T06:42:24.520Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-24T06:42:24.520Z] + PACKAGES=/tmp/packages_start.txt [2024-05-24T06:42:24.520Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' [2024-05-24T06:42:24.520Z] + PACKAGES=/tmp/packages_end.txt [2024-05-24T06:42:24.520Z] + case "${OS_FAMILY}" in [2024-05-24T06:42:24.520Z] + dpkg -l [2024-05-24T06:42:24.520Z] + grep '^ii' [2024-05-24T06:42:24.520Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-24T06:42:24.520Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-24T06:42:24.520Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-24T06:42:24.520Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' [2024-05-24T06:42:24.520Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ [2024-05-24T06:42:24.520Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ [Pipeline] echo [2024-05-24T06:42:24.532Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-24T06:42:24.808Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T06:42:25.369Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T06:42:25.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T06:42:25.440Z] prd-ubuntu20.04-docker-8c-8g-668 does not seem to be running inside a container [2024-05-24T06:42:25.468Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T06:42:25.644Z] $ docker top 4a620423ce0b2fea754a0ae0a2ec77cad32c6dcbad502e8745feb6e434cfba7a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T06:42:25.987Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-24T06:42:26.269Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-24T06:42:26.551Z] + ls /var/log/sa-host [2024-05-24T06:42:26.551Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T06:42:26.712Z] provisioning config files... [2024-05-24T06:42:26.721Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config619117817460566364tmp [Pipeline] { [Pipeline] echo [2024-05-24T06:42:26.739Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:42:27.023Z] ---> create-netrc.sh [Pipeline] } [2024-05-24T06:42:27.030Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:42:27.361Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-24T06:42:27.369Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:42:27.652Z] ---> sudo-logs.sh [2024-05-24T06:42:27.652Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-24T06:42:27.685Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:42:27.965Z] ---> job-cost.sh [2024-05-24T06:42:27.965Z] lf-activate-venv: SKIPPING [2024-05-24T06:42:27.965Z] DEBUG: total: 0.2199999988079071 [2024-05-24T06:42:27.965Z] INFO: Retrieving Stack Cost... [2024-05-24T06:42:28.532Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T06:42:28.791Z] INFO: Archiving Costs [Pipeline] echo [2024-05-24T06:42:28.803Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T06:42:29.088Z] ---> logs-deploy.sh [2024-05-24T06:42:29.089Z] lf-activate-venv: SKIPPING [2024-05-24T06:42:29.089Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1580/3 [2024-05-24T06:42:29.089Z] INFO: archiving workspace using pattern(s): [2024-05-24T06:42:30.022Z] Archives upload complete. [2024-05-24T06:42:30.022Z] INFO: archiving logs to Nexus