Pull request #1359 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 EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch main at b4dcd90c517d60267da088e4e26fcccd6a523ed6 rather than 625f29720569d2b29cfb0bb03b03e9ba312a8048 Obtained Jenkinsfile from b4dcd90c517d60267da088e4e26fcccd6a523ed6 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-ssh5798248886170566128.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-ssh17800953533613395855.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-1359/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-1359/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9034476622395096278.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-1359/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5637322256340832374.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-ssh490658006601983378.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-1359/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-1359/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2763287519297259573.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-8432’ Running on prd-ubuntu20.04-docker-8c-8g-8440 in /w/workspace/gexfoundry_device-sdk-go_PR-1359 [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-1359 # 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 Merging remotes/origin/levski commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 625f29720569d2b29cfb0bb03b03e9ba312a8048 Merge succeeded, producing f10fea63bfed6d7c041f71e99de15de867cf8c04 Checking out Revision f10fea63bfed6d7c041f71e99de15de867cf8c04 (PR-1359) > 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/1359/head:refs/remotes/origin/PR-1359 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 625f29720569d2b29cfb0bb03b03e9ba312a8048 # 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 b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f10fea63bfed6d7c041f71e99de15de867cf8c04 # timeout=10 Commit message: "Merge commit 'b4dcd90c517d60267da088e4e26fcccd6a523ed6' into HEAD" 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-03-07T00:55:30.804Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T00:55:30.985Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T00:55:31.092Z] ========================================================= [2023-03-07T00:55:31.092Z] EdgeX Global Pipelines Version Info [2023-03-07T00:55:31.092Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T00:55:31.835Z] ------------------- [2023-03-07T00:55:31.835Z] stable info: [2023-03-07T00:55:31.835Z] ------------------- [2023-03-07T00:55:31.835Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T00:55:31.835Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T00:55:31.835Z] Message: update stable to v1.0.244 [2023-03-07T00:55:32.406Z] ------------------- [2023-03-07T00:55:32.406Z] experimental info: [2023-03-07T00:55:32.406Z] ------------------- [2023-03-07T00:55:32.406Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T00:55:32.406Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T00:55:32.406Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T00:55:32.705Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-07T00:55:32.746Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-07T00:55:32.790Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T00:55:32.831Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T00:55:32.867Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T00:55:32.912Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T00:55:32.958Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T00:55:32.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-07T00:55:33.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T00:55:33.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T00:55:33.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T00:55:33.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-07T00:55:33.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T00:55:33.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T00:55:33.279Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T00:55:33.325Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T00:55:33.364Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T00:55:33.406Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T00:55:33.448Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T00:55:33.491Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T00:55:33.535Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T00:55:33.576Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-07T00:55:33.621Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T00:55:33.661Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T00:55:33.702Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T00:55:33.744Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T00:55:33.787Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T00:55:33.832Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1359 [Pipeline] echo [2023-03-07T00:55:33.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1359 [Pipeline] echo [2023-03-07T00:55:33.926Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1359 [Pipeline] echo [2023-03-07T00:55:33.965Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f10fea63bfed6d7c041f71e99de15de867cf8c04 [Pipeline] echo [2023-03-07T00:55:34.008Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f10fea6 [Pipeline] echo [2023-03-07T00:55:34.055Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T00:55:34.174Z] provisioning config files... [2023-03-07T00:55:34.186Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/config12571595584287790794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T00:55:34.529Z] ---> docker-login.sh [2023-03-07T00:55:34.529Z] nexus3.edgexfoundry.org:10001 [2023-03-07T00:55:34.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:55:34.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:55:34.789Z] Configure a credential helper to remove this warning. See [2023-03-07T00:55:34.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:55:34.789Z] [2023-03-07T00:55:34.789Z] Login Succeeded [2023-03-07T00:55:34.789Z] nexus3.edgexfoundry.org:10002 [2023-03-07T00:55:34.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:55:34.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:55:34.789Z] Configure a credential helper to remove this warning. See [2023-03-07T00:55:34.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:55:34.789Z] [2023-03-07T00:55:34.789Z] Login Succeeded [2023-03-07T00:55:34.789Z] nexus3.edgexfoundry.org:10003 [2023-03-07T00:55:35.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:55:35.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:55:35.048Z] Configure a credential helper to remove this warning. See [2023-03-07T00:55:35.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:55:35.048Z] [2023-03-07T00:55:35.048Z] Login Succeeded [2023-03-07T00:55:35.048Z] nexus3.edgexfoundry.org:10004 [2023-03-07T00:55:35.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:55:35.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:55:35.048Z] Configure a credential helper to remove this warning. See [2023-03-07T00:55:35.049Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:55:35.049Z] [2023-03-07T00:55:35.049Z] Login Succeeded [2023-03-07T00:55:35.049Z] docker.io [2023-03-07T00:55:35.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:55:35.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:55:35.568Z] Configure a credential helper to remove this warning. See [2023-03-07T00:55:35.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:55:35.569Z] [2023-03-07T00:55:35.569Z] Login Succeeded [2023-03-07T00:55:35.569Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T00:55:35.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T00:55:36.213Z] + git rev-list -1 --merges f10fea63bfed6d7c041f71e99de15de867cf8c04~1..f10fea63bfed6d7c041f71e99de15de867cf8c04 [Pipeline] echo [2023-03-07T00:55:36.270Z] -----------> git rev-list -1 --merges f10fea63bfed6d7c041f71e99de15de867cf8c04~1..f10fea63bfed6d7c041f71e99de15de867cf8c04 f10fea63bfed6d7c041f71e99de15de867cf8c04 [2023-03-07T00:55:36.270Z] f10fea63bfed6d7c041f71e99de15de867cf8c04 [false] [Pipeline] sh [2023-03-07T00:55:36.583Z] + git log --format=format:%s -1 f10fea63bfed6d7c041f71e99de15de867cf8c04 [Pipeline] echo [2023-03-07T00:55:36.622Z] ========================================================= [2023-03-07T00:55:36.622Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T00:55:36.622Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T00:55:37.071Z] + git log --format=format:%s -1 f10fea63bfed6d7c041f71e99de15de867cf8c04 [Pipeline] echo [2023-03-07T00:55:37.112Z] [semverPrep] GIT_COMMIT: f10fea63bfed6d7c041f71e99de15de867cf8c04, Commit Message: Merge commit 'b4dcd90c517d60267da088e4e26fcccd6a523ed6' into HEAD [Pipeline] echo [2023-03-07T00:55:37.144Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T00:55:37.524Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T00:55:37.524Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T00:55:37.524Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T00:55:37.524Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T00:55:37.524Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T00:55:37.524Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T00:55:37.524Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T00:55:37.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T00:55:37.959Z] [2023-03-07T00:55:37.959Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T00:55:38.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T00:55:38.345Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T00:55:38.345Z] b85a868b505f: Pulling fs layer [2023-03-07T00:55:38.345Z] e2be974225ed: Pulling fs layer [2023-03-07T00:55:38.345Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T00:55:38.345Z] 988bab9f4d93: Pulling fs layer [2023-03-07T00:55:38.345Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T00:55:38.345Z] eaf3925da568: Pulling fs layer [2023-03-07T00:55:38.345Z] bab4dde63d76: Pulling fs layer [2023-03-07T00:55:38.345Z] bde34c3a00c8: Pulling fs layer [2023-03-07T00:55:38.345Z] b352a97aabf1: Pulling fs layer [2023-03-07T00:55:38.345Z] 4872d77fe225: Pulling fs layer [2023-03-07T00:55:38.345Z] 5851b861e8e6: Pulling fs layer [2023-03-07T00:55:38.345Z] b352a97aabf1: Waiting [2023-03-07T00:55:38.345Z] bab4dde63d76: Waiting [2023-03-07T00:55:38.345Z] 4872d77fe225: Waiting [2023-03-07T00:55:38.345Z] 1469e6f7b9e6: Waiting [2023-03-07T00:55:38.345Z] bde34c3a00c8: Waiting [2023-03-07T00:55:38.345Z] eaf3925da568: Waiting [2023-03-07T00:55:38.345Z] 988bab9f4d93: Waiting [2023-03-07T00:55:38.345Z] 5851b861e8e6: Waiting [2023-03-07T00:55:38.345Z] e2be974225ed: Verifying Checksum [2023-03-07T00:55:38.345Z] e2be974225ed: Download complete [2023-03-07T00:55:38.345Z] 988bab9f4d93: Verifying Checksum [2023-03-07T00:55:38.345Z] 988bab9f4d93: Download complete [2023-03-07T00:55:38.607Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T00:55:38.607Z] 1469e6f7b9e6: Download complete [2023-03-07T00:55:38.607Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T00:55:38.607Z] 339a4e72a1f5: Download complete [2023-03-07T00:55:38.607Z] eaf3925da568: Verifying Checksum [2023-03-07T00:55:38.607Z] eaf3925da568: Download complete [2023-03-07T00:55:38.607Z] bde34c3a00c8: Download complete [2023-03-07T00:55:38.607Z] b352a97aabf1: Verifying Checksum [2023-03-07T00:55:38.607Z] b352a97aabf1: Download complete [2023-03-07T00:55:38.607Z] 4872d77fe225: Verifying Checksum [2023-03-07T00:55:38.607Z] 4872d77fe225: Download complete [2023-03-07T00:55:38.607Z] 5851b861e8e6: Verifying Checksum [2023-03-07T00:55:38.607Z] 5851b861e8e6: Download complete [2023-03-07T00:55:38.607Z] b85a868b505f: Verifying Checksum [2023-03-07T00:55:38.607Z] b85a868b505f: Download complete [2023-03-07T00:55:38.868Z] bab4dde63d76: Verifying Checksum [2023-03-07T00:55:38.868Z] bab4dde63d76: Download complete [2023-03-07T00:55:39.863Z] b85a868b505f: Pull complete [2023-03-07T00:55:40.128Z] e2be974225ed: Pull complete [2023-03-07T00:55:40.696Z] 339a4e72a1f5: Pull complete [2023-03-07T00:55:40.696Z] 988bab9f4d93: Pull complete [2023-03-07T00:55:40.954Z] 1469e6f7b9e6: Pull complete [2023-03-07T00:55:40.954Z] eaf3925da568: Pull complete [2023-03-07T00:55:42.855Z] bab4dde63d76: Pull complete [2023-03-07T00:55:42.855Z] bde34c3a00c8: Pull complete [2023-03-07T00:55:42.855Z] b352a97aabf1: Pull complete [2023-03-07T00:55:43.115Z] 4872d77fe225: Pull complete [2023-03-07T00:55:43.115Z] 5851b861e8e6: Pull complete [2023-03-07T00:55:43.115Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T00:55:43.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T00:55:43.115Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T00:55:43.352Z] prd-ubuntu20.04-docker-8c-8g-8440 does not seem to be running inside a container [2023-03-07T00:55:43.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1359 -v /w/workspace/gexfoundry_device-sdk-go_PR-1359:/w/workspace/gexfoundry_device-sdk-go_PR-1359:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1359@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T00:55:46.027Z] $ docker top e6624625f0ac38840d404b7981b546ea9ee8fdc0797c7e8ac7f008287ee59c98 -eo pid,comm [2023-03-07T00:55:46.111Z] 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-03-07T00:55:46.111Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T00:55:46.248Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T00:55:46.248Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T00:55:46.366Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T00:55:46.346Z] $ docker exec e6624625f0ac38840d404b7981b546ea9ee8fdc0797c7e8ac7f008287ee59c98 ssh-agent [2023-03-07T00:55:46.483Z] SSH_AUTH_SOCK=/tmp/ssh-2esOyksLAP2m/agent.32 [2023-03-07T00:55:46.483Z] SSH_AGENT_PID=38 [2023-03-07T00:55:46.489Z] Running ssh-add (command line suppressed) [2023-03-07T00:55:46.579Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/private_key_8102977490261694584.key (/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/private_key_8102977490261694584.key) [2023-03-07T00:55:46.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T00:55:46.960Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T00:55:46.961Z] $ docker exec --env ******** --env ******** e6624625f0ac38840d404b7981b546ea9ee8fdc0797c7e8ac7f008287ee59c98 ssh-agent -k [2023-03-07T00:55:47.068Z] unset SSH_AUTH_SOCK; [2023-03-07T00:55:47.069Z] unset SSH_AGENT_PID; [2023-03-07T00:55:47.069Z] echo Agent pid 38 killed; [2023-03-07T00:55:47.105Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T00:55:47.203Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T00:55:47.203Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T00:55:47.328Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T00:55:47.303Z] $ docker exec e6624625f0ac38840d404b7981b546ea9ee8fdc0797c7e8ac7f008287ee59c98 ssh-agent [2023-03-07T00:55:47.443Z] SSH_AUTH_SOCK=/tmp/ssh-kJTSxej4hC5o/agent.70 [2023-03-07T00:55:47.443Z] SSH_AGENT_PID=76 [2023-03-07T00:55:47.448Z] Running ssh-add (command line suppressed) [2023-03-07T00:55:47.525Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/private_key_7175615812808538014.key (/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/private_key_7175615812808538014.key) [2023-03-07T00:55:47.570Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T00:55:47.903Z] + git semver init [2023-03-07T00:55:48.163Z] 2023-03-07 00:55:48,049 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T00:55:48.163Z] 2023-03-07 00:55:48,050 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver [2023-03-07T00:55:48.163Z] 2023-03-07 00:55:48,051 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver [2023-03-07T00:55:48.163Z] 2023-03-07 00:55:48,051 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1359, universal_newlines=False, shell=None, istream=None) [2023-03-07T00:55:49.116Z] 2023-03-07 00:55:49,015 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359/.git/info/exclude [2023-03-07T00:55:49.117Z] 2023-03-07 00:55:49,015 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver/PR-1359 with force:False [2023-03-07T00:55:49.117Z] 2023-03-07 00:55:49,015 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver/PR-1359 [2023-03-07T00:55:49.117Z] 2023-03-07 00:55:49,019 [execute] INFO git cat-file --batch-check [2023-03-07T00:55:49.117Z] 2023-03-07 00:55:49,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T00:55:49.117Z] 2023-03-07 00:55:49,027 [execute] INFO git cat-file --batch [2023-03-07T00:55:49.117Z] 2023-03-07 00:55:49,027 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T00:55:49.117Z] 2023-03-07 00:55:49,033 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1359/.semver/PR-1359 [2023-03-07T00:55:49.117Z] 0.0.0 [Pipeline] } [2023-03-07T00:55:49.107Z] $ docker exec --env ******** --env ******** e6624625f0ac38840d404b7981b546ea9ee8fdc0797c7e8ac7f008287ee59c98 ssh-agent -k [2023-03-07T00:55:49.219Z] unset SSH_AUTH_SOCK; [2023-03-07T00:55:49.219Z] unset SSH_AGENT_PID; [2023-03-07T00:55:49.219Z] echo Agent pid 76 killed; [2023-03-07T00:55:49.264Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T00:55:49.687Z] + git semver [Pipeline] } [2023-03-07T00:55:49.938Z] $ docker stop --time=1 e6624625f0ac38840d404b7981b546ea9ee8fdc0797c7e8ac7f008287ee59c98 [2023-03-07T00:55:51.231Z] $ docker rm -f --volumes e6624625f0ac38840d404b7981b546ea9ee8fdc0797c7e8ac7f008287ee59c98 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T00:55:51.677Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T00:55:51.937Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T00:55:51.956Z] [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-03-07T00:55:52.595Z] provisioning config files... [2023-03-07T00:55:52.605Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/config7598700725601720123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T00:55:52.945Z] ---> docker-login.sh [2023-03-07T00:55:52.945Z] nexus3.edgexfoundry.org:10001 [2023-03-07T00:55:52.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:55:52.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:55:52.945Z] Configure a credential helper to remove this warning. See [2023-03-07T00:55:52.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:55:52.945Z] [2023-03-07T00:55:52.945Z] Login Succeeded [2023-03-07T00:55:52.945Z] nexus3.edgexfoundry.org:10002 [2023-03-07T00:55:52.945Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:55:53.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:55:53.203Z] Configure a credential helper to remove this warning. See [2023-03-07T00:55:53.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:55:53.203Z] [2023-03-07T00:55:53.203Z] Login Succeeded [2023-03-07T00:55:53.203Z] nexus3.edgexfoundry.org:10003 [2023-03-07T00:55:53.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:55:53.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:55:53.203Z] Configure a credential helper to remove this warning. See [2023-03-07T00:55:53.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:55:53.203Z] [2023-03-07T00:55:53.203Z] Login Succeeded [2023-03-07T00:55:53.203Z] nexus3.edgexfoundry.org:10004 [2023-03-07T00:55:53.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:55:53.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:55:53.204Z] Configure a credential helper to remove this warning. See [2023-03-07T00:55:53.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:55:53.204Z] [2023-03-07T00:55:53.204Z] Login Succeeded [2023-03-07T00:55:53.204Z] docker.io [2023-03-07T00:55:53.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:55:53.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:55:53.731Z] Configure a credential helper to remove this warning. See [2023-03-07T00:55:53.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:55:53.731Z] [2023-03-07T00:55:53.731Z] Login Succeeded [2023-03-07T00:55:53.731Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T00:55:53.760Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T00:55:53.965Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T00:55:54.010Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T00:55:54.052Z] ========================================================= [2023-03-07T00:55:54.052Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T00:55:54.052Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T00:55:54.525Z] + 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-03-07T00:55:54.525Z] Sending build context to Docker daemon 10.63MB [2023-03-07T00:55:54.525Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T00:55:54.525Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T00:55:54.525Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T00:55:54.525Z] 213ec9aee27d: Pulling fs layer [2023-03-07T00:55:54.525Z] 4583459ba037: Pulling fs layer [2023-03-07T00:55:54.525Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T00:55:54.525Z] 53926ce57604: Pulling fs layer [2023-03-07T00:55:54.525Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T00:55:54.525Z] 22ff95d597cd: Pulling fs layer [2023-03-07T00:55:54.525Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T00:55:54.525Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T00:55:54.525Z] a7acece74701: Pulling fs layer [2023-03-07T00:55:54.525Z] 53926ce57604: Waiting [2023-03-07T00:55:54.525Z] 21b2b0c7a3f4: Waiting [2023-03-07T00:55:54.525Z] 22ff95d597cd: Waiting [2023-03-07T00:55:54.525Z] 12d6caf4c0d1: Waiting [2023-03-07T00:55:54.525Z] 96b7cbca73a9: Waiting [2023-03-07T00:55:54.525Z] a7acece74701: Waiting [2023-03-07T00:55:54.525Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T00:55:54.525Z] 93c1e223e6f2: Download complete [2023-03-07T00:55:54.525Z] 4583459ba037: Verifying Checksum [2023-03-07T00:55:54.525Z] 4583459ba037: Download complete [2023-03-07T00:55:54.525Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T00:55:54.525Z] 21b2b0c7a3f4: Download complete [2023-03-07T00:55:54.788Z] 22ff95d597cd: Download complete [2023-03-07T00:55:54.788Z] 213ec9aee27d: Verifying Checksum [2023-03-07T00:55:54.788Z] 213ec9aee27d: Download complete [2023-03-07T00:55:54.788Z] 12d6caf4c0d1: Download complete [2023-03-07T00:55:54.788Z] 213ec9aee27d: Pull complete [2023-03-07T00:55:55.052Z] 4583459ba037: Pull complete [2023-03-07T00:55:55.052Z] 93c1e223e6f2: Pull complete [2023-03-07T00:55:55.314Z] a7acece74701: Verifying Checksum [2023-03-07T00:55:55.314Z] a7acece74701: Download complete [2023-03-07T00:55:55.572Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T00:55:55.572Z] 96b7cbca73a9: Download complete [2023-03-07T00:55:55.572Z] 53926ce57604: Download complete [2023-03-07T00:55:59.753Z] 53926ce57604: Pull complete [2023-03-07T00:55:59.753Z] 21b2b0c7a3f4: Pull complete [2023-03-07T00:55:59.753Z] 22ff95d597cd: Pull complete [2023-03-07T00:55:59.753Z] 12d6caf4c0d1: Pull complete [2023-03-07T00:56:01.654Z] 96b7cbca73a9: Pull complete [2023-03-07T00:56:02.586Z] a7acece74701: Pull complete [2023-03-07T00:56:02.586Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T00:56:02.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T00:56:02.586Z] ---> db6d94c90886 [2023-03-07T00:56:02.586Z] Step 3/10 : ARG MAKE=make build [2023-03-07T00:56:07.415Z] Still waiting to schedule task [2023-03-07T00:56:07.415Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-07T00:56:07.951Z] ---> Running in a005ae6eb4c7 [2023-03-07T00:56:07.951Z] Removing intermediate container a005ae6eb4c7 [2023-03-07T00:56:07.951Z] ---> b432090f9c9f [2023-03-07T00:56:07.951Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T00:56:07.951Z] ---> Running in 6f1b18345965 [2023-03-07T00:56:07.951Z] Removing intermediate container 6f1b18345965 [2023-03-07T00:56:07.951Z] ---> 74c844609375 [2023-03-07T00:56:07.951Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T00:56:07.951Z] ---> Running in dcb57e210eb3 [2023-03-07T00:56:07.951Z] Removing intermediate container dcb57e210eb3 [2023-03-07T00:56:07.951Z] ---> 10ca29966c50 [2023-03-07T00:56:07.951Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T00:56:07.951Z] ---> Running in c593f4f95ccc [2023-03-07T00:56:07.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T00:56:07.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T00:56:08.210Z] OK: 211 MiB in 51 packages [2023-03-07T00:56:08.469Z] Removing intermediate container c593f4f95ccc [2023-03-07T00:56:08.469Z] ---> c7fadf6de485 [2023-03-07T00:56:08.469Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T00:56:08.469Z] ---> ab20b8e35a7c [2023-03-07T00:56:08.469Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T00:56:08.727Z] ---> Running in df99f4c74b20 [2023-03-07T00:56:40.841Z] Removing intermediate container df99f4c74b20 [2023-03-07T00:56:40.841Z] ---> 792f0665b537 [2023-03-07T00:56:40.841Z] Step 9/10 : COPY . . [2023-03-07T00:56:40.841Z] ---> 622cb263b299 [2023-03-07T00:56:40.841Z] Step 10/10 : RUN ${MAKE} [2023-03-07T00:56:40.841Z] ---> Running in c155f4cd1f8d [2023-03-07T00:56:40.841Z] noop [2023-03-07T00:56:40.841Z] Removing intermediate container c155f4cd1f8d [2023-03-07T00:56:40.841Z] ---> 8c872cbac880 [2023-03-07T00:56:40.841Z] Successfully built 8c872cbac880 [2023-03-07T00:56:40.841Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T00:56:41.276Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T00:56:41.276Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T00:56:41.420Z] prd-ubuntu20.04-docker-8c-8g-8440 does not seem to be running inside a container [2023-03-07T00:56:41.465Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1359 -v /w/workspace/gexfoundry_device-sdk-go_PR-1359:/w/workspace/gexfoundry_device-sdk-go_PR-1359:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1359@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-x86_64 cat [2023-03-07T00:56:41.781Z] $ docker top 05fdf43a437e0195194e447e0fbb68053409ebe25bb27a444f22c8f1e37d82f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T00:56:42.142Z] + go version [2023-03-07T00:56:42.142Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T00:56:42.189Z] $ docker stop --time=1 05fdf43a437e0195194e447e0fbb68053409ebe25bb27a444f22c8f1e37d82f9 [2023-03-07T00:56:43.453Z] $ docker rm -f --volumes 05fdf43a437e0195194e447e0fbb68053409ebe25bb27a444f22c8f1e37d82f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T00:56:44.249Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T00:56:44.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T00:56:44.384Z] prd-ubuntu20.04-docker-8c-8g-8440 does not seem to be running inside a container [2023-03-07T00:56:44.429Z] $ 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-1359 -v /w/workspace/gexfoundry_device-sdk-go_PR-1359:/w/workspace/gexfoundry_device-sdk-go_PR-1359:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1359@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-x86_64 cat [2023-03-07T00:56:44.754Z] $ docker top 2e27139ea0950f23e9797615da1e853f4428c82bdb439d382e24a7b279131c69 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T00:56:45.131Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1359 [Pipeline] fileExists [Pipeline] sh [2023-03-07T00:56:45.491Z] + make test [2023-03-07T00:56:45.491Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T00:56:52.054Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T00:57:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T00:57:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T00:57:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T00:57:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T00:57:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T00:57:06.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.078s coverage: 27.6% of statements [2023-03-07T00:57:06.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.065s coverage: 78.9% of statements [2023-03-07T00:57:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T00:57:06.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.111s coverage: 86.0% of statements [2023-03-07T00:57:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T00:57:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T00:57:06.919Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 75.0% of statements [2023-03-07T00:57:06.919Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T00:57:08.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.073s coverage: 15.3% of statements [2023-03-07T00:57:08.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T00:57:08.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.106s coverage: 65.2% of statements [2023-03-07T00:57:08.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T00:57:08.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T00:57:08.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.751s coverage: 89.2% of statements [2023-03-07T00:57:08.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T00:57:08.320Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.066s coverage: 4.6% of statements [2023-03-07T00:57:08.320Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T00:57:23.212Z] 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-03-07T00:57:23.212Z] GO111MODULE=on go vet ./... [2023-03-07T00:57:26.490Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T00:57:26.490Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T00:57:26.490Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T00:57:26.533Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T00:57:26.576Z] $ docker stop --time=1 2e27139ea0950f23e9797615da1e853f4428c82bdb439d382e24a7b279131c69 [2023-03-07T00:57:29.714Z] $ docker rm -f --volumes 2e27139ea0950f23e9797615da1e853f4428c82bdb439d382e24a7b279131c69 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T00:57:30.241Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T00:57:30.334Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T00:57:31.003Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T00:57:31.311Z] + ls -al . [2023-03-07T00:57:31.311Z] total 280 [2023-03-07T00:57:31.311Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 00:56 . [2023-03-07T00:57:31.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 00:55 .. [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 00:55 .dockerignore [2023-03-07T00:57:31.311Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 00:57 .git [2023-03-07T00:57:31.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 00:55 .github [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 00:55 .gitignore [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 00:55 .golangci.yml [2023-03-07T00:57:31.311Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 00:55 .semver [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 00:55 CHANGELOG.md [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 00:55 GOVERNANCE.md [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 00:55 Jenkinsfile [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 00:55 LICENSE [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 00:55 Makefile [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 00:55 OWNERS.md [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 00:55 README.md [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 00:55 VERSION [2023-03-07T00:57:31.311Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 00:55 bin [2023-03-07T00:57:31.311Z] -rw-r--r-- 1 jenkins jenkins 111324 Mar 7 00:57 coverage.out [2023-03-07T00:57:31.311Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 00:55 example [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 00:55 go.mod [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 7 00:55 go.sum [2023-03-07T00:57:31.311Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 00:55 internal [2023-03-07T00:57:31.311Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 00:55 openapi [2023-03-07T00:57:31.311Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 00:55 pkg [2023-03-07T00:57:31.311Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 00:55 snap [2023-03-07T00:57:31.311Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 00:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T00:57:31.700Z] + 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=f10fea63bfed6d7c041f71e99de15de867cf8c04 --label arch=amd64 --label version=0.0.0 . [2023-03-07T00:57:31.701Z] Sending build context to Docker daemon 10.75MB [2023-03-07T00:57:31.701Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T00:57:31.701Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T00:57:31.701Z] ---> 8c872cbac880 [2023-03-07T00:57:31.701Z] Step 3/23 : ARG MAKE=make build [2023-03-07T00:57:31.959Z] ---> Running in 191eb4586107 [2023-03-07T00:57:31.959Z] Removing intermediate container 191eb4586107 [2023-03-07T00:57:31.959Z] ---> 606259f8904a [2023-03-07T00:57:31.959Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T00:57:31.959Z] ---> Running in 9c9bf6acbd8d [2023-03-07T00:57:32.218Z] Removing intermediate container 9c9bf6acbd8d [2023-03-07T00:57:32.218Z] ---> 39815bcef03a [2023-03-07T00:57:32.218Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T00:57:32.218Z] ---> Running in abdadd116f2e [2023-03-07T00:57:32.218Z] Removing intermediate container abdadd116f2e [2023-03-07T00:57:32.218Z] ---> 66c0fe7a0ba3 [2023-03-07T00:57:32.218Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T00:57:32.218Z] ---> Running in 98877c0b3398 [2023-03-07T00:57:32.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T00:57:32.735Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T00:57:32.994Z] OK: 211 MiB in 51 packages [2023-03-07T00:57:33.559Z] Removing intermediate container 98877c0b3398 [2023-03-07T00:57:33.559Z] ---> efa937a3b288 [2023-03-07T00:57:33.559Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T00:57:33.559Z] ---> 33ba1494a34d [2023-03-07T00:57:33.559Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T00:57:33.559Z] ---> Running in fa2928b70365 [2023-03-07T00:57:34.493Z] Removing intermediate container fa2928b70365 [2023-03-07T00:57:34.493Z] ---> cfae20feb6a0 [2023-03-07T00:57:34.493Z] Step 9/23 : COPY . . [2023-03-07T00:57:35.058Z] ---> 661244197858 [2023-03-07T00:57:35.059Z] Step 10/23 : RUN ${MAKE} [2023-03-07T00:57:35.059Z] ---> Running in 555306d25ccf [2023-03-07T00:57:35.059Z] 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-03-07T00:57:56.988Z] Removing intermediate container 555306d25ccf [2023-03-07T00:57:56.988Z] ---> 1ee521c0ceca [2023-03-07T00:57:56.988Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T00:57:56.988Z] 3.16: Pulling from library/alpine [2023-03-07T00:57:56.988Z] ef5531b6e74e: Pulling fs layer [2023-03-07T00:57:56.988Z] ef5531b6e74e: Verifying Checksum [2023-03-07T00:57:56.988Z] ef5531b6e74e: Download complete [2023-03-07T00:57:56.988Z] ef5531b6e74e: Pull complete [2023-03-07T00:57:56.988Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T00:57:56.988Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T00:57:56.988Z] ---> dfd21b5a31f5 [2023-03-07T00:57:56.988Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T00:57:56.988Z] ---> Running in 4cd31123856f [2023-03-07T00:57:56.988Z] Removing intermediate container 4cd31123856f [2023-03-07T00:57:56.988Z] ---> 7f1014e212fe [2023-03-07T00:57:56.988Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T00:57:56.988Z] ---> Running in ae3164e5659d [2023-03-07T00:57:56.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T00:57:56.988Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T00:57:56.988Z] OK: 6 MiB in 14 packages [2023-03-07T00:57:56.988Z] Removing intermediate container ae3164e5659d [2023-03-07T00:57:56.988Z] ---> 3563adba9062 [2023-03-07T00:57:56.988Z] Step 14/23 : WORKDIR / [2023-03-07T00:57:56.988Z] ---> Running in 87438f6357d3 [2023-03-07T00:57:56.988Z] Removing intermediate container 87438f6357d3 [2023-03-07T00:57:56.988Z] ---> ad498c2c6b8e [2023-03-07T00:57:56.988Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T00:57:56.988Z] ---> 50785c397182 [2023-03-07T00:57:56.988Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T00:57:56.988Z] ---> 43934a7314a5 [2023-03-07T00:57:56.988Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T00:57:56.988Z] ---> 607fc3efbe5d [2023-03-07T00:57:56.988Z] Step 18/23 : EXPOSE 59999 [2023-03-07T00:57:56.988Z] ---> Running in 7ee5256b0640 [2023-03-07T00:57:56.988Z] Removing intermediate container 7ee5256b0640 [2023-03-07T00:57:56.988Z] ---> 8bf641da259a [2023-03-07T00:57:56.988Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T00:57:56.988Z] ---> Running in 62c210c75d34 [2023-03-07T00:57:56.988Z] Removing intermediate container 62c210c75d34 [2023-03-07T00:57:56.988Z] ---> cda2b787d7e6 [2023-03-07T00:57:56.988Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T00:57:56.988Z] ---> Running in d9cc63a7eea6 [2023-03-07T00:57:56.988Z] Removing intermediate container d9cc63a7eea6 [2023-03-07T00:57:56.988Z] ---> 0f91009e019c [2023-03-07T00:57:56.988Z] Step 21/23 : LABEL arch=amd64 [2023-03-07T00:57:56.988Z] ---> Running in 96d08cb59c69 [2023-03-07T00:57:56.988Z] Removing intermediate container 96d08cb59c69 [2023-03-07T00:57:56.988Z] ---> 23fa155cd640 [2023-03-07T00:57:56.988Z] Step 22/23 : LABEL git_sha=f10fea63bfed6d7c041f71e99de15de867cf8c04 [2023-03-07T00:57:56.988Z] ---> Running in f87ffa24301b [2023-03-07T00:57:56.988Z] Removing intermediate container f87ffa24301b [2023-03-07T00:57:56.988Z] ---> 7f794bf37f53 [2023-03-07T00:57:56.988Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T00:57:56.988Z] ---> Running in 78981a5e990b [2023-03-07T00:57:56.988Z] Removing intermediate container 78981a5e990b [2023-03-07T00:57:56.988Z] ---> 12221f7fc049 [2023-03-07T00:57:56.988Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T00:57:56.988Z] Successfully built 12221f7fc049 [2023-03-07T00:57:56.988Z] 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-03-07T00:57:57.838Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T00:57:57.838Z] [2023-03-07T00:57:57.838Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T00:57:58.212Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T00:57:58.212Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T00:57:58.212Z] 5eb5b503b376: Pulling fs layer [2023-03-07T00:57:58.212Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T00:57:58.212Z] ec43610c2a17: Pulling fs layer [2023-03-07T00:57:58.212Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T00:57:58.212Z] 33b1e0a273af: Pulling fs layer [2023-03-07T00:57:58.212Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T00:57:58.212Z] 2f39f015ded8: Pulling fs layer [2023-03-07T00:57:58.212Z] 33b1e0a273af: Waiting [2023-03-07T00:57:58.212Z] 5d3b04190fa2: Waiting [2023-03-07T00:57:58.212Z] 3a2ae6a8a46f: Waiting [2023-03-07T00:57:58.212Z] 2f39f015ded8: Waiting [2023-03-07T00:57:58.212Z] 5c69ac0246d0: Verifying Checksum [2023-03-07T00:57:58.212Z] 5c69ac0246d0: Download complete [2023-03-07T00:57:58.212Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T00:57:58.212Z] 3a2ae6a8a46f: Download complete [2023-03-07T00:57:58.472Z] 33b1e0a273af: Verifying Checksum [2023-03-07T00:57:58.472Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T00:57:58.472Z] 5d3b04190fa2: Download complete [2023-03-07T00:57:58.472Z] ec43610c2a17: Verifying Checksum [2023-03-07T00:57:58.472Z] ec43610c2a17: Download complete [2023-03-07T00:57:58.472Z] 5eb5b503b376: Verifying Checksum [2023-03-07T00:57:58.472Z] 5eb5b503b376: Download complete [2023-03-07T00:57:59.039Z] 2f39f015ded8: Download complete [2023-03-07T00:57:59.604Z] 5eb5b503b376: Pull complete [2023-03-07T00:57:59.604Z] 5c69ac0246d0: Pull complete [2023-03-07T00:58:00.171Z] ec43610c2a17: Pull complete [2023-03-07T00:58:00.171Z] 3a2ae6a8a46f: Pull complete [2023-03-07T00:58:00.171Z] 33b1e0a273af: Pull complete [2023-03-07T00:58:00.428Z] 5d3b04190fa2: Pull complete [2023-03-07T00:58:04.607Z] 2f39f015ded8: Pull complete [2023-03-07T00:58:04.607Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T00:58:04.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T00:58:04.607Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T00:58:04.814Z] prd-ubuntu20.04-docker-8c-8g-8440 does not seem to be running inside a container [2023-03-07T00:58:04.859Z] $ 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-1359 -v /w/workspace/gexfoundry_device-sdk-go_PR-1359:/w/workspace/gexfoundry_device-sdk-go_PR-1359:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1359@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:latest cat [2023-03-07T00:58:08.554Z] $ docker top a533ec4b1bb71b6101bdd82b53ad9509b83da76e26fe5d71acd7751c3e919cd5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T00:58:08.965Z] ---> job-cost.sh [2023-03-07T00:58:08.966Z] lf-activate-venv: SKIPPING [2023-03-07T00:58:08.966Z] INFO: No Stack... [2023-03-07T00:58:09.224Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T00:58:09.481Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T00:58:09.789Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives/cost.csv [2023-03-07T00:58:09.789Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T00:58:09.829Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1359-1-stack-cost] [2023-03-07T00:58:09.834Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1359-1-stack-cost] did not exist. Created. [2023-03-07T00:58:09.834Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1359-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T00:58:10.219Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T00:58:10.267Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T00:58:10.294Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1359-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T00:58:10.390Z] $ docker stop --time=1 a533ec4b1bb71b6101bdd82b53ad9509b83da76e26fe5d71acd7751c3e919cd5 [2023-03-07T00:58:11.552Z] $ docker rm -f --volumes a533ec4b1bb71b6101bdd82b53ad9509b83da76e26fe5d71acd7751c3e919cd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T00:59:18.253Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8442 in /w/workspace/gexfoundry_device-sdk-go_PR-1359 [Pipeline] { [Pipeline] ws [2023-03-07T00:59:18.304Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-07T00:59:18.391Z] The recommended git tool is: git [2023-03-07T00:59:26.880Z] using credential edgex-jenkins-ssh [2023-03-07T00:59:26.906Z] Cloning the remote Git repository [2023-03-07T00:59:26.993Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T00:59:27.078Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-07T00:59:27.456Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T00:59:27.457Z] > git --version # timeout=10 [2023-03-07T00:59:27.526Z] > git --version # 'git version 2.25.1' [2023-03-07T00:59:27.533Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T00:59:27.706Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T00:59:29.869Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T00:59:29.902Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T00:59:31.259Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T00:59:31.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T00:59:31.306Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T00:59:31.325Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1359/head:refs/remotes/origin/PR-1359 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-03-07T00:59:32.079Z] Merging remotes/origin/levski commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 625f29720569d2b29cfb0bb03b03e9ba312a8048 [2023-03-07T00:59:32.536Z] Merge succeeded, producing 1c8fa23c1c11213189329f8e26a15dc1a63aa47e [2023-03-07T00:59:32.537Z] Checking out Revision 1c8fa23c1c11213189329f8e26a15dc1a63aa47e (PR-1359) [2023-03-07T00:59:32.102Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T00:59:32.124Z] > git checkout -f 625f29720569d2b29cfb0bb03b03e9ba312a8048 # timeout=10 [2023-03-07T00:59:32.264Z] > git remote # timeout=10 [2023-03-07T00:59:32.293Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T00:59:32.316Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T00:59:32.336Z] > git merge b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 [2023-03-07T00:59:32.517Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T00:59:32.545Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T00:59:32.561Z] > git checkout -f 1c8fa23c1c11213189329f8e26a15dc1a63aa47e # timeout=10 [2023-03-07T00:59:36.259Z] Commit message: "Merge commit 'b4dcd90c517d60267da088e4e26fcccd6a523ed6' into HEAD" [2023-03-07T00:59:36.259Z] First time build. Skipping changelog. [2023-03-07T00:59:36.318Z] > git --version # timeout=10 [2023-03-07T00:59:36.339Z] > git --version # 'git version 2.25.1' [2023-03-07T00:59:36.366Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T00:59:37.665Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T00:59:37.665Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T00:59:37.665Z] Dload Upload Total Spent Left Speed [2023-03-07T00:59:37.665Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-03-07T00:59:38.577Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T00:59:38.928Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T00:59:38.928Z] + sudo tee /etc/docker/daemon.new [2023-03-07T00:59:38.928Z] { [2023-03-07T00:59:38.928Z] "registry-mirrors": [ [2023-03-07T00:59:38.928Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T00:59:38.928Z] ], [2023-03-07T00:59:38.928Z] "bip": "10.250.0.254/24", [2023-03-07T00:59:38.928Z] "hosts": [ [2023-03-07T00:59:38.928Z] "tcp://0.0.0.0:5555", [2023-03-07T00:59:38.928Z] "unix:///var/run/docker.sock" [2023-03-07T00:59:38.928Z] ], [2023-03-07T00:59:38.928Z] "mtu": 1458, [2023-03-07T00:59:38.928Z] "selinux-enabled": true, [2023-03-07T00:59:38.928Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T00:59:38.928Z] } [Pipeline] sh [2023-03-07T00:59:39.285Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T00:59:39.635Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T00:59:57.996Z] provisioning config files... [2023-03-07T00:59:58.027Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11293607230327157251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T00:59:58.432Z] ---> docker-login.sh [2023-03-07T00:59:58.432Z] nexus3.edgexfoundry.org:10001 [2023-03-07T00:59:59.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:59:59.024Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:59:59.024Z] Configure a credential helper to remove this warning. See [2023-03-07T00:59:59.024Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:59:59.024Z] [2023-03-07T00:59:59.024Z] Login Succeeded [2023-03-07T00:59:59.024Z] nexus3.edgexfoundry.org:10002 [2023-03-07T00:59:59.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:59:59.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:59:59.583Z] Configure a credential helper to remove this warning. See [2023-03-07T00:59:59.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:59:59.583Z] [2023-03-07T00:59:59.583Z] Login Succeeded [2023-03-07T00:59:59.583Z] nexus3.edgexfoundry.org:10003 [2023-03-07T00:59:59.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T00:59:59.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T00:59:59.855Z] Configure a credential helper to remove this warning. See [2023-03-07T00:59:59.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T00:59:59.855Z] [2023-03-07T00:59:59.855Z] Login Succeeded [2023-03-07T00:59:59.855Z] nexus3.edgexfoundry.org:10004 [2023-03-07T01:00:00.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:00:00.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:00:00.398Z] Configure a credential helper to remove this warning. See [2023-03-07T01:00:00.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:00:00.398Z] [2023-03-07T01:00:00.398Z] Login Succeeded [2023-03-07T01:00:00.398Z] docker.io [2023-03-07T01:00:00.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T01:00:00.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T01:00:00.939Z] Configure a credential helper to remove this warning. See [2023-03-07T01:00:00.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T01:00:00.939Z] [2023-03-07T01:00:00.939Z] Login Succeeded [2023-03-07T01:00:00.939Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T01:00:00.967Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T01:00:01.411Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:00:01.455Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T01:00:01.493Z] ========================================================= [2023-03-07T01:00:01.493Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T01:00:01.493Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:00:02.017Z] + 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-03-07T01:00:02.618Z] Sending build context to Docker daemon 5.722MB [2023-03-07T01:00:02.618Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:00:02.618Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T01:00:02.618Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T01:00:02.618Z] 9b18e9b68314: Pulling fs layer [2023-03-07T01:00:02.618Z] 35d82f9e3411: Pulling fs layer [2023-03-07T01:00:02.618Z] e16973657156: Pulling fs layer [2023-03-07T01:00:02.618Z] fc693d55d65f: Pulling fs layer [2023-03-07T01:00:02.618Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T01:00:02.618Z] dda99020689f: Pulling fs layer [2023-03-07T01:00:02.618Z] db1c61fa0a46: Pulling fs layer [2023-03-07T01:00:02.618Z] 891c053d2c06: Pulling fs layer [2023-03-07T01:00:02.618Z] dda99020689f: Waiting [2023-03-07T01:00:02.618Z] db1c61fa0a46: Waiting [2023-03-07T01:00:02.618Z] fc693d55d65f: Waiting [2023-03-07T01:00:02.618Z] 891c053d2c06: Waiting [2023-03-07T01:00:02.618Z] 7e9fc2657dce: Waiting [2023-03-07T01:00:02.618Z] e16973657156: Download complete [2023-03-07T01:00:02.618Z] 35d82f9e3411: Verifying Checksum [2023-03-07T01:00:02.618Z] 35d82f9e3411: Download complete [2023-03-07T01:00:02.618Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T01:00:02.618Z] 7e9fc2657dce: Download complete [2023-03-07T01:00:02.905Z] dda99020689f: Verifying Checksum [2023-03-07T01:00:02.905Z] dda99020689f: Download complete [2023-03-07T01:00:02.905Z] 9b18e9b68314: Download complete [2023-03-07T01:00:03.876Z] 9b18e9b68314: Pull complete [2023-03-07T01:00:03.876Z] 891c053d2c06: Verifying Checksum [2023-03-07T01:00:03.876Z] 891c053d2c06: Download complete [2023-03-07T01:00:04.147Z] 35d82f9e3411: Pull complete [2023-03-07T01:00:04.738Z] e16973657156: Pull complete [2023-03-07T01:00:05.331Z] db1c61fa0a46: Verifying Checksum [2023-03-07T01:00:05.331Z] db1c61fa0a46: Download complete [2023-03-07T01:00:05.919Z] fc693d55d65f: Verifying Checksum [2023-03-07T01:00:05.919Z] fc693d55d65f: Download complete [2023-03-07T01:00:18.265Z] fc693d55d65f: Pull complete [2023-03-07T01:00:18.265Z] 7e9fc2657dce: Pull complete [2023-03-07T01:00:18.539Z] dda99020689f: Pull complete [2023-03-07T01:00:25.222Z] db1c61fa0a46: Pull complete [2023-03-07T01:00:26.639Z] 891c053d2c06: Pull complete [2023-03-07T01:00:26.907Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T01:00:26.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T01:00:26.907Z] ---> f96f9c87975a [2023-03-07T01:00:26.907Z] Step 3/10 : ARG MAKE=make build [2023-03-07T01:00:28.860Z] ---> Running in 036798e97561 [2023-03-07T01:00:29.130Z] Removing intermediate container 036798e97561 [2023-03-07T01:00:29.130Z] ---> 037d5eb650c6 [2023-03-07T01:00:29.130Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T01:00:29.130Z] ---> Running in ca261d2eaaa5 [2023-03-07T01:00:29.403Z] Removing intermediate container ca261d2eaaa5 [2023-03-07T01:00:29.403Z] ---> 09e43b61d170 [2023-03-07T01:00:29.403Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T01:00:29.672Z] ---> Running in 33d6b71018b2 [2023-03-07T01:00:29.961Z] Removing intermediate container 33d6b71018b2 [2023-03-07T01:00:29.961Z] ---> c96e8880fdd4 [2023-03-07T01:00:29.961Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T01:00:29.961Z] ---> Running in fa33ee934022 [2023-03-07T01:00:31.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T01:00:31.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T01:00:32.816Z] OK: 221 MiB in 51 packages [2023-03-07T01:00:33.411Z] Removing intermediate container fa33ee934022 [2023-03-07T01:00:33.411Z] ---> 7bcaed8f5fed [2023-03-07T01:00:33.411Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T01:00:33.998Z] ---> caf87cf5ccb9 [2023-03-07T01:00:33.998Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:00:33.998Z] ---> Running in 6f74cc39fa50 [2023-03-07T01:01:41.928Z] Removing intermediate container 6f74cc39fa50 [2023-03-07T01:01:41.928Z] ---> 4cb53cca59c7 [2023-03-07T01:01:41.928Z] Step 9/10 : COPY . . [2023-03-07T01:01:41.928Z] ---> b78896c04b7f [2023-03-07T01:01:41.928Z] Step 10/10 : RUN ${MAKE} [2023-03-07T01:01:41.928Z] ---> Running in e023051d807b [2023-03-07T01:01:41.928Z] noop [2023-03-07T01:01:41.928Z] Removing intermediate container e023051d807b [2023-03-07T01:01:41.928Z] ---> 562d21fe832d [2023-03-07T01:01:41.928Z] Successfully built 562d21fe832d [2023-03-07T01:01:41.928Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:01:42.400Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T01:01:42.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:01:42.677Z] prd-ubuntu20.04-docker-arm64-4c-16g-8442 does not seem to be running inside a container [2023-03-07T01:01:42.747Z] $ 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-03-07T01:01:43.939Z] $ docker top 4e961545417106f7422e8e686dd07796af912d6a8850ddaf107b798e16542900 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:01:44.809Z] + go version [2023-03-07T01:01:44.809Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T01:01:44.842Z] $ docker stop --time=1 4e961545417106f7422e8e686dd07796af912d6a8850ddaf107b798e16542900 [2023-03-07T01:01:46.375Z] $ docker rm -f --volumes 4e961545417106f7422e8e686dd07796af912d6a8850ddaf107b798e16542900 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:01:47.191Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T01:01:47.191Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:01:47.430Z] prd-ubuntu20.04-docker-arm64-4c-16g-8442 does not seem to be running inside a container [2023-03-07T01:01:47.496Z] $ 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-03-07T01:01:48.582Z] $ docker top 2706b4ebe2671cfe321e47c422fd7754a60d1363ee05e37382193d0e9cc36e7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:01:49.124Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-07T01:01:49.549Z] + make test [2023-03-07T01:01:49.549Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T01:02:21.768Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T01:04:13.440Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T01:04:13.440Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T01:04:13.440Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T01:04:13.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T01:04:13.441Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T01:04:15.381Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.245s coverage: 27.6% of statements [2023-03-07T01:04:16.341Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.347s coverage: 78.9% of statements [2023-03-07T01:04:16.341Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T01:04:20.594Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.347s coverage: 86.0% of statements [2023-03-07T01:04:20.594Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T01:04:20.594Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T01:04:21.554Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.426s coverage: 75.0% of statements [2023-03-07T01:04:21.554Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T01:04:21.823Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.273s coverage: 15.3% of statements [2023-03-07T01:04:21.824Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T01:04:22.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.413s coverage: 65.2% of statements [2023-03-07T01:04:22.784Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T01:04:22.784Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T01:04:28.130Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.892s coverage: 89.2% of statements [2023-03-07T01:04:28.130Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T01:04:28.130Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.239s coverage: 4.6% of statements [2023-03-07T01:04:28.130Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T01:04:28.130Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T01:04:28.130Z] GO111MODULE=on go vet ./... [2023-03-07T01:05:49.766Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T01:05:49.766Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T01:05:49.766Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T01:05:49.809Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T01:05:49.843Z] $ docker stop --time=1 2706b4ebe2671cfe321e47c422fd7754a60d1363ee05e37382193d0e9cc36e7b [2023-03-07T01:05:51.627Z] $ docker rm -f --volumes 2706b4ebe2671cfe321e47c422fd7754a60d1363ee05e37382193d0e9cc36e7b [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T01:05:52.986Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T01:05:53.052Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T01:05:53.654Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T01:05:54.470Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T01:05:54.818Z] + ls -al . [2023-03-07T01:05:54.818Z] total 276 [2023-03-07T01:05:54.818Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 01:01 . [2023-03-07T01:05:54.818Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 00:59 .. [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 00:59 .dockerignore [2023-03-07T01:05:54.818Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 00:59 .git [2023-03-07T01:05:54.818Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 00:59 .github [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 00:59 .gitignore [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 00:59 .golangci.yml [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 00:59 CHANGELOG.md [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 00:59 GOVERNANCE.md [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 00:59 Jenkinsfile [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 00:59 LICENSE [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 00:59 Makefile [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 00:59 OWNERS.md [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 00:59 README.md [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 00:55 VERSION [2023-03-07T01:05:54.818Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 00:59 bin [2023-03-07T01:05:54.818Z] -rw-r--r-- 1 jenkins jenkins 111324 Mar 7 01:04 coverage.out [2023-03-07T01:05:54.818Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 00:59 example [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 00:59 go.mod [2023-03-07T01:05:54.818Z] -rw-rw-r-- 1 jenkins jenkins 30840 Mar 7 00:59 go.sum [2023-03-07T01:05:54.818Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 00:59 internal [2023-03-07T01:05:54.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 00:59 openapi [2023-03-07T01:05:54.819Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 00:59 pkg [2023-03-07T01:05:54.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 00:59 snap [2023-03-07T01:05:54.819Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 00:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:05:55.266Z] + 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=1c8fa23c1c11213189329f8e26a15dc1a63aa47e --label arch=arm64 --label version=0.0.0 . [2023-03-07T01:05:55.869Z] Sending build context to Docker daemon 5.834MB [2023-03-07T01:05:55.869Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T01:05:55.869Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T01:05:55.869Z] ---> 562d21fe832d [2023-03-07T01:05:55.869Z] Step 3/23 : ARG MAKE=make build [2023-03-07T01:05:55.869Z] ---> Running in 22b7ae799190 [2023-03-07T01:05:56.152Z] Removing intermediate container 22b7ae799190 [2023-03-07T01:05:56.152Z] ---> 67b56c2587e8 [2023-03-07T01:05:56.152Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T01:05:56.425Z] ---> Running in 8702b6ab1306 [2023-03-07T01:05:56.693Z] Removing intermediate container 8702b6ab1306 [2023-03-07T01:05:56.693Z] ---> abaee72b6e1d [2023-03-07T01:05:56.693Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T01:05:56.693Z] ---> Running in bb2d978581ae [2023-03-07T01:05:56.976Z] Removing intermediate container bb2d978581ae [2023-03-07T01:05:56.976Z] ---> 95415510af42 [2023-03-07T01:05:56.976Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T01:05:56.976Z] ---> Running in c2a888288500 [2023-03-07T01:05:57.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T01:05:58.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T01:05:59.490Z] OK: 221 MiB in 51 packages [2023-03-07T01:06:00.461Z] Removing intermediate container c2a888288500 [2023-03-07T01:06:00.461Z] ---> 4d591a4a9315 [2023-03-07T01:06:00.461Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T01:06:02.344Z] ---> 5b71b6fe5e0f [2023-03-07T01:06:02.344Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T01:06:02.344Z] ---> Running in 89ed5a9baa30 [2023-03-07T01:06:04.937Z] Removing intermediate container 89ed5a9baa30 [2023-03-07T01:06:04.937Z] ---> c136cbcf695a [2023-03-07T01:06:04.937Z] Step 9/23 : COPY . . [2023-03-07T01:06:06.367Z] ---> 8f921529c48b [2023-03-07T01:06:06.367Z] Step 10/23 : RUN ${MAKE} [2023-03-07T01:06:06.367Z] ---> Running in 638a067e7417 [2023-03-07T01:06:07.327Z] 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-03-07T01:08:13.992Z] Removing intermediate container 638a067e7417 [2023-03-07T01:08:13.992Z] ---> d4d9b782894c [2023-03-07T01:08:13.992Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T01:08:13.992Z] 3.16: Pulling from library/alpine [2023-03-07T01:08:13.992Z] 3760b48202b3: Pulling fs layer [2023-03-07T01:08:13.992Z] 3760b48202b3: Verifying Checksum [2023-03-07T01:08:13.992Z] 3760b48202b3: Download complete [2023-03-07T01:08:13.992Z] 3760b48202b3: Pull complete [2023-03-07T01:08:13.992Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T01:08:13.992Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T01:08:13.992Z] ---> 4c81e5bf8899 [2023-03-07T01:08:13.992Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T01:08:13.992Z] ---> Running in a813e82fed57 [2023-03-07T01:08:13.992Z] Removing intermediate container a813e82fed57 [2023-03-07T01:08:13.992Z] ---> 197202152d31 [2023-03-07T01:08:13.992Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T01:08:13.992Z] ---> Running in 4b2b01216c06 [2023-03-07T01:08:13.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T01:08:13.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T01:08:13.992Z] OK: 5 MiB in 14 packages [2023-03-07T01:08:13.992Z] Removing intermediate container 4b2b01216c06 [2023-03-07T01:08:13.992Z] ---> 2fe5db0d5c48 [2023-03-07T01:08:13.992Z] Step 14/23 : WORKDIR / [2023-03-07T01:08:13.992Z] ---> Running in 1c14fe060552 [2023-03-07T01:08:13.992Z] Removing intermediate container 1c14fe060552 [2023-03-07T01:08:13.992Z] ---> 442b1ff4ed8a [2023-03-07T01:08:13.992Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T01:08:13.992Z] ---> 19629312737f [2023-03-07T01:08:13.992Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T01:08:15.936Z] ---> 6724ce108c5a [2023-03-07T01:08:15.936Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T01:08:16.209Z] ---> f065a4f28da1 [2023-03-07T01:08:16.209Z] Step 18/23 : EXPOSE 59999 [2023-03-07T01:08:16.209Z] ---> Running in 877d488bdd5f [2023-03-07T01:08:16.477Z] Removing intermediate container 877d488bdd5f [2023-03-07T01:08:16.477Z] ---> 269f4661a8c4 [2023-03-07T01:08:16.477Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T01:08:16.477Z] ---> Running in 741702824a8e [2023-03-07T01:08:16.744Z] Removing intermediate container 741702824a8e [2023-03-07T01:08:16.744Z] ---> 3cfe8504e665 [2023-03-07T01:08:16.744Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T01:08:17.029Z] ---> Running in 0f25586ce7ac [2023-03-07T01:08:17.298Z] Removing intermediate container 0f25586ce7ac [2023-03-07T01:08:17.298Z] ---> 240179e98c4f [2023-03-07T01:08:17.298Z] Step 21/23 : LABEL arch=arm64 [2023-03-07T01:08:17.298Z] ---> Running in ecc97a288ac5 [2023-03-07T01:08:17.566Z] Removing intermediate container ecc97a288ac5 [2023-03-07T01:08:17.566Z] ---> 698b795ffe87 [2023-03-07T01:08:17.566Z] Step 22/23 : LABEL git_sha=1c8fa23c1c11213189329f8e26a15dc1a63aa47e [2023-03-07T01:08:17.834Z] ---> Running in 1c0cd56a75d1 [2023-03-07T01:08:18.103Z] Removing intermediate container 1c0cd56a75d1 [2023-03-07T01:08:18.103Z] ---> 7e09d38d8c79 [2023-03-07T01:08:18.103Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T01:08:18.103Z] ---> Running in dc3a3e7d0c37 [2023-03-07T01:08:18.380Z] Removing intermediate container dc3a3e7d0c37 [2023-03-07T01:08:18.380Z] ---> 474dc7eec5de [2023-03-07T01:08:18.380Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T01:08:18.380Z] Successfully built 474dc7eec5de [2023-03-07T01:08:18.380Z] 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-03-07T01:08:19.234Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:08:19.234Z] [2023-03-07T01:08:19.235Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:08:19.720Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:08:19.991Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T01:08:19.991Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T01:08:19.991Z] 04944245beec: Pulling fs layer [2023-03-07T01:08:19.991Z] 699f458cf7ca: Pulling fs layer [2023-03-07T01:08:19.991Z] 765212b225bb: Pulling fs layer [2023-03-07T01:08:19.991Z] f23df028b6ca: Pulling fs layer [2023-03-07T01:08:19.991Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T01:08:19.991Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T01:08:19.991Z] 765212b225bb: Waiting [2023-03-07T01:08:19.991Z] f23df028b6ca: Waiting [2023-03-07T01:08:19.991Z] d65c8cfc05b1: Waiting [2023-03-07T01:08:19.991Z] 2437ff75d9bd: Waiting [2023-03-07T01:08:19.991Z] 04944245beec: Verifying Checksum [2023-03-07T01:08:19.991Z] 04944245beec: Download complete [2023-03-07T01:08:19.991Z] 765212b225bb: Download complete [2023-03-07T01:08:19.991Z] f23df028b6ca: Verifying Checksum [2023-03-07T01:08:19.991Z] f23df028b6ca: Download complete [2023-03-07T01:08:19.991Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T01:08:19.991Z] d65c8cfc05b1: Download complete [2023-03-07T01:08:20.274Z] 699f458cf7ca: Verifying Checksum [2023-03-07T01:08:20.274Z] 699f458cf7ca: Download complete [2023-03-07T01:08:20.545Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T01:08:20.545Z] 8998bd30e6a1: Download complete [2023-03-07T01:08:23.136Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T01:08:23.136Z] 2437ff75d9bd: Download complete [2023-03-07T01:08:25.081Z] 8998bd30e6a1: Pull complete [2023-03-07T01:08:25.350Z] 04944245beec: Pull complete [2023-03-07T01:08:26.762Z] 699f458cf7ca: Pull complete [2023-03-07T01:08:27.030Z] 765212b225bb: Pull complete [2023-03-07T01:08:27.615Z] f23df028b6ca: Pull complete [2023-03-07T01:08:27.882Z] d65c8cfc05b1: Pull complete [2023-03-07T01:08:42.868Z] 2437ff75d9bd: Pull complete [2023-03-07T01:08:42.868Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T01:08:42.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T01:08:42.868Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:08:43.203Z] prd-ubuntu20.04-docker-arm64-4c-16g-8442 does not seem to be running inside a container [2023-03-07T01:08:43.273Z] $ 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-03-07T01:08:46.010Z] $ docker top b0e377e87a0713f1594bb3050fb5aa46d4335b932c28938781aba801af68fc65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:08:46.948Z] ---> job-cost.sh [2023-03-07T01:08:46.948Z] lf-activate-venv: SKIPPING [2023-03-07T01:08:46.948Z] INFO: No Stack... [2023-03-07T01:08:47.218Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T01:08:48.181Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T01:08:48.535Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-07T01:08:48.535Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T01:08:48.892Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1359-1-stack-cost] [2023-03-07T01:08:48.897Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1359-1-stack-cost] did not exist. Created. [2023-03-07T01:08:48.897Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1359-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T01:08:49.368Z] /w/workspace/device-sdk-go/1@tmp/durable-8144e206/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T01:08:50.050Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T01:08:50.086Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T01:08:50.156Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T01:08:50.172Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1359-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T01:08:50.254Z] $ docker stop --time=1 b0e377e87a0713f1594bb3050fb5aa46d4335b932c28938781aba801af68fc65 [2023-03-07T01:08:51.762Z] $ docker rm -f --volumes b0e377e87a0713f1594bb3050fb5aa46d4335b932c28938781aba801af68fc65 [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-03-07T01:08:52.869Z] provisioning config files... [2023-03-07T01:08:52.876Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/config3925168140965391588tmp [Pipeline] { [Pipeline] sh [2023-03-07T01:08:53.210Z] + set +x [2023-03-07T01:08:53.210Z] + curl -s https://codecov.io/bash [2023-03-07T01:08:53.210Z] + bash -s -- [2023-03-07T01:08:53.210Z] [2023-03-07T01:08:53.210Z] _____ _ [2023-03-07T01:08:53.210Z] / ____| | | [2023-03-07T01:08:53.210Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T01:08:53.210Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T01:08:53.210Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T01:08:53.210Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T01:08:53.210Z] Bash-1.0.6 [2023-03-07T01:08:53.210Z] [2023-03-07T01:08:53.210Z] [2023-03-07T01:08:53.210Z] ==> git version 2.25.1 found [2023-03-07T01:08:53.210Z] ==> 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-03-07T01:08:53.210Z] Release-Date: 2020-01-08 [2023-03-07T01:08:53.210Z] 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-03-07T01:08:53.210Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T01:08:53.210Z] ==> Jenkins CI detected. [2023-03-07T01:08:53.210Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1359 [2023-03-07T01:08:53.210Z] project root: . [2023-03-07T01:08:53.210Z] --> token set from env [2023-03-07T01:08:53.210Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T01:08:53.210Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T01:08:53.210Z] ==> Python coveragepy not found [2023-03-07T01:08:53.210Z] ==> Searching for coverage reports in: [2023-03-07T01:08:53.210Z] + . [2023-03-07T01:08:53.210Z] -> Found 1 reports [2023-03-07T01:08:53.210Z] ==> Detecting git/mercurial file structure [2023-03-07T01:08:53.210Z] ==> Reading reports [2023-03-07T01:08:53.210Z] + ./coverage.out bytes=111324 [2023-03-07T01:08:53.210Z] ==> Appending adjustments [2023-03-07T01:08:53.210Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T01:08:53.467Z] + Found adjustments [2023-03-07T01:08:53.467Z] ==> Gzipping contents [2023-03-07T01:08:53.467Z] 16K /tmp/codecov.84dEdt.gz [2023-03-07T01:08:53.467Z] ==> Uploading reports [2023-03-07T01:08:53.467Z] url: https://codecov.io [2023-03-07T01:08:53.467Z] query: branch=PR-1359&commit=f10fea63bfed6d7c041f71e99de15de867cf8c04&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1359%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1359&job=&cmd_args= [2023-03-07T01:08:53.467Z] -> Pinging Codecov [2023-03-07T01:08:53.467Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1359&commit=f10fea63bfed6d7c041f71e99de15de867cf8c04&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1359%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1359&job=&cmd_args= [2023-03-07T01:08:53.726Z] -> Uploading to [2023-03-07T01:08:53.726Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/f10fea63bfed6d7c041f71e99de15de867cf8c04/ec15607a-7367-4977-927a-6d62fa7c6def.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T010853Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dc5248d1064b2b735f3510472b65923ad421e2ecc5012c6b25126b1f0b3b5255 [2023-03-07T01:08:53.726Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T01:08:53.726Z] Dload Upload Total Spent Left Speed [2023-03-07T01:08:53.984Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15393 0 0 100 15393 0 64137 --:--:-- --:--:-- --:--:-- 64405 [2023-03-07T01:08:53.984Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f10fea63bfed6d7c041f71e99de15de867cf8c04 [Pipeline] } [2023-03-07T01:08:54.015Z] 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-03-07T01:08:55.896Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives ] [2023-03-07T01:08:55.896Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives [2023-03-07T01:08:55.896Z] total 16 [2023-03-07T01:08:55.896Z] drwxr-xr-x 3 root root 4096 Mar 7 00:58 . [2023-03-07T01:08:55.896Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 00:58 .. [2023-03-07T01:08:55.896Z] drwxr-xr-x 2 root root 4096 Mar 7 00:58 cost [2023-03-07T01:08:55.896Z] -rw-r--r-- 1 root root 86 Mar 7 00:58 cost.csv [2023-03-07T01:08:55.896Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives [2023-03-07T01:08:55.896Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives [2023-03-07T01:08:55.896Z] total 16 [2023-03-07T01:08:55.896Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 00:58 . [2023-03-07T01:08:55.896Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 00:58 .. [2023-03-07T01:08:55.896Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 00:58 cost [2023-03-07T01:08:55.896Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 00:58 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:08:56.221Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:08:57.105Z] ---> package-listing.sh [2023-03-07T01:08:57.105Z] ++ facter osfamily [2023-03-07T01:08:57.105Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T01:08:57.364Z] + OS_FAMILY=debian [2023-03-07T01:08:57.364Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1359 [2023-03-07T01:08:57.364Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T01:08:57.364Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T01:08:57.364Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T01:08:57.364Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T01:08:57.364Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1359 ']' [2023-03-07T01:08:57.364Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T01:08:57.364Z] + case "${OS_FAMILY}" in [2023-03-07T01:08:57.364Z] + dpkg -l [2023-03-07T01:08:57.364Z] + grep '^ii' [2023-03-07T01:08:57.364Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T01:08:57.364Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T01:08:57.364Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T01:08:57.364Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1359 ']' [2023-03-07T01:08:57.364Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives/ [2023-03-07T01:08:57.364Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1359/archives/ [Pipeline] echo [2023-03-07T01:08:57.399Z] 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-1359/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T01:08:57.690Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T01:08:58.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T01:08:58.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T01:08:58.458Z] prd-ubuntu20.04-docker-8c-8g-8440 does not seem to be running inside a container [2023-03-07T01:08:58.508Z] $ 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-1359/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-1359 -v /w/workspace/gexfoundry_device-sdk-go_PR-1359:/w/workspace/gexfoundry_device-sdk-go_PR-1359:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1359@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-03-07T01:08:58.683Z] $ docker top e604c64c1de0e433e2b51f4809018754ec8d5ff6271b4d5262d27139bbf3c14a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T01:08:59.056Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T01:08:59.363Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T01:08:59.677Z] + ls /var/log/sa-host [2023-03-07T01:08:59.677Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T01:08:59.820Z] provisioning config files... [2023-03-07T01:08:59.828Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1359@tmp/config16504730731114098657tmp [Pipeline] { [Pipeline] echo [2023-03-07T01:08:59.880Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:09:00.192Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T01:09:00.227Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:09:00.650Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T01:09:00.759Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:09:01.074Z] ---> sudo-logs.sh [2023-03-07T01:09:01.074Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T01:09:01.162Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:09:01.477Z] ---> job-cost.sh [2023-03-07T01:09:01.477Z] lf-activate-venv: SKIPPING [2023-03-07T01:09:01.477Z] DEBUG: total: 0.2199999988079071 [2023-03-07T01:09:01.477Z] INFO: Retrieving Stack Cost... [2023-03-07T01:09:01.738Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T01:09:02.308Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T01:09:02.354Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T01:09:02.669Z] ---> logs-deploy.sh [2023-03-07T01:09:02.669Z] lf-activate-venv: SKIPPING [2023-03-07T01:09:02.669Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1359/1 [2023-03-07T01:09:02.669Z] INFO: archiving workspace using pattern(s): [2023-03-07T01:09:03.618Z] Archives upload complete. [2023-03-07T01:09:03.877Z] INFO: archiving logs to Nexus