Pull request #1538 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6+487ca8dbaf5a7983b4dd4e8681142a99360f28bf (f8b7a1cfa919f7c0f4af9cfe158109a5e966bb1e) 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-ssh5501313047745143638.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-ssh4941591798227305356.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-1538/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-1538/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16642806818639261812.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-1538/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh778995020973018150.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-ssh9916314299954680648.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-1538/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-1538/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3751134443324848268.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-16766 in /w/workspace/gexfoundry_device-sdk-go_PR-1538 [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-1538 # 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/1538/head:refs/remotes/origin/PR-1538 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 487ca8dbaf5a7983b4dd4e8681142a99360f28bf into PR head commit 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 Merge succeeded, producing 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 Checking out Revision 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 (PR-1538) > git config core.sparsecheckout # timeout=10 > git checkout -f 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 # 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 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 # timeout=10 Commit message: "build: Update to use released Go Mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-07T00:09:47.264Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-07T00:09:47.436Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-07T00:09:47.538Z] ========================================================= [2023-11-07T00:09:47.538Z] EdgeX Global Pipelines Version Info [2023-11-07T00:09:47.538Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:09:48.311Z] ------------------- [2023-11-07T00:09:48.311Z] stable info: [2023-11-07T00:09:48.311Z] ------------------- [2023-11-07T00:09:48.311Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-07T00:09:48.312Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-07T00:09:48.312Z] Message: update stable to v1.0.257 [2023-11-07T00:09:48.887Z] ------------------- [2023-11-07T00:09:48.887Z] experimental info: [2023-11-07T00:09:48.887Z] ------------------- [2023-11-07T00:09:48.887Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-07T00:09:48.887Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-07T00:09:48.887Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-07T00:09:49.182Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-07T00:09:49.220Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-07T00:09:49.257Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-07T00:09:49.300Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-07T00:09:49.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-07T00:09:49.388Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-07T00:09:49.433Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-07T00:09:49.474Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-07T00:09:49.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-07T00:09:49.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-07T00:09:49.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-07T00:09:49.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-07T00:09:49.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-07T00:09:49.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-07T00:09:49.843Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-07T00:09:49.882Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-07T00:09:49.923Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-07T00:09:49.966Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-07T00:09:50.013Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-07T00:09:50.056Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-07T00:09:50.095Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-07T00:09:50.139Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-07T00:09:50.178Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-07T00:09:50.220Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-07T00:09:50.262Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-07T00:09:50.301Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-07T00:09:50.337Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-07T00:09:50.376Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1538 [Pipeline] echo [2023-11-07T00:09:50.414Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1538 [Pipeline] echo [2023-11-07T00:09:50.450Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1538 [Pipeline] echo [2023-11-07T00:09:50.487Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [Pipeline] echo [2023-11-07T00:09:50.531Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37d1b51 [Pipeline] echo [2023-11-07T00:09:50.566Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:09:50.663Z] provisioning config files... [2023-11-07T00:09:50.676Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/config6473715346144820183tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:09:51.018Z] ---> docker-login.sh [2023-11-07T00:09:51.018Z] nexus3.edgexfoundry.org:10001 [2023-11-07T00:09:51.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:09:51.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:09:51.280Z] Configure a credential helper to remove this warning. See [2023-11-07T00:09:51.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:09:51.280Z] [2023-11-07T00:09:51.280Z] Login Succeeded [2023-11-07T00:09:51.280Z] nexus3.edgexfoundry.org:10002 [2023-11-07T00:09:51.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:09:51.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:09:51.280Z] Configure a credential helper to remove this warning. See [2023-11-07T00:09:51.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:09:51.280Z] [2023-11-07T00:09:51.280Z] Login Succeeded [2023-11-07T00:09:51.280Z] nexus3.edgexfoundry.org:10003 [2023-11-07T00:09:51.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:09:51.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:09:51.541Z] Configure a credential helper to remove this warning. See [2023-11-07T00:09:51.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:09:51.541Z] [2023-11-07T00:09:51.541Z] Login Succeeded [2023-11-07T00:09:51.541Z] nexus3.edgexfoundry.org:10004 [2023-11-07T00:09:51.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:09:51.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:09:51.541Z] Configure a credential helper to remove this warning. See [2023-11-07T00:09:51.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:09:51.541Z] [2023-11-07T00:09:51.541Z] Login Succeeded [2023-11-07T00:09:51.541Z] docker.io [2023-11-07T00:09:51.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:09:52.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:09:52.062Z] Configure a credential helper to remove this warning. See [2023-11-07T00:09:52.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:09:52.062Z] [2023-11-07T00:09:52.062Z] Login Succeeded [2023-11-07T00:09:52.062Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T00:09:52.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-07T00:09:52.703Z] + git rev-list -1 --merges 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6~1..37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [Pipeline] echo [2023-11-07T00:09:52.757Z] -----------> git rev-list -1 --merges 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6~1..37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [false] [Pipeline] sh [2023-11-07T00:09:53.064Z] + git log --format=format:%s -1 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [Pipeline] echo [2023-11-07T00:09:53.096Z] ========================================================= [2023-11-07T00:09:53.096Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-07T00:09:53.096Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T00:09:53.537Z] + git log --format=format:%s -1 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [Pipeline] echo [2023-11-07T00:09:53.569Z] [semverPrep] GIT_COMMIT: 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6, Commit Message: build: Update to use released Go Mods [Pipeline] echo [2023-11-07T00:09:53.599Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-07T00:09:53.968Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-07T00:09:53.968Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-07T00:09:53.968Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-07T00:09:53.968Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-07T00:09:53.968Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-07T00:09:53.968Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-07T00:09:53.968Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:09:54.396Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:09:54.396Z] [2023-11-07T00:09:54.396Z] 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-07T00:09:54.768Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:09:54.768Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-07T00:09:54.768Z] b85a868b505f: Pulling fs layer [2023-11-07T00:09:54.768Z] e2be974225ed: Pulling fs layer [2023-11-07T00:09:54.768Z] 339a4e72a1f5: Pulling fs layer [2023-11-07T00:09:54.768Z] 988bab9f4d93: Pulling fs layer [2023-11-07T00:09:54.768Z] 1469e6f7b9e6: Pulling fs layer [2023-11-07T00:09:54.768Z] eaf3925da568: Pulling fs layer [2023-11-07T00:09:54.768Z] bab4dde63d76: Pulling fs layer [2023-11-07T00:09:54.768Z] bde34c3a00c8: Pulling fs layer [2023-11-07T00:09:54.768Z] b352a97aabf1: Pulling fs layer [2023-11-07T00:09:54.768Z] 4872d77fe225: Pulling fs layer [2023-11-07T00:09:54.768Z] 5851b861e8e6: Pulling fs layer [2023-11-07T00:09:54.768Z] 988bab9f4d93: Waiting [2023-11-07T00:09:54.768Z] 1469e6f7b9e6: Waiting [2023-11-07T00:09:54.768Z] bab4dde63d76: Waiting [2023-11-07T00:09:54.768Z] b352a97aabf1: Waiting [2023-11-07T00:09:54.768Z] bde34c3a00c8: Waiting [2023-11-07T00:09:54.768Z] 4872d77fe225: Waiting [2023-11-07T00:09:54.768Z] 5851b861e8e6: Waiting [2023-11-07T00:09:54.768Z] e2be974225ed: Verifying Checksum [2023-11-07T00:09:54.768Z] e2be974225ed: Download complete [2023-11-07T00:09:54.768Z] 988bab9f4d93: Verifying Checksum [2023-11-07T00:09:54.768Z] 988bab9f4d93: Download complete [2023-11-07T00:09:54.768Z] 1469e6f7b9e6: Verifying Checksum [2023-11-07T00:09:54.768Z] 1469e6f7b9e6: Download complete [2023-11-07T00:09:54.768Z] eaf3925da568: Verifying Checksum [2023-11-07T00:09:54.768Z] eaf3925da568: Download complete [2023-11-07T00:09:54.768Z] 339a4e72a1f5: Verifying Checksum [2023-11-07T00:09:54.768Z] 339a4e72a1f5: Download complete [2023-11-07T00:09:55.027Z] bde34c3a00c8: Download complete [2023-11-07T00:09:55.027Z] b352a97aabf1: Verifying Checksum [2023-11-07T00:09:55.027Z] b352a97aabf1: Download complete [2023-11-07T00:09:55.027Z] 4872d77fe225: Verifying Checksum [2023-11-07T00:09:55.027Z] 4872d77fe225: Download complete [2023-11-07T00:09:55.027Z] 5851b861e8e6: Verifying Checksum [2023-11-07T00:09:55.027Z] 5851b861e8e6: Download complete [2023-11-07T00:09:55.027Z] b85a868b505f: Verifying Checksum [2023-11-07T00:09:55.027Z] b85a868b505f: Download complete [2023-11-07T00:09:55.284Z] bab4dde63d76: Verifying Checksum [2023-11-07T00:09:55.284Z] bab4dde63d76: Download complete [2023-11-07T00:09:56.220Z] b85a868b505f: Pull complete [2023-11-07T00:09:56.220Z] e2be974225ed: Pull complete [2023-11-07T00:09:56.786Z] 339a4e72a1f5: Pull complete [2023-11-07T00:09:56.786Z] 988bab9f4d93: Pull complete [2023-11-07T00:09:57.044Z] 1469e6f7b9e6: Pull complete [2023-11-07T00:09:57.301Z] eaf3925da568: Pull complete [2023-11-07T00:09:59.207Z] bab4dde63d76: Pull complete [2023-11-07T00:09:59.207Z] bde34c3a00c8: Pull complete [2023-11-07T00:09:59.207Z] b352a97aabf1: Pull complete [2023-11-07T00:09:59.207Z] 4872d77fe225: Pull complete [2023-11-07T00:09:59.467Z] 5851b861e8e6: Pull complete [2023-11-07T00:09:59.467Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-07T00:09:59.467Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-07T00:09:59.467Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:09:59.706Z] prd-ubuntu20.04-docker-8c-8g-16766 does not seem to be running inside a container [2023-11-07T00:09:59.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1538 -v /w/workspace/gexfoundry_device-sdk-go_PR-1538:/w/workspace/gexfoundry_device-sdk-go_PR-1538:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-07T00:10:05.345Z] $ docker top e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a -eo pid,comm [2023-11-07T00:10:05.395Z] 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-07T00:10:05.395Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-07T00:10:05.527Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T00:10:05.527Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T00:10:05.668Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T00:10:05.671Z] $ docker exec e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a ssh-agent [2023-11-07T00:10:05.817Z] SSH_AUTH_SOCK=/tmp/ssh-GJzPjO4pLAZN/agent.21 [2023-11-07T00:10:05.817Z] SSH_AGENT_PID=27 [2023-11-07T00:10:05.822Z] Running ssh-add (command line suppressed) [2023-11-07T00:10:05.915Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/private_key_5941831757126853686.key (/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/private_key_5941831757126853686.key) [2023-11-07T00:10:05.927Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T00:10:06.269Z] + git tag --points-at HEAD [Pipeline] } [2023-11-07T00:10:06.297Z] $ docker exec --env ******** --env ******** e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a ssh-agent -k [2023-11-07T00:10:06.410Z] unset SSH_AUTH_SOCK; [2023-11-07T00:10:06.411Z] unset SSH_AGENT_PID; [2023-11-07T00:10:06.411Z] echo Agent pid 27 killed; [2023-11-07T00:10:06.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-07T00:10:06.511Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-07T00:10:06.512Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-07T00:10:06.612Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-07T00:10:06.616Z] $ docker exec e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a ssh-agent [2023-11-07T00:10:06.742Z] SSH_AUTH_SOCK=/tmp/ssh-pzHThLWmZpQ4/agent.71 [2023-11-07T00:10:06.742Z] SSH_AGENT_PID=77 [2023-11-07T00:10:06.747Z] Running ssh-add (command line suppressed) [2023-11-07T00:10:06.846Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/private_key_13124098436388831248.key (/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/private_key_13124098436388831248.key) [2023-11-07T00:10:06.860Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-07T00:10:07.189Z] + git semver init [2023-11-07T00:10:07.449Z] 2023-11-07 00:10:07,375 [run_init] DEBUG init version:0.0.0 force:False [2023-11-07T00:10:07.449Z] 2023-11-07 00:10:07,376 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver [2023-11-07T00:10:07.449Z] 2023-11-07 00:10:07,377 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver [2023-11-07T00:10:07.449Z] 2023-11-07 00:10:07,378 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1538, universal_newlines=False, shell=None, istream=None) [2023-11-07T00:10:08.975Z] 2023-11-07 00:10:08,707 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538/.git/info/exclude [2023-11-07T00:10:08.975Z] 2023-11-07 00:10:08,707 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver/PR-1538 with force:False [2023-11-07T00:10:08.975Z] 2023-11-07 00:10:08,707 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver/PR-1538 [2023-11-07T00:10:08.975Z] 2023-11-07 00:10:08,709 [execute] INFO git cat-file --batch-check [2023-11-07T00:10:08.975Z] 2023-11-07 00:10:08,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver, universal_newlines=False, shell=None, istream=) [2023-11-07T00:10:08.975Z] 2023-11-07 00:10:08,714 [execute] INFO git cat-file --batch [2023-11-07T00:10:08.975Z] 2023-11-07 00:10:08,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver, universal_newlines=False, shell=None, istream=) [2023-11-07T00:10:08.975Z] 2023-11-07 00:10:08,719 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1538/.semver/PR-1538 [2023-11-07T00:10:08.975Z] 0.0.0 [Pipeline] } [2023-11-07T00:10:09.009Z] $ docker exec --env ******** --env ******** e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a ssh-agent -k [2023-11-07T00:10:09.132Z] unset SSH_AUTH_SOCK; [2023-11-07T00:10:09.133Z] unset SSH_AGENT_PID; [2023-11-07T00:10:09.133Z] echo Agent pid 77 killed; [2023-11-07T00:10:09.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-07T00:10:09.641Z] + git semver [Pipeline] } [2023-11-07T00:10:10.236Z] $ docker stop --time=1 e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a [2023-11-07T00:10:11.980Z] $ docker rm -f --volumes e7607fc8fd3b25cf30b26166df958cd364511b28528b6e0fb7dcb52bcf11c55a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T00:10:12.508Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-07T00:10:12.865Z] Stashed 1 file(s) [Pipeline] echo [2023-11-07T00:10:12.882Z] [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-07T00:10:13.451Z] provisioning config files... [2023-11-07T00:10:13.461Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/config6805381367536843543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:10:13.810Z] ---> docker-login.sh [2023-11-07T00:10:13.810Z] nexus3.edgexfoundry.org:10001 [2023-11-07T00:10:13.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:10:13.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:10:13.810Z] Configure a credential helper to remove this warning. See [2023-11-07T00:10:13.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:10:13.810Z] [2023-11-07T00:10:13.810Z] Login Succeeded [2023-11-07T00:10:13.810Z] nexus3.edgexfoundry.org:10002 [2023-11-07T00:10:13.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:10:13.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:10:13.810Z] Configure a credential helper to remove this warning. See [2023-11-07T00:10:13.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:10:13.810Z] [2023-11-07T00:10:13.810Z] Login Succeeded [2023-11-07T00:10:14.071Z] nexus3.edgexfoundry.org:10003 [2023-11-07T00:10:14.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:10:14.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:10:14.071Z] Configure a credential helper to remove this warning. See [2023-11-07T00:10:14.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:10:14.071Z] [2023-11-07T00:10:14.071Z] Login Succeeded [2023-11-07T00:10:14.071Z] nexus3.edgexfoundry.org:10004 [2023-11-07T00:10:14.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:10:14.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:10:14.071Z] Configure a credential helper to remove this warning. See [2023-11-07T00:10:14.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:10:14.071Z] [2023-11-07T00:10:14.071Z] Login Succeeded [2023-11-07T00:10:14.071Z] docker.io [2023-11-07T00:10:14.330Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:10:14.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:10:14.590Z] Configure a credential helper to remove this warning. See [2023-11-07T00:10:14.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:10:14.590Z] [2023-11-07T00:10:14.590Z] Login Succeeded [2023-11-07T00:10:14.590Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T00:10:14.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-07T00:10:14.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:10:14.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:10:14.863Z] ========================================================= [2023-11-07T00:10:14.863Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-07T00:10:14.863Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:10:15.340Z] + 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-07T00:10:15.340Z] Sending build context to Docker daemon 11.3MB [2023-11-07T00:10:15.340Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:10:15.340Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-07T00:10:15.340Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-07T00:10:15.340Z] 7264a8db6415: Pulling fs layer [2023-11-07T00:10:15.340Z] c4d48a809fc2: Pulling fs layer [2023-11-07T00:10:15.340Z] 4f1c88b9dad5: Pulling fs layer [2023-11-07T00:10:15.340Z] ad3a456e5733: Pulling fs layer [2023-11-07T00:10:15.340Z] 33e27b845d1e: Pulling fs layer [2023-11-07T00:10:15.340Z] c68163c4e522: Pulling fs layer [2023-11-07T00:10:15.340Z] 50da416c3ac9: Pulling fs layer [2023-11-07T00:10:15.340Z] 23d2d4c4bb30: Pulling fs layer [2023-11-07T00:10:15.340Z] 33e27b845d1e: Waiting [2023-11-07T00:10:15.340Z] 50da416c3ac9: Waiting [2023-11-07T00:10:15.340Z] c68163c4e522: Waiting [2023-11-07T00:10:15.340Z] 23d2d4c4bb30: Waiting [2023-11-07T00:10:15.340Z] ad3a456e5733: Waiting [2023-11-07T00:10:15.600Z] c4d48a809fc2: Download complete [2023-11-07T00:10:15.600Z] ad3a456e5733: Verifying Checksum [2023-11-07T00:10:15.600Z] ad3a456e5733: Download complete [2023-11-07T00:10:15.600Z] 33e27b845d1e: Download complete [2023-11-07T00:10:15.600Z] 7264a8db6415: Verifying Checksum [2023-11-07T00:10:15.600Z] 7264a8db6415: Download complete [2023-11-07T00:10:15.600Z] c68163c4e522: Verifying Checksum [2023-11-07T00:10:15.600Z] c68163c4e522: Download complete [2023-11-07T00:10:15.600Z] 7264a8db6415: Pull complete [2023-11-07T00:10:15.859Z] 23d2d4c4bb30: Verifying Checksum [2023-11-07T00:10:15.859Z] 23d2d4c4bb30: Download complete [2023-11-07T00:10:15.859Z] c4d48a809fc2: Pull complete [2023-11-07T00:10:15.859Z] 4f1c88b9dad5: Verifying Checksum [2023-11-07T00:10:15.859Z] 4f1c88b9dad5: Download complete [2023-11-07T00:10:16.424Z] 50da416c3ac9: Verifying Checksum [2023-11-07T00:10:16.424Z] 50da416c3ac9: Download complete [2023-11-07T00:10:18.959Z] 4f1c88b9dad5: Pull complete [2023-11-07T00:10:18.959Z] ad3a456e5733: Pull complete [2023-11-07T00:10:19.217Z] 33e27b845d1e: Pull complete [2023-11-07T00:10:19.217Z] c68163c4e522: Pull complete [2023-11-07T00:10:21.743Z] 50da416c3ac9: Pull complete [2023-11-07T00:10:22.002Z] 23d2d4c4bb30: Pull complete [2023-11-07T00:10:22.002Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-07T00:10:22.002Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-07T00:10:22.002Z] ---> 0786185ac409 [2023-11-07T00:10:22.002Z] Step 3/10 : ARG MAKE=make build [2023-11-07T00:10:27.277Z] ---> Running in 65bfc510eeb1 [2023-11-07T00:10:27.277Z] Removing intermediate container 65bfc510eeb1 [2023-11-07T00:10:27.277Z] ---> 41987eee1cd7 [2023-11-07T00:10:27.277Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-07T00:10:27.277Z] ---> Running in 99f9c093210e [2023-11-07T00:10:27.277Z] Removing intermediate container 99f9c093210e [2023-11-07T00:10:27.277Z] ---> 7472fd7a5caa [2023-11-07T00:10:27.277Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T00:10:27.277Z] ---> Running in 76568e79ff41 [2023-11-07T00:10:27.277Z] Removing intermediate container 76568e79ff41 [2023-11-07T00:10:27.277Z] ---> eb18216bfd7d [2023-11-07T00:10:27.277Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-07T00:10:27.277Z] ---> Running in fb3337ce8a2f [2023-11-07T00:10:27.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T00:10:27.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T00:10:27.277Z] OK: 264 MiB in 52 packages [2023-11-07T00:10:27.544Z] Removing intermediate container fb3337ce8a2f [2023-11-07T00:10:27.544Z] ---> 9e720d4a552a [2023-11-07T00:10:27.544Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-07T00:10:27.812Z] ---> 37e8d47afff9 [2023-11-07T00:10:27.812Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:10:27.812Z] ---> Running in b86106039172 [2023-11-07T00:10:28.280Z] Still waiting to schedule task [2023-11-07T00:10:28.280Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-07T00:11:14.498Z] Removing intermediate container b86106039172 [2023-11-07T00:11:14.498Z] ---> 8d5f469e2b7e [2023-11-07T00:11:14.498Z] Step 9/10 : COPY . . [2023-11-07T00:11:14.498Z] ---> 7c64f2040665 [2023-11-07T00:11:14.498Z] Step 10/10 : RUN ${MAKE} [2023-11-07T00:11:14.498Z] ---> Running in 74b6d34c0bad [2023-11-07T00:11:14.498Z] noop [2023-11-07T00:11:14.498Z] Removing intermediate container 74b6d34c0bad [2023-11-07T00:11:14.498Z] ---> 0587d4984a5d [2023-11-07T00:11:14.498Z] Successfully built 0587d4984a5d [2023-11-07T00:11:14.498Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:11:14.949Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-07T00:11:14.949Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:11:15.100Z] prd-ubuntu20.04-docker-8c-8g-16766 does not seem to be running inside a container [2023-11-07T00:11:15.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1538 -v /w/workspace/gexfoundry_device-sdk-go_PR-1538:/w/workspace/gexfoundry_device-sdk-go_PR-1538:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-07T00:11:15.887Z] $ docker top f5bccce67d53507382fcf3c92ed86359d3d60aa9468672e8c390ec0cfbe21d4a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:11:16.275Z] + go version [2023-11-07T00:11:16.276Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-07T00:11:16.308Z] $ docker stop --time=1 f5bccce67d53507382fcf3c92ed86359d3d60aa9468672e8c390ec0cfbe21d4a [2023-11-07T00:11:17.600Z] $ docker rm -f --volumes f5bccce67d53507382fcf3c92ed86359d3d60aa9468672e8c390ec0cfbe21d4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:11:18.323Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-07T00:11:18.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:11:18.480Z] prd-ubuntu20.04-docker-8c-8g-16766 does not seem to be running inside a container [2023-11-07T00:11:18.509Z] $ 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-1538 -v /w/workspace/gexfoundry_device-sdk-go_PR-1538:/w/workspace/gexfoundry_device-sdk-go_PR-1538:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-07T00:11:18.955Z] $ docker top f1a06673f203af53db28f77dbcc449d35435ea408e8356cd7a615f44af9b182b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:11:19.335Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1538 [Pipeline] fileExists [Pipeline] sh [2023-11-07T00:11:19.688Z] + make test [2023-11-07T00:11:19.688Z] go test -race -coverprofile=coverage.out ./... [2023-11-07T00:11:26.269Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-07T00:11:38.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-07T00:11:38.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-07T00:11:38.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-07T00:11:38.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-07T00:11:38.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-07T00:11:38.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-07T00:11:38.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-07T00:11:38.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-07T00:11:38.716Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.052s coverage: 27.6% of statements [2023-11-07T00:11:38.975Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.058s coverage: 81.5% of statements [2023-11-07T00:11:38.976Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.089s coverage: 86.0% of statements [2023-11-07T00:11:39.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.077s coverage: 71.8% of statements [2023-11-07T00:11:39.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-07T00:11:39.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-07T00:11:40.171Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-07T00:11:43.458Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.4% of statements [2023-11-07T00:11:43.458Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.967s coverage: 45.9% of statements [2023-11-07T00:11:43.458Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements [2023-11-07T00:11:43.458Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.092s coverage: 89.2% of statements [2023-11-07T00:11:43.458Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-11-07T00:12:01.546Z] GO111MODULE=on go vet ./... [2023-11-07T00:12:05.728Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-07T00:12:05.728Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-07T00:12:05.728Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-07T00:12:05.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-07T00:12:05.789Z] $ docker stop --time=1 f1a06673f203af53db28f77dbcc449d35435ea408e8356cd7a615f44af9b182b [2023-11-07T00:12:13.124Z] $ docker rm -f --volumes f1a06673f203af53db28f77dbcc449d35435ea408e8356cd7a615f44af9b182b [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T00:12:13.757Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T00:12:13.835Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-07T00:12:14.507Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T00:12:14.813Z] + ls -al . [2023-11-07T00:12:14.813Z] total 308 [2023-11-07T00:12:14.813Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 00:11 . [2023-11-07T00:12:14.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:09 .. [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 00:09 .dockerignore [2023-11-07T00:12:14.813Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:11 .git [2023-11-07T00:12:14.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:09 .github [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 00:09 .gitignore [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 00:09 .golangci.yml [2023-11-07T00:12:14.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:10 .semver [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 00:09 CHANGELOG.md [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:09 GOVERNANCE.md [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 7 00:09 Jenkinsfile [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 00:09 LICENSE [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 7 00:09 Makefile [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 00:09 OWNERS.md [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 7 00:09 README.md [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 00:10 VERSION [2023-11-07T00:12:14.813Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:09 bin [2023-11-07T00:12:14.813Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 7 00:11 coverage.out [2023-11-07T00:12:14.813Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 00:09 example [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 7 00:09 go.mod [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 7 00:09 go.sum [2023-11-07T00:12:14.813Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:09 internal [2023-11-07T00:12:14.813Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:09 openapi [2023-11-07T00:12:14.813Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 00:09 pkg [2023-11-07T00:12:14.813Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:09 snap [2023-11-07T00:12:14.813Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 00:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:12:15.196Z] + 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=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 --label arch=amd64 --label version=0.0.0 . [2023-11-07T00:12:15.196Z] Sending build context to Docker daemon 11.42MB [2023-11-07T00:12:15.196Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:12:15.196Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-07T00:12:15.196Z] ---> 0587d4984a5d [2023-11-07T00:12:15.197Z] Step 3/23 : ARG MAKE=make build [2023-11-07T00:12:15.782Z] ---> Running in 3e10c3dddb53 [2023-11-07T00:12:16.041Z] Removing intermediate container 3e10c3dddb53 [2023-11-07T00:12:16.041Z] ---> 8bf76f6a1532 [2023-11-07T00:12:16.041Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-07T00:12:16.300Z] ---> Running in bd4be94751fd [2023-11-07T00:12:16.558Z] Removing intermediate container bd4be94751fd [2023-11-07T00:12:16.558Z] ---> 4c9ea15a61ef [2023-11-07T00:12:16.558Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T00:12:16.558Z] ---> Running in 76143400b843 [2023-11-07T00:12:17.122Z] Removing intermediate container 76143400b843 [2023-11-07T00:12:17.122Z] ---> 5bcdd9a1ccf9 [2023-11-07T00:12:17.122Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-07T00:12:17.122Z] ---> Running in 1b4386610bbc [2023-11-07T00:12:17.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T00:12:17.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T00:12:17.945Z] OK: 264 MiB in 52 packages [2023-11-07T00:12:18.512Z] Removing intermediate container 1b4386610bbc [2023-11-07T00:12:18.512Z] ---> 8a7cd341a8e4 [2023-11-07T00:12:18.512Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-07T00:12:18.512Z] ---> 5b4bff237fb8 [2023-11-07T00:12:18.512Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:12:18.512Z] ---> Running in e3483ab0bf16 [2023-11-07T00:12:19.079Z] Removing intermediate container e3483ab0bf16 [2023-11-07T00:12:19.080Z] ---> 00274f364bc5 [2023-11-07T00:12:19.080Z] Step 9/23 : COPY . . [2023-11-07T00:12:20.065Z] ---> 0668c0c0e219 [2023-11-07T00:12:20.065Z] Step 10/23 : RUN ${MAKE} [2023-11-07T00:12:20.065Z] ---> Running in fca2d3c88d30 [2023-11-07T00:12:20.651Z] 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-07T00:12:47.312Z] Removing intermediate container fca2d3c88d30 [2023-11-07T00:12:47.313Z] ---> dd26522d9c98 [2023-11-07T00:12:47.313Z] Step 11/23 : FROM alpine:3.18 [2023-11-07T00:12:47.313Z] 3.18: Pulling from library/alpine [2023-11-07T00:12:47.313Z] 96526aa774ef: Pulling fs layer [2023-11-07T00:12:47.313Z] 96526aa774ef: Download complete [2023-11-07T00:12:47.313Z] 96526aa774ef: Pull complete [2023-11-07T00:12:47.313Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T00:12:47.313Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T00:12:47.313Z] ---> 8ca4688f4f35 [2023-11-07T00:12:47.313Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-07T00:12:47.313Z] ---> Running in 69cbf9850215 [2023-11-07T00:12:47.313Z] Removing intermediate container 69cbf9850215 [2023-11-07T00:12:47.313Z] ---> 98a4105c64ee [2023-11-07T00:12:47.313Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-07T00:12:47.313Z] ---> Running in b627c11118ac [2023-11-07T00:12:47.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-07T00:12:47.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-07T00:12:47.313Z] OK: 7 MiB in 15 packages [2023-11-07T00:12:47.313Z] Removing intermediate container b627c11118ac [2023-11-07T00:12:47.313Z] ---> a98748745bec [2023-11-07T00:12:47.313Z] Step 14/23 : WORKDIR / [2023-11-07T00:12:47.313Z] ---> Running in f6aa100657f7 [2023-11-07T00:12:47.313Z] Removing intermediate container f6aa100657f7 [2023-11-07T00:12:47.313Z] ---> c8ba308f65bb [2023-11-07T00:12:47.313Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-07T00:12:47.313Z] ---> 98ec112f030a [2023-11-07T00:12:47.313Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-07T00:12:47.313Z] ---> 64ff9b439e04 [2023-11-07T00:12:47.313Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-07T00:12:47.313Z] ---> 09c4d405066f [2023-11-07T00:12:47.313Z] Step 18/23 : EXPOSE 59999 [2023-11-07T00:12:47.313Z] ---> Running in 7b4fe67eaf76 [2023-11-07T00:12:47.571Z] Removing intermediate container 7b4fe67eaf76 [2023-11-07T00:12:47.571Z] ---> 900a7ad3c952 [2023-11-07T00:12:47.571Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-07T00:12:47.571Z] ---> Running in 45d7a06f7d33 [2023-11-07T00:12:47.571Z] Removing intermediate container 45d7a06f7d33 [2023-11-07T00:12:47.571Z] ---> 55c0b9b8a4ca [2023-11-07T00:12:47.571Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-07T00:12:47.571Z] ---> Running in 82ee576f2fb5 [2023-11-07T00:12:47.571Z] Removing intermediate container 82ee576f2fb5 [2023-11-07T00:12:47.571Z] ---> 4c107bad43d2 [2023-11-07T00:12:47.571Z] Step 21/23 : LABEL arch=amd64 [2023-11-07T00:12:47.571Z] ---> Running in b67b38e4ccd3 [2023-11-07T00:12:47.830Z] Removing intermediate container b67b38e4ccd3 [2023-11-07T00:12:47.830Z] ---> a807b434a10c [2023-11-07T00:12:47.830Z] Step 22/23 : LABEL git_sha=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [2023-11-07T00:12:47.830Z] ---> Running in 944b2751b68e [2023-11-07T00:12:47.830Z] Removing intermediate container 944b2751b68e [2023-11-07T00:12:47.830Z] ---> d5a72dc801b4 [2023-11-07T00:12:47.830Z] Step 23/23 : LABEL version=0.0.0 [2023-11-07T00:12:47.830Z] ---> Running in c0d2e9ff42ab [2023-11-07T00:12:47.830Z] Removing intermediate container c0d2e9ff42ab [2023-11-07T00:12:47.830Z] ---> e53541053825 [2023-11-07T00:12:47.830Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T00:12:47.830Z] Successfully built e53541053825 [2023-11-07T00:12:47.830Z] 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-07T00:12:48.661Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:12:48.661Z] [2023-11-07T00:12:48.661Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:12:49.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:12:49.040Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-07T00:12:49.040Z] 5eb5b503b376: Pulling fs layer [2023-11-07T00:12:49.040Z] 5c69ac0246d0: Pulling fs layer [2023-11-07T00:12:49.040Z] ec43610c2a17: Pulling fs layer [2023-11-07T00:12:49.040Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-07T00:12:49.040Z] 33b1e0a273af: Pulling fs layer [2023-11-07T00:12:49.040Z] 5d3b04190fa2: Pulling fs layer [2023-11-07T00:12:49.040Z] 2f39f015ded8: Pulling fs layer [2023-11-07T00:12:49.040Z] 3a2ae6a8a46f: Waiting [2023-11-07T00:12:49.040Z] 2f39f015ded8: Waiting [2023-11-07T00:12:49.040Z] 33b1e0a273af: Waiting [2023-11-07T00:12:49.040Z] 5d3b04190fa2: Waiting [2023-11-07T00:12:49.040Z] 5c69ac0246d0: Verifying Checksum [2023-11-07T00:12:49.040Z] 5c69ac0246d0: Download complete [2023-11-07T00:12:49.040Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-07T00:12:49.040Z] 3a2ae6a8a46f: Download complete [2023-11-07T00:12:49.040Z] 33b1e0a273af: Verifying Checksum [2023-11-07T00:12:49.040Z] 33b1e0a273af: Download complete [2023-11-07T00:12:49.040Z] 5d3b04190fa2: Verifying Checksum [2023-11-07T00:12:49.040Z] 5d3b04190fa2: Download complete [2023-11-07T00:12:49.040Z] ec43610c2a17: Verifying Checksum [2023-11-07T00:12:49.040Z] ec43610c2a17: Download complete [2023-11-07T00:12:49.300Z] 5eb5b503b376: Verifying Checksum [2023-11-07T00:12:49.300Z] 5eb5b503b376: Download complete [2023-11-07T00:12:49.866Z] 2f39f015ded8: Download complete [2023-11-07T00:12:50.434Z] 5eb5b503b376: Pull complete [2023-11-07T00:12:50.693Z] 5c69ac0246d0: Pull complete [2023-11-07T00:12:50.953Z] ec43610c2a17: Pull complete [2023-11-07T00:12:50.953Z] 3a2ae6a8a46f: Pull complete [2023-11-07T00:12:51.210Z] 33b1e0a273af: Pull complete [2023-11-07T00:12:51.468Z] 5d3b04190fa2: Pull complete [2023-11-07T00:12:55.649Z] 2f39f015ded8: Pull complete [2023-11-07T00:12:55.649Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-07T00:12:55.649Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:12:55.649Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:12:55.872Z] prd-ubuntu20.04-docker-8c-8g-16766 does not seem to be running inside a container [2023-11-07T00:12:55.900Z] $ 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-1538 -v /w/workspace/gexfoundry_device-sdk-go_PR-1538:/w/workspace/gexfoundry_device-sdk-go_PR-1538:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-07T00:13:01.808Z] $ docker top 847497494d4cc904e87ef660d73c527e9a07423570cef5c60c5fd004ad5268b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:13:02.247Z] ---> job-cost.sh [2023-11-07T00:13:02.247Z] lf-activate-venv: SKIPPING [2023-11-07T00:13:02.247Z] INFO: No Stack... [2023-11-07T00:13:02.508Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T00:13:03.075Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T00:13:03.399Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives/cost.csv [2023-11-07T00:13:03.399Z] + cut -d, -f6 [Pipeline] lock [2023-11-07T00:13:03.438Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] [2023-11-07T00:13:03.443Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] did not exist. Created. [2023-11-07T00:13:03.443Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T00:13:03.832Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-07T00:13:03.897Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T00:13:03.918Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T00:13:04.001Z] $ docker stop --time=1 847497494d4cc904e87ef660d73c527e9a07423570cef5c60c5fd004ad5268b7 [2023-11-07T00:13:05.149Z] $ docker rm -f --volumes 847497494d4cc904e87ef660d73c527e9a07423570cef5c60c5fd004ad5268b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-07T00:14:05.156Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16768 in /w/workspace/gexfoundry_device-sdk-go_PR-1538 [Pipeline] { [Pipeline] ws [2023-11-07T00:14:05.219Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-11-07T00:14:05.313Z] The recommended git tool is: git [2023-11-07T00:14:15.359Z] using credential edgex-jenkins-ssh [2023-11-07T00:14:15.375Z] Cloning the remote Git repository [2023-11-07T00:14:15.422Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-07T00:14:15.572Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-11-07T00:14:15.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-07T00:14:15.798Z] > git --version # timeout=10 [2023-11-07T00:14:15.824Z] > git --version # 'git version 2.25.1' [2023-11-07T00:14:15.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T00:14:16.094Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T00:14:18.039Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-07T00:14:18.086Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-07T00:14:18.993Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-07T00:14:19.054Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-07T00:14:19.055Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T00:14:19.072Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1538/head:refs/remotes/origin/PR-1538 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-07T00:14:19.763Z] Merging remotes/origin/main commit 487ca8dbaf5a7983b4dd4e8681142a99360f28bf into PR head commit 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [2023-11-07T00:14:20.127Z] Merge succeeded, producing 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [2023-11-07T00:14:20.128Z] Checking out Revision 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 (PR-1538) [2023-11-07T00:14:19.787Z] > git config core.sparsecheckout # timeout=10 [2023-11-07T00:14:19.873Z] > git checkout -f 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 # timeout=10 [2023-11-07T00:14:19.998Z] > git remote # timeout=10 [2023-11-07T00:14:20.024Z] > git config --get remote.origin.url # timeout=10 [2023-11-07T00:14:20.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-07T00:14:20.062Z] > git merge 487ca8dbaf5a7983b4dd4e8681142a99360f28bf # timeout=10 [2023-11-07T00:14:20.101Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-07T00:14:20.137Z] > git config core.sparsecheckout # timeout=10 [2023-11-07T00:14:20.154Z] > git checkout -f 37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 # timeout=10 [2023-11-07T00:14:23.723Z] Commit message: "build: Update to use released Go Mods" [2023-11-07T00:14:23.775Z] > git --version # timeout=10 [2023-11-07T00:14:23.786Z] > git --version # 'git version 2.25.1' [2023-11-07T00:14:23.807Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T00:14:24.886Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-07T00:14:24.886Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T00:14:24.886Z] Dload Upload Total Spent Left Speed [2023-11-07T00:14:24.886Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh [2023-11-07T00:14:25.723Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-07T00:14:26.076Z] + + sudo teesudo /etc/docker/daemon.new jq [2023-11-07T00:14:26.077Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-07T00:14:26.077Z] { [2023-11-07T00:14:26.077Z] "registry-mirrors": [ [2023-11-07T00:14:26.077Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-07T00:14:26.077Z] ], [2023-11-07T00:14:26.077Z] "bip": "10.250.0.254/24", [2023-11-07T00:14:26.077Z] "hosts": [ [2023-11-07T00:14:26.077Z] "tcp://0.0.0.0:5555", [2023-11-07T00:14:26.077Z] "unix:///var/run/docker.sock" [2023-11-07T00:14:26.077Z] ], [2023-11-07T00:14:26.077Z] "mtu": 1458, [2023-11-07T00:14:26.077Z] "selinux-enabled": true, [2023-11-07T00:14:26.077Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-07T00:14:26.077Z] } [Pipeline] sh [2023-11-07T00:14:26.423Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-07T00:14:26.782Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:14:45.132Z] provisioning config files... [2023-11-07T00:14:45.160Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6672564448504595931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:14:45.567Z] ---> docker-login.sh [2023-11-07T00:14:45.567Z] nexus3.edgexfoundry.org:10001 [2023-11-07T00:14:45.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:14:46.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:14:46.117Z] Configure a credential helper to remove this warning. See [2023-11-07T00:14:46.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:14:46.117Z] [2023-11-07T00:14:46.117Z] Login Succeeded [2023-11-07T00:14:46.117Z] nexus3.edgexfoundry.org:10002 [2023-11-07T00:14:46.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:14:46.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:14:46.662Z] Configure a credential helper to remove this warning. See [2023-11-07T00:14:46.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:14:46.662Z] [2023-11-07T00:14:46.662Z] Login Succeeded [2023-11-07T00:14:46.662Z] nexus3.edgexfoundry.org:10003 [2023-11-07T00:14:46.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:14:46.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:14:46.932Z] Configure a credential helper to remove this warning. See [2023-11-07T00:14:46.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:14:46.932Z] [2023-11-07T00:14:46.932Z] Login Succeeded [2023-11-07T00:14:46.932Z] nexus3.edgexfoundry.org:10004 [2023-11-07T00:14:47.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:14:47.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:14:47.474Z] Configure a credential helper to remove this warning. See [2023-11-07T00:14:47.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:14:47.474Z] [2023-11-07T00:14:47.474Z] Login Succeeded [2023-11-07T00:14:47.474Z] docker.io [2023-11-07T00:14:47.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-07T00:14:48.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-07T00:14:48.020Z] Configure a credential helper to remove this warning. See [2023-11-07T00:14:48.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-07T00:14:48.020Z] [2023-11-07T00:14:48.020Z] Login Succeeded [2023-11-07T00:14:48.020Z] ---> docker-login.sh ends [Pipeline] } [2023-11-07T00:14:48.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-07T00:14:48.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:14:48.505Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-07T00:14:48.539Z] ========================================================= [2023-11-07T00:14:48.539Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-07T00:14:48.539Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:14:49.043Z] + 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-07T00:14:49.644Z] Sending build context to Docker daemon 6.062MB [2023-11-07T00:14:49.645Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:14:49.645Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-07T00:14:49.645Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-07T00:14:49.645Z] 9fda8d8052c6: Pulling fs layer [2023-11-07T00:14:49.645Z] 5d54e960e981: Pulling fs layer [2023-11-07T00:14:49.645Z] c4a7e357bf2a: Pulling fs layer [2023-11-07T00:14:49.645Z] f0e02332f6b5: Pulling fs layer [2023-11-07T00:14:49.645Z] cefa15bbcfad: Pulling fs layer [2023-11-07T00:14:49.645Z] 17808c966233: Pulling fs layer [2023-11-07T00:14:49.645Z] f4c1fc716caa: Pulling fs layer [2023-11-07T00:14:49.645Z] cefa15bbcfad: Waiting [2023-11-07T00:14:49.645Z] 17808c966233: Waiting [2023-11-07T00:14:49.645Z] f4c1fc716caa: Waiting [2023-11-07T00:14:49.645Z] f0e02332f6b5: Waiting [2023-11-07T00:14:49.645Z] 5d54e960e981: Verifying Checksum [2023-11-07T00:14:49.645Z] 5d54e960e981: Download complete [2023-11-07T00:14:49.915Z] f0e02332f6b5: Download complete [2023-11-07T00:14:49.915Z] cefa15bbcfad: Verifying Checksum [2023-11-07T00:14:49.915Z] cefa15bbcfad: Download complete [2023-11-07T00:14:49.915Z] 9fda8d8052c6: Download complete [2023-11-07T00:14:50.507Z] f4c1fc716caa: Verifying Checksum [2023-11-07T00:14:50.507Z] f4c1fc716caa: Download complete [2023-11-07T00:14:50.780Z] 9fda8d8052c6: Pull complete [2023-11-07T00:14:51.377Z] 5d54e960e981: Pull complete [2023-11-07T00:14:51.648Z] c4a7e357bf2a: Verifying Checksum [2023-11-07T00:14:51.648Z] c4a7e357bf2a: Download complete [2023-11-07T00:14:52.617Z] 17808c966233: Verifying Checksum [2023-11-07T00:14:52.617Z] 17808c966233: Download complete [2023-11-07T00:15:04.951Z] c4a7e357bf2a: Pull complete [2023-11-07T00:15:04.951Z] f0e02332f6b5: Pull complete [2023-11-07T00:15:05.219Z] cefa15bbcfad: Pull complete [2023-11-07T00:15:13.478Z] 17808c966233: Pull complete [2023-11-07T00:15:14.904Z] f4c1fc716caa: Pull complete [2023-11-07T00:15:14.904Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-07T00:15:14.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-07T00:15:14.904Z] ---> ea914061e18c [2023-11-07T00:15:14.904Z] Step 3/10 : ARG MAKE=make build [2023-11-07T00:15:15.497Z] ---> Running in 002fbe8c5672 [2023-11-07T00:15:15.766Z] Removing intermediate container 002fbe8c5672 [2023-11-07T00:15:15.766Z] ---> 1f9262e4ea9e [2023-11-07T00:15:15.766Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-07T00:15:15.766Z] ---> Running in c44f1e352547 [2023-11-07T00:15:16.353Z] Removing intermediate container c44f1e352547 [2023-11-07T00:15:16.353Z] ---> 5e1c7be3e976 [2023-11-07T00:15:16.353Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T00:15:16.353Z] ---> Running in a5744e5c9347 [2023-11-07T00:15:16.623Z] Removing intermediate container a5744e5c9347 [2023-11-07T00:15:16.623Z] ---> cea7f59ca8c2 [2023-11-07T00:15:16.623Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-07T00:15:16.623Z] ---> Running in 127cc5e8df23 [2023-11-07T00:15:18.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:15:18.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:15:19.718Z] OK: 266 MiB in 52 packages [2023-11-07T00:15:23.071Z] Removing intermediate container 127cc5e8df23 [2023-11-07T00:15:23.071Z] ---> 339f0f8e0077 [2023-11-07T00:15:23.071Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-07T00:15:23.071Z] ---> 8f4c4760ebb5 [2023-11-07T00:15:23.071Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:15:23.071Z] ---> Running in 795ae8455f2f [2023-11-07T00:16:44.747Z] Removing intermediate container 795ae8455f2f [2023-11-07T00:16:44.747Z] ---> 33abf03aa567 [2023-11-07T00:16:44.747Z] Step 9/10 : COPY . . [2023-11-07T00:16:45.017Z] ---> 0883c25d7502 [2023-11-07T00:16:45.017Z] Step 10/10 : RUN ${MAKE} [2023-11-07T00:16:45.017Z] ---> Running in 832a714b7614 [2023-11-07T00:16:50.130Z] noop [2023-11-07T00:16:50.130Z] Removing intermediate container 832a714b7614 [2023-11-07T00:16:50.130Z] ---> c672a8a0deab [2023-11-07T00:16:50.130Z] Successfully built c672a8a0deab [2023-11-07T00:16:50.130Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:16:50.614Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T00:16:50.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:16:50.923Z] prd-ubuntu20.04-docker-arm64-4c-16g-16768 does not seem to be running inside a container [2023-11-07T00:16:50.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-07T00:16:52.327Z] $ docker top b686d5dea49dacbdd72dddfc63b27ceecf76b19a3e5965b3d77cacdb4ba1a29f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:16:53.233Z] + go version [2023-11-07T00:16:53.233Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-07T00:16:53.277Z] $ docker stop --time=1 b686d5dea49dacbdd72dddfc63b27ceecf76b19a3e5965b3d77cacdb4ba1a29f [2023-11-07T00:16:54.952Z] $ docker rm -f --volumes b686d5dea49dacbdd72dddfc63b27ceecf76b19a3e5965b3d77cacdb4ba1a29f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:16:55.843Z] + docker inspect -f . ci-base-image-arm64 [2023-11-07T00:16:55.843Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:16:56.115Z] prd-ubuntu20.04-docker-arm64-4c-16g-16768 does not seem to be running inside a container [2023-11-07T00:16:56.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-07T00:16:57.451Z] $ docker top 053ebc3418f3a9f7c78d9ed60e9d02a3d6872bd5554f31506a267cf39bdd8b7a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:16:58.347Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-07T00:16:59.062Z] + make test [2023-11-07T00:16:59.062Z] go test -race -coverprofile=coverage.out ./... [2023-11-07T00:17:37.940Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-07T00:19:29.609Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-07T00:19:29.609Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-07T00:19:29.609Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-07T00:19:29.609Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-07T00:19:29.609Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-07T00:19:29.609Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.207s coverage: 27.6% of statements [2023-11-07T00:19:39.710Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.249s coverage: 81.5% of statements [2023-11-07T00:19:47.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-07T00:19:47.910Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-07T00:19:48.873Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.331s coverage: 86.0% of statements [2023-11-07T00:19:54.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-07T00:19:55.171Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.413s coverage: 71.8% of statements [2023-11-07T00:19:58.523Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.288s coverage: 14.4% of statements [2023-11-07T00:19:58.523Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.793s coverage: 45.9% of statements [2023-11-07T00:19:58.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-07T00:19:58.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-07T00:19:59.935Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.396s coverage: 68.5% of statements [2023-11-07T00:20:03.289Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.432s coverage: 89.2% of statements [2023-11-07T00:20:03.289Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-07T00:20:04.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.229s coverage: 5.5% of statements [2023-11-07T00:20:05.274Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-07T00:20:05.274Z] GO111MODULE=on go vet ./... [2023-11-07T00:22:11.945Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-07T00:22:11.946Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-07T00:22:11.946Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-07T00:22:11.988Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-07T00:22:12.019Z] $ docker stop --time=1 053ebc3418f3a9f7c78d9ed60e9d02a3d6872bd5554f31506a267cf39bdd8b7a [2023-11-07T00:22:16.691Z] $ docker rm -f --volumes 053ebc3418f3a9f7c78d9ed60e9d02a3d6872bd5554f31506a267cf39bdd8b7a [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-07T00:22:18.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-07T00:22:18.530Z] Warning: overwriting stash ‘coverage-report’ [2023-11-07T00:22:19.294Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-07T00:22:19.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-07T00:22:20.298Z] + ls -al . [2023-11-07T00:22:20.298Z] total 304 [2023-11-07T00:22:20.298Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 00:17 . [2023-11-07T00:22:20.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:14 .. [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 00:14 .dockerignore [2023-11-07T00:22:20.298Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 00:14 .git [2023-11-07T00:22:20.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:14 .github [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 00:14 .gitignore [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 7 00:14 .golangci.yml [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 00:14 CHANGELOG.md [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 00:14 GOVERNANCE.md [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 7 00:14 Jenkinsfile [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 00:14 LICENSE [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 7 00:14 Makefile [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 00:14 OWNERS.md [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 7 00:14 README.md [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 00:10 VERSION [2023-11-07T00:22:20.298Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 00:14 bin [2023-11-07T00:22:20.298Z] -rw-r--r-- 1 jenkins jenkins 122155 Nov 7 00:20 coverage.out [2023-11-07T00:22:20.298Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 00:14 example [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 7 00:14 go.mod [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 7 00:14 go.sum [2023-11-07T00:22:20.298Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:14 internal [2023-11-07T00:22:20.298Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 00:14 openapi [2023-11-07T00:22:20.298Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 00:14 pkg [2023-11-07T00:22:20.298Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 00:14 snap [2023-11-07T00:22:20.298Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 00:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:22:20.742Z] + 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=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 --label arch=arm64 --label version=0.0.0 . [2023-11-07T00:22:21.354Z] Sending build context to Docker daemon 6.184MB [2023-11-07T00:22:21.354Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-07T00:22:21.354Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-07T00:22:21.354Z] ---> c672a8a0deab [2023-11-07T00:22:21.354Z] Step 3/23 : ARG MAKE=make build [2023-11-07T00:22:21.354Z] ---> Running in 7e491c1f1b83 [2023-11-07T00:22:21.631Z] Removing intermediate container 7e491c1f1b83 [2023-11-07T00:22:21.631Z] ---> a8da460baa5b [2023-11-07T00:22:21.631Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-07T00:22:21.904Z] ---> Running in 118a18f1d766 [2023-11-07T00:22:22.171Z] Removing intermediate container 118a18f1d766 [2023-11-07T00:22:22.171Z] ---> 1544e90bf096 [2023-11-07T00:22:22.171Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-07T00:22:22.171Z] ---> Running in 73cfe6a017a6 [2023-11-07T00:22:22.440Z] Removing intermediate container 73cfe6a017a6 [2023-11-07T00:22:22.440Z] ---> 0a57a9144f7b [2023-11-07T00:22:22.440Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-07T00:22:22.710Z] ---> Running in 9f1897d445b5 [2023-11-07T00:22:23.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:22:23.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:22:25.355Z] OK: 266 MiB in 52 packages [2023-11-07T00:22:25.939Z] Removing intermediate container 9f1897d445b5 [2023-11-07T00:22:25.939Z] ---> fb0dfbd4a721 [2023-11-07T00:22:25.939Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-07T00:22:26.530Z] ---> d5e422bd3ea0 [2023-11-07T00:22:26.530Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-07T00:22:26.530Z] ---> Running in 099188ef5766 [2023-11-07T00:22:31.873Z] Removing intermediate container 099188ef5766 [2023-11-07T00:22:31.873Z] ---> c8dd409ec5d7 [2023-11-07T00:22:31.873Z] Step 9/23 : COPY . . [2023-11-07T00:22:33.283Z] ---> e0622299f2b4 [2023-11-07T00:22:33.283Z] Step 10/23 : RUN ${MAKE} [2023-11-07T00:22:33.283Z] ---> Running in 9fefd69ebe26 [2023-11-07T00:22:34.248Z] 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-07T00:24:25.895Z] Removing intermediate container 9fefd69ebe26 [2023-11-07T00:24:25.895Z] ---> ff5eca6dc391 [2023-11-07T00:24:25.895Z] Step 11/23 : FROM alpine:3.18 [2023-11-07T00:24:25.895Z] 3.18: Pulling from library/alpine [2023-11-07T00:24:25.895Z] 579b34f0a95b: Pulling fs layer [2023-11-07T00:24:25.895Z] 579b34f0a95b: Verifying Checksum [2023-11-07T00:24:25.895Z] 579b34f0a95b: Download complete [2023-11-07T00:24:25.895Z] 579b34f0a95b: Pull complete [2023-11-07T00:24:25.895Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-07T00:24:25.895Z] Status: Downloaded newer image for alpine:3.18 [2023-11-07T00:24:25.895Z] ---> 3cc203321400 [2023-11-07T00:24:25.895Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-07T00:24:25.895Z] ---> Running in 05616128abfd [2023-11-07T00:24:25.895Z] Removing intermediate container 05616128abfd [2023-11-07T00:24:25.895Z] ---> 6e53bb7f9454 [2023-11-07T00:24:25.895Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-07T00:24:25.895Z] ---> Running in 6c66960e0dc6 [2023-11-07T00:24:25.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-07T00:24:25.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-07T00:24:25.895Z] OK: 8 MiB in 15 packages [2023-11-07T00:24:27.830Z] Removing intermediate container 6c66960e0dc6 [2023-11-07T00:24:27.830Z] ---> de94fbf3b86c [2023-11-07T00:24:27.830Z] Step 14/23 : WORKDIR / [2023-11-07T00:24:27.830Z] ---> Running in 742fccaf816e [2023-11-07T00:24:28.097Z] Removing intermediate container 742fccaf816e [2023-11-07T00:24:28.097Z] ---> c9a90b7997cf [2023-11-07T00:24:28.097Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-07T00:24:28.681Z] ---> bced0664b7fd [2023-11-07T00:24:28.681Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-07T00:24:30.091Z] ---> e6adb969ae2a [2023-11-07T00:24:30.091Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-07T00:24:30.696Z] ---> 5c3212dc6326 [2023-11-07T00:24:30.696Z] Step 18/23 : EXPOSE 59999 [2023-11-07T00:24:30.965Z] ---> Running in 61f575c1a041 [2023-11-07T00:24:31.546Z] Removing intermediate container 61f575c1a041 [2023-11-07T00:24:31.546Z] ---> 23555d60363a [2023-11-07T00:24:31.546Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-07T00:24:31.546Z] ---> Running in b3a86aed68c0 [2023-11-07T00:24:31.814Z] Removing intermediate container b3a86aed68c0 [2023-11-07T00:24:31.814Z] ---> ffb58ee57050 [2023-11-07T00:24:31.814Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-07T00:24:32.087Z] ---> Running in 96d8e68d611e [2023-11-07T00:24:32.353Z] Removing intermediate container 96d8e68d611e [2023-11-07T00:24:32.353Z] ---> 837f6318bc6b [2023-11-07T00:24:32.353Z] Step 21/23 : LABEL arch=arm64 [2023-11-07T00:24:32.353Z] ---> Running in 66375e08e9b4 [2023-11-07T00:24:32.620Z] Removing intermediate container 66375e08e9b4 [2023-11-07T00:24:32.620Z] ---> 72b7562f2362 [2023-11-07T00:24:32.620Z] Step 22/23 : LABEL git_sha=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [2023-11-07T00:24:32.620Z] ---> Running in 7d117ef5fc7f [2023-11-07T00:24:32.889Z] Removing intermediate container 7d117ef5fc7f [2023-11-07T00:24:32.890Z] ---> 143e32d553ea [2023-11-07T00:24:32.890Z] Step 23/23 : LABEL version=0.0.0 [2023-11-07T00:24:33.155Z] ---> Running in 4666cfe638c3 [2023-11-07T00:24:33.421Z] Removing intermediate container 4666cfe638c3 [2023-11-07T00:24:33.421Z] ---> ebcc4d02b032 [2023-11-07T00:24:33.421Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-07T00:24:33.421Z] Successfully built ebcc4d02b032 [2023-11-07T00:24:33.421Z] 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-07T00:24:34.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:24:34.212Z] [2023-11-07T00:24:34.212Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:24:34.604Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:24:34.604Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-07T00:24:34.604Z] 8998bd30e6a1: Pulling fs layer [2023-11-07T00:24:34.604Z] 04944245beec: Pulling fs layer [2023-11-07T00:24:34.604Z] 699f458cf7ca: Pulling fs layer [2023-11-07T00:24:34.604Z] 765212b225bb: Pulling fs layer [2023-11-07T00:24:34.604Z] f23df028b6ca: Pulling fs layer [2023-11-07T00:24:34.604Z] d65c8cfc05b1: Pulling fs layer [2023-11-07T00:24:34.604Z] 2437ff75d9bd: Pulling fs layer [2023-11-07T00:24:34.604Z] f23df028b6ca: Waiting [2023-11-07T00:24:34.604Z] d65c8cfc05b1: Waiting [2023-11-07T00:24:34.604Z] 765212b225bb: Waiting [2023-11-07T00:24:34.604Z] 2437ff75d9bd: Waiting [2023-11-07T00:24:34.871Z] 04944245beec: Verifying Checksum [2023-11-07T00:24:34.871Z] 04944245beec: Download complete [2023-11-07T00:24:34.871Z] 765212b225bb: Verifying Checksum [2023-11-07T00:24:34.871Z] 765212b225bb: Download complete [2023-11-07T00:24:34.871Z] f23df028b6ca: Verifying Checksum [2023-11-07T00:24:34.871Z] f23df028b6ca: Download complete [2023-11-07T00:24:34.871Z] d65c8cfc05b1: Verifying Checksum [2023-11-07T00:24:34.871Z] d65c8cfc05b1: Download complete [2023-11-07T00:24:35.139Z] 699f458cf7ca: Verifying Checksum [2023-11-07T00:24:35.139Z] 699f458cf7ca: Download complete [2023-11-07T00:24:35.407Z] 8998bd30e6a1: Verifying Checksum [2023-11-07T00:24:35.407Z] 8998bd30e6a1: Download complete [2023-11-07T00:24:37.987Z] 2437ff75d9bd: Verifying Checksum [2023-11-07T00:24:37.987Z] 2437ff75d9bd: Download complete [2023-11-07T00:24:41.331Z] 8998bd30e6a1: Pull complete [2023-11-07T00:24:41.600Z] 04944245beec: Pull complete [2023-11-07T00:24:43.544Z] 699f458cf7ca: Pull complete [2023-11-07T00:24:43.544Z] 765212b225bb: Pull complete [2023-11-07T00:24:44.505Z] f23df028b6ca: Pull complete [2023-11-07T00:24:44.505Z] d65c8cfc05b1: Pull complete [2023-11-07T00:25:02.694Z] 2437ff75d9bd: Pull complete [2023-11-07T00:25:02.694Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-07T00:25:02.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-07T00:25:02.694Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:25:03.028Z] prd-ubuntu20.04-docker-arm64-4c-16g-16768 does not seem to be running inside a container [2023-11-07T00:25:03.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-07T00:25:05.943Z] $ docker top 52375bd30cd930d537c49177138eeeca111480adb83e7471892a8298235b594d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:25:08.390Z] ---> job-cost.sh [2023-11-07T00:25:08.390Z] lf-activate-venv: SKIPPING [2023-11-07T00:25:08.390Z] INFO: No Stack... [2023-11-07T00:25:08.390Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-07T00:25:09.349Z] INFO: Archiving Costs [Pipeline] sh [2023-11-07T00:25:10.007Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-11-07T00:25:10.007Z] + cut -d, -f6 [Pipeline] lock [2023-11-07T00:25:10.099Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] [2023-11-07T00:25:10.107Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] did not exist. Created. [2023-11-07T00:25:10.107Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-07T00:25:10.835Z] /w/workspace/device-sdk-go/1@tmp/durable-edbaac9f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-07T00:25:11.502Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-07T00:25:11.540Z] Warning: overwriting stash ‘stack-cost’ [2023-11-07T00:25:11.627Z] Stashed 1 file(s) [Pipeline] } [2023-11-07T00:25:11.645Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1538-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-07T00:25:11.717Z] $ docker stop --time=1 52375bd30cd930d537c49177138eeeca111480adb83e7471892a8298235b594d [2023-11-07T00:25:13.256Z] $ docker rm -f --volumes 52375bd30cd930d537c49177138eeeca111480adb83e7471892a8298235b594d [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-07T00:25:14.247Z] provisioning config files... [2023-11-07T00:25:14.280Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/config17834564468959895520tmp [Pipeline] { [Pipeline] sh [2023-11-07T00:25:14.595Z] + set +x [2023-11-07T00:25:14.595Z] + curl -s https://codecov.io/bash [2023-11-07T00:25:14.595Z] + bash -s -- [2023-11-07T00:25:14.595Z] [2023-11-07T00:25:14.595Z] _____ _ [2023-11-07T00:25:14.595Z] / ____| | | [2023-11-07T00:25:14.595Z] | | ___ __| | ___ ___ _____ __ [2023-11-07T00:25:14.595Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-07T00:25:14.595Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-07T00:25:14.595Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-07T00:25:14.595Z] Bash-1.0.6 [2023-11-07T00:25:14.595Z] [2023-11-07T00:25:14.595Z] [2023-11-07T00:25:14.595Z] ==> git version 2.25.1 found [2023-11-07T00:25:14.595Z] ==> 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-07T00:25:14.595Z] Release-Date: 2020-01-08 [2023-11-07T00:25:14.595Z] 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-07T00:25:14.595Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-07T00:25:14.595Z] ==> Jenkins CI detected. [2023-11-07T00:25:14.595Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1538 [2023-11-07T00:25:14.595Z] project root: . [2023-11-07T00:25:14.595Z] --> token set from env [2023-11-07T00:25:14.595Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-07T00:25:14.595Z] ==> Running gcov in . (disable via -X gcov) [2023-11-07T00:25:14.595Z] ==> Python coveragepy not found [2023-11-07T00:25:14.595Z] ==> Searching for coverage reports in: [2023-11-07T00:25:14.595Z] + . [2023-11-07T00:25:14.595Z] -> Found 1 reports [2023-11-07T00:25:14.595Z] ==> Detecting git/mercurial file structure [2023-11-07T00:25:14.595Z] ==> Reading reports [2023-11-07T00:25:14.595Z] + ./coverage.out bytes=122155 [2023-11-07T00:25:14.854Z] ==> Appending adjustments [2023-11-07T00:25:14.854Z] https://docs.codecov.io/docs/fixing-reports [2023-11-07T00:25:15.116Z] + Found adjustments [2023-11-07T00:25:15.116Z] ==> Gzipping contents [2023-11-07T00:25:15.116Z] 20K /tmp/codecov.loxxDA.gz [2023-11-07T00:25:15.116Z] ==> Uploading reports [2023-11-07T00:25:15.116Z] url: https://codecov.io [2023-11-07T00:25:15.116Z] query: branch=PR-1538&commit=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1538&job=&cmd_args= [2023-11-07T00:25:15.116Z] -> Pinging Codecov [2023-11-07T00:25:15.116Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1538&commit=37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1538%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1538&job=&cmd_args= [2023-11-07T00:25:15.116Z] -> Uploading to [2023-11-07T00:25:15.116Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-07/7E55EF52A471D76F132DFD9A03CDDE97/37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6/44e1c13c-f0fd-4161-8e71-9092486f0c07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231107T002515Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5dc4b8767dc7208a732808377dcea2f77383c37cfc02b73901823af9eee209ce [2023-11-07T00:25:15.116Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-07T00:25:15.116Z] Dload Upload Total Spent Left Speed [2023-11-07T00:25:15.378Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 62256 --:--:-- --:--:-- --:--:-- 62025 100 16747 0 0 100 16747 0 62025 --:--:-- --:--:-- --:--:-- 62025 [2023-11-07T00:25:15.378Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/37d1b51bca082dcb4adff26b8f67afbe5c6a3ff6 [Pipeline] } [2023-11-07T00:25:15.405Z] 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-07T00:25:17.182Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives ] [2023-11-07T00:25:17.183Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives [2023-11-07T00:25:17.183Z] total 16 [2023-11-07T00:25:17.183Z] drwxr-xr-x 3 root root 4096 Nov 7 00:13 . [2023-11-07T00:25:17.183Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:13 .. [2023-11-07T00:25:17.183Z] drwxr-xr-x 2 root root 4096 Nov 7 00:13 cost [2023-11-07T00:25:17.183Z] -rw-r--r-- 1 root root 86 Nov 7 00:13 cost.csv [2023-11-07T00:25:17.183Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives [2023-11-07T00:25:17.183Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives [2023-11-07T00:25:17.183Z] total 16 [2023-11-07T00:25:17.183Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 00:13 . [2023-11-07T00:25:17.183Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 00:13 .. [2023-11-07T00:25:17.183Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 00:13 cost [2023-11-07T00:25:17.183Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 00:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:25:17.516Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:25:18.399Z] ---> package-listing.sh [2023-11-07T00:25:18.399Z] ++ facter osfamily [2023-11-07T00:25:18.399Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-07T00:25:18.657Z] + OS_FAMILY=debian [2023-11-07T00:25:18.658Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1538 [2023-11-07T00:25:18.658Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-07T00:25:18.658Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-07T00:25:18.658Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-07T00:25:18.658Z] + PACKAGES=/tmp/packages_start.txt [2023-11-07T00:25:18.658Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1538 ']' [2023-11-07T00:25:18.658Z] + PACKAGES=/tmp/packages_end.txt [2023-11-07T00:25:18.658Z] + case "${OS_FAMILY}" in [2023-11-07T00:25:18.658Z] + dpkg -l [2023-11-07T00:25:18.658Z] + grep '^ii' [2023-11-07T00:25:18.658Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-07T00:25:18.658Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-07T00:25:18.658Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-07T00:25:18.658Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1538 ']' [2023-11-07T00:25:18.658Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives/ [2023-11-07T00:25:18.658Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1538/archives/ [Pipeline] echo [2023-11-07T00:25:18.690Z] 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-1538/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-07T00:25:18.981Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-07T00:25:19.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-07T00:25:19.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-07T00:25:19.744Z] prd-ubuntu20.04-docker-8c-8g-16766 does not seem to be running inside a container [2023-11-07T00:25:19.770Z] $ 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-1538/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-1538 -v /w/workspace/gexfoundry_device-sdk-go_PR-1538:/w/workspace/gexfoundry_device-sdk-go_PR-1538:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-07T00:25:19.983Z] $ docker top 0f767dc7bedfe2c8f004e6debcf8961339450e4c1b0c0b99b67d644d00daa6d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-07T00:25:20.373Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-07T00:25:20.680Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-07T00:25:20.994Z] + ls /var/log/sa-host [2023-11-07T00:25:20.994Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-07T00:25:21.127Z] provisioning config files... [2023-11-07T00:25:21.137Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1538@tmp/config10527079630961625052tmp [Pipeline] { [Pipeline] echo [2023-11-07T00:25:21.192Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:25:21.511Z] ---> create-netrc.sh [Pipeline] } [2023-11-07T00:25:21.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:25:21.944Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-07T00:25:21.977Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:25:22.290Z] ---> sudo-logs.sh [2023-11-07T00:25:22.290Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-07T00:25:22.375Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:25:22.687Z] ---> job-cost.sh [2023-11-07T00:25:22.687Z] lf-activate-venv: SKIPPING [2023-11-07T00:25:22.687Z] DEBUG: total: 0.2199999988079071 [2023-11-07T00:25:22.687Z] INFO: Retrieving Stack Cost... [2023-11-07T00:25:22.947Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-07T00:25:23.514Z] INFO: Archiving Costs [Pipeline] echo [2023-11-07T00:25:23.547Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-07T00:25:23.859Z] ---> logs-deploy.sh [2023-11-07T00:25:23.859Z] lf-activate-venv: SKIPPING [2023-11-07T00:25:23.859Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1538/1 [2023-11-07T00:25:23.859Z] INFO: archiving workspace using pattern(s): [2023-11-07T00:25:24.795Z] Archives upload complete. [2023-11-07T00:25:24.795Z] INFO: archiving logs to Nexus