Pull request #1577 opened 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 cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 26d723f6c3a8ddde36a58a9e75c880457a23e87a+abf78bec53b58046fbccef7a1c02cd98bf2dc47d (65e90adef2206892f41d8f711b1646994f67f4bf) 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-ssh6279118897985914365.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-ssh10513514964570328023.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1577/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1577/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh513076856426531421.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1577/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4892622357342528201.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4553754592736067006.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1577/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1577/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8454507412885345012.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-367 in /w/workspace/gexfoundry_device-sdk-go_PR-1577 [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-1577 # 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/1577/head:refs/remotes/origin/PR-1577 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 Merging remotes/origin/napa commit abf78bec53b58046fbccef7a1c02cd98bf2dc47d into PR head commit 26d723f6c3a8ddde36a58a9e75c880457a23e87a Merge succeeded, producing 26d723f6c3a8ddde36a58a9e75c880457a23e87a Checking out Revision 26d723f6c3a8ddde36a58a9e75c880457a23e87a (PR-1577) Commit message: "fix: Bump dependencies to resolve CVEs" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 26d723f6c3a8ddde36a58a9e75c880457a23e87a # 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 abf78bec53b58046fbccef7a1c02cd98bf2dc47d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 26d723f6c3a8ddde36a58a9e75c880457a23e87a # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-10T09:44:21.599Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-10T09:44:23.848Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-10T09:44:25.188Z] ========================================================= [2024-05-10T09:44:25.188Z] EdgeX Global Pipelines Version Info [2024-05-10T09:44:25.188Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-10T09:44:26.144Z] ------------------- [2024-05-10T09:44:26.144Z] stable info: [2024-05-10T09:44:26.144Z] ------------------- [2024-05-10T09:44:26.144Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-05-10T09:44:26.144Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-10T09:44:26.144Z] Message: update stable to v1.0.258 [2024-05-10T09:44:27.083Z] ------------------- [2024-05-10T09:44:27.083Z] experimental info: [2024-05-10T09:44:27.083Z] ------------------- [2024-05-10T09:44:27.083Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-10T09:44:27.083Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-05-10T09:44:27.083Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-10T09:45:08.931Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-05-10T09:45:09.084Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-05-10T09:45:09.231Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-10T09:45:09.474Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-10T09:45:10.068Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-10T09:45:10.423Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-10T09:45:11.004Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-10T09:45:11.206Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-05-10T09:45:11.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-10T09:45:11.333Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-10T09:45:11.395Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-10T09:45:11.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-05-10T09:45:11.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-10T09:45:11.584Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-10T09:45:11.650Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-10T09:45:11.717Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-05-10T09:45:11.781Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-10T09:45:11.842Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-10T09:45:11.903Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-10T09:45:11.960Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-10T09:45:12.017Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-05-10T09:45:12.076Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-05-10T09:45:12.137Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-10T09:45:12.193Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-10T09:45:12.261Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-10T09:45:12.324Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-10T09:45:12.380Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-10T09:45:12.446Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1577 [Pipeline] echo [2024-05-10T09:45:12.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1577 [Pipeline] echo [2024-05-10T09:45:12.565Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1577 [Pipeline] echo [2024-05-10T09:45:12.618Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26d723f6c3a8ddde36a58a9e75c880457a23e87a [Pipeline] echo [2024-05-10T09:45:12.677Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26d723f [Pipeline] echo [2024-05-10T09:45:12.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-10T09:45:12.884Z] provisioning config files... [2024-05-10T09:45:12.901Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp/config11378896054137806578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-10T09:45:13.302Z] ---> ****-login.sh [2024-05-10T09:45:13.302Z] nexus3.edgexfoundry.org:10001 [2024-05-10T09:45:13.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:45:13.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:45:13.562Z] Configure a credential helper to remove this warning. See [2024-05-10T09:45:13.562Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:45:13.562Z] [2024-05-10T09:45:13.562Z] Login Succeeded [2024-05-10T09:45:13.562Z] nexus3.edgexfoundry.org:10002 [2024-05-10T09:45:13.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:45:13.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:45:13.562Z] Configure a credential helper to remove this warning. See [2024-05-10T09:45:13.562Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:45:13.562Z] [2024-05-10T09:45:13.562Z] Login Succeeded [2024-05-10T09:45:13.562Z] nexus3.edgexfoundry.org:10003 [2024-05-10T09:45:13.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:45:13.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:45:13.822Z] Configure a credential helper to remove this warning. See [2024-05-10T09:45:13.822Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:45:13.822Z] [2024-05-10T09:45:13.822Z] Login Succeeded [2024-05-10T09:45:13.822Z] nexus3.edgexfoundry.org:10004 [2024-05-10T09:45:13.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:45:13.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:45:13.822Z] Configure a credential helper to remove this warning. See [2024-05-10T09:45:13.822Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:45:13.822Z] [2024-05-10T09:45:13.822Z] Login Succeeded [2024-05-10T09:45:13.822Z] ****.io [2024-05-10T09:45:14.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:45:14.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:45:14.082Z] Configure a credential helper to remove this warning. See [2024-05-10T09:45:14.082Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:45:14.082Z] [2024-05-10T09:45:14.082Z] Login Succeeded [2024-05-10T09:45:14.083Z] ---> ****-login.sh ends [Pipeline] } [2024-05-10T09:45:14.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-10T09:45:14.785Z] + git rev-list -1 --merges 26d723f6c3a8ddde36a58a9e75c880457a23e87a~1..26d723f6c3a8ddde36a58a9e75c880457a23e87a [Pipeline] echo [2024-05-10T09:45:14.828Z] -----------> git rev-list -1 --merges 26d723f6c3a8ddde36a58a9e75c880457a23e87a~1..26d723f6c3a8ddde36a58a9e75c880457a23e87a 26d723f6c3a8ddde36a58a9e75c880457a23e87a [false] [Pipeline] sh [2024-05-10T09:45:15.147Z] + git log --format=format:%s -1 26d723f6c3a8ddde36a58a9e75c880457a23e87a [Pipeline] echo [2024-05-10T09:45:15.195Z] ========================================================= [2024-05-10T09:45:15.195Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-10T09:45:15.195Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-10T09:45:15.655Z] + git log --format=format:%s -1 26d723f6c3a8ddde36a58a9e75c880457a23e87a [Pipeline] echo [2024-05-10T09:45:15.699Z] [semverPrep] GIT_COMMIT: 26d723f6c3a8ddde36a58a9e75c880457a23e87a, Commit Message: fix: Bump dependencies to resolve CVEs [Pipeline] echo [2024-05-10T09:45:15.746Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-10T09:45:16.142Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-10T09:45:16.142Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-10T09:45:16.142Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-10T09:45:16.142Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-10T09:45:16.142Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-10T09:45:16.142Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-10T09:45:16.142Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T09:45:16.589Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-10T09:45:16.589Z] [2024-05-10T09:45:16.589Z] 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-10T09:45:16.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-10T09:45:16.989Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-10T09:45:16.989Z] b85a868b505f: Pulling fs layer [2024-05-10T09:45:16.989Z] e2be974225ed: Pulling fs layer [2024-05-10T09:45:16.989Z] 339a4e72a1f5: Pulling fs layer [2024-05-10T09:45:16.989Z] 988bab9f4d93: Pulling fs layer [2024-05-10T09:45:16.989Z] 1469e6f7b9e6: Pulling fs layer [2024-05-10T09:45:16.989Z] eaf3925da568: Pulling fs layer [2024-05-10T09:45:16.989Z] bab4dde63d76: Pulling fs layer [2024-05-10T09:45:16.989Z] bde34c3a00c8: Pulling fs layer [2024-05-10T09:45:16.989Z] b352a97aabf1: Pulling fs layer [2024-05-10T09:45:16.989Z] 4872d77fe225: Pulling fs layer [2024-05-10T09:45:16.989Z] 5851b861e8e6: Pulling fs layer [2024-05-10T09:45:16.989Z] 988bab9f4d93: Waiting [2024-05-10T09:45:16.989Z] eaf3925da568: Waiting [2024-05-10T09:45:16.989Z] bab4dde63d76: Waiting [2024-05-10T09:45:16.989Z] 4872d77fe225: Waiting [2024-05-10T09:45:16.989Z] bde34c3a00c8: Waiting [2024-05-10T09:45:16.989Z] 5851b861e8e6: Waiting [2024-05-10T09:45:16.989Z] b352a97aabf1: Waiting [2024-05-10T09:45:16.989Z] 1469e6f7b9e6: Waiting [2024-05-10T09:45:16.989Z] e2be974225ed: Verifying Checksum [2024-05-10T09:45:16.989Z] e2be974225ed: Download complete [2024-05-10T09:45:16.989Z] 988bab9f4d93: Verifying Checksum [2024-05-10T09:45:16.989Z] 988bab9f4d93: Download complete [2024-05-10T09:45:16.989Z] 1469e6f7b9e6: Verifying Checksum [2024-05-10T09:45:16.989Z] 1469e6f7b9e6: Download complete [2024-05-10T09:45:16.989Z] eaf3925da568: Download complete [2024-05-10T09:45:16.989Z] 339a4e72a1f5: Verifying Checksum [2024-05-10T09:45:16.989Z] 339a4e72a1f5: Download complete [2024-05-10T09:45:17.247Z] bde34c3a00c8: Download complete [2024-05-10T09:45:17.247Z] b352a97aabf1: Verifying Checksum [2024-05-10T09:45:17.247Z] b352a97aabf1: Download complete [2024-05-10T09:45:17.247Z] 4872d77fe225: Verifying Checksum [2024-05-10T09:45:17.247Z] 4872d77fe225: Download complete [2024-05-10T09:45:17.247Z] 5851b861e8e6: Verifying Checksum [2024-05-10T09:45:17.247Z] 5851b861e8e6: Download complete [2024-05-10T09:45:17.247Z] b85a868b505f: Verifying Checksum [2024-05-10T09:45:17.247Z] b85a868b505f: Download complete [2024-05-10T09:45:17.505Z] bab4dde63d76: Verifying Checksum [2024-05-10T09:45:17.505Z] bab4dde63d76: Download complete [2024-05-10T09:45:18.440Z] b85a868b505f: Pull complete [2024-05-10T09:45:18.440Z] e2be974225ed: Pull complete [2024-05-10T09:45:18.699Z] 339a4e72a1f5: Pull complete [2024-05-10T09:45:18.958Z] 988bab9f4d93: Pull complete [2024-05-10T09:45:19.218Z] 1469e6f7b9e6: Pull complete [2024-05-10T09:45:19.218Z] eaf3925da568: Pull complete [2024-05-10T09:45:20.590Z] bab4dde63d76: Pull complete [2024-05-10T09:45:20.848Z] bde34c3a00c8: Pull complete [2024-05-10T09:45:20.848Z] b352a97aabf1: Pull complete [2024-05-10T09:45:20.848Z] 4872d77fe225: Pull complete [2024-05-10T09:45:21.107Z] 5851b861e8e6: Pull complete [2024-05-10T09:45:21.366Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-10T09:45:21.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-10T09:45:21.366Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-10T09:45:21.637Z] prd-ubuntu20.04-docker-8c-8g-367 does not seem to be running inside a container [2024-05-10T09:45:21.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1577 -v /w/workspace/gexfoundry_device-sdk-go_PR-1577:/w/workspace/gexfoundry_device-sdk-go_PR-1577:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-10T09:45:24.176Z] $ docker top 5b020594423e78e7007529f157689cf898432d10f2ea44e183670791caa3cd56 -eo pid,comm [2024-05-10T09:45:24.220Z] 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-10T09:45:24.220Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-10T09:45:24.381Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-10T09:45:24.381Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-10T09:45:24.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-10T09:45:24.484Z] $ docker exec 5b020594423e78e7007529f157689cf898432d10f2ea44e183670791caa3cd56 ssh-agent [2024-05-10T09:45:24.584Z] SSH_AUTH_SOCK=/tmp/ssh-a3sdQibP5lPI/agent.31 [2024-05-10T09:45:24.584Z] SSH_AGENT_PID=37 [2024-05-10T09:45:24.589Z] Running ssh-add (command line suppressed) [2024-05-10T09:45:24.691Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp/private_key_1698759308878772621.key (/w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp/private_key_1698759308878772621.key) [2024-05-10T09:45:24.701Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-10T09:45:25.051Z] + git tag --points-at HEAD [Pipeline] } [2024-05-10T09:45:25.080Z] $ docker exec --env ******** --env ******** 5b020594423e78e7007529f157689cf898432d10f2ea44e183670791caa3cd56 ssh-agent -k [2024-05-10T09:45:25.177Z] unset SSH_AUTH_SOCK; [2024-05-10T09:45:25.178Z] unset SSH_AGENT_PID; [2024-05-10T09:45:25.178Z] echo Agent pid 37 killed; [2024-05-10T09:45:25.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-10T09:45:25.298Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-10T09:45:25.298Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-10T09:45:25.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-10T09:45:25.427Z] $ docker exec 5b020594423e78e7007529f157689cf898432d10f2ea44e183670791caa3cd56 ssh-agent [2024-05-10T09:45:25.536Z] SSH_AUTH_SOCK=/tmp/ssh-sUP5S7erdYDE/agent.70 [2024-05-10T09:45:25.536Z] SSH_AGENT_PID=76 [2024-05-10T09:45:25.540Z] Running ssh-add (command line suppressed) [2024-05-10T09:45:25.647Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp/private_key_1188577022328757584.key (/w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp/private_key_1188577022328757584.key) [2024-05-10T09:45:25.658Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-10T09:45:26.000Z] + git semver init [2024-05-10T09:45:26.260Z] 2024-05-10 09:45:26,188 [run_init] DEBUG init version:0.0.0 force:False [2024-05-10T09:45:26.260Z] 2024-05-10 09:45:26,189 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1577/.semver [2024-05-10T09:45:26.260Z] 2024-05-10 09:45:26,189 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1577/.semver [2024-05-10T09:45:26.260Z] 2024-05-10 09:45:26,190 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1577/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1577, universal_newlines=False, shell=None, istream=None) [2024-05-10T09:45:27.642Z] 2024-05-10 09:45:27,380 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1577/.git/info/exclude [2024-05-10T09:45:27.642Z] 2024-05-10 09:45:27,381 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1577/.semver/PR-1577 with force:False [2024-05-10T09:45:27.642Z] 2024-05-10 09:45:27,381 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1577/.semver/PR-1577 [2024-05-10T09:45:27.642Z] 2024-05-10 09:45:27,385 [execute] INFO git cat-file --batch-check [2024-05-10T09:45:27.642Z] 2024-05-10 09:45:27,386 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1577/.semver, universal_newlines=False, shell=None, istream=) [2024-05-10T09:45:27.642Z] 2024-05-10 09:45:27,392 [execute] INFO git cat-file --batch [2024-05-10T09:45:27.642Z] 2024-05-10 09:45:27,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1577/.semver, universal_newlines=False, shell=None, istream=) [2024-05-10T09:45:27.642Z] 2024-05-10 09:45:27,398 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1577/.semver/PR-1577 [2024-05-10T09:45:27.642Z] 0.0.0 [Pipeline] } [2024-05-10T09:45:27.670Z] $ docker exec --env ******** --env ******** 5b020594423e78e7007529f157689cf898432d10f2ea44e183670791caa3cd56 ssh-agent -k [2024-05-10T09:45:27.766Z] unset SSH_AUTH_SOCK; [2024-05-10T09:45:27.767Z] unset SSH_AGENT_PID; [2024-05-10T09:45:27.767Z] echo Agent pid 76 killed; [2024-05-10T09:45:27.779Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-10T09:45:28.243Z] + git semver [Pipeline] } [2024-05-10T09:45:28.538Z] $ docker stop --time=1 5b020594423e78e7007529f157689cf898432d10f2ea44e183670791caa3cd56 [2024-05-10T09:45:29.810Z] $ docker rm -f --volumes 5b020594423e78e7007529f157689cf898432d10f2ea44e183670791caa3cd56 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-10T09:45:30.230Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-10T09:45:30.537Z] Stashed 1 file(s) [Pipeline] echo [2024-05-10T09:45:30.561Z] [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-10T09:45:31.275Z] provisioning config files... [2024-05-10T09:45:31.285Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp/config97416189942781029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-10T09:45:31.654Z] ---> ****-login.sh [2024-05-10T09:45:31.654Z] nexus3.edgexfoundry.org:10001 [2024-05-10T09:45:31.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:45:31.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:45:31.654Z] Configure a credential helper to remove this warning. See [2024-05-10T09:45:31.654Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:45:31.654Z] [2024-05-10T09:45:31.654Z] Login Succeeded [2024-05-10T09:45:31.654Z] nexus3.edgexfoundry.org:10002 [2024-05-10T09:45:31.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:45:31.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:45:31.654Z] Configure a credential helper to remove this warning. See [2024-05-10T09:45:31.654Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:45:31.654Z] [2024-05-10T09:45:31.654Z] Login Succeeded [2024-05-10T09:45:31.654Z] nexus3.edgexfoundry.org:10003 [2024-05-10T09:45:31.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:45:31.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:45:31.913Z] Configure a credential helper to remove this warning. See [2024-05-10T09:45:31.913Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:45:31.913Z] [2024-05-10T09:45:31.913Z] Login Succeeded [2024-05-10T09:45:31.913Z] nexus3.edgexfoundry.org:10004 [2024-05-10T09:45:31.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:45:31.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:45:31.914Z] Configure a credential helper to remove this warning. See [2024-05-10T09:45:31.914Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:45:31.914Z] [2024-05-10T09:45:31.914Z] Login Succeeded [2024-05-10T09:45:31.914Z] ****.io [2024-05-10T09:45:32.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:45:32.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:45:32.173Z] Configure a credential helper to remove this warning. See [2024-05-10T09:45:32.173Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:45:32.173Z] [2024-05-10T09:45:32.173Z] Login Succeeded [2024-05-10T09:45:32.173Z] ---> ****-login.sh ends [Pipeline] } [2024-05-10T09:45:32.205Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-10T09:45:32.450Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-10T09:45:32.764Z] + + grep ^go [0-9].[0-9]*cut go.mod -d [2024-05-10T09:45:32.764Z] -f 2 [Pipeline] echo [2024-05-10T09:45:32.816Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-10T09:45:32.866Z] ========================================================= [2024-05-10T09:45:32.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-10T09:45:32.866Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T09:45:33.447Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-10T09:45:33.707Z] Sending build context to Docker daemon 53.47MB [2024-05-10T09:45:33.707Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-10T09:45:33.707Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-10T09:45:33.966Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-10T09:45:33.966Z] 619be1103602: Pulling fs layer [2024-05-10T09:45:33.966Z] 7862e08f4a3e: Pulling fs layer [2024-05-10T09:45:33.966Z] 5df492c9dc93: Pulling fs layer [2024-05-10T09:45:33.966Z] 7629e6793208: Pulling fs layer [2024-05-10T09:45:33.966Z] 4f4fb700ef54: Pulling fs layer [2024-05-10T09:45:33.966Z] 8de7f028bff5: Pulling fs layer [2024-05-10T09:45:33.966Z] 44042ff1420b: Pulling fs layer [2024-05-10T09:45:33.966Z] 5cdaf54b7214: Pulling fs layer [2024-05-10T09:45:33.966Z] 38f3e5a9071a: Pulling fs layer [2024-05-10T09:45:33.966Z] 7629e6793208: Waiting [2024-05-10T09:45:33.966Z] 4f4fb700ef54: Waiting [2024-05-10T09:45:33.966Z] 8de7f028bff5: Waiting [2024-05-10T09:45:33.966Z] 38f3e5a9071a: Waiting [2024-05-10T09:45:33.966Z] 44042ff1420b: Waiting [2024-05-10T09:45:33.966Z] 5cdaf54b7214: Waiting [2024-05-10T09:45:34.224Z] 7862e08f4a3e: Verifying Checksum [2024-05-10T09:45:34.224Z] 7862e08f4a3e: Download complete [2024-05-10T09:45:34.224Z] 7629e6793208: Download complete [2024-05-10T09:45:34.224Z] 4f4fb700ef54: Verifying Checksum [2024-05-10T09:45:34.224Z] 4f4fb700ef54: Download complete [2024-05-10T09:45:34.224Z] 8de7f028bff5: Verifying Checksum [2024-05-10T09:45:34.224Z] 8de7f028bff5: Download complete [2024-05-10T09:45:34.224Z] 619be1103602: Verifying Checksum [2024-05-10T09:45:34.224Z] 619be1103602: Download complete [2024-05-10T09:45:34.224Z] 44042ff1420b: Verifying Checksum [2024-05-10T09:45:34.224Z] 44042ff1420b: Download complete [2024-05-10T09:45:34.483Z] 619be1103602: Pull complete [2024-05-10T09:45:34.483Z] 38f3e5a9071a: Verifying Checksum [2024-05-10T09:45:34.483Z] 38f3e5a9071a: Download complete [2024-05-10T09:45:34.483Z] 5df492c9dc93: Verifying Checksum [2024-05-10T09:45:34.483Z] 5df492c9dc93: Download complete [2024-05-10T09:45:34.742Z] 7862e08f4a3e: Pull complete [2024-05-10T09:45:35.003Z] 5cdaf54b7214: Verifying Checksum [2024-05-10T09:45:35.003Z] 5cdaf54b7214: Download complete [2024-05-10T09:45:38.297Z] 5df492c9dc93: Pull complete [2024-05-10T09:45:38.297Z] 7629e6793208: Pull complete [2024-05-10T09:45:38.556Z] 4f4fb700ef54: Pull complete [2024-05-10T09:45:38.816Z] 8de7f028bff5: Pull complete [2024-05-10T09:45:39.075Z] 44042ff1420b: Pull complete [2024-05-10T09:45:41.613Z] 5cdaf54b7214: Pull complete [2024-05-10T09:45:41.871Z] 38f3e5a9071a: Pull complete [2024-05-10T09:45:41.871Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-10T09:45:41.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-10T09:45:41.871Z] ---> 60b93f829570 [2024-05-10T09:45:41.871Z] Step 3/10 : ARG MAKE=make build [2024-05-10T09:45:46.054Z] Still waiting to schedule task [2024-05-10T09:45:46.054Z] ‘prd-ubuntu18.04-docker-8c-8g-171’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-05-10T09:45:46.054Z] ‘prd-ubuntu18.04-docker-8c-8g-172’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-05-10T09:45:46.054Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-368’ is offline [2024-05-10T09:45:47.142Z] ---> Running in 4a8336e9400d [2024-05-10T09:45:47.142Z] Removing intermediate container 4a8336e9400d [2024-05-10T09:45:47.142Z] ---> 83d2f1ce0f8d [2024-05-10T09:45:47.142Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-10T09:45:47.142Z] ---> Running in 4495abb40b81 [2024-05-10T09:45:47.142Z] Removing intermediate container 4495abb40b81 [2024-05-10T09:45:47.142Z] ---> 2eb9bdf5378a [2024-05-10T09:45:47.142Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-10T09:45:47.142Z] ---> Running in e29459843955 [2024-05-10T09:45:47.401Z] Removing intermediate container e29459843955 [2024-05-10T09:45:47.401Z] ---> ce1c8235f9e0 [2024-05-10T09:45:47.401Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-10T09:45:47.401Z] ---> Running in 76c1b51cd8b4 [2024-05-10T09:45:47.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-10T09:45:47.920Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-10T09:45:48.180Z] OK: 264 MiB in 52 packages [2024-05-10T09:45:48.440Z] Removing intermediate container 76c1b51cd8b4 [2024-05-10T09:45:48.440Z] ---> c226661e2df3 [2024-05-10T09:45:48.440Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-10T09:45:50.345Z] ---> 67f49a14343f [2024-05-10T09:45:50.345Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-10T09:45:50.345Z] ---> Running in 3e884ef4a4ac [2024-05-10T09:46:16.943Z] Removing intermediate container 3e884ef4a4ac [2024-05-10T09:46:16.944Z] ---> f7d6f947925c [2024-05-10T09:46:16.944Z] Step 9/10 : COPY . . [2024-05-10T09:46:18.872Z] ---> b400a7f6e84a [2024-05-10T09:46:18.872Z] Step 10/10 : RUN ${MAKE} [2024-05-10T09:46:18.872Z] ---> Running in 76689cc8a766 [2024-05-10T09:46:18.872Z] noop [2024-05-10T09:46:19.132Z] Removing intermediate container 76689cc8a766 [2024-05-10T09:46:19.132Z] ---> 7d3abfa0102c [2024-05-10T09:46:19.393Z] Successfully built 7d3abfa0102c [2024-05-10T09:46:19.393Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T09:46:19.927Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-10T09:46:19.928Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-10T09:46:20.093Z] prd-ubuntu20.04-docker-8c-8g-367 does not seem to be running inside a container [2024-05-10T09:46:20.130Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1577 -v /w/workspace/gexfoundry_device-sdk-go_PR-1577:/w/workspace/gexfoundry_device-sdk-go_PR-1577:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1577@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 ******** ci-base-image-x86_64 cat [2024-05-10T09:46:20.461Z] $ docker top 0827595511f45045f51043c8997c035b214c68c4adb68248e078d74fa23acad3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-10T09:46:20.874Z] + go version [2024-05-10T09:46:20.874Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-10T09:46:20.910Z] $ docker stop --time=1 0827595511f45045f51043c8997c035b214c68c4adb68248e078d74fa23acad3 [2024-05-10T09:46:22.179Z] $ docker rm -f --volumes 0827595511f45045f51043c8997c035b214c68c4adb68248e078d74fa23acad3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T09:46:22.997Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-10T09:46:22.997Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-10T09:46:23.168Z] prd-ubuntu20.04-docker-8c-8g-367 does not seem to be running inside a container [2024-05-10T09:46:23.206Z] $ 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-1577 -v /w/workspace/gexfoundry_device-sdk-go_PR-1577:/w/workspace/gexfoundry_device-sdk-go_PR-1577:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1577@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 ******** ci-base-image-x86_64 cat [2024-05-10T09:46:23.538Z] $ docker top 8a21e4fc799c928d8c1674b46b8f94d375fed1f055b03e766faea4997dc22165 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-10T09:46:23.954Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1577 [Pipeline] fileExists [Pipeline] sh [2024-05-10T09:46:24.330Z] + make test [2024-05-10T09:46:24.330Z] go test -race -coverprofile=coverage.out ./... [2024-05-10T09:46:30.886Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-10T09:46:45.756Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-10T09:46:45.756Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-10T09:46:45.756Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-10T09:46:45.756Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-10T09:46:45.756Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-10T09:46:45.756Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-10T09:46:45.756Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-10T09:46:45.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.051s coverage: 27.6% of statements [2024-05-10T09:46:45.756Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-10T09:46:45.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.053s coverage: 81.5% of statements [2024-05-10T09:46:45.756Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.061s coverage: 86.0% of statements [2024-05-10T09:46:46.690Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.077s coverage: 71.8% of statements [2024-05-10T09:46:46.949Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-10T09:46:46.949Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-10T09:46:46.949Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-10T09:46:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.058s coverage: 14.4% of statements [2024-05-10T09:46:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.796s coverage: 45.6% of statements [2024-05-10T09:46:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.070s coverage: 68.5% of statements [2024-05-10T09:46:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.116s coverage: 89.2% of statements [2024-05-10T09:46:50.256Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.049s coverage: 5.5% of statements [2024-05-10T09:47:08.332Z] GO111MODULE=on go vet ./... [2024-05-10T09:47:11.617Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-10T09:47:11.618Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-10T09:47:11.618Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-10T09:47:11.664Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-10T09:47:12.054Z] + go mod tidy [Pipeline] } [2024-05-10T09:47:12.339Z] $ docker stop --time=1 8a21e4fc799c928d8c1674b46b8f94d375fed1f055b03e766faea4997dc22165 [2024-05-10T09:47:17.283Z] $ docker rm -f --volumes 8a21e4fc799c928d8c1674b46b8f94d375fed1f055b03e766faea4997dc22165 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-10T09:47:17.915Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-10T09:47:18.049Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-10T09:47:18.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-10T09:47:19.122Z] + ls -al . [2024-05-10T09:47:19.122Z] total 312 [2024-05-10T09:47:19.122Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 09:46 . [2024-05-10T09:47:19.122Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:44 .. [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 09:44 .dockerignore [2024-05-10T09:47:19.122Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:46 .git [2024-05-10T09:47:19.122Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:44 .github [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 130 May 10 09:44 .gitignore [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 09:44 .golangci.yml [2024-05-10T09:47:19.122Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:45 .semver [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 10 09:44 CHANGELOG.md [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:44 GOVERNANCE.md [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 885 May 10 09:44 Jenkinsfile [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 09:44 LICENSE [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 10 09:44 Makefile [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 619 May 10 09:44 OWNERS.md [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 10 09:44 README.md [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:45 VERSION [2024-05-10T09:47:19.122Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:44 bin [2024-05-10T09:47:19.122Z] -rw-r--r-- 1 jenkins jenkins 122153 May 10 09:46 coverage.out [2024-05-10T09:47:19.122Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 09:44 example [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 3653 May 10 09:44 go.mod [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 33392 May 10 09:44 go.sum [2024-05-10T09:47:19.122Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 09:44 internal [2024-05-10T09:47:19.122Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:44 openapi [2024-05-10T09:47:19.122Z] drwxrwxr-x 6 jenkins jenkins 4096 May 10 09:44 pkg [2024-05-10T09:47:19.122Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:44 snap [2024-05-10T09:47:19.122Z] drwxrwxr-x 6 jenkins jenkins 4096 May 10 09:44 vendor [2024-05-10T09:47:19.122Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T09:47:19.551Z] + 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=26d723f6c3a8ddde36a58a9e75c880457a23e87a --label arch=amd64 --label version=0.0.0 . [2024-05-10T09:47:19.811Z] Sending build context to Docker daemon 53.59MB [2024-05-10T09:47:19.811Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-10T09:47:19.811Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-10T09:47:19.811Z] ---> 7d3abfa0102c [2024-05-10T09:47:19.811Z] Step 3/23 : ARG MAKE=make build [2024-05-10T09:47:20.379Z] ---> Running in 57d3c9cc5a9f [2024-05-10T09:47:20.379Z] Removing intermediate container 57d3c9cc5a9f [2024-05-10T09:47:20.379Z] ---> 339a1c5f712f [2024-05-10T09:47:20.379Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-10T09:47:20.638Z] ---> Running in e258cf006b18 [2024-05-10T09:47:20.638Z] Removing intermediate container e258cf006b18 [2024-05-10T09:47:20.638Z] ---> 1cde8f049837 [2024-05-10T09:47:20.638Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-10T09:47:20.638Z] ---> Running in 6c941647049b [2024-05-10T09:47:20.638Z] Removing intermediate container 6c941647049b [2024-05-10T09:47:20.638Z] ---> 06cfea1aad39 [2024-05-10T09:47:20.638Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-10T09:47:20.638Z] ---> Running in de2a9119fbe5 [2024-05-10T09:47:20.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-10T09:47:21.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-10T09:47:21.414Z] OK: 264 MiB in 52 packages [2024-05-10T09:47:21.673Z] Removing intermediate container de2a9119fbe5 [2024-05-10T09:47:21.673Z] ---> 669f74786746 [2024-05-10T09:47:21.673Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-10T09:47:23.576Z] ---> 031c5000f39c [2024-05-10T09:47:23.576Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-10T09:47:23.576Z] ---> Running in 70726a0617ee [2024-05-10T09:47:23.835Z] skipping... [2024-05-10T09:47:24.093Z] Removing intermediate container 70726a0617ee [2024-05-10T09:47:24.093Z] ---> 0306785e755f [2024-05-10T09:47:24.093Z] Step 9/23 : COPY . . [2024-05-10T09:47:26.623Z] ---> 9216506f9539 [2024-05-10T09:47:26.623Z] Step 10/23 : RUN ${MAKE} [2024-05-10T09:47:26.623Z] ---> Running in 436e5d509285 [2024-05-10T09:47:26.623Z] 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-10T09:47:48.549Z] Removing intermediate container 436e5d509285 [2024-05-10T09:47:48.549Z] ---> f95cb12b6810 [2024-05-10T09:47:48.549Z] Step 11/23 : FROM alpine:3.18 [2024-05-10T09:47:48.549Z] 3.18: Pulling from library/alpine [2024-05-10T09:47:48.549Z] 619be1103602: Already exists [2024-05-10T09:47:48.549Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-10T09:47:48.549Z] Status: Downloaded newer image for alpine:3.18 [2024-05-10T09:47:48.549Z] ---> d3782b16ccc9 [2024-05-10T09:47:48.549Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-10T09:47:48.549Z] ---> Running in 3637bc71e124 [2024-05-10T09:47:48.549Z] Removing intermediate container 3637bc71e124 [2024-05-10T09:47:48.549Z] ---> c351958b7a10 [2024-05-10T09:47:48.549Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-10T09:47:48.549Z] ---> Running in 77edfed77db6 [2024-05-10T09:47:48.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-10T09:47:48.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-10T09:47:48.549Z] OK: 7 MiB in 15 packages [2024-05-10T09:47:48.549Z] Removing intermediate container 77edfed77db6 [2024-05-10T09:47:48.549Z] ---> 9a808a7cba94 [2024-05-10T09:47:48.549Z] Step 14/23 : WORKDIR / [2024-05-10T09:47:48.549Z] ---> Running in d701c9e2f38b [2024-05-10T09:47:48.549Z] Removing intermediate container d701c9e2f38b [2024-05-10T09:47:48.549Z] ---> 5a7e8429a646 [2024-05-10T09:47:48.549Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-10T09:47:48.549Z] ---> 4ff5d6e1bbbe [2024-05-10T09:47:48.549Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-10T09:47:49.485Z] ---> c80ad2e5cae7 [2024-05-10T09:47:49.485Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-10T09:47:49.485Z] ---> 9f93f2ac8002 [2024-05-10T09:47:49.485Z] Step 18/23 : EXPOSE 59999 [2024-05-10T09:47:49.485Z] ---> Running in 6b37fabe6b1c [2024-05-10T09:47:49.485Z] Removing intermediate container 6b37fabe6b1c [2024-05-10T09:47:49.485Z] ---> 4db23c6ee481 [2024-05-10T09:47:49.485Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-10T09:47:49.485Z] ---> Running in c05f38850122 [2024-05-10T09:47:49.485Z] Removing intermediate container c05f38850122 [2024-05-10T09:47:49.485Z] ---> a17b2ca90de7 [2024-05-10T09:47:49.485Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-10T09:47:49.485Z] ---> Running in fdc719620194 [2024-05-10T09:47:49.744Z] Removing intermediate container fdc719620194 [2024-05-10T09:47:49.744Z] ---> b22d0db8bd0b [2024-05-10T09:47:49.744Z] Step 21/23 : LABEL arch=amd64 [2024-05-10T09:47:49.744Z] ---> Running in 7f96c76a7bb5 [2024-05-10T09:47:49.744Z] Removing intermediate container 7f96c76a7bb5 [2024-05-10T09:47:49.744Z] ---> c6daf6034c30 [2024-05-10T09:47:49.744Z] Step 22/23 : LABEL git_sha=26d723f6c3a8ddde36a58a9e75c880457a23e87a [2024-05-10T09:47:49.744Z] ---> Running in d506590cbba9 [2024-05-10T09:47:49.744Z] Removing intermediate container d506590cbba9 [2024-05-10T09:47:49.744Z] ---> 230606a58dcd [2024-05-10T09:47:49.744Z] Step 23/23 : LABEL version=0.0.0 [2024-05-10T09:47:50.003Z] ---> Running in 6e3358a488f5 [2024-05-10T09:47:50.003Z] Removing intermediate container 6e3358a488f5 [2024-05-10T09:47:50.003Z] ---> d13be8e9f8ae [2024-05-10T09:47:50.003Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-10T09:47:50.003Z] Successfully built d13be8e9f8ae [2024-05-10T09:47:50.003Z] 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-10T09:47:50.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-10T09:47:50.991Z] [2024-05-10T09:47:50.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T09:47:51.396Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-10T09:47:51.396Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-10T09:47:51.396Z] 5eb5b503b376: Pulling fs layer [2024-05-10T09:47:51.396Z] 5c69ac0246d0: Pulling fs layer [2024-05-10T09:47:51.396Z] ec43610c2a17: Pulling fs layer [2024-05-10T09:47:51.396Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-10T09:47:51.396Z] 33b1e0a273af: Pulling fs layer [2024-05-10T09:47:51.396Z] 5d3b04190fa2: Pulling fs layer [2024-05-10T09:47:51.396Z] 2f39f015ded8: Pulling fs layer [2024-05-10T09:47:51.396Z] 2f39f015ded8: Waiting [2024-05-10T09:47:51.396Z] 5d3b04190fa2: Waiting [2024-05-10T09:47:51.396Z] 3a2ae6a8a46f: Waiting [2024-05-10T09:47:51.396Z] 33b1e0a273af: Waiting [2024-05-10T09:47:51.396Z] 5c69ac0246d0: Verifying Checksum [2024-05-10T09:47:51.396Z] 5c69ac0246d0: Download complete [2024-05-10T09:47:51.396Z] 3a2ae6a8a46f: Download complete [2024-05-10T09:47:51.396Z] 33b1e0a273af: Verifying Checksum [2024-05-10T09:47:51.396Z] 5d3b04190fa2: Download complete [2024-05-10T09:47:51.396Z] ec43610c2a17: Verifying Checksum [2024-05-10T09:47:51.396Z] ec43610c2a17: Download complete [2024-05-10T09:47:51.654Z] 5eb5b503b376: Verifying Checksum [2024-05-10T09:47:51.654Z] 5eb5b503b376: Download complete [2024-05-10T09:47:52.220Z] 2f39f015ded8: Download complete [2024-05-10T09:47:52.787Z] 5eb5b503b376: Pull complete [2024-05-10T09:47:52.787Z] 5c69ac0246d0: Pull complete [2024-05-10T09:47:53.046Z] ec43610c2a17: Pull complete [2024-05-10T09:47:53.046Z] 3a2ae6a8a46f: Pull complete [2024-05-10T09:47:53.305Z] 33b1e0a273af: Pull complete [2024-05-10T09:47:53.305Z] 5d3b04190fa2: Pull complete [2024-05-10T09:47:57.488Z] 2f39f015ded8: Pull complete [2024-05-10T09:47:57.488Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-10T09:47:57.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-10T09:47:57.488Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-10T09:47:57.743Z] prd-ubuntu20.04-docker-8c-8g-367 does not seem to be running inside a container [2024-05-10T09:47:57.772Z] $ 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-1577 -v /w/workspace/gexfoundry_device-sdk-go_PR-1577:/w/workspace/gexfoundry_device-sdk-go_PR-1577:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-10T09:48:02.724Z] $ docker top 0e3929fef821b5b7d9513ab3f13386d0ccbd426e7be839e30f36fa424ae46c56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-10T09:48:03.220Z] ---> job-cost.sh [2024-05-10T09:48:03.220Z] lf-activate-venv: SKIPPING [2024-05-10T09:48:03.220Z] INFO: No Stack... [2024-05-10T09:48:03.480Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-10T09:48:03.741Z] INFO: Archiving Costs [Pipeline] sh [2024-05-10T09:48:04.066Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1577/archives/cost.csv [2024-05-10T09:48:04.066Z] + cut -d, -f6 [Pipeline] lock [2024-05-10T09:48:04.119Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1577-1-stack-cost] [2024-05-10T09:48:04.126Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1577-1-stack-cost] did not exist. Created. [2024-05-10T09:48:04.132Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1577-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-10T09:48:04.555Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-10T09:48:04.694Z] Stashed 1 file(s) [Pipeline] } [2024-05-10T09:48:04.723Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1577-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-10T09:48:04.820Z] $ docker stop --time=1 0e3929fef821b5b7d9513ab3f13386d0ccbd426e7be839e30f36fa424ae46c56 [2024-05-10T09:48:05.981Z] $ docker rm -f --volumes 0e3929fef821b5b7d9513ab3f13386d0ccbd426e7be839e30f36fa424ae46c56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-10T09:48:21.496Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-369 in /w/workspace/gexfoundry_device-sdk-go_PR-1577 [Pipeline] { [Pipeline] ws [2024-05-10T09:48:21.571Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-05-10T09:48:24.784Z] The recommended git tool is: git [2024-05-10T09:48:33.221Z] using credential edgex-jenkins-ssh [2024-05-10T09:48:33.249Z] Cloning the remote Git repository [2024-05-10T09:48:33.294Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-05-10T09:48:33.394Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-05-10T09:48:33.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-10T09:48:33.717Z] > git --version # timeout=10 [2024-05-10T09:48:33.762Z] > git --version # 'git version 2.25.1' [2024-05-10T09:48:33.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-10T09:48:34.033Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-10T09:48:36.739Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-10T09:48:36.780Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-10T09:48:37.971Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-05-10T09:48:38.040Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-05-10T09:48:38.041Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-10T09:48:38.075Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1577/head:refs/remotes/origin/PR-1577 +refs/heads/napa:refs/remotes/origin/napa # timeout=10 [2024-05-10T09:48:39.731Z] Merging remotes/origin/napa commit abf78bec53b58046fbccef7a1c02cd98bf2dc47d into PR head commit 26d723f6c3a8ddde36a58a9e75c880457a23e87a [2024-05-10T09:48:39.761Z] > git config core.sparsecheckout # timeout=10 [2024-05-10T09:48:39.885Z] > git checkout -f 26d723f6c3a8ddde36a58a9e75c880457a23e87a # timeout=10 [2024-05-10T09:48:41.004Z] Merge succeeded, producing 26d723f6c3a8ddde36a58a9e75c880457a23e87a [2024-05-10T09:48:41.004Z] Checking out Revision 26d723f6c3a8ddde36a58a9e75c880457a23e87a (PR-1577) [2024-05-10T09:48:40.889Z] > git remote # timeout=10 [2024-05-10T09:48:40.910Z] > git config --get remote.origin.url # timeout=10 [2024-05-10T09:48:40.927Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-10T09:48:40.949Z] > git merge abf78bec53b58046fbccef7a1c02cd98bf2dc47d # timeout=10 [2024-05-10T09:48:40.980Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-05-10T09:48:41.012Z] > git config core.sparsecheckout # timeout=10 [2024-05-10T09:48:41.027Z] > git checkout -f 26d723f6c3a8ddde36a58a9e75c880457a23e87a # timeout=10 [2024-05-10T09:48:42.597Z] Commit message: "fix: Bump dependencies to resolve CVEs" [2024-05-10T09:48:42.656Z] > git --version # timeout=10 [2024-05-10T09:48:42.667Z] > git --version # 'git version 2.25.1' [2024-05-10T09:48:42.690Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-10T09:48:47.756Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-10T09:48:47.756Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-10T09:48:47.756Z] Dload Upload Total Spent Left Speed [2024-05-10T09:48:47.756Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 240k [Pipeline] sh [2024-05-10T09:48:48.125Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-10T09:48:48.471Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-05-10T09:48:48.471Z] + sudo tee /etc/docker/daemon.new [2024-05-10T09:48:48.471Z] { [2024-05-10T09:48:48.471Z] "registry-mirrors": [ [2024-05-10T09:48:48.471Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-10T09:48:48.471Z] ], [2024-05-10T09:48:48.471Z] "bip": "10.250.0.254/24", [2024-05-10T09:48:48.471Z] "hosts": [ [2024-05-10T09:48:48.471Z] "tcp://0.0.0.0:5555", [2024-05-10T09:48:48.471Z] "unix:///var/run/docker.sock" [2024-05-10T09:48:48.471Z] ], [2024-05-10T09:48:48.471Z] "mtu": 1458, [2024-05-10T09:48:48.471Z] "selinux-enabled": true, [2024-05-10T09:48:48.471Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-10T09:48:48.472Z] } [Pipeline] sh [2024-05-10T09:48:48.823Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-10T09:48:49.168Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-10T09:49:07.505Z] provisioning config files... [2024-05-10T09:49:07.540Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13261356970751003378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-10T09:49:08.033Z] ---> ****-login.sh [2024-05-10T09:49:08.033Z] nexus3.edgexfoundry.org:10001 [2024-05-10T09:49:08.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:49:08.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:49:08.575Z] Configure a credential helper to remove this warning. See [2024-05-10T09:49:08.575Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:49:08.575Z] [2024-05-10T09:49:08.575Z] Login Succeeded [2024-05-10T09:49:08.575Z] nexus3.edgexfoundry.org:10002 [2024-05-10T09:49:08.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:49:09.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:49:09.118Z] Configure a credential helper to remove this warning. See [2024-05-10T09:49:09.118Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:49:09.118Z] [2024-05-10T09:49:09.118Z] Login Succeeded [2024-05-10T09:49:09.118Z] nexus3.edgexfoundry.org:10003 [2024-05-10T09:49:09.391Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:49:09.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:49:09.391Z] Configure a credential helper to remove this warning. See [2024-05-10T09:49:09.391Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:49:09.391Z] [2024-05-10T09:49:09.391Z] Login Succeeded [2024-05-10T09:49:09.391Z] nexus3.edgexfoundry.org:10004 [2024-05-10T09:49:09.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:49:09.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:49:09.929Z] Configure a credential helper to remove this warning. See [2024-05-10T09:49:09.929Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:49:09.929Z] [2024-05-10T09:49:09.929Z] Login Succeeded [2024-05-10T09:49:09.929Z] ****.io [2024-05-10T09:49:09.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-10T09:49:10.901Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-10T09:49:10.901Z] Configure a credential helper to remove this warning. See [2024-05-10T09:49:10.901Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-10T09:49:10.901Z] [2024-05-10T09:49:10.901Z] Login Succeeded [2024-05-10T09:49:10.901Z] ---> ****-login.sh ends [Pipeline] } [2024-05-10T09:49:10.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-10T09:49:11.397Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-10T09:49:11.744Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-10T09:49:11.744Z] + cut -d -f 2 [Pipeline] echo [2024-05-10T09:49:11.825Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-10T09:49:11.875Z] ========================================================= [2024-05-10T09:49:11.875Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-10T09:49:11.875Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T09:49:12.430Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-10T09:49:15.021Z] Sending build context to Docker daemon 42.81MB [2024-05-10T09:49:15.021Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-05-10T09:49:15.021Z] Step 2/10 : FROM ${BASE} AS builder [2024-05-10T09:49:15.021Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-10T09:49:15.021Z] c6b39de5b339: Pulling fs layer [2024-05-10T09:49:15.021Z] a69c41024577: Pulling fs layer [2024-05-10T09:49:15.021Z] d6de4b400683: Pulling fs layer [2024-05-10T09:49:15.021Z] 35cb2a7552d0: Pulling fs layer [2024-05-10T09:49:15.021Z] 4f4fb700ef54: Pulling fs layer [2024-05-10T09:49:15.021Z] 9e011611b7f5: Pulling fs layer [2024-05-10T09:49:15.021Z] 3bd174042beb: Pulling fs layer [2024-05-10T09:49:15.021Z] 4476f39b5e91: Pulling fs layer [2024-05-10T09:49:15.021Z] 35cb2a7552d0: Waiting [2024-05-10T09:49:15.021Z] 4f4fb700ef54: Waiting [2024-05-10T09:49:15.021Z] 9e011611b7f5: Waiting [2024-05-10T09:49:15.021Z] 3bd174042beb: Waiting [2024-05-10T09:49:15.021Z] 4476f39b5e91: Waiting [2024-05-10T09:49:15.021Z] a69c41024577: Verifying Checksum [2024-05-10T09:49:15.021Z] a69c41024577: Download complete [2024-05-10T09:49:15.021Z] 35cb2a7552d0: Verifying Checksum [2024-05-10T09:49:15.021Z] 35cb2a7552d0: Download complete [2024-05-10T09:49:15.021Z] 4f4fb700ef54: Verifying Checksum [2024-05-10T09:49:15.021Z] 4f4fb700ef54: Download complete [2024-05-10T09:49:15.021Z] 9e011611b7f5: Verifying Checksum [2024-05-10T09:49:15.021Z] 9e011611b7f5: Download complete [2024-05-10T09:49:15.021Z] c6b39de5b339: Verifying Checksum [2024-05-10T09:49:15.021Z] c6b39de5b339: Download complete [2024-05-10T09:49:15.608Z] 4476f39b5e91: Verifying Checksum [2024-05-10T09:49:15.608Z] 4476f39b5e91: Download complete [2024-05-10T09:49:15.876Z] c6b39de5b339: Pull complete [2024-05-10T09:49:16.463Z] a69c41024577: Pull complete [2024-05-10T09:49:16.737Z] d6de4b400683: Verifying Checksum [2024-05-10T09:49:16.737Z] d6de4b400683: Download complete [2024-05-10T09:49:18.158Z] 3bd174042beb: Verifying Checksum [2024-05-10T09:49:18.158Z] 3bd174042beb: Download complete [2024-05-10T09:49:30.496Z] d6de4b400683: Pull complete [2024-05-10T09:49:30.496Z] 35cb2a7552d0: Pull complete [2024-05-10T09:49:30.496Z] 4f4fb700ef54: Pull complete [2024-05-10T09:49:30.496Z] 9e011611b7f5: Pull complete [2024-05-10T09:49:38.707Z] 3bd174042beb: Pull complete [2024-05-10T09:49:40.658Z] 4476f39b5e91: Pull complete [2024-05-10T09:49:40.658Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-10T09:49:40.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-10T09:49:40.658Z] ---> 981a0608b64a [2024-05-10T09:49:40.658Z] Step 3/10 : ARG MAKE=make build [2024-05-10T09:49:43.243Z] ---> Running in 789d9bc725fe [2024-05-10T09:49:43.243Z] Removing intermediate container 789d9bc725fe [2024-05-10T09:49:43.243Z] ---> c6d6e423dc3d [2024-05-10T09:49:43.243Z] Step 4/10 : WORKDIR /device-sdk-go [2024-05-10T09:49:43.243Z] ---> Running in 576e4cf1533d [2024-05-10T09:49:43.511Z] Removing intermediate container 576e4cf1533d [2024-05-10T09:49:43.511Z] ---> af55bd049aae [2024-05-10T09:49:43.511Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-10T09:49:43.511Z] ---> Running in 268271cf3545 [2024-05-10T09:49:43.781Z] Removing intermediate container 268271cf3545 [2024-05-10T09:49:43.781Z] ---> b38066c57d50 [2024-05-10T09:49:43.781Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-05-10T09:49:43.781Z] ---> Running in 82f655d3d760 [2024-05-10T09:49:45.200Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-10T09:49:45.467Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-10T09:49:46.439Z] OK: 266 MiB in 52 packages [2024-05-10T09:49:47.419Z] Removing intermediate container 82f655d3d760 [2024-05-10T09:49:47.419Z] ---> e2704cdb28af [2024-05-10T09:49:47.419Z] Step 7/10 : COPY go.mod vendor* ./ [2024-05-10T09:49:54.081Z] ---> ebf3d5a40e4c [2024-05-10T09:49:54.081Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-10T09:49:54.081Z] ---> Running in f6151cc163e6 [2024-05-10T09:50:50.495Z] Removing intermediate container f6151cc163e6 [2024-05-10T09:50:50.495Z] ---> 02703a798392 [2024-05-10T09:50:50.495Z] Step 9/10 : COPY . . [2024-05-10T09:50:55.834Z] ---> 3edd0c851611 [2024-05-10T09:50:55.834Z] Step 10/10 : RUN ${MAKE} [2024-05-10T09:50:55.834Z] ---> Running in ed796bd7720d [2024-05-10T09:50:56.421Z] noop [2024-05-10T09:50:57.007Z] Removing intermediate container ed796bd7720d [2024-05-10T09:50:57.007Z] ---> 4a60b3a122a9 [2024-05-10T09:50:57.274Z] Successfully built 4a60b3a122a9 [2024-05-10T09:50:57.274Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T09:50:58.053Z] + docker inspect -f . ci-base-image-arm64 [2024-05-10T09:50:58.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-10T09:50:58.359Z] prd-ubuntu20.04-docker-arm64-4c-16g-369 does not seem to be running inside a container [2024-05-10T09:50:58.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-10T09:50:59.664Z] $ docker top cae171252847d1979573e1a78d092a7686b8837462d23e3c928c28a1d3dc0819 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-10T09:51:00.616Z] + go version [2024-05-10T09:51:00.616Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-10T09:51:00.652Z] $ docker stop --time=1 cae171252847d1979573e1a78d092a7686b8837462d23e3c928c28a1d3dc0819 [2024-05-10T09:51:02.297Z] $ docker rm -f --volumes cae171252847d1979573e1a78d092a7686b8837462d23e3c928c28a1d3dc0819 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T09:51:03.261Z] + docker inspect -f . ci-base-image-arm64 [2024-05-10T09:51:03.261Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-10T09:51:03.532Z] prd-ubuntu20.04-docker-arm64-4c-16g-369 does not seem to be running inside a container [2024-05-10T09:51:03.665Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-05-10T09:51:04.916Z] $ docker top 963c75c69bb71235dbf8703108ded5f85ff345e62d8861fb5ec630371c906693 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-10T09:51:05.850Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-05-10T09:51:06.616Z] + make test [2024-05-10T09:51:06.616Z] go test -race -coverprofile=coverage.out ./... [2024-05-10T09:51:53.471Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-05-10T09:54:00.251Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-05-10T09:54:00.251Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-05-10T09:54:00.251Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-05-10T09:54:00.251Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-05-10T09:54:00.251Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-05-10T09:54:01.210Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.228s coverage: 27.6% of statements [2024-05-10T09:54:11.286Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.288s coverage: 81.5% of statements [2024-05-10T09:54:21.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-05-10T09:54:21.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-05-10T09:54:22.766Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.404s coverage: 86.0% of statements [2024-05-10T09:54:28.111Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-05-10T09:54:29.528Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.401s coverage: 71.8% of statements [2024-05-10T09:54:33.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.324s coverage: 14.4% of statements [2024-05-10T09:54:36.364Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-05-10T09:54:36.364Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-05-10T09:54:36.364Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.944s coverage: 45.9% of statements [2024-05-10T09:54:37.328Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.407s coverage: 68.5% of statements [2024-05-10T09:54:41.592Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.477s coverage: 89.2% of statements [2024-05-10T09:54:41.592Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-05-10T09:54:42.995Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.251s coverage: 5.5% of statements [2024-05-10T09:54:43.951Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-10T09:54:43.951Z] GO111MODULE=on go vet ./... [2024-05-10T09:57:20.666Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-10T09:57:20.666Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-10T09:57:20.666Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-10T09:57:20.711Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-10T09:57:21.444Z] + go mod tidy [Pipeline] } [2024-05-10T09:57:24.818Z] $ docker stop --time=1 963c75c69bb71235dbf8703108ded5f85ff345e62d8861fb5ec630371c906693 [2024-05-10T09:57:26.768Z] $ docker rm -f --volumes 963c75c69bb71235dbf8703108ded5f85ff345e62d8861fb5ec630371c906693 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-10T09:57:28.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-10T09:57:28.539Z] Warning: overwriting stash ‘coverage-report’ [2024-05-10T09:57:29.454Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-10T09:57:30.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-10T09:57:30.424Z] + ls -al . [2024-05-10T09:57:30.424Z] total 308 [2024-05-10T09:57:30.424Z] drwxrwxr-x 11 jenkins jenkins 4096 May 10 09:51 . [2024-05-10T09:57:30.424Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:48 .. [2024-05-10T09:57:30.424Z] -rw-rw-r-- 1 jenkins jenkins 140 May 10 09:48 .dockerignore [2024-05-10T09:57:30.424Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:48 .git [2024-05-10T09:57:30.424Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:48 .github [2024-05-10T09:57:30.424Z] -rw-rw-r-- 1 jenkins jenkins 130 May 10 09:48 .gitignore [2024-05-10T09:57:30.424Z] -rw-rw-r-- 1 jenkins jenkins 42 May 10 09:48 .golangci.yml [2024-05-10T09:57:30.424Z] -rw-rw-r-- 1 jenkins jenkins 48109 May 10 09:48 CHANGELOG.md [2024-05-10T09:57:30.424Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:48 GOVERNANCE.md [2024-05-10T09:57:30.424Z] -rw-rw-r-- 1 jenkins jenkins 885 May 10 09:48 Jenkinsfile [2024-05-10T09:57:30.424Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 10 09:48 LICENSE [2024-05-10T09:57:30.424Z] -rw-rw-r-- 1 jenkins jenkins 1842 May 10 09:48 Makefile [2024-05-10T09:57:30.424Z] -rw-rw-r-- 1 jenkins jenkins 619 May 10 09:48 OWNERS.md [2024-05-10T09:57:30.424Z] -rw-rw-r-- 1 jenkins jenkins 4933 May 10 09:48 README.md [2024-05-10T09:57:30.424Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:45 VERSION [2024-05-10T09:57:30.424Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:48 bin [2024-05-10T09:57:30.425Z] -rw-r--r-- 1 jenkins jenkins 122153 May 10 09:54 coverage.out [2024-05-10T09:57:30.425Z] drwxrwxr-x 5 jenkins jenkins 4096 May 10 09:48 example [2024-05-10T09:57:30.425Z] -rw-rw-r-- 1 jenkins jenkins 3653 May 10 09:48 go.mod [2024-05-10T09:57:30.425Z] -rw-rw-r-- 1 jenkins jenkins 33392 May 10 09:48 go.sum [2024-05-10T09:57:30.425Z] drwxrwxr-x 12 jenkins jenkins 4096 May 10 09:48 internal [2024-05-10T09:57:30.425Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:48 openapi [2024-05-10T09:57:30.425Z] drwxrwxr-x 6 jenkins jenkins 4096 May 10 09:48 pkg [2024-05-10T09:57:30.425Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:48 snap [2024-05-10T09:57:30.425Z] drwxrwxr-x 6 jenkins jenkins 4096 May 10 09:48 vendor [2024-05-10T09:57:30.425Z] -rw-rw-r-- 1 jenkins jenkins 222 May 10 09:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T09:57:30.856Z] + 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=26d723f6c3a8ddde36a58a9e75c880457a23e87a --label arch=arm64 --label version=0.0.0 . [2024-05-10T09:57:33.444Z] Sending build context to Docker daemon 42.94MB [2024-05-10T09:57:33.444Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-05-10T09:57:33.444Z] Step 2/23 : FROM ${BASE} AS builder [2024-05-10T09:57:33.444Z] ---> 4a60b3a122a9 [2024-05-10T09:57:33.444Z] Step 3/23 : ARG MAKE=make build [2024-05-10T09:57:33.444Z] ---> Running in b34bae5a8311 [2024-05-10T09:57:33.711Z] Removing intermediate container b34bae5a8311 [2024-05-10T09:57:33.711Z] ---> b6582337cd74 [2024-05-10T09:57:33.711Z] Step 4/23 : WORKDIR /device-sdk-go [2024-05-10T09:57:33.985Z] ---> Running in 005c25f5e341 [2024-05-10T09:57:34.250Z] Removing intermediate container 005c25f5e341 [2024-05-10T09:57:34.250Z] ---> fb5d9224ce5d [2024-05-10T09:57:34.250Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-10T09:57:34.250Z] ---> Running in 1092ecec3adf [2024-05-10T09:57:34.517Z] Removing intermediate container 1092ecec3adf [2024-05-10T09:57:34.517Z] ---> 9e333e5865e8 [2024-05-10T09:57:34.517Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-05-10T09:57:34.517Z] ---> Running in 3c25ca06a39c [2024-05-10T09:57:35.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-10T09:57:36.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-10T09:57:37.046Z] OK: 266 MiB in 52 packages [2024-05-10T09:57:37.642Z] Removing intermediate container 3c25ca06a39c [2024-05-10T09:57:37.642Z] ---> 286ab50fd6a6 [2024-05-10T09:57:37.642Z] Step 7/23 : COPY go.mod vendor* ./ [2024-05-10T09:57:45.865Z] ---> 0d070bfe314c [2024-05-10T09:57:45.865Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-10T09:57:45.865Z] ---> Running in de6742e7cc29 [2024-05-10T09:57:45.865Z] skipping... [2024-05-10T09:57:46.132Z] Removing intermediate container de6742e7cc29 [2024-05-10T09:57:46.132Z] ---> 6ca5dee3121b [2024-05-10T09:57:46.132Z] Step 9/23 : COPY . . [2024-05-10T09:57:54.346Z] ---> a8045a0bbe79 [2024-05-10T09:57:54.347Z] Step 10/23 : RUN ${MAKE} [2024-05-10T09:57:54.347Z] ---> Running in 2104d93ce970 [2024-05-10T09:57:55.308Z] 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-10T10:00:16.980Z] Removing intermediate container 2104d93ce970 [2024-05-10T10:00:16.980Z] ---> b9fc4c43cbd1 [2024-05-10T10:00:16.980Z] Step 11/23 : FROM alpine:3.18 [2024-05-10T10:00:16.980Z] 3.18: Pulling from library/alpine [2024-05-10T10:00:16.980Z] c6b39de5b339: Already exists [2024-05-10T10:00:16.980Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-10T10:00:16.980Z] Status: Downloaded newer image for alpine:3.18 [2024-05-10T10:00:16.980Z] ---> 33abbf032149 [2024-05-10T10:00:16.980Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-05-10T10:00:16.980Z] ---> Running in 2cb8bfa68605 [2024-05-10T10:00:16.980Z] Removing intermediate container 2cb8bfa68605 [2024-05-10T10:00:16.980Z] ---> c7a6a02639f3 [2024-05-10T10:00:16.980Z] Step 13/23 : RUN apk add --update --no-cache [2024-05-10T10:00:16.980Z] ---> Running in 4eac0959f977 [2024-05-10T10:00:16.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-10T10:00:16.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-10T10:00:16.980Z] OK: 8 MiB in 15 packages [2024-05-10T10:00:16.980Z] Removing intermediate container 4eac0959f977 [2024-05-10T10:00:16.980Z] ---> 92ea4d84f187 [2024-05-10T10:00:16.980Z] Step 14/23 : WORKDIR / [2024-05-10T10:00:16.980Z] ---> Running in 33678165f5c0 [2024-05-10T10:00:16.980Z] Removing intermediate container 33678165f5c0 [2024-05-10T10:00:16.980Z] ---> 59e39378e0a3 [2024-05-10T10:00:16.980Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-05-10T10:00:16.980Z] ---> 3db2b1b9ea13 [2024-05-10T10:00:16.980Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-05-10T10:00:16.980Z] ---> 7269d3bd9d64 [2024-05-10T10:00:16.980Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-05-10T10:00:16.980Z] ---> b2eb96d8a3be [2024-05-10T10:00:16.980Z] Step 18/23 : EXPOSE 59999 [2024-05-10T10:00:16.980Z] ---> Running in 3690eb6f17f3 [2024-05-10T10:00:16.980Z] Removing intermediate container 3690eb6f17f3 [2024-05-10T10:00:16.980Z] ---> 3c8d3e791eda [2024-05-10T10:00:16.980Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-05-10T10:00:16.980Z] ---> Running in 585f15656c1d [2024-05-10T10:00:17.923Z] Removing intermediate container 585f15656c1d [2024-05-10T10:00:17.923Z] ---> 89d2832b1f9b [2024-05-10T10:00:17.923Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-05-10T10:00:17.923Z] ---> Running in 0ef3c9c06b79 [2024-05-10T10:00:17.923Z] Removing intermediate container 0ef3c9c06b79 [2024-05-10T10:00:17.923Z] ---> d1827031e373 [2024-05-10T10:00:17.923Z] Step 21/23 : LABEL arch=arm64 [2024-05-10T10:00:17.923Z] ---> Running in 303307c39bf8 [2024-05-10T10:00:17.923Z] Removing intermediate container 303307c39bf8 [2024-05-10T10:00:17.923Z] ---> 7a570ba5135d [2024-05-10T10:00:17.923Z] Step 22/23 : LABEL git_sha=26d723f6c3a8ddde36a58a9e75c880457a23e87a [2024-05-10T10:00:18.918Z] ---> Running in a98e4c09d198 [2024-05-10T10:00:18.918Z] Removing intermediate container a98e4c09d198 [2024-05-10T10:00:18.918Z] ---> 099a486b8f10 [2024-05-10T10:00:18.918Z] Step 23/23 : LABEL version=0.0.0 [2024-05-10T10:00:18.918Z] ---> Running in f74342f78504 [2024-05-10T10:00:18.918Z] Removing intermediate container f74342f78504 [2024-05-10T10:00:18.918Z] ---> bf8e2848d2aa [2024-05-10T10:00:18.918Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-10T10:00:19.181Z] Successfully built bf8e2848d2aa [2024-05-10T10:00:19.181Z] 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-10T10:00:20.766Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-10T10:00:20.766Z] [2024-05-10T10:00:20.766Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T10:00:21.174Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-10T10:00:21.174Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-10T10:00:21.174Z] 8998bd30e6a1: Pulling fs layer [2024-05-10T10:00:21.174Z] 04944245beec: Pulling fs layer [2024-05-10T10:00:21.174Z] 699f458cf7ca: Pulling fs layer [2024-05-10T10:00:21.174Z] 765212b225bb: Pulling fs layer [2024-05-10T10:00:21.174Z] f23df028b6ca: Pulling fs layer [2024-05-10T10:00:21.174Z] d65c8cfc05b1: Pulling fs layer [2024-05-10T10:00:21.174Z] 2437ff75d9bd: Pulling fs layer [2024-05-10T10:00:21.174Z] 765212b225bb: Waiting [2024-05-10T10:00:21.174Z] f23df028b6ca: Waiting [2024-05-10T10:00:21.174Z] d65c8cfc05b1: Waiting [2024-05-10T10:00:21.174Z] 2437ff75d9bd: Waiting [2024-05-10T10:00:21.442Z] 04944245beec: Verifying Checksum [2024-05-10T10:00:21.442Z] 04944245beec: Download complete [2024-05-10T10:00:21.442Z] 765212b225bb: Verifying Checksum [2024-05-10T10:00:21.442Z] 765212b225bb: Download complete [2024-05-10T10:00:21.442Z] f23df028b6ca: Verifying Checksum [2024-05-10T10:00:21.442Z] f23df028b6ca: Download complete [2024-05-10T10:00:21.442Z] d65c8cfc05b1: Verifying Checksum [2024-05-10T10:00:21.442Z] d65c8cfc05b1: Download complete [2024-05-10T10:00:21.442Z] 699f458cf7ca: Verifying Checksum [2024-05-10T10:00:21.442Z] 699f458cf7ca: Download complete [2024-05-10T10:00:22.023Z] 8998bd30e6a1: Verifying Checksum [2024-05-10T10:00:22.023Z] 8998bd30e6a1: Download complete [2024-05-10T10:00:24.594Z] 2437ff75d9bd: Verifying Checksum [2024-05-10T10:00:24.594Z] 2437ff75d9bd: Download complete [2024-05-10T10:00:26.527Z] 8998bd30e6a1: Pull complete [2024-05-10T10:00:27.103Z] 04944245beec: Pull complete [2024-05-10T10:00:28.520Z] 699f458cf7ca: Pull complete [2024-05-10T10:00:28.785Z] 765212b225bb: Pull complete [2024-05-10T10:00:29.740Z] f23df028b6ca: Pull complete [2024-05-10T10:00:29.740Z] d65c8cfc05b1: Pull complete [2024-05-10T10:00:47.931Z] 2437ff75d9bd: Pull complete [2024-05-10T10:00:47.931Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-10T10:00:47.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-10T10:00:47.931Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-10T10:00:48.277Z] prd-ubuntu20.04-docker-arm64-4c-16g-369 does not seem to be running inside a container [2024-05-10T10:00:48.352Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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:arm64 cat [2024-05-10T10:00:50.881Z] $ docker top fb85e6d8304c3efd21947457ae2d30b4cbb4a5b8b9b79d03fde6aacd28e2ba45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-10T10:00:51.804Z] ---> job-cost.sh [2024-05-10T10:00:51.804Z] lf-activate-venv: SKIPPING [2024-05-10T10:00:51.804Z] INFO: No Stack... [2024-05-10T10:00:52.381Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-10T10:00:52.957Z] INFO: Archiving Costs [Pipeline] sh [2024-05-10T10:00:53.619Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-05-10T10:00:53.619Z] + cut -d, -f6 [Pipeline] lock [2024-05-10T10:00:53.667Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1577-1-stack-cost] [2024-05-10T10:00:53.673Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1577-1-stack-cost] did not exist. Created. [2024-05-10T10:00:53.679Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1577-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-10T10:00:54.119Z] /w/workspace/device-sdk-go/1@tmp/durable-4fcc21e1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-10T10:00:54.472Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-10T10:00:54.512Z] Warning: overwriting stash ‘stack-cost’ [2024-05-10T10:00:54.891Z] Stashed 1 file(s) [Pipeline] } [2024-05-10T10:00:54.919Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1577-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-10T10:00:55.019Z] $ docker stop --time=1 fb85e6d8304c3efd21947457ae2d30b4cbb4a5b8b9b79d03fde6aacd28e2ba45 [2024-05-10T10:00:56.494Z] $ docker rm -f --volumes fb85e6d8304c3efd21947457ae2d30b4cbb4a5b8b9b79d03fde6aacd28e2ba45 [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-10T10:00:57.652Z] provisioning config files... [2024-05-10T10:00:57.674Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp/config14236962641459249350tmp [Pipeline] { [Pipeline] sh [2024-05-10T10:00:58.018Z] + set +x [2024-05-10T10:00:58.018Z] + bash -s -- [2024-05-10T10:00:58.018Z] + curl -s https://codecov.io/bash [2024-05-10T10:01:00.542Z] [2024-05-10T10:01:00.543Z] _____ _ [2024-05-10T10:01:00.543Z] / ____| | | [2024-05-10T10:01:00.543Z] | | ___ __| | ___ ___ _____ __ [2024-05-10T10:01:00.543Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-10T10:01:00.543Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-10T10:01:00.543Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-10T10:01:00.543Z] Bash-1.0.6 [2024-05-10T10:01:00.543Z] [2024-05-10T10:01:00.543Z] [2024-05-10T10:01:00.543Z] ==> git version 2.25.1 found [2024-05-10T10:01:00.543Z] ==> 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-10T10:01:00.543Z] Release-Date: 2020-01-08 [2024-05-10T10:01:00.543Z] 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-10T10:01:00.543Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-10T10:01:00.543Z] ==> Jenkins CI detected. [2024-05-10T10:01:00.543Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1577 [2024-05-10T10:01:00.543Z] project root: . [2024-05-10T10:01:00.543Z] --> token set from env [2024-05-10T10:01:00.543Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-10T10:01:00.543Z] ==> Running gcov in . (disable via -X gcov) [2024-05-10T10:01:00.543Z] ==> Python coveragepy not found [2024-05-10T10:01:00.543Z] ==> Searching for coverage reports in: [2024-05-10T10:01:00.543Z] + . [2024-05-10T10:01:00.543Z] -> Found 1 reports [2024-05-10T10:01:00.543Z] ==> Detecting git/mercurial file structure [2024-05-10T10:01:00.543Z] ==> Reading reports [2024-05-10T10:01:00.543Z] + ./coverage.out bytes=122153 [2024-05-10T10:01:00.543Z] ==> Appending adjustments [2024-05-10T10:01:00.543Z] https://docs.codecov.io/docs/fixing-reports [2024-05-10T10:01:00.802Z] + Found adjustments [2024-05-10T10:01:00.802Z] ==> Gzipping contents [2024-05-10T10:01:00.802Z] 32K /tmp/codecov.pJEg8C.gz [2024-05-10T10:01:00.802Z] ==> Uploading reports [2024-05-10T10:01:00.802Z] url: https://codecov.io [2024-05-10T10:01:00.802Z] query: branch=PR-1577&commit=26d723f6c3a8ddde36a58a9e75c880457a23e87a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1577%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1577&job=&cmd_args= [2024-05-10T10:01:00.802Z] -> Pinging Codecov [2024-05-10T10:01:00.802Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1577&commit=26d723f6c3a8ddde36a58a9e75c880457a23e87a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1577%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1577&job=&cmd_args= [2024-05-10T10:01:01.061Z] -> Uploading to [2024-05-10T10:01:01.061Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-10/7E55EF52A471D76F132DFD9A03CDDE97/26d723f6c3a8ddde36a58a9e75c880457a23e87a/c361198b-32ec-4f3a-8f4d-2a57d29b2a6c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240510%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240510T100100Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b51547036a61fcfe71b45eba07041a663d2ec62aeb140c2c7c9c05d46f7f162 [2024-05-10T10:01:01.061Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-10T10:01:01.061Z] Dload Upload Total Spent Left Speed [2024-05-10T10:01:01.320Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28897 0 0 100 28897 0 106k --:--:-- --:--:-- --:--:-- 106k [2024-05-10T10:01:01.320Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/26d723f6c3a8ddde36a58a9e75c880457a23e87a [Pipeline] } [2024-05-10T10:01:01.353Z] 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-10T10:01:04.607Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1577/archives ] [2024-05-10T10:01:04.607Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1577/archives [2024-05-10T10:01:04.607Z] total 16 [2024-05-10T10:01:04.607Z] drwxr-xr-x 3 root root 4096 May 10 09:48 . [2024-05-10T10:01:04.607Z] drwxrwxr-x 13 jenkins jenkins 4096 May 10 09:48 .. [2024-05-10T10:01:04.607Z] drwxr-xr-x 2 root root 4096 May 10 09:48 cost [2024-05-10T10:01:04.607Z] -rw-r--r-- 1 root root 86 May 10 09:48 cost.csv [2024-05-10T10:01:04.607Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1577/archives [2024-05-10T10:01:04.607Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1577/archives [2024-05-10T10:01:04.607Z] total 16 [2024-05-10T10:01:04.607Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:48 . [2024-05-10T10:01:04.607Z] drwxrwxr-x 13 jenkins jenkins 4096 May 10 09:48 .. [2024-05-10T10:01:04.607Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 09:48 cost [2024-05-10T10:01:04.607Z] -rw-r--r-- 1 jenkins jenkins 86 May 10 09:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-10T10:01:04.942Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-10T10:01:05.839Z] ---> package-listing.sh [2024-05-10T10:01:05.839Z] ++ facter osfamily [2024-05-10T10:01:05.839Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-10T10:01:06.098Z] + OS_FAMILY=debian [2024-05-10T10:01:06.098Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1577 [2024-05-10T10:01:06.098Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-10T10:01:06.098Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-10T10:01:06.098Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-10T10:01:06.098Z] + PACKAGES=/tmp/packages_start.txt [2024-05-10T10:01:06.098Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1577 ']' [2024-05-10T10:01:06.098Z] + PACKAGES=/tmp/packages_end.txt [2024-05-10T10:01:06.098Z] + case "${OS_FAMILY}" in [2024-05-10T10:01:06.098Z] + dpkg -l [2024-05-10T10:01:06.098Z] + grep '^ii' [2024-05-10T10:01:06.098Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-10T10:01:06.098Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-10T10:01:06.098Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-10T10:01:06.098Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1577 ']' [2024-05-10T10:01:06.098Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1577/archives/ [2024-05-10T10:01:06.098Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1577/archives/ [Pipeline] echo [2024-05-10T10:01:06.145Z] 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-1577/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-10T10:01:06.439Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-10T10:01:07.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-10T10:01:07.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-10T10:01:08.301Z] prd-ubuntu20.04-docker-8c-8g-367 does not seem to be running inside a container [2024-05-10T10:01:08.330Z] $ 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-1577/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-1577 -v /w/workspace/gexfoundry_device-sdk-go_PR-1577:/w/workspace/gexfoundry_device-sdk-go_PR-1577:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1577@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-lftools-log-publisher:latest cat [2024-05-10T10:01:08.530Z] $ docker top c45d611bba5ebd928ec4ab69ad9ef4ada420ec1d5d27c66261e737f506be81fe -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-10T10:01:08.944Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-10T10:01:09.254Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-10T10:01:09.566Z] + ls /var/log/sa-host [2024-05-10T10:01:09.566Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-10T10:01:09.733Z] provisioning config files... [2024-05-10T10:01:09.743Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1577@tmp/config3363589005855788952tmp [Pipeline] { [Pipeline] echo [2024-05-10T10:01:09.815Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-10T10:01:10.133Z] ---> create-netrc.sh [Pipeline] } [2024-05-10T10:01:10.163Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-10T10:01:10.587Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-10T10:01:10.625Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-10T10:01:10.942Z] ---> sudo-logs.sh [2024-05-10T10:01:10.942Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-10T10:01:11.045Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-10T10:01:11.363Z] ---> job-cost.sh [2024-05-10T10:01:11.363Z] lf-activate-venv: SKIPPING [2024-05-10T10:01:11.363Z] DEBUG: total: 0.2199999988079071 [2024-05-10T10:01:11.363Z] INFO: Retrieving Stack Cost... [2024-05-10T10:01:11.623Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-10T10:01:12.191Z] INFO: Archiving Costs [Pipeline] echo [2024-05-10T10:01:12.230Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-10T10:01:12.549Z] ---> logs-deploy.sh [2024-05-10T10:01:12.550Z] lf-activate-venv: SKIPPING [2024-05-10T10:01:12.550Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1577/1 [2024-05-10T10:01:12.550Z] INFO: archiving workspace using pattern(s): [2024-05-10T10:01:13.486Z] Archives upload complete. [2024-05-10T10:01:13.486Z] INFO: archiving logs to Nexus