Pull request #304 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch levski at 4d60271c1a122ad73ad4ab446ee385de813631e9 rather than ec48d607c070a8acc44daa594edc59cbb38205db Obtained Jenkinsfile from 4d60271c1a122ad73ad4ab446ee385de813631e9 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-ssh16987419409122316248.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh13414400064575028992.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-onvif-camera/branches/PR-304/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-onvif-camera/branches/PR-304/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14912162510053962720.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-304/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15496339554789398981.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh11221933878464520147.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-304/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-onvif-camera/branches/PR-304/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6914173222135172616.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-onvif-camera, goVersion:1.18, publishSwaggerDocs:true, swaggerApiFolders:[doc/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-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/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 ‘prd-ubuntu20.04-docker-8c-8g-7602’ Running on prd-ubuntu20.04-docker-8c-8g-7604 in /w/workspace/undry_device-onvif-camera_PR-304 [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-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-304 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/304/head:refs/remotes/origin/PR-304 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 Merging remotes/origin/levski commit 4d60271c1a122ad73ad4ab446ee385de813631e9 into PR head commit ec48d607c070a8acc44daa594edc59cbb38205db Merge succeeded, producing ec48d607c070a8acc44daa594edc59cbb38205db Checking out Revision ec48d607c070a8acc44daa594edc59cbb38205db (PR-304) > git config core.sparsecheckout # timeout=10 > git checkout -f ec48d607c070a8acc44daa594edc59cbb38205db # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4d60271c1a122ad73ad4ab446ee385de813631e9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec48d607c070a8acc44daa594edc59cbb38205db # timeout=10 Commit message: "docs: remove extra docs" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-12T22:21:58.216Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-12T22:21:58.403Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-12T22:21:58.511Z] ========================================================= [2023-04-12T22:21:58.511Z] EdgeX Global Pipelines Version Info [2023-04-12T22:21:58.511Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:21:59.255Z] ------------------- [2023-04-12T22:21:59.255Z] stable info: [2023-04-12T22:21:59.255Z] ------------------- [2023-04-12T22:21:59.255Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-12T22:21:59.255Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-12T22:21:59.255Z] Message: update stable to v1.0.248 [2023-04-12T22:22:00.195Z] ------------------- [2023-04-12T22:22:00.195Z] experimental info: [2023-04-12T22:22:00.195Z] ------------------- [2023-04-12T22:22:00.195Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-12T22:22:00.195Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-12T22:22:00.195Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-12T22:22:00.497Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-04-12T22:22:00.533Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-04-12T22:22:00.576Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-12T22:22:00.625Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-12T22:22:00.670Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-12T22:22:00.712Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-04-12T22:22:00.754Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-12T22:22:00.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-12T22:22:00.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-12T22:22:00.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-12T22:22:00.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-12T22:22:00.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-04-12T22:22:01.013Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-12T22:22:01.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-12T22:22:01.096Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-12T22:22:01.136Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-12T22:22:01.181Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T22:22:01.218Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T22:22:01.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-12T22:22:01.311Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-12T22:22:01.354Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-12T22:22:01.397Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-04-12T22:22:01.440Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-12T22:22:01.483Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-12T22:22:01.523Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-12T22:22:01.559Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-12T22:22:01.595Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-12T22:22:01.636Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-304 [Pipeline] echo [2023-04-12T22:22:01.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-304 [Pipeline] echo [2023-04-12T22:22:01.714Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-304 [Pipeline] echo [2023-04-12T22:22:01.761Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec48d607c070a8acc44daa594edc59cbb38205db [Pipeline] echo [2023-04-12T22:22:01.801Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec48d60 [Pipeline] echo [2023-04-12T22:22:01.838Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T22:22:01.943Z] provisioning config files... [2023-04-12T22:22:01.957Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config15676690371973532807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:22:02.301Z] ---> docker-login.sh [2023-04-12T22:22:02.301Z] nexus3.edgexfoundry.org:10001 [2023-04-12T22:22:02.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:22:02.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:22:02.561Z] Configure a credential helper to remove this warning. See [2023-04-12T22:22:02.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:22:02.561Z] [2023-04-12T22:22:02.561Z] Login Succeeded [2023-04-12T22:22:02.561Z] nexus3.edgexfoundry.org:10002 [2023-04-12T22:22:02.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:22:02.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:22:02.820Z] Configure a credential helper to remove this warning. See [2023-04-12T22:22:02.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:22:02.820Z] [2023-04-12T22:22:02.820Z] Login Succeeded [2023-04-12T22:22:02.820Z] nexus3.edgexfoundry.org:10003 [2023-04-12T22:22:02.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:22:02.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:22:02.820Z] Configure a credential helper to remove this warning. See [2023-04-12T22:22:02.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:22:02.820Z] [2023-04-12T22:22:02.820Z] Login Succeeded [2023-04-12T22:22:02.820Z] nexus3.edgexfoundry.org:10004 [2023-04-12T22:22:02.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:22:03.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:22:03.080Z] Configure a credential helper to remove this warning. See [2023-04-12T22:22:03.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:22:03.080Z] [2023-04-12T22:22:03.080Z] Login Succeeded [2023-04-12T22:22:03.080Z] docker.io [2023-04-12T22:22:03.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:22:03.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:22:03.339Z] Configure a credential helper to remove this warning. See [2023-04-12T22:22:03.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:22:03.339Z] [2023-04-12T22:22:03.339Z] Login Succeeded [2023-04-12T22:22:03.339Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T22:22:03.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-12T22:22:04.064Z] + git rev-list -1 --merges ec48d607c070a8acc44daa594edc59cbb38205db~1..ec48d607c070a8acc44daa594edc59cbb38205db [Pipeline] echo [2023-04-12T22:22:04.169Z] -----------> git rev-list -1 --merges ec48d607c070a8acc44daa594edc59cbb38205db~1..ec48d607c070a8acc44daa594edc59cbb38205db ec48d607c070a8acc44daa594edc59cbb38205db [false] [Pipeline] sh [2023-04-12T22:22:04.479Z] + git log --format=format:%s -1 ec48d607c070a8acc44daa594edc59cbb38205db [Pipeline] echo [2023-04-12T22:22:04.514Z] ========================================================= [2023-04-12T22:22:04.514Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-12T22:22:04.514Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T22:22:04.943Z] + git log --format=format:%s -1 ec48d607c070a8acc44daa594edc59cbb38205db [Pipeline] echo [2023-04-12T22:22:04.976Z] [semverPrep] GIT_COMMIT: ec48d607c070a8acc44daa594edc59cbb38205db, Commit Message: docs: remove extra docs [Pipeline] echo [2023-04-12T22:22:05.008Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-12T22:22:05.406Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-12T22:22:05.406Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-12T22:22:05.406Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-12T22:22:05.406Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-12T22:22:05.406Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-12T22:22:05.406Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-12T22:22:05.406Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:22:05.906Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T22:22:05.906Z] [2023-04-12T22:22:05.906Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:22:06.286Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T22:22:06.286Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-12T22:22:06.286Z] b85a868b505f: Pulling fs layer [2023-04-12T22:22:06.286Z] e2be974225ed: Pulling fs layer [2023-04-12T22:22:06.286Z] 339a4e72a1f5: Pulling fs layer [2023-04-12T22:22:06.286Z] 988bab9f4d93: Pulling fs layer [2023-04-12T22:22:06.286Z] 1469e6f7b9e6: Pulling fs layer [2023-04-12T22:22:06.286Z] eaf3925da568: Pulling fs layer [2023-04-12T22:22:06.286Z] 988bab9f4d93: Waiting [2023-04-12T22:22:06.286Z] 1469e6f7b9e6: Waiting [2023-04-12T22:22:06.286Z] bab4dde63d76: Pulling fs layer [2023-04-12T22:22:06.286Z] eaf3925da568: Waiting [2023-04-12T22:22:06.286Z] bde34c3a00c8: Pulling fs layer [2023-04-12T22:22:06.286Z] bab4dde63d76: Waiting [2023-04-12T22:22:06.286Z] b352a97aabf1: Pulling fs layer [2023-04-12T22:22:06.286Z] 4872d77fe225: Pulling fs layer [2023-04-12T22:22:06.286Z] b352a97aabf1: Waiting [2023-04-12T22:22:06.286Z] 5851b861e8e6: Pulling fs layer [2023-04-12T22:22:06.286Z] 4872d77fe225: Waiting [2023-04-12T22:22:06.286Z] 5851b861e8e6: Waiting [2023-04-12T22:22:06.286Z] e2be974225ed: Download complete [2023-04-12T22:22:06.286Z] 988bab9f4d93: Verifying Checksum [2023-04-12T22:22:06.286Z] 988bab9f4d93: Download complete [2023-04-12T22:22:06.546Z] 1469e6f7b9e6: Verifying Checksum [2023-04-12T22:22:06.546Z] 1469e6f7b9e6: Download complete [2023-04-12T22:22:06.546Z] eaf3925da568: Download complete [2023-04-12T22:22:06.546Z] 339a4e72a1f5: Verifying Checksum [2023-04-12T22:22:06.546Z] 339a4e72a1f5: Download complete [2023-04-12T22:22:06.546Z] bde34c3a00c8: Verifying Checksum [2023-04-12T22:22:06.546Z] bde34c3a00c8: Download complete [2023-04-12T22:22:06.546Z] b352a97aabf1: Verifying Checksum [2023-04-12T22:22:06.546Z] b352a97aabf1: Download complete [2023-04-12T22:22:06.546Z] 4872d77fe225: Verifying Checksum [2023-04-12T22:22:06.546Z] 4872d77fe225: Download complete [2023-04-12T22:22:06.546Z] 5851b861e8e6: Verifying Checksum [2023-04-12T22:22:06.546Z] 5851b861e8e6: Download complete [2023-04-12T22:22:06.806Z] b85a868b505f: Verifying Checksum [2023-04-12T22:22:06.806Z] b85a868b505f: Download complete [2023-04-12T22:22:07.066Z] bab4dde63d76: Verifying Checksum [2023-04-12T22:22:07.066Z] bab4dde63d76: Download complete [2023-04-12T22:22:08.003Z] b85a868b505f: Pull complete [2023-04-12T22:22:08.003Z] e2be974225ed: Pull complete [2023-04-12T22:22:08.574Z] 339a4e72a1f5: Pull complete [2023-04-12T22:22:08.574Z] 988bab9f4d93: Pull complete [2023-04-12T22:22:09.148Z] 1469e6f7b9e6: Pull complete [2023-04-12T22:22:09.148Z] eaf3925da568: Pull complete [2023-04-12T22:22:11.064Z] bab4dde63d76: Pull complete [2023-04-12T22:22:11.064Z] bde34c3a00c8: Pull complete [2023-04-12T22:22:11.064Z] b352a97aabf1: Pull complete [2023-04-12T22:22:11.064Z] 4872d77fe225: Pull complete [2023-04-12T22:22:11.324Z] 5851b861e8e6: Pull complete [2023-04-12T22:22:11.324Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-12T22:22:11.324Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T22:22:11.324Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T22:22:11.560Z] prd-ubuntu20.04-docker-8c-8g-7604 does not seem to be running inside a container [2023-04-12T22:22:11.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-12T22:22:14.984Z] $ docker top 28805ab6f0b3ed5c357b389fab464c1061b42d52dce8161e8db7942729a3a3fb -eo pid,comm [2023-04-12T22:22:15.038Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-12T22:22:15.038Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-12T22:22:15.156Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T22:22:15.156Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T22:22:15.273Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T22:22:15.280Z] $ docker exec 28805ab6f0b3ed5c357b389fab464c1061b42d52dce8161e8db7942729a3a3fb ssh-agent [2023-04-12T22:22:15.391Z] SSH_AUTH_SOCK=/tmp/ssh-ikJAXDFFT2k0/agent.32 [2023-04-12T22:22:15.391Z] SSH_AGENT_PID=38 [2023-04-12T22:22:15.399Z] Running ssh-add (command line suppressed) [2023-04-12T22:22:15.514Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_7576687204181193681.key (/w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_7576687204181193681.key) [2023-04-12T22:22:15.524Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T22:22:15.855Z] + git tag --points-at HEAD [Pipeline] } [2023-04-12T22:22:15.884Z] $ docker exec --env ******** --env ******** 28805ab6f0b3ed5c357b389fab464c1061b42d52dce8161e8db7942729a3a3fb ssh-agent -k [2023-04-12T22:22:15.980Z] unset SSH_AUTH_SOCK; [2023-04-12T22:22:15.980Z] unset SSH_AGENT_PID; [2023-04-12T22:22:15.981Z] echo Agent pid 38 killed; [2023-04-12T22:22:15.985Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-12T22:22:16.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T22:22:16.068Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T22:22:16.185Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T22:22:16.192Z] $ docker exec 28805ab6f0b3ed5c357b389fab464c1061b42d52dce8161e8db7942729a3a3fb ssh-agent [2023-04-12T22:22:16.298Z] SSH_AUTH_SOCK=/tmp/ssh-vwc2di7pKNOK/agent.71 [2023-04-12T22:22:16.298Z] SSH_AGENT_PID=77 [2023-04-12T22:22:16.303Z] Running ssh-add (command line suppressed) [2023-04-12T22:22:16.416Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_9432097611561048160.key (/w/workspace/undry_device-onvif-camera_PR-304@tmp/private_key_9432097611561048160.key) [2023-04-12T22:22:16.426Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T22:22:16.752Z] + git semver init [2023-04-12T22:22:17.012Z] 2023-04-12 22:22:16,929 [run_init] DEBUG init version:0.0.0 force:False [2023-04-12T22:22:17.012Z] 2023-04-12 22:22:16,930 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-304/.semver [2023-04-12T22:22:17.012Z] 2023-04-12 22:22:16,930 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-304/.semver [2023-04-12T22:22:17.012Z] 2023-04-12 22:22:16,930 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-304/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-304, universal_newlines=False, shell=None, istream=None) [2023-04-12T22:22:17.959Z] 2023-04-12 22:22:17,856 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-304/.git/info/exclude [2023-04-12T22:22:17.959Z] 2023-04-12 22:22:17,857 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-304/.semver/PR-304 with force:False [2023-04-12T22:22:17.959Z] 2023-04-12 22:22:17,857 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-304/.semver/PR-304 [2023-04-12T22:22:17.959Z] 2023-04-12 22:22:17,862 [execute] INFO git cat-file --batch-check [2023-04-12T22:22:17.959Z] 2023-04-12 22:22:17,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-304/.semver, universal_newlines=False, shell=None, istream=) [2023-04-12T22:22:17.959Z] 2023-04-12 22:22:17,868 [execute] INFO git cat-file --batch [2023-04-12T22:22:17.959Z] 2023-04-12 22:22:17,868 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-304/.semver, universal_newlines=False, shell=None, istream=) [2023-04-12T22:22:17.959Z] 2023-04-12 22:22:17,873 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-304/.semver/PR-304 [2023-04-12T22:22:17.959Z] 0.0.0 [Pipeline] } [2023-04-12T22:22:18.002Z] $ docker exec --env ******** --env ******** 28805ab6f0b3ed5c357b389fab464c1061b42d52dce8161e8db7942729a3a3fb ssh-agent -k [2023-04-12T22:22:18.093Z] unset SSH_AUTH_SOCK; [2023-04-12T22:22:18.093Z] unset SSH_AGENT_PID; [2023-04-12T22:22:18.094Z] echo Agent pid 77 killed; [2023-04-12T22:22:18.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-12T22:22:18.517Z] + git semver [Pipeline] } [2023-04-12T22:22:18.807Z] $ docker stop --time=1 28805ab6f0b3ed5c357b389fab464c1061b42d52dce8161e8db7942729a3a3fb [2023-04-12T22:22:20.070Z] $ docker rm -f --volumes 28805ab6f0b3ed5c357b389fab464c1061b42d52dce8161e8db7942729a3a3fb [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T22:22:20.469Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-12T22:22:20.732Z] Stashed 1 file(s) [Pipeline] echo [2023-04-12T22:22:20.758Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T22:22:21.396Z] provisioning config files... [2023-04-12T22:22:21.405Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config906398276371522379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:22:21.740Z] ---> docker-login.sh [2023-04-12T22:22:21.740Z] nexus3.edgexfoundry.org:10001 [2023-04-12T22:22:21.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:22:21.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:22:21.740Z] Configure a credential helper to remove this warning. See [2023-04-12T22:22:21.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:22:21.740Z] [2023-04-12T22:22:21.740Z] Login Succeeded [2023-04-12T22:22:21.740Z] nexus3.edgexfoundry.org:10002 [2023-04-12T22:22:21.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:22:21.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:22:21.999Z] Configure a credential helper to remove this warning. See [2023-04-12T22:22:21.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:22:21.999Z] [2023-04-12T22:22:21.999Z] Login Succeeded [2023-04-12T22:22:21.999Z] nexus3.edgexfoundry.org:10003 [2023-04-12T22:22:21.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:22:21.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:22:21.999Z] Configure a credential helper to remove this warning. See [2023-04-12T22:22:21.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:22:21.999Z] [2023-04-12T22:22:21.999Z] Login Succeeded [2023-04-12T22:22:21.999Z] nexus3.edgexfoundry.org:10004 [2023-04-12T22:22:21.999Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:22:21.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:22:21.999Z] Configure a credential helper to remove this warning. See [2023-04-12T22:22:21.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:22:21.999Z] [2023-04-12T22:22:21.999Z] Login Succeeded [2023-04-12T22:22:21.999Z] docker.io [2023-04-12T22:22:22.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:22:22.258Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:22:22.258Z] Configure a credential helper to remove this warning. See [2023-04-12T22:22:22.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:22:22.258Z] [2023-04-12T22:22:22.258Z] Login Succeeded [2023-04-12T22:22:22.258Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T22:22:22.287Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T22:22:22.469Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T22:22:22.505Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T22:22:22.543Z] ========================================================= [2023-04-12T22:22:22.543Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-04-12T22:22:22.543Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:22:23.008Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-12T22:22:23.008Z] Sending build context to Docker daemon 21.45MB [2023-04-12T22:22:23.008Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-04-12T22:22:23.008Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-12T22:22:23.270Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-12T22:22:23.270Z] 213ec9aee27d: Pulling fs layer [2023-04-12T22:22:23.270Z] 4583459ba037: Pulling fs layer [2023-04-12T22:22:23.270Z] 93c1e223e6f2: Pulling fs layer [2023-04-12T22:22:23.270Z] 53926ce57604: Pulling fs layer [2023-04-12T22:22:23.270Z] 21b2b0c7a3f4: Pulling fs layer [2023-04-12T22:22:23.270Z] 22ff95d597cd: Pulling fs layer [2023-04-12T22:22:23.270Z] 12d6caf4c0d1: Pulling fs layer [2023-04-12T22:22:23.270Z] 96b7cbca73a9: Pulling fs layer [2023-04-12T22:22:23.270Z] a7acece74701: Pulling fs layer [2023-04-12T22:22:23.270Z] 21b2b0c7a3f4: Waiting [2023-04-12T22:22:23.270Z] 22ff95d597cd: Waiting [2023-04-12T22:22:23.270Z] 12d6caf4c0d1: Waiting [2023-04-12T22:22:23.270Z] 96b7cbca73a9: Waiting [2023-04-12T22:22:23.270Z] a7acece74701: Waiting [2023-04-12T22:22:23.270Z] 53926ce57604: Waiting [2023-04-12T22:22:23.270Z] 93c1e223e6f2: Verifying Checksum [2023-04-12T22:22:23.270Z] 93c1e223e6f2: Download complete [2023-04-12T22:22:23.270Z] 4583459ba037: Verifying Checksum [2023-04-12T22:22:23.270Z] 4583459ba037: Download complete [2023-04-12T22:22:23.270Z] 213ec9aee27d: Verifying Checksum [2023-04-12T22:22:23.270Z] 21b2b0c7a3f4: Verifying Checksum [2023-04-12T22:22:23.270Z] 21b2b0c7a3f4: Download complete [2023-04-12T22:22:23.270Z] 22ff95d597cd: Download complete [2023-04-12T22:22:23.270Z] 12d6caf4c0d1: Verifying Checksum [2023-04-12T22:22:23.270Z] 12d6caf4c0d1: Download complete [2023-04-12T22:22:23.270Z] 213ec9aee27d: Pull complete [2023-04-12T22:22:23.531Z] 4583459ba037: Pull complete [2023-04-12T22:22:23.531Z] 93c1e223e6f2: Pull complete [2023-04-12T22:22:23.794Z] a7acece74701: Verifying Checksum [2023-04-12T22:22:23.794Z] a7acece74701: Download complete [2023-04-12T22:22:24.059Z] 53926ce57604: Verifying Checksum [2023-04-12T22:22:24.059Z] 53926ce57604: Download complete [2023-04-12T22:22:24.059Z] 96b7cbca73a9: Verifying Checksum [2023-04-12T22:22:24.059Z] 96b7cbca73a9: Download complete [2023-04-12T22:22:28.245Z] 53926ce57604: Pull complete [2023-04-12T22:22:28.245Z] 21b2b0c7a3f4: Pull complete [2023-04-12T22:22:28.245Z] 22ff95d597cd: Pull complete [2023-04-12T22:22:28.245Z] 12d6caf4c0d1: Pull complete [2023-04-12T22:22:30.145Z] 96b7cbca73a9: Pull complete [2023-04-12T22:22:31.082Z] a7acece74701: Pull complete [2023-04-12T22:22:31.082Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-04-12T22:22:31.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-04-12T22:22:31.082Z] ---> db6d94c90886 [2023-04-12T22:22:31.082Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-12T22:22:36.180Z] Still waiting to schedule task [2023-04-12T22:22:36.180Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7603’ [2023-04-12T22:22:37.688Z] ---> Running in 5b8772f90432 [2023-04-12T22:22:37.688Z] Removing intermediate container 5b8772f90432 [2023-04-12T22:22:37.688Z] ---> 8352b0a3cbad [2023-04-12T22:22:37.688Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T22:22:37.688Z] ---> Running in 8c39bd2d8335 [2023-04-12T22:22:37.688Z] Removing intermediate container 8c39bd2d8335 [2023-04-12T22:22:37.688Z] ---> 94c922261d47 [2023-04-12T22:22:37.688Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-04-12T22:22:37.688Z] ---> Running in bfca39eea789 [2023-04-12T22:22:37.688Z] Removing intermediate container bfca39eea789 [2023-04-12T22:22:37.688Z] ---> ae6b4e478b07 [2023-04-12T22:22:37.688Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T22:22:37.688Z] ---> Running in 7439b5d9a0d6 [2023-04-12T22:22:37.688Z] Removing intermediate container 7439b5d9a0d6 [2023-04-12T22:22:37.688Z] ---> e1654110fff0 [2023-04-12T22:22:37.688Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-12T22:22:37.688Z] ---> Running in 065e60a4cdcf [2023-04-12T22:22:37.688Z] Removing intermediate container 065e60a4cdcf [2023-04-12T22:22:37.688Z] ---> b36aea7e5639 [2023-04-12T22:22:37.688Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T22:22:37.949Z] ---> Running in be415b2e6244 [2023-04-12T22:22:38.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-12T22:22:38.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-04-12T22:22:38.731Z] OK: 211 MiB in 51 packages [2023-04-12T22:22:38.990Z] Removing intermediate container be415b2e6244 [2023-04-12T22:22:38.990Z] ---> 5302663ef53d [2023-04-12T22:22:38.990Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-12T22:22:38.990Z] ---> Running in 9eb63688eb2b [2023-04-12T22:22:38.990Z] Removing intermediate container 9eb63688eb2b [2023-04-12T22:22:38.990Z] ---> d766d4182c71 [2023-04-12T22:22:38.990Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-12T22:22:39.247Z] ---> 4b997b33f876 [2023-04-12T22:22:39.247Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T22:22:39.247Z] ---> Running in 314db72b44f5 [2023-04-12T22:23:18.219Z] Removing intermediate container 314db72b44f5 [2023-04-12T22:23:18.219Z] ---> 56fbe3e781f9 [2023-04-12T22:23:18.219Z] Step 12/13 : COPY . . [2023-04-12T22:23:18.219Z] ---> e3ed3677b03e [2023-04-12T22:23:18.219Z] Step 13/13 : RUN ${MAKE} [2023-04-12T22:23:18.219Z] ---> Running in 43da8577a766 [2023-04-12T22:23:18.219Z] noop [2023-04-12T22:23:18.219Z] Removing intermediate container 43da8577a766 [2023-04-12T22:23:18.219Z] ---> 015cce545064 [2023-04-12T22:23:18.219Z] Successfully built 015cce545064 [2023-04-12T22:23:18.220Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:23:18.673Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T22:23:18.673Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T22:23:18.817Z] prd-ubuntu20.04-docker-8c-8g-7604 does not seem to be running inside a container [2023-04-12T22:23:18.854Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-12T22:23:19.215Z] $ docker top f011d8e9bdbe62685d5209922104bf63fe89084df6344b02793beabaf64cc0fc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T22:23:19.628Z] + go version [2023-04-12T22:23:19.628Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-04-12T22:23:19.707Z] $ docker stop --time=1 f011d8e9bdbe62685d5209922104bf63fe89084df6344b02793beabaf64cc0fc [2023-04-12T22:23:21.003Z] $ docker rm -f --volumes f011d8e9bdbe62685d5209922104bf63fe89084df6344b02793beabaf64cc0fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:23:21.724Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T22:23:21.724Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T22:23:21.918Z] prd-ubuntu20.04-docker-8c-8g-7604 does not seem to be running inside a container [2023-04-12T22:23:21.959Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-12T22:23:22.282Z] $ docker top bda9bd4d7fcf468f116fab803657dd632306fac262ba2f8368f066adef524185 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T22:23:22.677Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-304 [Pipeline] fileExists [Pipeline] sh [2023-04-12T22:23:23.040Z] + make test [2023-04-12T22:23:23.040Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-04-12T22:23:23.298Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-12T22:23:35.491Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-12T22:23:38.030Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 29.3% of statements [2023-04-12T22:23:38.030Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-12T22:23:38.030Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.629s coverage: 86.5% of statements [2023-04-12T22:23:46.151Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-04-12T22:23:46.151Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-04-12T22:23:50.346Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-12T22:23:50.346Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-12T22:23:50.346Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-12T22:23:50.388Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-12T22:23:50.423Z] $ docker stop --time=1 bda9bd4d7fcf468f116fab803657dd632306fac262ba2f8368f066adef524185 [2023-04-12T22:23:53.135Z] $ docker rm -f --volumes bda9bd4d7fcf468f116fab803657dd632306fac262ba2f8368f066adef524185 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T22:23:53.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-12T22:23:53.731Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-12T22:23:54.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-12T22:23:54.768Z] + ls -al . [2023-04-12T22:23:54.768Z] total 248 [2023-04-12T22:23:54.768Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 22:23 . [2023-04-12T22:23:54.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:21 .. [2023-04-12T22:23:54.768Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 22:23 .git [2023-04-12T22:23:54.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:21 .github [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 12 22:21 .gitignore [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 22:21 .golangci.yml [2023-04-12T22:23:54.768Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 22:22 .semver [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 9739 Apr 12 22:21 Attribution.txt [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 6535 Apr 12 22:21 CHANGELOG.md [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 1637 Apr 12 22:21 Dockerfile [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 22:21 GOVERNANCE.md [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 762 Apr 12 22:21 Jenkinsfile [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 12 22:21 LICENSE [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 2997 Apr 12 22:21 Makefile [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 12 22:21 OWNERS.md [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 5247 Apr 12 22:21 README.md [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 22:22 VERSION [2023-04-12T22:23:54.768Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:21 bin [2023-04-12T22:23:54.768Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:21 cmd [2023-04-12T22:23:54.768Z] -rw-r--r-- 1 jenkins jenkins 79184 Apr 12 22:23 coverage.out [2023-04-12T22:23:54.768Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:21 doc [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 3687 Apr 12 22:21 go.mod [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 46105 Apr 12 22:21 go.sum [2023-04-12T22:23:54.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:21 internal [2023-04-12T22:23:54.768Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:21 snap [2023-04-12T22:23:54.768Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 12 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:23:55.159Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ec48d607c070a8acc44daa594edc59cbb38205db --label arch=amd64 --label version=0.0.0 . [2023-04-12T22:23:55.159Z] Sending build context to Docker daemon 21.52MB [2023-04-12T22:23:55.159Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-04-12T22:23:55.159Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-12T22:23:55.159Z] ---> 015cce545064 [2023-04-12T22:23:55.159Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-12T22:23:55.726Z] ---> Running in af76cfcc2d7f [2023-04-12T22:23:55.726Z] Removing intermediate container af76cfcc2d7f [2023-04-12T22:23:55.726Z] ---> 8a862b2c713b [2023-04-12T22:23:55.726Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T22:23:55.726Z] ---> Running in a1b78112bc3c [2023-04-12T22:23:55.726Z] Removing intermediate container a1b78112bc3c [2023-04-12T22:23:55.726Z] ---> 6bb48031b371 [2023-04-12T22:23:55.726Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-04-12T22:23:55.726Z] ---> Running in b50b46e71bec [2023-04-12T22:23:55.984Z] Removing intermediate container b50b46e71bec [2023-04-12T22:23:55.984Z] ---> 0037eb8c21ad [2023-04-12T22:23:55.984Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T22:23:55.984Z] ---> Running in eff1a8e19a21 [2023-04-12T22:23:55.984Z] Removing intermediate container eff1a8e19a21 [2023-04-12T22:23:55.984Z] ---> d083cf650cfd [2023-04-12T22:23:55.984Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-12T22:23:55.984Z] ---> Running in add0fbec6015 [2023-04-12T22:23:55.984Z] Removing intermediate container add0fbec6015 [2023-04-12T22:23:55.984Z] ---> 6b51ad67faf4 [2023-04-12T22:23:55.984Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T22:23:55.984Z] ---> Running in 1d5d235919bb [2023-04-12T22:23:56.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-12T22:23:56.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-04-12T22:23:56.810Z] OK: 211 MiB in 51 packages [2023-04-12T22:23:57.068Z] Removing intermediate container 1d5d235919bb [2023-04-12T22:23:57.068Z] ---> 77664114623b [2023-04-12T22:23:57.068Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-12T22:23:57.068Z] ---> Running in af875ff6650e [2023-04-12T22:23:57.328Z] Removing intermediate container af875ff6650e [2023-04-12T22:23:57.328Z] ---> 6287b03293a6 [2023-04-12T22:23:57.328Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-12T22:23:57.328Z] ---> c4a4cc1b25a3 [2023-04-12T22:23:57.328Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T22:23:57.328Z] ---> Running in 48d049ef4c0a [2023-04-12T22:23:57.894Z] Removing intermediate container 48d049ef4c0a [2023-04-12T22:23:57.894Z] ---> d068c26f6261 [2023-04-12T22:23:57.894Z] Step 12/26 : COPY . . [2023-04-12T22:23:58.831Z] ---> fa14a579d438 [2023-04-12T22:23:58.831Z] Step 13/26 : RUN ${MAKE} [2023-04-12T22:23:58.831Z] ---> Running in 54a54e7bcf5f [2023-04-12T22:23:59.090Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-04-12T22:24:25.641Z] Removing intermediate container 54a54e7bcf5f [2023-04-12T22:24:25.641Z] ---> 18e3effc98d9 [2023-04-12T22:24:25.641Z] Step 14/26 : FROM alpine:3.16 [2023-04-12T22:24:25.641Z] 3.16: Pulling from library/alpine [2023-04-12T22:24:25.641Z] 91d30c5bc195: Pulling fs layer [2023-04-12T22:24:25.641Z] 91d30c5bc195: Verifying Checksum [2023-04-12T22:24:25.641Z] 91d30c5bc195: Download complete [2023-04-12T22:24:25.641Z] 91d30c5bc195: Pull complete [2023-04-12T22:24:25.641Z] Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f [2023-04-12T22:24:25.641Z] Status: Downloaded newer image for alpine:3.16 [2023-04-12T22:24:25.641Z] ---> 8471affe5de5 [2023-04-12T22:24:25.641Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-12T22:24:25.641Z] ---> Running in 6e65f86e764b [2023-04-12T22:24:25.641Z] Removing intermediate container 6e65f86e764b [2023-04-12T22:24:25.641Z] ---> 14946dec52a7 [2023-04-12T22:24:25.641Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-04-12T22:24:25.641Z] ---> Running in 572828c4cbf8 [2023-04-12T22:24:25.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-04-12T22:24:25.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-04-12T22:24:26.166Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-04-12T22:24:26.166Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-04-12T22:24:26.166Z] (3/6) Installing libsodium (1.0.18-r0) [2023-04-12T22:24:26.166Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-04-12T22:24:26.166Z] (5/6) Installing libzmq (4.3.4-r0) [2023-04-12T22:24:26.166Z] (6/6) Installing zeromq (4.3.4-r0) [2023-04-12T22:24:26.166Z] Executing busybox-1.35.0-r17.trigger [2023-04-12T22:24:26.166Z] OK: 8 MiB in 20 packages [2023-04-12T22:24:26.733Z] Removing intermediate container 572828c4cbf8 [2023-04-12T22:24:26.733Z] ---> 667a852707db [2023-04-12T22:24:26.733Z] Step 17/26 : WORKDIR / [2023-04-12T22:24:26.733Z] ---> Running in 2daff038ba27 [2023-04-12T22:24:26.733Z] Removing intermediate container 2daff038ba27 [2023-04-12T22:24:26.733Z] ---> 15868bffcb54 [2023-04-12T22:24:26.733Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-12T22:24:27.670Z] ---> dffe3b4d665d [2023-04-12T22:24:27.670Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-12T22:24:27.670Z] ---> bb326d4f9cfc [2023-04-12T22:24:27.670Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-12T22:24:27.929Z] ---> 2e33a198b52a [2023-04-12T22:24:27.929Z] Step 21/26 : EXPOSE 59984 [2023-04-12T22:24:27.929Z] ---> Running in b26ee8df23a0 [2023-04-12T22:24:27.929Z] Removing intermediate container b26ee8df23a0 [2023-04-12T22:24:27.929Z] ---> bfcc6dce362b [2023-04-12T22:24:27.929Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-12T22:24:27.929Z] ---> Running in 235af57291f7 [2023-04-12T22:24:27.929Z] Removing intermediate container 235af57291f7 [2023-04-12T22:24:27.929Z] ---> 0fef3ba0686a [2023-04-12T22:24:27.929Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-04-12T22:24:27.929Z] ---> Running in 0fa52a6c9e2d [2023-04-12T22:24:28.188Z] Removing intermediate container 0fa52a6c9e2d [2023-04-12T22:24:28.188Z] ---> 69893cc55270 [2023-04-12T22:24:28.188Z] Step 24/26 : LABEL arch=amd64 [2023-04-12T22:24:28.188Z] ---> Running in 4acb7ed3c998 [2023-04-12T22:24:28.188Z] Removing intermediate container 4acb7ed3c998 [2023-04-12T22:24:28.188Z] ---> 7e17ea2932ab [2023-04-12T22:24:28.188Z] Step 25/26 : LABEL git_sha=ec48d607c070a8acc44daa594edc59cbb38205db [2023-04-12T22:24:28.188Z] ---> Running in c421072f32a6 [2023-04-12T22:24:28.188Z] Removing intermediate container c421072f32a6 [2023-04-12T22:24:28.188Z] ---> 59bdf77b3e62 [2023-04-12T22:24:28.188Z] Step 26/26 : LABEL version=0.0.0 [2023-04-12T22:24:28.449Z] ---> Running in 7fe0616782f2 [2023-04-12T22:24:28.449Z] Removing intermediate container 7fe0616782f2 [2023-04-12T22:24:28.449Z] ---> bbc63907bde0 [2023-04-12T22:24:28.449Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-12T22:24:28.449Z] Successfully built bbc63907bde0 [2023-04-12T22:24:28.449Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:24:29.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T22:24:29.317Z] [2023-04-12T22:24:29.317Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:24:29.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T22:24:29.689Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-12T22:24:29.689Z] 5eb5b503b376: Pulling fs layer [2023-04-12T22:24:29.689Z] 5c69ac0246d0: Pulling fs layer [2023-04-12T22:24:29.689Z] ec43610c2a17: Pulling fs layer [2023-04-12T22:24:29.689Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-12T22:24:29.689Z] 33b1e0a273af: Pulling fs layer [2023-04-12T22:24:29.689Z] 5d3b04190fa2: Pulling fs layer [2023-04-12T22:24:29.689Z] 2f39f015ded8: Pulling fs layer [2023-04-12T22:24:29.689Z] 3a2ae6a8a46f: Waiting [2023-04-12T22:24:29.689Z] 33b1e0a273af: Waiting [2023-04-12T22:24:29.689Z] 5d3b04190fa2: Waiting [2023-04-12T22:24:29.689Z] 2f39f015ded8: Waiting [2023-04-12T22:24:29.689Z] 5c69ac0246d0: Verifying Checksum [2023-04-12T22:24:29.689Z] 5c69ac0246d0: Download complete [2023-04-12T22:24:29.689Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-12T22:24:29.689Z] 3a2ae6a8a46f: Download complete [2023-04-12T22:24:29.967Z] 33b1e0a273af: Verifying Checksum [2023-04-12T22:24:29.967Z] 33b1e0a273af: Download complete [2023-04-12T22:24:29.967Z] ec43610c2a17: Verifying Checksum [2023-04-12T22:24:29.967Z] ec43610c2a17: Download complete [2023-04-12T22:24:29.967Z] 5d3b04190fa2: Verifying Checksum [2023-04-12T22:24:29.967Z] 5d3b04190fa2: Download complete [2023-04-12T22:24:29.967Z] 5eb5b503b376: Verifying Checksum [2023-04-12T22:24:29.967Z] 5eb5b503b376: Download complete [2023-04-12T22:24:30.535Z] 2f39f015ded8: Download complete [2023-04-12T22:24:31.470Z] 5eb5b503b376: Pull complete [2023-04-12T22:24:31.470Z] 5c69ac0246d0: Pull complete [2023-04-12T22:24:32.070Z] ec43610c2a17: Pull complete [2023-04-12T22:24:32.070Z] 3a2ae6a8a46f: Pull complete [2023-04-12T22:24:32.329Z] 33b1e0a273af: Pull complete [2023-04-12T22:24:32.329Z] 5d3b04190fa2: Pull complete [2023-04-12T22:24:37.601Z] 2f39f015ded8: Pull complete [2023-04-12T22:24:37.601Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-12T22:24:37.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T22:24:37.601Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T22:24:37.826Z] prd-ubuntu20.04-docker-8c-8g-7604 does not seem to be running inside a container [2023-04-12T22:24:37.860Z] $ 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/undry_device-onvif-camera_PR-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-12T22:24:44.312Z] $ docker top e948f136075c877b34cce9c6bd4e338e9f0f46a14abef342562989fcdfe4420e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:24:44.751Z] ---> job-cost.sh [2023-04-12T22:24:44.751Z] lf-activate-venv: SKIPPING [2023-04-12T22:24:44.751Z] INFO: No Stack... [2023-04-12T22:24:45.012Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T22:24:45.271Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T22:24:45.585Z] + cat /w/workspace/undry_device-onvif-camera_PR-304/archives/cost.csv [2023-04-12T22:24:45.585Z] + cut -d, -f6 [Pipeline] lock [2023-04-12T22:24:45.631Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-304-1-stack-cost] [2023-04-12T22:24:45.637Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-1-stack-cost] did not exist. Created. [2023-04-12T22:24:45.637Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-304-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-12T22:24:46.032Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-12T22:24:46.087Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T22:24:46.106Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T22:24:46.192Z] $ docker stop --time=1 e948f136075c877b34cce9c6bd4e338e9f0f46a14abef342562989fcdfe4420e [2023-04-12T22:24:47.344Z] $ docker rm -f --volumes e948f136075c877b34cce9c6bd4e338e9f0f46a14abef342562989fcdfe4420e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-12T22:25:30.635Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7606 in /w/workspace/undry_device-onvif-camera_PR-304 [Pipeline] { [Pipeline] ws [2023-04-12T22:25:30.686Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-04-12T22:25:30.760Z] The recommended git tool is: git [2023-04-12T22:25:36.157Z] using credential edgex-jenkins-ssh [2023-04-12T22:25:36.171Z] Cloning the remote Git repository [2023-04-12T22:25:36.215Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-12T22:25:36.303Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-04-12T22:25:36.430Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-12T22:25:36.431Z] > git --version # timeout=10 [2023-04-12T22:25:36.451Z] > git --version # 'git version 2.25.1' [2023-04-12T22:25:36.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T22:25:36.604Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T22:25:38.037Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-12T22:25:38.064Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T22:25:39.128Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-04-12T22:25:39.179Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-04-12T22:25:39.181Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T22:25:39.204Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/304/head:refs/remotes/origin/PR-304 +refs/heads/levski:refs/remotes/origin/levski # timeout=10 [2023-04-12T22:25:39.823Z] Merging remotes/origin/levski commit 4d60271c1a122ad73ad4ab446ee385de813631e9 into PR head commit ec48d607c070a8acc44daa594edc59cbb38205db [2023-04-12T22:25:40.265Z] Merge succeeded, producing ec48d607c070a8acc44daa594edc59cbb38205db [2023-04-12T22:25:40.265Z] Checking out Revision ec48d607c070a8acc44daa594edc59cbb38205db (PR-304) [2023-04-12T22:25:39.848Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T22:25:39.936Z] > git checkout -f ec48d607c070a8acc44daa594edc59cbb38205db # timeout=10 [2023-04-12T22:25:40.152Z] > git remote # timeout=10 [2023-04-12T22:25:40.177Z] > git config --get remote.origin.url # timeout=10 [2023-04-12T22:25:40.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T22:25:40.211Z] > git merge 4d60271c1a122ad73ad4ab446ee385de813631e9 # timeout=10 [2023-04-12T22:25:40.240Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-12T22:25:40.276Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T22:25:40.293Z] > git checkout -f ec48d607c070a8acc44daa594edc59cbb38205db # timeout=10 [2023-04-12T22:25:44.020Z] Commit message: "docs: remove extra docs" [2023-04-12T22:25:44.075Z] > git --version # timeout=10 [2023-04-12T22:25:44.093Z] > git --version # 'git version 2.25.1' [2023-04-12T22:25:44.106Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T22:25:45.226Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-12T22:25:45.227Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-12T22:25:45.227Z] Dload Upload Total Spent Left Speed [2023-04-12T22:25:45.227Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-04-12T22:25:45.927Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-12T22:25:46.270Z] + sudo tee /etc/docker/daemon.new+ [2023-04-12T22:25:46.271Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-12T22:25:46.271Z] { [2023-04-12T22:25:46.271Z] "registry-mirrors": [ [2023-04-12T22:25:46.271Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-12T22:25:46.271Z] ], [2023-04-12T22:25:46.271Z] "bip": "10.250.0.254/24", [2023-04-12T22:25:46.271Z] "hosts": [ [2023-04-12T22:25:46.271Z] "tcp://0.0.0.0:5555", [2023-04-12T22:25:46.271Z] "unix:///var/run/docker.sock" [2023-04-12T22:25:46.271Z] ], [2023-04-12T22:25:46.271Z] "mtu": 1458, [2023-04-12T22:25:46.271Z] "selinux-enabled": true, [2023-04-12T22:25:46.271Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-12T22:25:46.271Z] } [Pipeline] sh [2023-04-12T22:25:46.622Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-12T22:25:46.964Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T22:26:05.271Z] provisioning config files... [2023-04-12T22:26:05.298Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config15386310619468797200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:26:05.693Z] ---> docker-login.sh [2023-04-12T22:26:05.693Z] nexus3.edgexfoundry.org:10001 [2023-04-12T22:26:06.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:26:06.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:26:06.286Z] Configure a credential helper to remove this warning. See [2023-04-12T22:26:06.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:26:06.286Z] [2023-04-12T22:26:06.286Z] Login Succeeded [2023-04-12T22:26:06.286Z] nexus3.edgexfoundry.org:10002 [2023-04-12T22:26:06.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:26:06.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:26:06.556Z] Configure a credential helper to remove this warning. See [2023-04-12T22:26:06.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:26:06.556Z] [2023-04-12T22:26:06.556Z] Login Succeeded [2023-04-12T22:26:06.826Z] nexus3.edgexfoundry.org:10003 [2023-04-12T22:26:06.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:26:07.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:26:07.097Z] Configure a credential helper to remove this warning. See [2023-04-12T22:26:07.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:26:07.097Z] [2023-04-12T22:26:07.097Z] Login Succeeded [2023-04-12T22:26:07.097Z] nexus3.edgexfoundry.org:10004 [2023-04-12T22:26:07.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:26:07.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:26:07.372Z] Configure a credential helper to remove this warning. See [2023-04-12T22:26:07.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:26:07.372Z] [2023-04-12T22:26:07.372Z] Login Succeeded [2023-04-12T22:26:07.372Z] docker.io [2023-04-12T22:26:07.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T22:26:07.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T22:26:07.910Z] Configure a credential helper to remove this warning. See [2023-04-12T22:26:07.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T22:26:07.910Z] [2023-04-12T22:26:07.910Z] Login Succeeded [2023-04-12T22:26:07.910Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T22:26:07.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T22:26:08.352Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T22:26:08.385Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T22:26:08.418Z] ========================================================= [2023-04-12T22:26:08.418Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-04-12T22:26:08.418Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:26:08.904Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-12T22:26:09.490Z] Sending build context to Docker daemon 14.19MB [2023-04-12T22:26:09.490Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-04-12T22:26:09.490Z] Step 2/13 : FROM ${BASE} AS builder [2023-04-12T22:26:09.769Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-12T22:26:09.769Z] 9b18e9b68314: Pulling fs layer [2023-04-12T22:26:09.769Z] 35d82f9e3411: Pulling fs layer [2023-04-12T22:26:09.769Z] e16973657156: Pulling fs layer [2023-04-12T22:26:09.769Z] fc693d55d65f: Pulling fs layer [2023-04-12T22:26:09.769Z] 7e9fc2657dce: Pulling fs layer [2023-04-12T22:26:09.769Z] dda99020689f: Pulling fs layer [2023-04-12T22:26:09.769Z] db1c61fa0a46: Pulling fs layer [2023-04-12T22:26:09.769Z] 891c053d2c06: Pulling fs layer [2023-04-12T22:26:09.769Z] fc693d55d65f: Waiting [2023-04-12T22:26:09.769Z] 7e9fc2657dce: Waiting [2023-04-12T22:26:09.769Z] dda99020689f: Waiting [2023-04-12T22:26:09.769Z] 891c053d2c06: Waiting [2023-04-12T22:26:09.769Z] db1c61fa0a46: Waiting [2023-04-12T22:26:09.769Z] e16973657156: Download complete [2023-04-12T22:26:09.769Z] 35d82f9e3411: Verifying Checksum [2023-04-12T22:26:09.769Z] 35d82f9e3411: Download complete [2023-04-12T22:26:09.769Z] 7e9fc2657dce: Verifying Checksum [2023-04-12T22:26:09.769Z] 7e9fc2657dce: Download complete [2023-04-12T22:26:09.769Z] 9b18e9b68314: Verifying Checksum [2023-04-12T22:26:09.769Z] 9b18e9b68314: Download complete [2023-04-12T22:26:09.769Z] dda99020689f: Verifying Checksum [2023-04-12T22:26:09.769Z] dda99020689f: Download complete [2023-04-12T22:26:10.746Z] 9b18e9b68314: Pull complete [2023-04-12T22:26:11.017Z] 891c053d2c06: Verifying Checksum [2023-04-12T22:26:11.017Z] 891c053d2c06: Download complete [2023-04-12T22:26:11.289Z] 35d82f9e3411: Pull complete [2023-04-12T22:26:11.558Z] e16973657156: Pull complete [2023-04-12T22:26:12.143Z] db1c61fa0a46: Verifying Checksum [2023-04-12T22:26:12.143Z] db1c61fa0a46: Download complete [2023-04-12T22:26:12.727Z] fc693d55d65f: Download complete [2023-04-12T22:26:25.070Z] fc693d55d65f: Pull complete [2023-04-12T22:26:25.070Z] 7e9fc2657dce: Pull complete [2023-04-12T22:26:25.070Z] dda99020689f: Pull complete [2023-04-12T22:26:30.422Z] db1c61fa0a46: Pull complete [2023-04-12T22:26:31.843Z] 891c053d2c06: Pull complete [2023-04-12T22:26:31.843Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-04-12T22:26:31.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-04-12T22:26:31.843Z] ---> f96f9c87975a [2023-04-12T22:26:31.843Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-04-12T22:26:33.857Z] ---> Running in 303bb58dafe6 [2023-04-12T22:26:33.857Z] Removing intermediate container 303bb58dafe6 [2023-04-12T22:26:33.857Z] ---> 74466ceb6296 [2023-04-12T22:26:33.857Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T22:26:33.857Z] ---> Running in ef43f430f6a4 [2023-04-12T22:26:34.444Z] Removing intermediate container ef43f430f6a4 [2023-04-12T22:26:34.444Z] ---> 6874bdf8abc5 [2023-04-12T22:26:34.444Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-04-12T22:26:34.444Z] ---> Running in 4123d84112a8 [2023-04-12T22:26:34.713Z] Removing intermediate container 4123d84112a8 [2023-04-12T22:26:34.713Z] ---> d871b2c5b660 [2023-04-12T22:26:34.713Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T22:26:34.713Z] ---> Running in 6d73a1a2e011 [2023-04-12T22:26:34.981Z] Removing intermediate container 6d73a1a2e011 [2023-04-12T22:26:34.981Z] ---> 70851ec02a6f [2023-04-12T22:26:34.981Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-04-12T22:26:35.250Z] ---> Running in 40950423c96f [2023-04-12T22:26:35.527Z] Removing intermediate container 40950423c96f [2023-04-12T22:26:35.527Z] ---> 8a060add678b [2023-04-12T22:26:35.527Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T22:26:35.527Z] ---> Running in 49dee788a282 [2023-04-12T22:26:36.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-12T22:26:37.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-04-12T22:26:38.617Z] OK: 221 MiB in 51 packages [2023-04-12T22:26:39.582Z] Removing intermediate container 49dee788a282 [2023-04-12T22:26:39.582Z] ---> 70e27100396b [2023-04-12T22:26:39.582Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-04-12T22:26:39.582Z] ---> Running in 5ae2026c684b [2023-04-12T22:26:39.850Z] Removing intermediate container 5ae2026c684b [2023-04-12T22:26:39.850Z] ---> 01aab3e81f80 [2023-04-12T22:26:39.850Z] Step 10/13 : COPY go.mod vendor* ./ [2023-04-12T22:26:40.436Z] ---> 0e19029962eb [2023-04-12T22:26:40.436Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T22:26:40.436Z] ---> Running in 230c3d8a2ed2 [2023-04-12T22:27:36.875Z] Removing intermediate container 230c3d8a2ed2 [2023-04-12T22:27:36.875Z] ---> c4d727820675 [2023-04-12T22:27:36.875Z] Step 12/13 : COPY . . [2023-04-12T22:27:36.875Z] ---> 5d15bcd05a02 [2023-04-12T22:27:36.875Z] Step 13/13 : RUN ${MAKE} [2023-04-12T22:27:36.875Z] ---> Running in b5a979bd9f9b [2023-04-12T22:27:36.875Z] noop [2023-04-12T22:27:36.875Z] Removing intermediate container b5a979bd9f9b [2023-04-12T22:27:36.875Z] ---> fb3fd9b53214 [2023-04-12T22:27:36.875Z] Successfully built fb3fd9b53214 [2023-04-12T22:27:36.875Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:27:37.356Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T22:27:37.356Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T22:27:37.649Z] prd-ubuntu20.04-docker-arm64-4c-16g-7606 does not seem to be running inside a container [2023-04-12T22:27:37.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-12T22:27:38.889Z] $ docker top f908198efe22bd2f279d64e74cc9c2792cb1c03841fb8ba595367e8a59716e51 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T22:27:39.779Z] + go version [2023-04-12T22:27:39.779Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-04-12T22:27:39.821Z] $ docker stop --time=1 f908198efe22bd2f279d64e74cc9c2792cb1c03841fb8ba595367e8a59716e51 [2023-04-12T22:27:41.504Z] $ docker rm -f --volumes f908198efe22bd2f279d64e74cc9c2792cb1c03841fb8ba595367e8a59716e51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:27:42.330Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T22:27:42.330Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T22:27:42.590Z] prd-ubuntu20.04-docker-arm64-4c-16g-7606 does not seem to be running inside a container [2023-04-12T22:27:42.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-12T22:27:43.821Z] $ docker top 40c073422381e65f849d460d454b63d577c4ab732a02c1b8a3d93b3ad111cb98 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T22:27:44.374Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-04-12T22:27:44.759Z] + make test [2023-04-12T22:27:44.759Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-04-12T22:27:46.712Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-04-12T22:29:23.391Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-04-12T22:29:31.616Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.213s coverage: 29.3% of statements [2023-04-12T22:29:31.616Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-04-12T22:29:46.636Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.826s coverage: 86.5% of statements [2023-04-12T22:29:46.906Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-12T22:29:46.906Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-04-12T22:30:25.819Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-12T22:30:25.819Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-12T22:30:25.819Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-12T22:30:25.864Z] [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-12T22:30:25.901Z] $ docker stop --time=1 40c073422381e65f849d460d454b63d577c4ab732a02c1b8a3d93b3ad111cb98 [2023-04-12T22:30:27.884Z] $ docker rm -f --volumes 40c073422381e65f849d460d454b63d577c4ab732a02c1b8a3d93b3ad111cb98 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T22:30:29.066Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-12T22:30:29.100Z] Warning: overwriting stash ‘coverage-report’ [2023-04-12T22:30:29.679Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T22:30:30.282Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-12T22:30:30.631Z] + ls -al . [2023-04-12T22:30:30.631Z] total 244 [2023-04-12T22:30:30.631Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 22:27 . [2023-04-12T22:30:30.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:25 .. [2023-04-12T22:30:30.631Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 22:25 .git [2023-04-12T22:30:30.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:25 .github [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 496 Apr 12 22:25 .gitignore [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 22:25 .golangci.yml [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 9739 Apr 12 22:25 Attribution.txt [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 6535 Apr 12 22:25 CHANGELOG.md [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 1637 Apr 12 22:25 Dockerfile [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 22:25 GOVERNANCE.md [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 762 Apr 12 22:25 Jenkinsfile [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 11348 Apr 12 22:25 LICENSE [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 2997 Apr 12 22:25 Makefile [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 625 Apr 12 22:25 OWNERS.md [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 5247 Apr 12 22:25 README.md [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 22:22 VERSION [2023-04-12T22:30:30.631Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 22:25 bin [2023-04-12T22:30:30.631Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 22:25 cmd [2023-04-12T22:30:30.631Z] -rw-r--r-- 1 jenkins jenkins 79184 Apr 12 22:29 coverage.out [2023-04-12T22:30:30.631Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 22:25 doc [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 3687 Apr 12 22:25 go.mod [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 46105 Apr 12 22:25 go.sum [2023-04-12T22:30:30.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:25 internal [2023-04-12T22:30:30.631Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 22:25 snap [2023-04-12T22:30:30.631Z] -rw-rw-r-- 1 jenkins jenkins 236 Apr 12 22:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:30:31.057Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ec48d607c070a8acc44daa594edc59cbb38205db --label arch=arm64 --label version=0.0.0 . [2023-04-12T22:30:31.650Z] Sending build context to Docker daemon 14.27MB [2023-04-12T22:30:31.650Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-04-12T22:30:31.650Z] Step 2/26 : FROM ${BASE} AS builder [2023-04-12T22:30:31.650Z] ---> fb3fd9b53214 [2023-04-12T22:30:31.650Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-04-12T22:30:31.918Z] ---> Running in 2bce5e25324b [2023-04-12T22:30:32.505Z] Removing intermediate container 2bce5e25324b [2023-04-12T22:30:32.505Z] ---> 0a37e80d5d19 [2023-04-12T22:30:32.505Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T22:30:32.505Z] ---> Running in df187d64f775 [2023-04-12T22:30:32.775Z] Removing intermediate container df187d64f775 [2023-04-12T22:30:32.775Z] ---> 39c823389ccc [2023-04-12T22:30:32.775Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-04-12T22:30:33.138Z] ---> Running in b47e1efe5b5a [2023-04-12T22:30:33.436Z] Removing intermediate container b47e1efe5b5a [2023-04-12T22:30:33.436Z] ---> 17849378cbb6 [2023-04-12T22:30:33.436Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T22:30:33.436Z] ---> Running in a6263a40383d [2023-04-12T22:30:34.061Z] Removing intermediate container a6263a40383d [2023-04-12T22:30:34.061Z] ---> e81b062b7e80 [2023-04-12T22:30:34.061Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-04-12T22:30:34.061Z] ---> Running in b7c166bca94e [2023-04-12T22:30:34.349Z] Removing intermediate container b7c166bca94e [2023-04-12T22:30:34.349Z] ---> d192acfb74a1 [2023-04-12T22:30:34.349Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T22:30:34.647Z] ---> Running in a1cbf149a703 [2023-04-12T22:30:35.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-12T22:30:36.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-04-12T22:30:37.206Z] OK: 221 MiB in 51 packages [2023-04-12T22:30:38.175Z] Removing intermediate container a1cbf149a703 [2023-04-12T22:30:38.175Z] ---> da076b6506a6 [2023-04-12T22:30:38.175Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-04-12T22:30:38.447Z] ---> Running in 327e84b7eefc [2023-04-12T22:30:38.715Z] Removing intermediate container 327e84b7eefc [2023-04-12T22:30:38.715Z] ---> 8916ce7332cd [2023-04-12T22:30:38.715Z] Step 10/26 : COPY go.mod vendor* ./ [2023-04-12T22:30:39.322Z] ---> 5dbc61473688 [2023-04-12T22:30:39.322Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T22:30:39.322Z] ---> Running in 753b8a02ff56 [2023-04-12T22:30:41.919Z] Removing intermediate container 753b8a02ff56 [2023-04-12T22:30:41.919Z] ---> 44a7ce2609ff [2023-04-12T22:30:41.919Z] Step 12/26 : COPY . . [2023-04-12T22:30:43.340Z] ---> 1e4cfb9cf3a6 [2023-04-12T22:30:43.340Z] Step 13/26 : RUN ${MAKE} [2023-04-12T22:30:43.340Z] ---> Running in 24997f481b56 [2023-04-12T22:30:45.305Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-04-12T22:33:37.104Z] Removing intermediate container 24997f481b56 [2023-04-12T22:33:37.104Z] ---> d7f6f71456b8 [2023-04-12T22:33:37.104Z] Step 14/26 : FROM alpine:3.16 [2023-04-12T22:33:37.104Z] 3.16: Pulling from library/alpine [2023-04-12T22:33:37.104Z] 547446be3368: Pulling fs layer [2023-04-12T22:33:37.104Z] 547446be3368: Verifying Checksum [2023-04-12T22:33:37.104Z] 547446be3368: Download complete [2023-04-12T22:33:37.104Z] 547446be3368: Pull complete [2023-04-12T22:33:37.104Z] Digest: sha256:c2b622f6e510a0d25bccaffa9e67b75a6860cb09b74bb58cfc36a9ef4331109f [2023-04-12T22:33:37.104Z] Status: Downloaded newer image for alpine:3.16 [2023-04-12T22:33:37.104Z] ---> 3b5033019969 [2023-04-12T22:33:37.104Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-04-12T22:33:37.104Z] ---> Running in 8e11ec0539d4 [2023-04-12T22:33:37.104Z] Removing intermediate container 8e11ec0539d4 [2023-04-12T22:33:37.104Z] ---> 688acb8da4c0 [2023-04-12T22:33:37.104Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-04-12T22:33:37.104Z] ---> Running in dc2565ed88d1 [2023-04-12T22:33:37.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-04-12T22:33:37.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-04-12T22:33:37.104Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-04-12T22:33:37.104Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-04-12T22:33:37.104Z] (3/6) Installing libsodium (1.0.18-r0) [2023-04-12T22:33:37.104Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-04-12T22:33:37.104Z] (5/6) Installing libzmq (4.3.4-r0) [2023-04-12T22:33:37.104Z] (6/6) Installing zeromq (4.3.4-r0) [2023-04-12T22:33:37.104Z] Executing busybox-1.35.0-r17.trigger [2023-04-12T22:33:37.104Z] OK: 8 MiB in 20 packages [2023-04-12T22:33:37.104Z] Removing intermediate container dc2565ed88d1 [2023-04-12T22:33:37.104Z] ---> 01f4bc1e2734 [2023-04-12T22:33:37.104Z] Step 17/26 : WORKDIR / [2023-04-12T22:33:37.104Z] ---> Running in b5fce247ef8e [2023-04-12T22:33:37.104Z] Removing intermediate container b5fce247ef8e [2023-04-12T22:33:37.104Z] ---> c8603b976b08 [2023-04-12T22:33:37.104Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-04-12T22:33:37.104Z] ---> 6030b0535731 [2023-04-12T22:33:37.104Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-04-12T22:33:37.104Z] ---> 568a3968220a [2023-04-12T22:33:37.104Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-04-12T22:33:37.104Z] ---> f17ba183971c [2023-04-12T22:33:37.104Z] Step 21/26 : EXPOSE 59984 [2023-04-12T22:33:37.104Z] ---> Running in 4ba5849b35f1 [2023-04-12T22:33:37.104Z] Removing intermediate container 4ba5849b35f1 [2023-04-12T22:33:37.104Z] ---> 7039041f939f [2023-04-12T22:33:37.104Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-04-12T22:33:37.104Z] ---> Running in 01973238ed9e [2023-04-12T22:33:37.104Z] Removing intermediate container 01973238ed9e [2023-04-12T22:33:37.104Z] ---> 5e50d953c774 [2023-04-12T22:33:37.104Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2023-04-12T22:33:37.104Z] ---> Running in 4986cb9b4319 [2023-04-12T22:33:37.104Z] Removing intermediate container 4986cb9b4319 [2023-04-12T22:33:37.104Z] ---> 35973816f4ec [2023-04-12T22:33:37.104Z] Step 24/26 : LABEL arch=arm64 [2023-04-12T22:33:37.104Z] ---> Running in 455440e67beb [2023-04-12T22:33:37.104Z] Removing intermediate container 455440e67beb [2023-04-12T22:33:37.104Z] ---> c7b864f4fac0 [2023-04-12T22:33:37.104Z] Step 25/26 : LABEL git_sha=ec48d607c070a8acc44daa594edc59cbb38205db [2023-04-12T22:33:37.104Z] ---> Running in 10fa6f316486 [2023-04-12T22:33:37.104Z] Removing intermediate container 10fa6f316486 [2023-04-12T22:33:37.104Z] ---> 2c7a8540aaf5 [2023-04-12T22:33:37.104Z] Step 26/26 : LABEL version=0.0.0 [2023-04-12T22:33:37.104Z] ---> Running in 80574cd212f9 [2023-04-12T22:33:37.104Z] Removing intermediate container 80574cd212f9 [2023-04-12T22:33:37.104Z] ---> cf9594e85a47 [2023-04-12T22:33:37.104Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-12T22:33:37.104Z] Successfully built cf9594e85a47 [2023-04-12T22:33:37.104Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:33:37.839Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T22:33:37.839Z] [2023-04-12T22:33:37.839Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:33:38.235Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T22:33:38.235Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-12T22:33:38.235Z] 8998bd30e6a1: Pulling fs layer [2023-04-12T22:33:38.235Z] 04944245beec: Pulling fs layer [2023-04-12T22:33:38.235Z] 699f458cf7ca: Pulling fs layer [2023-04-12T22:33:38.235Z] 765212b225bb: Pulling fs layer [2023-04-12T22:33:38.235Z] f23df028b6ca: Pulling fs layer [2023-04-12T22:33:38.235Z] d65c8cfc05b1: Pulling fs layer [2023-04-12T22:33:38.235Z] 2437ff75d9bd: Pulling fs layer [2023-04-12T22:33:38.235Z] f23df028b6ca: Waiting [2023-04-12T22:33:38.235Z] 2437ff75d9bd: Waiting [2023-04-12T22:33:38.235Z] d65c8cfc05b1: Waiting [2023-04-12T22:33:38.235Z] 765212b225bb: Waiting [2023-04-12T22:33:38.506Z] 04944245beec: Verifying Checksum [2023-04-12T22:33:38.506Z] 04944245beec: Download complete [2023-04-12T22:33:38.506Z] 765212b225bb: Verifying Checksum [2023-04-12T22:33:38.506Z] 765212b225bb: Download complete [2023-04-12T22:33:38.506Z] f23df028b6ca: Verifying Checksum [2023-04-12T22:33:38.506Z] f23df028b6ca: Download complete [2023-04-12T22:33:38.506Z] d65c8cfc05b1: Verifying Checksum [2023-04-12T22:33:38.506Z] d65c8cfc05b1: Download complete [2023-04-12T22:33:38.774Z] 699f458cf7ca: Verifying Checksum [2023-04-12T22:33:38.774Z] 699f458cf7ca: Download complete [2023-04-12T22:33:39.039Z] 8998bd30e6a1: Verifying Checksum [2023-04-12T22:33:39.039Z] 8998bd30e6a1: Download complete [2023-04-12T22:33:41.620Z] 2437ff75d9bd: Verifying Checksum [2023-04-12T22:33:41.620Z] 2437ff75d9bd: Download complete [2023-04-12T22:33:43.031Z] 8998bd30e6a1: Pull complete [2023-04-12T22:33:43.298Z] 04944245beec: Pull complete [2023-04-12T22:33:47.550Z] 699f458cf7ca: Pull complete [2023-04-12T22:33:47.818Z] 765212b225bb: Pull complete [2023-04-12T22:33:48.402Z] f23df028b6ca: Pull complete [2023-04-12T22:33:48.669Z] d65c8cfc05b1: Pull complete [2023-04-12T22:34:03.661Z] 2437ff75d9bd: Pull complete [2023-04-12T22:34:03.661Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-12T22:34:03.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T22:34:03.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T22:34:03.985Z] prd-ubuntu20.04-docker-arm64-4c-16g-7606 does not seem to be running inside a container [2023-04-12T22:34:04.059Z] $ 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-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-12T22:34:06.694Z] $ docker top 76151127c6e677463f61c681f4d1744629533b36b786da4cdd73fb8641ea2de8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:34:07.613Z] ---> job-cost.sh [2023-04-12T22:34:07.613Z] lf-activate-venv: SKIPPING [2023-04-12T22:34:07.613Z] INFO: No Stack... [2023-04-12T22:34:08.196Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-12T22:34:08.780Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T22:34:09.442Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-04-12T22:34:09.442Z] + cut -d, -f6 [Pipeline] lock [2023-04-12T22:34:09.524Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-304-1-stack-cost] [2023-04-12T22:34:09.529Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-1-stack-cost] did not exist. Created. [2023-04-12T22:34:09.529Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-304-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-12T22:34:10.262Z] /w/workspace/device-onvif-camera/1@tmp/durable-888d3e16/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-12T22:34:10.933Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-12T22:34:10.969Z] Warning: overwriting stash ‘stack-cost’ [2023-04-12T22:34:11.031Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T22:34:11.046Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-304-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T22:34:11.131Z] $ docker stop --time=1 76151127c6e677463f61c681f4d1744629533b36b786da4cdd73fb8641ea2de8 [2023-04-12T22:34:14.432Z] $ docker rm -f --volumes 76151127c6e677463f61c681f4d1744629533b36b786da4cdd73fb8641ea2de8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-12T22:34:15.397Z] provisioning config files... [2023-04-12T22:34:15.404Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config978300318401646354tmp [Pipeline] { [Pipeline] sh [2023-04-12T22:34:15.743Z] + set +x [2023-04-12T22:34:15.743Z] + + curlbash -s -s https://codecov.io/bash -- [2023-04-12T22:34:15.743Z] [2023-04-12T22:34:15.743Z] [2023-04-12T22:34:15.743Z] _____ _ [2023-04-12T22:34:15.743Z] / ____| | | [2023-04-12T22:34:15.743Z] | | ___ __| | ___ ___ _____ __ [2023-04-12T22:34:15.743Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-12T22:34:15.743Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-12T22:34:15.743Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-12T22:34:15.743Z] Bash-1.0.6 [2023-04-12T22:34:15.743Z] [2023-04-12T22:34:15.743Z] [2023-04-12T22:34:15.743Z] ==> git version 2.25.1 found [2023-04-12T22:34:15.743Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-12T22:34:15.743Z] Release-Date: 2020-01-08 [2023-04-12T22:34:15.743Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-12T22:34:15.743Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-12T22:34:15.743Z] ==> Jenkins CI detected. [2023-04-12T22:34:15.743Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-304 [2023-04-12T22:34:15.743Z] project root: . [2023-04-12T22:34:15.743Z] --> token set from env [2023-04-12T22:34:15.743Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-12T22:34:15.743Z] ==> Running gcov in . (disable via -X gcov) [2023-04-12T22:34:16.003Z] ==> Python coveragepy not found [2023-04-12T22:34:16.003Z] ==> Searching for coverage reports in: [2023-04-12T22:34:16.003Z] + . [2023-04-12T22:34:16.003Z] -> Found 1 reports [2023-04-12T22:34:16.003Z] ==> Detecting git/mercurial file structure [2023-04-12T22:34:16.003Z] ==> Reading reports [2023-04-12T22:34:16.003Z] + ./coverage.out bytes=79184 [2023-04-12T22:34:16.003Z] ==> Appending adjustments [2023-04-12T22:34:16.003Z] https://docs.codecov.io/docs/fixing-reports [2023-04-12T22:34:16.003Z] + Found adjustments [2023-04-12T22:34:16.003Z] ==> Gzipping contents [2023-04-12T22:34:16.003Z] 12K /tmp/codecov.KZjLaP.gz [2023-04-12T22:34:16.003Z] ==> Uploading reports [2023-04-12T22:34:16.003Z] url: https://codecov.io [2023-04-12T22:34:16.003Z] query: branch=PR-304&commit=ec48d607c070a8acc44daa594edc59cbb38205db&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-304%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=304&job=&cmd_args= [2023-04-12T22:34:16.003Z] -> Pinging Codecov [2023-04-12T22:34:16.003Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-304&commit=ec48d607c070a8acc44daa594edc59cbb38205db&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-304%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=304&job=&cmd_args= [2023-04-12T22:34:16.264Z] -> Uploading to [2023-04-12T22:34:16.264Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-12/F29A59C45E3A92E06B3E522C9905F8EF/ec48d607c070a8acc44daa594edc59cbb38205db/c1024e74-4d98-4a35-83c9-31459a7edb41.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230412T223416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=990e714832864ea2f106915a24d77bfb181901e92825ca889910842d106b94d6 [2023-04-12T22:34:16.264Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-12T22:34:16.264Z] Dload Upload Total Spent Left Speed [2023-04-12T22:34:16.525Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10858 0 0 100 10858 0 39919 --:--:-- --:--:-- --:--:-- 40066 [2023-04-12T22:34:16.525Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ec48d607c070a8acc44daa594edc59cbb38205db [Pipeline] } [2023-04-12T22:34:16.552Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-12T22:34:18.290Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-304/archives ] [2023-04-12T22:34:18.291Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-304/archives [2023-04-12T22:34:18.291Z] total 16 [2023-04-12T22:34:18.291Z] drwxr-xr-x 3 root root 4096 Apr 12 22:24 . [2023-04-12T22:34:18.291Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 22:24 .. [2023-04-12T22:34:18.291Z] drwxr-xr-x 2 root root 4096 Apr 12 22:24 cost [2023-04-12T22:34:18.291Z] -rw-r--r-- 1 root root 91 Apr 12 22:24 cost.csv [2023-04-12T22:34:18.291Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-304/archives [2023-04-12T22:34:18.291Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-304/archives [2023-04-12T22:34:18.291Z] total 16 [2023-04-12T22:34:18.291Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 22:24 . [2023-04-12T22:34:18.291Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 22:24 .. [2023-04-12T22:34:18.291Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 22:24 cost [2023-04-12T22:34:18.291Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 12 22:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:34:18.618Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:34:19.506Z] ---> package-listing.sh [2023-04-12T22:34:19.506Z] ++ facter osfamily [2023-04-12T22:34:19.506Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-12T22:34:19.766Z] + OS_FAMILY=debian [2023-04-12T22:34:19.766Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-304 [2023-04-12T22:34:19.766Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-12T22:34:19.766Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-12T22:34:19.766Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-12T22:34:19.766Z] + PACKAGES=/tmp/packages_start.txt [2023-04-12T22:34:19.766Z] + '[' /w/workspace/undry_device-onvif-camera_PR-304 ']' [2023-04-12T22:34:19.766Z] + PACKAGES=/tmp/packages_end.txt [2023-04-12T22:34:19.766Z] + case "${OS_FAMILY}" in [2023-04-12T22:34:19.766Z] + dpkg -l [2023-04-12T22:34:19.766Z] + grep '^ii' [2023-04-12T22:34:19.766Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-12T22:34:19.766Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-12T22:34:19.766Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-12T22:34:19.766Z] + '[' /w/workspace/undry_device-onvif-camera_PR-304 ']' [2023-04-12T22:34:19.766Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-304/archives/ [2023-04-12T22:34:19.766Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-304/archives/ [Pipeline] echo [2023-04-12T22:34:19.798Z] 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/undry_device-onvif-camera_PR-304/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-12T22:34:20.088Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T22:34:20.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T22:34:20.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T22:34:20.863Z] prd-ubuntu20.04-docker-8c-8g-7604 does not seem to be running inside a container [2023-04-12T22:34:20.897Z] $ 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/undry_device-onvif-camera_PR-304/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-304 -v /w/workspace/undry_device-onvif-camera_PR-304:/w/workspace/undry_device-onvif-camera_PR-304:rw,z -v /w/workspace/undry_device-onvif-camera_PR-304@tmp:/w/workspace/undry_device-onvif-camera_PR-304@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-12T22:34:21.118Z] $ docker top dc869a793dd1ade29c8fae203d605d439b5d04f38b4c4beeed86b4e3b0bbf6ef -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T22:34:21.512Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-12T22:34:21.823Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-12T22:34:22.130Z] + ls /var/log/sa-host [2023-04-12T22:34:22.130Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T22:34:22.267Z] provisioning config files... [2023-04-12T22:34:22.276Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-304@tmp/config5875748571292481891tmp [Pipeline] { [Pipeline] echo [2023-04-12T22:34:22.332Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:34:22.649Z] ---> create-netrc.sh [Pipeline] } [2023-04-12T22:34:22.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:34:23.077Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-12T22:34:23.112Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:34:23.426Z] ---> sudo-logs.sh [2023-04-12T22:34:23.426Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-12T22:34:23.538Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:34:23.851Z] ---> job-cost.sh [2023-04-12T22:34:23.851Z] lf-activate-venv: SKIPPING [2023-04-12T22:34:23.851Z] DEBUG: total: 0.2199999988079071 [2023-04-12T22:34:23.851Z] INFO: Retrieving Stack Cost... [2023-04-12T22:34:24.111Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T22:34:24.682Z] INFO: Archiving Costs [Pipeline] echo [2023-04-12T22:34:24.713Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T22:34:25.021Z] ---> logs-deploy.sh [2023-04-12T22:34:25.021Z] lf-activate-venv: SKIPPING [2023-04-12T22:34:25.021Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-304/1 [2023-04-12T22:34:25.021Z] INFO: archiving workspace using pattern(s): [2023-04-12T22:34:25.959Z] Archives upload complete. [2023-04-12T22:34:26.219Z] INFO: archiving logs to Nexus