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 4eac92da5dfc23f9865ece6d9684c74467a8de72 rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 4eac92da5dfc23f9865ece6d9684c74467a8de72 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-ssh16569707957517275175.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-ssh1058126458209947796.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-ssh4996316518046766094.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-ssh13415811235709316212.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-ssh16478037927391158757.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-121280 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 Merging remotes/origin/main commit 4eac92da5dfc23f9865ece6d9684c74467a8de72 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing ea880fc31b0174b90466c50ed9850daca6f0f1c5 Checking out Revision ea880fc31b0174b90466c50ed9850daca6f0f1c5 (PR-125) > 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 > 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 4eac92da5dfc23f9865ece6d9684c74467a8de72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea880fc31b0174b90466c50ed9850daca6f0f1c5 # timeout=10 Commit message: "Merge commit '4eac92da5dfc23f9865ece6d9684c74467a8de72' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-12-15T02:11:34.008Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-12-15T02:11:34.072Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-12-15T02:11:34.092Z] ========================================================= [2022-12-15T02:11:34.092Z] EdgeX Global Pipelines Version Info [2022-12-15T02:11:34.092Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7ab38b5064460d20a0ba9652b5c3974c395ca986 # timeout=10 [2022-12-15T02:11:34.822Z] ------------------- [2022-12-15T02:11:34.822Z] stable info: [2022-12-15T02:11:34.822Z] ------------------- [2022-12-15T02:11:34.822Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-12-15T02:11:34.822Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-15T02:11:34.822Z] Message: update stable to v1.0.244 [2022-12-15T02:11:35.394Z] ------------------- [2022-12-15T02:11:35.394Z] experimental info: [2022-12-15T02:11:35.394Z] ------------------- [2022-12-15T02:11:35.394Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-12-15T02:11:35.394Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-12-15T02:11:35.394Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-12-15T02:11:35.556Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-12-15T02:11:35.566Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-12-15T02:11:35.577Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-12-15T02:11:35.591Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-12-15T02:11:35.602Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-12-15T02:11:35.614Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-12-15T02:11:35.627Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-12-15T02:11:35.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-12-15T02:11:35.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-12-15T02:11:35.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-12-15T02:11:35.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-12-15T02:11:35.691Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-12-15T02:11:35.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-12-15T02:11:35.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-12-15T02:11:35.724Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-12-15T02:11:35.741Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-12-15T02:11:35.757Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-12-15T02:11:35.768Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-12-15T02:11:35.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-12-15T02:11:35.792Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-12-15T02:11:35.804Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-12-15T02:11:35.819Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-12-15T02:11:35.836Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-12-15T02:11:35.853Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-12-15T02:11:35.864Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-12-15T02:11:35.882Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-12-15T02:11:35.899Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-12-15T02:11:35.915Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-12-15T02:11:35.924Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-12-15T02:11:35.937Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-12-15T02:11:35.952Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea880fc31b0174b90466c50ed9850daca6f0f1c5 [Pipeline] echo [2022-12-15T02:11:35.961Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea880fc [Pipeline] echo [2022-12-15T02:11:35.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-15T02:11:36.011Z] provisioning config files... [2022-12-15T02:11:36.025Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1678900075050182864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:11:36.332Z] ---> docker-login.sh [2022-12-15T02:11:36.332Z] nexus3.edgexfoundry.org:10001 [2022-12-15T02:11:36.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:11:36.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:11:36.592Z] Configure a credential helper to remove this warning. See [2022-12-15T02:11:36.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:11:36.592Z] [2022-12-15T02:11:36.592Z] Login Succeeded [2022-12-15T02:11:36.592Z] nexus3.edgexfoundry.org:10002 [2022-12-15T02:11:36.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:11:36.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:11:36.592Z] Configure a credential helper to remove this warning. See [2022-12-15T02:11:36.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:11:36.592Z] [2022-12-15T02:11:36.592Z] Login Succeeded [2022-12-15T02:11:36.592Z] nexus3.edgexfoundry.org:10003 [2022-12-15T02:11:36.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:11:36.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:11:36.853Z] Configure a credential helper to remove this warning. See [2022-12-15T02:11:36.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:11:36.853Z] [2022-12-15T02:11:36.853Z] Login Succeeded [2022-12-15T02:11:36.853Z] nexus3.edgexfoundry.org:10004 [2022-12-15T02:11:36.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:11:36.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:11:36.853Z] Configure a credential helper to remove this warning. See [2022-12-15T02:11:36.853Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:11:36.853Z] [2022-12-15T02:11:36.853Z] Login Succeeded [2022-12-15T02:11:36.853Z] docker.io [2022-12-15T02:11:37.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:11:37.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:11:37.113Z] Configure a credential helper to remove this warning. See [2022-12-15T02:11:37.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:11:37.113Z] [2022-12-15T02:11:37.113Z] Login Succeeded [2022-12-15T02:11:37.113Z] ---> docker-login.sh ends [Pipeline] } [2022-12-15T02:11:37.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-12-15T02:11:37.502Z] + git rev-list -1 --merges ea880fc31b0174b90466c50ed9850daca6f0f1c5~1..ea880fc31b0174b90466c50ed9850daca6f0f1c5 [Pipeline] echo [2022-12-15T02:11:37.533Z] -----------> git rev-list -1 --merges ea880fc31b0174b90466c50ed9850daca6f0f1c5~1..ea880fc31b0174b90466c50ed9850daca6f0f1c5 ea880fc31b0174b90466c50ed9850daca6f0f1c5 [2022-12-15T02:11:37.533Z] ea880fc31b0174b90466c50ed9850daca6f0f1c5 [false] [Pipeline] sh [2022-12-15T02:11:37.826Z] + git log --format=format:%s -1 ea880fc31b0174b90466c50ed9850daca6f0f1c5 [Pipeline] echo [2022-12-15T02:11:37.842Z] ========================================================= [2022-12-15T02:11:37.842Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-12-15T02:11:37.842Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-15T02:11:38.192Z] + git log --format=format:%s -1 ea880fc31b0174b90466c50ed9850daca6f0f1c5 [Pipeline] echo [2022-12-15T02:11:38.204Z] [semverPrep] GIT_COMMIT: ea880fc31b0174b90466c50ed9850daca6f0f1c5, Commit Message: Merge commit '4eac92da5dfc23f9865ece6d9684c74467a8de72' into HEAD [Pipeline] echo [2022-12-15T02:11:38.211Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-12-15T02:11:38.564Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-12-15T02:11:38.564Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-12-15T02:11:38.564Z] + [ -e /tmp/ssh_known_hosts ] [2022-12-15T02:11:38.564Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-12-15T02:11:38.564Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-12-15T02:11:38.564Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-12-15T02:11:38.564Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:11:38.915Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-15T02:11:38.915Z] [2022-12-15T02:11:38.915Z] 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-15T02:11:39.221Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-15T02:11:39.221Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-12-15T02:11:39.221Z] b85a868b505f: Pulling fs layer [2022-12-15T02:11:39.221Z] e2be974225ed: Pulling fs layer [2022-12-15T02:11:39.221Z] 339a4e72a1f5: Pulling fs layer [2022-12-15T02:11:39.221Z] 988bab9f4d93: Pulling fs layer [2022-12-15T02:11:39.221Z] 1469e6f7b9e6: Pulling fs layer [2022-12-15T02:11:39.221Z] eaf3925da568: Pulling fs layer [2022-12-15T02:11:39.221Z] bab4dde63d76: Pulling fs layer [2022-12-15T02:11:39.221Z] bde34c3a00c8: Pulling fs layer [2022-12-15T02:11:39.221Z] b352a97aabf1: Pulling fs layer [2022-12-15T02:11:39.221Z] 4872d77fe225: Pulling fs layer [2022-12-15T02:11:39.221Z] 5851b861e8e6: Pulling fs layer [2022-12-15T02:11:39.221Z] bde34c3a00c8: Waiting [2022-12-15T02:11:39.221Z] b352a97aabf1: Waiting [2022-12-15T02:11:39.221Z] 4872d77fe225: Waiting [2022-12-15T02:11:39.221Z] 5851b861e8e6: Waiting [2022-12-15T02:11:39.221Z] 988bab9f4d93: Waiting [2022-12-15T02:11:39.221Z] 1469e6f7b9e6: Waiting [2022-12-15T02:11:39.221Z] eaf3925da568: Waiting [2022-12-15T02:11:39.221Z] bab4dde63d76: Waiting [2022-12-15T02:11:39.221Z] e2be974225ed: Download complete [2022-12-15T02:11:39.221Z] 988bab9f4d93: Verifying Checksum [2022-12-15T02:11:39.221Z] 988bab9f4d93: Download complete [2022-12-15T02:11:39.486Z] 339a4e72a1f5: Verifying Checksum [2022-12-15T02:11:39.486Z] 339a4e72a1f5: Download complete [2022-12-15T02:11:39.486Z] 1469e6f7b9e6: Verifying Checksum [2022-12-15T02:11:39.486Z] 1469e6f7b9e6: Download complete [2022-12-15T02:11:39.486Z] eaf3925da568: Verifying Checksum [2022-12-15T02:11:39.486Z] eaf3925da568: Download complete [2022-12-15T02:11:39.486Z] bde34c3a00c8: Download complete [2022-12-15T02:11:39.486Z] b352a97aabf1: Verifying Checksum [2022-12-15T02:11:39.486Z] b352a97aabf1: Download complete [2022-12-15T02:11:39.486Z] 4872d77fe225: Download complete [2022-12-15T02:11:39.486Z] 5851b861e8e6: Verifying Checksum [2022-12-15T02:11:39.486Z] b85a868b505f: Verifying Checksum [2022-12-15T02:11:39.486Z] b85a868b505f: Download complete [2022-12-15T02:11:39.748Z] bab4dde63d76: Verifying Checksum [2022-12-15T02:11:39.748Z] bab4dde63d76: Download complete [2022-12-15T02:11:40.686Z] b85a868b505f: Pull complete [2022-12-15T02:11:40.686Z] e2be974225ed: Pull complete [2022-12-15T02:11:41.253Z] 339a4e72a1f5: Pull complete [2022-12-15T02:11:41.253Z] 988bab9f4d93: Pull complete [2022-12-15T02:11:41.510Z] 1469e6f7b9e6: Pull complete [2022-12-15T02:11:41.768Z] eaf3925da568: Pull complete [2022-12-15T02:11:43.143Z] bab4dde63d76: Pull complete [2022-12-15T02:11:43.404Z] bde34c3a00c8: Pull complete [2022-12-15T02:11:43.404Z] b352a97aabf1: Pull complete [2022-12-15T02:11:43.663Z] 4872d77fe225: Pull complete [2022-12-15T02:11:43.663Z] 5851b861e8e6: Pull complete [2022-12-15T02:11:43.663Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-12-15T02:11:43.663Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-12-15T02:11:43.663Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T02:11:43.745Z] prd-ubuntu20.04-docker-8c-8g-121280 does not seem to be running inside a container [2022-12-15T02:11:43.786Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-12-15T02:11:45.272Z] $ docker top 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c -eo pid,comm [2022-12-15T02:11:45.329Z] 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-15T02:11:45.329Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-12-15T02:11:45.369Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-15T02:11:45.369Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-15T02:11:45.482Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-15T02:11:45.486Z] $ docker exec 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c ssh-agent [2022-12-15T02:11:45.604Z] SSH_AUTH_SOCK=/tmp/ssh-T3T860G2nAP3/agent.32 [2022-12-15T02:11:45.604Z] SSH_AGENT_PID=39 [2022-12-15T02:11:45.610Z] Running ssh-add (command line suppressed) [2022-12-15T02:11:45.711Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_8006591778749554713.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_8006591778749554713.key) [2022-12-15T02:11:45.728Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-15T02:11:46.014Z] + git tag --points-at HEAD [Pipeline] } [2022-12-15T02:11:46.033Z] $ docker exec --env ******** --env ******** 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c ssh-agent -k [2022-12-15T02:11:46.144Z] unset SSH_AUTH_SOCK; [2022-12-15T02:11:46.144Z] unset SSH_AGENT_PID; [2022-12-15T02:11:46.144Z] echo Agent pid 39 killed; [2022-12-15T02:11:46.153Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-12-15T02:11:46.182Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-12-15T02:11:46.182Z] [ssh-agent] Looking for ssh-agent implementation... [2022-12-15T02:11:46.293Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-12-15T02:11:46.297Z] $ docker exec 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c ssh-agent [2022-12-15T02:11:46.402Z] SSH_AUTH_SOCK=/tmp/ssh-rgqvSKPandU6/agent.71 [2022-12-15T02:11:46.402Z] SSH_AGENT_PID=77 [2022-12-15T02:11:46.407Z] Running ssh-add (command line suppressed) [2022-12-15T02:11:46.511Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3412236235823725558.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_3412236235823725558.key) [2022-12-15T02:11:46.523Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-12-15T02:11:46.811Z] + git semver init [2022-12-15T02:11:47.076Z] 2022-12-15 02:11:47,003 [run_init] DEBUG init version:0.0.0 force:False [2022-12-15T02:11:47.076Z] 2022-12-15 02:11:47,004 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-12-15T02:11:47.076Z] 2022-12-15 02:11:47,005 [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-15T02:11:47.076Z] 2022-12-15 02:11:47,005 [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-15T02:11:48.015Z] 2022-12-15 02:11:48,006 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-12-15T02:11:48.015Z] 2022-12-15 02:11:48,006 [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-15T02:11:48.015Z] 2022-12-15 02:11:48,007 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-12-15T02:11:48.015Z] 2022-12-15 02:11:48,011 [execute] INFO git cat-file --batch-check [2022-12-15T02:11:48.015Z] 2022-12-15 02:11:48,011 [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-15T02:11:48.274Z] 2022-12-15 02:11:48,017 [execute] INFO git cat-file --batch [2022-12-15T02:11:48.274Z] 2022-12-15 02:11:48,017 [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-15T02:11:48.274Z] 2022-12-15 02:11:48,022 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-12-15T02:11:48.274Z] 0.0.0 [Pipeline] } [2022-12-15T02:11:48.283Z] $ docker exec --env ******** --env ******** 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c ssh-agent -k [2022-12-15T02:11:48.380Z] unset SSH_AUTH_SOCK; [2022-12-15T02:11:48.380Z] unset SSH_AGENT_PID; [2022-12-15T02:11:48.381Z] echo Agent pid 77 killed; [2022-12-15T02:11:48.390Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-12-15T02:11:48.683Z] + git semver [Pipeline] } [2022-12-15T02:11:48.955Z] $ docker stop --time=1 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c [2022-12-15T02:11:50.300Z] $ docker rm -f 94609e27704a78d3257e04bb5524e1d8a930e3df46a29f5b664898fb3521c55c [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-15T02:11:50.674Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-12-15T02:11:50.889Z] Stashed 1 file(s) [Pipeline] echo [2022-12-15T02:11:50.891Z] [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-15T02:11:51.027Z] provisioning config files... [2022-12-15T02:11:51.037Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config13029482900266492095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:11:51.333Z] ---> docker-login.sh [2022-12-15T02:11:51.333Z] nexus3.edgexfoundry.org:10001 [2022-12-15T02:11:51.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:11:51.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:11:51.333Z] Configure a credential helper to remove this warning. See [2022-12-15T02:11:51.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:11:51.333Z] [2022-12-15T02:11:51.333Z] Login Succeeded [2022-12-15T02:11:51.333Z] nexus3.edgexfoundry.org:10002 [2022-12-15T02:11:51.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:11:51.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:11:51.333Z] Configure a credential helper to remove this warning. See [2022-12-15T02:11:51.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:11:51.333Z] [2022-12-15T02:11:51.333Z] Login Succeeded [2022-12-15T02:11:51.333Z] nexus3.edgexfoundry.org:10003 [2022-12-15T02:11:51.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:11:51.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:11:51.592Z] Configure a credential helper to remove this warning. See [2022-12-15T02:11:51.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:11:51.592Z] [2022-12-15T02:11:51.592Z] Login Succeeded [2022-12-15T02:11:51.592Z] nexus3.edgexfoundry.org:10004 [2022-12-15T02:11:51.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:11:51.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:11:51.592Z] Configure a credential helper to remove this warning. See [2022-12-15T02:11:51.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:11:51.592Z] [2022-12-15T02:11:51.592Z] Login Succeeded [2022-12-15T02:11:51.592Z] docker.io [2022-12-15T02:11:51.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:11:51.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:11:51.852Z] Configure a credential helper to remove this warning. See [2022-12-15T02:11:51.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:11:51.852Z] [2022-12-15T02:11:51.852Z] Login Succeeded [2022-12-15T02:11:51.852Z] ---> docker-login.sh ends [Pipeline] } [2022-12-15T02:11:51.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-15T02:11:51.920Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T02:11:51.938Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T02:11:51.949Z] ========================================================= [2022-12-15T02:11:51.949Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-12-15T02:11:51.949Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:11:52.271Z] + 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-15T02:11:52.271Z] Sending build context to Docker daemon 27.67MB [2022-12-15T02:11:52.271Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T02:11:52.271Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-15T02:11:52.536Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-12-15T02:11:52.536Z] 213ec9aee27d: Pulling fs layer [2022-12-15T02:11:52.536Z] 4583459ba037: Pulling fs layer [2022-12-15T02:11:52.536Z] 93c1e223e6f2: Pulling fs layer [2022-12-15T02:11:52.536Z] 53926ce57604: Pulling fs layer [2022-12-15T02:11:52.536Z] 21b2b0c7a3f4: Pulling fs layer [2022-12-15T02:11:52.536Z] 22ff95d597cd: Pulling fs layer [2022-12-15T02:11:52.536Z] 12d6caf4c0d1: Pulling fs layer [2022-12-15T02:11:52.536Z] 96b7cbca73a9: Pulling fs layer [2022-12-15T02:11:52.536Z] a7acece74701: Pulling fs layer [2022-12-15T02:11:52.536Z] 53926ce57604: Waiting [2022-12-15T02:11:52.536Z] 22ff95d597cd: Waiting [2022-12-15T02:11:52.536Z] 12d6caf4c0d1: Waiting [2022-12-15T02:11:52.536Z] 96b7cbca73a9: Waiting [2022-12-15T02:11:52.536Z] a7acece74701: Waiting [2022-12-15T02:11:52.536Z] 21b2b0c7a3f4: Waiting [2022-12-15T02:11:52.536Z] 93c1e223e6f2: Verifying Checksum [2022-12-15T02:11:52.536Z] 93c1e223e6f2: Download complete [2022-12-15T02:11:52.536Z] 4583459ba037: Download complete [2022-12-15T02:11:52.536Z] 21b2b0c7a3f4: Verifying Checksum [2022-12-15T02:11:52.536Z] 21b2b0c7a3f4: Download complete [2022-12-15T02:11:52.536Z] 22ff95d597cd: Verifying Checksum [2022-12-15T02:11:52.536Z] 22ff95d597cd: Download complete [2022-12-15T02:11:52.536Z] 213ec9aee27d: Verifying Checksum [2022-12-15T02:11:52.536Z] 213ec9aee27d: Download complete [2022-12-15T02:11:52.536Z] 12d6caf4c0d1: Verifying Checksum [2022-12-15T02:11:52.536Z] 12d6caf4c0d1: Download complete [2022-12-15T02:11:52.796Z] 213ec9aee27d: Pull complete [2022-12-15T02:11:52.796Z] 4583459ba037: Pull complete [2022-12-15T02:11:53.054Z] 93c1e223e6f2: Pull complete [2022-12-15T02:11:53.054Z] a7acece74701: Verifying Checksum [2022-12-15T02:11:53.054Z] a7acece74701: Download complete [2022-12-15T02:11:53.312Z] 96b7cbca73a9: Verifying Checksum [2022-12-15T02:11:53.312Z] 96b7cbca73a9: Download complete [2022-12-15T02:11:53.571Z] 53926ce57604: Verifying Checksum [2022-12-15T02:11:53.571Z] 53926ce57604: Download complete [2022-12-15T02:11:56.854Z] 53926ce57604: Pull complete [2022-12-15T02:11:56.854Z] 21b2b0c7a3f4: Pull complete [2022-12-15T02:11:57.114Z] 22ff95d597cd: Pull complete [2022-12-15T02:11:57.114Z] 12d6caf4c0d1: Pull complete [2022-12-15T02:11:59.014Z] 96b7cbca73a9: Pull complete [2022-12-15T02:11:59.947Z] a7acece74701: Pull complete [2022-12-15T02:11:59.947Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-12-15T02:11:59.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-12-15T02:11:59.947Z] ---> db6d94c90886 [2022-12-15T02:11:59.947Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-15T02:12:01.867Z] ---> Running in 2f4467fa4c72 [2022-12-15T02:12:01.867Z] Removing intermediate container 2f4467fa4c72 [2022-12-15T02:12:01.867Z] ---> a6f57ac20788 [2022-12-15T02:12:01.867Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T02:12:01.867Z] ---> Running in 7470b377a943 [2022-12-15T02:12:02.125Z] Removing intermediate container 7470b377a943 [2022-12-15T02:12:02.125Z] ---> e6a31cbeddef [2022-12-15T02:12:02.125Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T02:12:02.125Z] ---> Running in 00427b2eb0b1 [2022-12-15T02:12:02.125Z] Removing intermediate container 00427b2eb0b1 [2022-12-15T02:12:02.125Z] ---> c3a37b845527 [2022-12-15T02:12:02.125Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T02:12:02.125Z] ---> Running in 49141e83ec81 [2022-12-15T02:12:02.384Z] Removing intermediate container 49141e83ec81 [2022-12-15T02:12:02.384Z] ---> 0af72c3c6249 [2022-12-15T02:12:02.384Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-12-15T02:12:02.384Z] ---> Running in 5e063e5800bd [2022-12-15T02:12:02.384Z] Removing intermediate container 5e063e5800bd [2022-12-15T02:12:02.384Z] ---> 6332d41c5d87 [2022-12-15T02:12:02.384Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T02:12:02.384Z] ---> Running in f83788d50255 [2022-12-15T02:12:02.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-15T02:12:02.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-15T02:12:03.472Z] OK: 211 MiB in 51 packages [2022-12-15T02:12:03.731Z] Removing intermediate container f83788d50255 [2022-12-15T02:12:03.731Z] ---> ce9068eee1f2 [2022-12-15T02:12:03.731Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-12-15T02:12:03.731Z] ---> Running in 26bd2c476976 [2022-12-15T02:12:03.991Z] Removing intermediate container 26bd2c476976 [2022-12-15T02:12:03.991Z] ---> 36ffa1680967 [2022-12-15T02:12:03.991Z] Step 10/13 : COPY go.mod vendor* ./ [2022-12-15T02:12:03.991Z] ---> 9ce860612b97 [2022-12-15T02:12:03.991Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T02:12:03.991Z] ---> Running in 6c81ed29db12 [2022-12-15T02:12:05.991Z] Still waiting to schedule task [2022-12-15T02:12:05.991Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-121277’ [2022-12-15T02:12:22.091Z] Removing intermediate container 6c81ed29db12 [2022-12-15T02:12:22.091Z] ---> 147da79d06d8 [2022-12-15T02:12:22.091Z] Step 12/13 : COPY . . [2022-12-15T02:12:22.091Z] ---> 722d529f4dd6 [2022-12-15T02:12:22.091Z] Step 13/13 : RUN ${MAKE} [2022-12-15T02:12:22.091Z] ---> Running in 6b1f7368755a [2022-12-15T02:12:22.091Z] noop [2022-12-15T02:12:22.091Z] Removing intermediate container 6b1f7368755a [2022-12-15T02:12:22.091Z] ---> 435800bc3a42 [2022-12-15T02:12:22.091Z] Successfully built 435800bc3a42 [2022-12-15T02:12:22.350Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:12:22.661Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-15T02:12:22.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T02:12:22.732Z] prd-ubuntu20.04-docker-8c-8g-121280 does not seem to be running inside a container [2022-12-15T02:12:22.765Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-12-15T02:12:23.166Z] $ docker top 9ea68a49f27c2640ac02963f15235d484ef3b8ea1bfbbaa332e7561ee8bb125a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T02:12:23.511Z] + go version [2022-12-15T02:12:23.511Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-12-15T02:12:23.522Z] $ docker stop --time=1 9ea68a49f27c2640ac02963f15235d484ef3b8ea1bfbbaa332e7561ee8bb125a [2022-12-15T02:12:24.827Z] $ docker rm -f 9ea68a49f27c2640ac02963f15235d484ef3b8ea1bfbbaa332e7561ee8bb125a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:12:25.219Z] + docker inspect -f . ci-base-image-x86_64 [2022-12-15T02:12:25.219Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T02:12:25.280Z] prd-ubuntu20.04-docker-8c-8g-121280 does not seem to be running inside a container [2022-12-15T02:12:25.313Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-12-15T02:12:25.661Z] $ docker top 0dd9f34a5b5094d19143b74a33e5720b252e3c9ff4300af2e13f51691f94852b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T02:12:26.002Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-12-15T02:12:26.362Z] + make test [2022-12-15T02:12:26.362Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-15T02:12:26.926Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-12-15T02:12:36.892Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-12-15T02:12:38.795Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 29.3% of statements [2022-12-15T02:12:38.795Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-12-15T02:12:38.795Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.429s coverage: 86.5% of statements [2022-12-15T02:12:46.921Z] 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-15T02:12:46.921Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-15T02:12:48.822Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-15T02:12:48.822Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-15T02:12:48.822Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-15T02:12:48.833Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-15T02:12:48.848Z] $ docker stop --time=1 0dd9f34a5b5094d19143b74a33e5720b252e3c9ff4300af2e13f51691f94852b [2022-12-15T02:12:50.702Z] $ docker rm -f 0dd9f34a5b5094d19143b74a33e5720b252e3c9ff4300af2e13f51691f94852b [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-15T02:12:51.134Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-15T02:12:51.202Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-12-15T02:12:51.611Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-15T02:12:51.897Z] + ls -al . [2022-12-15T02:12:51.897Z] total 248 [2022-12-15T02:12:51.897Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:12 . [2022-12-15T02:12:51.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:11 .. [2022-12-15T02:12:51.897Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:12 .git [2022-12-15T02:12:51.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:11 .github [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 496 Dec 15 02:11 .gitignore [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 15 02:11 .golangci.yml [2022-12-15T02:12:51.897Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:11 .semver [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 9742 Dec 15 02:11 Attribution.txt [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 6312 Dec 15 02:11 CHANGELOG.md [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 1710 Dec 15 02:11 Dockerfile [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:11 GOVERNANCE.md [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 734 Dec 15 02:11 Jenkinsfile [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 15 02:11 LICENSE [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 2858 Dec 15 02:11 Makefile [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 625 Dec 15 02:11 OWNERS.md [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 6595 Dec 15 02:11 README.md [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 02:11 VERSION [2022-12-15T02:12:51.897Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:11 bin [2022-12-15T02:12:51.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:11 cmd [2022-12-15T02:12:51.897Z] -rw-r--r-- 1 jenkins jenkins 79184 Dec 15 02:12 coverage.out [2022-12-15T02:12:51.897Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 15 02:11 doc [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 3688 Dec 15 02:11 go.mod [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 46249 Dec 15 02:11 go.sum [2022-12-15T02:12:51.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:11 internal [2022-12-15T02:12:51.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:11 snap [2022-12-15T02:12:51.897Z] -rw-rw-r-- 1 jenkins jenkins 236 Dec 15 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:12:52.237Z] + 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=ea880fc31b0174b90466c50ed9850daca6f0f1c5 --label arch=amd64 --label version=0.0.0 . [2022-12-15T02:12:52.237Z] Sending build context to Docker daemon 27.75MB [2022-12-15T02:12:52.237Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T02:12:52.237Z] Step 2/27 : FROM ${BASE} AS builder [2022-12-15T02:12:52.237Z] ---> 435800bc3a42 [2022-12-15T02:12:52.237Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-12-15T02:12:52.497Z] ---> Running in 0562eb7f10f7 [2022-12-15T02:12:52.497Z] Removing intermediate container 0562eb7f10f7 [2022-12-15T02:12:52.497Z] ---> ed865ae34456 [2022-12-15T02:12:52.497Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T02:12:52.497Z] ---> Running in 3b220f57b7a2 [2022-12-15T02:12:52.497Z] Removing intermediate container 3b220f57b7a2 [2022-12-15T02:12:52.497Z] ---> 6e6028069dca [2022-12-15T02:12:52.497Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T02:12:52.768Z] ---> Running in 4e9127f3b442 [2022-12-15T02:12:52.769Z] Removing intermediate container 4e9127f3b442 [2022-12-15T02:12:52.769Z] ---> b47ac9a06285 [2022-12-15T02:12:52.769Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T02:12:52.769Z] ---> Running in 84633e4f9718 [2022-12-15T02:12:52.769Z] Removing intermediate container 84633e4f9718 [2022-12-15T02:12:52.769Z] ---> 518e42cec51c [2022-12-15T02:12:52.769Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-12-15T02:12:53.028Z] ---> Running in fa5c89374ae1 [2022-12-15T02:12:53.028Z] Removing intermediate container fa5c89374ae1 [2022-12-15T02:12:53.028Z] ---> 95f9661ef904 [2022-12-15T02:12:53.028Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T02:12:53.028Z] ---> Running in cebb11b17f45 [2022-12-15T02:12:53.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-15T02:12:53.548Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-15T02:12:53.808Z] OK: 211 MiB in 51 packages [2022-12-15T02:12:54.068Z] Removing intermediate container cebb11b17f45 [2022-12-15T02:12:54.068Z] ---> 6bd229f969b0 [2022-12-15T02:12:54.068Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-12-15T02:12:54.068Z] ---> Running in 6d13a5f73915 [2022-12-15T02:12:54.328Z] Removing intermediate container 6d13a5f73915 [2022-12-15T02:12:54.328Z] ---> 5285325b1d9a [2022-12-15T02:12:54.328Z] Step 10/27 : COPY go.mod vendor* ./ [2022-12-15T02:12:54.328Z] ---> 1ac6665f8633 [2022-12-15T02:12:54.328Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T02:12:54.328Z] ---> Running in 2958a66ee27b [2022-12-15T02:12:54.896Z] Removing intermediate container 2958a66ee27b [2022-12-15T02:12:54.896Z] ---> 9d95c976b40e [2022-12-15T02:12:54.896Z] Step 12/27 : COPY . . [2022-12-15T02:12:55.831Z] ---> ff88ce5dd876 [2022-12-15T02:12:55.831Z] Step 13/27 : RUN ${MAKE} [2022-12-15T02:12:55.831Z] ---> Running in eaa9e1683ef8 [2022-12-15T02:12:55.831Z] 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.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-12-15T02:13:17.752Z] Removing intermediate container eaa9e1683ef8 [2022-12-15T02:13:17.752Z] ---> 116114e9d774 [2022-12-15T02:13:17.752Z] Step 14/27 : FROM alpine:3.16 [2022-12-15T02:13:17.752Z] 3.16: Pulling from library/alpine [2022-12-15T02:13:17.752Z] ca7dd9ec2225: Pulling fs layer [2022-12-15T02:13:17.752Z] ca7dd9ec2225: Verifying Checksum [2022-12-15T02:13:17.752Z] ca7dd9ec2225: Download complete [2022-12-15T02:13:17.752Z] ca7dd9ec2225: Pull complete [2022-12-15T02:13:17.752Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-15T02:13:17.752Z] Status: Downloaded newer image for alpine:3.16 [2022-12-15T02:13:17.752Z] ---> bfe296a52501 [2022-12-15T02:13:17.752Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-15T02:13:17.752Z] ---> Running in c6889be5fe01 [2022-12-15T02:13:17.752Z] Removing intermediate container c6889be5fe01 [2022-12-15T02:13:17.752Z] ---> 85dcb3d19373 [2022-12-15T02:13:17.752Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-12-15T02:13:17.752Z] ---> Running in 9468ba119618 [2022-12-15T02:13:18.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-12-15T02:13:18.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-12-15T02:13:18.267Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-15T02:13:18.267Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-15T02:13:18.267Z] (3/21) Installing readline (8.1.2-r0) [2022-12-15T02:13:18.267Z] (4/21) Installing bash (5.1.16-r2) [2022-12-15T02:13:18.525Z] Executing bash-5.1.16-r2.post-install [2022-12-15T02:13:18.525Z] (5/21) Installing ca-certificates (20220614-r0) [2022-12-15T02:13:18.525Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-12-15T02:13:18.525Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-12-15T02:13:18.525Z] (8/21) Installing libcurl (7.83.1-r4) [2022-12-15T02:13:18.525Z] (9/21) Installing curl (7.83.1-r4) [2022-12-15T02:13:18.525Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-12-15T02:13:18.525Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-12-15T02:13:18.525Z] (12/21) Installing jq (1.6-r1) [2022-12-15T02:13:18.525Z] (13/21) Installing popt (1.18-r0) [2022-12-15T02:13:18.525Z] (14/21) Installing pcre (8.45-r2) [2022-12-15T02:13:18.525Z] (15/21) Installing slang (2.3.2-r0) [2022-12-15T02:13:18.525Z] (16/21) Installing newt (0.52.21-r2) [2022-12-15T02:13:18.525Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-12-15T02:13:18.525Z] (18/21) Installing libsodium (1.0.18-r0) [2022-12-15T02:13:18.525Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-15T02:13:18.525Z] (20/21) Installing libzmq (4.3.4-r0) [2022-12-15T02:13:18.525Z] (21/21) Installing zeromq (4.3.4-r0) [2022-12-15T02:13:18.525Z] Executing busybox-1.35.0-r17.trigger [2022-12-15T02:13:18.525Z] Executing ca-certificates-20220614-r0.trigger [2022-12-15T02:13:18.525Z] OK: 17 MiB in 35 packages [2022-12-15T02:13:19.709Z] Removing intermediate container 9468ba119618 [2022-12-15T02:13:19.709Z] ---> 05f0929f891c [2022-12-15T02:13:19.709Z] Step 17/27 : WORKDIR / [2022-12-15T02:13:19.709Z] ---> Running in 9bec4be626a7 [2022-12-15T02:13:19.709Z] Removing intermediate container 9bec4be626a7 [2022-12-15T02:13:19.709Z] ---> 94017f7626bc [2022-12-15T02:13:19.709Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-12-15T02:13:19.967Z] ---> ffe044ec2f52 [2022-12-15T02:13:19.967Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-12-15T02:13:20.225Z] ---> 759b14f6a61a [2022-12-15T02:13:20.225Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-12-15T02:13:20.225Z] ---> 91bd0d41b30c [2022-12-15T02:13:20.225Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-12-15T02:13:20.483Z] ---> 161f4dccc677 [2022-12-15T02:13:20.483Z] Step 22/27 : EXPOSE 59984 [2022-12-15T02:13:20.483Z] ---> Running in 9fff204af294 [2022-12-15T02:13:20.743Z] Removing intermediate container 9fff204af294 [2022-12-15T02:13:20.743Z] ---> a82632ea14d2 [2022-12-15T02:13:20.743Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-12-15T02:13:20.743Z] ---> Running in 32f0c1f4d64a [2022-12-15T02:13:20.743Z] Removing intermediate container 32f0c1f4d64a [2022-12-15T02:13:20.743Z] ---> 00d2f119ef8c [2022-12-15T02:13:20.743Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-15T02:13:21.002Z] ---> Running in f028d27a6bfd [2022-12-15T02:13:21.002Z] Removing intermediate container f028d27a6bfd [2022-12-15T02:13:21.002Z] ---> 95408c693607 [2022-12-15T02:13:21.002Z] Step 25/27 : LABEL arch=amd64 [2022-12-15T02:13:21.002Z] ---> Running in daa2b6854640 [2022-12-15T02:13:21.260Z] Removing intermediate container daa2b6854640 [2022-12-15T02:13:21.260Z] ---> 719af5f9e800 [2022-12-15T02:13:21.260Z] Step 26/27 : LABEL git_sha=ea880fc31b0174b90466c50ed9850daca6f0f1c5 [2022-12-15T02:13:21.260Z] ---> Running in 9c624dfa929e [2022-12-15T02:13:21.260Z] Removing intermediate container 9c624dfa929e [2022-12-15T02:13:21.260Z] ---> 8dda9d1db4c0 [2022-12-15T02:13:21.260Z] Step 27/27 : LABEL version=0.0.0 [2022-12-15T02:13:21.260Z] ---> Running in 1e77e517572e [2022-12-15T02:13:21.519Z] Removing intermediate container 1e77e517572e [2022-12-15T02:13:21.519Z] ---> 9379b1cfb777 [2022-12-15T02:13:21.519Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-15T02:13:21.519Z] Successfully built 9379b1cfb777 [2022-12-15T02:13:21.519Z] 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-15T02:13:21.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T02:13:21.938Z] [2022-12-15T02:13:21.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:13:22.231Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T02:13:22.231Z] latest: Pulling from edgex-lftools-log-publisher [2022-12-15T02:13:22.231Z] 5eb5b503b376: Pulling fs layer [2022-12-15T02:13:22.231Z] 5c69ac0246d0: Pulling fs layer [2022-12-15T02:13:22.231Z] ec43610c2a17: Pulling fs layer [2022-12-15T02:13:22.231Z] 3a2ae6a8a46f: Pulling fs layer [2022-12-15T02:13:22.231Z] 33b1e0a273af: Pulling fs layer [2022-12-15T02:13:22.231Z] 5d3b04190fa2: Pulling fs layer [2022-12-15T02:13:22.231Z] 2f39f015ded8: Pulling fs layer [2022-12-15T02:13:22.231Z] 33b1e0a273af: Waiting [2022-12-15T02:13:22.231Z] 3a2ae6a8a46f: Waiting [2022-12-15T02:13:22.231Z] 2f39f015ded8: Waiting [2022-12-15T02:13:22.231Z] 5d3b04190fa2: Waiting [2022-12-15T02:13:22.231Z] 5c69ac0246d0: Verifying Checksum [2022-12-15T02:13:22.231Z] 5c69ac0246d0: Download complete [2022-12-15T02:13:22.231Z] 3a2ae6a8a46f: Verifying Checksum [2022-12-15T02:13:22.231Z] 3a2ae6a8a46f: Download complete [2022-12-15T02:13:22.231Z] 33b1e0a273af: Verifying Checksum [2022-12-15T02:13:22.231Z] 33b1e0a273af: Download complete [2022-12-15T02:13:22.487Z] 5d3b04190fa2: Verifying Checksum [2022-12-15T02:13:22.487Z] 5d3b04190fa2: Download complete [2022-12-15T02:13:22.487Z] ec43610c2a17: Download complete [2022-12-15T02:13:22.487Z] 5eb5b503b376: Verifying Checksum [2022-12-15T02:13:22.487Z] 5eb5b503b376: Download complete [2022-12-15T02:13:23.054Z] 2f39f015ded8: Download complete [2022-12-15T02:13:23.621Z] 5eb5b503b376: Pull complete [2022-12-15T02:13:23.879Z] 5c69ac0246d0: Pull complete [2022-12-15T02:13:24.137Z] ec43610c2a17: Pull complete [2022-12-15T02:13:24.394Z] 3a2ae6a8a46f: Pull complete [2022-12-15T02:13:24.652Z] 33b1e0a273af: Pull complete [2022-12-15T02:13:24.652Z] 5d3b04190fa2: Pull complete [2022-12-15T02:13:28.835Z] 2f39f015ded8: Pull complete [2022-12-15T02:13:28.835Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-12-15T02:13:28.835Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T02:13:28.835Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T02:13:28.915Z] prd-ubuntu20.04-docker-8c-8g-121280 does not seem to be running inside a container [2022-12-15T02:13:28.945Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-15T02:13:32.102Z] $ docker top 92c1dfe42da5632895f087416b2f565fdb373eac7a28987d9eb90a6baa2b1741 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:13:32.484Z] ---> job-cost.sh [2022-12-15T02:13:32.484Z] lf-activate-venv: SKIPPING [2022-12-15T02:13:32.484Z] INFO: No Stack... [2022-12-15T02:13:32.744Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-15T02:13:33.313Z] INFO: Archiving Costs [Pipeline] sh [2022-12-15T02:13:33.601Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-12-15T02:13:33.602Z] + cut -d, -f6 [Pipeline] lock [2022-12-15T02:13:33.614Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] [2022-12-15T02:13:33.619Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] did not exist. Created. [2022-12-15T02:13:33.619Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-15T02:13:33.913Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-12-15T02:13:33.936Z] Stashed 1 file(s) [Pipeline] } [2022-12-15T02:13:33.941Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-15T02:13:33.960Z] $ docker stop --time=1 92c1dfe42da5632895f087416b2f565fdb373eac7a28987d9eb90a6baa2b1741 [2022-12-15T02:13:35.139Z] $ docker rm -f 92c1dfe42da5632895f087416b2f565fdb373eac7a28987d9eb90a6baa2b1741 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-12-15T02:15:12.200Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-121282 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-12-15T02:15:12.213Z] Running in /w/workspace/device-onvif-camera/31 [Pipeline] { [Pipeline] checkout [2022-12-15T02:15:12.252Z] The recommended git tool is: git [2022-12-15T02:15:17.841Z] using credential edgex-jenkins-ssh [2022-12-15T02:15:17.856Z] Cloning the remote Git repository [2022-12-15T02:15:17.905Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-15T02:15:17.986Z] > git init /w/workspace/device-onvif-camera/31 # timeout=10 [2022-12-15T02:15:18.149Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-15T02:15:18.151Z] > git --version # timeout=10 [2022-12-15T02:15:18.175Z] > git --version # 'git version 2.25.1' [2022-12-15T02:15:18.177Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-15T02:15:18.244Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-15T02:15:19.890Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-12-15T02:15:19.928Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-12-15T02:15:20.863Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-12-15T02:15:20.905Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-12-15T02:15:20.906Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-15T02:15:20.922Z] > 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-15T02:15:21.499Z] Merging remotes/origin/main commit 4eac92da5dfc23f9865ece6d9684c74467a8de72 into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-12-15T02:15:21.521Z] > git config core.sparsecheckout # timeout=10 [2022-12-15T02:15:21.545Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-12-15T02:15:21.797Z] > git remote # timeout=10 [2022-12-15T02:15:21.812Z] > git config --get remote.origin.url # timeout=10 [2022-12-15T02:15:21.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-12-15T02:15:21.847Z] > git merge 4eac92da5dfc23f9865ece6d9684c74467a8de72 # timeout=10 [2022-12-15T02:15:22.490Z] Merge succeeded, producing 89219144a53c6e8b1666f89d686f6be0004021e5 [2022-12-15T02:15:22.490Z] Checking out Revision 89219144a53c6e8b1666f89d686f6be0004021e5 (PR-125) [2022-12-15T02:15:22.467Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-12-15T02:15:22.500Z] > git config core.sparsecheckout # timeout=10 [2022-12-15T02:15:22.524Z] > git checkout -f 89219144a53c6e8b1666f89d686f6be0004021e5 # timeout=10 [2022-12-15T02:15:26.258Z] Commit message: "Merge commit '4eac92da5dfc23f9865ece6d9684c74467a8de72' into HEAD" [2022-12-15T02:15:26.288Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-15T02:15:26.270Z] > git rev-list --no-walk 7ab38b5064460d20a0ba9652b5c3974c395ca986 # timeout=10 [2022-12-15T02:15:27.137Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-12-15T02:15:27.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-15T02:15:27.137Z] Dload Upload Total Spent Left Speed [2022-12-15T02:15:27.137Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh [2022-12-15T02:15:27.882Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-12-15T02:15:28.219Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-12-15T02:15:28.219Z] + sudo tee /etc/docker/daemon.new [2022-12-15T02:15:28.219Z] { [2022-12-15T02:15:28.219Z] "registry-mirrors": [ [2022-12-15T02:15:28.219Z] "https://nexus3.edgexfoundry.org:10001" [2022-12-15T02:15:28.219Z] ], [2022-12-15T02:15:28.219Z] "bip": "10.250.0.254/24", [2022-12-15T02:15:28.219Z] "hosts": [ [2022-12-15T02:15:28.219Z] "tcp://0.0.0.0:5555", [2022-12-15T02:15:28.219Z] "unix:///var/run/docker.sock" [2022-12-15T02:15:28.219Z] ], [2022-12-15T02:15:28.219Z] "mtu": 1458, [2022-12-15T02:15:28.219Z] "selinux-enabled": true, [2022-12-15T02:15:28.219Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-12-15T02:15:28.219Z] } [Pipeline] sh [2022-12-15T02:15:28.563Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-12-15T02:15:28.896Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-15T02:15:47.170Z] provisioning config files... [2022-12-15T02:15:47.196Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/31@tmp/config14659882947633894767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:15:47.563Z] ---> docker-login.sh [2022-12-15T02:15:47.563Z] nexus3.edgexfoundry.org:10001 [2022-12-15T02:15:48.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:15:48.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:15:48.152Z] Configure a credential helper to remove this warning. See [2022-12-15T02:15:48.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:15:48.152Z] [2022-12-15T02:15:48.152Z] Login Succeeded [2022-12-15T02:15:48.152Z] nexus3.edgexfoundry.org:10002 [2022-12-15T02:15:48.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:15:48.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:15:48.420Z] Configure a credential helper to remove this warning. See [2022-12-15T02:15:48.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:15:48.420Z] [2022-12-15T02:15:48.420Z] Login Succeeded [2022-12-15T02:15:48.420Z] nexus3.edgexfoundry.org:10003 [2022-12-15T02:15:48.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:15:48.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:15:48.959Z] Configure a credential helper to remove this warning. See [2022-12-15T02:15:48.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:15:48.959Z] [2022-12-15T02:15:48.959Z] Login Succeeded [2022-12-15T02:15:48.959Z] nexus3.edgexfoundry.org:10004 [2022-12-15T02:15:49.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:15:49.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:15:49.230Z] Configure a credential helper to remove this warning. See [2022-12-15T02:15:49.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:15:49.230Z] [2022-12-15T02:15:49.230Z] Login Succeeded [2022-12-15T02:15:49.230Z] docker.io [2022-12-15T02:15:49.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-12-15T02:15:49.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-12-15T02:15:49.771Z] Configure a credential helper to remove this warning. See [2022-12-15T02:15:49.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-12-15T02:15:49.771Z] [2022-12-15T02:15:49.771Z] Login Succeeded [2022-12-15T02:15:49.771Z] ---> docker-login.sh ends [Pipeline] } [2022-12-15T02:15:49.785Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-12-15T02:15:49.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T02:15:50.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-12-15T02:15:50.025Z] ========================================================= [2022-12-15T02:15:50.025Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-12-15T02:15:50.025Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:15:50.380Z] + 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-15T02:15:50.966Z] Sending build context to Docker daemon 20.53MB [2022-12-15T02:15:50.966Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T02:15:50.966Z] Step 2/13 : FROM ${BASE} AS builder [2022-12-15T02:15:50.966Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-12-15T02:15:50.966Z] 9b18e9b68314: Pulling fs layer [2022-12-15T02:15:50.966Z] 35d82f9e3411: Pulling fs layer [2022-12-15T02:15:50.966Z] e16973657156: Pulling fs layer [2022-12-15T02:15:50.966Z] fc693d55d65f: Pulling fs layer [2022-12-15T02:15:50.966Z] 7e9fc2657dce: Pulling fs layer [2022-12-15T02:15:50.966Z] dda99020689f: Pulling fs layer [2022-12-15T02:15:50.966Z] db1c61fa0a46: Pulling fs layer [2022-12-15T02:15:50.966Z] 891c053d2c06: Pulling fs layer [2022-12-15T02:15:50.966Z] dda99020689f: Waiting [2022-12-15T02:15:50.966Z] db1c61fa0a46: Waiting [2022-12-15T02:15:50.966Z] 891c053d2c06: Waiting [2022-12-15T02:15:50.966Z] 7e9fc2657dce: Waiting [2022-12-15T02:15:50.966Z] fc693d55d65f: Waiting [2022-12-15T02:15:51.236Z] e16973657156: Verifying Checksum [2022-12-15T02:15:51.236Z] e16973657156: Download complete [2022-12-15T02:15:51.236Z] 35d82f9e3411: Download complete [2022-12-15T02:15:51.236Z] 7e9fc2657dce: Verifying Checksum [2022-12-15T02:15:51.236Z] 7e9fc2657dce: Download complete [2022-12-15T02:15:51.236Z] dda99020689f: Verifying Checksum [2022-12-15T02:15:51.236Z] dda99020689f: Download complete [2022-12-15T02:15:51.236Z] 9b18e9b68314: Verifying Checksum [2022-12-15T02:15:51.236Z] 9b18e9b68314: Download complete [2022-12-15T02:15:52.215Z] 9b18e9b68314: Pull complete [2022-12-15T02:15:52.215Z] 891c053d2c06: Verifying Checksum [2022-12-15T02:15:52.215Z] 891c053d2c06: Download complete [2022-12-15T02:15:52.812Z] 35d82f9e3411: Pull complete [2022-12-15T02:15:52.812Z] e16973657156: Pull complete [2022-12-15T02:15:53.406Z] db1c61fa0a46: Verifying Checksum [2022-12-15T02:15:53.406Z] db1c61fa0a46: Download complete [2022-12-15T02:15:53.997Z] fc693d55d65f: Verifying Checksum [2022-12-15T02:15:53.997Z] fc693d55d65f: Download complete [2022-12-15T02:16:06.362Z] fc693d55d65f: Pull complete [2022-12-15T02:16:06.362Z] 7e9fc2657dce: Pull complete [2022-12-15T02:16:06.362Z] dda99020689f: Pull complete [2022-12-15T02:16:13.028Z] db1c61fa0a46: Pull complete [2022-12-15T02:16:14.995Z] 891c053d2c06: Pull complete [2022-12-15T02:16:14.995Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-12-15T02:16:14.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-12-15T02:16:14.995Z] ---> f96f9c87975a [2022-12-15T02:16:14.995Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-12-15T02:16:16.957Z] ---> Running in e462fdbb5071 [2022-12-15T02:16:17.224Z] Removing intermediate container e462fdbb5071 [2022-12-15T02:16:17.224Z] ---> 06255eb59ea0 [2022-12-15T02:16:17.224Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T02:16:17.224Z] ---> Running in 4114a44a36b7 [2022-12-15T02:16:17.812Z] Removing intermediate container 4114a44a36b7 [2022-12-15T02:16:17.812Z] ---> 65f2315e228f [2022-12-15T02:16:17.812Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T02:16:17.812Z] ---> Running in c3b2c9d67f28 [2022-12-15T02:16:18.081Z] Removing intermediate container c3b2c9d67f28 [2022-12-15T02:16:18.081Z] ---> 4d45072a369a [2022-12-15T02:16:18.081Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T02:16:18.081Z] ---> Running in e1b5d0cd9cb4 [2022-12-15T02:16:18.348Z] Removing intermediate container e1b5d0cd9cb4 [2022-12-15T02:16:18.348Z] ---> ed384a5803c6 [2022-12-15T02:16:18.348Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-12-15T02:16:18.623Z] ---> Running in c28391737c8b [2022-12-15T02:16:18.891Z] Removing intermediate container c28391737c8b [2022-12-15T02:16:18.891Z] ---> b5cd8f3ad65b [2022-12-15T02:16:18.891Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T02:16:18.891Z] ---> Running in 48714fb28298 [2022-12-15T02:16:20.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-15T02:16:20.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-15T02:16:21.549Z] OK: 221 MiB in 51 packages [2022-12-15T02:16:22.521Z] Removing intermediate container 48714fb28298 [2022-12-15T02:16:22.521Z] ---> b4fe9cf493fe [2022-12-15T02:16:22.521Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-12-15T02:16:22.521Z] ---> Running in e0bb8e3b94be [2022-12-15T02:16:22.794Z] Removing intermediate container e0bb8e3b94be [2022-12-15T02:16:22.794Z] ---> 06787b4818e9 [2022-12-15T02:16:22.794Z] Step 10/13 : COPY go.mod vendor* ./ [2022-12-15T02:16:23.383Z] ---> df618167eefb [2022-12-15T02:16:23.383Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T02:16:23.661Z] ---> Running in 186fc0809270 [2022-12-15T02:17:20.115Z] Removing intermediate container 186fc0809270 [2022-12-15T02:17:20.115Z] ---> e9adf148afae [2022-12-15T02:17:20.115Z] Step 12/13 : COPY . . [2022-12-15T02:17:21.107Z] ---> efdd2373e019 [2022-12-15T02:17:21.107Z] Step 13/13 : RUN ${MAKE} [2022-12-15T02:17:21.107Z] ---> Running in e3334a3a0a53 [2022-12-15T02:17:22.075Z] noop [2022-12-15T02:17:23.041Z] Removing intermediate container e3334a3a0a53 [2022-12-15T02:17:23.041Z] ---> b74e235b9fde [2022-12-15T02:17:23.041Z] Successfully built b74e235b9fde [2022-12-15T02:17:23.041Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:17:23.392Z] + docker inspect -f . ci-base-image-arm64 [2022-12-15T02:17:23.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T02:17:23.590Z] prd-ubuntu20.04-docker-arm64-4c-16g-121282 does not seem to be running inside a container [2022-12-15T02:17:23.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/31 -v /w/workspace/device-onvif-camera/31:/w/workspace/device-onvif-camera/31:rw,z -v /w/workspace/device-onvif-camera/31@tmp:/w/workspace/device-onvif-camera/31@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-15T02:17:24.926Z] $ docker top e10e235a340acc09ee494e1e80335b9d4a189308542f6c6a7de33ab81cf94a4a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T02:17:25.756Z] + go version [2022-12-15T02:17:25.756Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-12-15T02:17:25.778Z] $ docker stop --time=1 e10e235a340acc09ee494e1e80335b9d4a189308542f6c6a7de33ab81cf94a4a [2022-12-15T02:17:27.456Z] $ docker rm -f e10e235a340acc09ee494e1e80335b9d4a189308542f6c6a7de33ab81cf94a4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:17:28.012Z] + docker inspect -f . ci-base-image-arm64 [2022-12-15T02:17:28.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T02:17:28.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-121282 does not seem to be running inside a container [2022-12-15T02:17:28.269Z] $ 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/31 -v /w/workspace/device-onvif-camera/31:/w/workspace/device-onvif-camera/31:rw,z -v /w/workspace/device-onvif-camera/31@tmp:/w/workspace/device-onvif-camera/31@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-15T02:17:29.455Z] $ docker top a32ef1f2baad5cba6b7810e1cdc772992569c7dc0e1ac380ed9a82fad9100d18 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T02:17:30.295Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/31 [Pipeline] fileExists [Pipeline] sh [2022-12-15T02:17:30.950Z] + make test [2022-12-15T02:17:30.950Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-12-15T02:17:32.904Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-12-15T02:19:09.570Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-12-15T02:19:12.169Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.183s coverage: 29.3% of statements [2022-12-15T02:19:12.169Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-12-15T02:19:30.422Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.601s coverage: 86.5% of statements [2022-12-15T02:19:30.423Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-12-15T02:19:30.423Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-12-15T02:20:02.716Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-12-15T02:20:02.716Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-12-15T02:20:02.716Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-12-15T02:20:02.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-12-15T02:20:02.750Z] $ docker stop --time=1 a32ef1f2baad5cba6b7810e1cdc772992569c7dc0e1ac380ed9a82fad9100d18 [2022-12-15T02:20:04.760Z] $ docker rm -f a32ef1f2baad5cba6b7810e1cdc772992569c7dc0e1ac380ed9a82fad9100d18 [Pipeline] // withDockerContainer [Pipeline] sh [2022-12-15T02:20:05.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-12-15T02:20:05.862Z] Warning: overwriting stash ‘coverage-report’ [2022-12-15T02:20:06.604Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-12-15T02:20:07.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-12-15T02:20:07.444Z] + ls -al . [2022-12-15T02:20:07.444Z] total 244 [2022-12-15T02:20:07.444Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 02:17 . [2022-12-15T02:20:07.444Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:15 .. [2022-12-15T02:20:07.444Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:15 .git [2022-12-15T02:20:07.444Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:15 .github [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 496 Dec 15 02:15 .gitignore [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 15 02:15 .golangci.yml [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 9742 Dec 15 02:15 Attribution.txt [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 6312 Dec 15 02:15 CHANGELOG.md [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 1710 Dec 15 02:15 Dockerfile [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:15 GOVERNANCE.md [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 734 Dec 15 02:15 Jenkinsfile [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 11348 Dec 15 02:15 LICENSE [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 2858 Dec 15 02:15 Makefile [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 625 Dec 15 02:15 OWNERS.md [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 6595 Dec 15 02:15 README.md [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 02:11 VERSION [2022-12-15T02:20:07.444Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:15 bin [2022-12-15T02:20:07.444Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:15 cmd [2022-12-15T02:20:07.444Z] -rw-r--r-- 1 jenkins jenkins 79184 Dec 15 02:19 coverage.out [2022-12-15T02:20:07.444Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 15 02:15 doc [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 3688 Dec 15 02:15 go.mod [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 46249 Dec 15 02:15 go.sum [2022-12-15T02:20:07.444Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:15 internal [2022-12-15T02:20:07.444Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:15 snap [2022-12-15T02:20:07.444Z] -rw-rw-r-- 1 jenkins jenkins 236 Dec 15 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:20:07.825Z] + 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=89219144a53c6e8b1666f89d686f6be0004021e5 --label arch=arm64 --label version=0.0.0 . [2022-12-15T02:20:08.846Z] Sending build context to Docker daemon 20.61MB [2022-12-15T02:20:08.846Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-12-15T02:20:08.846Z] Step 2/27 : FROM ${BASE} AS builder [2022-12-15T02:20:08.846Z] ---> b74e235b9fde [2022-12-15T02:20:08.846Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-12-15T02:20:09.128Z] ---> Running in efb77c995e6b [2022-12-15T02:20:09.408Z] Removing intermediate container efb77c995e6b [2022-12-15T02:20:09.408Z] ---> 002c90315de4 [2022-12-15T02:20:09.408Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-12-15T02:20:09.677Z] ---> Running in 94215117b56a [2022-12-15T02:20:09.946Z] Removing intermediate container 94215117b56a [2022-12-15T02:20:09.946Z] ---> f0857951f7be [2022-12-15T02:20:09.946Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-12-15T02:20:09.946Z] ---> Running in 7f1ae3091a41 [2022-12-15T02:20:10.221Z] Removing intermediate container 7f1ae3091a41 [2022-12-15T02:20:10.221Z] ---> 013b8e3f4f7c [2022-12-15T02:20:10.221Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-12-15T02:20:10.491Z] ---> Running in e04ac7560d78 [2022-12-15T02:20:10.759Z] Removing intermediate container e04ac7560d78 [2022-12-15T02:20:10.759Z] ---> 7fbc2bf85db4 [2022-12-15T02:20:10.759Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-12-15T02:20:10.759Z] ---> Running in e51b9d2f46bd [2022-12-15T02:20:11.036Z] Removing intermediate container e51b9d2f46bd [2022-12-15T02:20:11.036Z] ---> 2c820ae18fb0 [2022-12-15T02:20:11.036Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-12-15T02:20:11.308Z] ---> Running in a74f30e424f4 [2022-12-15T02:20:12.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-15T02:20:12.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-15T02:20:13.954Z] OK: 221 MiB in 51 packages [2022-12-15T02:20:14.922Z] Removing intermediate container a74f30e424f4 [2022-12-15T02:20:14.922Z] ---> d3a5ecfefead [2022-12-15T02:20:14.922Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-12-15T02:20:14.922Z] ---> Running in 502fb51cf00a [2022-12-15T02:20:15.192Z] Removing intermediate container 502fb51cf00a [2022-12-15T02:20:15.192Z] ---> b0abea9e25cc [2022-12-15T02:20:15.192Z] Step 10/27 : COPY go.mod vendor* ./ [2022-12-15T02:20:15.797Z] ---> c435d81d0fd8 [2022-12-15T02:20:15.797Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-12-15T02:20:16.067Z] ---> Running in b77e0f8294c9 [2022-12-15T02:20:18.660Z] Removing intermediate container b77e0f8294c9 [2022-12-15T02:20:18.660Z] ---> e9ccec4407ac [2022-12-15T02:20:18.660Z] Step 12/27 : COPY . . [2022-12-15T02:20:20.622Z] ---> 6102c7c64a31 [2022-12-15T02:20:20.622Z] Step 13/27 : RUN ${MAKE} [2022-12-15T02:20:20.622Z] ---> Running in cdf513201d59 [2022-12-15T02:20:21.587Z] 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.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-12-15T02:22:58.323Z] Removing intermediate container cdf513201d59 [2022-12-15T02:22:58.323Z] ---> 3bb3a6941bed [2022-12-15T02:22:58.323Z] Step 14/27 : FROM alpine:3.16 [2022-12-15T02:22:58.323Z] 3.16: Pulling from library/alpine [2022-12-15T02:22:58.323Z] 6875df1f5354: Pulling fs layer [2022-12-15T02:22:58.323Z] 6875df1f5354: Verifying Checksum [2022-12-15T02:22:58.323Z] 6875df1f5354: Download complete [2022-12-15T02:22:58.323Z] 6875df1f5354: Pull complete [2022-12-15T02:22:58.323Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2022-12-15T02:22:58.323Z] Status: Downloaded newer image for alpine:3.16 [2022-12-15T02:22:58.323Z] ---> 2b4661558fb8 [2022-12-15T02:22:58.323Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-12-15T02:22:58.323Z] ---> Running in 2b6c54b55355 [2022-12-15T02:22:58.323Z] Removing intermediate container 2b6c54b55355 [2022-12-15T02:22:58.323Z] ---> 85d65313c3ac [2022-12-15T02:22:58.323Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-12-15T02:22:58.323Z] ---> Running in bbbfde8726cc [2022-12-15T02:22:58.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-12-15T02:22:58.323Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-12-15T02:22:58.323Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-12-15T02:22:58.323Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-12-15T02:22:58.323Z] (3/21) Installing readline (8.1.2-r0) [2022-12-15T02:22:58.323Z] (4/21) Installing bash (5.1.16-r2) [2022-12-15T02:22:58.323Z] Executing bash-5.1.16-r2.post-install [2022-12-15T02:22:58.323Z] (5/21) Installing ca-certificates (20220614-r0) [2022-12-15T02:22:58.323Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-12-15T02:22:58.323Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-12-15T02:22:58.323Z] (8/21) Installing libcurl (7.83.1-r4) [2022-12-15T02:22:58.323Z] (9/21) Installing curl (7.83.1-r4) [2022-12-15T02:22:58.323Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-12-15T02:22:58.323Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-12-15T02:22:58.323Z] (12/21) Installing jq (1.6-r1) [2022-12-15T02:22:58.323Z] (13/21) Installing popt (1.18-r0) [2022-12-15T02:22:58.323Z] (14/21) Installing pcre (8.45-r2) [2022-12-15T02:22:58.323Z] (15/21) Installing slang (2.3.2-r0) [2022-12-15T02:22:58.323Z] (16/21) Installing newt (0.52.21-r2) [2022-12-15T02:22:58.323Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-12-15T02:22:58.323Z] (18/21) Installing libsodium (1.0.18-r0) [2022-12-15T02:22:58.323Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-12-15T02:22:58.323Z] (20/21) Installing libzmq (4.3.4-r0) [2022-12-15T02:22:58.323Z] (21/21) Installing zeromq (4.3.4-r0) [2022-12-15T02:22:58.323Z] Executing busybox-1.35.0-r17.trigger [2022-12-15T02:22:58.323Z] Executing ca-certificates-20220614-r0.trigger [2022-12-15T02:22:58.323Z] OK: 16 MiB in 35 packages [2022-12-15T02:22:58.323Z] Removing intermediate container bbbfde8726cc [2022-12-15T02:22:58.323Z] ---> 6dcdebc6a648 [2022-12-15T02:22:58.323Z] Step 17/27 : WORKDIR / [2022-12-15T02:22:58.323Z] ---> Running in fd7f18ec30c3 [2022-12-15T02:22:58.323Z] Removing intermediate container fd7f18ec30c3 [2022-12-15T02:22:58.323Z] ---> 516eb34801d6 [2022-12-15T02:22:58.323Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-12-15T02:22:59.285Z] ---> 8a4717f7417a [2022-12-15T02:22:59.285Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-12-15T02:22:59.871Z] ---> a1442c332fce [2022-12-15T02:22:59.871Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-12-15T02:23:00.141Z] ---> e2f11cf6c1aa [2022-12-15T02:23:00.141Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-12-15T02:23:00.729Z] ---> efd4ab1764ae [2022-12-15T02:23:00.729Z] Step 22/27 : EXPOSE 59984 [2022-12-15T02:23:00.999Z] ---> Running in 8a11b97914c8 [2022-12-15T02:23:01.268Z] Removing intermediate container 8a11b97914c8 [2022-12-15T02:23:01.268Z] ---> 7a4a7b670209 [2022-12-15T02:23:01.268Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-12-15T02:23:01.268Z] ---> Running in 253db26a2fe0 [2022-12-15T02:23:01.536Z] Removing intermediate container 253db26a2fe0 [2022-12-15T02:23:01.536Z] ---> afcc967364be [2022-12-15T02:23:01.536Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-12-15T02:23:01.536Z] ---> Running in d5b6cdc127be [2022-12-15T02:23:01.815Z] Removing intermediate container d5b6cdc127be [2022-12-15T02:23:01.815Z] ---> 86cdf8a887f7 [2022-12-15T02:23:01.815Z] Step 25/27 : LABEL arch=arm64 [2022-12-15T02:23:02.084Z] ---> Running in 97ceda3a8160 [2022-12-15T02:23:02.352Z] Removing intermediate container 97ceda3a8160 [2022-12-15T02:23:02.352Z] ---> 451fc8f4bc28 [2022-12-15T02:23:02.352Z] Step 26/27 : LABEL git_sha=89219144a53c6e8b1666f89d686f6be0004021e5 [2022-12-15T02:23:02.352Z] ---> Running in 71de76c04eff [2022-12-15T02:23:02.620Z] Removing intermediate container 71de76c04eff [2022-12-15T02:23:02.620Z] ---> 19b235accc63 [2022-12-15T02:23:02.620Z] Step 27/27 : LABEL version=0.0.0 [2022-12-15T02:23:02.620Z] ---> Running in 5b237792a746 [2022-12-15T02:23:02.888Z] Removing intermediate container 5b237792a746 [2022-12-15T02:23:02.888Z] ---> 85642041dbd9 [2022-12-15T02:23:02.888Z] [Warning] One or more build-args [ARCH] were not consumed [2022-12-15T02:23:03.156Z] Successfully built 85642041dbd9 [2022-12-15T02:23:03.156Z] 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-15T02:23:03.614Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-15T02:23:03.614Z] [2022-12-15T02:23:03.614Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:23:03.947Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-15T02:23:04.215Z] arm64: Pulling from edgex-lftools-log-publisher [2022-12-15T02:23:04.215Z] 8998bd30e6a1: Pulling fs layer [2022-12-15T02:23:04.215Z] 04944245beec: Pulling fs layer [2022-12-15T02:23:04.215Z] 699f458cf7ca: Pulling fs layer [2022-12-15T02:23:04.215Z] 765212b225bb: Pulling fs layer [2022-12-15T02:23:04.215Z] f23df028b6ca: Pulling fs layer [2022-12-15T02:23:04.215Z] d65c8cfc05b1: Pulling fs layer [2022-12-15T02:23:04.215Z] 2437ff75d9bd: Pulling fs layer [2022-12-15T02:23:04.215Z] f23df028b6ca: Waiting [2022-12-15T02:23:04.215Z] d65c8cfc05b1: Waiting [2022-12-15T02:23:04.215Z] 2437ff75d9bd: Waiting [2022-12-15T02:23:04.215Z] 04944245beec: Verifying Checksum [2022-12-15T02:23:04.215Z] 04944245beec: Download complete [2022-12-15T02:23:04.215Z] 765212b225bb: Verifying Checksum [2022-12-15T02:23:04.215Z] 765212b225bb: Download complete [2022-12-15T02:23:04.485Z] f23df028b6ca: Verifying Checksum [2022-12-15T02:23:04.485Z] f23df028b6ca: Download complete [2022-12-15T02:23:04.485Z] d65c8cfc05b1: Download complete [2022-12-15T02:23:04.485Z] 699f458cf7ca: Verifying Checksum [2022-12-15T02:23:05.073Z] 8998bd30e6a1: Verifying Checksum [2022-12-15T02:23:05.073Z] 8998bd30e6a1: Download complete [2022-12-15T02:23:07.666Z] 2437ff75d9bd: Verifying Checksum [2022-12-15T02:23:07.666Z] 2437ff75d9bd: Download complete [2022-12-15T02:23:09.089Z] 8998bd30e6a1: Pull complete [2022-12-15T02:23:09.357Z] 04944245beec: Pull complete [2022-12-15T02:23:10.769Z] 699f458cf7ca: Pull complete [2022-12-15T02:23:11.038Z] 765212b225bb: Pull complete [2022-12-15T02:23:12.000Z] f23df028b6ca: Pull complete [2022-12-15T02:23:12.000Z] d65c8cfc05b1: Pull complete [2022-12-15T02:23:27.017Z] 2437ff75d9bd: Pull complete [2022-12-15T02:23:27.017Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-12-15T02:23:27.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-12-15T02:23:27.017Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T02:23:27.193Z] prd-ubuntu20.04-docker-arm64-4c-16g-121282 does not seem to be running inside a container [2022-12-15T02:23:27.257Z] $ 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/31 -v /w/workspace/device-onvif-camera/31:/w/workspace/device-onvif-camera/31:rw,z -v /w/workspace/device-onvif-camera/31@tmp:/w/workspace/device-onvif-camera/31@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-15T02:23:29.892Z] $ docker top 7e339e8d651f3d638d34d05fd7a70124539a2a5252de5262c6c857b1601b2e22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:23:30.753Z] ---> job-cost.sh [2022-12-15T02:23:30.753Z] lf-activate-venv: SKIPPING [2022-12-15T02:23:30.753Z] INFO: No Stack... [2022-12-15T02:23:31.020Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-12-15T02:23:31.981Z] INFO: Archiving Costs [Pipeline] sh [2022-12-15T02:23:32.620Z] + cat /w/workspace/device-onvif-camera/31/archives/cost.csv [2022-12-15T02:23:32.620Z] + cut -d, -f6 [Pipeline] lock [2022-12-15T02:23:32.687Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] [2022-12-15T02:23:32.694Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] did not exist. Created. [2022-12-15T02:23:32.694Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-12-15T02:23:33.344Z] /w/workspace/device-onvif-camera/31@tmp/durable-6e074c73/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-12-15T02:23:33.679Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-12-15T02:23:33.695Z] Warning: overwriting stash ‘stack-cost’ [2022-12-15T02:23:33.765Z] Stashed 1 file(s) [Pipeline] } [2022-12-15T02:23:33.771Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-12-15T02:23:33.788Z] $ docker stop --time=1 7e339e8d651f3d638d34d05fd7a70124539a2a5252de5262c6c857b1601b2e22 [2022-12-15T02:23:35.309Z] $ docker rm -f 7e339e8d651f3d638d34d05fd7a70124539a2a5252de5262c6c857b1601b2e22 [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-15T02:23:35.653Z] provisioning config files... [2022-12-15T02:23:35.660Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config7376214548875876568tmp [Pipeline] { [Pipeline] sh [2022-12-15T02:23:35.952Z] + set +x [2022-12-15T02:23:35.952Z] + bash -s -- [2022-12-15T02:23:35.952Z] + curl -s https://codecov.io/bash [2022-12-15T02:23:35.952Z] [2022-12-15T02:23:35.952Z] _____ _ [2022-12-15T02:23:35.952Z] / ____| | | [2022-12-15T02:23:35.952Z] | | ___ __| | ___ ___ _____ __ [2022-12-15T02:23:35.952Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-12-15T02:23:35.952Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-12-15T02:23:35.952Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-12-15T02:23:35.952Z] Bash-1.0.6 [2022-12-15T02:23:35.952Z] [2022-12-15T02:23:35.952Z] [2022-12-15T02:23:35.952Z] ==> git version 2.25.1 found [2022-12-15T02:23:35.952Z] ==> 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-15T02:23:35.952Z] Release-Date: 2020-01-08 [2022-12-15T02:23:35.952Z] 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-15T02:23:35.952Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-12-15T02:23:35.952Z] ==> Jenkins CI detected. [2022-12-15T02:23:35.952Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-12-15T02:23:35.952Z] project root: . [2022-12-15T02:23:35.952Z] --> token set from env [2022-12-15T02:23:35.952Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-12-15T02:23:35.952Z] ==> Running gcov in . (disable via -X gcov) [2022-12-15T02:23:35.952Z] ==> Python coveragepy not found [2022-12-15T02:23:35.952Z] ==> Searching for coverage reports in: [2022-12-15T02:23:35.952Z] + . [2022-12-15T02:23:35.952Z] -> Found 1 reports [2022-12-15T02:23:35.952Z] ==> Detecting git/mercurial file structure [2022-12-15T02:23:35.952Z] ==> Reading reports [2022-12-15T02:23:35.952Z] + ./coverage.out bytes=79184 [2022-12-15T02:23:35.952Z] ==> Appending adjustments [2022-12-15T02:23:35.952Z] https://docs.codecov.io/docs/fixing-reports [2022-12-15T02:23:36.211Z] + Found adjustments [2022-12-15T02:23:36.211Z] ==> Gzipping contents [2022-12-15T02:23:36.211Z] 12K /tmp/codecov.UsbsLf.gz [2022-12-15T02:23:36.211Z] ==> Uploading reports [2022-12-15T02:23:36.211Z] url: https://codecov.io [2022-12-15T02:23:36.212Z] query: branch=PR-125&commit=ea880fc31b0174b90466c50ed9850daca6f0f1c5&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-12-15T02:23:36.212Z] -> Pinging Codecov [2022-12-15T02:23:36.212Z] 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=ea880fc31b0174b90466c50ed9850daca6f0f1c5&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-12-15T02:23:36.471Z] -> Uploading to [2022-12-15T02:23:36.471Z] https://storage.googleapis.com/codecov/v4/raw/2022-12-15/F29A59C45E3A92E06B3E522C9905F8EF/ea880fc31b0174b90466c50ed9850daca6f0f1c5/9846f6e3-eccb-459f-9b26-cb320cd01062.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221215T022336Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c051c3b63e73393693e1333ece08d1b3bfe749daf9d18379a1b459367d3aeda [2022-12-15T02:23:36.471Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-12-15T02:23:36.471Z] Dload Upload Total Spent Left Speed [2022-12-15T02:23:36.731Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10779 0 0 100 10779 0 52838 --:--:-- --:--:-- --:--:-- 52580 100 10779 0 0 100 10779 0 51085 --:--:-- --:--:-- --:--:-- 50844 [2022-12-15T02:23:36.731Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ea880fc31b0174b90466c50ed9850daca6f0f1c5 [Pipeline] } [2022-12-15T02:23:36.739Z] 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-15T02:23:37.464Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-12-15T02:23:37.464Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-12-15T02:23:37.464Z] total 16 [2022-12-15T02:23:37.464Z] drwxr-xr-x 3 root root 4096 Dec 15 02:13 . [2022-12-15T02:23:37.464Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 02:13 .. [2022-12-15T02:23:37.464Z] drwxr-xr-x 2 root root 4096 Dec 15 02:13 cost [2022-12-15T02:23:37.464Z] -rw-r--r-- 1 root root 92 Dec 15 02:13 cost.csv [2022-12-15T02:23:37.464Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-12-15T02:23:37.464Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-12-15T02:23:37.464Z] total 16 [2022-12-15T02:23:37.464Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:13 . [2022-12-15T02:23:37.464Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 02:13 .. [2022-12-15T02:23:37.464Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 02:13 cost [2022-12-15T02:23:37.464Z] -rw-r--r-- 1 jenkins jenkins 92 Dec 15 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:23:37.749Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:23:38.610Z] ---> package-listing.sh [2022-12-15T02:23:38.610Z] ++ facter osfamily [2022-12-15T02:23:38.610Z] ++ tr '[:upper:]' '[:lower:]' [2022-12-15T02:23:38.869Z] + OS_FAMILY=debian [2022-12-15T02:23:38.869Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-12-15T02:23:38.869Z] + START_PACKAGES=/tmp/packages_start.txt [2022-12-15T02:23:38.869Z] + END_PACKAGES=/tmp/packages_end.txt [2022-12-15T02:23:38.870Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-12-15T02:23:38.870Z] + PACKAGES=/tmp/packages_start.txt [2022-12-15T02:23:38.870Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-12-15T02:23:38.870Z] + PACKAGES=/tmp/packages_end.txt [2022-12-15T02:23:38.870Z] + case "${OS_FAMILY}" in [2022-12-15T02:23:38.870Z] + dpkg -l [2022-12-15T02:23:38.870Z] + grep '^ii' [2022-12-15T02:23:38.870Z] + '[' -f /tmp/packages_start.txt ']' [2022-12-15T02:23:38.870Z] + '[' -f /tmp/packages_end.txt ']' [2022-12-15T02:23:38.870Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-12-15T02:23:38.870Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-12-15T02:23:38.870Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-12-15T02:23:38.870Z] + 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-15T02:23:38.879Z] 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-15T02:23:39.159Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-12-15T02:23:39.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-12-15T02:23:39.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-12-15T02:23:39.779Z] prd-ubuntu20.04-docker-8c-8g-121280 does not seem to be running inside a container [2022-12-15T02:23:39.810Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-12-15T02:23:40.030Z] $ docker top f8bb871e0883719052fb368d758506634ad9e87b0842c6f74b644c712236438a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-12-15T02:23:40.371Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-12-15T02:23:40.655Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-12-15T02:23:40.945Z] + ls /var/log/sa-host [2022-12-15T02:23:40.945Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-12-15T02:23:41.006Z] provisioning config files... [2022-12-15T02:23:41.014Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14267133081808505689tmp [Pipeline] { [Pipeline] echo [2022-12-15T02:23:41.028Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:23:41.312Z] ---> create-netrc.sh [Pipeline] } [2022-12-15T02:23:41.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:23:41.632Z] ---> python-tools-install.sh [Pipeline] echo [2022-12-15T02:23:41.640Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:23:41.922Z] ---> sudo-logs.sh [2022-12-15T02:23:41.922Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-12-15T02:23:41.950Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:23:42.233Z] ---> job-cost.sh [2022-12-15T02:23:42.233Z] lf-activate-venv: SKIPPING [2022-12-15T02:23:42.233Z] DEBUG: total: 0.2199999988079071 [2022-12-15T02:23:42.233Z] INFO: Retrieving Stack Cost... [2022-12-15T02:23:42.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-12-15T02:23:43.063Z] INFO: Archiving Costs [Pipeline] echo [2022-12-15T02:23:43.074Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-12-15T02:23:43.362Z] ---> logs-deploy.sh [2022-12-15T02:23:43.362Z] lf-activate-venv: SKIPPING [2022-12-15T02:23:43.362Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/31 [2022-12-15T02:23:43.362Z] INFO: archiving workspace using pattern(s): [2022-12-15T02:23:44.298Z] Archives upload complete. [2022-12-15T02:23:44.298Z] INFO: archiving logs to Nexus