Pull request #1383 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c8db23b1a6b25d7a6f6840ad14ef190b57abe162+76ea4d1458b486cd84374d1f970a86ad0e64425c (d1e453cb3718b571ed9a3b6c3cf2d61dd6762cbe) 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-ssh13308687036281367754.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5084294017511912429.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1383/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-1383/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8229318826834218119.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-1383/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7493877579845686565.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh9938038080412375155.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-1383/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-1383/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6906574384029137687.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-186 in /w/workspace/gexfoundry_device-sdk-go_PR-1383 [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-1383 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1383/head:refs/remotes/origin/PR-1383 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 76ea4d1458b486cd84374d1f970a86ad0e64425c into PR head commit c8db23b1a6b25d7a6f6840ad14ef190b57abe162 Merge succeeded, producing c8db23b1a6b25d7a6f6840ad14ef190b57abe162 Checking out Revision c8db23b1a6b25d7a6f6840ad14ef190b57abe162 (PR-1383) > git config core.sparsecheckout # timeout=10 > git checkout -f c8db23b1a6b25d7a6f6840ad14ef190b57abe162 # 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 76ea4d1458b486cd84374d1f970a86ad0e64425c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8db23b1a6b25d7a6f6840ad14ef190b57abe162 # timeout=10 Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-14T17:48:04.827Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-14T17:48:04.991Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-14T17:48:05.092Z] ========================================================= [2023-03-14T17:48:05.092Z] EdgeX Global Pipelines Version Info [2023-03-14T17:48:05.092Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-14T17:48:05.853Z] ------------------- [2023-03-14T17:48:05.853Z] stable info: [2023-03-14T17:48:05.853Z] ------------------- [2023-03-14T17:48:05.853Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-14T17:48:05.853Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T17:48:05.853Z] Message: update stable to v1.0.245 [2023-03-14T17:48:06.423Z] ------------------- [2023-03-14T17:48:06.423Z] experimental info: [2023-03-14T17:48:06.423Z] ------------------- [2023-03-14T17:48:06.423Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-14T17:48:06.423Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-14T17:48:06.423Z] Message: update experimental to v1.0.245 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-14T17:48:06.748Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-14T17:48:06.787Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-14T17:48:06.825Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-14T17:48:06.863Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-14T17:48:06.907Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-14T17:48:06.946Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-14T17:48:06.989Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-14T17:48:07.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-14T17:48:07.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-14T17:48:07.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-14T17:48:07.151Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-14T17:48:07.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-14T17:48:07.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-14T17:48:07.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-14T17:48:07.318Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-14T17:48:07.354Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T17:48:07.394Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T17:48:07.435Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-14T17:48:07.474Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-14T17:48:07.517Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-14T17:48:07.560Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-14T17:48:07.601Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-14T17:48:07.639Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-14T17:48:07.679Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-14T17:48:07.717Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-14T17:48:07.754Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-14T17:48:07.791Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-14T17:48:07.839Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1383 [Pipeline] echo [2023-03-14T17:48:07.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1383 [Pipeline] echo [2023-03-14T17:48:07.922Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1383 [Pipeline] echo [2023-03-14T17:48:07.960Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8db23b1a6b25d7a6f6840ad14ef190b57abe162 [Pipeline] echo [2023-03-14T17:48:07.996Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8db23b [Pipeline] echo [2023-03-14T17:48:08.035Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T17:48:08.146Z] provisioning config files... [2023-03-14T17:48:08.162Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp/config7231102463397302846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T17:48:08.502Z] ---> docker-login.sh [2023-03-14T17:48:08.502Z] nexus3.edgexfoundry.org:10001 [2023-03-14T17:48:08.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:48:08.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:48:08.763Z] Configure a credential helper to remove this warning. See [2023-03-14T17:48:08.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:48:08.763Z] [2023-03-14T17:48:08.763Z] Login Succeeded [2023-03-14T17:48:08.763Z] nexus3.edgexfoundry.org:10002 [2023-03-14T17:48:08.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:48:08.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:48:08.763Z] Configure a credential helper to remove this warning. See [2023-03-14T17:48:08.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:48:08.763Z] [2023-03-14T17:48:08.763Z] Login Succeeded [2023-03-14T17:48:08.763Z] nexus3.edgexfoundry.org:10003 [2023-03-14T17:48:09.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:48:09.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:48:09.022Z] Configure a credential helper to remove this warning. See [2023-03-14T17:48:09.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:48:09.022Z] [2023-03-14T17:48:09.022Z] Login Succeeded [2023-03-14T17:48:09.022Z] nexus3.edgexfoundry.org:10004 [2023-03-14T17:48:09.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:48:09.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:48:09.022Z] Configure a credential helper to remove this warning. See [2023-03-14T17:48:09.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:48:09.022Z] [2023-03-14T17:48:09.022Z] Login Succeeded [2023-03-14T17:48:09.022Z] docker.io [2023-03-14T17:48:09.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:48:09.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:48:09.281Z] Configure a credential helper to remove this warning. See [2023-03-14T17:48:09.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:48:09.281Z] [2023-03-14T17:48:09.281Z] Login Succeeded [2023-03-14T17:48:09.281Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T17:48:09.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-14T17:48:09.915Z] + git rev-list -1 --merges c8db23b1a6b25d7a6f6840ad14ef190b57abe162~1..c8db23b1a6b25d7a6f6840ad14ef190b57abe162 [Pipeline] echo [2023-03-14T17:48:09.973Z] -----------> git rev-list -1 --merges c8db23b1a6b25d7a6f6840ad14ef190b57abe162~1..c8db23b1a6b25d7a6f6840ad14ef190b57abe162 c8db23b1a6b25d7a6f6840ad14ef190b57abe162 [false] [Pipeline] sh [2023-03-14T17:48:10.279Z] + git log --format=format:%s -1 c8db23b1a6b25d7a6f6840ad14ef190b57abe162 [Pipeline] echo [2023-03-14T17:48:10.314Z] ========================================================= [2023-03-14T17:48:10.314Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-14T17:48:10.314Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T17:48:10.739Z] + git log --format=format:%s -1 c8db23b1a6b25d7a6f6840ad14ef190b57abe162 [Pipeline] echo [2023-03-14T17:48:10.772Z] [semverPrep] GIT_COMMIT: c8db23b1a6b25d7a6f6840ad14ef190b57abe162, Commit Message: build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2 [Pipeline] echo [2023-03-14T17:48:10.805Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-14T17:48:11.173Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-14T17:48:11.174Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-14T17:48:11.174Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-14T17:48:11.174Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-14T17:48:11.174Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-14T17:48:11.174Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-14T17:48:11.174Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T17:48:11.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T17:48:11.594Z] [2023-03-14T17:48:11.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T17:48:11.968Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T17:48:11.968Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-14T17:48:11.968Z] b85a868b505f: Pulling fs layer [2023-03-14T17:48:11.968Z] e2be974225ed: Pulling fs layer [2023-03-14T17:48:11.968Z] 339a4e72a1f5: Pulling fs layer [2023-03-14T17:48:11.968Z] 988bab9f4d93: Pulling fs layer [2023-03-14T17:48:11.968Z] 1469e6f7b9e6: Pulling fs layer [2023-03-14T17:48:11.968Z] eaf3925da568: Pulling fs layer [2023-03-14T17:48:11.968Z] bab4dde63d76: Pulling fs layer [2023-03-14T17:48:11.968Z] bde34c3a00c8: Pulling fs layer [2023-03-14T17:48:11.968Z] b352a97aabf1: Pulling fs layer [2023-03-14T17:48:11.968Z] 4872d77fe225: Pulling fs layer [2023-03-14T17:48:11.968Z] 5851b861e8e6: Pulling fs layer [2023-03-14T17:48:11.968Z] 988bab9f4d93: Waiting [2023-03-14T17:48:11.968Z] eaf3925da568: Waiting [2023-03-14T17:48:11.968Z] bde34c3a00c8: Waiting [2023-03-14T17:48:11.968Z] bab4dde63d76: Waiting [2023-03-14T17:48:11.968Z] 5851b861e8e6: Waiting [2023-03-14T17:48:11.968Z] 4872d77fe225: Waiting [2023-03-14T17:48:11.968Z] b352a97aabf1: Waiting [2023-03-14T17:48:11.968Z] 1469e6f7b9e6: Waiting [2023-03-14T17:48:11.968Z] e2be974225ed: Download complete [2023-03-14T17:48:11.968Z] 988bab9f4d93: Verifying Checksum [2023-03-14T17:48:11.968Z] 988bab9f4d93: Download complete [2023-03-14T17:48:12.228Z] 1469e6f7b9e6: Verifying Checksum [2023-03-14T17:48:12.228Z] 1469e6f7b9e6: Download complete [2023-03-14T17:48:12.228Z] eaf3925da568: Verifying Checksum [2023-03-14T17:48:12.228Z] eaf3925da568: Download complete [2023-03-14T17:48:12.228Z] 339a4e72a1f5: Verifying Checksum [2023-03-14T17:48:12.228Z] 339a4e72a1f5: Download complete [2023-03-14T17:48:12.228Z] bde34c3a00c8: Verifying Checksum [2023-03-14T17:48:12.228Z] bde34c3a00c8: Download complete [2023-03-14T17:48:12.228Z] b352a97aabf1: Download complete [2023-03-14T17:48:12.228Z] 4872d77fe225: Verifying Checksum [2023-03-14T17:48:12.228Z] 4872d77fe225: Download complete [2023-03-14T17:48:12.228Z] 5851b861e8e6: Verifying Checksum [2023-03-14T17:48:12.228Z] 5851b861e8e6: Download complete [2023-03-14T17:48:12.228Z] b85a868b505f: Verifying Checksum [2023-03-14T17:48:12.228Z] b85a868b505f: Download complete [2023-03-14T17:48:12.488Z] bab4dde63d76: Verifying Checksum [2023-03-14T17:48:12.488Z] bab4dde63d76: Download complete [2023-03-14T17:48:13.419Z] b85a868b505f: Pull complete [2023-03-14T17:48:13.419Z] e2be974225ed: Pull complete [2023-03-14T17:48:13.986Z] 339a4e72a1f5: Pull complete [2023-03-14T17:48:13.986Z] 988bab9f4d93: Pull complete [2023-03-14T17:48:14.246Z] 1469e6f7b9e6: Pull complete [2023-03-14T17:48:14.246Z] eaf3925da568: Pull complete [2023-03-14T17:48:16.142Z] bab4dde63d76: Pull complete [2023-03-14T17:48:16.142Z] bde34c3a00c8: Pull complete [2023-03-14T17:48:16.142Z] b352a97aabf1: Pull complete [2023-03-14T17:48:16.399Z] 4872d77fe225: Pull complete [2023-03-14T17:48:16.399Z] 5851b861e8e6: Pull complete [2023-03-14T17:48:16.399Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-14T17:48:16.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-14T17:48:16.399Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T17:48:16.619Z] prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container [2023-03-14T17:48:16.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1383 -v /w/workspace/gexfoundry_device-sdk-go_PR-1383:/w/workspace/gexfoundry_device-sdk-go_PR-1383:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1383@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-devops/py-git-semver:0.1.4 cat [2023-03-14T17:48:18.736Z] $ docker top cf3346ddc2833514780c5661431661750a67efa1a9d87c4d725663a41d7557d1 -eo pid,comm [2023-03-14T17:48:18.791Z] 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-03-14T17:48:18.791Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-14T17:48:18.924Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T17:48:18.924Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T17:48:19.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T17:48:19.054Z] $ docker exec cf3346ddc2833514780c5661431661750a67efa1a9d87c4d725663a41d7557d1 ssh-agent [2023-03-14T17:48:19.159Z] SSH_AUTH_SOCK=/tmp/ssh-f6lA88PHaipS/agent.32 [2023-03-14T17:48:19.159Z] SSH_AGENT_PID=38 [2023-03-14T17:48:19.164Z] Running ssh-add (command line suppressed) [2023-03-14T17:48:19.263Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp/private_key_15929227583064278389.key (/w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp/private_key_15929227583064278389.key) [2023-03-14T17:48:19.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T17:48:19.602Z] + git tag --points-at HEAD [Pipeline] } [2023-03-14T17:48:19.632Z] $ docker exec --env ******** --env ******** cf3346ddc2833514780c5661431661750a67efa1a9d87c4d725663a41d7557d1 ssh-agent -k [2023-03-14T17:48:19.733Z] unset SSH_AUTH_SOCK; [2023-03-14T17:48:19.733Z] unset SSH_AGENT_PID; [2023-03-14T17:48:19.733Z] echo Agent pid 38 killed; [2023-03-14T17:48:19.738Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-14T17:48:19.825Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-14T17:48:19.825Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-14T17:48:19.929Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-14T17:48:19.936Z] $ docker exec cf3346ddc2833514780c5661431661750a67efa1a9d87c4d725663a41d7557d1 ssh-agent [2023-03-14T17:48:20.036Z] SSH_AUTH_SOCK=/tmp/ssh-O48Ex9YroIOz/agent.70 [2023-03-14T17:48:20.036Z] SSH_AGENT_PID=76 [2023-03-14T17:48:20.040Z] Running ssh-add (command line suppressed) [2023-03-14T17:48:20.152Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp/private_key_12130155197815638572.key (/w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp/private_key_12130155197815638572.key) [2023-03-14T17:48:20.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-14T17:48:20.557Z] + git semver init [2023-03-14T17:48:20.817Z] 2023-03-14 17:48:20,727 [run_init] DEBUG init version:0.0.0 force:False [2023-03-14T17:48:20.817Z] 2023-03-14 17:48:20,728 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1383/.semver [2023-03-14T17:48:20.817Z] 2023-03-14 17:48:20,729 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1383/.semver [2023-03-14T17:48:20.817Z] 2023-03-14 17:48:20,729 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1383/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1383, universal_newlines=False, shell=None, istream=None) [2023-03-14T17:48:21.754Z] 2023-03-14 17:48:21,605 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1383/.git/info/exclude [2023-03-14T17:48:21.754Z] 2023-03-14 17:48:21,605 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1383/.semver/PR-1383 with force:False [2023-03-14T17:48:21.754Z] 2023-03-14 17:48:21,605 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1383/.semver/PR-1383 [2023-03-14T17:48:21.754Z] 2023-03-14 17:48:21,609 [execute] INFO git cat-file --batch-check [2023-03-14T17:48:21.754Z] 2023-03-14 17:48:21,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1383/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T17:48:21.754Z] 2023-03-14 17:48:21,615 [execute] INFO git cat-file --batch [2023-03-14T17:48:21.754Z] 2023-03-14 17:48:21,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1383/.semver, universal_newlines=False, shell=None, istream=) [2023-03-14T17:48:21.754Z] 2023-03-14 17:48:21,618 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1383/.semver/PR-1383 [2023-03-14T17:48:21.754Z] 0.0.0 [Pipeline] } [2023-03-14T17:48:21.782Z] $ docker exec --env ******** --env ******** cf3346ddc2833514780c5661431661750a67efa1a9d87c4d725663a41d7557d1 ssh-agent -k [2023-03-14T17:48:21.890Z] unset SSH_AUTH_SOCK; [2023-03-14T17:48:21.890Z] unset SSH_AGENT_PID; [2023-03-14T17:48:21.890Z] echo Agent pid 76 killed; [2023-03-14T17:48:21.896Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-14T17:48:22.313Z] + git semver [Pipeline] } [2023-03-14T17:48:22.598Z] $ docker stop --time=1 cf3346ddc2833514780c5661431661750a67efa1a9d87c4d725663a41d7557d1 [2023-03-14T17:48:23.855Z] $ docker rm -f --volumes cf3346ddc2833514780c5661431661750a67efa1a9d87c4d725663a41d7557d1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T17:48:24.258Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-14T17:48:24.574Z] Stashed 1 file(s) [Pipeline] echo [2023-03-14T17:48:24.592Z] [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-03-14T17:48:25.199Z] provisioning config files... [2023-03-14T17:48:25.211Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp/config18315253725521244319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T17:48:25.549Z] ---> docker-login.sh [2023-03-14T17:48:25.550Z] nexus3.edgexfoundry.org:10001 [2023-03-14T17:48:25.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:48:25.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:48:25.550Z] Configure a credential helper to remove this warning. See [2023-03-14T17:48:25.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:48:25.550Z] [2023-03-14T17:48:25.550Z] Login Succeeded [2023-03-14T17:48:25.550Z] nexus3.edgexfoundry.org:10002 [2023-03-14T17:48:25.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:48:25.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:48:25.550Z] Configure a credential helper to remove this warning. See [2023-03-14T17:48:25.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:48:25.550Z] [2023-03-14T17:48:25.550Z] Login Succeeded [2023-03-14T17:48:25.550Z] nexus3.edgexfoundry.org:10003 [2023-03-14T17:48:25.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:48:25.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:48:25.809Z] Configure a credential helper to remove this warning. See [2023-03-14T17:48:25.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:48:25.809Z] [2023-03-14T17:48:25.809Z] Login Succeeded [2023-03-14T17:48:25.809Z] nexus3.edgexfoundry.org:10004 [2023-03-14T17:48:25.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:48:25.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:48:25.809Z] Configure a credential helper to remove this warning. See [2023-03-14T17:48:25.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:48:25.809Z] [2023-03-14T17:48:25.809Z] Login Succeeded [2023-03-14T17:48:25.809Z] docker.io [2023-03-14T17:48:26.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:48:26.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:48:26.067Z] Configure a credential helper to remove this warning. See [2023-03-14T17:48:26.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:48:26.067Z] [2023-03-14T17:48:26.067Z] Login Succeeded [2023-03-14T17:48:26.327Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T17:48:26.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T17:48:26.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T17:48:26.583Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T17:48:26.615Z] ========================================================= [2023-03-14T17:48:26.615Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-14T17:48:26.615Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T17:48:27.065Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T17:48:27.065Z] Sending build context to Docker daemon 10.8MB [2023-03-14T17:48:27.065Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T17:48:27.065Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T17:48:27.065Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-14T17:48:27.065Z] 63b65145d645: Pulling fs layer [2023-03-14T17:48:27.065Z] a2d21d5440eb: Pulling fs layer [2023-03-14T17:48:27.065Z] 935e6c44a52c: Pulling fs layer [2023-03-14T17:48:27.065Z] 94cc34f8dd06: Pulling fs layer [2023-03-14T17:48:27.065Z] 30dea6a524f1: Pulling fs layer [2023-03-14T17:48:27.065Z] a2aff8979fd8: Pulling fs layer [2023-03-14T17:48:27.065Z] 6808be2612f2: Pulling fs layer [2023-03-14T17:48:27.065Z] f25807f1079a: Pulling fs layer [2023-03-14T17:48:27.065Z] 30dea6a524f1: Waiting [2023-03-14T17:48:27.065Z] a2aff8979fd8: Waiting [2023-03-14T17:48:27.065Z] 6808be2612f2: Waiting [2023-03-14T17:48:27.065Z] f25807f1079a: Waiting [2023-03-14T17:48:27.065Z] 94cc34f8dd06: Waiting [2023-03-14T17:48:27.325Z] a2d21d5440eb: Download complete [2023-03-14T17:48:27.325Z] 94cc34f8dd06: Verifying Checksum [2023-03-14T17:48:27.325Z] 94cc34f8dd06: Download complete [2023-03-14T17:48:27.325Z] 30dea6a524f1: Download complete [2023-03-14T17:48:27.325Z] 63b65145d645: Verifying Checksum [2023-03-14T17:48:27.325Z] 63b65145d645: Download complete [2023-03-14T17:48:27.325Z] a2aff8979fd8: Verifying Checksum [2023-03-14T17:48:27.325Z] a2aff8979fd8: Download complete [2023-03-14T17:48:27.325Z] 63b65145d645: Pull complete [2023-03-14T17:48:27.589Z] a2d21d5440eb: Pull complete [2023-03-14T17:48:27.850Z] f25807f1079a: Verifying Checksum [2023-03-14T17:48:27.850Z] f25807f1079a: Download complete [2023-03-14T17:48:27.850Z] 935e6c44a52c: Verifying Checksum [2023-03-14T17:48:27.850Z] 935e6c44a52c: Download complete [2023-03-14T17:48:28.109Z] 6808be2612f2: Verifying Checksum [2023-03-14T17:48:28.109Z] 6808be2612f2: Download complete [2023-03-14T17:48:31.389Z] 935e6c44a52c: Pull complete [2023-03-14T17:48:31.389Z] 94cc34f8dd06: Pull complete [2023-03-14T17:48:31.389Z] 30dea6a524f1: Pull complete [2023-03-14T17:48:31.389Z] a2aff8979fd8: Pull complete [2023-03-14T17:48:33.924Z] 6808be2612f2: Pull complete [2023-03-14T17:48:34.494Z] f25807f1079a: Pull complete [2023-03-14T17:48:34.494Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-14T17:48:34.494Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-14T17:48:34.494Z] ---> 3b553350e43f [2023-03-14T17:48:34.494Z] Step 3/10 : ARG MAKE=make build [2023-03-14T17:48:37.791Z] ---> Running in 1e985bc62dac [2023-03-14T17:48:37.791Z] Removing intermediate container 1e985bc62dac [2023-03-14T17:48:37.791Z] ---> cfe2041d63a4 [2023-03-14T17:48:37.791Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-14T17:48:37.791Z] ---> Running in 4fffb7cc1ef9 [2023-03-14T17:48:37.791Z] Removing intermediate container 4fffb7cc1ef9 [2023-03-14T17:48:37.791Z] ---> 23b3465cbd8a [2023-03-14T17:48:37.791Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T17:48:37.791Z] ---> Running in bdcb690c06ec [2023-03-14T17:48:37.791Z] Removing intermediate container bdcb690c06ec [2023-03-14T17:48:37.791Z] ---> eda70b7450ae [2023-03-14T17:48:37.791Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-14T17:48:38.049Z] ---> Running in f60203027ce0 [2023-03-14T17:48:38.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T17:48:38.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T17:48:38.565Z] OK: 265 MiB in 53 packages [2023-03-14T17:48:38.823Z] Removing intermediate container f60203027ce0 [2023-03-14T17:48:38.823Z] ---> 59f27a53bc76 [2023-03-14T17:48:38.823Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T17:48:39.083Z] ---> c39bd8539a49 [2023-03-14T17:48:39.083Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T17:48:39.083Z] ---> Running in a26d86c4fd3a [2023-03-14T17:48:40.024Z] Still waiting to schedule task [2023-03-14T17:48:40.024Z] ‘prd-ubuntu18.04-docker-8c-8g-160’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-14T17:48:40.024Z] ‘prd-ubuntu20.04-docker-8c-8g-180’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-14T17:48:40.024Z] ‘prd-ubuntu20.04-docker-8c-8g-181’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-14T17:48:40.024Z] ‘prd-ubuntu20.04-docker-8c-8g-182’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-14T17:48:40.024Z] ‘prd-ubuntu20.04-docker-8c-8g-183’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-14T17:48:40.024Z] ‘prd-ubuntu20.04-docker-8c-8g-189’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-14T17:48:40.024Z] ‘prd-ubuntu20.04-docker-8c-8g-191’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-14T17:48:40.024Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-184’ is offline [2023-03-14T17:49:11.179Z] Removing intermediate container a26d86c4fd3a [2023-03-14T17:49:11.179Z] ---> 71e7dde3520d [2023-03-14T17:49:11.179Z] Step 9/10 : COPY . . [2023-03-14T17:49:11.179Z] ---> 3051a47339d3 [2023-03-14T17:49:11.179Z] Step 10/10 : RUN ${MAKE} [2023-03-14T17:49:11.179Z] ---> Running in afd7b611dce2 [2023-03-14T17:49:11.441Z] noop [2023-03-14T17:49:11.699Z] Removing intermediate container afd7b611dce2 [2023-03-14T17:49:11.699Z] ---> 6eaf62867d3c [2023-03-14T17:49:11.699Z] Successfully built 6eaf62867d3c [2023-03-14T17:49:11.699Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T17:49:12.142Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T17:49:12.142Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T17:49:12.281Z] prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container [2023-03-14T17:49:12.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1383 -v /w/workspace/gexfoundry_device-sdk-go_PR-1383:/w/workspace/gexfoundry_device-sdk-go_PR-1383:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T17:49:12.634Z] $ docker top cd0431106093f253d5872fb6c1ce254d784abe1221af31af50a7452f8454d8ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T17:49:13.036Z] + go version [2023-03-14T17:49:13.036Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-14T17:49:13.073Z] $ docker stop --time=1 cd0431106093f253d5872fb6c1ce254d784abe1221af31af50a7452f8454d8ca [2023-03-14T17:49:14.367Z] $ docker rm -f --volumes cd0431106093f253d5872fb6c1ce254d784abe1221af31af50a7452f8454d8ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T17:49:15.067Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-14T17:49:15.067Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T17:49:15.306Z] prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container [2023-03-14T17:49:15.337Z] $ 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-1383 -v /w/workspace/gexfoundry_device-sdk-go_PR-1383:/w/workspace/gexfoundry_device-sdk-go_PR-1383:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-14T17:49:15.657Z] $ docker top 3519f33c788b4c15926934363e858f69c0d59af322a518408d4844971b37c816 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T17:49:16.043Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1383 [Pipeline] fileExists [Pipeline] sh [2023-03-14T17:49:16.399Z] + make test [2023-03-14T17:49:16.399Z] go test -race -coverprofile=coverage.out ./... [2023-03-14T17:49:22.962Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-14T17:49:37.825Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-14T17:49:37.825Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-14T17:49:37.825Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-14T17:49:37.825Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-14T17:49:37.825Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-14T17:49:37.825Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.064s coverage: 27.6% of statements [2023-03-14T17:49:37.825Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 78.9% of statements [2023-03-14T17:49:37.825Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-14T17:49:37.825Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-14T17:49:37.825Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.073s coverage: 86.0% of statements [2023-03-14T17:49:38.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-14T17:49:38.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-14T17:49:38.757Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 75.9% of statements [2023-03-14T17:49:38.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-14T17:49:38.757Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-14T17:49:39.688Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-14T17:49:41.589Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.070s coverage: 15.2% of statements [2023-03-14T17:49:41.589Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 65.7% of statements [2023-03-14T17:49:41.589Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.111s coverage: 89.2% of statements [2023-03-14T17:49:41.589Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements [2023-03-14T17:50:03.497Z] GO111MODULE=on go vet ./... [2023-03-14T17:50:04.430Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T17:50:04.430Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T17:50:04.687Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T17:50:04.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T17:50:04.754Z] $ docker stop --time=1 3519f33c788b4c15926934363e858f69c0d59af322a518408d4844971b37c816 [2023-03-14T17:50:07.901Z] $ docker rm -f --volumes 3519f33c788b4c15926934363e858f69c0d59af322a518408d4844971b37c816 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T17:50:08.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T17:50:08.576Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-14T17:50:09.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T17:50:09.562Z] + ls -al . [2023-03-14T17:50:09.562Z] total 276 [2023-03-14T17:50:09.562Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 14 17:49 . [2023-03-14T17:50:09.562Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 17:47 .. [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 17:48 .dockerignore [2023-03-14T17:50:09.562Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 17:48 .git [2023-03-14T17:50:09.562Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 17:48 .github [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 17:48 .gitignore [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 17:48 .golangci.yml [2023-03-14T17:50:09.562Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 17:48 .semver [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 17:48 CHANGELOG.md [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 17:48 GOVERNANCE.md [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 17:48 Jenkinsfile [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 17:48 LICENSE [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 14 17:48 Makefile [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 17:48 OWNERS.md [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 17:48 README.md [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 17:48 VERSION [2023-03-14T17:50:09.562Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 17:48 bin [2023-03-14T17:50:09.562Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 14 17:49 coverage.out [2023-03-14T17:50:09.562Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 17:48 example [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 17:48 go.mod [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 17:48 go.sum [2023-03-14T17:50:09.562Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 17:48 internal [2023-03-14T17:50:09.562Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 17:48 openapi [2023-03-14T17:50:09.562Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 17:48 pkg [2023-03-14T17:50:09.562Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 17:48 snap [2023-03-14T17:50:09.562Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 17:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T17:50:10.014Z] + 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=c8db23b1a6b25d7a6f6840ad14ef190b57abe162 --label arch=amd64 --label version=0.0.0 . [2023-03-14T17:50:10.015Z] Sending build context to Docker daemon 10.91MB [2023-03-14T17:50:10.015Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T17:50:10.015Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-14T17:50:10.015Z] ---> 6eaf62867d3c [2023-03-14T17:50:10.015Z] Step 3/23 : ARG MAKE=make build [2023-03-14T17:50:10.275Z] ---> Running in 7ad7781ae2a7 [2023-03-14T17:50:10.275Z] Removing intermediate container 7ad7781ae2a7 [2023-03-14T17:50:10.275Z] ---> 5c7e66e3cdd4 [2023-03-14T17:50:10.275Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-14T17:50:10.275Z] ---> Running in 5b44612b82c6 [2023-03-14T17:50:10.275Z] Removing intermediate container 5b44612b82c6 [2023-03-14T17:50:10.275Z] ---> 11548b3dd206 [2023-03-14T17:50:10.275Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T17:50:10.275Z] ---> Running in c07d4b1cbe46 [2023-03-14T17:50:10.533Z] Removing intermediate container c07d4b1cbe46 [2023-03-14T17:50:10.533Z] ---> 327865c41250 [2023-03-14T17:50:10.533Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-14T17:50:10.533Z] ---> Running in 658d378dffee [2023-03-14T17:50:10.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T17:50:10.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T17:50:11.049Z] OK: 265 MiB in 53 packages [2023-03-14T17:50:11.309Z] Removing intermediate container 658d378dffee [2023-03-14T17:50:11.309Z] ---> 0eb1c2d8b685 [2023-03-14T17:50:11.309Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-14T17:50:11.567Z] ---> c524df1d178b [2023-03-14T17:50:11.567Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T17:50:11.567Z] ---> Running in 00f248845a45 [2023-03-14T17:50:12.135Z] Removing intermediate container 00f248845a45 [2023-03-14T17:50:12.135Z] ---> 78c899ad744e [2023-03-14T17:50:12.135Z] Step 9/23 : COPY . . [2023-03-14T17:50:12.702Z] ---> bedc4741078d [2023-03-14T17:50:12.702Z] Step 10/23 : RUN ${MAKE} [2023-03-14T17:50:12.702Z] ---> Running in 3752bdf7d991 [2023-03-14T17:50:12.960Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-14T17:50:31.029Z] Removing intermediate container 3752bdf7d991 [2023-03-14T17:50:31.029Z] ---> 80704cfc48f7 [2023-03-14T17:50:31.029Z] Step 11/23 : FROM alpine:3.17 [2023-03-14T17:50:31.029Z] 3.17: Pulling from library/alpine [2023-03-14T17:50:31.029Z] 63b65145d645: Already exists [2023-03-14T17:50:31.029Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T17:50:31.029Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T17:50:31.029Z] ---> b2aa39c304c2 [2023-03-14T17:50:31.029Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T17:50:31.029Z] ---> Running in ab27873a0fd0 [2023-03-14T17:50:31.029Z] Removing intermediate container ab27873a0fd0 [2023-03-14T17:50:31.029Z] ---> 75bdda65d78c [2023-03-14T17:50:31.029Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-14T17:50:31.029Z] ---> Running in 7b4f880bcace [2023-03-14T17:50:31.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-14T17:50:31.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-14T17:50:31.550Z] OK: 7 MiB in 15 packages [2023-03-14T17:50:31.810Z] Removing intermediate container 7b4f880bcace [2023-03-14T17:50:31.810Z] ---> 130edf925126 [2023-03-14T17:50:31.810Z] Step 14/23 : WORKDIR / [2023-03-14T17:50:31.810Z] ---> Running in e4d6afdaafaf [2023-03-14T17:50:32.068Z] Removing intermediate container e4d6afdaafaf [2023-03-14T17:50:32.068Z] ---> 5f487d41374b [2023-03-14T17:50:32.068Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-14T17:50:32.068Z] ---> 81ba52fb9347 [2023-03-14T17:50:32.068Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-14T17:50:32.701Z] ---> 63c0184bdead [2023-03-14T17:50:32.701Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-14T17:50:32.961Z] ---> 847481fa56a0 [2023-03-14T17:50:32.961Z] Step 18/23 : EXPOSE 59999 [2023-03-14T17:50:32.961Z] ---> Running in e786c90c54b8 [2023-03-14T17:50:32.961Z] Removing intermediate container e786c90c54b8 [2023-03-14T17:50:32.961Z] ---> d2a68d6c009d [2023-03-14T17:50:32.961Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-14T17:50:32.961Z] ---> Running in 36fcedc26469 [2023-03-14T17:50:32.961Z] Removing intermediate container 36fcedc26469 [2023-03-14T17:50:32.961Z] ---> c54f7386ae80 [2023-03-14T17:50:32.961Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T17:50:32.961Z] ---> Running in c948d795886e [2023-03-14T17:50:33.221Z] Removing intermediate container c948d795886e [2023-03-14T17:50:33.221Z] ---> 8151b3d39ed9 [2023-03-14T17:50:33.221Z] Step 21/23 : LABEL arch=amd64 [2023-03-14T17:50:33.221Z] ---> Running in 1aa12aabf64a [2023-03-14T17:50:33.221Z] Removing intermediate container 1aa12aabf64a [2023-03-14T17:50:33.221Z] ---> c83fc4632944 [2023-03-14T17:50:33.221Z] Step 22/23 : LABEL git_sha=c8db23b1a6b25d7a6f6840ad14ef190b57abe162 [2023-03-14T17:50:33.221Z] ---> Running in 8eecccc2e3d4 [2023-03-14T17:50:33.221Z] Removing intermediate container 8eecccc2e3d4 [2023-03-14T17:50:33.221Z] ---> 681abbee4fe9 [2023-03-14T17:50:33.221Z] Step 23/23 : LABEL version=0.0.0 [2023-03-14T17:50:33.221Z] ---> Running in 781a298b24bf [2023-03-14T17:50:33.480Z] Removing intermediate container 781a298b24bf [2023-03-14T17:50:33.480Z] ---> 1be5baf28fe5 [2023-03-14T17:50:33.480Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T17:50:33.480Z] Successfully built 1be5baf28fe5 [2023-03-14T17:50:33.480Z] 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-03-14T17:50:34.402Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T17:50:34.403Z] [2023-03-14T17:50:34.403Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T17:50:34.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T17:50:34.776Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-14T17:50:34.776Z] 5eb5b503b376: Pulling fs layer [2023-03-14T17:50:34.776Z] 5c69ac0246d0: Pulling fs layer [2023-03-14T17:50:34.776Z] ec43610c2a17: Pulling fs layer [2023-03-14T17:50:34.776Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-14T17:50:34.776Z] 33b1e0a273af: Pulling fs layer [2023-03-14T17:50:34.776Z] 5d3b04190fa2: Pulling fs layer [2023-03-14T17:50:34.776Z] 2f39f015ded8: Pulling fs layer [2023-03-14T17:50:34.776Z] 3a2ae6a8a46f: Waiting [2023-03-14T17:50:34.776Z] 5d3b04190fa2: Waiting [2023-03-14T17:50:34.776Z] 33b1e0a273af: Waiting [2023-03-14T17:50:34.776Z] 2f39f015ded8: Waiting [2023-03-14T17:50:34.776Z] 5c69ac0246d0: Verifying Checksum [2023-03-14T17:50:34.776Z] 5c69ac0246d0: Download complete [2023-03-14T17:50:34.776Z] 3a2ae6a8a46f: Download complete [2023-03-14T17:50:35.038Z] 33b1e0a273af: Verifying Checksum [2023-03-14T17:50:35.038Z] 33b1e0a273af: Download complete [2023-03-14T17:50:35.038Z] ec43610c2a17: Verifying Checksum [2023-03-14T17:50:35.038Z] ec43610c2a17: Download complete [2023-03-14T17:50:35.038Z] 5d3b04190fa2: Download complete [2023-03-14T17:50:35.038Z] 5eb5b503b376: Verifying Checksum [2023-03-14T17:50:35.038Z] 5eb5b503b376: Download complete [2023-03-14T17:50:35.605Z] 2f39f015ded8: Download complete [2023-03-14T17:50:36.172Z] 5eb5b503b376: Pull complete [2023-03-14T17:50:36.172Z] 5c69ac0246d0: Pull complete [2023-03-14T17:50:36.736Z] ec43610c2a17: Pull complete [2023-03-14T17:50:36.736Z] 3a2ae6a8a46f: Pull complete [2023-03-14T17:50:36.995Z] 33b1e0a273af: Pull complete [2023-03-14T17:50:36.995Z] 5d3b04190fa2: Pull complete [2023-03-14T17:50:41.706Z] 2f39f015ded8: Pull complete [2023-03-14T17:50:41.706Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-14T17:50:41.706Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T17:50:41.706Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T17:50:41.923Z] prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container [2023-03-14T17:50:41.956Z] $ 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-1383 -v /w/workspace/gexfoundry_device-sdk-go_PR-1383:/w/workspace/gexfoundry_device-sdk-go_PR-1383:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T17:50:45.266Z] $ docker top 3f64877bbf9f6e65dc94be462ccdaf4e5bde7112b1f09513dac6010f71e424aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T17:50:45.693Z] ---> job-cost.sh [2023-03-14T17:50:45.693Z] lf-activate-venv: SKIPPING [2023-03-14T17:50:45.693Z] INFO: No Stack... [2023-03-14T17:50:45.951Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T17:50:46.517Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T17:50:46.836Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1383/archives/cost.csv [2023-03-14T17:50:46.836Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T17:50:46.875Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1383-1-stack-cost] [2023-03-14T17:50:46.880Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1383-1-stack-cost] did not exist. Created. [2023-03-14T17:50:46.880Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1383-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T17:50:47.266Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-14T17:50:47.315Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T17:50:47.341Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1383-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T17:50:47.422Z] $ docker stop --time=1 3f64877bbf9f6e65dc94be462ccdaf4e5bde7112b1f09513dac6010f71e424aa [2023-03-14T17:50:48.561Z] $ docker rm -f --volumes 3f64877bbf9f6e65dc94be462ccdaf4e5bde7112b1f09513dac6010f71e424aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-14T17:51:04.695Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-193 in /w/workspace/gexfoundry_device-sdk-go_PR-1383 [Pipeline] { [Pipeline] ws [2023-03-14T17:51:04.752Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-14T17:51:04.838Z] The recommended git tool is: git [2023-03-14T17:51:12.001Z] using credential edgex-jenkins-ssh [2023-03-14T17:51:12.019Z] Cloning the remote Git repository [2023-03-14T17:51:12.081Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T17:51:12.195Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-14T17:51:12.365Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T17:51:12.366Z] > git --version # timeout=10 [2023-03-14T17:51:12.389Z] > git --version # 'git version 2.25.1' [2023-03-14T17:51:12.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T17:51:12.569Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T17:51:21.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-14T17:51:21.122Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-14T17:51:23.185Z] Merging remotes/origin/main commit 76ea4d1458b486cd84374d1f970a86ad0e64425c into PR head commit c8db23b1a6b25d7a6f6840ad14ef190b57abe162 [2023-03-14T17:51:22.378Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-14T17:51:22.436Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-14T17:51:22.438Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T17:51:22.465Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1383/head:refs/remotes/origin/PR-1383 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-14T17:51:23.215Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T17:51:23.608Z] Merge succeeded, producing c8db23b1a6b25d7a6f6840ad14ef190b57abe162 [2023-03-14T17:51:23.609Z] Checking out Revision c8db23b1a6b25d7a6f6840ad14ef190b57abe162 (PR-1383) [2023-03-14T17:51:23.318Z] > git checkout -f c8db23b1a6b25d7a6f6840ad14ef190b57abe162 # timeout=10 [2023-03-14T17:51:23.459Z] > git remote # timeout=10 [2023-03-14T17:51:23.487Z] > git config --get remote.origin.url # timeout=10 [2023-03-14T17:51:23.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-14T17:51:23.544Z] > git merge 76ea4d1458b486cd84374d1f970a86ad0e64425c # timeout=10 [2023-03-14T17:51:23.582Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-14T17:51:23.620Z] > git config core.sparsecheckout # timeout=10 [2023-03-14T17:51:23.637Z] > git checkout -f c8db23b1a6b25d7a6f6840ad14ef190b57abe162 # timeout=10 [2023-03-14T17:51:27.304Z] Commit message: "build: Update to Go 1.20, Alpine 3.17 and linter v1.51.2" [2023-03-14T17:51:27.380Z] > git --version # timeout=10 [2023-03-14T17:51:27.397Z] > git --version # 'git version 2.25.1' [2023-03-14T17:51:27.418Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T17:51:28.569Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-14T17:51:28.569Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T17:51:28.569Z] Dload Upload Total Spent Left Speed [2023-03-14T17:51:28.569Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 183k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-03-14T17:51:29.405Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-14T17:51:29.785Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-14T17:51:29.785Z] + sudo tee /etc/docker/daemon.new [2023-03-14T17:51:29.785Z] { [2023-03-14T17:51:29.785Z] "registry-mirrors": [ [2023-03-14T17:51:29.785Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-14T17:51:29.785Z] ], [2023-03-14T17:51:29.785Z] "bip": "10.250.0.254/24", [2023-03-14T17:51:29.785Z] "hosts": [ [2023-03-14T17:51:29.785Z] "tcp://0.0.0.0:5555", [2023-03-14T17:51:29.785Z] "unix:///var/run/docker.sock" [2023-03-14T17:51:29.785Z] ], [2023-03-14T17:51:29.785Z] "mtu": 1458, [2023-03-14T17:51:29.785Z] "selinux-enabled": true, [2023-03-14T17:51:29.785Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-14T17:51:29.785Z] } [Pipeline] sh [2023-03-14T17:51:30.162Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-14T17:51:30.533Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T17:51:48.933Z] provisioning config files... [2023-03-14T17:51:48.977Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11333969181324160645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T17:51:49.415Z] ---> docker-login.sh [2023-03-14T17:51:49.415Z] nexus3.edgexfoundry.org:10001 [2023-03-14T17:51:50.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:51:50.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:51:50.292Z] Configure a credential helper to remove this warning. See [2023-03-14T17:51:50.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:51:50.292Z] [2023-03-14T17:51:50.292Z] Login Succeeded [2023-03-14T17:51:50.292Z] nexus3.edgexfoundry.org:10002 [2023-03-14T17:51:50.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:51:50.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:51:50.854Z] Configure a credential helper to remove this warning. See [2023-03-14T17:51:50.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:51:50.854Z] [2023-03-14T17:51:50.854Z] Login Succeeded [2023-03-14T17:51:50.854Z] nexus3.edgexfoundry.org:10003 [2023-03-14T17:51:51.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:51:51.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:51:51.136Z] Configure a credential helper to remove this warning. See [2023-03-14T17:51:51.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:51:51.136Z] [2023-03-14T17:51:51.136Z] Login Succeeded [2023-03-14T17:51:51.136Z] nexus3.edgexfoundry.org:10004 [2023-03-14T17:51:51.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:51:51.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:51:51.687Z] Configure a credential helper to remove this warning. See [2023-03-14T17:51:51.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:51:51.687Z] [2023-03-14T17:51:51.687Z] Login Succeeded [2023-03-14T17:51:51.687Z] docker.io [2023-03-14T17:51:51.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-14T17:51:52.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-14T17:51:52.264Z] Configure a credential helper to remove this warning. See [2023-03-14T17:51:52.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-14T17:51:52.264Z] [2023-03-14T17:51:52.264Z] Login Succeeded [2023-03-14T17:51:52.264Z] ---> docker-login.sh ends [Pipeline] } [2023-03-14T17:51:52.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-14T17:51:52.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T17:51:52.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-14T17:51:52.871Z] ========================================================= [2023-03-14T17:51:52.871Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-14T17:51:52.871Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T17:51:53.368Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-14T17:51:53.973Z] Sending build context to Docker daemon 5.814MB [2023-03-14T17:51:53.973Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T17:51:53.973Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-14T17:51:54.254Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-14T17:51:54.254Z] af6eaf76a39c: Pulling fs layer [2023-03-14T17:51:54.254Z] 55522c791124: Pulling fs layer [2023-03-14T17:51:54.254Z] ce5c4a1c91eb: Pulling fs layer [2023-03-14T17:51:54.254Z] 169dfbe0d373: Pulling fs layer [2023-03-14T17:51:54.254Z] e1ff8fa3b103: Pulling fs layer [2023-03-14T17:51:54.254Z] 52ebb69f0ebf: Pulling fs layer [2023-03-14T17:51:54.254Z] 5abe8eddf0d5: Pulling fs layer [2023-03-14T17:51:54.254Z] 52ebb69f0ebf: Waiting [2023-03-14T17:51:54.254Z] 169dfbe0d373: Waiting [2023-03-14T17:51:54.254Z] e1ff8fa3b103: Waiting [2023-03-14T17:51:54.254Z] 5abe8eddf0d5: Waiting [2023-03-14T17:51:54.254Z] 55522c791124: Verifying Checksum [2023-03-14T17:51:54.254Z] 55522c791124: Download complete [2023-03-14T17:51:54.254Z] 169dfbe0d373: Verifying Checksum [2023-03-14T17:51:54.254Z] 169dfbe0d373: Download complete [2023-03-14T17:51:54.254Z] e1ff8fa3b103: Verifying Checksum [2023-03-14T17:51:54.254Z] e1ff8fa3b103: Download complete [2023-03-14T17:51:54.254Z] af6eaf76a39c: Verifying Checksum [2023-03-14T17:51:54.254Z] af6eaf76a39c: Download complete [2023-03-14T17:51:55.253Z] af6eaf76a39c: Pull complete [2023-03-14T17:51:55.523Z] 5abe8eddf0d5: Verifying Checksum [2023-03-14T17:51:56.127Z] 55522c791124: Pull complete [2023-03-14T17:51:57.099Z] ce5c4a1c91eb: Verifying Checksum [2023-03-14T17:51:57.099Z] ce5c4a1c91eb: Download complete [2023-03-14T17:51:57.099Z] 52ebb69f0ebf: Verifying Checksum [2023-03-14T17:51:57.099Z] 52ebb69f0ebf: Download complete [2023-03-14T17:52:09.450Z] ce5c4a1c91eb: Pull complete [2023-03-14T17:52:09.450Z] 169dfbe0d373: Pull complete [2023-03-14T17:52:09.450Z] e1ff8fa3b103: Pull complete [2023-03-14T17:52:13.738Z] 52ebb69f0ebf: Pull complete [2023-03-14T17:52:15.690Z] 5abe8eddf0d5: Pull complete [2023-03-14T17:52:15.690Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-14T17:52:15.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-14T17:52:15.690Z] ---> 6cb57ee374ae [2023-03-14T17:52:15.690Z] Step 3/10 : ARG MAKE=make build [2023-03-14T17:52:17.651Z] ---> Running in 2fe9cc2bb9f5 [2023-03-14T17:52:17.921Z] Removing intermediate container 2fe9cc2bb9f5 [2023-03-14T17:52:17.921Z] ---> 0bccecc535d7 [2023-03-14T17:52:17.921Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-14T17:52:17.921Z] ---> Running in 8b4f42af02bf [2023-03-14T17:52:18.509Z] Removing intermediate container 8b4f42af02bf [2023-03-14T17:52:18.509Z] ---> 474a5cc3ca4e [2023-03-14T17:52:18.509Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T17:52:18.509Z] ---> Running in 6f1eca3ef68d [2023-03-14T17:52:18.781Z] Removing intermediate container 6f1eca3ef68d [2023-03-14T17:52:18.781Z] ---> cd041bf03f2c [2023-03-14T17:52:18.781Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-14T17:52:19.056Z] ---> Running in 4bc73d8fde83 [2023-03-14T17:52:20.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T17:52:21.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T17:52:22.056Z] OK: 263 MiB in 53 packages [2023-03-14T17:52:23.491Z] Removing intermediate container 4bc73d8fde83 [2023-03-14T17:52:23.491Z] ---> ff5bfe71dc5c [2023-03-14T17:52:23.491Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-14T17:52:23.764Z] ---> eb85eb625c69 [2023-03-14T17:52:23.764Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T17:52:24.036Z] ---> Running in 9cde85b101c1 [2023-03-14T17:53:32.019Z] Removing intermediate container 9cde85b101c1 [2023-03-14T17:53:32.019Z] ---> 8f3bdffde640 [2023-03-14T17:53:32.019Z] Step 9/10 : COPY . . [2023-03-14T17:53:32.019Z] ---> be1bc7c7e659 [2023-03-14T17:53:32.019Z] Step 10/10 : RUN ${MAKE} [2023-03-14T17:53:32.019Z] ---> Running in b7d0fb72a3cf [2023-03-14T17:53:32.989Z] noop [2023-03-14T17:53:33.580Z] Removing intermediate container b7d0fb72a3cf [2023-03-14T17:53:33.580Z] ---> f5279630d194 [2023-03-14T17:53:33.580Z] Successfully built f5279630d194 [2023-03-14T17:53:33.580Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T17:53:34.056Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T17:53:34.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T17:53:34.368Z] prd-ubuntu20.04-docker-arm64-4c-16g-193 does not seem to be running inside a container [2023-03-14T17:53:34.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T17:53:35.822Z] $ docker top 998ec3c5de42249601f6b4128fbf4e832fcdff763734dc7b666c711731546db8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T17:53:36.767Z] + go version [2023-03-14T17:53:36.767Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-14T17:53:36.808Z] $ docker stop --time=1 998ec3c5de42249601f6b4128fbf4e832fcdff763734dc7b666c711731546db8 [2023-03-14T17:53:38.518Z] $ docker rm -f --volumes 998ec3c5de42249601f6b4128fbf4e832fcdff763734dc7b666c711731546db8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T17:53:39.374Z] + docker inspect -f . ci-base-image-arm64 [2023-03-14T17:53:39.374Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T17:53:39.669Z] prd-ubuntu20.04-docker-arm64-4c-16g-193 does not seem to be running inside a container [2023-03-14T17:53:39.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-14T17:53:41.086Z] $ docker top e8528aeb4ad41a12b6c6636463f9be71256abb956a46cb0f431625b4f4579e82 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T17:53:42.026Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-14T17:53:42.740Z] + make test [2023-03-14T17:53:42.740Z] go test -race -coverprofile=coverage.out ./... [2023-03-14T17:54:39.221Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-14T17:57:16.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-14T17:57:16.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-14T17:57:16.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-14T17:57:16.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-14T17:57:16.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-14T17:57:31.055Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.267s coverage: 27.6% of statements [2023-03-14T17:57:35.333Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.300s coverage: 78.9% of statements [2023-03-14T17:57:53.603Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-14T17:57:53.603Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-14T17:57:53.603Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.428s coverage: 86.0% of statements [2023-03-14T17:57:58.987Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-14T17:57:59.585Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.524s coverage: 75.9% of statements [2023-03-14T17:58:04.959Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-14T17:58:07.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-14T17:58:07.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-14T17:58:08.142Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.297s coverage: 15.2% of statements [2023-03-14T17:58:08.142Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.522s coverage: 65.7% of statements [2023-03-14T17:58:12.553Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.550s coverage: 89.2% of statements [2023-03-14T17:58:13.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-14T17:58:13.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.328s coverage: 5.5% of statements [2023-03-14T17:58:14.765Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-14T17:58:14.765Z] GO111MODULE=on go vet ./... [2023-03-14T18:01:06.598Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-14T18:01:06.598Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-14T18:01:06.598Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-14T18:01:06.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-14T18:01:06.667Z] $ docker stop --time=1 e8528aeb4ad41a12b6c6636463f9be71256abb956a46cb0f431625b4f4579e82 [2023-03-14T18:01:08.780Z] $ docker rm -f --volumes e8528aeb4ad41a12b6c6636463f9be71256abb956a46cb0f431625b4f4579e82 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-14T18:01:10.677Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-14T18:01:10.711Z] Warning: overwriting stash ‘coverage-report’ [2023-03-14T18:01:11.494Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-14T18:01:12.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-14T18:01:12.429Z] + ls -al . [2023-03-14T18:01:12.429Z] total 272 [2023-03-14T18:01:12.429Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 14 17:53 . [2023-03-14T18:01:12.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 17:51 .. [2023-03-14T18:01:12.429Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 14 17:51 .dockerignore [2023-03-14T18:01:12.429Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 14 17:51 .git [2023-03-14T18:01:12.429Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 17:51 .github [2023-03-14T18:01:12.429Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 14 17:51 .gitignore [2023-03-14T18:01:12.429Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 14 17:51 .golangci.yml [2023-03-14T18:01:12.429Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 14 17:51 CHANGELOG.md [2023-03-14T18:01:12.429Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 14 17:51 GOVERNANCE.md [2023-03-14T18:01:12.429Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 14 17:51 Jenkinsfile [2023-03-14T18:01:12.430Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 14 17:51 LICENSE [2023-03-14T18:01:12.430Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 14 17:51 Makefile [2023-03-14T18:01:12.430Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 14 17:51 OWNERS.md [2023-03-14T18:01:12.430Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 14 17:51 README.md [2023-03-14T18:01:12.430Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 14 17:48 VERSION [2023-03-14T18:01:12.430Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 14 17:51 bin [2023-03-14T18:01:12.430Z] -rw-r--r-- 1 jenkins jenkins 109537 Mar 14 17:58 coverage.out [2023-03-14T18:01:12.430Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 14 17:51 example [2023-03-14T18:01:12.430Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 14 17:51 go.mod [2023-03-14T18:01:12.430Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 14 17:51 go.sum [2023-03-14T18:01:12.430Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 17:51 internal [2023-03-14T18:01:12.430Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 14 17:51 openapi [2023-03-14T18:01:12.430Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 14 17:51 pkg [2023-03-14T18:01:12.430Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 14 17:51 snap [2023-03-14T18:01:12.430Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 14 17:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:01:12.860Z] + 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=c8db23b1a6b25d7a6f6840ad14ef190b57abe162 --label arch=arm64 --label version=0.0.0 . [2023-03-14T18:01:13.454Z] Sending build context to Docker daemon 5.924MB [2023-03-14T18:01:13.454Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-14T18:01:13.454Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-14T18:01:13.455Z] ---> f5279630d194 [2023-03-14T18:01:13.455Z] Step 3/23 : ARG MAKE=make build [2023-03-14T18:01:13.455Z] ---> Running in 2352d6ec5f9d [2023-03-14T18:01:13.725Z] Removing intermediate container 2352d6ec5f9d [2023-03-14T18:01:13.725Z] ---> 471babdc3f77 [2023-03-14T18:01:13.725Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-14T18:01:13.999Z] ---> Running in f6cae29b98e2 [2023-03-14T18:01:14.271Z] Removing intermediate container f6cae29b98e2 [2023-03-14T18:01:14.271Z] ---> b6b1f19fb016 [2023-03-14T18:01:14.271Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-14T18:01:14.271Z] ---> Running in 0e06da242a86 [2023-03-14T18:01:14.860Z] Removing intermediate container 0e06da242a86 [2023-03-14T18:01:14.860Z] ---> d3f1cfec9645 [2023-03-14T18:01:14.860Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-14T18:01:14.860Z] ---> Running in e46c6a705a7a [2023-03-14T18:01:15.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T18:01:16.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T18:01:18.225Z] OK: 263 MiB in 53 packages [2023-03-14T18:01:19.197Z] Removing intermediate container e46c6a705a7a [2023-03-14T18:01:19.197Z] ---> 6db1d8c4ccc2 [2023-03-14T18:01:19.197Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-14T18:01:19.468Z] ---> ba220ab5d933 [2023-03-14T18:01:19.468Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-14T18:01:19.736Z] ---> Running in 6691856da820 [2023-03-14T18:01:23.119Z] Removing intermediate container 6691856da820 [2023-03-14T18:01:23.119Z] ---> df48354082b6 [2023-03-14T18:01:23.119Z] Step 9/23 : COPY . . [2023-03-14T18:01:24.088Z] ---> f8b394fd9198 [2023-03-14T18:01:24.088Z] Step 10/23 : RUN ${MAKE} [2023-03-14T18:01:24.088Z] ---> Running in c30976effd52 [2023-03-14T18:01:25.529Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-14T18:04:02.283Z] Removing intermediate container c30976effd52 [2023-03-14T18:04:02.283Z] ---> 71cdc31b8f91 [2023-03-14T18:04:02.283Z] Step 11/23 : FROM alpine:3.17 [2023-03-14T18:04:02.283Z] 3.17: Pulling from library/alpine [2023-03-14T18:04:02.283Z] af6eaf76a39c: Already exists [2023-03-14T18:04:02.283Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-14T18:04:02.283Z] Status: Downloaded newer image for alpine:3.17 [2023-03-14T18:04:02.283Z] ---> d74e625d9115 [2023-03-14T18:04:02.283Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-14T18:04:02.283Z] ---> Running in aa95e0ba62d7 [2023-03-14T18:04:02.283Z] Removing intermediate container aa95e0ba62d7 [2023-03-14T18:04:02.283Z] ---> 07d461784f50 [2023-03-14T18:04:02.283Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-14T18:04:02.283Z] ---> Running in 14d2dc3f7430 [2023-03-14T18:04:02.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-14T18:04:02.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-14T18:04:02.557Z] OK: 7 MiB in 15 packages [2023-03-14T18:04:03.526Z] Removing intermediate container 14d2dc3f7430 [2023-03-14T18:04:03.526Z] ---> 072950479d20 [2023-03-14T18:04:03.526Z] Step 14/23 : WORKDIR / [2023-03-14T18:04:03.526Z] ---> Running in 8e37bb93cc26 [2023-03-14T18:04:03.794Z] Removing intermediate container 8e37bb93cc26 [2023-03-14T18:04:03.794Z] ---> 0e0ccf6431bb [2023-03-14T18:04:03.794Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-14T18:04:04.392Z] ---> fb391c209a37 [2023-03-14T18:04:04.392Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-14T18:04:06.369Z] ---> ae1b39871af7 [2023-03-14T18:04:06.369Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-14T18:04:06.644Z] ---> 88af27540e31 [2023-03-14T18:04:06.644Z] Step 18/23 : EXPOSE 59999 [2023-03-14T18:04:06.644Z] ---> Running in c89ed840eaf6 [2023-03-14T18:04:06.921Z] Removing intermediate container c89ed840eaf6 [2023-03-14T18:04:06.921Z] ---> 56d66d44a7f4 [2023-03-14T18:04:06.921Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-14T18:04:07.190Z] ---> Running in cf1983b2da68 [2023-03-14T18:04:07.461Z] Removing intermediate container cf1983b2da68 [2023-03-14T18:04:07.461Z] ---> e33277b6f40a [2023-03-14T18:04:07.461Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-14T18:04:07.461Z] ---> Running in 34baeb6ee64a [2023-03-14T18:04:07.736Z] Removing intermediate container 34baeb6ee64a [2023-03-14T18:04:07.736Z] ---> 978bbcf8e941 [2023-03-14T18:04:07.736Z] Step 21/23 : LABEL arch=arm64 [2023-03-14T18:04:08.010Z] ---> Running in b2e0494c8385 [2023-03-14T18:04:08.281Z] Removing intermediate container b2e0494c8385 [2023-03-14T18:04:08.281Z] ---> 95865fd9bcb9 [2023-03-14T18:04:08.281Z] Step 22/23 : LABEL git_sha=c8db23b1a6b25d7a6f6840ad14ef190b57abe162 [2023-03-14T18:04:08.281Z] ---> Running in f15b89b5b126 [2023-03-14T18:04:08.553Z] Removing intermediate container f15b89b5b126 [2023-03-14T18:04:08.553Z] ---> 0fdbe2763caa [2023-03-14T18:04:08.553Z] Step 23/23 : LABEL version=0.0.0 [2023-03-14T18:04:08.825Z] ---> Running in 94e178e9202e [2023-03-14T18:04:09.096Z] Removing intermediate container 94e178e9202e [2023-03-14T18:04:09.096Z] ---> b77604440733 [2023-03-14T18:04:09.096Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-14T18:04:09.096Z] Successfully built b77604440733 [2023-03-14T18:04:09.096Z] 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-03-14T18:04:09.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T18:04:09.889Z] [2023-03-14T18:04:09.889Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:04:10.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T18:04:10.578Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-14T18:04:10.578Z] 8998bd30e6a1: Pulling fs layer [2023-03-14T18:04:10.578Z] 04944245beec: Pulling fs layer [2023-03-14T18:04:10.578Z] 699f458cf7ca: Pulling fs layer [2023-03-14T18:04:10.578Z] 765212b225bb: Pulling fs layer [2023-03-14T18:04:10.578Z] f23df028b6ca: Pulling fs layer [2023-03-14T18:04:10.578Z] d65c8cfc05b1: Pulling fs layer [2023-03-14T18:04:10.578Z] 2437ff75d9bd: Pulling fs layer [2023-03-14T18:04:10.578Z] 765212b225bb: Waiting [2023-03-14T18:04:10.578Z] f23df028b6ca: Waiting [2023-03-14T18:04:10.578Z] d65c8cfc05b1: Waiting [2023-03-14T18:04:10.578Z] 2437ff75d9bd: Waiting [2023-03-14T18:04:10.578Z] 04944245beec: Verifying Checksum [2023-03-14T18:04:10.578Z] 04944245beec: Download complete [2023-03-14T18:04:10.578Z] 765212b225bb: Verifying Checksum [2023-03-14T18:04:10.578Z] 765212b225bb: Download complete [2023-03-14T18:04:10.578Z] f23df028b6ca: Verifying Checksum [2023-03-14T18:04:10.578Z] f23df028b6ca: Download complete [2023-03-14T18:04:10.578Z] d65c8cfc05b1: Verifying Checksum [2023-03-14T18:04:10.578Z] d65c8cfc05b1: Download complete [2023-03-14T18:04:10.853Z] 699f458cf7ca: Verifying Checksum [2023-03-14T18:04:10.853Z] 699f458cf7ca: Download complete [2023-03-14T18:04:11.124Z] 8998bd30e6a1: Verifying Checksum [2023-03-14T18:04:11.124Z] 8998bd30e6a1: Download complete [2023-03-14T18:04:13.714Z] 2437ff75d9bd: Verifying Checksum [2023-03-14T18:04:13.714Z] 2437ff75d9bd: Download complete [2023-03-14T18:04:15.130Z] 8998bd30e6a1: Pull complete [2023-03-14T18:04:17.080Z] 04944245beec: Pull complete [2023-03-14T18:04:18.488Z] 699f458cf7ca: Pull complete [2023-03-14T18:04:18.488Z] 765212b225bb: Pull complete [2023-03-14T18:04:19.076Z] f23df028b6ca: Pull complete [2023-03-14T18:04:19.345Z] d65c8cfc05b1: Pull complete [2023-03-14T18:04:34.333Z] 2437ff75d9bd: Pull complete [2023-03-14T18:04:34.333Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-14T18:04:34.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-14T18:04:34.333Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:04:34.675Z] prd-ubuntu20.04-docker-arm64-4c-16g-193 does not seem to be running inside a container [2023-03-14T18:04:34.748Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-14T18:04:37.652Z] $ docker top 8226382ca6001dc830b072bec690e75459aa98e479e4a41cd06ac6db82d494e4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:04:38.592Z] ---> job-cost.sh [2023-03-14T18:04:38.592Z] lf-activate-venv: SKIPPING [2023-03-14T18:04:38.592Z] INFO: No Stack... [2023-03-14T18:04:39.177Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-14T18:04:39.776Z] INFO: Archiving Costs [Pipeline] sh [2023-03-14T18:04:40.434Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-14T18:04:40.434Z] + cut -d, -f6 [Pipeline] lock [2023-03-14T18:04:40.527Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1383-1-stack-cost] [2023-03-14T18:04:40.533Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1383-1-stack-cost] did not exist. Created. [2023-03-14T18:04:40.533Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1383-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-14T18:04:41.256Z] /w/workspace/device-sdk-go/1@tmp/durable-0285da44/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-14T18:04:41.935Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-14T18:04:41.966Z] Warning: overwriting stash ‘stack-cost’ [2023-03-14T18:04:42.045Z] Stashed 1 file(s) [Pipeline] } [2023-03-14T18:04:42.060Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1383-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-14T18:04:42.126Z] $ docker stop --time=1 8226382ca6001dc830b072bec690e75459aa98e479e4a41cd06ac6db82d494e4 [2023-03-14T18:04:43.660Z] $ docker rm -f --volumes 8226382ca6001dc830b072bec690e75459aa98e479e4a41cd06ac6db82d494e4 [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-03-14T18:04:44.626Z] provisioning config files... [2023-03-14T18:04:44.632Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp/config6610257565114845748tmp [Pipeline] { [Pipeline] sh [2023-03-14T18:04:44.962Z] + set +x [2023-03-14T18:04:44.963Z] + curl -s https://codecov.io/bash [2023-03-14T18:04:44.963Z] + bash -s -- [2023-03-14T18:04:44.963Z] [2023-03-14T18:04:44.963Z] _____ _ [2023-03-14T18:04:44.963Z] / ____| | | [2023-03-14T18:04:44.963Z] | | ___ __| | ___ ___ _____ __ [2023-03-14T18:04:44.963Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-14T18:04:44.963Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-14T18:04:44.963Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-14T18:04:44.963Z] Bash-1.0.6 [2023-03-14T18:04:44.963Z] [2023-03-14T18:04:44.963Z] [2023-03-14T18:04:44.963Z] ==> git version 2.25.1 found [2023-03-14T18:04:44.963Z] ==> 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-03-14T18:04:44.963Z] Release-Date: 2020-01-08 [2023-03-14T18:04:44.963Z] 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-03-14T18:04:44.963Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-14T18:04:44.963Z] ==> Jenkins CI detected. [2023-03-14T18:04:44.963Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1383 [2023-03-14T18:04:44.963Z] project root: . [2023-03-14T18:04:44.963Z] --> token set from env [2023-03-14T18:04:44.963Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-14T18:04:44.963Z] ==> Running gcov in . (disable via -X gcov) [2023-03-14T18:04:44.963Z] ==> Python coveragepy not found [2023-03-14T18:04:44.963Z] ==> Searching for coverage reports in: [2023-03-14T18:04:44.963Z] + . [2023-03-14T18:04:44.963Z] -> Found 1 reports [2023-03-14T18:04:44.963Z] ==> Detecting git/mercurial file structure [2023-03-14T18:04:44.963Z] ==> Reading reports [2023-03-14T18:04:44.963Z] + ./coverage.out bytes=109537 [2023-03-14T18:04:44.963Z] ==> Appending adjustments [2023-03-14T18:04:44.963Z] https://docs.codecov.io/docs/fixing-reports [2023-03-14T18:04:45.222Z] + Found adjustments [2023-03-14T18:04:45.222Z] ==> Gzipping contents [2023-03-14T18:04:45.222Z] 16K /tmp/codecov.fvZsQa.gz [2023-03-14T18:04:45.222Z] ==> Uploading reports [2023-03-14T18:04:45.222Z] url: https://codecov.io [2023-03-14T18:04:45.222Z] query: branch=PR-1383&commit=c8db23b1a6b25d7a6f6840ad14ef190b57abe162&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1383%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1383&job=&cmd_args= [2023-03-14T18:04:45.222Z] -> Pinging Codecov [2023-03-14T18:04:45.222Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1383&commit=c8db23b1a6b25d7a6f6840ad14ef190b57abe162&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1383%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1383&job=&cmd_args= [2023-03-14T18:04:45.481Z] -> Uploading to [2023-03-14T18:04:45.481Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-14/7E55EF52A471D76F132DFD9A03CDDE97/c8db23b1a6b25d7a6f6840ad14ef190b57abe162/05026c62-1387-47c1-80e5-a8559440db07.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230314%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230314T180445Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=76dd2be05ac79244e2d938c173eaca7c3e9dda72a76a7cd64382e18ef4dc60b9 [2023-03-14T18:04:45.481Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-14T18:04:45.481Z] Dload Upload Total Spent Left Speed [2023-03-14T18:04:45.740Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15252 0 0 100 15252 0 58436 --:--:-- --:--:-- --:--:-- 58213 [2023-03-14T18:04:45.740Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c8db23b1a6b25d7a6f6840ad14ef190b57abe162 [Pipeline] } [2023-03-14T18:04:45.767Z] 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-03-14T18:04:47.430Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1383/archives ] [2023-03-14T18:04:47.430Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1383/archives [2023-03-14T18:04:47.430Z] total 16 [2023-03-14T18:04:47.430Z] drwxr-xr-x 3 root root 4096 Mar 14 17:50 . [2023-03-14T18:04:47.430Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 17:50 .. [2023-03-14T18:04:47.430Z] drwxr-xr-x 2 root root 4096 Mar 14 17:50 cost [2023-03-14T18:04:47.430Z] -rw-r--r-- 1 root root 86 Mar 14 17:50 cost.csv [2023-03-14T18:04:47.430Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1383/archives [2023-03-14T18:04:47.430Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1383/archives [2023-03-14T18:04:47.430Z] total 16 [2023-03-14T18:04:47.430Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 14 17:50 . [2023-03-14T18:04:47.430Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 14 17:50 .. [2023-03-14T18:04:47.430Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 14 17:50 cost [2023-03-14T18:04:47.430Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 14 17:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:04:47.754Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:04:48.655Z] ---> package-listing.sh [2023-03-14T18:04:48.655Z] ++ facter osfamily [2023-03-14T18:04:48.655Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-14T18:04:48.915Z] + OS_FAMILY=debian [2023-03-14T18:04:48.915Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1383 [2023-03-14T18:04:48.915Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-14T18:04:48.915Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-14T18:04:48.915Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-14T18:04:48.915Z] + PACKAGES=/tmp/packages_start.txt [2023-03-14T18:04:48.915Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1383 ']' [2023-03-14T18:04:48.915Z] + PACKAGES=/tmp/packages_end.txt [2023-03-14T18:04:48.915Z] + case "${OS_FAMILY}" in [2023-03-14T18:04:48.915Z] + dpkg -l [2023-03-14T18:04:48.915Z] + grep '^ii' [2023-03-14T18:04:48.915Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-14T18:04:48.915Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-14T18:04:48.915Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-14T18:04:48.915Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1383 ']' [2023-03-14T18:04:48.915Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1383/archives/ [2023-03-14T18:04:48.915Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1383/archives/ [Pipeline] echo [2023-03-14T18:04:48.951Z] 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-1383/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-14T18:04:49.241Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-14T18:04:49.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-14T18:04:49.873Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-14T18:04:50.016Z] prd-ubuntu20.04-docker-8c-8g-186 does not seem to be running inside a container [2023-03-14T18:04:50.045Z] $ 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-1383/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-1383 -v /w/workspace/gexfoundry_device-sdk-go_PR-1383:/w/workspace/gexfoundry_device-sdk-go_PR-1383:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-14T18:04:50.230Z] $ docker top d1c7289567b4d591d502a00306cb1c350547f519a2d31bc99ed7858f0b231c9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-14T18:04:50.610Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-14T18:04:50.920Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-14T18:04:51.226Z] + ls /var/log/sa-host [2023-03-14T18:04:51.226Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-14T18:04:51.345Z] provisioning config files... [2023-03-14T18:04:51.354Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1383@tmp/config2777894996389390470tmp [Pipeline] { [Pipeline] echo [2023-03-14T18:04:51.394Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:04:51.700Z] ---> create-netrc.sh [Pipeline] } [2023-03-14T18:04:51.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:04:52.111Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-14T18:04:52.144Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:04:52.452Z] ---> sudo-logs.sh [2023-03-14T18:04:52.452Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-14T18:04:52.537Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:04:52.851Z] ---> job-cost.sh [2023-03-14T18:04:52.851Z] lf-activate-venv: SKIPPING [2023-03-14T18:04:52.851Z] DEBUG: total: 0.2199999988079071 [2023-03-14T18:04:52.851Z] INFO: Retrieving Stack Cost... [2023-03-14T18:04:53.417Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-14T18:04:53.763Z] INFO: Archiving Costs [Pipeline] echo [2023-03-14T18:04:53.823Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-14T18:04:54.181Z] ---> logs-deploy.sh [2023-03-14T18:04:54.181Z] lf-activate-venv: SKIPPING [2023-03-14T18:04:54.181Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1383/1 [2023-03-14T18:04:54.181Z] INFO: archiving workspace using pattern(s): [2023-03-14T18:04:55.185Z] Archives upload complete. [2023-03-14T18:04:55.185Z] INFO: archiving logs to Nexus