Pull request #1506 updated 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 10d83f9598abba3559abd072fcd7553d77fa119a rather than 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c Obtained Jenkinsfile from 10d83f9598abba3559abd072fcd7553d77fa119a 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-ssh5110972420617034458.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17866270896260574700.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10732078813470217746.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh7661143684913699380.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18333553059257309890.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6088 in /w/workspace/gexfoundry_device-sdk-go_PR-1506 [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-1506 # 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/1506/head:refs/remotes/origin/PR-1506 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 10d83f9598abba3559abd072fcd7553d77fa119a into PR head commit 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c Merge succeeded, producing 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c Checking out Revision 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c (PR-1506) > git config core.sparsecheckout # timeout=10 > git checkout -f 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c # 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 10d83f9598abba3559abd072fcd7553d77fa119a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c # timeout=10 Commit message: "build: Upgrade dependency libs" First time build. Skipping changelog. > git rev-list --no-walk cdfccf3c5e9ea1d3aa3b93854c0de430b829d3d9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-13T07:13:26.364Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-13T07:13:26.414Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-13T07:13:26.431Z] ========================================================= [2023-09-13T07:13:26.431Z] EdgeX Global Pipelines Version Info [2023-09-13T07:13:26.431Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:13:27.156Z] ------------------- [2023-09-13T07:13:27.156Z] stable info: [2023-09-13T07:13:27.156Z] ------------------- [2023-09-13T07:13:27.156Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-13T07:13:27.156Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-13T07:13:27.156Z] Message: update stable to v1.0.254 [2023-09-13T07:13:27.725Z] ------------------- [2023-09-13T07:13:27.725Z] experimental info: [2023-09-13T07:13:27.725Z] ------------------- [2023-09-13T07:13:27.725Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-13T07:13:27.725Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-13T07:13:27.725Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-13T07:13:27.878Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-13T07:13:27.888Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-13T07:13:27.898Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-13T07:13:27.908Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-13T07:13:27.923Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-13T07:13:27.935Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-13T07:13:27.944Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-13T07:13:27.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-13T07:13:27.975Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-13T07:13:27.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-13T07:13:28.001Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-13T07:13:28.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-13T07:13:28.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-13T07:13:28.059Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-13T07:13:28.079Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-13T07:13:28.096Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-13T07:13:28.111Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-13T07:13:28.126Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-13T07:13:28.142Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-13T07:13:28.160Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-13T07:13:28.179Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-13T07:13:28.199Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-13T07:13:28.219Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-13T07:13:28.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-13T07:13:28.254Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-13T07:13:28.269Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-13T07:13:28.287Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-13T07:13:28.305Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1506 [Pipeline] echo [2023-09-13T07:13:28.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1506 [Pipeline] echo [2023-09-13T07:13:28.343Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1506 [Pipeline] echo [2023-09-13T07:13:28.359Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c [Pipeline] echo [2023-09-13T07:13:28.380Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37d7c82 [Pipeline] echo [2023-09-13T07:13:28.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-13T07:13:28.443Z] provisioning config files... [2023-09-13T07:13:28.456Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config8405784906822139134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:13:28.758Z] ---> docker-login.sh [2023-09-13T07:13:28.758Z] nexus3.edgexfoundry.org:10001 [2023-09-13T07:13:29.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:13:29.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:13:29.281Z] Configure a credential helper to remove this warning. See [2023-09-13T07:13:29.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:13:29.281Z] [2023-09-13T07:13:29.281Z] Login Succeeded [2023-09-13T07:13:29.281Z] nexus3.edgexfoundry.org:10002 [2023-09-13T07:13:29.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:13:29.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:13:29.281Z] Configure a credential helper to remove this warning. See [2023-09-13T07:13:29.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:13:29.281Z] [2023-09-13T07:13:29.281Z] Login Succeeded [2023-09-13T07:13:29.281Z] nexus3.edgexfoundry.org:10003 [2023-09-13T07:13:29.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:13:29.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:13:29.542Z] Configure a credential helper to remove this warning. See [2023-09-13T07:13:29.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:13:29.542Z] [2023-09-13T07:13:29.542Z] Login Succeeded [2023-09-13T07:13:29.542Z] nexus3.edgexfoundry.org:10004 [2023-09-13T07:13:29.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:13:29.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:13:29.542Z] Configure a credential helper to remove this warning. See [2023-09-13T07:13:29.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:13:29.543Z] [2023-09-13T07:13:29.543Z] Login Succeeded [2023-09-13T07:13:29.543Z] docker.io [2023-09-13T07:13:29.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:13:29.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:13:29.803Z] Configure a credential helper to remove this warning. See [2023-09-13T07:13:29.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:13:29.803Z] [2023-09-13T07:13:29.803Z] Login Succeeded [2023-09-13T07:13:29.803Z] ---> docker-login.sh ends [Pipeline] } [2023-09-13T07:13:29.810Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-13T07:13:30.180Z] + git rev-list -1 --merges 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c~1..37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c [Pipeline] echo [2023-09-13T07:13:30.226Z] -----------> git rev-list -1 --merges 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c~1..37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c [false] [Pipeline] sh [2023-09-13T07:13:30.517Z] + git log --format=format:%s -1 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c [Pipeline] echo [2023-09-13T07:13:30.533Z] ========================================================= [2023-09-13T07:13:30.533Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-13T07:13:30.533Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-13T07:13:30.853Z] + git log --format=format:%s -1 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c [Pipeline] echo [2023-09-13T07:13:30.864Z] [semverPrep] GIT_COMMIT: 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c, Commit Message: build: Upgrade dependency libs [Pipeline] echo [2023-09-13T07:13:30.874Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-13T07:13:31.254Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-13T07:13:31.254Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-13T07:13:31.254Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-13T07:13:31.254Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-13T07:13:31.254Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-09-13T07:13:31.254Z] -a /etc/ssh/ssh_known_hosts [2023-09-13T07:13:31.254Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:13:31.664Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-13T07:13:31.665Z] [2023-09-13T07:13:31.665Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:13:31.961Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-13T07:13:31.961Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-13T07:13:31.961Z] b85a868b505f: Pulling fs layer [2023-09-13T07:13:31.961Z] e2be974225ed: Pulling fs layer [2023-09-13T07:13:31.961Z] 339a4e72a1f5: Pulling fs layer [2023-09-13T07:13:31.961Z] 988bab9f4d93: Pulling fs layer [2023-09-13T07:13:31.961Z] 1469e6f7b9e6: Pulling fs layer [2023-09-13T07:13:31.961Z] eaf3925da568: Pulling fs layer [2023-09-13T07:13:31.961Z] bab4dde63d76: Pulling fs layer [2023-09-13T07:13:31.961Z] bde34c3a00c8: Pulling fs layer [2023-09-13T07:13:31.961Z] b352a97aabf1: Pulling fs layer [2023-09-13T07:13:31.961Z] 4872d77fe225: Pulling fs layer [2023-09-13T07:13:31.961Z] 5851b861e8e6: Pulling fs layer [2023-09-13T07:13:31.961Z] 988bab9f4d93: Waiting [2023-09-13T07:13:31.961Z] 1469e6f7b9e6: Waiting [2023-09-13T07:13:31.961Z] eaf3925da568: Waiting [2023-09-13T07:13:31.961Z] b352a97aabf1: Waiting [2023-09-13T07:13:31.961Z] 4872d77fe225: Waiting [2023-09-13T07:13:31.961Z] 5851b861e8e6: Waiting [2023-09-13T07:13:31.961Z] bab4dde63d76: Waiting [2023-09-13T07:13:31.961Z] bde34c3a00c8: Waiting [2023-09-13T07:13:31.961Z] e2be974225ed: Verifying Checksum [2023-09-13T07:13:31.961Z] e2be974225ed: Download complete [2023-09-13T07:13:31.961Z] 988bab9f4d93: Verifying Checksum [2023-09-13T07:13:31.961Z] 988bab9f4d93: Download complete [2023-09-13T07:13:31.961Z] 339a4e72a1f5: Verifying Checksum [2023-09-13T07:13:31.961Z] 339a4e72a1f5: Download complete [2023-09-13T07:13:31.961Z] 1469e6f7b9e6: Verifying Checksum [2023-09-13T07:13:31.961Z] 1469e6f7b9e6: Download complete [2023-09-13T07:13:31.961Z] eaf3925da568: Verifying Checksum [2023-09-13T07:13:31.961Z] eaf3925da568: Download complete [2023-09-13T07:13:32.219Z] bde34c3a00c8: Verifying Checksum [2023-09-13T07:13:32.219Z] bde34c3a00c8: Download complete [2023-09-13T07:13:32.219Z] b352a97aabf1: Download complete [2023-09-13T07:13:32.219Z] 4872d77fe225: Verifying Checksum [2023-09-13T07:13:32.219Z] 4872d77fe225: Download complete [2023-09-13T07:13:32.219Z] 5851b861e8e6: Verifying Checksum [2023-09-13T07:13:32.219Z] 5851b861e8e6: Download complete [2023-09-13T07:13:32.219Z] b85a868b505f: Verifying Checksum [2023-09-13T07:13:32.219Z] b85a868b505f: Download complete [2023-09-13T07:13:32.477Z] bab4dde63d76: Verifying Checksum [2023-09-13T07:13:32.477Z] bab4dde63d76: Download complete [2023-09-13T07:13:33.414Z] b85a868b505f: Pull complete [2023-09-13T07:13:33.414Z] e2be974225ed: Pull complete [2023-09-13T07:13:33.983Z] 339a4e72a1f5: Pull complete [2023-09-13T07:13:33.983Z] 988bab9f4d93: Pull complete [2023-09-13T07:13:34.241Z] 1469e6f7b9e6: Pull complete [2023-09-13T07:13:34.241Z] eaf3925da568: Pull complete [2023-09-13T07:13:36.161Z] bab4dde63d76: Pull complete [2023-09-13T07:13:36.161Z] bde34c3a00c8: Pull complete [2023-09-13T07:13:36.161Z] b352a97aabf1: Pull complete [2023-09-13T07:13:36.161Z] 4872d77fe225: Pull complete [2023-09-13T07:13:36.161Z] 5851b861e8e6: Pull complete [2023-09-13T07:13:36.161Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-13T07:13:36.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-13T07:13:36.161Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T07:13:36.253Z] prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container [2023-09-13T07:13:36.290Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@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-devops/py-git-semver:0.1.4 cat [2023-09-13T07:13:39.847Z] $ docker top 4d4a84a070c277142b85fb01b2ab2c49df70c0121f5666a2d74ebd5f4bd3432b -eo pid,comm [2023-09-13T07:13:39.914Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-13T07:13:39.914Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-13T07:13:39.955Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-13T07:13:39.955Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-13T07:13:40.071Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-13T07:13:40.073Z] $ docker exec 4d4a84a070c277142b85fb01b2ab2c49df70c0121f5666a2d74ebd5f4bd3432b ssh-agent [2023-09-13T07:13:40.183Z] SSH_AUTH_SOCK=/tmp/ssh-0Vdbs4mTg0DP/agent.33 [2023-09-13T07:13:40.183Z] SSH_AGENT_PID=39 [2023-09-13T07:13:40.191Z] Running ssh-add (command line suppressed) [2023-09-13T07:13:40.293Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_17679089807339337472.key (/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_17679089807339337472.key) [2023-09-13T07:13:40.313Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-13T07:13:40.602Z] + git tag --points-at HEAD [Pipeline] } [2023-09-13T07:13:40.614Z] $ docker exec --env ******** --env ******** 4d4a84a070c277142b85fb01b2ab2c49df70c0121f5666a2d74ebd5f4bd3432b ssh-agent -k [2023-09-13T07:13:40.698Z] unset SSH_AUTH_SOCK; [2023-09-13T07:13:40.699Z] unset SSH_AGENT_PID; [2023-09-13T07:13:40.699Z] echo Agent pid 39 killed; [2023-09-13T07:13:40.710Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-13T07:13:40.737Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-13T07:13:40.737Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-13T07:13:40.840Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-13T07:13:40.842Z] $ docker exec 4d4a84a070c277142b85fb01b2ab2c49df70c0121f5666a2d74ebd5f4bd3432b ssh-agent [2023-09-13T07:13:40.965Z] SSH_AUTH_SOCK=/tmp/ssh-rhalHhTsX7GS/agent.71 [2023-09-13T07:13:40.965Z] SSH_AGENT_PID=77 [2023-09-13T07:13:40.971Z] Running ssh-add (command line suppressed) [2023-09-13T07:13:41.070Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_5120852090933321639.key (/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_5120852090933321639.key) [2023-09-13T07:13:41.086Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-13T07:13:41.375Z] + git semver init [2023-09-13T07:13:41.634Z] 2023-09-13 07:13:41,555 [run_init] DEBUG init version:0.0.0 force:False [2023-09-13T07:13:41.634Z] 2023-09-13 07:13:41,555 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver [2023-09-13T07:13:41.634Z] 2023-09-13 07:13:41,556 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver [2023-09-13T07:13:41.634Z] 2023-09-13 07:13:41,556 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506, universal_newlines=False, shell=None, istream=None) [2023-09-13T07:13:42.573Z] 2023-09-13 07:13:42,484 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.git/info/exclude [2023-09-13T07:13:42.573Z] 2023-09-13 07:13:42,485 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 with force:False [2023-09-13T07:13:42.573Z] 2023-09-13 07:13:42,485 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 [2023-09-13T07:13:42.573Z] 2023-09-13 07:13:42,490 [execute] INFO git cat-file --batch-check [2023-09-13T07:13:42.573Z] 2023-09-13 07:13:42,490 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver, universal_newlines=False, shell=None, istream=) [2023-09-13T07:13:42.573Z] 2023-09-13 07:13:42,497 [execute] INFO git cat-file --batch [2023-09-13T07:13:42.573Z] 2023-09-13 07:13:42,497 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver, universal_newlines=False, shell=None, istream=) [2023-09-13T07:13:42.573Z] 2023-09-13 07:13:42,503 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 [2023-09-13T07:13:42.573Z] 0.0.0 [Pipeline] } [2023-09-13T07:13:42.581Z] $ docker exec --env ******** --env ******** 4d4a84a070c277142b85fb01b2ab2c49df70c0121f5666a2d74ebd5f4bd3432b ssh-agent -k [2023-09-13T07:13:42.679Z] unset SSH_AUTH_SOCK; [2023-09-13T07:13:42.680Z] unset SSH_AGENT_PID; [2023-09-13T07:13:42.680Z] echo Agent pid 77 killed; [2023-09-13T07:13:42.689Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-13T07:13:42.999Z] + git semver [Pipeline] } [2023-09-13T07:13:43.269Z] $ docker stop --time=1 4d4a84a070c277142b85fb01b2ab2c49df70c0121f5666a2d74ebd5f4bd3432b [2023-09-13T07:13:44.573Z] $ docker rm -f --volumes 4d4a84a070c277142b85fb01b2ab2c49df70c0121f5666a2d74ebd5f4bd3432b [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-13T07:13:44.915Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-13T07:13:45.134Z] Stashed 1 file(s) [Pipeline] echo [2023-09-13T07:13:45.138Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-13T07:13:45.272Z] provisioning config files... [2023-09-13T07:13:45.282Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config2669344249997161176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:13:45.581Z] ---> docker-login.sh [2023-09-13T07:13:45.581Z] nexus3.edgexfoundry.org:10001 [2023-09-13T07:13:45.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:13:45.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:13:45.582Z] Configure a credential helper to remove this warning. See [2023-09-13T07:13:45.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:13:45.582Z] [2023-09-13T07:13:45.582Z] Login Succeeded [2023-09-13T07:13:45.582Z] nexus3.edgexfoundry.org:10002 [2023-09-13T07:13:45.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:13:45.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:13:45.582Z] Configure a credential helper to remove this warning. See [2023-09-13T07:13:45.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:13:45.582Z] [2023-09-13T07:13:45.582Z] Login Succeeded [2023-09-13T07:13:45.582Z] nexus3.edgexfoundry.org:10003 [2023-09-13T07:13:45.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:13:45.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:13:45.840Z] Configure a credential helper to remove this warning. See [2023-09-13T07:13:45.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:13:45.840Z] [2023-09-13T07:13:45.840Z] Login Succeeded [2023-09-13T07:13:45.840Z] nexus3.edgexfoundry.org:10004 [2023-09-13T07:13:45.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:13:45.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:13:45.840Z] Configure a credential helper to remove this warning. See [2023-09-13T07:13:45.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:13:45.840Z] [2023-09-13T07:13:45.840Z] Login Succeeded [2023-09-13T07:13:45.840Z] docker.io [2023-09-13T07:13:45.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:13:46.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:13:46.100Z] Configure a credential helper to remove this warning. See [2023-09-13T07:13:46.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:13:46.100Z] [2023-09-13T07:13:46.100Z] Login Succeeded [2023-09-13T07:13:46.100Z] ---> docker-login.sh ends [Pipeline] } [2023-09-13T07:13:46.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-13T07:13:46.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-13T07:13:46.174Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-13T07:13:46.185Z] ========================================================= [2023-09-13T07:13:46.185Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-13T07:13:46.185Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:13:46.489Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-13T07:13:46.489Z] Sending build context to Docker daemon 11.16MB [2023-09-13T07:13:46.489Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-13T07:13:46.489Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-13T07:13:46.748Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-13T07:13:46.748Z] 7264a8db6415: Pulling fs layer [2023-09-13T07:13:46.748Z] c4d48a809fc2: Pulling fs layer [2023-09-13T07:13:46.748Z] 4f1c88b9dad5: Pulling fs layer [2023-09-13T07:13:46.748Z] ad3a456e5733: Pulling fs layer [2023-09-13T07:13:46.748Z] 9e4f439ed901: Pulling fs layer [2023-09-13T07:13:46.748Z] feaf6a47b606: Pulling fs layer [2023-09-13T07:13:46.748Z] 5e8b037d7d82: Pulling fs layer [2023-09-13T07:13:46.748Z] 8ac70367396e: Pulling fs layer [2023-09-13T07:13:46.748Z] 6db16350a2e2: Pulling fs layer [2023-09-13T07:13:46.748Z] 9250d5d63582: Pulling fs layer [2023-09-13T07:13:46.748Z] 9e4f439ed901: Waiting [2023-09-13T07:13:46.748Z] feaf6a47b606: Waiting [2023-09-13T07:13:46.748Z] 5e8b037d7d82: Waiting [2023-09-13T07:13:46.748Z] 8ac70367396e: Waiting [2023-09-13T07:13:46.748Z] 6db16350a2e2: Waiting [2023-09-13T07:13:46.748Z] ad3a456e5733: Waiting [2023-09-13T07:13:46.748Z] c4d48a809fc2: Verifying Checksum [2023-09-13T07:13:46.748Z] c4d48a809fc2: Download complete [2023-09-13T07:13:46.748Z] ad3a456e5733: Verifying Checksum [2023-09-13T07:13:46.748Z] ad3a456e5733: Download complete [2023-09-13T07:13:46.748Z] 9e4f439ed901: Verifying Checksum [2023-09-13T07:13:46.748Z] 9e4f439ed901: Download complete [2023-09-13T07:13:46.748Z] 7264a8db6415: Verifying Checksum [2023-09-13T07:13:46.748Z] 7264a8db6415: Download complete [2023-09-13T07:13:46.748Z] feaf6a47b606: Verifying Checksum [2023-09-13T07:13:46.748Z] feaf6a47b606: Download complete [2023-09-13T07:13:47.009Z] 7264a8db6415: Pull complete [2023-09-13T07:13:47.009Z] 8ac70367396e: Verifying Checksum [2023-09-13T07:13:47.009Z] 8ac70367396e: Download complete [2023-09-13T07:13:47.009Z] c4d48a809fc2: Pull complete [2023-09-13T07:13:47.266Z] 4f1c88b9dad5: Verifying Checksum [2023-09-13T07:13:47.266Z] 4f1c88b9dad5: Download complete [2023-09-13T07:13:47.266Z] 6db16350a2e2: Verifying Checksum [2023-09-13T07:13:47.266Z] 6db16350a2e2: Download complete [2023-09-13T07:13:47.523Z] 9250d5d63582: Verifying Checksum [2023-09-13T07:13:47.523Z] 9250d5d63582: Download complete [2023-09-13T07:13:47.523Z] 5e8b037d7d82: Verifying Checksum [2023-09-13T07:13:47.523Z] 5e8b037d7d82: Download complete [2023-09-13T07:13:50.815Z] 4f1c88b9dad5: Pull complete [2023-09-13T07:13:50.815Z] ad3a456e5733: Pull complete [2023-09-13T07:13:51.073Z] 9e4f439ed901: Pull complete [2023-09-13T07:13:51.331Z] feaf6a47b606: Pull complete [2023-09-13T07:13:53.857Z] 5e8b037d7d82: Pull complete [2023-09-13T07:13:54.434Z] 8ac70367396e: Pull complete [2023-09-13T07:13:54.693Z] 6db16350a2e2: Pull complete [2023-09-13T07:13:55.258Z] 9250d5d63582: Pull complete [2023-09-13T07:13:55.258Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-13T07:13:55.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-13T07:13:55.258Z] ---> fa269f55d9b9 [2023-09-13T07:13:55.258Z] Step 3/10 : ARG MAKE=make build [2023-09-13T07:14:00.241Z] Still waiting to schedule task [2023-09-13T07:14:00.242Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-13T07:14:01.832Z] ---> Running in 2516146b9b66 [2023-09-13T07:14:01.832Z] Removing intermediate container 2516146b9b66 [2023-09-13T07:14:01.832Z] ---> fcc73509eac4 [2023-09-13T07:14:01.832Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-13T07:14:01.832Z] ---> Running in 4e2b87aeffb3 [2023-09-13T07:14:01.832Z] Removing intermediate container 4e2b87aeffb3 [2023-09-13T07:14:01.832Z] ---> 99b0294fa459 [2023-09-13T07:14:01.832Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-13T07:14:01.832Z] ---> Running in 39507ec7d198 [2023-09-13T07:14:01.832Z] Removing intermediate container 39507ec7d198 [2023-09-13T07:14:01.832Z] ---> d288b6488c42 [2023-09-13T07:14:01.832Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-13T07:14:01.832Z] ---> Running in 3f07c437e8a3 [2023-09-13T07:14:01.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-13T07:14:01.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-13T07:14:02.092Z] OK: 265 MiB in 56 packages [2023-09-13T07:14:02.349Z] Removing intermediate container 3f07c437e8a3 [2023-09-13T07:14:02.349Z] ---> b6cb234ecd72 [2023-09-13T07:14:02.349Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-13T07:14:02.349Z] ---> 8e11c7368d5b [2023-09-13T07:14:02.349Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-13T07:14:02.349Z] ---> Running in 93a40e94724d [2023-09-13T07:14:34.422Z] Removing intermediate container 93a40e94724d [2023-09-13T07:14:34.422Z] ---> 7d856c06c6b2 [2023-09-13T07:14:34.422Z] Step 9/10 : COPY . . [2023-09-13T07:14:34.422Z] ---> 36d5d1dd86cf [2023-09-13T07:14:34.422Z] Step 10/10 : RUN ${MAKE} [2023-09-13T07:14:34.422Z] ---> Running in 3005b7132f5d [2023-09-13T07:14:34.422Z] noop [2023-09-13T07:14:34.422Z] Removing intermediate container 3005b7132f5d [2023-09-13T07:14:34.422Z] ---> 55cfb0c31916 [2023-09-13T07:14:34.422Z] Successfully built 55cfb0c31916 [2023-09-13T07:14:34.422Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:14:34.728Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-13T07:14:34.728Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T07:14:34.800Z] prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container [2023-09-13T07:14:34.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-13T07:14:35.208Z] $ docker top 88b5c63c02219313d7d08dd0109a718e2310f804644cdba381ecd432411fdc3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-13T07:14:35.555Z] + go version [2023-09-13T07:14:35.555Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-13T07:14:35.566Z] $ docker stop --time=1 88b5c63c02219313d7d08dd0109a718e2310f804644cdba381ecd432411fdc3f [2023-09-13T07:14:36.851Z] $ docker rm -f --volumes 88b5c63c02219313d7d08dd0109a718e2310f804644cdba381ecd432411fdc3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:14:37.275Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-13T07:14:37.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T07:14:37.350Z] prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container [2023-09-13T07:14:37.384Z] $ 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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-13T07:14:37.704Z] $ docker top 0b0acb57b6255feed2361343ed1db52a70899364027354513fd24974eba8a796 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-13T07:14:38.049Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1506 [Pipeline] fileExists [Pipeline] sh [2023-09-13T07:14:38.346Z] + make test [2023-09-13T07:14:38.346Z] go test -race -coverprofile=coverage.out ./... [2023-09-13T07:14:44.932Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-13T07:14:57.122Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-13T07:14:57.122Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-13T07:14:57.122Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-13T07:14:57.122Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-13T07:14:57.122Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-13T07:14:58.496Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-13T07:14:58.496Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-13T07:14:59.063Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.049s coverage: 27.6% of statements [2023-09-13T07:14:59.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-13T07:14:59.063Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.066s coverage: 80.2% of statements [2023-09-13T07:14:59.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.053s coverage: 86.0% of statements [2023-09-13T07:15:00.252Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.083s coverage: 71.8% of statements [2023-09-13T07:15:00.252Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-13T07:15:00.252Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-13T07:15:00.252Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-13T07:15:03.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.4% of statements [2023-09-13T07:15:03.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.039s coverage: 44.2% of statements [2023-09-13T07:15:03.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.066s coverage: 68.5% of statements [2023-09-13T07:15:03.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.121s coverage: 89.2% of statements [2023-09-13T07:15:03.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.039s coverage: 5.5% of statements [2023-09-13T07:15:18.434Z] GO111MODULE=on go vet ./... [2023-09-13T07:15:21.712Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-13T07:15:21.712Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-13T07:15:21.712Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-13T07:15:21.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-13T07:15:21.735Z] $ docker stop --time=1 0b0acb57b6255feed2361343ed1db52a70899364027354513fd24974eba8a796 [2023-09-13T07:15:26.627Z] $ docker rm -f --volumes 0b0acb57b6255feed2361343ed1db52a70899364027354513fd24974eba8a796 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-13T07:15:27.162Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-13T07:15:27.225Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-13T07:15:27.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-13T07:15:28.033Z] + ls -al . [2023-09-13T07:15:28.033Z] total 304 [2023-09-13T07:15:28.033Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 13 07:14 . [2023-09-13T07:15:28.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 07:13 .. [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 13 07:13 .dockerignore [2023-09-13T07:15:28.033Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 13 07:15 .git [2023-09-13T07:15:28.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 13 07:13 .github [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 13 07:13 .gitignore [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 13 07:13 .golangci.yml [2023-09-13T07:15:28.033Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 13 07:13 .semver [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 13 07:13 CHANGELOG.md [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 13 07:13 GOVERNANCE.md [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 13 07:13 Jenkinsfile [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 13 07:13 LICENSE [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 13 07:13 Makefile [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 13 07:13 OWNERS.md [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 13 07:13 README.md [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 13 07:13 VERSION [2023-09-13T07:15:28.033Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 13 07:13 bin [2023-09-13T07:15:28.033Z] -rw-r--r-- 1 jenkins jenkins 120475 Sep 13 07:15 coverage.out [2023-09-13T07:15:28.033Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 13 07:13 example [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 13 07:13 go.mod [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 33547 Sep 13 07:13 go.sum [2023-09-13T07:15:28.033Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 13 07:13 internal [2023-09-13T07:15:28.033Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 07:13 openapi [2023-09-13T07:15:28.033Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 13 07:13 pkg [2023-09-13T07:15:28.033Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 07:13 snap [2023-09-13T07:15:28.033Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 13 07:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:15:28.340Z] + 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=37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c --label arch=amd64 --label version=0.0.0 . [2023-09-13T07:15:28.340Z] Sending build context to Docker daemon 11.28MB [2023-09-13T07:15:28.340Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-13T07:15:28.340Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-13T07:15:28.340Z] ---> 55cfb0c31916 [2023-09-13T07:15:28.340Z] Step 3/23 : ARG MAKE=make build [2023-09-13T07:15:28.602Z] ---> Running in 0c888bf70385 [2023-09-13T07:15:28.602Z] Removing intermediate container 0c888bf70385 [2023-09-13T07:15:28.602Z] ---> 1a697137b27f [2023-09-13T07:15:28.602Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-13T07:15:28.602Z] ---> Running in e72a353d8858 [2023-09-13T07:15:28.602Z] Removing intermediate container e72a353d8858 [2023-09-13T07:15:28.602Z] ---> aaa84b72419a [2023-09-13T07:15:28.602Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-13T07:15:28.602Z] ---> Running in 73a37a470427 [2023-09-13T07:15:28.862Z] Removing intermediate container 73a37a470427 [2023-09-13T07:15:28.862Z] ---> 9b05831b4e64 [2023-09-13T07:15:28.862Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-13T07:15:28.862Z] ---> Running in 60da70603506 [2023-09-13T07:15:29.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-13T07:15:29.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-13T07:15:29.378Z] OK: 265 MiB in 56 packages [2023-09-13T07:15:29.637Z] Removing intermediate container 60da70603506 [2023-09-13T07:15:29.637Z] ---> ee841c9fd3fa [2023-09-13T07:15:29.637Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-13T07:15:29.899Z] ---> 2de2d3be78a8 [2023-09-13T07:15:29.899Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-13T07:15:29.899Z] ---> Running in bed519d1efd1 [2023-09-13T07:15:30.466Z] Removing intermediate container bed519d1efd1 [2023-09-13T07:15:30.466Z] ---> 217d98ef71ad [2023-09-13T07:15:30.466Z] Step 9/23 : COPY . . [2023-09-13T07:15:31.033Z] ---> b2e83e8c750e [2023-09-13T07:15:31.033Z] Step 10/23 : RUN ${MAKE} [2023-09-13T07:15:31.033Z] ---> Running in 61cd90a42876 [2023-09-13T07:15:31.293Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-13T07:15:39.344Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6089 in /w/workspace/gexfoundry_device-sdk-go_PR-1506 [Pipeline] { [Pipeline] ws [2023-09-13T07:15:39.357Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2023-09-13T07:15:39.395Z] The recommended git tool is: git [2023-09-13T07:15:44.463Z] using credential edgex-jenkins-ssh [2023-09-13T07:15:44.481Z] Cloning the remote Git repository [2023-09-13T07:15:44.519Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-13T07:15:44.608Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2023-09-13T07:15:44.744Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-13T07:15:44.745Z] > git --version # timeout=10 [2023-09-13T07:15:44.767Z] > git --version # 'git version 2.25.1' [2023-09-13T07:15:44.769Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-13T07:15:44.923Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-13T07:15:46.450Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-13T07:15:46.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-13T07:15:48.058Z] Merging remotes/origin/main commit 10d83f9598abba3559abd072fcd7553d77fa119a into PR head commit 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c [2023-09-13T07:15:47.300Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-13T07:15:47.341Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-13T07:15:47.342Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-13T07:15:47.358Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1506/head:refs/remotes/origin/PR-1506 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-13T07:15:48.075Z] > git config core.sparsecheckout # timeout=10 [2023-09-13T07:15:48.336Z] Merge succeeded, producing 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c [2023-09-13T07:15:48.336Z] Checking out Revision 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c (PR-1506) [2023-09-13T07:15:48.140Z] > git checkout -f 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c # timeout=10 [2023-09-13T07:15:48.243Z] > git remote # timeout=10 [2023-09-13T07:15:48.261Z] > git config --get remote.origin.url # timeout=10 [2023-09-13T07:15:48.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-13T07:15:48.289Z] > git merge 10d83f9598abba3559abd072fcd7553d77fa119a # timeout=10 [2023-09-13T07:15:48.314Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-13T07:15:48.341Z] > git config core.sparsecheckout # timeout=10 [2023-09-13T07:15:48.355Z] > git checkout -f 37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c # timeout=10 [2023-09-13T07:15:51.834Z] Commit message: "build: Upgrade dependency libs" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-13T07:15:52.773Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-13T07:15:52.773Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-13T07:15:52.773Z] Dload Upload Total Spent Left Speed [2023-09-13T07:15:52.773Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [2023-09-13T07:15:53.236Z] Removing intermediate container 61cd90a42876 [2023-09-13T07:15:53.236Z] ---> efc46aff43ff [2023-09-13T07:15:53.236Z] Step 11/23 : FROM alpine:3.18 [2023-09-13T07:15:53.236Z] 3.18: Pulling from library/alpine [2023-09-13T07:15:53.236Z] 7264a8db6415: Already exists [2023-09-13T07:15:53.236Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-13T07:15:53.236Z] Status: Downloaded newer image for alpine:3.18 [2023-09-13T07:15:53.236Z] ---> 7e01a0d0a1dc [2023-09-13T07:15:53.236Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-13T07:15:53.236Z] ---> Running in 4312f0239fb9 [2023-09-13T07:15:53.236Z] Removing intermediate container 4312f0239fb9 [2023-09-13T07:15:53.236Z] ---> c60fb73fa3c9 [2023-09-13T07:15:53.236Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-13T07:15:53.236Z] ---> Running in 66f0f43a5049 [2023-09-13T07:15:53.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-13T07:15:53.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-13T07:15:53.236Z] OK: 7 MiB in 15 packages [2023-09-13T07:15:53.433Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-13T07:15:53.495Z] Removing intermediate container 66f0f43a5049 [2023-09-13T07:15:53.495Z] ---> 41d622afb51b [2023-09-13T07:15:53.495Z] Step 14/23 : WORKDIR / [2023-09-13T07:15:53.495Z] ---> Running in 084c198ca4fd [2023-09-13T07:15:53.495Z] Removing intermediate container 084c198ca4fd [2023-09-13T07:15:53.495Z] ---> 6d937a77cf21 [2023-09-13T07:15:53.495Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-13T07:15:53.752Z] ---> 51946e67ec02 [2023-09-13T07:15:53.752Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-13T07:15:53.757Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-13T07:15:53.757Z] + sudo tee /etc/docker/daemon.new [2023-09-13T07:15:53.757Z] { [2023-09-13T07:15:53.757Z] "registry-mirrors": [ [2023-09-13T07:15:53.757Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-13T07:15:53.757Z] ], [2023-09-13T07:15:53.757Z] "bip": "10.250.0.254/24", [2023-09-13T07:15:53.757Z] "hosts": [ [2023-09-13T07:15:53.757Z] "tcp://0.0.0.0:5555", [2023-09-13T07:15:53.757Z] "unix:///var/run/docker.sock" [2023-09-13T07:15:53.757Z] ], [2023-09-13T07:15:53.757Z] "mtu": 1458, [2023-09-13T07:15:53.757Z] "selinux-enabled": true, [2023-09-13T07:15:53.757Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-13T07:15:53.757Z] } [Pipeline] sh [2023-09-13T07:15:54.107Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-13T07:15:54.320Z] ---> 412e300d7983 [2023-09-13T07:15:54.320Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-13T07:15:54.320Z] ---> 64b4d67b603e [2023-09-13T07:15:54.320Z] Step 18/23 : EXPOSE 59999 [2023-09-13T07:15:54.433Z] + sudo service docker restart [2023-09-13T07:15:54.578Z] ---> Running in afd2deeef380 [2023-09-13T07:15:54.578Z] Removing intermediate container afd2deeef380 [2023-09-13T07:15:54.578Z] ---> bde66fca83d9 [2023-09-13T07:15:54.578Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-13T07:15:54.578Z] ---> Running in 4dec8f5fc723 [2023-09-13T07:15:54.578Z] Removing intermediate container 4dec8f5fc723 [2023-09-13T07:15:54.578Z] ---> 426fd8d6aa64 [2023-09-13T07:15:54.578Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-13T07:15:54.578Z] ---> Running in 3c7669a341a0 [2023-09-13T07:15:54.578Z] Removing intermediate container 3c7669a341a0 [2023-09-13T07:15:54.578Z] ---> 6421355bc669 [2023-09-13T07:15:54.578Z] Step 21/23 : LABEL arch=amd64 [2023-09-13T07:15:54.836Z] ---> Running in 77d0c6b616d6 [2023-09-13T07:15:54.836Z] Removing intermediate container 77d0c6b616d6 [2023-09-13T07:15:54.836Z] ---> e19df0d856f8 [2023-09-13T07:15:54.836Z] Step 22/23 : LABEL git_sha=37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c [2023-09-13T07:15:54.836Z] ---> Running in 36ceec856538 [2023-09-13T07:15:54.836Z] Removing intermediate container 36ceec856538 [2023-09-13T07:15:54.836Z] ---> 43064dd003ee [2023-09-13T07:15:54.836Z] Step 23/23 : LABEL version=0.0.0 [2023-09-13T07:15:54.836Z] ---> Running in 202157d9c940 [2023-09-13T07:15:54.836Z] Removing intermediate container 202157d9c940 [2023-09-13T07:15:54.836Z] ---> 789d597edbfe [2023-09-13T07:15:54.836Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-13T07:15:55.095Z] Successfully built 789d597edbfe [2023-09-13T07:15:55.095Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:15:55.505Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-13T07:15:55.505Z] [2023-09-13T07:15:55.505Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:15:55.803Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-13T07:15:55.803Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-13T07:15:55.803Z] 5eb5b503b376: Pulling fs layer [2023-09-13T07:15:55.803Z] 5c69ac0246d0: Pulling fs layer [2023-09-13T07:15:55.803Z] ec43610c2a17: Pulling fs layer [2023-09-13T07:15:55.803Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-13T07:15:55.803Z] 33b1e0a273af: Pulling fs layer [2023-09-13T07:15:55.803Z] 5d3b04190fa2: Pulling fs layer [2023-09-13T07:15:55.803Z] 2f39f015ded8: Pulling fs layer [2023-09-13T07:15:55.803Z] 33b1e0a273af: Waiting [2023-09-13T07:15:55.803Z] 5d3b04190fa2: Waiting [2023-09-13T07:15:55.803Z] 2f39f015ded8: Waiting [2023-09-13T07:15:55.803Z] 3a2ae6a8a46f: Waiting [2023-09-13T07:15:55.803Z] 5c69ac0246d0: Verifying Checksum [2023-09-13T07:15:55.803Z] 5c69ac0246d0: Download complete [2023-09-13T07:15:55.803Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-13T07:15:55.803Z] 3a2ae6a8a46f: Download complete [2023-09-13T07:15:55.803Z] ec43610c2a17: Verifying Checksum [2023-09-13T07:15:55.803Z] ec43610c2a17: Download complete [2023-09-13T07:15:55.803Z] 33b1e0a273af: Verifying Checksum [2023-09-13T07:15:55.803Z] 33b1e0a273af: Download complete [2023-09-13T07:15:55.803Z] 5d3b04190fa2: Download complete [2023-09-13T07:15:56.061Z] 5eb5b503b376: Verifying Checksum [2023-09-13T07:15:56.061Z] 5eb5b503b376: Download complete [2023-09-13T07:15:56.627Z] 2f39f015ded8: Download complete [2023-09-13T07:15:57.192Z] 5eb5b503b376: Pull complete [2023-09-13T07:15:57.192Z] 5c69ac0246d0: Pull complete [2023-09-13T07:15:57.757Z] ec43610c2a17: Pull complete [2023-09-13T07:15:57.757Z] 3a2ae6a8a46f: Pull complete [2023-09-13T07:15:58.178Z] 33b1e0a273af: Pull complete [2023-09-13T07:15:58.178Z] 5d3b04190fa2: Pull complete [2023-09-13T07:16:02.357Z] 2f39f015ded8: Pull complete [2023-09-13T07:16:02.357Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-13T07:16:02.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-13T07:16:02.357Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T07:16:02.431Z] prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container [2023-09-13T07:16:02.459Z] $ 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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-13T07:16:08.373Z] $ docker top cdf9c808d5e12f9cd74261911a5591a2ed1d0c14205f3c5eebeac713eac256fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:16:08.788Z] ---> job-cost.sh [2023-09-13T07:16:08.788Z] lf-activate-venv: SKIPPING [2023-09-13T07:16:08.788Z] INFO: No Stack... [2023-09-13T07:16:09.048Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-13T07:16:09.307Z] INFO: Archiving Costs [Pipeline] sh [2023-09-13T07:16:09.595Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/cost.csv [2023-09-13T07:16:09.595Z] + cut -d, -f6 [Pipeline] lock [2023-09-13T07:16:09.610Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1506-6-stack-cost] [2023-09-13T07:16:09.616Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-6-stack-cost] did not exist. Created. [2023-09-13T07:16:09.616Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1506-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-13T07:16:09.918Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-13T07:16:09.951Z] Stashed 1 file(s) [Pipeline] } [2023-09-13T07:16:09.957Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-13T07:16:09.977Z] $ docker stop --time=1 cdf9c808d5e12f9cd74261911a5591a2ed1d0c14205f3c5eebeac713eac256fa [2023-09-13T07:16:11.126Z] $ docker rm -f --volumes cdf9c808d5e12f9cd74261911a5591a2ed1d0c14205f3c5eebeac713eac256fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-13T07:16:12.680Z] provisioning config files... [2023-09-13T07:16:12.704Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config9094797478974550466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:16:13.046Z] ---> docker-login.sh [2023-09-13T07:16:13.046Z] nexus3.edgexfoundry.org:10001 [2023-09-13T07:16:13.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:16:13.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:16:13.584Z] Configure a credential helper to remove this warning. See [2023-09-13T07:16:13.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:16:13.584Z] [2023-09-13T07:16:13.584Z] Login Succeeded [2023-09-13T07:16:13.584Z] nexus3.edgexfoundry.org:10002 [2023-09-13T07:16:13.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:16:14.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:16:14.122Z] Configure a credential helper to remove this warning. See [2023-09-13T07:16:14.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:16:14.122Z] [2023-09-13T07:16:14.122Z] Login Succeeded [2023-09-13T07:16:14.122Z] nexus3.edgexfoundry.org:10003 [2023-09-13T07:16:14.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:16:14.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:16:14.393Z] Configure a credential helper to remove this warning. See [2023-09-13T07:16:14.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:16:14.393Z] [2023-09-13T07:16:14.393Z] Login Succeeded [2023-09-13T07:16:14.393Z] nexus3.edgexfoundry.org:10004 [2023-09-13T07:16:14.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:16:14.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:16:14.663Z] Configure a credential helper to remove this warning. See [2023-09-13T07:16:14.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:16:14.663Z] [2023-09-13T07:16:14.663Z] Login Succeeded [2023-09-13T07:16:14.663Z] docker.io [2023-09-13T07:16:14.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-13T07:16:15.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-13T07:16:15.200Z] Configure a credential helper to remove this warning. See [2023-09-13T07:16:15.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-13T07:16:15.200Z] [2023-09-13T07:16:15.200Z] Login Succeeded [2023-09-13T07:16:15.200Z] ---> docker-login.sh ends [Pipeline] } [2023-09-13T07:16:15.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-13T07:16:15.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-13T07:16:15.469Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-13T07:16:15.484Z] ========================================================= [2023-09-13T07:16:15.484Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-13T07:16:15.484Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:16:15.832Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-13T07:16:16.102Z] Sending build context to Docker daemon 5.982MB [2023-09-13T07:16:16.102Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-13T07:16:16.102Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-13T07:16:16.375Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-13T07:16:16.375Z] 9fda8d8052c6: Pulling fs layer [2023-09-13T07:16:16.375Z] 5d54e960e981: Pulling fs layer [2023-09-13T07:16:16.375Z] c4a7e357bf2a: Pulling fs layer [2023-09-13T07:16:16.375Z] f0e02332f6b5: Pulling fs layer [2023-09-13T07:16:16.375Z] 66412af1f25a: Pulling fs layer [2023-09-13T07:16:16.375Z] 1baf3a5c0e64: Pulling fs layer [2023-09-13T07:16:16.375Z] 9a37bb91b891: Pulling fs layer [2023-09-13T07:16:16.375Z] a29adfc67d43: Pulling fs layer [2023-09-13T07:16:16.375Z] d5de9f91c1a4: Pulling fs layer [2023-09-13T07:16:16.375Z] 1baf3a5c0e64: Waiting [2023-09-13T07:16:16.375Z] 9a37bb91b891: Waiting [2023-09-13T07:16:16.375Z] a29adfc67d43: Waiting [2023-09-13T07:16:16.375Z] d5de9f91c1a4: Waiting [2023-09-13T07:16:16.375Z] f0e02332f6b5: Waiting [2023-09-13T07:16:16.375Z] 66412af1f25a: Waiting [2023-09-13T07:16:16.375Z] 5d54e960e981: Verifying Checksum [2023-09-13T07:16:16.375Z] 5d54e960e981: Download complete [2023-09-13T07:16:16.375Z] f0e02332f6b5: Download complete [2023-09-13T07:16:16.375Z] 66412af1f25a: Verifying Checksum [2023-09-13T07:16:16.375Z] 66412af1f25a: Download complete [2023-09-13T07:16:16.375Z] 9fda8d8052c6: Verifying Checksum [2023-09-13T07:16:16.375Z] 9fda8d8052c6: Download complete [2023-09-13T07:16:16.970Z] 9a37bb91b891: Verifying Checksum [2023-09-13T07:16:16.970Z] 9a37bb91b891: Download complete [2023-09-13T07:16:17.560Z] 9fda8d8052c6: Pull complete [2023-09-13T07:16:17.560Z] a29adfc67d43: Verifying Checksum [2023-09-13T07:16:17.560Z] a29adfc67d43: Download complete [2023-09-13T07:16:18.150Z] 5d54e960e981: Pull complete [2023-09-13T07:16:18.150Z] d5de9f91c1a4: Verifying Checksum [2023-09-13T07:16:18.150Z] d5de9f91c1a4: Download complete [2023-09-13T07:16:18.150Z] c4a7e357bf2a: Download complete [2023-09-13T07:16:19.117Z] 1baf3a5c0e64: Verifying Checksum [2023-09-13T07:16:19.117Z] 1baf3a5c0e64: Download complete [2023-09-13T07:16:29.206Z] c4a7e357bf2a: Pull complete [2023-09-13T07:16:29.206Z] f0e02332f6b5: Pull complete [2023-09-13T07:16:29.476Z] 66412af1f25a: Pull complete [2023-09-13T07:16:37.731Z] 1baf3a5c0e64: Pull complete [2023-09-13T07:16:37.731Z] 9a37bb91b891: Pull complete [2023-09-13T07:16:39.151Z] a29adfc67d43: Pull complete [2023-09-13T07:16:40.564Z] d5de9f91c1a4: Pull complete [2023-09-13T07:16:40.564Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-13T07:16:40.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-13T07:16:40.564Z] ---> 746ca1b523b5 [2023-09-13T07:16:40.564Z] Step 3/10 : ARG MAKE=make build [2023-09-13T07:16:42.514Z] ---> Running in a36e760e19ba [2023-09-13T07:16:42.514Z] Removing intermediate container a36e760e19ba [2023-09-13T07:16:42.514Z] ---> 7410f79aabe5 [2023-09-13T07:16:42.514Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-13T07:16:42.784Z] ---> Running in a4a6af090af1 [2023-09-13T07:16:43.051Z] Removing intermediate container a4a6af090af1 [2023-09-13T07:16:43.051Z] ---> 01a9ec017208 [2023-09-13T07:16:43.051Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-13T07:16:43.051Z] ---> Running in 79e059d1a3a2 [2023-09-13T07:16:43.321Z] Removing intermediate container 79e059d1a3a2 [2023-09-13T07:16:43.321Z] ---> 410cb9b35744 [2023-09-13T07:16:43.321Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-13T07:16:43.321Z] ---> Running in 5e6e928cebbc [2023-09-13T07:16:44.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-13T07:16:44.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-13T07:16:45.689Z] OK: 267 MiB in 56 packages [2023-09-13T07:16:49.035Z] Removing intermediate container 5e6e928cebbc [2023-09-13T07:16:49.035Z] ---> a607550e3b28 [2023-09-13T07:16:49.035Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-13T07:16:49.624Z] ---> 115883350d04 [2023-09-13T07:16:49.624Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-13T07:16:49.624Z] ---> Running in ca9f7017ac48 [2023-09-13T07:17:57.527Z] Removing intermediate container ca9f7017ac48 [2023-09-13T07:17:57.527Z] ---> 7344b345fee1 [2023-09-13T07:17:57.527Z] Step 9/10 : COPY . . [2023-09-13T07:17:57.527Z] ---> 7044ead93149 [2023-09-13T07:17:57.527Z] Step 10/10 : RUN ${MAKE} [2023-09-13T07:17:57.527Z] ---> Running in 70a993fa8bff [2023-09-13T07:17:57.527Z] noop [2023-09-13T07:17:57.527Z] Removing intermediate container 70a993fa8bff [2023-09-13T07:17:57.527Z] ---> 81b5fd279ff0 [2023-09-13T07:17:57.527Z] Successfully built 81b5fd279ff0 [2023-09-13T07:17:57.527Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:17:57.876Z] + docker inspect -f . ci-base-image-arm64 [2023-09-13T07:17:57.876Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T07:17:58.086Z] prd-ubuntu20.04-docker-arm64-4c-16g-6089 does not seem to be running inside a container [2023-09-13T07:17:58.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-13T07:17:59.364Z] $ docker top 714c5ea8f548d8a60e8267287b4eec6dcbbf615349bf79f37096c089edbb4912 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-13T07:18:00.194Z] + go version [2023-09-13T07:18:00.194Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-13T07:18:00.217Z] $ docker stop --time=1 714c5ea8f548d8a60e8267287b4eec6dcbbf615349bf79f37096c089edbb4912 [2023-09-13T07:18:01.835Z] $ docker rm -f --volumes 714c5ea8f548d8a60e8267287b4eec6dcbbf615349bf79f37096c089edbb4912 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:18:02.382Z] + docker inspect -f . ci-base-image-arm64 [2023-09-13T07:18:02.383Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T07:18:02.689Z] prd-ubuntu20.04-docker-arm64-4c-16g-6089 does not seem to be running inside a container [2023-09-13T07:18:02.753Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-13T07:18:03.910Z] $ docker top 9dd836b7b0bfb26fc1034efad13b4cbf1b4351de1f33491fb08f81b2a57fa8b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-13T07:18:04.726Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh [2023-09-13T07:18:05.056Z] + make test [2023-09-13T07:18:05.056Z] go test -race -coverprofile=coverage.out ./... [2023-09-13T07:18:37.273Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-13T07:20:13.902Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-13T07:20:13.902Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-13T07:20:13.902Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-13T07:20:13.902Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-13T07:20:13.902Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-13T07:20:13.902Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.192s coverage: 27.6% of statements [2023-09-13T07:20:17.238Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.233s coverage: 80.2% of statements [2023-09-13T07:20:27.298Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-13T07:20:27.298Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-13T07:20:27.298Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.284s coverage: 86.0% of statements [2023-09-13T07:20:31.547Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-13T07:20:32.957Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.444s coverage: 71.8% of statements [2023-09-13T07:20:36.290Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.232s coverage: 14.4% of statements [2023-09-13T07:20:36.290Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.638s coverage: 44.2% of statements [2023-09-13T07:20:36.290Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-13T07:20:36.290Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-13T07:20:37.700Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.367s coverage: 68.5% of statements [2023-09-13T07:20:40.274Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.410s coverage: 89.2% of statements [2023-09-13T07:20:40.274Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-13T07:20:41.760Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.228s coverage: 5.5% of statements [2023-09-13T07:20:42.037Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-13T07:20:42.037Z] GO111MODULE=on go vet ./... [2023-09-13T07:22:18.737Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-13T07:22:18.737Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-13T07:22:18.737Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-13T07:22:18.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-13T07:22:18.782Z] $ docker stop --time=1 9dd836b7b0bfb26fc1034efad13b4cbf1b4351de1f33491fb08f81b2a57fa8b1 [2023-09-13T07:22:20.670Z] $ docker rm -f --volumes 9dd836b7b0bfb26fc1034efad13b4cbf1b4351de1f33491fb08f81b2a57fa8b1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-13T07:22:22.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-13T07:22:22.277Z] Warning: overwriting stash ‘coverage-report’ [2023-09-13T07:22:22.785Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-13T07:22:23.184Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-13T07:22:23.497Z] + ls -al . [2023-09-13T07:22:23.497Z] total 300 [2023-09-13T07:22:23.497Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 13 07:18 . [2023-09-13T07:22:23.497Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 07:15 .. [2023-09-13T07:22:23.497Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 13 07:15 .dockerignore [2023-09-13T07:22:23.497Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 13 07:15 .git [2023-09-13T07:22:23.497Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 13 07:15 .github [2023-09-13T07:22:23.497Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 13 07:15 .gitignore [2023-09-13T07:22:23.497Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 13 07:15 .golangci.yml [2023-09-13T07:22:23.497Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 13 07:15 CHANGELOG.md [2023-09-13T07:22:23.497Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 13 07:15 GOVERNANCE.md [2023-09-13T07:22:23.497Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 13 07:15 Jenkinsfile [2023-09-13T07:22:23.497Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 13 07:15 LICENSE [2023-09-13T07:22:23.497Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 13 07:15 Makefile [2023-09-13T07:22:23.497Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 13 07:15 OWNERS.md [2023-09-13T07:22:23.497Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 13 07:15 README.md [2023-09-13T07:22:23.497Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 13 07:13 VERSION [2023-09-13T07:22:23.498Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 13 07:15 bin [2023-09-13T07:22:23.498Z] -rw-r--r-- 1 jenkins jenkins 120475 Sep 13 07:20 coverage.out [2023-09-13T07:22:23.498Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 13 07:15 example [2023-09-13T07:22:23.498Z] -rw-rw-r-- 1 jenkins jenkins 3722 Sep 13 07:15 go.mod [2023-09-13T07:22:23.498Z] -rw-rw-r-- 1 jenkins jenkins 33547 Sep 13 07:15 go.sum [2023-09-13T07:22:23.498Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 13 07:15 internal [2023-09-13T07:22:23.498Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 13 07:15 openapi [2023-09-13T07:22:23.498Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 13 07:15 pkg [2023-09-13T07:22:23.498Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 13 07:15 snap [2023-09-13T07:22:23.498Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 13 07:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:22:23.839Z] + 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=37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c --label arch=arm64 --label version=0.0.0 . [2023-09-13T07:22:24.106Z] Sending build context to Docker daemon 6.104MB [2023-09-13T07:22:24.106Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-13T07:22:24.106Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-13T07:22:24.106Z] ---> 81b5fd279ff0 [2023-09-13T07:22:24.106Z] Step 3/23 : ARG MAKE=make build [2023-09-13T07:22:24.372Z] ---> Running in b1bacdad106d [2023-09-13T07:22:24.639Z] Removing intermediate container b1bacdad106d [2023-09-13T07:22:24.639Z] ---> ff7f707384ec [2023-09-13T07:22:24.639Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-13T07:22:24.639Z] ---> Running in 26bb4e617825 [2023-09-13T07:22:24.906Z] Removing intermediate container 26bb4e617825 [2023-09-13T07:22:24.906Z] ---> d3cdbe8b55ca [2023-09-13T07:22:24.906Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-13T07:22:25.173Z] ---> Running in 8f16da5e52b5 [2023-09-13T07:22:25.440Z] Removing intermediate container 8f16da5e52b5 [2023-09-13T07:22:25.440Z] ---> 01bf9cc3361f [2023-09-13T07:22:25.440Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-13T07:22:25.440Z] ---> Running in 8d068fedd5a1 [2023-09-13T07:22:26.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-13T07:22:26.662Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-13T07:22:28.069Z] OK: 267 MiB in 56 packages [2023-09-13T07:22:28.653Z] Removing intermediate container 8d068fedd5a1 [2023-09-13T07:22:28.653Z] ---> 78f8fe9417b4 [2023-09-13T07:22:28.653Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-13T07:22:29.239Z] ---> 9f6770483159 [2023-09-13T07:22:29.239Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-13T07:22:29.239Z] ---> Running in ee50b1eac0a9 [2023-09-13T07:22:31.179Z] Removing intermediate container ee50b1eac0a9 [2023-09-13T07:22:31.179Z] ---> 51c8df39ea56 [2023-09-13T07:22:31.179Z] Step 9/23 : COPY . . [2023-09-13T07:22:32.595Z] ---> b8e25e9d895f [2023-09-13T07:22:32.595Z] Step 10/23 : RUN ${MAKE} [2023-09-13T07:22:32.595Z] ---> Running in e6a0d8b18922 [2023-09-13T07:22:33.181Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-13T07:24:09.794Z] Removing intermediate container e6a0d8b18922 [2023-09-13T07:24:09.794Z] ---> f26c4ad28016 [2023-09-13T07:24:09.794Z] Step 11/23 : FROM alpine:3.18 [2023-09-13T07:24:09.794Z] 3.18: Pulling from library/alpine [2023-09-13T07:24:09.794Z] 9fda8d8052c6: Already exists [2023-09-13T07:24:09.794Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-13T07:24:09.794Z] Status: Downloaded newer image for alpine:3.18 [2023-09-13T07:24:09.794Z] ---> f6648c04cd6c [2023-09-13T07:24:09.794Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-13T07:24:09.794Z] ---> Running in 4348cf668264 [2023-09-13T07:24:09.794Z] Removing intermediate container 4348cf668264 [2023-09-13T07:24:09.794Z] ---> f9a527b8a505 [2023-09-13T07:24:09.794Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-13T07:24:09.794Z] ---> Running in df773eb970a6 [2023-09-13T07:24:10.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-13T07:24:11.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-13T07:24:12.288Z] OK: 8 MiB in 15 packages [2023-09-13T07:24:13.245Z] Removing intermediate container df773eb970a6 [2023-09-13T07:24:13.245Z] ---> 30c1f5fa2420 [2023-09-13T07:24:13.245Z] Step 14/23 : WORKDIR / [2023-09-13T07:24:13.245Z] ---> Running in 1ce0379d2328 [2023-09-13T07:24:13.511Z] Removing intermediate container 1ce0379d2328 [2023-09-13T07:24:13.511Z] ---> 0b1b76cb6613 [2023-09-13T07:24:13.511Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-13T07:24:14.093Z] ---> 2cac8984c97c [2023-09-13T07:24:14.093Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-13T07:24:15.516Z] ---> 5f45b3144574 [2023-09-13T07:24:15.516Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-13T07:24:16.101Z] ---> 6c84872bf91d [2023-09-13T07:24:16.101Z] Step 18/23 : EXPOSE 59999 [2023-09-13T07:24:16.101Z] ---> Running in fd7da10bfe76 [2023-09-13T07:24:16.369Z] Removing intermediate container fd7da10bfe76 [2023-09-13T07:24:16.369Z] ---> 221bcceb0109 [2023-09-13T07:24:16.369Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-13T07:24:16.638Z] ---> Running in ad3a2c71e593 [2023-09-13T07:24:16.904Z] Removing intermediate container ad3a2c71e593 [2023-09-13T07:24:16.905Z] ---> d8a4bf40d625 [2023-09-13T07:24:16.905Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-13T07:24:16.905Z] ---> Running in 84dd277cb24e [2023-09-13T07:24:17.171Z] Removing intermediate container 84dd277cb24e [2023-09-13T07:24:17.171Z] ---> 42adee3d801c [2023-09-13T07:24:17.171Z] Step 21/23 : LABEL arch=arm64 [2023-09-13T07:24:17.171Z] ---> Running in 69da9362c3d2 [2023-09-13T07:24:17.438Z] Removing intermediate container 69da9362c3d2 [2023-09-13T07:24:17.438Z] ---> e578ef5f404b [2023-09-13T07:24:17.438Z] Step 22/23 : LABEL git_sha=37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c [2023-09-13T07:24:17.438Z] ---> Running in c82bb768f05e [2023-09-13T07:24:17.708Z] Removing intermediate container c82bb768f05e [2023-09-13T07:24:17.708Z] ---> ac3e068e383f [2023-09-13T07:24:17.708Z] Step 23/23 : LABEL version=0.0.0 [2023-09-13T07:24:17.977Z] ---> Running in 320ad07a4142 [2023-09-13T07:24:18.242Z] Removing intermediate container 320ad07a4142 [2023-09-13T07:24:18.242Z] ---> 1013c86520ec [2023-09-13T07:24:18.242Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-13T07:24:18.242Z] Successfully built 1013c86520ec [2023-09-13T07:24:18.242Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:24:18.674Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-13T07:24:18.674Z] [2023-09-13T07:24:18.674Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:24:19.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-13T07:24:19.002Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-13T07:24:19.002Z] 8998bd30e6a1: Pulling fs layer [2023-09-13T07:24:19.002Z] 04944245beec: Pulling fs layer [2023-09-13T07:24:19.002Z] 699f458cf7ca: Pulling fs layer [2023-09-13T07:24:19.002Z] 765212b225bb: Pulling fs layer [2023-09-13T07:24:19.002Z] f23df028b6ca: Pulling fs layer [2023-09-13T07:24:19.002Z] d65c8cfc05b1: Pulling fs layer [2023-09-13T07:24:19.002Z] 2437ff75d9bd: Pulling fs layer [2023-09-13T07:24:19.002Z] 765212b225bb: Waiting [2023-09-13T07:24:19.002Z] d65c8cfc05b1: Waiting [2023-09-13T07:24:19.002Z] 2437ff75d9bd: Waiting [2023-09-13T07:24:19.002Z] f23df028b6ca: Waiting [2023-09-13T07:24:19.268Z] 04944245beec: Verifying Checksum [2023-09-13T07:24:19.268Z] 04944245beec: Download complete [2023-09-13T07:24:19.268Z] 765212b225bb: Verifying Checksum [2023-09-13T07:24:19.268Z] 765212b225bb: Download complete [2023-09-13T07:24:19.268Z] f23df028b6ca: Verifying Checksum [2023-09-13T07:24:19.268Z] f23df028b6ca: Download complete [2023-09-13T07:24:19.268Z] d65c8cfc05b1: Verifying Checksum [2023-09-13T07:24:19.268Z] d65c8cfc05b1: Download complete [2023-09-13T07:24:19.268Z] 699f458cf7ca: Verifying Checksum [2023-09-13T07:24:19.268Z] 699f458cf7ca: Download complete [2023-09-13T07:24:19.854Z] 8998bd30e6a1: Verifying Checksum [2023-09-13T07:24:19.854Z] 8998bd30e6a1: Download complete [2023-09-13T07:24:21.794Z] 2437ff75d9bd: Verifying Checksum [2023-09-13T07:24:21.794Z] 2437ff75d9bd: Download complete [2023-09-13T07:24:23.735Z] 8998bd30e6a1: Pull complete [2023-09-13T07:24:27.064Z] 04944245beec: Pull complete [2023-09-13T07:24:28.023Z] 699f458cf7ca: Pull complete [2023-09-13T07:24:28.288Z] 765212b225bb: Pull complete [2023-09-13T07:24:28.871Z] f23df028b6ca: Pull complete [2023-09-13T07:24:29.137Z] d65c8cfc05b1: Pull complete [2023-09-13T07:24:44.117Z] 2437ff75d9bd: Pull complete [2023-09-13T07:24:44.117Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-13T07:24:44.117Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-13T07:24:44.117Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T07:24:44.283Z] prd-ubuntu20.04-docker-arm64-4c-16g-6089 does not seem to be running inside a container [2023-09-13T07:24:44.343Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-13T07:24:46.851Z] $ docker top 1b89d0eb7b83285e894ba82955970563947c5abb7d9ce9b7cdca9f31faf4b8c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:24:47.674Z] ---> job-cost.sh [2023-09-13T07:24:47.674Z] lf-activate-venv: SKIPPING [2023-09-13T07:24:47.674Z] INFO: No Stack... [2023-09-13T07:24:47.938Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-13T07:24:48.890Z] INFO: Archiving Costs [Pipeline] sh [2023-09-13T07:24:49.203Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2023-09-13T07:24:49.204Z] + cut -d, -f6 [Pipeline] lock [2023-09-13T07:24:49.523Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1506-6-stack-cost] [2023-09-13T07:24:49.530Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-6-stack-cost] did not exist. Created. [2023-09-13T07:24:49.530Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1506-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-13T07:24:50.171Z] /w/workspace/device-sdk-go/6@tmp/durable-209a10e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-13T07:24:50.498Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-13T07:24:50.513Z] Warning: overwriting stash ‘stack-cost’ [2023-09-13T07:24:50.587Z] Stashed 1 file(s) [Pipeline] } [2023-09-13T07:24:50.594Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-13T07:24:50.620Z] $ docker stop --time=1 1b89d0eb7b83285e894ba82955970563947c5abb7d9ce9b7cdca9f31faf4b8c0 [2023-09-13T07:24:52.099Z] $ docker rm -f --volumes 1b89d0eb7b83285e894ba82955970563947c5abb7d9ce9b7cdca9f31faf4b8c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-13T07:24:52.485Z] provisioning config files... [2023-09-13T07:24:52.493Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config1870845634866781151tmp [Pipeline] { [Pipeline] sh [2023-09-13T07:24:52.785Z] + set +x [2023-09-13T07:24:52.785Z] + curl -s https://codecov.io/bash [2023-09-13T07:24:52.785Z] + bash -s -- [2023-09-13T07:24:52.785Z] [2023-09-13T07:24:52.785Z] _____ _ [2023-09-13T07:24:52.785Z] / ____| | | [2023-09-13T07:24:52.785Z] | | ___ __| | ___ ___ _____ __ [2023-09-13T07:24:52.785Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-13T07:24:52.785Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-13T07:24:52.785Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-13T07:24:52.785Z] Bash-1.0.6 [2023-09-13T07:24:52.785Z] [2023-09-13T07:24:52.785Z] [2023-09-13T07:24:52.785Z] ==> git version 2.25.1 found [2023-09-13T07:24:52.785Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-13T07:24:52.785Z] Release-Date: 2020-01-08 [2023-09-13T07:24:52.785Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-13T07:24:52.785Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-13T07:24:52.785Z] ==> Jenkins CI detected. [2023-09-13T07:24:52.785Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1506 [2023-09-13T07:24:52.785Z] project root: . [2023-09-13T07:24:52.785Z] --> token set from env [2023-09-13T07:24:52.785Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-13T07:24:52.785Z] ==> Running gcov in . (disable via -X gcov) [2023-09-13T07:24:52.785Z] ==> Python coveragepy not found [2023-09-13T07:24:52.785Z] ==> Searching for coverage reports in: [2023-09-13T07:24:52.785Z] + . [2023-09-13T07:24:52.785Z] -> Found 1 reports [2023-09-13T07:24:52.785Z] ==> Detecting git/mercurial file structure [2023-09-13T07:24:52.785Z] ==> Reading reports [2023-09-13T07:24:53.044Z] + ./coverage.out bytes=120475 [2023-09-13T07:24:53.044Z] ==> Appending adjustments [2023-09-13T07:24:53.044Z] https://docs.codecov.io/docs/fixing-reports [2023-09-13T07:24:53.303Z] + Found adjustments [2023-09-13T07:24:53.303Z] ==> Gzipping contents [2023-09-13T07:24:53.303Z] 20K /tmp/codecov.jtR4dH.gz [2023-09-13T07:24:53.303Z] ==> Uploading reports [2023-09-13T07:24:53.303Z] url: https://codecov.io [2023-09-13T07:24:53.303Z] query: branch=PR-1506&commit=37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1506%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1506&job=&cmd_args= [2023-09-13T07:24:53.303Z] -> Pinging Codecov [2023-09-13T07:24:53.304Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1506&commit=37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1506%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1506&job=&cmd_args= [2023-09-13T07:24:53.304Z] -> Uploading to [2023-09-13T07:24:53.304Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-13/7E55EF52A471D76F132DFD9A03CDDE97/37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c/bf333d14-81cc-4eaf-8aa8-d6ab04dcf743.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230913%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230913T072453Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4b7693fcd2019f1ae1cd982f9f0fdea113d18fe1ce6d849a77aed6b05da769a6 [2023-09-13T07:24:53.304Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-13T07:24:53.304Z] Dload Upload Total Spent Left Speed [2023-09-13T07:24:53.563Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16434 0 0 100 16434 0 85593 --:--:-- --:--:-- --:--:-- 85593 [2023-09-13T07:24:53.563Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/37d7c823aa3b29a4d3ca8203bdb728b7d1839f4c [Pipeline] } [2023-09-13T07:24:53.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-13T07:24:54.306Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives ] [2023-09-13T07:24:54.306Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives [2023-09-13T07:24:54.306Z] total 16 [2023-09-13T07:24:54.306Z] drwxr-xr-x 3 root root 4096 Sep 13 07:16 . [2023-09-13T07:24:54.306Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 13 07:16 .. [2023-09-13T07:24:54.306Z] drwxr-xr-x 2 root root 4096 Sep 13 07:16 cost [2023-09-13T07:24:54.306Z] -rw-r--r-- 1 root root 86 Sep 13 07:16 cost.csv [2023-09-13T07:24:54.307Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives [2023-09-13T07:24:54.307Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives [2023-09-13T07:24:54.307Z] total 16 [2023-09-13T07:24:54.307Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 13 07:16 . [2023-09-13T07:24:54.307Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 13 07:16 .. [2023-09-13T07:24:54.307Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 13 07:16 cost [2023-09-13T07:24:54.307Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 13 07:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:24:54.605Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:24:55.461Z] ---> package-listing.sh [2023-09-13T07:24:55.462Z] ++ facter osfamily [2023-09-13T07:24:55.462Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-13T07:24:55.721Z] + OS_FAMILY=debian [2023-09-13T07:24:55.721Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1506 [2023-09-13T07:24:55.721Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-13T07:24:55.721Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-13T07:24:55.721Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-13T07:24:55.721Z] + PACKAGES=/tmp/packages_start.txt [2023-09-13T07:24:55.721Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1506 ']' [2023-09-13T07:24:55.721Z] + PACKAGES=/tmp/packages_end.txt [2023-09-13T07:24:55.721Z] + case "${OS_FAMILY}" in [2023-09-13T07:24:55.721Z] + dpkg -l [2023-09-13T07:24:55.721Z] + grep '^ii' [2023-09-13T07:24:55.721Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-13T07:24:55.721Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-13T07:24:55.721Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-13T07:24:55.721Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1506 ']' [2023-09-13T07:24:55.721Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/ [2023-09-13T07:24:55.721Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/ [Pipeline] echo [2023-09-13T07:24:55.732Z] 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-1506/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-13T07:24:56.019Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-13T07:24:56.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-13T07:24:56.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-13T07:24:56.643Z] prd-ubuntu20.04-docker-8c-8g-6088 does not seem to be running inside a container [2023-09-13T07:24:56.674Z] $ 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-1506/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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-13T07:24:56.851Z] $ docker top 0c1c0bc6d9a49ec8b6f67ec896249f1865c4201c3e37e9646a39d2ceae2a0e6b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-13T07:24:57.185Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-13T07:24:57.473Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-13T07:24:57.757Z] + ls /var/log/sa-host [2023-09-13T07:24:57.758Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-13T07:24:57.901Z] provisioning config files... [2023-09-13T07:24:57.909Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config16283409664746617586tmp [Pipeline] { [Pipeline] echo [2023-09-13T07:24:57.925Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:24:58.206Z] ---> create-netrc.sh [Pipeline] } [2023-09-13T07:24:58.213Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:24:58.544Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-13T07:24:58.553Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:24:58.838Z] ---> sudo-logs.sh [2023-09-13T07:24:58.838Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-13T07:24:58.871Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:24:59.154Z] ---> job-cost.sh [2023-09-13T07:24:59.154Z] lf-activate-venv: SKIPPING [2023-09-13T07:24:59.154Z] DEBUG: total: 0.2199999988079071 [2023-09-13T07:24:59.154Z] INFO: Retrieving Stack Cost... [2023-09-13T07:24:59.414Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-13T07:24:59.984Z] INFO: Archiving Costs [Pipeline] echo [2023-09-13T07:24:59.995Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-13T07:25:00.282Z] ---> logs-deploy.sh [2023-09-13T07:25:00.282Z] lf-activate-venv: SKIPPING [2023-09-13T07:25:00.282Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1506/6 [2023-09-13T07:25:00.282Z] INFO: archiving workspace using pattern(s): [2023-09-13T07:25:01.217Z] Archives upload complete. [2023-09-13T07:25:01.217Z] INFO: archiving logs to Nexus