Pull request #1516 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5664430382a222b1d0a4229f45ede87c04fd0766+26847311c5e80852903f42d5f4b76f1d4cba51bb (407cfc7e3be4daa3074b2ea1342f1aef6f373894) 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-ssh795059321700471325.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17442915061135992366.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1516/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-1516/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7640176855079611260.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-1516/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10345355617272093999.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh13625811127773227805.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-1516/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-1516/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1026633733081730901.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 e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6665 in /w/workspace/gexfoundry_device-sdk-go_PR-1516 [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-1516 # 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 Merging remotes/origin/main commit 26847311c5e80852903f42d5f4b76f1d4cba51bb into PR head commit 5664430382a222b1d0a4229f45ede87c04fd0766 Merge succeeded, producing 5664430382a222b1d0a4229f45ede87c04fd0766 Checking out Revision 5664430382a222b1d0a4229f45ede87c04fd0766 (PR-1516) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1516/head:refs/remotes/origin/PR-1516 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5664430382a222b1d0a4229f45ede87c04fd0766 # 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 26847311c5e80852903f42d5f4b76f1d4cba51bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5664430382a222b1d0a4229f45ede87c04fd0766 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T05:01:00.741Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T05:01:00.912Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T05:01:01.025Z] ========================================================= [2023-09-20T05:01:01.025Z] EdgeX Global Pipelines Version Info [2023-09-20T05:01:01.025Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:01:01.769Z] ------------------- [2023-09-20T05:01:01.769Z] stable info: [2023-09-20T05:01:01.769Z] ------------------- [2023-09-20T05:01:01.769Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T05:01:01.769Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T05:01:01.769Z] Message: update stable to v1.0.254 [2023-09-20T05:01:02.346Z] ------------------- [2023-09-20T05:01:02.346Z] experimental info: [2023-09-20T05:01:02.346Z] ------------------- [2023-09-20T05:01:02.346Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T05:01:02.346Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T05:01:02.346Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T05:01:02.642Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-20T05:01:02.683Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-20T05:01:02.720Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T05:01:02.763Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T05:01:02.803Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T05:01:02.844Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T05:01:02.886Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T05:01:02.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-20T05:01:02.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T05:01:03.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T05:01:03.052Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T05:01:03.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-20T05:01:03.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T05:01:03.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T05:01:03.226Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T05:01:03.271Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T05:01:03.316Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T05:01:03.404Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T05:01:03.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T05:01:03.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T05:01:03.522Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-20T05:01:03.562Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-20T05:01:03.602Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T05:01:03.640Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T05:01:03.679Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T05:01:03.718Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T05:01:03.759Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T05:01:03.799Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1516 [Pipeline] echo [2023-09-20T05:01:03.832Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1516 [Pipeline] echo [2023-09-20T05:01:03.867Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1516 [Pipeline] echo [2023-09-20T05:01:03.905Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5664430382a222b1d0a4229f45ede87c04fd0766 [Pipeline] echo [2023-09-20T05:01:03.942Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5664430 [Pipeline] echo [2023-09-20T05:01:03.981Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T05:01:04.095Z] provisioning config files... [2023-09-20T05:01:04.109Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp/config2716229008930698189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:01:04.477Z] ---> docker-login.sh [2023-09-20T05:01:04.477Z] nexus3.edgexfoundry.org:10001 [2023-09-20T05:01:04.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:01:04.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:01:04.737Z] Configure a credential helper to remove this warning. See [2023-09-20T05:01:04.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:01:04.737Z] [2023-09-20T05:01:04.737Z] Login Succeeded [2023-09-20T05:01:04.737Z] nexus3.edgexfoundry.org:10002 [2023-09-20T05:01:04.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:01:04.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:01:04.997Z] Configure a credential helper to remove this warning. See [2023-09-20T05:01:04.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:01:04.997Z] [2023-09-20T05:01:04.997Z] Login Succeeded [2023-09-20T05:01:04.997Z] nexus3.edgexfoundry.org:10003 [2023-09-20T05:01:04.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:01:04.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:01:04.997Z] Configure a credential helper to remove this warning. See [2023-09-20T05:01:04.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:01:04.997Z] [2023-09-20T05:01:04.997Z] Login Succeeded [2023-09-20T05:01:04.997Z] nexus3.edgexfoundry.org:10004 [2023-09-20T05:01:04.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:01:05.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:01:05.257Z] Configure a credential helper to remove this warning. See [2023-09-20T05:01:05.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:01:05.257Z] [2023-09-20T05:01:05.257Z] Login Succeeded [2023-09-20T05:01:05.257Z] docker.io [2023-09-20T05:01:05.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:01:05.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:01:05.517Z] Configure a credential helper to remove this warning. See [2023-09-20T05:01:05.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:01:05.517Z] [2023-09-20T05:01:05.517Z] Login Succeeded [2023-09-20T05:01:05.517Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T05:01:05.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T05:01:06.166Z] + git rev-list -1 --merges 5664430382a222b1d0a4229f45ede87c04fd0766~1..5664430382a222b1d0a4229f45ede87c04fd0766 [Pipeline] echo [2023-09-20T05:01:06.258Z] -----------> git rev-list -1 --merges 5664430382a222b1d0a4229f45ede87c04fd0766~1..5664430382a222b1d0a4229f45ede87c04fd0766 5664430382a222b1d0a4229f45ede87c04fd0766 [false] [Pipeline] sh [2023-09-20T05:01:06.607Z] + git log --format=format:%s -1 5664430382a222b1d0a4229f45ede87c04fd0766 [Pipeline] echo [2023-09-20T05:01:06.643Z] ========================================================= [2023-09-20T05:01:06.643Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T05:01:06.643Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T05:01:07.081Z] + git log --format=format:%s -1 5664430382a222b1d0a4229f45ede87c04fd0766 [Pipeline] echo [2023-09-20T05:01:07.111Z] [semverPrep] GIT_COMMIT: 5664430382a222b1d0a4229f45ede87c04fd0766, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-09-20T05:01:07.138Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T05:01:07.536Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T05:01:07.536Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T05:01:07.536Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T05:01:07.536Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T05:01:07.536Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T05:01:07.536Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T05:01:07.536Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:01:08.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:01:08.043Z] [2023-09-20T05:01:08.043Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:01:08.424Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:01:08.424Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T05:01:08.424Z] b85a868b505f: Pulling fs layer [2023-09-20T05:01:08.424Z] e2be974225ed: Pulling fs layer [2023-09-20T05:01:08.424Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T05:01:08.424Z] 988bab9f4d93: Pulling fs layer [2023-09-20T05:01:08.424Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T05:01:08.424Z] eaf3925da568: Pulling fs layer [2023-09-20T05:01:08.424Z] bab4dde63d76: Pulling fs layer [2023-09-20T05:01:08.424Z] bde34c3a00c8: Pulling fs layer [2023-09-20T05:01:08.424Z] b352a97aabf1: Pulling fs layer [2023-09-20T05:01:08.424Z] 4872d77fe225: Pulling fs layer [2023-09-20T05:01:08.424Z] 5851b861e8e6: Pulling fs layer [2023-09-20T05:01:08.424Z] bab4dde63d76: Waiting [2023-09-20T05:01:08.424Z] bde34c3a00c8: Waiting [2023-09-20T05:01:08.424Z] 1469e6f7b9e6: Waiting [2023-09-20T05:01:08.424Z] 988bab9f4d93: Waiting [2023-09-20T05:01:08.424Z] eaf3925da568: Waiting [2023-09-20T05:01:08.424Z] b352a97aabf1: Waiting [2023-09-20T05:01:08.424Z] 4872d77fe225: Waiting [2023-09-20T05:01:08.424Z] e2be974225ed: Verifying Checksum [2023-09-20T05:01:08.424Z] e2be974225ed: Download complete [2023-09-20T05:01:08.424Z] 988bab9f4d93: Download complete [2023-09-20T05:01:08.685Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T05:01:08.685Z] 339a4e72a1f5: Download complete [2023-09-20T05:01:08.685Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T05:01:08.685Z] 1469e6f7b9e6: Download complete [2023-09-20T05:01:08.685Z] eaf3925da568: Verifying Checksum [2023-09-20T05:01:08.685Z] eaf3925da568: Download complete [2023-09-20T05:01:08.685Z] bde34c3a00c8: Verifying Checksum [2023-09-20T05:01:08.685Z] bde34c3a00c8: Download complete [2023-09-20T05:01:08.685Z] b352a97aabf1: Verifying Checksum [2023-09-20T05:01:08.685Z] b352a97aabf1: Download complete [2023-09-20T05:01:08.685Z] 4872d77fe225: Verifying Checksum [2023-09-20T05:01:08.685Z] 4872d77fe225: Download complete [2023-09-20T05:01:08.685Z] 5851b861e8e6: Download complete [2023-09-20T05:01:08.685Z] b85a868b505f: Verifying Checksum [2023-09-20T05:01:08.685Z] b85a868b505f: Download complete [2023-09-20T05:01:08.945Z] bab4dde63d76: Download complete [2023-09-20T05:01:09.883Z] b85a868b505f: Pull complete [2023-09-20T05:01:10.142Z] e2be974225ed: Pull complete [2023-09-20T05:01:10.710Z] 339a4e72a1f5: Pull complete [2023-09-20T05:01:10.710Z] 988bab9f4d93: Pull complete [2023-09-20T05:01:10.969Z] 1469e6f7b9e6: Pull complete [2023-09-20T05:01:10.969Z] eaf3925da568: Pull complete [2023-09-20T05:01:12.871Z] bab4dde63d76: Pull complete [2023-09-20T05:01:12.871Z] bde34c3a00c8: Pull complete [2023-09-20T05:01:12.871Z] b352a97aabf1: Pull complete [2023-09-20T05:01:13.131Z] 4872d77fe225: Pull complete [2023-09-20T05:01:13.131Z] 5851b861e8e6: Pull complete [2023-09-20T05:01:13.131Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T05:01:13.131Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T05:01:13.131Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:01:13.359Z] prd-ubuntu20.04-docker-8c-8g-6665 does not seem to be running inside a container [2023-09-20T05:01:13.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1516 -v /w/workspace/gexfoundry_device-sdk-go_PR-1516:/w/workspace/gexfoundry_device-sdk-go_PR-1516:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-20T05:01:16.221Z] $ docker top 8cbce0b6a46484ed4783137b7428daba40264c80b272a091ca21546aa2ccf9e4 -eo pid,comm [2023-09-20T05:01:16.271Z] 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-09-20T05:01:16.271Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T05:01:16.399Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T05:01:16.399Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T05:01:16.525Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T05:01:16.531Z] $ docker exec 8cbce0b6a46484ed4783137b7428daba40264c80b272a091ca21546aa2ccf9e4 ssh-agent [2023-09-20T05:01:16.639Z] SSH_AUTH_SOCK=/tmp/ssh-gcTDWmkx51Si/agent.33 [2023-09-20T05:01:16.639Z] SSH_AGENT_PID=39 [2023-09-20T05:01:16.645Z] Running ssh-add (command line suppressed) [2023-09-20T05:01:16.747Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp/private_key_7866131815264645408.key (/w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp/private_key_7866131815264645408.key) [2023-09-20T05:01:16.757Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T05:01:17.095Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T05:01:17.125Z] $ docker exec --env ******** --env ******** 8cbce0b6a46484ed4783137b7428daba40264c80b272a091ca21546aa2ccf9e4 ssh-agent -k [2023-09-20T05:01:17.232Z] unset SSH_AUTH_SOCK; [2023-09-20T05:01:17.232Z] unset SSH_AGENT_PID; [2023-09-20T05:01:17.232Z] echo Agent pid 39 killed; [2023-09-20T05:01:17.243Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T05:01:17.328Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T05:01:17.328Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T05:01:17.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T05:01:17.452Z] $ docker exec 8cbce0b6a46484ed4783137b7428daba40264c80b272a091ca21546aa2ccf9e4 ssh-agent [2023-09-20T05:01:17.550Z] SSH_AUTH_SOCK=/tmp/ssh-Kt0HTc2uQojw/agent.71 [2023-09-20T05:01:17.550Z] SSH_AGENT_PID=77 [2023-09-20T05:01:17.555Z] Running ssh-add (command line suppressed) [2023-09-20T05:01:17.657Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp/private_key_5348481732746441408.key (/w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp/private_key_5348481732746441408.key) [2023-09-20T05:01:17.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T05:01:17.989Z] + git semver init [2023-09-20T05:01:18.249Z] 2023-09-20 05:01:18,164 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T05:01:18.249Z] 2023-09-20 05:01:18,165 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1516/.semver [2023-09-20T05:01:18.249Z] 2023-09-20 05:01:18,165 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1516/.semver [2023-09-20T05:01:18.249Z] 2023-09-20 05:01:18,165 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1516/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1516, universal_newlines=False, shell=None, istream=None) [2023-09-20T05:01:19.184Z] 2023-09-20 05:01:19,118 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1516/.git/info/exclude [2023-09-20T05:01:19.184Z] 2023-09-20 05:01:19,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1516/.semver/PR-1516 with force:False [2023-09-20T05:01:19.184Z] 2023-09-20 05:01:19,119 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1516/.semver/PR-1516 [2023-09-20T05:01:19.184Z] 2023-09-20 05:01:19,123 [execute] INFO git cat-file --batch-check [2023-09-20T05:01:19.184Z] 2023-09-20 05:01:19,124 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1516/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T05:01:19.184Z] 2023-09-20 05:01:19,128 [execute] INFO git cat-file --batch [2023-09-20T05:01:19.184Z] 2023-09-20 05:01:19,129 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1516/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T05:01:19.184Z] 2023-09-20 05:01:19,134 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1516/.semver/PR-1516 [2023-09-20T05:01:19.184Z] 0.0.0 [Pipeline] } [2023-09-20T05:01:19.212Z] $ docker exec --env ******** --env ******** 8cbce0b6a46484ed4783137b7428daba40264c80b272a091ca21546aa2ccf9e4 ssh-agent -k [2023-09-20T05:01:19.315Z] unset SSH_AUTH_SOCK; [2023-09-20T05:01:19.316Z] unset SSH_AGENT_PID; [2023-09-20T05:01:19.316Z] echo Agent pid 77 killed; [2023-09-20T05:01:19.322Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T05:01:19.796Z] + git semver [Pipeline] } [2023-09-20T05:01:20.082Z] $ docker stop --time=1 8cbce0b6a46484ed4783137b7428daba40264c80b272a091ca21546aa2ccf9e4 [2023-09-20T05:01:21.372Z] $ docker rm -f --volumes 8cbce0b6a46484ed4783137b7428daba40264c80b272a091ca21546aa2ccf9e4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T05:01:21.765Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T05:01:22.158Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T05:01:22.174Z] [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-09-20T05:01:22.806Z] provisioning config files... [2023-09-20T05:01:22.816Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp/config11657578772689521444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:01:23.164Z] ---> docker-login.sh [2023-09-20T05:01:23.164Z] nexus3.edgexfoundry.org:10001 [2023-09-20T05:01:23.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:01:23.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:01:23.164Z] Configure a credential helper to remove this warning. See [2023-09-20T05:01:23.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:01:23.164Z] [2023-09-20T05:01:23.164Z] Login Succeeded [2023-09-20T05:01:23.164Z] nexus3.edgexfoundry.org:10002 [2023-09-20T05:01:23.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:01:23.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:01:23.164Z] Configure a credential helper to remove this warning. See [2023-09-20T05:01:23.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:01:23.164Z] [2023-09-20T05:01:23.164Z] Login Succeeded [2023-09-20T05:01:23.164Z] nexus3.edgexfoundry.org:10003 [2023-09-20T05:01:23.423Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:01:23.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:01:23.424Z] Configure a credential helper to remove this warning. See [2023-09-20T05:01:23.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:01:23.424Z] [2023-09-20T05:01:23.424Z] Login Succeeded [2023-09-20T05:01:23.424Z] nexus3.edgexfoundry.org:10004 [2023-09-20T05:01:23.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:01:23.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:01:23.424Z] Configure a credential helper to remove this warning. See [2023-09-20T05:01:23.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:01:23.424Z] [2023-09-20T05:01:23.424Z] Login Succeeded [2023-09-20T05:01:23.424Z] docker.io [2023-09-20T05:01:23.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:01:23.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:01:23.684Z] Configure a credential helper to remove this warning. See [2023-09-20T05:01:23.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:01:23.684Z] [2023-09-20T05:01:23.684Z] Login Succeeded [2023-09-20T05:01:23.684Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T05:01:23.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T05:01:23.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:01:23.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:01:23.989Z] ========================================================= [2023-09-20T05:01:23.989Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T05:01:23.989Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:01:24.454Z] + 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-09-20T05:01:24.454Z] Sending build context to Docker daemon 11.17MB [2023-09-20T05:01:24.454Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:01:24.454Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-20T05:01:24.454Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T05:01:24.454Z] 7264a8db6415: Pulling fs layer [2023-09-20T05:01:24.454Z] c4d48a809fc2: Pulling fs layer [2023-09-20T05:01:24.454Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T05:01:24.454Z] ad3a456e5733: Pulling fs layer [2023-09-20T05:01:24.454Z] 9e4f439ed901: Pulling fs layer [2023-09-20T05:01:24.454Z] feaf6a47b606: Pulling fs layer [2023-09-20T05:01:24.454Z] 5e8b037d7d82: Pulling fs layer [2023-09-20T05:01:24.454Z] ad3a456e5733: Waiting [2023-09-20T05:01:24.454Z] 8ac70367396e: Pulling fs layer [2023-09-20T05:01:24.454Z] 6db16350a2e2: Pulling fs layer [2023-09-20T05:01:24.454Z] 9250d5d63582: Pulling fs layer [2023-09-20T05:01:24.454Z] 9e4f439ed901: Waiting [2023-09-20T05:01:24.454Z] feaf6a47b606: Waiting [2023-09-20T05:01:24.454Z] 5e8b037d7d82: Waiting [2023-09-20T05:01:24.454Z] 8ac70367396e: Waiting [2023-09-20T05:01:24.454Z] 6db16350a2e2: Waiting [2023-09-20T05:01:24.454Z] 9250d5d63582: Waiting [2023-09-20T05:01:24.714Z] c4d48a809fc2: Download complete [2023-09-20T05:01:24.715Z] ad3a456e5733: Download complete [2023-09-20T05:01:24.715Z] 9e4f439ed901: Verifying Checksum [2023-09-20T05:01:24.715Z] 9e4f439ed901: Download complete [2023-09-20T05:01:24.715Z] 7264a8db6415: Verifying Checksum [2023-09-20T05:01:24.715Z] 7264a8db6415: Download complete [2023-09-20T05:01:24.715Z] feaf6a47b606: Verifying Checksum [2023-09-20T05:01:24.715Z] feaf6a47b606: Download complete [2023-09-20T05:01:24.715Z] 7264a8db6415: Pull complete [2023-09-20T05:01:24.975Z] c4d48a809fc2: Pull complete [2023-09-20T05:01:24.975Z] 8ac70367396e: Verifying Checksum [2023-09-20T05:01:24.975Z] 8ac70367396e: Download complete [2023-09-20T05:01:24.975Z] 4f1c88b9dad5: Download complete [2023-09-20T05:01:25.234Z] 6db16350a2e2: Verifying Checksum [2023-09-20T05:01:25.234Z] 6db16350a2e2: Download complete [2023-09-20T05:01:25.493Z] 9250d5d63582: Verifying Checksum [2023-09-20T05:01:25.493Z] 9250d5d63582: Download complete [2023-09-20T05:01:25.493Z] 5e8b037d7d82: Verifying Checksum [2023-09-20T05:01:25.493Z] 5e8b037d7d82: Download complete [2023-09-20T05:01:28.774Z] 4f1c88b9dad5: Pull complete [2023-09-20T05:01:28.774Z] ad3a456e5733: Pull complete [2023-09-20T05:01:28.774Z] 9e4f439ed901: Pull complete [2023-09-20T05:01:28.774Z] feaf6a47b606: Pull complete [2023-09-20T05:01:31.306Z] 5e8b037d7d82: Pull complete [2023-09-20T05:01:31.306Z] 8ac70367396e: Pull complete [2023-09-20T05:01:31.870Z] 6db16350a2e2: Pull complete [2023-09-20T05:01:32.437Z] 9250d5d63582: Pull complete [2023-09-20T05:01:32.437Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-20T05:01:32.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T05:01:32.437Z] ---> fa269f55d9b9 [2023-09-20T05:01:32.438Z] Step 3/10 : ARG MAKE=make build [2023-09-20T05:01:37.605Z] Still waiting to schedule task [2023-09-20T05:01:37.606Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-20T05:01:37.733Z] ---> Running in bcc24f4a8416 [2023-09-20T05:01:37.733Z] Removing intermediate container bcc24f4a8416 [2023-09-20T05:01:37.733Z] ---> 916892f738f9 [2023-09-20T05:01:37.733Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-20T05:01:37.733Z] ---> Running in 0f6a687e79f5 [2023-09-20T05:01:37.733Z] Removing intermediate container 0f6a687e79f5 [2023-09-20T05:01:37.733Z] ---> 29025fd2117d [2023-09-20T05:01:37.733Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T05:01:37.733Z] ---> Running in de0a67dc8ce4 [2023-09-20T05:01:37.733Z] Removing intermediate container de0a67dc8ce4 [2023-09-20T05:01:37.733Z] ---> 8e6c4108ba14 [2023-09-20T05:01:37.733Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-20T05:01:37.733Z] ---> Running in d18653a86788 [2023-09-20T05:01:37.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T05:01:37.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T05:01:37.733Z] OK: 265 MiB in 56 packages [2023-09-20T05:01:38.303Z] Removing intermediate container d18653a86788 [2023-09-20T05:01:38.303Z] ---> 4883b7644a24 [2023-09-20T05:01:38.303Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T05:01:38.303Z] ---> 561dda58cf53 [2023-09-20T05:01:38.303Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:01:38.303Z] ---> Running in 473578ed8274 [2023-09-20T05:02:04.847Z] Removing intermediate container 473578ed8274 [2023-09-20T05:02:04.847Z] ---> d14b1e63c267 [2023-09-20T05:02:04.847Z] Step 9/10 : COPY . . [2023-09-20T05:02:04.847Z] ---> 6e300e85602d [2023-09-20T05:02:04.847Z] Step 10/10 : RUN ${MAKE} [2023-09-20T05:02:04.847Z] ---> Running in fff4631ae768 [2023-09-20T05:02:04.847Z] noop [2023-09-20T05:02:05.109Z] Removing intermediate container fff4631ae768 [2023-09-20T05:02:05.109Z] ---> 85aa3002741e [2023-09-20T05:02:05.109Z] Successfully built 85aa3002741e [2023-09-20T05:02:05.109Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:02:05.543Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T05:02:05.543Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:02:05.690Z] prd-ubuntu20.04-docker-8c-8g-6665 does not seem to be running inside a container [2023-09-20T05:02:05.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1516 -v /w/workspace/gexfoundry_device-sdk-go_PR-1516:/w/workspace/gexfoundry_device-sdk-go_PR-1516:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1516@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 ******** ci-base-image-x86_64 cat [2023-09-20T05:02:06.055Z] $ docker top 93636839006cc4ee5e5c39b5b15c7ca99acf68b799e47aebff988ea855905c4e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:02:06.446Z] + go version [2023-09-20T05:02:06.446Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T05:02:06.477Z] $ docker stop --time=1 93636839006cc4ee5e5c39b5b15c7ca99acf68b799e47aebff988ea855905c4e [2023-09-20T05:02:07.729Z] $ docker rm -f --volumes 93636839006cc4ee5e5c39b5b15c7ca99acf68b799e47aebff988ea855905c4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:02:08.442Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T05:02:08.442Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:02:08.596Z] prd-ubuntu20.04-docker-8c-8g-6665 does not seem to be running inside a container [2023-09-20T05:02:08.629Z] $ 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-1516 -v /w/workspace/gexfoundry_device-sdk-go_PR-1516:/w/workspace/gexfoundry_device-sdk-go_PR-1516:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1516@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 ******** ci-base-image-x86_64 cat [2023-09-20T05:02:08.953Z] $ docker top 32f62540de9e8b829ca9d2fe55b824587ec583f0f5719a1b6f80d93ebbaafbe4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:02:09.336Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1516 [Pipeline] fileExists [Pipeline] sh [2023-09-20T05:02:09.698Z] + make test [2023-09-20T05:02:09.698Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T05:02:16.262Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-20T05:02:28.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-20T05:02:28.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-20T05:02:28.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-20T05:02:28.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-20T05:02:28.453Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-20T05:02:29.386Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-20T05:02:29.386Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-20T05:02:30.317Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.056s coverage: 27.6% of statements [2023-09-20T05:02:30.317Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.041s coverage: 80.2% of statements [2023-09-20T05:02:30.317Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-20T05:02:30.575Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.053s coverage: 86.0% of statements [2023-09-20T05:02:31.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T05:02:31.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T05:02:31.512Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.068s coverage: 71.8% of statements [2023-09-20T05:02:31.512Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-20T05:02:34.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.055s coverage: 14.4% of statements [2023-09-20T05:02:34.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.729s coverage: 45.9% of statements [2023-09-20T05:02:34.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.064s coverage: 68.5% of statements [2023-09-20T05:02:34.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.114s coverage: 89.2% of statements [2023-09-20T05:02:34.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements [2023-09-20T05:02:53.525Z] GO111MODULE=on go vet ./... [2023-09-20T05:02:54.676Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T05:02:54.676Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T05:02:54.676Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T05:02:54.961Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T05:02:54.993Z] $ docker stop --time=1 32f62540de9e8b829ca9d2fe55b824587ec583f0f5719a1b6f80d93ebbaafbe4 [2023-09-20T05:02:59.498Z] $ docker rm -f --volumes 32f62540de9e8b829ca9d2fe55b824587ec583f0f5719a1b6f80d93ebbaafbe4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T05:03:00.114Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T05:03:00.209Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T05:03:00.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T05:03:01.222Z] + ls -al . [2023-09-20T05:03:01.222Z] total 304 [2023-09-20T05:03:01.222Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 05:02 . [2023-09-20T05:03:01.222Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:00 .. [2023-09-20T05:03:01.222Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 05:00 .dockerignore [2023-09-20T05:03:01.222Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 05:02 .git [2023-09-20T05:03:01.222Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:00 .github [2023-09-20T05:03:01.222Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 05:00 .gitignore [2023-09-20T05:03:01.222Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 05:00 .golangci.yml [2023-09-20T05:03:01.222Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 05:01 .semver [2023-09-20T05:03:01.222Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 05:00 CHANGELOG.md [2023-09-20T05:03:01.222Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 05:00 GOVERNANCE.md [2023-09-20T05:03:01.222Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 05:00 Jenkinsfile [2023-09-20T05:03:01.222Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 05:00 LICENSE [2023-09-20T05:03:01.222Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 05:00 Makefile [2023-09-20T05:03:01.222Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 05:00 OWNERS.md [2023-09-20T05:03:01.223Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 05:00 README.md [2023-09-20T05:03:01.223Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 05:01 VERSION [2023-09-20T05:03:01.223Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:00 bin [2023-09-20T05:03:01.223Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 05:02 coverage.out [2023-09-20T05:03:01.223Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 05:00 example [2023-09-20T05:03:01.223Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 05:00 go.mod [2023-09-20T05:03:01.223Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 05:00 go.sum [2023-09-20T05:03:01.223Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:01 internal [2023-09-20T05:03:01.223Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:01 openapi [2023-09-20T05:03:01.223Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 05:01 pkg [2023-09-20T05:03:01.223Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:01 snap [2023-09-20T05:03:01.223Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:03:01.621Z] + 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=5664430382a222b1d0a4229f45ede87c04fd0766 --label arch=amd64 --label version=0.0.0 . [2023-09-20T05:03:01.621Z] Sending build context to Docker daemon 11.29MB [2023-09-20T05:03:01.621Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:03:01.621Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-20T05:03:01.621Z] ---> 85aa3002741e [2023-09-20T05:03:01.621Z] Step 3/23 : ARG MAKE=make build [2023-09-20T05:03:01.879Z] ---> Running in 7fdc14802ebc [2023-09-20T05:03:02.025Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6666 in /w/workspace/gexfoundry_device-sdk-go_PR-1516 [Pipeline] { [Pipeline] ws [2023-09-20T05:03:02.083Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2023-09-20T05:03:02.140Z] Removing intermediate container 7fdc14802ebc [2023-09-20T05:03:02.140Z] ---> fcdc07b5b80d [2023-09-20T05:03:02.140Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-20T05:03:02.140Z] ---> Running in 0cf15e38c46e [2023-09-20T05:03:02.140Z] Removing intermediate container 0cf15e38c46e [2023-09-20T05:03:02.140Z] ---> f38a72702700 [2023-09-20T05:03:02.140Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T05:03:02.140Z] ---> Running in d5394bc33be4 [2023-09-20T05:03:02.140Z] Removing intermediate container d5394bc33be4 [2023-09-20T05:03:02.140Z] ---> 45410b7e2755 [2023-09-20T05:03:02.140Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-20T05:03:02.140Z] ---> Running in dc6255a4303d [Pipeline] checkout [2023-09-20T05:03:02.171Z] The recommended git tool is: git [2023-09-20T05:03:02.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T05:03:02.656Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T05:03:02.915Z] OK: 265 MiB in 56 packages [2023-09-20T05:03:03.481Z] Removing intermediate container dc6255a4303d [2023-09-20T05:03:03.481Z] ---> f9720a55a8cb [2023-09-20T05:03:03.481Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-20T05:03:03.481Z] ---> c540b8b90940 [2023-09-20T05:03:03.481Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:03:03.481Z] ---> Running in 71102c882b7d [2023-09-20T05:03:04.050Z] Removing intermediate container 71102c882b7d [2023-09-20T05:03:04.050Z] ---> 57bf71657178 [2023-09-20T05:03:04.050Z] Step 9/23 : COPY . . [2023-09-20T05:03:04.616Z] ---> d7946d6026ab [2023-09-20T05:03:04.616Z] Step 10/23 : RUN ${MAKE} [2023-09-20T05:03:04.616Z] ---> Running in 09e9831e25a0 [2023-09-20T05:03:04.874Z] 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-09-20T05:03:06.841Z] using credential edgex-jenkins-ssh [2023-09-20T05:03:06.856Z] Cloning the remote Git repository [2023-09-20T05:03:06.895Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T05:03:06.984Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-09-20T05:03:07.139Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T05:03:07.140Z] > git --version # timeout=10 [2023-09-20T05:03:07.159Z] > git --version # 'git version 2.25.1' [2023-09-20T05:03:07.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T05:03:07.296Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T05:03:08.833Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-20T05:03:08.856Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T05:03:10.187Z] Merging remotes/origin/main commit 26847311c5e80852903f42d5f4b76f1d4cba51bb into PR head commit 5664430382a222b1d0a4229f45ede87c04fd0766 [2023-09-20T05:03:10.490Z] Merge succeeded, producing 5664430382a222b1d0a4229f45ede87c04fd0766 [2023-09-20T05:03:10.490Z] Checking out Revision 5664430382a222b1d0a4229f45ede87c04fd0766 (PR-1516) [2023-09-20T05:03:09.647Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-20T05:03:09.687Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-20T05:03:09.688Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T05:03:09.705Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1516/head:refs/remotes/origin/PR-1516 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-20T05:03:10.206Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T05:03:10.284Z] > git checkout -f 5664430382a222b1d0a4229f45ede87c04fd0766 # timeout=10 [2023-09-20T05:03:10.388Z] > git remote # timeout=10 [2023-09-20T05:03:10.406Z] > git config --get remote.origin.url # timeout=10 [2023-09-20T05:03:10.431Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T05:03:10.444Z] > git merge 26847311c5e80852903f42d5f4b76f1d4cba51bb # timeout=10 [2023-09-20T05:03:10.471Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-20T05:03:10.496Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T05:03:10.509Z] > git checkout -f 5664430382a222b1d0a4229f45ede87c04fd0766 # timeout=10 [2023-09-20T05:03:10.973Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-09-20T05:03:11.018Z] > git --version # timeout=10 [2023-09-20T05:03:11.028Z] > git --version # 'git version 2.25.1' [2023-09-20T05:03:11.037Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T05:03:12.263Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T05:03:12.263Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T05:03:12.263Z] Dload Upload Total Spent Left Speed [2023-09-20T05:03:12.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-09-20T05:03:12.814Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T05:03:13.161Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T05:03:13.161Z] + sudo tee /etc/docker/daemon.new [2023-09-20T05:03:13.161Z] { [2023-09-20T05:03:13.161Z] "registry-mirrors": [ [2023-09-20T05:03:13.161Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T05:03:13.161Z] ], [2023-09-20T05:03:13.161Z] "bip": "10.250.0.254/24", [2023-09-20T05:03:13.161Z] "hosts": [ [2023-09-20T05:03:13.161Z] "tcp://0.0.0.0:5555", [2023-09-20T05:03:13.161Z] "unix:///var/run/docker.sock" [2023-09-20T05:03:13.161Z] ], [2023-09-20T05:03:13.161Z] "mtu": 1458, [2023-09-20T05:03:13.161Z] "selinux-enabled": true, [2023-09-20T05:03:13.161Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T05:03:13.161Z] } [Pipeline] sh [2023-09-20T05:03:13.506Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T05:03:13.847Z] + sudo service docker restart [2023-09-20T05:03:24.819Z] Removing intermediate container 09e9831e25a0 [2023-09-20T05:03:24.819Z] ---> 9dc98183fd9f [2023-09-20T05:03:24.819Z] Step 11/23 : FROM alpine:3.18 [2023-09-20T05:03:24.819Z] 3.18: Pulling from library/alpine [2023-09-20T05:03:24.819Z] 7264a8db6415: Already exists [2023-09-20T05:03:24.819Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T05:03:24.819Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T05:03:24.819Z] ---> 7e01a0d0a1dc [2023-09-20T05:03:24.819Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-20T05:03:24.819Z] ---> Running in ba777bde059c [2023-09-20T05:03:24.819Z] Removing intermediate container ba777bde059c [2023-09-20T05:03:24.819Z] ---> 606843aaee9c [2023-09-20T05:03:24.819Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-20T05:03:24.819Z] ---> Running in e52bde02e461 [2023-09-20T05:03:24.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T05:03:24.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T05:03:24.819Z] OK: 7 MiB in 15 packages [2023-09-20T05:03:24.819Z] Removing intermediate container e52bde02e461 [2023-09-20T05:03:24.819Z] ---> 5bbf8fff5692 [2023-09-20T05:03:24.819Z] Step 14/23 : WORKDIR / [2023-09-20T05:03:24.819Z] ---> Running in a2c421be3510 [2023-09-20T05:03:24.819Z] Removing intermediate container a2c421be3510 [2023-09-20T05:03:24.819Z] ---> 47885f0c367f [2023-09-20T05:03:24.819Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-20T05:03:24.819Z] ---> 0c429e83fc89 [2023-09-20T05:03:24.819Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-20T05:03:24.819Z] ---> c9d2c26c19a2 [2023-09-20T05:03:24.819Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-20T05:03:24.819Z] ---> 1275bac64bd3 [2023-09-20T05:03:24.819Z] Step 18/23 : EXPOSE 59999 [2023-09-20T05:03:24.819Z] ---> Running in 668bd854b31a [2023-09-20T05:03:24.819Z] Removing intermediate container 668bd854b31a [2023-09-20T05:03:24.819Z] ---> 681930bbcb72 [2023-09-20T05:03:24.819Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-20T05:03:24.819Z] ---> Running in 63a72d60a272 [2023-09-20T05:03:25.077Z] Removing intermediate container 63a72d60a272 [2023-09-20T05:03:25.077Z] ---> 8fffaa295b91 [2023-09-20T05:03:25.077Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T05:03:25.077Z] ---> Running in 0baa8bc94d55 [2023-09-20T05:03:25.077Z] Removing intermediate container 0baa8bc94d55 [2023-09-20T05:03:25.077Z] ---> 04afbe7cb136 [2023-09-20T05:03:25.077Z] Step 21/23 : LABEL arch=amd64 [2023-09-20T05:03:25.077Z] ---> Running in c23d481de480 [2023-09-20T05:03:25.077Z] Removing intermediate container c23d481de480 [2023-09-20T05:03:25.077Z] ---> cbd905d02888 [2023-09-20T05:03:25.077Z] Step 22/23 : LABEL git_sha=5664430382a222b1d0a4229f45ede87c04fd0766 [2023-09-20T05:03:25.077Z] ---> Running in 2f034181e282 [2023-09-20T05:03:25.336Z] Removing intermediate container 2f034181e282 [2023-09-20T05:03:25.336Z] ---> 57fdcf9cc20c [2023-09-20T05:03:25.336Z] Step 23/23 : LABEL version=0.0.0 [2023-09-20T05:03:25.336Z] ---> Running in 77766d467362 [2023-09-20T05:03:25.336Z] Removing intermediate container 77766d467362 [2023-09-20T05:03:25.336Z] ---> e99d73ad0550 [2023-09-20T05:03:25.336Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T05:03:25.336Z] Successfully built e99d73ad0550 [2023-09-20T05:03:25.336Z] 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-09-20T05:03:26.199Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:03:26.199Z] [2023-09-20T05:03:26.199Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:03:26.577Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:03:26.577Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T05:03:26.577Z] 5eb5b503b376: Pulling fs layer [2023-09-20T05:03:26.577Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T05:03:26.577Z] ec43610c2a17: Pulling fs layer [2023-09-20T05:03:26.577Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T05:03:26.577Z] 33b1e0a273af: Pulling fs layer [2023-09-20T05:03:26.577Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T05:03:26.577Z] 2f39f015ded8: Pulling fs layer [2023-09-20T05:03:26.577Z] 33b1e0a273af: Waiting [2023-09-20T05:03:26.577Z] 5d3b04190fa2: Waiting [2023-09-20T05:03:26.577Z] 3a2ae6a8a46f: Waiting [2023-09-20T05:03:26.577Z] 2f39f015ded8: Waiting [2023-09-20T05:03:26.577Z] 5c69ac0246d0: Verifying Checksum [2023-09-20T05:03:26.577Z] 5c69ac0246d0: Download complete [2023-09-20T05:03:26.577Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T05:03:26.577Z] 3a2ae6a8a46f: Download complete [2023-09-20T05:03:26.577Z] 33b1e0a273af: Verifying Checksum [2023-09-20T05:03:26.577Z] 33b1e0a273af: Download complete [2023-09-20T05:03:26.577Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T05:03:26.577Z] 5d3b04190fa2: Download complete [2023-09-20T05:03:26.577Z] ec43610c2a17: Verifying Checksum [2023-09-20T05:03:26.577Z] ec43610c2a17: Download complete [2023-09-20T05:03:26.836Z] 5eb5b503b376: Verifying Checksum [2023-09-20T05:03:26.836Z] 5eb5b503b376: Download complete [2023-09-20T05:03:27.401Z] 2f39f015ded8: Download complete [2023-09-20T05:03:27.967Z] 5eb5b503b376: Pull complete [2023-09-20T05:03:27.967Z] 5c69ac0246d0: Pull complete [2023-09-20T05:03:28.533Z] ec43610c2a17: Pull complete [2023-09-20T05:03:28.533Z] 3a2ae6a8a46f: Pull complete [2023-09-20T05:03:28.533Z] 33b1e0a273af: Pull complete [2023-09-20T05:03:28.793Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T05:03:32.152Z] provisioning config files... [2023-09-20T05:03:32.177Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9893229665330144581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:03:32.570Z] ---> docker-login.sh [2023-09-20T05:03:32.570Z] nexus3.edgexfoundry.org:10001 [2023-09-20T05:03:32.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:03:32.975Z] 2f39f015ded8: Pull complete [2023-09-20T05:03:32.975Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T05:03:32.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:03:32.975Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-09-20T05:03:33.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:03:33.111Z] Configure a credential helper to remove this warning. See [2023-09-20T05:03:33.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:03:33.111Z] [2023-09-20T05:03:33.111Z] Login Succeeded [2023-09-20T05:03:33.111Z] nexus3.edgexfoundry.org:10002 [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:03:33.226Z] prd-ubuntu20.04-docker-8c-8g-6665 does not seem to be running inside a container [2023-09-20T05:03:33.259Z] $ 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-1516 -v /w/workspace/gexfoundry_device-sdk-go_PR-1516:/w/workspace/gexfoundry_device-sdk-go_PR-1516:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-20T05:03:33.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:03:33.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:03:33.381Z] Configure a credential helper to remove this warning. See [2023-09-20T05:03:33.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:03:33.381Z] [2023-09-20T05:03:33.381Z] Login Succeeded [2023-09-20T05:03:33.381Z] nexus3.edgexfoundry.org:10003 [2023-09-20T05:03:33.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:03:33.929Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:03:33.929Z] Configure a credential helper to remove this warning. See [2023-09-20T05:03:33.929Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:03:33.929Z] [2023-09-20T05:03:33.929Z] Login Succeeded [2023-09-20T05:03:33.929Z] nexus3.edgexfoundry.org:10004 [2023-09-20T05:03:34.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:03:34.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:03:34.201Z] Configure a credential helper to remove this warning. See [2023-09-20T05:03:34.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:03:34.201Z] [2023-09-20T05:03:34.201Z] Login Succeeded [2023-09-20T05:03:34.201Z] docker.io [2023-09-20T05:03:34.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T05:03:34.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T05:03:34.735Z] Configure a credential helper to remove this warning. See [2023-09-20T05:03:34.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T05:03:34.735Z] [2023-09-20T05:03:34.735Z] Login Succeeded [2023-09-20T05:03:34.735Z] ---> docker-login.sh ends [2023-09-20T05:03:36.645Z] $ docker top 89f8cd69b19bbf0813881b4b67098dfb9240ae37e0d43e194733fa6f217c2397 -eo pid,comm [Pipeline] { [Pipeline] } [2023-09-20T05:03:36.878Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-09-20T05:03:37.266Z] ---> job-cost.sh [2023-09-20T05:03:37.267Z] lf-activate-venv: SKIPPING [2023-09-20T05:03:37.267Z] INFO: No Stack... [Pipeline] echo [2023-09-20T05:03:37.323Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:03:37.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T05:03:37.390Z] ========================================================= [2023-09-20T05:03:37.390Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T05:03:37.390Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [2023-09-20T05:03:37.526Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:03:37.785Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T05:03:37.919Z] + 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-09-20T05:03:38.099Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1516/archives/cost.csv [2023-09-20T05:03:38.099Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T05:03:38.139Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1516-1-stack-cost] [2023-09-20T05:03:38.144Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1516-1-stack-cost] did not exist. Created. [2023-09-20T05:03:38.145Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1516-1-stack-cost] [Pipeline] { [2023-09-20T05:03:38.186Z] Sending build context to Docker daemon 5.967MB [2023-09-20T05:03:38.186Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:03:38.186Z] Step 2/10 : FROM ${BASE} AS builder [Pipeline] unstash [Pipeline] sh [2023-09-20T05:03:38.560Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T05:03:38.614Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T05:03:38.643Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1516-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T05:03:38.732Z] $ docker stop --time=1 89f8cd69b19bbf0813881b4b67098dfb9240ae37e0d43e194733fa6f217c2397 [2023-09-20T05:03:39.885Z] $ docker rm -f --volumes 89f8cd69b19bbf0813881b4b67098dfb9240ae37e0d43e194733fa6f217c2397 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T05:03:40.766Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T05:03:40.767Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T05:03:40.767Z] 5d54e960e981: Pulling fs layer [2023-09-20T05:03:40.767Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T05:03:40.767Z] f0e02332f6b5: Pulling fs layer [2023-09-20T05:03:40.767Z] 66412af1f25a: Pulling fs layer [2023-09-20T05:03:40.767Z] 1baf3a5c0e64: Pulling fs layer [2023-09-20T05:03:40.767Z] 9a37bb91b891: Pulling fs layer [2023-09-20T05:03:40.767Z] a29adfc67d43: Pulling fs layer [2023-09-20T05:03:40.767Z] d5de9f91c1a4: Pulling fs layer [2023-09-20T05:03:40.767Z] 1baf3a5c0e64: Waiting [2023-09-20T05:03:40.767Z] 9a37bb91b891: Waiting [2023-09-20T05:03:40.767Z] a29adfc67d43: Waiting [2023-09-20T05:03:40.767Z] d5de9f91c1a4: Waiting [2023-09-20T05:03:40.767Z] f0e02332f6b5: Waiting [2023-09-20T05:03:40.767Z] 5d54e960e981: Download complete [2023-09-20T05:03:40.767Z] f0e02332f6b5: Verifying Checksum [2023-09-20T05:03:40.767Z] f0e02332f6b5: Download complete [2023-09-20T05:03:40.767Z] 66412af1f25a: Verifying Checksum [2023-09-20T05:03:40.767Z] 66412af1f25a: Download complete [2023-09-20T05:03:40.767Z] 9fda8d8052c6: Verifying Checksum [2023-09-20T05:03:40.767Z] 9fda8d8052c6: Download complete [2023-09-20T05:03:41.036Z] 9a37bb91b891: Verifying Checksum [2023-09-20T05:03:41.036Z] 9a37bb91b891: Download complete [2023-09-20T05:03:41.646Z] 9fda8d8052c6: Pull complete [2023-09-20T05:03:41.646Z] a29adfc67d43: Verifying Checksum [2023-09-20T05:03:41.646Z] a29adfc67d43: Download complete [2023-09-20T05:03:42.301Z] 5d54e960e981: Pull complete [2023-09-20T05:03:42.301Z] d5de9f91c1a4: Verifying Checksum [2023-09-20T05:03:42.301Z] d5de9f91c1a4: Download complete [2023-09-20T05:03:42.301Z] c4a7e357bf2a: Verifying Checksum [2023-09-20T05:03:42.301Z] c4a7e357bf2a: Download complete [2023-09-20T05:03:43.307Z] 1baf3a5c0e64: Download complete [2023-09-20T05:03:55.639Z] c4a7e357bf2a: Pull complete [2023-09-20T05:03:55.639Z] f0e02332f6b5: Pull complete [2023-09-20T05:03:55.639Z] 66412af1f25a: Pull complete [2023-09-20T05:04:02.314Z] 1baf3a5c0e64: Pull complete [2023-09-20T05:04:03.295Z] 9a37bb91b891: Pull complete [2023-09-20T05:04:04.270Z] a29adfc67d43: Pull complete [2023-09-20T05:04:05.677Z] d5de9f91c1a4: Pull complete [2023-09-20T05:04:05.677Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-20T05:04:05.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T05:04:05.677Z] ---> 746ca1b523b5 [2023-09-20T05:04:05.677Z] Step 3/10 : ARG MAKE=make build [2023-09-20T05:04:07.617Z] ---> Running in 0b3e54aee059 [2023-09-20T05:04:07.884Z] Removing intermediate container 0b3e54aee059 [2023-09-20T05:04:07.884Z] ---> 3b16ba9e656a [2023-09-20T05:04:07.884Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-20T05:04:07.884Z] ---> Running in 337b6f148c62 [2023-09-20T05:04:08.160Z] Removing intermediate container 337b6f148c62 [2023-09-20T05:04:08.160Z] ---> 1a8f6fe1427e [2023-09-20T05:04:08.160Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T05:04:08.160Z] ---> Running in 5816c329e1c8 [2023-09-20T05:04:08.430Z] Removing intermediate container 5816c329e1c8 [2023-09-20T05:04:08.430Z] ---> 46db9fff086d [2023-09-20T05:04:08.430Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-20T05:04:08.702Z] ---> Running in 378fb0fd771a [2023-09-20T05:04:09.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T05:04:10.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T05:04:11.198Z] OK: 267 MiB in 56 packages [2023-09-20T05:04:12.165Z] Removing intermediate container 378fb0fd771a [2023-09-20T05:04:12.165Z] ---> 7bb99c96bb7b [2023-09-20T05:04:12.165Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-20T05:04:12.435Z] ---> 66f2682177c4 [2023-09-20T05:04:12.435Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:04:12.435Z] ---> Running in 1823a3fb02da [2023-09-20T05:05:20.437Z] Removing intermediate container 1823a3fb02da [2023-09-20T05:05:20.437Z] ---> d8d9e41eb0f7 [2023-09-20T05:05:20.437Z] Step 9/10 : COPY . . [2023-09-20T05:05:20.437Z] ---> fe4e4204f3fb [2023-09-20T05:05:20.437Z] Step 10/10 : RUN ${MAKE} [2023-09-20T05:05:20.437Z] ---> Running in 2fd9478aeaa4 [2023-09-20T05:05:20.437Z] noop [2023-09-20T05:05:20.437Z] Removing intermediate container 2fd9478aeaa4 [2023-09-20T05:05:20.437Z] ---> 69540f9e154f [2023-09-20T05:05:20.437Z] Successfully built 69540f9e154f [2023-09-20T05:05:20.437Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:05:20.908Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T05:05:20.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:05:21.177Z] prd-ubuntu20.04-docker-arm64-4c-16g-6666 does not seem to be running inside a container [2023-09-20T05:05:21.239Z] $ 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 ******** ci-base-image-arm64 cat [2023-09-20T05:05:22.367Z] $ docker top 515ecb9f6e45acfde25c42099dbd1252c73d4dff53ae197523f8247c1c1406e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:05:23.221Z] + go version [2023-09-20T05:05:23.221Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T05:05:23.262Z] $ docker stop --time=1 515ecb9f6e45acfde25c42099dbd1252c73d4dff53ae197523f8247c1c1406e4 [2023-09-20T05:05:24.863Z] $ docker rm -f --volumes 515ecb9f6e45acfde25c42099dbd1252c73d4dff53ae197523f8247c1c1406e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:05:25.721Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T05:05:25.721Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:05:25.968Z] prd-ubuntu20.04-docker-arm64-4c-16g-6666 does not seem to be running inside a container [2023-09-20T05:05:26.031Z] $ 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 ******** ci-base-image-arm64 cat [2023-09-20T05:05:28.066Z] $ docker top 63e1f83328feccdabf9d1ee9475522d10c36c93db4f521eaa1a931c2f1d5eaff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:05:28.615Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-20T05:05:29.263Z] + make test [2023-09-20T05:05:29.263Z] go test -race -coverprofile=coverage.out ./... [2023-09-20T05:06:01.505Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-20T05:07:38.115Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-20T05:07:38.115Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-20T05:07:38.115Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-20T05:07:38.116Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-20T05:07:38.116Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-20T05:07:38.116Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.194s coverage: 27.6% of statements [2023-09-20T05:07:43.444Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.291s coverage: 80.2% of statements [2023-09-20T05:07:53.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-20T05:07:53.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-20T05:07:54.468Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.339s coverage: 86.0% of statements [2023-09-20T05:08:01.128Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-20T05:08:01.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.358s coverage: 71.8% of statements [2023-09-20T05:08:05.059Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.291s coverage: 14.4% of statements [2023-09-20T05:08:05.059Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.851s coverage: 45.6% of statements [2023-09-20T05:08:05.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-20T05:08:05.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-20T05:08:06.726Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.415s coverage: 68.5% of statements [2023-09-20T05:08:09.294Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.443s coverage: 89.2% of statements [2023-09-20T05:08:10.266Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-20T05:08:11.218Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.217s coverage: 5.5% of statements [2023-09-20T05:08:12.173Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T05:08:12.173Z] GO111MODULE=on go vet ./... [2023-09-20T05:10:04.575Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T05:10:04.575Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T05:10:04.575Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T05:10:04.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T05:10:04.645Z] $ docker stop --time=1 63e1f83328feccdabf9d1ee9475522d10c36c93db4f521eaa1a931c2f1d5eaff [2023-09-20T05:10:07.627Z] $ docker rm -f --volumes 63e1f83328feccdabf9d1ee9475522d10c36c93db4f521eaa1a931c2f1d5eaff [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T05:10:09.200Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T05:10:09.233Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T05:10:09.824Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T05:10:10.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T05:10:10.721Z] + ls -al . [2023-09-20T05:10:10.721Z] total 300 [2023-09-20T05:10:10.721Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 05:05 . [2023-09-20T05:10:10.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:03 .. [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 05:03 .dockerignore [2023-09-20T05:10:10.721Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 05:03 .git [2023-09-20T05:10:10.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:03 .github [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 05:03 .gitignore [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 05:03 .golangci.yml [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 05:03 CHANGELOG.md [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 05:03 GOVERNANCE.md [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 05:03 Jenkinsfile [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 05:03 LICENSE [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 05:03 Makefile [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 05:03 OWNERS.md [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 05:03 README.md [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 05:01 VERSION [2023-09-20T05:10:10.721Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 05:03 bin [2023-09-20T05:10:10.721Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 05:08 coverage.out [2023-09-20T05:10:10.721Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 05:03 example [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 05:03 go.mod [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 05:03 go.sum [2023-09-20T05:10:10.721Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:03 internal [2023-09-20T05:10:10.721Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 05:03 openapi [2023-09-20T05:10:10.721Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 05:03 pkg [2023-09-20T05:10:10.721Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 05:03 snap [2023-09-20T05:10:10.721Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:10:11.128Z] + 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=5664430382a222b1d0a4229f45ede87c04fd0766 --label arch=arm64 --label version=0.0.0 . [2023-09-20T05:10:11.395Z] Sending build context to Docker daemon 6.089MB [2023-09-20T05:10:11.395Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T05:10:11.395Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-20T05:10:11.395Z] ---> 69540f9e154f [2023-09-20T05:10:11.395Z] Step 3/23 : ARG MAKE=make build [2023-09-20T05:10:11.666Z] ---> Running in b92473801bf5 [2023-09-20T05:10:11.932Z] Removing intermediate container b92473801bf5 [2023-09-20T05:10:11.932Z] ---> 78414902959f [2023-09-20T05:10:11.932Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-20T05:10:11.932Z] ---> Running in 8a0b3b29a14e [2023-09-20T05:10:12.200Z] Removing intermediate container 8a0b3b29a14e [2023-09-20T05:10:12.200Z] ---> d0a3bde95137 [2023-09-20T05:10:12.200Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-20T05:10:12.468Z] ---> Running in 8e7175070b16 [2023-09-20T05:10:12.734Z] Removing intermediate container 8e7175070b16 [2023-09-20T05:10:12.734Z] ---> 53a3a88ed2a0 [2023-09-20T05:10:12.734Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-20T05:10:12.734Z] ---> Running in 20aa9e466fe0 [2023-09-20T05:10:13.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T05:10:13.956Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T05:10:14.912Z] OK: 267 MiB in 56 packages [2023-09-20T05:10:15.877Z] Removing intermediate container 20aa9e466fe0 [2023-09-20T05:10:15.877Z] ---> f0f4ff9cc996 [2023-09-20T05:10:15.877Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-20T05:10:16.146Z] ---> cb9eff6e201d [2023-09-20T05:10:16.146Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T05:10:16.415Z] ---> Running in 8d6d527914be [2023-09-20T05:10:19.807Z] Removing intermediate container 8d6d527914be [2023-09-20T05:10:19.807Z] ---> 4a5ce0424f1a [2023-09-20T05:10:19.807Z] Step 9/23 : COPY . . [2023-09-20T05:10:20.767Z] ---> 326c29cdb0a5 [2023-09-20T05:10:20.767Z] Step 10/23 : RUN ${MAKE} [2023-09-20T05:10:20.767Z] ---> Running in 8ab82869cbb0 [2023-09-20T05:10:21.730Z] 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-09-20T05:12:13.364Z] Removing intermediate container 8ab82869cbb0 [2023-09-20T05:12:13.364Z] ---> 8ec738632b28 [2023-09-20T05:12:13.364Z] Step 11/23 : FROM alpine:3.18 [2023-09-20T05:12:13.364Z] 3.18: Pulling from library/alpine [2023-09-20T05:12:13.364Z] 9fda8d8052c6: Already exists [2023-09-20T05:12:13.364Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T05:12:13.364Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T05:12:13.364Z] ---> f6648c04cd6c [2023-09-20T05:12:13.364Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-20T05:12:13.364Z] ---> Running in e5f0a50e1b65 [2023-09-20T05:12:13.364Z] Removing intermediate container e5f0a50e1b65 [2023-09-20T05:12:13.364Z] ---> 553f3ea1524c [2023-09-20T05:12:13.364Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-20T05:12:13.364Z] ---> Running in 1b212bcb5b26 [2023-09-20T05:12:13.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T05:12:13.364Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T05:12:13.364Z] OK: 8 MiB in 15 packages [2023-09-20T05:12:13.364Z] Removing intermediate container 1b212bcb5b26 [2023-09-20T05:12:13.364Z] ---> ba1574f8ec26 [2023-09-20T05:12:13.364Z] Step 14/23 : WORKDIR / [2023-09-20T05:12:13.364Z] ---> Running in 296c5f4bf52c [2023-09-20T05:12:13.364Z] Removing intermediate container 296c5f4bf52c [2023-09-20T05:12:13.364Z] ---> 06cb04ba21ee [2023-09-20T05:12:13.364Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-20T05:12:13.364Z] ---> 8b95a9cff797 [2023-09-20T05:12:13.364Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-20T05:12:13.364Z] ---> 2c7160ac455d [2023-09-20T05:12:13.364Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-20T05:12:13.364Z] ---> 0c822a7b0c7e [2023-09-20T05:12:13.364Z] Step 18/23 : EXPOSE 59999 [2023-09-20T05:12:13.364Z] ---> Running in 7082fa793e7f [2023-09-20T05:12:13.364Z] Removing intermediate container 7082fa793e7f [2023-09-20T05:12:13.364Z] ---> e901b4ba00d0 [2023-09-20T05:12:13.364Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-20T05:12:13.364Z] ---> Running in 4ec4c80ff047 [2023-09-20T05:12:13.364Z] Removing intermediate container 4ec4c80ff047 [2023-09-20T05:12:13.364Z] ---> fb8762b56c54 [2023-09-20T05:12:13.364Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T05:12:13.364Z] ---> Running in ac9d92d0dcbf [2023-09-20T05:12:13.364Z] Removing intermediate container ac9d92d0dcbf [2023-09-20T05:12:13.364Z] ---> 893bde391de9 [2023-09-20T05:12:13.364Z] Step 21/23 : LABEL arch=arm64 [2023-09-20T05:12:13.364Z] ---> Running in 029064cad0f0 [2023-09-20T05:12:13.364Z] Removing intermediate container 029064cad0f0 [2023-09-20T05:12:13.364Z] ---> 76c092d1659f [2023-09-20T05:12:13.364Z] Step 22/23 : LABEL git_sha=5664430382a222b1d0a4229f45ede87c04fd0766 [2023-09-20T05:12:13.364Z] ---> Running in be07bb68a20e [2023-09-20T05:12:13.364Z] Removing intermediate container be07bb68a20e [2023-09-20T05:12:13.364Z] ---> 603819fecad9 [2023-09-20T05:12:13.364Z] Step 23/23 : LABEL version=0.0.0 [2023-09-20T05:12:13.364Z] ---> Running in 25ff2d41bed3 [2023-09-20T05:12:13.364Z] Removing intermediate container 25ff2d41bed3 [2023-09-20T05:12:13.364Z] ---> 1ff94f826ae9 [2023-09-20T05:12:13.364Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T05:12:13.364Z] Successfully built 1ff94f826ae9 [2023-09-20T05:12:13.364Z] 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-09-20T05:12:14.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T05:12:14.166Z] [2023-09-20T05:12:14.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:12:14.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T05:12:14.562Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T05:12:14.562Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T05:12:14.562Z] 04944245beec: Pulling fs layer [2023-09-20T05:12:14.562Z] 699f458cf7ca: Pulling fs layer [2023-09-20T05:12:14.562Z] 765212b225bb: Pulling fs layer [2023-09-20T05:12:14.562Z] f23df028b6ca: Pulling fs layer [2023-09-20T05:12:14.562Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T05:12:14.562Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T05:12:14.562Z] f23df028b6ca: Waiting [2023-09-20T05:12:14.562Z] 765212b225bb: Waiting [2023-09-20T05:12:14.562Z] 2437ff75d9bd: Waiting [2023-09-20T05:12:14.830Z] 04944245beec: Verifying Checksum [2023-09-20T05:12:14.830Z] 04944245beec: Download complete [2023-09-20T05:12:14.830Z] 765212b225bb: Download complete [2023-09-20T05:12:14.830Z] f23df028b6ca: Verifying Checksum [2023-09-20T05:12:14.830Z] f23df028b6ca: Download complete [2023-09-20T05:12:14.830Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T05:12:14.830Z] d65c8cfc05b1: Download complete [2023-09-20T05:12:14.830Z] 699f458cf7ca: Verifying Checksum [2023-09-20T05:12:14.830Z] 699f458cf7ca: Download complete [2023-09-20T05:12:15.411Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T05:12:15.411Z] 8998bd30e6a1: Download complete [2023-09-20T05:12:17.991Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T05:12:17.991Z] 2437ff75d9bd: Download complete [2023-09-20T05:12:19.397Z] 8998bd30e6a1: Pull complete [2023-09-20T05:12:19.665Z] 04944245beec: Pull complete [2023-09-20T05:12:21.081Z] 699f458cf7ca: Pull complete [2023-09-20T05:12:21.081Z] 765212b225bb: Pull complete [2023-09-20T05:12:22.038Z] f23df028b6ca: Pull complete [2023-09-20T05:12:22.038Z] d65c8cfc05b1: Pull complete [2023-09-20T05:12:37.018Z] 2437ff75d9bd: Pull complete [2023-09-20T05:12:37.018Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T05:12:37.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T05:12:37.019Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:12:37.341Z] prd-ubuntu20.04-docker-arm64-4c-16g-6666 does not seem to be running inside a container [2023-09-20T05:12:37.399Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-20T05:12:39.823Z] $ docker top 6de0e084c4ec2008b483df6c15cc8c5d383f1f82ab9d5f10ecbda9a829c3b65e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:12:40.701Z] ---> job-cost.sh [2023-09-20T05:12:40.701Z] lf-activate-venv: SKIPPING [2023-09-20T05:12:40.701Z] INFO: No Stack... [2023-09-20T05:12:41.282Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T05:12:41.861Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T05:12:42.200Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-09-20T05:12:42.200Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T05:12:42.255Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1516-1-stack-cost] [2023-09-20T05:12:42.259Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1516-1-stack-cost] did not exist. Created. [2023-09-20T05:12:42.259Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1516-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T05:12:42.671Z] /w/workspace/device-sdk-go/1@tmp/durable-f6f7b2e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T05:12:43.339Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T05:12:43.374Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T05:12:43.450Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T05:12:43.463Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1516-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T05:12:43.799Z] $ docker stop --time=1 6de0e084c4ec2008b483df6c15cc8c5d383f1f82ab9d5f10ecbda9a829c3b65e [2023-09-20T05:12:45.291Z] $ docker rm -f --volumes 6de0e084c4ec2008b483df6c15cc8c5d383f1f82ab9d5f10ecbda9a829c3b65e [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-09-20T05:12:46.309Z] provisioning config files... [2023-09-20T05:12:46.320Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp/config14610315636276958474tmp [Pipeline] { [Pipeline] sh [2023-09-20T05:12:46.656Z] + set +x [2023-09-20T05:12:46.656Z] + bash -s -- [2023-09-20T05:12:46.656Z] + curl -s https://codecov.io/bash [2023-09-20T05:12:46.656Z] [2023-09-20T05:12:46.656Z] _____ _ [2023-09-20T05:12:46.656Z] / ____| | | [2023-09-20T05:12:46.656Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T05:12:46.656Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T05:12:46.656Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T05:12:46.656Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T05:12:46.656Z] Bash-1.0.6 [2023-09-20T05:12:46.656Z] [2023-09-20T05:12:46.656Z] [2023-09-20T05:12:46.656Z] ==> git version 2.25.1 found [2023-09-20T05:12:46.656Z] ==> 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-09-20T05:12:46.656Z] Release-Date: 2020-01-08 [2023-09-20T05:12:46.656Z] 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-09-20T05:12:46.656Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T05:12:46.656Z] ==> Jenkins CI detected. [2023-09-20T05:12:46.656Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1516 [2023-09-20T05:12:46.656Z] project root: . [2023-09-20T05:12:46.656Z] --> token set from env [2023-09-20T05:12:46.656Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T05:12:46.656Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T05:12:46.656Z] ==> Python coveragepy not found [2023-09-20T05:12:46.656Z] ==> Searching for coverage reports in: [2023-09-20T05:12:46.656Z] + . [2023-09-20T05:12:46.656Z] -> Found 1 reports [2023-09-20T05:12:46.656Z] ==> Detecting git/mercurial file structure [2023-09-20T05:12:46.656Z] ==> Reading reports [2023-09-20T05:12:46.916Z] + ./coverage.out bytes=121385 [2023-09-20T05:12:46.916Z] ==> Appending adjustments [2023-09-20T05:12:46.916Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T05:12:47.176Z] + Found adjustments [2023-09-20T05:12:47.176Z] ==> Gzipping contents [2023-09-20T05:12:47.176Z] 20K /tmp/codecov.ozCS9m.gz [2023-09-20T05:12:47.176Z] ==> Uploading reports [2023-09-20T05:12:47.176Z] url: https://codecov.io [2023-09-20T05:12:47.176Z] query: branch=PR-1516&commit=5664430382a222b1d0a4229f45ede87c04fd0766&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1516%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1516&job=&cmd_args= [2023-09-20T05:12:47.176Z] -> Pinging Codecov [2023-09-20T05:12:47.176Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1516&commit=5664430382a222b1d0a4229f45ede87c04fd0766&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1516%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1516&job=&cmd_args= [2023-09-20T05:12:47.176Z] -> Uploading to [2023-09-20T05:12:47.176Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7E55EF52A471D76F132DFD9A03CDDE97/5664430382a222b1d0a4229f45ede87c04fd0766/27cc23b9-2a26-4334-a0bc-4252a382a05e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T051247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cfab855757dcd4b890557ab812284f15d6ec0fdb0f0bd4925bf53379eb548ccc [2023-09-20T05:12:47.176Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T05:12:47.176Z] Dload Upload Total Spent Left Speed [2023-09-20T05:12:47.436Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16540 0 0 100 16540 0 73511 --:--:-- --:--:-- --:--:-- 73511 [2023-09-20T05:12:47.436Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5664430382a222b1d0a4229f45ede87c04fd0766 [Pipeline] } [2023-09-20T05:12:47.463Z] 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-09-20T05:12:49.266Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1516/archives ] [2023-09-20T05:12:49.266Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1516/archives [2023-09-20T05:12:49.266Z] total 16 [2023-09-20T05:12:49.266Z] drwxr-xr-x 3 root root 4096 Sep 20 05:03 . [2023-09-20T05:12:49.266Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:03 .. [2023-09-20T05:12:49.266Z] drwxr-xr-x 2 root root 4096 Sep 20 05:03 cost [2023-09-20T05:12:49.266Z] -rw-r--r-- 1 root root 86 Sep 20 05:03 cost.csv [2023-09-20T05:12:49.266Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1516/archives [2023-09-20T05:12:49.266Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1516/archives [2023-09-20T05:12:49.266Z] total 16 [2023-09-20T05:12:49.266Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 05:03 . [2023-09-20T05:12:49.266Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 05:03 .. [2023-09-20T05:12:49.266Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 05:03 cost [2023-09-20T05:12:49.266Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 20 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:12:49.594Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:12:50.479Z] ---> package-listing.sh [2023-09-20T05:12:50.479Z] ++ facter osfamily [2023-09-20T05:12:50.479Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T05:12:50.738Z] + OS_FAMILY=debian [2023-09-20T05:12:50.738Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1516 [2023-09-20T05:12:50.738Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T05:12:50.738Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T05:12:50.738Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T05:12:50.738Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T05:12:50.738Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1516 ']' [2023-09-20T05:12:50.738Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T05:12:50.738Z] + case "${OS_FAMILY}" in [2023-09-20T05:12:50.738Z] + dpkg -l [2023-09-20T05:12:50.738Z] + grep '^ii' [2023-09-20T05:12:50.738Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T05:12:50.738Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T05:12:50.738Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T05:12:50.738Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1516 ']' [2023-09-20T05:12:50.738Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1516/archives/ [2023-09-20T05:12:50.738Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1516/archives/ [Pipeline] echo [2023-09-20T05:12:50.773Z] 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-1516/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-20T05:12:51.062Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T05:12:51.690Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T05:12:51.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T05:12:51.840Z] prd-ubuntu20.04-docker-8c-8g-6665 does not seem to be running inside a container [2023-09-20T05:12:51.870Z] $ 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-1516/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-1516 -v /w/workspace/gexfoundry_device-sdk-go_PR-1516:/w/workspace/gexfoundry_device-sdk-go_PR-1516:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1516@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-lftools-log-publisher:latest cat [2023-09-20T05:12:52.024Z] $ docker top 596c77eb6a86e81bb51b8cfe6009ab285c4719783777564c589e9ce632b85962 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T05:12:52.405Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T05:12:52.717Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T05:12:53.029Z] + ls /var/log/sa-host [2023-09-20T05:12:53.030Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T05:12:53.247Z] provisioning config files... [2023-09-20T05:12:53.255Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1516@tmp/config141229801391462756tmp [Pipeline] { [Pipeline] echo [2023-09-20T05:12:53.307Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:12:53.621Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T05:12:53.651Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:12:54.037Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T05:12:54.068Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:12:54.380Z] ---> sudo-logs.sh [2023-09-20T05:12:54.380Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T05:12:54.464Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:12:54.774Z] ---> job-cost.sh [2023-09-20T05:12:54.775Z] lf-activate-venv: SKIPPING [2023-09-20T05:12:54.775Z] DEBUG: total: 0.2199999988079071 [2023-09-20T05:12:54.775Z] INFO: Retrieving Stack Cost... [2023-09-20T05:12:55.033Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T05:12:55.602Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T05:12:55.639Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T05:12:55.947Z] ---> logs-deploy.sh [2023-09-20T05:12:55.947Z] lf-activate-venv: SKIPPING [2023-09-20T05:12:55.947Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1516/1 [2023-09-20T05:12:55.947Z] INFO: archiving workspace using pattern(s): [2023-09-20T05:12:56.888Z] Archives upload complete. [2023-09-20T05:12:56.888Z] INFO: archiving logs to Nexus