Pull request #1519 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c104a54fb285324513cdba18e3afad8bd8d3a089+afe3ff62d3fd920c33d9e36f21752c88d9373351 (91305b3ba173c793c598d91152033ed5b68a60aa) 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-ssh11487092087953452090.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10397694905660452582.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1519/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-1519/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11010873657350819780.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-1519/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9142147841939824153.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh624259417684003810.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-1519/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-1519/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1591657112604510774.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-8007’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8010 in /w/workspace/gexfoundry_device-sdk-go_PR-1519 [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-1519 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit afe3ff62d3fd920c33d9e36f21752c88d9373351 into PR head commit c104a54fb285324513cdba18e3afad8bd8d3a089 Merge succeeded, producing c104a54fb285324513cdba18e3afad8bd8d3a089 Checking out Revision c104a54fb285324513cdba18e3afad8bd8d3a089 (PR-1519) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv > 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/1519/head:refs/remotes/origin/PR-1519 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c104a54fb285324513cdba18e3afad8bd8d3a089 # 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 afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c104a54fb285324513cdba18e3afad8bd8d3a089 # timeout=10 [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-27T04:14:35.421Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-27T04:14:35.583Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-27T04:14:35.678Z] ========================================================= [2023-09-27T04:14:35.678Z] EdgeX Global Pipelines Version Info [2023-09-27T04:14:35.678Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:14:36.430Z] ------------------- [2023-09-27T04:14:36.430Z] stable info: [2023-09-27T04:14:36.430Z] ------------------- [2023-09-27T04:14:36.430Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-27T04:14:36.430Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T04:14:36.430Z] Message: update stable to v1.0.254 [2023-09-27T04:14:37.003Z] ------------------- [2023-09-27T04:14:37.004Z] experimental info: [2023-09-27T04:14:37.004Z] ------------------- [2023-09-27T04:14:37.004Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-27T04:14:37.004Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-27T04:14:37.004Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-27T04:14:37.305Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-27T04:14:37.347Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-27T04:14:37.387Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-27T04:14:37.430Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-27T04:14:37.477Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-27T04:14:37.515Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-27T04:14:37.558Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-27T04:14:37.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-27T04:14:37.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-27T04:14:37.678Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-27T04:14:37.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-27T04:14:37.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-27T04:14:37.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-27T04:14:37.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-27T04:14:37.897Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-27T04:14:37.941Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T04:14:37.984Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T04:14:38.031Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-27T04:14:38.078Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-27T04:14:38.124Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-27T04:14:38.170Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-27T04:14:38.216Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-27T04:14:38.258Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-27T04:14:38.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-27T04:14:38.343Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-27T04:14:38.386Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-27T04:14:38.427Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-27T04:14:38.474Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1519 [Pipeline] echo [2023-09-27T04:14:38.518Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1519 [Pipeline] echo [2023-09-27T04:14:38.559Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1519 [Pipeline] echo [2023-09-27T04:14:38.604Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c104a54fb285324513cdba18e3afad8bd8d3a089 [Pipeline] echo [2023-09-27T04:14:38.642Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c104a54 [Pipeline] echo [2023-09-27T04:14:38.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T04:14:38.817Z] provisioning config files... [2023-09-27T04:14:38.852Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp/config2935163363991328896tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:14:39.196Z] ---> docker-login.sh [2023-09-27T04:14:39.196Z] nexus3.edgexfoundry.org:10001 [2023-09-27T04:14:39.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:14:39.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:14:39.459Z] Configure a credential helper to remove this warning. See [2023-09-27T04:14:39.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:14:39.459Z] [2023-09-27T04:14:39.459Z] Login Succeeded [2023-09-27T04:14:39.459Z] nexus3.edgexfoundry.org:10002 [2023-09-27T04:14:39.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:14:39.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:14:39.719Z] Configure a credential helper to remove this warning. See [2023-09-27T04:14:39.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:14:39.719Z] [2023-09-27T04:14:39.719Z] Login Succeeded [2023-09-27T04:14:39.719Z] nexus3.edgexfoundry.org:10003 [2023-09-27T04:14:39.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:14:39.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:14:39.719Z] Configure a credential helper to remove this warning. See [2023-09-27T04:14:39.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:14:39.719Z] [2023-09-27T04:14:39.719Z] Login Succeeded [2023-09-27T04:14:39.719Z] nexus3.edgexfoundry.org:10004 [2023-09-27T04:14:39.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:14:39.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:14:39.980Z] Configure a credential helper to remove this warning. See [2023-09-27T04:14:39.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:14:39.980Z] [2023-09-27T04:14:39.980Z] Login Succeeded [2023-09-27T04:14:39.980Z] docker.io [2023-09-27T04:14:39.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:14:40.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:14:40.240Z] Configure a credential helper to remove this warning. See [2023-09-27T04:14:40.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:14:40.240Z] [2023-09-27T04:14:40.240Z] Login Succeeded [2023-09-27T04:14:40.240Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T04:14:40.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-27T04:14:40.929Z] + git rev-list -1 --merges c104a54fb285324513cdba18e3afad8bd8d3a089~1..c104a54fb285324513cdba18e3afad8bd8d3a089 [Pipeline] echo [2023-09-27T04:14:40.998Z] -----------> git rev-list -1 --merges c104a54fb285324513cdba18e3afad8bd8d3a089~1..c104a54fb285324513cdba18e3afad8bd8d3a089 c104a54fb285324513cdba18e3afad8bd8d3a089 [false] [Pipeline] sh [2023-09-27T04:14:41.311Z] + git log --format=format:%s -1 c104a54fb285324513cdba18e3afad8bd8d3a089 [Pipeline] echo [2023-09-27T04:14:41.345Z] ========================================================= [2023-09-27T04:14:41.345Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-27T04:14:41.345Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T04:14:41.768Z] + git log --format=format:%s -1 c104a54fb285324513cdba18e3afad8bd8d3a089 [Pipeline] echo [2023-09-27T04:14:41.805Z] [semverPrep] GIT_COMMIT: c104a54fb285324513cdba18e3afad8bd8d3a089, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-09-27T04:14:41.831Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-27T04:14:42.227Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-27T04:14:42.227Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-27T04:14:42.227Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-27T04:14:42.227Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-27T04:14:42.227Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-27T04:14:42.227Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-27T04:14:42.227Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:14:42.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T04:14:42.738Z] [2023-09-27T04:14:42.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:14:43.116Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T04:14:43.116Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-27T04:14:43.116Z] b85a868b505f: Pulling fs layer [2023-09-27T04:14:43.116Z] e2be974225ed: Pulling fs layer [2023-09-27T04:14:43.116Z] 339a4e72a1f5: Pulling fs layer [2023-09-27T04:14:43.116Z] 988bab9f4d93: Pulling fs layer [2023-09-27T04:14:43.116Z] 1469e6f7b9e6: Pulling fs layer [2023-09-27T04:14:43.116Z] eaf3925da568: Pulling fs layer [2023-09-27T04:14:43.116Z] bab4dde63d76: Pulling fs layer [2023-09-27T04:14:43.116Z] bde34c3a00c8: Pulling fs layer [2023-09-27T04:14:43.116Z] b352a97aabf1: Pulling fs layer [2023-09-27T04:14:43.116Z] 4872d77fe225: Pulling fs layer [2023-09-27T04:14:43.116Z] 5851b861e8e6: Pulling fs layer [2023-09-27T04:14:43.116Z] bab4dde63d76: Waiting [2023-09-27T04:14:43.116Z] bde34c3a00c8: Waiting [2023-09-27T04:14:43.116Z] b352a97aabf1: Waiting [2023-09-27T04:14:43.116Z] 4872d77fe225: Waiting [2023-09-27T04:14:43.116Z] 5851b861e8e6: Waiting [2023-09-27T04:14:43.116Z] 988bab9f4d93: Waiting [2023-09-27T04:14:43.116Z] 1469e6f7b9e6: Waiting [2023-09-27T04:14:43.116Z] eaf3925da568: Waiting [2023-09-27T04:14:43.116Z] e2be974225ed: Verifying Checksum [2023-09-27T04:14:43.116Z] e2be974225ed: Download complete [2023-09-27T04:14:43.116Z] 988bab9f4d93: Download complete [2023-09-27T04:14:43.378Z] 1469e6f7b9e6: Verifying Checksum [2023-09-27T04:14:43.378Z] 1469e6f7b9e6: Download complete [2023-09-27T04:14:43.378Z] eaf3925da568: Verifying Checksum [2023-09-27T04:14:43.378Z] eaf3925da568: Download complete [2023-09-27T04:14:43.378Z] 339a4e72a1f5: Verifying Checksum [2023-09-27T04:14:43.378Z] 339a4e72a1f5: Download complete [2023-09-27T04:14:43.378Z] bde34c3a00c8: Verifying Checksum [2023-09-27T04:14:43.378Z] bde34c3a00c8: Download complete [2023-09-27T04:14:43.378Z] b352a97aabf1: Download complete [2023-09-27T04:14:43.378Z] 4872d77fe225: Verifying Checksum [2023-09-27T04:14:43.378Z] 4872d77fe225: Download complete [2023-09-27T04:14:43.378Z] 5851b861e8e6: Download complete [2023-09-27T04:14:43.378Z] b85a868b505f: Verifying Checksum [2023-09-27T04:14:43.378Z] b85a868b505f: Download complete [2023-09-27T04:14:43.650Z] bab4dde63d76: Verifying Checksum [2023-09-27T04:14:43.650Z] bab4dde63d76: Download complete [2023-09-27T04:14:45.029Z] b85a868b505f: Pull complete [2023-09-27T04:14:45.029Z] e2be974225ed: Pull complete [2023-09-27T04:14:45.600Z] 339a4e72a1f5: Pull complete [2023-09-27T04:14:45.600Z] 988bab9f4d93: Pull complete [2023-09-27T04:14:45.885Z] 1469e6f7b9e6: Pull complete [2023-09-27T04:14:45.885Z] eaf3925da568: Pull complete [2023-09-27T04:14:47.812Z] bab4dde63d76: Pull complete [2023-09-27T04:14:47.812Z] bde34c3a00c8: Pull complete [2023-09-27T04:14:48.072Z] b352a97aabf1: Pull complete [2023-09-27T04:14:48.072Z] 4872d77fe225: Pull complete [2023-09-27T04:14:48.072Z] 5851b861e8e6: Pull complete [2023-09-27T04:14:48.072Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-27T04:14:48.072Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-27T04:14:48.072Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:14:48.312Z] prd-ubuntu20.04-docker-8c-8g-8010 does not seem to be running inside a container [2023-09-27T04:14:48.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1519 -v /w/workspace/gexfoundry_device-sdk-go_PR-1519:/w/workspace/gexfoundry_device-sdk-go_PR-1519:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-27T04:14:50.731Z] $ docker top 0cd61d27b32051132f6752bb2cd5ed5a1f1a94736be7abf0ac630e7c12cb1be3 -eo pid,comm [2023-09-27T04:14:50.785Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-27T04:14:50.785Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-27T04:14:50.919Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T04:14:50.919Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T04:14:51.048Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T04:14:51.055Z] $ docker exec 0cd61d27b32051132f6752bb2cd5ed5a1f1a94736be7abf0ac630e7c12cb1be3 ssh-agent [2023-09-27T04:14:51.282Z] SSH_AUTH_SOCK=/tmp/ssh-EfzK1ppZMDHc/agent.32 [2023-09-27T04:14:51.282Z] SSH_AGENT_PID=38 [2023-09-27T04:14:51.291Z] Running ssh-add (command line suppressed) [2023-09-27T04:14:51.389Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp/private_key_10361291868190473232.key (/w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp/private_key_10361291868190473232.key) [2023-09-27T04:14:51.478Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T04:14:51.816Z] + git tag --points-at HEAD [Pipeline] } [2023-09-27T04:14:51.846Z] $ docker exec --env ******** --env ******** 0cd61d27b32051132f6752bb2cd5ed5a1f1a94736be7abf0ac630e7c12cb1be3 ssh-agent -k [2023-09-27T04:14:51.960Z] unset SSH_AUTH_SOCK; [2023-09-27T04:14:51.961Z] unset SSH_AGENT_PID; [2023-09-27T04:14:51.961Z] echo Agent pid 38 killed; [2023-09-27T04:14:51.968Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-27T04:14:52.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-27T04:14:52.050Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-27T04:14:52.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-27T04:14:52.180Z] $ docker exec 0cd61d27b32051132f6752bb2cd5ed5a1f1a94736be7abf0ac630e7c12cb1be3 ssh-agent [2023-09-27T04:14:52.305Z] SSH_AUTH_SOCK=/tmp/ssh-xjrW9baQt2CC/agent.70 [2023-09-27T04:14:52.305Z] SSH_AGENT_PID=76 [2023-09-27T04:14:52.310Z] Running ssh-add (command line suppressed) [2023-09-27T04:14:52.415Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp/private_key_640835395862186727.key (/w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp/private_key_640835395862186727.key) [2023-09-27T04:14:52.429Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-27T04:14:52.750Z] + git semver init [2023-09-27T04:14:53.010Z] 2023-09-27 04:14:52,938 [run_init] DEBUG init version:0.0.0 force:False [2023-09-27T04:14:53.010Z] 2023-09-27 04:14:52,939 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1519/.semver [2023-09-27T04:14:53.010Z] 2023-09-27 04:14:52,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1519/.semver [2023-09-27T04:14:53.010Z] 2023-09-27 04:14:52,940 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1519/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1519, universal_newlines=False, shell=None, istream=None) [2023-09-27T04:14:54.390Z] 2023-09-27 04:14:53,952 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1519/.git/info/exclude [2023-09-27T04:14:54.390Z] 2023-09-27 04:14:53,953 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1519/.semver/PR-1519 with force:False [2023-09-27T04:14:54.390Z] 2023-09-27 04:14:53,953 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1519/.semver/PR-1519 [2023-09-27T04:14:54.390Z] 2023-09-27 04:14:53,958 [execute] INFO git cat-file --batch-check [2023-09-27T04:14:54.390Z] 2023-09-27 04:14:53,959 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1519/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T04:14:54.390Z] 2023-09-27 04:14:53,964 [execute] INFO git cat-file --batch [2023-09-27T04:14:54.390Z] 2023-09-27 04:14:53,965 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1519/.semver, universal_newlines=False, shell=None, istream=) [2023-09-27T04:14:54.390Z] 2023-09-27 04:14:53,970 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1519/.semver/PR-1519 [2023-09-27T04:14:54.390Z] 0.0.0 [Pipeline] } [2023-09-27T04:14:54.418Z] $ docker exec --env ******** --env ******** 0cd61d27b32051132f6752bb2cd5ed5a1f1a94736be7abf0ac630e7c12cb1be3 ssh-agent -k [2023-09-27T04:14:54.540Z] unset SSH_AUTH_SOCK; [2023-09-27T04:14:54.541Z] unset SSH_AGENT_PID; [2023-09-27T04:14:54.541Z] echo Agent pid 76 killed; [2023-09-27T04:14:54.547Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-27T04:14:54.966Z] + git semver [Pipeline] } [2023-09-27T04:14:55.251Z] $ docker stop --time=1 0cd61d27b32051132f6752bb2cd5ed5a1f1a94736be7abf0ac630e7c12cb1be3 [2023-09-27T04:14:56.540Z] $ docker rm -f --volumes 0cd61d27b32051132f6752bb2cd5ed5a1f1a94736be7abf0ac630e7c12cb1be3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T04:14:56.944Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-27T04:14:57.210Z] Stashed 1 file(s) [Pipeline] echo [2023-09-27T04:14:57.225Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T04:14:57.861Z] provisioning config files... [2023-09-27T04:14:57.869Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp/config10497037180745550659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:14:58.219Z] ---> docker-login.sh [2023-09-27T04:14:58.219Z] nexus3.edgexfoundry.org:10001 [2023-09-27T04:14:58.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:14:58.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:14:58.219Z] Configure a credential helper to remove this warning. See [2023-09-27T04:14:58.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:14:58.219Z] [2023-09-27T04:14:58.219Z] Login Succeeded [2023-09-27T04:14:58.219Z] nexus3.edgexfoundry.org:10002 [2023-09-27T04:14:58.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:14:58.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:14:58.219Z] Configure a credential helper to remove this warning. See [2023-09-27T04:14:58.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:14:58.219Z] [2023-09-27T04:14:58.219Z] Login Succeeded [2023-09-27T04:14:58.219Z] nexus3.edgexfoundry.org:10003 [2023-09-27T04:14:58.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:14:58.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:14:58.478Z] Configure a credential helper to remove this warning. See [2023-09-27T04:14:58.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:14:58.478Z] [2023-09-27T04:14:58.478Z] Login Succeeded [2023-09-27T04:14:58.478Z] nexus3.edgexfoundry.org:10004 [2023-09-27T04:14:58.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:14:58.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:14:58.478Z] Configure a credential helper to remove this warning. See [2023-09-27T04:14:58.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:14:58.478Z] [2023-09-27T04:14:58.478Z] Login Succeeded [2023-09-27T04:14:58.478Z] docker.io [2023-09-27T04:14:58.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:14:58.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:14:58.996Z] Configure a credential helper to remove this warning. See [2023-09-27T04:14:58.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:14:58.996Z] [2023-09-27T04:14:58.996Z] Login Succeeded [2023-09-27T04:14:58.996Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T04:14:59.026Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T04:14:59.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T04:14:59.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T04:14:59.300Z] ========================================================= [2023-09-27T04:14:59.300Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-27T04:14:59.300Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:14:59.779Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-27T04:14:59.779Z] Sending build context to Docker daemon 11.19MB [2023-09-27T04:14:59.779Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T04:14:59.779Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-27T04:14:59.779Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-27T04:14:59.779Z] 7264a8db6415: Pulling fs layer [2023-09-27T04:14:59.779Z] c4d48a809fc2: Pulling fs layer [2023-09-27T04:14:59.779Z] 4f1c88b9dad5: Pulling fs layer [2023-09-27T04:14:59.779Z] ad3a456e5733: Pulling fs layer [2023-09-27T04:14:59.779Z] 33e27b845d1e: Pulling fs layer [2023-09-27T04:14:59.779Z] c68163c4e522: Pulling fs layer [2023-09-27T04:14:59.779Z] 50da416c3ac9: Pulling fs layer [2023-09-27T04:14:59.779Z] 23d2d4c4bb30: Pulling fs layer [2023-09-27T04:14:59.779Z] c68163c4e522: Waiting [2023-09-27T04:14:59.779Z] ad3a456e5733: Waiting [2023-09-27T04:14:59.779Z] 33e27b845d1e: Waiting [2023-09-27T04:14:59.779Z] 50da416c3ac9: Waiting [2023-09-27T04:14:59.779Z] 23d2d4c4bb30: Waiting [2023-09-27T04:14:59.779Z] c4d48a809fc2: Verifying Checksum [2023-09-27T04:14:59.779Z] c4d48a809fc2: Download complete [2023-09-27T04:15:00.041Z] ad3a456e5733: Verifying Checksum [2023-09-27T04:15:00.041Z] ad3a456e5733: Download complete [2023-09-27T04:15:00.041Z] 33e27b845d1e: Verifying Checksum [2023-09-27T04:15:00.041Z] 33e27b845d1e: Download complete [2023-09-27T04:15:00.041Z] 7264a8db6415: Verifying Checksum [2023-09-27T04:15:00.041Z] 7264a8db6415: Download complete [2023-09-27T04:15:00.041Z] c68163c4e522: Verifying Checksum [2023-09-27T04:15:00.041Z] c68163c4e522: Download complete [2023-09-27T04:15:00.041Z] 7264a8db6415: Pull complete [2023-09-27T04:15:00.317Z] 23d2d4c4bb30: Verifying Checksum [2023-09-27T04:15:00.317Z] 23d2d4c4bb30: Download complete [2023-09-27T04:15:00.317Z] c4d48a809fc2: Pull complete [2023-09-27T04:15:00.578Z] 4f1c88b9dad5: Verifying Checksum [2023-09-27T04:15:00.578Z] 4f1c88b9dad5: Download complete [2023-09-27T04:15:01.144Z] 50da416c3ac9: Verifying Checksum [2023-09-27T04:15:01.144Z] 50da416c3ac9: Download complete [2023-09-27T04:15:03.689Z] 4f1c88b9dad5: Pull complete [2023-09-27T04:15:03.949Z] ad3a456e5733: Pull complete [2023-09-27T04:15:03.949Z] 33e27b845d1e: Pull complete [2023-09-27T04:15:03.949Z] c68163c4e522: Pull complete [2023-09-27T04:15:06.499Z] 50da416c3ac9: Pull complete [2023-09-27T04:15:06.759Z] 23d2d4c4bb30: Pull complete [2023-09-27T04:15:06.759Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-27T04:15:07.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-27T04:15:07.018Z] ---> 0786185ac409 [2023-09-27T04:15:07.018Z] Step 3/10 : ARG MAKE=make build [2023-09-27T04:15:11.218Z] ---> Running in 521c8b73d508 [2023-09-27T04:15:11.218Z] Removing intermediate container 521c8b73d508 [2023-09-27T04:15:11.218Z] ---> 94cc99f9a6ca [2023-09-27T04:15:11.218Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-27T04:15:11.218Z] ---> Running in 91e81e6f7830 [2023-09-27T04:15:11.218Z] Removing intermediate container 91e81e6f7830 [2023-09-27T04:15:11.218Z] ---> 94e168f6ad1d [2023-09-27T04:15:11.218Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T04:15:11.218Z] ---> Running in bcbcb69df5a5 [2023-09-27T04:15:11.218Z] Removing intermediate container bcbcb69df5a5 [2023-09-27T04:15:11.218Z] ---> d4ce6f93df86 [2023-09-27T04:15:11.218Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-27T04:15:11.218Z] ---> Running in 938fc6d4bdc1 [2023-09-27T04:15:11.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T04:15:11.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T04:15:11.996Z] OK: 264 MiB in 52 packages [2023-09-27T04:15:12.255Z] Removing intermediate container 938fc6d4bdc1 [2023-09-27T04:15:12.255Z] ---> 0a79034fb63e [2023-09-27T04:15:12.255Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-27T04:15:12.514Z] ---> f9ec7fd302e2 [2023-09-27T04:15:12.514Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T04:15:12.514Z] ---> Running in 170c2f79052d [2023-09-27T04:15:12.678Z] Still waiting to schedule task [2023-09-27T04:15:12.679Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-8008’ is offline [2023-09-27T04:16:08.766Z] Removing intermediate container 170c2f79052d [2023-09-27T04:16:08.766Z] ---> 1aef2b247b98 [2023-09-27T04:16:08.766Z] Step 9/10 : COPY . . [2023-09-27T04:16:08.766Z] ---> b1320b41a615 [2023-09-27T04:16:08.766Z] Step 10/10 : RUN ${MAKE} [2023-09-27T04:16:08.766Z] ---> Running in e7fd5770a22c [2023-09-27T04:16:08.766Z] noop [2023-09-27T04:16:08.766Z] Removing intermediate container e7fd5770a22c [2023-09-27T04:16:08.766Z] ---> 0b0333e82026 [2023-09-27T04:16:08.766Z] Successfully built 0b0333e82026 [2023-09-27T04:16:08.766Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:16:09.223Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T04:16:09.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:16:09.380Z] prd-ubuntu20.04-docker-8c-8g-8010 does not seem to be running inside a container [2023-09-27T04:16:09.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1519 -v /w/workspace/gexfoundry_device-sdk-go_PR-1519:/w/workspace/gexfoundry_device-sdk-go_PR-1519:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-27T04:16:09.729Z] $ docker top 4368b0b8c7e53fb037146052f485c11911ad1df66b35c2fb1eb612a6d9794ed5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T04:16:10.119Z] + go version [2023-09-27T04:16:10.119Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-27T04:16:10.152Z] $ docker stop --time=1 4368b0b8c7e53fb037146052f485c11911ad1df66b35c2fb1eb612a6d9794ed5 [2023-09-27T04:16:11.413Z] $ docker rm -f --volumes 4368b0b8c7e53fb037146052f485c11911ad1df66b35c2fb1eb612a6d9794ed5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:16:12.181Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-27T04:16:12.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:16:12.339Z] prd-ubuntu20.04-docker-8c-8g-8010 does not seem to be running inside a container [2023-09-27T04:16:12.372Z] $ 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-1519 -v /w/workspace/gexfoundry_device-sdk-go_PR-1519:/w/workspace/gexfoundry_device-sdk-go_PR-1519:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-27T04:16:12.688Z] $ docker top 7e3440476415d81f7bb02b42dfe72a2614a5c0e2a95ba0003d2216975ce9f357 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T04:16:13.075Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1519 [Pipeline] fileExists [Pipeline] sh [2023-09-27T04:16:13.443Z] + make test [2023-09-27T04:16:13.443Z] go test -race -coverprofile=coverage.out ./... [2023-09-27T04:16:20.001Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-27T04:16:34.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-27T04:16:34.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-27T04:16:34.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-27T04:16:34.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-27T04:16:34.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-27T04:16:34.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-27T04:16:34.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-27T04:16:35.800Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.040s coverage: 27.6% of statements [2023-09-27T04:16:35.800Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.053s coverage: 80.2% of statements [2023-09-27T04:16:36.059Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.066s coverage: 86.0% of statements [2023-09-27T04:16:36.059Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-27T04:16:36.995Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.065s coverage: 71.8% of statements [2023-09-27T04:16:36.995Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-27T04:16:36.995Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-27T04:16:37.254Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-27T04:16:40.543Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.116s coverage: 14.4% of statements [2023-09-27T04:16:40.543Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.842s coverage: 45.9% of statements [2023-09-27T04:16:40.543Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.076s coverage: 68.5% of statements [2023-09-27T04:16:40.543Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.108s coverage: 89.2% of statements [2023-09-27T04:16:40.543Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-09-27T04:16:47.085Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8011 in /w/workspace/gexfoundry_device-sdk-go_PR-1519 [Pipeline] { [Pipeline] ws [2023-09-27T04:16:47.143Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-09-27T04:16:47.225Z] The recommended git tool is: git [2023-09-27T04:16:51.896Z] using credential edgex-jenkins-ssh [2023-09-27T04:16:51.915Z] Cloning the remote Git repository [2023-09-27T04:16:51.950Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-27T04:16:52.092Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-09-27T04:16:52.233Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-27T04:16:52.233Z] > git --version # timeout=10 [2023-09-27T04:16:52.252Z] > git --version # 'git version 2.25.1' [2023-09-27T04:16:52.254Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T04:16:52.393Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T04:16:53.995Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-27T04:16:54.024Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-27T04:16:55.514Z] Merging remotes/origin/main commit afe3ff62d3fd920c33d9e36f21752c88d9373351 into PR head commit c104a54fb285324513cdba18e3afad8bd8d3a089 [2023-09-27T04:16:55.810Z] Merge succeeded, producing c104a54fb285324513cdba18e3afad8bd8d3a089 [2023-09-27T04:16:55.810Z] Checking out Revision c104a54fb285324513cdba18e3afad8bd8d3a089 (PR-1519) [2023-09-27T04:16:54.835Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-27T04:16:54.871Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-27T04:16:54.872Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T04:16:54.887Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1519/head:refs/remotes/origin/PR-1519 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-27T04:16:55.521Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T04:16:55.583Z] > git checkout -f c104a54fb285324513cdba18e3afad8bd8d3a089 # timeout=10 [2023-09-27T04:16:55.689Z] > git remote # timeout=10 [2023-09-27T04:16:55.711Z] > git config --get remote.origin.url # timeout=10 [2023-09-27T04:16:55.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-27T04:16:55.754Z] > git merge afe3ff62d3fd920c33d9e36f21752c88d9373351 # timeout=10 [2023-09-27T04:16:55.779Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-27T04:16:55.808Z] > git config core.sparsecheckout # timeout=10 [2023-09-27T04:16:55.828Z] > git checkout -f c104a54fb285324513cdba18e3afad8bd8d3a089 # timeout=10 [2023-09-27T04:16:56.313Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-09-27T04:16:56.351Z] > git --version # timeout=10 [2023-09-27T04:16:56.362Z] > git --version # 'git version 2.25.1' [2023-09-27T04:16:56.383Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T04:16:57.552Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-27T04:16:57.552Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T04:16:57.552Z] Dload Upload Total Spent Left Speed [2023-09-27T04:16:57.552Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2023-09-27T04:16:58.226Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-27T04:16:58.574Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2023-09-27T04:16:58.574Z] tee /etc/docker/daemon.new [2023-09-27T04:16:58.574Z] { [2023-09-27T04:16:58.574Z] "registry-mirrors": [ [2023-09-27T04:16:58.574Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-27T04:16:58.574Z] ], [2023-09-27T04:16:58.574Z] "bip": "10.250.0.254/24", [2023-09-27T04:16:58.574Z] "hosts": [ [2023-09-27T04:16:58.574Z] "tcp://0.0.0.0:5555", [2023-09-27T04:16:58.574Z] "unix:///var/run/docker.sock" [2023-09-27T04:16:58.574Z] ], [2023-09-27T04:16:58.574Z] "mtu": 1458, [2023-09-27T04:16:58.574Z] "selinux-enabled": true, [2023-09-27T04:16:58.574Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-27T04:16:58.574Z] } [Pipeline] sh [2023-09-27T04:16:58.919Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-27T04:16:59.271Z] + sudo service docker restart [2023-09-27T04:17:02.651Z] GO111MODULE=on go vet ./... [2023-09-27T04:17:05.937Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T04:17:05.937Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T04:17:05.937Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T04:17:06.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T04:17:06.261Z] $ docker stop --time=1 7e3440476415d81f7bb02b42dfe72a2614a5c0e2a95ba0003d2216975ce9f357 [2023-09-27T04:17:09.530Z] $ docker rm -f --volumes 7e3440476415d81f7bb02b42dfe72a2614a5c0e2a95ba0003d2216975ce9f357 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T04:17:10.145Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T04:17:10.244Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-27T04:17:10.946Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T04:17:11.260Z] + ls -al . [2023-09-27T04:17:11.261Z] total 304 [2023-09-27T04:17:11.261Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 04:16 . [2023-09-27T04:17:11.261Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 04:14 .. [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 04:14 .dockerignore [2023-09-27T04:17:11.261Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 04:16 .git [2023-09-27T04:17:11.261Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 04:14 .github [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 04:14 .gitignore [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 04:14 .golangci.yml [2023-09-27T04:17:11.261Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 04:14 .semver [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 04:14 CHANGELOG.md [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 04:14 GOVERNANCE.md [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 04:14 Jenkinsfile [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 04:14 LICENSE [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 04:14 Makefile [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 04:14 OWNERS.md [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 04:14 README.md [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 04:14 VERSION [2023-09-27T04:17:11.261Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 04:14 bin [2023-09-27T04:17:11.261Z] -rw-r--r-- 1 jenkins jenkins 121385 Sep 27 04:16 coverage.out [2023-09-27T04:17:11.261Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 04:14 example [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 04:14 go.mod [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 04:14 go.sum [2023-09-27T04:17:11.261Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 04:14 internal [2023-09-27T04:17:11.261Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 04:14 openapi [2023-09-27T04:17:11.261Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 04:14 pkg [2023-09-27T04:17:11.261Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 04:14 snap [2023-09-27T04:17:11.261Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 04:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:17:11.692Z] + 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=c104a54fb285324513cdba18e3afad8bd8d3a089 --label arch=amd64 --label version=0.0.0 . [2023-09-27T04:17:11.692Z] Sending build context to Docker daemon 11.31MB [2023-09-27T04:17:11.692Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T04:17:11.692Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-27T04:17:11.692Z] ---> 0b0333e82026 [2023-09-27T04:17:11.692Z] Step 3/23 : ARG MAKE=make build [2023-09-27T04:17:11.952Z] ---> Running in b2d3efc8d05a [2023-09-27T04:17:11.952Z] Removing intermediate container b2d3efc8d05a [2023-09-27T04:17:11.952Z] ---> 01407de740b6 [2023-09-27T04:17:11.952Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-27T04:17:11.952Z] ---> Running in b24dd1cd3357 [2023-09-27T04:17:11.952Z] Removing intermediate container b24dd1cd3357 [2023-09-27T04:17:11.952Z] ---> 073b9c28273c [2023-09-27T04:17:11.952Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T04:17:11.952Z] ---> Running in 70513e998480 [2023-09-27T04:17:12.212Z] Removing intermediate container 70513e998480 [2023-09-27T04:17:12.212Z] ---> a7360e336cbf [2023-09-27T04:17:12.212Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-27T04:17:12.212Z] ---> Running in bac83815956c [2023-09-27T04:17:12.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T04:17:12.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T04:17:12.995Z] OK: 264 MiB in 52 packages [2023-09-27T04:17:13.255Z] Removing intermediate container bac83815956c [2023-09-27T04:17:13.255Z] ---> 2bfc9b1dd588 [2023-09-27T04:17:13.255Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-27T04:17:13.515Z] ---> 030af1992f29 [2023-09-27T04:17:13.515Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T04:17:13.515Z] ---> Running in 90149cd7f017 [2023-09-27T04:17:14.085Z] Removing intermediate container 90149cd7f017 [2023-09-27T04:17:14.085Z] ---> ef6f1e755671 [2023-09-27T04:17:14.085Z] Step 9/23 : COPY . . [2023-09-27T04:17:14.655Z] ---> c410e8b93be2 [2023-09-27T04:17:14.655Z] Step 10/23 : RUN ${MAKE} [2023-09-27T04:17:14.655Z] ---> Running in 829a0f32386d [2023-09-27T04:17:14.916Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T04:17:21.449Z] provisioning config files... [2023-09-27T04:17:21.474Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10137731189919685411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:17:21.862Z] ---> docker-login.sh [2023-09-27T04:17:21.862Z] nexus3.edgexfoundry.org:10001 [2023-09-27T04:17:22.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:17:22.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:17:22.398Z] Configure a credential helper to remove this warning. See [2023-09-27T04:17:22.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:17:22.398Z] [2023-09-27T04:17:22.398Z] Login Succeeded [2023-09-27T04:17:22.398Z] nexus3.edgexfoundry.org:10002 [2023-09-27T04:17:22.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:17:22.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:17:22.668Z] Configure a credential helper to remove this warning. See [2023-09-27T04:17:22.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:17:22.668Z] [2023-09-27T04:17:22.668Z] Login Succeeded [2023-09-27T04:17:22.939Z] nexus3.edgexfoundry.org:10003 [2023-09-27T04:17:22.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:17:23.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:17:23.212Z] Configure a credential helper to remove this warning. See [2023-09-27T04:17:23.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:17:23.212Z] [2023-09-27T04:17:23.212Z] Login Succeeded [2023-09-27T04:17:23.212Z] nexus3.edgexfoundry.org:10004 [2023-09-27T04:17:23.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:17:23.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:17:23.480Z] Configure a credential helper to remove this warning. See [2023-09-27T04:17:23.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:17:23.480Z] [2023-09-27T04:17:23.480Z] Login Succeeded [2023-09-27T04:17:23.480Z] docker.io [2023-09-27T04:17:23.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-27T04:17:24.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-27T04:17:24.018Z] Configure a credential helper to remove this warning. See [2023-09-27T04:17:24.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-27T04:17:24.018Z] [2023-09-27T04:17:24.018Z] Login Succeeded [2023-09-27T04:17:24.018Z] ---> docker-login.sh ends [Pipeline] } [2023-09-27T04:17:24.053Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-27T04:17:24.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T04:17:24.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-27T04:17:24.511Z] ========================================================= [2023-09-27T04:17:24.511Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-27T04:17:24.511Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:17:25.017Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-27T04:17:25.285Z] Sending build context to Docker daemon 5.981MB [2023-09-27T04:17:25.285Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T04:17:25.285Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-27T04:17:28.634Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-27T04:17:28.634Z] 9fda8d8052c6: Pulling fs layer [2023-09-27T04:17:28.634Z] 5d54e960e981: Pulling fs layer [2023-09-27T04:17:28.634Z] c4a7e357bf2a: Pulling fs layer [2023-09-27T04:17:28.634Z] f0e02332f6b5: Pulling fs layer [2023-09-27T04:17:28.634Z] cefa15bbcfad: Pulling fs layer [2023-09-27T04:17:28.634Z] 17808c966233: Pulling fs layer [2023-09-27T04:17:28.634Z] f4c1fc716caa: Pulling fs layer [2023-09-27T04:17:28.634Z] f0e02332f6b5: Waiting [2023-09-27T04:17:28.634Z] cefa15bbcfad: Waiting [2023-09-27T04:17:28.634Z] 17808c966233: Waiting [2023-09-27T04:17:28.634Z] f4c1fc716caa: Waiting [2023-09-27T04:17:28.634Z] 5d54e960e981: Verifying Checksum [2023-09-27T04:17:28.634Z] 5d54e960e981: Download complete [2023-09-27T04:17:28.634Z] f0e02332f6b5: Verifying Checksum [2023-09-27T04:17:28.634Z] f0e02332f6b5: Download complete [2023-09-27T04:17:28.634Z] cefa15bbcfad: Verifying Checksum [2023-09-27T04:17:28.634Z] cefa15bbcfad: Download complete [2023-09-27T04:17:28.634Z] 9fda8d8052c6: Download complete [2023-09-27T04:17:29.225Z] f4c1fc716caa: Verifying Checksum [2023-09-27T04:17:29.225Z] f4c1fc716caa: Download complete [2023-09-27T04:17:29.501Z] 9fda8d8052c6: Pull complete [2023-09-27T04:17:30.091Z] 5d54e960e981: Pull complete [2023-09-27T04:17:30.091Z] c4a7e357bf2a: Verifying Checksum [2023-09-27T04:17:30.091Z] c4a7e357bf2a: Download complete [2023-09-27T04:17:31.052Z] 17808c966233: Verifying Checksum [2023-09-27T04:17:31.052Z] 17808c966233: Download complete [2023-09-27T04:17:36.863Z] Removing intermediate container 829a0f32386d [2023-09-27T04:17:36.863Z] ---> e5027b5ab799 [2023-09-27T04:17:36.863Z] Step 11/23 : FROM alpine:3.18 [2023-09-27T04:17:36.863Z] 3.18: Pulling from library/alpine [2023-09-27T04:17:36.863Z] 7264a8db6415: Already exists [2023-09-27T04:17:36.863Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T04:17:36.863Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T04:17:36.863Z] ---> 7e01a0d0a1dc [2023-09-27T04:17:36.863Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-27T04:17:36.863Z] ---> Running in 855bff4d61f8 [2023-09-27T04:17:36.863Z] Removing intermediate container 855bff4d61f8 [2023-09-27T04:17:36.863Z] ---> 6899db1cd49f [2023-09-27T04:17:36.863Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-27T04:17:36.863Z] ---> Running in a0e5d61227a9 [2023-09-27T04:17:36.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-27T04:17:36.863Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-27T04:17:36.863Z] OK: 7 MiB in 15 packages [2023-09-27T04:17:36.863Z] Removing intermediate container a0e5d61227a9 [2023-09-27T04:17:36.863Z] ---> 3b360beb67ea [2023-09-27T04:17:36.863Z] Step 14/23 : WORKDIR / [2023-09-27T04:17:36.863Z] ---> Running in 75f32c6331a6 [2023-09-27T04:17:36.863Z] Removing intermediate container 75f32c6331a6 [2023-09-27T04:17:36.863Z] ---> 6def017212a6 [2023-09-27T04:17:36.863Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-27T04:17:36.863Z] ---> b212be13a6e4 [2023-09-27T04:17:36.863Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-27T04:17:37.129Z] ---> 529d0d5b7412 [2023-09-27T04:17:37.129Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-27T04:17:37.129Z] ---> 7669633ade5c [2023-09-27T04:17:37.129Z] Step 18/23 : EXPOSE 59999 [2023-09-27T04:17:37.129Z] ---> Running in 0e401e5957ef [2023-09-27T04:17:37.388Z] Removing intermediate container 0e401e5957ef [2023-09-27T04:17:37.388Z] ---> e24b57343c41 [2023-09-27T04:17:37.388Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-27T04:17:37.388Z] ---> Running in a6485772e119 [2023-09-27T04:17:37.388Z] Removing intermediate container a6485772e119 [2023-09-27T04:17:37.388Z] ---> 88db5f6f5238 [2023-09-27T04:17:37.388Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-27T04:17:37.388Z] ---> Running in 10094e8909fe [2023-09-27T04:17:37.648Z] Removing intermediate container 10094e8909fe [2023-09-27T04:17:37.648Z] ---> 6c1d184e3142 [2023-09-27T04:17:37.648Z] Step 21/23 : LABEL arch=amd64 [2023-09-27T04:17:37.648Z] ---> Running in 1f808886c20e [2023-09-27T04:17:37.648Z] Removing intermediate container 1f808886c20e [2023-09-27T04:17:37.648Z] ---> 7ed3f076cb98 [2023-09-27T04:17:37.648Z] Step 22/23 : LABEL git_sha=c104a54fb285324513cdba18e3afad8bd8d3a089 [2023-09-27T04:17:37.648Z] ---> Running in 941b79fff1d0 [2023-09-27T04:17:37.648Z] Removing intermediate container 941b79fff1d0 [2023-09-27T04:17:37.648Z] ---> 8ce34bc1dee5 [2023-09-27T04:17:37.648Z] Step 23/23 : LABEL version=0.0.0 [2023-09-27T04:17:37.648Z] ---> Running in 391c38607605 [2023-09-27T04:17:37.908Z] Removing intermediate container 391c38607605 [2023-09-27T04:17:37.908Z] ---> 93c6f6cc4c63 [2023-09-27T04:17:37.908Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T04:17:37.908Z] Successfully built 93c6f6cc4c63 [2023-09-27T04:17:37.908Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:17:38.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T04:17:38.812Z] [2023-09-27T04:17:38.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:17:39.197Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T04:17:39.198Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-27T04:17:39.198Z] 5eb5b503b376: Pulling fs layer [2023-09-27T04:17:39.198Z] 5c69ac0246d0: Pulling fs layer [2023-09-27T04:17:39.198Z] ec43610c2a17: Pulling fs layer [2023-09-27T04:17:39.198Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-27T04:17:39.198Z] 33b1e0a273af: Pulling fs layer [2023-09-27T04:17:39.198Z] 5d3b04190fa2: Pulling fs layer [2023-09-27T04:17:39.198Z] 2f39f015ded8: Pulling fs layer [2023-09-27T04:17:39.198Z] 3a2ae6a8a46f: Waiting [2023-09-27T04:17:39.198Z] 33b1e0a273af: Waiting [2023-09-27T04:17:39.198Z] 5d3b04190fa2: Waiting [2023-09-27T04:17:39.198Z] 2f39f015ded8: Waiting [2023-09-27T04:17:39.198Z] 5c69ac0246d0: Verifying Checksum [2023-09-27T04:17:39.198Z] 5c69ac0246d0: Download complete [2023-09-27T04:17:39.198Z] 3a2ae6a8a46f: Download complete [2023-09-27T04:17:39.198Z] 33b1e0a273af: Verifying Checksum [2023-09-27T04:17:39.198Z] 33b1e0a273af: Download complete [2023-09-27T04:17:39.198Z] 5d3b04190fa2: Download complete [2023-09-27T04:17:39.198Z] ec43610c2a17: Verifying Checksum [2023-09-27T04:17:39.198Z] ec43610c2a17: Download complete [2023-09-27T04:17:39.465Z] 5eb5b503b376: Verifying Checksum [2023-09-27T04:17:39.465Z] 5eb5b503b376: Download complete [2023-09-27T04:17:40.036Z] 2f39f015ded8: Download complete [2023-09-27T04:17:40.603Z] 5eb5b503b376: Pull complete [2023-09-27T04:17:40.861Z] 5c69ac0246d0: Pull complete [2023-09-27T04:17:41.426Z] ec43610c2a17: Pull complete [2023-09-27T04:17:41.426Z] 3a2ae6a8a46f: Pull complete [2023-09-27T04:17:41.685Z] 33b1e0a273af: Pull complete [2023-09-27T04:17:41.686Z] 5d3b04190fa2: Pull complete [2023-09-27T04:17:43.385Z] c4a7e357bf2a: Pull complete [2023-09-27T04:17:43.385Z] f0e02332f6b5: Pull complete [2023-09-27T04:17:43.385Z] cefa15bbcfad: Pull complete [2023-09-27T04:17:46.949Z] 2f39f015ded8: Pull complete [2023-09-27T04:17:46.949Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-27T04:17:46.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T04:17:46.949Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:17:47.185Z] prd-ubuntu20.04-docker-8c-8g-8010 does not seem to be running inside a container [2023-09-27T04:17:47.221Z] $ 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-1519 -v /w/workspace/gexfoundry_device-sdk-go_PR-1519:/w/workspace/gexfoundry_device-sdk-go_PR-1519:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T04:17:48.916Z] 17808c966233: Pull complete [2023-09-27T04:17:50.342Z] f4c1fc716caa: Pull complete [2023-09-27T04:17:50.342Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-27T04:17:50.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-27T04:17:50.342Z] ---> ea914061e18c [2023-09-27T04:17:50.342Z] Step 3/10 : ARG MAKE=make build [2023-09-27T04:17:50.538Z] $ docker top 061e564d8c44329bd5d3f47e2dab84fb7e5da295cf1f861da700281ab43cfca2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:17:51.043Z] ---> job-cost.sh [2023-09-27T04:17:51.043Z] lf-activate-venv: SKIPPING [2023-09-27T04:17:51.043Z] INFO: No Stack... [2023-09-27T04:17:51.302Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T04:17:51.562Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T04:17:51.875Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1519/archives/cost.csv [2023-09-27T04:17:51.875Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T04:17:51.915Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1519-1-stack-cost] [2023-09-27T04:17:51.920Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1519-1-stack-cost] did not exist. Created. [2023-09-27T04:17:51.920Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1519-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T04:17:52.280Z] ---> Running in 14c9aa2a7d4b [2023-09-27T04:17:52.280Z] Removing intermediate container 14c9aa2a7d4b [2023-09-27T04:17:52.280Z] ---> e06f7870e81a [2023-09-27T04:17:52.280Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-27T04:17:52.280Z] ---> Running in 6565f89267e5 [2023-09-27T04:17:52.304Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-27T04:17:52.361Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T04:17:52.392Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1519-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T04:17:52.478Z] $ docker stop --time=1 061e564d8c44329bd5d3f47e2dab84fb7e5da295cf1f861da700281ab43cfca2 [2023-09-27T04:17:52.556Z] Removing intermediate container 6565f89267e5 [2023-09-27T04:17:52.556Z] ---> 73b0e68d3db6 [2023-09-27T04:17:52.556Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T04:17:52.556Z] ---> Running in 12f08ccd28e6 [2023-09-27T04:17:53.141Z] Removing intermediate container 12f08ccd28e6 [2023-09-27T04:17:53.141Z] ---> 6131a5e0fd22 [2023-09-27T04:17:53.141Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-27T04:17:53.141Z] ---> Running in a6a978325349 [2023-09-27T04:17:53.638Z] $ docker rm -f --volumes 061e564d8c44329bd5d3f47e2dab84fb7e5da295cf1f861da700281ab43cfca2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-27T04:17:54.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T04:17:54.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T04:17:55.324Z] OK: 266 MiB in 52 packages [2023-09-27T04:17:56.289Z] Removing intermediate container a6a978325349 [2023-09-27T04:17:56.289Z] ---> c8a31e9b1301 [2023-09-27T04:17:56.289Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-27T04:17:56.873Z] ---> 08a50462f8b1 [2023-09-27T04:17:56.873Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T04:17:56.873Z] ---> Running in 67179cac850f [2023-09-27T04:19:04.734Z] Removing intermediate container 67179cac850f [2023-09-27T04:19:04.734Z] ---> fea757db6208 [2023-09-27T04:19:04.734Z] Step 9/10 : COPY . . [2023-09-27T04:19:04.734Z] ---> 77b86141d7ed [2023-09-27T04:19:04.734Z] Step 10/10 : RUN ${MAKE} [2023-09-27T04:19:04.734Z] ---> Running in d0570633c3bf [2023-09-27T04:19:04.734Z] noop [2023-09-27T04:19:04.734Z] Removing intermediate container d0570633c3bf [2023-09-27T04:19:04.734Z] ---> d4bc5625f0ff [2023-09-27T04:19:04.734Z] Successfully built d4bc5625f0ff [2023-09-27T04:19:04.734Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:19:05.225Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T04:19:05.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:19:05.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-8011 does not seem to be running inside a container [2023-09-27T04:19:05.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-27T04:19:06.680Z] $ docker top b99141ab0e42292c65576f4cf695863503eb2117b8a963ee1ccef9898c92d877 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T04:19:07.539Z] + go version [2023-09-27T04:19:07.539Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-27T04:19:07.578Z] $ docker stop --time=1 b99141ab0e42292c65576f4cf695863503eb2117b8a963ee1ccef9898c92d877 [2023-09-27T04:19:09.137Z] $ docker rm -f --volumes b99141ab0e42292c65576f4cf695863503eb2117b8a963ee1ccef9898c92d877 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:19:09.957Z] + docker inspect -f . ci-base-image-arm64 [2023-09-27T04:19:09.957Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:19:10.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-8011 does not seem to be running inside a container [2023-09-27T04:19:10.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-27T04:19:11.370Z] $ docker top 30f595dd3504945b7c7cbaed264522468f997d94dc597690ca84223d898a1c19 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T04:19:11.915Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-27T04:19:12.296Z] + make test [2023-09-27T04:19:12.296Z] go test -race -coverprofile=coverage.out ./... [2023-09-27T04:19:44.508Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-27T04:21:21.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-27T04:21:21.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-27T04:21:21.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-27T04:21:21.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-27T04:21:21.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-27T04:21:21.121Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.266s coverage: 27.6% of statements [2023-09-27T04:21:22.079Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.274s coverage: 80.2% of statements [2023-09-27T04:21:30.281Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-27T04:21:30.281Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-27T04:21:31.689Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.304s coverage: 86.0% of statements [2023-09-27T04:21:35.961Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-27T04:21:36.920Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.504s coverage: 71.8% of statements [2023-09-27T04:21:40.259Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.328s coverage: 14.4% of statements [2023-09-27T04:21:40.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-27T04:21:40.526Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-27T04:21:40.793Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.542s coverage: 45.9% of statements [2023-09-27T04:21:42.197Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.368s coverage: 68.5% of statements [2023-09-27T04:21:45.535Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.411s coverage: 89.2% of statements [2023-09-27T04:21:45.535Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-27T04:21:46.942Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.224s coverage: 5.5% of statements [2023-09-27T04:21:47.525Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-27T04:21:47.525Z] GO111MODULE=on go vet ./... [2023-09-27T04:23:39.149Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-27T04:23:39.149Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-27T04:23:39.149Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-27T04:23:39.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-27T04:23:39.226Z] $ docker stop --time=1 30f595dd3504945b7c7cbaed264522468f997d94dc597690ca84223d898a1c19 [2023-09-27T04:23:41.079Z] $ docker rm -f --volumes 30f595dd3504945b7c7cbaed264522468f997d94dc597690ca84223d898a1c19 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-27T04:23:42.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-27T04:23:42.764Z] Warning: overwriting stash ‘coverage-report’ [2023-09-27T04:23:43.279Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-27T04:23:43.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-27T04:23:44.200Z] + ls -al . [2023-09-27T04:23:44.200Z] total 300 [2023-09-27T04:23:44.200Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 04:19 . [2023-09-27T04:23:44.200Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 04:16 .. [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 04:16 .dockerignore [2023-09-27T04:23:44.200Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 04:16 .git [2023-09-27T04:23:44.200Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 04:16 .github [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 27 04:16 .gitignore [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 04:16 .golangci.yml [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 27 04:16 CHANGELOG.md [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 04:16 GOVERNANCE.md [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 27 04:16 Jenkinsfile [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 04:16 LICENSE [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 27 04:16 Makefile [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 04:16 OWNERS.md [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 27 04:16 README.md [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 04:14 VERSION [2023-09-27T04:23:44.200Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 04:16 bin [2023-09-27T04:23:44.200Z] -rw-r--r-- 1 jenkins jenkins 121386 Sep 27 04:21 coverage.out [2023-09-27T04:23:44.200Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 04:16 example [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 27 04:16 go.mod [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 34806 Sep 27 04:16 go.sum [2023-09-27T04:23:44.200Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 04:16 internal [2023-09-27T04:23:44.200Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 04:16 openapi [2023-09-27T04:23:44.200Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 04:16 pkg [2023-09-27T04:23:44.200Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 04:16 snap [2023-09-27T04:23:44.200Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 04:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:23:44.614Z] + 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=c104a54fb285324513cdba18e3afad8bd8d3a089 --label arch=arm64 --label version=0.0.0 . [2023-09-27T04:23:44.883Z] Sending build context to Docker daemon 6.104MB [2023-09-27T04:23:44.883Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-27T04:23:44.883Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-27T04:23:44.883Z] ---> d4bc5625f0ff [2023-09-27T04:23:44.883Z] Step 3/23 : ARG MAKE=make build [2023-09-27T04:23:45.156Z] ---> Running in 31851e9f1c54 [2023-09-27T04:23:45.427Z] Removing intermediate container 31851e9f1c54 [2023-09-27T04:23:45.427Z] ---> d5b5c85fdb91 [2023-09-27T04:23:45.427Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-27T04:23:45.427Z] ---> Running in b610114308a6 [2023-09-27T04:23:45.700Z] Removing intermediate container b610114308a6 [2023-09-27T04:23:45.700Z] ---> 1480cee80028 [2023-09-27T04:23:45.700Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-27T04:23:45.969Z] ---> Running in cf6c174315c8 [2023-09-27T04:23:46.236Z] Removing intermediate container cf6c174315c8 [2023-09-27T04:23:46.236Z] ---> e9bc12f1739c [2023-09-27T04:23:46.236Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-27T04:23:46.236Z] ---> Running in b53d9f7d00dd [2023-09-27T04:23:47.194Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T04:23:47.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T04:23:48.866Z] OK: 266 MiB in 52 packages [2023-09-27T04:23:49.449Z] Removing intermediate container b53d9f7d00dd [2023-09-27T04:23:49.449Z] ---> 40a5e007396a [2023-09-27T04:23:49.449Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-27T04:23:50.033Z] ---> 9c7448260d47 [2023-09-27T04:23:50.033Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-27T04:23:50.033Z] ---> Running in 61a8729c784c [2023-09-27T04:23:51.974Z] Removing intermediate container 61a8729c784c [2023-09-27T04:23:51.974Z] ---> 0f9cb32fd0ed [2023-09-27T04:23:51.974Z] Step 9/23 : COPY . . [2023-09-27T04:23:53.383Z] ---> a3de8e5ae7e2 [2023-09-27T04:23:53.383Z] Step 10/23 : RUN ${MAKE} [2023-09-27T04:23:53.383Z] ---> Running in 48f3d555fe38 [2023-09-27T04:23:53.965Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-27T04:25:45.622Z] Removing intermediate container 48f3d555fe38 [2023-09-27T04:25:45.622Z] ---> 382ce58d1c08 [2023-09-27T04:25:45.622Z] Step 11/23 : FROM alpine:3.18 [2023-09-27T04:25:45.622Z] 3.18: Pulling from library/alpine [2023-09-27T04:25:45.622Z] 9fda8d8052c6: Already exists [2023-09-27T04:25:45.622Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-27T04:25:45.622Z] Status: Downloaded newer image for alpine:3.18 [2023-09-27T04:25:45.622Z] ---> f6648c04cd6c [2023-09-27T04:25:45.622Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-27T04:25:45.622Z] ---> Running in f1019c0b8788 [2023-09-27T04:25:45.622Z] Removing intermediate container f1019c0b8788 [2023-09-27T04:25:45.622Z] ---> 93af20326e62 [2023-09-27T04:25:45.622Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-27T04:25:45.622Z] ---> Running in a0b18aaa7cad [2023-09-27T04:25:45.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-27T04:25:45.622Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-27T04:25:45.622Z] OK: 8 MiB in 15 packages [2023-09-27T04:25:45.622Z] Removing intermediate container a0b18aaa7cad [2023-09-27T04:25:45.622Z] ---> c619a78225a6 [2023-09-27T04:25:45.622Z] Step 14/23 : WORKDIR / [2023-09-27T04:25:45.622Z] ---> Running in 8af2a6646726 [2023-09-27T04:25:45.622Z] Removing intermediate container 8af2a6646726 [2023-09-27T04:25:45.622Z] ---> e5bf9b3b2525 [2023-09-27T04:25:45.622Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-27T04:25:45.622Z] ---> b0e0f7d45928 [2023-09-27T04:25:45.622Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-27T04:25:45.622Z] ---> 91b33715e470 [2023-09-27T04:25:45.622Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-27T04:25:45.622Z] ---> 29699a816433 [2023-09-27T04:25:45.622Z] Step 18/23 : EXPOSE 59999 [2023-09-27T04:25:45.622Z] ---> Running in fa9fbfd48a41 [2023-09-27T04:25:45.622Z] Removing intermediate container fa9fbfd48a41 [2023-09-27T04:25:45.622Z] ---> f491c6ff4fad [2023-09-27T04:25:45.622Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-27T04:25:45.622Z] ---> Running in 37e73ffadd27 [2023-09-27T04:25:45.622Z] Removing intermediate container 37e73ffadd27 [2023-09-27T04:25:45.622Z] ---> e2f6e6d77a4b [2023-09-27T04:25:45.622Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-27T04:25:45.622Z] ---> Running in 1836a1425fd8 [2023-09-27T04:25:45.622Z] Removing intermediate container 1836a1425fd8 [2023-09-27T04:25:45.622Z] ---> 5f9d28ea07f7 [2023-09-27T04:25:45.622Z] Step 21/23 : LABEL arch=arm64 [2023-09-27T04:25:45.622Z] ---> Running in 1d38319574aa [2023-09-27T04:25:45.622Z] Removing intermediate container 1d38319574aa [2023-09-27T04:25:45.622Z] ---> fcf6664622e4 [2023-09-27T04:25:45.622Z] Step 22/23 : LABEL git_sha=c104a54fb285324513cdba18e3afad8bd8d3a089 [2023-09-27T04:25:45.622Z] ---> Running in fd3d19253d58 [2023-09-27T04:25:45.622Z] Removing intermediate container fd3d19253d58 [2023-09-27T04:25:45.622Z] ---> cc5a11e8c9bc [2023-09-27T04:25:45.622Z] Step 23/23 : LABEL version=0.0.0 [2023-09-27T04:25:45.622Z] ---> Running in e48f18eeebe5 [2023-09-27T04:25:45.622Z] Removing intermediate container e48f18eeebe5 [2023-09-27T04:25:45.622Z] ---> 758825701633 [2023-09-27T04:25:45.622Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-27T04:25:45.622Z] Successfully built 758825701633 [2023-09-27T04:25:45.622Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:25:46.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T04:25:46.456Z] [2023-09-27T04:25:46.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:25:46.900Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T04:25:46.900Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-27T04:25:46.900Z] 8998bd30e6a1: Pulling fs layer [2023-09-27T04:25:46.900Z] 04944245beec: Pulling fs layer [2023-09-27T04:25:46.900Z] 699f458cf7ca: Pulling fs layer [2023-09-27T04:25:46.900Z] 765212b225bb: Pulling fs layer [2023-09-27T04:25:46.900Z] f23df028b6ca: Pulling fs layer [2023-09-27T04:25:46.900Z] d65c8cfc05b1: Pulling fs layer [2023-09-27T04:25:46.900Z] 2437ff75d9bd: Pulling fs layer [2023-09-27T04:25:46.900Z] 765212b225bb: Waiting [2023-09-27T04:25:46.900Z] f23df028b6ca: Waiting [2023-09-27T04:25:46.900Z] d65c8cfc05b1: Waiting [2023-09-27T04:25:46.900Z] 2437ff75d9bd: Waiting [2023-09-27T04:25:47.186Z] 04944245beec: Verifying Checksum [2023-09-27T04:25:47.186Z] 04944245beec: Download complete [2023-09-27T04:25:47.186Z] 765212b225bb: Verifying Checksum [2023-09-27T04:25:47.186Z] 765212b225bb: Download complete [2023-09-27T04:25:47.186Z] f23df028b6ca: Verifying Checksum [2023-09-27T04:25:47.186Z] f23df028b6ca: Download complete [2023-09-27T04:25:47.186Z] d65c8cfc05b1: Verifying Checksum [2023-09-27T04:25:47.186Z] d65c8cfc05b1: Download complete [2023-09-27T04:25:47.186Z] 699f458cf7ca: Verifying Checksum [2023-09-27T04:25:47.186Z] 699f458cf7ca: Download complete [2023-09-27T04:25:47.804Z] 8998bd30e6a1: Verifying Checksum [2023-09-27T04:25:47.804Z] 8998bd30e6a1: Download complete [2023-09-27T04:25:49.753Z] 2437ff75d9bd: Verifying Checksum [2023-09-27T04:25:49.753Z] 2437ff75d9bd: Download complete [2023-09-27T04:25:51.698Z] 8998bd30e6a1: Pull complete [2023-09-27T04:25:51.967Z] 04944245beec: Pull complete [2023-09-27T04:25:53.379Z] 699f458cf7ca: Pull complete [2023-09-27T04:25:53.379Z] 765212b225bb: Pull complete [2023-09-27T04:25:54.342Z] f23df028b6ca: Pull complete [2023-09-27T04:25:54.342Z] d65c8cfc05b1: Pull complete [2023-09-27T04:26:09.329Z] 2437ff75d9bd: Pull complete [2023-09-27T04:26:09.329Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-27T04:26:09.329Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-27T04:26:09.329Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:26:09.663Z] prd-ubuntu20.04-docker-arm64-4c-16g-8011 does not seem to be running inside a container [2023-09-27T04:26:09.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-27T04:26:12.159Z] $ docker top cd176c63d5b4f82143d89b5fcb9f744d8fa09b1174ff85ccf813568b568c4346 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:26:12.732Z] ---> job-cost.sh [2023-09-27T04:26:12.998Z] lf-activate-venv: SKIPPING [2023-09-27T04:26:12.998Z] INFO: No Stack... [2023-09-27T04:26:13.265Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-27T04:26:14.219Z] INFO: Archiving Costs [Pipeline] sh [2023-09-27T04:26:14.832Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-09-27T04:26:14.832Z] + cut -d, -f6 [Pipeline] lock [2023-09-27T04:26:14.917Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1519-1-stack-cost] [2023-09-27T04:26:14.923Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1519-1-stack-cost] did not exist. Created. [2023-09-27T04:26:14.923Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1519-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-27T04:26:15.333Z] /w/workspace/device-sdk-go/1@tmp/durable-63bb0028/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-27T04:26:15.680Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-27T04:26:15.715Z] Warning: overwriting stash ‘stack-cost’ [2023-09-27T04:26:15.792Z] Stashed 1 file(s) [Pipeline] } [2023-09-27T04:26:15.807Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1519-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-27T04:26:15.898Z] $ docker stop --time=1 cd176c63d5b4f82143d89b5fcb9f744d8fa09b1174ff85ccf813568b568c4346 [2023-09-27T04:26:17.375Z] $ docker rm -f --volumes cd176c63d5b4f82143d89b5fcb9f744d8fa09b1174ff85ccf813568b568c4346 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-27T04:26:18.364Z] provisioning config files... [2023-09-27T04:26:18.371Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp/config578295418802008461tmp [Pipeline] { [Pipeline] sh [2023-09-27T04:26:18.698Z] + set +x [2023-09-27T04:26:18.698Z] + bash -s -- [2023-09-27T04:26:18.698Z] + curl -s https://codecov.io/bash [2023-09-27T04:26:18.957Z] [2023-09-27T04:26:18.957Z] _____ _ [2023-09-27T04:26:18.957Z] / ____| | | [2023-09-27T04:26:18.957Z] | | ___ __| | ___ ___ _____ __ [2023-09-27T04:26:18.957Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-27T04:26:18.957Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-27T04:26:18.957Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-27T04:26:18.957Z] Bash-1.0.6 [2023-09-27T04:26:18.957Z] [2023-09-27T04:26:18.957Z] [2023-09-27T04:26:18.957Z] ==> git version 2.25.1 found [2023-09-27T04:26:18.957Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-27T04:26:18.957Z] Release-Date: 2020-01-08 [2023-09-27T04:26:18.957Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-27T04:26:18.957Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-27T04:26:18.957Z] ==> Jenkins CI detected. [2023-09-27T04:26:18.957Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1519 [2023-09-27T04:26:18.957Z] project root: . [2023-09-27T04:26:18.957Z] --> token set from env [2023-09-27T04:26:18.957Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-27T04:26:18.957Z] ==> Running gcov in . (disable via -X gcov) [2023-09-27T04:26:18.957Z] ==> Python coveragepy not found [2023-09-27T04:26:18.957Z] ==> Searching for coverage reports in: [2023-09-27T04:26:18.957Z] + . [2023-09-27T04:26:18.957Z] -> Found 1 reports [2023-09-27T04:26:18.957Z] ==> Detecting git/mercurial file structure [2023-09-27T04:26:18.957Z] ==> Reading reports [2023-09-27T04:26:18.957Z] + ./coverage.out bytes=121386 [2023-09-27T04:26:18.957Z] ==> Appending adjustments [2023-09-27T04:26:18.957Z] https://docs.codecov.io/docs/fixing-reports [2023-09-27T04:26:19.217Z] + Found adjustments [2023-09-27T04:26:19.217Z] ==> Gzipping contents [2023-09-27T04:26:19.217Z] 20K /tmp/codecov.oPXOk4.gz [2023-09-27T04:26:19.217Z] ==> Uploading reports [2023-09-27T04:26:19.217Z] url: https://codecov.io [2023-09-27T04:26:19.217Z] query: branch=PR-1519&commit=c104a54fb285324513cdba18e3afad8bd8d3a089&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1519%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1519&job=&cmd_args= [2023-09-27T04:26:19.217Z] -> Pinging Codecov [2023-09-27T04:26:19.217Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1519&commit=c104a54fb285324513cdba18e3afad8bd8d3a089&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1519%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1519&job=&cmd_args= [2023-09-27T04:26:19.477Z] -> Uploading to [2023-09-27T04:26:19.477Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-27/7E55EF52A471D76F132DFD9A03CDDE97/c104a54fb285324513cdba18e3afad8bd8d3a089/72ab7aab-9351-4ddb-b1f7-d0fe37615f9c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T042619Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08adf21cfb9b50e287daf8eba18f215eaed33a8d7c2285e13b97b847354f5a66 [2023-09-27T04:26:19.477Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-27T04:26:19.477Z] Dload Upload Total Spent Left Speed [2023-09-27T04:26:19.737Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16517 0 0 100 16517 0 48436 --:--:-- --:--:-- --:--:-- 48436 [2023-09-27T04:26:19.737Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c104a54fb285324513cdba18e3afad8bd8d3a089 [Pipeline] } [2023-09-27T04:26:19.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-27T04:26:21.580Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1519/archives ] [2023-09-27T04:26:21.580Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1519/archives [2023-09-27T04:26:21.580Z] total 16 [2023-09-27T04:26:21.580Z] drwxr-xr-x 3 root root 4096 Sep 27 04:17 . [2023-09-27T04:26:21.580Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 04:17 .. [2023-09-27T04:26:21.580Z] drwxr-xr-x 2 root root 4096 Sep 27 04:17 cost [2023-09-27T04:26:21.580Z] -rw-r--r-- 1 root root 86 Sep 27 04:17 cost.csv [2023-09-27T04:26:21.580Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1519/archives [2023-09-27T04:26:21.580Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1519/archives [2023-09-27T04:26:21.580Z] total 16 [2023-09-27T04:26:21.580Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 04:17 . [2023-09-27T04:26:21.580Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 04:17 .. [2023-09-27T04:26:21.580Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 04:17 cost [2023-09-27T04:26:21.580Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 27 04:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:26:21.903Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:26:22.789Z] ---> package-listing.sh [2023-09-27T04:26:22.789Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-27T04:26:22.789Z] ++ facter osfamily [2023-09-27T04:26:23.048Z] + OS_FAMILY=debian [2023-09-27T04:26:23.048Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1519 [2023-09-27T04:26:23.048Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-27T04:26:23.048Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-27T04:26:23.048Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-27T04:26:23.048Z] + PACKAGES=/tmp/packages_start.txt [2023-09-27T04:26:23.048Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1519 ']' [2023-09-27T04:26:23.048Z] + PACKAGES=/tmp/packages_end.txt [2023-09-27T04:26:23.048Z] + case "${OS_FAMILY}" in [2023-09-27T04:26:23.048Z] + dpkg -l [2023-09-27T04:26:23.048Z] + grep '^ii' [2023-09-27T04:26:23.048Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-27T04:26:23.048Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-27T04:26:23.048Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-27T04:26:23.048Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1519 ']' [2023-09-27T04:26:23.048Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1519/archives/ [2023-09-27T04:26:23.048Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1519/archives/ [Pipeline] echo [2023-09-27T04:26:23.081Z] 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-1519/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-27T04:26:23.374Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-27T04:26:23.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-27T04:26:23.996Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-27T04:26:24.153Z] prd-ubuntu20.04-docker-8c-8g-8010 does not seem to be running inside a container [2023-09-27T04:26:24.186Z] $ 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-1519/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-1519 -v /w/workspace/gexfoundry_device-sdk-go_PR-1519:/w/workspace/gexfoundry_device-sdk-go_PR-1519:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-27T04:26:24.374Z] $ docker top e81961aaf248a48e91fb02715949e9aa75dca3a48fb175dbe993b85a371449d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-27T04:26:24.761Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-27T04:26:25.073Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-27T04:26:25.381Z] + ls /var/log/sa-host [2023-09-27T04:26:25.381Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-27T04:26:25.601Z] provisioning config files... [2023-09-27T04:26:25.610Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1519@tmp/config11802119990417939705tmp [Pipeline] { [Pipeline] echo [2023-09-27T04:26:25.665Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:26:25.974Z] ---> create-netrc.sh [Pipeline] } [2023-09-27T04:26:25.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:26:26.394Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-27T04:26:26.434Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:26:26.743Z] ---> sudo-logs.sh [2023-09-27T04:26:26.743Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-27T04:26:26.839Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:26:27.152Z] ---> job-cost.sh [2023-09-27T04:26:27.153Z] lf-activate-venv: SKIPPING [2023-09-27T04:26:27.153Z] DEBUG: total: 0.2199999988079071 [2023-09-27T04:26:27.153Z] INFO: Retrieving Stack Cost... [2023-09-27T04:26:27.410Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-27T04:26:27.974Z] INFO: Archiving Costs [Pipeline] echo [2023-09-27T04:26:28.015Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-27T04:26:28.325Z] ---> logs-deploy.sh [2023-09-27T04:26:28.326Z] lf-activate-venv: SKIPPING [2023-09-27T04:26:28.326Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1519/1 [2023-09-27T04:26:28.326Z] INFO: archiving workspace using pattern(s): [2023-09-27T04:26:29.263Z] Archives upload complete. [2023-09-27T04:26:29.522Z] INFO: archiving logs to Nexus