Pull request #1340 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bd25755b6d146097eea0750eeac3c6cb43c27e58+3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 (8d30a46259c32f3e16362dcce3e533eff10c124c) 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-ssh13803629104898117303.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10828380190309186001.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1340/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-1340/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8266732927981580407.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16823877511556606007.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-1340/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-1340/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15902162938115518400.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.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7000 in /w/workspace/gexfoundry_device-sdk-go_PR-1340 [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-1340 # 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/1340/head:refs/remotes/origin/PR-1340 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 into PR head commit bd25755b6d146097eea0750eeac3c6cb43c27e58 Merge succeeded, producing bd25755b6d146097eea0750eeac3c6cb43c27e58 Checking out Revision bd25755b6d146097eea0750eeac3c6cb43c27e58 (PR-1340) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-22T04:48:51.959Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-22T04:48:52.027Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-22T04:48:52.049Z] ========================================================= [2023-02-22T04:48:52.049Z] EdgeX Global Pipelines Version Info [2023-02-22T04:48:52.049Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f bd25755b6d146097eea0750eeac3c6cb43c27e58 # 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 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bd25755b6d146097eea0750eeac3c6cb43c27e58 # timeout=10 > git rev-list --no-walk 8089d354aaf66bae519b71d6cd2ba74a9e3c5d89 # timeout=10 [2023-02-22T04:48:52.762Z] ------------------- [2023-02-22T04:48:52.762Z] stable info: [2023-02-22T04:48:52.762Z] ------------------- [2023-02-22T04:48:52.762Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-22T04:48:52.762Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T04:48:52.762Z] Message: update stable to v1.0.244 [2023-02-22T04:48:53.334Z] ------------------- [2023-02-22T04:48:53.334Z] experimental info: [2023-02-22T04:48:53.334Z] ------------------- [2023-02-22T04:48:53.334Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-22T04:48:53.334Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-22T04:48:53.334Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-22T04:48:53.524Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-22T04:48:53.536Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-22T04:48:53.548Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-22T04:48:53.559Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-22T04:48:53.570Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-22T04:48:53.584Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-22T04:48:53.597Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-22T04:48:53.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-22T04:48:53.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-22T04:48:53.631Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-22T04:48:53.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-22T04:48:53.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-22T04:48:53.673Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-22T04:48:53.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-22T04:48:53.694Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-22T04:48:53.707Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T04:48:53.719Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T04:48:53.731Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-22T04:48:53.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-22T04:48:53.751Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-22T04:48:53.767Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-22T04:48:53.778Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-22T04:48:53.787Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-22T04:48:53.796Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-22T04:48:53.805Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-22T04:48:53.821Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-22T04:48:53.838Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-22T04:48:53.855Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1340 [Pipeline] echo [2023-02-22T04:48:53.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1340 [Pipeline] echo [2023-02-22T04:48:53.882Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1340 [Pipeline] echo [2023-02-22T04:48:53.894Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd25755b6d146097eea0750eeac3c6cb43c27e58 [Pipeline] echo [2023-02-22T04:48:53.912Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd25755 [Pipeline] echo [2023-02-22T04:48:53.929Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T04:48:53.980Z] provisioning config files... [2023-02-22T04:48:53.996Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/config7487368564973040969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T04:48:54.304Z] ---> docker-login.sh [2023-02-22T04:48:54.304Z] nexus3.edgexfoundry.org:10001 [2023-02-22T04:48:54.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:48:54.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:48:54.825Z] Configure a credential helper to remove this warning. See [2023-02-22T04:48:54.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:48:54.825Z] [2023-02-22T04:48:54.825Z] Login Succeeded [2023-02-22T04:48:54.825Z] nexus3.edgexfoundry.org:10002 [2023-02-22T04:48:54.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:48:54.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:48:54.825Z] Configure a credential helper to remove this warning. See [2023-02-22T04:48:54.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:48:54.825Z] [2023-02-22T04:48:54.825Z] Login Succeeded [2023-02-22T04:48:54.825Z] nexus3.edgexfoundry.org:10003 [2023-02-22T04:48:54.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:48:55.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:48:55.085Z] Configure a credential helper to remove this warning. See [2023-02-22T04:48:55.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:48:55.085Z] [2023-02-22T04:48:55.085Z] Login Succeeded [2023-02-22T04:48:55.085Z] nexus3.edgexfoundry.org:10004 [2023-02-22T04:48:55.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:48:55.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:48:55.085Z] Configure a credential helper to remove this warning. See [2023-02-22T04:48:55.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:48:55.085Z] [2023-02-22T04:48:55.085Z] Login Succeeded [2023-02-22T04:48:55.085Z] docker.io [2023-02-22T04:48:55.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:48:55.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:48:55.345Z] Configure a credential helper to remove this warning. See [2023-02-22T04:48:55.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:48:55.345Z] [2023-02-22T04:48:55.345Z] Login Succeeded [2023-02-22T04:48:55.345Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T04:48:55.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-22T04:48:55.738Z] + git rev-list -1 --merges bd25755b6d146097eea0750eeac3c6cb43c27e58~1..bd25755b6d146097eea0750eeac3c6cb43c27e58 [Pipeline] echo [2023-02-22T04:48:55.792Z] -----------> git rev-list -1 --merges bd25755b6d146097eea0750eeac3c6cb43c27e58~1..bd25755b6d146097eea0750eeac3c6cb43c27e58 bd25755b6d146097eea0750eeac3c6cb43c27e58 [false] [Pipeline] sh [2023-02-22T04:48:56.077Z] + git log --format=format:%s -1 bd25755b6d146097eea0750eeac3c6cb43c27e58 [Pipeline] echo [2023-02-22T04:48:56.094Z] ========================================================= [2023-02-22T04:48:56.094Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-22T04:48:56.094Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T04:48:56.431Z] + git log --format=format:%s -1 bd25755b6d146097eea0750eeac3c6cb43c27e58 [Pipeline] echo [2023-02-22T04:48:56.443Z] [semverPrep] GIT_COMMIT: bd25755b6d146097eea0750eeac3c6cb43c27e58, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-22T04:48:56.455Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-22T04:48:56.892Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-22T04:48:56.892Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-22T04:48:56.892Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-22T04:48:56.892Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-22T04:48:56.892Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-22T04:48:56.892Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-22T04:48:56.892Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:48:57.290Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T04:48:57.290Z] [2023-02-22T04:48:57.290Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:48:57.608Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T04:48:57.608Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-22T04:48:57.608Z] b85a868b505f: Pulling fs layer [2023-02-22T04:48:57.608Z] e2be974225ed: Pulling fs layer [2023-02-22T04:48:57.608Z] 339a4e72a1f5: Pulling fs layer [2023-02-22T04:48:57.608Z] 988bab9f4d93: Pulling fs layer [2023-02-22T04:48:57.608Z] 1469e6f7b9e6: Pulling fs layer [2023-02-22T04:48:57.608Z] eaf3925da568: Pulling fs layer [2023-02-22T04:48:57.608Z] bab4dde63d76: Pulling fs layer [2023-02-22T04:48:57.608Z] bde34c3a00c8: Pulling fs layer [2023-02-22T04:48:57.608Z] b352a97aabf1: Pulling fs layer [2023-02-22T04:48:57.608Z] 4872d77fe225: Pulling fs layer [2023-02-22T04:48:57.608Z] 5851b861e8e6: Pulling fs layer [2023-02-22T04:48:57.608Z] bde34c3a00c8: Waiting [2023-02-22T04:48:57.608Z] b352a97aabf1: Waiting [2023-02-22T04:48:57.608Z] 4872d77fe225: Waiting [2023-02-22T04:48:57.608Z] bab4dde63d76: Waiting [2023-02-22T04:48:57.608Z] 5851b861e8e6: Waiting [2023-02-22T04:48:57.608Z] eaf3925da568: Waiting [2023-02-22T04:48:57.608Z] 1469e6f7b9e6: Waiting [2023-02-22T04:48:57.608Z] 988bab9f4d93: Waiting [2023-02-22T04:48:57.608Z] e2be974225ed: Verifying Checksum [2023-02-22T04:48:57.608Z] e2be974225ed: Download complete [2023-02-22T04:48:57.608Z] 988bab9f4d93: Verifying Checksum [2023-02-22T04:48:57.608Z] 988bab9f4d93: Download complete [2023-02-22T04:48:57.875Z] 1469e6f7b9e6: Verifying Checksum [2023-02-22T04:48:57.875Z] 1469e6f7b9e6: Download complete [2023-02-22T04:48:57.875Z] 339a4e72a1f5: Verifying Checksum [2023-02-22T04:48:57.875Z] 339a4e72a1f5: Download complete [2023-02-22T04:48:57.875Z] eaf3925da568: Verifying Checksum [2023-02-22T04:48:57.875Z] eaf3925da568: Download complete [2023-02-22T04:48:57.875Z] bde34c3a00c8: Verifying Checksum [2023-02-22T04:48:57.875Z] bde34c3a00c8: Download complete [2023-02-22T04:48:57.875Z] b352a97aabf1: Verifying Checksum [2023-02-22T04:48:57.875Z] b352a97aabf1: Download complete [2023-02-22T04:48:57.875Z] 4872d77fe225: Verifying Checksum [2023-02-22T04:48:57.875Z] 4872d77fe225: Download complete [2023-02-22T04:48:57.875Z] 5851b861e8e6: Verifying Checksum [2023-02-22T04:48:57.875Z] 5851b861e8e6: Download complete [2023-02-22T04:48:57.875Z] b85a868b505f: Verifying Checksum [2023-02-22T04:48:57.875Z] b85a868b505f: Download complete [2023-02-22T04:48:58.138Z] bab4dde63d76: Verifying Checksum [2023-02-22T04:48:58.138Z] bab4dde63d76: Download complete [2023-02-22T04:48:59.517Z] b85a868b505f: Pull complete [2023-02-22T04:48:59.517Z] e2be974225ed: Pull complete [2023-02-22T04:48:59.777Z] 339a4e72a1f5: Pull complete [2023-02-22T04:49:00.036Z] 988bab9f4d93: Pull complete [2023-02-22T04:49:00.295Z] 1469e6f7b9e6: Pull complete [2023-02-22T04:49:00.295Z] eaf3925da568: Pull complete [2023-02-22T04:49:02.200Z] bab4dde63d76: Pull complete [2023-02-22T04:49:02.200Z] bde34c3a00c8: Pull complete [2023-02-22T04:49:02.459Z] b352a97aabf1: Pull complete [2023-02-22T04:49:02.459Z] 4872d77fe225: Pull complete [2023-02-22T04:49:02.719Z] 5851b861e8e6: Pull complete [2023-02-22T04:49:02.719Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-22T04:49:02.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-22T04:49:02.719Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T04:49:02.818Z] prd-ubuntu20.04-docker-8c-8g-7000 does not seem to be running inside a container [2023-02-22T04:49:02.859Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1340 -v /w/workspace/gexfoundry_device-sdk-go_PR-1340:/w/workspace/gexfoundry_device-sdk-go_PR-1340:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-22T04:49:05.555Z] $ docker top 60bfc85b44602e023f8febce59d0b9eb7b8a81aabed21bab778817fb6f92470c -eo pid,comm [2023-02-22T04:49:05.609Z] 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-02-22T04:49:05.609Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-22T04:49:05.641Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T04:49:05.641Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T04:49:05.767Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T04:49:05.773Z] $ docker exec 60bfc85b44602e023f8febce59d0b9eb7b8a81aabed21bab778817fb6f92470c ssh-agent [2023-02-22T04:49:05.885Z] SSH_AUTH_SOCK=/tmp/ssh-Ssn9Lhxm1XZY/agent.33 [2023-02-22T04:49:05.885Z] SSH_AGENT_PID=39 [2023-02-22T04:49:05.893Z] Running ssh-add (command line suppressed) [2023-02-22T04:49:05.998Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/private_key_6586069960563624956.key (/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/private_key_6586069960563624956.key) [2023-02-22T04:49:06.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T04:49:06.299Z] + git tag --points-at HEAD [Pipeline] } [2023-02-22T04:49:06.314Z] $ docker exec --env ******** --env ******** 60bfc85b44602e023f8febce59d0b9eb7b8a81aabed21bab778817fb6f92470c ssh-agent -k [2023-02-22T04:49:06.433Z] unset SSH_AUTH_SOCK; [2023-02-22T04:49:06.433Z] unset SSH_AGENT_PID; [2023-02-22T04:49:06.433Z] echo Agent pid 39 killed; [2023-02-22T04:49:06.440Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-22T04:49:06.465Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-22T04:49:06.465Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-22T04:49:06.576Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-22T04:49:06.582Z] $ docker exec 60bfc85b44602e023f8febce59d0b9eb7b8a81aabed21bab778817fb6f92470c ssh-agent [2023-02-22T04:49:06.686Z] SSH_AUTH_SOCK=/tmp/ssh-yjSJ14flGS0T/agent.71 [2023-02-22T04:49:06.686Z] SSH_AGENT_PID=77 [2023-02-22T04:49:06.691Z] Running ssh-add (command line suppressed) [2023-02-22T04:49:06.792Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/private_key_4826281166572966160.key (/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/private_key_4826281166572966160.key) [2023-02-22T04:49:06.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-22T04:49:07.094Z] + git semver init [2023-02-22T04:49:07.353Z] 2023-02-22 04:49:07,317 [run_init] DEBUG init version:0.0.0 force:False [2023-02-22T04:49:07.353Z] 2023-02-22 04:49:07,318 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver [2023-02-22T04:49:07.353Z] 2023-02-22 04:49:07,319 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver [2023-02-22T04:49:07.353Z] 2023-02-22 04:49:07,319 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1340, universal_newlines=False, shell=None, istream=None) [2023-02-22T04:49:08.293Z] 2023-02-22 04:49:08,260 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340/.git/info/exclude [2023-02-22T04:49:08.293Z] 2023-02-22 04:49:08,261 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver/PR-1340 with force:False [2023-02-22T04:49:08.293Z] 2023-02-22 04:49:08,261 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver/PR-1340 [2023-02-22T04:49:08.293Z] 2023-02-22 04:49:08,266 [execute] INFO git cat-file --batch-check [2023-02-22T04:49:08.293Z] 2023-02-22 04:49:08,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T04:49:08.293Z] 2023-02-22 04:49:08,273 [execute] INFO git cat-file --batch [2023-02-22T04:49:08.293Z] 2023-02-22 04:49:08,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver, universal_newlines=False, shell=None, istream=) [2023-02-22T04:49:08.293Z] 2023-02-22 04:49:08,279 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1340/.semver/PR-1340 [2023-02-22T04:49:08.293Z] 0.0.0 [Pipeline] } [2023-02-22T04:49:08.569Z] $ docker exec --env ******** --env ******** 60bfc85b44602e023f8febce59d0b9eb7b8a81aabed21bab778817fb6f92470c ssh-agent -k [2023-02-22T04:49:08.670Z] unset SSH_AUTH_SOCK; [2023-02-22T04:49:08.670Z] unset SSH_AGENT_PID; [2023-02-22T04:49:08.670Z] echo Agent pid 77 killed; [2023-02-22T04:49:08.677Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-22T04:49:08.980Z] + git semver [Pipeline] } [2023-02-22T04:49:09.255Z] $ docker stop --time=1 60bfc85b44602e023f8febce59d0b9eb7b8a81aabed21bab778817fb6f92470c [2023-02-22T04:49:10.595Z] $ docker rm -f --volumes 60bfc85b44602e023f8febce59d0b9eb7b8a81aabed21bab778817fb6f92470c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T04:49:10.931Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-22T04:49:11.138Z] Stashed 1 file(s) [Pipeline] echo [2023-02-22T04:49:11.142Z] [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-02-22T04:49:11.301Z] provisioning config files... [2023-02-22T04:49:11.310Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/config14652512399601893791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T04:49:11.604Z] ---> docker-login.sh [2023-02-22T04:49:11.604Z] nexus3.edgexfoundry.org:10001 [2023-02-22T04:49:11.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:49:11.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:49:11.604Z] Configure a credential helper to remove this warning. See [2023-02-22T04:49:11.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:49:11.604Z] [2023-02-22T04:49:11.604Z] Login Succeeded [2023-02-22T04:49:11.604Z] nexus3.edgexfoundry.org:10002 [2023-02-22T04:49:11.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:49:11.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:49:11.604Z] Configure a credential helper to remove this warning. See [2023-02-22T04:49:11.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:49:11.604Z] [2023-02-22T04:49:11.604Z] Login Succeeded [2023-02-22T04:49:11.604Z] nexus3.edgexfoundry.org:10003 [2023-02-22T04:49:11.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:49:11.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:49:11.865Z] Configure a credential helper to remove this warning. See [2023-02-22T04:49:11.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:49:11.865Z] [2023-02-22T04:49:11.865Z] Login Succeeded [2023-02-22T04:49:11.865Z] nexus3.edgexfoundry.org:10004 [2023-02-22T04:49:11.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:49:11.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:49:11.865Z] Configure a credential helper to remove this warning. See [2023-02-22T04:49:11.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:49:11.865Z] [2023-02-22T04:49:11.865Z] Login Succeeded [2023-02-22T04:49:11.865Z] docker.io [2023-02-22T04:49:12.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:49:12.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:49:12.124Z] Configure a credential helper to remove this warning. See [2023-02-22T04:49:12.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:49:12.124Z] [2023-02-22T04:49:12.124Z] Login Succeeded [2023-02-22T04:49:12.124Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T04:49:12.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T04:49:12.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T04:49:12.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T04:49:12.205Z] ========================================================= [2023-02-22T04:49:12.205Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-22T04:49:12.205Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:49:12.508Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-22T04:49:12.508Z] Sending build context to Docker daemon 10.54MB [2023-02-22T04:49:12.508Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T04:49:12.508Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-22T04:49:12.768Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-22T04:49:12.768Z] 213ec9aee27d: Pulling fs layer [2023-02-22T04:49:12.768Z] 4583459ba037: Pulling fs layer [2023-02-22T04:49:12.768Z] 93c1e223e6f2: Pulling fs layer [2023-02-22T04:49:12.768Z] 53926ce57604: Pulling fs layer [2023-02-22T04:49:12.768Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-22T04:49:12.768Z] 22ff95d597cd: Pulling fs layer [2023-02-22T04:49:12.768Z] 12d6caf4c0d1: Pulling fs layer [2023-02-22T04:49:12.768Z] 96b7cbca73a9: Pulling fs layer [2023-02-22T04:49:12.768Z] a7acece74701: Pulling fs layer [2023-02-22T04:49:12.768Z] 53926ce57604: Waiting [2023-02-22T04:49:12.768Z] 21b2b0c7a3f4: Waiting [2023-02-22T04:49:12.768Z] 12d6caf4c0d1: Waiting [2023-02-22T04:49:12.768Z] 22ff95d597cd: Waiting [2023-02-22T04:49:12.768Z] 96b7cbca73a9: Waiting [2023-02-22T04:49:12.768Z] 93c1e223e6f2: Download complete [2023-02-22T04:49:12.768Z] 4583459ba037: Download complete [2023-02-22T04:49:12.768Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-22T04:49:12.768Z] 21b2b0c7a3f4: Download complete [2023-02-22T04:49:12.768Z] 22ff95d597cd: Verifying Checksum [2023-02-22T04:49:12.768Z] 22ff95d597cd: Download complete [2023-02-22T04:49:12.768Z] 213ec9aee27d: Verifying Checksum [2023-02-22T04:49:12.768Z] 213ec9aee27d: Download complete [2023-02-22T04:49:12.768Z] 12d6caf4c0d1: Download complete [2023-02-22T04:49:12.768Z] 213ec9aee27d: Pull complete [2023-02-22T04:49:13.031Z] 4583459ba037: Pull complete [2023-02-22T04:49:13.031Z] 93c1e223e6f2: Pull complete [2023-02-22T04:49:13.293Z] a7acece74701: Verifying Checksum [2023-02-22T04:49:13.293Z] a7acece74701: Download complete [2023-02-22T04:49:13.553Z] 96b7cbca73a9: Verifying Checksum [2023-02-22T04:49:13.553Z] 96b7cbca73a9: Download complete [2023-02-22T04:49:13.553Z] 53926ce57604: Verifying Checksum [2023-02-22T04:49:13.553Z] 53926ce57604: Download complete [2023-02-22T04:49:17.743Z] 53926ce57604: Pull complete [2023-02-22T04:49:17.743Z] 21b2b0c7a3f4: Pull complete [2023-02-22T04:49:17.743Z] 22ff95d597cd: Pull complete [2023-02-22T04:49:17.743Z] 12d6caf4c0d1: Pull complete [2023-02-22T04:49:19.650Z] 96b7cbca73a9: Pull complete [2023-02-22T04:49:20.588Z] a7acece74701: Pull complete [2023-02-22T04:49:20.588Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-22T04:49:20.588Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-22T04:49:20.588Z] ---> db6d94c90886 [2023-02-22T04:49:20.588Z] Step 3/10 : ARG MAKE=make build [2023-02-22T04:49:24.803Z] ---> Running in ceb881a0645c [2023-02-22T04:49:24.803Z] Removing intermediate container ceb881a0645c [2023-02-22T04:49:24.803Z] ---> 9fe42fb6c5b4 [2023-02-22T04:49:24.803Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-22T04:49:24.803Z] ---> Running in 93e16e0862b0 [2023-02-22T04:49:24.803Z] Removing intermediate container 93e16e0862b0 [2023-02-22T04:49:24.803Z] ---> b60f3b8436fc [2023-02-22T04:49:24.803Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T04:49:25.062Z] ---> Running in 683ddef1e2bb [2023-02-22T04:49:25.062Z] Removing intermediate container 683ddef1e2bb [2023-02-22T04:49:25.062Z] ---> 532a601df577 [2023-02-22T04:49:25.062Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-22T04:49:25.062Z] ---> Running in ec6b6c740d9b [2023-02-22T04:49:25.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T04:49:25.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T04:49:25.839Z] OK: 211 MiB in 51 packages [2023-02-22T04:49:26.105Z] Removing intermediate container ec6b6c740d9b [2023-02-22T04:49:26.105Z] ---> d33e183b3a45 [2023-02-22T04:49:26.105Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-22T04:49:26.105Z] ---> a934143907c0 [2023-02-22T04:49:26.105Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T04:49:26.255Z] Still waiting to schedule task [2023-02-22T04:49:26.255Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-22T04:49:26.365Z] ---> Running in 9cbf2807762e [2023-02-22T04:49:53.090Z] Removing intermediate container 9cbf2807762e [2023-02-22T04:49:53.090Z] ---> eb3eaacfe58e [2023-02-22T04:49:53.090Z] Step 9/10 : COPY . . [2023-02-22T04:49:53.090Z] ---> 3fd138ad711e [2023-02-22T04:49:53.090Z] Step 10/10 : RUN ${MAKE} [2023-02-22T04:49:53.090Z] ---> Running in ab6b1522bfd2 [2023-02-22T04:49:53.090Z] noop [2023-02-22T04:49:53.090Z] Removing intermediate container ab6b1522bfd2 [2023-02-22T04:49:53.090Z] ---> 3d31a859220a [2023-02-22T04:49:53.090Z] Successfully built 3d31a859220a [2023-02-22T04:49:53.090Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:49:53.403Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T04:49:53.403Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T04:49:53.476Z] prd-ubuntu20.04-docker-8c-8g-7000 does not seem to be running inside a container [2023-02-22T04:49:53.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1340 -v /w/workspace/gexfoundry_device-sdk-go_PR-1340:/w/workspace/gexfoundry_device-sdk-go_PR-1340:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-22T04:49:53.879Z] $ docker top 673e59eb413c8036096a6099056f36287ab0374ae4542f21a703223d8741ddda -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T04:49:54.224Z] + go version [2023-02-22T04:49:54.224Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-22T04:49:54.238Z] $ docker stop --time=1 673e59eb413c8036096a6099056f36287ab0374ae4542f21a703223d8741ddda [2023-02-22T04:49:55.521Z] $ docker rm -f --volumes 673e59eb413c8036096a6099056f36287ab0374ae4542f21a703223d8741ddda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:49:55.923Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-22T04:49:55.923Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T04:49:55.997Z] prd-ubuntu20.04-docker-8c-8g-7000 does not seem to be running inside a container [2023-02-22T04:49:56.029Z] $ 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-1340 -v /w/workspace/gexfoundry_device-sdk-go_PR-1340:/w/workspace/gexfoundry_device-sdk-go_PR-1340:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-22T04:49:56.414Z] $ docker top 50d74972e9938886d8dacd9c0bb96009d3a413ffc1a4f53b450f6837f50ad9ca -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T04:49:56.761Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1340 [Pipeline] fileExists [Pipeline] sh [2023-02-22T04:49:57.060Z] + make test [2023-02-22T04:49:57.060Z] go test -race -coverprofile=coverage.out ./... [2023-02-22T04:50:03.631Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-22T04:50:18.593Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.075s coverage: 27.6% of statements [2023-02-22T04:50:18.593Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 78.9% of statements [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-22T04:50:18.593Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.144s coverage: 86.0% of statements [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-22T04:50:18.593Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.100s coverage: 77.0% of statements [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-22T04:50:18.593Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.085s coverage: 65.2% of statements [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-22T04:50:18.593Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.756s coverage: 89.2% of statements [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-22T04:50:18.593Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 4.7% of statements [2023-02-22T04:50:18.593Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-22T04:50:36.684Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-22T04:50:36.684Z] GO111MODULE=on go vet ./... [2023-02-22T04:50:38.584Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-22T04:50:38.584Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-22T04:50:38.584Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-22T04:50:38.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-22T04:50:38.612Z] $ docker stop --time=1 50d74972e9938886d8dacd9c0bb96009d3a413ffc1a4f53b450f6837f50ad9ca [2023-02-22T04:50:41.374Z] $ docker rm -f --volumes 50d74972e9938886d8dacd9c0bb96009d3a413ffc1a4f53b450f6837f50ad9ca [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T04:50:41.855Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-22T04:50:41.914Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-22T04:50:42.512Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-22T04:50:42.810Z] + ls -al . [2023-02-22T04:50:42.810Z] total 272 [2023-02-22T04:50:42.810Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 22 04:49 . [2023-02-22T04:50:42.810Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:48 .. [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 04:48 .dockerignore [2023-02-22T04:50:42.810Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 04:50 .git [2023-02-22T04:50:42.810Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:48 .github [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 04:48 .gitignore [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 04:48 .golangci.yml [2023-02-22T04:50:42.810Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 04:49 .semver [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 04:48 CHANGELOG.md [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 04:48 GOVERNANCE.md [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 04:48 Jenkinsfile [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 04:48 LICENSE [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 04:48 Makefile [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 04:48 OWNERS.md [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 04:48 README.md [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 04:49 VERSION [2023-02-22T04:50:42.810Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:48 bin [2023-02-22T04:50:42.810Z] -rw-r--r-- 1 jenkins jenkins 98531 Feb 22 04:50 coverage.out [2023-02-22T04:50:42.810Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 04:48 example [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 04:48 go.mod [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 04:48 go.sum [2023-02-22T04:50:42.810Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 04:48 internal [2023-02-22T04:50:42.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 04:48 openapi [2023-02-22T04:50:42.810Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 04:48 pkg [2023-02-22T04:50:42.810Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:48 snap [2023-02-22T04:50:42.810Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 04:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:50:43.116Z] + 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=bd25755b6d146097eea0750eeac3c6cb43c27e58 --label arch=amd64 --label version=0.0.0 . [2023-02-22T04:50:43.116Z] Sending build context to Docker daemon 10.64MB [2023-02-22T04:50:43.116Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T04:50:43.116Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-22T04:50:43.116Z] ---> 3d31a859220a [2023-02-22T04:50:43.116Z] Step 3/23 : ARG MAKE=make build [2023-02-22T04:50:43.377Z] ---> Running in 7a786bd437a2 [2023-02-22T04:50:43.377Z] Removing intermediate container 7a786bd437a2 [2023-02-22T04:50:43.377Z] ---> 520655235918 [2023-02-22T04:50:43.377Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-22T04:50:43.377Z] ---> Running in 23a27103fe56 [2023-02-22T04:50:43.637Z] Removing intermediate container 23a27103fe56 [2023-02-22T04:50:43.637Z] ---> f48be9362da5 [2023-02-22T04:50:43.637Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T04:50:43.637Z] ---> Running in 41a7896ed0b7 [2023-02-22T04:50:43.637Z] Removing intermediate container 41a7896ed0b7 [2023-02-22T04:50:43.637Z] ---> 0d95bcfe0b65 [2023-02-22T04:50:43.637Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-22T04:50:43.637Z] ---> Running in 54efc2216720 [2023-02-22T04:50:43.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T04:50:44.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T04:50:44.424Z] OK: 211 MiB in 51 packages [2023-02-22T04:50:44.685Z] Removing intermediate container 54efc2216720 [2023-02-22T04:50:44.685Z] ---> 9dd57420bc62 [2023-02-22T04:50:44.685Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-22T04:50:44.944Z] ---> 0968259d0512 [2023-02-22T04:50:44.944Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T04:50:44.944Z] ---> Running in a5957bf22ebd [2023-02-22T04:50:45.657Z] Removing intermediate container a5957bf22ebd [2023-02-22T04:50:45.657Z] ---> 42d7d64a1299 [2023-02-22T04:50:45.657Z] Step 9/23 : COPY . . [2023-02-22T04:50:46.252Z] ---> 80f0eca3ba2d [2023-02-22T04:50:46.252Z] Step 10/23 : RUN ${MAKE} [2023-02-22T04:50:46.252Z] ---> Running in eec0e94e04a8 [2023-02-22T04:50:46.529Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-22T04:51:01.327Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7002 in /w/workspace/gexfoundry_device-sdk-go_PR-1340 [Pipeline] { [Pipeline] ws [2023-02-22T04:51:01.341Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-02-22T04:51:01.372Z] The recommended git tool is: git [2023-02-22T04:51:06.968Z] using credential edgex-jenkins-ssh [2023-02-22T04:51:06.988Z] Cloning the remote Git repository [2023-02-22T04:51:07.029Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-22T04:51:07.109Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-02-22T04:51:07.246Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-22T04:51:07.246Z] > git --version # timeout=10 [2023-02-22T04:51:07.266Z] > git --version # 'git version 2.25.1' [2023-02-22T04:51:07.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T04:51:07.325Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T04:51:08.521Z] Removing intermediate container eec0e94e04a8 [2023-02-22T04:51:08.521Z] ---> d9f68c14c53d [2023-02-22T04:51:08.521Z] Step 11/23 : FROM alpine:3.16 [2023-02-22T04:51:08.521Z] 3.16: Pulling from library/alpine [2023-02-22T04:51:08.521Z] ef5531b6e74e: Pulling fs layer [2023-02-22T04:51:08.521Z] ef5531b6e74e: Verifying Checksum [2023-02-22T04:51:08.521Z] ef5531b6e74e: Download complete [2023-02-22T04:51:08.521Z] ef5531b6e74e: Pull complete [2023-02-22T04:51:08.521Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-22T04:51:08.521Z] Status: Downloaded newer image for alpine:3.16 [2023-02-22T04:51:08.521Z] ---> dfd21b5a31f5 [2023-02-22T04:51:08.521Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-22T04:51:08.521Z] ---> Running in 9b961b8e2f63 [2023-02-22T04:51:08.521Z] Removing intermediate container 9b961b8e2f63 [2023-02-22T04:51:08.521Z] ---> 21a59643ac4b [2023-02-22T04:51:08.521Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-22T04:51:08.521Z] ---> Running in 6f1feacf2d94 [2023-02-22T04:51:08.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-22T04:51:08.521Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-22T04:51:08.521Z] OK: 6 MiB in 14 packages [2023-02-22T04:51:08.521Z] Removing intermediate container 6f1feacf2d94 [2023-02-22T04:51:08.521Z] ---> 43260c63f6e2 [2023-02-22T04:51:08.521Z] Step 14/23 : WORKDIR / [2023-02-22T04:51:08.521Z] ---> Running in 4dde159c8167 [2023-02-22T04:51:08.521Z] Removing intermediate container 4dde159c8167 [2023-02-22T04:51:08.521Z] ---> b885b71d2c3f [2023-02-22T04:51:08.521Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-22T04:51:08.521Z] ---> 6ab9ff445f10 [2023-02-22T04:51:08.521Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-22T04:51:08.923Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-22T04:51:09.092Z] ---> 03bdd662baf2 [2023-02-22T04:51:09.092Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-22T04:51:09.353Z] ---> 872ab0d452f5 [2023-02-22T04:51:09.353Z] Step 18/23 : EXPOSE 59999 [2023-02-22T04:51:09.353Z] ---> Running in 5840b9003e04 [2023-02-22T04:51:09.353Z] Removing intermediate container 5840b9003e04 [2023-02-22T04:51:09.353Z] ---> 41489b54b7de [2023-02-22T04:51:09.353Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-22T04:51:09.353Z] ---> Running in 4cf3a6c11b5e [2023-02-22T04:51:09.353Z] Removing intermediate container 4cf3a6c11b5e [2023-02-22T04:51:09.353Z] ---> 4e087f7ed603 [2023-02-22T04:51:09.353Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-22T04:51:09.613Z] ---> Running in 584753df1428 [2023-02-22T04:51:09.614Z] Removing intermediate container 584753df1428 [2023-02-22T04:51:09.614Z] ---> dc73b48b3348 [2023-02-22T04:51:09.614Z] Step 21/23 : LABEL arch=amd64 [2023-02-22T04:51:09.614Z] ---> Running in ee86d1b92a87 [2023-02-22T04:51:09.614Z] Removing intermediate container ee86d1b92a87 [2023-02-22T04:51:09.614Z] ---> 99346b975620 [2023-02-22T04:51:09.614Z] Step 22/23 : LABEL git_sha=bd25755b6d146097eea0750eeac3c6cb43c27e58 [2023-02-22T04:51:09.614Z] ---> Running in 074117b2d1f9 [2023-02-22T04:51:09.614Z] Removing intermediate container 074117b2d1f9 [2023-02-22T04:51:09.614Z] ---> 0a019fc58f6b [2023-02-22T04:51:09.614Z] Step 23/23 : LABEL version=0.0.0 [2023-02-22T04:51:09.884Z] ---> Running in 1b234c3bd03d [2023-02-22T04:51:09.884Z] Removing intermediate container 1b234c3bd03d [2023-02-22T04:51:09.884Z] ---> 133159d3cb3b [2023-02-22T04:51:09.884Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-22T04:51:09.884Z] Successfully built 133159d3cb3b [2023-02-22T04:51:09.884Z] 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-02-22T04:51:08.943Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-22T04:51:09.714Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-22T04:51:09.751Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-22T04:51:09.752Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T04:51:09.769Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1340/head:refs/remotes/origin/PR-1340 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-22T04:51:10.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T04:51:10.324Z] [2023-02-22T04:51:10.324Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:51:10.368Z] Merging remotes/origin/main commit 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 into PR head commit bd25755b6d146097eea0750eeac3c6cb43c27e58 [2023-02-22T04:51:10.605Z] Merge succeeded, producing bd25755b6d146097eea0750eeac3c6cb43c27e58 [2023-02-22T04:51:10.606Z] Checking out Revision bd25755b6d146097eea0750eeac3c6cb43c27e58 (PR-1340) [2023-02-22T04:51:10.676Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T04:51:10.676Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-22T04:51:10.676Z] 5eb5b503b376: Pulling fs layer [2023-02-22T04:51:10.676Z] 5c69ac0246d0: Pulling fs layer [2023-02-22T04:51:10.676Z] ec43610c2a17: Pulling fs layer [2023-02-22T04:51:10.676Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-22T04:51:10.676Z] 33b1e0a273af: Pulling fs layer [2023-02-22T04:51:10.676Z] 5d3b04190fa2: Pulling fs layer [2023-02-22T04:51:10.676Z] 2f39f015ded8: Pulling fs layer [2023-02-22T04:51:10.676Z] 33b1e0a273af: Waiting [2023-02-22T04:51:10.676Z] 3a2ae6a8a46f: Waiting [2023-02-22T04:51:10.676Z] 5d3b04190fa2: Waiting [2023-02-22T04:51:10.676Z] 2f39f015ded8: Waiting [2023-02-22T04:51:10.676Z] 5c69ac0246d0: Download complete [2023-02-22T04:51:10.676Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-22T04:51:10.676Z] 3a2ae6a8a46f: Download complete [2023-02-22T04:51:10.936Z] 33b1e0a273af: Verifying Checksum [2023-02-22T04:51:10.936Z] 33b1e0a273af: Download complete [2023-02-22T04:51:10.936Z] 5d3b04190fa2: Download complete [2023-02-22T04:51:10.936Z] ec43610c2a17: Verifying Checksum [2023-02-22T04:51:10.936Z] ec43610c2a17: Download complete [2023-02-22T04:51:10.936Z] 5eb5b503b376: Verifying Checksum [2023-02-22T04:51:10.936Z] 5eb5b503b376: Download complete [2023-02-22T04:51:11.099Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-02-22T04:51:11.358Z] [2023-02-22T04:51:11.358Z] GitHub has been notified of this commit’s build result [2023-02-22T04:51:11.358Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T04:51:11.503Z] 2f39f015ded8: Download complete [2023-02-22T04:51:10.384Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T04:51:10.402Z] > git checkout -f bd25755b6d146097eea0750eeac3c6cb43c27e58 # timeout=10 [2023-02-22T04:51:10.512Z] > git remote # timeout=10 [2023-02-22T04:51:10.528Z] > git config --get remote.origin.url # timeout=10 [2023-02-22T04:51:10.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-22T04:51:10.563Z] > git merge 3712315dcd23cbc7dd5f9b98fcf3555f4a168ba5 # timeout=10 [2023-02-22T04:51:10.586Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-22T04:51:10.610Z] > git config core.sparsecheckout # timeout=10 [2023-02-22T04:51:10.627Z] > git checkout -f bd25755b6d146097eea0750eeac3c6cb43c27e58 # timeout=10 [2023-02-22T04:51:11.901Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-22T04:51:11.901Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T04:51:11.901Z] Dload Upload Total Spent Left Speed [2023-02-22T04:51:11.901Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [2023-02-22T04:51:12.114Z] 5eb5b503b376: Pull complete [Pipeline] sh [2023-02-22T04:51:12.372Z] 5c69ac0246d0: Pull complete [2023-02-22T04:51:12.564Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-22T04:51:12.903Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-22T04:51:12.903Z] + sudo tee /etc/docker/daemon.new [2023-02-22T04:51:12.903Z] { [2023-02-22T04:51:12.903Z] "registry-mirrors": [ [2023-02-22T04:51:12.903Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-22T04:51:12.903Z] ], [2023-02-22T04:51:12.903Z] "bip": "10.250.0.254/24", [2023-02-22T04:51:12.903Z] "hosts": [ [2023-02-22T04:51:12.903Z] "tcp://0.0.0.0:5555", [2023-02-22T04:51:12.903Z] "unix:///var/run/docker.sock" [2023-02-22T04:51:12.903Z] ], [2023-02-22T04:51:12.903Z] "mtu": 1458, [2023-02-22T04:51:12.903Z] "selinux-enabled": true, [2023-02-22T04:51:12.903Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-22T04:51:12.903Z] } [Pipeline] sh [2023-02-22T04:51:12.938Z] ec43610c2a17: Pull complete [2023-02-22T04:51:12.938Z] 3a2ae6a8a46f: Pull complete [2023-02-22T04:51:13.197Z] 33b1e0a273af: Pull complete [2023-02-22T04:51:13.197Z] 5d3b04190fa2: Pull complete [2023-02-22T04:51:13.250Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-22T04:51:13.612Z] + sudo service docker restart [2023-02-22T04:51:18.471Z] 2f39f015ded8: Pull complete [2023-02-22T04:51:18.471Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-22T04:51:18.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T04:51:18.471Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T04:51:18.558Z] prd-ubuntu20.04-docker-8c-8g-7000 does not seem to be running inside a container [2023-02-22T04:51:18.599Z] $ 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-1340 -v /w/workspace/gexfoundry_device-sdk-go_PR-1340:/w/workspace/gexfoundry_device-sdk-go_PR-1340:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-22T04:51:21.731Z] $ docker top 0903b426cfb43aca56e5e3a572bac7691aa3177ca7b9e29897e5705e9a8685b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T04:51:22.118Z] ---> job-cost.sh [2023-02-22T04:51:22.118Z] lf-activate-venv: SKIPPING [2023-02-22T04:51:22.118Z] INFO: No Stack... [2023-02-22T04:51:22.688Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T04:51:22.948Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T04:51:23.236Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives/cost.csv [2023-02-22T04:51:23.236Z] cut -d, -f6 [Pipeline] lock [2023-02-22T04:51:23.251Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1340-2-stack-cost] [2023-02-22T04:51:23.259Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1340-2-stack-cost] did not exist. Created. [2023-02-22T04:51:23.259Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1340-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T04:51:23.557Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-22T04:51:23.593Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T04:51:23.599Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1340-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T04:51:23.618Z] $ docker stop --time=1 0903b426cfb43aca56e5e3a572bac7691aa3177ca7b9e29897e5705e9a8685b9 [2023-02-22T04:51:24.774Z] $ docker rm -f --volumes 0903b426cfb43aca56e5e3a572bac7691aa3177ca7b9e29897e5705e9a8685b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T04:51:31.868Z] provisioning config files... [2023-02-22T04:51:31.895Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config18012874088834354565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T04:51:32.243Z] ---> docker-login.sh [2023-02-22T04:51:32.243Z] nexus3.edgexfoundry.org:10001 [2023-02-22T04:51:32.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:51:32.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:51:32.842Z] Configure a credential helper to remove this warning. See [2023-02-22T04:51:32.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:51:32.842Z] [2023-02-22T04:51:32.842Z] Login Succeeded [2023-02-22T04:51:32.842Z] nexus3.edgexfoundry.org:10002 [2023-02-22T04:51:33.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:51:33.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:51:33.386Z] Configure a credential helper to remove this warning. See [2023-02-22T04:51:33.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:51:33.386Z] [2023-02-22T04:51:33.386Z] Login Succeeded [2023-02-22T04:51:33.386Z] nexus3.edgexfoundry.org:10003 [2023-02-22T04:51:33.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:51:33.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:51:33.659Z] Configure a credential helper to remove this warning. See [2023-02-22T04:51:33.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:51:33.659Z] [2023-02-22T04:51:33.659Z] Login Succeeded [2023-02-22T04:51:33.659Z] nexus3.edgexfoundry.org:10004 [2023-02-22T04:51:33.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:51:33.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:51:33.928Z] Configure a credential helper to remove this warning. See [2023-02-22T04:51:33.928Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:51:33.928Z] [2023-02-22T04:51:33.928Z] Login Succeeded [2023-02-22T04:51:33.928Z] docker.io [2023-02-22T04:51:34.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-22T04:51:34.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-22T04:51:34.466Z] Configure a credential helper to remove this warning. See [2023-02-22T04:51:34.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-22T04:51:34.466Z] [2023-02-22T04:51:34.466Z] Login Succeeded [2023-02-22T04:51:34.466Z] ---> docker-login.sh ends [Pipeline] } [2023-02-22T04:51:34.481Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-22T04:51:34.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T04:51:34.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-22T04:51:34.764Z] ========================================================= [2023-02-22T04:51:34.764Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-22T04:51:34.764Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:51:35.101Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-22T04:51:35.371Z] Sending build context to Docker daemon 5.655MB [2023-02-22T04:51:35.371Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T04:51:35.371Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-22T04:51:35.640Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-22T04:51:35.640Z] 9b18e9b68314: Pulling fs layer [2023-02-22T04:51:35.640Z] 35d82f9e3411: Pulling fs layer [2023-02-22T04:51:35.640Z] e16973657156: Pulling fs layer [2023-02-22T04:51:35.640Z] fc693d55d65f: Pulling fs layer [2023-02-22T04:51:35.640Z] 7e9fc2657dce: Pulling fs layer [2023-02-22T04:51:35.640Z] dda99020689f: Pulling fs layer [2023-02-22T04:51:35.640Z] db1c61fa0a46: Pulling fs layer [2023-02-22T04:51:35.640Z] 891c053d2c06: Pulling fs layer [2023-02-22T04:51:35.640Z] fc693d55d65f: Waiting [2023-02-22T04:51:35.640Z] 7e9fc2657dce: Waiting [2023-02-22T04:51:35.640Z] dda99020689f: Waiting [2023-02-22T04:51:35.640Z] db1c61fa0a46: Waiting [2023-02-22T04:51:35.640Z] 891c053d2c06: Waiting [2023-02-22T04:51:35.640Z] e16973657156: Verifying Checksum [2023-02-22T04:51:35.640Z] e16973657156: Download complete [2023-02-22T04:51:35.640Z] 35d82f9e3411: Verifying Checksum [2023-02-22T04:51:35.640Z] 35d82f9e3411: Download complete [2023-02-22T04:51:35.640Z] 7e9fc2657dce: Verifying Checksum [2023-02-22T04:51:35.640Z] 7e9fc2657dce: Download complete [2023-02-22T04:51:35.640Z] dda99020689f: Download complete [2023-02-22T04:51:35.640Z] 9b18e9b68314: Verifying Checksum [2023-02-22T04:51:35.640Z] 9b18e9b68314: Download complete [2023-02-22T04:51:36.609Z] 9b18e9b68314: Pull complete [2023-02-22T04:51:36.881Z] 891c053d2c06: Verifying Checksum [2023-02-22T04:51:36.881Z] 891c053d2c06: Download complete [2023-02-22T04:51:37.153Z] 35d82f9e3411: Pull complete [2023-02-22T04:51:37.422Z] e16973657156: Pull complete [2023-02-22T04:51:38.017Z] db1c61fa0a46: Download complete [2023-02-22T04:51:38.610Z] fc693d55d65f: Verifying Checksum [2023-02-22T04:51:38.610Z] fc693d55d65f: Download complete [2023-02-22T04:51:51.667Z] fc693d55d65f: Pull complete [2023-02-22T04:51:51.667Z] 7e9fc2657dce: Pull complete [2023-02-22T04:51:51.667Z] dda99020689f: Pull complete [2023-02-22T04:51:59.891Z] db1c61fa0a46: Pull complete [2023-02-22T04:52:00.492Z] 891c053d2c06: Pull complete [2023-02-22T04:52:00.492Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-22T04:52:00.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-22T04:52:00.492Z] ---> f96f9c87975a [2023-02-22T04:52:00.492Z] Step 3/10 : ARG MAKE=make build [2023-02-22T04:52:02.439Z] ---> Running in 64964d02997a [2023-02-22T04:52:02.709Z] Removing intermediate container 64964d02997a [2023-02-22T04:52:02.709Z] ---> 6b94efbf0262 [2023-02-22T04:52:02.709Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-22T04:52:02.709Z] ---> Running in 83e8008fe072 [2023-02-22T04:52:02.977Z] Removing intermediate container 83e8008fe072 [2023-02-22T04:52:02.977Z] ---> b6a06c4b0b9f [2023-02-22T04:52:02.977Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T04:52:02.977Z] ---> Running in cdc712d89645 [2023-02-22T04:52:03.254Z] Removing intermediate container cdc712d89645 [2023-02-22T04:52:03.254Z] ---> 4b42930ff511 [2023-02-22T04:52:03.254Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-22T04:52:03.586Z] ---> Running in 13288c0920e1 [2023-02-22T04:52:04.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T04:52:04.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T04:52:05.810Z] OK: 221 MiB in 51 packages [2023-02-22T04:52:06.781Z] Removing intermediate container 13288c0920e1 [2023-02-22T04:52:06.781Z] ---> 100121b95e1c [2023-02-22T04:52:06.781Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-22T04:52:07.370Z] ---> 5bfb3f56adb1 [2023-02-22T04:52:07.370Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T04:52:07.370Z] ---> Running in ad3b07d42a46 [2023-02-22T04:53:03.820Z] Removing intermediate container ad3b07d42a46 [2023-02-22T04:53:03.820Z] ---> 33024074aa0e [2023-02-22T04:53:03.820Z] Step 9/10 : COPY . . [2023-02-22T04:53:04.783Z] ---> 143574b0154f [2023-02-22T04:53:04.783Z] Step 10/10 : RUN ${MAKE} [2023-02-22T04:53:04.783Z] ---> Running in e4a9d1e0ed14 [2023-02-22T04:53:05.750Z] noop [2023-02-22T04:53:06.334Z] Removing intermediate container e4a9d1e0ed14 [2023-02-22T04:53:06.334Z] ---> 2169eaa7e076 [2023-02-22T04:53:06.334Z] Successfully built 2169eaa7e076 [2023-02-22T04:53:06.334Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:53:06.691Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T04:53:06.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T04:53:06.881Z] prd-ubuntu20.04-docker-arm64-4c-16g-7002 does not seem to be running inside a container [2023-02-22T04:53:06.946Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-22T04:53:08.090Z] $ docker top 3d81974689e8bf76d0bb7f430c473925c84a465685b32fdd25878e1bef4fb3c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T04:53:08.907Z] + go version [2023-02-22T04:53:08.907Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-22T04:53:08.929Z] $ docker stop --time=1 3d81974689e8bf76d0bb7f430c473925c84a465685b32fdd25878e1bef4fb3c1 [2023-02-22T04:53:10.542Z] $ docker rm -f --volumes 3d81974689e8bf76d0bb7f430c473925c84a465685b32fdd25878e1bef4fb3c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:53:11.099Z] + docker inspect -f . ci-base-image-arm64 [2023-02-22T04:53:11.099Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T04:53:11.271Z] prd-ubuntu20.04-docker-arm64-4c-16g-7002 does not seem to be running inside a container [2023-02-22T04:53:11.338Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-22T04:53:15.442Z] $ docker top 296f7aaf1577e5146207ffa6b667c7429fce8ecb9adfd720a29794234e078d0e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T04:53:15.955Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-02-22T04:53:16.552Z] + make test [2023-02-22T04:53:16.552Z] go test -race -coverprofile=coverage.out ./... [2023-02-22T04:53:48.777Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-22T04:55:40.462Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-22T04:55:40.462Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-22T04:55:40.462Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-22T04:55:40.462Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-22T04:55:40.462Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-22T04:55:40.462Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.245s coverage: 27.6% of statements [2023-02-22T04:55:40.462Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.296s coverage: 78.9% of statements [2023-02-22T04:55:40.462Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-22T04:55:40.462Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.426s coverage: 86.0% of statements [2023-02-22T04:55:40.462Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-22T04:55:40.462Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-22T04:55:42.404Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.587s coverage: 77.0% of statements [2023-02-22T04:55:42.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-22T04:55:42.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-22T04:55:42.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-22T04:55:42.672Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.404s coverage: 65.2% of statements [2023-02-22T04:55:42.672Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-22T04:55:42.672Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-22T04:55:43.635Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.185s coverage: 89.2% of statements [2023-02-22T04:55:43.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-22T04:55:43.635Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.268s coverage: 4.7% of statements [2023-02-22T04:55:43.635Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-22T04:55:44.218Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-22T04:55:44.218Z] GO111MODULE=on go vet ./... [2023-02-22T04:57:05.847Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-22T04:57:05.847Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-22T04:57:06.117Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-22T04:57:06.718Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-22T04:57:06.735Z] $ docker stop --time=1 296f7aaf1577e5146207ffa6b667c7429fce8ecb9adfd720a29794234e078d0e [2023-02-22T04:57:08.537Z] $ docker rm -f --volumes 296f7aaf1577e5146207ffa6b667c7429fce8ecb9adfd720a29794234e078d0e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-22T04:57:09.874Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-22T04:57:09.898Z] Warning: overwriting stash ‘coverage-report’ [2023-02-22T04:57:10.431Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-22T04:57:10.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-22T04:57:11.138Z] + ls -al . [2023-02-22T04:57:11.138Z] total 268 [2023-02-22T04:57:11.138Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 22 04:53 . [2023-02-22T04:57:11.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:51 .. [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 22 04:51 .dockerignore [2023-02-22T04:57:11.138Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 22 04:51 .git [2023-02-22T04:57:11.138Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:51 .github [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 22 04:51 .gitignore [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 22 04:51 .golangci.yml [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 22 04:51 CHANGELOG.md [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 22 04:51 GOVERNANCE.md [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 22 04:51 Jenkinsfile [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 22 04:51 LICENSE [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 22 04:51 Makefile [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 22 04:51 OWNERS.md [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 22 04:51 README.md [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 22 04:49 VERSION [2023-02-22T04:57:11.138Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 22 04:51 bin [2023-02-22T04:57:11.138Z] -rw-r--r-- 1 jenkins jenkins 98530 Feb 22 04:55 coverage.out [2023-02-22T04:57:11.138Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 22 04:51 example [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 22 04:51 go.mod [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 22 04:51 go.sum [2023-02-22T04:57:11.138Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 22 04:51 internal [2023-02-22T04:57:11.138Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 22 04:51 openapi [2023-02-22T04:57:11.138Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 22 04:51 pkg [2023-02-22T04:57:11.138Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 22 04:51 snap [2023-02-22T04:57:11.138Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 22 04:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:57:11.473Z] + 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=bd25755b6d146097eea0750eeac3c6cb43c27e58 --label arch=arm64 --label version=0.0.0 . [2023-02-22T04:57:11.741Z] Sending build context to Docker daemon 5.754MB [2023-02-22T04:57:12.011Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-22T04:57:12.011Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-22T04:57:12.011Z] ---> 2169eaa7e076 [2023-02-22T04:57:12.011Z] Step 3/23 : ARG MAKE=make build [2023-02-22T04:57:12.011Z] ---> Running in 372f0a760d49 [2023-02-22T04:57:12.279Z] Removing intermediate container 372f0a760d49 [2023-02-22T04:57:12.279Z] ---> 7febeeae7085 [2023-02-22T04:57:12.279Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-22T04:57:12.279Z] ---> Running in 7473f0808b43 [2023-02-22T04:57:12.547Z] Removing intermediate container 7473f0808b43 [2023-02-22T04:57:12.547Z] ---> 38ff835f1703 [2023-02-22T04:57:12.547Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-22T04:57:12.813Z] ---> Running in be42376be940 [2023-02-22T04:57:13.079Z] Removing intermediate container be42376be940 [2023-02-22T04:57:13.079Z] ---> 84df4607434c [2023-02-22T04:57:13.079Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-22T04:57:13.079Z] ---> Running in c293f9d27b28 [2023-02-22T04:57:14.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T04:57:14.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T04:57:15.262Z] OK: 221 MiB in 51 packages [2023-02-22T04:57:16.224Z] Removing intermediate container c293f9d27b28 [2023-02-22T04:57:16.224Z] ---> 7305368c9c74 [2023-02-22T04:57:16.224Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-22T04:57:16.807Z] ---> 10cbc9b9fe05 [2023-02-22T04:57:16.807Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-22T04:57:16.807Z] ---> Running in 88c9b246bc15 [2023-02-22T04:57:20.157Z] Removing intermediate container 88c9b246bc15 [2023-02-22T04:57:20.157Z] ---> 4e9bd1419c8a [2023-02-22T04:57:20.157Z] Step 9/23 : COPY . . [2023-02-22T04:57:21.118Z] ---> f46881a86564 [2023-02-22T04:57:21.118Z] Step 10/23 : RUN ${MAKE} [2023-02-22T04:57:21.118Z] ---> Running in a5e7d1d16c65 [2023-02-22T04:57:22.084Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-22T04:59:43.780Z] Removing intermediate container a5e7d1d16c65 [2023-02-22T04:59:43.780Z] ---> c305d2402d64 [2023-02-22T04:59:43.781Z] Step 11/23 : FROM alpine:3.16 [2023-02-22T04:59:43.781Z] 3.16: Pulling from library/alpine [2023-02-22T04:59:43.781Z] 3760b48202b3: Pulling fs layer [2023-02-22T04:59:43.781Z] 3760b48202b3: Verifying Checksum [2023-02-22T04:59:43.781Z] 3760b48202b3: Download complete [2023-02-22T04:59:43.781Z] 3760b48202b3: Pull complete [2023-02-22T04:59:43.781Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-22T04:59:43.781Z] Status: Downloaded newer image for alpine:3.16 [2023-02-22T04:59:43.781Z] ---> 4c81e5bf8899 [2023-02-22T04:59:43.781Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-22T04:59:43.781Z] ---> Running in 40724bf612ef [2023-02-22T04:59:43.781Z] Removing intermediate container 40724bf612ef [2023-02-22T04:59:43.781Z] ---> b4d2575ecae7 [2023-02-22T04:59:43.781Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-22T04:59:43.781Z] ---> Running in 3c88b10df589 [2023-02-22T04:59:43.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-22T04:59:43.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-22T04:59:43.781Z] OK: 5 MiB in 14 packages [2023-02-22T04:59:44.048Z] Removing intermediate container 3c88b10df589 [2023-02-22T04:59:44.048Z] ---> 03ffe883926b [2023-02-22T04:59:44.048Z] Step 14/23 : WORKDIR / [2023-02-22T04:59:44.048Z] ---> Running in 107c40c0ec4b [2023-02-22T04:59:44.314Z] Removing intermediate container 107c40c0ec4b [2023-02-22T04:59:44.314Z] ---> d57d375a4baa [2023-02-22T04:59:44.314Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-22T04:59:44.901Z] ---> f868ce2aad1f [2023-02-22T04:59:44.902Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-22T04:59:46.353Z] ---> 32c50f240b2a [2023-02-22T04:59:46.353Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-22T04:59:46.621Z] ---> 22896141fe98 [2023-02-22T04:59:46.621Z] Step 18/23 : EXPOSE 59999 [2023-02-22T04:59:46.621Z] ---> Running in 76cdadb590b2 [2023-02-22T04:59:46.889Z] Removing intermediate container 76cdadb590b2 [2023-02-22T04:59:46.889Z] ---> 2666f09dac41 [2023-02-22T04:59:46.889Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-22T04:59:47.156Z] ---> Running in af708ff180e0 [2023-02-22T04:59:47.422Z] Removing intermediate container af708ff180e0 [2023-02-22T04:59:47.422Z] ---> fdfbea374f2f [2023-02-22T04:59:47.422Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-22T04:59:47.422Z] ---> Running in 23eceba2284e [2023-02-22T04:59:47.690Z] Removing intermediate container 23eceba2284e [2023-02-22T04:59:47.690Z] ---> 991e1dc357a3 [2023-02-22T04:59:47.690Z] Step 21/23 : LABEL arch=arm64 [2023-02-22T04:59:47.690Z] ---> Running in d5576b09bc01 [2023-02-22T04:59:47.958Z] Removing intermediate container d5576b09bc01 [2023-02-22T04:59:47.958Z] ---> 86c9804a22f4 [2023-02-22T04:59:47.958Z] Step 22/23 : LABEL git_sha=bd25755b6d146097eea0750eeac3c6cb43c27e58 [2023-02-22T04:59:48.227Z] ---> Running in 658ba031ef80 [2023-02-22T04:59:48.496Z] Removing intermediate container 658ba031ef80 [2023-02-22T04:59:48.496Z] ---> 516f101bb255 [2023-02-22T04:59:48.496Z] Step 23/23 : LABEL version=0.0.0 [2023-02-22T04:59:48.496Z] ---> Running in 19fa135bb14f [2023-02-22T04:59:48.763Z] Removing intermediate container 19fa135bb14f [2023-02-22T04:59:48.763Z] ---> 42b7263ffdc9 [2023-02-22T04:59:48.763Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-22T04:59:48.763Z] Successfully built 42b7263ffdc9 [2023-02-22T04:59:48.763Z] 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-02-22T04:59:49.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T04:59:49.196Z] [2023-02-22T04:59:49.196Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T04:59:49.527Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T04:59:49.527Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-22T04:59:49.527Z] 8998bd30e6a1: Pulling fs layer [2023-02-22T04:59:49.527Z] 04944245beec: Pulling fs layer [2023-02-22T04:59:49.527Z] 699f458cf7ca: Pulling fs layer [2023-02-22T04:59:49.527Z] 765212b225bb: Pulling fs layer [2023-02-22T04:59:49.527Z] f23df028b6ca: Pulling fs layer [2023-02-22T04:59:49.527Z] d65c8cfc05b1: Pulling fs layer [2023-02-22T04:59:49.527Z] 2437ff75d9bd: Pulling fs layer [2023-02-22T04:59:49.527Z] 765212b225bb: Waiting [2023-02-22T04:59:49.527Z] f23df028b6ca: Waiting [2023-02-22T04:59:49.527Z] d65c8cfc05b1: Waiting [2023-02-22T04:59:49.527Z] 2437ff75d9bd: Waiting [2023-02-22T04:59:49.794Z] 04944245beec: Verifying Checksum [2023-02-22T04:59:49.794Z] 04944245beec: Download complete [2023-02-22T04:59:49.794Z] 765212b225bb: Verifying Checksum [2023-02-22T04:59:49.794Z] 765212b225bb: Download complete [2023-02-22T04:59:49.794Z] f23df028b6ca: Verifying Checksum [2023-02-22T04:59:49.794Z] f23df028b6ca: Download complete [2023-02-22T04:59:49.794Z] d65c8cfc05b1: Verifying Checksum [2023-02-22T04:59:49.794Z] d65c8cfc05b1: Download complete [2023-02-22T04:59:49.794Z] 699f458cf7ca: Verifying Checksum [2023-02-22T04:59:50.062Z] 699f458cf7ca: Download complete [2023-02-22T04:59:50.331Z] 8998bd30e6a1: Download complete [2023-02-22T04:59:52.440Z] 2437ff75d9bd: Verifying Checksum [2023-02-22T04:59:52.441Z] 2437ff75d9bd: Download complete [2023-02-22T04:59:55.104Z] 8998bd30e6a1: Pull complete [2023-02-22T04:59:55.104Z] 04944245beec: Pull complete [2023-02-22T04:59:56.527Z] 699f458cf7ca: Pull complete [2023-02-22T04:59:56.793Z] 765212b225bb: Pull complete [2023-02-22T04:59:57.379Z] f23df028b6ca: Pull complete [2023-02-22T04:59:57.646Z] d65c8cfc05b1: Pull complete [2023-02-22T05:00:12.639Z] 2437ff75d9bd: Pull complete [2023-02-22T05:00:12.639Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-22T05:00:12.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-22T05:00:12.639Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T05:00:12.822Z] prd-ubuntu20.04-docker-arm64-4c-16g-7002 does not seem to be running inside a container [2023-02-22T05:00:12.886Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-22T05:00:15.513Z] $ docker top c167cb6892bb4a129ce5a381477a0b8a7281189a1d3c402f6373d5d3e0e11484 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:00:16.022Z] ---> job-cost.sh [2023-02-22T05:00:16.288Z] lf-activate-venv: SKIPPING [2023-02-22T05:00:16.288Z] INFO: No Stack... [2023-02-22T05:00:16.870Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-22T05:00:17.450Z] INFO: Archiving Costs [Pipeline] sh [2023-02-22T05:00:18.089Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-02-22T05:00:18.089Z] + cut -d, -f6 [Pipeline] lock [2023-02-22T05:00:18.161Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1340-2-stack-cost] [2023-02-22T05:00:18.167Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1340-2-stack-cost] did not exist. Created. [2023-02-22T05:00:18.167Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1340-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-22T05:00:18.812Z] /w/workspace/device-sdk-go/2@tmp/durable-3180d235/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-22T05:00:19.146Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-22T05:00:19.438Z] Warning: overwriting stash ‘stack-cost’ [2023-02-22T05:00:19.505Z] Stashed 1 file(s) [Pipeline] } [2023-02-22T05:00:19.514Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1340-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-22T05:00:19.535Z] $ docker stop --time=1 c167cb6892bb4a129ce5a381477a0b8a7281189a1d3c402f6373d5d3e0e11484 [2023-02-22T05:00:21.022Z] $ docker rm -f --volumes c167cb6892bb4a129ce5a381477a0b8a7281189a1d3c402f6373d5d3e0e11484 [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-02-22T05:00:21.399Z] provisioning config files... [2023-02-22T05:00:21.407Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/config11824818223138658232tmp [Pipeline] { [Pipeline] sh [2023-02-22T05:00:21.694Z] + set +x [2023-02-22T05:00:21.694Z] + curl -s https://codecov.io/bash [2023-02-22T05:00:21.694Z] + bash -s -- [2023-02-22T05:00:21.694Z] [2023-02-22T05:00:21.694Z] _____ _ [2023-02-22T05:00:21.694Z] / ____| | | [2023-02-22T05:00:21.694Z] | | ___ __| | ___ ___ _____ __ [2023-02-22T05:00:21.694Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-22T05:00:21.694Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-22T05:00:21.694Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-22T05:00:21.694Z] Bash-1.0.6 [2023-02-22T05:00:21.694Z] [2023-02-22T05:00:21.694Z] [2023-02-22T05:00:21.694Z] ==> git version 2.25.1 found [2023-02-22T05:00:21.694Z] ==> 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-02-22T05:00:21.694Z] Release-Date: 2020-01-08 [2023-02-22T05:00:21.694Z] 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-02-22T05:00:21.694Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-22T05:00:21.694Z] ==> Jenkins CI detected. [2023-02-22T05:00:21.694Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1340 [2023-02-22T05:00:21.694Z] project root: . [2023-02-22T05:00:21.694Z] --> token set from env [2023-02-22T05:00:21.694Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-22T05:00:21.694Z] ==> Running gcov in . (disable via -X gcov) [2023-02-22T05:00:21.694Z] ==> Python coveragepy not found [2023-02-22T05:00:21.694Z] ==> Searching for coverage reports in: [2023-02-22T05:00:21.694Z] + . [2023-02-22T05:00:21.694Z] -> Found 1 reports [2023-02-22T05:00:21.694Z] ==> Detecting git/mercurial file structure [2023-02-22T05:00:21.694Z] ==> Reading reports [2023-02-22T05:00:21.694Z] + ./coverage.out bytes=98530 [2023-02-22T05:00:21.694Z] ==> Appending adjustments [2023-02-22T05:00:21.694Z] https://docs.codecov.io/docs/fixing-reports [2023-02-22T05:00:22.262Z] + Found adjustments [2023-02-22T05:00:22.262Z] ==> Gzipping contents [2023-02-22T05:00:22.262Z] 16K /tmp/codecov.VCjCFd.gz [2023-02-22T05:00:22.262Z] ==> Uploading reports [2023-02-22T05:00:22.262Z] url: https://codecov.io [2023-02-22T05:00:22.262Z] query: branch=PR-1340&commit=bd25755b6d146097eea0750eeac3c6cb43c27e58&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1340%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1340&job=&cmd_args= [2023-02-22T05:00:22.262Z] -> Pinging Codecov [2023-02-22T05:00:22.262Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1340&commit=bd25755b6d146097eea0750eeac3c6cb43c27e58&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1340%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1340&job=&cmd_args= [2023-02-22T05:00:22.262Z] -> Uploading to [2023-02-22T05:00:22.262Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-22/7E55EF52A471D76F132DFD9A03CDDE97/bd25755b6d146097eea0750eeac3c6cb43c27e58/90bc3c30-9154-4cbc-9c90-8a61d5d532ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230222T050022Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=779f0b998e53775c84c59e94ab1407d1b2fe9bbebb0a8e69cf0cb4e62fa01fd2 [2023-02-22T05:00:22.262Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-22T05:00:22.262Z] Dload Upload Total Spent Left Speed [2023-02-22T05:00:22.521Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14338 0 0 100 14338 0 55359 --:--:-- --:--:-- --:--:-- 55359 [2023-02-22T05:00:22.521Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bd25755b6d146097eea0750eeac3c6cb43c27e58 [Pipeline] } [2023-02-22T05:00:22.528Z] 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-02-22T05:00:23.260Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives ] [2023-02-22T05:00:23.260Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives [2023-02-22T05:00:23.260Z] total 16 [2023-02-22T05:00:23.260Z] drwxr-xr-x 3 root root 4096 Feb 22 04:51 . [2023-02-22T05:00:23.260Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 04:51 .. [2023-02-22T05:00:23.260Z] drwxr-xr-x 2 root root 4096 Feb 22 04:51 cost [2023-02-22T05:00:23.260Z] -rw-r--r-- 1 root root 86 Feb 22 04:51 cost.csv [2023-02-22T05:00:23.260Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives [2023-02-22T05:00:23.260Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives [2023-02-22T05:00:23.260Z] total 16 [2023-02-22T05:00:23.260Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 22 04:51 . [2023-02-22T05:00:23.260Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 22 04:51 .. [2023-02-22T05:00:23.260Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 22 04:51 cost [2023-02-22T05:00:23.260Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 22 04:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:00:23.546Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:00:24.396Z] ---> package-listing.sh [2023-02-22T05:00:24.396Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-22T05:00:24.396Z] ++ facter osfamily [2023-02-22T05:00:24.655Z] + OS_FAMILY=debian [2023-02-22T05:00:24.655Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1340 [2023-02-22T05:00:24.655Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-22T05:00:24.655Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-22T05:00:24.655Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-22T05:00:24.655Z] + PACKAGES=/tmp/packages_start.txt [2023-02-22T05:00:24.655Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1340 ']' [2023-02-22T05:00:24.655Z] + PACKAGES=/tmp/packages_end.txt [2023-02-22T05:00:24.655Z] + case "${OS_FAMILY}" in [2023-02-22T05:00:24.655Z] + dpkg -l [2023-02-22T05:00:24.655Z] + grep '^ii' [2023-02-22T05:00:24.655Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-22T05:00:24.655Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-22T05:00:24.655Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-22T05:00:24.655Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1340 ']' [2023-02-22T05:00:24.655Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives/ [2023-02-22T05:00:24.655Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1340/archives/ [Pipeline] echo [2023-02-22T05:00:24.666Z] 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-1340/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-22T05:00:24.940Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-22T05:00:25.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-22T05:00:25.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-22T05:00:25.561Z] prd-ubuntu20.04-docker-8c-8g-7000 does not seem to be running inside a container [2023-02-22T05:00:25.585Z] $ 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-1340/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-1340 -v /w/workspace/gexfoundry_device-sdk-go_PR-1340:/w/workspace/gexfoundry_device-sdk-go_PR-1340:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-22T05:00:25.782Z] $ docker top 65f7b4251fb3cb2cf1b488e110b1111e8d471007c4067cf0c95a522dcf827ef1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-22T05:00:26.117Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-22T05:00:26.401Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-22T05:00:26.686Z] + ls /var/log/sa-host [2023-02-22T05:00:26.686Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-22T05:00:26.864Z] provisioning config files... [2023-02-22T05:00:26.873Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1340@tmp/config18393098039316613480tmp [Pipeline] { [Pipeline] echo [2023-02-22T05:00:26.893Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:00:27.176Z] ---> create-netrc.sh [Pipeline] } [2023-02-22T05:00:27.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:00:27.529Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-22T05:00:27.537Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:00:27.821Z] ---> sudo-logs.sh [2023-02-22T05:00:27.821Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-22T05:00:27.847Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:00:28.129Z] ---> job-cost.sh [2023-02-22T05:00:28.129Z] lf-activate-venv: SKIPPING [2023-02-22T05:00:28.129Z] DEBUG: total: 0.2199999988079071 [2023-02-22T05:00:28.129Z] INFO: Retrieving Stack Cost... [2023-02-22T05:00:28.388Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-22T05:00:28.957Z] INFO: Archiving Costs [Pipeline] echo [2023-02-22T05:00:28.971Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-22T05:00:29.254Z] ---> logs-deploy.sh [2023-02-22T05:00:29.255Z] lf-activate-venv: SKIPPING [2023-02-22T05:00:29.255Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1340/2 [2023-02-22T05:00:29.255Z] INFO: archiving workspace using pattern(s): [2023-02-22T05:00:30.193Z] Archives upload complete. [2023-02-22T05:00:30.193Z] INFO: archiving logs to Nexus