Branch indexing 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 4a1514bac2c3623567fb323734989edc763968b8 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 4a1514bac2c3623567fb323734989edc763968b8 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-ssh11172964602373595120.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-ssh6862624541375347508.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-125/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13063900455534216645.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 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-ssh151251250698720087.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-125/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2060717443644803666.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-177 in /w/workspace/undry_device-onvif-camera_PR-125 [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-125 # 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/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a1514bac2c3623567fb323734989edc763968b8 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 7511f98d1e678939634bd840bdd91670cce2e45d Checking out Revision 7511f98d1e678939634bd840bdd91670cce2e45d (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # 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 4a1514bac2c3623567fb323734989edc763968b8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7511f98d1e678939634bd840bdd91670cce2e45d # timeout=10 Commit message: "Merge commit '4a1514bac2c3623567fb323734989edc763968b8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-19T22:10:53.141Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-19T22:10:53.180Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-19T22:10:53.194Z] ========================================================= [2022-12-19T22:10:53.194Z] EdgeX Global Pipelines Version Info [2022-12-19T22:10:53.194Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 89219144a53c6e8b1666f89d686f6be0004021e5 # timeout=10 [2022-12-19T22:10:53.893Z] ------------------- [2022-12-19T22:10:53.893Z] stable info: [2022-12-19T22:10:53.893Z] ------------------- [2022-12-19T22:10:53.893Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-19T22:10:53.893Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T22:10:53.893Z] Message: update stable to v1.0.244 [2022-12-19T22:10:54.467Z] ------------------- [2022-12-19T22:10:54.467Z] experimental info: [2022-12-19T22:10:54.467Z] ------------------- [2022-12-19T22:10:54.467Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-19T22:10:54.467Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-19T22:10:54.467Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-19T22:10:54.630Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-12-19T22:10:54.639Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-12-19T22:10:54.647Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-19T22:10:54.655Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-19T22:10:54.663Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-19T22:10:54.672Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-19T22:10:54.680Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-19T22:10:54.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-19T22:10:54.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-19T22:10:54.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-19T22:10:54.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-19T22:10:54.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-12-19T22:10:54.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-19T22:10:54.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-19T22:10:54.753Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T22:10:54.761Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-19T22:10:54.770Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T22:10:54.778Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-19T22:10:54.786Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-19T22:10:54.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-19T22:10:54.803Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-12-19T22:10:54.814Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-12-19T22:10:54.825Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-19T22:10:54.834Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-19T22:10:54.842Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-19T22:10:54.850Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-19T22:10:54.858Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-19T22:10:54.867Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-12-19T22:10:54.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-12-19T22:10:54.890Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-12-19T22:10:54.904Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7511f98d1e678939634bd840bdd91670cce2e45d [Pipeline] echo [2022-12-19T22:10:54.914Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7511f98 [Pipeline] echo [2022-12-19T22:10:54.932Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T22:10:54.967Z] provisioning config files... [2022-12-19T22:10:54.984Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config6256455167873874100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:10:55.293Z] ---> docker-login.sh [2022-12-19T22:10:55.293Z] nexus3.edgexfoundry.org:10001 [2022-12-19T22:10:55.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:10:55.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:10:55.560Z] Configure a credential helper to remove this warning. See [2022-12-19T22:10:55.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:10:55.560Z] [2022-12-19T22:10:55.560Z] Login Succeeded [2022-12-19T22:10:55.560Z] nexus3.edgexfoundry.org:10002 [2022-12-19T22:10:55.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:10:55.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:10:55.560Z] Configure a credential helper to remove this warning. See [2022-12-19T22:10:55.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:10:55.560Z] [2022-12-19T22:10:55.560Z] Login Succeeded [2022-12-19T22:10:55.560Z] nexus3.edgexfoundry.org:10003 [2022-12-19T22:10:55.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:10:55.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:10:55.821Z] Configure a credential helper to remove this warning. See [2022-12-19T22:10:55.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:10:55.821Z] [2022-12-19T22:10:55.821Z] Login Succeeded [2022-12-19T22:10:55.821Z] nexus3.edgexfoundry.org:10004 [2022-12-19T22:10:55.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:10:55.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:10:55.821Z] Configure a credential helper to remove this warning. See [2022-12-19T22:10:55.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:10:55.821Z] [2022-12-19T22:10:55.821Z] Login Succeeded [2022-12-19T22:10:55.821Z] docker.io [2022-12-19T22:10:56.084Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:10:56.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:10:56.084Z] Configure a credential helper to remove this warning. See [2022-12-19T22:10:56.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:10:56.084Z] [2022-12-19T22:10:56.084Z] Login Succeeded [2022-12-19T22:10:56.084Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T22:10:56.093Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-19T22:10:56.434Z] + git rev-list -1 --merges 7511f98d1e678939634bd840bdd91670cce2e45d~1..7511f98d1e678939634bd840bdd91670cce2e45d [Pipeline] echo [2022-12-19T22:10:56.474Z] -----------> git rev-list -1 --merges 7511f98d1e678939634bd840bdd91670cce2e45d~1..7511f98d1e678939634bd840bdd91670cce2e45d 7511f98d1e678939634bd840bdd91670cce2e45d [2022-12-19T22:10:56.474Z] 7511f98d1e678939634bd840bdd91670cce2e45d [false] [Pipeline] sh [2022-12-19T22:10:56.763Z] + git log --format=format:%s -1 7511f98d1e678939634bd840bdd91670cce2e45d [Pipeline] echo [2022-12-19T22:10:56.776Z] ========================================================= [2022-12-19T22:10:56.776Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-19T22:10:56.776Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T22:10:57.098Z] + git log --format=format:%s -1 7511f98d1e678939634bd840bdd91670cce2e45d [Pipeline] echo [2022-12-19T22:10:57.107Z] [semverPrep] GIT_COMMIT: 7511f98d1e678939634bd840bdd91670cce2e45d, Commit Message: Merge commit '4a1514bac2c3623567fb323734989edc763968b8' into HEAD [Pipeline] echo [2022-12-19T22:10:57.113Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-19T22:10:57.456Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-19T22:10:57.456Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-19T22:10:57.456Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-19T22:10:57.456Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-19T22:10:57.456Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-19T22:10:57.456Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-19T22:10:57.456Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:10:57.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T22:10:57.800Z] [2022-12-19T22:10:57.800Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:10:58.100Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T22:10:58.100Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-19T22:10:58.100Z] b85a868b505f: Pulling fs layer [2022-12-19T22:10:58.100Z] e2be974225ed: Pulling fs layer [2022-12-19T22:10:58.100Z] 339a4e72a1f5: Pulling fs layer [2022-12-19T22:10:58.100Z] 988bab9f4d93: Pulling fs layer [2022-12-19T22:10:58.100Z] 1469e6f7b9e6: Pulling fs layer [2022-12-19T22:10:58.100Z] eaf3925da568: Pulling fs layer [2022-12-19T22:10:58.100Z] bab4dde63d76: Pulling fs layer [2022-12-19T22:10:58.100Z] bde34c3a00c8: Pulling fs layer [2022-12-19T22:10:58.100Z] b352a97aabf1: Pulling fs layer [2022-12-19T22:10:58.100Z] 4872d77fe225: Pulling fs layer [2022-12-19T22:10:58.100Z] 5851b861e8e6: Pulling fs layer [2022-12-19T22:10:58.100Z] bab4dde63d76: Waiting [2022-12-19T22:10:58.100Z] bde34c3a00c8: Waiting [2022-12-19T22:10:58.100Z] b352a97aabf1: Waiting [2022-12-19T22:10:58.100Z] 4872d77fe225: Waiting [2022-12-19T22:10:58.100Z] 5851b861e8e6: Waiting [2022-12-19T22:10:58.100Z] 988bab9f4d93: Waiting [2022-12-19T22:10:58.100Z] eaf3925da568: Waiting [2022-12-19T22:10:58.100Z] 1469e6f7b9e6: Waiting [2022-12-19T22:10:58.100Z] e2be974225ed: Download complete [2022-12-19T22:10:58.100Z] 988bab9f4d93: Verifying Checksum [2022-12-19T22:10:58.100Z] 988bab9f4d93: Download complete [2022-12-19T22:10:58.362Z] 1469e6f7b9e6: Verifying Checksum [2022-12-19T22:10:58.362Z] 1469e6f7b9e6: Download complete [2022-12-19T22:10:58.362Z] eaf3925da568: Verifying Checksum [2022-12-19T22:10:58.362Z] eaf3925da568: Download complete [2022-12-19T22:10:58.362Z] 339a4e72a1f5: Verifying Checksum [2022-12-19T22:10:58.362Z] 339a4e72a1f5: Download complete [2022-12-19T22:10:58.362Z] bde34c3a00c8: Verifying Checksum [2022-12-19T22:10:58.362Z] bde34c3a00c8: Download complete [2022-12-19T22:10:58.362Z] b352a97aabf1: Download complete [2022-12-19T22:10:58.362Z] 4872d77fe225: Verifying Checksum [2022-12-19T22:10:58.362Z] 4872d77fe225: Download complete [2022-12-19T22:10:58.362Z] 5851b861e8e6: Download complete [2022-12-19T22:10:58.362Z] b85a868b505f: Download complete [2022-12-19T22:10:58.621Z] bab4dde63d76: Verifying Checksum [2022-12-19T22:10:58.621Z] bab4dde63d76: Download complete [2022-12-19T22:10:59.553Z] b85a868b505f: Pull complete [2022-12-19T22:10:59.811Z] e2be974225ed: Pull complete [2022-12-19T22:11:00.111Z] 339a4e72a1f5: Pull complete [2022-12-19T22:11:00.380Z] 988bab9f4d93: Pull complete [2022-12-19T22:11:00.644Z] 1469e6f7b9e6: Pull complete [2022-12-19T22:11:00.644Z] eaf3925da568: Pull complete [2022-12-19T22:11:02.548Z] bab4dde63d76: Pull complete [2022-12-19T22:11:02.548Z] bde34c3a00c8: Pull complete [2022-12-19T22:11:02.548Z] b352a97aabf1: Pull complete [2022-12-19T22:11:02.548Z] 4872d77fe225: Pull complete [2022-12-19T22:11:02.807Z] 5851b861e8e6: Pull complete [2022-12-19T22:11:02.807Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-19T22:11:02.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-19T22:11:02.807Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T22:11:02.895Z] prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container [2022-12-19T22:11:02.923Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@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-devops/py-git-semver:0.1.4 cat [2022-12-19T22:11:05.346Z] $ docker top 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf -eo pid,comm [2022-12-19T22:11:05.405Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-12-19T22:11:05.405Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-19T22:11:05.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T22:11:05.445Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T22:11:05.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T22:11:05.570Z] $ docker exec 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf ssh-agent [2022-12-19T22:11:05.702Z] SSH_AUTH_SOCK=/tmp/ssh-4EicPwgpHVwK/agent.32 [2022-12-19T22:11:05.702Z] SSH_AGENT_PID=38 [2022-12-19T22:11:05.709Z] Running ssh-add (command line suppressed) [2022-12-19T22:11:05.822Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4669325525451025004.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_4669325525451025004.key) [2022-12-19T22:11:05.836Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T22:11:06.122Z] + git tag --points-at HEAD [Pipeline] } [2022-12-19T22:11:06.143Z] $ docker exec --env ******** --env ******** 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf ssh-agent -k [2022-12-19T22:11:06.260Z] unset SSH_AUTH_SOCK; [2022-12-19T22:11:06.261Z] unset SSH_AGENT_PID; [2022-12-19T22:11:06.261Z] echo Agent pid 38 killed; [2022-12-19T22:11:06.272Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-19T22:11:06.302Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-19T22:11:06.302Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-19T22:11:06.405Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-19T22:11:06.408Z] $ docker exec 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf ssh-agent [2022-12-19T22:11:06.516Z] SSH_AUTH_SOCK=/tmp/ssh-6jBvkHVchTGz/agent.70 [2022-12-19T22:11:06.516Z] SSH_AGENT_PID=76 [2022-12-19T22:11:06.521Z] Running ssh-add (command line suppressed) [2022-12-19T22:11:06.615Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14291795254635762731.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_14291795254635762731.key) [2022-12-19T22:11:06.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-19T22:11:06.912Z] + git semver init [2022-12-19T22:11:07.172Z] 2022-12-19 22:11:07,075 [run_init] DEBUG init version:0.0.0 force:False [2022-12-19T22:11:07.172Z] 2022-12-19 22:11:07,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-12-19T22:11:07.172Z] 2022-12-19 22:11:07,076 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-12-19T22:11:07.172Z] 2022-12-19 22:11:07,076 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-125/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-125, universal_newlines=False, shell=None, istream=None) [2022-12-19T22:11:08.560Z] 2022-12-19 22:11:08,228 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-12-19T22:11:08.560Z] 2022-12-19 22:11:08,228 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 with force:False [2022-12-19T22:11:08.560Z] 2022-12-19 22:11:08,229 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-12-19T22:11:08.560Z] 2022-12-19 22:11:08,233 [execute] INFO git cat-file --batch-check [2022-12-19T22:11:08.560Z] 2022-12-19 22:11:08,233 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T22:11:08.560Z] 2022-12-19 22:11:08,240 [execute] INFO git cat-file --batch [2022-12-19T22:11:08.560Z] 2022-12-19 22:11:08,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-12-19T22:11:08.560Z] 2022-12-19 22:11:08,245 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-12-19T22:11:08.560Z] 0.0.0 [Pipeline] } [2022-12-19T22:11:08.575Z] $ docker exec --env ******** --env ******** 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf ssh-agent -k [2022-12-19T22:11:08.678Z] unset SSH_AUTH_SOCK; [2022-12-19T22:11:08.679Z] unset SSH_AGENT_PID; [2022-12-19T22:11:08.679Z] echo Agent pid 76 killed; [2022-12-19T22:11:08.692Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-19T22:11:08.991Z] + git semver [Pipeline] } [2022-12-19T22:11:09.281Z] $ docker stop --time=1 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf [2022-12-19T22:11:10.583Z] $ docker rm -f --volumes 47b1c4745217b7b800689d512d79ddb7679b5fa022b3b0b543aa437f689defcf [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T22:11:10.920Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-19T22:11:11.109Z] Stashed 1 file(s) [Pipeline] echo [2022-12-19T22:11:11.112Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T22:11:11.218Z] provisioning config files... [2022-12-19T22:11:11.227Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config13172083313960622736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:11:11.523Z] ---> docker-login.sh [2022-12-19T22:11:11.523Z] nexus3.edgexfoundry.org:10001 [2022-12-19T22:11:11.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:11:11.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:11:11.523Z] Configure a credential helper to remove this warning. See [2022-12-19T22:11:11.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:11:11.523Z] [2022-12-19T22:11:11.523Z] Login Succeeded [2022-12-19T22:11:11.523Z] nexus3.edgexfoundry.org:10002 [2022-12-19T22:11:11.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:11:11.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:11:11.523Z] Configure a credential helper to remove this warning. See [2022-12-19T22:11:11.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:11:11.523Z] [2022-12-19T22:11:11.523Z] Login Succeeded [2022-12-19T22:11:11.783Z] nexus3.edgexfoundry.org:10003 [2022-12-19T22:11:11.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:11:11.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:11:11.783Z] Configure a credential helper to remove this warning. See [2022-12-19T22:11:11.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:11:11.783Z] [2022-12-19T22:11:11.783Z] Login Succeeded [2022-12-19T22:11:11.783Z] nexus3.edgexfoundry.org:10004 [2022-12-19T22:11:11.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:11:11.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:11:11.783Z] Configure a credential helper to remove this warning. See [2022-12-19T22:11:11.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:11:11.783Z] [2022-12-19T22:11:11.783Z] Login Succeeded [2022-12-19T22:11:11.783Z] docker.io [2022-12-19T22:11:12.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:11:12.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:11:12.041Z] Configure a credential helper to remove this warning. See [2022-12-19T22:11:12.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:11:12.041Z] [2022-12-19T22:11:12.041Z] Login Succeeded [2022-12-19T22:11:12.041Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T22:11:12.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T22:11:12.104Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T22:11:12.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T22:11:12.124Z] ========================================================= [2022-12-19T22:11:12.124Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-19T22:11:12.124Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:11:12.425Z] + 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 . [2022-12-19T22:11:12.426Z] Sending build context to Docker daemon 27.67MB [2022-12-19T22:11:12.426Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T22:11:12.426Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-19T22:11:12.694Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-19T22:11:12.694Z] 213ec9aee27d: Pulling fs layer [2022-12-19T22:11:12.694Z] 4583459ba037: Pulling fs layer [2022-12-19T22:11:12.694Z] 93c1e223e6f2: Pulling fs layer [2022-12-19T22:11:12.694Z] 53926ce57604: Pulling fs layer [2022-12-19T22:11:12.694Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-19T22:11:12.694Z] 22ff95d597cd: Pulling fs layer [2022-12-19T22:11:12.694Z] 12d6caf4c0d1: Pulling fs layer [2022-12-19T22:11:12.694Z] 96b7cbca73a9: Pulling fs layer [2022-12-19T22:11:12.694Z] a7acece74701: Pulling fs layer [2022-12-19T22:11:12.694Z] 22ff95d597cd: Waiting [2022-12-19T22:11:12.694Z] 12d6caf4c0d1: Waiting [2022-12-19T22:11:12.694Z] 96b7cbca73a9: Waiting [2022-12-19T22:11:12.694Z] a7acece74701: Waiting [2022-12-19T22:11:12.694Z] 53926ce57604: Waiting [2022-12-19T22:11:12.694Z] 21b2b0c7a3f4: Waiting [2022-12-19T22:11:12.694Z] 93c1e223e6f2: Verifying Checksum [2022-12-19T22:11:12.694Z] 93c1e223e6f2: Download complete [2022-12-19T22:11:12.694Z] 4583459ba037: Verifying Checksum [2022-12-19T22:11:12.694Z] 4583459ba037: Download complete [2022-12-19T22:11:12.694Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-19T22:11:12.694Z] 21b2b0c7a3f4: Download complete [2022-12-19T22:11:12.694Z] 22ff95d597cd: Verifying Checksum [2022-12-19T22:11:12.694Z] 22ff95d597cd: Download complete [2022-12-19T22:11:12.694Z] 213ec9aee27d: Verifying Checksum [2022-12-19T22:11:12.694Z] 213ec9aee27d: Download complete [2022-12-19T22:11:12.694Z] 12d6caf4c0d1: Download complete [2022-12-19T22:11:12.963Z] 213ec9aee27d: Pull complete [2022-12-19T22:11:12.963Z] 4583459ba037: Pull complete [2022-12-19T22:11:13.237Z] 93c1e223e6f2: Pull complete [2022-12-19T22:11:13.506Z] a7acece74701: Verifying Checksum [2022-12-19T22:11:13.506Z] a7acece74701: Download complete [2022-12-19T22:11:13.764Z] 53926ce57604: Verifying Checksum [2022-12-19T22:11:13.764Z] 53926ce57604: Download complete [2022-12-19T22:11:13.764Z] 96b7cbca73a9: Verifying Checksum [2022-12-19T22:11:13.764Z] 96b7cbca73a9: Download complete [2022-12-19T22:11:17.948Z] 53926ce57604: Pull complete [2022-12-19T22:11:17.948Z] 21b2b0c7a3f4: Pull complete [2022-12-19T22:11:17.948Z] 22ff95d597cd: Pull complete [2022-12-19T22:11:17.948Z] 12d6caf4c0d1: Pull complete [2022-12-19T22:11:19.322Z] 96b7cbca73a9: Pull complete [2022-12-19T22:11:20.255Z] a7acece74701: Pull complete [2022-12-19T22:11:20.255Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-19T22:11:20.255Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-19T22:11:20.255Z] ---> db6d94c90886 [2022-12-19T22:11:20.255Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-19T22:11:24.455Z] ---> Running in cc804b7a9b8a [2022-12-19T22:11:24.455Z] Removing intermediate container cc804b7a9b8a [2022-12-19T22:11:24.455Z] ---> 17404a79beab [2022-12-19T22:11:24.455Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T22:11:24.455Z] ---> Running in 361f75f380a7 [2022-12-19T22:11:24.455Z] Removing intermediate container 361f75f380a7 [2022-12-19T22:11:24.455Z] ---> 278936911de1 [2022-12-19T22:11:24.455Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T22:11:24.455Z] ---> Running in e86056358830 [2022-12-19T22:11:24.455Z] Removing intermediate container e86056358830 [2022-12-19T22:11:24.455Z] ---> 64ebd73ec36b [2022-12-19T22:11:24.455Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T22:11:24.455Z] ---> Running in e311910170e1 [2022-12-19T22:11:24.455Z] Removing intermediate container e311910170e1 [2022-12-19T22:11:24.455Z] ---> 1d70915d4a26 [2022-12-19T22:11:24.455Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-12-19T22:11:24.455Z] ---> Running in 13c33183d792 [2022-12-19T22:11:24.455Z] Removing intermediate container 13c33183d792 [2022-12-19T22:11:24.455Z] ---> b62de5dc1790 [2022-12-19T22:11:24.455Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T22:11:24.456Z] ---> Running in dd4fea0906d9 [2022-12-19T22:11:24.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T22:11:24.715Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T22:11:24.975Z] OK: 211 MiB in 51 packages [2022-12-19T22:11:25.234Z] Removing intermediate container dd4fea0906d9 [2022-12-19T22:11:25.234Z] ---> 6c4e27be5c76 [2022-12-19T22:11:25.234Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-12-19T22:11:25.492Z] ---> Running in b4add95ec3fa [2022-12-19T22:11:25.492Z] Removing intermediate container b4add95ec3fa [2022-12-19T22:11:25.492Z] ---> 547917f4cb4d [2022-12-19T22:11:25.492Z] Step 10/13 : COPY go.mod vendor* ./ [2022-12-19T22:11:25.492Z] ---> 5a72d4253f7d [2022-12-19T22:11:25.492Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T22:11:25.492Z] ---> Running in a401504741ab [2022-12-19T22:11:26.181Z] Still waiting to schedule task [2022-12-19T22:11:26.182Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-12-19T22:11:47.446Z] Removing intermediate container a401504741ab [2022-12-19T22:11:47.446Z] ---> 7cf358cf78f4 [2022-12-19T22:11:47.446Z] Step 12/13 : COPY . . [2022-12-19T22:11:47.446Z] ---> 9d516e5147b5 [2022-12-19T22:11:47.446Z] Step 13/13 : RUN ${MAKE} [2022-12-19T22:11:47.446Z] ---> Running in caad5d9c3abf [2022-12-19T22:11:47.446Z] noop [2022-12-19T22:11:47.446Z] Removing intermediate container caad5d9c3abf [2022-12-19T22:11:47.446Z] ---> 524d71690714 [2022-12-19T22:11:47.446Z] Successfully built 524d71690714 [2022-12-19T22:11:47.446Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:11:47.763Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T22:11:47.763Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T22:11:47.835Z] prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container [2022-12-19T22:11:47.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-19T22:11:48.180Z] $ docker top 290ae71a602efa66bdda3b76dfc2e7ba799a3ef2a99b3f6acef1a611c5bc2435 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T22:11:48.514Z] + go version [2022-12-19T22:11:48.514Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-19T22:11:48.524Z] $ docker stop --time=1 290ae71a602efa66bdda3b76dfc2e7ba799a3ef2a99b3f6acef1a611c5bc2435 [2022-12-19T22:11:49.774Z] $ docker rm -f --volumes 290ae71a602efa66bdda3b76dfc2e7ba799a3ef2a99b3f6acef1a611c5bc2435 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:11:50.179Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-19T22:11:50.179Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T22:11:50.253Z] prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container [2022-12-19T22:11:50.285Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-12-19T22:11:50.586Z] $ docker top 6cf69459e161f0c2c53d9626762cfef1def9cad78ecb197729125bf5fda314f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T22:11:50.922Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-12-19T22:11:51.216Z] + make test [2022-12-19T22:11:51.216Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-19T22:11:51.474Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-12-19T22:12:01.437Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-12-19T22:12:03.965Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 29.3% of statements [2022-12-19T22:12:03.965Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-12-19T22:12:03.965Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.296s coverage: 86.5% of statements [2022-12-19T22:12:10.517Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-12-19T22:12:10.517Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T22:12:13.795Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T22:12:13.795Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T22:12:13.795Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T22:12:13.808Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T22:12:13.818Z] $ docker stop --time=1 6cf69459e161f0c2c53d9626762cfef1def9cad78ecb197729125bf5fda314f6 [2022-12-19T22:12:15.967Z] $ docker rm -f --volumes 6cf69459e161f0c2c53d9626762cfef1def9cad78ecb197729125bf5fda314f6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T22:12:16.399Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T22:12:16.459Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-19T22:12:16.882Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T22:12:17.171Z] + ls -al . [2022-12-19T22:12:17.171Z] total 248 [2022-12-19T22:12:17.171Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 19 22:11 . [2022-12-19T22:12:17.171Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:10 .. [2022-12-19T22:12:17.171Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 22:12 .git [2022-12-19T22:12:17.171Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 22:10 .github [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 496 Dec 19 22:10 .gitignore [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 19 22:10 .golangci.yml [2022-12-19T22:12:17.171Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 22:11 .semver [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 9742 Dec 19 22:10 Attribution.txt [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 6312 Dec 19 22:10 CHANGELOG.md [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 1710 Dec 19 22:10 Dockerfile [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 22:10 GOVERNANCE.md [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 734 Dec 19 22:10 Jenkinsfile [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 19 22:10 LICENSE [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 2858 Dec 19 22:10 Makefile [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 625 Dec 19 22:10 OWNERS.md [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 6595 Dec 19 22:10 README.md [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 22:11 VERSION [2022-12-19T22:12:17.171Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 22:10 bin [2022-12-19T22:12:17.171Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 22:10 cmd [2022-12-19T22:12:17.171Z] -rw-r--r-- 1 jenkins jenkins 79184 Dec 19 22:12 coverage.out [2022-12-19T22:12:17.171Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 19 22:10 doc [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 3688 Dec 19 22:10 go.mod [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 46249 Dec 19 22:10 go.sum [2022-12-19T22:12:17.171Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:10 internal [2022-12-19T22:12:17.171Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:10 snap [2022-12-19T22:12:17.171Z] -rw-rw-r-- 1 jenkins jenkins 236 Dec 19 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:12:17.475Z] + 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=7511f98d1e678939634bd840bdd91670cce2e45d --label arch=amd64 --label version=0.0.0 . [2022-12-19T22:12:17.475Z] Sending build context to Docker daemon 27.75MB [2022-12-19T22:12:17.475Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T22:12:17.475Z] Step 2/27 : FROM ${BASE} AS builder [2022-12-19T22:12:17.475Z] ---> 524d71690714 [2022-12-19T22:12:17.475Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-12-19T22:12:17.733Z] ---> Running in ac4a6a7cb33c [2022-12-19T22:12:17.993Z] Removing intermediate container ac4a6a7cb33c [2022-12-19T22:12:17.993Z] ---> 136bd0c38b1f [2022-12-19T22:12:17.993Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T22:12:17.993Z] ---> Running in cbe59d3b6915 [2022-12-19T22:12:17.993Z] Removing intermediate container cbe59d3b6915 [2022-12-19T22:12:17.993Z] ---> d9b385356f68 [2022-12-19T22:12:17.993Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T22:12:17.993Z] ---> Running in c42f21cf1199 [2022-12-19T22:12:18.252Z] Removing intermediate container c42f21cf1199 [2022-12-19T22:12:18.252Z] ---> 44fc1dbcbade [2022-12-19T22:12:18.252Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T22:12:18.252Z] ---> Running in c769fcdc0fe7 [2022-12-19T22:12:18.252Z] Removing intermediate container c769fcdc0fe7 [2022-12-19T22:12:18.252Z] ---> 90c51aecf26c [2022-12-19T22:12:18.252Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-12-19T22:12:18.252Z] ---> Running in 08d2b1d0be83 [2022-12-19T22:12:18.252Z] Removing intermediate container 08d2b1d0be83 [2022-12-19T22:12:18.252Z] ---> c940640ada75 [2022-12-19T22:12:18.252Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T22:12:18.252Z] ---> Running in a82c1dd17c88 [2022-12-19T22:12:18.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T22:12:18.769Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T22:12:19.028Z] OK: 211 MiB in 51 packages [2022-12-19T22:12:19.285Z] Removing intermediate container a82c1dd17c88 [2022-12-19T22:12:19.285Z] ---> eb05cca73c4a [2022-12-19T22:12:19.285Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-12-19T22:12:19.285Z] ---> Running in fcd054a90f18 [2022-12-19T22:12:19.542Z] Removing intermediate container fcd054a90f18 [2022-12-19T22:12:19.542Z] ---> 347b054ca1f2 [2022-12-19T22:12:19.542Z] Step 10/27 : COPY go.mod vendor* ./ [2022-12-19T22:12:19.542Z] ---> 97581dd81749 [2022-12-19T22:12:19.542Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T22:12:19.542Z] ---> Running in 2307516711f4 [2022-12-19T22:12:20.108Z] Removing intermediate container 2307516711f4 [2022-12-19T22:12:20.108Z] ---> 930a41239e72 [2022-12-19T22:12:20.108Z] Step 12/27 : COPY . . [2022-12-19T22:12:21.042Z] ---> b60733346411 [2022-12-19T22:12:21.042Z] Step 13/27 : RUN ${MAKE} [2022-12-19T22:12:21.042Z] ---> Running in f145180594ef [2022-12-19T22:12:21.301Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-12-19T22:12:43.222Z] Removing intermediate container f145180594ef [2022-12-19T22:12:43.222Z] ---> ce9a9a955524 [2022-12-19T22:12:43.222Z] Step 14/27 : FROM alpine:3.16 [2022-12-19T22:12:43.222Z] 3.16: Pulling from library/alpine [2022-12-19T22:12:43.222Z] ca7dd9ec2225: Pulling fs layer [2022-12-19T22:12:43.222Z] ca7dd9ec2225: Verifying Checksum [2022-12-19T22:12:43.222Z] ca7dd9ec2225: Download complete [2022-12-19T22:12:43.222Z] ca7dd9ec2225: Pull complete [2022-12-19T22:12:43.222Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-19T22:12:43.222Z] Status: Downloaded newer image for alpine:3.16 [2022-12-19T22:12:43.222Z] ---> bfe296a52501 [2022-12-19T22:12:43.222Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-19T22:12:43.222Z] ---> Running in a48a6b5f4a21 [2022-12-19T22:12:43.222Z] Removing intermediate container a48a6b5f4a21 [2022-12-19T22:12:43.222Z] ---> af2cbcf88a38 [2022-12-19T22:12:43.222Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-12-19T22:12:43.222Z] ---> Running in 310dc6148e5b [2022-12-19T22:12:43.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-19T22:12:43.739Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-19T22:12:44.000Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-19T22:12:44.000Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-19T22:12:44.000Z] (3/21) Installing readline (8.1.2-r0) [2022-12-19T22:12:44.000Z] (4/21) Installing bash (5.1.16-r2) [2022-12-19T22:12:44.000Z] Executing bash-5.1.16-r2.post-install [2022-12-19T22:12:44.000Z] (5/21) Installing ca-certificates (20220614-r0) [2022-12-19T22:12:44.000Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-12-19T22:12:44.000Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-12-19T22:12:44.000Z] (8/21) Installing libcurl (7.83.1-r4) [2022-12-19T22:12:44.000Z] (9/21) Installing curl (7.83.1-r4) [2022-12-19T22:12:44.000Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-12-19T22:12:44.000Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-12-19T22:12:44.000Z] (12/21) Installing jq (1.6-r1) [2022-12-19T22:12:44.000Z] (13/21) Installing popt (1.18-r0) [2022-12-19T22:12:44.000Z] (14/21) Installing pcre (8.45-r2) [2022-12-19T22:12:44.000Z] (15/21) Installing slang (2.3.2-r0) [2022-12-19T22:12:44.000Z] (16/21) Installing newt (0.52.21-r2) [2022-12-19T22:12:44.000Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-12-19T22:12:44.000Z] (18/21) Installing libsodium (1.0.18-r0) [2022-12-19T22:12:44.000Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-19T22:12:44.000Z] (20/21) Installing libzmq (4.3.4-r0) [2022-12-19T22:12:44.000Z] (21/21) Installing zeromq (4.3.4-r0) [2022-12-19T22:12:44.000Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T22:12:44.000Z] Executing ca-certificates-20220614-r0.trigger [2022-12-19T22:12:44.259Z] OK: 17 MiB in 35 packages [2022-12-19T22:12:44.824Z] Removing intermediate container 310dc6148e5b [2022-12-19T22:12:44.824Z] ---> d5759f554169 [2022-12-19T22:12:44.824Z] Step 17/27 : WORKDIR / [2022-12-19T22:12:45.082Z] ---> Running in 56dec56edc79 [2022-12-19T22:12:45.082Z] Removing intermediate container 56dec56edc79 [2022-12-19T22:12:45.082Z] ---> 956cbce23411 [2022-12-19T22:12:45.082Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-12-19T22:12:45.739Z] ---> 5a09ae074253 [2022-12-19T22:12:45.739Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-12-19T22:12:45.739Z] ---> 612938139010 [2022-12-19T22:12:45.739Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-12-19T22:12:45.998Z] ---> 430d7e2c66e3 [2022-12-19T22:12:45.998Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-12-19T22:12:45.998Z] ---> a92a5f582cfb [2022-12-19T22:12:45.998Z] Step 22/27 : EXPOSE 59984 [2022-12-19T22:12:45.998Z] ---> Running in 5595b1b74f7a [2022-12-19T22:12:46.257Z] Removing intermediate container 5595b1b74f7a [2022-12-19T22:12:46.257Z] ---> d6ec41a7b8ef [2022-12-19T22:12:46.257Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-12-19T22:12:46.257Z] ---> Running in 11af4a0700dc [2022-12-19T22:12:46.257Z] Removing intermediate container 11af4a0700dc [2022-12-19T22:12:46.257Z] ---> 90ef6565c29d [2022-12-19T22:12:46.257Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-19T22:12:46.257Z] ---> Running in b1b0b0eecf16 [2022-12-19T22:12:46.257Z] Removing intermediate container b1b0b0eecf16 [2022-12-19T22:12:46.257Z] ---> 83bd0cdcd7a8 [2022-12-19T22:12:46.257Z] Step 25/27 : LABEL arch=amd64 [2022-12-19T22:12:46.257Z] ---> Running in a5e0b972eb0f [2022-12-19T22:12:46.516Z] Removing intermediate container a5e0b972eb0f [2022-12-19T22:12:46.516Z] ---> 8023c176864f [2022-12-19T22:12:46.516Z] Step 26/27 : LABEL git_sha=7511f98d1e678939634bd840bdd91670cce2e45d [2022-12-19T22:12:46.516Z] ---> Running in 21d55b511859 [2022-12-19T22:12:46.516Z] Removing intermediate container 21d55b511859 [2022-12-19T22:12:46.516Z] ---> 8adffc852abf [2022-12-19T22:12:46.516Z] Step 27/27 : LABEL version=0.0.0 [2022-12-19T22:12:46.516Z] ---> Running in db7fed680ef4 [2022-12-19T22:12:46.516Z] Removing intermediate container db7fed680ef4 [2022-12-19T22:12:46.516Z] ---> 84d3b48a1fca [2022-12-19T22:12:46.516Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T22:12:46.775Z] Successfully built 84d3b48a1fca [2022-12-19T22:12:46.775Z] 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 [2022-12-19T22:12:47.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T22:12:47.236Z] [2022-12-19T22:12:47.236Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:12:47.539Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T22:12:47.539Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-19T22:12:47.539Z] 5eb5b503b376: Pulling fs layer [2022-12-19T22:12:47.539Z] 5c69ac0246d0: Pulling fs layer [2022-12-19T22:12:47.539Z] ec43610c2a17: Pulling fs layer [2022-12-19T22:12:47.539Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-19T22:12:47.539Z] 33b1e0a273af: Pulling fs layer [2022-12-19T22:12:47.539Z] 5d3b04190fa2: Pulling fs layer [2022-12-19T22:12:47.539Z] 2f39f015ded8: Pulling fs layer [2022-12-19T22:12:47.539Z] 33b1e0a273af: Waiting [2022-12-19T22:12:47.539Z] 5d3b04190fa2: Waiting [2022-12-19T22:12:47.539Z] 2f39f015ded8: Waiting [2022-12-19T22:12:47.539Z] 3a2ae6a8a46f: Waiting [2022-12-19T22:12:47.539Z] 5c69ac0246d0: Verifying Checksum [2022-12-19T22:12:47.539Z] 5c69ac0246d0: Download complete [2022-12-19T22:12:47.539Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-19T22:12:47.539Z] 3a2ae6a8a46f: Download complete [2022-12-19T22:12:47.539Z] 33b1e0a273af: Verifying Checksum [2022-12-19T22:12:47.539Z] 33b1e0a273af: Download complete [2022-12-19T22:12:47.539Z] 5d3b04190fa2: Download complete [2022-12-19T22:12:47.801Z] ec43610c2a17: Verifying Checksum [2022-12-19T22:12:47.801Z] ec43610c2a17: Download complete [2022-12-19T22:12:47.801Z] 5eb5b503b376: Verifying Checksum [2022-12-19T22:12:47.801Z] 5eb5b503b376: Download complete [2022-12-19T22:12:48.366Z] 2f39f015ded8: Download complete [2022-12-19T22:12:48.932Z] 5eb5b503b376: Pull complete [2022-12-19T22:12:49.190Z] 5c69ac0246d0: Pull complete [2022-12-19T22:12:49.449Z] ec43610c2a17: Pull complete [2022-12-19T22:12:49.706Z] 3a2ae6a8a46f: Pull complete [2022-12-19T22:12:49.706Z] 33b1e0a273af: Pull complete [2022-12-19T22:12:49.965Z] 5d3b04190fa2: Pull complete [2022-12-19T22:12:54.161Z] 2f39f015ded8: Pull complete [2022-12-19T22:12:54.161Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-19T22:12:54.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T22:12:54.161Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T22:12:54.252Z] prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container [2022-12-19T22:12:54.284Z] $ 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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-19T22:12:56.653Z] $ docker top dd396e9db710417090c0efbe183ef6b7e5f4f955faa64eba5948ae5634286172 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:12:57.026Z] ---> job-cost.sh [2022-12-19T22:12:57.026Z] lf-activate-venv: SKIPPING [2022-12-19T22:12:57.026Z] INFO: No Stack... [2022-12-19T22:12:57.595Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T22:12:57.854Z] INFO: Archiving Costs [Pipeline] sh [2022-12-19T22:12:58.148Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-12-19T22:12:58.148Z] + cut -d, -f6 [Pipeline] lock [2022-12-19T22:12:58.167Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] [2022-12-19T22:12:58.179Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] did not exist. Created. [2022-12-19T22:12:58.179Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T22:12:58.482Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-19T22:12:58.517Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T22:12:58.524Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-19T22:12:58.542Z] $ docker stop --time=1 dd396e9db710417090c0efbe183ef6b7e5f4f955faa64eba5948ae5634286172 [2022-12-19T22:12:59.686Z] $ docker rm -f --volumes dd396e9db710417090c0efbe183ef6b7e5f4f955faa64eba5948ae5634286172 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-19T22:13:46.669Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-179 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-12-19T22:13:46.682Z] Running in /w/workspace/device-onvif-camera/32 [Pipeline] { [Pipeline] checkout [2022-12-19T22:13:46.714Z] The recommended git tool is: git [2022-12-19T22:13:51.815Z] using credential edgex-jenkins-ssh [2022-12-19T22:13:51.832Z] Cloning the remote Git repository [2022-12-19T22:13:51.878Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-19T22:13:51.952Z] > git init /w/workspace/device-onvif-camera/32 # timeout=10 [2022-12-19T22:13:52.079Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-19T22:13:52.080Z] > git --version # timeout=10 [2022-12-19T22:13:52.097Z] > git --version # 'git version 2.25.1' [2022-12-19T22:13:52.098Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T22:13:52.152Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T22:13:53.807Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-12-19T22:13:53.826Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-19T22:13:55.297Z] Merging remotes/origin/main commit 4a1514bac2c3623567fb323734989edc763968b8 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-12-19T22:13:54.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-12-19T22:13:54.714Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-19T22:13:54.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T22:13:54.732Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-12-19T22:13:55.318Z] > git config core.sparsecheckout # timeout=10 [2022-12-19T22:13:55.336Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-12-19T22:13:56.281Z] Merge succeeded, producing 52710e1d2eb7a52d62a6472d1aa706ed0696a19f [2022-12-19T22:13:56.282Z] Checking out Revision 52710e1d2eb7a52d62a6472d1aa706ed0696a19f (PR-125) [2022-12-19T22:13:55.556Z] > git remote # timeout=10 [2022-12-19T22:13:55.573Z] > git config --get remote.origin.url # timeout=10 [2022-12-19T22:13:55.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-19T22:13:55.600Z] > git merge 4a1514bac2c3623567fb323734989edc763968b8 # timeout=10 [2022-12-19T22:13:56.264Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-19T22:13:56.293Z] > git config core.sparsecheckout # timeout=10 [2022-12-19T22:13:56.310Z] > git checkout -f 52710e1d2eb7a52d62a6472d1aa706ed0696a19f # timeout=10 [2022-12-19T22:13:59.783Z] Commit message: "Merge commit '4a1514bac2c3623567fb323734989edc763968b8' into HEAD" [2022-12-19T22:13:59.808Z] First time build. Skipping changelog. [2022-12-19T22:13:59.794Z] > git rev-list --no-walk 89219144a53c6e8b1666f89d686f6be0004021e5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T22:14:00.619Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-19T22:14:00.619Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T22:14:00.619Z] Dload Upload Total Spent Left Speed [2022-12-19T22:14:00.619Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh [2022-12-19T22:14:01.282Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-19T22:14:01.616Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-19T22:14:01.616Z] + sudo tee /etc/docker/daemon.new [2022-12-19T22:14:01.616Z] { [2022-12-19T22:14:01.616Z] "registry-mirrors": [ [2022-12-19T22:14:01.616Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-19T22:14:01.616Z] ], [2022-12-19T22:14:01.616Z] "bip": "10.250.0.254/24", [2022-12-19T22:14:01.616Z] "hosts": [ [2022-12-19T22:14:01.616Z] "tcp://0.0.0.0:5555", [2022-12-19T22:14:01.616Z] "unix:///var/run/docker.sock" [2022-12-19T22:14:01.616Z] ], [2022-12-19T22:14:01.616Z] "mtu": 1458, [2022-12-19T22:14:01.616Z] "selinux-enabled": true, [2022-12-19T22:14:01.616Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-19T22:14:01.616Z] } [Pipeline] sh [2022-12-19T22:14:01.948Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-19T22:14:02.306Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T22:14:20.609Z] provisioning config files... [2022-12-19T22:14:20.638Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/32@tmp/config16347122986981320139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:14:20.984Z] ---> docker-login.sh [2022-12-19T22:14:20.984Z] nexus3.edgexfoundry.org:10001 [2022-12-19T22:14:21.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:14:21.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:14:21.574Z] Configure a credential helper to remove this warning. See [2022-12-19T22:14:21.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:14:21.574Z] [2022-12-19T22:14:21.574Z] Login Succeeded [2022-12-19T22:14:21.574Z] nexus3.edgexfoundry.org:10002 [2022-12-19T22:14:21.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:14:22.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:14:22.114Z] Configure a credential helper to remove this warning. See [2022-12-19T22:14:22.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:14:22.114Z] [2022-12-19T22:14:22.114Z] Login Succeeded [2022-12-19T22:14:22.114Z] nexus3.edgexfoundry.org:10003 [2022-12-19T22:14:22.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:14:22.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:14:22.385Z] Configure a credential helper to remove this warning. See [2022-12-19T22:14:22.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:14:22.385Z] [2022-12-19T22:14:22.385Z] Login Succeeded [2022-12-19T22:14:22.385Z] nexus3.edgexfoundry.org:10004 [2022-12-19T22:14:22.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:14:22.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:14:22.656Z] Configure a credential helper to remove this warning. See [2022-12-19T22:14:22.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:14:22.656Z] [2022-12-19T22:14:22.656Z] Login Succeeded [2022-12-19T22:14:22.656Z] docker.io [2022-12-19T22:14:22.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-19T22:14:23.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-19T22:14:23.203Z] Configure a credential helper to remove this warning. See [2022-12-19T22:14:23.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-19T22:14:23.203Z] [2022-12-19T22:14:23.203Z] Login Succeeded [2022-12-19T22:14:23.203Z] ---> docker-login.sh ends [Pipeline] } [2022-12-19T22:14:23.218Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-19T22:14:23.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T22:14:23.493Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-19T22:14:23.503Z] ========================================================= [2022-12-19T22:14:23.503Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-19T22:14:23.503Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:14:23.855Z] + 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 . [2022-12-19T22:14:24.446Z] Sending build context to Docker daemon 20.53MB [2022-12-19T22:14:24.446Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T22:14:24.446Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-19T22:14:24.718Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-19T22:14:24.718Z] 9b18e9b68314: Pulling fs layer [2022-12-19T22:14:24.718Z] 35d82f9e3411: Pulling fs layer [2022-12-19T22:14:24.718Z] e16973657156: Pulling fs layer [2022-12-19T22:14:24.718Z] fc693d55d65f: Pulling fs layer [2022-12-19T22:14:24.718Z] 7e9fc2657dce: Pulling fs layer [2022-12-19T22:14:24.718Z] dda99020689f: Pulling fs layer [2022-12-19T22:14:24.718Z] db1c61fa0a46: Pulling fs layer [2022-12-19T22:14:24.718Z] 891c053d2c06: Pulling fs layer [2022-12-19T22:14:24.718Z] fc693d55d65f: Waiting [2022-12-19T22:14:24.718Z] 7e9fc2657dce: Waiting [2022-12-19T22:14:24.718Z] dda99020689f: Waiting [2022-12-19T22:14:24.718Z] db1c61fa0a46: Waiting [2022-12-19T22:14:24.718Z] 891c053d2c06: Waiting [2022-12-19T22:14:24.718Z] e16973657156: Download complete [2022-12-19T22:14:24.718Z] 35d82f9e3411: Verifying Checksum [2022-12-19T22:14:24.718Z] 35d82f9e3411: Download complete [2022-12-19T22:14:24.718Z] 7e9fc2657dce: Verifying Checksum [2022-12-19T22:14:24.718Z] 7e9fc2657dce: Download complete [2022-12-19T22:14:24.718Z] dda99020689f: Verifying Checksum [2022-12-19T22:14:24.718Z] dda99020689f: Download complete [2022-12-19T22:14:24.718Z] 9b18e9b68314: Verifying Checksum [2022-12-19T22:14:24.718Z] 9b18e9b68314: Download complete [2022-12-19T22:14:25.699Z] 9b18e9b68314: Pull complete [2022-12-19T22:14:25.971Z] 891c053d2c06: Verifying Checksum [2022-12-19T22:14:25.971Z] 891c053d2c06: Download complete [2022-12-19T22:14:26.246Z] 35d82f9e3411: Pull complete [2022-12-19T22:14:26.518Z] e16973657156: Pull complete [2022-12-19T22:14:27.110Z] db1c61fa0a46: Verifying Checksum [2022-12-19T22:14:27.110Z] db1c61fa0a46: Download complete [2022-12-19T22:14:27.702Z] fc693d55d65f: Verifying Checksum [2022-12-19T22:14:27.702Z] fc693d55d65f: Download complete [2022-12-19T22:14:42.745Z] fc693d55d65f: Pull complete [2022-12-19T22:14:42.745Z] 7e9fc2657dce: Pull complete [2022-12-19T22:14:42.745Z] dda99020689f: Pull complete [2022-12-19T22:14:48.121Z] db1c61fa0a46: Pull complete [2022-12-19T22:14:49.539Z] 891c053d2c06: Pull complete [2022-12-19T22:14:49.809Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-19T22:14:49.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-19T22:14:49.809Z] ---> f96f9c87975a [2022-12-19T22:14:49.809Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-19T22:14:51.774Z] ---> Running in dc76825de068 [2022-12-19T22:14:52.044Z] Removing intermediate container dc76825de068 [2022-12-19T22:14:52.044Z] ---> c941d578f41d [2022-12-19T22:14:52.044Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T22:14:52.312Z] ---> Running in 2236df17f023 [2022-12-19T22:14:52.581Z] Removing intermediate container 2236df17f023 [2022-12-19T22:14:52.581Z] ---> 77bbd4154fb8 [2022-12-19T22:14:52.581Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T22:14:52.581Z] ---> Running in a1692bd26a2c [2022-12-19T22:14:52.867Z] Removing intermediate container a1692bd26a2c [2022-12-19T22:14:52.867Z] ---> 08d277eeda08 [2022-12-19T22:14:52.867Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T22:14:53.135Z] ---> Running in da30d73168b2 [2022-12-19T22:14:53.406Z] Removing intermediate container da30d73168b2 [2022-12-19T22:14:53.406Z] ---> df90b77c6356 [2022-12-19T22:14:53.406Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-12-19T22:14:53.406Z] ---> Running in 5cbc6d4bdd05 [2022-12-19T22:14:53.679Z] Removing intermediate container 5cbc6d4bdd05 [2022-12-19T22:14:53.679Z] ---> 4ca8815818d8 [2022-12-19T22:14:53.679Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T22:14:53.679Z] ---> Running in c0b6dfc31223 [2022-12-19T22:14:55.096Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T22:14:55.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T22:14:56.326Z] OK: 221 MiB in 51 packages [2022-12-19T22:14:57.293Z] Removing intermediate container c0b6dfc31223 [2022-12-19T22:14:57.293Z] ---> 99f2ff61db30 [2022-12-19T22:14:57.293Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-12-19T22:14:57.293Z] ---> Running in 8973c5669c16 [2022-12-19T22:14:57.563Z] Removing intermediate container 8973c5669c16 [2022-12-19T22:14:57.563Z] ---> 872de0f6c044 [2022-12-19T22:14:57.563Z] Step 10/13 : COPY go.mod vendor* ./ [2022-12-19T22:14:58.153Z] ---> a0eeae96f54c [2022-12-19T22:14:58.153Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T22:14:58.153Z] ---> Running in 559dca3cc924 [2022-12-19T22:15:54.612Z] Removing intermediate container 559dca3cc924 [2022-12-19T22:15:54.612Z] ---> 266c93549c5c [2022-12-19T22:15:54.612Z] Step 12/13 : COPY . . [2022-12-19T22:15:54.612Z] ---> b66c9ff8cfcd [2022-12-19T22:15:54.612Z] Step 13/13 : RUN ${MAKE} [2022-12-19T22:15:54.612Z] ---> Running in 834e66fe318d [2022-12-19T22:15:54.612Z] noop [2022-12-19T22:15:54.612Z] Removing intermediate container 834e66fe318d [2022-12-19T22:15:54.612Z] ---> 10d57a3949fe [2022-12-19T22:15:54.612Z] Successfully built 10d57a3949fe [2022-12-19T22:15:54.612Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:15:54.973Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T22:15:54.973Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T22:15:55.186Z] prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container [2022-12-19T22:15:55.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/32 -v /w/workspace/device-onvif-camera/32:/w/workspace/device-onvif-camera/32:rw,z -v /w/workspace/device-onvif-camera/32@tmp:/w/workspace/device-onvif-camera/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-19T22:15:56.454Z] $ docker top da0561512935d7bf412746aa97cb7eb23ab2dfadfdf04ba19c3983d06d9c4bd5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T22:15:57.305Z] + go version [2022-12-19T22:15:57.305Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-19T22:15:57.323Z] $ docker stop --time=1 da0561512935d7bf412746aa97cb7eb23ab2dfadfdf04ba19c3983d06d9c4bd5 [2022-12-19T22:15:58.942Z] $ docker rm -f --volumes da0561512935d7bf412746aa97cb7eb23ab2dfadfdf04ba19c3983d06d9c4bd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:15:59.487Z] + docker inspect -f . ci-base-image-arm64 [2022-12-19T22:15:59.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T22:15:59.671Z] prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container [2022-12-19T22:15:59.736Z] $ 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/32 -v /w/workspace/device-onvif-camera/32:/w/workspace/device-onvif-camera/32:rw,z -v /w/workspace/device-onvif-camera/32@tmp:/w/workspace/device-onvif-camera/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-12-19T22:16:00.899Z] $ docker top e535c918abfaa9ea5f27c2b535decc7f30537a869701a4203dcb1066974157e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T22:16:01.728Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/32 [Pipeline] fileExists [Pipeline] sh [2022-12-19T22:16:02.067Z] + make test [2022-12-19T22:16:02.334Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-19T22:16:04.287Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-12-19T22:17:41.007Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-12-19T22:17:42.949Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.165s coverage: 29.3% of statements [2022-12-19T22:17:42.949Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-12-19T22:17:53.023Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 17.711s coverage: 86.5% of statements [2022-12-19T22:17:53.290Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-19T22:17:53.290Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-19T22:18:25.547Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-19T22:18:25.547Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-19T22:18:25.547Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-19T22:18:25.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-19T22:18:25.578Z] $ docker stop --time=1 e535c918abfaa9ea5f27c2b535decc7f30537a869701a4203dcb1066974157e0 [2022-12-19T22:18:27.557Z] $ docker rm -f --volumes e535c918abfaa9ea5f27c2b535decc7f30537a869701a4203dcb1066974157e0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-19T22:18:28.521Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-19T22:18:28.543Z] Warning: overwriting stash ‘coverage-report’ [2022-12-19T22:18:29.108Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-19T22:18:29.501Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-19T22:18:29.815Z] + ls -al . [2022-12-19T22:18:29.815Z] total 244 [2022-12-19T22:18:29.815Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 19 22:16 . [2022-12-19T22:18:29.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:13 .. [2022-12-19T22:18:29.815Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 19 22:13 .git [2022-12-19T22:18:29.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 22:13 .github [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 496 Dec 19 22:13 .gitignore [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 19 22:13 .golangci.yml [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 9742 Dec 19 22:13 Attribution.txt [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 6312 Dec 19 22:13 CHANGELOG.md [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 1710 Dec 19 22:13 Dockerfile [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 19 22:13 GOVERNANCE.md [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 734 Dec 19 22:13 Jenkinsfile [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 19 22:13 LICENSE [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 2858 Dec 19 22:13 Makefile [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 625 Dec 19 22:13 OWNERS.md [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 6595 Dec 19 22:13 README.md [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 19 22:11 VERSION [2022-12-19T22:18:29.815Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 19 22:13 bin [2022-12-19T22:18:29.815Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 19 22:13 cmd [2022-12-19T22:18:29.815Z] -rw-r--r-- 1 jenkins jenkins 79184 Dec 19 22:17 coverage.out [2022-12-19T22:18:29.815Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 19 22:13 doc [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 3688 Dec 19 22:13 go.mod [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 46249 Dec 19 22:13 go.sum [2022-12-19T22:18:29.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:13 internal [2022-12-19T22:18:29.815Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 19 22:13 snap [2022-12-19T22:18:29.815Z] -rw-rw-r-- 1 jenkins jenkins 236 Dec 19 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:18:30.155Z] + 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=52710e1d2eb7a52d62a6472d1aa706ed0696a19f --label arch=arm64 --label version=0.0.0 . [2022-12-19T22:18:30.736Z] Sending build context to Docker daemon 20.61MB [2022-12-19T22:18:30.736Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-12-19T22:18:30.736Z] Step 2/27 : FROM ${BASE} AS builder [2022-12-19T22:18:30.736Z] ---> 10d57a3949fe [2022-12-19T22:18:30.736Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-12-19T22:18:31.003Z] ---> Running in 4c00a344b212 [2022-12-19T22:18:31.270Z] Removing intermediate container 4c00a344b212 [2022-12-19T22:18:31.270Z] ---> b62e2157015f [2022-12-19T22:18:31.270Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-19T22:18:31.270Z] ---> Running in 183b61f9cad6 [2022-12-19T22:18:31.537Z] Removing intermediate container 183b61f9cad6 [2022-12-19T22:18:31.537Z] ---> 04089cebc512 [2022-12-19T22:18:31.537Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-19T22:18:31.807Z] ---> Running in e1928be3cff7 [2022-12-19T22:18:32.073Z] Removing intermediate container e1928be3cff7 [2022-12-19T22:18:32.073Z] ---> d58e32381b4e [2022-12-19T22:18:32.073Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-12-19T22:18:32.073Z] ---> Running in 6f81ad0332a8 [2022-12-19T22:18:32.342Z] Removing intermediate container 6f81ad0332a8 [2022-12-19T22:18:32.342Z] ---> 7906819fd9a8 [2022-12-19T22:18:32.342Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-12-19T22:18:32.342Z] ---> Running in 60176c86db51 [2022-12-19T22:18:32.927Z] Removing intermediate container 60176c86db51 [2022-12-19T22:18:32.927Z] ---> 9a961af2a74b [2022-12-19T22:18:32.927Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-19T22:18:32.927Z] ---> Running in 2674a1e08567 [2022-12-19T22:18:33.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T22:18:34.480Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T22:18:35.543Z] OK: 221 MiB in 51 packages [2022-12-19T22:18:36.578Z] Removing intermediate container 2674a1e08567 [2022-12-19T22:18:36.578Z] ---> 82c94166a4db [2022-12-19T22:18:36.578Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-12-19T22:18:36.578Z] ---> Running in baac45e8fd4d [2022-12-19T22:18:36.851Z] Removing intermediate container baac45e8fd4d [2022-12-19T22:18:36.851Z] ---> eab8524e0c4b [2022-12-19T22:18:36.851Z] Step 10/27 : COPY go.mod vendor* ./ [2022-12-19T22:18:37.441Z] ---> 09a0bed34a67 [2022-12-19T22:18:37.441Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-19T22:18:37.441Z] ---> Running in f80b0e817aba [2022-12-19T22:18:40.039Z] Removing intermediate container f80b0e817aba [2022-12-19T22:18:40.039Z] ---> 07ed908b758c [2022-12-19T22:18:40.039Z] Step 12/27 : COPY . . [2022-12-19T22:18:41.461Z] ---> a7bf48b58b12 [2022-12-19T22:18:41.461Z] Step 13/27 : RUN ${MAKE} [2022-12-19T22:18:41.731Z] ---> Running in 0105bf9825ed [2022-12-19T22:18:42.690Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.0.0-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-12-19T22:21:04.408Z] Removing intermediate container 0105bf9825ed [2022-12-19T22:21:04.408Z] ---> c5064eb732f1 [2022-12-19T22:21:04.408Z] Step 14/27 : FROM alpine:3.16 [2022-12-19T22:21:04.408Z] 3.16: Pulling from library/alpine [2022-12-19T22:21:04.408Z] 6875df1f5354: Pulling fs layer [2022-12-19T22:21:04.408Z] 6875df1f5354: Verifying Checksum [2022-12-19T22:21:04.408Z] 6875df1f5354: Download complete [2022-12-19T22:21:04.988Z] 6875df1f5354: Pull complete [2022-12-19T22:21:04.988Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-19T22:21:04.988Z] Status: Downloaded newer image for alpine:3.16 [2022-12-19T22:21:04.988Z] ---> 2b4661558fb8 [2022-12-19T22:21:04.988Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-19T22:21:05.255Z] ---> Running in e4911844ad43 [2022-12-19T22:21:05.523Z] Removing intermediate container e4911844ad43 [2022-12-19T22:21:05.523Z] ---> 32af5e622a22 [2022-12-19T22:21:05.523Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-12-19T22:21:05.523Z] ---> Running in aafaefea45d9 [2022-12-19T22:21:06.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-19T22:21:06.752Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-19T22:21:07.711Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-19T22:21:07.711Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-19T22:21:07.711Z] (3/21) Installing readline (8.1.2-r0) [2022-12-19T22:21:07.711Z] (4/21) Installing bash (5.1.16-r2) [2022-12-19T22:21:07.711Z] Executing bash-5.1.16-r2.post-install [2022-12-19T22:21:07.711Z] (5/21) Installing ca-certificates (20220614-r0) [2022-12-19T22:21:07.979Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-12-19T22:21:07.979Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-12-19T22:21:07.979Z] (8/21) Installing libcurl (7.83.1-r4) [2022-12-19T22:21:07.979Z] (9/21) Installing curl (7.83.1-r4) [2022-12-19T22:21:07.979Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-12-19T22:21:07.979Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-12-19T22:21:07.979Z] (12/21) Installing jq (1.6-r1) [2022-12-19T22:21:07.979Z] (13/21) Installing popt (1.18-r0) [2022-12-19T22:21:07.979Z] (14/21) Installing pcre (8.45-r2) [2022-12-19T22:21:07.979Z] (15/21) Installing slang (2.3.2-r0) [2022-12-19T22:21:08.246Z] (16/21) Installing newt (0.52.21-r2) [2022-12-19T22:21:08.246Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-12-19T22:21:08.246Z] (18/21) Installing libsodium (1.0.18-r0) [2022-12-19T22:21:08.246Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-19T22:21:08.246Z] (20/21) Installing libzmq (4.3.4-r0) [2022-12-19T22:21:08.246Z] (21/21) Installing zeromq (4.3.4-r0) [2022-12-19T22:21:08.246Z] Executing busybox-1.35.0-r17.trigger [2022-12-19T22:21:08.246Z] Executing ca-certificates-20220614-r0.trigger [2022-12-19T22:21:08.528Z] OK: 16 MiB in 35 packages [2022-12-19T22:21:10.475Z] Removing intermediate container aafaefea45d9 [2022-12-19T22:21:10.475Z] ---> 45a614fc941d [2022-12-19T22:21:10.475Z] Step 17/27 : WORKDIR / [2022-12-19T22:21:10.475Z] ---> Running in 82bc24cf7faa [2022-12-19T22:21:10.475Z] Removing intermediate container 82bc24cf7faa [2022-12-19T22:21:10.475Z] ---> 190a27e679c8 [2022-12-19T22:21:10.475Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-12-19T22:21:11.881Z] ---> 63e0ea7e00da [2022-12-19T22:21:11.881Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-12-19T22:21:12.464Z] ---> ae1487e3c7f2 [2022-12-19T22:21:12.464Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-12-19T22:21:12.731Z] ---> da83ba28d9c2 [2022-12-19T22:21:12.731Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-12-19T22:21:13.316Z] ---> 7ff984ebd297 [2022-12-19T22:21:13.316Z] Step 22/27 : EXPOSE 59984 [2022-12-19T22:21:13.316Z] ---> Running in c6d9cd10efeb [2022-12-19T22:21:13.585Z] Removing intermediate container c6d9cd10efeb [2022-12-19T22:21:13.585Z] ---> 75a318c7c2f6 [2022-12-19T22:21:13.585Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-12-19T22:21:13.585Z] ---> Running in 82b701656b47 [2022-12-19T22:21:13.853Z] Removing intermediate container 82b701656b47 [2022-12-19T22:21:13.853Z] ---> 5782bb8f82cd [2022-12-19T22:21:13.853Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-19T22:21:14.122Z] ---> Running in 8a0663fe81d9 [2022-12-19T22:21:14.388Z] Removing intermediate container 8a0663fe81d9 [2022-12-19T22:21:14.388Z] ---> ec3e3f98233c [2022-12-19T22:21:14.388Z] Step 25/27 : LABEL arch=arm64 [2022-12-19T22:21:14.388Z] ---> Running in 511a52efd6c9 [2022-12-19T22:21:14.656Z] Removing intermediate container 511a52efd6c9 [2022-12-19T22:21:14.656Z] ---> d90f28a5acdc [2022-12-19T22:21:14.656Z] Step 26/27 : LABEL git_sha=52710e1d2eb7a52d62a6472d1aa706ed0696a19f [2022-12-19T22:21:14.656Z] ---> Running in 49e5ba3f4b07 [2022-12-19T22:21:14.923Z] Removing intermediate container 49e5ba3f4b07 [2022-12-19T22:21:14.923Z] ---> 97b02f8ab8dd [2022-12-19T22:21:14.923Z] Step 27/27 : LABEL version=0.0.0 [2022-12-19T22:21:15.195Z] ---> Running in 4da861d987bb [2022-12-19T22:21:15.461Z] Removing intermediate container 4da861d987bb [2022-12-19T22:21:15.461Z] ---> f44783298c1d [2022-12-19T22:21:15.461Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-19T22:21:15.461Z] Successfully built f44783298c1d [2022-12-19T22:21:15.461Z] 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 [2022-12-19T22:21:15.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T22:21:15.886Z] [2022-12-19T22:21:15.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:21:16.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T22:21:16.210Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-19T22:21:16.210Z] 8998bd30e6a1: Pulling fs layer [2022-12-19T22:21:16.210Z] 04944245beec: Pulling fs layer [2022-12-19T22:21:16.210Z] 699f458cf7ca: Pulling fs layer [2022-12-19T22:21:16.210Z] 765212b225bb: Pulling fs layer [2022-12-19T22:21:16.210Z] f23df028b6ca: Pulling fs layer [2022-12-19T22:21:16.210Z] d65c8cfc05b1: Pulling fs layer [2022-12-19T22:21:16.210Z] 2437ff75d9bd: Pulling fs layer [2022-12-19T22:21:16.210Z] 765212b225bb: Waiting [2022-12-19T22:21:16.210Z] f23df028b6ca: Waiting [2022-12-19T22:21:16.210Z] d65c8cfc05b1: Waiting [2022-12-19T22:21:16.210Z] 2437ff75d9bd: Waiting [2022-12-19T22:21:16.479Z] 04944245beec: Verifying Checksum [2022-12-19T22:21:16.479Z] 04944245beec: Download complete [2022-12-19T22:21:16.479Z] 765212b225bb: Verifying Checksum [2022-12-19T22:21:16.479Z] 765212b225bb: Download complete [2022-12-19T22:21:16.479Z] f23df028b6ca: Download complete [2022-12-19T22:21:16.479Z] d65c8cfc05b1: Verifying Checksum [2022-12-19T22:21:16.479Z] d65c8cfc05b1: Download complete [2022-12-19T22:21:16.479Z] 699f458cf7ca: Verifying Checksum [2022-12-19T22:21:16.479Z] 699f458cf7ca: Download complete [2022-12-19T22:21:17.064Z] 8998bd30e6a1: Verifying Checksum [2022-12-19T22:21:17.064Z] 8998bd30e6a1: Download complete [2022-12-19T22:21:19.005Z] 2437ff75d9bd: Verifying Checksum [2022-12-19T22:21:19.005Z] 2437ff75d9bd: Download complete [2022-12-19T22:21:20.947Z] 8998bd30e6a1: Pull complete [2022-12-19T22:21:21.535Z] 04944245beec: Pull complete [2022-12-19T22:21:22.944Z] 699f458cf7ca: Pull complete [2022-12-19T22:21:23.210Z] 765212b225bb: Pull complete [2022-12-19T22:21:23.792Z] f23df028b6ca: Pull complete [2022-12-19T22:21:24.058Z] d65c8cfc05b1: Pull complete [2022-12-19T22:21:39.056Z] 2437ff75d9bd: Pull complete [2022-12-19T22:21:39.056Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-19T22:21:39.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-19T22:21:39.056Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T22:21:39.239Z] prd-ubuntu20.04-docker-arm64-4c-16g-179 does not seem to be running inside a container [2022-12-19T22:21:39.299Z] $ 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/32 -v /w/workspace/device-onvif-camera/32:/w/workspace/device-onvif-camera/32:rw,z -v /w/workspace/device-onvif-camera/32@tmp:/w/workspace/device-onvif-camera/32@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-12-19T22:21:41.880Z] $ docker top 1e16a60ce6169a657f11a70d66909fea5b1e616f246a104c391ee3fde73dbf27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:21:42.705Z] ---> job-cost.sh [2022-12-19T22:21:42.705Z] lf-activate-venv: SKIPPING [2022-12-19T22:21:42.705Z] INFO: No Stack... [2022-12-19T22:21:42.970Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-19T22:21:43.926Z] INFO: Archiving Costs [Pipeline] sh [2022-12-19T22:21:44.559Z] + cat /w/workspace/device-onvif-camera/32/archives/cost.csv [2022-12-19T22:21:44.560Z] + cut -d, -f6 [Pipeline] lock [2022-12-19T22:21:44.625Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] [2022-12-19T22:21:44.631Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] did not exist. Created. [2022-12-19T22:21:44.631Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-19T22:21:45.292Z] /w/workspace/device-onvif-camera/32@tmp/durable-52ffa103/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-19T22:21:45.942Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-19T22:21:45.957Z] Warning: overwriting stash ‘stack-cost’ [2022-12-19T22:21:46.018Z] Stashed 1 file(s) [Pipeline] } [2022-12-19T22:21:46.024Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-32-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-19T22:21:46.037Z] $ docker stop --time=1 1e16a60ce6169a657f11a70d66909fea5b1e616f246a104c391ee3fde73dbf27 [2022-12-19T22:21:47.520Z] $ docker rm -f --volumes 1e16a60ce6169a657f11a70d66909fea5b1e616f246a104c391ee3fde73dbf27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-12-19T22:21:47.882Z] provisioning config files... [2022-12-19T22:21:47.888Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config15823035509572718376tmp [Pipeline] { [Pipeline] sh [2022-12-19T22:21:48.175Z] + set +x [2022-12-19T22:21:48.175Z] + curl -s https://codecov.io/bash [2022-12-19T22:21:48.175Z] + bash -s -- [2022-12-19T22:21:48.175Z] [2022-12-19T22:21:48.175Z] _____ _ [2022-12-19T22:21:48.175Z] / ____| | | [2022-12-19T22:21:48.175Z] | | ___ __| | ___ ___ _____ __ [2022-12-19T22:21:48.175Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-19T22:21:48.175Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-19T22:21:48.175Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-19T22:21:48.175Z] Bash-1.0.6 [2022-12-19T22:21:48.175Z] [2022-12-19T22:21:48.175Z] [2022-12-19T22:21:48.175Z] ==> git version 2.25.1 found [2022-12-19T22:21:48.175Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-12-19T22:21:48.175Z] Release-Date: 2020-01-08 [2022-12-19T22:21:48.175Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-12-19T22:21:48.175Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-19T22:21:48.175Z] ==> Jenkins CI detected. [2022-12-19T22:21:48.175Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-12-19T22:21:48.175Z] project root: . [2022-12-19T22:21:48.175Z] --> token set from env [2022-12-19T22:21:48.175Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-19T22:21:48.175Z] ==> Running gcov in . (disable via -X gcov) [2022-12-19T22:21:48.175Z] ==> Python coveragepy not found [2022-12-19T22:21:48.175Z] ==> Searching for coverage reports in: [2022-12-19T22:21:48.175Z] + . [2022-12-19T22:21:48.175Z] -> Found 1 reports [2022-12-19T22:21:48.175Z] ==> Detecting git/mercurial file structure [2022-12-19T22:21:48.175Z] ==> Reading reports [2022-12-19T22:21:48.175Z] + ./coverage.out bytes=79184 [2022-12-19T22:21:48.175Z] ==> Appending adjustments [2022-12-19T22:21:48.175Z] https://docs.codecov.io/docs/fixing-reports [2022-12-19T22:21:48.435Z] + Found adjustments [2022-12-19T22:21:48.435Z] ==> Gzipping contents [2022-12-19T22:21:48.435Z] 12K /tmp/codecov.x91O2W.gz [2022-12-19T22:21:48.435Z] ==> Uploading reports [2022-12-19T22:21:48.435Z] url: https://codecov.io [2022-12-19T22:21:48.435Z] query: branch=PR-125&commit=7511f98d1e678939634bd840bdd91670cce2e45d&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-12-19T22:21:48.435Z] -> Pinging Codecov [2022-12-19T22:21:48.435Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-125&commit=7511f98d1e678939634bd840bdd91670cce2e45d&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-12-19T22:21:48.695Z] -> Uploading to [2022-12-19T22:21:48.695Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-19/F29A59C45E3A92E06B3E522C9905F8EF/7511f98d1e678939634bd840bdd91670cce2e45d/62972acf-d3ed-43e1-9eab-281106909c4f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221219%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221219T222148Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=56203b7292265ce06ba403701040713570b1d0f48b14aae2434371e98d94277f [2022-12-19T22:21:48.695Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-19T22:21:48.695Z] Dload Upload Total Spent Left Speed [2022-12-19T22:21:48.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10895 0 0 100 10895 0 50674 --:--:-- --:--:-- --:--:-- 50911 [2022-12-19T22:21:48.954Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/7511f98d1e678939634bd840bdd91670cce2e45d [Pipeline] } [2022-12-19T22:21:48.962Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-12-19T22:21:49.618Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-12-19T22:21:49.618Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-12-19T22:21:49.618Z] total 16 [2022-12-19T22:21:49.618Z] drwxr-xr-x 3 root root 4096 Dec 19 22:12 . [2022-12-19T22:21:49.618Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 22:12 .. [2022-12-19T22:21:49.618Z] drwxr-xr-x 2 root root 4096 Dec 19 22:12 cost [2022-12-19T22:21:49.618Z] -rw-r--r-- 1 root root 92 Dec 19 22:12 cost.csv [2022-12-19T22:21:49.618Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-12-19T22:21:49.618Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-12-19T22:21:49.618Z] total 16 [2022-12-19T22:21:49.618Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 19 22:12 . [2022-12-19T22:21:49.618Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 19 22:12 .. [2022-12-19T22:21:49.618Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 19 22:12 cost [2022-12-19T22:21:49.618Z] -rw-r--r-- 1 jenkins jenkins 92 Dec 19 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:21:49.908Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:21:50.769Z] ---> package-listing.sh [2022-12-19T22:21:50.769Z] ++ facter osfamily [2022-12-19T22:21:50.769Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-19T22:21:51.029Z] + OS_FAMILY=debian [2022-12-19T22:21:51.029Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-12-19T22:21:51.029Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-19T22:21:51.029Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-19T22:21:51.029Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-19T22:21:51.029Z] + PACKAGES=/tmp/packages_start.txt [2022-12-19T22:21:51.029Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-12-19T22:21:51.029Z] + PACKAGES=/tmp/packages_end.txt [2022-12-19T22:21:51.029Z] + case "${OS_FAMILY}" in [2022-12-19T22:21:51.029Z] + dpkg -l [2022-12-19T22:21:51.029Z] + grep '^ii' [2022-12-19T22:21:51.029Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-19T22:21:51.029Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-19T22:21:51.029Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-19T22:21:51.029Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-12-19T22:21:51.029Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-12-19T22:21:51.029Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-125/archives/ [Pipeline] echo [2022-12-19T22:21:51.040Z] 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-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-12-19T22:21:51.314Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-19T22:21:51.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-19T22:21:51.875Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-19T22:21:51.941Z] prd-ubuntu20.04-docker-8c-8g-177 does not seem to be running inside a container [2022-12-19T22:21:51.972Z] $ 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-125/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-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-19T22:21:52.155Z] $ docker top 139cbcb497fdb80da559af72f57e11451139229dced0c9ea89b09c97ab8c6ee1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-19T22:21:52.496Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-19T22:21:52.781Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-19T22:21:53.065Z] + ls /var/log/sa-host [2022-12-19T22:21:53.065Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-19T22:21:53.137Z] provisioning config files... [2022-12-19T22:21:53.145Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config353841968952020872tmp [Pipeline] { [Pipeline] echo [2022-12-19T22:21:53.158Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:21:53.443Z] ---> create-netrc.sh [Pipeline] } [2022-12-19T22:21:53.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:21:53.767Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-19T22:21:53.775Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:21:54.057Z] ---> sudo-logs.sh [2022-12-19T22:21:54.057Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-19T22:21:54.088Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:21:54.371Z] ---> job-cost.sh [2022-12-19T22:21:54.371Z] lf-activate-venv: SKIPPING [2022-12-19T22:21:54.371Z] DEBUG: total: 0.2199999988079071 [2022-12-19T22:21:54.371Z] INFO: Retrieving Stack Cost... [2022-12-19T22:21:54.940Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-19T22:21:55.199Z] INFO: Archiving Costs [Pipeline] echo [2022-12-19T22:21:55.210Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-19T22:21:55.495Z] ---> logs-deploy.sh [2022-12-19T22:21:55.495Z] lf-activate-venv: SKIPPING [2022-12-19T22:21:55.495Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/32 [2022-12-19T22:21:55.495Z] INFO: archiving workspace using pattern(s): [2022-12-19T22:21:56.429Z] Archives upload complete. [2022-12-19T22:21:56.429Z] INFO: archiving logs to Nexus