Pull request #1258 closed Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a81fe95d70c4864c7c3b07bc307e4797ff811bbc 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-ssh18392096210780381713.key Verifying host key using known hosts file > 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-ssh16640397566178077604.key Verifying host key using known hosts file > 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/levski-openapi-version-changes/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/levski-openapi-version-changes/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16352618968113731295.key Verifying host key using known hosts file > 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/levski-openapi-version-changes/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16567304517668188133.key Verifying host key using known hosts file > 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-ssh6791064623380560357.key Verifying host key using known hosts file > 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/levski-openapi-version-changes/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/levski-openapi-version-changes/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6591295870065496389.key Verifying host key using known hosts file > 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/v2]] ========================================================= [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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118544 in /w/workspace/o_levski-openapi-version-changes [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/o_levski-openapi-version-changes # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision a81fe95d70c4864c7c3b07bc307e4797ff811bbc (levski-openapi-version-changes) Commit message: "ci: automated version changes for OpenAPI version: [2.4.0]" 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 [2022-11-08T00:31:40.608Z] Timeout set to expire in 6 hr 0 min > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a81fe95d70c4864c7c3b07bc307e4797ff811bbc # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T00:31:40.791Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T00:31:40.891Z] ========================================================= [2022-11-08T00:31:40.891Z] EdgeX Global Pipelines Version Info [2022-11-08T00:31:40.891Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:31:41.640Z] ------------------- [2022-11-08T00:31:41.640Z] stable info: [2022-11-08T00:31:41.640Z] ------------------- [2022-11-08T00:31:41.640Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T00:31:41.640Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T00:31:41.640Z] Message: update stable to v1.0.244 [2022-11-08T00:31:42.212Z] ------------------- [2022-11-08T00:31:42.212Z] experimental info: [2022-11-08T00:31:42.212Z] ------------------- [2022-11-08T00:31:42.212Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T00:31:42.212Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T00:31:42.213Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T00:31:42.518Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-11-08T00:31:42.561Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-11-08T00:31:42.606Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T00:31:42.654Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T00:31:42.702Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T00:31:42.744Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T00:31:42.786Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T00:31:42.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-11-08T00:31:42.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T00:31:42.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T00:31:42.948Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T00:31:42.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-11-08T00:31:43.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T00:31:43.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T00:31:43.134Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T00:31:43.183Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T00:31:43.232Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T00:31:43.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T00:31:43.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T00:31:43.385Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T00:31:43.430Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-08T00:31:43.479Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-11-08T00:31:43.523Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T00:31:43.563Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T00:31:43.612Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T00:31:43.658Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T00:31:43.723Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T00:31:43.769Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski-openapi-version-changes [Pipeline] echo [2022-11-08T00:31:43.811Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski-openapi-version-changes [Pipeline] echo [2022-11-08T00:31:43.861Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski-openapi-version-changes [Pipeline] echo [2022-11-08T00:31:43.903Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo [2022-11-08T00:31:43.947Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a81fe95 [Pipeline] echo [2022-11-08T00:31:43.990Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T00:31:44.119Z] provisioning config files... [2022-11-08T00:31:44.139Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/o_levski-openapi-version-changes@tmp/config9623763700660131911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:31:44.498Z] ---> docker-login.sh [2022-11-08T00:31:44.498Z] nexus3.edgexfoundry.org:10001 [2022-11-08T00:31:44.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:31:44.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:31:44.761Z] Configure a credential helper to remove this warning. See [2022-11-08T00:31:44.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:31:44.761Z] [2022-11-08T00:31:44.761Z] Login Succeeded [2022-11-08T00:31:44.761Z] nexus3.edgexfoundry.org:10002 [2022-11-08T00:31:44.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:31:44.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:31:44.761Z] Configure a credential helper to remove this warning. See [2022-11-08T00:31:44.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:31:44.761Z] [2022-11-08T00:31:44.761Z] Login Succeeded [2022-11-08T00:31:44.761Z] nexus3.edgexfoundry.org:10003 [2022-11-08T00:31:45.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:31:45.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:31:45.022Z] Configure a credential helper to remove this warning. See [2022-11-08T00:31:45.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:31:45.022Z] [2022-11-08T00:31:45.022Z] Login Succeeded [2022-11-08T00:31:45.022Z] nexus3.edgexfoundry.org:10004 [2022-11-08T00:31:45.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:31:45.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:31:45.022Z] Configure a credential helper to remove this warning. See [2022-11-08T00:31:45.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:31:45.022Z] [2022-11-08T00:31:45.022Z] Login Succeeded [2022-11-08T00:31:45.022Z] docker.io [2022-11-08T00:31:45.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:31:45.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:31:45.546Z] Configure a credential helper to remove this warning. See [2022-11-08T00:31:45.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:31:45.546Z] [2022-11-08T00:31:45.546Z] Login Succeeded [2022-11-08T00:31:45.546Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T00:31:45.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T00:31:46.241Z] + git rev-list -1 --merges a81fe95d70c4864c7c3b07bc307e4797ff811bbc~1..a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo [2022-11-08T00:31:46.302Z] -----------> git rev-list -1 --merges a81fe95d70c4864c7c3b07bc307e4797ff811bbc~1..a81fe95d70c4864c7c3b07bc307e4797ff811bbc a81fe95d70c4864c7c3b07bc307e4797ff811bbc [false] [Pipeline] sh [2022-11-08T00:31:46.619Z] + git log --format=format:%s -1 a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo [2022-11-08T00:31:46.659Z] ========================================================= [2022-11-08T00:31:46.659Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T00:31:46.659Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T00:31:47.101Z] + git log --format=format:%s -1 a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] echo [2022-11-08T00:31:47.137Z] [semverPrep] GIT_COMMIT: a81fe95d70c4864c7c3b07bc307e4797ff811bbc, Commit Message: ci: automated version changes for OpenAPI version: [2.4.0] [Pipeline] echo [2022-11-08T00:31:47.165Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T00:31:47.550Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T00:31:47.550Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T00:31:47.550Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T00:31:47.550Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T00:31:47.550Z] + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2022-11-08T00:31:47.550Z] /etc/ssh/ssh_known_hosts [2022-11-08T00:31:47.550Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:31:47.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T00:31:47.984Z] [2022-11-08T00:31:47.984Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:31:48.361Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T00:31:48.361Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T00:31:48.361Z] b85a868b505f: Pulling fs layer [2022-11-08T00:31:48.361Z] e2be974225ed: Pulling fs layer [2022-11-08T00:31:48.361Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T00:31:48.361Z] 988bab9f4d93: Pulling fs layer [2022-11-08T00:31:48.361Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T00:31:48.361Z] eaf3925da568: Pulling fs layer [2022-11-08T00:31:48.361Z] bab4dde63d76: Pulling fs layer [2022-11-08T00:31:48.361Z] bde34c3a00c8: Pulling fs layer [2022-11-08T00:31:48.361Z] b352a97aabf1: Pulling fs layer [2022-11-08T00:31:48.361Z] 4872d77fe225: Pulling fs layer [2022-11-08T00:31:48.361Z] 5851b861e8e6: Pulling fs layer [2022-11-08T00:31:48.361Z] 988bab9f4d93: Waiting [2022-11-08T00:31:48.361Z] bab4dde63d76: Waiting [2022-11-08T00:31:48.361Z] bde34c3a00c8: Waiting [2022-11-08T00:31:48.361Z] b352a97aabf1: Waiting [2022-11-08T00:31:48.361Z] 4872d77fe225: Waiting [2022-11-08T00:31:48.361Z] 5851b861e8e6: Waiting [2022-11-08T00:31:48.361Z] 1469e6f7b9e6: Waiting [2022-11-08T00:31:48.361Z] eaf3925da568: Waiting [2022-11-08T00:31:48.361Z] e2be974225ed: Verifying Checksum [2022-11-08T00:31:48.361Z] e2be974225ed: Download complete [2022-11-08T00:31:48.361Z] 988bab9f4d93: Verifying Checksum [2022-11-08T00:31:48.361Z] 988bab9f4d93: Download complete [2022-11-08T00:31:48.620Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T00:31:48.620Z] 339a4e72a1f5: Download complete [2022-11-08T00:31:48.620Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T00:31:48.620Z] 1469e6f7b9e6: Download complete [2022-11-08T00:31:48.620Z] eaf3925da568: Verifying Checksum [2022-11-08T00:31:48.620Z] eaf3925da568: Download complete [2022-11-08T00:31:48.620Z] bde34c3a00c8: Verifying Checksum [2022-11-08T00:31:48.620Z] bde34c3a00c8: Download complete [2022-11-08T00:31:48.620Z] b352a97aabf1: Verifying Checksum [2022-11-08T00:31:48.620Z] b352a97aabf1: Download complete [2022-11-08T00:31:48.620Z] 4872d77fe225: Verifying Checksum [2022-11-08T00:31:48.620Z] 4872d77fe225: Download complete [2022-11-08T00:31:48.620Z] 5851b861e8e6: Download complete [2022-11-08T00:31:48.620Z] b85a868b505f: Download complete [2022-11-08T00:31:49.188Z] bab4dde63d76: Verifying Checksum [2022-11-08T00:31:49.188Z] bab4dde63d76: Download complete [2022-11-08T00:31:50.125Z] b85a868b505f: Pull complete [2022-11-08T00:31:50.125Z] e2be974225ed: Pull complete [2022-11-08T00:31:50.691Z] 339a4e72a1f5: Pull complete [2022-11-08T00:31:50.691Z] 988bab9f4d93: Pull complete [2022-11-08T00:31:50.950Z] 1469e6f7b9e6: Pull complete [2022-11-08T00:31:50.950Z] eaf3925da568: Pull complete [2022-11-08T00:31:52.851Z] bab4dde63d76: Pull complete [2022-11-08T00:31:53.118Z] bde34c3a00c8: Pull complete [2022-11-08T00:31:53.118Z] b352a97aabf1: Pull complete [2022-11-08T00:31:53.118Z] 4872d77fe225: Pull complete [2022-11-08T00:31:53.377Z] 5851b861e8e6: Pull complete [2022-11-08T00:31:53.377Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T00:31:53.377Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T00:31:53.377Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T00:31:53.603Z] prd-ubuntu20.04-docker-8c-8g-118544 does not seem to be running inside a container [2022-11-08T00:31:53.626Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/o_levski-openapi-version-changes -v /w/workspace/o_levski-openapi-version-changes:/w/workspace/o_levski-openapi-version-changes:rw,z -v /w/workspace/o_levski-openapi-version-changes@tmp:/w/workspace/o_levski-openapi-version-changes@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T00:31:55.247Z] $ docker top 5cab04c2ac1f51f060c39934d9550c6dda2f6bfd5367ff11d7b0aee0519d53a8 -eo pid,comm [2022-11-08T00:31:55.328Z] 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). [2022-11-08T00:31:55.328Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T00:31:55.474Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T00:31:55.474Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T00:31:55.589Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T00:31:55.578Z] $ docker exec 5cab04c2ac1f51f060c39934d9550c6dda2f6bfd5367ff11d7b0aee0519d53a8 ssh-agent [2022-11-08T00:31:55.717Z] SSH_AUTH_SOCK=/tmp/ssh-G5uolsvpAIu5/agent.33 [2022-11-08T00:31:55.717Z] SSH_AGENT_PID=39 [2022-11-08T00:31:55.725Z] Running ssh-add (command line suppressed) [2022-11-08T00:31:55.819Z] Identity added: /w/workspace/o_levski-openapi-version-changes@tmp/private_key_339966401224163718.key (/w/workspace/o_levski-openapi-version-changes@tmp/private_key_339966401224163718.key) [2022-11-08T00:31:55.852Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T00:31:56.217Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T00:31:56.237Z] $ docker exec --env ******** --env ******** 5cab04c2ac1f51f060c39934d9550c6dda2f6bfd5367ff11d7b0aee0519d53a8 ssh-agent -k [2022-11-08T00:31:56.334Z] unset SSH_AUTH_SOCK; [2022-11-08T00:31:56.334Z] unset SSH_AGENT_PID; [2022-11-08T00:31:56.335Z] echo Agent pid 39 killed; [2022-11-08T00:31:56.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T00:31:56.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T00:31:56.449Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T00:31:56.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T00:31:56.571Z] $ docker exec 5cab04c2ac1f51f060c39934d9550c6dda2f6bfd5367ff11d7b0aee0519d53a8 ssh-agent [2022-11-08T00:31:56.695Z] SSH_AUTH_SOCK=/tmp/ssh-YBpIFV3Ao2Jk/agent.71 [2022-11-08T00:31:56.695Z] SSH_AGENT_PID=77 [2022-11-08T00:31:56.701Z] Running ssh-add (command line suppressed) [2022-11-08T00:31:56.804Z] Identity added: /w/workspace/o_levski-openapi-version-changes@tmp/private_key_12471777165235795485.key (/w/workspace/o_levski-openapi-version-changes@tmp/private_key_12471777165235795485.key) [2022-11-08T00:31:56.845Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T00:31:57.192Z] + git semver init [2022-11-08T00:31:57.453Z] 2022-11-08 00:31:57,411 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T00:31:57.453Z] 2022-11-08 00:31:57,412 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/o_levski-openapi-version-changes/.semver [2022-11-08T00:31:57.453Z] 2022-11-08 00:31:57,413 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/o_levski-openapi-version-changes/.semver [2022-11-08T00:31:57.453Z] 2022-11-08 00:31:57,413 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/o_levski-openapi-version-changes/.semver'], cwd=/w/workspace/o_levski-openapi-version-changes, universal_newlines=False, shell=None, istream=None) [2022-11-08T00:31:58.882Z] 2022-11-08 00:31:58,512 [append_file] DEBUG append to file:/w/workspace/o_levski-openapi-version-changes/.git/info/exclude [2022-11-08T00:31:58.882Z] 2022-11-08 00:31:58,513 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/o_levski-openapi-version-changes/.semver/levski-openapi-version-changes with force:False [2022-11-08T00:31:58.882Z] 2022-11-08 00:31:58,513 [write_file] DEBUG write to file:/w/workspace/o_levski-openapi-version-changes/.semver/levski-openapi-version-changes [2022-11-08T00:31:58.882Z] 2022-11-08 00:31:58,518 [execute] INFO git cat-file --batch-check [2022-11-08T00:31:58.882Z] 2022-11-08 00:31:58,518 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/o_levski-openapi-version-changes/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T00:31:58.882Z] 2022-11-08 00:31:58,525 [execute] INFO git cat-file --batch [2022-11-08T00:31:58.882Z] 2022-11-08 00:31:58,525 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/o_levski-openapi-version-changes/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T00:31:58.882Z] 2022-11-08 00:31:58,531 [read_version] DEBUG read version from /w/workspace/o_levski-openapi-version-changes/.semver/levski-openapi-version-changes [2022-11-08T00:31:58.882Z] 0.0.0 [Pipeline] } [2022-11-08T00:31:58.905Z] $ docker exec --env ******** --env ******** 5cab04c2ac1f51f060c39934d9550c6dda2f6bfd5367ff11d7b0aee0519d53a8 ssh-agent -k [2022-11-08T00:31:59.010Z] unset SSH_AUTH_SOCK; [2022-11-08T00:31:59.011Z] unset SSH_AGENT_PID; [2022-11-08T00:31:59.011Z] echo Agent pid 77 killed; [2022-11-08T00:31:59.033Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T00:31:59.481Z] + git semver [Pipeline] } [2022-11-08T00:31:59.773Z] $ docker stop --time=1 5cab04c2ac1f51f060c39934d9550c6dda2f6bfd5367ff11d7b0aee0519d53a8 [2022-11-08T00:32:01.138Z] $ docker rm -f 5cab04c2ac1f51f060c39934d9550c6dda2f6bfd5367ff11d7b0aee0519d53a8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T00:32:01.556Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T00:32:01.812Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T00:32:01.835Z] [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 [2022-11-08T00:32:02.508Z] provisioning config files... [2022-11-08T00:32:02.521Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/o_levski-openapi-version-changes@tmp/config18432751745997178995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:32:02.884Z] ---> docker-login.sh [2022-11-08T00:32:02.884Z] nexus3.edgexfoundry.org:10001 [2022-11-08T00:32:02.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:32:02.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:32:02.884Z] Configure a credential helper to remove this warning. See [2022-11-08T00:32:02.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:32:02.884Z] [2022-11-08T00:32:02.884Z] Login Succeeded [2022-11-08T00:32:02.884Z] nexus3.edgexfoundry.org:10002 [2022-11-08T00:32:02.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:32:02.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:32:02.884Z] Configure a credential helper to remove this warning. See [2022-11-08T00:32:02.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:32:02.884Z] [2022-11-08T00:32:02.884Z] Login Succeeded [2022-11-08T00:32:02.884Z] nexus3.edgexfoundry.org:10003 [2022-11-08T00:32:03.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:32:03.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:32:03.145Z] Configure a credential helper to remove this warning. See [2022-11-08T00:32:03.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:32:03.145Z] [2022-11-08T00:32:03.145Z] Login Succeeded [2022-11-08T00:32:03.145Z] nexus3.edgexfoundry.org:10004 [2022-11-08T00:32:03.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:32:03.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:32:03.145Z] Configure a credential helper to remove this warning. See [2022-11-08T00:32:03.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:32:03.145Z] [2022-11-08T00:32:03.145Z] Login Succeeded [2022-11-08T00:32:03.145Z] docker.io [2022-11-08T00:32:03.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:32:03.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:32:03.737Z] Configure a credential helper to remove this warning. See [2022-11-08T00:32:03.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:32:03.737Z] [2022-11-08T00:32:03.737Z] Login Succeeded [2022-11-08T00:32:03.737Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T00:32:03.769Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T00:32:03.946Z] [edgeX.isLTS] Checking if [levski-openapi-version-changes] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T00:32:03.975Z] [edgeX.isLTS] Checking if [levski-openapi-version-changes] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T00:32:04.003Z] ========================================================= [2022-11-08T00:32:04.003Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T00:32:04.003Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:32:04.471Z] + 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 . [2022-11-08T00:32:04.471Z] Sending build context to Docker daemon 10.13MB [2022-11-08T00:32:04.471Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T00:32:04.471Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-08T00:32:04.471Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T00:32:04.471Z] 213ec9aee27d: Pulling fs layer [2022-11-08T00:32:04.471Z] 4583459ba037: Pulling fs layer [2022-11-08T00:32:04.471Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T00:32:04.471Z] 53926ce57604: Pulling fs layer [2022-11-08T00:32:04.471Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T00:32:04.471Z] 22ff95d597cd: Pulling fs layer [2022-11-08T00:32:04.471Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T00:32:04.471Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T00:32:04.471Z] a7acece74701: Pulling fs layer [2022-11-08T00:32:04.471Z] 53926ce57604: Waiting [2022-11-08T00:32:04.471Z] 21b2b0c7a3f4: Waiting [2022-11-08T00:32:04.471Z] 22ff95d597cd: Waiting [2022-11-08T00:32:04.471Z] 12d6caf4c0d1: Waiting [2022-11-08T00:32:04.471Z] a7acece74701: Waiting [2022-11-08T00:32:04.471Z] 96b7cbca73a9: Waiting [2022-11-08T00:32:04.471Z] 93c1e223e6f2: Download complete [2022-11-08T00:32:04.731Z] 4583459ba037: Verifying Checksum [2022-11-08T00:32:04.731Z] 4583459ba037: Download complete [2022-11-08T00:32:04.731Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T00:32:04.731Z] 21b2b0c7a3f4: Download complete [2022-11-08T00:32:04.731Z] 22ff95d597cd: Verifying Checksum [2022-11-08T00:32:04.731Z] 22ff95d597cd: Download complete [2022-11-08T00:32:04.731Z] 213ec9aee27d: Verifying Checksum [2022-11-08T00:32:04.731Z] 213ec9aee27d: Download complete [2022-11-08T00:32:04.731Z] 12d6caf4c0d1: Verifying Checksum [2022-11-08T00:32:04.731Z] 12d6caf4c0d1: Download complete [2022-11-08T00:32:04.731Z] 213ec9aee27d: Pull complete [2022-11-08T00:32:04.991Z] 4583459ba037: Pull complete [2022-11-08T00:32:04.991Z] 93c1e223e6f2: Pull complete [2022-11-08T00:32:05.256Z] a7acece74701: Verifying Checksum [2022-11-08T00:32:05.256Z] a7acece74701: Download complete [2022-11-08T00:32:05.842Z] 53926ce57604: Verifying Checksum [2022-11-08T00:32:05.842Z] 53926ce57604: Download complete [2022-11-08T00:32:05.842Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T00:32:05.842Z] 96b7cbca73a9: Download complete [2022-11-08T00:32:10.031Z] 53926ce57604: Pull complete [2022-11-08T00:32:10.031Z] 21b2b0c7a3f4: Pull complete [2022-11-08T00:32:10.031Z] 22ff95d597cd: Pull complete [2022-11-08T00:32:10.031Z] 12d6caf4c0d1: Pull complete [2022-11-08T00:32:12.578Z] 96b7cbca73a9: Pull complete [2022-11-08T00:32:12.844Z] a7acece74701: Pull complete [2022-11-08T00:32:12.844Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T00:32:12.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T00:32:12.844Z] ---> db6d94c90886 [2022-11-08T00:32:12.844Z] Step 3/10 : ARG MAKE=make build [2022-11-08T00:32:15.627Z] ---> Running in fabd4de5ad05 [2022-11-08T00:32:15.627Z] Removing intermediate container fabd4de5ad05 [2022-11-08T00:32:15.627Z] ---> 3dcf98d57203 [2022-11-08T00:32:15.627Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-08T00:32:15.627Z] ---> Running in ae5b3b43384f [2022-11-08T00:32:15.627Z] Removing intermediate container ae5b3b43384f [2022-11-08T00:32:15.627Z] ---> 4afb62dc5a89 [2022-11-08T00:32:15.627Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-08T00:32:15.627Z] ---> Running in 82d146a983a6 [2022-11-08T00:32:15.627Z] Removing intermediate container 82d146a983a6 [2022-11-08T00:32:15.627Z] ---> b7f137346e57 [2022-11-08T00:32:15.627Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T00:32:15.627Z] ---> Running in cc111ceb1b44 [2022-11-08T00:32:15.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T00:32:16.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T00:32:16.405Z] OK: 211 MiB in 51 packages [2022-11-08T00:32:16.976Z] Removing intermediate container cc111ceb1b44 [2022-11-08T00:32:16.976Z] ---> 39ac16b00937 [2022-11-08T00:32:16.976Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-08T00:32:16.976Z] ---> 684a6c2299e2 [2022-11-08T00:32:16.976Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T00:32:16.976Z] ---> Running in 3f6389f81aa8 [2022-11-08T00:32:17.323Z] Still waiting to schedule task [2022-11-08T00:32:17.323Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118541’ [2022-11-08T00:32:38.945Z] Removing intermediate container 3f6389f81aa8 [2022-11-08T00:32:38.945Z] ---> 010cb04f9751 [2022-11-08T00:32:38.945Z] Step 9/10 : COPY . . [2022-11-08T00:32:38.945Z] ---> 6716239239ed [2022-11-08T00:32:38.945Z] Step 10/10 : RUN ${MAKE} [2022-11-08T00:32:38.945Z] ---> Running in 3a3fd775f792 [2022-11-08T00:32:38.945Z] noop [2022-11-08T00:32:38.945Z] Removing intermediate container 3a3fd775f792 [2022-11-08T00:32:38.945Z] ---> 6d040358aecd [2022-11-08T00:32:38.945Z] Successfully built 6d040358aecd [2022-11-08T00:32:38.945Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:32:39.388Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T00:32:39.388Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T00:32:39.546Z] prd-ubuntu20.04-docker-8c-8g-118544 does not seem to be running inside a container [2022-11-08T00:32:39.580Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/o_levski-openapi-version-changes -v /w/workspace/o_levski-openapi-version-changes:/w/workspace/o_levski-openapi-version-changes:rw,z -v /w/workspace/o_levski-openapi-version-changes@tmp:/w/workspace/o_levski-openapi-version-changes@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 ******** ci-base-image-x86_64 cat [2022-11-08T00:32:39.976Z] $ docker top 1a89ed29cbf2b83c60f567701080cafe41ed4d6c799b3199f7abbe78683b46f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T00:32:40.375Z] + go version [2022-11-08T00:32:40.375Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T00:32:40.413Z] $ docker stop --time=1 1a89ed29cbf2b83c60f567701080cafe41ed4d6c799b3199f7abbe78683b46f8 [2022-11-08T00:32:41.712Z] $ docker rm -f 1a89ed29cbf2b83c60f567701080cafe41ed4d6c799b3199f7abbe78683b46f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:32:42.431Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T00:32:42.431Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T00:32:42.578Z] prd-ubuntu20.04-docker-8c-8g-118544 does not seem to be running inside a container [2022-11-08T00:32:42.616Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/o_levski-openapi-version-changes -v /w/workspace/o_levski-openapi-version-changes:/w/workspace/o_levski-openapi-version-changes:rw,z -v /w/workspace/o_levski-openapi-version-changes@tmp:/w/workspace/o_levski-openapi-version-changes@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 ******** ci-base-image-x86_64 cat [2022-11-08T00:32:43.017Z] $ docker top 47203926dea3406ff8b57984a3a138ab4395726be042c0c2572e74c941e291dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T00:32:43.413Z] + git config --global --add safe.directory /w/workspace/o_levski-openapi-version-changes [Pipeline] fileExists [Pipeline] sh [2022-11-08T00:32:43.799Z] + make test [2022-11-08T00:32:43.799Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-08T00:32:50.362Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-08T00:33:02.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-08T00:33:02.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-08T00:33:02.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-08T00:33:02.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-08T00:33:02.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-08T00:33:02.553Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements [2022-11-08T00:33:02.553Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.070s coverage: 78.9% of statements [2022-11-08T00:33:02.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-08T00:33:02.553Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.097s coverage: 73.1% of statements [2022-11-08T00:33:02.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-08T00:33:02.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-08T00:33:03.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.121s coverage: 54.4% of statements [2022-11-08T00:33:03.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-08T00:33:03.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-08T00:33:03.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-08T00:33:03.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-08T00:33:03.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 65.1% of statements [2022-11-08T00:33:03.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-08T00:33:03.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-08T00:33:03.122Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.743s coverage: 89.2% of statements [2022-11-08T00:33:03.122Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-08T00:33:03.381Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements [2022-11-08T00:33:03.381Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-08T00:33:18.391Z] 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." [2022-11-08T00:33:18.391Z] GO111MODULE=on go vet ./... [2022-11-08T00:33:20.919Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T00:33:20.919Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T00:33:20.919Z] ./bin/test-attribution-txt.sh [2022-11-08T00:33:20.919Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-08T00:33:20.919Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-08T00:33:20.919Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-08T00:33:20.919Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-08T00:33:20.963Z] [edgeX.isLTS] Checking if [levski-openapi-version-changes] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T00:33:20.999Z] $ docker stop --time=1 47203926dea3406ff8b57984a3a138ab4395726be042c0c2572e74c941e291dd [2022-11-08T00:33:23.417Z] $ docker rm -f 47203926dea3406ff8b57984a3a138ab4395726be042c0c2572e74c941e291dd [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T00:33:24.006Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T00:33:24.087Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T00:33:24.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T00:33:25.032Z] + ls -al . [2022-11-08T00:33:25.032Z] total 280 [2022-11-08T00:33:25.032Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 00:32 . [2022-11-08T00:33:25.032Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 00:31 .. [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 00:31 .dockerignore [2022-11-08T00:33:25.032Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:33 .git [2022-11-08T00:33:25.032Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 00:31 .github [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 8 00:31 .gitignore [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 00:31 .golangci.yml [2022-11-08T00:33:25.032Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 00:31 .semver [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 8 00:31 CHANGELOG.md [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 00:31 GOVERNANCE.md [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 8 00:31 Jenkinsfile [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 00:31 LICENSE [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 8 00:31 Makefile [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 00:31 OWNERS.md [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 8 00:31 README.md [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 00:32 VERSION [2022-11-08T00:33:25.032Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 00:31 bin [2022-11-08T00:33:25.032Z] -rw-r--r-- 1 jenkins jenkins 101760 Nov 8 00:33 coverage.out [2022-11-08T00:33:25.032Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 00:31 example [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 3347 Nov 8 00:31 go.mod [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 44423 Nov 8 00:31 go.sum [2022-11-08T00:33:25.032Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 8 00:31 internal [2022-11-08T00:33:25.032Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:31 openapi [2022-11-08T00:33:25.032Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 00:31 pkg [2022-11-08T00:33:25.032Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 00:31 snap [2022-11-08T00:33:25.032Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 00:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:33:25.423Z] + 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=a81fe95d70c4864c7c3b07bc307e4797ff811bbc --label arch=amd64 --label version=0.0.0 . [2022-11-08T00:33:25.423Z] Sending build context to Docker daemon 10.23MB [2022-11-08T00:33:25.423Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T00:33:25.423Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-08T00:33:25.423Z] ---> 6d040358aecd [2022-11-08T00:33:25.423Z] Step 3/23 : ARG MAKE=make build [2022-11-08T00:33:25.687Z] ---> Running in cf149fc8dfb7 [2022-11-08T00:33:25.687Z] Removing intermediate container cf149fc8dfb7 [2022-11-08T00:33:25.687Z] ---> d1816d43f7ef [2022-11-08T00:33:25.687Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-08T00:33:25.687Z] ---> Running in 50a2928e3167 [2022-11-08T00:33:25.687Z] Removing intermediate container 50a2928e3167 [2022-11-08T00:33:25.687Z] ---> de5691d6fe07 [2022-11-08T00:33:25.687Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-08T00:33:25.946Z] ---> Running in b4bd537fe517 [2022-11-08T00:33:25.946Z] Removing intermediate container b4bd537fe517 [2022-11-08T00:33:25.946Z] ---> f32f449eae63 [2022-11-08T00:33:25.946Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T00:33:25.946Z] ---> Running in b3c96d02912f [2022-11-08T00:33:26.206Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T00:33:26.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T00:33:26.727Z] OK: 211 MiB in 51 packages [2022-11-08T00:33:27.296Z] Removing intermediate container b3c96d02912f [2022-11-08T00:33:27.296Z] ---> 90acfc029a55 [2022-11-08T00:33:27.296Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-08T00:33:27.296Z] ---> 0a0e6d43b320 [2022-11-08T00:33:27.296Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T00:33:27.296Z] ---> Running in 8ae8c3a03b5f [2022-11-08T00:33:27.874Z] Removing intermediate container 8ae8c3a03b5f [2022-11-08T00:33:27.874Z] ---> 047c923d984a [2022-11-08T00:33:27.874Z] Step 9/23 : COPY . . [2022-11-08T00:33:28.442Z] ---> c13a8acf10e3 [2022-11-08T00:33:28.442Z] Step 10/23 : RUN ${MAKE} [2022-11-08T00:33:28.442Z] ---> Running in af0c9b489e11 [2022-11-08T00:33:28.700Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-11-08T00:33:46.768Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-08T00:33:48.671Z] Removing intermediate container af0c9b489e11 [2022-11-08T00:33:48.671Z] ---> 90ebd340d255 [2022-11-08T00:33:48.671Z] Step 11/23 : FROM alpine:3.16 [2022-11-08T00:33:48.931Z] 3.16: Pulling from library/alpine [2022-11-08T00:33:49.190Z] 213ec9aee27d: Already exists [2022-11-08T00:33:49.451Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T00:33:49.451Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T00:33:49.451Z] ---> 9c6f07244728 [2022-11-08T00:33:49.451Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-08T00:33:49.451Z] ---> Running in aa4c9b70f041 [2022-11-08T00:33:49.710Z] Removing intermediate container aa4c9b70f041 [2022-11-08T00:33:49.710Z] ---> 51c4a89b2934 [2022-11-08T00:33:49.710Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-08T00:33:49.710Z] ---> Running in 9069abec23bf [2022-11-08T00:33:49.969Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T00:33:50.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T00:33:50.488Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T00:33:50.488Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-08T00:33:50.488Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T00:33:50.488Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-08T00:33:50.488Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-08T00:33:50.488Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T00:33:50.488Z] OK: 8 MiB in 19 packages [2022-11-08T00:33:51.056Z] Removing intermediate container 9069abec23bf [2022-11-08T00:33:51.056Z] ---> d8ed91594708 [2022-11-08T00:33:51.056Z] Step 14/23 : WORKDIR / [2022-11-08T00:33:51.056Z] ---> Running in 504238e23718 [2022-11-08T00:33:51.056Z] Removing intermediate container 504238e23718 [2022-11-08T00:33:51.056Z] ---> a21c608f9ec4 [2022-11-08T00:33:51.056Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-08T00:33:51.317Z] ---> bc68d4166320 [2022-11-08T00:33:51.317Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-08T00:33:51.890Z] ---> 58d3a2b11bbc [2022-11-08T00:33:51.890Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-08T00:33:51.890Z] ---> bbfb8250a348 [2022-11-08T00:33:51.890Z] Step 18/23 : EXPOSE 59999 [2022-11-08T00:33:51.890Z] ---> Running in 536c75799e30 [2022-11-08T00:33:52.151Z] Removing intermediate container 536c75799e30 [2022-11-08T00:33:52.151Z] ---> 1079e3a14251 [2022-11-08T00:33:52.151Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-08T00:33:52.151Z] ---> Running in 3f48f6478fd0 [2022-11-08T00:33:52.151Z] Removing intermediate container 3f48f6478fd0 [2022-11-08T00:33:52.151Z] ---> cd766e6f2061 [2022-11-08T00:33:52.151Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T00:33:52.422Z] ---> Running in 26830d334b73 [2022-11-08T00:33:52.422Z] Removing intermediate container 26830d334b73 [2022-11-08T00:33:52.422Z] ---> b13a1fc27be0 [2022-11-08T00:33:52.422Z] Step 21/23 : LABEL arch=amd64 [2022-11-08T00:33:52.422Z] ---> Running in 8a60b3d724e8 [2022-11-08T00:33:52.422Z] Removing intermediate container 8a60b3d724e8 [2022-11-08T00:33:52.422Z] ---> 637699bb32c3 [2022-11-08T00:33:52.422Z] Step 22/23 : LABEL git_sha=a81fe95d70c4864c7c3b07bc307e4797ff811bbc [2022-11-08T00:33:52.682Z] ---> Running in 5b513a33413b [2022-11-08T00:33:52.682Z] Removing intermediate container 5b513a33413b [2022-11-08T00:33:52.682Z] ---> 37e07f48ffab [2022-11-08T00:33:52.682Z] Step 23/23 : LABEL version=0.0.0 [2022-11-08T00:33:52.682Z] ---> Running in 9ab88e000b88 [2022-11-08T00:33:52.682Z] Removing intermediate container 9ab88e000b88 [2022-11-08T00:33:52.682Z] ---> ce4f2380a603 [2022-11-08T00:33:52.682Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T00:33:52.682Z] Successfully built ce4f2380a603 [2022-11-08T00:33:52.682Z] 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 [2022-11-08T00:33:53.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T00:33:53.566Z] [2022-11-08T00:33:53.566Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:33:53.952Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T00:33:53.952Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T00:33:53.952Z] 5eb5b503b376: Pulling fs layer [2022-11-08T00:33:53.952Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T00:33:53.952Z] ec43610c2a17: Pulling fs layer [2022-11-08T00:33:53.952Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T00:33:53.952Z] 33b1e0a273af: Pulling fs layer [2022-11-08T00:33:53.952Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T00:33:53.952Z] 2f39f015ded8: Pulling fs layer [2022-11-08T00:33:53.952Z] 2f39f015ded8: Waiting [2022-11-08T00:33:53.952Z] 5d3b04190fa2: Waiting [2022-11-08T00:33:53.952Z] 3a2ae6a8a46f: Waiting [2022-11-08T00:33:53.952Z] 5c69ac0246d0: Verifying Checksum [2022-11-08T00:33:53.952Z] 5c69ac0246d0: Download complete [2022-11-08T00:33:53.952Z] 3a2ae6a8a46f: Download complete [2022-11-08T00:33:53.952Z] ec43610c2a17: Verifying Checksum [2022-11-08T00:33:53.952Z] ec43610c2a17: Download complete [2022-11-08T00:33:54.210Z] 33b1e0a273af: Verifying Checksum [2022-11-08T00:33:54.210Z] 33b1e0a273af: Download complete [2022-11-08T00:33:54.210Z] 5eb5b503b376: Download complete [2022-11-08T00:33:54.777Z] 2f39f015ded8: Download complete [2022-11-08T00:33:55.344Z] 5eb5b503b376: Pull complete [2022-11-08T00:33:55.344Z] 5c69ac0246d0: Pull complete [2022-11-08T00:33:55.911Z] ec43610c2a17: Pull complete [2022-11-08T00:33:55.911Z] 3a2ae6a8a46f: Pull complete [2022-11-08T00:33:56.168Z] 33b1e0a273af: Pull complete [2022-11-08T00:33:56.168Z] 5d3b04190fa2: Pull complete [2022-11-08T00:34:00.348Z] 2f39f015ded8: Pull complete [2022-11-08T00:34:00.348Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T00:34:00.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T00:34:00.348Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T00:34:00.581Z] prd-ubuntu20.04-docker-8c-8g-118544 does not seem to be running inside a container [2022-11-08T00:34:00.614Z] $ 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/o_levski-openapi-version-changes -v /w/workspace/o_levski-openapi-version-changes:/w/workspace/o_levski-openapi-version-changes:rw,z -v /w/workspace/o_levski-openapi-version-changes@tmp:/w/workspace/o_levski-openapi-version-changes@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T00:34:02.517Z] $ docker top fd839c34cf3cd08cbb90c5e4e81af4ef9df8fa0d256582384cffa8d308d7c838 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:34:02.960Z] ---> job-cost.sh [2022-11-08T00:34:02.960Z] lf-activate-venv: SKIPPING [2022-11-08T00:34:02.960Z] INFO: No Stack... [2022-11-08T00:34:03.222Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T00:34:03.791Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T00:34:04.104Z] + cat /w/workspace/o_levski-openapi-version-changes/archives/cost.csv [2022-11-08T00:34:04.105Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T00:34:04.146Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-openapi-version-changes-1-stack-cost] [2022-11-08T00:34:04.151Z] Resource [jenkins-edgexfoundry-device-sdk-go-levski-openapi-version-changes-1-stack-cost] did not exist. Created. [2022-11-08T00:34:04.151Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-openapi-version-changes-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T00:34:04.554Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T00:34:04.610Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T00:34:04.636Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-openapi-version-changes-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T00:34:04.714Z] $ docker stop --time=1 fd839c34cf3cd08cbb90c5e4e81af4ef9df8fa0d256582384cffa8d308d7c838 [2022-11-08T00:34:05.867Z] $ docker rm -f fd839c34cf3cd08cbb90c5e4e81af4ef9df8fa0d256582384cffa8d308d7c838 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T00:35:16.512Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118547 in /w/workspace/o_levski-openapi-version-changes [Pipeline] { [Pipeline] ws [2022-11-08T00:35:16.555Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-11-08T00:35:16.640Z] The recommended git tool is: git [2022-11-08T00:35:22.086Z] using credential edgex-jenkins-ssh [2022-11-08T00:35:22.103Z] Cloning the remote Git repository [2022-11-08T00:35:22.147Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-11-08T00:35:22.217Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-11-08T00:35:22.346Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-11-08T00:35:22.347Z] > git --version # timeout=10 [2022-11-08T00:35:22.365Z] > git --version # 'git version 2.25.1' [2022-11-08T00:35:22.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T00:35:22.421Z] Verifying host key using known hosts file [2022-11-08T00:35:22.613Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T00:35:22.628Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T00:35:25.101Z] Avoid second fetch [2022-11-08T00:35:25.102Z] Checking out Revision a81fe95d70c4864c7c3b07bc307e4797ff811bbc (levski-openapi-version-changes) [2022-11-08T00:35:24.200Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-11-08T00:35:24.227Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T00:35:25.123Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T00:35:25.139Z] > git checkout -f a81fe95d70c4864c7c3b07bc307e4797ff811bbc # timeout=10 [2022-11-08T00:35:25.646Z] Commit message: "ci: automated version changes for OpenAPI version: [2.4.0]" [2022-11-08T00:35:25.698Z] > git --version # timeout=10 [2022-11-08T00:35:25.712Z] > git --version # 'git version 2.25.1' [2022-11-08T00:35:25.725Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T00:35:26.761Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T00:35:26.761Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T00:35:26.761Z] Dload Upload Total Spent Left Speed [2022-11-08T00:35:26.761Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2022-11-08T00:35:27.429Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T00:35:27.783Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T00:35:27.783Z] + sudo tee /etc/docker/daemon.new [2022-11-08T00:35:27.783Z] { [2022-11-08T00:35:27.783Z] "registry-mirrors": [ [2022-11-08T00:35:27.783Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T00:35:27.783Z] ], [2022-11-08T00:35:27.783Z] "bip": "10.250.0.254/24", [2022-11-08T00:35:27.783Z] "hosts": [ [2022-11-08T00:35:27.783Z] "tcp://0.0.0.0:5555", [2022-11-08T00:35:27.783Z] "unix:///var/run/docker.sock" [2022-11-08T00:35:27.783Z] ], [2022-11-08T00:35:27.783Z] "mtu": 1458, [2022-11-08T00:35:27.783Z] "selinux-enabled": true, [2022-11-08T00:35:27.783Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T00:35:27.783Z] } [Pipeline] sh [2022-11-08T00:35:28.140Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T00:35:28.497Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T00:35:46.845Z] provisioning config files... [2022-11-08T00:35:46.875Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2318833930842404350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:35:47.278Z] ---> docker-login.sh [2022-11-08T00:35:47.278Z] nexus3.edgexfoundry.org:10001 [2022-11-08T00:35:47.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:35:47.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:35:47.868Z] Configure a credential helper to remove this warning. See [2022-11-08T00:35:47.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:35:47.868Z] [2022-11-08T00:35:47.868Z] Login Succeeded [2022-11-08T00:35:47.868Z] nexus3.edgexfoundry.org:10002 [2022-11-08T00:35:48.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:35:48.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:35:48.406Z] Configure a credential helper to remove this warning. See [2022-11-08T00:35:48.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:35:48.406Z] [2022-11-08T00:35:48.406Z] Login Succeeded [2022-11-08T00:35:48.406Z] nexus3.edgexfoundry.org:10003 [2022-11-08T00:35:48.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:35:48.676Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:35:48.676Z] Configure a credential helper to remove this warning. See [2022-11-08T00:35:48.676Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:35:48.676Z] [2022-11-08T00:35:48.676Z] Login Succeeded [2022-11-08T00:35:48.676Z] nexus3.edgexfoundry.org:10004 [2022-11-08T00:35:48.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:35:48.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:35:48.952Z] Configure a credential helper to remove this warning. See [2022-11-08T00:35:48.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:35:48.952Z] [2022-11-08T00:35:48.952Z] Login Succeeded [2022-11-08T00:35:48.952Z] docker.io [2022-11-08T00:35:49.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T00:35:49.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T00:35:49.810Z] Configure a credential helper to remove this warning. See [2022-11-08T00:35:49.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T00:35:49.810Z] [2022-11-08T00:35:49.810Z] Login Succeeded [2022-11-08T00:35:49.810Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T00:35:49.837Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T00:35:50.149Z] [edgeX.isLTS] Checking if [levski-openapi-version-changes] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T00:35:50.190Z] [edgeX.isLTS] Checking if [levski-openapi-version-changes] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T00:35:50.237Z] ========================================================= [2022-11-08T00:35:50.237Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T00:35:50.237Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:35:50.745Z] + 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 . [2022-11-08T00:35:51.016Z] Sending build context to Docker daemon 5.447MB [2022-11-08T00:35:51.016Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T00:35:51.016Z] Step 2/10 : FROM ${BASE} AS builder [2022-11-08T00:35:51.286Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T00:35:51.286Z] 9b18e9b68314: Pulling fs layer [2022-11-08T00:35:51.286Z] 35d82f9e3411: Pulling fs layer [2022-11-08T00:35:51.286Z] e16973657156: Pulling fs layer [2022-11-08T00:35:51.286Z] fc693d55d65f: Pulling fs layer [2022-11-08T00:35:51.286Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T00:35:51.286Z] dda99020689f: Pulling fs layer [2022-11-08T00:35:51.286Z] db1c61fa0a46: Pulling fs layer [2022-11-08T00:35:51.286Z] 891c053d2c06: Pulling fs layer [2022-11-08T00:35:51.286Z] fc693d55d65f: Waiting [2022-11-08T00:35:51.286Z] 7e9fc2657dce: Waiting [2022-11-08T00:35:51.286Z] dda99020689f: Waiting [2022-11-08T00:35:51.286Z] 891c053d2c06: Waiting [2022-11-08T00:35:51.286Z] db1c61fa0a46: Waiting [2022-11-08T00:35:51.286Z] e16973657156: Verifying Checksum [2022-11-08T00:35:51.286Z] e16973657156: Download complete [2022-11-08T00:35:51.286Z] 35d82f9e3411: Verifying Checksum [2022-11-08T00:35:51.286Z] 35d82f9e3411: Download complete [2022-11-08T00:35:51.286Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T00:35:51.286Z] 7e9fc2657dce: Download complete [2022-11-08T00:35:51.286Z] dda99020689f: Verifying Checksum [2022-11-08T00:35:51.286Z] dda99020689f: Download complete [2022-11-08T00:35:51.286Z] 9b18e9b68314: Verifying Checksum [2022-11-08T00:35:51.286Z] 9b18e9b68314: Download complete [2022-11-08T00:35:52.283Z] 9b18e9b68314: Pull complete [2022-11-08T00:35:52.283Z] 891c053d2c06: Verifying Checksum [2022-11-08T00:35:52.283Z] 891c053d2c06: Download complete [2022-11-08T00:35:52.875Z] 35d82f9e3411: Pull complete [2022-11-08T00:35:53.147Z] e16973657156: Pull complete [2022-11-08T00:35:53.742Z] db1c61fa0a46: Verifying Checksum [2022-11-08T00:35:53.742Z] db1c61fa0a46: Download complete [2022-11-08T00:35:54.330Z] fc693d55d65f: Verifying Checksum [2022-11-08T00:35:54.330Z] fc693d55d65f: Download complete [2022-11-08T00:36:06.684Z] fc693d55d65f: Pull complete [2022-11-08T00:36:06.684Z] 7e9fc2657dce: Pull complete [2022-11-08T00:36:06.684Z] dda99020689f: Pull complete [2022-11-08T00:36:10.948Z] db1c61fa0a46: Pull complete [2022-11-08T00:36:12.926Z] 891c053d2c06: Pull complete [2022-11-08T00:36:12.926Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T00:36:12.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T00:36:12.926Z] ---> f96f9c87975a [2022-11-08T00:36:12.926Z] Step 3/10 : ARG MAKE=make build [2022-11-08T00:36:14.966Z] ---> Running in 4ad203031cd2 [2022-11-08T00:36:14.966Z] Removing intermediate container 4ad203031cd2 [2022-11-08T00:36:14.966Z] ---> 1321267c0ac4 [2022-11-08T00:36:14.966Z] Step 4/10 : WORKDIR /device-sdk-go [2022-11-08T00:36:14.966Z] ---> Running in 5ccf43179474 [2022-11-08T00:36:15.674Z] Removing intermediate container 5ccf43179474 [2022-11-08T00:36:15.674Z] ---> dc7c9a36d9dc [2022-11-08T00:36:15.674Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-08T00:36:15.674Z] ---> Running in 5ebf7ef6bf97 [2022-11-08T00:36:15.958Z] Removing intermediate container 5ebf7ef6bf97 [2022-11-08T00:36:15.958Z] ---> 6f5bb2aaa6a2 [2022-11-08T00:36:15.958Z] Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T00:36:15.958Z] ---> Running in e90e132a09af [2022-11-08T00:36:17.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T00:36:17.968Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T00:36:18.932Z] OK: 221 MiB in 51 packages [2022-11-08T00:36:19.520Z] Removing intermediate container e90e132a09af [2022-11-08T00:36:19.520Z] ---> fa8c9bf5d168 [2022-11-08T00:36:19.520Z] Step 7/10 : COPY go.mod vendor* ./ [2022-11-08T00:36:20.110Z] ---> 0ae18c6f4e9d [2022-11-08T00:36:20.110Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T00:36:20.110Z] ---> Running in 466d3c3a6675 [2022-11-08T00:37:16.522Z] Removing intermediate container 466d3c3a6675 [2022-11-08T00:37:16.522Z] ---> cc8c49ab82cf [2022-11-08T00:37:16.522Z] Step 9/10 : COPY . . [2022-11-08T00:37:16.522Z] ---> 813da4b0be45 [2022-11-08T00:37:16.522Z] Step 10/10 : RUN ${MAKE} [2022-11-08T00:37:16.522Z] ---> Running in 9a53eb1544d2 [2022-11-08T00:37:16.522Z] noop [2022-11-08T00:37:16.791Z] Removing intermediate container 9a53eb1544d2 [2022-11-08T00:37:16.791Z] ---> cd55fb5b7e38 [2022-11-08T00:37:17.058Z] Successfully built cd55fb5b7e38 [2022-11-08T00:37:17.058Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:37:17.534Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T00:37:17.534Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T00:37:17.803Z] prd-ubuntu20.04-docker-arm64-4c-16g-118547 does not seem to be running inside a container [2022-11-08T00:37:17.869Z] $ 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 ******** ci-base-image-arm64 cat [2022-11-08T00:37:19.075Z] $ docker top f15760d222d661f2b384a2751083437c467a0c5def0892cc4fe1dd382c1aee0c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T00:37:19.972Z] + go version [2022-11-08T00:37:19.972Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T00:37:20.007Z] $ docker stop --time=1 f15760d222d661f2b384a2751083437c467a0c5def0892cc4fe1dd382c1aee0c [2022-11-08T00:37:21.643Z] $ docker rm -f f15760d222d661f2b384a2751083437c467a0c5def0892cc4fe1dd382c1aee0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:37:22.516Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T00:37:22.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T00:37:22.819Z] prd-ubuntu20.04-docker-arm64-4c-16g-118547 does not seem to be running inside a container [2022-11-08T00:37:22.910Z] $ 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 ******** ci-base-image-arm64 cat [2022-11-08T00:37:24.211Z] $ docker top 1508e1e02488f61ed9b8c59e8fc13c9c6363c05fd291b356f8dcc61b93540f71 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T00:37:25.141Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-08T00:37:25.849Z] + make test [2022-11-08T00:37:25.849Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-11-08T00:38:04.750Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-11-08T00:40:11.471Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-11-08T00:40:11.471Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-11-08T00:40:11.471Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-11-08T00:40:11.471Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] [2022-11-08T00:40:11.471Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-11-08T00:40:19.704Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.383s coverage: 27.6% of statements [2022-11-08T00:40:22.298Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.557s coverage: 78.9% of statements [2022-11-08T00:40:22.298Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] [2022-11-08T00:40:32.373Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.943s coverage: 73.1% of statements [2022-11-08T00:40:32.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-11-08T00:40:32.373Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-11-08T00:40:35.734Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.747s coverage: 54.4% of statements [2022-11-08T00:40:35.734Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-11-08T00:40:35.734Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] [2022-11-08T00:40:35.734Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-11-08T00:40:35.734Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-11-08T00:40:35.734Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.490s coverage: 65.1% of statements [2022-11-08T00:40:35.734Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] [2022-11-08T00:40:35.734Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] [2022-11-08T00:40:36.320Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.636s coverage: 89.2% of statements [2022-11-08T00:40:36.320Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-11-08T00:40:36.320Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.609s coverage: 4.7% of statements [2022-11-08T00:40:36.320Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-11-08T00:40:36.908Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T00:40:36.908Z] GO111MODULE=on go vet ./... [2022-11-08T00:42:13.570Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T00:42:13.570Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T00:42:13.570Z] ./bin/test-attribution-txt.sh [2022-11-08T00:42:13.570Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [2022-11-08T00:42:13.570Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-11-08T00:42:13.570Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-11-08T00:42:13.570Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-11-08T00:42:13.606Z] [edgeX.isLTS] Checking if [levski-openapi-version-changes] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T00:42:13.638Z] $ docker stop --time=1 1508e1e02488f61ed9b8c59e8fc13c9c6363c05fd291b356f8dcc61b93540f71 [2022-11-08T00:42:15.416Z] $ docker rm -f 1508e1e02488f61ed9b8c59e8fc13c9c6363c05fd291b356f8dcc61b93540f71 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T00:42:16.855Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T00:42:16.889Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T00:42:17.408Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T00:42:18.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T00:42:18.356Z] + ls -al . [2022-11-08T00:42:18.356Z] total 276 [2022-11-08T00:42:18.356Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 00:37 . [2022-11-08T00:42:18.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 00:35 .. [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 00:35 .dockerignore [2022-11-08T00:42:18.356Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 00:35 .git [2022-11-08T00:42:18.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 00:35 .github [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 8 00:35 .gitignore [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 00:35 .golangci.yml [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 31677 Nov 8 00:35 CHANGELOG.md [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 00:35 GOVERNANCE.md [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 8 00:35 Jenkinsfile [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 00:35 LICENSE [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 2003 Nov 8 00:35 Makefile [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 00:35 OWNERS.md [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 8 00:35 README.md [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 00:32 VERSION [2022-11-08T00:42:18.356Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 00:35 bin [2022-11-08T00:42:18.356Z] -rw-r--r-- 1 jenkins jenkins 101759 Nov 8 00:40 coverage.out [2022-11-08T00:42:18.356Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 00:35 example [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 3347 Nov 8 00:35 go.mod [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 44423 Nov 8 00:35 go.sum [2022-11-08T00:42:18.356Z] drwxrwxr-x 14 jenkins jenkins 4096 Nov 8 00:35 internal [2022-11-08T00:42:18.356Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 00:35 openapi [2022-11-08T00:42:18.356Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 00:35 pkg [2022-11-08T00:42:18.356Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 00:35 snap [2022-11-08T00:42:18.356Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 00:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:42:18.780Z] + 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=a81fe95d70c4864c7c3b07bc307e4797ff811bbc --label arch=arm64 --label version=0.0.0 . [2022-11-08T00:42:19.053Z] Sending build context to Docker daemon 5.549MB [2022-11-08T00:42:19.053Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T00:42:19.053Z] Step 2/23 : FROM ${BASE} AS builder [2022-11-08T00:42:19.053Z] ---> cd55fb5b7e38 [2022-11-08T00:42:19.053Z] Step 3/23 : ARG MAKE=make build [2022-11-08T00:42:19.322Z] ---> Running in 27b248120f5a [2022-11-08T00:42:19.593Z] Removing intermediate container 27b248120f5a [2022-11-08T00:42:19.593Z] ---> 00a318a1bd30 [2022-11-08T00:42:19.593Z] Step 4/23 : WORKDIR /device-sdk-go [2022-11-08T00:42:19.593Z] ---> Running in 804be2639a18 [2022-11-08T00:42:19.860Z] Removing intermediate container 804be2639a18 [2022-11-08T00:42:19.860Z] ---> 4f2d104b7062 [2022-11-08T00:42:19.860Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-08T00:42:20.128Z] ---> Running in 70982d5a9fe5 [2022-11-08T00:42:20.395Z] Removing intermediate container 70982d5a9fe5 [2022-11-08T00:42:20.395Z] ---> b0bfdfedae3b [2022-11-08T00:42:20.395Z] Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-11-08T00:42:20.395Z] ---> Running in 1fd775745da1 [2022-11-08T00:42:21.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T00:42:21.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T00:42:23.035Z] OK: 221 MiB in 51 packages [2022-11-08T00:42:24.976Z] Removing intermediate container 1fd775745da1 [2022-11-08T00:42:24.976Z] ---> 868e9371cbea [2022-11-08T00:42:24.976Z] Step 7/23 : COPY go.mod vendor* ./ [2022-11-08T00:42:25.242Z] ---> 9c841d4e8535 [2022-11-08T00:42:25.242Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T00:42:25.512Z] ---> Running in bb9468c4a763 [2022-11-08T00:42:27.462Z] Removing intermediate container bb9468c4a763 [2022-11-08T00:42:27.462Z] ---> 2cf1a34e7664 [2022-11-08T00:42:27.462Z] Step 9/23 : COPY . . [2022-11-08T00:42:28.426Z] ---> 330e3b08e65f [2022-11-08T00:42:28.426Z] Step 10/23 : RUN ${MAKE} [2022-11-08T00:42:28.426Z] ---> Running in eb67a9e1d5ff [2022-11-08T00:42:29.396Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-11-08T00:44:51.088Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-11-08T00:44:51.088Z] Removing intermediate container eb67a9e1d5ff [2022-11-08T00:44:51.088Z] ---> b6087e97c8b9 [2022-11-08T00:44:51.088Z] Step 11/23 : FROM alpine:3.16 [2022-11-08T00:44:51.088Z] 3.16: Pulling from library/alpine [2022-11-08T00:44:51.088Z] 9b18e9b68314: Already exists [2022-11-08T00:44:51.088Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T00:44:51.088Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T00:44:51.088Z] ---> a6215f271958 [2022-11-08T00:44:51.088Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-08T00:44:51.088Z] ---> Running in c8f7a61d361c [2022-11-08T00:44:51.088Z] Removing intermediate container c8f7a61d361c [2022-11-08T00:44:51.088Z] ---> ec37ccef9ca0 [2022-11-08T00:44:51.088Z] Step 13/23 : RUN apk add --update --no-cache zeromq [2022-11-08T00:44:51.088Z] ---> Running in ccc0fc17daef [2022-11-08T00:44:51.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T00:44:51.088Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T00:44:51.088Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T00:44:51.088Z] (2/5) Installing libsodium (1.0.18-r0) [2022-11-08T00:44:51.088Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T00:44:51.088Z] (4/5) Installing libzmq (4.3.4-r0) [2022-11-08T00:44:51.088Z] (5/5) Installing zeromq (4.3.4-r0) [2022-11-08T00:44:51.088Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T00:44:51.088Z] OK: 8 MiB in 19 packages [2022-11-08T00:44:51.088Z] Removing intermediate container ccc0fc17daef [2022-11-08T00:44:51.088Z] ---> 012d36ff127c [2022-11-08T00:44:51.088Z] Step 14/23 : WORKDIR / [2022-11-08T00:44:51.088Z] ---> Running in 0d9bdc775b15 [2022-11-08T00:44:51.088Z] Removing intermediate container 0d9bdc775b15 [2022-11-08T00:44:51.088Z] ---> a46d317d635a [2022-11-08T00:44:51.088Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-11-08T00:44:51.088Z] ---> 223c0e3c6757 [2022-11-08T00:44:51.088Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-11-08T00:44:51.088Z] ---> 46b7bc549590 [2022-11-08T00:44:51.088Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-11-08T00:44:51.672Z] ---> 3b0159b840e2 [2022-11-08T00:44:51.672Z] Step 18/23 : EXPOSE 59999 [2022-11-08T00:44:51.672Z] ---> Running in bb27a755e689 [2022-11-08T00:44:51.939Z] Removing intermediate container bb27a755e689 [2022-11-08T00:44:51.939Z] ---> 820d3ae1dec4 [2022-11-08T00:44:51.939Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2022-11-08T00:44:51.939Z] ---> Running in 902966910e39 [2022-11-08T00:44:52.209Z] Removing intermediate container 902966910e39 [2022-11-08T00:44:52.209Z] ---> ae0b2b18747f [2022-11-08T00:44:52.209Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T00:44:52.480Z] ---> Running in 3c21c7de1628 [2022-11-08T00:44:52.748Z] Removing intermediate container 3c21c7de1628 [2022-11-08T00:44:52.748Z] ---> 239a8dc8e911 [2022-11-08T00:44:52.748Z] Step 21/23 : LABEL arch=arm64 [2022-11-08T00:44:52.748Z] ---> Running in 07f45420822a [2022-11-08T00:44:53.016Z] Removing intermediate container 07f45420822a [2022-11-08T00:44:53.016Z] ---> 5a540689b75a [2022-11-08T00:44:53.016Z] Step 22/23 : LABEL git_sha=a81fe95d70c4864c7c3b07bc307e4797ff811bbc [2022-11-08T00:44:53.016Z] ---> Running in db935da3cdd0 [2022-11-08T00:44:53.284Z] Removing intermediate container db935da3cdd0 [2022-11-08T00:44:53.284Z] ---> 66cf6747f154 [2022-11-08T00:44:53.284Z] Step 23/23 : LABEL version=0.0.0 [2022-11-08T00:44:53.551Z] ---> Running in 474c4f1eef19 [2022-11-08T00:44:53.817Z] Removing intermediate container 474c4f1eef19 [2022-11-08T00:44:53.817Z] ---> e90c25de04f9 [2022-11-08T00:44:53.817Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T00:44:53.817Z] Successfully built e90c25de04f9 [2022-11-08T00:44:53.817Z] 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 [2022-11-08T00:44:54.761Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T00:44:54.761Z] [2022-11-08T00:44:54.761Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:44:55.238Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T00:44:55.238Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T00:44:55.238Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T00:44:55.238Z] 04944245beec: Pulling fs layer [2022-11-08T00:44:55.238Z] 699f458cf7ca: Pulling fs layer [2022-11-08T00:44:55.238Z] 765212b225bb: Pulling fs layer [2022-11-08T00:44:55.238Z] f23df028b6ca: Pulling fs layer [2022-11-08T00:44:55.238Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T00:44:55.238Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T00:44:55.238Z] f23df028b6ca: Waiting [2022-11-08T00:44:55.238Z] d65c8cfc05b1: Waiting [2022-11-08T00:44:55.238Z] 2437ff75d9bd: Waiting [2022-11-08T00:44:55.238Z] 765212b225bb: Waiting [2022-11-08T00:44:55.509Z] 04944245beec: Verifying Checksum [2022-11-08T00:44:55.509Z] 04944245beec: Download complete [2022-11-08T00:44:55.509Z] 765212b225bb: Verifying Checksum [2022-11-08T00:44:55.509Z] 765212b225bb: Download complete [2022-11-08T00:44:55.509Z] f23df028b6ca: Verifying Checksum [2022-11-08T00:44:55.509Z] f23df028b6ca: Download complete [2022-11-08T00:44:55.509Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T00:44:55.509Z] d65c8cfc05b1: Download complete [2022-11-08T00:44:55.806Z] 699f458cf7ca: Verifying Checksum [2022-11-08T00:44:55.806Z] 699f458cf7ca: Download complete [2022-11-08T00:44:56.094Z] 8998bd30e6a1: Verifying Checksum [2022-11-08T00:44:56.094Z] 8998bd30e6a1: Download complete [2022-11-08T00:44:58.710Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T00:44:58.710Z] 2437ff75d9bd: Download complete [2022-11-08T00:45:00.127Z] 8998bd30e6a1: Pull complete [2022-11-08T00:45:00.397Z] 04944245beec: Pull complete [2022-11-08T00:45:01.806Z] 699f458cf7ca: Pull complete [2022-11-08T00:45:02.074Z] 765212b225bb: Pull complete [2022-11-08T00:45:02.660Z] f23df028b6ca: Pull complete [2022-11-08T00:45:02.928Z] d65c8cfc05b1: Pull complete [2022-11-08T00:45:17.909Z] 2437ff75d9bd: Pull complete [2022-11-08T00:45:17.909Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T00:45:17.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T00:45:17.909Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T00:45:18.211Z] prd-ubuntu20.04-docker-arm64-4c-16g-118547 does not seem to be running inside a container [2022-11-08T00:45:18.267Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-08T00:45:20.660Z] $ docker top 39ca27e32230cc223d6e07c23fc05359f67bfdd4fb031243368cbe311d863213 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:45:21.201Z] ---> job-cost.sh [2022-11-08T00:45:21.467Z] lf-activate-venv: SKIPPING [2022-11-08T00:45:21.467Z] INFO: No Stack... [2022-11-08T00:45:21.731Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T00:45:22.684Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T00:45:23.019Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-11-08T00:45:23.019Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T00:45:23.091Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-openapi-version-changes-1-stack-cost] [2022-11-08T00:45:23.097Z] Resource [jenkins-edgexfoundry-device-sdk-go-levski-openapi-version-changes-1-stack-cost] did not exist. Created. [2022-11-08T00:45:23.097Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-openapi-version-changes-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T00:45:23.497Z] /w/workspace/device-sdk-go/1@tmp/durable-1f1e8a70/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T00:45:23.838Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T00:45:23.873Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T00:45:23.928Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T00:45:23.944Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-openapi-version-changes-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T00:45:24.031Z] $ docker stop --time=1 39ca27e32230cc223d6e07c23fc05359f67bfdd4fb031243368cbe311d863213 [2022-11-08T00:45:25.471Z] $ docker rm -f 39ca27e32230cc223d6e07c23fc05359f67bfdd4fb031243368cbe311d863213 [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 [2022-11-08T00:45:26.416Z] provisioning config files... [2022-11-08T00:45:26.423Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/o_levski-openapi-version-changes@tmp/config18055681448680597022tmp [Pipeline] { [Pipeline] sh [2022-11-08T00:45:26.755Z] + set +x [2022-11-08T00:45:26.755Z] + curl -s https://codecov.io/bash [2022-11-08T00:45:26.755Z] + bash -s -- [2022-11-08T00:45:26.755Z] [2022-11-08T00:45:26.755Z] _____ _ [2022-11-08T00:45:26.755Z] / ____| | | [2022-11-08T00:45:26.755Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T00:45:26.755Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T00:45:26.755Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T00:45:26.755Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T00:45:26.755Z] Bash-1.0.6 [2022-11-08T00:45:26.755Z] [2022-11-08T00:45:26.755Z] [2022-11-08T00:45:26.755Z] ==> git version 2.25.1 found [2022-11-08T00:45:26.755Z] ==> 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 [2022-11-08T00:45:26.755Z] Release-Date: 2020-01-08 [2022-11-08T00:45:26.755Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-08T00:45:26.755Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T00:45:26.755Z] ==> Jenkins CI detected. [2022-11-08T00:45:26.755Z] current dir:  /w/workspace/o_levski-openapi-version-changes [2022-11-08T00:45:26.755Z] project root: . [2022-11-08T00:45:26.755Z] --> token set from env [2022-11-08T00:45:26.755Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T00:45:26.755Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T00:45:26.755Z] ==> Python coveragepy not found [2022-11-08T00:45:26.755Z] ==> Searching for coverage reports in: [2022-11-08T00:45:26.755Z] + . [2022-11-08T00:45:26.755Z] -> Found 1 reports [2022-11-08T00:45:26.755Z] ==> Detecting git/mercurial file structure [2022-11-08T00:45:26.755Z] ==> Reading reports [2022-11-08T00:45:26.755Z] + ./coverage.out bytes=101759 [2022-11-08T00:45:26.755Z] ==> Appending adjustments [2022-11-08T00:45:26.755Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T00:45:27.014Z] + Found adjustments [2022-11-08T00:45:27.272Z] ==> Gzipping contents [2022-11-08T00:45:27.272Z] 16K /tmp/codecov.1kEfPO.gz [2022-11-08T00:45:27.272Z] ==> Uploading reports [2022-11-08T00:45:27.272Z] url: https://codecov.io [2022-11-08T00:45:27.272Z] query: branch=levski-openapi-version-changes&commit=a81fe95d70c4864c7c3b07bc307e4797ff811bbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski-openapi-version-changes%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-08T00:45:27.272Z] -> Pinging Codecov [2022-11-08T00:45:27.272Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=levski-openapi-version-changes&commit=a81fe95d70c4864c7c3b07bc307e4797ff811bbc&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski-openapi-version-changes%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-08T00:45:27.532Z] -> Uploading to [2022-11-08T00:45:27.532Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/7E55EF52A471D76F132DFD9A03CDDE97/a81fe95d70c4864c7c3b07bc307e4797ff811bbc/2515de9d-609f-43c2-8f54-a059d1645f1b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T004527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d4cf8f8bc1b9168f867ad36adfc2d084e17632b397bf341c74f9ae5645696bc5 [2022-11-08T00:45:27.532Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T00:45:27.532Z] Dload Upload Total Spent Left Speed [2022-11-08T00:45:27.791Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14704 0 0 100 14704 0 72433 --:--:-- --:--:-- --:--:-- 72078 100 14704 0 0 100 14704 0 51233 --:--:-- --:--:-- --:--:-- 51055 [2022-11-08T00:45:27.792Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a81fe95d70c4864c7c3b07bc307e4797ff811bbc [Pipeline] } [2022-11-08T00:45:27.824Z] 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 [2022-11-08T00:45:29.535Z] + [ -d /w/workspace/o_levski-openapi-version-changes/archives ] [2022-11-08T00:45:29.535Z] + ls -al /w/workspace/o_levski-openapi-version-changes/archives [2022-11-08T00:45:29.535Z] total 16 [2022-11-08T00:45:29.535Z] drwxr-xr-x 3 root root 4096 Nov 8 00:34 . [2022-11-08T00:45:29.535Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 00:34 .. [2022-11-08T00:45:29.535Z] drwxr-xr-x 2 root root 4096 Nov 8 00:34 cost [2022-11-08T00:45:29.535Z] -rw-r--r-- 1 root root 109 Nov 8 00:34 cost.csv [2022-11-08T00:45:29.535Z] + sudo chown -R jenkins:jenkins /w/workspace/o_levski-openapi-version-changes/archives [2022-11-08T00:45:29.535Z] + ls -al /w/workspace/o_levski-openapi-version-changes/archives [2022-11-08T00:45:29.535Z] total 16 [2022-11-08T00:45:29.535Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 00:34 . [2022-11-08T00:45:29.535Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 00:34 .. [2022-11-08T00:45:29.535Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 00:34 cost [2022-11-08T00:45:29.535Z] -rw-r--r-- 1 jenkins jenkins 109 Nov 8 00:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:45:29.867Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:45:30.759Z] ---> package-listing.sh [2022-11-08T00:45:30.759Z] ++ facter osfamily [2022-11-08T00:45:30.759Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T00:45:31.017Z] + OS_FAMILY=debian [2022-11-08T00:45:31.017Z] + workspace=/w/workspace/o_levski-openapi-version-changes [2022-11-08T00:45:31.017Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T00:45:31.017Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T00:45:31.017Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T00:45:31.017Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T00:45:31.017Z] + '[' /w/workspace/o_levski-openapi-version-changes ']' [2022-11-08T00:45:31.017Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T00:45:31.017Z] + case "${OS_FAMILY}" in [2022-11-08T00:45:31.017Z] + dpkg -l [2022-11-08T00:45:31.017Z] + grep '^ii' [2022-11-08T00:45:31.017Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T00:45:31.017Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T00:45:31.017Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T00:45:31.017Z] + '[' /w/workspace/o_levski-openapi-version-changes ']' [2022-11-08T00:45:31.017Z] + mkdir -p /w/workspace/o_levski-openapi-version-changes/archives/ [2022-11-08T00:45:31.017Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/o_levski-openapi-version-changes/archives/ [Pipeline] echo [2022-11-08T00:45:31.049Z] 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/o_levski-openapi-version-changes/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T00:45:31.342Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T00:45:31.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T00:45:31.964Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T00:45:32.111Z] prd-ubuntu20.04-docker-8c-8g-118544 does not seem to be running inside a container [2022-11-08T00:45:32.148Z] $ 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/o_levski-openapi-version-changes/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/o_levski-openapi-version-changes -v /w/workspace/o_levski-openapi-version-changes:/w/workspace/o_levski-openapi-version-changes:rw,z -v /w/workspace/o_levski-openapi-version-changes@tmp:/w/workspace/o_levski-openapi-version-changes@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T00:45:32.375Z] $ docker top c55012214b6e620513fac7852b9a6286c6c7fc77ebf01f4e6815cfc89a7e4cc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T00:45:32.766Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T00:45:33.083Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T00:45:33.390Z] + ls /var/log/sa-host [2022-11-08T00:45:33.390Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T00:45:33.616Z] provisioning config files... [2022-11-08T00:45:33.626Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/o_levski-openapi-version-changes@tmp/config16026880384643802029tmp [Pipeline] { [Pipeline] echo [2022-11-08T00:45:33.674Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:45:33.987Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T00:45:34.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:45:34.420Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T00:45:34.463Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:45:34.788Z] ---> sudo-logs.sh [2022-11-08T00:45:34.788Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T00:45:34.924Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:45:35.235Z] ---> job-cost.sh [2022-11-08T00:45:35.236Z] lf-activate-venv: SKIPPING [2022-11-08T00:45:35.236Z] DEBUG: total: 0.2199999988079071 [2022-11-08T00:45:35.236Z] INFO: Retrieving Stack Cost... [2022-11-08T00:45:35.495Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T00:45:36.064Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T00:45:36.100Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T00:45:36.409Z] ---> logs-deploy.sh [2022-11-08T00:45:36.409Z] lf-activate-venv: SKIPPING [2022-11-08T00:45:36.409Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/levski-openapi-version-changes/1 [2022-11-08T00:45:36.409Z] INFO: archiving workspace using pattern(s): [2022-11-08T00:45:37.343Z] Archives upload complete. [2022-11-08T00:45:37.343Z] INFO: archiving logs to Nexus