Pull request #1539 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 25609c649f9c186cb9ea36c0446132d2c7203020+7730e9b2488ebe82cf8f1ec58f41fa934430b51b (4bfd89fd51bcd025940a3461aef4095da8a1f268) 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-ssh5610639098670240128.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh1476062174247114017.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-1539/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-1539/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7998619422021560943.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-1539/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5957515775418477563.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh9960010497867759431.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-1539/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-1539/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17831069898391781597.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16986 in /w/workspace/gexfoundry_device-sdk-go_PR-1539 [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-1539 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1539/head:refs/remotes/origin/PR-1539 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit 25609c649f9c186cb9ea36c0446132d2c7203020 Merge succeeded, producing 25609c649f9c186cb9ea36c0446132d2c7203020 Checking out Revision 25609c649f9c186cb9ea36c0446132d2c7203020 (PR-1539) Commit message: "build(deps): bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 > git config core.sparsecheckout # timeout=10 > git checkout -f 25609c649f9c186cb9ea36c0446132d2c7203020 # 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 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 25609c649f9c186cb9ea36c0446132d2c7203020 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-08T04:15:43.021Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-08T04:15:43.211Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-08T04:15:43.323Z] ========================================================= [2023-11-08T04:15:43.323Z] EdgeX Global Pipelines Version Info [2023-11-08T04:15:43.323Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:15:44.062Z] ------------------- [2023-11-08T04:15:44.062Z] stable info: [2023-11-08T04:15:44.062Z] ------------------- [2023-11-08T04:15:44.062Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-08T04:15:44.062Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T04:15:44.062Z] Message: update stable to v1.0.257 [2023-11-08T04:15:44.636Z] ------------------- [2023-11-08T04:15:44.636Z] experimental info: [2023-11-08T04:15:44.636Z] ------------------- [2023-11-08T04:15:44.636Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-08T04:15:44.636Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-08T04:15:44.636Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-08T04:15:44.924Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-08T04:15:44.958Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-08T04:15:44.994Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-08T04:15:45.031Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-08T04:15:45.128Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-08T04:15:45.172Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-08T04:15:45.213Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-08T04:15:45.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-08T04:15:45.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-08T04:15:45.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-08T04:15:45.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-08T04:15:45.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-08T04:15:45.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-08T04:15:45.524Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-08T04:15:45.569Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-08T04:15:45.615Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T04:15:45.656Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T04:15:45.702Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-08T04:15:45.739Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-08T04:15:45.787Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-08T04:15:45.836Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-08T04:15:45.869Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-08T04:15:45.905Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-08T04:15:45.946Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-08T04:15:45.985Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-08T04:15:46.024Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-08T04:15:46.062Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-08T04:15:46.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1539 [Pipeline] echo [2023-11-08T04:15:46.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1539 [Pipeline] echo [2023-11-08T04:15:46.187Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1539 [Pipeline] echo [2023-11-08T04:15:46.226Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 25609c649f9c186cb9ea36c0446132d2c7203020 [Pipeline] echo [2023-11-08T04:15:46.267Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 25609c6 [Pipeline] echo [2023-11-08T04:15:46.309Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T04:15:46.423Z] provisioning config files... [2023-11-08T04:15:46.437Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/config16080867161590115378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:15:46.782Z] ---> docker-login.sh [2023-11-08T04:15:46.782Z] nexus3.edgexfoundry.org:10001 [2023-11-08T04:15:47.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:15:47.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:15:47.046Z] Configure a credential helper to remove this warning. See [2023-11-08T04:15:47.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:15:47.046Z] [2023-11-08T04:15:47.046Z] Login Succeeded [2023-11-08T04:15:47.046Z] nexus3.edgexfoundry.org:10002 [2023-11-08T04:15:47.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:15:47.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:15:47.307Z] Configure a credential helper to remove this warning. See [2023-11-08T04:15:47.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:15:47.307Z] [2023-11-08T04:15:47.307Z] Login Succeeded [2023-11-08T04:15:47.307Z] nexus3.edgexfoundry.org:10003 [2023-11-08T04:15:47.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:15:47.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:15:47.307Z] Configure a credential helper to remove this warning. See [2023-11-08T04:15:47.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:15:47.307Z] [2023-11-08T04:15:47.307Z] Login Succeeded [2023-11-08T04:15:47.307Z] nexus3.edgexfoundry.org:10004 [2023-11-08T04:15:47.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:15:47.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:15:47.307Z] Configure a credential helper to remove this warning. See [2023-11-08T04:15:47.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:15:47.307Z] [2023-11-08T04:15:47.307Z] Login Succeeded [2023-11-08T04:15:47.307Z] docker.io [2023-11-08T04:15:47.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:15:47.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:15:47.829Z] Configure a credential helper to remove this warning. See [2023-11-08T04:15:47.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:15:47.829Z] [2023-11-08T04:15:47.829Z] Login Succeeded [2023-11-08T04:15:47.829Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T04:15:47.860Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-08T04:15:48.628Z] + git rev-list -1 --merges 25609c649f9c186cb9ea36c0446132d2c7203020~1..25609c649f9c186cb9ea36c0446132d2c7203020 [Pipeline] echo [2023-11-08T04:15:48.700Z] -----------> git rev-list -1 --merges 25609c649f9c186cb9ea36c0446132d2c7203020~1..25609c649f9c186cb9ea36c0446132d2c7203020 25609c649f9c186cb9ea36c0446132d2c7203020 [false] [Pipeline] sh [2023-11-08T04:15:49.021Z] + git log --format=format:%s -1 25609c649f9c186cb9ea36c0446132d2c7203020 [Pipeline] echo [2023-11-08T04:15:49.058Z] ========================================================= [2023-11-08T04:15:49.058Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-08T04:15:49.058Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T04:15:49.506Z] + git log --format=format:%s -1 25609c649f9c186cb9ea36c0446132d2c7203020 [Pipeline] echo [2023-11-08T04:15:49.540Z] [semverPrep] GIT_COMMIT: 25609c649f9c186cb9ea36c0446132d2c7203020, Commit Message: build(deps): bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3 [Pipeline] echo [2023-11-08T04:15:49.574Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-08T04:15:49.955Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-08T04:15:49.955Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-08T04:15:49.955Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-08T04:15:49.955Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-08T04:15:49.955Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-08T04:15:49.955Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-08T04:15:49.955Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:15:50.459Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T04:15:50.459Z] [2023-11-08T04:15:50.459Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:15:50.851Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T04:15:50.851Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-08T04:15:50.851Z] b85a868b505f: Pulling fs layer [2023-11-08T04:15:50.851Z] e2be974225ed: Pulling fs layer [2023-11-08T04:15:50.851Z] 339a4e72a1f5: Pulling fs layer [2023-11-08T04:15:50.851Z] 988bab9f4d93: Pulling fs layer [2023-11-08T04:15:50.851Z] 1469e6f7b9e6: Pulling fs layer [2023-11-08T04:15:50.851Z] eaf3925da568: Pulling fs layer [2023-11-08T04:15:50.851Z] bab4dde63d76: Pulling fs layer [2023-11-08T04:15:50.851Z] bde34c3a00c8: Pulling fs layer [2023-11-08T04:15:50.851Z] b352a97aabf1: Pulling fs layer [2023-11-08T04:15:50.851Z] 4872d77fe225: Pulling fs layer [2023-11-08T04:15:50.851Z] 5851b861e8e6: Pulling fs layer [2023-11-08T04:15:50.851Z] 988bab9f4d93: Waiting [2023-11-08T04:15:50.851Z] 1469e6f7b9e6: Waiting [2023-11-08T04:15:50.851Z] bde34c3a00c8: Waiting [2023-11-08T04:15:50.851Z] b352a97aabf1: Waiting [2023-11-08T04:15:50.851Z] bab4dde63d76: Waiting [2023-11-08T04:15:50.851Z] 4872d77fe225: Waiting [2023-11-08T04:15:50.851Z] 5851b861e8e6: Waiting [2023-11-08T04:15:50.851Z] eaf3925da568: Waiting [2023-11-08T04:15:50.851Z] e2be974225ed: Verifying Checksum [2023-11-08T04:15:50.851Z] e2be974225ed: Download complete [2023-11-08T04:15:50.851Z] 988bab9f4d93: Verifying Checksum [2023-11-08T04:15:50.851Z] 988bab9f4d93: Download complete [2023-11-08T04:15:50.851Z] 1469e6f7b9e6: Verifying Checksum [2023-11-08T04:15:50.851Z] 1469e6f7b9e6: Download complete [2023-11-08T04:15:50.851Z] 339a4e72a1f5: Verifying Checksum [2023-11-08T04:15:50.851Z] 339a4e72a1f5: Download complete [2023-11-08T04:15:50.851Z] eaf3925da568: Verifying Checksum [2023-11-08T04:15:50.851Z] eaf3925da568: Download complete [2023-11-08T04:15:51.113Z] bde34c3a00c8: Verifying Checksum [2023-11-08T04:15:51.113Z] bde34c3a00c8: Download complete [2023-11-08T04:15:51.113Z] b352a97aabf1: Verifying Checksum [2023-11-08T04:15:51.113Z] b352a97aabf1: Download complete [2023-11-08T04:15:51.113Z] 4872d77fe225: Download complete [2023-11-08T04:15:51.113Z] 5851b861e8e6: Download complete [2023-11-08T04:15:51.113Z] b85a868b505f: Verifying Checksum [2023-11-08T04:15:51.113Z] b85a868b505f: Download complete [2023-11-08T04:15:51.373Z] bab4dde63d76: Verifying Checksum [2023-11-08T04:15:51.374Z] bab4dde63d76: Download complete [2023-11-08T04:15:52.757Z] b85a868b505f: Pull complete [2023-11-08T04:15:52.757Z] e2be974225ed: Pull complete [2023-11-08T04:15:53.328Z] 339a4e72a1f5: Pull complete [2023-11-08T04:15:53.328Z] 988bab9f4d93: Pull complete [2023-11-08T04:15:53.587Z] 1469e6f7b9e6: Pull complete [2023-11-08T04:15:53.587Z] eaf3925da568: Pull complete [2023-11-08T04:15:55.491Z] bab4dde63d76: Pull complete [2023-11-08T04:15:55.491Z] bde34c3a00c8: Pull complete [2023-11-08T04:15:55.756Z] b352a97aabf1: Pull complete [2023-11-08T04:15:55.756Z] 4872d77fe225: Pull complete [2023-11-08T04:15:55.756Z] 5851b861e8e6: Pull complete [2023-11-08T04:15:55.756Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-08T04:15:56.016Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-08T04:15:56.016Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T04:15:56.270Z] prd-ubuntu20.04-docker-8c-8g-16986 does not seem to be running inside a container [2023-11-08T04:15:56.300Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1539 -v /w/workspace/gexfoundry_device-sdk-go_PR-1539:/w/workspace/gexfoundry_device-sdk-go_PR-1539:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1539@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-11-08T04:15:59.677Z] $ docker top b91556b5806bb33b609768c6bff2794fca88855063403ed003b00f736b0dc6b0 -eo pid,comm [2023-11-08T04:15:59.738Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-08T04:15:59.738Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-08T04:15:59.866Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T04:15:59.867Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T04:15:59.981Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T04:15:59.984Z] $ docker exec b91556b5806bb33b609768c6bff2794fca88855063403ed003b00f736b0dc6b0 ssh-agent [2023-11-08T04:16:00.098Z] SSH_AUTH_SOCK=/tmp/ssh-Dz04fOhaoP38/agent.31 [2023-11-08T04:16:00.098Z] SSH_AGENT_PID=37 [2023-11-08T04:16:00.104Z] Running ssh-add (command line suppressed) [2023-11-08T04:16:00.201Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/private_key_6341133097535505867.key (/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/private_key_6341133097535505867.key) [2023-11-08T04:16:00.218Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T04:16:00.559Z] + git tag --points-at HEAD [Pipeline] } [2023-11-08T04:16:00.589Z] $ docker exec --env ******** --env ******** b91556b5806bb33b609768c6bff2794fca88855063403ed003b00f736b0dc6b0 ssh-agent -k [2023-11-08T04:16:00.691Z] unset SSH_AUTH_SOCK; [2023-11-08T04:16:00.691Z] unset SSH_AGENT_PID; [2023-11-08T04:16:00.691Z] echo Agent pid 37 killed; [2023-11-08T04:16:00.705Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-08T04:16:00.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-08T04:16:00.813Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-08T04:16:00.925Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-08T04:16:00.929Z] $ docker exec b91556b5806bb33b609768c6bff2794fca88855063403ed003b00f736b0dc6b0 ssh-agent [2023-11-08T04:16:01.043Z] SSH_AUTH_SOCK=/tmp/ssh-ZyLyLuNspkHa/agent.69 [2023-11-08T04:16:01.043Z] SSH_AGENT_PID=75 [2023-11-08T04:16:01.048Z] Running ssh-add (command line suppressed) [2023-11-08T04:16:01.166Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/private_key_2208191102425018570.key (/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/private_key_2208191102425018570.key) [2023-11-08T04:16:01.179Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-08T04:16:01.639Z] + git semver init [2023-11-08T04:16:01.901Z] 2023-11-08 04:16:01,865 [run_init] DEBUG init version:0.0.0 force:False [2023-11-08T04:16:01.901Z] 2023-11-08 04:16:01,867 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver [2023-11-08T04:16:01.901Z] 2023-11-08 04:16:01,868 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver [2023-11-08T04:16:01.902Z] 2023-11-08 04:16:01,868 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1539, universal_newlines=False, shell=None, istream=None) [2023-11-08T04:16:03.282Z] 2023-11-08 04:16:03,194 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539/.git/info/exclude [2023-11-08T04:16:03.282Z] 2023-11-08 04:16:03,194 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver/PR-1539 with force:False [2023-11-08T04:16:03.282Z] 2023-11-08 04:16:03,194 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver/PR-1539 [2023-11-08T04:16:03.282Z] 2023-11-08 04:16:03,199 [execute] INFO git cat-file --batch-check [2023-11-08T04:16:03.282Z] 2023-11-08 04:16:03,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T04:16:03.282Z] 2023-11-08 04:16:03,205 [execute] INFO git cat-file --batch [2023-11-08T04:16:03.282Z] 2023-11-08 04:16:03,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver, universal_newlines=False, shell=None, istream=) [2023-11-08T04:16:03.282Z] 2023-11-08 04:16:03,211 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1539/.semver/PR-1539 [2023-11-08T04:16:03.282Z] 0.0.0 [Pipeline] } [2023-11-08T04:16:03.313Z] $ docker exec --env ******** --env ******** b91556b5806bb33b609768c6bff2794fca88855063403ed003b00f736b0dc6b0 ssh-agent -k [2023-11-08T04:16:03.422Z] unset SSH_AUTH_SOCK; [2023-11-08T04:16:03.423Z] unset SSH_AGENT_PID; [2023-11-08T04:16:03.423Z] echo Agent pid 75 killed; [2023-11-08T04:16:03.436Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-08T04:16:03.883Z] + git semver [Pipeline] } [2023-11-08T04:16:04.167Z] $ docker stop --time=1 b91556b5806bb33b609768c6bff2794fca88855063403ed003b00f736b0dc6b0 [2023-11-08T04:16:05.454Z] $ docker rm -f --volumes b91556b5806bb33b609768c6bff2794fca88855063403ed003b00f736b0dc6b0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T04:16:05.878Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-08T04:16:06.166Z] Stashed 1 file(s) [Pipeline] echo [2023-11-08T04:16:06.184Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T04:16:06.903Z] provisioning config files... [2023-11-08T04:16:06.913Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/config14712161148049477357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:16:07.278Z] ---> docker-login.sh [2023-11-08T04:16:07.278Z] nexus3.edgexfoundry.org:10001 [2023-11-08T04:16:07.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:16:07.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:16:07.278Z] Configure a credential helper to remove this warning. See [2023-11-08T04:16:07.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:16:07.278Z] [2023-11-08T04:16:07.278Z] Login Succeeded [2023-11-08T04:16:07.278Z] nexus3.edgexfoundry.org:10002 [2023-11-08T04:16:07.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:16:07.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:16:07.278Z] Configure a credential helper to remove this warning. See [2023-11-08T04:16:07.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:16:07.278Z] [2023-11-08T04:16:07.278Z] Login Succeeded [2023-11-08T04:16:07.278Z] nexus3.edgexfoundry.org:10003 [2023-11-08T04:16:07.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:16:07.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:16:07.540Z] Configure a credential helper to remove this warning. See [2023-11-08T04:16:07.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:16:07.540Z] [2023-11-08T04:16:07.540Z] Login Succeeded [2023-11-08T04:16:07.540Z] nexus3.edgexfoundry.org:10004 [2023-11-08T04:16:07.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:16:07.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:16:07.540Z] Configure a credential helper to remove this warning. See [2023-11-08T04:16:07.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:16:07.540Z] [2023-11-08T04:16:07.540Z] Login Succeeded [2023-11-08T04:16:07.540Z] docker.io [2023-11-08T04:16:07.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:16:08.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:16:08.058Z] Configure a credential helper to remove this warning. See [2023-11-08T04:16:08.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:16:08.058Z] [2023-11-08T04:16:08.058Z] Login Succeeded [2023-11-08T04:16:08.058Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T04:16:08.093Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T04:16:08.296Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T04:16:08.337Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T04:16:08.373Z] ========================================================= [2023-11-08T04:16:08.373Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-08T04:16:08.373Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:16:08.847Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T04:16:08.847Z] Sending build context to Docker daemon 21.94MB [2023-11-08T04:16:08.847Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T04:16:08.847Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-08T04:16:09.108Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-08T04:16:09.108Z] 7264a8db6415: Pulling fs layer [2023-11-08T04:16:09.108Z] c4d48a809fc2: Pulling fs layer [2023-11-08T04:16:09.108Z] 4f1c88b9dad5: Pulling fs layer [2023-11-08T04:16:09.108Z] ad3a456e5733: Pulling fs layer [2023-11-08T04:16:09.108Z] 33e27b845d1e: Pulling fs layer [2023-11-08T04:16:09.108Z] c68163c4e522: Pulling fs layer [2023-11-08T04:16:09.109Z] 50da416c3ac9: Pulling fs layer [2023-11-08T04:16:09.109Z] 23d2d4c4bb30: Pulling fs layer [2023-11-08T04:16:09.109Z] 33e27b845d1e: Waiting [2023-11-08T04:16:09.109Z] c68163c4e522: Waiting [2023-11-08T04:16:09.109Z] 50da416c3ac9: Waiting [2023-11-08T04:16:09.109Z] c4d48a809fc2: Download complete [2023-11-08T04:16:09.109Z] ad3a456e5733: Verifying Checksum [2023-11-08T04:16:09.109Z] ad3a456e5733: Download complete [2023-11-08T04:16:09.109Z] 33e27b845d1e: Verifying Checksum [2023-11-08T04:16:09.109Z] 33e27b845d1e: Download complete [2023-11-08T04:16:09.109Z] 7264a8db6415: Verifying Checksum [2023-11-08T04:16:09.109Z] 7264a8db6415: Download complete [2023-11-08T04:16:09.109Z] c68163c4e522: Verifying Checksum [2023-11-08T04:16:09.109Z] c68163c4e522: Download complete [2023-11-08T04:16:09.369Z] 7264a8db6415: Pull complete [2023-11-08T04:16:09.369Z] 23d2d4c4bb30: Verifying Checksum [2023-11-08T04:16:09.369Z] 23d2d4c4bb30: Download complete [2023-11-08T04:16:09.369Z] c4d48a809fc2: Pull complete [2023-11-08T04:16:09.630Z] 4f1c88b9dad5: Verifying Checksum [2023-11-08T04:16:09.630Z] 4f1c88b9dad5: Download complete [2023-11-08T04:16:09.896Z] 50da416c3ac9: Verifying Checksum [2023-11-08T04:16:09.896Z] 50da416c3ac9: Download complete [2023-11-08T04:16:13.206Z] 4f1c88b9dad5: Pull complete [2023-11-08T04:16:13.206Z] ad3a456e5733: Pull complete [2023-11-08T04:16:13.206Z] 33e27b845d1e: Pull complete [2023-11-08T04:16:13.206Z] c68163c4e522: Pull complete [2023-11-08T04:16:15.742Z] 50da416c3ac9: Pull complete [2023-11-08T04:16:16.308Z] 23d2d4c4bb30: Pull complete [2023-11-08T04:16:16.308Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-08T04:16:16.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-08T04:16:16.308Z] ---> 0786185ac409 [2023-11-08T04:16:16.308Z] Step 3/10 : ARG MAKE=make build [2023-11-08T04:16:21.633Z] Still waiting to schedule task [2023-11-08T04:16:21.634Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16984’ [2023-11-08T04:16:21.665Z] ---> Running in d10101c61ad0 [2023-11-08T04:16:21.666Z] Removing intermediate container d10101c61ad0 [2023-11-08T04:16:21.666Z] ---> 4c29f94283dd [2023-11-08T04:16:21.666Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-08T04:16:21.666Z] ---> Running in e9ba8f1d8b84 [2023-11-08T04:16:21.666Z] Removing intermediate container e9ba8f1d8b84 [2023-11-08T04:16:21.666Z] ---> b5835fb8a819 [2023-11-08T04:16:21.666Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-08T04:16:21.666Z] ---> Running in 0155a0e5c34e [2023-11-08T04:16:21.666Z] Removing intermediate container 0155a0e5c34e [2023-11-08T04:16:21.666Z] ---> cb4bc4fd263a [2023-11-08T04:16:21.666Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-08T04:16:21.666Z] ---> Running in 7e0581f496e0 [2023-11-08T04:16:21.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T04:16:21.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T04:16:22.184Z] OK: 264 MiB in 52 packages [2023-11-08T04:16:22.755Z] Removing intermediate container 7e0581f496e0 [2023-11-08T04:16:22.756Z] ---> f6d39d11bd47 [2023-11-08T04:16:22.756Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-08T04:16:22.756Z] ---> 5dcd935bddc9 [2023-11-08T04:16:22.756Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T04:16:22.756Z] ---> Running in 03b3f7a25869 [2023-11-08T04:17:01.559Z] Removing intermediate container 03b3f7a25869 [2023-11-08T04:17:01.559Z] ---> 33c58437b125 [2023-11-08T04:17:01.559Z] Step 9/10 : COPY . . [2023-11-08T04:17:01.559Z] ---> c4797dbe099c [2023-11-08T04:17:01.559Z] Step 10/10 : RUN ${MAKE} [2023-11-08T04:17:01.559Z] ---> Running in 81a48553b1cd [2023-11-08T04:17:01.559Z] noop [2023-11-08T04:17:01.559Z] Removing intermediate container 81a48553b1cd [2023-11-08T04:17:01.559Z] ---> ef8a61de1f0c [2023-11-08T04:17:01.559Z] Successfully built ef8a61de1f0c [2023-11-08T04:17:01.559Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:17:02.018Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T04:17:02.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T04:17:02.175Z] prd-ubuntu20.04-docker-8c-8g-16986 does not seem to be running inside a container [2023-11-08T04:17:02.210Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1539 -v /w/workspace/gexfoundry_device-sdk-go_PR-1539:/w/workspace/gexfoundry_device-sdk-go_PR-1539:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1539@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-11-08T04:17:02.565Z] $ docker top e17b39fc5356caeab03b344d083110a43a18e1aaf716d5ebf1f8d505c2972624 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T04:17:02.961Z] + go version [2023-11-08T04:17:02.961Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-08T04:17:03.008Z] $ docker stop --time=1 e17b39fc5356caeab03b344d083110a43a18e1aaf716d5ebf1f8d505c2972624 [2023-11-08T04:17:04.260Z] $ docker rm -f --volumes e17b39fc5356caeab03b344d083110a43a18e1aaf716d5ebf1f8d505c2972624 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:17:04.965Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-08T04:17:04.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T04:17:05.128Z] prd-ubuntu20.04-docker-8c-8g-16986 does not seem to be running inside a container [2023-11-08T04:17:05.160Z] $ 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-1539 -v /w/workspace/gexfoundry_device-sdk-go_PR-1539:/w/workspace/gexfoundry_device-sdk-go_PR-1539:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1539@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-11-08T04:17:05.493Z] $ docker top 79f7e6465dff9c78ed7ce039c09cc32fc61d525a1fd0a0a5559d1a38665eb71e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T04:17:05.879Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1539 [Pipeline] fileExists [Pipeline] sh [2023-11-08T04:17:06.234Z] + make test [2023-11-08T04:17:06.234Z] go test -race -coverprofile=coverage.out ./... [2023-11-08T04:17:12.806Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-08T04:17:27.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-08T04:17:27.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-08T04:17:27.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-08T04:17:27.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-08T04:17:27.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-08T04:17:27.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-08T04:17:27.678Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-08T04:17:27.678Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.088s coverage: 27.6% of statements [2023-11-08T04:17:27.936Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.054s coverage: 81.5% of statements [2023-11-08T04:17:27.936Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.060s coverage: 86.0% of statements [2023-11-08T04:17:27.936Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-08T04:17:29.381Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.082s coverage: 71.8% of statements [2023-11-08T04:17:29.381Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-08T04:17:29.381Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-08T04:17:29.381Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-08T04:17:32.023Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.055s coverage: 14.4% of statements [2023-11-08T04:17:32.023Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.987s coverage: 45.9% of statements [2023-11-08T04:17:32.023Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.084s coverage: 68.5% of statements [2023-11-08T04:17:32.023Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.117s coverage: 89.2% of statements [2023-11-08T04:17:32.023Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements [2023-11-08T04:17:54.006Z] GO111MODULE=on go vet ./... [2023-11-08T04:17:55.915Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T04:17:55.915Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T04:17:55.915Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T04:17:55.958Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T04:17:55.994Z] $ docker stop --time=1 79f7e6465dff9c78ed7ce039c09cc32fc61d525a1fd0a0a5559d1a38665eb71e [2023-11-08T04:17:59.706Z] $ docker rm -f --volumes 79f7e6465dff9c78ed7ce039c09cc32fc61d525a1fd0a0a5559d1a38665eb71e [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T04:18:00.281Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T04:18:00.379Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-08T04:18:01.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T04:18:01.461Z] + ls -al . [2023-11-08T04:18:01.462Z] total 308 [2023-11-08T04:18:01.462Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 04:17 . [2023-11-08T04:18:01.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:15 .. [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 04:15 .dockerignore [2023-11-08T04:18:01.462Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 04:17 .git [2023-11-08T04:18:01.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 04:15 .github [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 8 04:15 .gitignore [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 04:15 .golangci.yml [2023-11-08T04:18:01.462Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 04:16 .semver [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 8 04:15 CHANGELOG.md [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 04:15 GOVERNANCE.md [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 8 04:15 Jenkinsfile [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 04:15 LICENSE [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 8 04:15 Makefile [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 04:15 OWNERS.md [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 8 04:15 README.md [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 04:16 VERSION [2023-11-08T04:18:01.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 04:15 bin [2023-11-08T04:18:01.462Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 8 04:17 coverage.out [2023-11-08T04:18:01.462Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 04:15 example [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 8 04:15 go.mod [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 8 04:15 go.sum [2023-11-08T04:18:01.462Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 04:15 internal [2023-11-08T04:18:01.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 04:15 openapi [2023-11-08T04:18:01.462Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 04:15 pkg [2023-11-08T04:18:01.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:15 snap [2023-11-08T04:18:01.462Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 04:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:18:01.861Z] + 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=25609c649f9c186cb9ea36c0446132d2c7203020 --label arch=amd64 --label version=0.0.0 . [2023-11-08T04:18:01.861Z] Sending build context to Docker daemon 22.06MB [2023-11-08T04:18:01.861Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T04:18:01.861Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-08T04:18:01.861Z] ---> ef8a61de1f0c [2023-11-08T04:18:01.861Z] Step 3/23 : ARG MAKE=make build [2023-11-08T04:18:02.431Z] ---> Running in ba6c33116e31 [2023-11-08T04:18:02.431Z] Removing intermediate container ba6c33116e31 [2023-11-08T04:18:02.431Z] ---> f7398ef5788c [2023-11-08T04:18:02.431Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-08T04:18:02.431Z] ---> Running in a9d4e2e94d71 [2023-11-08T04:18:02.431Z] Removing intermediate container a9d4e2e94d71 [2023-11-08T04:18:02.431Z] ---> 3dc3739ff959 [2023-11-08T04:18:02.431Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-08T04:18:02.431Z] ---> Running in f61a086290ac [2023-11-08T04:18:02.431Z] Removing intermediate container f61a086290ac [2023-11-08T04:18:02.431Z] ---> d24bc82615ae [2023-11-08T04:18:02.431Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-08T04:18:02.431Z] ---> Running in f27d106ae661 [2023-11-08T04:18:02.691Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T04:18:02.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T04:18:03.209Z] OK: 264 MiB in 52 packages [2023-11-08T04:18:03.467Z] Removing intermediate container f27d106ae661 [2023-11-08T04:18:03.467Z] ---> 830c93b47d49 [2023-11-08T04:18:03.467Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-08T04:18:03.726Z] ---> 8ce4a034f103 [2023-11-08T04:18:03.726Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T04:18:03.726Z] ---> Running in a73219195c09 [2023-11-08T04:18:04.292Z] Removing intermediate container a73219195c09 [2023-11-08T04:18:04.292Z] ---> 208797488f15 [2023-11-08T04:18:04.292Z] Step 9/23 : COPY . . [2023-11-08T04:18:05.252Z] ---> 9e1079ec0e27 [2023-11-08T04:18:05.252Z] Step 10/23 : RUN ${MAKE} [2023-11-08T04:18:05.252Z] ---> Running in 3e024d5a1a65 [2023-11-08T04:18:05.510Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-08T04:18:27.506Z] Removing intermediate container 3e024d5a1a65 [2023-11-08T04:18:27.506Z] ---> df26fb102947 [2023-11-08T04:18:27.506Z] Step 11/23 : FROM alpine:3.18 [2023-11-08T04:18:27.765Z] 3.18: Pulling from library/alpine [2023-11-08T04:18:27.765Z] 96526aa774ef: Pulling fs layer [2023-11-08T04:18:28.043Z] 96526aa774ef: Download complete [2023-11-08T04:18:28.301Z] 96526aa774ef: Pull complete [2023-11-08T04:18:28.301Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T04:18:28.301Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T04:18:28.301Z] ---> 8ca4688f4f35 [2023-11-08T04:18:28.301Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-08T04:18:28.301Z] ---> Running in 0025448d52c0 [2023-11-08T04:18:28.560Z] Removing intermediate container 0025448d52c0 [2023-11-08T04:18:28.560Z] ---> 912b11a69f1f [2023-11-08T04:18:28.560Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-08T04:18:28.560Z] ---> Running in 14bfad17ac52 [2023-11-08T04:18:28.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-08T04:18:29.076Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-08T04:18:29.334Z] OK: 7 MiB in 15 packages [2023-11-08T04:18:29.595Z] Removing intermediate container 14bfad17ac52 [2023-11-08T04:18:29.595Z] ---> 6e1add4593f3 [2023-11-08T04:18:29.595Z] Step 14/23 : WORKDIR / [2023-11-08T04:18:29.595Z] ---> Running in 993e1a901bab [2023-11-08T04:18:29.595Z] Removing intermediate container 993e1a901bab [2023-11-08T04:18:29.595Z] ---> e49dbe65fb99 [2023-11-08T04:18:29.595Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-08T04:18:29.854Z] ---> 8db31ebdc4e3 [2023-11-08T04:18:29.854Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-08T04:18:31.787Z] ---> 1281f55df954 [2023-11-08T04:18:31.787Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-08T04:18:31.787Z] ---> ce769eb0be5e [2023-11-08T04:18:31.787Z] Step 18/23 : EXPOSE 59999 [2023-11-08T04:18:31.787Z] ---> Running in f5a2f6d37892 [2023-11-08T04:18:31.787Z] Removing intermediate container f5a2f6d37892 [2023-11-08T04:18:31.787Z] ---> 2c4daf1f0ad9 [2023-11-08T04:18:31.787Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-08T04:18:31.787Z] ---> Running in 73a0608e6c84 [2023-11-08T04:18:32.051Z] Removing intermediate container 73a0608e6c84 [2023-11-08T04:18:32.051Z] ---> 7b34b87b7a86 [2023-11-08T04:18:32.051Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-08T04:18:32.051Z] ---> Running in bf659ae33cc9 [2023-11-08T04:18:32.051Z] Removing intermediate container bf659ae33cc9 [2023-11-08T04:18:32.051Z] ---> 0fcdcf83e3bf [2023-11-08T04:18:32.051Z] Step 21/23 : LABEL arch=amd64 [2023-11-08T04:18:32.051Z] ---> Running in 565658238e87 [2023-11-08T04:18:32.310Z] Removing intermediate container 565658238e87 [2023-11-08T04:18:32.310Z] ---> bd1b03189b21 [2023-11-08T04:18:32.310Z] Step 22/23 : LABEL git_sha=25609c649f9c186cb9ea36c0446132d2c7203020 [2023-11-08T04:18:32.310Z] ---> Running in c9cbb83ff182 [2023-11-08T04:18:32.310Z] Removing intermediate container c9cbb83ff182 [2023-11-08T04:18:32.310Z] ---> 4dc0a388b904 [2023-11-08T04:18:32.310Z] Step 23/23 : LABEL version=0.0.0 [2023-11-08T04:18:32.310Z] ---> Running in 521df5f39f91 [2023-11-08T04:18:32.310Z] Removing intermediate container 521df5f39f91 [2023-11-08T04:18:32.310Z] ---> a5319dcc00d9 [2023-11-08T04:18:32.310Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T04:18:32.310Z] Successfully built a5319dcc00d9 [2023-11-08T04:18:32.310Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:18:33.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T04:18:33.244Z] [2023-11-08T04:18:33.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:18:33.634Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T04:18:33.634Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-08T04:18:33.634Z] 5eb5b503b376: Pulling fs layer [2023-11-08T04:18:33.634Z] 5c69ac0246d0: Pulling fs layer [2023-11-08T04:18:33.634Z] ec43610c2a17: Pulling fs layer [2023-11-08T04:18:33.634Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-08T04:18:33.634Z] 33b1e0a273af: Pulling fs layer [2023-11-08T04:18:33.634Z] 5d3b04190fa2: Pulling fs layer [2023-11-08T04:18:33.634Z] 2f39f015ded8: Pulling fs layer [2023-11-08T04:18:33.634Z] 3a2ae6a8a46f: Waiting [2023-11-08T04:18:33.634Z] 33b1e0a273af: Waiting [2023-11-08T04:18:33.634Z] 5d3b04190fa2: Waiting [2023-11-08T04:18:33.634Z] 2f39f015ded8: Waiting [2023-11-08T04:18:33.634Z] 5c69ac0246d0: Download complete [2023-11-08T04:18:33.634Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-08T04:18:33.634Z] 3a2ae6a8a46f: Download complete [2023-11-08T04:18:33.634Z] 33b1e0a273af: Verifying Checksum [2023-11-08T04:18:33.634Z] 33b1e0a273af: Download complete [2023-11-08T04:18:33.634Z] 5d3b04190fa2: Verifying Checksum [2023-11-08T04:18:33.634Z] 5d3b04190fa2: Download complete [2023-11-08T04:18:33.634Z] ec43610c2a17: Verifying Checksum [2023-11-08T04:18:33.634Z] ec43610c2a17: Download complete [2023-11-08T04:18:33.892Z] 5eb5b503b376: Verifying Checksum [2023-11-08T04:18:33.892Z] 5eb5b503b376: Download complete [2023-11-08T04:18:35.266Z] 5eb5b503b376: Pull complete [2023-11-08T04:18:35.266Z] 5c69ac0246d0: Pull complete [2023-11-08T04:18:35.524Z] ec43610c2a17: Pull complete [2023-11-08T04:18:35.524Z] 3a2ae6a8a46f: Pull complete [2023-11-08T04:18:36.091Z] 33b1e0a273af: Pull complete [2023-11-08T04:18:36.091Z] 5d3b04190fa2: Pull complete [2023-11-08T04:18:40.288Z] 2f39f015ded8: Pull complete [2023-11-08T04:18:40.288Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-08T04:18:40.288Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T04:18:40.288Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T04:18:40.534Z] prd-ubuntu20.04-docker-8c-8g-16986 does not seem to be running inside a container [2023-11-08T04:18:40.562Z] $ 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-1539 -v /w/workspace/gexfoundry_device-sdk-go_PR-1539:/w/workspace/gexfoundry_device-sdk-go_PR-1539:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1539@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-11-08T04:18:52.410Z] $ docker top c609d227c2e67d55fbb24fd18eaae53bab3b14c269a18a3a89672e3231119168 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:18:52.866Z] ---> job-cost.sh [2023-11-08T04:18:52.866Z] lf-activate-venv: SKIPPING [2023-11-08T04:18:52.866Z] INFO: No Stack... [2023-11-08T04:18:53.126Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T04:18:53.384Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T04:18:53.702Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives/cost.csv [2023-11-08T04:18:53.702Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T04:18:53.756Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1539-1-stack-cost] [2023-11-08T04:18:53.761Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1539-1-stack-cost] did not exist. Created. [2023-11-08T04:18:53.761Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1539-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T04:18:54.163Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-08T04:18:54.218Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T04:18:54.241Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1539-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T04:18:54.321Z] $ docker stop --time=1 c609d227c2e67d55fbb24fd18eaae53bab3b14c269a18a3a89672e3231119168 [2023-11-08T04:18:55.755Z] $ docker rm -f --volumes c609d227c2e67d55fbb24fd18eaae53bab3b14c269a18a3a89672e3231119168 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-08T04:19:48.037Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16988 in /w/workspace/gexfoundry_device-sdk-go_PR-1539 [Pipeline] { [Pipeline] ws [2023-11-08T04:19:48.108Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-11-08T04:19:48.190Z] The recommended git tool is: git [2023-11-08T04:19:53.671Z] using credential edgex-jenkins-ssh [2023-11-08T04:19:53.695Z] Cloning the remote Git repository [2023-11-08T04:19:53.738Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-08T04:19:53.848Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-11-08T04:19:54.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-08T04:19:54.007Z] > git --version # timeout=10 [2023-11-08T04:19:54.032Z] > git --version # 'git version 2.25.1' [2023-11-08T04:19:54.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T04:19:54.225Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T04:19:59.697Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-08T04:19:59.721Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-08T04:20:00.661Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-08T04:20:00.701Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-08T04:20:00.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T04:20:00.718Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1539/head:refs/remotes/origin/PR-1539 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-08T04:20:01.364Z] Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit 25609c649f9c186cb9ea36c0446132d2c7203020 [2023-11-08T04:20:01.719Z] Merge succeeded, producing 25609c649f9c186cb9ea36c0446132d2c7203020 [2023-11-08T04:20:01.720Z] Checking out Revision 25609c649f9c186cb9ea36c0446132d2c7203020 (PR-1539) [2023-11-08T04:20:02.324Z] Commit message: "build(deps): bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3" [2023-11-08T04:20:02.378Z] > git --version # timeout=10 [2023-11-08T04:20:02.393Z] > git --version # 'git version 2.25.1' [2023-11-08T04:20:02.415Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-11-08T04:20:01.395Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T04:20:01.481Z] > git checkout -f 25609c649f9c186cb9ea36c0446132d2c7203020 # timeout=10 [2023-11-08T04:20:01.613Z] > git remote # timeout=10 [2023-11-08T04:20:01.637Z] > git config --get remote.origin.url # timeout=10 [2023-11-08T04:20:01.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-08T04:20:01.666Z] > git merge 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 [2023-11-08T04:20:01.695Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-08T04:20:01.723Z] > git config core.sparsecheckout # timeout=10 [2023-11-08T04:20:01.743Z] > git checkout -f 25609c649f9c186cb9ea36c0446132d2c7203020 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T04:20:03.570Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-08T04:20:03.570Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T04:20:03.570Z] Dload Upload Total Spent Left Speed [2023-11-08T04:20:03.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 229k 0 --:--:-- --:--:-- --:--:-- 229k [Pipeline] sh [2023-11-08T04:20:04.247Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-08T04:20:04.600Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-08T04:20:04.600Z] + sudo tee /etc/docker/daemon.new [2023-11-08T04:20:04.600Z] { [2023-11-08T04:20:04.600Z] "registry-mirrors": [ [2023-11-08T04:20:04.600Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-08T04:20:04.600Z] ], [2023-11-08T04:20:04.600Z] "bip": "10.250.0.254/24", [2023-11-08T04:20:04.600Z] "hosts": [ [2023-11-08T04:20:04.600Z] "tcp://0.0.0.0:5555", [2023-11-08T04:20:04.600Z] "unix:///var/run/docker.sock" [2023-11-08T04:20:04.600Z] ], [2023-11-08T04:20:04.600Z] "mtu": 1458, [2023-11-08T04:20:04.600Z] "selinux-enabled": true, [2023-11-08T04:20:04.600Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-08T04:20:04.600Z] } [Pipeline] sh [2023-11-08T04:20:04.953Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-08T04:20:05.315Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T04:20:23.644Z] provisioning config files... [2023-11-08T04:20:23.673Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8884394250010263333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:20:24.071Z] ---> docker-login.sh [2023-11-08T04:20:24.071Z] nexus3.edgexfoundry.org:10001 [2023-11-08T04:20:24.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:20:24.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:20:24.624Z] Configure a credential helper to remove this warning. See [2023-11-08T04:20:24.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:20:24.624Z] [2023-11-08T04:20:24.624Z] Login Succeeded [2023-11-08T04:20:24.624Z] nexus3.edgexfoundry.org:10002 [2023-11-08T04:20:24.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:20:24.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:20:24.895Z] Configure a credential helper to remove this warning. See [2023-11-08T04:20:24.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:20:24.895Z] [2023-11-08T04:20:25.164Z] Login Succeeded [2023-11-08T04:20:25.164Z] nexus3.edgexfoundry.org:10003 [2023-11-08T04:20:25.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:20:25.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:20:25.434Z] Configure a credential helper to remove this warning. See [2023-11-08T04:20:25.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:20:25.434Z] [2023-11-08T04:20:25.434Z] Login Succeeded [2023-11-08T04:20:25.434Z] nexus3.edgexfoundry.org:10004 [2023-11-08T04:20:25.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:20:25.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:20:25.706Z] Configure a credential helper to remove this warning. See [2023-11-08T04:20:25.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:20:25.706Z] [2023-11-08T04:20:25.706Z] Login Succeeded [2023-11-08T04:20:25.706Z] docker.io [2023-11-08T04:20:25.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-08T04:20:26.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-08T04:20:26.244Z] Configure a credential helper to remove this warning. See [2023-11-08T04:20:26.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-08T04:20:26.244Z] [2023-11-08T04:20:26.244Z] Login Succeeded [2023-11-08T04:20:26.244Z] ---> docker-login.sh ends [Pipeline] } [2023-11-08T04:20:26.274Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-08T04:20:26.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T04:20:26.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-08T04:20:26.759Z] ========================================================= [2023-11-08T04:20:26.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-08T04:20:26.759Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:20:27.266Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-08T04:20:27.857Z] Sending build context to Docker daemon 11.37MB [2023-11-08T04:20:27.857Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T04:20:27.857Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-08T04:20:27.857Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-08T04:20:27.857Z] 9fda8d8052c6: Pulling fs layer [2023-11-08T04:20:27.857Z] 5d54e960e981: Pulling fs layer [2023-11-08T04:20:27.857Z] c4a7e357bf2a: Pulling fs layer [2023-11-08T04:20:27.857Z] f0e02332f6b5: Pulling fs layer [2023-11-08T04:20:27.857Z] cefa15bbcfad: Pulling fs layer [2023-11-08T04:20:27.857Z] 17808c966233: Pulling fs layer [2023-11-08T04:20:27.857Z] f4c1fc716caa: Pulling fs layer [2023-11-08T04:20:27.857Z] cefa15bbcfad: Waiting [2023-11-08T04:20:27.857Z] 17808c966233: Waiting [2023-11-08T04:20:27.857Z] f4c1fc716caa: Waiting [2023-11-08T04:20:27.857Z] f0e02332f6b5: Waiting [2023-11-08T04:20:28.132Z] 5d54e960e981: Download complete [2023-11-08T04:20:28.132Z] f0e02332f6b5: Verifying Checksum [2023-11-08T04:20:28.132Z] f0e02332f6b5: Download complete [2023-11-08T04:20:28.132Z] cefa15bbcfad: Verifying Checksum [2023-11-08T04:20:28.132Z] cefa15bbcfad: Download complete [2023-11-08T04:20:28.132Z] 9fda8d8052c6: Download complete [2023-11-08T04:20:28.405Z] f4c1fc716caa: Verifying Checksum [2023-11-08T04:20:28.405Z] f4c1fc716caa: Download complete [2023-11-08T04:20:28.999Z] 9fda8d8052c6: Pull complete [2023-11-08T04:20:29.589Z] 5d54e960e981: Pull complete [2023-11-08T04:20:29.860Z] c4a7e357bf2a: Download complete [2023-11-08T04:20:30.825Z] 17808c966233: Verifying Checksum [2023-11-08T04:20:30.825Z] 17808c966233: Download complete [2023-11-08T04:20:43.284Z] c4a7e357bf2a: Pull complete [2023-11-08T04:20:43.284Z] f0e02332f6b5: Pull complete [2023-11-08T04:20:43.284Z] cefa15bbcfad: Pull complete [2023-11-08T04:20:51.505Z] 17808c966233: Pull complete [2023-11-08T04:20:55.772Z] f4c1fc716caa: Pull complete [2023-11-08T04:20:55.772Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-08T04:20:55.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-08T04:20:55.772Z] ---> ea914061e18c [2023-11-08T04:20:55.772Z] Step 3/10 : ARG MAKE=make build [2023-11-08T04:20:57.184Z] ---> Running in 6f2cfaa19dc7 [2023-11-08T04:20:57.184Z] Removing intermediate container 6f2cfaa19dc7 [2023-11-08T04:20:57.184Z] ---> c09a9fb6d725 [2023-11-08T04:20:57.184Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-08T04:20:57.460Z] ---> Running in 222d07bb64ee [2023-11-08T04:20:57.728Z] Removing intermediate container 222d07bb64ee [2023-11-08T04:20:57.728Z] ---> 6f64b2b6044a [2023-11-08T04:20:57.728Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-08T04:20:57.728Z] ---> Running in a8f7ed0e10e1 [2023-11-08T04:20:58.313Z] Removing intermediate container a8f7ed0e10e1 [2023-11-08T04:20:58.313Z] ---> 079842fad72c [2023-11-08T04:20:58.313Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-08T04:20:58.313Z] ---> Running in fb1fdfb5ab3c [2023-11-08T04:20:59.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T04:20:59.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T04:21:00.822Z] OK: 266 MiB in 52 packages [2023-11-08T04:21:01.795Z] Removing intermediate container fb1fdfb5ab3c [2023-11-08T04:21:01.795Z] ---> d3b23ff6ca65 [2023-11-08T04:21:01.795Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-08T04:21:02.384Z] ---> 42b03dae835f [2023-11-08T04:21:02.384Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T04:21:02.384Z] ---> Running in 3923057bd70e [2023-11-08T04:22:24.052Z] Removing intermediate container 3923057bd70e [2023-11-08T04:22:24.052Z] ---> 5c7284229485 [2023-11-08T04:22:24.052Z] Step 9/10 : COPY . . [2023-11-08T04:22:24.052Z] ---> 507d98e2f249 [2023-11-08T04:22:24.052Z] Step 10/10 : RUN ${MAKE} [2023-11-08T04:22:24.052Z] ---> Running in d59bc2eb0684 [2023-11-08T04:22:24.052Z] noop [2023-11-08T04:22:24.052Z] Removing intermediate container d59bc2eb0684 [2023-11-08T04:22:24.052Z] ---> baeee25c648c [2023-11-08T04:22:24.052Z] Successfully built baeee25c648c [2023-11-08T04:22:24.052Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:22:24.696Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T04:22:24.696Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T04:22:25.004Z] prd-ubuntu20.04-docker-arm64-4c-16g-16988 does not seem to be running inside a container [2023-11-08T04:22:25.077Z] $ 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-11-08T04:22:26.258Z] $ docker top af8b4c1647a05075d2caaaa3eb3d7cf12789fba8291c64b365bb344d5ab350e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T04:22:27.146Z] + go version [2023-11-08T04:22:27.146Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-08T04:22:27.177Z] $ docker stop --time=1 af8b4c1647a05075d2caaaa3eb3d7cf12789fba8291c64b365bb344d5ab350e1 [2023-11-08T04:22:28.792Z] $ docker rm -f --volumes af8b4c1647a05075d2caaaa3eb3d7cf12789fba8291c64b365bb344d5ab350e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:22:29.663Z] + docker inspect -f . ci-base-image-arm64 [2023-11-08T04:22:29.663Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T04:22:29.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-16988 does not seem to be running inside a container [2023-11-08T04:22:29.986Z] $ 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-11-08T04:22:34.437Z] $ docker top edd338176229591335bcc2602557d6d6411b32fe79b98d6820b5173542fbaca5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T04:22:35.448Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-08T04:22:35.841Z] + make test [2023-11-08T04:22:35.841Z] go test -race -coverprofile=coverage.out ./... [2023-11-08T04:23:14.732Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-08T04:24:51.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-08T04:24:51.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-08T04:24:51.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-08T04:24:51.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-08T04:24:51.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-08T04:24:54.763Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.199s coverage: 27.6% of statements [2023-11-08T04:25:02.992Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.249s coverage: 81.5% of statements [2023-11-08T04:25:11.215Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-08T04:25:11.215Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-08T04:25:11.804Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.311s coverage: 86.0% of statements [2023-11-08T04:25:16.068Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-08T04:25:17.480Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.402s coverage: 71.8% of statements [2023-11-08T04:25:20.836Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.264s coverage: 14.4% of statements [2023-11-08T04:25:20.836Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.858s coverage: 45.9% of statements [2023-11-08T04:25:21.104Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-08T04:25:21.104Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-08T04:25:22.515Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.384s coverage: 68.5% of statements [2023-11-08T04:25:25.871Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.416s coverage: 89.2% of statements [2023-11-08T04:25:25.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-08T04:25:27.281Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.223s coverage: 5.5% of statements [2023-11-08T04:25:27.864Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-08T04:25:27.864Z] GO111MODULE=on go vet ./... [2023-11-08T04:27:19.543Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-08T04:27:19.543Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-08T04:27:19.543Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-08T04:27:19.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-08T04:27:19.609Z] $ docker stop --time=1 edd338176229591335bcc2602557d6d6411b32fe79b98d6820b5173542fbaca5 [2023-11-08T04:27:21.552Z] $ docker rm -f --volumes edd338176229591335bcc2602557d6d6411b32fe79b98d6820b5173542fbaca5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-08T04:27:23.205Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-08T04:27:23.248Z] Warning: overwriting stash ‘coverage-report’ [2023-11-08T04:27:23.795Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-08T04:27:24.406Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-08T04:27:24.744Z] + ls -al . [2023-11-08T04:27:24.744Z] total 304 [2023-11-08T04:27:24.744Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 04:22 . [2023-11-08T04:27:24.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:19 .. [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 04:20 .dockerignore [2023-11-08T04:27:24.744Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 04:20 .git [2023-11-08T04:27:24.744Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 04:20 .github [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 8 04:20 .gitignore [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 04:20 .golangci.yml [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 8 04:20 CHANGELOG.md [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 04:20 GOVERNANCE.md [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 8 04:20 Jenkinsfile [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 04:20 LICENSE [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 8 04:20 Makefile [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 04:20 OWNERS.md [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 8 04:20 README.md [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 04:16 VERSION [2023-11-08T04:27:24.744Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 04:20 bin [2023-11-08T04:27:24.744Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 8 04:25 coverage.out [2023-11-08T04:27:24.744Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 04:20 example [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 8 04:20 go.mod [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 8 04:20 go.sum [2023-11-08T04:27:24.744Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 04:20 internal [2023-11-08T04:27:24.744Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 04:20 openapi [2023-11-08T04:27:24.744Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 04:20 pkg [2023-11-08T04:27:24.744Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 04:20 snap [2023-11-08T04:27:24.744Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:27:25.156Z] + 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=25609c649f9c186cb9ea36c0446132d2c7203020 --label arch=arm64 --label version=0.0.0 . [2023-11-08T04:27:25.739Z] Sending build context to Docker daemon 11.49MB [2023-11-08T04:27:25.740Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-08T04:27:25.740Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-08T04:27:25.740Z] ---> baeee25c648c [2023-11-08T04:27:25.740Z] Step 3/23 : ARG MAKE=make build [2023-11-08T04:27:25.740Z] ---> Running in 56f17eab9d80 [2023-11-08T04:27:26.006Z] Removing intermediate container 56f17eab9d80 [2023-11-08T04:27:26.006Z] ---> 2576e1fc1eae [2023-11-08T04:27:26.006Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-08T04:27:26.006Z] ---> Running in 1e518da7c7de [2023-11-08T04:27:26.590Z] Removing intermediate container 1e518da7c7de [2023-11-08T04:27:26.590Z] ---> 719626417e9c [2023-11-08T04:27:26.590Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-08T04:27:26.590Z] ---> Running in 0ec7839bb44c [2023-11-08T04:27:26.858Z] Removing intermediate container 0ec7839bb44c [2023-11-08T04:27:26.858Z] ---> 14e20d1d4ece [2023-11-08T04:27:26.858Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-08T04:27:26.858Z] ---> Running in 77e318847eb4 [2023-11-08T04:27:27.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T04:27:28.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T04:27:29.361Z] OK: 266 MiB in 52 packages [2023-11-08T04:27:31.416Z] Removing intermediate container 77e318847eb4 [2023-11-08T04:27:31.416Z] ---> 6a7fe69cfde0 [2023-11-08T04:27:31.416Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-08T04:27:31.700Z] ---> 1feea7c4d3bb [2023-11-08T04:27:31.700Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-08T04:27:31.972Z] ---> Running in f1efb947c722 [2023-11-08T04:27:33.959Z] Removing intermediate container f1efb947c722 [2023-11-08T04:27:33.959Z] ---> 825fd5eeb1c4 [2023-11-08T04:27:33.959Z] Step 9/23 : COPY . . [2023-11-08T04:27:35.913Z] ---> ad0f39ae0e2a [2023-11-08T04:27:35.913Z] Step 10/23 : RUN ${MAKE} [2023-11-08T04:27:35.913Z] ---> Running in 87c77f5cec7a [2023-11-08T04:27:36.497Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-08T04:29:28.159Z] Removing intermediate container 87c77f5cec7a [2023-11-08T04:29:28.159Z] ---> b2c0cd05dd9d [2023-11-08T04:29:28.159Z] Step 11/23 : FROM alpine:3.18 [2023-11-08T04:29:28.159Z] 3.18: Pulling from library/alpine [2023-11-08T04:29:28.159Z] 579b34f0a95b: Pulling fs layer [2023-11-08T04:29:28.159Z] 579b34f0a95b: Verifying Checksum [2023-11-08T04:29:28.159Z] 579b34f0a95b: Download complete [2023-11-08T04:29:28.159Z] 579b34f0a95b: Pull complete [2023-11-08T04:29:28.159Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-08T04:29:28.159Z] Status: Downloaded newer image for alpine:3.18 [2023-11-08T04:29:28.159Z] ---> 3cc203321400 [2023-11-08T04:29:28.159Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-08T04:29:28.159Z] ---> Running in 6994ea55708b [2023-11-08T04:29:28.159Z] Removing intermediate container 6994ea55708b [2023-11-08T04:29:28.159Z] ---> 1ecfe52acf2b [2023-11-08T04:29:28.159Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-08T04:29:28.159Z] ---> Running in 214769ca2f94 [2023-11-08T04:29:28.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-08T04:29:28.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-08T04:29:28.159Z] OK: 8 MiB in 15 packages [2023-11-08T04:29:28.159Z] Removing intermediate container 214769ca2f94 [2023-11-08T04:29:28.159Z] ---> fe1397080e7a [2023-11-08T04:29:28.159Z] Step 14/23 : WORKDIR / [2023-11-08T04:29:28.159Z] ---> Running in 932d9cfa24ec [2023-11-08T04:29:28.159Z] Removing intermediate container 932d9cfa24ec [2023-11-08T04:29:28.159Z] ---> 5166cf390b07 [2023-11-08T04:29:28.159Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-08T04:29:28.159Z] ---> fe63c02c609f [2023-11-08T04:29:28.159Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-08T04:29:28.742Z] ---> e000ebfec491 [2023-11-08T04:29:28.742Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-08T04:29:29.322Z] ---> 928e1f5d16f7 [2023-11-08T04:29:29.322Z] Step 18/23 : EXPOSE 59999 [2023-11-08T04:29:29.322Z] ---> Running in 092b7d24e63b [2023-11-08T04:29:29.588Z] Removing intermediate container 092b7d24e63b [2023-11-08T04:29:29.588Z] ---> a3cd37fe26e7 [2023-11-08T04:29:29.588Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-08T04:29:29.588Z] ---> Running in 88368a3f0647 [2023-11-08T04:29:29.862Z] Removing intermediate container 88368a3f0647 [2023-11-08T04:29:29.862Z] ---> c47f73ed4777 [2023-11-08T04:29:29.862Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-08T04:29:29.862Z] ---> Running in c5f72d9f441f [2023-11-08T04:29:30.133Z] Removing intermediate container c5f72d9f441f [2023-11-08T04:29:30.133Z] ---> 8e37dd1b792f [2023-11-08T04:29:30.133Z] Step 21/23 : LABEL arch=arm64 [2023-11-08T04:29:30.402Z] ---> Running in dbc16d2aa3b2 [2023-11-08T04:29:30.669Z] Removing intermediate container dbc16d2aa3b2 [2023-11-08T04:29:30.669Z] ---> 95d1da0712f7 [2023-11-08T04:29:30.669Z] Step 22/23 : LABEL git_sha=25609c649f9c186cb9ea36c0446132d2c7203020 [2023-11-08T04:29:30.669Z] ---> Running in 85172ac966cb [2023-11-08T04:29:30.937Z] Removing intermediate container 85172ac966cb [2023-11-08T04:29:30.937Z] ---> 402dfbc50603 [2023-11-08T04:29:30.937Z] Step 23/23 : LABEL version=0.0.0 [2023-11-08T04:29:30.937Z] ---> Running in c42c0683f0df [2023-11-08T04:29:31.206Z] Removing intermediate container c42c0683f0df [2023-11-08T04:29:31.206Z] ---> 2b6811f6c39d [2023-11-08T04:29:31.206Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-08T04:29:31.206Z] Successfully built 2b6811f6c39d [2023-11-08T04:29:31.474Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:29:32.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T04:29:32.305Z] [2023-11-08T04:29:32.305Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:29:32.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T04:29:32.703Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-08T04:29:32.703Z] 8998bd30e6a1: Pulling fs layer [2023-11-08T04:29:32.703Z] 04944245beec: Pulling fs layer [2023-11-08T04:29:32.703Z] 699f458cf7ca: Pulling fs layer [2023-11-08T04:29:32.703Z] 765212b225bb: Pulling fs layer [2023-11-08T04:29:32.703Z] f23df028b6ca: Pulling fs layer [2023-11-08T04:29:32.703Z] d65c8cfc05b1: Pulling fs layer [2023-11-08T04:29:32.703Z] 2437ff75d9bd: Pulling fs layer [2023-11-08T04:29:32.703Z] 765212b225bb: Waiting [2023-11-08T04:29:32.703Z] f23df028b6ca: Waiting [2023-11-08T04:29:32.703Z] d65c8cfc05b1: Waiting [2023-11-08T04:29:32.703Z] 2437ff75d9bd: Waiting [2023-11-08T04:29:32.970Z] 04944245beec: Verifying Checksum [2023-11-08T04:29:32.970Z] 04944245beec: Download complete [2023-11-08T04:29:32.970Z] 765212b225bb: Verifying Checksum [2023-11-08T04:29:32.970Z] 765212b225bb: Download complete [2023-11-08T04:29:32.970Z] f23df028b6ca: Verifying Checksum [2023-11-08T04:29:32.970Z] f23df028b6ca: Download complete [2023-11-08T04:29:32.970Z] d65c8cfc05b1: Verifying Checksum [2023-11-08T04:29:32.970Z] d65c8cfc05b1: Download complete [2023-11-08T04:29:32.970Z] 699f458cf7ca: Verifying Checksum [2023-11-08T04:29:32.970Z] 699f458cf7ca: Download complete [2023-11-08T04:29:33.554Z] 8998bd30e6a1: Verifying Checksum [2023-11-08T04:29:33.554Z] 8998bd30e6a1: Download complete [2023-11-08T04:29:36.125Z] 2437ff75d9bd: Verifying Checksum [2023-11-08T04:29:36.125Z] 2437ff75d9bd: Download complete [2023-11-08T04:29:38.063Z] 8998bd30e6a1: Pull complete [2023-11-08T04:29:38.644Z] 04944245beec: Pull complete [2023-11-08T04:29:40.585Z] 699f458cf7ca: Pull complete [2023-11-08T04:29:40.585Z] 765212b225bb: Pull complete [2023-11-08T04:29:41.166Z] f23df028b6ca: Pull complete [2023-11-08T04:29:41.433Z] d65c8cfc05b1: Pull complete [2023-11-08T04:29:59.628Z] 2437ff75d9bd: Pull complete [2023-11-08T04:29:59.628Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-08T04:29:59.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-08T04:29:59.628Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T04:29:59.938Z] prd-ubuntu20.04-docker-arm64-4c-16g-16988 does not seem to be running inside a container [2023-11-08T04:29:59.991Z] $ 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-11-08T04:30:02.647Z] $ docker top 78dba0d5996ec87dd48f7265c13f82637e8c607c3a8a6c8bb767327e780bea39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:30:03.543Z] ---> job-cost.sh [2023-11-08T04:30:03.543Z] lf-activate-venv: SKIPPING [2023-11-08T04:30:03.543Z] INFO: No Stack... [2023-11-08T04:30:03.807Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-08T04:30:04.769Z] INFO: Archiving Costs [Pipeline] sh [2023-11-08T04:30:05.426Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-11-08T04:30:05.426Z] + cut -d, -f6 [Pipeline] lock [2023-11-08T04:30:05.514Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1539-1-stack-cost] [2023-11-08T04:30:05.518Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1539-1-stack-cost] did not exist. Created. [2023-11-08T04:30:05.518Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1539-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-08T04:30:06.265Z] /w/workspace/device-sdk-go/1@tmp/durable-e82d8bd3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-08T04:30:06.936Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-08T04:30:06.972Z] Warning: overwriting stash ‘stack-cost’ [2023-11-08T04:30:07.057Z] Stashed 1 file(s) [Pipeline] } [2023-11-08T04:30:07.071Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1539-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-08T04:30:07.150Z] $ docker stop --time=1 78dba0d5996ec87dd48f7265c13f82637e8c607c3a8a6c8bb767327e780bea39 [2023-11-08T04:30:08.677Z] $ docker rm -f --volumes 78dba0d5996ec87dd48f7265c13f82637e8c607c3a8a6c8bb767327e780bea39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-08T04:30:09.845Z] provisioning config files... [2023-11-08T04:30:09.854Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/config12215977112764693448tmp [Pipeline] { [Pipeline] sh [2023-11-08T04:30:10.222Z] + set +x [2023-11-08T04:30:10.222Z] + curl -s https://codecov.io/bash [2023-11-08T04:30:10.222Z] + bash -s -- [2023-11-08T04:30:10.222Z] [2023-11-08T04:30:10.222Z] _____ _ [2023-11-08T04:30:10.222Z] / ____| | | [2023-11-08T04:30:10.222Z] | | ___ __| | ___ ___ _____ __ [2023-11-08T04:30:10.222Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-08T04:30:10.222Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-08T04:30:10.222Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-08T04:30:10.222Z] Bash-1.0.6 [2023-11-08T04:30:10.222Z] [2023-11-08T04:30:10.222Z] [2023-11-08T04:30:10.222Z] ==> git version 2.25.1 found [2023-11-08T04:30:10.222Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-08T04:30:10.222Z] Release-Date: 2020-01-08 [2023-11-08T04:30:10.222Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-08T04:30:10.222Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-08T04:30:10.222Z] ==> Jenkins CI detected. [2023-11-08T04:30:10.222Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1539 [2023-11-08T04:30:10.222Z] project root: . [2023-11-08T04:30:10.222Z] --> token set from env [2023-11-08T04:30:10.222Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-08T04:30:10.222Z] ==> Running gcov in . (disable via -X gcov) [2023-11-08T04:30:10.222Z] ==> Python coveragepy not found [2023-11-08T04:30:10.222Z] ==> Searching for coverage reports in: [2023-11-08T04:30:10.222Z] + . [2023-11-08T04:30:10.222Z] -> Found 1 reports [2023-11-08T04:30:10.222Z] ==> Detecting git/mercurial file structure [2023-11-08T04:30:10.222Z] ==> Reading reports [2023-11-08T04:30:10.486Z] + ./coverage.out bytes=122153 [2023-11-08T04:30:10.486Z] ==> Appending adjustments [2023-11-08T04:30:10.486Z] https://docs.codecov.io/docs/fixing-reports [2023-11-08T04:30:10.745Z] + Found adjustments [2023-11-08T04:30:10.745Z] ==> Gzipping contents [2023-11-08T04:30:10.745Z] 20K /tmp/codecov.sOSvGU.gz [2023-11-08T04:30:10.745Z] ==> Uploading reports [2023-11-08T04:30:10.745Z] url: https://codecov.io [2023-11-08T04:30:10.745Z] query: branch=PR-1539&commit=25609c649f9c186cb9ea36c0446132d2c7203020&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1539%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1539&job=&cmd_args= [2023-11-08T04:30:10.745Z] -> Pinging Codecov [2023-11-08T04:30:10.745Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1539&commit=25609c649f9c186cb9ea36c0446132d2c7203020&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1539%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1539&job=&cmd_args= [2023-11-08T04:30:10.745Z] -> Uploading to [2023-11-08T04:30:10.745Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-08/7E55EF52A471D76F132DFD9A03CDDE97/25609c649f9c186cb9ea36c0446132d2c7203020/4fe9e5d3-95c1-44ea-8318-66dd618e79e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T043010Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a14e98348c4cdc76158ffacc2bd1a7389b339a0912d9930d6e141ebf7927b711 [2023-11-08T04:30:10.745Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-08T04:30:10.745Z] Dload Upload Total Spent Left Speed [2023-11-08T04:30:11.314Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16753 0 0 100 16753 0 48140 --:--:-- --:--:-- --:--:-- 48002 100 16753 0 0 100 16753 0 48002 --:--:-- --:--:-- --:--:-- 47865 [2023-11-08T04:30:11.314Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/25609c649f9c186cb9ea36c0446132d2c7203020 [Pipeline] } [2023-11-08T04:30:11.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-08T04:30:13.294Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives ] [2023-11-08T04:30:13.294Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives [2023-11-08T04:30:13.294Z] total 16 [2023-11-08T04:30:13.294Z] drwxr-xr-x 3 root root 4096 Nov 8 04:18 . [2023-11-08T04:30:13.294Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 04:18 .. [2023-11-08T04:30:13.294Z] drwxr-xr-x 2 root root 4096 Nov 8 04:18 cost [2023-11-08T04:30:13.294Z] -rw-r--r-- 1 root root 86 Nov 8 04:18 cost.csv [2023-11-08T04:30:13.294Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives [2023-11-08T04:30:13.294Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives [2023-11-08T04:30:13.294Z] total 16 [2023-11-08T04:30:13.294Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 04:18 . [2023-11-08T04:30:13.294Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 04:18 .. [2023-11-08T04:30:13.294Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 04:18 cost [2023-11-08T04:30:13.294Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 04:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:30:13.621Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:30:14.516Z] ---> package-listing.sh [2023-11-08T04:30:14.516Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-08T04:30:14.516Z] ++ facter osfamily [2023-11-08T04:30:14.776Z] + OS_FAMILY=debian [2023-11-08T04:30:14.776Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1539 [2023-11-08T04:30:14.776Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-08T04:30:14.776Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-08T04:30:14.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-08T04:30:14.776Z] + PACKAGES=/tmp/packages_start.txt [2023-11-08T04:30:14.776Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1539 ']' [2023-11-08T04:30:14.776Z] + PACKAGES=/tmp/packages_end.txt [2023-11-08T04:30:14.776Z] + case "${OS_FAMILY}" in [2023-11-08T04:30:14.776Z] + dpkg -l [2023-11-08T04:30:14.776Z] + grep '^ii' [2023-11-08T04:30:14.776Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-08T04:30:14.776Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-08T04:30:14.776Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-08T04:30:14.776Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1539 ']' [2023-11-08T04:30:14.776Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives/ [2023-11-08T04:30:14.776Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1539/archives/ [Pipeline] echo [2023-11-08T04:30:14.954Z] 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-1539/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-08T04:30:15.359Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-08T04:30:15.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-08T04:30:15.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-08T04:30:16.145Z] prd-ubuntu20.04-docker-8c-8g-16986 does not seem to be running inside a container [2023-11-08T04:30:16.168Z] $ 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-1539/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-1539 -v /w/workspace/gexfoundry_device-sdk-go_PR-1539:/w/workspace/gexfoundry_device-sdk-go_PR-1539:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1539@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-11-08T04:30:16.362Z] $ docker top e1c3c1027752c7d1c463cfc3cd5716e496e23ab376b973c8004b1b8e027dcb11 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-08T04:30:16.759Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-08T04:30:17.067Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-08T04:30:17.384Z] + ls /var/log/sa-host [2023-11-08T04:30:17.384Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-08T04:30:17.566Z] provisioning config files... [2023-11-08T04:30:17.575Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1539@tmp/config315502353791072834tmp [Pipeline] { [Pipeline] echo [2023-11-08T04:30:17.626Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:30:17.939Z] ---> create-netrc.sh [Pipeline] } [2023-11-08T04:30:17.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:30:18.385Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-08T04:30:18.420Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:30:18.739Z] ---> sudo-logs.sh [2023-11-08T04:30:18.739Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-08T04:30:18.843Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:30:19.163Z] ---> job-cost.sh [2023-11-08T04:30:19.163Z] lf-activate-venv: SKIPPING [2023-11-08T04:30:19.163Z] DEBUG: total: 0.2199999988079071 [2023-11-08T04:30:19.163Z] INFO: Retrieving Stack Cost... [2023-11-08T04:30:19.424Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-08T04:30:19.994Z] INFO: Archiving Costs [Pipeline] echo [2023-11-08T04:30:20.035Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-08T04:30:20.361Z] ---> logs-deploy.sh [2023-11-08T04:30:20.361Z] lf-activate-venv: SKIPPING [2023-11-08T04:30:20.361Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1539/1 [2023-11-08T04:30:20.361Z] INFO: archiving workspace using pattern(s): [2023-11-08T04:30:21.298Z] Archives upload complete. [2023-11-08T04:30:21.299Z] INFO: archiving logs to Nexus