Pull request #1325 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d6e18c1181632386634fb5345d650d98d0b5e6a8+8b9fd5bc22bc5ff949621087fe72c38333f95112 (0611d20377cdfe71f70888c920c98a806dc04ddb) 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-ssh6869808557665992248.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-ssh11158219237397534123.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1458858020056870105.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17974010897663795811.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8061843490159043170.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1325/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1325/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4693748590360601691.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 ‘prd-ubuntu20.04-docker-8c-8g-6097’ Running on prd-ubuntu20.04-docker-8c-8g-6098 in /w/workspace/gexfoundry_device-sdk-go_PR-1325 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1325 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1325/head:refs/remotes/origin/PR-1325 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit d6e18c1181632386634fb5345d650d98d0b5e6a8 Merge succeeded, producing d6e18c1181632386634fb5345d650d98d0b5e6a8 Checking out Revision d6e18c1181632386634fb5345d650d98d0b5e6a8 (PR-1325) > git config core.sparsecheckout # timeout=10 > git checkout -f d6e18c1181632386634fb5345d650d98d0b5e6a8 # 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 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6e18c1181632386634fb5345d650d98d0b5e6a8 # timeout=10 Commit message: "feat!: replace REST device validation callback with MessageBus" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-15T10:46:39.169Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T10:46:39.336Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-15T10:46:39.424Z] ========================================================= [2023-02-15T10:46:39.424Z] EdgeX Global Pipelines Version Info [2023-02-15T10:46:39.424Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:46:40.162Z] ------------------- [2023-02-15T10:46:40.162Z] stable info: [2023-02-15T10:46:40.162Z] ------------------- [2023-02-15T10:46:40.162Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T10:46:40.162Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T10:46:40.162Z] Message: update stable to v1.0.244 [2023-02-15T10:46:40.731Z] ------------------- [2023-02-15T10:46:40.731Z] experimental info: [2023-02-15T10:46:40.731Z] ------------------- [2023-02-15T10:46:40.731Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T10:46:40.731Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T10:46:40.731Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T10:46:41.013Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-15T10:46:41.056Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-15T10:46:41.098Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T10:46:41.137Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T10:46:41.178Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T10:46:41.217Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T10:46:41.256Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T10:46:41.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-15T10:46:41.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T10:46:41.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T10:46:41.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T10:46:41.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-15T10:46:41.491Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T10:46:41.532Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T10:46:41.571Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T10:46:41.608Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T10:46:41.647Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T10:46:41.686Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T10:46:41.721Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T10:46:41.763Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T10:46:41.820Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-15T10:46:41.862Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-15T10:46:41.896Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T10:46:41.937Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T10:46:41.980Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T10:46:42.020Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T10:46:42.062Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T10:46:42.100Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1325 [Pipeline] echo [2023-02-15T10:46:42.137Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1325 [Pipeline] echo [2023-02-15T10:46:42.176Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1325 [Pipeline] echo [2023-02-15T10:46:42.219Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6e18c1181632386634fb5345d650d98d0b5e6a8 [Pipeline] echo [2023-02-15T10:46:42.262Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6e18c1 [Pipeline] echo [2023-02-15T10:46:42.302Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T10:46:42.410Z] provisioning config files... [2023-02-15T10:46:42.423Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config8992932075447454996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:46:42.765Z] ---> docker-login.sh [2023-02-15T10:46:42.765Z] nexus3.edgexfoundry.org:10001 [2023-02-15T10:46:43.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:46:43.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:46:43.970Z] Configure a credential helper to remove this warning. See [2023-02-15T10:46:43.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:46:43.970Z] [2023-02-15T10:46:43.970Z] Login Succeeded [2023-02-15T10:46:43.970Z] nexus3.edgexfoundry.org:10002 [2023-02-15T10:46:43.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:46:43.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:46:43.970Z] Configure a credential helper to remove this warning. See [2023-02-15T10:46:43.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:46:43.970Z] [2023-02-15T10:46:43.970Z] Login Succeeded [2023-02-15T10:46:43.970Z] nexus3.edgexfoundry.org:10003 [2023-02-15T10:46:43.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:46:43.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:46:43.970Z] Configure a credential helper to remove this warning. See [2023-02-15T10:46:43.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:46:43.970Z] [2023-02-15T10:46:43.970Z] Login Succeeded [2023-02-15T10:46:43.970Z] nexus3.edgexfoundry.org:10004 [2023-02-15T10:46:43.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:46:44.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:46:44.230Z] Configure a credential helper to remove this warning. See [2023-02-15T10:46:44.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:46:44.230Z] [2023-02-15T10:46:44.230Z] Login Succeeded [2023-02-15T10:46:44.230Z] docker.io [2023-02-15T10:46:44.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:46:44.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:46:44.489Z] Configure a credential helper to remove this warning. See [2023-02-15T10:46:44.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:46:44.489Z] [2023-02-15T10:46:44.489Z] Login Succeeded [2023-02-15T10:46:44.489Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T10:46:44.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T10:46:45.106Z] + git rev-list -1 --merges d6e18c1181632386634fb5345d650d98d0b5e6a8~1..d6e18c1181632386634fb5345d650d98d0b5e6a8 [Pipeline] echo [2023-02-15T10:46:45.168Z] -----------> git rev-list -1 --merges d6e18c1181632386634fb5345d650d98d0b5e6a8~1..d6e18c1181632386634fb5345d650d98d0b5e6a8 d6e18c1181632386634fb5345d650d98d0b5e6a8 [false] [Pipeline] sh [2023-02-15T10:46:45.476Z] + git log --format=format:%s -1 d6e18c1181632386634fb5345d650d98d0b5e6a8 [Pipeline] echo [2023-02-15T10:46:45.512Z] ========================================================= [2023-02-15T10:46:45.512Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T10:46:45.512Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T10:46:45.979Z] + git log --format=format:%s -1 d6e18c1181632386634fb5345d650d98d0b5e6a8 [Pipeline] echo [2023-02-15T10:46:46.012Z] [semverPrep] GIT_COMMIT: d6e18c1181632386634fb5345d650d98d0b5e6a8, Commit Message: feat!: replace REST device validation callback with MessageBus [Pipeline] echo [2023-02-15T10:46:46.040Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T10:46:46.419Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T10:46:46.419Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T10:46:46.419Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T10:46:46.419Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T10:46:46.419Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T10:46:46.419Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T10:46:46.419Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:46:46.867Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T10:46:46.867Z] [2023-02-15T10:46:46.867Z] 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-15T10:46:47.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T10:46:47.252Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T10:46:47.252Z] b85a868b505f: Pulling fs layer [2023-02-15T10:46:47.252Z] e2be974225ed: Pulling fs layer [2023-02-15T10:46:47.252Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T10:46:47.252Z] 988bab9f4d93: Pulling fs layer [2023-02-15T10:46:47.252Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T10:46:47.252Z] eaf3925da568: Pulling fs layer [2023-02-15T10:46:47.252Z] bab4dde63d76: Pulling fs layer [2023-02-15T10:46:47.252Z] bde34c3a00c8: Pulling fs layer [2023-02-15T10:46:47.252Z] b352a97aabf1: Pulling fs layer [2023-02-15T10:46:47.252Z] 4872d77fe225: Pulling fs layer [2023-02-15T10:46:47.252Z] 988bab9f4d93: Waiting [2023-02-15T10:46:47.252Z] 5851b861e8e6: Pulling fs layer [2023-02-15T10:46:47.252Z] 1469e6f7b9e6: Waiting [2023-02-15T10:46:47.252Z] eaf3925da568: Waiting [2023-02-15T10:46:47.252Z] bab4dde63d76: Waiting [2023-02-15T10:46:47.252Z] 4872d77fe225: Waiting [2023-02-15T10:46:47.252Z] bde34c3a00c8: Waiting [2023-02-15T10:46:47.252Z] 5851b861e8e6: Waiting [2023-02-15T10:46:47.252Z] b352a97aabf1: Waiting [2023-02-15T10:46:47.252Z] e2be974225ed: Download complete [2023-02-15T10:46:47.252Z] 988bab9f4d93: Verifying Checksum [2023-02-15T10:46:47.252Z] 988bab9f4d93: Download complete [2023-02-15T10:46:47.514Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T10:46:47.514Z] 1469e6f7b9e6: Download complete [2023-02-15T10:46:47.776Z] eaf3925da568: Verifying Checksum [2023-02-15T10:46:47.776Z] eaf3925da568: Download complete [2023-02-15T10:46:47.776Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T10:46:47.776Z] 339a4e72a1f5: Download complete [2023-02-15T10:46:47.776Z] bde34c3a00c8: Verifying Checksum [2023-02-15T10:46:47.776Z] bde34c3a00c8: Download complete [2023-02-15T10:46:47.776Z] b352a97aabf1: Download complete [2023-02-15T10:46:47.776Z] 4872d77fe225: Verifying Checksum [2023-02-15T10:46:47.776Z] 4872d77fe225: Download complete [2023-02-15T10:46:47.776Z] 5851b861e8e6: Verifying Checksum [2023-02-15T10:46:47.776Z] 5851b861e8e6: Download complete [2023-02-15T10:46:47.776Z] b85a868b505f: Verifying Checksum [2023-02-15T10:46:47.776Z] b85a868b505f: Download complete [2023-02-15T10:46:48.345Z] bab4dde63d76: Verifying Checksum [2023-02-15T10:46:48.345Z] bab4dde63d76: Download complete [2023-02-15T10:46:48.924Z] b85a868b505f: Pull complete [2023-02-15T10:46:49.184Z] e2be974225ed: Pull complete [2023-02-15T10:46:49.767Z] 339a4e72a1f5: Pull complete [2023-02-15T10:46:49.767Z] 988bab9f4d93: Pull complete [2023-02-15T10:46:50.047Z] 1469e6f7b9e6: Pull complete [2023-02-15T10:46:50.047Z] eaf3925da568: Pull complete [2023-02-15T10:46:51.949Z] bab4dde63d76: Pull complete [2023-02-15T10:46:51.949Z] bde34c3a00c8: Pull complete [2023-02-15T10:46:51.949Z] b352a97aabf1: Pull complete [2023-02-15T10:46:51.949Z] 4872d77fe225: Pull complete [2023-02-15T10:46:51.949Z] 5851b861e8e6: Pull complete [2023-02-15T10:46:51.949Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T10:46:51.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T10:46:51.949Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T10:46:52.185Z] prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container [2023-02-15T10:46:52.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T10:46:56.543Z] $ docker top 3e625d092fd35be0de8a6119650bcab366326c2b8e66a3297896af962c676e88 -eo pid,comm [2023-02-15T10:46:56.602Z] 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-15T10:46:56.602Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T10:46:56.736Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T10:46:56.736Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T10:46:56.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T10:46:56.858Z] $ docker exec 3e625d092fd35be0de8a6119650bcab366326c2b8e66a3297896af962c676e88 ssh-agent [2023-02-15T10:46:56.971Z] SSH_AUTH_SOCK=/tmp/ssh-kcU6J7sI9W59/agent.32 [2023-02-15T10:46:56.971Z] SSH_AGENT_PID=38 [2023-02-15T10:46:56.977Z] Running ssh-add (command line suppressed) [2023-02-15T10:46:57.090Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_7916531589265712856.key (/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_7916531589265712856.key) [2023-02-15T10:46:57.109Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T10:46:57.446Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T10:46:57.468Z] $ docker exec --env ******** --env ******** 3e625d092fd35be0de8a6119650bcab366326c2b8e66a3297896af962c676e88 ssh-agent -k [2023-02-15T10:46:57.566Z] unset SSH_AUTH_SOCK; [2023-02-15T10:46:57.566Z] unset SSH_AGENT_PID; [2023-02-15T10:46:57.567Z] echo Agent pid 38 killed; [2023-02-15T10:46:57.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T10:46:57.665Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T10:46:57.665Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T10:46:57.769Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T10:46:57.768Z] $ docker exec 3e625d092fd35be0de8a6119650bcab366326c2b8e66a3297896af962c676e88 ssh-agent [2023-02-15T10:46:57.899Z] SSH_AUTH_SOCK=/tmp/ssh-HpmYnRqoTzyh/agent.72 [2023-02-15T10:46:57.899Z] SSH_AGENT_PID=78 [2023-02-15T10:46:57.903Z] Running ssh-add (command line suppressed) [2023-02-15T10:46:57.990Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_16482753262229247430.key (/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/private_key_16482753262229247430.key) [2023-02-15T10:46:58.005Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T10:46:58.327Z] + git semver init [2023-02-15T10:46:58.587Z] 2023-02-15 10:46:58,522 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T10:46:58.587Z] 2023-02-15 10:46:58,523 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver [2023-02-15T10:46:58.587Z] 2023-02-15 10:46:58,523 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver [2023-02-15T10:46:58.587Z] 2023-02-15 10:46:58,524 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325, universal_newlines=False, shell=None, istream=None) [2023-02-15T10:46:59.965Z] 2023-02-15 10:46:59,582 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.git/info/exclude [2023-02-15T10:46:59.965Z] 2023-02-15 10:46:59,583 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 with force:False [2023-02-15T10:46:59.965Z] 2023-02-15 10:46:59,583 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 [2023-02-15T10:46:59.965Z] 2023-02-15 10:46:59,586 [execute] INFO git cat-file --batch-check [2023-02-15T10:46:59.965Z] 2023-02-15 10:46:59,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T10:46:59.965Z] 2023-02-15 10:46:59,592 [execute] INFO git cat-file --batch [2023-02-15T10:46:59.965Z] 2023-02-15 10:46:59,592 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T10:46:59.965Z] 2023-02-15 10:46:59,596 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1325/.semver/PR-1325 [2023-02-15T10:46:59.965Z] 0.0.0 [Pipeline] } [2023-02-15T10:46:59.989Z] $ docker exec --env ******** --env ******** 3e625d092fd35be0de8a6119650bcab366326c2b8e66a3297896af962c676e88 ssh-agent -k [2023-02-15T10:47:00.099Z] unset SSH_AUTH_SOCK; [2023-02-15T10:47:00.100Z] unset SSH_AGENT_PID; [2023-02-15T10:47:00.100Z] echo Agent pid 78 killed; [2023-02-15T10:47:00.113Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T10:47:00.529Z] + git semver [Pipeline] } [2023-02-15T10:47:00.808Z] $ docker stop --time=1 3e625d092fd35be0de8a6119650bcab366326c2b8e66a3297896af962c676e88 [2023-02-15T10:47:02.072Z] $ docker rm -f --volumes 3e625d092fd35be0de8a6119650bcab366326c2b8e66a3297896af962c676e88 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T10:47:02.472Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T10:47:02.735Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T10:47:02.753Z] [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-15T10:47:03.301Z] provisioning config files... [2023-02-15T10:47:03.311Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config8218352125306575900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:47:03.649Z] ---> docker-login.sh [2023-02-15T10:47:03.649Z] nexus3.edgexfoundry.org:10001 [2023-02-15T10:47:03.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:47:03.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:47:03.649Z] Configure a credential helper to remove this warning. See [2023-02-15T10:47:03.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:47:03.650Z] [2023-02-15T10:47:03.650Z] Login Succeeded [2023-02-15T10:47:03.650Z] nexus3.edgexfoundry.org:10002 [2023-02-15T10:47:03.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:47:03.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:47:03.650Z] Configure a credential helper to remove this warning. See [2023-02-15T10:47:03.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:47:03.650Z] [2023-02-15T10:47:03.650Z] Login Succeeded [2023-02-15T10:47:03.650Z] nexus3.edgexfoundry.org:10003 [2023-02-15T10:47:03.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:47:03.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:47:03.908Z] Configure a credential helper to remove this warning. See [2023-02-15T10:47:03.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:47:03.908Z] [2023-02-15T10:47:03.908Z] Login Succeeded [2023-02-15T10:47:03.908Z] nexus3.edgexfoundry.org:10004 [2023-02-15T10:47:03.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:47:03.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:47:03.908Z] Configure a credential helper to remove this warning. See [2023-02-15T10:47:03.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:47:03.908Z] [2023-02-15T10:47:03.908Z] Login Succeeded [2023-02-15T10:47:03.908Z] docker.io [2023-02-15T10:47:03.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:47:04.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:47:04.167Z] Configure a credential helper to remove this warning. See [2023-02-15T10:47:04.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:47:04.167Z] [2023-02-15T10:47:04.167Z] Login Succeeded [2023-02-15T10:47:04.167Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T10:47:04.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T10:47:04.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T10:47:04.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T10:47:04.439Z] ========================================================= [2023-02-15T10:47:04.439Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T10:47:04.439Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:47:04.910Z] + 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-15T10:47:04.910Z] Sending build context to Docker daemon 10.53MB [2023-02-15T10:47:04.910Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T10:47:04.910Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T10:47:05.180Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T10:47:05.180Z] 213ec9aee27d: Pulling fs layer [2023-02-15T10:47:05.180Z] 4583459ba037: Pulling fs layer [2023-02-15T10:47:05.180Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T10:47:05.180Z] 53926ce57604: Pulling fs layer [2023-02-15T10:47:05.180Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T10:47:05.180Z] 22ff95d597cd: Pulling fs layer [2023-02-15T10:47:05.180Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T10:47:05.180Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T10:47:05.180Z] a7acece74701: Pulling fs layer [2023-02-15T10:47:05.180Z] 53926ce57604: Waiting [2023-02-15T10:47:05.180Z] 22ff95d597cd: Waiting [2023-02-15T10:47:05.180Z] 12d6caf4c0d1: Waiting [2023-02-15T10:47:05.180Z] 96b7cbca73a9: Waiting [2023-02-15T10:47:05.180Z] a7acece74701: Waiting [2023-02-15T10:47:05.180Z] 21b2b0c7a3f4: Waiting [2023-02-15T10:47:05.180Z] 93c1e223e6f2: Verifying Checksum [2023-02-15T10:47:05.180Z] 93c1e223e6f2: Download complete [2023-02-15T10:47:05.180Z] 4583459ba037: Download complete [2023-02-15T10:47:05.180Z] 21b2b0c7a3f4: Download complete [2023-02-15T10:47:05.180Z] 22ff95d597cd: Download complete [2023-02-15T10:47:05.180Z] 213ec9aee27d: Verifying Checksum [2023-02-15T10:47:05.180Z] 213ec9aee27d: Download complete [2023-02-15T10:47:05.180Z] 12d6caf4c0d1: Download complete [2023-02-15T10:47:05.454Z] 213ec9aee27d: Pull complete [2023-02-15T10:47:05.454Z] 4583459ba037: Pull complete [2023-02-15T10:47:05.454Z] 93c1e223e6f2: Pull complete [2023-02-15T10:47:06.066Z] a7acece74701: Verifying Checksum [2023-02-15T10:47:06.066Z] a7acece74701: Download complete [2023-02-15T10:47:06.330Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T10:47:06.591Z] 53926ce57604: Verifying Checksum [2023-02-15T10:47:06.591Z] 53926ce57604: Download complete [2023-02-15T10:47:10.775Z] 53926ce57604: Pull complete [2023-02-15T10:47:10.775Z] 21b2b0c7a3f4: Pull complete [2023-02-15T10:47:10.775Z] 22ff95d597cd: Pull complete [2023-02-15T10:47:10.775Z] 12d6caf4c0d1: Pull complete [2023-02-15T10:47:13.306Z] 96b7cbca73a9: Pull complete [2023-02-15T10:47:13.871Z] a7acece74701: Pull complete [2023-02-15T10:47:13.871Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T10:47:13.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T10:47:13.871Z] ---> db6d94c90886 [2023-02-15T10:47:13.871Z] Step 3/10 : ARG MAKE=make build [2023-02-15T10:47:18.066Z] ---> Running in c22a530e1327 [2023-02-15T10:47:18.133Z] Still waiting to schedule task [2023-02-15T10:47:18.133Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6095’ is offline [2023-02-15T10:47:18.325Z] Removing intermediate container c22a530e1327 [2023-02-15T10:47:18.325Z] ---> 331206eb3a2d [2023-02-15T10:47:18.325Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T10:47:18.325Z] ---> Running in 657d744942b9 [2023-02-15T10:47:18.325Z] Removing intermediate container 657d744942b9 [2023-02-15T10:47:18.325Z] ---> 7cddb3940426 [2023-02-15T10:47:18.325Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T10:47:18.325Z] ---> Running in 9319a2526db6 [2023-02-15T10:47:18.584Z] Removing intermediate container 9319a2526db6 [2023-02-15T10:47:18.584Z] ---> 01bc5ddedc7f [2023-02-15T10:47:18.584Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T10:47:18.584Z] ---> Running in 156bd558edc9 [2023-02-15T10:47:18.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T10:47:18.843Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T10:47:19.411Z] OK: 211 MiB in 51 packages [2023-02-15T10:47:19.670Z] Removing intermediate container 156bd558edc9 [2023-02-15T10:47:19.670Z] ---> 1f620c5544d3 [2023-02-15T10:47:19.670Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T10:47:19.670Z] ---> a6dcb4e37ac3 [2023-02-15T10:47:19.670Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T10:47:19.670Z] ---> Running in 10a6edd07695 [2023-02-15T10:47:51.795Z] Removing intermediate container 10a6edd07695 [2023-02-15T10:47:51.795Z] ---> 9c7b1204caf2 [2023-02-15T10:47:51.795Z] Step 9/10 : COPY . . [2023-02-15T10:47:51.795Z] ---> 4c4e944b355c [2023-02-15T10:47:51.795Z] Step 10/10 : RUN ${MAKE} [2023-02-15T10:47:51.795Z] ---> Running in 6ef1f494e7a5 [2023-02-15T10:47:51.795Z] noop [2023-02-15T10:47:51.795Z] Removing intermediate container 6ef1f494e7a5 [2023-02-15T10:47:51.795Z] ---> 95535782dadd [2023-02-15T10:47:51.795Z] Successfully built 95535782dadd [2023-02-15T10:47:51.795Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:47:52.256Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T10:47:52.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T10:47:52.405Z] prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container [2023-02-15T10:47:52.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T10:47:52.794Z] $ docker top 7a1aae6d570e0721492e22b2e6ff4da91f967db6f4666bd1587b560aa9e549ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T10:47:53.197Z] + go version [2023-02-15T10:47:53.197Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T10:47:53.223Z] $ docker stop --time=1 7a1aae6d570e0721492e22b2e6ff4da91f967db6f4666bd1587b560aa9e549ea [2023-02-15T10:47:54.486Z] $ docker rm -f --volumes 7a1aae6d570e0721492e22b2e6ff4da91f967db6f4666bd1587b560aa9e549ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:47:55.296Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T10:47:55.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T10:47:55.464Z] prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container [2023-02-15T10:47:55.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T10:47:55.850Z] $ docker top 6d9ae1fb9c8762da631da4f3f8a6ff6d2d6795d905cd86436f9a7c1532c921fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T10:47:56.244Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1325 [Pipeline] fileExists [Pipeline] sh [2023-02-15T10:47:56.603Z] + make test [2023-02-15T10:47:56.603Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T10:48:03.163Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T10:48:18.034Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T10:48:18.034Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T10:48:18.034Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T10:48:18.034Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T10:48:18.034Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T10:48:18.034Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements [2023-02-15T10:48:18.034Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 78.9% of statements [2023-02-15T10:48:18.034Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T10:48:18.034Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.106s coverage: 78.1% of statements [2023-02-15T10:48:18.034Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T10:48:18.034Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T10:48:18.034Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.110s coverage: 74.7% of statements [2023-02-15T10:48:18.034Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T10:48:21.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.077s coverage: 14.9% of statements [2023-02-15T10:48:21.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T10:48:21.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.098s coverage: 65.2% of statements [2023-02-15T10:48:21.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T10:48:21.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T10:48:21.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.764s coverage: 89.2% of statements [2023-02-15T10:48:21.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T10:48:21.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.6% of statements [2023-02-15T10:48:21.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T10:48:39.387Z] 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-15T10:48:39.387Z] GO111MODULE=on go vet ./... [2023-02-15T10:48:41.920Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T10:48:41.920Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T10:48:41.920Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T10:48:41.964Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T10:48:41.994Z] $ docker stop --time=1 6d9ae1fb9c8762da631da4f3f8a6ff6d2d6795d905cd86436f9a7c1532c921fd [2023-02-15T10:48:44.868Z] $ docker rm -f --volumes 6d9ae1fb9c8762da631da4f3f8a6ff6d2d6795d905cd86436f9a7c1532c921fd [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T10:48:45.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T10:48:45.488Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T10:48:46.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T10:48:46.352Z] + ls -al . [2023-02-15T10:48:46.352Z] total 284 [2023-02-15T10:48:46.352Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 10:47 . [2023-02-15T10:48:46.352Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 10:46 .. [2023-02-15T10:48:46.352Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 10:46 .dockerignore [2023-02-15T10:48:46.352Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 10:48 .git [2023-02-15T10:48:46.352Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 10:46 .github [2023-02-15T10:48:46.352Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 10:46 .gitignore [2023-02-15T10:48:46.352Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 10:46 .golangci.yml [2023-02-15T10:48:46.353Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 10:46 .semver [2023-02-15T10:48:46.353Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 10:46 CHANGELOG.md [2023-02-15T10:48:46.353Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 10:46 GOVERNANCE.md [2023-02-15T10:48:46.353Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 10:46 Jenkinsfile [2023-02-15T10:48:46.353Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 10:46 LICENSE [2023-02-15T10:48:46.353Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 10:46 Makefile [2023-02-15T10:48:46.353Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 10:46 OWNERS.md [2023-02-15T10:48:46.353Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 10:46 README.md [2023-02-15T10:48:46.353Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 10:47 VERSION [2023-02-15T10:48:46.353Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 10:46 bin [2023-02-15T10:48:46.353Z] -rw-r--r-- 1 jenkins jenkins 111687 Feb 15 10:48 coverage.out [2023-02-15T10:48:46.353Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 10:46 example [2023-02-15T10:48:46.353Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 10:46 go.mod [2023-02-15T10:48:46.353Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 10:46 go.sum [2023-02-15T10:48:46.353Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 10:46 internal [2023-02-15T10:48:46.353Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 10:46 openapi [2023-02-15T10:48:46.353Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 10:46 pkg [2023-02-15T10:48:46.353Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 10:46 snap [2023-02-15T10:48:46.353Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 10:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:48:46.820Z] + 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=d6e18c1181632386634fb5345d650d98d0b5e6a8 --label arch=amd64 --label version=0.0.0 . [2023-02-15T10:48:46.820Z] Sending build context to Docker daemon 10.64MB [2023-02-15T10:48:46.820Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T10:48:46.820Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T10:48:46.820Z] ---> 95535782dadd [2023-02-15T10:48:46.820Z] Step 3/23 : ARG MAKE=make build [2023-02-15T10:48:47.079Z] ---> Running in 8bb69e07aa4a [2023-02-15T10:48:47.079Z] Removing intermediate container 8bb69e07aa4a [2023-02-15T10:48:47.079Z] ---> 677063a03e5a [2023-02-15T10:48:47.079Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T10:48:47.079Z] ---> Running in b17a1ef875cf [2023-02-15T10:48:47.337Z] Removing intermediate container b17a1ef875cf [2023-02-15T10:48:47.337Z] ---> 9fb05e6ac21a [2023-02-15T10:48:47.337Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T10:48:47.337Z] ---> Running in 9a6b03aacbf3 [2023-02-15T10:48:47.337Z] Removing intermediate container 9a6b03aacbf3 [2023-02-15T10:48:47.337Z] ---> 36acaedccc78 [2023-02-15T10:48:47.337Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T10:48:47.337Z] ---> Running in abd2204b1202 [2023-02-15T10:48:47.596Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T10:48:47.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T10:48:48.124Z] OK: 211 MiB in 51 packages [2023-02-15T10:48:48.384Z] Removing intermediate container abd2204b1202 [2023-02-15T10:48:48.384Z] ---> 7a20081299b8 [2023-02-15T10:48:48.384Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T10:48:48.642Z] ---> 292701c80525 [2023-02-15T10:48:48.642Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T10:48:48.642Z] ---> Running in 60c1f03c661e [2023-02-15T10:48:49.577Z] Removing intermediate container 60c1f03c661e [2023-02-15T10:48:49.577Z] ---> 3d865c2cc8a2 [2023-02-15T10:48:49.577Z] Step 9/23 : COPY . . [2023-02-15T10:48:50.143Z] ---> 5fd76b6c1b31 [2023-02-15T10:48:50.143Z] Step 10/23 : RUN ${MAKE} [2023-02-15T10:48:50.143Z] ---> Running in 5f467dabfafc [2023-02-15T10:48:50.143Z] 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-15T10:48:54.381Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6099 in /w/workspace/gexfoundry_device-sdk-go_PR-1325 [Pipeline] { [Pipeline] ws [2023-02-15T10:48:54.440Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-15T10:48:54.518Z] The recommended git tool is: git [2023-02-15T10:48:59.678Z] using credential edgex-jenkins-ssh [2023-02-15T10:48:59.694Z] Cloning the remote Git repository [2023-02-15T10:48:59.738Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T10:48:59.813Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-15T10:48:59.962Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T10:48:59.963Z] > git --version # timeout=10 [2023-02-15T10:48:59.982Z] > git --version # 'git version 2.25.1' [2023-02-15T10:48:59.984Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T10:49:00.045Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T10:49:01.685Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T10:49:01.709Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T10:49:02.623Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-15T10:49:02.669Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-15T10:49:02.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T10:49:02.687Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1325/head:refs/remotes/origin/PR-1325 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T10:49:03.405Z] Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit d6e18c1181632386634fb5345d650d98d0b5e6a8 [2023-02-15T10:49:03.674Z] Merge succeeded, producing d6e18c1181632386634fb5345d650d98d0b5e6a8 [2023-02-15T10:49:03.674Z] Checking out Revision d6e18c1181632386634fb5345d650d98d0b5e6a8 (PR-1325) [2023-02-15T10:49:03.426Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T10:49:03.452Z] > git checkout -f d6e18c1181632386634fb5345d650d98d0b5e6a8 # timeout=10 [2023-02-15T10:49:03.562Z] > git remote # timeout=10 [2023-02-15T10:49:03.583Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T10:49:03.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T10:49:03.624Z] > git merge 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 [2023-02-15T10:49:03.652Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T10:49:03.680Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T10:49:03.695Z] > git checkout -f d6e18c1181632386634fb5345d650d98d0b5e6a8 # timeout=10 [2023-02-15T10:49:07.238Z] Commit message: "feat!: replace REST device validation callback with MessageBus" [2023-02-15T10:49:07.286Z] > git --version # timeout=10 [2023-02-15T10:49:07.304Z] > git --version # 'git version 2.25.1' [2023-02-15T10:49:07.326Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T10:49:08.554Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T10:49:08.554Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T10:49:08.554Z] Dload Upload Total Spent Left Speed [2023-02-15T10:49:08.554Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh [2023-02-15T10:49:09.289Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T10:49:09.638Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T10:49:09.638Z] + sudo tee /etc/docker/daemon.new [2023-02-15T10:49:09.638Z] { [2023-02-15T10:49:09.638Z] "registry-mirrors": [ [2023-02-15T10:49:09.638Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T10:49:09.638Z] ], [2023-02-15T10:49:09.638Z] "bip": "10.250.0.254/24", [2023-02-15T10:49:09.638Z] "hosts": [ [2023-02-15T10:49:09.638Z] "tcp://0.0.0.0:5555", [2023-02-15T10:49:09.638Z] "unix:///var/run/docker.sock" [2023-02-15T10:49:09.638Z] ], [2023-02-15T10:49:09.638Z] "mtu": 1458, [2023-02-15T10:49:09.638Z] "selinux-enabled": true, [2023-02-15T10:49:09.638Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T10:49:09.638Z] } [Pipeline] sh [2023-02-15T10:49:09.982Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T10:49:10.333Z] + sudo service docker restart [2023-02-15T10:49:12.092Z] Removing intermediate container 5f467dabfafc [2023-02-15T10:49:12.093Z] ---> 7e6762b57443 [2023-02-15T10:49:12.093Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T10:49:12.093Z] 3.16: Pulling from library/alpine [2023-02-15T10:49:12.093Z] ef5531b6e74e: Pulling fs layer [2023-02-15T10:49:12.093Z] ef5531b6e74e: Verifying Checksum [2023-02-15T10:49:12.093Z] ef5531b6e74e: Download complete [2023-02-15T10:49:12.352Z] ef5531b6e74e: Pull complete [2023-02-15T10:49:12.352Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T10:49:12.352Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T10:49:12.352Z] ---> dfd21b5a31f5 [2023-02-15T10:49:12.352Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T10:49:12.352Z] ---> Running in f15059f5690f [2023-02-15T10:49:12.610Z] Removing intermediate container f15059f5690f [2023-02-15T10:49:12.610Z] ---> c685d0123f13 [2023-02-15T10:49:12.610Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T10:49:12.610Z] ---> Running in f2a927e5aac5 [2023-02-15T10:49:12.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T10:49:12.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T10:49:13.436Z] OK: 6 MiB in 14 packages [2023-02-15T10:49:13.694Z] Removing intermediate container f2a927e5aac5 [2023-02-15T10:49:13.694Z] ---> cf1953aac63b [2023-02-15T10:49:13.694Z] Step 14/23 : WORKDIR / [2023-02-15T10:49:13.694Z] ---> Running in f7cad81325b7 [2023-02-15T10:49:13.694Z] Removing intermediate container f7cad81325b7 [2023-02-15T10:49:13.694Z] ---> 8040f20067ae [2023-02-15T10:49:13.694Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T10:49:13.953Z] ---> 8241415d143f [2023-02-15T10:49:13.953Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T10:49:14.965Z] ---> c9619b53fa7a [2023-02-15T10:49:14.965Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T10:49:14.965Z] ---> 5e4eaf0480a7 [2023-02-15T10:49:14.965Z] Step 18/23 : EXPOSE 59999 [2023-02-15T10:49:14.965Z] ---> Running in 710a765465ab [2023-02-15T10:49:14.965Z] Removing intermediate container 710a765465ab [2023-02-15T10:49:14.965Z] ---> 02675f4045be [2023-02-15T10:49:14.965Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T10:49:14.965Z] ---> Running in 15629eb38836 [2023-02-15T10:49:15.224Z] Removing intermediate container 15629eb38836 [2023-02-15T10:49:15.224Z] ---> 69cc9ec33566 [2023-02-15T10:49:15.224Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T10:49:15.224Z] ---> Running in 31fdf558d8c7 [2023-02-15T10:49:15.224Z] Removing intermediate container 31fdf558d8c7 [2023-02-15T10:49:15.224Z] ---> 5831b97a7966 [2023-02-15T10:49:15.224Z] Step 21/23 : LABEL arch=amd64 [2023-02-15T10:49:15.224Z] ---> Running in d3308576d8b3 [2023-02-15T10:49:15.224Z] Removing intermediate container d3308576d8b3 [2023-02-15T10:49:15.224Z] ---> f526339a8950 [2023-02-15T10:49:15.224Z] Step 22/23 : LABEL git_sha=d6e18c1181632386634fb5345d650d98d0b5e6a8 [2023-02-15T10:49:15.483Z] ---> Running in 32f160d9281d [2023-02-15T10:49:15.483Z] Removing intermediate container 32f160d9281d [2023-02-15T10:49:15.483Z] ---> 9fe9ca6e357a [2023-02-15T10:49:15.483Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T10:49:15.483Z] ---> Running in 140c044bc4c9 [2023-02-15T10:49:15.483Z] Removing intermediate container 140c044bc4c9 [2023-02-15T10:49:15.483Z] ---> 8c596ff2f7b9 [2023-02-15T10:49:15.483Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T10:49:15.483Z] Successfully built 8c596ff2f7b9 [2023-02-15T10:49:15.483Z] 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-15T10:49:16.346Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T10:49:16.346Z] [2023-02-15T10:49:16.346Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:49:16.744Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T10:49:16.744Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T10:49:16.744Z] 5eb5b503b376: Pulling fs layer [2023-02-15T10:49:16.744Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T10:49:16.744Z] ec43610c2a17: Pulling fs layer [2023-02-15T10:49:16.744Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T10:49:16.744Z] 33b1e0a273af: Pulling fs layer [2023-02-15T10:49:16.744Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T10:49:16.744Z] 2f39f015ded8: Pulling fs layer [2023-02-15T10:49:16.744Z] 3a2ae6a8a46f: Waiting [2023-02-15T10:49:16.744Z] 33b1e0a273af: Waiting [2023-02-15T10:49:16.744Z] 5d3b04190fa2: Waiting [2023-02-15T10:49:16.744Z] 2f39f015ded8: Waiting [2023-02-15T10:49:16.744Z] 5c69ac0246d0: Download complete [2023-02-15T10:49:16.744Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-15T10:49:16.744Z] 3a2ae6a8a46f: Download complete [2023-02-15T10:49:17.013Z] 33b1e0a273af: Verifying Checksum [2023-02-15T10:49:17.013Z] 33b1e0a273af: Download complete [2023-02-15T10:49:17.013Z] 5d3b04190fa2: Download complete [2023-02-15T10:49:17.013Z] ec43610c2a17: Verifying Checksum [2023-02-15T10:49:17.013Z] ec43610c2a17: Download complete [2023-02-15T10:49:17.274Z] 5eb5b503b376: Download complete [2023-02-15T10:49:17.840Z] 2f39f015ded8: Download complete [2023-02-15T10:49:18.411Z] 5eb5b503b376: Pull complete [2023-02-15T10:49:18.669Z] 5c69ac0246d0: Pull complete [2023-02-15T10:49:18.928Z] ec43610c2a17: Pull complete [2023-02-15T10:49:19.187Z] 3a2ae6a8a46f: Pull complete [2023-02-15T10:49:19.445Z] 33b1e0a273af: Pull complete [2023-02-15T10:49:19.446Z] 5d3b04190fa2: Pull complete [2023-02-15T10:49:24.744Z] 2f39f015ded8: Pull complete [2023-02-15T10:49:24.744Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T10:49:24.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T10:49:24.744Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T10:49:24.974Z] prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container [2023-02-15T10:49:25.006Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T10:49:28.965Z] $ docker top c22579fcdf91de4ab8d2a813518d9d3a5e2131cce3faee8fc3e341737bc2bddd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:49:29.431Z] ---> job-cost.sh [2023-02-15T10:49:29.431Z] lf-activate-venv: SKIPPING [2023-02-15T10:49:29.431Z] INFO: No Stack... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T10:49:32.509Z] provisioning config files... [2023-02-15T10:49:32.539Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14716009078445549892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:49:32.933Z] ---> docker-login.sh [2023-02-15T10:49:32.933Z] nexus3.edgexfoundry.org:10001 [2023-02-15T10:49:33.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:49:33.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:49:33.521Z] Configure a credential helper to remove this warning. See [2023-02-15T10:49:33.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:49:33.521Z] [2023-02-15T10:49:33.521Z] Login Succeeded [2023-02-15T10:49:33.521Z] nexus3.edgexfoundry.org:10002 [2023-02-15T10:49:33.621Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T10:49:33.621Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T10:49:33.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:49:33.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:49:33.790Z] Configure a credential helper to remove this warning. See [2023-02-15T10:49:33.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:49:33.790Z] [2023-02-15T10:49:33.790Z] Login Succeeded [2023-02-15T10:49:33.790Z] nexus3.edgexfoundry.org:10003 [2023-02-15T10:49:33.941Z] + cut -d, -f6 [2023-02-15T10:49:33.941Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/cost.csv [Pipeline] lock [2023-02-15T10:49:33.992Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1325-1-stack-cost] [2023-02-15T10:49:33.997Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-1-stack-cost] did not exist. Created. [2023-02-15T10:49:33.997Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1325-1-stack-cost] [Pipeline] { [Pipeline] unstash [2023-02-15T10:49:34.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2023-02-15T10:49:34.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:49:34.331Z] Configure a credential helper to remove this warning. See [2023-02-15T10:49:34.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:49:34.332Z] [2023-02-15T10:49:34.332Z] Login Succeeded [2023-02-15T10:49:34.332Z] nexus3.edgexfoundry.org:10004 [2023-02-15T10:49:34.409Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T10:49:34.457Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T10:49:34.486Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T10:49:34.562Z] $ docker stop --time=1 c22579fcdf91de4ab8d2a813518d9d3a5e2131cce3faee8fc3e341737bc2bddd [2023-02-15T10:49:34.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:49:34.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:49:34.601Z] Configure a credential helper to remove this warning. See [2023-02-15T10:49:34.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:49:34.601Z] [2023-02-15T10:49:34.601Z] Login Succeeded [2023-02-15T10:49:34.601Z] docker.io [2023-02-15T10:49:34.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T10:49:35.140Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T10:49:35.140Z] Configure a credential helper to remove this warning. See [2023-02-15T10:49:35.140Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T10:49:35.140Z] [2023-02-15T10:49:35.141Z] Login Succeeded [2023-02-15T10:49:35.141Z] ---> docker-login.sh ends [2023-02-15T10:49:35.731Z] $ docker rm -f --volumes c22579fcdf91de4ab8d2a813518d9d3a5e2131cce3faee8fc3e341737bc2bddd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2023-02-15T10:49:35.900Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2023-02-15T10:49:36.307Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T10:49:36.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T10:49:36.378Z] ========================================================= [2023-02-15T10:49:36.378Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T10:49:36.378Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:49:36.891Z] + 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-15T10:49:37.161Z] Sending build context to Docker daemon 5.682MB [2023-02-15T10:49:37.161Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T10:49:37.161Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-15T10:49:37.445Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T10:49:37.445Z] 9b18e9b68314: Pulling fs layer [2023-02-15T10:49:37.445Z] 35d82f9e3411: Pulling fs layer [2023-02-15T10:49:37.445Z] e16973657156: Pulling fs layer [2023-02-15T10:49:37.445Z] fc693d55d65f: Pulling fs layer [2023-02-15T10:49:37.445Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T10:49:37.445Z] dda99020689f: Pulling fs layer [2023-02-15T10:49:37.445Z] db1c61fa0a46: Pulling fs layer [2023-02-15T10:49:37.445Z] 891c053d2c06: Pulling fs layer [2023-02-15T10:49:37.445Z] fc693d55d65f: Waiting [2023-02-15T10:49:37.445Z] 7e9fc2657dce: Waiting [2023-02-15T10:49:37.445Z] dda99020689f: Waiting [2023-02-15T10:49:37.445Z] db1c61fa0a46: Waiting [2023-02-15T10:49:37.445Z] 891c053d2c06: Waiting [2023-02-15T10:49:37.445Z] e16973657156: Verifying Checksum [2023-02-15T10:49:37.445Z] e16973657156: Download complete [2023-02-15T10:49:37.445Z] 35d82f9e3411: Verifying Checksum [2023-02-15T10:49:37.445Z] 35d82f9e3411: Download complete [2023-02-15T10:49:37.445Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T10:49:37.445Z] 7e9fc2657dce: Download complete [2023-02-15T10:49:37.445Z] dda99020689f: Verifying Checksum [2023-02-15T10:49:37.445Z] dda99020689f: Download complete [2023-02-15T10:49:37.720Z] 9b18e9b68314: Verifying Checksum [2023-02-15T10:49:38.695Z] 9b18e9b68314: Pull complete [2023-02-15T10:49:38.969Z] 891c053d2c06: Verifying Checksum [2023-02-15T10:49:38.969Z] 891c053d2c06: Download complete [2023-02-15T10:49:39.941Z] db1c61fa0a46: Verifying Checksum [2023-02-15T10:49:39.941Z] db1c61fa0a46: Download complete [2023-02-15T10:49:40.536Z] 35d82f9e3411: Pull complete [2023-02-15T10:49:40.536Z] fc693d55d65f: Verifying Checksum [2023-02-15T10:49:40.536Z] fc693d55d65f: Download complete [2023-02-15T10:49:40.807Z] e16973657156: Pull complete [2023-02-15T10:49:53.145Z] fc693d55d65f: Pull complete [2023-02-15T10:49:53.411Z] 7e9fc2657dce: Pull complete [2023-02-15T10:49:53.676Z] dda99020689f: Pull complete [2023-02-15T10:49:59.031Z] db1c61fa0a46: Pull complete [2023-02-15T10:50:00.439Z] 891c053d2c06: Pull complete [2023-02-15T10:50:00.439Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T10:50:00.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T10:50:00.439Z] ---> f96f9c87975a [2023-02-15T10:50:00.439Z] Step 3/10 : ARG MAKE=make build [2023-02-15T10:50:01.850Z] ---> Running in fc5128e4a88e [2023-02-15T10:50:01.850Z] Removing intermediate container fc5128e4a88e [2023-02-15T10:50:01.850Z] ---> fdc1c08c6b62 [2023-02-15T10:50:01.850Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-15T10:50:01.850Z] ---> Running in da2fbb801c0b [2023-02-15T10:50:02.117Z] Removing intermediate container da2fbb801c0b [2023-02-15T10:50:02.117Z] ---> b229e20cfd38 [2023-02-15T10:50:02.117Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T10:50:02.384Z] ---> Running in 3be846ac351e [2023-02-15T10:50:02.384Z] Removing intermediate container 3be846ac351e [2023-02-15T10:50:02.384Z] ---> 69115a8861e5 [2023-02-15T10:50:02.384Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-15T10:50:02.651Z] ---> Running in 99a15247fd56 [2023-02-15T10:50:03.606Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T10:50:03.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T10:50:04.831Z] OK: 221 MiB in 51 packages [2023-02-15T10:50:06.768Z] Removing intermediate container 99a15247fd56 [2023-02-15T10:50:06.768Z] ---> aa83dc1d8641 [2023-02-15T10:50:06.768Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-15T10:50:07.350Z] ---> 5cbbc5a097b4 [2023-02-15T10:50:07.350Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T10:50:07.350Z] ---> Running in 3df3a8666489 [2023-02-15T10:51:15.229Z] Removing intermediate container 3df3a8666489 [2023-02-15T10:51:15.229Z] ---> 659832d578f0 [2023-02-15T10:51:15.229Z] Step 9/10 : COPY . . [2023-02-15T10:51:15.229Z] ---> 1f1b529eea66 [2023-02-15T10:51:15.229Z] Step 10/10 : RUN ${MAKE} [2023-02-15T10:51:15.229Z] ---> Running in c7c970e89e1e [2023-02-15T10:51:15.229Z] noop [2023-02-15T10:51:15.229Z] Removing intermediate container c7c970e89e1e [2023-02-15T10:51:15.229Z] ---> 887286d41538 [2023-02-15T10:51:15.229Z] Successfully built 887286d41538 [2023-02-15T10:51:15.229Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:51:15.709Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T10:51:15.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T10:51:15.969Z] prd-ubuntu20.04-docker-arm64-4c-16g-6099 does not seem to be running inside a container [2023-02-15T10:51:16.025Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T10:51:17.175Z] $ docker top f9973da95aa16c09179827af2b9a8d8f3d50735819e71fd7f88fdf79cb0e22b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T10:51:18.038Z] + go version [2023-02-15T10:51:18.038Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T10:51:18.072Z] $ docker stop --time=1 f9973da95aa16c09179827af2b9a8d8f3d50735819e71fd7f88fdf79cb0e22b8 [2023-02-15T10:51:19.625Z] $ docker rm -f --volumes f9973da95aa16c09179827af2b9a8d8f3d50735819e71fd7f88fdf79cb0e22b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:51:20.452Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T10:51:20.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T10:51:20.682Z] prd-ubuntu20.04-docker-arm64-4c-16g-6099 does not seem to be running inside a container [2023-02-15T10:51:20.734Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-15T10:51:23.040Z] $ docker top 93c098db82dfb35cdda85c764fb2e8a72b7254ff4a391d99e69221636069a0a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T10:51:23.565Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T10:51:23.942Z] + make test [2023-02-15T10:51:24.208Z] go test -race -coverprofile=coverage.out ./... [2023-02-15T10:51:56.422Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-15T10:53:33.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-15T10:53:33.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-15T10:53:33.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-15T10:53:33.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-15T10:53:33.046Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-15T10:53:45.359Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.238s coverage: 27.6% of statements [2023-02-15T10:53:45.359Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.426s coverage: 78.9% of statements [2023-02-15T10:53:45.359Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-15T10:53:52.007Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.364s coverage: 78.1% of statements [2023-02-15T10:53:52.007Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-15T10:53:52.007Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-15T10:53:53.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.462s coverage: 74.7% of statements [2023-02-15T10:53:53.418Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-15T10:53:53.418Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.321s coverage: 14.9% of statements [2023-02-15T10:53:53.418Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-15T10:53:54.829Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.428s coverage: 65.2% of statements [2023-02-15T10:53:54.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-15T10:53:54.829Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-15T10:53:56.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.943s coverage: 89.2% of statements [2023-02-15T10:53:56.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-15T10:53:56.236Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.426s coverage: 4.6% of statements [2023-02-15T10:53:56.236Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-15T10:53:56.820Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T10:53:56.820Z] GO111MODULE=on go vet ./... [2023-02-15T10:55:18.444Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T10:55:18.444Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T10:55:18.444Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-15T10:55:18.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T10:55:18.516Z] $ docker stop --time=1 93c098db82dfb35cdda85c764fb2e8a72b7254ff4a391d99e69221636069a0a0 [2023-02-15T10:55:20.318Z] $ docker rm -f --volumes 93c098db82dfb35cdda85c764fb2e8a72b7254ff4a391d99e69221636069a0a0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T10:55:21.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T10:55:21.751Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T10:55:22.345Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T10:55:22.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T10:55:23.253Z] + ls -al . [2023-02-15T10:55:23.253Z] total 280 [2023-02-15T10:55:23.253Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 10:51 . [2023-02-15T10:55:23.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 10:48 .. [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 10:49 .dockerignore [2023-02-15T10:55:23.253Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 10:49 .git [2023-02-15T10:55:23.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 10:49 .github [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 10:49 .gitignore [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 10:49 .golangci.yml [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 10:49 CHANGELOG.md [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 10:49 GOVERNANCE.md [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 10:49 Jenkinsfile [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 10:49 LICENSE [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 10:49 Makefile [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 10:49 OWNERS.md [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 10:49 README.md [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 10:47 VERSION [2023-02-15T10:55:23.253Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 10:49 bin [2023-02-15T10:55:23.253Z] -rw-r--r-- 1 jenkins jenkins 111687 Feb 15 10:53 coverage.out [2023-02-15T10:55:23.253Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 10:49 example [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 10:49 go.mod [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 10:49 go.sum [2023-02-15T10:55:23.253Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 10:49 internal [2023-02-15T10:55:23.253Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 10:49 openapi [2023-02-15T10:55:23.253Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 10:49 pkg [2023-02-15T10:55:23.253Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 10:49 snap [2023-02-15T10:55:23.253Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 10:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:55:23.672Z] + 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=d6e18c1181632386634fb5345d650d98d0b5e6a8 --label arch=arm64 --label version=0.0.0 . [2023-02-15T10:55:23.938Z] Sending build context to Docker daemon 5.795MB [2023-02-15T10:55:24.204Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T10:55:24.204Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-15T10:55:24.204Z] ---> 887286d41538 [2023-02-15T10:55:24.204Z] Step 3/23 : ARG MAKE=make build [2023-02-15T10:55:24.204Z] ---> Running in 1867d27d32e3 [2023-02-15T10:55:24.472Z] Removing intermediate container 1867d27d32e3 [2023-02-15T10:55:24.472Z] ---> 1d77ab1716fc [2023-02-15T10:55:24.472Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-15T10:55:24.472Z] ---> Running in 62ab0f1c8f52 [2023-02-15T10:55:24.738Z] Removing intermediate container 62ab0f1c8f52 [2023-02-15T10:55:24.738Z] ---> e7dcc46455ad [2023-02-15T10:55:24.738Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-15T10:55:25.010Z] ---> Running in a46e32573ca7 [2023-02-15T10:55:25.276Z] Removing intermediate container a46e32573ca7 [2023-02-15T10:55:25.276Z] ---> 1d03b835a411 [2023-02-15T10:55:25.276Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-15T10:55:25.276Z] ---> Running in 5c41d59569e4 [2023-02-15T10:55:26.235Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T10:55:26.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T10:55:27.459Z] OK: 221 MiB in 51 packages [2023-02-15T10:55:28.050Z] Removing intermediate container 5c41d59569e4 [2023-02-15T10:55:28.050Z] ---> 7b0996a54966 [2023-02-15T10:55:28.050Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-15T10:55:28.634Z] ---> 4dab39782335 [2023-02-15T10:55:28.634Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T10:55:28.634Z] ---> Running in 3c0e992e32a2 [2023-02-15T10:55:31.214Z] Removing intermediate container 3c0e992e32a2 [2023-02-15T10:55:31.214Z] ---> 3ee10de6cf8d [2023-02-15T10:55:31.214Z] Step 9/23 : COPY . . [2023-02-15T10:55:32.175Z] ---> 9c7eab662bb7 [2023-02-15T10:55:32.175Z] Step 10/23 : RUN ${MAKE} [2023-02-15T10:55:32.175Z] ---> Running in 88f41831c9d6 [2023-02-15T10:55:33.132Z] 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-15T10:57:24.742Z] Removing intermediate container 88f41831c9d6 [2023-02-15T10:57:24.742Z] ---> d71b377eea1e [2023-02-15T10:57:24.742Z] Step 11/23 : FROM alpine:3.16 [2023-02-15T10:57:24.742Z] 3.16: Pulling from library/alpine [2023-02-15T10:57:24.742Z] 3760b48202b3: Pulling fs layer [2023-02-15T10:57:24.742Z] 3760b48202b3: Verifying Checksum [2023-02-15T10:57:24.742Z] 3760b48202b3: Download complete [2023-02-15T10:57:24.742Z] 3760b48202b3: Pull complete [2023-02-15T10:57:24.742Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T10:57:24.742Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T10:57:24.742Z] ---> 4c81e5bf8899 [2023-02-15T10:57:24.742Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-15T10:57:24.742Z] ---> Running in 6dd41d55a3a9 [2023-02-15T10:57:25.008Z] Removing intermediate container 6dd41d55a3a9 [2023-02-15T10:57:25.008Z] ---> c5c430c48233 [2023-02-15T10:57:25.008Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-15T10:57:25.008Z] ---> Running in 640d8cb3781a [2023-02-15T10:57:25.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T10:57:26.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T10:57:27.193Z] OK: 5 MiB in 14 packages [2023-02-15T10:57:28.167Z] Removing intermediate container 640d8cb3781a [2023-02-15T10:57:28.167Z] ---> bbecaeafbe1d [2023-02-15T10:57:28.167Z] Step 14/23 : WORKDIR / [2023-02-15T10:57:28.167Z] ---> Running in 1261f0ef5974 [2023-02-15T10:57:28.440Z] Removing intermediate container 1261f0ef5974 [2023-02-15T10:57:28.440Z] ---> 83f6a03ac784 [2023-02-15T10:57:28.440Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-15T10:57:29.024Z] ---> 14c35ad78c73 [2023-02-15T10:57:29.024Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-15T10:57:30.439Z] ---> 29092f58d10f [2023-02-15T10:57:30.439Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-15T10:57:31.022Z] ---> bc6126fe1a6a [2023-02-15T10:57:31.022Z] Step 18/23 : EXPOSE 59999 [2023-02-15T10:57:31.022Z] ---> Running in 8f03a5ca02bd [2023-02-15T10:57:31.291Z] Removing intermediate container 8f03a5ca02bd [2023-02-15T10:57:31.291Z] ---> 9bfe1c10da26 [2023-02-15T10:57:31.291Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-15T10:57:31.291Z] ---> Running in 31439e3b6673 [2023-02-15T10:57:31.557Z] Removing intermediate container 31439e3b6673 [2023-02-15T10:57:31.557Z] ---> 6864d73d02d1 [2023-02-15T10:57:31.557Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-15T10:57:31.826Z] ---> Running in 7823c16f7bcb [2023-02-15T10:57:32.099Z] Removing intermediate container 7823c16f7bcb [2023-02-15T10:57:32.099Z] ---> 14d7ff03d9d3 [2023-02-15T10:57:32.099Z] Step 21/23 : LABEL arch=arm64 [2023-02-15T10:57:32.099Z] ---> Running in 80484c55d5bd [2023-02-15T10:57:32.367Z] Removing intermediate container 80484c55d5bd [2023-02-15T10:57:32.367Z] ---> dd83b99b9454 [2023-02-15T10:57:32.367Z] Step 22/23 : LABEL git_sha=d6e18c1181632386634fb5345d650d98d0b5e6a8 [2023-02-15T10:57:32.367Z] ---> Running in d7598974458f [2023-02-15T10:57:32.637Z] Removing intermediate container d7598974458f [2023-02-15T10:57:32.637Z] ---> f3a3832b478a [2023-02-15T10:57:32.637Z] Step 23/23 : LABEL version=0.0.0 [2023-02-15T10:57:32.907Z] ---> Running in 4fc5dab3db91 [2023-02-15T10:57:33.174Z] Removing intermediate container 4fc5dab3db91 [2023-02-15T10:57:33.174Z] ---> 820c85c544ee [2023-02-15T10:57:33.174Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T10:57:33.174Z] Successfully built 820c85c544ee [2023-02-15T10:57:33.174Z] 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-15T10:57:34.033Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T10:57:34.034Z] [2023-02-15T10:57:34.034Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:57:34.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T10:57:34.433Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T10:57:34.433Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T10:57:34.433Z] 04944245beec: Pulling fs layer [2023-02-15T10:57:34.433Z] 699f458cf7ca: Pulling fs layer [2023-02-15T10:57:34.433Z] 765212b225bb: Pulling fs layer [2023-02-15T10:57:34.433Z] f23df028b6ca: Pulling fs layer [2023-02-15T10:57:34.433Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T10:57:34.433Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T10:57:34.433Z] 765212b225bb: Waiting [2023-02-15T10:57:34.433Z] f23df028b6ca: Waiting [2023-02-15T10:57:34.433Z] 2437ff75d9bd: Waiting [2023-02-15T10:57:34.703Z] 04944245beec: Verifying Checksum [2023-02-15T10:57:34.703Z] 04944245beec: Download complete [2023-02-15T10:57:34.703Z] 765212b225bb: Verifying Checksum [2023-02-15T10:57:34.703Z] 765212b225bb: Download complete [2023-02-15T10:57:34.703Z] f23df028b6ca: Verifying Checksum [2023-02-15T10:57:34.703Z] f23df028b6ca: Download complete [2023-02-15T10:57:34.703Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T10:57:34.703Z] d65c8cfc05b1: Download complete [2023-02-15T10:57:34.975Z] 699f458cf7ca: Verifying Checksum [2023-02-15T10:57:34.975Z] 699f458cf7ca: Download complete [2023-02-15T10:57:35.243Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T10:57:35.243Z] 8998bd30e6a1: Download complete [2023-02-15T10:57:37.828Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T10:57:37.828Z] 2437ff75d9bd: Download complete [2023-02-15T10:57:39.240Z] 8998bd30e6a1: Pull complete [2023-02-15T10:57:39.826Z] 04944245beec: Pull complete [2023-02-15T10:57:41.235Z] 699f458cf7ca: Pull complete [2023-02-15T10:57:41.235Z] 765212b225bb: Pull complete [2023-02-15T10:57:42.198Z] f23df028b6ca: Pull complete [2023-02-15T10:57:42.468Z] d65c8cfc05b1: Pull complete [2023-02-15T10:57:57.460Z] 2437ff75d9bd: Pull complete [2023-02-15T10:57:57.460Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T10:57:57.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T10:57:57.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T10:57:57.767Z] prd-ubuntu20.04-docker-arm64-4c-16g-6099 does not seem to be running inside a container [2023-02-15T10:57:57.847Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-15T10:58:00.474Z] $ docker top 51d3c27d28fd6313ff74868d6f2f8d7e2e96d9c495d20cd543d2ed0344b21b2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:58:01.373Z] ---> job-cost.sh [2023-02-15T10:58:01.373Z] lf-activate-venv: SKIPPING [2023-02-15T10:58:01.373Z] INFO: No Stack... [2023-02-15T10:58:01.640Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T10:58:02.599Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T10:58:03.263Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-15T10:58:03.263Z] cut -d, -f6 [Pipeline] lock [2023-02-15T10:58:03.349Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1325-1-stack-cost] [2023-02-15T10:58:03.354Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-1-stack-cost] did not exist. Created. [2023-02-15T10:58:03.354Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1325-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T10:58:04.080Z] /w/workspace/device-sdk-go/1@tmp/durable-03a8927a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T10:58:04.754Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T10:58:04.792Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T10:58:04.866Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T10:58:04.881Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1325-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T10:58:04.970Z] $ docker stop --time=1 51d3c27d28fd6313ff74868d6f2f8d7e2e96d9c495d20cd543d2ed0344b21b2d [2023-02-15T10:58:06.467Z] $ docker rm -f --volumes 51d3c27d28fd6313ff74868d6f2f8d7e2e96d9c495d20cd543d2ed0344b21b2d [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-15T10:58:07.426Z] provisioning config files... [2023-02-15T10:58:07.444Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config16444937340614186712tmp [Pipeline] { [Pipeline] sh [2023-02-15T10:58:07.772Z] + set +x [2023-02-15T10:58:07.772Z] + + curl -s https://codecov.io/bash [2023-02-15T10:58:07.772Z] bash -s -- [2023-02-15T10:58:07.772Z] [2023-02-15T10:58:07.772Z] _____ _ [2023-02-15T10:58:07.772Z] / ____| | | [2023-02-15T10:58:07.772Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T10:58:07.772Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T10:58:07.772Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T10:58:07.772Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T10:58:07.772Z] Bash-1.0.6 [2023-02-15T10:58:07.772Z] [2023-02-15T10:58:07.772Z] [2023-02-15T10:58:07.772Z] ==> git version 2.25.1 found [2023-02-15T10:58:07.772Z] ==> 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-15T10:58:07.772Z] Release-Date: 2020-01-08 [2023-02-15T10:58:07.772Z] 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-15T10:58:07.772Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T10:58:07.772Z] ==> Jenkins CI detected. [2023-02-15T10:58:07.772Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1325 [2023-02-15T10:58:07.772Z] project root: . [2023-02-15T10:58:07.772Z] --> token set from env [2023-02-15T10:58:07.772Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T10:58:07.772Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T10:58:07.772Z] ==> Python coveragepy not found [2023-02-15T10:58:07.772Z] ==> Searching for coverage reports in: [2023-02-15T10:58:07.772Z] + . [2023-02-15T10:58:07.772Z] -> Found 1 reports [2023-02-15T10:58:07.772Z] ==> Detecting git/mercurial file structure [2023-02-15T10:58:08.035Z] ==> Reading reports [2023-02-15T10:58:08.035Z] + ./coverage.out bytes=111687 [2023-02-15T10:58:08.035Z] ==> Appending adjustments [2023-02-15T10:58:08.035Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T10:58:08.294Z] + Found adjustments [2023-02-15T10:58:08.294Z] ==> Gzipping contents [2023-02-15T10:58:08.294Z] 16K /tmp/codecov.YNTnHM.gz [2023-02-15T10:58:08.294Z] ==> Uploading reports [2023-02-15T10:58:08.294Z] url: https://codecov.io [2023-02-15T10:58:08.294Z] query: branch=PR-1325&commit=d6e18c1181632386634fb5345d650d98d0b5e6a8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1325&job=&cmd_args= [2023-02-15T10:58:08.294Z] -> Pinging Codecov [2023-02-15T10:58:08.294Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1325&commit=d6e18c1181632386634fb5345d650d98d0b5e6a8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1325&job=&cmd_args= [2023-02-15T10:58:08.553Z] -> Uploading to [2023-02-15T10:58:08.553Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7E55EF52A471D76F132DFD9A03CDDE97/d6e18c1181632386634fb5345d650d98d0b5e6a8/56839fe7-479d-464e-883e-b38d9c78516c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T105808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=345c7615b56b02a28ef81816b74bc95c1428ad402956f62f586f8533043d7f4a [2023-02-15T10:58:08.553Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T10:58:08.553Z] Dload Upload Total Spent Left Speed [2023-02-15T10:58:08.813Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15478 0 0 100 15478 0 45928 --:--:-- --:--:-- --:--:-- 45928 [2023-02-15T10:58:08.813Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d6e18c1181632386634fb5345d650d98d0b5e6a8 [Pipeline] } [2023-02-15T10:58:08.839Z] 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-15T10:58:10.612Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives ] [2023-02-15T10:58:10.612Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-15T10:58:10.612Z] total 16 [2023-02-15T10:58:10.612Z] drwxr-xr-x 3 root root 4096 Feb 15 10:49 . [2023-02-15T10:58:10.612Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 10:49 .. [2023-02-15T10:58:10.612Z] drwxr-xr-x 2 root root 4096 Feb 15 10:49 cost [2023-02-15T10:58:10.612Z] -rw-r--r-- 1 root root 86 Feb 15 10:49 cost.csv [2023-02-15T10:58:10.612Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-15T10:58:10.612Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives [2023-02-15T10:58:10.612Z] total 16 [2023-02-15T10:58:10.612Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 10:49 . [2023-02-15T10:58:10.612Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 10:49 .. [2023-02-15T10:58:10.612Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 10:49 cost [2023-02-15T10:58:10.612Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 10:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:58:10.948Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:58:11.846Z] ---> package-listing.sh [2023-02-15T10:58:11.846Z] ++ facter osfamily [2023-02-15T10:58:11.846Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T10:58:12.106Z] + OS_FAMILY=debian [2023-02-15T10:58:12.106Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1325 [2023-02-15T10:58:12.106Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T10:58:12.106Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T10:58:12.106Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T10:58:12.106Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T10:58:12.106Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1325 ']' [2023-02-15T10:58:12.106Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T10:58:12.106Z] + case "${OS_FAMILY}" in [2023-02-15T10:58:12.106Z] + dpkg -l [2023-02-15T10:58:12.106Z] + grep '^ii' [2023-02-15T10:58:12.106Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T10:58:12.106Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T10:58:12.106Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T10:58:12.106Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1325 ']' [2023-02-15T10:58:12.106Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/ [2023-02-15T10:58:12.106Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1325/archives/ [Pipeline] echo [2023-02-15T10:58:12.143Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1325/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T10:58:12.438Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T10:58:13.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T10:58:13.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T10:58:13.225Z] prd-ubuntu20.04-docker-8c-8g-6098 does not seem to be running inside a container [2023-02-15T10:58:13.257Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1325/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1325 -v /w/workspace/gexfoundry_device-sdk-go_PR-1325:/w/workspace/gexfoundry_device-sdk-go_PR-1325:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T10:58:13.724Z] $ docker top 9982f413b0aceda228f5d808d2e886bf7519a453ae1d44f557c45eeb2c149606 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T10:58:14.125Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T10:58:14.527Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T10:58:14.874Z] + ls /var/log/sa-host [2023-02-15T10:58:14.874Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T10:58:15.015Z] provisioning config files... [2023-02-15T10:58:15.024Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1325@tmp/config13527921970052531771tmp [Pipeline] { [Pipeline] echo [2023-02-15T10:58:15.077Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:58:15.392Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T10:58:15.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:58:15.837Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T10:58:15.872Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:58:16.183Z] ---> sudo-logs.sh [2023-02-15T10:58:16.183Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T10:58:16.267Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:58:16.580Z] ---> job-cost.sh [2023-02-15T10:58:16.581Z] lf-activate-venv: SKIPPING [2023-02-15T10:58:16.581Z] DEBUG: total: 0.2199999988079071 [2023-02-15T10:58:16.581Z] INFO: Retrieving Stack Cost... [2023-02-15T10:58:16.842Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T10:58:17.424Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T10:58:17.460Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T10:58:17.772Z] ---> logs-deploy.sh [2023-02-15T10:58:17.772Z] lf-activate-venv: SKIPPING [2023-02-15T10:58:17.772Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1325/1 [2023-02-15T10:58:17.772Z] INFO: archiving workspace using pattern(s): [2023-02-15T10:58:18.709Z] Archives upload complete. [2023-02-15T10:58:18.968Z] INFO: archiving logs to Nexus [2023-02-15T10:58:19.536Z] ---> uname -a: [2023-02-15T10:58:19.536Z] Linux prd-ubuntu20-04-docker-8c-8g-6098 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-02-15T10:58:19.536Z] [2023-02-15T10:58:19.536Z] [2023-02-15T10:58:19.536Z] ---> lscpu: [2023-02-15T10:58:19.536Z] Architecture: x86_64 [2023-02-15T10:58:19.536Z] CPU op-mode(s): 32-bit, 64-bit [2023-02-15T10:58:19.536Z] Byte Order: Little Endian [2023-02-15T10:58:19.536Z] Address sizes: 40 bits physical, 48 bits virtual [2023-02-15T10:58:19.536Z] CPU(s): 8 [2023-02-15T10:58:19.536Z] On-line CPU(s) list: 0-7 [2023-02-15T10:58:19.536Z] Thread(s) per core: 1 [2023-02-15T10:58:19.536Z] Core(s) per socket: 1 [2023-02-15T10:58:19.536Z] Socket(s): 8 [2023-02-15T10:58:19.536Z] NUMA node(s): 1 [2023-02-15T10:58:19.536Z] Vendor ID: AuthenticAMD [2023-02-15T10:58:19.536Z] CPU family: 23 [2023-02-15T10:58:19.536Z] Model: 49 [2023-02-15T10:58:19.536Z] Model name: AMD EPYC-Rome Processor [2023-02-15T10:58:19.536Z] Stepping: 0 [2023-02-15T10:58:19.536Z] CPU MHz: 2799.998 [2023-02-15T10:58:19.536Z] BogoMIPS: 5599.99 [2023-02-15T10:58:19.536Z] Virtualization: AMD-V [2023-02-15T10:58:19.536Z] Hypervisor vendor: KVM [2023-02-15T10:58:19.536Z] Virtualization type: full [2023-02-15T10:58:19.536Z] L1d cache: 256 KiB [2023-02-15T10:58:19.536Z] L1i cache: 256 KiB [2023-02-15T10:58:19.536Z] L2 cache: 4 MiB [2023-02-15T10:58:19.536Z] L3 cache: 128 MiB [2023-02-15T10:58:19.536Z] NUMA node0 CPU(s): 0-7 [2023-02-15T10:58:19.536Z] Vulnerability Itlb multihit: Not affected [2023-02-15T10:58:19.536Z] Vulnerability L1tf: Not affected [2023-02-15T10:58:19.536Z] Vulnerability Mds: Not affected [2023-02-15T10:58:19.536Z] Vulnerability Meltdown: Not affected [2023-02-15T10:58:19.536Z] Vulnerability Mmio stale data: Not affected [2023-02-15T10:58:19.536Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-02-15T10:58:19.536Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-02-15T10:58:19.536Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-02-15T10:58:19.536Z] Vulnerability Srbds: Not affected [2023-02-15T10:58:19.536Z] Vulnerability Tsx async abort: Not affected [2023-02-15T10:58:19.536Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-02-15T10:58:19.536Z] [2023-02-15T10:58:19.536Z] [2023-02-15T10:58:19.536Z] ---> nproc: [2023-02-15T10:58:19.536Z] 8 [2023-02-15T10:58:19.536Z] [2023-02-15T10:58:19.536Z] [2023-02-15T10:58:19.536Z] ---> df -h: [2023-02-15T10:58:19.536Z] Filesystem Size Used Avail Use% Mounted on [2023-02-15T10:58:19.536Z] overlay 155G 12G 144G 8% / [2023-02-15T10:58:19.536Z] tmpfs 64M 0 64M 0% /dev [2023-02-15T10:58:19.536Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-02-15T10:58:19.536Z] shm 64M 0 64M 0% /dev/shm [2023-02-15T10:58:19.536Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-02-15T10:58:19.536Z] [2023-02-15T10:58:19.536Z]