Pull request #1325 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 4beef8a598f213c19e1bd7092db2f243fd3239a4+cf150bd1006c505b2559d8970edbe52dd5fe7567 (2582bf8705bdbd214bcf27cd7079f7e13f0f9b1a) 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-ssh9563923474712449526.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-ssh5797022181477936967.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-1325/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-1325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13131100915861767042.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-ssh8042948483912411022.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-1325/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-1325/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3411360022507091023.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6255 in /w/workspace/gexfoundry_device-sdk-go_PR-1325 [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-1325 # 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/1325/head:refs/remotes/origin/PR-1325 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 4beef8a598f213c19e1bd7092db2f243fd3239a4 Merge succeeded, producing 4beef8a598f213c19e1bd7092db2f243fd3239a4 Checking out Revision 4beef8a598f213c19e1bd7092db2f243fd3239a4 (PR-1325) > git config core.sparsecheckout # timeout=10 > git checkout -f 4beef8a598f213c19e1bd7092db2f243fd3239a4 # 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 cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4beef8a598f213c19e1bd7092db2f243fd3239a4 # timeout=10 Commit message: "feat!: replace REST device validation callback with MessageBus" First time build. Skipping changelog. > git rev-list --no-walk 5b97474bfd2ae4ef5eed540403af7549a5f7e978 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-16T04:08:28.923Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-16T04:08:28.980Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-16T04:08:28.993Z] ========================================================= [2023-02-16T04:08:28.993Z] EdgeX Global Pipelines Version Info [2023-02-16T04:08:28.993Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:08:29.712Z] ------------------- [2023-02-16T04:08:29.713Z] stable info: [2023-02-16T04:08:29.713Z] ------------------- [2023-02-16T04:08:29.713Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-16T04:08:29.713Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T04:08:29.713Z] Message: update stable to v1.0.244 [2023-02-16T04:08:30.281Z] ------------------- [2023-02-16T04:08:30.281Z] experimental info: [2023-02-16T04:08:30.281Z] ------------------- [2023-02-16T04:08:30.281Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-16T04:08:30.281Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T04:08:30.281Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-16T04:08:30.477Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-16T04:08:30.486Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-16T04:08:30.496Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-16T04:08:30.504Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-16T04:08:30.514Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-16T04:08:30.537Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-16T04:08:30.555Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-16T04:08:30.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-16T04:08:30.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-16T04:08:30.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-16T04:08:30.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-16T04:08:30.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-16T04:08:30.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-16T04:08:30.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-16T04:08:30.644Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T04:08:30.660Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T04:08:30.676Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T04:08:30.691Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T04:08:30.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-16T04:08:30.719Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-16T04:08:30.736Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-16T04:08:30.757Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-16T04:08:30.774Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-16T04:08:30.790Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-16T04:08:30.806Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-16T04:08:30.818Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-16T04:08:30.832Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-16T04:08:30.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1325 [Pipeline] echo [2023-02-16T04:08:30.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1325 [Pipeline] echo [2023-02-16T04:08:30.874Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1325 [Pipeline] echo [2023-02-16T04:08:30.893Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4beef8a598f213c19e1bd7092db2f243fd3239a4 [Pipeline] echo [2023-02-16T04:08:30.908Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4beef8a [Pipeline] echo [2023-02-16T04:08:30.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T04:08:30.962Z] provisioning config files... [2023-02-16T04:08:30.974Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config14948097923509193241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:08:31.275Z] ---> docker-login.sh [2023-02-16T04:08:31.275Z] nexus3.edgexfoundry.org:10001 [2023-02-16T04:08:31.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:08:31.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:08:31.533Z] Configure a credential helper to remove this warning. See [2023-02-16T04:08:31.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:08:31.533Z] [2023-02-16T04:08:31.533Z] Login Succeeded [2023-02-16T04:08:31.533Z] nexus3.edgexfoundry.org:10002 [2023-02-16T04:08:31.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:08:31.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:08:31.792Z] Configure a credential helper to remove this warning. See [2023-02-16T04:08:31.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:08:31.792Z] [2023-02-16T04:08:31.792Z] Login Succeeded [2023-02-16T04:08:31.792Z] nexus3.edgexfoundry.org:10003 [2023-02-16T04:08:31.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:08:31.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:08:31.792Z] Configure a credential helper to remove this warning. See [2023-02-16T04:08:31.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:08:31.792Z] [2023-02-16T04:08:31.792Z] Login Succeeded [2023-02-16T04:08:31.792Z] nexus3.edgexfoundry.org:10004 [2023-02-16T04:08:32.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:08:32.049Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:08:32.049Z] Configure a credential helper to remove this warning. See [2023-02-16T04:08:32.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:08:32.049Z] [2023-02-16T04:08:32.049Z] Login Succeeded [2023-02-16T04:08:32.049Z] docker.io [2023-02-16T04:08:32.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:08:32.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:08:32.308Z] Configure a credential helper to remove this warning. See [2023-02-16T04:08:32.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:08:32.308Z] [2023-02-16T04:08:32.308Z] Login Succeeded [2023-02-16T04:08:32.308Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T04:08:32.316Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-16T04:08:32.692Z] + git rev-list -1 --merges 4beef8a598f213c19e1bd7092db2f243fd3239a4~1..4beef8a598f213c19e1bd7092db2f243fd3239a4 [Pipeline] echo [2023-02-16T04:08:32.740Z] -----------> git rev-list -1 --merges 4beef8a598f213c19e1bd7092db2f243fd3239a4~1..4beef8a598f213c19e1bd7092db2f243fd3239a4 4beef8a598f213c19e1bd7092db2f243fd3239a4 [false] [Pipeline] sh [2023-02-16T04:08:33.029Z] + git log --format=format:%s -1 4beef8a598f213c19e1bd7092db2f243fd3239a4 [Pipeline] echo [2023-02-16T04:08:33.045Z] ========================================================= [2023-02-16T04:08:33.045Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-16T04:08:33.045Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T04:08:33.364Z] + git log --format=format:%s -1 4beef8a598f213c19e1bd7092db2f243fd3239a4 [Pipeline] echo [2023-02-16T04:08:33.376Z] [semverPrep] GIT_COMMIT: 4beef8a598f213c19e1bd7092db2f243fd3239a4, Commit Message: feat!: replace REST device validation callback with MessageBus [Pipeline] echo [2023-02-16T04:08:33.386Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-16T04:08:33.761Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-16T04:08:33.762Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-16T04:08:33.762Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-16T04:08:33.762Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-16T04:08:33.762Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-16T04:08:33.762Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-16T04:08:33.762Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:08:34.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T04:08:34.104Z] [2023-02-16T04:08:34.104Z] 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-16T04:08:34.457Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T04:08:34.457Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-16T04:08:34.457Z] b85a868b505f: Pulling fs layer [2023-02-16T04:08:34.457Z] e2be974225ed: Pulling fs layer [2023-02-16T04:08:34.457Z] 339a4e72a1f5: Pulling fs layer [2023-02-16T04:08:34.457Z] 988bab9f4d93: Pulling fs layer [2023-02-16T04:08:34.457Z] 1469e6f7b9e6: Pulling fs layer [2023-02-16T04:08:34.457Z] eaf3925da568: Pulling fs layer [2023-02-16T04:08:34.457Z] bab4dde63d76: Pulling fs layer [2023-02-16T04:08:34.457Z] bde34c3a00c8: Pulling fs layer [2023-02-16T04:08:34.457Z] b352a97aabf1: Pulling fs layer [2023-02-16T04:08:34.457Z] 4872d77fe225: Pulling fs layer [2023-02-16T04:08:34.457Z] 5851b861e8e6: Pulling fs layer [2023-02-16T04:08:34.457Z] eaf3925da568: Waiting [2023-02-16T04:08:34.457Z] b352a97aabf1: Waiting [2023-02-16T04:08:34.457Z] 4872d77fe225: Waiting [2023-02-16T04:08:34.457Z] 5851b861e8e6: Waiting [2023-02-16T04:08:34.457Z] bde34c3a00c8: Waiting [2023-02-16T04:08:34.457Z] bab4dde63d76: Waiting [2023-02-16T04:08:34.457Z] 988bab9f4d93: Waiting [2023-02-16T04:08:34.457Z] 1469e6f7b9e6: Waiting [2023-02-16T04:08:34.457Z] e2be974225ed: Verifying Checksum [2023-02-16T04:08:34.457Z] e2be974225ed: Download complete [2023-02-16T04:08:34.731Z] 988bab9f4d93: Verifying Checksum [2023-02-16T04:08:34.731Z] 988bab9f4d93: Download complete [2023-02-16T04:08:34.731Z] 339a4e72a1f5: Verifying Checksum [2023-02-16T04:08:34.731Z] 339a4e72a1f5: Download complete [2023-02-16T04:08:34.731Z] eaf3925da568: Download complete [2023-02-16T04:08:34.731Z] 1469e6f7b9e6: Verifying Checksum [2023-02-16T04:08:34.731Z] 1469e6f7b9e6: Download complete [2023-02-16T04:08:34.995Z] bde34c3a00c8: Download complete [2023-02-16T04:08:34.995Z] b352a97aabf1: Verifying Checksum [2023-02-16T04:08:34.995Z] b352a97aabf1: Download complete [2023-02-16T04:08:34.995Z] 4872d77fe225: Download complete [2023-02-16T04:08:34.995Z] b85a868b505f: Verifying Checksum [2023-02-16T04:08:34.995Z] b85a868b505f: Download complete [2023-02-16T04:08:34.995Z] 5851b861e8e6: Verifying Checksum [2023-02-16T04:08:34.995Z] 5851b861e8e6: Download complete [2023-02-16T04:08:35.578Z] bab4dde63d76: Verifying Checksum [2023-02-16T04:08:35.578Z] bab4dde63d76: Download complete [2023-02-16T04:08:36.517Z] b85a868b505f: Pull complete [2023-02-16T04:08:36.517Z] e2be974225ed: Pull complete [2023-02-16T04:08:37.457Z] 339a4e72a1f5: Pull complete [2023-02-16T04:08:37.457Z] 988bab9f4d93: Pull complete [2023-02-16T04:08:37.717Z] 1469e6f7b9e6: Pull complete [2023-02-16T04:08:37.977Z] eaf3925da568: Pull complete [2023-02-16T04:08:39.902Z] bab4dde63d76: Pull complete [2023-02-16T04:08:39.902Z] bde34c3a00c8: Pull complete [2023-02-16T04:08:39.902Z] b352a97aabf1: Pull complete [2023-02-16T04:08:39.902Z] 4872d77fe225: Pull complete [2023-02-16T04:08:39.902Z] 5851b861e8e6: Pull complete [2023-02-16T04:08:39.902Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-16T04:08:39.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T04:08:39.902Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T04:08:40.011Z] prd-ubuntu20.04-docker-8c-8g-6255 does not seem to be running inside a container [2023-02-16T04:08:40.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@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-devops/py-git-semver:0.1.4 cat [2023-02-16T04:08:41.969Z] $ docker top 3915186e2c4c8db5e322369839659da7aa216bd717d5e20e71d85ff3b588bf29 -eo pid,comm [2023-02-16T04:08:42.020Z] 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-16T04:08:42.020Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-16T04:08:42.058Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T04:08:42.058Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T04:08:42.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T04:08:42.179Z] $ docker exec 3915186e2c4c8db5e322369839659da7aa216bd717d5e20e71d85ff3b588bf29 ssh-agent [2023-02-16T04:08:42.301Z] SSH_AUTH_SOCK=/tmp/ssh-cMdaKHOcmIbo/agent.32 [2023-02-16T04:08:42.301Z] SSH_AGENT_PID=38 [2023-02-16T04:08:42.420Z] Running ssh-add (command line suppressed) [2023-02-16T04:08:42.516Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_17292189225200333758.key (/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_17292189225200333758.key) [2023-02-16T04:08:42.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T04:08:42.822Z] + git tag --points-at HEAD [Pipeline] } [2023-02-16T04:08:42.838Z] $ docker exec --env ******** --env ******** 3915186e2c4c8db5e322369839659da7aa216bd717d5e20e71d85ff3b588bf29 ssh-agent -k [2023-02-16T04:08:42.940Z] unset SSH_AUTH_SOCK; [2023-02-16T04:08:42.941Z] unset SSH_AGENT_PID; [2023-02-16T04:08:42.941Z] echo Agent pid 38 killed; [2023-02-16T04:08:42.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-16T04:08:42.972Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T04:08:42.972Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T04:08:43.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T04:08:43.095Z] $ docker exec 3915186e2c4c8db5e322369839659da7aa216bd717d5e20e71d85ff3b588bf29 ssh-agent [2023-02-16T04:08:43.197Z] SSH_AUTH_SOCK=/tmp/ssh-0CIIBL0yN089/agent.71 [2023-02-16T04:08:43.197Z] SSH_AGENT_PID=77 [2023-02-16T04:08:43.201Z] Running ssh-add (command line suppressed) [2023-02-16T04:08:43.326Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_15512171819016135197.key (/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_15512171819016135197.key) [2023-02-16T04:08:43.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T04:08:43.621Z] + git semver init [2023-02-16T04:08:43.881Z] 2023-02-16 04:08:43,830 [run_init] DEBUG init version:0.0.0 force:False [2023-02-16T04:08:43.881Z] 2023-02-16 04:08:43,831 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver [2023-02-16T04:08:43.881Z] 2023-02-16 04:08:43,831 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver [2023-02-16T04:08:43.881Z] 2023-02-16 04:08:43,831 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325, universal_newlines=False, shell=None, istream=None) [2023-02-16T04:08:44.820Z] 2023-02-16 04:08:44,810 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.git/info/exclude [2023-02-16T04:08:44.820Z] 2023-02-16 04:08:44,811 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 with force:False [2023-02-16T04:08:44.820Z] 2023-02-16 04:08:44,811 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 [2023-02-16T04:08:44.820Z] 2023-02-16 04:08:44,816 [execute] INFO git cat-file --batch-check [2023-02-16T04:08:44.820Z] 2023-02-16 04:08:44,816 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T04:08:45.078Z] 2023-02-16 04:08:44,823 [execute] INFO git cat-file --batch [2023-02-16T04:08:45.078Z] 2023-02-16 04:08:44,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T04:08:45.078Z] 2023-02-16 04:08:44,829 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 [2023-02-16T04:08:45.078Z] 0.0.0 [Pipeline] } [2023-02-16T04:08:45.090Z] $ docker exec --env ******** --env ******** 3915186e2c4c8db5e322369839659da7aa216bd717d5e20e71d85ff3b588bf29 ssh-agent -k [2023-02-16T04:08:45.186Z] unset SSH_AUTH_SOCK; [2023-02-16T04:08:45.187Z] unset SSH_AGENT_PID; [2023-02-16T04:08:45.187Z] echo Agent pid 77 killed; [2023-02-16T04:08:45.195Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T04:08:45.504Z] + git semver [Pipeline] } [2023-02-16T04:08:45.780Z] $ docker stop --time=1 3915186e2c4c8db5e322369839659da7aa216bd717d5e20e71d85ff3b588bf29 [2023-02-16T04:08:47.169Z] $ docker rm -f --volumes 3915186e2c4c8db5e322369839659da7aa216bd717d5e20e71d85ff3b588bf29 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T04:08:47.510Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-16T04:08:47.739Z] Stashed 1 file(s) [Pipeline] echo [2023-02-16T04:08:47.743Z] [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-16T04:08:47.875Z] provisioning config files... [2023-02-16T04:08:47.884Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config4552389605215656822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:08:48.180Z] ---> docker-login.sh [2023-02-16T04:08:48.180Z] nexus3.edgexfoundry.org:10001 [2023-02-16T04:08:48.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:08:48.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:08:48.180Z] Configure a credential helper to remove this warning. See [2023-02-16T04:08:48.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:08:48.180Z] [2023-02-16T04:08:48.180Z] Login Succeeded [2023-02-16T04:08:48.180Z] nexus3.edgexfoundry.org:10002 [2023-02-16T04:08:48.180Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:08:48.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:08:48.180Z] Configure a credential helper to remove this warning. See [2023-02-16T04:08:48.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:08:48.180Z] [2023-02-16T04:08:48.180Z] Login Succeeded [2023-02-16T04:08:48.180Z] nexus3.edgexfoundry.org:10003 [2023-02-16T04:08:48.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:08:48.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:08:48.441Z] Configure a credential helper to remove this warning. See [2023-02-16T04:08:48.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:08:48.441Z] [2023-02-16T04:08:48.441Z] Login Succeeded [2023-02-16T04:08:48.441Z] nexus3.edgexfoundry.org:10004 [2023-02-16T04:08:48.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:08:48.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:08:48.441Z] Configure a credential helper to remove this warning. See [2023-02-16T04:08:48.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:08:48.441Z] [2023-02-16T04:08:48.441Z] Login Succeeded [2023-02-16T04:08:48.441Z] docker.io [2023-02-16T04:08:48.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:08:48.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:08:48.700Z] Configure a credential helper to remove this warning. See [2023-02-16T04:08:48.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:08:48.700Z] [2023-02-16T04:08:48.700Z] Login Succeeded [2023-02-16T04:08:48.960Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T04:08:48.969Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T04:08:49.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T04:08:49.032Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T04:08:49.042Z] ========================================================= [2023-02-16T04:08:49.042Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-16T04:08:49.042Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:08:49.346Z] + 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-16T04:08:49.346Z] Sending build context to Docker daemon 10.53MB [2023-02-16T04:08:49.346Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T04:08:49.346Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-16T04:08:49.609Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-16T04:08:49.609Z] 213ec9aee27d: Pulling fs layer [2023-02-16T04:08:49.609Z] 4583459ba037: Pulling fs layer [2023-02-16T04:08:49.609Z] 93c1e223e6f2: Pulling fs layer [2023-02-16T04:08:49.609Z] 53926ce57604: Pulling fs layer [2023-02-16T04:08:49.609Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-16T04:08:49.609Z] 22ff95d597cd: Pulling fs layer [2023-02-16T04:08:49.609Z] 12d6caf4c0d1: Pulling fs layer [2023-02-16T04:08:49.609Z] 96b7cbca73a9: Pulling fs layer [2023-02-16T04:08:49.609Z] a7acece74701: Pulling fs layer [2023-02-16T04:08:49.609Z] 53926ce57604: Waiting [2023-02-16T04:08:49.609Z] 21b2b0c7a3f4: Waiting [2023-02-16T04:08:49.609Z] 22ff95d597cd: Waiting [2023-02-16T04:08:49.609Z] 12d6caf4c0d1: Waiting [2023-02-16T04:08:49.609Z] 96b7cbca73a9: Waiting [2023-02-16T04:08:49.609Z] a7acece74701: Waiting [2023-02-16T04:08:49.609Z] 93c1e223e6f2: Download complete [2023-02-16T04:08:49.609Z] 4583459ba037: Download complete [2023-02-16T04:08:49.609Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-16T04:08:49.609Z] 21b2b0c7a3f4: Download complete [2023-02-16T04:08:49.609Z] 22ff95d597cd: Verifying Checksum [2023-02-16T04:08:49.609Z] 22ff95d597cd: Download complete [2023-02-16T04:08:49.609Z] 213ec9aee27d: Verifying Checksum [2023-02-16T04:08:49.609Z] 213ec9aee27d: Download complete [2023-02-16T04:08:49.609Z] 12d6caf4c0d1: Verifying Checksum [2023-02-16T04:08:49.609Z] 12d6caf4c0d1: Download complete [2023-02-16T04:08:49.876Z] 213ec9aee27d: Pull complete [2023-02-16T04:08:50.141Z] 4583459ba037: Pull complete [2023-02-16T04:08:50.141Z] 93c1e223e6f2: Pull complete [2023-02-16T04:08:50.764Z] a7acece74701: Verifying Checksum [2023-02-16T04:08:50.764Z] a7acece74701: Download complete [2023-02-16T04:08:51.030Z] 53926ce57604: Verifying Checksum [2023-02-16T04:08:51.030Z] 53926ce57604: Download complete [2023-02-16T04:08:51.289Z] 96b7cbca73a9: Verifying Checksum [2023-02-16T04:08:51.289Z] 96b7cbca73a9: Download complete [2023-02-16T04:08:55.479Z] 53926ce57604: Pull complete [2023-02-16T04:08:55.479Z] 21b2b0c7a3f4: Pull complete [2023-02-16T04:08:55.479Z] 22ff95d597cd: Pull complete [2023-02-16T04:08:55.479Z] 12d6caf4c0d1: Pull complete [2023-02-16T04:08:57.381Z] 96b7cbca73a9: Pull complete [2023-02-16T04:08:58.317Z] a7acece74701: Pull complete [2023-02-16T04:08:58.317Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-16T04:08:58.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-16T04:08:58.317Z] ---> db6d94c90886 [2023-02-16T04:08:58.317Z] Step 3/10 : ARG MAKE=make build [2023-02-16T04:09:00.853Z] ---> Running in 3bfd949b52b2 [2023-02-16T04:09:00.853Z] Removing intermediate container 3bfd949b52b2 [2023-02-16T04:09:00.853Z] ---> b2f2b2a9b1db [2023-02-16T04:09:00.853Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-16T04:09:00.853Z] ---> Running in d36acb67a43d [2023-02-16T04:09:01.113Z] Removing intermediate container d36acb67a43d [2023-02-16T04:09:01.113Z] ---> b74faeb5dc11 [2023-02-16T04:09:01.113Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T04:09:01.113Z] ---> Running in 71f40fc1bc96 [2023-02-16T04:09:01.113Z] Removing intermediate container 71f40fc1bc96 [2023-02-16T04:09:01.113Z] ---> 8e29b6ef389e [2023-02-16T04:09:01.113Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-16T04:09:01.371Z] ---> Running in 61d5c8ad0395 [2023-02-16T04:09:01.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T04:09:01.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T04:09:01.889Z] OK: 211 MiB in 51 packages [2023-02-16T04:09:02.458Z] Removing intermediate container 61d5c8ad0395 [2023-02-16T04:09:02.458Z] ---> 6269efbeffa2 [2023-02-16T04:09:02.458Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-16T04:09:02.458Z] ---> 8509ef8ad513 [2023-02-16T04:09:02.458Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T04:09:02.458Z] ---> Running in 5538a1eb6e25 [2023-02-16T04:09:02.835Z] Still waiting to schedule task [2023-02-16T04:09:02.836Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-16T04:09:41.188Z] Removing intermediate container 5538a1eb6e25 [2023-02-16T04:09:41.188Z] ---> b4b837fd7e7b [2023-02-16T04:09:41.188Z] Step 9/10 : COPY . . [2023-02-16T04:09:41.188Z] ---> c6f0f36b4818 [2023-02-16T04:09:41.188Z] Step 10/10 : RUN ${MAKE} [2023-02-16T04:09:41.188Z] ---> Running in 4ecd1cbefe43 [2023-02-16T04:09:41.188Z] noop [2023-02-16T04:09:41.447Z] Removing intermediate container 4ecd1cbefe43 [2023-02-16T04:09:41.447Z] ---> 5efce700dd5d [2023-02-16T04:09:41.447Z] Successfully built 5efce700dd5d [2023-02-16T04:09:41.447Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:09:41.754Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T04:09:41.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T04:09:41.818Z] prd-ubuntu20.04-docker-8c-8g-6255 does not seem to be running inside a container [2023-02-16T04:09:41.848Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-16T04:09:42.201Z] $ docker top 77398541c52a26df4920f6d8e8c1dea1d88ba344672bfb7ee871a92e2ba7179c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T04:09:42.543Z] + go version [2023-02-16T04:09:42.543Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-16T04:09:42.558Z] $ docker stop --time=1 77398541c52a26df4920f6d8e8c1dea1d88ba344672bfb7ee871a92e2ba7179c [2023-02-16T04:09:43.903Z] $ docker rm -f --volumes 77398541c52a26df4920f6d8e8c1dea1d88ba344672bfb7ee871a92e2ba7179c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:09:44.285Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T04:09:44.285Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T04:09:44.350Z] prd-ubuntu20.04-docker-8c-8g-6255 does not seem to be running inside a container [2023-02-16T04:09:44.383Z] $ 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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-16T04:09:44.752Z] $ docker top 87f81a4bd22d01a02b00014fc2f227fbf5bd08cf591d2e6934dba36815577a26 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T04:09:45.105Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1325 [Pipeline] fileExists [Pipeline] sh [2023-02-16T04:09:45.405Z] + make test [2023-02-16T04:09:45.405Z] go test -race -coverprofile=coverage.out ./... [2023-02-16T04:09:50.673Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-16T04:10:02.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-16T04:10:02.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-16T04:10:02.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-16T04:10:02.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-16T04:10:02.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-16T04:10:02.863Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements [2023-02-16T04:10:02.863Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.055s coverage: 78.9% of statements [2023-02-16T04:10:02.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-16T04:10:02.863Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.091s coverage: 77.8% of statements [2023-02-16T04:10:02.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-16T04:10:02.863Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-16T04:10:03.427Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 74.7% of statements [2023-02-16T04:10:03.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-16T04:10:06.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 15.5% of statements [2023-02-16T04:10:06.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-16T04:10:06.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.082s coverage: 65.2% of statements [2023-02-16T04:10:06.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-16T04:10:06.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-16T04:10:06.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.712s coverage: 89.2% of statements [2023-02-16T04:10:06.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-16T04:10:06.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.6% of statements [2023-02-16T04:10:06.711Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-16T04:10:21.586Z] 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-16T04:10:21.586Z] GO111MODULE=on go vet ./... [2023-02-16T04:10:22.959Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T04:10:22.959Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T04:10:22.959Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-16T04:10:22.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T04:10:22.986Z] $ docker stop --time=1 87f81a4bd22d01a02b00014fc2f227fbf5bd08cf591d2e6934dba36815577a26 [2023-02-16T04:10:25.239Z] $ docker rm -f --volumes 87f81a4bd22d01a02b00014fc2f227fbf5bd08cf591d2e6934dba36815577a26 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T04:10:25.713Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T04:10:25.781Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-16T04:10:26.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T04:10:26.587Z] + ls -al . [2023-02-16T04:10:26.587Z] total 284 [2023-02-16T04:10:26.587Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 16 04:09 . [2023-02-16T04:10:26.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 04:08 .. [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 04:08 .dockerignore [2023-02-16T04:10:26.587Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 04:10 .git [2023-02-16T04:10:26.587Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 04:08 .github [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 16 04:08 .gitignore [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 04:08 .golangci.yml [2023-02-16T04:10:26.587Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 04:08 .semver [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 16 04:08 CHANGELOG.md [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 04:08 GOVERNANCE.md [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 16 04:08 Jenkinsfile [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 16 04:08 LICENSE [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 16 04:08 Makefile [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 16 04:08 OWNERS.md [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 16 04:08 README.md [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 04:08 VERSION [2023-02-16T04:10:26.587Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 04:08 bin [2023-02-16T04:10:26.587Z] -rw-r--r-- 1 jenkins jenkins 111216 Feb 16 04:10 coverage.out [2023-02-16T04:10:26.587Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 16 04:08 example [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 16 04:08 go.mod [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 16 04:08 go.sum [2023-02-16T04:10:26.587Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 16 04:08 internal [2023-02-16T04:10:26.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 04:08 openapi [2023-02-16T04:10:26.587Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 16 04:08 pkg [2023-02-16T04:10:26.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 04:08 snap [2023-02-16T04:10:26.587Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 16 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:10:26.888Z] + 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=4beef8a598f213c19e1bd7092db2f243fd3239a4 --label arch=amd64 --label version=0.0.0 . [2023-02-16T04:10:26.888Z] Sending build context to Docker daemon 10.64MB [2023-02-16T04:10:26.888Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T04:10:26.888Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-16T04:10:26.888Z] ---> 5efce700dd5d [2023-02-16T04:10:26.888Z] Step 3/23 : ARG MAKE=make build [2023-02-16T04:10:26.888Z] ---> Running in ea53771fcf46 [2023-02-16T04:10:27.152Z] Removing intermediate container ea53771fcf46 [2023-02-16T04:10:27.152Z] ---> bdd127495d8d [2023-02-16T04:10:27.152Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-16T04:10:27.152Z] ---> Running in 0cba26933538 [2023-02-16T04:10:27.153Z] Removing intermediate container 0cba26933538 [2023-02-16T04:10:27.153Z] ---> af71a8c7b8b1 [2023-02-16T04:10:27.153Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T04:10:27.153Z] ---> Running in 8659ae81f738 [2023-02-16T04:10:27.412Z] Removing intermediate container 8659ae81f738 [2023-02-16T04:10:27.412Z] ---> c8aa7d9c34a7 [2023-02-16T04:10:27.412Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-16T04:10:27.412Z] ---> Running in 0d86a7cf6d8d [2023-02-16T04:10:27.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T04:10:27.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T04:10:27.930Z] OK: 211 MiB in 51 packages [2023-02-16T04:10:28.497Z] Removing intermediate container 0d86a7cf6d8d [2023-02-16T04:10:28.497Z] ---> 8e0b57ee30d3 [2023-02-16T04:10:28.497Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-16T04:10:28.497Z] ---> 26d4c74dc4ac [2023-02-16T04:10:28.497Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T04:10:28.497Z] ---> Running in d42f4644dabc [2023-02-16T04:10:29.433Z] Removing intermediate container d42f4644dabc [2023-02-16T04:10:29.433Z] ---> 5c3de6107522 [2023-02-16T04:10:29.433Z] Step 9/23 : COPY . . [2023-02-16T04:10:29.691Z] ---> 236372515ff2 [2023-02-16T04:10:29.691Z] Step 10/23 : RUN ${MAKE} [2023-02-16T04:10:29.948Z] ---> Running in 7218caac1316 [2023-02-16T04:10:30.205Z] 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-16T04:10:32.777Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6256 in /w/workspace/gexfoundry_device-sdk-go_PR-1325 [Pipeline] { [Pipeline] ws [2023-02-16T04:10:32.789Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-02-16T04:10:32.821Z] The recommended git tool is: git [2023-02-16T04:10:37.873Z] using credential edgex-jenkins-ssh [2023-02-16T04:10:37.897Z] Cloning the remote Git repository [2023-02-16T04:10:37.946Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-16T04:10:38.023Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-02-16T04:10:38.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-16T04:10:38.210Z] > git --version # timeout=10 [2023-02-16T04:10:38.231Z] > git --version # 'git version 2.25.1' [2023-02-16T04:10:38.234Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T04:10:38.299Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T04:10:39.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-16T04:10:39.865Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T04:10:41.459Z] Merging remotes/origin/main commit cf150bd1006c505b2559d8970edbe52dd5fe7567 into PR head commit 4beef8a598f213c19e1bd7092db2f243fd3239a4 [2023-02-16T04:10:40.694Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-16T04:10:40.733Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-16T04:10:40.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T04:10:40.747Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1325/head:refs/remotes/origin/PR-1325 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-16T04:10:41.484Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T04:10:41.516Z] > git checkout -f 4beef8a598f213c19e1bd7092db2f243fd3239a4 # timeout=10 [2023-02-16T04:10:41.723Z] Merge succeeded, producing 4beef8a598f213c19e1bd7092db2f243fd3239a4 [2023-02-16T04:10:41.724Z] Checking out Revision 4beef8a598f213c19e1bd7092db2f243fd3239a4 (PR-1325) [2023-02-16T04:10:41.632Z] > git remote # timeout=10 [2023-02-16T04:10:41.652Z] > git config --get remote.origin.url # timeout=10 [2023-02-16T04:10:41.668Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T04:10:41.681Z] > git merge cf150bd1006c505b2559d8970edbe52dd5fe7567 # timeout=10 [2023-02-16T04:10:41.704Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-16T04:10:41.734Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T04:10:41.752Z] > git checkout -f 4beef8a598f213c19e1bd7092db2f243fd3239a4 # timeout=10 [2023-02-16T04:10:45.260Z] Commit message: "feat!: replace REST device validation callback with MessageBus" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T04:10:46.111Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-16T04:10:46.111Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T04:10:46.111Z] Dload Upload Total Spent Left Speed [2023-02-16T04:10:46.111Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-02-16T04:10:46.927Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-16T04:10:47.266Z] + sudo tee /etc/docker/daemon.new [2023-02-16T04:10:47.266Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-16T04:10:47.266Z] { [2023-02-16T04:10:47.266Z] "registry-mirrors": [ [2023-02-16T04:10:47.266Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-16T04:10:47.266Z] ], [2023-02-16T04:10:47.266Z] "bip": "10.250.0.254/24", [2023-02-16T04:10:47.266Z] "hosts": [ [2023-02-16T04:10:47.266Z] "tcp://0.0.0.0:5555", [2023-02-16T04:10:47.266Z] "unix:///var/run/docker.sock" [2023-02-16T04:10:47.266Z] ], [2023-02-16T04:10:47.266Z] "mtu": 1458, [2023-02-16T04:10:47.266Z] "selinux-enabled": true, [2023-02-16T04:10:47.266Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-16T04:10:47.266Z] } [Pipeline] sh [2023-02-16T04:10:47.597Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-16T04:10:47.929Z] + sudo service docker restart [2023-02-16T04:10:48.316Z] Removing intermediate container 7218caac1316 [2023-02-16T04:10:48.316Z] ---> b67683530dbe [2023-02-16T04:10:48.316Z] Step 11/23 : FROM alpine:3.16 [2023-02-16T04:10:48.316Z] 3.16: Pulling from library/alpine [2023-02-16T04:10:48.316Z] ef5531b6e74e: Pulling fs layer [2023-02-16T04:10:48.316Z] ef5531b6e74e: Download complete [2023-02-16T04:10:48.316Z] ef5531b6e74e: Pull complete [2023-02-16T04:10:48.316Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T04:10:48.316Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T04:10:48.316Z] ---> dfd21b5a31f5 [2023-02-16T04:10:48.316Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-16T04:10:48.596Z] ---> Running in 6caf10ec5b36 [2023-02-16T04:10:48.854Z] Removing intermediate container 6caf10ec5b36 [2023-02-16T04:10:48.854Z] ---> 06a3cb9f8f36 [2023-02-16T04:10:48.854Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-16T04:10:48.854Z] ---> Running in eee266e41deb [2023-02-16T04:10:49.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T04:10:49.368Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T04:10:49.630Z] OK: 6 MiB in 14 packages [2023-02-16T04:10:49.888Z] Removing intermediate container eee266e41deb [2023-02-16T04:10:49.888Z] ---> ea262072bfec [2023-02-16T04:10:49.888Z] Step 14/23 : WORKDIR / [2023-02-16T04:10:49.888Z] ---> Running in 81fc51ca121f [2023-02-16T04:10:50.146Z] Removing intermediate container 81fc51ca121f [2023-02-16T04:10:50.146Z] ---> 5652faec56a7 [2023-02-16T04:10:50.146Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-16T04:10:50.146Z] ---> 6ad3e1580f23 [2023-02-16T04:10:50.146Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-16T04:10:50.717Z] ---> 08c1c648483f [2023-02-16T04:10:50.717Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-16T04:10:50.976Z] ---> c135d4a942b1 [2023-02-16T04:10:50.976Z] Step 18/23 : EXPOSE 59999 [2023-02-16T04:10:50.976Z] ---> Running in e98bf27bf781 [2023-02-16T04:10:50.976Z] Removing intermediate container e98bf27bf781 [2023-02-16T04:10:50.976Z] ---> 27d0c376b85a [2023-02-16T04:10:50.976Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-16T04:10:50.976Z] ---> Running in 9e59866e507c [2023-02-16T04:10:51.234Z] Removing intermediate container 9e59866e507c [2023-02-16T04:10:51.234Z] ---> f583fddc5018 [2023-02-16T04:10:51.234Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-16T04:10:51.234Z] ---> Running in 74fa22f2f186 [2023-02-16T04:10:51.234Z] Removing intermediate container 74fa22f2f186 [2023-02-16T04:10:51.234Z] ---> fed126f3a8cf [2023-02-16T04:10:51.234Z] Step 21/23 : LABEL arch=amd64 [2023-02-16T04:10:51.234Z] ---> Running in e3c728a75f0b [2023-02-16T04:10:51.492Z] Removing intermediate container e3c728a75f0b [2023-02-16T04:10:51.492Z] ---> b2226b0fcc34 [2023-02-16T04:10:51.492Z] Step 22/23 : LABEL git_sha=4beef8a598f213c19e1bd7092db2f243fd3239a4 [2023-02-16T04:10:51.492Z] ---> Running in 401509f3a1aa [2023-02-16T04:10:51.492Z] Removing intermediate container 401509f3a1aa [2023-02-16T04:10:51.492Z] ---> 5c18ddfa6210 [2023-02-16T04:10:51.492Z] Step 23/23 : LABEL version=0.0.0 [2023-02-16T04:10:51.492Z] ---> Running in 906ff30500d5 [2023-02-16T04:10:51.749Z] Removing intermediate container 906ff30500d5 [2023-02-16T04:10:51.749Z] ---> 4f7adec8ea55 [2023-02-16T04:10:51.749Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T04:10:51.749Z] Successfully built 4f7adec8ea55 [2023-02-16T04:10:51.749Z] 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-16T04:10:52.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T04:10:52.170Z] [2023-02-16T04:10:52.170Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:10:52.480Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T04:10:52.480Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-16T04:10:52.480Z] 5eb5b503b376: Pulling fs layer [2023-02-16T04:10:52.480Z] 5c69ac0246d0: Pulling fs layer [2023-02-16T04:10:52.480Z] ec43610c2a17: Pulling fs layer [2023-02-16T04:10:52.480Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-16T04:10:52.480Z] 33b1e0a273af: Pulling fs layer [2023-02-16T04:10:52.480Z] 5d3b04190fa2: Pulling fs layer [2023-02-16T04:10:52.480Z] 2f39f015ded8: Pulling fs layer [2023-02-16T04:10:52.480Z] 3a2ae6a8a46f: Waiting [2023-02-16T04:10:52.480Z] 33b1e0a273af: Waiting [2023-02-16T04:10:52.480Z] 5d3b04190fa2: Waiting [2023-02-16T04:10:52.480Z] 5c69ac0246d0: Download complete [2023-02-16T04:10:52.480Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-16T04:10:52.480Z] 3a2ae6a8a46f: Download complete [2023-02-16T04:10:52.745Z] 33b1e0a273af: Verifying Checksum [2023-02-16T04:10:52.745Z] 33b1e0a273af: Download complete [2023-02-16T04:10:52.745Z] 5d3b04190fa2: Verifying Checksum [2023-02-16T04:10:52.745Z] 5d3b04190fa2: Download complete [2023-02-16T04:10:52.745Z] ec43610c2a17: Verifying Checksum [2023-02-16T04:10:52.745Z] ec43610c2a17: Download complete [2023-02-16T04:10:53.005Z] 5eb5b503b376: Verifying Checksum [2023-02-16T04:10:53.005Z] 5eb5b503b376: Download complete [2023-02-16T04:10:54.419Z] 5eb5b503b376: Pull complete [2023-02-16T04:10:54.419Z] 5c69ac0246d0: Pull complete [2023-02-16T04:10:54.677Z] ec43610c2a17: Pull complete [2023-02-16T04:10:54.677Z] 3a2ae6a8a46f: Pull complete [2023-02-16T04:10:54.935Z] 33b1e0a273af: Pull complete [2023-02-16T04:10:54.936Z] 5d3b04190fa2: Pull complete [2023-02-16T04:10:59.123Z] 2f39f015ded8: Pull complete [2023-02-16T04:10:59.123Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-16T04:10:59.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T04:10:59.123Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T04:10:59.198Z] prd-ubuntu20.04-docker-8c-8g-6255 does not seem to be running inside a container [2023-02-16T04:10:59.239Z] $ 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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-16T04:11:01.147Z] $ docker top 35e016fe843faa015055e5b4912eadf7225d690656dca4512deba233d4256921 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:11:01.527Z] ---> job-cost.sh [2023-02-16T04:11:01.527Z] lf-activate-venv: SKIPPING [2023-02-16T04:11:01.527Z] INFO: No Stack... [2023-02-16T04:11:01.786Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T04:11:02.045Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T04:11:02.331Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/cost.csv [2023-02-16T04:11:02.331Z] + cut -d, -f6 [Pipeline] lock [2023-02-16T04:11:02.346Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1325-3-stack-cost] [2023-02-16T04:11:02.351Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-3-stack-cost] did not exist. Created. [2023-02-16T04:11:02.351Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1325-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T04:11:02.646Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-16T04:11:02.671Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T04:11:02.676Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T04:11:02.695Z] $ docker stop --time=1 35e016fe843faa015055e5b4912eadf7225d690656dca4512deba233d4256921 [2023-02-16T04:11:03.866Z] $ docker rm -f --volumes 35e016fe843faa015055e5b4912eadf7225d690656dca4512deba233d4256921 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T04:11:06.183Z] provisioning config files... [2023-02-16T04:11:06.211Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config937409003547982317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:11:06.558Z] ---> docker-login.sh [2023-02-16T04:11:06.558Z] nexus3.edgexfoundry.org:10001 [2023-02-16T04:11:06.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:11:07.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:11:07.093Z] Configure a credential helper to remove this warning. See [2023-02-16T04:11:07.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:11:07.093Z] [2023-02-16T04:11:07.093Z] Login Succeeded [2023-02-16T04:11:07.093Z] nexus3.edgexfoundry.org:10002 [2023-02-16T04:11:07.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:11:07.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:11:07.629Z] Configure a credential helper to remove this warning. See [2023-02-16T04:11:07.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:11:07.629Z] [2023-02-16T04:11:07.629Z] Login Succeeded [2023-02-16T04:11:07.629Z] nexus3.edgexfoundry.org:10003 [2023-02-16T04:11:07.897Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:11:07.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:11:07.897Z] Configure a credential helper to remove this warning. See [2023-02-16T04:11:07.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:11:07.897Z] [2023-02-16T04:11:07.897Z] Login Succeeded [2023-02-16T04:11:07.897Z] nexus3.edgexfoundry.org:10004 [2023-02-16T04:11:08.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:11:08.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:11:08.171Z] Configure a credential helper to remove this warning. See [2023-02-16T04:11:08.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:11:08.171Z] [2023-02-16T04:11:08.171Z] Login Succeeded [2023-02-16T04:11:08.171Z] docker.io [2023-02-16T04:11:08.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T04:11:08.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T04:11:08.709Z] Configure a credential helper to remove this warning. See [2023-02-16T04:11:08.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T04:11:08.709Z] [2023-02-16T04:11:08.709Z] Login Succeeded [2023-02-16T04:11:08.709Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T04:11:08.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T04:11:08.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T04:11:08.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T04:11:08.977Z] ========================================================= [2023-02-16T04:11:08.977Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-16T04:11:08.977Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:11:09.313Z] + 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-16T04:11:09.581Z] Sending build context to Docker daemon 5.666MB [2023-02-16T04:11:09.581Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T04:11:09.582Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-16T04:11:09.849Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-16T04:11:09.849Z] 9b18e9b68314: Pulling fs layer [2023-02-16T04:11:09.849Z] 35d82f9e3411: Pulling fs layer [2023-02-16T04:11:09.849Z] e16973657156: Pulling fs layer [2023-02-16T04:11:09.849Z] fc693d55d65f: Pulling fs layer [2023-02-16T04:11:09.849Z] 7e9fc2657dce: Pulling fs layer [2023-02-16T04:11:09.849Z] dda99020689f: Pulling fs layer [2023-02-16T04:11:09.849Z] db1c61fa0a46: Pulling fs layer [2023-02-16T04:11:09.849Z] 891c053d2c06: Pulling fs layer [2023-02-16T04:11:09.849Z] dda99020689f: Waiting [2023-02-16T04:11:09.849Z] db1c61fa0a46: Waiting [2023-02-16T04:11:09.849Z] 891c053d2c06: Waiting [2023-02-16T04:11:09.849Z] fc693d55d65f: Waiting [2023-02-16T04:11:09.849Z] 7e9fc2657dce: Waiting [2023-02-16T04:11:09.849Z] e16973657156: Verifying Checksum [2023-02-16T04:11:09.849Z] e16973657156: Download complete [2023-02-16T04:11:09.849Z] 35d82f9e3411: Download complete [2023-02-16T04:11:09.849Z] 7e9fc2657dce: Verifying Checksum [2023-02-16T04:11:09.849Z] 7e9fc2657dce: Download complete [2023-02-16T04:11:09.849Z] dda99020689f: Verifying Checksum [2023-02-16T04:11:09.849Z] dda99020689f: Download complete [2023-02-16T04:11:09.849Z] 9b18e9b68314: Verifying Checksum [2023-02-16T04:11:11.278Z] 891c053d2c06: Verifying Checksum [2023-02-16T04:11:11.278Z] 891c053d2c06: Download complete [2023-02-16T04:11:12.259Z] db1c61fa0a46: Verifying Checksum [2023-02-16T04:11:12.259Z] db1c61fa0a46: Download complete [2023-02-16T04:11:12.260Z] 9b18e9b68314: Pull complete [2023-02-16T04:11:12.529Z] 35d82f9e3411: Pull complete [2023-02-16T04:11:12.799Z] fc693d55d65f: Verifying Checksum [2023-02-16T04:11:12.799Z] fc693d55d65f: Download complete [2023-02-16T04:11:12.799Z] e16973657156: Pull complete [2023-02-16T04:11:25.147Z] fc693d55d65f: Pull complete [2023-02-16T04:11:25.147Z] 7e9fc2657dce: Pull complete [2023-02-16T04:11:25.147Z] dda99020689f: Pull complete [2023-02-16T04:11:31.810Z] db1c61fa0a46: Pull complete [2023-02-16T04:11:33.761Z] 891c053d2c06: Pull complete [2023-02-16T04:11:33.761Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-16T04:11:33.761Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-16T04:11:33.761Z] ---> f96f9c87975a [2023-02-16T04:11:33.761Z] Step 3/10 : ARG MAKE=make build [2023-02-16T04:11:35.172Z] ---> Running in ba4b6e3fc564 [2023-02-16T04:11:35.451Z] Removing intermediate container ba4b6e3fc564 [2023-02-16T04:11:35.451Z] ---> 7a5674fb9d18 [2023-02-16T04:11:35.451Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-16T04:11:35.719Z] ---> Running in 04b149d697f6 [2023-02-16T04:11:35.988Z] Removing intermediate container 04b149d697f6 [2023-02-16T04:11:35.988Z] ---> 34cf43b136d0 [2023-02-16T04:11:35.988Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T04:11:35.988Z] ---> Running in 2236e93772ce [2023-02-16T04:11:36.258Z] Removing intermediate container 2236e93772ce [2023-02-16T04:11:36.258Z] ---> 444611ad005b [2023-02-16T04:11:36.258Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-16T04:11:36.527Z] ---> Running in 11ed5234f83b [2023-02-16T04:11:37.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T04:11:37.756Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T04:11:38.718Z] OK: 221 MiB in 51 packages [2023-02-16T04:11:39.681Z] Removing intermediate container 11ed5234f83b [2023-02-16T04:11:39.681Z] ---> 831dd377f337 [2023-02-16T04:11:39.682Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-16T04:11:40.267Z] ---> 2e9b9cc423ab [2023-02-16T04:11:40.267Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T04:11:40.267Z] ---> Running in c07572f77e73 [2023-02-16T04:12:48.171Z] Removing intermediate container c07572f77e73 [2023-02-16T04:12:48.171Z] ---> 24c500d5d89d [2023-02-16T04:12:48.171Z] Step 9/10 : COPY . . [2023-02-16T04:12:48.171Z] ---> 8645c3180dd1 [2023-02-16T04:12:48.171Z] Step 10/10 : RUN ${MAKE} [2023-02-16T04:12:48.171Z] ---> Running in 5b574b583e95 [2023-02-16T04:12:48.171Z] noop [2023-02-16T04:12:48.171Z] Removing intermediate container 5b574b583e95 [2023-02-16T04:12:48.171Z] ---> d4df435522c6 [2023-02-16T04:12:48.171Z] Successfully built d4df435522c6 [2023-02-16T04:12:48.171Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:12:48.538Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T04:12:48.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T04:12:48.732Z] prd-ubuntu20.04-docker-arm64-4c-16g-6256 does not seem to be running inside a container [2023-02-16T04:12:48.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-16T04:12:50.036Z] $ docker top 1e253fafdf53d4d58082403ae469cc02736aad55345653b172c4205384f7fb62 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T04:12:50.861Z] + go version [2023-02-16T04:12:50.861Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-16T04:12:50.880Z] $ docker stop --time=1 1e253fafdf53d4d58082403ae469cc02736aad55345653b172c4205384f7fb62 [2023-02-16T04:12:52.491Z] $ docker rm -f --volumes 1e253fafdf53d4d58082403ae469cc02736aad55345653b172c4205384f7fb62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:12:53.035Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T04:12:53.035Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T04:12:53.214Z] prd-ubuntu20.04-docker-arm64-4c-16g-6256 does not seem to be running inside a container [2023-02-16T04:12:53.288Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-16T04:12:54.552Z] $ docker top 7e1cc245d32b822239e9e82dcc14bf882e90bb9dfd4433bf2c24237867835e45 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T04:12:55.068Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-02-16T04:12:55.724Z] + make test [2023-02-16T04:12:55.725Z] go test -race -coverprofile=coverage.out ./... [2023-02-16T04:13:27.961Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-16T04:15:19.656Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-16T04:15:19.656Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-16T04:15:19.656Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-16T04:15:19.656Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-16T04:15:19.656Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-16T04:15:21.612Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.346s coverage: 27.6% of statements [2023-02-16T04:15:23.584Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.464s coverage: 78.9% of statements [2023-02-16T04:15:23.584Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-16T04:15:27.844Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.354s coverage: 77.8% of statements [2023-02-16T04:15:27.844Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-16T04:15:27.844Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-16T04:15:28.805Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.488s coverage: 74.7% of statements [2023-02-16T04:15:28.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-16T04:15:28.805Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.351s coverage: 15.5% of statements [2023-02-16T04:15:28.805Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-16T04:15:30.213Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.432s coverage: 65.2% of statements [2023-02-16T04:15:30.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-16T04:15:30.213Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-16T04:15:34.465Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.901s coverage: 89.2% of statements [2023-02-16T04:15:34.465Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-16T04:15:34.465Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.242s coverage: 4.6% of statements [2023-02-16T04:15:34.465Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-16T04:15:35.052Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-16T04:15:35.052Z] GO111MODULE=on go vet ./... [2023-02-16T04:17:11.705Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T04:17:11.705Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T04:17:11.705Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-16T04:17:11.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T04:17:11.726Z] $ docker stop --time=1 7e1cc245d32b822239e9e82dcc14bf882e90bb9dfd4433bf2c24237867835e45 [2023-02-16T04:17:13.443Z] $ docker rm -f --volumes 7e1cc245d32b822239e9e82dcc14bf882e90bb9dfd4433bf2c24237867835e45 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T04:17:14.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T04:17:14.705Z] Warning: overwriting stash ‘coverage-report’ [2023-02-16T04:17:15.179Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T04:17:15.540Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T04:17:15.851Z] + ls -al . [2023-02-16T04:17:15.851Z] total 280 [2023-02-16T04:17:15.851Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 04:12 . [2023-02-16T04:17:15.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 04:10 .. [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 16 04:10 .dockerignore [2023-02-16T04:17:15.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 04:10 .git [2023-02-16T04:17:15.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 04:10 .github [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 16 04:10 .gitignore [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 16 04:10 .golangci.yml [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 16 04:10 CHANGELOG.md [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 04:10 GOVERNANCE.md [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 16 04:10 Jenkinsfile [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 16 04:10 LICENSE [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 16 04:10 Makefile [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 16 04:10 OWNERS.md [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 16 04:10 README.md [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 16 04:08 VERSION [2023-02-16T04:17:15.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 04:10 bin [2023-02-16T04:17:15.851Z] -rw-r--r-- 1 jenkins jenkins 111215 Feb 16 04:15 coverage.out [2023-02-16T04:17:15.851Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 16 04:10 example [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 16 04:10 go.mod [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 16 04:10 go.sum [2023-02-16T04:17:15.851Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 16 04:10 internal [2023-02-16T04:17:15.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 04:10 openapi [2023-02-16T04:17:15.851Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 16 04:10 pkg [2023-02-16T04:17:15.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 04:10 snap [2023-02-16T04:17:15.851Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 16 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:17:16.182Z] + 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=4beef8a598f213c19e1bd7092db2f243fd3239a4 --label arch=arm64 --label version=0.0.0 . [2023-02-16T04:17:16.451Z] Sending build context to Docker daemon 5.778MB [2023-02-16T04:17:16.451Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T04:17:16.451Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-16T04:17:16.451Z] ---> d4df435522c6 [2023-02-16T04:17:16.451Z] Step 3/23 : ARG MAKE=make build [2023-02-16T04:17:16.791Z] ---> Running in f03be8adc3b5 [2023-02-16T04:17:17.064Z] Removing intermediate container f03be8adc3b5 [2023-02-16T04:17:17.064Z] ---> dd4d50ecbb67 [2023-02-16T04:17:17.064Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-16T04:17:17.064Z] ---> Running in e7d8badab74b [2023-02-16T04:17:17.336Z] Removing intermediate container e7d8badab74b [2023-02-16T04:17:17.336Z] ---> 65f1bb830666 [2023-02-16T04:17:17.336Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-16T04:17:17.336Z] ---> Running in ccfb47845bea [2023-02-16T04:17:17.615Z] Removing intermediate container ccfb47845bea [2023-02-16T04:17:17.615Z] ---> d5f7f147973e [2023-02-16T04:17:17.615Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-16T04:17:17.889Z] ---> Running in b3733977662a [2023-02-16T04:17:18.898Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T04:17:19.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T04:17:20.128Z] OK: 221 MiB in 51 packages [2023-02-16T04:17:20.712Z] Removing intermediate container b3733977662a [2023-02-16T04:17:20.712Z] ---> 09c0c03fd0bd [2023-02-16T04:17:20.712Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-16T04:17:21.300Z] ---> 4569f1bb5f23 [2023-02-16T04:17:21.300Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T04:17:21.300Z] ---> Running in 67f8683b380d [2023-02-16T04:17:23.892Z] Removing intermediate container 67f8683b380d [2023-02-16T04:17:23.892Z] ---> 356023dd7465 [2023-02-16T04:17:23.892Z] Step 9/23 : COPY . . [2023-02-16T04:17:25.313Z] ---> bfb59bd7c202 [2023-02-16T04:17:25.313Z] Step 10/23 : RUN ${MAKE} [2023-02-16T04:17:25.313Z] ---> Running in 1827d7d1a3ee [2023-02-16T04:17:25.901Z] 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-16T04:19:17.544Z] Removing intermediate container 1827d7d1a3ee [2023-02-16T04:19:17.544Z] ---> 9bd309e95cd1 [2023-02-16T04:19:17.544Z] Step 11/23 : FROM alpine:3.16 [2023-02-16T04:19:17.544Z] 3.16: Pulling from library/alpine [2023-02-16T04:19:17.544Z] 3760b48202b3: Pulling fs layer [2023-02-16T04:19:17.544Z] 3760b48202b3: Verifying Checksum [2023-02-16T04:19:17.544Z] 3760b48202b3: Download complete [2023-02-16T04:19:17.544Z] 3760b48202b3: Pull complete [2023-02-16T04:19:17.544Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T04:19:17.544Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T04:19:17.544Z] ---> 4c81e5bf8899 [2023-02-16T04:19:17.544Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-16T04:19:17.544Z] ---> Running in 90b5227f497c [2023-02-16T04:19:17.544Z] Removing intermediate container 90b5227f497c [2023-02-16T04:19:17.544Z] ---> 47d353b65e5c [2023-02-16T04:19:17.544Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-16T04:19:17.544Z] ---> Running in a913dcfe157d [2023-02-16T04:19:17.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T04:19:17.544Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T04:19:18.131Z] OK: 5 MiB in 14 packages [2023-02-16T04:19:20.701Z] Removing intermediate container a913dcfe157d [2023-02-16T04:19:20.701Z] ---> e6b8944b2c61 [2023-02-16T04:19:20.701Z] Step 14/23 : WORKDIR / [2023-02-16T04:19:20.701Z] ---> Running in fe1e5e6d9ce1 [2023-02-16T04:19:20.966Z] Removing intermediate container fe1e5e6d9ce1 [2023-02-16T04:19:20.966Z] ---> b3f6334a87f4 [2023-02-16T04:19:20.966Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-16T04:19:21.546Z] ---> e21f33d7cc80 [2023-02-16T04:19:21.546Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-16T04:19:22.500Z] ---> 80f726314ec2 [2023-02-16T04:19:22.500Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-16T04:19:23.079Z] ---> bc6708b5bc02 [2023-02-16T04:19:23.079Z] Step 18/23 : EXPOSE 59999 [2023-02-16T04:19:23.079Z] ---> Running in 3f49ac770625 [2023-02-16T04:19:23.346Z] Removing intermediate container 3f49ac770625 [2023-02-16T04:19:23.346Z] ---> 81ac181d9384 [2023-02-16T04:19:23.346Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-16T04:19:23.346Z] ---> Running in ff72f0bb0d83 [2023-02-16T04:19:23.612Z] Removing intermediate container ff72f0bb0d83 [2023-02-16T04:19:23.612Z] ---> 5bf180b53ef9 [2023-02-16T04:19:23.612Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-16T04:19:23.881Z] ---> Running in 3735ac6547a0 [2023-02-16T04:19:23.881Z] Removing intermediate container 3735ac6547a0 [2023-02-16T04:19:23.881Z] ---> 0e4dffb11f1d [2023-02-16T04:19:23.881Z] Step 21/23 : LABEL arch=arm64 [2023-02-16T04:19:24.147Z] ---> Running in 4e42d91d0d1f [2023-02-16T04:19:24.412Z] Removing intermediate container 4e42d91d0d1f [2023-02-16T04:19:24.412Z] ---> 58876f38ed3c [2023-02-16T04:19:24.412Z] Step 22/23 : LABEL git_sha=4beef8a598f213c19e1bd7092db2f243fd3239a4 [2023-02-16T04:19:24.412Z] ---> Running in 5dfc13bf3ef3 [2023-02-16T04:19:24.677Z] Removing intermediate container 5dfc13bf3ef3 [2023-02-16T04:19:24.677Z] ---> 16ddad2dfd37 [2023-02-16T04:19:24.677Z] Step 23/23 : LABEL version=0.0.0 [2023-02-16T04:19:24.677Z] ---> Running in 45ee08b86bb0 [2023-02-16T04:19:24.941Z] Removing intermediate container 45ee08b86bb0 [2023-02-16T04:19:24.941Z] ---> bba64c8e45ee [2023-02-16T04:19:24.941Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T04:19:24.941Z] Successfully built bba64c8e45ee [2023-02-16T04:19:24.941Z] 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-16T04:19:25.344Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T04:19:25.344Z] [2023-02-16T04:19:25.344Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:19:25.671Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T04:19:25.671Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-16T04:19:25.671Z] 8998bd30e6a1: Pulling fs layer [2023-02-16T04:19:25.671Z] 04944245beec: Pulling fs layer [2023-02-16T04:19:25.671Z] 699f458cf7ca: Pulling fs layer [2023-02-16T04:19:25.671Z] 765212b225bb: Pulling fs layer [2023-02-16T04:19:25.671Z] f23df028b6ca: Pulling fs layer [2023-02-16T04:19:25.671Z] d65c8cfc05b1: Pulling fs layer [2023-02-16T04:19:25.671Z] 2437ff75d9bd: Pulling fs layer [2023-02-16T04:19:25.671Z] f23df028b6ca: Waiting [2023-02-16T04:19:25.671Z] d65c8cfc05b1: Waiting [2023-02-16T04:19:25.671Z] 2437ff75d9bd: Waiting [2023-02-16T04:19:25.671Z] 765212b225bb: Waiting [2023-02-16T04:19:25.936Z] 04944245beec: Verifying Checksum [2023-02-16T04:19:25.936Z] 04944245beec: Download complete [2023-02-16T04:19:25.936Z] 765212b225bb: Verifying Checksum [2023-02-16T04:19:25.936Z] 765212b225bb: Download complete [2023-02-16T04:19:25.936Z] f23df028b6ca: Download complete [2023-02-16T04:19:25.936Z] d65c8cfc05b1: Download complete [2023-02-16T04:19:25.936Z] 699f458cf7ca: Verifying Checksum [2023-02-16T04:19:25.936Z] 699f458cf7ca: Download complete [2023-02-16T04:19:26.518Z] 8998bd30e6a1: Verifying Checksum [2023-02-16T04:19:26.518Z] 8998bd30e6a1: Download complete [2023-02-16T04:19:28.463Z] 2437ff75d9bd: Verifying Checksum [2023-02-16T04:19:28.463Z] 2437ff75d9bd: Download complete [2023-02-16T04:19:29.871Z] 8998bd30e6a1: Pull complete [2023-02-16T04:19:30.451Z] 04944245beec: Pull complete [2023-02-16T04:19:31.404Z] 699f458cf7ca: Pull complete [2023-02-16T04:19:31.670Z] 765212b225bb: Pull complete [2023-02-16T04:19:32.250Z] f23df028b6ca: Pull complete [2023-02-16T04:19:32.516Z] d65c8cfc05b1: Pull complete [2023-02-16T04:19:44.801Z] 2437ff75d9bd: Pull complete [2023-02-16T04:19:44.801Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-16T04:19:44.801Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T04:19:44.801Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T04:19:44.976Z] prd-ubuntu20.04-docker-arm64-4c-16g-6256 does not seem to be running inside a container [2023-02-16T04:19:45.023Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-16T04:19:48.300Z] $ docker top 94f8329050db550b980b2424a551c7c29cc3b07639b6641f15817527b319b86f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:19:48.797Z] ---> job-cost.sh [2023-02-16T04:19:49.060Z] lf-activate-venv: SKIPPING [2023-02-16T04:19:49.060Z] INFO: No Stack... [2023-02-16T04:19:49.323Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-16T04:19:50.272Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T04:19:50.583Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-02-16T04:19:50.583Z] + cut -d, -f6 [Pipeline] lock [2023-02-16T04:19:50.637Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1325-3-stack-cost] [2023-02-16T04:19:50.646Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-3-stack-cost] did not exist. Created. [2023-02-16T04:19:50.646Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1325-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T04:19:50.970Z] /w/workspace/device-sdk-go/3@tmp/durable-324416bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-16T04:19:51.300Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-16T04:19:51.323Z] Warning: overwriting stash ‘stack-cost’ [2023-02-16T04:19:51.382Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T04:19:51.388Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T04:19:51.402Z] $ docker stop --time=1 94f8329050db550b980b2424a551c7c29cc3b07639b6641f15817527b319b86f [2023-02-16T04:19:52.840Z] $ docker rm -f --volumes 94f8329050db550b980b2424a551c7c29cc3b07639b6641f15817527b319b86f [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-16T04:19:53.221Z] provisioning config files... [2023-02-16T04:19:53.231Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config1476910999466213783tmp [Pipeline] { [Pipeline] sh [2023-02-16T04:19:53.527Z] + set +x [2023-02-16T04:19:53.527Z] + curl -s https://codecov.io/bash [2023-02-16T04:19:53.527Z] + bash -s -- [2023-02-16T04:19:53.527Z] [2023-02-16T04:19:53.527Z] _____ _ [2023-02-16T04:19:53.527Z] / ____| | | [2023-02-16T04:19:53.527Z] | | ___ __| | ___ ___ _____ __ [2023-02-16T04:19:53.527Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-16T04:19:53.527Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-16T04:19:53.527Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-16T04:19:53.527Z] Bash-1.0.6 [2023-02-16T04:19:53.527Z] [2023-02-16T04:19:53.527Z] [2023-02-16T04:19:53.527Z] ==> git version 2.25.1 found [2023-02-16T04:19:53.527Z] ==> 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-16T04:19:53.527Z] Release-Date: 2020-01-08 [2023-02-16T04:19:53.527Z] 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-16T04:19:53.527Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-16T04:19:53.527Z] ==> Jenkins CI detected. [2023-02-16T04:19:53.527Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1325 [2023-02-16T04:19:53.527Z] project root: . [2023-02-16T04:19:53.527Z] --> token set from env [2023-02-16T04:19:53.527Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-16T04:19:53.527Z] ==> Running gcov in . (disable via -X gcov) [2023-02-16T04:19:53.527Z] ==> Python coveragepy not found [2023-02-16T04:19:53.527Z] ==> Searching for coverage reports in: [2023-02-16T04:19:53.527Z] + . [2023-02-16T04:19:53.786Z] -> Found 1 reports [2023-02-16T04:19:53.786Z] ==> Detecting git/mercurial file structure [2023-02-16T04:19:53.786Z] ==> Reading reports [2023-02-16T04:19:53.786Z] + ./coverage.out bytes=111215 [2023-02-16T04:19:53.786Z] ==> Appending adjustments [2023-02-16T04:19:53.786Z] https://docs.codecov.io/docs/fixing-reports [2023-02-16T04:19:54.045Z] + Found adjustments [2023-02-16T04:19:54.045Z] ==> Gzipping contents [2023-02-16T04:19:54.045Z] 16K /tmp/codecov.wNKgqh.gz [2023-02-16T04:19:54.045Z] ==> Uploading reports [2023-02-16T04:19:54.045Z] url: https://codecov.io [2023-02-16T04:19:54.045Z] query: branch=PR-1325&commit=4beef8a598f213c19e1bd7092db2f243fd3239a4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1325%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1325&job=&cmd_args= [2023-02-16T04:19:54.045Z] -> Pinging Codecov [2023-02-16T04:19:54.045Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1325&commit=4beef8a598f213c19e1bd7092db2f243fd3239a4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1325%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1325&job=&cmd_args= [2023-02-16T04:19:54.045Z] -> Uploading to [2023-02-16T04:19:54.045Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-16/7E55EF52A471D76F132DFD9A03CDDE97/4beef8a598f213c19e1bd7092db2f243fd3239a4/72fb9c26-b9f3-4f87-a8a3-71b8172bcf7c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230216T041953Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2822b9fa64f97a0f65ab581081e5d0ddb400e658b4fd3f178c260806acf48f82 [2023-02-16T04:19:54.045Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T04:19:54.045Z] Dload Upload Total Spent Left Speed [2023-02-16T04:19:54.563Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15378 0 0 100 15378 0 69583 --:--:-- --:--:-- --:--:-- 69270 100 15378 0 0 100 15378 0 49606 --:--:-- --:--:-- --:--:-- 49446 [2023-02-16T04:19:54.563Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4beef8a598f213c19e1bd7092db2f243fd3239a4 [Pipeline] } [2023-02-16T04:19:54.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-16T04:19:55.288Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives ] [2023-02-16T04:19:55.288Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-16T04:19:55.288Z] total 16 [2023-02-16T04:19:55.288Z] drwxr-xr-x 3 root root 4096 Feb 16 04:11 . [2023-02-16T04:19:55.288Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 04:11 .. [2023-02-16T04:19:55.288Z] drwxr-xr-x 2 root root 4096 Feb 16 04:11 cost [2023-02-16T04:19:55.288Z] -rw-r--r-- 1 root root 86 Feb 16 04:11 cost.csv [2023-02-16T04:19:55.288Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-16T04:19:55.288Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-16T04:19:55.288Z] total 16 [2023-02-16T04:19:55.288Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 04:11 . [2023-02-16T04:19:55.288Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 16 04:11 .. [2023-02-16T04:19:55.288Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 04:11 cost [2023-02-16T04:19:55.288Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 16 04:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:19:55.580Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:19:56.443Z] ---> package-listing.sh [2023-02-16T04:19:56.443Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-16T04:19:56.443Z] ++ facter osfamily [2023-02-16T04:19:56.701Z] + OS_FAMILY=debian [2023-02-16T04:19:56.701Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1325 [2023-02-16T04:19:56.701Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-16T04:19:56.701Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-16T04:19:56.701Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-16T04:19:56.701Z] + PACKAGES=/tmp/packages_start.txt [2023-02-16T04:19:56.701Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1325 ']' [2023-02-16T04:19:56.701Z] + PACKAGES=/tmp/packages_end.txt [2023-02-16T04:19:56.701Z] + case "${OS_FAMILY}" in [2023-02-16T04:19:56.701Z] + dpkg -l [2023-02-16T04:19:56.701Z] + grep '^ii' [2023-02-16T04:19:56.701Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-16T04:19:56.701Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-16T04:19:56.701Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-16T04:19:56.701Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1325 ']' [2023-02-16T04:19:56.701Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/ [2023-02-16T04:19:56.701Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/ [Pipeline] echo [2023-02-16T04:19:56.712Z] 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-1325/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-16T04:19:56.991Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T04:19:57.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T04:19:57.547Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T04:19:57.617Z] prd-ubuntu20.04-docker-8c-8g-6255 does not seem to be running inside a container [2023-02-16T04:19:57.646Z] $ 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-1325/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-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-16T04:19:57.866Z] $ docker top 075e67a399bf29ffad8825004c8e02ba92e830396241d183404819e4573810a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T04:19:58.207Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-16T04:19:58.494Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-16T04:19:58.785Z] + ls /var/log/sa-host [2023-02-16T04:19:58.785Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T04:19:58.932Z] provisioning config files... [2023-02-16T04:19:58.940Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config7384718683235919892tmp [Pipeline] { [Pipeline] echo [2023-02-16T04:19:58.955Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:19:59.235Z] ---> create-netrc.sh [Pipeline] } [2023-02-16T04:19:59.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:19:59.572Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-16T04:19:59.581Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:19:59.873Z] ---> sudo-logs.sh [2023-02-16T04:19:59.873Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-16T04:19:59.912Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:20:00.198Z] ---> job-cost.sh [2023-02-16T04:20:00.198Z] lf-activate-venv: SKIPPING [2023-02-16T04:20:00.198Z] DEBUG: total: 0.2199999988079071 [2023-02-16T04:20:00.198Z] INFO: Retrieving Stack Cost... [2023-02-16T04:20:00.767Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T04:20:01.026Z] INFO: Archiving Costs [Pipeline] echo [2023-02-16T04:20:01.039Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T04:20:01.321Z] ---> logs-deploy.sh [2023-02-16T04:20:01.321Z] lf-activate-venv: SKIPPING [2023-02-16T04:20:01.321Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1325/3 [2023-02-16T04:20:01.321Z] INFO: archiving workspace using pattern(s): [2023-02-16T04:20:02.260Z] Archives upload complete. [2023-02-16T04:20:02.260Z] INFO: archiving logs to Nexus