Pull request #1534 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 40dc5588eccf381ff312d3bc6c58dbeeee44c528+cdda6ba38339e8ee36b58c288de44ad2194d3f5d (4d271c30101bdc3d8702d45fbfb12d08e46ca113) 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-ssh12854202049367500643.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh17200631156077013798.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-1534/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-1534/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4141654998685347713.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-1534/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11100809937631630697.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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-ssh12215493683059359846.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-1534/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-1534/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11372201618495682687.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-16228 in /w/workspace/gexfoundry_device-sdk-go_PR-1534 [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-1534 # 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 Merging remotes/origin/main commit cdda6ba38339e8ee36b58c288de44ad2194d3f5d into PR head commit 40dc5588eccf381ff312d3bc6c58dbeeee44c528 Merge succeeded, producing 40dc5588eccf381ff312d3bc6c58dbeeee44c528 Checking out Revision 40dc5588eccf381ff312d3bc6c58dbeeee44c528 (PR-1534) > 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/1534/head:refs/remotes/origin/PR-1534 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40dc5588eccf381ff312d3bc6c58dbeeee44c528 # 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 cdda6ba38339e8ee36b58c288de44ad2194d3f5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40dc5588eccf381ff312d3bc6c58dbeeee44c528 # timeout=10 Commit message: "docs: Update changelog for 3.1 release" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-01T16:39:53.343Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-01T16:39:53.539Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-01T16:39:53.648Z] ========================================================= [2023-11-01T16:39:53.648Z] EdgeX Global Pipelines Version Info [2023-11-01T16:39:53.649Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:39:54.761Z] ------------------- [2023-11-01T16:39:54.761Z] stable info: [2023-11-01T16:39:54.761Z] ------------------- [2023-11-01T16:39:54.761Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-01T16:39:54.761Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T16:39:54.761Z] Message: update stable to v1.0.255 [2023-11-01T16:39:55.023Z] ------------------- [2023-11-01T16:39:55.023Z] experimental info: [2023-11-01T16:39:55.023Z] ------------------- [2023-11-01T16:39:55.023Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-01T16:39:55.023Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T16:39:55.023Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-01T16:39:55.318Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-01T16:39:55.363Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-01T16:39:55.415Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-01T16:39:55.457Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-01T16:39:55.499Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-01T16:39:55.540Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-01T16:39:55.587Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-01T16:39:55.633Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-01T16:39:55.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-01T16:39:55.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-01T16:39:55.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-01T16:39:55.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-01T16:39:55.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-01T16:39:55.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-01T16:39:55.906Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T16:39:55.943Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T16:39:55.988Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T16:39:56.034Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T16:39:56.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-01T16:39:56.116Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-01T16:39:56.152Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-01T16:39:56.193Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-01T16:39:56.269Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-01T16:39:56.314Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-01T16:39:56.359Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-01T16:39:56.404Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-01T16:39:56.448Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-01T16:39:56.492Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1534 [Pipeline] echo [2023-11-01T16:39:56.535Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1534 [Pipeline] echo [2023-11-01T16:39:56.582Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1534 [Pipeline] echo [2023-11-01T16:39:56.623Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40dc5588eccf381ff312d3bc6c58dbeeee44c528 [Pipeline] echo [2023-11-01T16:39:56.665Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40dc558 [Pipeline] echo [2023-11-01T16:39:56.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T16:39:56.835Z] provisioning config files... [2023-11-01T16:39:56.849Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp/config15442029066803441123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:39:57.202Z] ---> docker-login.sh [2023-11-01T16:39:57.202Z] nexus3.edgexfoundry.org:10001 [2023-11-01T16:39:57.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:39:57.463Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:39:57.463Z] Configure a credential helper to remove this warning. See [2023-11-01T16:39:57.463Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:39:57.463Z] [2023-11-01T16:39:57.463Z] Login Succeeded [2023-11-01T16:39:57.463Z] nexus3.edgexfoundry.org:10002 [2023-11-01T16:39:57.463Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:39:57.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:39:57.728Z] Configure a credential helper to remove this warning. See [2023-11-01T16:39:57.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:39:57.728Z] [2023-11-01T16:39:57.728Z] Login Succeeded [2023-11-01T16:39:57.728Z] nexus3.edgexfoundry.org:10003 [2023-11-01T16:39:57.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:39:57.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:39:57.728Z] Configure a credential helper to remove this warning. See [2023-11-01T16:39:57.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:39:57.728Z] [2023-11-01T16:39:57.728Z] Login Succeeded [2023-11-01T16:39:57.728Z] nexus3.edgexfoundry.org:10004 [2023-11-01T16:39:57.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:39:57.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:39:57.728Z] Configure a credential helper to remove this warning. See [2023-11-01T16:39:57.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:39:57.728Z] [2023-11-01T16:39:57.728Z] Login Succeeded [2023-11-01T16:39:57.728Z] docker.io [2023-11-01T16:39:57.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:39:58.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:39:58.249Z] Configure a credential helper to remove this warning. See [2023-11-01T16:39:58.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:39:58.249Z] [2023-11-01T16:39:58.249Z] Login Succeeded [2023-11-01T16:39:58.249Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T16:39:58.278Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-01T16:39:58.894Z] + git rev-list -1 --merges 40dc5588eccf381ff312d3bc6c58dbeeee44c528~1..40dc5588eccf381ff312d3bc6c58dbeeee44c528 [Pipeline] echo [2023-11-01T16:39:58.955Z] -----------> git rev-list -1 --merges 40dc5588eccf381ff312d3bc6c58dbeeee44c528~1..40dc5588eccf381ff312d3bc6c58dbeeee44c528 40dc5588eccf381ff312d3bc6c58dbeeee44c528 [false] [Pipeline] sh [2023-11-01T16:39:59.264Z] + git log --format=format:%s -1 40dc5588eccf381ff312d3bc6c58dbeeee44c528 [Pipeline] echo [2023-11-01T16:39:59.303Z] ========================================================= [2023-11-01T16:39:59.303Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-01T16:39:59.303Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T16:39:59.743Z] + git log --format=format:%s -1 40dc5588eccf381ff312d3bc6c58dbeeee44c528 [Pipeline] echo [2023-11-01T16:39:59.776Z] [semverPrep] GIT_COMMIT: 40dc5588eccf381ff312d3bc6c58dbeeee44c528, Commit Message: docs: Update changelog for 3.1 release [Pipeline] echo [2023-11-01T16:39:59.805Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-01T16:40:00.372Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T16:40:00.372Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-01T16:40:00.372Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-01T16:40:00.372Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-01T16:40:00.372Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-01T16:40:00.372Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-01T16:40:00.372Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:40:00.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T16:40:00.809Z] [2023-11-01T16:40:00.809Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:40:01.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T16:40:01.188Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-01T16:40:01.188Z] b85a868b505f: Pulling fs layer [2023-11-01T16:40:01.188Z] e2be974225ed: Pulling fs layer [2023-11-01T16:40:01.188Z] 339a4e72a1f5: Pulling fs layer [2023-11-01T16:40:01.188Z] 988bab9f4d93: Pulling fs layer [2023-11-01T16:40:01.188Z] 1469e6f7b9e6: Pulling fs layer [2023-11-01T16:40:01.189Z] eaf3925da568: Pulling fs layer [2023-11-01T16:40:01.189Z] bab4dde63d76: Pulling fs layer [2023-11-01T16:40:01.189Z] bde34c3a00c8: Pulling fs layer [2023-11-01T16:40:01.189Z] b352a97aabf1: Pulling fs layer [2023-11-01T16:40:01.189Z] 4872d77fe225: Pulling fs layer [2023-11-01T16:40:01.189Z] 5851b861e8e6: Pulling fs layer [2023-11-01T16:40:01.189Z] 988bab9f4d93: Waiting [2023-11-01T16:40:01.189Z] 1469e6f7b9e6: Waiting [2023-11-01T16:40:01.189Z] eaf3925da568: Waiting [2023-11-01T16:40:01.189Z] bab4dde63d76: Waiting [2023-11-01T16:40:01.189Z] bde34c3a00c8: Waiting [2023-11-01T16:40:01.189Z] 5851b861e8e6: Waiting [2023-11-01T16:40:01.189Z] b352a97aabf1: Waiting [2023-11-01T16:40:01.189Z] 4872d77fe225: Waiting [2023-11-01T16:40:01.189Z] e2be974225ed: Download complete [2023-11-01T16:40:01.189Z] 988bab9f4d93: Download complete [2023-11-01T16:40:01.448Z] 1469e6f7b9e6: Verifying Checksum [2023-11-01T16:40:01.448Z] 1469e6f7b9e6: Download complete [2023-11-01T16:40:01.448Z] 339a4e72a1f5: Verifying Checksum [2023-11-01T16:40:01.448Z] 339a4e72a1f5: Download complete [2023-11-01T16:40:01.448Z] eaf3925da568: Download complete [2023-11-01T16:40:01.448Z] bde34c3a00c8: Download complete [2023-11-01T16:40:01.448Z] b352a97aabf1: Verifying Checksum [2023-11-01T16:40:01.448Z] b352a97aabf1: Download complete [2023-11-01T16:40:01.448Z] 4872d77fe225: Verifying Checksum [2023-11-01T16:40:01.448Z] 4872d77fe225: Download complete [2023-11-01T16:40:01.448Z] 5851b861e8e6: Verifying Checksum [2023-11-01T16:40:01.448Z] 5851b861e8e6: Download complete [2023-11-01T16:40:01.448Z] b85a868b505f: Download complete [2023-11-01T16:40:01.720Z] bab4dde63d76: Verifying Checksum [2023-11-01T16:40:01.720Z] bab4dde63d76: Download complete [2023-11-01T16:40:03.101Z] b85a868b505f: Pull complete [2023-11-01T16:40:03.101Z] e2be974225ed: Pull complete [2023-11-01T16:40:03.676Z] 339a4e72a1f5: Pull complete [2023-11-01T16:40:03.676Z] 988bab9f4d93: Pull complete [2023-11-01T16:40:03.936Z] 1469e6f7b9e6: Pull complete [2023-11-01T16:40:03.936Z] eaf3925da568: Pull complete [2023-11-01T16:40:05.844Z] bab4dde63d76: Pull complete [2023-11-01T16:40:05.844Z] bde34c3a00c8: Pull complete [2023-11-01T16:40:06.104Z] b352a97aabf1: Pull complete [2023-11-01T16:40:06.366Z] 4872d77fe225: Pull complete [2023-11-01T16:40:06.366Z] 5851b861e8e6: Pull complete [2023-11-01T16:40:06.366Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-01T16:40:06.366Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T16:40:06.366Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:40:06.633Z] prd-ubuntu20.04-docker-8c-8g-16228 does not seem to be running inside a container [2023-11-01T16:40:06.668Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1534 -v /w/workspace/gexfoundry_device-sdk-go_PR-1534:/w/workspace/gexfoundry_device-sdk-go_PR-1534:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1534@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-01T16:40:16.133Z] $ docker top 3022d7f2fd18b11a0b797c43891d3ff55d8f1461fd347e375f3b20e633fe3b75 -eo pid,comm [2023-11-01T16:40:16.245Z] 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). [2023-11-01T16:40:16.245Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T16:40:16.368Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T16:40:16.368Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T16:40:16.485Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T16:40:16.490Z] $ docker exec 3022d7f2fd18b11a0b797c43891d3ff55d8f1461fd347e375f3b20e633fe3b75 ssh-agent [2023-11-01T16:40:16.584Z] SSH_AUTH_SOCK=/tmp/ssh-tSPkjK2RVcji/agent.31 [2023-11-01T16:40:16.584Z] SSH_AGENT_PID=37 [2023-11-01T16:40:16.590Z] Running ssh-add (command line suppressed) [2023-11-01T16:40:16.700Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp/private_key_5115051741333442134.key (/w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp/private_key_5115051741333442134.key) [2023-11-01T16:40:16.712Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T16:40:17.043Z] + git tag --points-at HEAD [Pipeline] } [2023-11-01T16:40:17.072Z] $ docker exec --env ******** --env ******** 3022d7f2fd18b11a0b797c43891d3ff55d8f1461fd347e375f3b20e633fe3b75 ssh-agent -k [2023-11-01T16:40:17.182Z] unset SSH_AUTH_SOCK; [2023-11-01T16:40:17.182Z] unset SSH_AGENT_PID; [2023-11-01T16:40:17.183Z] echo Agent pid 37 killed; [2023-11-01T16:40:17.189Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-01T16:40:17.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T16:40:17.293Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T16:40:17.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T16:40:17.428Z] $ docker exec 3022d7f2fd18b11a0b797c43891d3ff55d8f1461fd347e375f3b20e633fe3b75 ssh-agent [2023-11-01T16:40:17.536Z] SSH_AUTH_SOCK=/tmp/ssh-0dX0ZZTKaw5M/agent.69 [2023-11-01T16:40:17.536Z] SSH_AGENT_PID=75 [2023-11-01T16:40:17.540Z] Running ssh-add (command line suppressed) [2023-11-01T16:40:17.638Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp/private_key_8037242752067498021.key (/w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp/private_key_8037242752067498021.key) [2023-11-01T16:40:17.649Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T16:40:17.985Z] + git semver init [2023-11-01T16:40:18.245Z] 2023-11-01 16:40:18,178 [run_init] DEBUG init version:0.0.0 force:False [2023-11-01T16:40:18.245Z] 2023-11-01 16:40:18,179 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1534/.semver [2023-11-01T16:40:18.245Z] 2023-11-01 16:40:18,180 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1534/.semver [2023-11-01T16:40:18.245Z] 2023-11-01 16:40:18,180 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1534/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1534, universal_newlines=False, shell=None, istream=None) [2023-11-01T16:40:19.626Z] 2023-11-01 16:40:19,313 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1534/.git/info/exclude [2023-11-01T16:40:19.626Z] 2023-11-01 16:40:19,314 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1534/.semver/PR-1534 with force:False [2023-11-01T16:40:19.626Z] 2023-11-01 16:40:19,314 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1534/.semver/PR-1534 [2023-11-01T16:40:19.626Z] 2023-11-01 16:40:19,319 [execute] INFO git cat-file --batch-check [2023-11-01T16:40:19.626Z] 2023-11-01 16:40:19,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1534/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T16:40:19.626Z] 2023-11-01 16:40:19,324 [execute] INFO git cat-file --batch [2023-11-01T16:40:19.626Z] 2023-11-01 16:40:19,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1534/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T16:40:19.626Z] 2023-11-01 16:40:19,330 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1534/.semver/PR-1534 [2023-11-01T16:40:19.626Z] 0.0.0 [Pipeline] } [2023-11-01T16:40:19.658Z] $ docker exec --env ******** --env ******** 3022d7f2fd18b11a0b797c43891d3ff55d8f1461fd347e375f3b20e633fe3b75 ssh-agent -k [2023-11-01T16:40:19.757Z] unset SSH_AUTH_SOCK; [2023-11-01T16:40:19.757Z] unset SSH_AGENT_PID; [2023-11-01T16:40:19.757Z] echo Agent pid 75 killed; [2023-11-01T16:40:19.763Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T16:40:20.186Z] + git semver [Pipeline] } [2023-11-01T16:40:20.474Z] $ docker stop --time=1 3022d7f2fd18b11a0b797c43891d3ff55d8f1461fd347e375f3b20e633fe3b75 [2023-11-01T16:40:21.997Z] $ docker rm -f --volumes 3022d7f2fd18b11a0b797c43891d3ff55d8f1461fd347e375f3b20e633fe3b75 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T16:40:22.400Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-01T16:40:22.760Z] Stashed 1 file(s) [Pipeline] echo [2023-11-01T16:40:22.776Z] [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 [2023-11-01T16:40:23.373Z] provisioning config files... [2023-11-01T16:40:23.381Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp/config16401375605786304769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:40:23.734Z] ---> docker-login.sh [2023-11-01T16:40:23.734Z] nexus3.edgexfoundry.org:10001 [2023-11-01T16:40:23.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:40:23.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:40:23.734Z] Configure a credential helper to remove this warning. See [2023-11-01T16:40:23.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:40:23.734Z] [2023-11-01T16:40:23.734Z] Login Succeeded [2023-11-01T16:40:23.734Z] nexus3.edgexfoundry.org:10002 [2023-11-01T16:40:23.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:40:23.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:40:23.734Z] Configure a credential helper to remove this warning. See [2023-11-01T16:40:23.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:40:23.734Z] [2023-11-01T16:40:23.734Z] Login Succeeded [2023-11-01T16:40:23.734Z] nexus3.edgexfoundry.org:10003 [2023-11-01T16:40:23.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:40:23.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:40:23.993Z] Configure a credential helper to remove this warning. See [2023-11-01T16:40:23.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:40:23.993Z] [2023-11-01T16:40:23.993Z] Login Succeeded [2023-11-01T16:40:23.993Z] nexus3.edgexfoundry.org:10004 [2023-11-01T16:40:23.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:40:23.993Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:40:23.993Z] Configure a credential helper to remove this warning. See [2023-11-01T16:40:23.993Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:40:23.993Z] [2023-11-01T16:40:23.993Z] Login Succeeded [2023-11-01T16:40:23.993Z] docker.io [2023-11-01T16:40:23.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:40:24.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:40:24.253Z] Configure a credential helper to remove this warning. See [2023-11-01T16:40:24.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:40:24.253Z] [2023-11-01T16:40:24.253Z] Login Succeeded [2023-11-01T16:40:24.253Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T16:40:24.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T16:40:24.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T16:40:24.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T16:40:24.540Z] ========================================================= [2023-11-01T16:40:24.540Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-01T16:40:24.540Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:40:25.023Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-01T16:40:25.023Z] Sending build context to Docker daemon 11.28MB [2023-11-01T16:40:25.023Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T16:40:25.023Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-01T16:40:25.023Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-01T16:40:25.023Z] 7264a8db6415: Pulling fs layer [2023-11-01T16:40:25.023Z] c4d48a809fc2: Pulling fs layer [2023-11-01T16:40:25.023Z] 4f1c88b9dad5: Pulling fs layer [2023-11-01T16:40:25.023Z] ad3a456e5733: Pulling fs layer [2023-11-01T16:40:25.023Z] 33e27b845d1e: Pulling fs layer [2023-11-01T16:40:25.023Z] c68163c4e522: Pulling fs layer [2023-11-01T16:40:25.023Z] 50da416c3ac9: Pulling fs layer [2023-11-01T16:40:25.023Z] 23d2d4c4bb30: Pulling fs layer [2023-11-01T16:40:25.023Z] 33e27b845d1e: Waiting [2023-11-01T16:40:25.023Z] c68163c4e522: Waiting [2023-11-01T16:40:25.023Z] 50da416c3ac9: Waiting [2023-11-01T16:40:25.023Z] ad3a456e5733: Waiting [2023-11-01T16:40:25.023Z] 23d2d4c4bb30: Waiting [2023-11-01T16:40:25.023Z] c4d48a809fc2: Download complete [2023-11-01T16:40:25.315Z] ad3a456e5733: Verifying Checksum [2023-11-01T16:40:25.315Z] ad3a456e5733: Download complete [2023-11-01T16:40:25.315Z] 33e27b845d1e: Verifying Checksum [2023-11-01T16:40:25.315Z] 33e27b845d1e: Download complete [2023-11-01T16:40:25.315Z] 7264a8db6415: Download complete [2023-11-01T16:40:25.315Z] c68163c4e522: Verifying Checksum [2023-11-01T16:40:25.315Z] c68163c4e522: Download complete [2023-11-01T16:40:25.575Z] 7264a8db6415: Pull complete [2023-11-01T16:40:25.575Z] 23d2d4c4bb30: Verifying Checksum [2023-11-01T16:40:25.575Z] 23d2d4c4bb30: Download complete [2023-11-01T16:40:25.575Z] 4f1c88b9dad5: Verifying Checksum [2023-11-01T16:40:25.575Z] 4f1c88b9dad5: Download complete [2023-11-01T16:40:25.575Z] c4d48a809fc2: Pull complete [2023-11-01T16:40:26.142Z] 50da416c3ac9: Verifying Checksum [2023-11-01T16:40:26.142Z] 50da416c3ac9: Download complete [2023-11-01T16:40:29.427Z] 4f1c88b9dad5: Pull complete [2023-11-01T16:40:29.427Z] ad3a456e5733: Pull complete [2023-11-01T16:40:29.427Z] 33e27b845d1e: Pull complete [2023-11-01T16:40:29.427Z] c68163c4e522: Pull complete [2023-11-01T16:40:31.958Z] 50da416c3ac9: Pull complete [2023-11-01T16:40:32.528Z] 23d2d4c4bb30: Pull complete [2023-11-01T16:40:32.788Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-01T16:40:32.788Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-01T16:40:32.788Z] ---> 0786185ac409 [2023-11-01T16:40:32.788Z] Step 3/10 : ARG MAKE=make build [2023-11-01T16:40:38.200Z] Still waiting to schedule task [2023-11-01T16:40:38.201Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-01T16:40:48.494Z] ---> Running in 7b0db228947a [2023-11-01T16:40:48.494Z] Removing intermediate container 7b0db228947a [2023-11-01T16:40:48.494Z] ---> 6af99cd9f4db [2023-11-01T16:40:48.494Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-01T16:40:48.755Z] ---> Running in cadbd9ab28a9 [2023-11-01T16:40:48.755Z] Removing intermediate container cadbd9ab28a9 [2023-11-01T16:40:48.755Z] ---> a65d5c1957ae [2023-11-01T16:40:48.755Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T16:40:48.755Z] ---> Running in 95b302c94b7b [2023-11-01T16:40:49.013Z] Removing intermediate container 95b302c94b7b [2023-11-01T16:40:49.013Z] ---> 4e0fd141ca61 [2023-11-01T16:40:49.013Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-01T16:40:49.013Z] ---> Running in a92c7d59ff71 [2023-11-01T16:40:49.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T16:40:49.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T16:40:49.789Z] OK: 264 MiB in 52 packages [2023-11-01T16:40:50.360Z] Removing intermediate container a92c7d59ff71 [2023-11-01T16:40:50.360Z] ---> 24e9841dc81a [2023-11-01T16:40:50.360Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-01T16:40:50.620Z] ---> 72f16600dc2f [2023-11-01T16:40:50.620Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T16:40:50.620Z] ---> Running in a22aa3180f25 [2023-11-01T16:42:27.141Z] Removing intermediate container a22aa3180f25 [2023-11-01T16:42:27.141Z] ---> 4c73bd055f5d [2023-11-01T16:42:27.141Z] Step 9/10 : COPY . . [2023-11-01T16:42:27.141Z] ---> b6b798668e41 [2023-11-01T16:42:27.141Z] Step 10/10 : RUN ${MAKE} [2023-11-01T16:42:27.141Z] ---> Running in 7263f5266f91 [2023-11-01T16:42:27.141Z] noop [2023-11-01T16:42:27.141Z] Removing intermediate container 7263f5266f91 [2023-11-01T16:42:27.141Z] ---> 9ae102f814b9 [2023-11-01T16:42:27.141Z] Successfully built 9ae102f814b9 [2023-11-01T16:42:27.141Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:42:27.591Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T16:42:27.591Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:42:27.739Z] prd-ubuntu20.04-docker-8c-8g-16228 does not seem to be running inside a container [2023-11-01T16:42:27.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1534 -v /w/workspace/gexfoundry_device-sdk-go_PR-1534:/w/workspace/gexfoundry_device-sdk-go_PR-1534:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1534@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-x86_64 cat [2023-11-01T16:42:28.364Z] $ docker top 49d5579f48e7852cfb52a580723599b3b231613b81bf0b41d731a8a94e9cfd73 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T16:42:28.750Z] + go version [2023-11-01T16:42:28.750Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-01T16:42:28.792Z] $ docker stop --time=1 49d5579f48e7852cfb52a580723599b3b231613b81bf0b41d731a8a94e9cfd73 [2023-11-01T16:42:30.834Z] $ docker rm -f --volumes 49d5579f48e7852cfb52a580723599b3b231613b81bf0b41d731a8a94e9cfd73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:42:31.529Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T16:42:31.529Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:42:31.693Z] prd-ubuntu20.04-docker-8c-8g-16228 does not seem to be running inside a container [2023-11-01T16:42:31.734Z] $ 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-1534 -v /w/workspace/gexfoundry_device-sdk-go_PR-1534:/w/workspace/gexfoundry_device-sdk-go_PR-1534:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1534@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-x86_64 cat [2023-11-01T16:42:32.172Z] $ docker top 162c00cec7129dee76e2e7515cbd9c44b9b6fb269b27ff68ff740cae9d9086e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T16:42:32.549Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1534 [Pipeline] fileExists [Pipeline] sh [2023-11-01T16:42:32.915Z] + make test [2023-11-01T16:42:32.915Z] go test -race -coverprofile=coverage.out ./... [2023-11-01T16:42:41.025Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-01T16:42:55.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-01T16:42:55.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-01T16:42:55.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-01T16:42:55.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-01T16:42:55.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-01T16:42:55.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-01T16:42:55.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-01T16:42:55.891Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.066s coverage: 27.6% of statements [2023-11-01T16:42:55.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-01T16:42:55.891Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.055s coverage: 81.5% of statements [2023-11-01T16:42:55.891Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.068s coverage: 86.0% of statements [2023-11-01T16:42:56.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-01T16:42:56.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-01T16:42:56.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.066s coverage: 71.8% of statements [2023-11-01T16:42:56.765Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-01T16:43:00.054Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.047s coverage: 14.4% of statements [2023-11-01T16:43:00.054Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.256s coverage: 45.9% of statements [2023-11-01T16:43:00.054Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.073s coverage: 68.5% of statements [2023-11-01T16:43:00.054Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.105s coverage: 89.2% of statements [2023-11-01T16:43:00.054Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements [2023-11-01T16:43:11.560Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16230 in /w/workspace/gexfoundry_device-sdk-go_PR-1534 [Pipeline] { [Pipeline] ws [2023-11-01T16:43:11.619Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-11-01T16:43:11.699Z] The recommended git tool is: git [2023-11-01T16:43:18.028Z] using credential edgex-jenkins-ssh [2023-11-01T16:43:18.046Z] Cloning the remote Git repository [2023-11-01T16:43:18.098Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T16:43:18.215Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-11-01T16:43:18.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T16:43:18.403Z] > git --version # timeout=10 [2023-11-01T16:43:18.433Z] > git --version # 'git version 2.25.1' [2023-11-01T16:43:18.438Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T16:43:18.649Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T16:43:20.733Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-01T16:43:20.765Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T16:43:21.960Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-01T16:43:22.827Z] Merging remotes/origin/main commit cdda6ba38339e8ee36b58c288de44ad2194d3f5d into PR head commit 40dc5588eccf381ff312d3bc6c58dbeeee44c528 [2023-11-01T16:43:23.246Z] Merge succeeded, producing 40dc5588eccf381ff312d3bc6c58dbeeee44c528 [2023-11-01T16:43:23.247Z] Checking out Revision 40dc5588eccf381ff312d3bc6c58dbeeee44c528 (PR-1534) [2023-11-01T16:43:22.020Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T16:43:22.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T16:43:22.049Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1534/head:refs/remotes/origin/PR-1534 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-01T16:43:22.874Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T16:43:22.990Z] > git checkout -f 40dc5588eccf381ff312d3bc6c58dbeeee44c528 # timeout=10 [2023-11-01T16:43:23.125Z] > git remote # timeout=10 [2023-11-01T16:43:23.148Z] > git config --get remote.origin.url # timeout=10 [2023-11-01T16:43:23.173Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T16:43:23.192Z] > git merge cdda6ba38339e8ee36b58c288de44ad2194d3f5d # timeout=10 [2023-11-01T16:43:23.223Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-01T16:43:23.257Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T16:43:23.279Z] > git checkout -f 40dc5588eccf381ff312d3bc6c58dbeeee44c528 # timeout=10 [2023-11-01T16:43:26.590Z] GO111MODULE=on go vet ./... [2023-11-01T16:43:26.893Z] Commit message: "docs: Update changelog for 3.1 release" [2023-11-01T16:43:26.954Z] > git --version # timeout=10 [2023-11-01T16:43:26.967Z] > git --version # 'git version 2.25.1' [2023-11-01T16:43:26.987Z] fatal: bad object 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T16:43:28.103Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-01T16:43:28.103Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T16:43:28.103Z] Dload Upload Total Spent Left Speed [2023-11-01T16:43:28.103Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 84083 0 --:--:-- --:--:-- --:--:-- 83446 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [2023-11-01T16:43:28.491Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T16:43:28.491Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T16:43:28.491Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T16:43:28.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [Pipeline] } [2023-11-01T16:43:28.651Z] $ docker stop --time=1 162c00cec7129dee76e2e7515cbd9c44b9b6fb269b27ff68ff740cae9d9086e7 [2023-11-01T16:43:28.901Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2023-11-01T16:43:36.302Z] $ docker rm -f --volumes 162c00cec7129dee76e2e7515cbd9c44b9b6fb269b27ff68ff740cae9d9086e7 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh [2023-11-01T16:43:36.925Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T16:43:36.999Z] + sudo tee /etc/docker/daemon.new [2023-11-01T16:43:36.999Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-01T16:43:36.999Z] { [2023-11-01T16:43:36.999Z] "registry-mirrors": [ [2023-11-01T16:43:36.999Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-01T16:43:36.999Z] ], [2023-11-01T16:43:36.999Z] "bip": "10.250.0.254/24", [2023-11-01T16:43:36.999Z] "hosts": [ [2023-11-01T16:43:36.999Z] "tcp://0.0.0.0:5555", [2023-11-01T16:43:36.999Z] "unix:///var/run/docker.sock" [2023-11-01T16:43:36.999Z] ], [2023-11-01T16:43:36.999Z] "mtu": 1458, [2023-11-01T16:43:36.999Z] "selinux-enabled": true, [2023-11-01T16:43:36.999Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-01T16:43:36.999Z] } [2023-11-01T16:43:37.021Z] Stashed 1 file(s) [Pipeline] sh [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-11-01T16:43:37.344Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh [2023-11-01T16:43:37.891Z] + sudo service docker restart [2023-11-01T16:43:37.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T16:43:38.231Z] + ls -al . [2023-11-01T16:43:38.231Z] total 308 [2023-11-01T16:43:38.231Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 16:42 . [2023-11-01T16:43:38.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 16:39 .. [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 16:39 .dockerignore [2023-11-01T16:43:38.231Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 16:43 .git [2023-11-01T16:43:38.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 16:39 .github [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 16:39 .gitignore [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 16:39 .golangci.yml [2023-11-01T16:43:38.231Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 16:40 .semver [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 1 16:39 CHANGELOG.md [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 16:39 GOVERNANCE.md [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 16:39 Jenkinsfile [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 16:39 LICENSE [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 16:39 Makefile [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 16:39 OWNERS.md [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 16:39 README.md [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 16:40 VERSION [2023-11-01T16:43:38.231Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 16:39 bin [2023-11-01T16:43:38.231Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 1 16:42 coverage.out [2023-11-01T16:43:38.231Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 16:39 example [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 16:39 go.mod [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 16:39 go.sum [2023-11-01T16:43:38.231Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 16:39 internal [2023-11-01T16:43:38.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 16:39 openapi [2023-11-01T16:43:38.231Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 16:39 pkg [2023-11-01T16:43:38.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 16:39 snap [2023-11-01T16:43:38.231Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 16:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:43:38.625Z] + 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=40dc5588eccf381ff312d3bc6c58dbeeee44c528 --label arch=amd64 --label version=0.0.0 . [2023-11-01T16:43:38.625Z] Sending build context to Docker daemon 11.41MB [2023-11-01T16:43:38.625Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T16:43:38.625Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-01T16:43:38.625Z] ---> 9ae102f814b9 [2023-11-01T16:43:38.625Z] Step 3/23 : ARG MAKE=make build [2023-11-01T16:43:39.192Z] ---> Running in 742f264f1d2b [2023-11-01T16:43:39.451Z] Removing intermediate container 742f264f1d2b [2023-11-01T16:43:39.451Z] ---> 12506bc2294c [2023-11-01T16:43:39.451Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-01T16:43:39.451Z] ---> Running in f87dcb9a62ed [2023-11-01T16:43:39.451Z] Removing intermediate container f87dcb9a62ed [2023-11-01T16:43:39.451Z] ---> cc285b7048d5 [2023-11-01T16:43:39.451Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T16:43:39.709Z] ---> Running in 884878c81e3d [2023-11-01T16:43:39.709Z] Removing intermediate container 884878c81e3d [2023-11-01T16:43:39.709Z] ---> 0d3cdb78a47a [2023-11-01T16:43:39.709Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-01T16:43:39.709Z] ---> Running in 079dc11f34ce [2023-11-01T16:43:39.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T16:43:39.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T16:43:40.229Z] OK: 264 MiB in 52 packages [2023-11-01T16:43:40.488Z] Removing intermediate container 079dc11f34ce [2023-11-01T16:43:40.488Z] ---> 9bb90f740cd1 [2023-11-01T16:43:40.488Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-01T16:43:40.747Z] ---> 718d459c5e36 [2023-11-01T16:43:40.747Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T16:43:40.747Z] ---> Running in 73e5a9665d3c [2023-11-01T16:43:41.682Z] Removing intermediate container 73e5a9665d3c [2023-11-01T16:43:41.682Z] ---> 38922d9af22f [2023-11-01T16:43:41.682Z] Step 9/23 : COPY . . [2023-11-01T16:43:42.782Z] ---> 09b5384a38de [2023-11-01T16:43:42.782Z] Step 10/23 : RUN ${MAKE} [2023-11-01T16:43:42.782Z] ---> Running in 935b0c2f3ea2 [2023-11-01T16:43:43.043Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T16:43:56.260Z] provisioning config files... [2023-11-01T16:43:56.290Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config846773637404215521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:43:56.721Z] ---> docker-login.sh [2023-11-01T16:43:56.721Z] nexus3.edgexfoundry.org:10001 [2023-11-01T16:43:57.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:43:57.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:43:57.314Z] Configure a credential helper to remove this warning. See [2023-11-01T16:43:57.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:43:57.314Z] [2023-11-01T16:43:57.314Z] Login Succeeded [2023-11-01T16:43:57.314Z] nexus3.edgexfoundry.org:10002 [2023-11-01T16:43:57.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:43:57.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:43:57.859Z] Configure a credential helper to remove this warning. See [2023-11-01T16:43:57.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:43:57.859Z] [2023-11-01T16:43:57.859Z] Login Succeeded [2023-11-01T16:43:57.859Z] nexus3.edgexfoundry.org:10003 [2023-11-01T16:43:58.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:43:58.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:43:58.131Z] Configure a credential helper to remove this warning. See [2023-11-01T16:43:58.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:43:58.131Z] [2023-11-01T16:43:58.131Z] Login Succeeded [2023-11-01T16:43:58.131Z] nexus3.edgexfoundry.org:10004 [2023-11-01T16:43:58.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:43:58.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:43:58.674Z] Configure a credential helper to remove this warning. See [2023-11-01T16:43:58.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:43:58.674Z] [2023-11-01T16:43:58.674Z] Login Succeeded [2023-11-01T16:43:58.674Z] docker.io [2023-11-01T16:43:58.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T16:43:59.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T16:43:59.265Z] Configure a credential helper to remove this warning. See [2023-11-01T16:43:59.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T16:43:59.265Z] [2023-11-01T16:43:59.265Z] Login Succeeded [2023-11-01T16:43:59.265Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T16:43:59.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T16:43:59.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T16:43:59.772Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T16:43:59.806Z] ========================================================= [2023-11-01T16:43:59.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-01T16:43:59.806Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:44:00.314Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-01T16:44:00.906Z] Sending build context to Docker daemon 6.046MB [2023-11-01T16:44:00.906Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T16:44:00.906Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-01T16:44:00.906Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-01T16:44:00.906Z] 9fda8d8052c6: Pulling fs layer [2023-11-01T16:44:00.906Z] 5d54e960e981: Pulling fs layer [2023-11-01T16:44:00.906Z] c4a7e357bf2a: Pulling fs layer [2023-11-01T16:44:00.906Z] f0e02332f6b5: Pulling fs layer [2023-11-01T16:44:00.906Z] cefa15bbcfad: Pulling fs layer [2023-11-01T16:44:00.906Z] 17808c966233: Pulling fs layer [2023-11-01T16:44:00.906Z] f4c1fc716caa: Pulling fs layer [2023-11-01T16:44:00.906Z] f0e02332f6b5: Waiting [2023-11-01T16:44:00.906Z] 17808c966233: Waiting [2023-11-01T16:44:00.906Z] cefa15bbcfad: Waiting [2023-11-01T16:44:00.906Z] 5d54e960e981: Verifying Checksum [2023-11-01T16:44:00.906Z] 5d54e960e981: Download complete [2023-11-01T16:44:00.906Z] f0e02332f6b5: Verifying Checksum [2023-11-01T16:44:00.906Z] f0e02332f6b5: Download complete [2023-11-01T16:44:00.906Z] cefa15bbcfad: Verifying Checksum [2023-11-01T16:44:00.906Z] cefa15bbcfad: Download complete [2023-11-01T16:44:01.177Z] 9fda8d8052c6: Download complete [2023-11-01T16:44:01.461Z] f4c1fc716caa: Verifying Checksum [2023-11-01T16:44:01.461Z] f4c1fc716caa: Download complete [2023-11-01T16:44:02.047Z] 9fda8d8052c6: Pull complete [2023-11-01T16:44:02.635Z] 5d54e960e981: Pull complete [2023-11-01T16:44:03.241Z] c4a7e357bf2a: Download complete [2023-11-01T16:44:04.205Z] 17808c966233: Verifying Checksum [2023-11-01T16:44:04.205Z] 17808c966233: Download complete [2023-11-01T16:44:09.632Z] Removing intermediate container 935b0c2f3ea2 [2023-11-01T16:44:09.632Z] ---> 5280ba4790bb [2023-11-01T16:44:09.632Z] Step 11/23 : FROM alpine:3.18 [2023-11-01T16:44:09.632Z] 3.18: Pulling from library/alpine [2023-11-01T16:44:09.896Z] 96526aa774ef: Pulling fs layer [2023-11-01T16:44:10.159Z] 96526aa774ef: Verifying Checksum [2023-11-01T16:44:10.159Z] 96526aa774ef: Download complete [2023-11-01T16:44:10.421Z] 96526aa774ef: Pull complete [2023-11-01T16:44:10.681Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T16:44:10.681Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T16:44:11.061Z] ---> 8ca4688f4f35 [2023-11-01T16:44:11.061Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-01T16:44:12.012Z] ---> Running in 6bda7e4232b9 [2023-11-01T16:44:12.592Z] Removing intermediate container 6bda7e4232b9 [2023-11-01T16:44:12.592Z] ---> 0b5e12b33b87 [2023-11-01T16:44:12.592Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-01T16:44:12.854Z] ---> Running in c350969f6c2d [2023-11-01T16:44:13.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T16:44:13.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T16:44:13.686Z] OK: 7 MiB in 15 packages [2023-11-01T16:44:14.625Z] Removing intermediate container c350969f6c2d [2023-11-01T16:44:14.625Z] ---> 5cf10d0d2180 [2023-11-01T16:44:14.625Z] Step 14/23 : WORKDIR / [2023-11-01T16:44:14.885Z] ---> Running in 2f49280c3654 [2023-11-01T16:44:15.152Z] Removing intermediate container 2f49280c3654 [2023-11-01T16:44:15.152Z] ---> 8b5b0df9b942 [2023-11-01T16:44:15.152Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-01T16:44:15.411Z] ---> 7c48275be2ba [2023-11-01T16:44:15.411Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-01T16:44:17.951Z] ---> 8289a450ca6b [2023-11-01T16:44:17.951Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-01T16:44:18.259Z] ---> 207b59a81a00 [2023-11-01T16:44:18.259Z] Step 18/23 : EXPOSE 59999 [2023-11-01T16:44:18.849Z] ---> Running in 61119ccab142 [2023-11-01T16:44:19.219Z] c4a7e357bf2a: Pull complete [2023-11-01T16:44:19.219Z] f0e02332f6b5: Pull complete [2023-11-01T16:44:19.219Z] cefa15bbcfad: Pull complete [2023-11-01T16:44:19.781Z] Removing intermediate container 61119ccab142 [2023-11-01T16:44:19.781Z] ---> 551ffa35c3ee [2023-11-01T16:44:19.781Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-01T16:44:20.720Z] ---> Running in e213ebb424e6 [2023-11-01T16:44:21.662Z] Removing intermediate container e213ebb424e6 [2023-11-01T16:44:21.662Z] ---> 63a2b7e55af0 [2023-11-01T16:44:21.662Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T16:44:21.925Z] ---> Running in 6b0c45be81e4 [2023-11-01T16:44:22.862Z] Removing intermediate container 6b0c45be81e4 [2023-11-01T16:44:22.862Z] ---> ef7872f2e904 [2023-11-01T16:44:22.862Z] Step 21/23 : LABEL arch=amd64 [2023-11-01T16:44:23.124Z] ---> Running in b06e0289f613 [2023-11-01T16:44:23.694Z] Removing intermediate container b06e0289f613 [2023-11-01T16:44:23.694Z] ---> fb8175f4d4b0 [2023-11-01T16:44:23.694Z] Step 22/23 : LABEL git_sha=40dc5588eccf381ff312d3bc6c58dbeeee44c528 [2023-11-01T16:44:23.954Z] ---> Running in d3fce07dfeb1 [2023-11-01T16:44:23.954Z] Removing intermediate container d3fce07dfeb1 [2023-11-01T16:44:23.954Z] ---> 8175dfd2ab13 [2023-11-01T16:44:23.954Z] Step 23/23 : LABEL version=0.0.0 [2023-11-01T16:44:23.954Z] ---> Running in 9e14ed6bd45a [2023-11-01T16:44:24.212Z] Removing intermediate container 9e14ed6bd45a [2023-11-01T16:44:24.212Z] ---> 5166e042bf2d [2023-11-01T16:44:24.212Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T16:44:24.212Z] Successfully built 5166e042bf2d [2023-11-01T16:44:24.212Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:44:25.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T16:44:25.146Z] [2023-11-01T16:44:25.146Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:44:25.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T16:44:25.532Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-01T16:44:25.532Z] 5eb5b503b376: Pulling fs layer [2023-11-01T16:44:25.532Z] 5c69ac0246d0: Pulling fs layer [2023-11-01T16:44:25.532Z] ec43610c2a17: Pulling fs layer [2023-11-01T16:44:25.532Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-01T16:44:25.532Z] 33b1e0a273af: Pulling fs layer [2023-11-01T16:44:25.532Z] 5d3b04190fa2: Pulling fs layer [2023-11-01T16:44:25.532Z] 2f39f015ded8: Pulling fs layer [2023-11-01T16:44:25.532Z] 33b1e0a273af: Waiting [2023-11-01T16:44:25.532Z] 5d3b04190fa2: Waiting [2023-11-01T16:44:25.532Z] 2f39f015ded8: Waiting [2023-11-01T16:44:25.532Z] 3a2ae6a8a46f: Waiting [2023-11-01T16:44:25.532Z] 5c69ac0246d0: Verifying Checksum [2023-11-01T16:44:25.532Z] 5c69ac0246d0: Download complete [2023-11-01T16:44:25.532Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-01T16:44:25.532Z] 3a2ae6a8a46f: Download complete [2023-11-01T16:44:25.532Z] 33b1e0a273af: Verifying Checksum [2023-11-01T16:44:25.532Z] 33b1e0a273af: Download complete [2023-11-01T16:44:25.532Z] ec43610c2a17: Verifying Checksum [2023-11-01T16:44:25.532Z] ec43610c2a17: Download complete [2023-11-01T16:44:25.532Z] 5d3b04190fa2: Verifying Checksum [2023-11-01T16:44:25.532Z] 5d3b04190fa2: Download complete [2023-11-01T16:44:25.789Z] 5eb5b503b376: Verifying Checksum [2023-11-01T16:44:25.789Z] 5eb5b503b376: Download complete [2023-11-01T16:44:25.903Z] 17808c966233: Pull complete [2023-11-01T16:44:26.356Z] 2f39f015ded8: Verifying Checksum [2023-11-01T16:44:26.356Z] 2f39f015ded8: Download complete [2023-11-01T16:44:27.733Z] 5eb5b503b376: Pull complete [2023-11-01T16:44:27.733Z] 5c69ac0246d0: Pull complete [2023-11-01T16:44:27.860Z] f4c1fc716caa: Pull complete [2023-11-01T16:44:27.861Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-01T16:44:27.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-01T16:44:27.861Z] ---> ea914061e18c [2023-11-01T16:44:27.861Z] Step 3/10 : ARG MAKE=make build [2023-11-01T16:44:28.303Z] ec43610c2a17: Pull complete [2023-11-01T16:44:28.303Z] 3a2ae6a8a46f: Pull complete [2023-11-01T16:44:28.561Z] 33b1e0a273af: Pull complete [2023-11-01T16:44:28.561Z] 5d3b04190fa2: Pull complete [2023-11-01T16:44:29.286Z] ---> Running in b905b2e43055 [2023-11-01T16:44:29.878Z] Removing intermediate container b905b2e43055 [2023-11-01T16:44:29.878Z] ---> 8517fcd9a222 [2023-11-01T16:44:29.878Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-01T16:44:29.878Z] ---> Running in 3e0a5b6b4c86 [2023-11-01T16:44:30.151Z] Removing intermediate container 3e0a5b6b4c86 [2023-11-01T16:44:30.151Z] ---> d2b8adfbd560 [2023-11-01T16:44:30.151Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T16:44:30.427Z] ---> Running in d80283c6cda0 [2023-11-01T16:44:30.697Z] Removing intermediate container d80283c6cda0 [2023-11-01T16:44:30.697Z] ---> d588e0b53729 [2023-11-01T16:44:30.697Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-01T16:44:30.968Z] ---> Running in a973ecaaad10 [2023-11-01T16:44:32.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T16:44:32.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T16:44:33.813Z] OK: 266 MiB in 52 packages [2023-11-01T16:44:34.782Z] Removing intermediate container a973ecaaad10 [2023-11-01T16:44:34.782Z] ---> a0382b72595b [2023-11-01T16:44:34.782Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-01T16:44:35.366Z] ---> d4e620876f17 [2023-11-01T16:44:35.366Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T16:44:35.366Z] ---> Running in 1652292d5807 [2023-11-01T16:44:43.468Z] 2f39f015ded8: Pull complete [2023-11-01T16:44:46.754Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-01T16:44:46.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T16:44:46.754Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:44:46.983Z] prd-ubuntu20.04-docker-8c-8g-16228 does not seem to be running inside a container [2023-11-01T16:44:47.022Z] $ 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-1534 -v /w/workspace/gexfoundry_device-sdk-go_PR-1534:/w/workspace/gexfoundry_device-sdk-go_PR-1534:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-01T16:44:47.254Z] $ docker top 70be4835ea22a088bb8a21c323676d9052d5774125fce77c67ea87fb5bcc7985 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:44:47.709Z] ---> job-cost.sh [2023-11-01T16:44:47.709Z] lf-activate-venv: SKIPPING [2023-11-01T16:44:47.709Z] INFO: No Stack... [2023-11-01T16:44:47.970Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T16:44:48.540Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T16:44:48.870Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1534/archives/cost.csv [2023-11-01T16:44:48.870Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T16:44:48.917Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1534-1-stack-cost] [2023-11-01T16:44:48.921Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1534-1-stack-cost] did not exist. Created. [2023-11-01T16:44:48.922Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1534-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T16:44:49.315Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-01T16:44:49.376Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T16:44:49.403Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1534-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T16:44:49.498Z] $ docker stop --time=1 70be4835ea22a088bb8a21c323676d9052d5774125fce77c67ea87fb5bcc7985 [2023-11-01T16:44:51.687Z] $ docker rm -f --volumes 70be4835ea22a088bb8a21c323676d9052d5774125fce77c67ea87fb5bcc7985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-01T16:45:57.037Z] Removing intermediate container 1652292d5807 [2023-11-01T16:45:57.037Z] ---> d67691026381 [2023-11-01T16:45:57.037Z] Step 9/10 : COPY . . [2023-11-01T16:45:57.037Z] ---> d78119799a70 [2023-11-01T16:45:57.037Z] Step 10/10 : RUN ${MAKE} [2023-11-01T16:45:57.037Z] ---> Running in 808abee7538c [2023-11-01T16:45:57.037Z] noop [2023-11-01T16:45:57.037Z] Removing intermediate container 808abee7538c [2023-11-01T16:45:57.037Z] ---> f5295bfde6f4 [2023-11-01T16:45:57.037Z] Successfully built f5295bfde6f4 [2023-11-01T16:45:57.037Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:45:57.541Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T16:45:57.541Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:45:57.901Z] prd-ubuntu20.04-docker-arm64-4c-16g-16230 does not seem to be running inside a container [2023-11-01T16:45:57.989Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-11-01T16:45:59.531Z] $ docker top bc4161c7fadbb01c12fd0b56bc70b40b7a3188a6bd96a212ce5899b00793eec2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T16:46:00.520Z] + go version [2023-11-01T16:46:00.520Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-01T16:46:00.555Z] $ docker stop --time=1 bc4161c7fadbb01c12fd0b56bc70b40b7a3188a6bd96a212ce5899b00793eec2 [2023-11-01T16:46:04.920Z] $ docker rm -f --volumes bc4161c7fadbb01c12fd0b56bc70b40b7a3188a6bd96a212ce5899b00793eec2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:46:05.850Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T16:46:05.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:46:06.123Z] prd-ubuntu20.04-docker-arm64-4c-16g-16230 does not seem to be running inside a container [2023-11-01T16:46:06.201Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-11-01T16:46:07.624Z] $ docker top ea6122b00e5da8f34f7459858fd7d49a299739c2446a05572e85001576dea958 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T16:46:08.558Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-01T16:46:09.295Z] + make test [2023-11-01T16:46:09.295Z] go test -race -coverprofile=coverage.out ./... [2023-11-01T16:46:56.178Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-01T16:49:32.934Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-01T16:49:32.934Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-01T16:49:32.934Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-01T16:49:32.934Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-01T16:49:32.934Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-01T16:49:32.934Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.202s coverage: 27.6% of statements [2023-11-01T16:49:39.602Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.271s coverage: 81.5% of statements [2023-11-01T16:49:47.797Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-01T16:49:47.797Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-01T16:49:48.382Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.333s coverage: 86.0% of statements [2023-11-01T16:49:53.731Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-01T16:49:54.692Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.639s coverage: 71.8% of statements [2023-11-01T16:49:58.033Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.361s coverage: 14.4% of statements [2023-11-01T16:49:58.033Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.025s coverage: 45.9% of statements [2023-11-01T16:49:58.994Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-01T16:49:58.994Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-01T16:50:00.403Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.407s coverage: 68.5% of statements [2023-11-01T16:50:03.100Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.434s coverage: 89.2% of statements [2023-11-01T16:50:04.096Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-01T16:50:05.080Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.226s coverage: 5.5% of statements [2023-11-01T16:50:07.702Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-01T16:50:07.702Z] GO111MODULE=on go vet ./... [2023-11-01T16:52:14.480Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T16:52:14.480Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T16:52:14.480Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T16:52:14.518Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T16:52:14.546Z] $ docker stop --time=1 ea6122b00e5da8f34f7459858fd7d49a299739c2446a05572e85001576dea958 [2023-11-01T16:52:16.691Z] $ docker rm -f --volumes ea6122b00e5da8f34f7459858fd7d49a299739c2446a05572e85001576dea958 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T16:52:18.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T16:52:18.496Z] Warning: overwriting stash ‘coverage-report’ [2023-11-01T16:52:19.092Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T16:52:19.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T16:52:20.022Z] + ls -al . [2023-11-01T16:52:20.023Z] total 304 [2023-11-01T16:52:20.023Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 16:46 . [2023-11-01T16:52:20.023Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 16:43 .. [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 16:43 .dockerignore [2023-11-01T16:52:20.023Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 16:43 .git [2023-11-01T16:52:20.023Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 16:43 .github [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 16:43 .gitignore [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 16:43 .golangci.yml [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 1 16:43 CHANGELOG.md [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 16:43 GOVERNANCE.md [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 16:43 Jenkinsfile [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 16:43 LICENSE [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 16:43 Makefile [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 16:43 OWNERS.md [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 16:43 README.md [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 16:40 VERSION [2023-11-01T16:52:20.023Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 16:43 bin [2023-11-01T16:52:20.023Z] -rw-r--r-- 1 jenkins jenkins 122155 Nov 1 16:50 coverage.out [2023-11-01T16:52:20.023Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 16:43 example [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 16:43 go.mod [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 16:43 go.sum [2023-11-01T16:52:20.023Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 16:43 internal [2023-11-01T16:52:20.023Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 16:43 openapi [2023-11-01T16:52:20.023Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 16:43 pkg [2023-11-01T16:52:20.023Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 16:43 snap [2023-11-01T16:52:20.023Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 16:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:52:20.433Z] + 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=40dc5588eccf381ff312d3bc6c58dbeeee44c528 --label arch=arm64 --label version=0.0.0 . [2023-11-01T16:52:21.019Z] Sending build context to Docker daemon 6.169MB [2023-11-01T16:52:21.019Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T16:52:21.019Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-01T16:52:21.019Z] ---> f5295bfde6f4 [2023-11-01T16:52:21.019Z] Step 3/23 : ARG MAKE=make build [2023-11-01T16:52:21.019Z] ---> Running in 17c41af2ad9e [2023-11-01T16:52:21.292Z] Removing intermediate container 17c41af2ad9e [2023-11-01T16:52:21.292Z] ---> ebd6b3f4503a [2023-11-01T16:52:21.292Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-01T16:52:21.562Z] ---> Running in 2b2fca0f08b2 [2023-11-01T16:52:21.832Z] Removing intermediate container 2b2fca0f08b2 [2023-11-01T16:52:21.832Z] ---> d6f9d7a1c3e2 [2023-11-01T16:52:21.832Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T16:52:21.832Z] ---> Running in dcfdf54ad5dc [2023-11-01T16:52:22.426Z] Removing intermediate container dcfdf54ad5dc [2023-11-01T16:52:22.426Z] ---> 5c0ab0b66c12 [2023-11-01T16:52:22.426Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-01T16:52:22.426Z] ---> Running in 9b7357745a1e [2023-11-01T16:52:23.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T16:52:23.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T16:52:25.376Z] OK: 266 MiB in 52 packages [2023-11-01T16:52:27.320Z] Removing intermediate container 9b7357745a1e [2023-11-01T16:52:27.320Z] ---> 13a5042af12a [2023-11-01T16:52:27.320Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-01T16:52:27.589Z] ---> 425c29a55dab [2023-11-01T16:52:27.589Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T16:52:27.589Z] ---> Running in 00aa6fed9c0e [2023-11-01T16:52:30.169Z] Removing intermediate container 00aa6fed9c0e [2023-11-01T16:52:30.169Z] ---> 7cfe642357ba [2023-11-01T16:52:30.169Z] Step 9/23 : COPY . . [2023-11-01T16:52:31.131Z] ---> d28c9e87e8e0 [2023-11-01T16:52:31.131Z] Step 10/23 : RUN ${MAKE} [2023-11-01T16:52:31.131Z] ---> Running in bcc51999b4ed [2023-11-01T16:52:32.089Z] 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 [2023-11-01T16:54:38.776Z] Removing intermediate container bcc51999b4ed [2023-11-01T16:54:38.776Z] ---> a3532113ba82 [2023-11-01T16:54:38.776Z] Step 11/23 : FROM alpine:3.18 [2023-11-01T16:54:38.776Z] 3.18: Pulling from library/alpine [2023-11-01T16:54:38.776Z] 579b34f0a95b: Pulling fs layer [2023-11-01T16:54:38.776Z] 579b34f0a95b: Verifying Checksum [2023-11-01T16:54:38.776Z] 579b34f0a95b: Download complete [2023-11-01T16:54:38.776Z] 579b34f0a95b: Pull complete [2023-11-01T16:54:38.776Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T16:54:38.776Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T16:54:38.776Z] ---> 3cc203321400 [2023-11-01T16:54:38.776Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-01T16:54:38.776Z] ---> Running in 9577dce7d583 [2023-11-01T16:54:38.776Z] Removing intermediate container 9577dce7d583 [2023-11-01T16:54:38.776Z] ---> 78582f9b053d [2023-11-01T16:54:38.776Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-01T16:54:38.776Z] ---> Running in 2f9211e3c9d0 [2023-11-01T16:54:38.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T16:54:38.776Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T16:54:38.776Z] OK: 8 MiB in 15 packages [2023-11-01T16:54:38.776Z] Removing intermediate container 2f9211e3c9d0 [2023-11-01T16:54:38.776Z] ---> f2787b11b996 [2023-11-01T16:54:38.776Z] Step 14/23 : WORKDIR / [2023-11-01T16:54:39.044Z] ---> Running in bc4278b90daa [2023-11-01T16:54:39.312Z] Removing intermediate container bc4278b90daa [2023-11-01T16:54:39.312Z] ---> 3c8b4f7e1b17 [2023-11-01T16:54:39.312Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-01T16:54:39.897Z] ---> 658a8ca69113 [2023-11-01T16:54:39.897Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-01T16:54:41.306Z] ---> 3edf299d68b9 [2023-11-01T16:54:41.307Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-01T16:54:41.896Z] ---> 1f80fade899e [2023-11-01T16:54:41.896Z] Step 18/23 : EXPOSE 59999 [2023-11-01T16:54:42.166Z] ---> Running in 4800fa511f8a [2023-11-01T16:54:42.433Z] Removing intermediate container 4800fa511f8a [2023-11-01T16:54:42.433Z] ---> edc0fbedf4ac [2023-11-01T16:54:42.433Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-01T16:54:42.433Z] ---> Running in a37d24832ecc [2023-11-01T16:54:42.702Z] Removing intermediate container a37d24832ecc [2023-11-01T16:54:42.702Z] ---> 9c514d54b847 [2023-11-01T16:54:42.702Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T16:54:42.972Z] ---> Running in 2383a4e617e6 [2023-11-01T16:54:43.239Z] Removing intermediate container 2383a4e617e6 [2023-11-01T16:54:43.239Z] ---> bdc8fb145ac7 [2023-11-01T16:54:43.239Z] Step 21/23 : LABEL arch=arm64 [2023-11-01T16:54:43.239Z] ---> Running in 7dbc3f19c5d7 [2023-11-01T16:54:43.510Z] Removing intermediate container 7dbc3f19c5d7 [2023-11-01T16:54:43.510Z] ---> 7ce097559b3b [2023-11-01T16:54:43.510Z] Step 22/23 : LABEL git_sha=40dc5588eccf381ff312d3bc6c58dbeeee44c528 [2023-11-01T16:54:43.777Z] ---> Running in 98da201b84e9 [2023-11-01T16:54:44.046Z] Removing intermediate container 98da201b84e9 [2023-11-01T16:54:44.046Z] ---> e5297e1096e1 [2023-11-01T16:54:44.046Z] Step 23/23 : LABEL version=0.0.0 [2023-11-01T16:54:44.046Z] ---> Running in 33fb51954bbf [2023-11-01T16:54:44.315Z] Removing intermediate container 33fb51954bbf [2023-11-01T16:54:44.315Z] ---> 4207b0326c85 [2023-11-01T16:54:44.315Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T16:54:44.315Z] Successfully built 4207b0326c85 [2023-11-01T16:54:44.315Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:54:45.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T16:54:45.146Z] [2023-11-01T16:54:45.146Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:54:45.574Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T16:54:47.525Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-01T16:54:47.526Z] 8998bd30e6a1: Pulling fs layer [2023-11-01T16:54:47.526Z] 04944245beec: Pulling fs layer [2023-11-01T16:54:47.526Z] 699f458cf7ca: Pulling fs layer [2023-11-01T16:54:47.526Z] 765212b225bb: Pulling fs layer [2023-11-01T16:54:47.526Z] f23df028b6ca: Pulling fs layer [2023-11-01T16:54:47.526Z] d65c8cfc05b1: Pulling fs layer [2023-11-01T16:54:47.526Z] 2437ff75d9bd: Pulling fs layer [2023-11-01T16:54:47.526Z] 765212b225bb: Waiting [2023-11-01T16:54:47.526Z] f23df028b6ca: Waiting [2023-11-01T16:54:47.526Z] d65c8cfc05b1: Waiting [2023-11-01T16:54:47.526Z] 2437ff75d9bd: Waiting [2023-11-01T16:54:47.526Z] 04944245beec: Verifying Checksum [2023-11-01T16:54:47.526Z] 04944245beec: Download complete [2023-11-01T16:54:47.526Z] 765212b225bb: Download complete [2023-11-01T16:54:47.526Z] f23df028b6ca: Verifying Checksum [2023-11-01T16:54:47.526Z] f23df028b6ca: Download complete [2023-11-01T16:54:47.797Z] d65c8cfc05b1: Verifying Checksum [2023-11-01T16:54:47.797Z] d65c8cfc05b1: Download complete [2023-11-01T16:54:47.797Z] 699f458cf7ca: Verifying Checksum [2023-11-01T16:54:47.797Z] 699f458cf7ca: Download complete [2023-11-01T16:54:48.382Z] 8998bd30e6a1: Verifying Checksum [2023-11-01T16:54:48.382Z] 8998bd30e6a1: Download complete [2023-11-01T16:54:50.966Z] 2437ff75d9bd: Verifying Checksum [2023-11-01T16:54:50.966Z] 2437ff75d9bd: Download complete [2023-11-01T16:54:52.912Z] 8998bd30e6a1: Pull complete [2023-11-01T16:54:53.497Z] 04944245beec: Pull complete [2023-11-01T16:54:55.439Z] 699f458cf7ca: Pull complete [2023-11-01T16:54:55.439Z] 765212b225bb: Pull complete [2023-11-01T16:54:56.403Z] f23df028b6ca: Pull complete [2023-11-01T16:54:56.403Z] d65c8cfc05b1: Pull complete [2023-11-01T16:55:14.612Z] 2437ff75d9bd: Pull complete [2023-11-01T16:55:14.613Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-01T16:55:14.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T16:55:14.613Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:55:14.941Z] prd-ubuntu20.04-docker-arm64-4c-16g-16230 does not seem to be running inside a container [2023-11-01T16:55:15.008Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-01T16:55:19.604Z] $ docker top b4e3cb4cfed3608f1af82596ade5116d1cd3ed5e4bd1cde67b073403b79d541c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:55:20.519Z] ---> job-cost.sh [2023-11-01T16:55:20.520Z] lf-activate-venv: SKIPPING [2023-11-01T16:55:20.520Z] INFO: No Stack... [2023-11-01T16:55:20.785Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-01T16:55:21.739Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T16:55:22.393Z] + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 [2023-11-01T16:55:22.393Z] [Pipeline] lock [2023-11-01T16:55:22.481Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1534-1-stack-cost] [2023-11-01T16:55:22.486Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1534-1-stack-cost] did not exist. Created. [2023-11-01T16:55:22.486Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1534-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T16:55:23.220Z] /w/workspace/device-sdk-go/1@tmp/durable-4641a8f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-01T16:55:23.887Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-01T16:55:23.922Z] Warning: overwriting stash ‘stack-cost’ [2023-11-01T16:55:24.012Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T16:55:24.029Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1534-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T16:55:24.114Z] $ docker stop --time=1 b4e3cb4cfed3608f1af82596ade5116d1cd3ed5e4bd1cde67b073403b79d541c [2023-11-01T16:55:25.667Z] $ docker rm -f --volumes b4e3cb4cfed3608f1af82596ade5116d1cd3ed5e4bd1cde67b073403b79d541c [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 [2023-11-01T16:55:26.720Z] provisioning config files... [2023-11-01T16:55:26.727Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp/config16498781802346499545tmp [Pipeline] { [Pipeline] sh [2023-11-01T16:55:27.061Z] + set +x [2023-11-01T16:55:27.061Z] + curl -s https://codecov.io/bash [2023-11-01T16:55:27.061Z] + bash -s -- [2023-11-01T16:55:27.061Z] [2023-11-01T16:55:27.061Z] _____ _ [2023-11-01T16:55:27.061Z] / ____| | | [2023-11-01T16:55:27.061Z] | | ___ __| | ___ ___ _____ __ [2023-11-01T16:55:27.061Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-01T16:55:27.061Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-01T16:55:27.061Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-01T16:55:27.061Z] Bash-1.0.6 [2023-11-01T16:55:27.061Z] [2023-11-01T16:55:27.061Z] [2023-11-01T16:55:27.061Z] ==> git version 2.25.1 found [2023-11-01T16:55:27.061Z] ==> 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 [2023-11-01T16:55:27.061Z] Release-Date: 2020-01-08 [2023-11-01T16:55:27.061Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-01T16:55:27.061Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-01T16:55:27.061Z] ==> Jenkins CI detected. [2023-11-01T16:55:27.061Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1534 [2023-11-01T16:55:27.062Z] project root: . [2023-11-01T16:55:27.062Z] --> token set from env [2023-11-01T16:55:27.062Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-01T16:55:27.062Z] ==> Running gcov in . (disable via -X gcov) [2023-11-01T16:55:27.062Z] ==> Python coveragepy not found [2023-11-01T16:55:27.062Z] ==> Searching for coverage reports in: [2023-11-01T16:55:27.062Z] + . [2023-11-01T16:55:27.062Z] -> Found 1 reports [2023-11-01T16:55:27.062Z] ==> Detecting git/mercurial file structure [2023-11-01T16:55:27.062Z] ==> Reading reports [2023-11-01T16:55:27.062Z] + ./coverage.out bytes=122155 [2023-11-01T16:55:27.062Z] ==> Appending adjustments [2023-11-01T16:55:27.062Z] https://docs.codecov.io/docs/fixing-reports [2023-11-01T16:55:27.628Z] + Found adjustments [2023-11-01T16:55:27.628Z] ==> Gzipping contents [2023-11-01T16:55:27.628Z] 20K /tmp/codecov.KR0Nec.gz [2023-11-01T16:55:27.628Z] ==> Uploading reports [2023-11-01T16:55:27.628Z] url: https://codecov.io [2023-11-01T16:55:27.628Z] query: branch=PR-1534&commit=40dc5588eccf381ff312d3bc6c58dbeeee44c528&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1534%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1534&job=&cmd_args= [2023-11-01T16:55:27.628Z] -> Pinging Codecov [2023-11-01T16:55:27.628Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1534&commit=40dc5588eccf381ff312d3bc6c58dbeeee44c528&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1534%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1534&job=&cmd_args= [2023-11-01T16:55:27.628Z] -> Uploading to [2023-11-01T16:55:27.628Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-01/7E55EF52A471D76F132DFD9A03CDDE97/40dc5588eccf381ff312d3bc6c58dbeeee44c528/bf0be6f3-761d-49ea-861b-83943ce0869b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T165527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e695373f17317b06a1e872d85ffdab5713f63cf29a70b99ebbcf816f8aaf648e [2023-11-01T16:55:27.628Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T16:55:27.628Z] Dload Upload Total Spent Left Speed [2023-11-01T16:55:27.888Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16751 0 0 100 16751 0 62271 --:--:-- --:--:-- --:--:-- 62271 [2023-11-01T16:55:27.888Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/40dc5588eccf381ff312d3bc6c58dbeeee44c528 [Pipeline] } [2023-11-01T16:55:27.917Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-01T16:55:29.705Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1534/archives ] [2023-11-01T16:55:29.706Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1534/archives [2023-11-01T16:55:29.706Z] total 16 [2023-11-01T16:55:29.706Z] drwxr-xr-x 3 root root 4096 Nov 1 16:44 . [2023-11-01T16:55:29.706Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 16:44 .. [2023-11-01T16:55:29.706Z] drwxr-xr-x 2 root root 4096 Nov 1 16:44 cost [2023-11-01T16:55:29.706Z] -rw-r--r-- 1 root root 86 Nov 1 16:44 cost.csv [2023-11-01T16:55:29.706Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1534/archives [2023-11-01T16:55:29.706Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1534/archives [2023-11-01T16:55:29.706Z] total 16 [2023-11-01T16:55:29.706Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 16:44 . [2023-11-01T16:55:29.706Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 16:44 .. [2023-11-01T16:55:29.706Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 16:44 cost [2023-11-01T16:55:29.706Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 1 16:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:55:30.037Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:55:30.928Z] ---> package-listing.sh [2023-11-01T16:55:30.928Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-01T16:55:30.928Z] ++ facter osfamily [2023-11-01T16:55:31.187Z] + OS_FAMILY=debian [2023-11-01T16:55:31.187Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1534 [2023-11-01T16:55:31.187Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-01T16:55:31.187Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-01T16:55:31.187Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-01T16:55:31.187Z] + PACKAGES=/tmp/packages_start.txt [2023-11-01T16:55:31.187Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1534 ']' [2023-11-01T16:55:31.187Z] + PACKAGES=/tmp/packages_end.txt [2023-11-01T16:55:31.187Z] + case "${OS_FAMILY}" in [2023-11-01T16:55:31.187Z] + dpkg -l [2023-11-01T16:55:31.187Z] + grep '^ii' [2023-11-01T16:55:31.187Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-01T16:55:31.187Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-01T16:55:31.187Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-01T16:55:31.187Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1534 ']' [2023-11-01T16:55:31.187Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1534/archives/ [2023-11-01T16:55:31.187Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1534/archives/ [Pipeline] echo [2023-11-01T16:55:31.223Z] 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-1534/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-01T16:55:31.517Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:55:32.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T16:55:32.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:55:32.306Z] prd-ubuntu20.04-docker-8c-8g-16228 does not seem to be running inside a container [2023-11-01T16:55:32.355Z] $ 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-1534/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-1534 -v /w/workspace/gexfoundry_device-sdk-go_PR-1534:/w/workspace/gexfoundry_device-sdk-go_PR-1534:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1534@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 [2023-11-01T16:55:32.566Z] $ docker top ce7a3bc88846439faa27ae1df72a7b62f1fc5d3451401371da1f89f43f4f3ef2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T16:55:32.951Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-01T16:55:33.263Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-01T16:55:33.576Z] + ls /var/log/sa-host [2023-11-01T16:55:33.576Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T16:55:33.817Z] provisioning config files... [2023-11-01T16:55:33.827Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1534@tmp/config15562745159743763337tmp [Pipeline] { [Pipeline] echo [2023-11-01T16:55:33.883Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:55:34.195Z] ---> create-netrc.sh [Pipeline] } [2023-11-01T16:55:34.224Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:55:34.628Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-01T16:55:34.662Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:55:34.969Z] ---> sudo-logs.sh [2023-11-01T16:55:34.969Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-01T16:55:35.053Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:55:35.365Z] ---> job-cost.sh [2023-11-01T16:55:35.365Z] lf-activate-venv: SKIPPING [2023-11-01T16:55:35.365Z] DEBUG: total: 0.2199999988079071 [2023-11-01T16:55:35.365Z] INFO: Retrieving Stack Cost... [2023-11-01T16:55:35.624Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T16:55:36.192Z] INFO: Archiving Costs [Pipeline] echo [2023-11-01T16:55:36.223Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:55:36.551Z] ---> logs-deploy.sh [2023-11-01T16:55:36.551Z] lf-activate-venv: SKIPPING [2023-11-01T16:55:36.551Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1534/1 [2023-11-01T16:55:36.551Z] INFO: archiving workspace using pattern(s): [2023-11-01T16:55:37.493Z] Archives upload complete. [2023-11-01T16:55:37.752Z] INFO: archiving logs to Nexus