Pull request #218 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 main at 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 rather than 40714b3be532bfffdfd96d977cf5a452468e714c Obtained Jenkinsfile from 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 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-ssh9169808657870276490.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5245392170782367070.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-218/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-218/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12094895693522957648.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-218/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17726948499852959475.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5646656878144788939.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-218/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-218/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2742394540491751526.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3045 in /w/workspace/undry_device-onvif-camera_PR-218 [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-218 # 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/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 into PR head commit 40714b3be532bfffdfd96d977cf5a452468e714c Merge succeeded, producing 40714b3be532bfffdfd96d977cf5a452468e714c Checking out Revision 40714b3be532bfffdfd96d977cf5a452468e714c (PR-218) > git config core.sparsecheckout # timeout=10 > git checkout -f 40714b3be532bfffdfd96d977cf5a452468e714c # 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 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 40714b3be532bfffdfd96d977cf5a452468e714c # timeout=10 Commit message: "docs:updated validation metrics with Hikvision camera" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-19T01:43:52.092Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-19T01:43:52.263Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-19T01:43:52.420Z] ========================================================= [2023-01-19T01:43:52.420Z] EdgeX Global Pipelines Version Info [2023-01-19T01:43:52.420Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:43:53.171Z] ------------------- [2023-01-19T01:43:53.171Z] stable info: [2023-01-19T01:43:53.171Z] ------------------- [2023-01-19T01:43:53.171Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-19T01:43:53.171Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T01:43:53.171Z] Message: update stable to v1.0.244 [2023-01-19T01:43:53.739Z] ------------------- [2023-01-19T01:43:53.739Z] experimental info: [2023-01-19T01:43:53.739Z] ------------------- [2023-01-19T01:43:53.739Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-19T01:43:53.739Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-19T01:43:53.739Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-19T01:43:54.024Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-19T01:43:54.062Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-19T01:43:54.104Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-19T01:43:54.144Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-19T01:43:54.179Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-19T01:43:54.216Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-19T01:43:54.252Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-19T01:43:54.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-19T01:43:54.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-19T01:43:54.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-19T01:43:54.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-19T01:43:54.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-19T01:43:54.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-19T01:43:54.533Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-19T01:43:54.580Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T01:43:54.620Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-19T01:43:54.662Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T01:43:54.702Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-19T01:43:54.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-19T01:43:54.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-19T01:43:54.829Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-19T01:43:54.868Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-19T01:43:54.910Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-19T01:43:54.946Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-19T01:43:54.982Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-19T01:43:55.018Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-19T01:43:55.053Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-19T01:43:55.090Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-218 [Pipeline] echo [2023-01-19T01:43:55.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-218 [Pipeline] echo [2023-01-19T01:43:55.170Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-218 [Pipeline] echo [2023-01-19T01:43:55.213Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 40714b3be532bfffdfd96d977cf5a452468e714c [Pipeline] echo [2023-01-19T01:43:55.253Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 40714b3 [Pipeline] echo [2023-01-19T01:43:55.291Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T01:43:55.405Z] provisioning config files... [2023-01-19T01:43:55.420Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-218@tmp/config16650589217521329300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:43:55.757Z] ---> docker-login.sh [2023-01-19T01:43:55.757Z] nexus3.edgexfoundry.org:10001 [2023-01-19T01:43:56.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:43:56.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:43:56.019Z] Configure a credential helper to remove this warning. See [2023-01-19T01:43:56.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:43:56.019Z] [2023-01-19T01:43:56.019Z] Login Succeeded [2023-01-19T01:43:56.019Z] nexus3.edgexfoundry.org:10002 [2023-01-19T01:43:56.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:43:56.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:43:56.280Z] Configure a credential helper to remove this warning. See [2023-01-19T01:43:56.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:43:56.280Z] [2023-01-19T01:43:56.280Z] Login Succeeded [2023-01-19T01:43:56.280Z] nexus3.edgexfoundry.org:10003 [2023-01-19T01:43:56.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:43:56.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:43:56.280Z] Configure a credential helper to remove this warning. See [2023-01-19T01:43:56.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:43:56.280Z] [2023-01-19T01:43:56.280Z] Login Succeeded [2023-01-19T01:43:56.280Z] nexus3.edgexfoundry.org:10004 [2023-01-19T01:43:56.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:43:56.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:43:56.280Z] Configure a credential helper to remove this warning. See [2023-01-19T01:43:56.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:43:56.280Z] [2023-01-19T01:43:56.280Z] Login Succeeded [2023-01-19T01:43:56.540Z] docker.io [2023-01-19T01:43:56.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:43:56.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:43:56.802Z] Configure a credential helper to remove this warning. See [2023-01-19T01:43:56.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:43:56.802Z] [2023-01-19T01:43:56.802Z] Login Succeeded [2023-01-19T01:43:56.802Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T01:43:56.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-19T01:43:57.463Z] + git rev-list -1 --merges 40714b3be532bfffdfd96d977cf5a452468e714c~1..40714b3be532bfffdfd96d977cf5a452468e714c [Pipeline] echo [2023-01-19T01:43:57.528Z] -----------> git rev-list -1 --merges 40714b3be532bfffdfd96d977cf5a452468e714c~1..40714b3be532bfffdfd96d977cf5a452468e714c 40714b3be532bfffdfd96d977cf5a452468e714c [false] [Pipeline] sh [2023-01-19T01:43:57.844Z] + git log --format=format:%s -1 40714b3be532bfffdfd96d977cf5a452468e714c [Pipeline] echo [2023-01-19T01:43:57.882Z] ========================================================= [2023-01-19T01:43:57.882Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-19T01:43:57.882Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T01:43:58.331Z] + git log --format=format:%s -1 40714b3be532bfffdfd96d977cf5a452468e714c [Pipeline] echo [2023-01-19T01:43:58.375Z] [semverPrep] GIT_COMMIT: 40714b3be532bfffdfd96d977cf5a452468e714c, Commit Message: docs:updated validation metrics with Hikvision camera [Pipeline] echo [2023-01-19T01:43:58.405Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-19T01:43:58.802Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-19T01:43:58.802Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-19T01:43:58.802Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-19T01:43:58.802Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-19T01:43:58.802Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-19T01:43:58.802Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-19T01:43:58.802Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:43:59.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T01:43:59.282Z] [2023-01-19T01:43:59.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:43:59.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T01:43:59.704Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-19T01:43:59.704Z] b85a868b505f: Pulling fs layer [2023-01-19T01:43:59.704Z] e2be974225ed: Pulling fs layer [2023-01-19T01:43:59.704Z] 339a4e72a1f5: Pulling fs layer [2023-01-19T01:43:59.704Z] 988bab9f4d93: Pulling fs layer [2023-01-19T01:43:59.704Z] 1469e6f7b9e6: Pulling fs layer [2023-01-19T01:43:59.704Z] 988bab9f4d93: Waiting [2023-01-19T01:43:59.704Z] eaf3925da568: Pulling fs layer [2023-01-19T01:43:59.704Z] bab4dde63d76: Pulling fs layer [2023-01-19T01:43:59.704Z] 1469e6f7b9e6: Waiting [2023-01-19T01:43:59.704Z] bde34c3a00c8: Pulling fs layer [2023-01-19T01:43:59.704Z] eaf3925da568: Waiting [2023-01-19T01:43:59.704Z] bab4dde63d76: Waiting [2023-01-19T01:43:59.704Z] b352a97aabf1: Pulling fs layer [2023-01-19T01:43:59.704Z] 4872d77fe225: Pulling fs layer [2023-01-19T01:43:59.704Z] b352a97aabf1: Waiting [2023-01-19T01:43:59.704Z] bde34c3a00c8: Waiting [2023-01-19T01:43:59.704Z] 5851b861e8e6: Pulling fs layer [2023-01-19T01:43:59.704Z] 4872d77fe225: Waiting [2023-01-19T01:43:59.704Z] 5851b861e8e6: Waiting [2023-01-19T01:43:59.704Z] e2be974225ed: Verifying Checksum [2023-01-19T01:43:59.704Z] e2be974225ed: Download complete [2023-01-19T01:43:59.704Z] 988bab9f4d93: Verifying Checksum [2023-01-19T01:43:59.704Z] 988bab9f4d93: Download complete [2023-01-19T01:43:59.970Z] 1469e6f7b9e6: Verifying Checksum [2023-01-19T01:43:59.970Z] 1469e6f7b9e6: Download complete [2023-01-19T01:43:59.970Z] eaf3925da568: Verifying Checksum [2023-01-19T01:43:59.970Z] eaf3925da568: Download complete [2023-01-19T01:43:59.970Z] 339a4e72a1f5: Verifying Checksum [2023-01-19T01:43:59.970Z] 339a4e72a1f5: Download complete [2023-01-19T01:43:59.970Z] bde34c3a00c8: Verifying Checksum [2023-01-19T01:43:59.970Z] bde34c3a00c8: Download complete [2023-01-19T01:43:59.970Z] b352a97aabf1: Verifying Checksum [2023-01-19T01:43:59.970Z] b352a97aabf1: Download complete [2023-01-19T01:44:00.232Z] 4872d77fe225: Verifying Checksum [2023-01-19T01:44:00.232Z] 4872d77fe225: Download complete [2023-01-19T01:44:00.232Z] b85a868b505f: Verifying Checksum [2023-01-19T01:44:00.232Z] b85a868b505f: Download complete [2023-01-19T01:44:00.232Z] 5851b861e8e6: Verifying Checksum [2023-01-19T01:44:00.232Z] 5851b861e8e6: Download complete [2023-01-19T01:44:00.491Z] bab4dde63d76: Verifying Checksum [2023-01-19T01:44:00.491Z] bab4dde63d76: Download complete [2023-01-19T01:44:01.056Z] b85a868b505f: Pull complete [2023-01-19T01:44:01.316Z] e2be974225ed: Pull complete [2023-01-19T01:44:01.575Z] 339a4e72a1f5: Pull complete [2023-01-19T01:44:01.835Z] 988bab9f4d93: Pull complete [2023-01-19T01:44:02.092Z] 1469e6f7b9e6: Pull complete [2023-01-19T01:44:02.092Z] eaf3925da568: Pull complete [2023-01-19T01:44:03.467Z] bab4dde63d76: Pull complete [2023-01-19T01:44:03.726Z] bde34c3a00c8: Pull complete [2023-01-19T01:44:03.726Z] b352a97aabf1: Pull complete [2023-01-19T01:44:03.726Z] 4872d77fe225: Pull complete [2023-01-19T01:44:03.984Z] 5851b861e8e6: Pull complete [2023-01-19T01:44:03.984Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-19T01:44:03.984Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-19T01:44:03.984Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T01:44:04.200Z] prd-ubuntu20.04-docker-8c-8g-3045 does not seem to be running inside a container [2023-01-19T01:44:04.231Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-218 -v /w/workspace/undry_device-onvif-camera_PR-218:/w/workspace/undry_device-onvif-camera_PR-218:rw,z -v /w/workspace/undry_device-onvif-camera_PR-218@tmp:/w/workspace/undry_device-onvif-camera_PR-218@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-01-19T01:44:05.423Z] $ docker top 12ee0eab9729bba3d841b7a5b2fd7cb23840503279f16fc3a434d063ae26324b -eo pid,comm [2023-01-19T01:44:05.474Z] 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-01-19T01:44:05.474Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-19T01:44:05.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T01:44:05.602Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T01:44:05.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T01:44:05.710Z] $ docker exec 12ee0eab9729bba3d841b7a5b2fd7cb23840503279f16fc3a434d063ae26324b ssh-agent [2023-01-19T01:44:05.808Z] SSH_AUTH_SOCK=/tmp/ssh-lETgwNFLT6TF/agent.33 [2023-01-19T01:44:05.808Z] SSH_AGENT_PID=39 [2023-01-19T01:44:05.813Z] Running ssh-add (command line suppressed) [2023-01-19T01:44:05.915Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-218@tmp/private_key_9682058474982687267.key (/w/workspace/undry_device-onvif-camera_PR-218@tmp/private_key_9682058474982687267.key) [2023-01-19T01:44:05.925Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T01:44:06.255Z] + git tag --points-at HEAD [Pipeline] } [2023-01-19T01:44:06.281Z] $ docker exec --env ******** --env ******** 12ee0eab9729bba3d841b7a5b2fd7cb23840503279f16fc3a434d063ae26324b ssh-agent -k [2023-01-19T01:44:06.387Z] unset SSH_AUTH_SOCK; [2023-01-19T01:44:06.388Z] unset SSH_AGENT_PID; [2023-01-19T01:44:06.388Z] echo Agent pid 39 killed; [2023-01-19T01:44:06.397Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-19T01:44:06.477Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-19T01:44:06.478Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-19T01:44:06.586Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-19T01:44:06.592Z] $ docker exec 12ee0eab9729bba3d841b7a5b2fd7cb23840503279f16fc3a434d063ae26324b ssh-agent [2023-01-19T01:44:06.688Z] SSH_AUTH_SOCK=/tmp/ssh-LgJxYSMPuJwI/agent.71 [2023-01-19T01:44:06.688Z] SSH_AGENT_PID=77 [2023-01-19T01:44:06.692Z] Running ssh-add (command line suppressed) [2023-01-19T01:44:06.795Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-218@tmp/private_key_8264689054798941251.key (/w/workspace/undry_device-onvif-camera_PR-218@tmp/private_key_8264689054798941251.key) [2023-01-19T01:44:06.805Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-19T01:44:07.133Z] + git semver init [2023-01-19T01:44:07.392Z] 2023-01-19 01:44:07,295 [run_init] DEBUG init version:0.0.0 force:False [2023-01-19T01:44:07.392Z] 2023-01-19 01:44:07,296 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-218/.semver [2023-01-19T01:44:07.392Z] 2023-01-19 01:44:07,297 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-218/.semver [2023-01-19T01:44:07.392Z] 2023-01-19 01:44:07,297 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-218/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-218, universal_newlines=False, shell=None, istream=None) [2023-01-19T01:44:08.331Z] 2023-01-19 01:44:08,333 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-218/.git/info/exclude [2023-01-19T01:44:08.594Z] 2023-01-19 01:44:08,333 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-218/.semver/PR-218 with force:False [2023-01-19T01:44:08.594Z] 2023-01-19 01:44:08,333 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-218/.semver/PR-218 [2023-01-19T01:44:08.594Z] 2023-01-19 01:44:08,338 [execute] INFO git cat-file --batch-check [2023-01-19T01:44:08.594Z] 2023-01-19 01:44:08,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-218/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T01:44:08.594Z] 2023-01-19 01:44:08,345 [execute] INFO git cat-file --batch [2023-01-19T01:44:08.594Z] 2023-01-19 01:44:08,345 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-218/.semver, universal_newlines=False, shell=None, istream=) [2023-01-19T01:44:08.594Z] 2023-01-19 01:44:08,351 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-218/.semver/PR-218 [2023-01-19T01:44:08.594Z] 0.0.0 [Pipeline] } [2023-01-19T01:44:08.622Z] $ docker exec --env ******** --env ******** 12ee0eab9729bba3d841b7a5b2fd7cb23840503279f16fc3a434d063ae26324b ssh-agent -k [2023-01-19T01:44:08.720Z] unset SSH_AUTH_SOCK; [2023-01-19T01:44:08.720Z] unset SSH_AGENT_PID; [2023-01-19T01:44:08.720Z] echo Agent pid 77 killed; [2023-01-19T01:44:08.725Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-19T01:44:09.140Z] + git semver [Pipeline] } [2023-01-19T01:44:09.428Z] $ docker stop --time=1 12ee0eab9729bba3d841b7a5b2fd7cb23840503279f16fc3a434d063ae26324b [2023-01-19T01:44:10.706Z] $ docker rm -f --volumes 12ee0eab9729bba3d841b7a5b2fd7cb23840503279f16fc3a434d063ae26324b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T01:44:11.094Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-19T01:44:11.373Z] Stashed 1 file(s) [Pipeline] echo [2023-01-19T01:44:11.390Z] [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-01-19T01:44:12.006Z] provisioning config files... [2023-01-19T01:44:12.015Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-218@tmp/config6240456592209125645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:44:12.362Z] ---> docker-login.sh [2023-01-19T01:44:12.362Z] nexus3.edgexfoundry.org:10001 [2023-01-19T01:44:12.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:44:12.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:44:12.362Z] Configure a credential helper to remove this warning. See [2023-01-19T01:44:12.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:44:12.362Z] [2023-01-19T01:44:12.362Z] Login Succeeded [2023-01-19T01:44:12.362Z] nexus3.edgexfoundry.org:10002 [2023-01-19T01:44:12.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:44:12.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:44:12.362Z] Configure a credential helper to remove this warning. See [2023-01-19T01:44:12.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:44:12.362Z] [2023-01-19T01:44:12.362Z] Login Succeeded [2023-01-19T01:44:12.362Z] nexus3.edgexfoundry.org:10003 [2023-01-19T01:44:12.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:44:12.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:44:12.621Z] Configure a credential helper to remove this warning. See [2023-01-19T01:44:12.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:44:12.621Z] [2023-01-19T01:44:12.621Z] Login Succeeded [2023-01-19T01:44:12.621Z] nexus3.edgexfoundry.org:10004 [2023-01-19T01:44:12.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:44:12.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:44:12.621Z] Configure a credential helper to remove this warning. See [2023-01-19T01:44:12.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:44:12.621Z] [2023-01-19T01:44:12.621Z] Login Succeeded [2023-01-19T01:44:12.621Z] docker.io [2023-01-19T01:44:12.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:44:12.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:44:12.881Z] Configure a credential helper to remove this warning. See [2023-01-19T01:44:12.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:44:12.881Z] [2023-01-19T01:44:12.881Z] Login Succeeded [2023-01-19T01:44:12.881Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T01:44:12.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T01:44:13.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T01:44:13.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T01:44:13.199Z] ========================================================= [2023-01-19T01:44:13.199Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-19T01:44:13.199Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:44:13.699Z] + 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-01-19T01:44:13.699Z] Sending build context to Docker daemon 27.67MB [2023-01-19T01:44:13.699Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T01:44:13.699Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-19T01:44:13.962Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-19T01:44:13.962Z] 213ec9aee27d: Pulling fs layer [2023-01-19T01:44:13.962Z] 4583459ba037: Pulling fs layer [2023-01-19T01:44:13.962Z] 93c1e223e6f2: Pulling fs layer [2023-01-19T01:44:13.962Z] 53926ce57604: Pulling fs layer [2023-01-19T01:44:13.962Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-19T01:44:13.962Z] 22ff95d597cd: Pulling fs layer [2023-01-19T01:44:13.962Z] 12d6caf4c0d1: Pulling fs layer [2023-01-19T01:44:13.962Z] 96b7cbca73a9: Pulling fs layer [2023-01-19T01:44:13.962Z] a7acece74701: Pulling fs layer [2023-01-19T01:44:13.962Z] 53926ce57604: Waiting [2023-01-19T01:44:13.962Z] 21b2b0c7a3f4: Waiting [2023-01-19T01:44:13.962Z] 12d6caf4c0d1: Waiting [2023-01-19T01:44:13.962Z] a7acece74701: Waiting [2023-01-19T01:44:13.962Z] 22ff95d597cd: Waiting [2023-01-19T01:44:13.962Z] 93c1e223e6f2: Verifying Checksum [2023-01-19T01:44:13.962Z] 93c1e223e6f2: Download complete [2023-01-19T01:44:13.962Z] 4583459ba037: Verifying Checksum [2023-01-19T01:44:13.962Z] 4583459ba037: Download complete [2023-01-19T01:44:13.962Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-19T01:44:13.962Z] 21b2b0c7a3f4: Download complete [2023-01-19T01:44:13.962Z] 22ff95d597cd: Download complete [2023-01-19T01:44:13.962Z] 213ec9aee27d: Verifying Checksum [2023-01-19T01:44:13.962Z] 213ec9aee27d: Download complete [2023-01-19T01:44:13.962Z] 12d6caf4c0d1: Verifying Checksum [2023-01-19T01:44:13.962Z] 12d6caf4c0d1: Download complete [2023-01-19T01:44:13.962Z] 213ec9aee27d: Pull complete [2023-01-19T01:44:14.228Z] 4583459ba037: Pull complete [2023-01-19T01:44:14.228Z] 93c1e223e6f2: Pull complete [2023-01-19T01:44:14.826Z] a7acece74701: Verifying Checksum [2023-01-19T01:44:14.826Z] a7acece74701: Download complete [2023-01-19T01:44:15.085Z] 53926ce57604: Download complete [2023-01-19T01:44:15.085Z] 96b7cbca73a9: Verifying Checksum [2023-01-19T01:44:15.085Z] 96b7cbca73a9: Download complete [2023-01-19T01:44:19.276Z] 53926ce57604: Pull complete [2023-01-19T01:44:19.276Z] 21b2b0c7a3f4: Pull complete [2023-01-19T01:44:19.276Z] 22ff95d597cd: Pull complete [2023-01-19T01:44:19.276Z] 12d6caf4c0d1: Pull complete [2023-01-19T01:44:20.647Z] 96b7cbca73a9: Pull complete [2023-01-19T01:44:21.225Z] a7acece74701: Pull complete [2023-01-19T01:44:21.225Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-19T01:44:21.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-19T01:44:21.484Z] ---> db6d94c90886 [2023-01-19T01:44:21.484Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-19T01:44:22.861Z] ---> Running in 6b6169fa9f9b [2023-01-19T01:44:22.861Z] Removing intermediate container 6b6169fa9f9b [2023-01-19T01:44:22.861Z] ---> ba72a49a10da [2023-01-19T01:44:22.861Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T01:44:22.861Z] ---> Running in fda7855b832c [2023-01-19T01:44:22.861Z] Removing intermediate container fda7855b832c [2023-01-19T01:44:22.861Z] ---> 42fb8d14f3b4 [2023-01-19T01:44:22.861Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-19T01:44:22.861Z] ---> Running in 747eb10dd8a6 [2023-01-19T01:44:23.119Z] Removing intermediate container 747eb10dd8a6 [2023-01-19T01:44:23.119Z] ---> 50e066ce7721 [2023-01-19T01:44:23.119Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T01:44:23.119Z] ---> Running in 03ab3103bf8b [2023-01-19T01:44:23.119Z] Removing intermediate container 03ab3103bf8b [2023-01-19T01:44:23.119Z] ---> d2a661f75f74 [2023-01-19T01:44:23.119Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-19T01:44:23.119Z] ---> Running in ab49c09b1c2d [2023-01-19T01:44:23.377Z] Removing intermediate container ab49c09b1c2d [2023-01-19T01:44:23.377Z] ---> c33f288fae37 [2023-01-19T01:44:23.377Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T01:44:23.377Z] ---> Running in 95297bd31418 [2023-01-19T01:44:23.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T01:44:23.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T01:44:24.157Z] OK: 211 MiB in 51 packages [2023-01-19T01:44:24.415Z] Removing intermediate container 95297bd31418 [2023-01-19T01:44:24.415Z] ---> 3f30e1b31d20 [2023-01-19T01:44:24.415Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-19T01:44:24.415Z] ---> Running in e6d815517fdf [2023-01-19T01:44:24.415Z] Removing intermediate container e6d815517fdf [2023-01-19T01:44:24.415Z] ---> bf3b871b883c [2023-01-19T01:44:24.415Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-19T01:44:24.673Z] ---> 99bc701d0c1f [2023-01-19T01:44:24.673Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T01:44:24.673Z] ---> Running in 3cea612b02b7 [2023-01-19T01:44:26.813Z] Still waiting to schedule task [2023-01-19T01:44:26.814Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3044’ [2023-01-19T01:44:51.240Z] Removing intermediate container 3cea612b02b7 [2023-01-19T01:44:51.240Z] ---> d7638a2bbfb1 [2023-01-19T01:44:51.240Z] Step 12/13 : COPY . . [2023-01-19T01:44:51.240Z] ---> d97da0ca9ada [2023-01-19T01:44:51.240Z] Step 13/13 : RUN ${MAKE} [2023-01-19T01:44:51.240Z] ---> Running in ba2a1138071a [2023-01-19T01:44:51.240Z] noop [2023-01-19T01:44:51.240Z] Removing intermediate container ba2a1138071a [2023-01-19T01:44:51.240Z] ---> e2625bfceb82 [2023-01-19T01:44:51.240Z] Successfully built e2625bfceb82 [2023-01-19T01:44:51.240Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:44:51.681Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T01:44:51.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T01:44:51.822Z] prd-ubuntu20.04-docker-8c-8g-3045 does not seem to be running inside a container [2023-01-19T01:44:51.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-218 -v /w/workspace/undry_device-onvif-camera_PR-218:/w/workspace/undry_device-onvif-camera_PR-218:rw,z -v /w/workspace/undry_device-onvif-camera_PR-218@tmp:/w/workspace/undry_device-onvif-camera_PR-218@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-01-19T01:44:52.188Z] $ docker top 41ec2502b4d751e8b64f7ce6e9830311923d9ab4079a22dcb8e5551c861a825c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T01:44:52.570Z] + go version [2023-01-19T01:44:52.571Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-19T01:44:52.605Z] $ docker stop --time=1 41ec2502b4d751e8b64f7ce6e9830311923d9ab4079a22dcb8e5551c861a825c [2023-01-19T01:44:53.895Z] $ docker rm -f --volumes 41ec2502b4d751e8b64f7ce6e9830311923d9ab4079a22dcb8e5551c861a825c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:44:54.602Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-19T01:44:54.603Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T01:44:54.747Z] prd-ubuntu20.04-docker-8c-8g-3045 does not seem to be running inside a container [2023-01-19T01:44:54.779Z] $ 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-218 -v /w/workspace/undry_device-onvif-camera_PR-218:/w/workspace/undry_device-onvif-camera_PR-218:rw,z -v /w/workspace/undry_device-onvif-camera_PR-218@tmp:/w/workspace/undry_device-onvif-camera_PR-218@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-01-19T01:44:55.133Z] $ docker top 986f1d940670e2e69c2e7b44e535cdd386e7aad17edd79b48d13440a454a2ae1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T01:44:55.520Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-218 [Pipeline] fileExists [Pipeline] sh [2023-01-19T01:44:55.877Z] + make test [2023-01-19T01:44:55.877Z] go test ./... -coverprofile=coverage.out ./... [2023-01-19T01:44:56.133Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-19T01:45:06.109Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-19T01:45:08.639Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 29.3% of statements [2023-01-19T01:45:08.639Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-19T01:45:08.639Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.391s coverage: 86.5% of statements [2023-01-19T01:45:16.745Z] 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-01-19T01:45:16.745Z] go vet ./... [2023-01-19T01:45:19.276Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T01:45:19.276Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T01:45:19.276Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-19T01:45:19.321Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T01:45:19.352Z] $ docker stop --time=1 986f1d940670e2e69c2e7b44e535cdd386e7aad17edd79b48d13440a454a2ae1 [2023-01-19T01:45:21.385Z] $ docker rm -f --volumes 986f1d940670e2e69c2e7b44e535cdd386e7aad17edd79b48d13440a454a2ae1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T01:45:21.886Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T01:45:21.962Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-19T01:45:22.647Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T01:45:22.955Z] + ls -al . [2023-01-19T01:45:22.955Z] total 248 [2023-01-19T01:45:22.955Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 01:44 . [2023-01-19T01:45:22.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 01:43 .. [2023-01-19T01:45:22.955Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 01:45 .git [2023-01-19T01:45:22.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 01:43 .github [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 19 01:43 .gitignore [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 19 01:43 .golangci.yml [2023-01-19T01:45:22.955Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 01:44 .semver [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 19 01:43 Attribution.txt [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 19 01:43 CHANGELOG.md [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 19 01:43 Dockerfile [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 01:43 GOVERNANCE.md [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 19 01:43 Jenkinsfile [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 19 01:43 LICENSE [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 19 01:43 Makefile [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 19 01:43 OWNERS.md [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 19 01:43 README.md [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 01:44 VERSION [2023-01-19T01:45:22.955Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 01:43 bin [2023-01-19T01:45:22.955Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 01:43 cmd [2023-01-19T01:45:22.955Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 19 01:45 coverage.out [2023-01-19T01:45:22.955Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 19 01:43 doc [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 19 01:43 go.mod [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 19 01:43 go.sum [2023-01-19T01:45:22.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 01:43 internal [2023-01-19T01:45:22.955Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 01:43 snap [2023-01-19T01:45:22.955Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 19 01:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:45:23.348Z] + 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=40714b3be532bfffdfd96d977cf5a452468e714c --label arch=amd64 --label version=0.0.0 . [2023-01-19T01:45:23.348Z] Sending build context to Docker daemon 27.75MB [2023-01-19T01:45:23.348Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T01:45:23.348Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-19T01:45:23.348Z] ---> e2625bfceb82 [2023-01-19T01:45:23.348Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-19T01:45:23.607Z] ---> Running in b659b7c972e5 [2023-01-19T01:45:23.607Z] Removing intermediate container b659b7c972e5 [2023-01-19T01:45:23.607Z] ---> cf62e7eab4ed [2023-01-19T01:45:23.607Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T01:45:23.866Z] ---> Running in 492c82a5a7e0 [2023-01-19T01:45:23.866Z] Removing intermediate container 492c82a5a7e0 [2023-01-19T01:45:23.866Z] ---> 64e803c0dfa5 [2023-01-19T01:45:23.866Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-19T01:45:23.866Z] ---> Running in 35e9f4368e1e [2023-01-19T01:45:23.866Z] Removing intermediate container 35e9f4368e1e [2023-01-19T01:45:23.866Z] ---> 5e4fb4329cb6 [2023-01-19T01:45:23.866Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T01:45:23.866Z] ---> Running in 2565b0306a8c [2023-01-19T01:45:23.866Z] Removing intermediate container 2565b0306a8c [2023-01-19T01:45:23.866Z] ---> de702a665187 [2023-01-19T01:45:23.866Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-19T01:45:24.124Z] ---> Running in b93d65c42880 [2023-01-19T01:45:24.124Z] Removing intermediate container b93d65c42880 [2023-01-19T01:45:24.124Z] ---> 1844b07ee97b [2023-01-19T01:45:24.124Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T01:45:24.124Z] ---> Running in 8ced82da102c [2023-01-19T01:45:24.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T01:45:24.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T01:45:24.900Z] OK: 211 MiB in 51 packages [2023-01-19T01:45:25.158Z] Removing intermediate container 8ced82da102c [2023-01-19T01:45:25.158Z] ---> 833751aef171 [2023-01-19T01:45:25.158Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-19T01:45:25.158Z] ---> Running in ab9cbf8f0de9 [2023-01-19T01:45:25.158Z] Removing intermediate container ab9cbf8f0de9 [2023-01-19T01:45:25.158Z] ---> b5d8a6db5599 [2023-01-19T01:45:25.158Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-19T01:45:25.158Z] ---> 82019ebd5b61 [2023-01-19T01:45:25.158Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T01:45:25.416Z] ---> Running in 69e1410a4c7c [2023-01-19T01:45:25.982Z] Removing intermediate container 69e1410a4c7c [2023-01-19T01:45:25.982Z] ---> 3939dac9ae1e [2023-01-19T01:45:25.982Z] Step 12/26 : COPY . . [2023-01-19T01:45:26.596Z] ---> 8689f551835c [2023-01-19T01:45:26.596Z] Step 13/26 : RUN ${MAKE} [2023-01-19T01:45:26.596Z] ---> Running in 4c75d584fbed [2023-01-19T01:45:26.853Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-01-19T01:45:44.923Z] Removing intermediate container 4c75d584fbed [2023-01-19T01:45:44.923Z] ---> 5e3c2f94d272 [2023-01-19T01:45:44.923Z] Step 14/26 : FROM alpine:3.16 [2023-01-19T01:45:45.491Z] 3.16: Pulling from library/alpine [2023-01-19T01:45:45.491Z] ca7dd9ec2225: Pulling fs layer [2023-01-19T01:45:45.750Z] ca7dd9ec2225: Verifying Checksum [2023-01-19T01:45:45.750Z] ca7dd9ec2225: Download complete [2023-01-19T01:45:46.016Z] ca7dd9ec2225: Pull complete [2023-01-19T01:45:46.016Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T01:45:46.016Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T01:45:46.016Z] ---> bfe296a52501 [2023-01-19T01:45:46.016Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-19T01:45:46.016Z] ---> Running in a20945b0b9df [2023-01-19T01:45:46.016Z] Removing intermediate container a20945b0b9df [2023-01-19T01:45:46.016Z] ---> 240700e65473 [2023-01-19T01:45:46.017Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-19T01:45:46.276Z] ---> Running in 343402986a4c [2023-01-19T01:45:46.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-19T01:45:46.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-19T01:45:46.795Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-19T01:45:46.795Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T01:45:46.795Z] OK: 6 MiB in 15 packages [2023-01-19T01:45:47.054Z] Removing intermediate container 343402986a4c [2023-01-19T01:45:47.054Z] ---> fd40f0304034 [2023-01-19T01:45:47.054Z] Step 17/26 : WORKDIR / [2023-01-19T01:45:47.312Z] ---> Running in 8566bf6a075b [2023-01-19T01:45:47.312Z] Removing intermediate container 8566bf6a075b [2023-01-19T01:45:47.312Z] ---> f81dc18285fa [2023-01-19T01:45:47.312Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-19T01:45:47.879Z] ---> f9c4fd8e4a40 [2023-01-19T01:45:47.879Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-19T01:45:47.879Z] ---> 622c80eb8c67 [2023-01-19T01:45:47.879Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-19T01:45:48.139Z] ---> dd7c14dab6eb [2023-01-19T01:45:48.139Z] Step 21/26 : EXPOSE 59984 [2023-01-19T01:45:48.139Z] ---> Running in 1871b38f7b24 [2023-01-19T01:45:48.139Z] Removing intermediate container 1871b38f7b24 [2023-01-19T01:45:48.139Z] ---> ffaa6b752beb [2023-01-19T01:45:48.139Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-19T01:45:48.139Z] ---> Running in 1ba8534f80c6 [2023-01-19T01:45:48.402Z] Removing intermediate container 1ba8534f80c6 [2023-01-19T01:45:48.402Z] ---> 73413cee935e [2023-01-19T01:45:48.402Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-19T01:45:48.402Z] ---> Running in 09bb8b8143d4 [2023-01-19T01:45:48.402Z] Removing intermediate container 09bb8b8143d4 [2023-01-19T01:45:48.402Z] ---> 1bf72dcb79c4 [2023-01-19T01:45:48.402Z] Step 24/26 : LABEL arch=amd64 [2023-01-19T01:45:48.402Z] ---> Running in 6f50281dcba8 [2023-01-19T01:45:48.402Z] Removing intermediate container 6f50281dcba8 [2023-01-19T01:45:48.402Z] ---> 5d3ec50ab3dd [2023-01-19T01:45:48.402Z] Step 25/26 : LABEL git_sha=40714b3be532bfffdfd96d977cf5a452468e714c [2023-01-19T01:45:48.661Z] ---> Running in 7f84da297a48 [2023-01-19T01:45:48.661Z] Removing intermediate container 7f84da297a48 [2023-01-19T01:45:48.661Z] ---> 8cc3cab9ee86 [2023-01-19T01:45:48.661Z] Step 26/26 : LABEL version=0.0.0 [2023-01-19T01:45:48.661Z] ---> Running in 9019f7dc2423 [2023-01-19T01:45:48.661Z] Removing intermediate container 9019f7dc2423 [2023-01-19T01:45:48.661Z] ---> 1c05c8d0942f [2023-01-19T01:45:48.661Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T01:45:48.661Z] Successfully built 1c05c8d0942f [2023-01-19T01:45:48.661Z] 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-01-19T01:45:49.545Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T01:45:49.545Z] [2023-01-19T01:45:49.545Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:45:49.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T01:45:49.925Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-19T01:45:49.925Z] 5eb5b503b376: Pulling fs layer [2023-01-19T01:45:49.925Z] 5c69ac0246d0: Pulling fs layer [2023-01-19T01:45:49.925Z] ec43610c2a17: Pulling fs layer [2023-01-19T01:45:49.925Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-19T01:45:49.925Z] 33b1e0a273af: Pulling fs layer [2023-01-19T01:45:49.925Z] 5d3b04190fa2: Pulling fs layer [2023-01-19T01:45:49.925Z] 2f39f015ded8: Pulling fs layer [2023-01-19T01:45:49.925Z] 2f39f015ded8: Waiting [2023-01-19T01:45:49.925Z] 33b1e0a273af: Waiting [2023-01-19T01:45:49.925Z] 5d3b04190fa2: Waiting [2023-01-19T01:45:49.925Z] 3a2ae6a8a46f: Waiting [2023-01-19T01:45:49.925Z] 5c69ac0246d0: Verifying Checksum [2023-01-19T01:45:49.925Z] 5c69ac0246d0: Download complete [2023-01-19T01:45:49.925Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-19T01:45:49.925Z] 3a2ae6a8a46f: Download complete [2023-01-19T01:45:50.196Z] 33b1e0a273af: Verifying Checksum [2023-01-19T01:45:50.196Z] 33b1e0a273af: Download complete [2023-01-19T01:45:50.196Z] ec43610c2a17: Verifying Checksum [2023-01-19T01:45:50.196Z] ec43610c2a17: Download complete [2023-01-19T01:45:50.196Z] 5d3b04190fa2: Verifying Checksum [2023-01-19T01:45:50.196Z] 5d3b04190fa2: Download complete [2023-01-19T01:45:50.196Z] 5eb5b503b376: Verifying Checksum [2023-01-19T01:45:50.196Z] 5eb5b503b376: Download complete [2023-01-19T01:45:51.130Z] 2f39f015ded8: Download complete [2023-01-19T01:45:51.391Z] 5eb5b503b376: Pull complete [2023-01-19T01:45:51.650Z] 5c69ac0246d0: Pull complete [2023-01-19T01:45:52.215Z] ec43610c2a17: Pull complete [2023-01-19T01:45:52.215Z] 3a2ae6a8a46f: Pull complete [2023-01-19T01:45:52.474Z] 33b1e0a273af: Pull complete [2023-01-19T01:45:52.474Z] 5d3b04190fa2: Pull complete [2023-01-19T01:45:56.661Z] 2f39f015ded8: Pull complete [2023-01-19T01:45:56.661Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-19T01:45:56.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T01:45:56.661Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T01:45:56.895Z] prd-ubuntu20.04-docker-8c-8g-3045 does not seem to be running inside a container [2023-01-19T01:45:56.924Z] $ 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-218 -v /w/workspace/undry_device-onvif-camera_PR-218:/w/workspace/undry_device-onvif-camera_PR-218:rw,z -v /w/workspace/undry_device-onvif-camera_PR-218@tmp:/w/workspace/undry_device-onvif-camera_PR-218@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-01-19T01:45:58.965Z] $ docker top ecd890be4f7f6ba113ea14d3ca680972e8c76d784547970541d2ea457603f6b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:45:59.418Z] ---> job-cost.sh [2023-01-19T01:45:59.418Z] lf-activate-venv: SKIPPING [2023-01-19T01:45:59.418Z] INFO: No Stack... [2023-01-19T01:45:59.679Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T01:45:59.937Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T01:46:00.497Z] + + cut -d, -f6 [2023-01-19T01:46:00.497Z] cat /w/workspace/undry_device-onvif-camera_PR-218/archives/cost.csv [Pipeline] lock [2023-01-19T01:46:00.538Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-218-1-stack-cost] [2023-01-19T01:46:00.543Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-218-1-stack-cost] did not exist. Created. [2023-01-19T01:46:00.543Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-218-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T01:46:00.930Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-19T01:46:00.981Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T01:46:01.008Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-218-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T01:46:01.088Z] $ docker stop --time=1 ecd890be4f7f6ba113ea14d3ca680972e8c76d784547970541d2ea457603f6b9 [2023-01-19T01:46:02.250Z] $ docker rm -f --volumes ecd890be4f7f6ba113ea14d3ca680972e8c76d784547970541d2ea457603f6b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-19T01:46:46.004Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3047 in /w/workspace/undry_device-onvif-camera_PR-218 [Pipeline] { [Pipeline] ws [2023-01-19T01:46:46.058Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-01-19T01:46:46.131Z] The recommended git tool is: git [2023-01-19T01:46:51.547Z] using credential edgex-jenkins-ssh [2023-01-19T01:46:51.564Z] Cloning the remote Git repository [2023-01-19T01:46:51.609Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-19T01:46:51.684Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-01-19T01:46:51.868Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-19T01:46:51.870Z] > git --version # timeout=10 [2023-01-19T01:46:51.896Z] > git --version # 'git version 2.25.1' [2023-01-19T01:46:51.899Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T01:46:51.991Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T01:46:53.417Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-19T01:46:53.440Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-19T01:46:54.478Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-19T01:46:54.524Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-19T01:46:54.525Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T01:46:54.544Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/218/head:refs/remotes/origin/PR-218 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-19T01:46:55.131Z] Merging remotes/origin/main commit 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 into PR head commit 40714b3be532bfffdfd96d977cf5a452468e714c [2023-01-19T01:46:55.622Z] Merge succeeded, producing 40714b3be532bfffdfd96d977cf5a452468e714c [2023-01-19T01:46:55.623Z] Checking out Revision 40714b3be532bfffdfd96d977cf5a452468e714c (PR-218) [2023-01-19T01:46:55.156Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T01:46:55.177Z] > git checkout -f 40714b3be532bfffdfd96d977cf5a452468e714c # timeout=10 [2023-01-19T01:46:55.511Z] > git remote # timeout=10 [2023-01-19T01:46:55.530Z] > git config --get remote.origin.url # timeout=10 [2023-01-19T01:46:55.557Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-19T01:46:55.572Z] > git merge 6741b2693d9de414b67a8d31d89bc7ad3a9d0867 # timeout=10 [2023-01-19T01:46:55.601Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-19T01:46:55.632Z] > git config core.sparsecheckout # timeout=10 [2023-01-19T01:46:55.649Z] > git checkout -f 40714b3be532bfffdfd96d977cf5a452468e714c # timeout=10 [2023-01-19T01:46:59.547Z] Commit message: "docs:updated validation metrics with Hikvision camera" [2023-01-19T01:46:59.607Z] > git --version # timeout=10 [2023-01-19T01:46:59.630Z] > git --version # 'git version 2.25.1' [2023-01-19T01:46:59.651Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T01:47:00.852Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-19T01:47:00.852Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T01:47:00.852Z] Dload Upload Total Spent Left Speed [2023-01-19T01:47:01.128Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 12751 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 30144 0 --:--:-- --:--:-- --:--:-- 30073 [Pipeline] sh [2023-01-19T01:47:01.886Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-19T01:47:02.235Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-19T01:47:02.235Z] + sudo tee /etc/docker/daemon.new [2023-01-19T01:47:02.235Z] { [2023-01-19T01:47:02.235Z] "registry-mirrors": [ [2023-01-19T01:47:02.235Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-19T01:47:02.235Z] ], [2023-01-19T01:47:02.235Z] "bip": "10.250.0.254/24", [2023-01-19T01:47:02.235Z] "hosts": [ [2023-01-19T01:47:02.235Z] "tcp://0.0.0.0:5555", [2023-01-19T01:47:02.235Z] "unix:///var/run/docker.sock" [2023-01-19T01:47:02.235Z] ], [2023-01-19T01:47:02.235Z] "mtu": 1458, [2023-01-19T01:47:02.235Z] "selinux-enabled": true, [2023-01-19T01:47:02.235Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-19T01:47:02.235Z] } [Pipeline] sh [2023-01-19T01:47:02.584Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-19T01:47:02.930Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T01:47:21.256Z] provisioning config files... [2023-01-19T01:47:21.285Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config3807717058217964807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:47:21.669Z] ---> docker-login.sh [2023-01-19T01:47:21.670Z] nexus3.edgexfoundry.org:10001 [2023-01-19T01:47:21.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:47:22.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:47:22.207Z] Configure a credential helper to remove this warning. See [2023-01-19T01:47:22.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:47:22.207Z] [2023-01-19T01:47:22.207Z] Login Succeeded [2023-01-19T01:47:22.207Z] nexus3.edgexfoundry.org:10002 [2023-01-19T01:47:22.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:47:22.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:47:22.481Z] Configure a credential helper to remove this warning. See [2023-01-19T01:47:22.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:47:22.481Z] [2023-01-19T01:47:22.481Z] Login Succeeded [2023-01-19T01:47:22.481Z] nexus3.edgexfoundry.org:10003 [2023-01-19T01:47:22.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:47:23.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:47:23.019Z] Configure a credential helper to remove this warning. See [2023-01-19T01:47:23.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:47:23.019Z] [2023-01-19T01:47:23.019Z] Login Succeeded [2023-01-19T01:47:23.019Z] nexus3.edgexfoundry.org:10004 [2023-01-19T01:47:23.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:47:23.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:47:23.288Z] Configure a credential helper to remove this warning. See [2023-01-19T01:47:23.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:47:23.288Z] [2023-01-19T01:47:23.288Z] Login Succeeded [2023-01-19T01:47:23.288Z] docker.io [2023-01-19T01:47:23.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-19T01:47:23.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-19T01:47:23.824Z] Configure a credential helper to remove this warning. See [2023-01-19T01:47:23.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-19T01:47:23.824Z] [2023-01-19T01:47:23.824Z] Login Succeeded [2023-01-19T01:47:23.824Z] ---> docker-login.sh ends [Pipeline] } [2023-01-19T01:47:23.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-19T01:47:24.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T01:47:24.256Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-19T01:47:24.292Z] ========================================================= [2023-01-19T01:47:24.292Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-19T01:47:24.292Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:47:24.793Z] + 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-01-19T01:47:25.391Z] Sending build context to Docker daemon 20.54MB [2023-01-19T01:47:25.391Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T01:47:25.391Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-19T01:47:25.661Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-19T01:47:25.661Z] 9b18e9b68314: Pulling fs layer [2023-01-19T01:47:25.661Z] 35d82f9e3411: Pulling fs layer [2023-01-19T01:47:25.661Z] e16973657156: Pulling fs layer [2023-01-19T01:47:25.661Z] fc693d55d65f: Pulling fs layer [2023-01-19T01:47:25.661Z] 7e9fc2657dce: Pulling fs layer [2023-01-19T01:47:25.661Z] dda99020689f: Pulling fs layer [2023-01-19T01:47:25.661Z] db1c61fa0a46: Pulling fs layer [2023-01-19T01:47:25.661Z] 891c053d2c06: Pulling fs layer [2023-01-19T01:47:25.661Z] fc693d55d65f: Waiting [2023-01-19T01:47:25.661Z] 7e9fc2657dce: Waiting [2023-01-19T01:47:25.661Z] dda99020689f: Waiting [2023-01-19T01:47:25.661Z] db1c61fa0a46: Waiting [2023-01-19T01:47:25.661Z] 891c053d2c06: Waiting [2023-01-19T01:47:25.661Z] e16973657156: Verifying Checksum [2023-01-19T01:47:25.661Z] e16973657156: Download complete [2023-01-19T01:47:25.661Z] 35d82f9e3411: Verifying Checksum [2023-01-19T01:47:25.661Z] 35d82f9e3411: Download complete [2023-01-19T01:47:25.661Z] 7e9fc2657dce: Download complete [2023-01-19T01:47:25.661Z] dda99020689f: Verifying Checksum [2023-01-19T01:47:25.661Z] dda99020689f: Download complete [2023-01-19T01:47:25.661Z] 9b18e9b68314: Verifying Checksum [2023-01-19T01:47:25.661Z] 9b18e9b68314: Download complete [2023-01-19T01:47:26.630Z] 9b18e9b68314: Pull complete [2023-01-19T01:47:26.630Z] 891c053d2c06: Verifying Checksum [2023-01-19T01:47:26.630Z] 891c053d2c06: Download complete [2023-01-19T01:47:27.219Z] 35d82f9e3411: Pull complete [2023-01-19T01:47:27.219Z] e16973657156: Pull complete [2023-01-19T01:47:27.810Z] db1c61fa0a46: Verifying Checksum [2023-01-19T01:47:27.810Z] db1c61fa0a46: Download complete [2023-01-19T01:47:28.396Z] fc693d55d65f: Verifying Checksum [2023-01-19T01:47:28.396Z] fc693d55d65f: Download complete [2023-01-19T01:47:40.715Z] fc693d55d65f: Pull complete [2023-01-19T01:47:40.715Z] 7e9fc2657dce: Pull complete [2023-01-19T01:47:40.715Z] dda99020689f: Pull complete [2023-01-19T01:47:44.069Z] db1c61fa0a46: Pull complete [2023-01-19T01:47:46.015Z] 891c053d2c06: Pull complete [2023-01-19T01:47:46.015Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-19T01:47:46.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-19T01:47:46.015Z] ---> f96f9c87975a [2023-01-19T01:47:46.015Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-19T01:47:47.960Z] ---> Running in a30f78ac0013 [2023-01-19T01:47:48.227Z] Removing intermediate container a30f78ac0013 [2023-01-19T01:47:48.227Z] ---> 6493260976d8 [2023-01-19T01:47:48.227Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T01:47:48.227Z] ---> Running in c382e28d1888 [2023-01-19T01:47:48.494Z] Removing intermediate container c382e28d1888 [2023-01-19T01:47:48.494Z] ---> f49357e66e40 [2023-01-19T01:47:48.494Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-19T01:47:48.494Z] ---> Running in 724a0c10f320 [2023-01-19T01:47:48.761Z] Removing intermediate container 724a0c10f320 [2023-01-19T01:47:48.761Z] ---> 437d0257dc31 [2023-01-19T01:47:48.761Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T01:47:49.039Z] ---> Running in 485f3ca92b16 [2023-01-19T01:47:49.305Z] Removing intermediate container 485f3ca92b16 [2023-01-19T01:47:49.305Z] ---> 02577512cd4f [2023-01-19T01:47:49.305Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-19T01:47:49.305Z] ---> Running in daa9c15e3749 [2023-01-19T01:47:49.571Z] Removing intermediate container daa9c15e3749 [2023-01-19T01:47:49.571Z] ---> c328fc4793f7 [2023-01-19T01:47:49.571Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T01:47:49.571Z] ---> Running in faf6ace8b675 [2023-01-19T01:47:50.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T01:47:50.980Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T01:47:51.942Z] OK: 221 MiB in 51 packages [2023-01-19T01:47:52.912Z] Removing intermediate container faf6ace8b675 [2023-01-19T01:47:52.912Z] ---> 60e509b99307 [2023-01-19T01:47:52.912Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-19T01:47:52.912Z] ---> Running in 8a4bf73801d4 [2023-01-19T01:47:53.181Z] Removing intermediate container 8a4bf73801d4 [2023-01-19T01:47:53.181Z] ---> ffa16084a77e [2023-01-19T01:47:53.181Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-19T01:47:53.768Z] ---> 21eebcdb86eb [2023-01-19T01:47:53.768Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T01:47:53.768Z] ---> Running in ea96954df354 [2023-01-19T01:48:50.184Z] Removing intermediate container ea96954df354 [2023-01-19T01:48:50.184Z] ---> 98cb192bd0ef [2023-01-19T01:48:50.184Z] Step 12/13 : COPY . . [2023-01-19T01:48:51.152Z] ---> 7736c1d8148e [2023-01-19T01:48:51.152Z] Step 13/13 : RUN ${MAKE} [2023-01-19T01:48:51.152Z] ---> Running in 9609e3cbf75a [2023-01-19T01:48:52.113Z] noop [2023-01-19T01:48:52.698Z] Removing intermediate container 9609e3cbf75a [2023-01-19T01:48:52.698Z] ---> 61d1b573784a [2023-01-19T01:48:52.698Z] Successfully built 61d1b573784a [2023-01-19T01:48:52.698Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:48:53.181Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T01:48:53.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T01:48:53.443Z] prd-ubuntu20.04-docker-arm64-4c-16g-3047 does not seem to be running inside a container [2023-01-19T01:48:53.511Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-01-19T01:48:54.709Z] $ docker top 907e2c4ece997d81cb606d7c4ebc3afbf38dab60309e3e9cd7d9ecfbdb1c6eea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T01:48:55.592Z] + go version [2023-01-19T01:48:55.592Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-19T01:48:55.629Z] $ docker stop --time=1 907e2c4ece997d81cb606d7c4ebc3afbf38dab60309e3e9cd7d9ecfbdb1c6eea [2023-01-19T01:48:57.194Z] $ docker rm -f --volumes 907e2c4ece997d81cb606d7c4ebc3afbf38dab60309e3e9cd7d9ecfbdb1c6eea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:48:58.015Z] + docker inspect -f . ci-base-image-arm64 [2023-01-19T01:48:58.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T01:48:58.252Z] prd-ubuntu20.04-docker-arm64-4c-16g-3047 does not seem to be running inside a container [2023-01-19T01:48:58.311Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-01-19T01:48:59.445Z] $ docker top 9f60b68d44cc068b831591d97b94cf56e78c2241808c15974da50bea565f051d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T01:49:00.309Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-01-19T01:49:00.691Z] + make test [2023-01-19T01:49:00.691Z] go test ./... -coverprofile=coverage.out ./... [2023-01-19T01:49:02.628Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-19T01:50:39.295Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-19T01:50:42.653Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.190s coverage: 29.3% of statements [2023-01-19T01:50:42.653Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-19T01:51:04.738Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.505s coverage: 86.5% of statements [2023-01-19T01:51:04.738Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-19T01:51:04.738Z] go vet ./... [2023-01-19T01:51:36.968Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-19T01:51:36.968Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-19T01:51:36.968Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-19T01:51:37.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-19T01:51:37.044Z] $ docker stop --time=1 9f60b68d44cc068b831591d97b94cf56e78c2241808c15974da50bea565f051d [2023-01-19T01:51:38.911Z] $ docker rm -f --volumes 9f60b68d44cc068b831591d97b94cf56e78c2241808c15974da50bea565f051d [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-19T01:51:40.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-19T01:51:40.051Z] Warning: overwriting stash ‘coverage-report’ [2023-01-19T01:51:40.648Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-19T01:51:41.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-19T01:51:41.571Z] + ls -al . [2023-01-19T01:51:41.571Z] total 244 [2023-01-19T01:51:41.571Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 01:49 . [2023-01-19T01:51:41.571Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 01:46 .. [2023-01-19T01:51:41.571Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 01:46 .git [2023-01-19T01:51:41.571Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 01:46 .github [2023-01-19T01:51:41.571Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 19 01:46 .gitignore [2023-01-19T01:51:41.571Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 19 01:46 .golangci.yml [2023-01-19T01:51:41.571Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 19 01:46 Attribution.txt [2023-01-19T01:51:41.571Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 19 01:46 CHANGELOG.md [2023-01-19T01:51:41.571Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 19 01:46 Dockerfile [2023-01-19T01:51:41.571Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 01:46 GOVERNANCE.md [2023-01-19T01:51:41.571Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 19 01:46 Jenkinsfile [2023-01-19T01:51:41.572Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 19 01:46 LICENSE [2023-01-19T01:51:41.572Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 19 01:46 Makefile [2023-01-19T01:51:41.572Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 19 01:46 OWNERS.md [2023-01-19T01:51:41.572Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 19 01:46 README.md [2023-01-19T01:51:41.572Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 01:44 VERSION [2023-01-19T01:51:41.572Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 01:46 bin [2023-01-19T01:51:41.572Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 01:46 cmd [2023-01-19T01:51:41.572Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 19 01:51 coverage.out [2023-01-19T01:51:41.572Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 19 01:46 doc [2023-01-19T01:51:41.572Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 19 01:46 go.mod [2023-01-19T01:51:41.572Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 19 01:46 go.sum [2023-01-19T01:51:41.572Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 01:46 internal [2023-01-19T01:51:41.572Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 01:46 snap [2023-01-19T01:51:41.572Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 19 01:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:51:42.088Z] + 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=40714b3be532bfffdfd96d977cf5a452468e714c --label arch=arm64 --label version=0.0.0 . [2023-01-19T01:51:42.677Z] Sending build context to Docker daemon 20.62MB [2023-01-19T01:51:42.677Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-19T01:51:42.677Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-19T01:51:42.677Z] ---> 61d1b573784a [2023-01-19T01:51:42.677Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-19T01:51:44.625Z] ---> Running in 3191357e387e [2023-01-19T01:51:44.895Z] Removing intermediate container 3191357e387e [2023-01-19T01:51:44.895Z] ---> 801503e4969d [2023-01-19T01:51:44.895Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-19T01:51:44.895Z] ---> Running in cb714b079e1c [2023-01-19T01:51:45.485Z] Removing intermediate container cb714b079e1c [2023-01-19T01:51:45.485Z] ---> 744351310b5d [2023-01-19T01:51:45.485Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-19T01:51:45.485Z] ---> Running in 85397dc88d56 [2023-01-19T01:51:45.832Z] Removing intermediate container 85397dc88d56 [2023-01-19T01:51:45.832Z] ---> 20debf43fbd0 [2023-01-19T01:51:45.832Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-19T01:51:46.121Z] ---> Running in ab31a08c5a4d [2023-01-19T01:51:46.422Z] Removing intermediate container ab31a08c5a4d [2023-01-19T01:51:46.422Z] ---> daaf6f96369e [2023-01-19T01:51:46.422Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-19T01:51:46.707Z] ---> Running in 21d45ac6b803 [2023-01-19T01:51:46.981Z] Removing intermediate container 21d45ac6b803 [2023-01-19T01:51:46.981Z] ---> 6d50ce2ec25a [2023-01-19T01:51:46.981Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-19T01:51:47.257Z] ---> Running in 155557c20ea3 [2023-01-19T01:51:48.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T01:51:48.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T01:51:49.945Z] OK: 221 MiB in 51 packages [2023-01-19T01:51:50.536Z] Removing intermediate container 155557c20ea3 [2023-01-19T01:51:50.536Z] ---> d13b8f3d94be [2023-01-19T01:51:50.536Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-19T01:51:50.805Z] ---> Running in 63f75061188d [2023-01-19T01:51:51.072Z] Removing intermediate container 63f75061188d [2023-01-19T01:51:51.072Z] ---> 648043d4a383 [2023-01-19T01:51:51.072Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-19T01:51:51.656Z] ---> c970ac0e728c [2023-01-19T01:51:51.656Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-19T01:51:51.656Z] ---> Running in 42a8f6d7bded [2023-01-19T01:51:54.247Z] Removing intermediate container 42a8f6d7bded [2023-01-19T01:51:54.247Z] ---> da00538871f5 [2023-01-19T01:51:54.247Z] Step 12/26 : COPY . . [2023-01-19T01:51:57.591Z] ---> bf91247db249 [2023-01-19T01:51:57.591Z] Step 13/26 : RUN ${MAKE} [2023-01-19T01:51:57.591Z] ---> Running in 29a0c223e5ae [2023-01-19T01:51:58.548Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-01-19T01:54:05.215Z] Removing intermediate container 29a0c223e5ae [2023-01-19T01:54:05.215Z] ---> 5965dd8a6340 [2023-01-19T01:54:05.215Z] Step 14/26 : FROM alpine:3.16 [2023-01-19T01:54:05.794Z] 3.16: Pulling from library/alpine [2023-01-19T01:54:05.794Z] 6875df1f5354: Pulling fs layer [2023-01-19T01:54:06.059Z] 6875df1f5354: Download complete [2023-01-19T01:54:06.639Z] 6875df1f5354: Pull complete [2023-01-19T01:54:06.639Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-19T01:54:06.639Z] Status: Downloaded newer image for alpine:3.16 [2023-01-19T01:54:06.639Z] ---> 2b4661558fb8 [2023-01-19T01:54:06.639Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-19T01:54:06.639Z] ---> Running in a54b678c5f8d [2023-01-19T01:54:06.909Z] Removing intermediate container a54b678c5f8d [2023-01-19T01:54:06.909Z] ---> 68e20875eeb5 [2023-01-19T01:54:06.909Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-19T01:54:06.909Z] ---> Running in 1e31ef5f6e0b [2023-01-19T01:54:07.868Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-19T01:54:08.133Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-19T01:54:09.092Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-19T01:54:09.092Z] Executing busybox-1.35.0-r17.trigger [2023-01-19T01:54:09.359Z] OK: 5 MiB in 15 packages [2023-01-19T01:54:09.944Z] Removing intermediate container 1e31ef5f6e0b [2023-01-19T01:54:09.945Z] ---> b52789e0d4fe [2023-01-19T01:54:09.945Z] Step 17/26 : WORKDIR / [2023-01-19T01:54:10.210Z] ---> Running in 4260c3791db5 [2023-01-19T01:54:10.477Z] Removing intermediate container 4260c3791db5 [2023-01-19T01:54:10.478Z] ---> 1678b0737c1e [2023-01-19T01:54:10.478Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-19T01:54:11.884Z] ---> fa48dd2efb07 [2023-01-19T01:54:11.884Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-19T01:54:12.154Z] ---> df6b4b1fe7d0 [2023-01-19T01:54:12.154Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-19T01:54:12.741Z] ---> 11d447090e6b [2023-01-19T01:54:12.741Z] Step 21/26 : EXPOSE 59984 [2023-01-19T01:54:12.741Z] ---> Running in 22c2a17b0f95 [2023-01-19T01:54:13.010Z] Removing intermediate container 22c2a17b0f95 [2023-01-19T01:54:13.010Z] ---> acedc2c47676 [2023-01-19T01:54:13.010Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-19T01:54:13.280Z] ---> Running in b93ded9b0cfe [2023-01-19T01:54:13.548Z] Removing intermediate container b93ded9b0cfe [2023-01-19T01:54:13.548Z] ---> b48b87d20437 [2023-01-19T01:54:13.548Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-19T01:54:13.548Z] ---> Running in 43f67d0919af [2023-01-19T01:54:13.817Z] Removing intermediate container 43f67d0919af [2023-01-19T01:54:13.817Z] ---> 30352297a7e3 [2023-01-19T01:54:13.817Z] Step 24/26 : LABEL arch=arm64 [2023-01-19T01:54:13.817Z] ---> Running in c84ef086b3ab [2023-01-19T01:54:14.088Z] Removing intermediate container c84ef086b3ab [2023-01-19T01:54:14.088Z] ---> be8b516f2a53 [2023-01-19T01:54:14.088Z] Step 25/26 : LABEL git_sha=40714b3be532bfffdfd96d977cf5a452468e714c [2023-01-19T01:54:14.354Z] ---> Running in f910dbef5801 [2023-01-19T01:54:14.622Z] Removing intermediate container f910dbef5801 [2023-01-19T01:54:14.622Z] ---> f91c29f669a2 [2023-01-19T01:54:14.622Z] Step 26/26 : LABEL version=0.0.0 [2023-01-19T01:54:14.622Z] ---> Running in db33998ee421 [2023-01-19T01:54:14.888Z] Removing intermediate container db33998ee421 [2023-01-19T01:54:14.888Z] ---> da6b4ca59edd [2023-01-19T01:54:14.888Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-19T01:54:14.888Z] Successfully built da6b4ca59edd [2023-01-19T01:54:14.888Z] 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-01-19T01:54:15.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T01:54:15.714Z] [2023-01-19T01:54:15.714Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:54:16.115Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T01:54:16.115Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-19T01:54:16.115Z] 8998bd30e6a1: Pulling fs layer [2023-01-19T01:54:16.115Z] 04944245beec: Pulling fs layer [2023-01-19T01:54:16.115Z] 699f458cf7ca: Pulling fs layer [2023-01-19T01:54:16.115Z] 765212b225bb: Pulling fs layer [2023-01-19T01:54:16.115Z] f23df028b6ca: Pulling fs layer [2023-01-19T01:54:16.115Z] d65c8cfc05b1: Pulling fs layer [2023-01-19T01:54:16.115Z] 2437ff75d9bd: Pulling fs layer [2023-01-19T01:54:16.115Z] 765212b225bb: Waiting [2023-01-19T01:54:16.115Z] f23df028b6ca: Waiting [2023-01-19T01:54:16.115Z] d65c8cfc05b1: Waiting [2023-01-19T01:54:16.115Z] 2437ff75d9bd: Waiting [2023-01-19T01:54:16.386Z] 04944245beec: Verifying Checksum [2023-01-19T01:54:16.386Z] 04944245beec: Download complete [2023-01-19T01:54:16.386Z] 765212b225bb: Verifying Checksum [2023-01-19T01:54:16.386Z] 765212b225bb: Download complete [2023-01-19T01:54:16.386Z] f23df028b6ca: Verifying Checksum [2023-01-19T01:54:16.386Z] f23df028b6ca: Download complete [2023-01-19T01:54:16.386Z] d65c8cfc05b1: Verifying Checksum [2023-01-19T01:54:16.386Z] d65c8cfc05b1: Download complete [2023-01-19T01:54:16.656Z] 699f458cf7ca: Verifying Checksum [2023-01-19T01:54:16.656Z] 699f458cf7ca: Download complete [2023-01-19T01:54:16.925Z] 8998bd30e6a1: Verifying Checksum [2023-01-19T01:54:16.925Z] 8998bd30e6a1: Download complete [2023-01-19T01:54:19.503Z] 2437ff75d9bd: Verifying Checksum [2023-01-19T01:54:19.503Z] 2437ff75d9bd: Download complete [2023-01-19T01:54:20.914Z] 8998bd30e6a1: Pull complete [2023-01-19T01:54:21.500Z] 04944245beec: Pull complete [2023-01-19T01:54:22.907Z] 699f458cf7ca: Pull complete [2023-01-19T01:54:23.175Z] 765212b225bb: Pull complete [2023-01-19T01:54:23.755Z] f23df028b6ca: Pull complete [2023-01-19T01:54:24.020Z] d65c8cfc05b1: Pull complete [2023-01-19T01:54:39.021Z] 2437ff75d9bd: Pull complete [2023-01-19T01:54:39.021Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-19T01:54:39.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-19T01:54:39.021Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T01:54:39.354Z] prd-ubuntu20.04-docker-arm64-4c-16g-3047 does not seem to be running inside a container [2023-01-19T01:54:39.417Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-19T01:54:42.154Z] $ docker top dcaacff728402f88dc8196b27ee57ddf7de751f1ee218b8967c9ad3473e9bf74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:54:43.043Z] ---> job-cost.sh [2023-01-19T01:54:43.044Z] lf-activate-venv: SKIPPING [2023-01-19T01:54:43.044Z] INFO: No Stack... [2023-01-19T01:54:44.975Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-19T01:54:46.374Z] INFO: Archiving Costs [Pipeline] sh [2023-01-19T01:54:46.719Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-01-19T01:54:46.719Z] + cut -d, -f6 [Pipeline] lock [2023-01-19T01:54:46.783Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-218-1-stack-cost] [2023-01-19T01:54:46.788Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-218-1-stack-cost] did not exist. Created. [2023-01-19T01:54:46.788Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-218-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-19T01:54:47.198Z] /w/workspace/device-onvif-camera/1@tmp/durable-4aaf503b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-19T01:54:47.542Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-19T01:54:47.575Z] Warning: overwriting stash ‘stack-cost’ [2023-01-19T01:54:47.637Z] Stashed 1 file(s) [Pipeline] } [2023-01-19T01:54:47.651Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-218-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-19T01:54:47.722Z] $ docker stop --time=1 dcaacff728402f88dc8196b27ee57ddf7de751f1ee218b8967c9ad3473e9bf74 [2023-01-19T01:54:49.158Z] $ docker rm -f --volumes dcaacff728402f88dc8196b27ee57ddf7de751f1ee218b8967c9ad3473e9bf74 [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-01-19T01:54:50.117Z] provisioning config files... [2023-01-19T01:54:50.125Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-218@tmp/config9045903708601594346tmp [Pipeline] { [Pipeline] sh [2023-01-19T01:54:50.451Z] + set +x [2023-01-19T01:54:50.451Z] + bash -s -- [2023-01-19T01:54:50.451Z] + curl -s https://codecov.io/bash [2023-01-19T01:54:50.451Z] [2023-01-19T01:54:50.451Z] _____ _ [2023-01-19T01:54:50.451Z] / ____| | | [2023-01-19T01:54:50.451Z] | | ___ __| | ___ ___ _____ __ [2023-01-19T01:54:50.451Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-19T01:54:50.451Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-19T01:54:50.451Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-19T01:54:50.451Z] Bash-1.0.6 [2023-01-19T01:54:50.451Z] [2023-01-19T01:54:50.451Z] [2023-01-19T01:54:50.451Z] ==> git version 2.25.1 found [2023-01-19T01:54:50.451Z] ==> 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-01-19T01:54:50.451Z] Release-Date: 2020-01-08 [2023-01-19T01:54:50.451Z] 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-01-19T01:54:50.451Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-19T01:54:50.451Z] ==> Jenkins CI detected. [2023-01-19T01:54:50.451Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-218 [2023-01-19T01:54:50.451Z] project root: . [2023-01-19T01:54:50.451Z] --> token set from env [2023-01-19T01:54:50.451Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-19T01:54:50.451Z] ==> Running gcov in . (disable via -X gcov) [2023-01-19T01:54:50.451Z] ==> Python coveragepy not found [2023-01-19T01:54:50.451Z] ==> Searching for coverage reports in: [2023-01-19T01:54:50.451Z] + . [2023-01-19T01:54:50.451Z] -> Found 1 reports [2023-01-19T01:54:50.451Z] ==> Detecting git/mercurial file structure [2023-01-19T01:54:50.712Z] ==> Reading reports [2023-01-19T01:54:50.712Z] + ./coverage.out bytes=79184 [2023-01-19T01:54:50.712Z] ==> Appending adjustments [2023-01-19T01:54:50.712Z] https://docs.codecov.io/docs/fixing-reports [2023-01-19T01:54:50.712Z] + Found adjustments [2023-01-19T01:54:50.712Z] ==> Gzipping contents [2023-01-19T01:54:50.712Z] 12K /tmp/codecov.NUmD75.gz [2023-01-19T01:54:50.712Z] ==> Uploading reports [2023-01-19T01:54:50.712Z] url: https://codecov.io [2023-01-19T01:54:50.712Z] query: branch=PR-218&commit=40714b3be532bfffdfd96d977cf5a452468e714c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-218%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=218&job=&cmd_args= [2023-01-19T01:54:50.712Z] -> Pinging Codecov [2023-01-19T01:54:50.712Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-218&commit=40714b3be532bfffdfd96d977cf5a452468e714c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-218%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=218&job=&cmd_args= [2023-01-19T01:54:51.281Z] -> Uploading to [2023-01-19T01:54:51.281Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-19/F29A59C45E3A92E06B3E522C9905F8EF/40714b3be532bfffdfd96d977cf5a452468e714c/b5acbf59-66a1-4136-a6aa-8c51d23fdcee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230119T015450Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f68155c634f089bec0e6516d6d40558702aa3a940bf6fc928ea372777c644f9 [2023-01-19T01:54:51.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-19T01:54:51.281Z] Dload Upload Total Spent Left Speed [2023-01-19T01:54:51.539Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10860 0 0 100 10860 0 34585 --:--:-- --:--:-- --:--:-- 34476 [2023-01-19T01:54:51.539Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/40714b3be532bfffdfd96d977cf5a452468e714c [Pipeline] } [2023-01-19T01:54:51.566Z] 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-01-19T01:54:53.230Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-218/archives ] [2023-01-19T01:54:53.230Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-218/archives [2023-01-19T01:54:53.230Z] total 16 [2023-01-19T01:54:53.230Z] drwxr-xr-x 3 root root 4096 Jan 19 01:45 . [2023-01-19T01:54:53.230Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 19 01:46 .. [2023-01-19T01:54:53.230Z] drwxr-xr-x 2 root root 4096 Jan 19 01:45 cost [2023-01-19T01:54:53.230Z] -rw-r--r-- 1 root root 91 Jan 19 01:45 cost.csv [2023-01-19T01:54:53.230Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-218/archives [2023-01-19T01:54:53.230Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-218/archives [2023-01-19T01:54:53.230Z] total 16 [2023-01-19T01:54:53.230Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 19 01:45 . [2023-01-19T01:54:53.230Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 19 01:46 .. [2023-01-19T01:54:53.230Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 19 01:45 cost [2023-01-19T01:54:53.230Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 19 01:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:54:53.550Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:54:54.435Z] ---> package-listing.sh [2023-01-19T01:54:54.435Z] ++ facter osfamily [2023-01-19T01:54:54.435Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-19T01:54:54.694Z] + OS_FAMILY=debian [2023-01-19T01:54:54.694Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-218 [2023-01-19T01:54:54.694Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-19T01:54:54.694Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-19T01:54:54.694Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-19T01:54:54.694Z] + PACKAGES=/tmp/packages_start.txt [2023-01-19T01:54:54.694Z] + '[' /w/workspace/undry_device-onvif-camera_PR-218 ']' [2023-01-19T01:54:54.694Z] + PACKAGES=/tmp/packages_end.txt [2023-01-19T01:54:54.694Z] + case "${OS_FAMILY}" in [2023-01-19T01:54:54.694Z] + dpkg -l [2023-01-19T01:54:54.694Z] + grep '^ii' [2023-01-19T01:54:54.694Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-19T01:54:54.694Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-19T01:54:54.694Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-19T01:54:54.694Z] + '[' /w/workspace/undry_device-onvif-camera_PR-218 ']' [2023-01-19T01:54:54.694Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-218/archives/ [2023-01-19T01:54:54.694Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-218/archives/ [Pipeline] echo [2023-01-19T01:54:54.729Z] 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-218/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-19T01:54:55.018Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-19T01:54:55.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-19T01:54:55.643Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-19T01:54:55.784Z] prd-ubuntu20.04-docker-8c-8g-3045 does not seem to be running inside a container [2023-01-19T01:54:55.812Z] $ 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-218/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-218 -v /w/workspace/undry_device-onvif-camera_PR-218:/w/workspace/undry_device-onvif-camera_PR-218:rw,z -v /w/workspace/undry_device-onvif-camera_PR-218@tmp:/w/workspace/undry_device-onvif-camera_PR-218@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-01-19T01:54:55.991Z] $ docker top 3362b082fc6c1635de7fa885ee9256355c9a6a4d6c480f158027acfbe80145a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-19T01:54:56.370Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-19T01:54:56.683Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-19T01:54:56.992Z] + ls /var/log/sa-host [2023-01-19T01:54:56.992Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-19T01:54:57.210Z] provisioning config files... [2023-01-19T01:54:57.219Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-218@tmp/config17265169316550007800tmp [Pipeline] { [Pipeline] echo [2023-01-19T01:54:57.273Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:54:57.587Z] ---> create-netrc.sh [Pipeline] } [2023-01-19T01:54:57.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:54:58.017Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-19T01:54:58.052Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:54:58.370Z] ---> sudo-logs.sh [2023-01-19T01:54:58.370Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-19T01:54:58.456Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:54:58.780Z] ---> job-cost.sh [2023-01-19T01:54:58.780Z] lf-activate-venv: SKIPPING [2023-01-19T01:54:58.780Z] DEBUG: total: 0.2199999988079071 [2023-01-19T01:54:58.780Z] INFO: Retrieving Stack Cost... [2023-01-19T01:54:59.355Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-19T01:54:59.921Z] INFO: Archiving Costs [Pipeline] echo [2023-01-19T01:54:59.958Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-19T01:55:00.267Z] ---> logs-deploy.sh [2023-01-19T01:55:00.268Z] lf-activate-venv: SKIPPING [2023-01-19T01:55:00.268Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-218/1 [2023-01-19T01:55:00.268Z] INFO: archiving workspace using pattern(s): [2023-01-19T01:55:01.204Z] Archives upload complete. [2023-01-19T01:55:01.204Z] INFO: archiving logs to Nexus