Pull request #1305 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1907dd3da4d8424ab8a7d8378e31f6daebaad207+93a0268657819106988a1ad83ac56bb06d25ff7d (d7b8a7eaa48509a8272e83b382390865b252311b) 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-ssh8717782845992825126.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-ssh3108479214410890689.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-1305/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-1305/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15492890154998939730.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-ssh2161881315488110386.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-1305/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-1305/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4429535924304555514.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4934 in /w/workspace/gexfoundry_device-sdk-go_PR-1305 [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-1305 # 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/1305/head:refs/remotes/origin/PR-1305 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 93a0268657819106988a1ad83ac56bb06d25ff7d into PR head commit 1907dd3da4d8424ab8a7d8378e31f6daebaad207 Merge succeeded, producing 1907dd3da4d8424ab8a7d8378e31f6daebaad207 Checking out Revision 1907dd3da4d8424ab8a7d8378e31f6daebaad207 (PR-1305) > git config core.sparsecheckout # timeout=10 > git checkout -f 1907dd3da4d8424ab8a7d8378e31f6daebaad207 # 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 93a0268657819106988a1ad83ac56bb06d25ff7d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1907dd3da4d8424ab8a7d8378e31f6daebaad207 # timeout=10 Commit message: "refactor!: Rework Command via MessageBus for new Request API response topic" First time build. Skipping changelog. > git rev-list --no-walk fd23133f048eddbfaa6a84ea38dc6caca8783bd0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-07T16:25:20.265Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-07T16:25:20.321Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-07T16:25:20.338Z] ========================================================= [2023-02-07T16:25:20.338Z] EdgeX Global Pipelines Version Info [2023-02-07T16:25:20.338Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:25:21.419Z] ------------------- [2023-02-07T16:25:21.420Z] stable info: [2023-02-07T16:25:21.420Z] ------------------- [2023-02-07T16:25:21.420Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-07T16:25:21.420Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T16:25:21.420Z] Message: update stable to v1.0.244 [2023-02-07T16:25:21.680Z] ------------------- [2023-02-07T16:25:21.680Z] experimental info: [2023-02-07T16:25:21.680Z] ------------------- [2023-02-07T16:25:21.680Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-07T16:25:21.680Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T16:25:21.680Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-07T16:25:21.853Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-07T16:25:21.864Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-07T16:25:21.876Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-07T16:25:21.888Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-07T16:25:21.900Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-07T16:25:21.912Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-07T16:25:21.923Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-07T16:25:21.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-07T16:25:21.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-07T16:25:21.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-07T16:25:21.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-07T16:25:21.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-07T16:25:21.999Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-07T16:25:22.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-07T16:25:22.026Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T16:25:22.037Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T16:25:22.052Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T16:25:22.062Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T16:25:22.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-07T16:25:22.091Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-07T16:25:22.101Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-07T16:25:22.113Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-07T16:25:22.125Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-07T16:25:22.140Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-07T16:25:22.150Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-07T16:25:22.163Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-07T16:25:22.177Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-07T16:25:22.193Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1305 [Pipeline] echo [2023-02-07T16:25:22.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1305 [Pipeline] echo [2023-02-07T16:25:22.218Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1305 [Pipeline] echo [2023-02-07T16:25:22.230Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1907dd3da4d8424ab8a7d8378e31f6daebaad207 [Pipeline] echo [2023-02-07T16:25:22.244Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1907dd3 [Pipeline] echo [2023-02-07T16:25:22.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T16:25:22.298Z] provisioning config files... [2023-02-07T16:25:22.312Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/config14728009600011873227tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:25:22.615Z] ---> docker-login.sh [2023-02-07T16:25:22.615Z] nexus3.edgexfoundry.org:10001 [2023-02-07T16:25:22.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:25:22.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:25:22.876Z] Configure a credential helper to remove this warning. See [2023-02-07T16:25:22.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:25:22.876Z] [2023-02-07T16:25:22.876Z] Login Succeeded [2023-02-07T16:25:22.876Z] nexus3.edgexfoundry.org:10002 [2023-02-07T16:25:23.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:25:23.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:25:23.136Z] Configure a credential helper to remove this warning. See [2023-02-07T16:25:23.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:25:23.136Z] [2023-02-07T16:25:23.136Z] Login Succeeded [2023-02-07T16:25:23.136Z] nexus3.edgexfoundry.org:10003 [2023-02-07T16:25:23.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:25:23.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:25:23.136Z] Configure a credential helper to remove this warning. See [2023-02-07T16:25:23.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:25:23.136Z] [2023-02-07T16:25:23.136Z] Login Succeeded [2023-02-07T16:25:23.136Z] nexus3.edgexfoundry.org:10004 [2023-02-07T16:25:23.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:25:23.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:25:23.398Z] Configure a credential helper to remove this warning. See [2023-02-07T16:25:23.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:25:23.398Z] [2023-02-07T16:25:23.398Z] Login Succeeded [2023-02-07T16:25:23.398Z] docker.io [2023-02-07T16:25:23.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:25:23.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:25:23.657Z] Configure a credential helper to remove this warning. See [2023-02-07T16:25:23.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:25:23.657Z] [2023-02-07T16:25:23.657Z] Login Succeeded [2023-02-07T16:25:23.657Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T16:25:23.665Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-07T16:25:24.021Z] + git rev-list -1 --merges 1907dd3da4d8424ab8a7d8378e31f6daebaad207~1..1907dd3da4d8424ab8a7d8378e31f6daebaad207 [Pipeline] echo [2023-02-07T16:25:24.068Z] -----------> git rev-list -1 --merges 1907dd3da4d8424ab8a7d8378e31f6daebaad207~1..1907dd3da4d8424ab8a7d8378e31f6daebaad207 1907dd3da4d8424ab8a7d8378e31f6daebaad207 [false] [Pipeline] sh [2023-02-07T16:25:24.368Z] + git log --format=format:%s -1 1907dd3da4d8424ab8a7d8378e31f6daebaad207 [Pipeline] echo [2023-02-07T16:25:24.385Z] ========================================================= [2023-02-07T16:25:24.385Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T16:25:24.385Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T16:25:24.702Z] + git log --format=format:%s -1 1907dd3da4d8424ab8a7d8378e31f6daebaad207 [Pipeline] echo [2023-02-07T16:25:24.712Z] [semverPrep] GIT_COMMIT: 1907dd3da4d8424ab8a7d8378e31f6daebaad207, Commit Message: refactor!: Rework Command via MessageBus for new Request API response topic [Pipeline] echo [2023-02-07T16:25:24.724Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-07T16:25:25.076Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T16:25:25.076Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-07T16:25:25.076Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-07T16:25:25.076Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-07T16:25:25.076Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-07T16:25:25.076Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-07T16:25:25.076Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:25:25.422Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T16:25:25.422Z] [2023-02-07T16:25:25.422Z] 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-07T16:25:25.728Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T16:25:25.728Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-07T16:25:25.728Z] b85a868b505f: Pulling fs layer [2023-02-07T16:25:25.728Z] e2be974225ed: Pulling fs layer [2023-02-07T16:25:25.728Z] 339a4e72a1f5: Pulling fs layer [2023-02-07T16:25:25.728Z] 988bab9f4d93: Pulling fs layer [2023-02-07T16:25:25.728Z] 1469e6f7b9e6: Pulling fs layer [2023-02-07T16:25:25.728Z] eaf3925da568: Pulling fs layer [2023-02-07T16:25:25.728Z] bab4dde63d76: Pulling fs layer [2023-02-07T16:25:25.728Z] bde34c3a00c8: Pulling fs layer [2023-02-07T16:25:25.728Z] b352a97aabf1: Pulling fs layer [2023-02-07T16:25:25.728Z] 4872d77fe225: Pulling fs layer [2023-02-07T16:25:25.728Z] 5851b861e8e6: Pulling fs layer [2023-02-07T16:25:25.728Z] 988bab9f4d93: Waiting [2023-02-07T16:25:25.728Z] 1469e6f7b9e6: Waiting [2023-02-07T16:25:25.728Z] eaf3925da568: Waiting [2023-02-07T16:25:25.728Z] bab4dde63d76: Waiting [2023-02-07T16:25:25.728Z] bde34c3a00c8: Waiting [2023-02-07T16:25:25.728Z] b352a97aabf1: Waiting [2023-02-07T16:25:25.728Z] 4872d77fe225: Waiting [2023-02-07T16:25:25.728Z] 5851b861e8e6: Waiting [2023-02-07T16:25:25.728Z] e2be974225ed: Verifying Checksum [2023-02-07T16:25:25.728Z] e2be974225ed: Download complete [2023-02-07T16:25:25.728Z] 988bab9f4d93: Verifying Checksum [2023-02-07T16:25:25.728Z] 988bab9f4d93: Download complete [2023-02-07T16:25:25.993Z] 1469e6f7b9e6: Verifying Checksum [2023-02-07T16:25:25.993Z] 1469e6f7b9e6: Download complete [2023-02-07T16:25:25.993Z] eaf3925da568: Verifying Checksum [2023-02-07T16:25:25.993Z] eaf3925da568: Download complete [2023-02-07T16:25:26.256Z] 339a4e72a1f5: Verifying Checksum [2023-02-07T16:25:26.256Z] 339a4e72a1f5: Download complete [2023-02-07T16:25:26.256Z] bde34c3a00c8: Verifying Checksum [2023-02-07T16:25:26.256Z] bde34c3a00c8: Download complete [2023-02-07T16:25:26.256Z] b352a97aabf1: Verifying Checksum [2023-02-07T16:25:26.256Z] b352a97aabf1: Download complete [2023-02-07T16:25:26.256Z] 4872d77fe225: Download complete [2023-02-07T16:25:26.256Z] b85a868b505f: Verifying Checksum [2023-02-07T16:25:26.256Z] b85a868b505f: Download complete [2023-02-07T16:25:26.256Z] 5851b861e8e6: Verifying Checksum [2023-02-07T16:25:26.256Z] 5851b861e8e6: Download complete [2023-02-07T16:25:26.515Z] bab4dde63d76: Verifying Checksum [2023-02-07T16:25:26.515Z] bab4dde63d76: Download complete [2023-02-07T16:25:27.454Z] b85a868b505f: Pull complete [2023-02-07T16:25:27.713Z] e2be974225ed: Pull complete [2023-02-07T16:25:28.282Z] 339a4e72a1f5: Pull complete [2023-02-07T16:25:28.282Z] 988bab9f4d93: Pull complete [2023-02-07T16:25:28.553Z] 1469e6f7b9e6: Pull complete [2023-02-07T16:25:28.553Z] eaf3925da568: Pull complete [2023-02-07T16:25:30.459Z] bab4dde63d76: Pull complete [2023-02-07T16:25:30.459Z] bde34c3a00c8: Pull complete [2023-02-07T16:25:30.719Z] b352a97aabf1: Pull complete [2023-02-07T16:25:30.719Z] 4872d77fe225: Pull complete [2023-02-07T16:25:30.719Z] 5851b861e8e6: Pull complete [2023-02-07T16:25:30.719Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-07T16:25:30.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T16:25:30.719Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:25:30.808Z] prd-ubuntu20.04-docker-8c-8g-4934 does not seem to be running inside a container [2023-02-07T16:25:30.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1305 -v /w/workspace/gexfoundry_device-sdk-go_PR-1305:/w/workspace/gexfoundry_device-sdk-go_PR-1305:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-07T16:25:32.433Z] $ docker top f6d36f698c3430e2e1cfd85f1d57f9e6dea50178faca2afc712d14066da4b7d8 -eo pid,comm [2023-02-07T16:25:32.487Z] 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-07T16:25:32.487Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T16:25:32.537Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T16:25:32.537Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T16:25:32.664Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T16:25:32.671Z] $ docker exec f6d36f698c3430e2e1cfd85f1d57f9e6dea50178faca2afc712d14066da4b7d8 ssh-agent [2023-02-07T16:25:32.784Z] SSH_AUTH_SOCK=/tmp/ssh-d3TLJhnNLk7K/agent.31 [2023-02-07T16:25:32.784Z] SSH_AGENT_PID=37 [2023-02-07T16:25:32.791Z] Running ssh-add (command line suppressed) [2023-02-07T16:25:32.901Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/private_key_8694904376422069724.key (/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/private_key_8694904376422069724.key) [2023-02-07T16:25:32.911Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T16:25:33.202Z] + git tag --points-at HEAD [Pipeline] } [2023-02-07T16:25:33.218Z] $ docker exec --env ******** --env ******** f6d36f698c3430e2e1cfd85f1d57f9e6dea50178faca2afc712d14066da4b7d8 ssh-agent -k [2023-02-07T16:25:33.324Z] unset SSH_AUTH_SOCK; [2023-02-07T16:25:33.324Z] unset SSH_AGENT_PID; [2023-02-07T16:25:33.324Z] echo Agent pid 37 killed; [2023-02-07T16:25:33.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-07T16:25:33.358Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T16:25:33.358Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T16:25:33.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T16:25:33.481Z] $ docker exec f6d36f698c3430e2e1cfd85f1d57f9e6dea50178faca2afc712d14066da4b7d8 ssh-agent [2023-02-07T16:25:33.594Z] SSH_AUTH_SOCK=/tmp/ssh-lBSiJYzuIxPA/agent.69 [2023-02-07T16:25:33.594Z] SSH_AGENT_PID=75 [2023-02-07T16:25:33.599Z] Running ssh-add (command line suppressed) [2023-02-07T16:25:33.721Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/private_key_7042303999557599859.key (/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/private_key_7042303999557599859.key) [2023-02-07T16:25:33.736Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T16:25:34.025Z] + git semver init [2023-02-07T16:25:34.284Z] 2023-02-07 16:25:34,212 [run_init] DEBUG init version:0.0.0 force:False [2023-02-07T16:25:34.284Z] 2023-02-07 16:25:34,213 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver [2023-02-07T16:25:34.284Z] 2023-02-07 16:25:34,213 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver [2023-02-07T16:25:34.284Z] 2023-02-07 16:25:34,214 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1305, universal_newlines=False, shell=None, istream=None) [2023-02-07T16:25:35.221Z] 2023-02-07 16:25:35,190 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305/.git/info/exclude [2023-02-07T16:25:35.221Z] 2023-02-07 16:25:35,191 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver/PR-1305 with force:False [2023-02-07T16:25:35.221Z] 2023-02-07 16:25:35,191 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver/PR-1305 [2023-02-07T16:25:35.221Z] 2023-02-07 16:25:35,195 [execute] INFO git cat-file --batch-check [2023-02-07T16:25:35.221Z] 2023-02-07 16:25:35,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T16:25:35.221Z] 2023-02-07 16:25:35,201 [execute] INFO git cat-file --batch [2023-02-07T16:25:35.221Z] 2023-02-07 16:25:35,202 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T16:25:35.221Z] 2023-02-07 16:25:35,206 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1305/.semver/PR-1305 [2023-02-07T16:25:35.221Z] 0.0.0 [Pipeline] } [2023-02-07T16:25:35.493Z] $ docker exec --env ******** --env ******** f6d36f698c3430e2e1cfd85f1d57f9e6dea50178faca2afc712d14066da4b7d8 ssh-agent -k [2023-02-07T16:25:35.584Z] unset SSH_AUTH_SOCK; [2023-02-07T16:25:35.584Z] unset SSH_AGENT_PID; [2023-02-07T16:25:35.585Z] echo Agent pid 75 killed; [2023-02-07T16:25:35.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T16:25:35.901Z] + git semver [Pipeline] } [2023-02-07T16:25:36.177Z] $ docker stop --time=1 f6d36f698c3430e2e1cfd85f1d57f9e6dea50178faca2afc712d14066da4b7d8 [2023-02-07T16:25:37.495Z] $ docker rm -f --volumes f6d36f698c3430e2e1cfd85f1d57f9e6dea50178faca2afc712d14066da4b7d8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T16:25:37.833Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-07T16:25:38.125Z] Stashed 1 file(s) [Pipeline] echo [2023-02-07T16:25:38.129Z] [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-07T16:25:38.238Z] provisioning config files... [2023-02-07T16:25:38.248Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/config12390897728994350674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:25:38.544Z] ---> docker-login.sh [2023-02-07T16:25:38.544Z] nexus3.edgexfoundry.org:10001 [2023-02-07T16:25:38.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:25:38.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:25:38.544Z] Configure a credential helper to remove this warning. See [2023-02-07T16:25:38.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:25:38.544Z] [2023-02-07T16:25:38.544Z] Login Succeeded [2023-02-07T16:25:38.544Z] nexus3.edgexfoundry.org:10002 [2023-02-07T16:25:38.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:25:38.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:25:38.544Z] Configure a credential helper to remove this warning. See [2023-02-07T16:25:38.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:25:38.544Z] [2023-02-07T16:25:38.544Z] Login Succeeded [2023-02-07T16:25:38.544Z] nexus3.edgexfoundry.org:10003 [2023-02-07T16:25:38.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:25:38.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:25:38.805Z] Configure a credential helper to remove this warning. See [2023-02-07T16:25:38.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:25:38.805Z] [2023-02-07T16:25:38.805Z] Login Succeeded [2023-02-07T16:25:38.805Z] nexus3.edgexfoundry.org:10004 [2023-02-07T16:25:38.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:25:38.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:25:38.805Z] Configure a credential helper to remove this warning. See [2023-02-07T16:25:38.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:25:38.805Z] [2023-02-07T16:25:38.805Z] Login Succeeded [2023-02-07T16:25:38.805Z] docker.io [2023-02-07T16:25:39.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:25:39.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:25:39.066Z] Configure a credential helper to remove this warning. See [2023-02-07T16:25:39.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:25:39.066Z] [2023-02-07T16:25:39.066Z] Login Succeeded [2023-02-07T16:25:39.066Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T16:25:39.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T16:25:39.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T16:25:39.140Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T16:25:39.147Z] ========================================================= [2023-02-07T16:25:39.147Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-07T16:25:39.147Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:25:39.458Z] + 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-07T16:25:39.458Z] Sending build context to Docker daemon 10.55MB [2023-02-07T16:25:39.458Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T16:25:39.458Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-07T16:25:39.458Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-07T16:25:39.458Z] 213ec9aee27d: Pulling fs layer [2023-02-07T16:25:39.458Z] 4583459ba037: Pulling fs layer [2023-02-07T16:25:39.458Z] 93c1e223e6f2: Pulling fs layer [2023-02-07T16:25:39.458Z] 53926ce57604: Pulling fs layer [2023-02-07T16:25:39.458Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-07T16:25:39.458Z] 22ff95d597cd: Pulling fs layer [2023-02-07T16:25:39.458Z] 12d6caf4c0d1: Pulling fs layer [2023-02-07T16:25:39.458Z] 96b7cbca73a9: Pulling fs layer [2023-02-07T16:25:39.458Z] a7acece74701: Pulling fs layer [2023-02-07T16:25:39.458Z] 22ff95d597cd: Waiting [2023-02-07T16:25:39.458Z] 96b7cbca73a9: Waiting [2023-02-07T16:25:39.458Z] a7acece74701: Waiting [2023-02-07T16:25:39.458Z] 12d6caf4c0d1: Waiting [2023-02-07T16:25:39.458Z] 53926ce57604: Waiting [2023-02-07T16:25:39.458Z] 21b2b0c7a3f4: Waiting [2023-02-07T16:25:39.458Z] 93c1e223e6f2: Verifying Checksum [2023-02-07T16:25:39.458Z] 93c1e223e6f2: Download complete [2023-02-07T16:25:39.724Z] 4583459ba037: Download complete [2023-02-07T16:25:39.724Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-07T16:25:39.724Z] 21b2b0c7a3f4: Download complete [2023-02-07T16:25:39.724Z] 22ff95d597cd: Verifying Checksum [2023-02-07T16:25:39.724Z] 22ff95d597cd: Download complete [2023-02-07T16:25:39.724Z] 213ec9aee27d: Verifying Checksum [2023-02-07T16:25:39.724Z] 213ec9aee27d: Download complete [2023-02-07T16:25:39.724Z] 12d6caf4c0d1: Download complete [2023-02-07T16:25:39.724Z] 213ec9aee27d: Pull complete [2023-02-07T16:25:39.991Z] 4583459ba037: Pull complete [2023-02-07T16:25:39.991Z] 93c1e223e6f2: Pull complete [2023-02-07T16:25:40.971Z] a7acece74701: Verifying Checksum [2023-02-07T16:25:40.971Z] a7acece74701: Download complete [2023-02-07T16:25:40.971Z] 96b7cbca73a9: Verifying Checksum [2023-02-07T16:25:40.971Z] 96b7cbca73a9: Download complete [2023-02-07T16:25:40.971Z] 53926ce57604: Verifying Checksum [2023-02-07T16:25:40.971Z] 53926ce57604: Download complete [2023-02-07T16:25:45.176Z] 53926ce57604: Pull complete [2023-02-07T16:25:45.176Z] 21b2b0c7a3f4: Pull complete [2023-02-07T16:25:45.176Z] 22ff95d597cd: Pull complete [2023-02-07T16:25:45.437Z] 12d6caf4c0d1: Pull complete [2023-02-07T16:25:47.342Z] 96b7cbca73a9: Pull complete [2023-02-07T16:25:48.280Z] a7acece74701: Pull complete [2023-02-07T16:25:48.280Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-07T16:25:48.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-07T16:25:48.280Z] ---> db6d94c90886 [2023-02-07T16:25:48.280Z] Step 3/10 : ARG MAKE=make build [2023-02-07T16:25:50.186Z] ---> Running in d0a09e792b98 [2023-02-07T16:25:50.186Z] Removing intermediate container d0a09e792b98 [2023-02-07T16:25:50.186Z] ---> 1a5977c8268c [2023-02-07T16:25:50.186Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-07T16:25:50.186Z] ---> Running in 0919a71c812a [2023-02-07T16:25:50.444Z] Removing intermediate container 0919a71c812a [2023-02-07T16:25:50.444Z] ---> d3ed469cce0a [2023-02-07T16:25:50.444Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T16:25:50.444Z] ---> Running in c2128cfc0fa6 [2023-02-07T16:25:50.444Z] Removing intermediate container c2128cfc0fa6 [2023-02-07T16:25:50.444Z] ---> 8da8cab168ec [2023-02-07T16:25:50.444Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-07T16:25:50.444Z] ---> Running in 3b1b0ab1d799 [2023-02-07T16:25:50.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T16:25:50.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T16:25:50.961Z] OK: 211 MiB in 51 packages [2023-02-07T16:25:51.527Z] Removing intermediate container 3b1b0ab1d799 [2023-02-07T16:25:51.527Z] ---> 0f67d9dff90a [2023-02-07T16:25:51.527Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-07T16:25:51.527Z] ---> 8e42a6b44d26 [2023-02-07T16:25:51.527Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T16:25:51.527Z] ---> Running in c1117918b19d [2023-02-07T16:25:53.206Z] Still waiting to schedule task [2023-02-07T16:25:53.206Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-07T16:26:38.232Z] Removing intermediate container c1117918b19d [2023-02-07T16:26:38.232Z] ---> 77c74663852e [2023-02-07T16:26:38.232Z] Step 9/10 : COPY . . [2023-02-07T16:26:38.232Z] ---> abe1860afc89 [2023-02-07T16:26:38.232Z] Step 10/10 : RUN ${MAKE} [2023-02-07T16:26:38.232Z] ---> Running in d599877d7978 [2023-02-07T16:26:38.232Z] noop [2023-02-07T16:26:38.232Z] Removing intermediate container d599877d7978 [2023-02-07T16:26:38.232Z] ---> 81a4ab7c722c [2023-02-07T16:26:38.232Z] Successfully built 81a4ab7c722c [2023-02-07T16:26:38.232Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:26:38.560Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T16:26:38.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:26:38.632Z] prd-ubuntu20.04-docker-8c-8g-4934 does not seem to be running inside a container [2023-02-07T16:26:38.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1305 -v /w/workspace/gexfoundry_device-sdk-go_PR-1305:/w/workspace/gexfoundry_device-sdk-go_PR-1305:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T16:26:39.042Z] $ docker top 1c5e460bee8601579c8afa369fc14a3011cfb756570c634067d5491b337639ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T16:26:39.389Z] + go version [2023-02-07T16:26:39.389Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-07T16:26:39.402Z] $ docker stop --time=1 1c5e460bee8601579c8afa369fc14a3011cfb756570c634067d5491b337639ba [2023-02-07T16:26:40.705Z] $ docker rm -f --volumes 1c5e460bee8601579c8afa369fc14a3011cfb756570c634067d5491b337639ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:26:41.121Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T16:26:41.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:26:41.197Z] prd-ubuntu20.04-docker-8c-8g-4934 does not seem to be running inside a container [2023-02-07T16:26:41.226Z] $ 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-1305 -v /w/workspace/gexfoundry_device-sdk-go_PR-1305:/w/workspace/gexfoundry_device-sdk-go_PR-1305:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T16:26:41.575Z] $ docker top 945f14845af15702aeb5d3297576c988322b360ceb42b7705b04e8ff7b3c2da7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T16:26:41.910Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1305 [Pipeline] fileExists [Pipeline] sh [2023-02-07T16:26:42.209Z] + make test [2023-02-07T16:26:42.209Z] go test -race -coverprofile=coverage.out ./... [2023-02-07T16:26:48.784Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-07T16:27:03.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-07T16:27:03.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-07T16:27:03.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-07T16:27:03.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-07T16:27:03.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-07T16:27:03.660Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.052s coverage: 27.6% of statements [2023-02-07T16:27:03.660Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.070s coverage: 78.9% of statements [2023-02-07T16:27:03.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-07T16:27:03.660Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.100s coverage: 77.8% of statements [2023-02-07T16:27:03.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-07T16:27:03.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-07T16:27:03.660Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 59.8% of statements [2023-02-07T16:27:03.660Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-07T16:27:03.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-07T16:27:03.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-07T16:27:03.661Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.087s coverage: 65.2% of statements [2023-02-07T16:27:03.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-07T16:27:03.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-07T16:27:03.661Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.749s coverage: 89.2% of statements [2023-02-07T16:27:03.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-07T16:27:03.661Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.7% of statements [2023-02-07T16:27:03.661Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-07T16:27:18.520Z] 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-07T16:27:18.520Z] GO111MODULE=on go vet ./... [2023-02-07T16:27:20.423Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T16:27:20.423Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T16:27:20.423Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-07T16:27:20.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T16:27:20.451Z] $ docker stop --time=1 945f14845af15702aeb5d3297576c988322b360ceb42b7705b04e8ff7b3c2da7 [2023-02-07T16:27:22.672Z] $ docker rm -f --volumes 945f14845af15702aeb5d3297576c988322b360ceb42b7705b04e8ff7b3c2da7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T16:27:23.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T16:27:23.206Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-07T16:27:23.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T16:27:24.017Z] + ls -al . [2023-02-07T16:27:24.017Z] total 272 [2023-02-07T16:27:24.017Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 7 16:26 . [2023-02-07T16:27:24.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 16:25 .. [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 16:25 .dockerignore [2023-02-07T16:27:24.017Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 16:27 .git [2023-02-07T16:27:24.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 16:25 .github [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 7 16:25 .gitignore [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 16:25 .golangci.yml [2023-02-07T16:27:24.017Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 16:25 .semver [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 7 16:25 CHANGELOG.md [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 16:25 GOVERNANCE.md [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 7 16:25 Jenkinsfile [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 7 16:25 LICENSE [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 7 16:25 Makefile [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 7 16:25 OWNERS.md [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 7 16:25 README.md [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 16:25 VERSION [2023-02-07T16:27:24.017Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 16:25 bin [2023-02-07T16:27:24.017Z] -rw-r--r-- 1 jenkins jenkins 100848 Feb 7 16:27 coverage.out [2023-02-07T16:27:24.017Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 7 16:25 example [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 7 16:25 go.mod [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 7 16:25 go.sum [2023-02-07T16:27:24.017Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 7 16:25 internal [2023-02-07T16:27:24.017Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 16:25 openapi [2023-02-07T16:27:24.017Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 16:25 pkg [2023-02-07T16:27:24.017Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 16:25 snap [2023-02-07T16:27:24.017Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 7 16:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:27:24.322Z] + 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=1907dd3da4d8424ab8a7d8378e31f6daebaad207 --label arch=amd64 --label version=0.0.0 . [2023-02-07T16:27:24.322Z] Sending build context to Docker daemon 10.65MB [2023-02-07T16:27:24.322Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T16:27:24.322Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-07T16:27:24.322Z] ---> 81a4ab7c722c [2023-02-07T16:27:24.322Z] Step 3/23 : ARG MAKE=make build [2023-02-07T16:27:24.322Z] ---> Running in 94c93bf297c6 [2023-02-07T16:27:24.581Z] Removing intermediate container 94c93bf297c6 [2023-02-07T16:27:24.581Z] ---> 16e1c9a8f3af [2023-02-07T16:27:24.581Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-07T16:27:24.581Z] ---> Running in 66bf48f9f73e [2023-02-07T16:27:24.581Z] Removing intermediate container 66bf48f9f73e [2023-02-07T16:27:24.581Z] ---> 1c42096fde2d [2023-02-07T16:27:24.581Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T16:27:24.581Z] ---> Running in b07b786c8b95 [2023-02-07T16:27:24.840Z] Removing intermediate container b07b786c8b95 [2023-02-07T16:27:24.840Z] ---> d0dbfa5f9c90 [2023-02-07T16:27:24.840Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-07T16:27:24.840Z] ---> Running in e11792c4e413 [2023-02-07T16:27:25.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T16:27:25.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T16:27:25.356Z] OK: 211 MiB in 51 packages [2023-02-07T16:27:25.924Z] Removing intermediate container e11792c4e413 [2023-02-07T16:27:25.924Z] ---> fdbe14812798 [2023-02-07T16:27:25.924Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-07T16:27:25.924Z] ---> dadd44cfe216 [2023-02-07T16:27:25.924Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T16:27:25.924Z] ---> Running in 263e897f8dee [2023-02-07T16:27:26.860Z] Removing intermediate container 263e897f8dee [2023-02-07T16:27:26.860Z] ---> 5da150551e44 [2023-02-07T16:27:26.860Z] Step 9/23 : COPY . . [2023-02-07T16:27:27.119Z] ---> ce80b831f891 [2023-02-07T16:27:27.119Z] Step 10/23 : RUN ${MAKE} [2023-02-07T16:27:27.119Z] ---> Running in cadec0c5d7f3 [2023-02-07T16:27:27.377Z] 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-07T16:27:45.455Z] Removing intermediate container cadec0c5d7f3 [2023-02-07T16:27:45.455Z] ---> 068c3b621c6d [2023-02-07T16:27:45.455Z] Step 11/23 : FROM alpine:3.16 [2023-02-07T16:27:45.455Z] 3.16: Pulling from library/alpine [2023-02-07T16:27:45.455Z] ca7dd9ec2225: Pulling fs layer [2023-02-07T16:27:45.455Z] ca7dd9ec2225: Verifying Checksum [2023-02-07T16:27:45.455Z] ca7dd9ec2225: Download complete [2023-02-07T16:27:45.455Z] ca7dd9ec2225: Pull complete [2023-02-07T16:27:45.455Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T16:27:45.455Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T16:27:45.455Z] ---> bfe296a52501 [2023-02-07T16:27:45.455Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-07T16:27:45.455Z] ---> Running in b6d04402b8e1 [2023-02-07T16:27:45.455Z] Removing intermediate container b6d04402b8e1 [2023-02-07T16:27:45.455Z] ---> b0d73af93e2b [2023-02-07T16:27:45.455Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-07T16:27:45.455Z] ---> Running in 5037107ac84e [2023-02-07T16:27:45.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T16:27:45.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T16:27:45.455Z] OK: 6 MiB in 14 packages [2023-02-07T16:27:45.714Z] Removing intermediate container 5037107ac84e [2023-02-07T16:27:45.714Z] ---> d1d967c91d18 [2023-02-07T16:27:45.714Z] Step 14/23 : WORKDIR / [2023-02-07T16:27:45.973Z] ---> Running in 67177280fcdb [2023-02-07T16:27:45.973Z] Removing intermediate container 67177280fcdb [2023-02-07T16:27:45.973Z] ---> 378b16db2c89 [2023-02-07T16:27:45.973Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-07T16:27:45.973Z] ---> a2ab71df5dd9 [2023-02-07T16:27:45.973Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-07T16:27:46.540Z] ---> f24c4b2e98b6 [2023-02-07T16:27:46.540Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-07T16:27:46.800Z] ---> 24173965b51d [2023-02-07T16:27:46.800Z] Step 18/23 : EXPOSE 59999 [2023-02-07T16:27:46.800Z] ---> Running in a27dcdc3e010 [2023-02-07T16:27:46.800Z] Removing intermediate container a27dcdc3e010 [2023-02-07T16:27:46.800Z] ---> 4c4401bc32bc [2023-02-07T16:27:46.800Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-07T16:27:46.800Z] ---> Running in 4f1ca3a43936 [2023-02-07T16:27:46.800Z] Removing intermediate container 4f1ca3a43936 [2023-02-07T16:27:46.800Z] ---> 22fa674457ce [2023-02-07T16:27:46.800Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T16:27:47.060Z] ---> Running in 380886fc6afe [2023-02-07T16:27:47.060Z] Removing intermediate container 380886fc6afe [2023-02-07T16:27:47.060Z] ---> 77b816336e3e [2023-02-07T16:27:47.060Z] Step 21/23 : LABEL arch=amd64 [2023-02-07T16:27:47.060Z] ---> Running in 780d1adaff3e [2023-02-07T16:27:47.060Z] Removing intermediate container 780d1adaff3e [2023-02-07T16:27:47.060Z] ---> ec6164541100 [2023-02-07T16:27:47.060Z] Step 22/23 : LABEL git_sha=1907dd3da4d8424ab8a7d8378e31f6daebaad207 [2023-02-07T16:27:47.060Z] ---> Running in 155dd7959e52 [2023-02-07T16:27:47.319Z] Removing intermediate container 155dd7959e52 [2023-02-07T16:27:47.319Z] ---> d40c03a7245d [2023-02-07T16:27:47.319Z] Step 23/23 : LABEL version=0.0.0 [2023-02-07T16:27:47.319Z] ---> Running in d3ff20aa5796 [2023-02-07T16:27:47.319Z] Removing intermediate container d3ff20aa5796 [2023-02-07T16:27:47.319Z] ---> f4d4e8991820 [2023-02-07T16:27:47.319Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T16:27:47.319Z] Successfully built f4d4e8991820 [2023-02-07T16:27:47.319Z] 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-07T16:27:47.747Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T16:27:47.748Z] [2023-02-07T16:27:47.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:27:48.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T16:27:48.043Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-07T16:27:48.043Z] 5eb5b503b376: Pulling fs layer [2023-02-07T16:27:48.043Z] 5c69ac0246d0: Pulling fs layer [2023-02-07T16:27:48.043Z] ec43610c2a17: Pulling fs layer [2023-02-07T16:27:48.043Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-07T16:27:48.043Z] 33b1e0a273af: Pulling fs layer [2023-02-07T16:27:48.043Z] 5d3b04190fa2: Pulling fs layer [2023-02-07T16:27:48.043Z] 3a2ae6a8a46f: Waiting [2023-02-07T16:27:48.043Z] 2f39f015ded8: Pulling fs layer [2023-02-07T16:27:48.043Z] 33b1e0a273af: Waiting [2023-02-07T16:27:48.043Z] 2f39f015ded8: Waiting [2023-02-07T16:27:48.043Z] 5d3b04190fa2: Waiting [2023-02-07T16:27:48.043Z] 5c69ac0246d0: Verifying Checksum [2023-02-07T16:27:48.043Z] 5c69ac0246d0: Download complete [2023-02-07T16:27:48.043Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-07T16:27:48.043Z] 3a2ae6a8a46f: Download complete [2023-02-07T16:27:48.304Z] ec43610c2a17: Verifying Checksum [2023-02-07T16:27:48.304Z] ec43610c2a17: Download complete [2023-02-07T16:27:48.304Z] 33b1e0a273af: Verifying Checksum [2023-02-07T16:27:48.304Z] 33b1e0a273af: Download complete [2023-02-07T16:27:48.304Z] 5d3b04190fa2: Verifying Checksum [2023-02-07T16:27:48.304Z] 5d3b04190fa2: Download complete [2023-02-07T16:27:48.562Z] 5eb5b503b376: Verifying Checksum [2023-02-07T16:27:48.562Z] 5eb5b503b376: Download complete [2023-02-07T16:27:49.127Z] 2f39f015ded8: Download complete [2023-02-07T16:27:49.692Z] 5eb5b503b376: Pull complete [2023-02-07T16:27:49.692Z] 5c69ac0246d0: Pull complete [2023-02-07T16:27:50.257Z] ec43610c2a17: Pull complete [2023-02-07T16:27:50.257Z] 3a2ae6a8a46f: Pull complete [2023-02-07T16:27:50.257Z] 33b1e0a273af: Pull complete [2023-02-07T16:27:50.515Z] 5d3b04190fa2: Pull complete [2023-02-07T16:27:54.702Z] 2f39f015ded8: Pull complete [2023-02-07T16:27:54.702Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-07T16:27:54.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T16:27:54.702Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:27:54.782Z] prd-ubuntu20.04-docker-8c-8g-4934 does not seem to be running inside a container [2023-02-07T16:27:54.808Z] $ 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-1305 -v /w/workspace/gexfoundry_device-sdk-go_PR-1305:/w/workspace/gexfoundry_device-sdk-go_PR-1305:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1305@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-07T16:27:56.341Z] $ docker top 064edaf9c1ffb781785abe616e9cc0987bb038142fec0d4d8ec813d30cdc8e3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:27:56.714Z] ---> job-cost.sh [2023-02-07T16:27:56.714Z] lf-activate-venv: SKIPPING [2023-02-07T16:27:56.714Z] INFO: No Stack... [2023-02-07T16:27:56.975Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T16:27:57.542Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T16:27:57.831Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives/cost.csv [2023-02-07T16:27:57.831Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T16:27:57.846Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1305-3-stack-cost] [2023-02-07T16:27:57.851Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1305-3-stack-cost] did not exist. Created. [2023-02-07T16:27:57.851Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1305-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T16:27:58.151Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-07T16:27:58.175Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T16:27:58.184Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1305-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T16:27:58.203Z] $ docker stop --time=1 064edaf9c1ffb781785abe616e9cc0987bb038142fec0d4d8ec813d30cdc8e3e [2023-02-07T16:27:59.374Z] $ docker rm -f --volumes 064edaf9c1ffb781785abe616e9cc0987bb038142fec0d4d8ec813d30cdc8e3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-07T16:29:43.243Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4936 in /w/workspace/gexfoundry_device-sdk-go_PR-1305 [Pipeline] { [Pipeline] ws [2023-02-07T16:29:43.257Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-02-07T16:29:43.303Z] The recommended git tool is: git [2023-02-07T16:29:49.762Z] using credential edgex-jenkins-ssh [2023-02-07T16:29:49.781Z] Cloning the remote Git repository [2023-02-07T16:29:49.837Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-07T16:29:49.927Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-02-07T16:29:50.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-07T16:29:50.110Z] > git --version # timeout=10 [2023-02-07T16:29:50.134Z] > git --version # 'git version 2.25.1' [2023-02-07T16:29:50.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T16:29:50.201Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T16:29:51.929Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-07T16:29:51.965Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T16:29:52.940Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-07T16:29:52.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-07T16:29:52.993Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T16:29:53.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1305/head:refs/remotes/origin/PR-1305 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-07T16:29:53.769Z] Merging remotes/origin/main commit 93a0268657819106988a1ad83ac56bb06d25ff7d into PR head commit 1907dd3da4d8424ab8a7d8378e31f6daebaad207 [2023-02-07T16:29:54.064Z] Merge succeeded, producing 1907dd3da4d8424ab8a7d8378e31f6daebaad207 [2023-02-07T16:29:54.064Z] Checking out Revision 1907dd3da4d8424ab8a7d8378e31f6daebaad207 (PR-1305) [2023-02-07T16:29:53.789Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T16:29:53.808Z] > git checkout -f 1907dd3da4d8424ab8a7d8378e31f6daebaad207 # timeout=10 [2023-02-07T16:29:53.944Z] > git remote # timeout=10 [2023-02-07T16:29:53.970Z] > git config --get remote.origin.url # timeout=10 [2023-02-07T16:29:53.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T16:29:54.010Z] > git merge 93a0268657819106988a1ad83ac56bb06d25ff7d # timeout=10 [2023-02-07T16:29:54.039Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-07T16:29:54.070Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T16:29:54.092Z] > git checkout -f 1907dd3da4d8424ab8a7d8378e31f6daebaad207 # timeout=10 [2023-02-07T16:29:57.713Z] Commit message: "refactor!: Rework Command via MessageBus for new Request API response topic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T16:29:58.622Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-07T16:29:58.622Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T16:29:58.622Z] Dload Upload Total Spent Left Speed [2023-02-07T16:29:58.622Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh [2023-02-07T16:29:59.351Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-07T16:29:59.703Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-07T16:29:59.704Z] + sudo tee /etc/docker/daemon.new [2023-02-07T16:29:59.704Z] { [2023-02-07T16:29:59.704Z] "registry-mirrors": [ [2023-02-07T16:29:59.704Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-07T16:29:59.704Z] ], [2023-02-07T16:29:59.704Z] "bip": "10.250.0.254/24", [2023-02-07T16:29:59.704Z] "hosts": [ [2023-02-07T16:29:59.704Z] "tcp://0.0.0.0:5555", [2023-02-07T16:29:59.704Z] "unix:///var/run/docker.sock" [2023-02-07T16:29:59.704Z] ], [2023-02-07T16:29:59.704Z] "mtu": 1458, [2023-02-07T16:29:59.704Z] "selinux-enabled": true, [2023-02-07T16:29:59.704Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-07T16:29:59.704Z] } [Pipeline] sh [2023-02-07T16:30:00.046Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-07T16:30:00.402Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T16:30:18.706Z] provisioning config files... [2023-02-07T16:30:18.735Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config2272276757057355643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:30:19.105Z] ---> docker-login.sh [2023-02-07T16:30:19.105Z] nexus3.edgexfoundry.org:10001 [2023-02-07T16:30:19.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:30:19.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:30:19.966Z] Configure a credential helper to remove this warning. See [2023-02-07T16:30:19.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:30:19.966Z] [2023-02-07T16:30:19.966Z] Login Succeeded [2023-02-07T16:30:19.966Z] nexus3.edgexfoundry.org:10002 [2023-02-07T16:30:20.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:30:20.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:30:20.237Z] Configure a credential helper to remove this warning. See [2023-02-07T16:30:20.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:30:20.237Z] [2023-02-07T16:30:20.237Z] Login Succeeded [2023-02-07T16:30:20.237Z] nexus3.edgexfoundry.org:10003 [2023-02-07T16:30:20.507Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:30:20.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:30:20.778Z] Configure a credential helper to remove this warning. See [2023-02-07T16:30:20.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:30:20.778Z] [2023-02-07T16:30:20.778Z] Login Succeeded [2023-02-07T16:30:20.778Z] nexus3.edgexfoundry.org:10004 [2023-02-07T16:30:21.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:30:21.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:30:21.051Z] Configure a credential helper to remove this warning. See [2023-02-07T16:30:21.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:30:21.051Z] [2023-02-07T16:30:21.051Z] Login Succeeded [2023-02-07T16:30:21.051Z] docker.io [2023-02-07T16:30:21.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T16:30:21.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T16:30:21.592Z] Configure a credential helper to remove this warning. See [2023-02-07T16:30:21.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T16:30:21.592Z] [2023-02-07T16:30:21.592Z] Login Succeeded [2023-02-07T16:30:21.592Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T16:30:21.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T16:30:21.912Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T16:30:21.923Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T16:30:21.930Z] ========================================================= [2023-02-07T16:30:21.930Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-07T16:30:21.930Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:30:22.279Z] + 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-07T16:30:22.884Z] Sending build context to Docker daemon 5.689MB [2023-02-07T16:30:22.884Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T16:30:22.884Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-07T16:30:22.884Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-07T16:30:22.884Z] 9b18e9b68314: Pulling fs layer [2023-02-07T16:30:22.884Z] 35d82f9e3411: Pulling fs layer [2023-02-07T16:30:22.884Z] e16973657156: Pulling fs layer [2023-02-07T16:30:22.884Z] fc693d55d65f: Pulling fs layer [2023-02-07T16:30:22.884Z] 7e9fc2657dce: Pulling fs layer [2023-02-07T16:30:22.884Z] dda99020689f: Pulling fs layer [2023-02-07T16:30:22.884Z] db1c61fa0a46: Pulling fs layer [2023-02-07T16:30:22.884Z] 891c053d2c06: Pulling fs layer [2023-02-07T16:30:22.884Z] 7e9fc2657dce: Waiting [2023-02-07T16:30:22.884Z] dda99020689f: Waiting [2023-02-07T16:30:22.884Z] db1c61fa0a46: Waiting [2023-02-07T16:30:22.884Z] 891c053d2c06: Waiting [2023-02-07T16:30:22.884Z] fc693d55d65f: Waiting [2023-02-07T16:30:22.884Z] e16973657156: Verifying Checksum [2023-02-07T16:30:22.884Z] e16973657156: Download complete [2023-02-07T16:30:22.884Z] 35d82f9e3411: Verifying Checksum [2023-02-07T16:30:22.884Z] 35d82f9e3411: Download complete [2023-02-07T16:30:23.158Z] 7e9fc2657dce: Verifying Checksum [2023-02-07T16:30:23.158Z] 7e9fc2657dce: Download complete [2023-02-07T16:30:23.158Z] dda99020689f: Verifying Checksum [2023-02-07T16:30:23.158Z] dda99020689f: Download complete [2023-02-07T16:30:23.158Z] 9b18e9b68314: Download complete [2023-02-07T16:30:24.133Z] 9b18e9b68314: Pull complete [2023-02-07T16:30:24.133Z] 891c053d2c06: Verifying Checksum [2023-02-07T16:30:24.133Z] 891c053d2c06: Download complete [2023-02-07T16:30:24.409Z] 35d82f9e3411: Pull complete [2023-02-07T16:30:25.009Z] e16973657156: Pull complete [2023-02-07T16:30:25.612Z] db1c61fa0a46: Verifying Checksum [2023-02-07T16:30:25.612Z] db1c61fa0a46: Download complete [2023-02-07T16:30:26.205Z] fc693d55d65f: Verifying Checksum [2023-02-07T16:30:26.205Z] fc693d55d65f: Download complete [2023-02-07T16:30:38.575Z] fc693d55d65f: Pull complete [2023-02-07T16:30:38.575Z] 7e9fc2657dce: Pull complete [2023-02-07T16:30:38.575Z] dda99020689f: Pull complete [2023-02-07T16:30:45.264Z] db1c61fa0a46: Pull complete [2023-02-07T16:30:46.686Z] 891c053d2c06: Pull complete [2023-02-07T16:30:46.686Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-07T16:30:46.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-07T16:30:46.686Z] ---> f96f9c87975a [2023-02-07T16:30:46.686Z] Step 3/10 : ARG MAKE=make build [2023-02-07T16:30:48.648Z] ---> Running in 4fc78395b814 [2023-02-07T16:30:49.237Z] Removing intermediate container 4fc78395b814 [2023-02-07T16:30:49.237Z] ---> 033890320bc9 [2023-02-07T16:30:49.237Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-07T16:30:49.237Z] ---> Running in 9186546f1b79 [2023-02-07T16:30:49.512Z] Removing intermediate container 9186546f1b79 [2023-02-07T16:30:49.512Z] ---> 7f25eb69afbf [2023-02-07T16:30:49.512Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T16:30:49.512Z] ---> Running in 887197bd2b18 [2023-02-07T16:30:50.101Z] Removing intermediate container 887197bd2b18 [2023-02-07T16:30:50.101Z] ---> 4e9c0743ca43 [2023-02-07T16:30:50.101Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-07T16:30:50.101Z] ---> Running in e6ae79c4317f [2023-02-07T16:30:51.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T16:30:51.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T16:30:52.619Z] OK: 221 MiB in 51 packages [2023-02-07T16:30:53.583Z] Removing intermediate container e6ae79c4317f [2023-02-07T16:30:53.583Z] ---> ab35ce7ae5a3 [2023-02-07T16:30:53.583Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-07T16:30:54.194Z] ---> e64516e33579 [2023-02-07T16:30:54.194Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T16:30:54.194Z] ---> Running in 11ae976940bd [2023-02-07T16:32:15.863Z] Removing intermediate container 11ae976940bd [2023-02-07T16:32:15.863Z] ---> b709116078ba [2023-02-07T16:32:15.863Z] Step 9/10 : COPY . . [2023-02-07T16:32:15.863Z] ---> 669573a28fb7 [2023-02-07T16:32:15.863Z] Step 10/10 : RUN ${MAKE} [2023-02-07T16:32:15.863Z] ---> Running in 320ce8848279 [2023-02-07T16:32:15.863Z] noop [2023-02-07T16:32:15.863Z] Removing intermediate container 320ce8848279 [2023-02-07T16:32:15.863Z] ---> ef7afef17c5e [2023-02-07T16:32:15.863Z] Successfully built ef7afef17c5e [2023-02-07T16:32:15.863Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:32:16.211Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T16:32:16.211Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:32:16.416Z] prd-ubuntu20.04-docker-arm64-4c-16g-4936 does not seem to be running inside a container [2023-02-07T16:32:16.491Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-07T16:32:17.738Z] $ docker top f96cf63946cbef322c22144d5fe1f3d06165f1b161dc78506d252e1ae43a20ff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T16:32:18.566Z] + go version [2023-02-07T16:32:18.566Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-07T16:32:18.590Z] $ docker stop --time=1 f96cf63946cbef322c22144d5fe1f3d06165f1b161dc78506d252e1ae43a20ff [2023-02-07T16:32:20.215Z] $ docker rm -f --volumes f96cf63946cbef322c22144d5fe1f3d06165f1b161dc78506d252e1ae43a20ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:32:20.753Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T16:32:20.753Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:32:20.938Z] prd-ubuntu20.04-docker-arm64-4c-16g-4936 does not seem to be running inside a container [2023-02-07T16:32:21.014Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-07T16:32:22.299Z] $ docker top 81b24674f78aead94fa5f7d2cabb679ff484f076162f8f71a9c7f20ea1435a09 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T16:32:22.831Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-02-07T16:32:23.491Z] + make test [2023-02-07T16:32:23.491Z] go test -race -coverprofile=coverage.out ./... [2023-02-07T16:33:02.382Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-07T16:35:24.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-07T16:35:24.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-07T16:35:24.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-07T16:35:24.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-07T16:35:24.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-07T16:35:24.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.307s coverage: 27.6% of statements [2023-02-07T16:35:24.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.378s coverage: 78.9% of statements [2023-02-07T16:35:24.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-07T16:35:26.093Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.387s coverage: 77.8% of statements [2023-02-07T16:35:26.093Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-07T16:35:26.093Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-07T16:35:28.049Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.501s coverage: 59.8% of statements [2023-02-07T16:35:28.049Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-07T16:35:28.049Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-07T16:35:28.049Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-07T16:35:28.049Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.410s coverage: 65.2% of statements [2023-02-07T16:35:28.049Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-07T16:35:28.049Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-07T16:35:28.049Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.206s coverage: 89.2% of statements [2023-02-07T16:35:28.049Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-07T16:35:28.049Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.270s coverage: 4.7% of statements [2023-02-07T16:35:28.049Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-07T16:35:28.633Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-07T16:35:28.633Z] GO111MODULE=on go vet ./... [2023-02-07T16:37:05.294Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T16:37:05.294Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T16:37:05.294Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-07T16:37:05.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T16:37:05.332Z] $ docker stop --time=1 81b24674f78aead94fa5f7d2cabb679ff484f076162f8f71a9c7f20ea1435a09 [2023-02-07T16:37:07.481Z] $ docker rm -f --volumes 81b24674f78aead94fa5f7d2cabb679ff484f076162f8f71a9c7f20ea1435a09 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T16:37:08.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T16:37:08.885Z] Warning: overwriting stash ‘coverage-report’ [2023-02-07T16:37:09.463Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T16:37:09.829Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T16:37:10.149Z] + ls -al . [2023-02-07T16:37:10.149Z] total 268 [2023-02-07T16:37:10.149Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 16:32 . [2023-02-07T16:37:10.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 16:29 .. [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 16:29 .dockerignore [2023-02-07T16:37:10.149Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 16:29 .git [2023-02-07T16:37:10.149Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 16:29 .github [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 7 16:29 .gitignore [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 7 16:29 .golangci.yml [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 7 16:29 CHANGELOG.md [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 16:29 GOVERNANCE.md [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 7 16:29 Jenkinsfile [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 7 16:29 LICENSE [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 7 16:29 Makefile [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 7 16:29 OWNERS.md [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 7 16:29 README.md [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 16:25 VERSION [2023-02-07T16:37:10.149Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 16:29 bin [2023-02-07T16:37:10.149Z] -rw-r--r-- 1 jenkins jenkins 100848 Feb 7 16:35 coverage.out [2023-02-07T16:37:10.149Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 7 16:29 example [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 3264 Feb 7 16:29 go.mod [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 32817 Feb 7 16:29 go.sum [2023-02-07T16:37:10.149Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 7 16:29 internal [2023-02-07T16:37:10.149Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 16:29 openapi [2023-02-07T16:37:10.149Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 7 16:29 pkg [2023-02-07T16:37:10.149Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 16:29 snap [2023-02-07T16:37:10.149Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 7 16:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:37:10.484Z] + 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=1907dd3da4d8424ab8a7d8378e31f6daebaad207 --label arch=arm64 --label version=0.0.0 . [2023-02-07T16:37:10.752Z] Sending build context to Docker daemon 5.791MB [2023-02-07T16:37:11.018Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T16:37:11.018Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-07T16:37:11.018Z] ---> ef7afef17c5e [2023-02-07T16:37:11.018Z] Step 3/23 : ARG MAKE=make build [2023-02-07T16:37:11.018Z] ---> Running in aff27fcc3dc0 [2023-02-07T16:37:11.288Z] Removing intermediate container aff27fcc3dc0 [2023-02-07T16:37:11.288Z] ---> 626d9cd8074a [2023-02-07T16:37:11.288Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-07T16:37:11.555Z] ---> Running in 8dbe5817fd10 [2023-02-07T16:37:11.822Z] Removing intermediate container 8dbe5817fd10 [2023-02-07T16:37:11.822Z] ---> 33739534b931 [2023-02-07T16:37:11.822Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-07T16:37:11.822Z] ---> Running in 4ff8c50255ef [2023-02-07T16:37:12.097Z] Removing intermediate container 4ff8c50255ef [2023-02-07T16:37:12.097Z] ---> 3abd19f615d2 [2023-02-07T16:37:12.097Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-07T16:37:12.385Z] ---> Running in c944221fcc9d [2023-02-07T16:37:13.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T16:37:13.700Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T16:37:14.703Z] OK: 221 MiB in 51 packages [2023-02-07T16:37:15.301Z] Removing intermediate container c944221fcc9d [2023-02-07T16:37:15.301Z] ---> 7116bd0d4ea2 [2023-02-07T16:37:15.301Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-07T16:37:15.898Z] ---> 7d12f1b583dd [2023-02-07T16:37:15.898Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T16:37:15.898Z] ---> Running in 279b6d0d4fe0 [2023-02-07T16:37:19.313Z] Removing intermediate container 279b6d0d4fe0 [2023-02-07T16:37:19.313Z] ---> ef076530597d [2023-02-07T16:37:19.313Z] Step 9/23 : COPY . . [2023-02-07T16:37:19.899Z] ---> 1ff2084295a0 [2023-02-07T16:37:19.899Z] Step 10/23 : RUN ${MAKE} [2023-02-07T16:37:20.167Z] ---> Running in 872b3a99492e [2023-02-07T16:37:21.147Z] 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-07T16:39:27.846Z] Removing intermediate container 872b3a99492e [2023-02-07T16:39:27.846Z] ---> bbcd98d963b1 [2023-02-07T16:39:27.846Z] Step 11/23 : FROM alpine:3.16 [2023-02-07T16:39:27.846Z] 3.16: Pulling from library/alpine [2023-02-07T16:39:27.846Z] 6875df1f5354: Pulling fs layer [2023-02-07T16:39:27.847Z] 6875df1f5354: Verifying Checksum [2023-02-07T16:39:27.847Z] 6875df1f5354: Download complete [2023-02-07T16:39:27.847Z] 6875df1f5354: Pull complete [2023-02-07T16:39:27.847Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T16:39:27.847Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T16:39:27.847Z] ---> 2b4661558fb8 [2023-02-07T16:39:27.847Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-07T16:39:27.847Z] ---> Running in e9e229d3de9d [2023-02-07T16:39:27.847Z] Removing intermediate container e9e229d3de9d [2023-02-07T16:39:27.847Z] ---> 0ec6067f2c31 [2023-02-07T16:39:27.847Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-07T16:39:27.847Z] ---> Running in bacca0e8ec7b [2023-02-07T16:39:27.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T16:39:27.847Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T16:39:27.847Z] OK: 5 MiB in 14 packages [2023-02-07T16:39:27.847Z] Removing intermediate container bacca0e8ec7b [2023-02-07T16:39:27.847Z] ---> 1ea188123adf [2023-02-07T16:39:27.847Z] Step 14/23 : WORKDIR / [2023-02-07T16:39:27.847Z] ---> Running in 65a21f902822 [2023-02-07T16:39:28.112Z] Removing intermediate container 65a21f902822 [2023-02-07T16:39:28.112Z] ---> 7fda88ee3783 [2023-02-07T16:39:28.112Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-07T16:39:28.692Z] ---> 37090a542ddd [2023-02-07T16:39:28.692Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-07T16:39:30.100Z] ---> 0db961a3e0e6 [2023-02-07T16:39:30.100Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-07T16:39:30.684Z] ---> 2ca1e270b06d [2023-02-07T16:39:30.684Z] Step 18/23 : EXPOSE 59999 [2023-02-07T16:39:30.684Z] ---> Running in 185963567f96 [2023-02-07T16:39:30.952Z] Removing intermediate container 185963567f96 [2023-02-07T16:39:30.952Z] ---> 55c3ed798758 [2023-02-07T16:39:30.952Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-07T16:39:30.952Z] ---> Running in 14f54028a89b [2023-02-07T16:39:31.219Z] Removing intermediate container 14f54028a89b [2023-02-07T16:39:31.219Z] ---> 34850045f2e2 [2023-02-07T16:39:31.219Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-07T16:39:31.219Z] ---> Running in ac0277382093 [2023-02-07T16:39:31.488Z] Removing intermediate container ac0277382093 [2023-02-07T16:39:31.488Z] ---> 8a2cedf6ae41 [2023-02-07T16:39:31.488Z] Step 21/23 : LABEL arch=arm64 [2023-02-07T16:39:31.756Z] ---> Running in 864045c0545c [2023-02-07T16:39:32.023Z] Removing intermediate container 864045c0545c [2023-02-07T16:39:32.023Z] ---> 1e90294b451d [2023-02-07T16:39:32.023Z] Step 22/23 : LABEL git_sha=1907dd3da4d8424ab8a7d8378e31f6daebaad207 [2023-02-07T16:39:32.023Z] ---> Running in 2c78867f6585 [2023-02-07T16:39:32.292Z] Removing intermediate container 2c78867f6585 [2023-02-07T16:39:32.292Z] ---> 6329a9baf369 [2023-02-07T16:39:32.292Z] Step 23/23 : LABEL version=0.0.0 [2023-02-07T16:39:32.292Z] ---> Running in 285fe4a14124 [2023-02-07T16:39:32.559Z] Removing intermediate container 285fe4a14124 [2023-02-07T16:39:32.559Z] ---> 0272ddb35684 [2023-02-07T16:39:32.559Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T16:39:32.826Z] Successfully built 0272ddb35684 [2023-02-07T16:39:32.826Z] 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-07T16:39:33.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T16:39:33.263Z] [2023-02-07T16:39:33.263Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:39:33.603Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T16:39:33.604Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-07T16:39:33.604Z] 8998bd30e6a1: Pulling fs layer [2023-02-07T16:39:33.604Z] 04944245beec: Pulling fs layer [2023-02-07T16:39:33.604Z] 699f458cf7ca: Pulling fs layer [2023-02-07T16:39:33.604Z] 765212b225bb: Pulling fs layer [2023-02-07T16:39:33.604Z] f23df028b6ca: Pulling fs layer [2023-02-07T16:39:33.604Z] d65c8cfc05b1: Pulling fs layer [2023-02-07T16:39:33.604Z] 2437ff75d9bd: Pulling fs layer [2023-02-07T16:39:33.604Z] 765212b225bb: Waiting [2023-02-07T16:39:33.604Z] f23df028b6ca: Waiting [2023-02-07T16:39:33.604Z] 2437ff75d9bd: Waiting [2023-02-07T16:39:33.872Z] 04944245beec: Verifying Checksum [2023-02-07T16:39:33.872Z] 04944245beec: Download complete [2023-02-07T16:39:33.872Z] 765212b225bb: Verifying Checksum [2023-02-07T16:39:33.872Z] 765212b225bb: Download complete [2023-02-07T16:39:33.872Z] f23df028b6ca: Verifying Checksum [2023-02-07T16:39:33.872Z] f23df028b6ca: Download complete [2023-02-07T16:39:34.148Z] d65c8cfc05b1: Verifying Checksum [2023-02-07T16:39:34.148Z] d65c8cfc05b1: Download complete [2023-02-07T16:39:34.148Z] 699f458cf7ca: Verifying Checksum [2023-02-07T16:39:34.148Z] 699f458cf7ca: Download complete [2023-02-07T16:39:34.415Z] 8998bd30e6a1: Verifying Checksum [2023-02-07T16:39:34.415Z] 8998bd30e6a1: Download complete [2023-02-07T16:39:36.989Z] 2437ff75d9bd: Verifying Checksum [2023-02-07T16:39:36.989Z] 2437ff75d9bd: Download complete [2023-02-07T16:39:38.396Z] 8998bd30e6a1: Pull complete [2023-02-07T16:39:38.664Z] 04944245beec: Pull complete [2023-02-07T16:39:40.071Z] 699f458cf7ca: Pull complete [2023-02-07T16:39:40.336Z] 765212b225bb: Pull complete [2023-02-07T16:39:40.920Z] f23df028b6ca: Pull complete [2023-02-07T16:39:41.187Z] d65c8cfc05b1: Pull complete [2023-02-07T16:39:56.162Z] 2437ff75d9bd: Pull complete [2023-02-07T16:39:56.162Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-07T16:39:56.162Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T16:39:56.162Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:39:56.338Z] prd-ubuntu20.04-docker-arm64-4c-16g-4936 does not seem to be running inside a container [2023-02-07T16:39:56.409Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-07T16:39:59.010Z] $ docker top a119984d2278809ebacec980bc3a15678ace0592c5be32807a8a2527283552c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:39:59.825Z] ---> job-cost.sh [2023-02-07T16:39:59.825Z] lf-activate-venv: SKIPPING [2023-02-07T16:39:59.825Z] INFO: No Stack... [2023-02-07T16:40:00.404Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-07T16:40:00.982Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T16:40:01.311Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv+ cut -d, -f6 [2023-02-07T16:40:01.311Z] [Pipeline] lock [2023-02-07T16:40:01.375Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1305-3-stack-cost] [2023-02-07T16:40:01.383Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1305-3-stack-cost] did not exist. Created. [2023-02-07T16:40:01.383Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1305-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T16:40:01.725Z] /w/workspace/device-sdk-go/3@tmp/durable-af82a18a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-07T16:40:02.064Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-07T16:40:02.078Z] Warning: overwriting stash ‘stack-cost’ [2023-02-07T16:40:02.136Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T16:40:02.144Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1305-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T16:40:02.168Z] $ docker stop --time=1 a119984d2278809ebacec980bc3a15678ace0592c5be32807a8a2527283552c4 [2023-02-07T16:40:03.649Z] $ docker rm -f --volumes a119984d2278809ebacec980bc3a15678ace0592c5be32807a8a2527283552c4 [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-07T16:40:03.987Z] provisioning config files... [2023-02-07T16:40:03.993Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/config3806776832409845486tmp [Pipeline] { [Pipeline] sh [2023-02-07T16:40:04.280Z] + set +x [2023-02-07T16:40:04.280Z] + + curl -s https://codecov.io/bash [2023-02-07T16:40:04.280Z] bash -s -- [2023-02-07T16:40:04.280Z] [2023-02-07T16:40:04.280Z] _____ _ [2023-02-07T16:40:04.280Z] / ____| | | [2023-02-07T16:40:04.280Z] | | ___ __| | ___ ___ _____ __ [2023-02-07T16:40:04.280Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-07T16:40:04.280Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-07T16:40:04.280Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-07T16:40:04.280Z] Bash-1.0.6 [2023-02-07T16:40:04.280Z] [2023-02-07T16:40:04.280Z] [2023-02-07T16:40:04.280Z] ==> git version 2.25.1 found [2023-02-07T16:40:04.280Z] ==> 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-07T16:40:04.280Z] Release-Date: 2020-01-08 [2023-02-07T16:40:04.280Z] 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-07T16:40:04.280Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-07T16:40:04.280Z] ==> Jenkins CI detected. [2023-02-07T16:40:04.280Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1305 [2023-02-07T16:40:04.280Z] project root: . [2023-02-07T16:40:04.280Z] --> token set from env [2023-02-07T16:40:04.280Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-07T16:40:04.280Z] ==> Running gcov in . (disable via -X gcov) [2023-02-07T16:40:04.280Z] ==> Python coveragepy not found [2023-02-07T16:40:04.280Z] ==> Searching for coverage reports in: [2023-02-07T16:40:04.280Z] + . [2023-02-07T16:40:04.280Z] -> Found 1 reports [2023-02-07T16:40:04.280Z] ==> Detecting git/mercurial file structure [2023-02-07T16:40:04.280Z] ==> Reading reports [2023-02-07T16:40:04.280Z] + ./coverage.out bytes=100848 [2023-02-07T16:40:04.280Z] ==> Appending adjustments [2023-02-07T16:40:04.280Z] https://docs.codecov.io/docs/fixing-reports [2023-02-07T16:40:04.540Z] + Found adjustments [2023-02-07T16:40:04.540Z] ==> Gzipping contents [2023-02-07T16:40:04.540Z] 16K /tmp/codecov.Vvr0km.gz [2023-02-07T16:40:04.540Z] ==> Uploading reports [2023-02-07T16:40:04.540Z] url: https://codecov.io [2023-02-07T16:40:04.540Z] query: branch=PR-1305&commit=1907dd3da4d8424ab8a7d8378e31f6daebaad207&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1305%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1305&job=&cmd_args= [2023-02-07T16:40:04.540Z] -> Pinging Codecov [2023-02-07T16:40:04.540Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1305&commit=1907dd3da4d8424ab8a7d8378e31f6daebaad207&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1305%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1305&job=&cmd_args= [2023-02-07T16:40:04.799Z] -> Uploading to [2023-02-07T16:40:04.799Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-07/7E55EF52A471D76F132DFD9A03CDDE97/1907dd3da4d8424ab8a7d8378e31f6daebaad207/293d0e1f-74ca-4f37-a822-86e0c943068b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T164004Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2d2bfe5785ed99f348be04ca916bb2a442d05498b2f7daed3d8b89a0c7d92e8e [2023-02-07T16:40:05.058Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T16:40:05.058Z] Dload Upload Total Spent Left Speed [2023-02-07T16:40:05.316Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14540 0 0 100 14540 0 50839 --:--:-- --:--:-- --:--:-- 50839 [2023-02-07T16:40:05.316Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/1907dd3da4d8424ab8a7d8378e31f6daebaad207 [Pipeline] } [2023-02-07T16:40:05.323Z] 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-07T16:40:05.960Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives ] [2023-02-07T16:40:05.960Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives [2023-02-07T16:40:05.960Z] total 16 [2023-02-07T16:40:05.960Z] drwxr-xr-x 3 root root 4096 Feb 7 16:27 . [2023-02-07T16:40:05.960Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 7 16:27 .. [2023-02-07T16:40:05.960Z] drwxr-xr-x 2 root root 4096 Feb 7 16:27 cost [2023-02-07T16:40:05.960Z] -rw-r--r-- 1 root root 86 Feb 7 16:27 cost.csv [2023-02-07T16:40:05.960Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives [2023-02-07T16:40:05.960Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives [2023-02-07T16:40:05.960Z] total 16 [2023-02-07T16:40:05.960Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 16:27 . [2023-02-07T16:40:05.960Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 7 16:27 .. [2023-02-07T16:40:05.960Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 16:27 cost [2023-02-07T16:40:05.960Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 7 16:27 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:40:06.250Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:40:07.104Z] ---> package-listing.sh [2023-02-07T16:40:07.104Z] ++ facter osfamily [2023-02-07T16:40:07.104Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-07T16:40:07.369Z] + OS_FAMILY=debian [2023-02-07T16:40:07.369Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1305 [2023-02-07T16:40:07.369Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-07T16:40:07.369Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-07T16:40:07.369Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-07T16:40:07.369Z] + PACKAGES=/tmp/packages_start.txt [2023-02-07T16:40:07.369Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1305 ']' [2023-02-07T16:40:07.369Z] + PACKAGES=/tmp/packages_end.txt [2023-02-07T16:40:07.369Z] + case "${OS_FAMILY}" in [2023-02-07T16:40:07.369Z] + dpkg -l [2023-02-07T16:40:07.369Z] + grep '^ii' [2023-02-07T16:40:07.369Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-07T16:40:07.369Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-07T16:40:07.369Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-07T16:40:07.369Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1305 ']' [2023-02-07T16:40:07.369Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives/ [2023-02-07T16:40:07.369Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1305/archives/ [Pipeline] echo [2023-02-07T16:40:07.380Z] 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-1305/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-07T16:40:07.661Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T16:40:08.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T16:40:08.232Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T16:40:08.301Z] prd-ubuntu20.04-docker-8c-8g-4934 does not seem to be running inside a container [2023-02-07T16:40:08.332Z] $ 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-1305/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-1305 -v /w/workspace/gexfoundry_device-sdk-go_PR-1305:/w/workspace/gexfoundry_device-sdk-go_PR-1305:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T16:40:08.547Z] $ docker top ce17ebd322b57dd5afc602558c1cfcb517512844474626b4c0a2e973f4ba9eb3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T16:40:08.892Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-07T16:40:09.178Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-07T16:40:09.462Z] + ls /var/log/sa-host [2023-02-07T16:40:09.462Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T16:40:09.535Z] provisioning config files... [2023-02-07T16:40:09.543Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1305@tmp/config8089370774114903884tmp [Pipeline] { [Pipeline] echo [2023-02-07T16:40:09.555Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:40:09.840Z] ---> create-netrc.sh [Pipeline] } [2023-02-07T16:40:09.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:40:10.165Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-07T16:40:10.174Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:40:10.458Z] ---> sudo-logs.sh [2023-02-07T16:40:10.458Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-07T16:40:10.492Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:40:10.778Z] ---> job-cost.sh [2023-02-07T16:40:10.778Z] lf-activate-venv: SKIPPING [2023-02-07T16:40:10.778Z] DEBUG: total: 0.2199999988079071 [2023-02-07T16:40:10.778Z] INFO: Retrieving Stack Cost... [2023-02-07T16:40:11.039Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T16:40:11.298Z] INFO: Archiving Costs [Pipeline] echo [2023-02-07T16:40:11.312Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T16:40:11.589Z] ---> logs-deploy.sh [2023-02-07T16:40:11.590Z] lf-activate-venv: SKIPPING [2023-02-07T16:40:11.590Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1305/3 [2023-02-07T16:40:11.590Z] INFO: archiving workspace using pattern(s): [2023-02-07T16:40:12.522Z] Archives upload complete. [2023-02-07T16:40:12.522Z] INFO: archiving logs to Nexus