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 48aac476b513547f736cc1fa92662379694eca8e rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 48aac476b513547f736cc1fa92662379694eca8e 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-ssh16044768514196170875.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh11684663258323677122.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh1463866431727906496.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh16876125336817461796.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > 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-ssh16647631217948234347.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 ‘prd-ubuntu20.04-docker-8c-8g-117024’ Running on prd-ubuntu20.04-docker-8c-8g-117032 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/125/head:refs/remotes/origin/PR-125 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing 96825f213a0ea806fac6455bc3c24b0a30ac9253 Checking out Revision 96825f213a0ea806fac6455bc3c24b0a30ac9253 (PR-125) > git config core.sparsecheckout # timeout=10 > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96825f213a0ea806fac6455bc3c24b0a30ac9253 # timeout=10 Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T02:11:41.254Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T02:11:41.294Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T02:11:41.308Z] ========================================================= [2022-10-26T02:11:41.308Z] EdgeX Global Pipelines Version Info [2022-10-26T02:11:41.308Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 285c0a1b214faa0505cef065968c8bc3a541bb44 # timeout=10 [2022-10-26T02:11:42.022Z] ------------------- [2022-10-26T02:11:42.022Z] stable info: [2022-10-26T02:11:42.022Z] ------------------- [2022-10-26T02:11:42.022Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T02:11:42.022Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T02:11:42.022Z] Message: update stable to v1.0.243 [2022-10-26T02:11:42.593Z] ------------------- [2022-10-26T02:11:42.593Z] experimental info: [2022-10-26T02:11:42.593Z] ------------------- [2022-10-26T02:11:42.593Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T02:11:42.593Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T02:11:42.593Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T02:11:42.773Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-26T02:11:42.784Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-26T02:11:42.794Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T02:11:42.806Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T02:11:42.820Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T02:11:42.830Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T02:11:42.841Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T02:11:42.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T02:11:42.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T02:11:42.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T02:11:42.888Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T02:11:42.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-26T02:11:42.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T02:11:42.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T02:11:42.949Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T02:11:42.959Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T02:11:42.970Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T02:11:42.981Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T02:11:42.994Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T02:11:43.007Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T02:11:43.018Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-26T02:11:43.031Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-26T02:11:43.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T02:11:43.056Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T02:11:43.066Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T02:11:43.077Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T02:11:43.093Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T02:11:43.107Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-10-26T02:11:43.123Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-10-26T02:11:43.133Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-10-26T02:11:43.146Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96825f213a0ea806fac6455bc3c24b0a30ac9253 [Pipeline] echo [2022-10-26T02:11:43.159Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96825f2 [Pipeline] echo [2022-10-26T02:11:43.170Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T02:11:43.207Z] provisioning config files... [2022-10-26T02:11:43.219Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config2944908030668856549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:11:43.520Z] ---> docker-login.sh [2022-10-26T02:11:43.520Z] nexus3.edgexfoundry.org:10001 [2022-10-26T02:11:43.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:43.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:43.780Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:43.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:43.780Z] [2022-10-26T02:11:43.780Z] Login Succeeded [2022-10-26T02:11:43.780Z] nexus3.edgexfoundry.org:10002 [2022-10-26T02:11:43.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:43.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:43.780Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:43.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:43.780Z] [2022-10-26T02:11:43.780Z] Login Succeeded [2022-10-26T02:11:43.780Z] nexus3.edgexfoundry.org:10003 [2022-10-26T02:11:44.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:44.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:44.043Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:44.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:44.043Z] [2022-10-26T02:11:44.043Z] Login Succeeded [2022-10-26T02:11:44.043Z] nexus3.edgexfoundry.org:10004 [2022-10-26T02:11:44.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:44.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:44.043Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:44.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:44.043Z] [2022-10-26T02:11:44.043Z] Login Succeeded [2022-10-26T02:11:44.043Z] docker.io [2022-10-26T02:11:44.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:44.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:44.564Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:44.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:44.564Z] [2022-10-26T02:11:44.564Z] Login Succeeded [2022-10-26T02:11:44.564Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T02:11:44.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T02:11:44.950Z] + git rev-list -1 --merges 96825f213a0ea806fac6455bc3c24b0a30ac9253~1..96825f213a0ea806fac6455bc3c24b0a30ac9253 [Pipeline] echo [2022-10-26T02:11:44.978Z] -----------> git rev-list -1 --merges 96825f213a0ea806fac6455bc3c24b0a30ac9253~1..96825f213a0ea806fac6455bc3c24b0a30ac9253 96825f213a0ea806fac6455bc3c24b0a30ac9253 [2022-10-26T02:11:44.978Z] 96825f213a0ea806fac6455bc3c24b0a30ac9253 [false] [Pipeline] sh [2022-10-26T02:11:45.272Z] + git log --format=format:%s -1 96825f213a0ea806fac6455bc3c24b0a30ac9253 [Pipeline] echo [2022-10-26T02:11:45.288Z] ========================================================= [2022-10-26T02:11:45.288Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T02:11:45.288Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T02:11:45.618Z] + git log --format=format:%s -1 96825f213a0ea806fac6455bc3c24b0a30ac9253 [Pipeline] echo [2022-10-26T02:11:45.628Z] [semverPrep] GIT_COMMIT: 96825f213a0ea806fac6455bc3c24b0a30ac9253, Commit Message: Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD [Pipeline] echo [2022-10-26T02:11:45.638Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T02:11:45.985Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T02:11:45.985Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T02:11:45.985Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T02:11:45.985Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T02:11:45.985Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T02:11:45.985Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T02:11:45.985Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:11:46.321Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T02:11:46.321Z] [2022-10-26T02:11:46.321Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:11:46.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T02:11:46.622Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T02:11:46.622Z] b85a868b505f: Pulling fs layer [2022-10-26T02:11:46.622Z] e2be974225ed: Pulling fs layer [2022-10-26T02:11:46.622Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T02:11:46.622Z] 988bab9f4d93: Pulling fs layer [2022-10-26T02:11:46.622Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T02:11:46.622Z] eaf3925da568: Pulling fs layer [2022-10-26T02:11:46.622Z] bab4dde63d76: Pulling fs layer [2022-10-26T02:11:46.622Z] bde34c3a00c8: Pulling fs layer [2022-10-26T02:11:46.622Z] b352a97aabf1: Pulling fs layer [2022-10-26T02:11:46.622Z] 4872d77fe225: Pulling fs layer [2022-10-26T02:11:46.622Z] 5851b861e8e6: Pulling fs layer [2022-10-26T02:11:46.622Z] bab4dde63d76: Waiting [2022-10-26T02:11:46.622Z] bde34c3a00c8: Waiting [2022-10-26T02:11:46.622Z] b352a97aabf1: Waiting [2022-10-26T02:11:46.622Z] 4872d77fe225: Waiting [2022-10-26T02:11:46.622Z] 5851b861e8e6: Waiting [2022-10-26T02:11:46.622Z] 988bab9f4d93: Waiting [2022-10-26T02:11:46.622Z] 1469e6f7b9e6: Waiting [2022-10-26T02:11:46.622Z] eaf3925da568: Waiting [2022-10-26T02:11:46.622Z] e2be974225ed: Verifying Checksum [2022-10-26T02:11:46.622Z] e2be974225ed: Download complete [2022-10-26T02:11:46.622Z] 988bab9f4d93: Verifying Checksum [2022-10-26T02:11:46.622Z] 988bab9f4d93: Download complete [2022-10-26T02:11:46.884Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T02:11:46.884Z] 339a4e72a1f5: Download complete [2022-10-26T02:11:46.884Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T02:11:46.884Z] 1469e6f7b9e6: Download complete [2022-10-26T02:11:46.884Z] eaf3925da568: Verifying Checksum [2022-10-26T02:11:46.884Z] eaf3925da568: Download complete [2022-10-26T02:11:46.884Z] bde34c3a00c8: Verifying Checksum [2022-10-26T02:11:46.884Z] bde34c3a00c8: Download complete [2022-10-26T02:11:46.884Z] b352a97aabf1: Download complete [2022-10-26T02:11:46.884Z] 4872d77fe225: Verifying Checksum [2022-10-26T02:11:46.884Z] 4872d77fe225: Download complete [2022-10-26T02:11:46.884Z] 5851b861e8e6: Download complete [2022-10-26T02:11:46.884Z] b85a868b505f: Verifying Checksum [2022-10-26T02:11:46.884Z] b85a868b505f: Download complete [2022-10-26T02:11:47.146Z] bab4dde63d76: Verifying Checksum [2022-10-26T02:11:48.085Z] b85a868b505f: Pull complete [2022-10-26T02:11:48.343Z] e2be974225ed: Pull complete [2022-10-26T02:11:48.911Z] 339a4e72a1f5: Pull complete [2022-10-26T02:11:48.911Z] 988bab9f4d93: Pull complete [2022-10-26T02:11:49.172Z] 1469e6f7b9e6: Pull complete [2022-10-26T02:11:49.172Z] eaf3925da568: Pull complete [2022-10-26T02:11:51.079Z] bab4dde63d76: Pull complete [2022-10-26T02:11:51.339Z] bde34c3a00c8: Pull complete [2022-10-26T02:11:51.339Z] b352a97aabf1: Pull complete [2022-10-26T02:11:51.339Z] 4872d77fe225: Pull complete [2022-10-26T02:11:51.599Z] 5851b861e8e6: Pull complete [2022-10-26T02:11:51.599Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T02:11:51.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T02:11:51.599Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:11:51.694Z] prd-ubuntu20.04-docker-8c-8g-117032 does not seem to be running inside a container [2022-10-26T02:11:51.732Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T02:11:53.118Z] $ docker top e8b309c5d8b850f20309884194a0f8908f2c5f2a6b70aae9ae74562f2e9ddee3 -eo pid,comm [2022-10-26T02:11:53.175Z] 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-10-26T02:11:53.175Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T02:11:53.211Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T02:11:53.211Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T02:11:53.326Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T02:11:53.331Z] $ docker exec e8b309c5d8b850f20309884194a0f8908f2c5f2a6b70aae9ae74562f2e9ddee3 ssh-agent [2022-10-26T02:11:53.449Z] SSH_AUTH_SOCK=/tmp/ssh-ewrc5boKx6Li/agent.32 [2022-10-26T02:11:53.449Z] SSH_AGENT_PID=38 [2022-10-26T02:11:53.456Z] Running ssh-add (command line suppressed) [2022-10-26T02:11:53.570Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_9515115861023863575.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_9515115861023863575.key) [2022-10-26T02:11:53.584Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T02:11:53.871Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T02:11:53.888Z] $ docker exec --env ******** --env ******** e8b309c5d8b850f20309884194a0f8908f2c5f2a6b70aae9ae74562f2e9ddee3 ssh-agent -k [2022-10-26T02:11:53.984Z] unset SSH_AUTH_SOCK; [2022-10-26T02:11:53.985Z] unset SSH_AGENT_PID; [2022-10-26T02:11:53.985Z] echo Agent pid 38 killed; [2022-10-26T02:11:53.996Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T02:11:54.031Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T02:11:54.031Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T02:11:54.145Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T02:11:54.149Z] $ docker exec e8b309c5d8b850f20309884194a0f8908f2c5f2a6b70aae9ae74562f2e9ddee3 ssh-agent [2022-10-26T02:11:54.258Z] SSH_AUTH_SOCK=/tmp/ssh-pK8PeJpiQHLv/agent.70 [2022-10-26T02:11:54.258Z] SSH_AGENT_PID=76 [2022-10-26T02:11:54.263Z] Running ssh-add (command line suppressed) [2022-10-26T02:11:54.374Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_10758549000289582000.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_10758549000289582000.key) [2022-10-26T02:11:54.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T02:11:54.672Z] + git semver init [2022-10-26T02:11:54.933Z] 2022-10-26 02:11:54,901 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T02:11:54.933Z] 2022-10-26 02:11:54,902 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-10-26T02:11:54.933Z] 2022-10-26 02:11:54,902 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-10-26T02:11:54.933Z] 2022-10-26 02:11:54,902 [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-10-26T02:11:56.316Z] 2022-10-26 02:11:55,909 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-10-26T02:11:56.316Z] 2022-10-26 02:11:55,909 [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-10-26T02:11:56.316Z] 2022-10-26 02:11:55,910 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-26T02:11:56.316Z] 2022-10-26 02:11:55,914 [execute] INFO git cat-file --batch-check [2022-10-26T02:11:56.316Z] 2022-10-26 02:11:55,914 [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-10-26T02:11:56.316Z] 2022-10-26 02:11:55,919 [execute] INFO git cat-file --batch [2022-10-26T02:11:56.316Z] 2022-10-26 02:11:55,920 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-125/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T02:11:56.316Z] 2022-10-26 02:11:55,924 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-26T02:11:56.316Z] 0.0.0 [Pipeline] } [2022-10-26T02:11:56.326Z] $ docker exec --env ******** --env ******** e8b309c5d8b850f20309884194a0f8908f2c5f2a6b70aae9ae74562f2e9ddee3 ssh-agent -k [2022-10-26T02:11:56.431Z] unset SSH_AUTH_SOCK; [2022-10-26T02:11:56.431Z] unset SSH_AGENT_PID; [2022-10-26T02:11:56.432Z] echo Agent pid 76 killed; [2022-10-26T02:11:56.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T02:11:56.737Z] + git semver [Pipeline] } [2022-10-26T02:11:57.011Z] $ docker stop --time=1 e8b309c5d8b850f20309884194a0f8908f2c5f2a6b70aae9ae74562f2e9ddee3 [2022-10-26T02:11:58.370Z] $ docker rm -f e8b309c5d8b850f20309884194a0f8908f2c5f2a6b70aae9ae74562f2e9ddee3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T02:11:58.707Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T02:11:58.878Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T02:11:58.881Z] [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-10-26T02:11:59.015Z] provisioning config files... [2022-10-26T02:11:59.024Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config14558165631605859912tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:11:59.325Z] ---> docker-login.sh [2022-10-26T02:11:59.325Z] nexus3.edgexfoundry.org:10001 [2022-10-26T02:11:59.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:59.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:59.325Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:59.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:59.325Z] [2022-10-26T02:11:59.325Z] Login Succeeded [2022-10-26T02:11:59.325Z] nexus3.edgexfoundry.org:10002 [2022-10-26T02:11:59.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:59.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:59.325Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:59.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:59.325Z] [2022-10-26T02:11:59.325Z] Login Succeeded [2022-10-26T02:11:59.325Z] nexus3.edgexfoundry.org:10003 [2022-10-26T02:11:59.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:59.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:59.585Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:59.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:59.585Z] [2022-10-26T02:11:59.585Z] Login Succeeded [2022-10-26T02:11:59.585Z] nexus3.edgexfoundry.org:10004 [2022-10-26T02:11:59.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:11:59.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:11:59.585Z] Configure a credential helper to remove this warning. See [2022-10-26T02:11:59.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:11:59.585Z] [2022-10-26T02:11:59.585Z] Login Succeeded [2022-10-26T02:11:59.585Z] docker.io [2022-10-26T02:11:59.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:12:00.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:12:00.104Z] Configure a credential helper to remove this warning. See [2022-10-26T02:12:00.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:12:00.104Z] [2022-10-26T02:12:00.104Z] Login Succeeded [2022-10-26T02:12:00.104Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T02:12:00.112Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T02:12:00.176Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:12:00.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:12:00.197Z] ========================================================= [2022-10-26T02:12:00.197Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T02:12:00.197Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:12:00.507Z] + 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-10-26T02:12:00.507Z] Sending build context to Docker daemon 21.47MB [2022-10-26T02:12:00.507Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:12:00.507Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-26T02:12:00.766Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T02:12:00.766Z] 213ec9aee27d: Pulling fs layer [2022-10-26T02:12:00.766Z] 4583459ba037: Pulling fs layer [2022-10-26T02:12:00.766Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T02:12:00.766Z] 53926ce57604: Pulling fs layer [2022-10-26T02:12:00.766Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T02:12:00.766Z] 30f14e443154: Pulling fs layer [2022-10-26T02:12:00.766Z] 801331c1e519: Pulling fs layer [2022-10-26T02:12:00.766Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T02:12:00.766Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T02:12:00.766Z] 30f14e443154: Waiting [2022-10-26T02:12:00.766Z] 801331c1e519: Waiting [2022-10-26T02:12:00.766Z] 99cc6dd402b0: Waiting [2022-10-26T02:12:00.766Z] 53926ce57604: Waiting [2022-10-26T02:12:00.766Z] 21b2b0c7a3f4: Waiting [2022-10-26T02:12:00.766Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T02:12:00.766Z] 93c1e223e6f2: Download complete [2022-10-26T02:12:00.766Z] 4583459ba037: Verifying Checksum [2022-10-26T02:12:00.766Z] 4583459ba037: Download complete [2022-10-26T02:12:00.766Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T02:12:00.766Z] 21b2b0c7a3f4: Download complete [2022-10-26T02:12:00.766Z] 30f14e443154: Verifying Checksum [2022-10-26T02:12:00.766Z] 30f14e443154: Download complete [2022-10-26T02:12:00.766Z] 213ec9aee27d: Verifying Checksum [2022-10-26T02:12:00.766Z] 801331c1e519: Download complete [2022-10-26T02:12:01.026Z] 213ec9aee27d: Pull complete [2022-10-26T02:12:01.026Z] 4583459ba037: Pull complete [2022-10-26T02:12:01.026Z] 93c1e223e6f2: Pull complete [2022-10-26T02:12:01.284Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T02:12:01.284Z] 7d9ed39f4882: Download complete [2022-10-26T02:12:01.543Z] 53926ce57604: Verifying Checksum [2022-10-26T02:12:01.543Z] 53926ce57604: Download complete [2022-10-26T02:12:01.801Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T02:12:01.801Z] 99cc6dd402b0: Download complete [2022-10-26T02:12:05.988Z] 53926ce57604: Pull complete [2022-10-26T02:12:05.988Z] 21b2b0c7a3f4: Pull complete [2022-10-26T02:12:05.988Z] 30f14e443154: Pull complete [2022-10-26T02:12:05.988Z] 801331c1e519: Pull complete [2022-10-26T02:12:07.884Z] 99cc6dd402b0: Pull complete [2022-10-26T02:12:08.819Z] 7d9ed39f4882: Pull complete [2022-10-26T02:12:08.819Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T02:12:08.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T02:12:08.819Z] ---> 1dedd983c030 [2022-10-26T02:12:08.819Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:12:10.219Z] ---> Running in e20efb3c8f6a [2022-10-26T02:12:10.219Z] Removing intermediate container e20efb3c8f6a [2022-10-26T02:12:10.219Z] ---> 5fd62e967768 [2022-10-26T02:12:10.219Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:12:10.219Z] ---> Running in 77e64cb1cbe9 [2022-10-26T02:12:10.219Z] Removing intermediate container 77e64cb1cbe9 [2022-10-26T02:12:10.219Z] ---> 916f37c19df2 [2022-10-26T02:12:10.219Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:12:10.482Z] ---> Running in a21e0c166b80 [2022-10-26T02:12:10.482Z] Removing intermediate container a21e0c166b80 [2022-10-26T02:12:10.482Z] ---> 92e82efdac85 [2022-10-26T02:12:10.482Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:12:10.482Z] ---> Running in 030f493ff057 [2022-10-26T02:12:10.740Z] Removing intermediate container 030f493ff057 [2022-10-26T02:12:10.740Z] ---> 7f52b3f7efd4 [2022-10-26T02:12:10.740Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:12:10.740Z] ---> Running in df43fc3b4d71 [2022-10-26T02:12:10.740Z] Removing intermediate container df43fc3b4d71 [2022-10-26T02:12:10.740Z] ---> 9023fe830596 [2022-10-26T02:12:10.740Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:12:10.740Z] ---> Running in dee2d0be3161 [2022-10-26T02:12:11.306Z] Removing intermediate container dee2d0be3161 [2022-10-26T02:12:11.306Z] ---> 126a1e775744 [2022-10-26T02:12:11.306Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:12:11.306Z] ---> Running in 2e2689727024 [2022-10-26T02:12:11.564Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T02:12:12.201Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T02:12:12.773Z] OK: 211 MiB in 51 packages [2022-10-26T02:12:13.033Z] Removing intermediate container 2e2689727024 [2022-10-26T02:12:13.033Z] ---> 99baf73fc09a [2022-10-26T02:12:13.033Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-26T02:12:13.033Z] ---> Running in aecce1a2c4ed [2022-10-26T02:12:13.357Z] Removing intermediate container aecce1a2c4ed [2022-10-26T02:12:13.357Z] ---> cbd8ebd9e2cd [2022-10-26T02:12:13.357Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-26T02:12:13.357Z] ---> a84ecfe8f93f [2022-10-26T02:12:13.357Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:12:13.357Z] ---> Running in 228c6c65c689 [2022-10-26T02:12:13.976Z] Still waiting to schedule task [2022-10-26T02:12:13.976Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117028’ [2022-10-26T02:12:31.455Z] Removing intermediate container 228c6c65c689 [2022-10-26T02:12:31.455Z] ---> 2b0b8d7f83ea [2022-10-26T02:12:31.455Z] Step 13/14 : COPY . . [2022-10-26T02:12:31.455Z] ---> 927ac6d77b32 [2022-10-26T02:12:31.455Z] Step 14/14 : RUN ${MAKE} [2022-10-26T02:12:31.455Z] ---> Running in 1736b71b6d9b [2022-10-26T02:12:31.455Z] noop [2022-10-26T02:12:31.455Z] Removing intermediate container 1736b71b6d9b [2022-10-26T02:12:31.455Z] ---> cc2829ed2a5b [2022-10-26T02:12:31.455Z] Successfully built cc2829ed2a5b [2022-10-26T02:12:31.455Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:12:31.770Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T02:12:31.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:12:31.837Z] prd-ubuntu20.04-docker-8c-8g-117032 does not seem to be running inside a container [2022-10-26T02:12:31.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T02:12:32.222Z] $ docker top 9bb3db1fe1f07941a06599e596eb50dceb2bb5daa6e44d31480cd8e058ee9cbc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:12:32.557Z] + go version [2022-10-26T02:12:32.557Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T02:12:32.568Z] $ docker stop --time=1 9bb3db1fe1f07941a06599e596eb50dceb2bb5daa6e44d31480cd8e058ee9cbc [2022-10-26T02:12:33.863Z] $ docker rm -f 9bb3db1fe1f07941a06599e596eb50dceb2bb5daa6e44d31480cd8e058ee9cbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:12:34.275Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T02:12:34.275Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:12:34.337Z] prd-ubuntu20.04-docker-8c-8g-117032 does not seem to be running inside a container [2022-10-26T02:12:34.364Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T02:12:34.717Z] $ docker top 8ef7bbe83b428a1328d7566d54edd52ad0f40ad4ff246d3bd8353142fd9077cf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:12:35.076Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-10-26T02:12:35.371Z] + make test [2022-10-26T02:12:35.371Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T02:12:35.628Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T02:12:47.827Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T02:12:47.827Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.044s coverage: 28.2% of statements [2022-10-26T02:12:47.827Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T02:12:47.827Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.534s coverage: 86.5% of statements [2022-10-26T02:12:55.934Z] 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-10-26T02:12:55.934Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T02:12:58.461Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T02:12:58.461Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T02:12:58.461Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T02:12:58.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T02:12:58.487Z] $ docker stop --time=1 8ef7bbe83b428a1328d7566d54edd52ad0f40ad4ff246d3bd8353142fd9077cf [2022-10-26T02:13:00.266Z] $ docker rm -f 8ef7bbe83b428a1328d7566d54edd52ad0f40ad4ff246d3bd8353142fd9077cf [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T02:13:00.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T02:13:00.759Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T02:13:01.187Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T02:13:01.470Z] + ls -al . [2022-10-26T02:13:01.470Z] total 244 [2022-10-26T02:13:01.470Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 02:12 . [2022-10-26T02:13:01.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:11 .. [2022-10-26T02:13:01.470Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 02:12 .git [2022-10-26T02:13:01.470Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:11 .github [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 02:11 .gitignore [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 02:11 .golangci.yml [2022-10-26T02:13:01.470Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 02:11 .semver [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 02:11 Attribution.txt [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 02:11 CHANGELOG.md [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 1799 Oct 26 02:11 Dockerfile [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 02:11 GOVERNANCE.md [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 02:11 Jenkinsfile [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 02:11 LICENSE [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 02:11 Makefile [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 02:11 OWNERS.md [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 02:11 README.md [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 02:11 VERSION [2022-10-26T02:13:01.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 02:11 bin [2022-10-26T02:13:01.470Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:11 cmd [2022-10-26T02:13:01.470Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 02:12 coverage.out [2022-10-26T02:13:01.470Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 02:11 doc [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 26 02:11 go.mod [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 26 02:11 go.sum [2022-10-26T02:13:01.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:11 internal [2022-10-26T02:13:01.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:11 snap [2022-10-26T02:13:01.470Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:13:01.786Z] + 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=96825f213a0ea806fac6455bc3c24b0a30ac9253 --label arch=amd64 --label version=0.0.0 . [2022-10-26T02:13:01.786Z] Sending build context to Docker daemon 21.55MB [2022-10-26T02:13:01.786Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:13:01.786Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-26T02:13:01.786Z] ---> cc2829ed2a5b [2022-10-26T02:13:01.786Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:13:02.044Z] ---> Running in 749c94c7014b [2022-10-26T02:13:02.044Z] Removing intermediate container 749c94c7014b [2022-10-26T02:13:02.044Z] ---> 5c55361ed2fc [2022-10-26T02:13:02.044Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:13:02.044Z] ---> Running in 8e5af054b9c4 [2022-10-26T02:13:02.044Z] Removing intermediate container 8e5af054b9c4 [2022-10-26T02:13:02.044Z] ---> cb10231d7657 [2022-10-26T02:13:02.044Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:13:02.314Z] ---> Running in 436fb2381585 [2022-10-26T02:13:02.314Z] Removing intermediate container 436fb2381585 [2022-10-26T02:13:02.314Z] ---> 9b81ace334d2 [2022-10-26T02:13:02.314Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:13:02.314Z] ---> Running in 578f6e470888 [2022-10-26T02:13:02.314Z] Removing intermediate container 578f6e470888 [2022-10-26T02:13:02.314Z] ---> 6adf19c4ba42 [2022-10-26T02:13:02.314Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:13:02.571Z] ---> Running in 329809be44a4 [2022-10-26T02:13:02.571Z] Removing intermediate container 329809be44a4 [2022-10-26T02:13:02.571Z] ---> ad6cce403ba6 [2022-10-26T02:13:02.571Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:13:02.571Z] ---> Running in 641889b2c354 [2022-10-26T02:13:03.138Z] Removing intermediate container 641889b2c354 [2022-10-26T02:13:03.138Z] ---> 6108a7f6b871 [2022-10-26T02:13:03.138Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:13:03.138Z] ---> Running in d55a35c4ad22 [2022-10-26T02:13:03.396Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T02:13:03.964Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T02:13:04.531Z] OK: 211 MiB in 51 packages [2022-10-26T02:13:04.789Z] Removing intermediate container d55a35c4ad22 [2022-10-26T02:13:04.789Z] ---> c16f5a0beffc [2022-10-26T02:13:04.789Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-10-26T02:13:04.789Z] ---> Running in 49cdefc1ea5c [2022-10-26T02:13:05.048Z] Removing intermediate container 49cdefc1ea5c [2022-10-26T02:13:05.048Z] ---> 86c669cfbf95 [2022-10-26T02:13:05.048Z] Step 11/28 : COPY go.mod vendor* ./ [2022-10-26T02:13:05.048Z] ---> f2a00d78d7b4 [2022-10-26T02:13:05.048Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:13:05.048Z] ---> Running in 4c48e330a09b [2022-10-26T02:13:05.614Z] Removing intermediate container 4c48e330a09b [2022-10-26T02:13:05.614Z] ---> 6cddcd27e252 [2022-10-26T02:13:05.614Z] Step 13/28 : COPY . . [2022-10-26T02:13:06.194Z] ---> 4ee795f3c2d1 [2022-10-26T02:13:06.194Z] Step 14/28 : RUN ${MAKE} [2022-10-26T02:13:06.456Z] ---> Running in be3e3529bfb7 [2022-10-26T02:13:06.715Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T02:13:28.635Z] Removing intermediate container be3e3529bfb7 [2022-10-26T02:13:28.635Z] ---> b1f4439b940e [2022-10-26T02:13:28.635Z] Step 15/28 : FROM alpine:3.16 [2022-10-26T02:13:28.635Z] 3.16: Pulling from library/alpine [2022-10-26T02:13:28.635Z] 213ec9aee27d: Already exists [2022-10-26T02:13:28.635Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T02:13:28.635Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T02:13:28.635Z] ---> 9c6f07244728 [2022-10-26T02:13:28.635Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T02:13:28.635Z] ---> Running in 00f53080e1ba [2022-10-26T02:13:28.635Z] Removing intermediate container 00f53080e1ba [2022-10-26T02:13:28.635Z] ---> 0007b5146c61 [2022-10-26T02:13:28.635Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-26T02:13:28.635Z] ---> Running in 1bf1cdfb6a50 [2022-10-26T02:13:28.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T02:13:28.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T02:13:29.152Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-26T02:13:29.152Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-26T02:13:29.152Z] (3/21) Installing readline (8.1.2-r0) [2022-10-26T02:13:29.152Z] (4/21) Installing bash (5.1.16-r2) [2022-10-26T02:13:29.152Z] Executing bash-5.1.16-r2.post-install [2022-10-26T02:13:29.152Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-26T02:13:29.152Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-26T02:13:29.152Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-26T02:13:29.152Z] (8/21) Installing libcurl (7.83.1-r3) [2022-10-26T02:13:29.152Z] (9/21) Installing curl (7.83.1-r3) [2022-10-26T02:13:29.152Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-26T02:13:29.152Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-26T02:13:29.152Z] (12/21) Installing jq (1.6-r1) [2022-10-26T02:13:29.152Z] (13/21) Installing popt (1.18-r0) [2022-10-26T02:13:29.152Z] (14/21) Installing pcre (8.45-r2) [2022-10-26T02:13:29.152Z] (15/21) Installing slang (2.3.2-r0) [2022-10-26T02:13:29.410Z] (16/21) Installing newt (0.52.21-r2) [2022-10-26T02:13:29.410Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T02:13:29.410Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-26T02:13:29.410Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T02:13:29.410Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-26T02:13:29.410Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-26T02:13:29.410Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T02:13:29.410Z] Executing ca-certificates-20220614-r0.trigger [2022-10-26T02:13:29.410Z] OK: 17 MiB in 35 packages [2022-10-26T02:13:29.976Z] Removing intermediate container 1bf1cdfb6a50 [2022-10-26T02:13:29.976Z] ---> 4746f3451065 [2022-10-26T02:13:29.976Z] Step 18/28 : WORKDIR / [2022-10-26T02:13:29.976Z] ---> Running in b224e7441639 [2022-10-26T02:13:30.235Z] Removing intermediate container b224e7441639 [2022-10-26T02:13:30.235Z] ---> 90e46296ebeb [2022-10-26T02:13:30.235Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T02:13:30.801Z] ---> b70553438959 [2022-10-26T02:13:30.801Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T02:13:30.801Z] ---> 174019adb6b8 [2022-10-26T02:13:30.801Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T02:13:31.059Z] ---> 86a3965d99c3 [2022-10-26T02:13:31.059Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-26T02:13:31.059Z] ---> e2e4b88e8418 [2022-10-26T02:13:31.059Z] Step 23/28 : EXPOSE 59984 [2022-10-26T02:13:31.059Z] ---> Running in 088d2f34f930 [2022-10-26T02:13:31.316Z] Removing intermediate container 088d2f34f930 [2022-10-26T02:13:31.316Z] ---> 549a0b3751ff [2022-10-26T02:13:31.316Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T02:13:31.316Z] ---> Running in 07c62ce4e6ea [2022-10-26T02:13:31.316Z] Removing intermediate container 07c62ce4e6ea [2022-10-26T02:13:31.316Z] ---> 8c12284ab4f7 [2022-10-26T02:13:31.316Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T02:13:31.316Z] ---> Running in 5a68bcf63ac7 [2022-10-26T02:13:31.580Z] Removing intermediate container 5a68bcf63ac7 [2022-10-26T02:13:31.580Z] ---> e88477b656bb [2022-10-26T02:13:31.580Z] Step 26/28 : LABEL arch=amd64 [2022-10-26T02:13:31.580Z] ---> Running in 2e865343a10a [2022-10-26T02:13:31.580Z] Removing intermediate container 2e865343a10a [2022-10-26T02:13:31.580Z] ---> 36bea5201dc9 [2022-10-26T02:13:31.580Z] Step 27/28 : LABEL git_sha=96825f213a0ea806fac6455bc3c24b0a30ac9253 [2022-10-26T02:13:31.580Z] ---> Running in e63f102feeed [2022-10-26T02:13:31.840Z] Removing intermediate container e63f102feeed [2022-10-26T02:13:31.840Z] ---> 47af8b51498c [2022-10-26T02:13:31.840Z] Step 28/28 : LABEL version=0.0.0 [2022-10-26T02:13:31.840Z] ---> Running in 6eddd5951021 [2022-10-26T02:13:31.840Z] Removing intermediate container 6eddd5951021 [2022-10-26T02:13:31.840Z] ---> 4ae4b927b125 [2022-10-26T02:13:31.840Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T02:13:31.840Z] Successfully built 4ae4b927b125 [2022-10-26T02:13:31.840Z] 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-10-26T02:13:32.268Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:13:32.268Z] [2022-10-26T02:13:32.268Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:13:32.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:13:32.560Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T02:13:32.560Z] 5eb5b503b376: Pulling fs layer [2022-10-26T02:13:32.560Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T02:13:32.560Z] ec43610c2a17: Pulling fs layer [2022-10-26T02:13:32.560Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T02:13:32.560Z] 33b1e0a273af: Pulling fs layer [2022-10-26T02:13:32.560Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T02:13:32.560Z] 2f39f015ded8: Pulling fs layer [2022-10-26T02:13:32.560Z] 33b1e0a273af: Waiting [2022-10-26T02:13:32.560Z] 5d3b04190fa2: Waiting [2022-10-26T02:13:32.560Z] 2f39f015ded8: Waiting [2022-10-26T02:13:32.560Z] 3a2ae6a8a46f: Waiting [2022-10-26T02:13:32.560Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T02:13:32.560Z] 5c69ac0246d0: Download complete [2022-10-26T02:13:32.560Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T02:13:32.560Z] 3a2ae6a8a46f: Download complete [2022-10-26T02:13:32.819Z] 33b1e0a273af: Verifying Checksum [2022-10-26T02:13:32.819Z] 33b1e0a273af: Download complete [2022-10-26T02:13:32.819Z] ec43610c2a17: Verifying Checksum [2022-10-26T02:13:32.819Z] ec43610c2a17: Download complete [2022-10-26T02:13:32.819Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T02:13:32.819Z] 5eb5b503b376: Verifying Checksum [2022-10-26T02:13:32.819Z] 5eb5b503b376: Download complete [2022-10-26T02:13:33.754Z] 2f39f015ded8: Download complete [2022-10-26T02:13:34.013Z] 5eb5b503b376: Pull complete [2022-10-26T02:13:34.013Z] 5c69ac0246d0: Pull complete [2022-10-26T02:13:34.577Z] ec43610c2a17: Pull complete [2022-10-26T02:13:34.577Z] 3a2ae6a8a46f: Pull complete [2022-10-26T02:13:34.834Z] 33b1e0a273af: Pull complete [2022-10-26T02:13:34.834Z] 5d3b04190fa2: Pull complete [2022-10-26T02:13:39.015Z] 2f39f015ded8: Pull complete [2022-10-26T02:13:39.015Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T02:13:39.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:13:39.015Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:13:39.090Z] prd-ubuntu20.04-docker-8c-8g-117032 does not seem to be running inside a container [2022-10-26T02:13:39.117Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T02:13:40.752Z] $ docker top 1c22512c7ab2535523430c233e65a426f2361b53d6d5d6c4a551dcf14edf75f4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:13:41.125Z] ---> job-cost.sh [2022-10-26T02:13:41.125Z] lf-activate-venv: SKIPPING [2022-10-26T02:13:41.125Z] INFO: No Stack... [2022-10-26T02:13:41.692Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T02:13:41.953Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T02:13:42.242Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-10-26T02:13:42.242Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T02:13:42.253Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-24-stack-cost] [2022-10-26T02:13:42.259Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-24-stack-cost] did not exist. Created. [2022-10-26T02:13:42.259Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T02:13:42.558Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T02:13:42.590Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T02:13:42.597Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T02:13:42.614Z] $ docker stop --time=1 1c22512c7ab2535523430c233e65a426f2361b53d6d5d6c4a551dcf14edf75f4 [2022-10-26T02:13:43.777Z] $ docker rm -f 1c22512c7ab2535523430c233e65a426f2361b53d6d5d6c4a551dcf14edf75f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T02:15:00.227Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117036 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-10-26T02:15:00.239Z] Running in /w/workspace/device-onvif-camera/24 [Pipeline] { [Pipeline] checkout [2022-10-26T02:15:00.279Z] The recommended git tool is: git [2022-10-26T02:15:06.554Z] using credential edgex-jenkins-ssh [2022-10-26T02:15:06.574Z] Cloning the remote Git repository [2022-10-26T02:15:06.624Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T02:15:06.709Z] > git init /w/workspace/device-onvif-camera/24 # timeout=10 [2022-10-26T02:15:06.932Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T02:15:06.933Z] > git --version # timeout=10 [2022-10-26T02:15:06.957Z] > git --version # 'git version 2.25.1' [2022-10-26T02:15:06.959Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T02:15:07.009Z] Verifying host key using known hosts file [2022-10-26T02:15:07.231Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T02:15:07.245Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T02:15:08.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T02:15:08.709Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T02:15:10.468Z] Merging remotes/origin/main commit 48aac476b513547f736cc1fa92662379694eca8e into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-10-26T02:15:09.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-26T02:15:09.735Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-26T02:15:09.736Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T02:15:09.742Z] Verifying host key using known hosts file [2022-10-26T02:15:09.749Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T02:15:09.762Z] > 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-10-26T02:15:10.497Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T02:15:10.541Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-10-26T02:15:10.815Z] > git remote # timeout=10 [2022-10-26T02:15:10.843Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T02:15:10.862Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T02:15:10.870Z] Verifying host key using known hosts file [2022-10-26T02:15:10.878Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T02:15:10.893Z] > git merge 48aac476b513547f736cc1fa92662379694eca8e # timeout=10 [2022-10-26T02:15:11.817Z] Merge succeeded, producing d9f96b5f57a63fec84d86f225cd1e8b762d22f86 [2022-10-26T02:15:11.818Z] Checking out Revision d9f96b5f57a63fec84d86f225cd1e8b762d22f86 (PR-125) [2022-10-26T02:15:11.792Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T02:15:11.823Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T02:15:11.839Z] > git checkout -f d9f96b5f57a63fec84d86f225cd1e8b762d22f86 # timeout=10 [2022-10-26T02:15:15.489Z] Commit message: "Merge commit '48aac476b513547f736cc1fa92662379694eca8e' into HEAD" [2022-10-26T02:15:15.517Z] First time build. Skipping changelog. [2022-10-26T02:15:15.496Z] > git rev-list --no-walk 285c0a1b214faa0505cef065968c8bc3a541bb44 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T02:15:16.515Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T02:15:16.515Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T02:15:16.515Z] Dload Upload Total Spent Left Speed [2022-10-26T02:15:16.515Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 201k [Pipeline] sh [2022-10-26T02:15:17.302Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T02:15:17.645Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T02:15:17.645Z] + sudo tee /etc/docker/daemon.new [2022-10-26T02:15:17.645Z] { [2022-10-26T02:15:17.645Z] "registry-mirrors": [ [2022-10-26T02:15:17.645Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T02:15:17.645Z] ], [2022-10-26T02:15:17.645Z] "bip": "10.250.0.254/24", [2022-10-26T02:15:17.645Z] "hosts": [ [2022-10-26T02:15:17.645Z] "tcp://0.0.0.0:5555", [2022-10-26T02:15:17.645Z] "unix:///var/run/docker.sock" [2022-10-26T02:15:17.645Z] ], [2022-10-26T02:15:17.645Z] "mtu": 1458, [2022-10-26T02:15:17.645Z] "selinux-enabled": true, [2022-10-26T02:15:17.645Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T02:15:17.645Z] } [Pipeline] sh [2022-10-26T02:15:17.993Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T02:15:18.326Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T02:15:36.617Z] provisioning config files... [2022-10-26T02:15:36.648Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/24@tmp/config9863863975103693958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:15:37.006Z] ---> docker-login.sh [2022-10-26T02:15:37.006Z] nexus3.edgexfoundry.org:10001 [2022-10-26T02:15:37.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:15:37.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:15:37.868Z] Configure a credential helper to remove this warning. See [2022-10-26T02:15:37.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:15:37.868Z] [2022-10-26T02:15:37.868Z] Login Succeeded [2022-10-26T02:15:37.868Z] nexus3.edgexfoundry.org:10002 [2022-10-26T02:15:38.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:15:38.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:15:38.139Z] Configure a credential helper to remove this warning. See [2022-10-26T02:15:38.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:15:38.139Z] [2022-10-26T02:15:38.139Z] Login Succeeded [2022-10-26T02:15:38.139Z] nexus3.edgexfoundry.org:10003 [2022-10-26T02:15:38.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:15:38.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:15:38.678Z] Configure a credential helper to remove this warning. See [2022-10-26T02:15:38.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:15:38.678Z] [2022-10-26T02:15:38.678Z] Login Succeeded [2022-10-26T02:15:38.678Z] nexus3.edgexfoundry.org:10004 [2022-10-26T02:15:38.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:15:38.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:15:38.949Z] Configure a credential helper to remove this warning. See [2022-10-26T02:15:38.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:15:38.949Z] [2022-10-26T02:15:38.949Z] Login Succeeded [2022-10-26T02:15:38.949Z] docker.io [2022-10-26T02:15:39.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T02:15:39.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T02:15:39.807Z] Configure a credential helper to remove this warning. See [2022-10-26T02:15:39.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T02:15:39.807Z] [2022-10-26T02:15:39.807Z] Login Succeeded [2022-10-26T02:15:39.807Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T02:15:39.822Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T02:15:39.986Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:15:39.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T02:15:40.006Z] ========================================================= [2022-10-26T02:15:40.006Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T02:15:40.006Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:15:40.364Z] + 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-10-26T02:15:40.956Z] Sending build context to Docker daemon 14.78MB [2022-10-26T02:15:40.956Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:15:40.956Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-26T02:15:40.956Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T02:15:40.956Z] 9b18e9b68314: Pulling fs layer [2022-10-26T02:15:40.956Z] d32db5db7311: Pulling fs layer [2022-10-26T02:15:40.956Z] d0c4b47475fc: Pulling fs layer [2022-10-26T02:15:40.956Z] 5831b945b038: Pulling fs layer [2022-10-26T02:15:40.956Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T02:15:40.956Z] e10730c5d714: Pulling fs layer [2022-10-26T02:15:40.956Z] 5dd5c2283517: Pulling fs layer [2022-10-26T02:15:40.956Z] d5ac0230b979: Pulling fs layer [2022-10-26T02:15:40.956Z] 86bbec2aaacd: Waiting [2022-10-26T02:15:40.956Z] e10730c5d714: Waiting [2022-10-26T02:15:40.956Z] 5dd5c2283517: Waiting [2022-10-26T02:15:40.956Z] d5ac0230b979: Waiting [2022-10-26T02:15:40.956Z] 5831b945b038: Waiting [2022-10-26T02:15:40.956Z] d0c4b47475fc: Verifying Checksum [2022-10-26T02:15:40.956Z] d0c4b47475fc: Download complete [2022-10-26T02:15:40.956Z] d32db5db7311: Verifying Checksum [2022-10-26T02:15:40.956Z] d32db5db7311: Download complete [2022-10-26T02:15:41.244Z] 86bbec2aaacd: Download complete [2022-10-26T02:15:41.244Z] e10730c5d714: Verifying Checksum [2022-10-26T02:15:41.244Z] e10730c5d714: Download complete [2022-10-26T02:15:41.244Z] 9b18e9b68314: Verifying Checksum [2022-10-26T02:15:41.244Z] 9b18e9b68314: Download complete [2022-10-26T02:15:42.219Z] 9b18e9b68314: Pull complete [2022-10-26T02:15:42.219Z] d5ac0230b979: Verifying Checksum [2022-10-26T02:15:42.219Z] d5ac0230b979: Download complete [2022-10-26T02:15:42.494Z] d32db5db7311: Pull complete [2022-10-26T02:15:43.083Z] d0c4b47475fc: Pull complete [2022-10-26T02:15:43.352Z] 5dd5c2283517: Verifying Checksum [2022-10-26T02:15:43.352Z] 5dd5c2283517: Download complete [2022-10-26T02:15:44.318Z] 5831b945b038: Verifying Checksum [2022-10-26T02:15:44.318Z] 5831b945b038: Download complete [2022-10-26T02:15:56.651Z] 5831b945b038: Pull complete [2022-10-26T02:15:56.651Z] 86bbec2aaacd: Pull complete [2022-10-26T02:15:56.651Z] e10730c5d714: Pull complete [2022-10-26T02:16:00.943Z] 5dd5c2283517: Pull complete [2022-10-26T02:16:02.902Z] d5ac0230b979: Pull complete [2022-10-26T02:16:02.902Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T02:16:02.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T02:16:02.902Z] ---> 59b3b1a385d4 [2022-10-26T02:16:02.902Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:16:05.516Z] ---> Running in 589d14622be8 [2022-10-26T02:16:05.516Z] Removing intermediate container 589d14622be8 [2022-10-26T02:16:05.516Z] ---> 82c20c057f88 [2022-10-26T02:16:05.516Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:16:05.787Z] ---> Running in d79714ebf8d4 [2022-10-26T02:16:06.057Z] Removing intermediate container d79714ebf8d4 [2022-10-26T02:16:06.057Z] ---> ab1fc044c5d4 [2022-10-26T02:16:06.057Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:16:06.057Z] ---> Running in 54b9d6bb89a7 [2022-10-26T02:16:06.329Z] Removing intermediate container 54b9d6bb89a7 [2022-10-26T02:16:06.329Z] ---> 115b03ffa052 [2022-10-26T02:16:06.329Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:16:06.605Z] ---> Running in 2a72900430b0 [2022-10-26T02:16:06.878Z] Removing intermediate container 2a72900430b0 [2022-10-26T02:16:06.878Z] ---> 3b263f56a82d [2022-10-26T02:16:06.878Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:16:06.878Z] ---> Running in 6ed509499424 [2022-10-26T02:16:07.469Z] Removing intermediate container 6ed509499424 [2022-10-26T02:16:07.469Z] ---> 716fe60df1c7 [2022-10-26T02:16:07.469Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:16:07.469Z] ---> Running in 5bebd6986ed9 [2022-10-26T02:16:09.448Z] Removing intermediate container 5bebd6986ed9 [2022-10-26T02:16:09.448Z] ---> 0a3a05c1d6be [2022-10-26T02:16:09.448Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:16:09.448Z] ---> Running in ed1efa789da0 [2022-10-26T02:16:10.431Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T02:16:11.025Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T02:16:12.983Z] OK: 221 MiB in 51 packages [2022-10-26T02:16:13.578Z] Removing intermediate container ed1efa789da0 [2022-10-26T02:16:13.578Z] ---> 1be962f2d427 [2022-10-26T02:16:13.578Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-26T02:16:13.578Z] ---> Running in ffe06f562aef [2022-10-26T02:16:14.192Z] Removing intermediate container ffe06f562aef [2022-10-26T02:16:14.192Z] ---> 631bcdf7d57a [2022-10-26T02:16:14.192Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-26T02:16:14.783Z] ---> 500153f698e1 [2022-10-26T02:16:14.783Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:16:14.783Z] ---> Running in 8f7c799e0751 [2022-10-26T02:17:22.696Z] Removing intermediate container 8f7c799e0751 [2022-10-26T02:17:22.696Z] ---> 334186cf7aca [2022-10-26T02:17:22.696Z] Step 13/14 : COPY . . [2022-10-26T02:17:22.696Z] ---> 5c2dfae43816 [2022-10-26T02:17:22.696Z] Step 14/14 : RUN ${MAKE} [2022-10-26T02:17:22.696Z] ---> Running in f49ec42cf64a [2022-10-26T02:17:22.697Z] noop [2022-10-26T02:17:22.697Z] Removing intermediate container f49ec42cf64a [2022-10-26T02:17:22.697Z] ---> 8b488140f3ff [2022-10-26T02:17:22.697Z] Successfully built 8b488140f3ff [2022-10-26T02:17:22.697Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:17:23.059Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T02:17:23.059Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:17:23.260Z] prd-ubuntu20.04-docker-arm64-4c-16g-117036 does not seem to be running inside a container [2022-10-26T02:17:23.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/24 -v /w/workspace/device-onvif-camera/24:/w/workspace/device-onvif-camera/24:rw,z -v /w/workspace/device-onvif-camera/24@tmp:/w/workspace/device-onvif-camera/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T02:17:24.736Z] $ docker top a6f4abca0ccecefe04cdb2395490aefc5ba1d7d8dda4efc29baaf3084f8fbaf5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:17:25.672Z] + go version [2022-10-26T02:17:25.672Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T02:17:25.689Z] $ docker stop --time=1 a6f4abca0ccecefe04cdb2395490aefc5ba1d7d8dda4efc29baaf3084f8fbaf5 [2022-10-26T02:17:27.408Z] $ docker rm -f a6f4abca0ccecefe04cdb2395490aefc5ba1d7d8dda4efc29baaf3084f8fbaf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:17:27.967Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T02:17:27.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:17:28.159Z] prd-ubuntu20.04-docker-arm64-4c-16g-117036 does not seem to be running inside a container [2022-10-26T02:17:28.231Z] $ 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/24 -v /w/workspace/device-onvif-camera/24:/w/workspace/device-onvif-camera/24:rw,z -v /w/workspace/device-onvif-camera/24@tmp:/w/workspace/device-onvif-camera/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T02:17:29.571Z] $ docker top aacb06bbb8e6387c6e7af9f281901bc5ede4bc0ec40a13ab88bd8320655cf8a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:17:30.444Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/24 [Pipeline] fileExists [Pipeline] sh [2022-10-26T02:17:31.106Z] + make test [2022-10-26T02:17:31.106Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T02:17:33.053Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-26T02:19:39.791Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-26T02:19:39.791Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.312s coverage: 28.2% of statements [2022-10-26T02:19:39.791Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-26T02:19:58.230Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.468s coverage: 86.5% of statements [2022-10-26T02:19:58.230Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T02:19:58.230Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T02:20:37.152Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T02:20:37.152Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T02:20:37.152Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T02:20:37.172Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T02:20:37.183Z] $ docker stop --time=1 aacb06bbb8e6387c6e7af9f281901bc5ede4bc0ec40a13ab88bd8320655cf8a2 [2022-10-26T02:20:39.120Z] $ docker rm -f aacb06bbb8e6387c6e7af9f281901bc5ede4bc0ec40a13ab88bd8320655cf8a2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T02:20:40.215Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T02:20:40.240Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T02:20:40.894Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T02:20:41.299Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T02:20:41.626Z] + ls -al . [2022-10-26T02:20:41.626Z] total 240 [2022-10-26T02:20:41.626Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 02:17 . [2022-10-26T02:20:41.626Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:15 .. [2022-10-26T02:20:41.626Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 02:15 .git [2022-10-26T02:20:41.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:15 .github [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 26 02:15 .gitignore [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 02:15 .golangci.yml [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 26 02:15 Attribution.txt [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 26 02:15 CHANGELOG.md [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 1799 Oct 26 02:15 Dockerfile [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 02:15 GOVERNANCE.md [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 26 02:15 Jenkinsfile [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 26 02:15 LICENSE [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 26 02:15 Makefile [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 26 02:15 OWNERS.md [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 26 02:15 README.md [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 02:11 VERSION [2022-10-26T02:20:41.626Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 02:15 bin [2022-10-26T02:20:41.626Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 02:15 cmd [2022-10-26T02:20:41.626Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 26 02:19 coverage.out [2022-10-26T02:20:41.626Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 02:15 doc [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 3735 Oct 26 02:15 go.mod [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 46201 Oct 26 02:15 go.sum [2022-10-26T02:20:41.626Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:15 internal [2022-10-26T02:20:41.626Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 02:15 snap [2022-10-26T02:20:41.626Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 26 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:20:41.970Z] + 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=d9f96b5f57a63fec84d86f225cd1e8b762d22f86 --label arch=arm64 --label version=0.0.0 . [2022-10-26T02:20:42.558Z] Sending build context to Docker daemon 14.86MB [2022-10-26T02:20:42.558Z] Step 1/28 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T02:20:42.558Z] Step 2/28 : FROM ${BASE} AS builder [2022-10-26T02:20:42.558Z] ---> 8b488140f3ff [2022-10-26T02:20:42.558Z] Step 3/28 : ARG ADD_BUILD_TAGS="" [2022-10-26T02:20:42.829Z] ---> Running in 6013e8f7848f [2022-10-26T02:20:43.097Z] Removing intermediate container 6013e8f7848f [2022-10-26T02:20:43.097Z] ---> cb428a5470a6 [2022-10-26T02:20:43.097Z] Step 4/28 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T02:20:43.097Z] ---> Running in f95a04c56f59 [2022-10-26T02:20:43.367Z] Removing intermediate container f95a04c56f59 [2022-10-26T02:20:43.367Z] ---> 179b8f01d496 [2022-10-26T02:20:43.367Z] Step 5/28 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T02:20:43.636Z] ---> Running in 38a903fc99d8 [2022-10-26T02:20:43.907Z] Removing intermediate container 38a903fc99d8 [2022-10-26T02:20:43.907Z] ---> fbcd4a302e8f [2022-10-26T02:20:43.907Z] Step 6/28 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T02:20:43.907Z] ---> Running in 128304dead78 [2022-10-26T02:20:44.176Z] Removing intermediate container 128304dead78 [2022-10-26T02:20:44.176Z] ---> 3c7152784526 [2022-10-26T02:20:44.176Z] Step 7/28 : LABEL Name=edgex-device-onvif-camera [2022-10-26T02:20:44.446Z] ---> Running in ebb132a93b39 [2022-10-26T02:20:44.724Z] Removing intermediate container ebb132a93b39 [2022-10-26T02:20:44.724Z] ---> 049d8c68ee95 [2022-10-26T02:20:44.724Z] Step 8/28 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-26T02:20:44.724Z] ---> Running in 49b2baff63f3 [2022-10-26T02:20:46.683Z] Removing intermediate container 49b2baff63f3 [2022-10-26T02:20:46.683Z] ---> 54cf155298ec [2022-10-26T02:20:46.683Z] Step 9/28 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T02:20:46.683Z] ---> Running in f8350ce7fbf4 [2022-10-26T02:20:48.107Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T02:20:48.375Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T02:20:49.789Z] OK: 221 MiB in 51 packages [2022-10-26T02:20:50.755Z] Removing intermediate container f8350ce7fbf4 [2022-10-26T02:20:50.755Z] ---> 02c68662ae82 [2022-10-26T02:20:50.755Z] Step 10/28 : WORKDIR /device-onvif-camera [2022-10-26T02:20:50.755Z] ---> Running in 6a390c008499 [2022-10-26T02:20:51.032Z] Removing intermediate container 6a390c008499 [2022-10-26T02:20:51.032Z] ---> 97555a7256b8 [2022-10-26T02:20:51.032Z] Step 11/28 : COPY go.mod vendor* ./ [2022-10-26T02:20:51.622Z] ---> a99b926ef7ac [2022-10-26T02:20:51.622Z] Step 12/28 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T02:20:51.892Z] ---> Running in 1ad493c955a5 [2022-10-26T02:20:53.839Z] Removing intermediate container 1ad493c955a5 [2022-10-26T02:20:53.839Z] ---> 317369fe5730 [2022-10-26T02:20:53.839Z] Step 13/28 : COPY . . [2022-10-26T02:20:55.791Z] ---> 8f343b010893 [2022-10-26T02:20:55.791Z] Step 14/28 : RUN ${MAKE} [2022-10-26T02:20:55.791Z] ---> Running in a2023c58736d [2022-10-26T02:20:56.757Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-26T02:23:48.560Z] Removing intermediate container a2023c58736d [2022-10-26T02:23:48.560Z] ---> 1921ebd20a84 [2022-10-26T02:23:48.560Z] Step 15/28 : FROM alpine:3.16 [2022-10-26T02:23:48.560Z] 3.16: Pulling from library/alpine [2022-10-26T02:23:48.560Z] 9b18e9b68314: Already exists [2022-10-26T02:23:48.560Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T02:23:48.560Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T02:23:48.560Z] ---> a6215f271958 [2022-10-26T02:23:48.560Z] Step 16/28 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-26T02:23:48.560Z] ---> Running in f621584b41a5 [2022-10-26T02:23:48.560Z] Removing intermediate container f621584b41a5 [2022-10-26T02:23:48.560Z] ---> 6b600934e3bd [2022-10-26T02:23:48.560Z] Step 17/28 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-26T02:23:48.560Z] ---> Running in fcc1e0c72beb [2022-10-26T02:23:48.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T02:23:48.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T02:23:48.560Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-26T02:23:48.560Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-26T02:23:48.560Z] (3/21) Installing readline (8.1.2-r0) [2022-10-26T02:23:48.560Z] (4/21) Installing bash (5.1.16-r2) [2022-10-26T02:23:48.560Z] Executing bash-5.1.16-r2.post-install [2022-10-26T02:23:48.560Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-26T02:23:48.560Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-26T02:23:48.560Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-26T02:23:48.560Z] (8/21) Installing libcurl (7.83.1-r3) [2022-10-26T02:23:48.560Z] (9/21) Installing curl (7.83.1-r3) [2022-10-26T02:23:48.560Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-26T02:23:48.560Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-26T02:23:48.560Z] (12/21) Installing jq (1.6-r1) [2022-10-26T02:23:48.560Z] (13/21) Installing popt (1.18-r0) [2022-10-26T02:23:48.560Z] (14/21) Installing pcre (8.45-r2) [2022-10-26T02:23:48.560Z] (15/21) Installing slang (2.3.2-r0) [2022-10-26T02:23:48.560Z] (16/21) Installing newt (0.52.21-r2) [2022-10-26T02:23:48.560Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T02:23:48.560Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-26T02:23:48.560Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T02:23:48.560Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-26T02:23:48.560Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-26T02:23:48.560Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T02:23:48.560Z] Executing ca-certificates-20220614-r0.trigger [2022-10-26T02:23:48.560Z] OK: 16 MiB in 35 packages [2022-10-26T02:23:48.560Z] Removing intermediate container fcc1e0c72beb [2022-10-26T02:23:48.560Z] ---> 62cd4f69f1bf [2022-10-26T02:23:48.560Z] Step 18/28 : WORKDIR / [2022-10-26T02:23:48.560Z] ---> Running in 5d135b9c18df [2022-10-26T02:23:48.560Z] Removing intermediate container 5d135b9c18df [2022-10-26T02:23:48.560Z] ---> 8bf1d185e32e [2022-10-26T02:23:48.560Z] Step 19/28 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-26T02:23:48.560Z] ---> 08c2d2d160b8 [2022-10-26T02:23:48.560Z] Step 20/28 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-26T02:23:49.145Z] ---> 519a5eaa119b [2022-10-26T02:23:49.145Z] Step 21/28 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-26T02:23:49.728Z] ---> 31f5a5cdf4cf [2022-10-26T02:23:49.728Z] Step 22/28 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-26T02:23:50.316Z] ---> c9b3b0e4ddfc [2022-10-26T02:23:50.316Z] Step 23/28 : EXPOSE 59984 [2022-10-26T02:23:50.316Z] ---> Running in 356549dd25f8 [2022-10-26T02:23:50.585Z] Removing intermediate container 356549dd25f8 [2022-10-26T02:23:50.585Z] ---> 81db633668cf [2022-10-26T02:23:50.585Z] Step 24/28 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-26T02:23:50.585Z] ---> Running in 65e7414fd635 [2022-10-26T02:23:50.852Z] Removing intermediate container 65e7414fd635 [2022-10-26T02:23:50.852Z] ---> edb2c968e608 [2022-10-26T02:23:50.852Z] Step 25/28 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T02:23:51.121Z] ---> Running in 3e87f2006baf [2022-10-26T02:23:51.389Z] Removing intermediate container 3e87f2006baf [2022-10-26T02:23:51.389Z] ---> ea21c2dab191 [2022-10-26T02:23:51.389Z] Step 26/28 : LABEL arch=arm64 [2022-10-26T02:23:51.389Z] ---> Running in d265d5c32e39 [2022-10-26T02:23:51.658Z] Removing intermediate container d265d5c32e39 [2022-10-26T02:23:51.658Z] ---> f649d3281415 [2022-10-26T02:23:51.658Z] Step 27/28 : LABEL git_sha=d9f96b5f57a63fec84d86f225cd1e8b762d22f86 [2022-10-26T02:23:51.658Z] ---> Running in a41e32aa471a [2022-10-26T02:23:52.244Z] Removing intermediate container a41e32aa471a [2022-10-26T02:23:52.244Z] ---> a192753d33a4 [2022-10-26T02:23:52.244Z] Step 28/28 : LABEL version=0.0.0 [2022-10-26T02:23:52.244Z] ---> Running in 7abcbbe42d83 [2022-10-26T02:23:52.512Z] Removing intermediate container 7abcbbe42d83 [2022-10-26T02:23:52.512Z] ---> d353951c92ff [2022-10-26T02:23:52.512Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T02:23:52.512Z] Successfully built d353951c92ff [2022-10-26T02:23:52.512Z] 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-10-26T02:23:52.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T02:23:52.946Z] [2022-10-26T02:23:52.946Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:23:53.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T02:23:53.284Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T02:23:53.284Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T02:23:53.284Z] 04944245beec: Pulling fs layer [2022-10-26T02:23:53.284Z] 699f458cf7ca: Pulling fs layer [2022-10-26T02:23:53.284Z] 765212b225bb: Pulling fs layer [2022-10-26T02:23:53.284Z] f23df028b6ca: Pulling fs layer [2022-10-26T02:23:53.284Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T02:23:53.284Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T02:23:53.284Z] 765212b225bb: Waiting [2022-10-26T02:23:53.284Z] f23df028b6ca: Waiting [2022-10-26T02:23:53.284Z] 2437ff75d9bd: Waiting [2022-10-26T02:23:53.284Z] d65c8cfc05b1: Waiting [2022-10-26T02:23:53.564Z] 04944245beec: Verifying Checksum [2022-10-26T02:23:53.564Z] 04944245beec: Download complete [2022-10-26T02:23:53.564Z] 765212b225bb: Verifying Checksum [2022-10-26T02:23:53.564Z] 765212b225bb: Download complete [2022-10-26T02:23:53.564Z] f23df028b6ca: Verifying Checksum [2022-10-26T02:23:53.564Z] f23df028b6ca: Download complete [2022-10-26T02:23:53.564Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T02:23:53.564Z] d65c8cfc05b1: Download complete [2022-10-26T02:23:53.836Z] 699f458cf7ca: Verifying Checksum [2022-10-26T02:23:53.836Z] 699f458cf7ca: Download complete [2022-10-26T02:23:54.107Z] 8998bd30e6a1: Download complete [2022-10-26T02:23:56.771Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T02:23:56.771Z] 2437ff75d9bd: Download complete [2022-10-26T02:23:58.314Z] 8998bd30e6a1: Pull complete [2022-10-26T02:23:58.900Z] 04944245beec: Pull complete [2022-10-26T02:24:00.313Z] 699f458cf7ca: Pull complete [2022-10-26T02:24:00.313Z] 765212b225bb: Pull complete [2022-10-26T02:24:01.273Z] f23df028b6ca: Pull complete [2022-10-26T02:24:01.274Z] d65c8cfc05b1: Pull complete [2022-10-26T02:24:16.272Z] 2437ff75d9bd: Pull complete [2022-10-26T02:24:16.272Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T02:24:16.272Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T02:24:16.272Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:24:16.455Z] prd-ubuntu20.04-docker-arm64-4c-16g-117036 does not seem to be running inside a container [2022-10-26T02:24:16.515Z] $ 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/24 -v /w/workspace/device-onvif-camera/24:/w/workspace/device-onvif-camera/24:rw,z -v /w/workspace/device-onvif-camera/24@tmp:/w/workspace/device-onvif-camera/24@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:arm64 cat [2022-10-26T02:24:19.214Z] $ docker top 27cbd73a64657767b72cbb2ae78dcf813aadcdcd0e456ba767b9fef724396639 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:20.059Z] ---> job-cost.sh [2022-10-26T02:24:20.059Z] lf-activate-venv: SKIPPING [2022-10-26T02:24:20.059Z] INFO: No Stack... [2022-10-26T02:24:20.640Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T02:24:21.222Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T02:24:21.542Z] + cat /w/workspace/device-onvif-camera/24/archives/cost.csv [2022-10-26T02:24:21.811Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T02:24:21.850Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-24-stack-cost] [2022-10-26T02:24:21.856Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-24-stack-cost] did not exist. Created. [2022-10-26T02:24:21.856Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T02:24:22.515Z] /w/workspace/device-onvif-camera/24@tmp/durable-6dc83fd3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T02:24:22.852Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T02:24:22.878Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T02:24:22.935Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T02:24:22.942Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-24-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T02:24:22.959Z] $ docker stop --time=1 27cbd73a64657767b72cbb2ae78dcf813aadcdcd0e456ba767b9fef724396639 [2022-10-26T02:24:24.895Z] $ docker rm -f 27cbd73a64657767b72cbb2ae78dcf813aadcdcd0e456ba767b9fef724396639 [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-10-26T02:24:25.311Z] provisioning config files... [2022-10-26T02:24:25.318Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config6168525481929919929tmp [Pipeline] { [Pipeline] sh [2022-10-26T02:24:25.610Z] + set +x [2022-10-26T02:24:25.610Z] + bash -s -- [2022-10-26T02:24:25.610Z] + curl -s https://codecov.io/bash [2022-10-26T02:24:25.610Z] [2022-10-26T02:24:25.610Z] _____ _ [2022-10-26T02:24:25.610Z] / ____| | | [2022-10-26T02:24:25.610Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T02:24:25.610Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T02:24:25.610Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T02:24:25.610Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T02:24:25.610Z] Bash-1.0.6 [2022-10-26T02:24:25.610Z] [2022-10-26T02:24:25.610Z] [2022-10-26T02:24:25.610Z] ==> git version 2.25.1 found [2022-10-26T02:24:25.610Z] ==> 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-10-26T02:24:25.610Z] Release-Date: 2020-01-08 [2022-10-26T02:24:25.610Z] 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-10-26T02:24:25.610Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T02:24:25.610Z] ==> Jenkins CI detected. [2022-10-26T02:24:25.610Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-10-26T02:24:25.610Z] project root: . [2022-10-26T02:24:25.610Z] --> token set from env [2022-10-26T02:24:25.610Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T02:24:25.610Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T02:24:25.610Z] ==> Python coveragepy not found [2022-10-26T02:24:25.610Z] ==> Searching for coverage reports in: [2022-10-26T02:24:25.610Z] + . [2022-10-26T02:24:25.610Z] -> Found 1 reports [2022-10-26T02:24:25.610Z] ==> Detecting git/mercurial file structure [2022-10-26T02:24:25.610Z] ==> Reading reports [2022-10-26T02:24:25.610Z] + ./coverage.out bytes=78636 [2022-10-26T02:24:25.610Z] ==> Appending adjustments [2022-10-26T02:24:25.610Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T02:24:25.869Z] + Found adjustments [2022-10-26T02:24:25.869Z] ==> Gzipping contents [2022-10-26T02:24:25.869Z] 12K /tmp/codecov.lnpVCW.gz [2022-10-26T02:24:25.869Z] ==> Uploading reports [2022-10-26T02:24:25.869Z] url: https://codecov.io [2022-10-26T02:24:25.869Z] query: branch=PR-125&commit=96825f213a0ea806fac6455bc3c24b0a30ac9253&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-26T02:24:25.869Z] -> Pinging Codecov [2022-10-26T02:24:25.869Z] 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=96825f213a0ea806fac6455bc3c24b0a30ac9253&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-26T02:24:26.435Z] -> Uploading to [2022-10-26T02:24:26.435Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/F29A59C45E3A92E06B3E522C9905F8EF/96825f213a0ea806fac6455bc3c24b0a30ac9253/c2ddf52f-cb87-4159-bf19-9d02f3776f36.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T022426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=586356229e2c4ceb7824409d8a2fc5085f5a8312b76fd15fff2fd58b1b79ce59 [2022-10-26T02:24:26.435Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T02:24:26.435Z] Dload Upload Total Spent Left Speed [2022-10-26T02:24:26.695Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10791 0 0 100 10791 0 47537 --:--:-- --:--:-- --:--:-- 47537 [2022-10-26T02:24:26.695Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/96825f213a0ea806fac6455bc3c24b0a30ac9253 [Pipeline] } [2022-10-26T02:24:26.703Z] 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-10-26T02:24:27.469Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-10-26T02:24:27.470Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-26T02:24:27.470Z] total 16 [2022-10-26T02:24:27.470Z] drwxr-xr-x 3 root root 4096 Oct 26 02:13 . [2022-10-26T02:24:27.470Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 02:13 .. [2022-10-26T02:24:27.470Z] drwxr-xr-x 2 root root 4096 Oct 26 02:13 cost [2022-10-26T02:24:27.470Z] -rw-r--r-- 1 root root 92 Oct 26 02:13 cost.csv [2022-10-26T02:24:27.470Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-26T02:24:27.470Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-26T02:24:27.470Z] total 16 [2022-10-26T02:24:27.470Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 02:13 . [2022-10-26T02:24:27.470Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 02:13 .. [2022-10-26T02:24:27.470Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 02:13 cost [2022-10-26T02:24:27.470Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 26 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:27.760Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:28.616Z] ---> package-listing.sh [2022-10-26T02:24:28.616Z] ++ facter osfamily [2022-10-26T02:24:28.616Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T02:24:28.874Z] + OS_FAMILY=debian [2022-10-26T02:24:28.874Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-10-26T02:24:28.874Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T02:24:28.874Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T02:24:28.874Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T02:24:28.874Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T02:24:28.874Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-26T02:24:28.874Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T02:24:28.874Z] + case "${OS_FAMILY}" in [2022-10-26T02:24:28.874Z] + dpkg -l [2022-10-26T02:24:28.874Z] + grep '^ii' [2022-10-26T02:24:28.874Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T02:24:28.874Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T02:24:28.875Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T02:24:28.875Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-26T02:24:28.875Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-10-26T02:24:28.875Z] + 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-10-26T02:24:28.886Z] 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-10-26T02:24:29.164Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T02:24:29.728Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T02:24:29.728Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T02:24:29.793Z] prd-ubuntu20.04-docker-8c-8g-117032 does not seem to be running inside a container [2022-10-26T02:24:29.823Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T02:24:30.050Z] $ docker top 504f65af9fde0618272634d9d781c22e15c78ee4d5449cf4c79bfffb187415a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T02:24:30.397Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T02:24:30.683Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T02:24:30.969Z] + ls /var/log/sa-host [2022-10-26T02:24:30.969Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T02:24:31.035Z] provisioning config files... [2022-10-26T02:24:31.043Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config6467313255158164726tmp [Pipeline] { [Pipeline] echo [2022-10-26T02:24:31.058Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:31.339Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T02:24:31.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:31.660Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T02:24:31.669Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:31.953Z] ---> sudo-logs.sh [2022-10-26T02:24:31.953Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T02:24:31.975Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:32.261Z] ---> job-cost.sh [2022-10-26T02:24:32.261Z] lf-activate-venv: SKIPPING [2022-10-26T02:24:32.261Z] DEBUG: total: 0.2199999988079071 [2022-10-26T02:24:32.261Z] INFO: Retrieving Stack Cost... [2022-10-26T02:24:32.521Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T02:24:33.090Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T02:24:33.101Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T02:24:33.383Z] ---> logs-deploy.sh [2022-10-26T02:24:33.383Z] lf-activate-venv: SKIPPING [2022-10-26T02:24:33.383Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/24 [2022-10-26T02:24:33.383Z] INFO: archiving workspace using pattern(s): [2022-10-26T02:24:34.325Z] Archives upload complete. [2022-10-26T02:24:34.325Z] INFO: archiving logs to Nexus