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 8e26798799e0d9344b61f434dca15061827fa01a rather than b17f1348cf1c3f347b135c9352a2a32642543706 Obtained Jenkinsfile from 8e26798799e0d9344b61f434dca15061827fa01a 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-ssh4758565727732294586.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-ssh831740981589213285.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-ssh2461893086159628892.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-ssh13896914421464305786.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-ssh2767991966813890144.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-117490’ Running on prd-ubuntu20.04-docker-8c-8g-117498 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 Merging remotes/origin/main commit 8e26798799e0d9344b61f434dca15061827fa01a into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 Merge succeeded, producing e0be2e9b76a05345fb81fe73d19f9ba090e55e87 Checking out Revision e0be2e9b76a05345fb81fe73d19f9ba090e55e87 (PR-125) > 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 > 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 8e26798799e0d9344b61f434dca15061827fa01a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0be2e9b76a05345fb81fe73d19f9ba090e55e87 # timeout=10 Commit message: "Merge commit '8e26798799e0d9344b61f434dca15061827fa01a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-28T02:11:42.010Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-28T02:11:42.051Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-28T02:11:42.064Z] ========================================================= [2022-10-28T02:11:42.064Z] EdgeX Global Pipelines Version Info [2022-10-28T02:11:42.064Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a1884aa380dc7cacafcd2041f9d7dae49b60929b # timeout=10 [2022-10-28T02:11:42.763Z] ------------------- [2022-10-28T02:11:42.763Z] stable info: [2022-10-28T02:11:42.763Z] ------------------- [2022-10-28T02:11:42.763Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-28T02:11:42.763Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-28T02:11:42.763Z] Message: update stable to v1.0.243 [2022-10-28T02:11:43.332Z] ------------------- [2022-10-28T02:11:43.332Z] experimental info: [2022-10-28T02:11:43.332Z] ------------------- [2022-10-28T02:11:43.332Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-28T02:11:43.332Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-28T02:11:43.332Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-28T02:11:43.473Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-28T02:11:43.484Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-28T02:11:43.495Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-28T02:11:43.510Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-28T02:11:43.522Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-28T02:11:43.537Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-28T02:11:43.549Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-28T02:11:43.560Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-28T02:11:43.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-28T02:11:43.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-28T02:11:43.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-28T02:11:43.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-28T02:11:43.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-28T02:11:43.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-28T02:11:43.642Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-28T02:11:43.652Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-28T02:11:43.663Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-28T02:11:43.672Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-28T02:11:43.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-28T02:11:43.710Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-28T02:11:43.720Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-28T02:11:43.731Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-28T02:11:43.743Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-28T02:11:43.754Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-28T02:11:43.764Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-28T02:11:43.775Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-28T02:11:43.790Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-28T02:11:43.801Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-125 [Pipeline] echo [2022-10-28T02:11:43.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-125 [Pipeline] echo [2022-10-28T02:11:43.877Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-125 [Pipeline] echo [2022-10-28T02:11:43.888Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0be2e9b76a05345fb81fe73d19f9ba090e55e87 [Pipeline] echo [2022-10-28T02:11:43.899Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0be2e9 [Pipeline] echo [2022-10-28T02:11:43.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-28T02:11:43.943Z] provisioning config files... [2022-10-28T02:11:43.953Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config10524245705726461050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:11:44.250Z] ---> docker-login.sh [2022-10-28T02:11:44.250Z] nexus3.edgexfoundry.org:10001 [2022-10-28T02:11:44.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:44.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:44.510Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:44.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:44.510Z] [2022-10-28T02:11:44.510Z] Login Succeeded [2022-10-28T02:11:44.510Z] nexus3.edgexfoundry.org:10002 [2022-10-28T02:11:44.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:44.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:44.510Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:44.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:44.510Z] [2022-10-28T02:11:44.510Z] Login Succeeded [2022-10-28T02:11:44.510Z] nexus3.edgexfoundry.org:10003 [2022-10-28T02:11:44.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:44.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:44.769Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:44.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:44.769Z] [2022-10-28T02:11:44.769Z] Login Succeeded [2022-10-28T02:11:44.769Z] nexus3.edgexfoundry.org:10004 [2022-10-28T02:11:44.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:44.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:44.769Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:44.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:44.769Z] [2022-10-28T02:11:44.769Z] Login Succeeded [2022-10-28T02:11:44.769Z] docker.io [2022-10-28T02:11:44.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:45.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:45.339Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:45.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:45.339Z] [2022-10-28T02:11:45.339Z] Login Succeeded [2022-10-28T02:11:45.339Z] ---> docker-login.sh ends [Pipeline] } [2022-10-28T02:11:45.346Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-28T02:11:45.720Z] + git rev-list -1 --merges e0be2e9b76a05345fb81fe73d19f9ba090e55e87~1..e0be2e9b76a05345fb81fe73d19f9ba090e55e87 [Pipeline] echo [2022-10-28T02:11:45.746Z] -----------> git rev-list -1 --merges e0be2e9b76a05345fb81fe73d19f9ba090e55e87~1..e0be2e9b76a05345fb81fe73d19f9ba090e55e87 e0be2e9b76a05345fb81fe73d19f9ba090e55e87 [2022-10-28T02:11:45.746Z] e0be2e9b76a05345fb81fe73d19f9ba090e55e87 [false] [Pipeline] sh [2022-10-28T02:11:46.033Z] + git log --format=format:%s -1 e0be2e9b76a05345fb81fe73d19f9ba090e55e87 [Pipeline] echo [2022-10-28T02:11:46.046Z] ========================================================= [2022-10-28T02:11:46.046Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-28T02:11:46.046Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-28T02:11:46.385Z] + git log --format=format:%s -1 e0be2e9b76a05345fb81fe73d19f9ba090e55e87 [Pipeline] echo [2022-10-28T02:11:46.396Z] [semverPrep] GIT_COMMIT: e0be2e9b76a05345fb81fe73d19f9ba090e55e87, Commit Message: Merge commit '8e26798799e0d9344b61f434dca15061827fa01a' into HEAD [Pipeline] echo [2022-10-28T02:11:46.406Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-28T02:11:46.758Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-28T02:11:46.758Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-28T02:11:46.758Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-28T02:11:46.758Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-28T02:11:46.758Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-28T02:11:46.758Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-28T02:11:46.758Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:11:47.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-28T02:11:47.113Z] [2022-10-28T02:11:47.113Z] 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-28T02:11:47.410Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-28T02:11:47.410Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-28T02:11:47.410Z] b85a868b505f: Pulling fs layer [2022-10-28T02:11:47.410Z] e2be974225ed: Pulling fs layer [2022-10-28T02:11:47.410Z] 339a4e72a1f5: Pulling fs layer [2022-10-28T02:11:47.410Z] 988bab9f4d93: Pulling fs layer [2022-10-28T02:11:47.410Z] 1469e6f7b9e6: Pulling fs layer [2022-10-28T02:11:47.410Z] eaf3925da568: Pulling fs layer [2022-10-28T02:11:47.410Z] bab4dde63d76: Pulling fs layer [2022-10-28T02:11:47.410Z] bde34c3a00c8: Pulling fs layer [2022-10-28T02:11:47.410Z] b352a97aabf1: Pulling fs layer [2022-10-28T02:11:47.410Z] 4872d77fe225: Pulling fs layer [2022-10-28T02:11:47.410Z] 5851b861e8e6: Pulling fs layer [2022-10-28T02:11:47.410Z] 1469e6f7b9e6: Waiting [2022-10-28T02:11:47.410Z] eaf3925da568: Waiting [2022-10-28T02:11:47.410Z] 4872d77fe225: Waiting [2022-10-28T02:11:47.410Z] bab4dde63d76: Waiting [2022-10-28T02:11:47.410Z] bde34c3a00c8: Waiting [2022-10-28T02:11:47.410Z] 988bab9f4d93: Waiting [2022-10-28T02:11:47.410Z] 5851b861e8e6: Waiting [2022-10-28T02:11:47.410Z] e2be974225ed: Verifying Checksum [2022-10-28T02:11:47.410Z] e2be974225ed: Download complete [2022-10-28T02:11:47.410Z] 988bab9f4d93: Verifying Checksum [2022-10-28T02:11:47.410Z] 988bab9f4d93: Download complete [2022-10-28T02:11:47.668Z] 1469e6f7b9e6: Verifying Checksum [2022-10-28T02:11:47.668Z] 1469e6f7b9e6: Download complete [2022-10-28T02:11:47.668Z] eaf3925da568: Verifying Checksum [2022-10-28T02:11:47.668Z] eaf3925da568: Download complete [2022-10-28T02:11:47.668Z] 339a4e72a1f5: Verifying Checksum [2022-10-28T02:11:47.668Z] 339a4e72a1f5: Download complete [2022-10-28T02:11:47.668Z] bde34c3a00c8: Download complete [2022-10-28T02:11:47.668Z] b352a97aabf1: Download complete [2022-10-28T02:11:47.668Z] 4872d77fe225: Verifying Checksum [2022-10-28T02:11:47.668Z] 4872d77fe225: Download complete [2022-10-28T02:11:47.668Z] 5851b861e8e6: Download complete [2022-10-28T02:11:47.933Z] b85a868b505f: Verifying Checksum [2022-10-28T02:11:47.933Z] b85a868b505f: Download complete [2022-10-28T02:11:48.191Z] bab4dde63d76: Verifying Checksum [2022-10-28T02:11:48.191Z] bab4dde63d76: Download complete [2022-10-28T02:11:48.756Z] b85a868b505f: Pull complete [2022-10-28T02:11:49.014Z] e2be974225ed: Pull complete [2022-10-28T02:11:49.274Z] 339a4e72a1f5: Pull complete [2022-10-28T02:11:49.533Z] 988bab9f4d93: Pull complete [2022-10-28T02:11:49.793Z] 1469e6f7b9e6: Pull complete [2022-10-28T02:11:49.793Z] eaf3925da568: Pull complete [2022-10-28T02:11:51.703Z] bab4dde63d76: Pull complete [2022-10-28T02:11:51.703Z] bde34c3a00c8: Pull complete [2022-10-28T02:11:51.703Z] b352a97aabf1: Pull complete [2022-10-28T02:11:51.703Z] 4872d77fe225: Pull complete [2022-10-28T02:11:51.703Z] 5851b861e8e6: Pull complete [2022-10-28T02:11:51.703Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-28T02:11:51.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-28T02:11:51.703Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:11:51.791Z] prd-ubuntu20.04-docker-8c-8g-117498 does not seem to be running inside a container [2022-10-28T02:11:51.897Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-28T02:11:53.188Z] $ docker top da6441668e875c0504583140737938d330db83ea3826f05e36ac4ab4bbd39fbb -eo pid,comm [2022-10-28T02:11:53.238Z] 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-28T02:11:53.238Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-28T02:11:53.278Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-28T02:11:53.278Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-28T02:11:53.386Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-28T02:11:53.390Z] $ docker exec da6441668e875c0504583140737938d330db83ea3826f05e36ac4ab4bbd39fbb ssh-agent [2022-10-28T02:11:53.485Z] SSH_AUTH_SOCK=/tmp/ssh-KGajD9YmXQfZ/agent.33 [2022-10-28T02:11:53.485Z] SSH_AGENT_PID=39 [2022-10-28T02:11:53.491Z] Running ssh-add (command line suppressed) [2022-10-28T02:11:53.603Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_13222140232224664620.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_13222140232224664620.key) [2022-10-28T02:11:53.615Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-28T02:11:53.902Z] + git tag --points-at HEAD [Pipeline] } [2022-10-28T02:11:53.916Z] $ docker exec --env ******** --env ******** da6441668e875c0504583140737938d330db83ea3826f05e36ac4ab4bbd39fbb ssh-agent -k [2022-10-28T02:11:54.018Z] unset SSH_AUTH_SOCK; [2022-10-28T02:11:54.018Z] unset SSH_AGENT_PID; [2022-10-28T02:11:54.018Z] echo Agent pid 39 killed; [2022-10-28T02:11:54.025Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-28T02:11:54.044Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-28T02:11:54.044Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-28T02:11:54.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-28T02:11:54.170Z] $ docker exec da6441668e875c0504583140737938d330db83ea3826f05e36ac4ab4bbd39fbb ssh-agent [2022-10-28T02:11:54.280Z] SSH_AUTH_SOCK=/tmp/ssh-Qz800vvsyjUv/agent.72 [2022-10-28T02:11:54.280Z] SSH_AGENT_PID=78 [2022-10-28T02:11:54.285Z] Running ssh-add (command line suppressed) [2022-10-28T02:11:54.385Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_8766355148791142394.key (/w/workspace/undry_device-onvif-camera_PR-125@tmp/private_key_8766355148791142394.key) [2022-10-28T02:11:54.396Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-28T02:11:54.679Z] + git semver init [2022-10-28T02:11:54.939Z] 2022-10-28 02:11:54,844 [run_init] DEBUG init version:0.0.0 force:False [2022-10-28T02:11:54.939Z] 2022-10-28 02:11:54,845 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-125/.semver [2022-10-28T02:11:54.939Z] 2022-10-28 02:11:54,845 [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-28T02:11:54.939Z] 2022-10-28 02:11:54,845 [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-28T02:11:56.317Z] 2022-10-28 02:11:56,120 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-125/.git/info/exclude [2022-10-28T02:11:56.317Z] 2022-10-28 02:11:56,121 [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-28T02:11:56.317Z] 2022-10-28 02:11:56,121 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-28T02:11:56.317Z] 2022-10-28 02:11:56,125 [execute] INFO git cat-file --batch-check [2022-10-28T02:11:56.317Z] 2022-10-28 02:11:56,126 [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-28T02:11:56.317Z] 2022-10-28 02:11:56,133 [execute] INFO git cat-file --batch [2022-10-28T02:11:56.317Z] 2022-10-28 02:11:56,133 [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-28T02:11:56.317Z] 2022-10-28 02:11:56,140 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-125/.semver/PR-125 [2022-10-28T02:11:56.317Z] 0.0.0 [Pipeline] } [2022-10-28T02:11:56.327Z] $ docker exec --env ******** --env ******** da6441668e875c0504583140737938d330db83ea3826f05e36ac4ab4bbd39fbb ssh-agent -k [2022-10-28T02:11:56.423Z] unset SSH_AUTH_SOCK; [2022-10-28T02:11:56.424Z] unset SSH_AGENT_PID; [2022-10-28T02:11:56.424Z] echo Agent pid 78 killed; [2022-10-28T02:11:56.431Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-28T02:11:56.736Z] + git semver [Pipeline] } [2022-10-28T02:11:57.018Z] $ docker stop --time=1 da6441668e875c0504583140737938d330db83ea3826f05e36ac4ab4bbd39fbb [2022-10-28T02:11:58.338Z] $ docker rm -f da6441668e875c0504583140737938d330db83ea3826f05e36ac4ab4bbd39fbb [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-28T02:11:58.673Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-28T02:11:58.840Z] Stashed 1 file(s) [Pipeline] echo [2022-10-28T02:11:58.843Z] [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-28T02:11:58.986Z] provisioning config files... [2022-10-28T02:11:58.995Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config1419669885219991844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:11:59.287Z] ---> docker-login.sh [2022-10-28T02:11:59.287Z] nexus3.edgexfoundry.org:10001 [2022-10-28T02:11:59.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:59.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:59.287Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:59.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:59.287Z] [2022-10-28T02:11:59.287Z] Login Succeeded [2022-10-28T02:11:59.287Z] nexus3.edgexfoundry.org:10002 [2022-10-28T02:11:59.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:59.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:59.287Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:59.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:59.287Z] [2022-10-28T02:11:59.287Z] Login Succeeded [2022-10-28T02:11:59.287Z] nexus3.edgexfoundry.org:10003 [2022-10-28T02:11:59.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:59.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:59.547Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:59.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:59.547Z] [2022-10-28T02:11:59.547Z] Login Succeeded [2022-10-28T02:11:59.547Z] nexus3.edgexfoundry.org:10004 [2022-10-28T02:11:59.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:11:59.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:11:59.547Z] Configure a credential helper to remove this warning. See [2022-10-28T02:11:59.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:11:59.547Z] [2022-10-28T02:11:59.547Z] Login Succeeded [2022-10-28T02:11:59.547Z] docker.io [2022-10-28T02:11:59.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:12:00.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:12:00.115Z] Configure a credential helper to remove this warning. See [2022-10-28T02:12:00.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:12:00.115Z] [2022-10-28T02:12:00.115Z] Login Succeeded [2022-10-28T02:12:00.115Z] ---> docker-login.sh ends [Pipeline] } [2022-10-28T02:12:00.121Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-28T02:12:00.178Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-28T02:12:00.192Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-28T02:12:00.200Z] ========================================================= [2022-10-28T02:12:00.200Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-28T02:12:00.200Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:12:00.513Z] + 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-28T02:12:00.513Z] Sending build context to Docker daemon 27.51MB [2022-10-28T02:12:00.513Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-28T02:12:00.513Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-28T02:12:00.773Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-28T02:12:00.773Z] 213ec9aee27d: Pulling fs layer [2022-10-28T02:12:00.773Z] 4583459ba037: Pulling fs layer [2022-10-28T02:12:00.773Z] 93c1e223e6f2: Pulling fs layer [2022-10-28T02:12:00.773Z] 53926ce57604: Pulling fs layer [2022-10-28T02:12:00.773Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-28T02:12:00.773Z] 30f14e443154: Pulling fs layer [2022-10-28T02:12:00.773Z] 801331c1e519: Pulling fs layer [2022-10-28T02:12:00.773Z] 99cc6dd402b0: Pulling fs layer [2022-10-28T02:12:00.773Z] 7d9ed39f4882: Pulling fs layer [2022-10-28T02:12:00.773Z] 21b2b0c7a3f4: Waiting [2022-10-28T02:12:00.773Z] 30f14e443154: Waiting [2022-10-28T02:12:00.773Z] 99cc6dd402b0: Waiting [2022-10-28T02:12:00.773Z] 7d9ed39f4882: Waiting [2022-10-28T02:12:00.773Z] 53926ce57604: Waiting [2022-10-28T02:12:00.773Z] 801331c1e519: Waiting [2022-10-28T02:12:00.773Z] 93c1e223e6f2: Verifying Checksum [2022-10-28T02:12:00.773Z] 93c1e223e6f2: Download complete [2022-10-28T02:12:00.773Z] 4583459ba037: Verifying Checksum [2022-10-28T02:12:00.773Z] 4583459ba037: Download complete [2022-10-28T02:12:00.773Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-28T02:12:00.773Z] 21b2b0c7a3f4: Download complete [2022-10-28T02:12:00.773Z] 30f14e443154: Verifying Checksum [2022-10-28T02:12:00.773Z] 30f14e443154: Download complete [2022-10-28T02:12:00.773Z] 213ec9aee27d: Download complete [2022-10-28T02:12:00.773Z] 801331c1e519: Download complete [2022-10-28T02:12:00.773Z] 213ec9aee27d: Pull complete [2022-10-28T02:12:01.038Z] 4583459ba037: Pull complete [2022-10-28T02:12:01.038Z] 93c1e223e6f2: Pull complete [2022-10-28T02:12:01.300Z] 7d9ed39f4882: Verifying Checksum [2022-10-28T02:12:01.300Z] 7d9ed39f4882: Download complete [2022-10-28T02:12:01.300Z] 99cc6dd402b0: Verifying Checksum [2022-10-28T02:12:01.300Z] 99cc6dd402b0: Download complete [2022-10-28T02:12:01.559Z] 53926ce57604: Verifying Checksum [2022-10-28T02:12:01.559Z] 53926ce57604: Download complete [2022-10-28T02:12:05.742Z] 53926ce57604: Pull complete [2022-10-28T02:12:05.742Z] 21b2b0c7a3f4: Pull complete [2022-10-28T02:12:05.742Z] 30f14e443154: Pull complete [2022-10-28T02:12:05.742Z] 801331c1e519: Pull complete [2022-10-28T02:12:07.640Z] 99cc6dd402b0: Pull complete [2022-10-28T02:12:07.898Z] 7d9ed39f4882: Pull complete [2022-10-28T02:12:07.898Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-28T02:12:07.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-28T02:12:07.898Z] ---> 1dedd983c030 [2022-10-28T02:12:07.898Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-28T02:12:09.801Z] ---> Running in ab79114f40db [2022-10-28T02:12:09.802Z] Removing intermediate container ab79114f40db [2022-10-28T02:12:09.802Z] ---> a10548d79e49 [2022-10-28T02:12:09.802Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-28T02:12:09.802Z] ---> Running in 6b17cd66f453 [2022-10-28T02:12:09.802Z] Removing intermediate container 6b17cd66f453 [2022-10-28T02:12:09.802Z] ---> d5a60266082a [2022-10-28T02:12:09.802Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-28T02:12:09.802Z] ---> Running in a33fc631a47d [2022-10-28T02:12:09.802Z] Removing intermediate container a33fc631a47d [2022-10-28T02:12:09.802Z] ---> 0286c40606c0 [2022-10-28T02:12:09.802Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-28T02:12:10.060Z] ---> Running in 338f14a44f9d [2022-10-28T02:12:10.060Z] Removing intermediate container 338f14a44f9d [2022-10-28T02:12:10.060Z] ---> a47dad65a136 [2022-10-28T02:12:10.060Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-28T02:12:10.060Z] ---> Running in 903d3f7aa483 [2022-10-28T02:12:10.060Z] Removing intermediate container 903d3f7aa483 [2022-10-28T02:12:10.060Z] ---> c4ef2297a1ed [2022-10-28T02:12:10.060Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-28T02:12:10.060Z] ---> Running in fa9e0a99bd96 [2022-10-28T02:12:10.318Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-28T02:12:10.575Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-28T02:12:10.575Z] OK: 211 MiB in 51 packages [2022-10-28T02:12:11.145Z] Removing intermediate container fa9e0a99bd96 [2022-10-28T02:12:11.145Z] ---> 1a4ac2591966 [2022-10-28T02:12:11.145Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-28T02:12:11.145Z] ---> Running in 5c13a9ac9c90 [2022-10-28T02:12:11.145Z] Removing intermediate container 5c13a9ac9c90 [2022-10-28T02:12:11.145Z] ---> bd2af5894a6e [2022-10-28T02:12:11.145Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-28T02:12:11.145Z] ---> 09e42e253241 [2022-10-28T02:12:11.145Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-28T02:12:11.403Z] ---> Running in ec5faef3da25 [2022-10-28T02:12:13.943Z] Still waiting to schedule task [2022-10-28T02:12:13.943Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117494’ [2022-10-28T02:12:26.298Z] Removing intermediate container ec5faef3da25 [2022-10-28T02:12:26.299Z] ---> 86aad9a4ca8b [2022-10-28T02:12:26.299Z] Step 12/13 : COPY . . [2022-10-28T02:12:27.254Z] ---> 319da334c3b2 [2022-10-28T02:12:27.254Z] Step 13/13 : RUN ${MAKE} [2022-10-28T02:12:27.254Z] ---> Running in e3c0794d21e9 [2022-10-28T02:12:27.511Z] noop [2022-10-28T02:12:27.770Z] Removing intermediate container e3c0794d21e9 [2022-10-28T02:12:27.770Z] ---> f34051b09d10 [2022-10-28T02:12:27.770Z] Successfully built f34051b09d10 [2022-10-28T02:12:27.770Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:12:28.079Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-28T02:12:28.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:12:28.147Z] prd-ubuntu20.04-docker-8c-8g-117498 does not seem to be running inside a container [2022-10-28T02:12:28.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-28T02:12:28.546Z] $ docker top 185c9d96e28629d64c9f90ee3a993f2cd90253dc9e6f9f7386636453e9dfa582 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-28T02:12:28.885Z] + go version [2022-10-28T02:12:28.885Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-28T02:12:28.895Z] $ docker stop --time=1 185c9d96e28629d64c9f90ee3a993f2cd90253dc9e6f9f7386636453e9dfa582 [2022-10-28T02:12:30.181Z] $ docker rm -f 185c9d96e28629d64c9f90ee3a993f2cd90253dc9e6f9f7386636453e9dfa582 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:12:30.563Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-28T02:12:30.563Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:12:30.624Z] prd-ubuntu20.04-docker-8c-8g-117498 does not seem to be running inside a container [2022-10-28T02:12:30.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-28T02:12:31.026Z] $ docker top 3ef3a3d81a4003085d8f8ed57433fff45e53cf9b5cab21371e5410f0a53b7851 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-28T02:12:31.363Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] fileExists [Pipeline] sh [2022-10-28T02:12:31.655Z] + make test [2022-10-28T02:12:31.655Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-28T02:12:31.912Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-28T02:12:44.099Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-28T02:12:46.631Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 29.3% of statements [2022-10-28T02:12:46.631Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-28T02:12:46.631Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.587s coverage: 86.5% of statements [2022-10-28T02:12:54.746Z] 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-28T02:12:54.746Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-28T02:12:58.024Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-28T02:12:58.024Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-28T02:12:58.024Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-28T02:12:58.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-28T02:12:58.050Z] $ docker stop --time=1 3ef3a3d81a4003085d8f8ed57433fff45e53cf9b5cab21371e5410f0a53b7851 [2022-10-28T02:12:59.840Z] $ docker rm -f 3ef3a3d81a4003085d8f8ed57433fff45e53cf9b5cab21371e5410f0a53b7851 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-28T02:13:00.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-28T02:13:00.325Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-28T02:13:00.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-28T02:13:01.020Z] + ls -al . [2022-10-28T02:13:01.020Z] total 244 [2022-10-28T02:13:01.020Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 02:12 . [2022-10-28T02:13:01.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:11 .. [2022-10-28T02:13:01.020Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 02:12 .git [2022-10-28T02:13:01.020Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:11 .github [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 28 02:11 .gitignore [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 28 02:11 .golangci.yml [2022-10-28T02:13:01.020Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 28 02:11 .semver [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 28 02:11 Attribution.txt [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 28 02:11 CHANGELOG.md [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 1710 Oct 28 02:11 Dockerfile [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 02:11 GOVERNANCE.md [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 28 02:11 Jenkinsfile [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 28 02:11 LICENSE [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 28 02:11 Makefile [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 28 02:11 OWNERS.md [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 28 02:11 README.md [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 02:11 VERSION [2022-10-28T02:13:01.020Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:11 bin [2022-10-28T02:13:01.020Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:11 cmd [2022-10-28T02:13:01.020Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 28 02:12 coverage.out [2022-10-28T02:13:01.020Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 28 02:11 doc [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 28 02:11 go.mod [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 28 02:11 go.sum [2022-10-28T02:13:01.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:11 internal [2022-10-28T02:13:01.020Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:11 snap [2022-10-28T02:13:01.020Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 28 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:13:01.323Z] + 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=e0be2e9b76a05345fb81fe73d19f9ba090e55e87 --label arch=amd64 --label version=0.0.0 . [2022-10-28T02:13:01.323Z] Sending build context to Docker daemon 27.59MB [2022-10-28T02:13:01.323Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-28T02:13:01.323Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-28T02:13:01.323Z] ---> f34051b09d10 [2022-10-28T02:13:01.323Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-28T02:13:01.581Z] ---> Running in f595c2c1a2ef [2022-10-28T02:13:01.581Z] Removing intermediate container f595c2c1a2ef [2022-10-28T02:13:01.581Z] ---> edc55a043a05 [2022-10-28T02:13:01.581Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-28T02:13:01.581Z] ---> Running in 58094279e8ec [2022-10-28T02:13:01.839Z] Removing intermediate container 58094279e8ec [2022-10-28T02:13:01.839Z] ---> c4716a2780b6 [2022-10-28T02:13:01.839Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-28T02:13:01.839Z] ---> Running in 72166cd11d0c [2022-10-28T02:13:01.839Z] Removing intermediate container 72166cd11d0c [2022-10-28T02:13:01.839Z] ---> 88acf4bbafe1 [2022-10-28T02:13:01.839Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-28T02:13:01.839Z] ---> Running in fdf18e569719 [2022-10-28T02:13:01.839Z] Removing intermediate container fdf18e569719 [2022-10-28T02:13:01.839Z] ---> 57232fba17a2 [2022-10-28T02:13:01.839Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-28T02:13:02.096Z] ---> Running in 21265fb48d70 [2022-10-28T02:13:02.096Z] Removing intermediate container 21265fb48d70 [2022-10-28T02:13:02.096Z] ---> 2b25fc59ea1e [2022-10-28T02:13:02.096Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-28T02:13:02.096Z] ---> Running in 4ec3d7dad1d5 [2022-10-28T02:13:02.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-28T02:13:02.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-28T02:13:02.614Z] OK: 211 MiB in 51 packages [2022-10-28T02:13:02.873Z] Removing intermediate container 4ec3d7dad1d5 [2022-10-28T02:13:02.873Z] ---> c8862ab16239 [2022-10-28T02:13:02.873Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-10-28T02:13:03.132Z] ---> Running in 1e8e04989cbf [2022-10-28T02:13:03.132Z] Removing intermediate container 1e8e04989cbf [2022-10-28T02:13:03.132Z] ---> f5b66c57a961 [2022-10-28T02:13:03.132Z] Step 10/27 : COPY go.mod vendor* ./ [2022-10-28T02:13:03.132Z] ---> 8d41e5dd34cd [2022-10-28T02:13:03.132Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-28T02:13:03.389Z] ---> Running in 5b78301299bb [2022-10-28T02:13:03.955Z] Removing intermediate container 5b78301299bb [2022-10-28T02:13:03.955Z] ---> 8899c09a2694 [2022-10-28T02:13:03.955Z] Step 12/27 : COPY . . [2022-10-28T02:13:04.521Z] ---> a5066100079d [2022-10-28T02:13:04.521Z] Step 13/27 : RUN ${MAKE} [2022-10-28T02:13:04.521Z] ---> Running in 2e00bae9ef00 [2022-10-28T02:13:04.779Z] 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-28T02:13:26.695Z] Removing intermediate container 2e00bae9ef00 [2022-10-28T02:13:26.695Z] ---> a21ac825ed4c [2022-10-28T02:13:26.695Z] Step 14/27 : FROM alpine:3.16 [2022-10-28T02:13:26.695Z] 3.16: Pulling from library/alpine [2022-10-28T02:13:26.695Z] 213ec9aee27d: Already exists [2022-10-28T02:13:26.695Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-28T02:13:26.695Z] Status: Downloaded newer image for alpine:3.16 [2022-10-28T02:13:26.695Z] ---> 9c6f07244728 [2022-10-28T02:13:26.695Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-28T02:13:26.695Z] ---> Running in 95d159c70a07 [2022-10-28T02:13:26.955Z] Removing intermediate container 95d159c70a07 [2022-10-28T02:13:26.955Z] ---> 281fa9fa288f [2022-10-28T02:13:26.955Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-28T02:13:26.955Z] ---> Running in cac5e6de60aa [2022-10-28T02:13:27.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-28T02:13:27.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-28T02:13:27.474Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-28T02:13:27.474Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-28T02:13:27.474Z] (3/21) Installing readline (8.1.2-r0) [2022-10-28T02:13:27.474Z] (4/21) Installing bash (5.1.16-r2) [2022-10-28T02:13:27.474Z] Executing bash-5.1.16-r2.post-install [2022-10-28T02:13:27.474Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-28T02:13:27.474Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-28T02:13:27.735Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-28T02:13:27.735Z] (8/21) Installing libcurl (7.83.1-r4) [2022-10-28T02:13:27.735Z] (9/21) Installing curl (7.83.1-r4) [2022-10-28T02:13:27.735Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-28T02:13:27.735Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-28T02:13:27.735Z] (12/21) Installing jq (1.6-r1) [2022-10-28T02:13:27.735Z] (13/21) Installing popt (1.18-r0) [2022-10-28T02:13:27.735Z] (14/21) Installing pcre (8.45-r2) [2022-10-28T02:13:27.735Z] (15/21) Installing slang (2.3.2-r0) [2022-10-28T02:13:27.735Z] (16/21) Installing newt (0.52.21-r2) [2022-10-28T02:13:27.735Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-28T02:13:27.735Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-28T02:13:27.735Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-28T02:13:27.735Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-28T02:13:27.735Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-28T02:13:27.735Z] Executing busybox-1.35.0-r17.trigger [2022-10-28T02:13:27.735Z] Executing ca-certificates-20220614-r0.trigger [2022-10-28T02:13:27.735Z] OK: 17 MiB in 35 packages [2022-10-28T02:13:28.672Z] Removing intermediate container cac5e6de60aa [2022-10-28T02:13:28.672Z] ---> eaea0a077e46 [2022-10-28T02:13:28.672Z] Step 17/27 : WORKDIR / [2022-10-28T02:13:28.672Z] ---> Running in 81a3da89d4d5 [2022-10-28T02:13:28.672Z] Removing intermediate container 81a3da89d4d5 [2022-10-28T02:13:28.672Z] ---> de20da3f0f7e [2022-10-28T02:13:28.672Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-28T02:13:29.239Z] ---> e9facbc67973 [2022-10-28T02:13:29.239Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-28T02:13:29.239Z] ---> 745eddf0ba2c [2022-10-28T02:13:29.239Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-28T02:13:29.497Z] ---> eb4677f3546f [2022-10-28T02:13:29.497Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-28T02:13:29.497Z] ---> ec750b441693 [2022-10-28T02:13:29.497Z] Step 22/27 : EXPOSE 59984 [2022-10-28T02:13:29.756Z] ---> Running in 7c9bdc183849 [2022-10-28T02:13:29.756Z] Removing intermediate container 7c9bdc183849 [2022-10-28T02:13:29.756Z] ---> b368c690ef6d [2022-10-28T02:13:29.756Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-28T02:13:29.756Z] ---> Running in df82a72f954a [2022-10-28T02:13:29.756Z] Removing intermediate container df82a72f954a [2022-10-28T02:13:29.756Z] ---> 3f4d7a28452c [2022-10-28T02:13:29.756Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-28T02:13:30.013Z] ---> Running in d5276c64094d [2022-10-28T02:13:30.013Z] Removing intermediate container d5276c64094d [2022-10-28T02:13:30.013Z] ---> 50f46e75419a [2022-10-28T02:13:30.013Z] Step 25/27 : LABEL arch=amd64 [2022-10-28T02:13:30.013Z] ---> Running in 2adfe6a50f6b [2022-10-28T02:13:30.013Z] Removing intermediate container 2adfe6a50f6b [2022-10-28T02:13:30.013Z] ---> 7d252a91afe3 [2022-10-28T02:13:30.013Z] Step 26/27 : LABEL git_sha=e0be2e9b76a05345fb81fe73d19f9ba090e55e87 [2022-10-28T02:13:30.272Z] ---> Running in 7c3aa3eef8d7 [2022-10-28T02:13:30.272Z] Removing intermediate container 7c3aa3eef8d7 [2022-10-28T02:13:30.272Z] ---> 5e7dca711c96 [2022-10-28T02:13:30.272Z] Step 27/27 : LABEL version=0.0.0 [2022-10-28T02:13:30.272Z] ---> Running in 3f6cf855b470 [2022-10-28T02:13:30.272Z] Removing intermediate container 3f6cf855b470 [2022-10-28T02:13:30.272Z] ---> 648e325c568b [2022-10-28T02:13:30.272Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-28T02:13:30.272Z] Successfully built 648e325c568b [2022-10-28T02:13:30.272Z] 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-28T02:13:30.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-28T02:13:30.702Z] [2022-10-28T02:13:30.702Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:13:31.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-28T02:13:31.000Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-28T02:13:31.000Z] 5eb5b503b376: Pulling fs layer [2022-10-28T02:13:31.000Z] 5c69ac0246d0: Pulling fs layer [2022-10-28T02:13:31.000Z] ec43610c2a17: Pulling fs layer [2022-10-28T02:13:31.000Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-28T02:13:31.000Z] 33b1e0a273af: Pulling fs layer [2022-10-28T02:13:31.000Z] 5d3b04190fa2: Pulling fs layer [2022-10-28T02:13:31.000Z] 2f39f015ded8: Pulling fs layer [2022-10-28T02:13:31.000Z] 5d3b04190fa2: Waiting [2022-10-28T02:13:31.000Z] 3a2ae6a8a46f: Waiting [2022-10-28T02:13:31.000Z] 33b1e0a273af: Waiting [2022-10-28T02:13:31.000Z] 2f39f015ded8: Waiting [2022-10-28T02:13:31.000Z] 5c69ac0246d0: Download complete [2022-10-28T02:13:31.000Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-28T02:13:31.000Z] 3a2ae6a8a46f: Download complete [2022-10-28T02:13:31.264Z] 33b1e0a273af: Verifying Checksum [2022-10-28T02:13:31.264Z] 33b1e0a273af: Download complete [2022-10-28T02:13:31.264Z] 5d3b04190fa2: Verifying Checksum [2022-10-28T02:13:31.264Z] 5d3b04190fa2: Download complete [2022-10-28T02:13:31.264Z] ec43610c2a17: Verifying Checksum [2022-10-28T02:13:31.264Z] ec43610c2a17: Download complete [2022-10-28T02:13:31.264Z] 5eb5b503b376: Verifying Checksum [2022-10-28T02:13:31.264Z] 5eb5b503b376: Download complete [2022-10-28T02:13:32.197Z] 2f39f015ded8: Verifying Checksum [2022-10-28T02:13:32.197Z] 2f39f015ded8: Download complete [2022-10-28T02:13:32.456Z] 5eb5b503b376: Pull complete [2022-10-28T02:13:32.456Z] 5c69ac0246d0: Pull complete [2022-10-28T02:13:33.020Z] ec43610c2a17: Pull complete [2022-10-28T02:13:33.020Z] 3a2ae6a8a46f: Pull complete [2022-10-28T02:13:33.278Z] 33b1e0a273af: Pull complete [2022-10-28T02:13:33.278Z] 5d3b04190fa2: Pull complete [2022-10-28T02:13:37.460Z] 2f39f015ded8: Pull complete [2022-10-28T02:13:37.460Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-28T02:13:37.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-28T02:13:37.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:13:37.531Z] prd-ubuntu20.04-docker-8c-8g-117498 does not seem to be running inside a container [2022-10-28T02:13:37.568Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-28T02:13:39.163Z] $ docker top d63fc7f110c0c7bc446666a25083631475e0f277a297ceb6539d9692f01d9c29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:13:39.543Z] ---> job-cost.sh [2022-10-28T02:13:39.543Z] lf-activate-venv: SKIPPING [2022-10-28T02:13:39.543Z] INFO: No Stack... [2022-10-28T02:13:39.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-28T02:13:40.372Z] INFO: Archiving Costs [Pipeline] sh [2022-10-28T02:13:40.663Z] + cat /w/workspace/undry_device-onvif-camera_PR-125/archives/cost.csv [2022-10-28T02:13:40.663Z] + cut -d, -f6 [Pipeline] lock [2022-10-28T02:13:40.676Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-26-stack-cost] [2022-10-28T02:13:40.684Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-26-stack-cost] did not exist. Created. [2022-10-28T02:13:40.684Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-28T02:13:40.989Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-28T02:13:41.017Z] Stashed 1 file(s) [Pipeline] } [2022-10-28T02:13:41.023Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-28T02:13:41.036Z] $ docker stop --time=1 d63fc7f110c0c7bc446666a25083631475e0f277a297ceb6539d9692f01d9c29 [2022-10-28T02:13:42.209Z] $ docker rm -f d63fc7f110c0c7bc446666a25083631475e0f277a297ceb6539d9692f01d9c29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-28T02:14:49.557Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117501 in /w/workspace/undry_device-onvif-camera_PR-125 [Pipeline] { [Pipeline] ws [2022-10-28T02:14:49.573Z] Running in /w/workspace/device-onvif-camera/26 [Pipeline] { [Pipeline] checkout [2022-10-28T02:14:49.614Z] The recommended git tool is: git [2022-10-28T02:14:55.172Z] using credential edgex-jenkins-ssh [2022-10-28T02:14:55.191Z] Cloning the remote Git repository [2022-10-28T02:14:55.244Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-28T02:14:55.327Z] > git init /w/workspace/device-onvif-camera/26 # timeout=10 [2022-10-28T02:14:55.519Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-28T02:14:55.521Z] > git --version # timeout=10 [2022-10-28T02:14:55.548Z] > git --version # 'git version 2.25.1' [2022-10-28T02:14:55.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-28T02:14:55.609Z] Verifying host key using known hosts file [2022-10-28T02:14:55.847Z] 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-28T02:14:55.863Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-28T02:14:57.401Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-28T02:14:57.435Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-28T02:14:59.176Z] Merging remotes/origin/main commit 8e26798799e0d9344b61f434dca15061827fa01a into PR head commit b17f1348cf1c3f347b135c9352a2a32642543706 [2022-10-28T02:14:58.431Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-28T02:14:58.481Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-28T02:14:58.483Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-28T02:14:58.489Z] Verifying host key using known hosts file [2022-10-28T02:14:58.497Z] 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-28T02:14:58.511Z] > 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-28T02:14:59.201Z] > git config core.sparsecheckout # timeout=10 [2022-10-28T02:14:59.223Z] > git checkout -f b17f1348cf1c3f347b135c9352a2a32642543706 # timeout=10 [2022-10-28T02:14:59.505Z] > git remote # timeout=10 [2022-10-28T02:14:59.535Z] > git config --get remote.origin.url # timeout=10 [2022-10-28T02:14:59.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-28T02:14:59.563Z] Verifying host key using known hosts file [2022-10-28T02:14:59.567Z] 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-28T02:14:59.578Z] > git merge 8e26798799e0d9344b61f434dca15061827fa01a # timeout=10 [2022-10-28T02:15:00.334Z] Merge succeeded, producing 5397720329dfa708889ef13c304dab8b0e066c86 [2022-10-28T02:15:00.334Z] Checking out Revision 5397720329dfa708889ef13c304dab8b0e066c86 (PR-125) [2022-10-28T02:15:00.310Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-28T02:15:00.343Z] > git config core.sparsecheckout # timeout=10 [2022-10-28T02:15:00.362Z] > git checkout -f 5397720329dfa708889ef13c304dab8b0e066c86 # timeout=10 [2022-10-28T02:15:03.884Z] Commit message: "Merge commit '8e26798799e0d9344b61f434dca15061827fa01a' into HEAD" [2022-10-28T02:15:03.909Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-28T02:15:03.892Z] > git rev-list --no-walk a1884aa380dc7cacafcd2041f9d7dae49b60929b # timeout=10 [2022-10-28T02:15:04.772Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-28T02:15:04.772Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-28T02:15:04.772Z] Dload Upload Total Spent Left Speed [2022-10-28T02:15:04.772Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2022-10-28T02:15:05.494Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-28T02:15:05.826Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-28T02:15:05.826Z] + sudo tee /etc/docker/daemon.new [2022-10-28T02:15:05.826Z] { [2022-10-28T02:15:05.826Z] "registry-mirrors": [ [2022-10-28T02:15:05.826Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-28T02:15:05.826Z] ], [2022-10-28T02:15:05.826Z] "bip": "10.250.0.254/24", [2022-10-28T02:15:05.826Z] "hosts": [ [2022-10-28T02:15:05.826Z] "tcp://0.0.0.0:5555", [2022-10-28T02:15:05.826Z] "unix:///var/run/docker.sock" [2022-10-28T02:15:05.826Z] ], [2022-10-28T02:15:05.826Z] "mtu": 1458, [2022-10-28T02:15:05.826Z] "selinux-enabled": true, [2022-10-28T02:15:05.826Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-28T02:15:05.826Z] } [Pipeline] sh [2022-10-28T02:15:06.172Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-28T02:15:06.519Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-28T02:15:24.831Z] provisioning config files... [2022-10-28T02:15:24.858Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/26@tmp/config8782747901103797656tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:15:25.216Z] ---> docker-login.sh [2022-10-28T02:15:25.216Z] nexus3.edgexfoundry.org:10001 [2022-10-28T02:15:25.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:15:25.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:15:25.808Z] Configure a credential helper to remove this warning. See [2022-10-28T02:15:25.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:15:25.808Z] [2022-10-28T02:15:25.808Z] Login Succeeded [2022-10-28T02:15:25.808Z] nexus3.edgexfoundry.org:10002 [2022-10-28T02:15:26.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:15:26.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:15:26.355Z] Configure a credential helper to remove this warning. See [2022-10-28T02:15:26.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:15:26.355Z] [2022-10-28T02:15:26.355Z] Login Succeeded [2022-10-28T02:15:26.355Z] nexus3.edgexfoundry.org:10003 [2022-10-28T02:15:26.629Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:15:26.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:15:26.629Z] Configure a credential helper to remove this warning. See [2022-10-28T02:15:26.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:15:26.629Z] [2022-10-28T02:15:26.629Z] Login Succeeded [2022-10-28T02:15:26.629Z] nexus3.edgexfoundry.org:10004 [2022-10-28T02:15:26.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:15:27.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:15:27.177Z] Configure a credential helper to remove this warning. See [2022-10-28T02:15:27.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:15:27.177Z] [2022-10-28T02:15:27.177Z] Login Succeeded [2022-10-28T02:15:27.177Z] docker.io [2022-10-28T02:15:27.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-28T02:15:27.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-28T02:15:27.718Z] Configure a credential helper to remove this warning. See [2022-10-28T02:15:27.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-28T02:15:27.718Z] [2022-10-28T02:15:27.718Z] Login Succeeded [2022-10-28T02:15:27.718Z] ---> docker-login.sh ends [Pipeline] } [2022-10-28T02:15:27.732Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-28T02:15:27.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-28T02:15:27.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-28T02:15:27.931Z] ========================================================= [2022-10-28T02:15:27.931Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-28T02:15:27.931Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:15:28.287Z] + 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-28T02:15:28.885Z] Sending build context to Docker daemon 20.47MB [2022-10-28T02:15:28.885Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-28T02:15:28.885Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-28T02:15:29.155Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-28T02:15:29.155Z] 9b18e9b68314: Pulling fs layer [2022-10-28T02:15:29.155Z] d32db5db7311: Pulling fs layer [2022-10-28T02:15:29.155Z] d0c4b47475fc: Pulling fs layer [2022-10-28T02:15:29.155Z] 5831b945b038: Pulling fs layer [2022-10-28T02:15:29.155Z] 86bbec2aaacd: Pulling fs layer [2022-10-28T02:15:29.155Z] e10730c5d714: Pulling fs layer [2022-10-28T02:15:29.155Z] 5dd5c2283517: Pulling fs layer [2022-10-28T02:15:29.155Z] 5831b945b038: Waiting [2022-10-28T02:15:29.155Z] 86bbec2aaacd: Waiting [2022-10-28T02:15:29.155Z] e10730c5d714: Waiting [2022-10-28T02:15:29.155Z] d5ac0230b979: Pulling fs layer [2022-10-28T02:15:29.155Z] d5ac0230b979: Waiting [2022-10-28T02:15:29.155Z] 5dd5c2283517: Waiting [2022-10-28T02:15:29.155Z] d0c4b47475fc: Download complete [2022-10-28T02:15:29.155Z] d32db5db7311: Verifying Checksum [2022-10-28T02:15:29.155Z] d32db5db7311: Download complete [2022-10-28T02:15:29.155Z] 86bbec2aaacd: Verifying Checksum [2022-10-28T02:15:29.155Z] 86bbec2aaacd: Download complete [2022-10-28T02:15:29.155Z] e10730c5d714: Verifying Checksum [2022-10-28T02:15:29.155Z] e10730c5d714: Download complete [2022-10-28T02:15:29.155Z] 9b18e9b68314: Download complete [2022-10-28T02:15:30.147Z] 9b18e9b68314: Pull complete [2022-10-28T02:15:30.419Z] d5ac0230b979: Verifying Checksum [2022-10-28T02:15:30.419Z] d5ac0230b979: Download complete [2022-10-28T02:15:30.691Z] d32db5db7311: Pull complete [2022-10-28T02:15:30.967Z] d0c4b47475fc: Pull complete [2022-10-28T02:15:31.559Z] 5dd5c2283517: Verifying Checksum [2022-10-28T02:15:31.559Z] 5dd5c2283517: Download complete [2022-10-28T02:15:32.532Z] 5831b945b038: Verifying Checksum [2022-10-28T02:15:32.532Z] 5831b945b038: Download complete [2022-10-28T02:15:44.893Z] 5831b945b038: Pull complete [2022-10-28T02:15:44.893Z] 86bbec2aaacd: Pull complete [2022-10-28T02:15:44.893Z] e10730c5d714: Pull complete [2022-10-28T02:15:51.549Z] 5dd5c2283517: Pull complete [2022-10-28T02:15:53.510Z] d5ac0230b979: Pull complete [2022-10-28T02:15:53.510Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-28T02:15:53.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-28T02:15:53.510Z] ---> 59b3b1a385d4 [2022-10-28T02:15:53.510Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-28T02:15:55.476Z] ---> Running in 5722f33ce162 [2022-10-28T02:15:56.073Z] Removing intermediate container 5722f33ce162 [2022-10-28T02:15:56.073Z] ---> 62dee21a85b8 [2022-10-28T02:15:56.073Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-28T02:15:56.073Z] ---> Running in 3fa92e862c41 [2022-10-28T02:15:56.343Z] Removing intermediate container 3fa92e862c41 [2022-10-28T02:15:56.343Z] ---> 9943334ae383 [2022-10-28T02:15:56.343Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-28T02:15:56.343Z] ---> Running in 8a5339c7306c [2022-10-28T02:15:56.613Z] Removing intermediate container 8a5339c7306c [2022-10-28T02:15:56.613Z] ---> a769054651cf [2022-10-28T02:15:56.613Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-28T02:15:56.883Z] ---> Running in 9bf6c54c5a3c [2022-10-28T02:15:57.153Z] Removing intermediate container 9bf6c54c5a3c [2022-10-28T02:15:57.153Z] ---> 57c750a43fa4 [2022-10-28T02:15:57.153Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-10-28T02:15:57.153Z] ---> Running in f24dce96ca4d [2022-10-28T02:15:57.751Z] Removing intermediate container f24dce96ca4d [2022-10-28T02:15:57.751Z] ---> 42fcb0a9ac83 [2022-10-28T02:15:57.751Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-28T02:15:57.751Z] ---> Running in e4981a0748e8 [2022-10-28T02:15:59.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-28T02:15:59.171Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-28T02:16:00.587Z] OK: 221 MiB in 51 packages [2022-10-28T02:16:01.177Z] Removing intermediate container e4981a0748e8 [2022-10-28T02:16:01.177Z] ---> d3a330015dee [2022-10-28T02:16:01.177Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-10-28T02:16:01.447Z] ---> Running in eb44163beee0 [2022-10-28T02:16:01.717Z] Removing intermediate container eb44163beee0 [2022-10-28T02:16:01.717Z] ---> db26c39e41f1 [2022-10-28T02:16:01.717Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-28T02:16:02.304Z] ---> d61e6b0044bd [2022-10-28T02:16:02.304Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-28T02:16:02.304Z] ---> Running in 43ef8d3fb50b [2022-10-28T02:16:58.761Z] Removing intermediate container 43ef8d3fb50b [2022-10-28T02:16:58.761Z] ---> 134d3d64243a [2022-10-28T02:16:58.761Z] Step 12/13 : COPY . . [2022-10-28T02:17:00.178Z] ---> 2f7c83af3cd9 [2022-10-28T02:17:00.178Z] Step 13/13 : RUN ${MAKE} [2022-10-28T02:17:00.178Z] ---> Running in e827334eaf1c [2022-10-28T02:17:01.145Z] noop [2022-10-28T02:17:01.730Z] Removing intermediate container e827334eaf1c [2022-10-28T02:17:01.731Z] ---> 53372cd4f9cd [2022-10-28T02:17:01.731Z] Successfully built 53372cd4f9cd [2022-10-28T02:17:01.731Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:17:02.081Z] + docker inspect -f . ci-base-image-arm64 [2022-10-28T02:17:02.081Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:17:02.274Z] prd-ubuntu20.04-docker-arm64-4c-16g-117501 does not seem to be running inside a container [2022-10-28T02:17:02.348Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/26 -v /w/workspace/device-onvif-camera/26:/w/workspace/device-onvif-camera/26:rw,z -v /w/workspace/device-onvif-camera/26@tmp:/w/workspace/device-onvif-camera/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-28T02:17:03.578Z] $ docker top e2a2f9cc0545b5942e2ea219a3de55f696ca17a5a65c172762c62fd87c57ffe4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-28T02:17:04.447Z] + go version [2022-10-28T02:17:04.447Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-28T02:17:04.467Z] $ docker stop --time=1 e2a2f9cc0545b5942e2ea219a3de55f696ca17a5a65c172762c62fd87c57ffe4 [2022-10-28T02:17:06.088Z] $ docker rm -f e2a2f9cc0545b5942e2ea219a3de55f696ca17a5a65c172762c62fd87c57ffe4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:17:06.645Z] + docker inspect -f . ci-base-image-arm64 [2022-10-28T02:17:06.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:17:06.849Z] prd-ubuntu20.04-docker-arm64-4c-16g-117501 does not seem to be running inside a container [2022-10-28T02:17:06.928Z] $ 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/26 -v /w/workspace/device-onvif-camera/26:/w/workspace/device-onvif-camera/26:rw,z -v /w/workspace/device-onvif-camera/26@tmp:/w/workspace/device-onvif-camera/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-28T02:17:08.239Z] $ docker top bbba3068fe58a00b9e48084790ae523927ee54225be008e4902e9fcd74c8524d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-28T02:17:09.098Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/26 [Pipeline] fileExists [Pipeline] sh [2022-10-28T02:17:09.440Z] + make test [2022-10-28T02:17:09.709Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-28T02:17:11.656Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-28T02:19:03.340Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-28T02:19:06.748Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.246s coverage: 29.3% of statements [2022-10-28T02:19:06.748Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-28T02:19:21.762Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.135s coverage: 86.5% of statements [2022-10-28T02:19:21.762Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-28T02:19:21.762Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-28T02:19:54.031Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-28T02:19:54.031Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-28T02:19:54.298Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-28T02:19:54.585Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-28T02:19:54.599Z] $ docker stop --time=1 bbba3068fe58a00b9e48084790ae523927ee54225be008e4902e9fcd74c8524d [2022-10-28T02:19:56.556Z] $ docker rm -f bbba3068fe58a00b9e48084790ae523927ee54225be008e4902e9fcd74c8524d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-28T02:19:57.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-28T02:19:57.724Z] Warning: overwriting stash ‘coverage-report’ [2022-10-28T02:19:58.459Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-28T02:19:58.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-28T02:19:59.201Z] + ls -al . [2022-10-28T02:19:59.201Z] total 240 [2022-10-28T02:19:59.201Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 28 02:17 . [2022-10-28T02:19:59.201Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:14 .. [2022-10-28T02:19:59.201Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 02:15 .git [2022-10-28T02:19:59.201Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:14 .github [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 28 02:14 .gitignore [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 28 02:14 .golangci.yml [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 28 02:14 Attribution.txt [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 28 02:14 CHANGELOG.md [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 1710 Oct 28 02:14 Dockerfile [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 02:14 GOVERNANCE.md [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 28 02:14 Jenkinsfile [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 28 02:14 LICENSE [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 28 02:14 Makefile [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 28 02:14 OWNERS.md [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 28 02:14 README.md [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 02:11 VERSION [2022-10-28T02:19:59.201Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 02:14 bin [2022-10-28T02:19:59.201Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 02:14 cmd [2022-10-28T02:19:59.201Z] -rw-r--r-- 1 jenkins jenkins 79184 Oct 28 02:19 coverage.out [2022-10-28T02:19:59.201Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 28 02:14 doc [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 3736 Oct 28 02:14 go.mod [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 46203 Oct 28 02:14 go.sum [2022-10-28T02:19:59.201Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:14 internal [2022-10-28T02:19:59.201Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 02:14 snap [2022-10-28T02:19:59.201Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 28 02:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:19:59.543Z] + 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=5397720329dfa708889ef13c304dab8b0e066c86 --label arch=arm64 --label version=0.0.0 . [2022-10-28T02:20:01.505Z] Sending build context to Docker daemon 20.55MB [2022-10-28T02:20:01.505Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-28T02:20:01.505Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-28T02:20:01.505Z] ---> 53372cd4f9cd [2022-10-28T02:20:01.505Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-28T02:20:01.505Z] ---> Running in a51d61f89dd7 [2022-10-28T02:20:02.090Z] Removing intermediate container a51d61f89dd7 [2022-10-28T02:20:02.090Z] ---> 740de7f9c3b3 [2022-10-28T02:20:02.090Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-28T02:20:02.356Z] ---> Running in d4387d421192 [2022-10-28T02:20:02.940Z] Removing intermediate container d4387d421192 [2022-10-28T02:20:02.940Z] ---> 052f866c1523 [2022-10-28T02:20:02.940Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-28T02:20:02.940Z] ---> Running in b71f12fb2793 [2022-10-28T02:20:03.547Z] Removing intermediate container b71f12fb2793 [2022-10-28T02:20:03.547Z] ---> f6fa6c4bf595 [2022-10-28T02:20:03.547Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-28T02:20:03.547Z] ---> Running in bce6b172f41b [2022-10-28T02:20:04.143Z] Removing intermediate container bce6b172f41b [2022-10-28T02:20:04.143Z] ---> 2dc3b3c4c5fa [2022-10-28T02:20:04.143Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-28T02:20:04.143Z] ---> Running in b32e6565749b [2022-10-28T02:20:04.738Z] Removing intermediate container b32e6565749b [2022-10-28T02:20:04.738Z] ---> 9f4bedea8399 [2022-10-28T02:20:04.738Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-28T02:20:04.738Z] ---> Running in 8101f61e7963 [2022-10-28T02:20:07.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-28T02:20:07.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-28T02:20:09.033Z] OK: 221 MiB in 51 packages [2022-10-28T02:20:10.039Z] Removing intermediate container 8101f61e7963 [2022-10-28T02:20:10.039Z] ---> b23be8f6addd [2022-10-28T02:20:10.039Z] Step 9/27 : WORKDIR /device-onvif-camera [2022-10-28T02:20:10.039Z] ---> Running in f1cc2d7960d8 [2022-10-28T02:20:10.625Z] Removing intermediate container f1cc2d7960d8 [2022-10-28T02:20:10.625Z] ---> 3b9bdbcdfb64 [2022-10-28T02:20:10.625Z] Step 10/27 : COPY go.mod vendor* ./ [2022-10-28T02:20:11.225Z] ---> d1ba7d5d16c5 [2022-10-28T02:20:11.225Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-28T02:20:11.225Z] ---> Running in d42e790746cc [2022-10-28T02:20:13.826Z] Removing intermediate container d42e790746cc [2022-10-28T02:20:13.826Z] ---> bdeaa78fd7d2 [2022-10-28T02:20:13.826Z] Step 12/27 : COPY . . [2022-10-28T02:20:15.776Z] ---> 2bcfb217a8a6 [2022-10-28T02:20:15.776Z] Step 13/27 : RUN ${MAKE} [2022-10-28T02:20:15.776Z] ---> Running in 939309d3f07a [2022-10-28T02:20:17.198Z] 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.49" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-28T02:22:53.922Z] Removing intermediate container 939309d3f07a [2022-10-28T02:22:53.922Z] ---> 45d0e838a9da [2022-10-28T02:22:53.922Z] Step 14/27 : FROM alpine:3.16 [2022-10-28T02:22:53.922Z] 3.16: Pulling from library/alpine [2022-10-28T02:22:53.922Z] 9b18e9b68314: Already exists [2022-10-28T02:22:53.922Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-28T02:22:53.922Z] Status: Downloaded newer image for alpine:3.16 [2022-10-28T02:22:53.922Z] ---> a6215f271958 [2022-10-28T02:22:53.923Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-28T02:22:53.923Z] ---> Running in 480d41628563 [2022-10-28T02:22:54.188Z] Removing intermediate container 480d41628563 [2022-10-28T02:22:54.188Z] ---> 43d9013c1a87 [2022-10-28T02:22:54.188Z] Step 16/27 : RUN apk add --update --no-cache zeromq dumb-init bash newt curl jq [2022-10-28T02:22:54.457Z] ---> Running in 62245f5528a9 [2022-10-28T02:22:55.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-28T02:22:55.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-28T02:22:56.647Z] (1/21) Installing ncurses-terminfo-base (6.3_p20220521-r0) [2022-10-28T02:22:56.647Z] (2/21) Installing ncurses-libs (6.3_p20220521-r0) [2022-10-28T02:22:56.647Z] (3/21) Installing readline (8.1.2-r0) [2022-10-28T02:22:56.647Z] (4/21) Installing bash (5.1.16-r2) [2022-10-28T02:22:56.647Z] Executing bash-5.1.16-r2.post-install [2022-10-28T02:22:56.647Z] (5/21) Installing ca-certificates (20220614-r0) [2022-10-28T02:22:56.914Z] (6/21) Installing brotli-libs (1.0.9-r6) [2022-10-28T02:22:56.914Z] (7/21) Installing nghttp2-libs (1.47.0-r0) [2022-10-28T02:22:56.914Z] (8/21) Installing libcurl (7.83.1-r4) [2022-10-28T02:22:56.914Z] (9/21) Installing curl (7.83.1-r4) [2022-10-28T02:22:56.914Z] (10/21) Installing dumb-init (1.2.5-r1) [2022-10-28T02:22:56.914Z] (11/21) Installing oniguruma (6.9.8-r0) [2022-10-28T02:22:56.914Z] (12/21) Installing jq (1.6-r1) [2022-10-28T02:22:56.914Z] (13/21) Installing popt (1.18-r0) [2022-10-28T02:22:56.914Z] (14/21) Installing pcre (8.45-r2) [2022-10-28T02:22:56.914Z] (15/21) Installing slang (2.3.2-r0) [2022-10-28T02:22:57.181Z] (16/21) Installing newt (0.52.21-r2) [2022-10-28T02:22:57.181Z] (17/21) Installing libgcc (11.2.1_git20220219-r2) [2022-10-28T02:22:57.181Z] (18/21) Installing libsodium (1.0.18-r0) [2022-10-28T02:22:57.181Z] (19/21) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-28T02:22:57.181Z] (20/21) Installing libzmq (4.3.4-r0) [2022-10-28T02:22:57.181Z] (21/21) Installing zeromq (4.3.4-r0) [2022-10-28T02:22:57.181Z] Executing busybox-1.35.0-r17.trigger [2022-10-28T02:22:57.181Z] Executing ca-certificates-20220614-r0.trigger [2022-10-28T02:22:57.448Z] OK: 16 MiB in 35 packages [2022-10-28T02:22:59.405Z] Removing intermediate container 62245f5528a9 [2022-10-28T02:22:59.405Z] ---> 5625ac296ec5 [2022-10-28T02:22:59.405Z] Step 17/27 : WORKDIR / [2022-10-28T02:22:59.405Z] ---> Running in c20351cb4dc5 [2022-10-28T02:22:59.675Z] Removing intermediate container c20351cb4dc5 [2022-10-28T02:22:59.675Z] ---> 9261527ca499 [2022-10-28T02:22:59.675Z] Step 18/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-28T02:23:01.089Z] ---> 990a3560b17f [2022-10-28T02:23:01.089Z] Step 19/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-28T02:23:01.671Z] ---> 28dc615612bb [2022-10-28T02:23:01.671Z] Step 20/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-28T02:23:02.261Z] ---> 7e1a9ba87254 [2022-10-28T02:23:02.261Z] Step 21/27 : COPY --from=builder /device-onvif-camera/bin /scripts/ [2022-10-28T02:23:02.531Z] ---> 27f58f421a48 [2022-10-28T02:23:02.531Z] Step 22/27 : EXPOSE 59984 [2022-10-28T02:23:02.802Z] ---> Running in 1aa4fb3b3d24 [2022-10-28T02:23:03.070Z] Removing intermediate container 1aa4fb3b3d24 [2022-10-28T02:23:03.070Z] ---> bc396fca2ee6 [2022-10-28T02:23:03.070Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-28T02:23:03.070Z] ---> Running in 605847122b9c [2022-10-28T02:23:03.338Z] Removing intermediate container 605847122b9c [2022-10-28T02:23:03.338Z] ---> 7430c301bc39 [2022-10-28T02:23:03.338Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-28T02:23:03.338Z] ---> Running in 8b79e6d257aa [2022-10-28T02:23:03.609Z] Removing intermediate container 8b79e6d257aa [2022-10-28T02:23:03.609Z] ---> 36999edac223 [2022-10-28T02:23:03.609Z] Step 25/27 : LABEL arch=arm64 [2022-10-28T02:23:03.877Z] ---> Running in e80020222adf [2022-10-28T02:23:04.463Z] Removing intermediate container e80020222adf [2022-10-28T02:23:04.463Z] ---> 735f60587b90 [2022-10-28T02:23:04.463Z] Step 26/27 : LABEL git_sha=5397720329dfa708889ef13c304dab8b0e066c86 [2022-10-28T02:23:04.463Z] ---> Running in 6f0fff20a21a [2022-10-28T02:23:04.732Z] Removing intermediate container 6f0fff20a21a [2022-10-28T02:23:04.732Z] ---> a3c596b1552f [2022-10-28T02:23:04.732Z] Step 27/27 : LABEL version=0.0.0 [2022-10-28T02:23:04.732Z] ---> Running in 4acf7847e209 [2022-10-28T02:23:04.998Z] Removing intermediate container 4acf7847e209 [2022-10-28T02:23:04.998Z] ---> 803e2799a65c [2022-10-28T02:23:04.999Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-28T02:23:04.999Z] Successfully built 803e2799a65c [2022-10-28T02:23:04.999Z] 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-28T02:23:05.443Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-28T02:23:05.443Z] [2022-10-28T02:23:05.443Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:23:05.778Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-28T02:23:05.778Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-28T02:23:05.778Z] 8998bd30e6a1: Pulling fs layer [2022-10-28T02:23:05.778Z] 04944245beec: Pulling fs layer [2022-10-28T02:23:05.778Z] 699f458cf7ca: Pulling fs layer [2022-10-28T02:23:05.778Z] 765212b225bb: Pulling fs layer [2022-10-28T02:23:05.778Z] f23df028b6ca: Pulling fs layer [2022-10-28T02:23:05.778Z] d65c8cfc05b1: Pulling fs layer [2022-10-28T02:23:05.778Z] 2437ff75d9bd: Pulling fs layer [2022-10-28T02:23:05.778Z] d65c8cfc05b1: Waiting [2022-10-28T02:23:05.778Z] 765212b225bb: Waiting [2022-10-28T02:23:05.778Z] f23df028b6ca: Waiting [2022-10-28T02:23:05.778Z] 2437ff75d9bd: Waiting [2022-10-28T02:23:06.051Z] 04944245beec: Verifying Checksum [2022-10-28T02:23:06.051Z] 04944245beec: Download complete [2022-10-28T02:23:06.051Z] 765212b225bb: Verifying Checksum [2022-10-28T02:23:06.051Z] 765212b225bb: Download complete [2022-10-28T02:23:06.051Z] f23df028b6ca: Verifying Checksum [2022-10-28T02:23:06.051Z] f23df028b6ca: Download complete [2022-10-28T02:23:06.051Z] d65c8cfc05b1: Verifying Checksum [2022-10-28T02:23:06.051Z] d65c8cfc05b1: Download complete [2022-10-28T02:23:06.334Z] 699f458cf7ca: Verifying Checksum [2022-10-28T02:23:06.334Z] 699f458cf7ca: Download complete [2022-10-28T02:23:06.605Z] 8998bd30e6a1: Verifying Checksum [2022-10-28T02:23:06.605Z] 8998bd30e6a1: Download complete [2022-10-28T02:23:09.190Z] 2437ff75d9bd: Verifying Checksum [2022-10-28T02:23:09.190Z] 2437ff75d9bd: Download complete [2022-10-28T02:23:10.595Z] 8998bd30e6a1: Pull complete [2022-10-28T02:23:11.181Z] 04944245beec: Pull complete [2022-10-28T02:23:12.593Z] 699f458cf7ca: Pull complete [2022-10-28T02:23:12.864Z] 765212b225bb: Pull complete [2022-10-28T02:23:13.451Z] f23df028b6ca: Pull complete [2022-10-28T02:23:13.722Z] d65c8cfc05b1: Pull complete [2022-10-28T02:23:28.733Z] 2437ff75d9bd: Pull complete [2022-10-28T02:23:28.733Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-28T02:23:28.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-28T02:23:28.733Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:23:28.931Z] prd-ubuntu20.04-docker-arm64-4c-16g-117501 does not seem to be running inside a container [2022-10-28T02:23:28.996Z] $ 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/26 -v /w/workspace/device-onvif-camera/26:/w/workspace/device-onvif-camera/26:rw,z -v /w/workspace/device-onvif-camera/26@tmp:/w/workspace/device-onvif-camera/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-28T02:23:31.618Z] $ docker top 56e81a1110d8d543c96beb9e04ab5d49446167f523cc1b73b0eb5ca3e0312c55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:32.129Z] ---> job-cost.sh [2022-10-28T02:23:32.395Z] lf-activate-venv: SKIPPING [2022-10-28T02:23:32.395Z] INFO: No Stack... [2022-10-28T02:23:32.977Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-28T02:23:33.560Z] INFO: Archiving Costs [Pipeline] sh [2022-10-28T02:23:33.878Z] + + cutcat -d, /w/workspace/device-onvif-camera/26/archives/cost.csv -f6 [2022-10-28T02:23:33.879Z] [Pipeline] lock [2022-10-28T02:23:34.210Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-125-26-stack-cost] [2022-10-28T02:23:34.217Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-26-stack-cost] did not exist. Created. [2022-10-28T02:23:34.217Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-125-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-28T02:23:34.564Z] /w/workspace/device-onvif-camera/26@tmp/durable-fcf86cbe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-28T02:23:35.221Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-28T02:23:35.242Z] Warning: overwriting stash ‘stack-cost’ [2022-10-28T02:23:35.299Z] Stashed 1 file(s) [Pipeline] } [2022-10-28T02:23:35.313Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-125-26-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-28T02:23:35.329Z] $ docker stop --time=1 56e81a1110d8d543c96beb9e04ab5d49446167f523cc1b73b0eb5ca3e0312c55 [2022-10-28T02:23:36.841Z] $ docker rm -f 56e81a1110d8d543c96beb9e04ab5d49446167f523cc1b73b0eb5ca3e0312c55 [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-28T02:23:37.209Z] provisioning config files... [2022-10-28T02:23:37.218Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config4330229088071319553tmp [Pipeline] { [Pipeline] sh [2022-10-28T02:23:37.503Z] + set +x [2022-10-28T02:23:37.503Z] + bash -s -- [2022-10-28T02:23:37.503Z] + curl -s https://codecov.io/bash [2022-10-28T02:23:37.503Z] [2022-10-28T02:23:37.503Z] _____ _ [2022-10-28T02:23:37.503Z] / ____| | | [2022-10-28T02:23:37.503Z] | | ___ __| | ___ ___ _____ __ [2022-10-28T02:23:37.503Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-28T02:23:37.503Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-28T02:23:37.503Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-28T02:23:37.503Z] Bash-1.0.6 [2022-10-28T02:23:37.503Z] [2022-10-28T02:23:37.503Z] [2022-10-28T02:23:37.503Z] ==> git version 2.25.1 found [2022-10-28T02:23:37.503Z] ==> 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-28T02:23:37.503Z] Release-Date: 2020-01-08 [2022-10-28T02:23:37.503Z] 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-28T02:23:37.503Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-28T02:23:37.503Z] ==> Jenkins CI detected. [2022-10-28T02:23:37.503Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-125 [2022-10-28T02:23:37.503Z] project root: . [2022-10-28T02:23:37.503Z] --> token set from env [2022-10-28T02:23:37.503Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-28T02:23:37.503Z] ==> Running gcov in . (disable via -X gcov) [2022-10-28T02:23:37.503Z] ==> Python coveragepy not found [2022-10-28T02:23:37.503Z] ==> Searching for coverage reports in: [2022-10-28T02:23:37.503Z] + . [2022-10-28T02:23:37.503Z] -> Found 1 reports [2022-10-28T02:23:37.503Z] ==> Detecting git/mercurial file structure [2022-10-28T02:23:37.503Z] ==> Reading reports [2022-10-28T02:23:37.503Z] + ./coverage.out bytes=79184 [2022-10-28T02:23:37.503Z] ==> Appending adjustments [2022-10-28T02:23:37.503Z] https://docs.codecov.io/docs/fixing-reports [2022-10-28T02:23:37.762Z] + Found adjustments [2022-10-28T02:23:37.762Z] ==> Gzipping contents [2022-10-28T02:23:37.762Z] 12K /tmp/codecov.M7icpY.gz [2022-10-28T02:23:37.762Z] ==> Uploading reports [2022-10-28T02:23:37.762Z] url: https://codecov.io [2022-10-28T02:23:37.762Z] query: branch=PR-125&commit=e0be2e9b76a05345fb81fe73d19f9ba090e55e87&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-28T02:23:37.762Z] -> Pinging Codecov [2022-10-28T02:23:37.762Z] 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=e0be2e9b76a05345fb81fe73d19f9ba090e55e87&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-125%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=125&job=&cmd_args= [2022-10-28T02:23:38.019Z] -> Uploading to [2022-10-28T02:23:38.019Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-28/F29A59C45E3A92E06B3E522C9905F8EF/e0be2e9b76a05345fb81fe73d19f9ba090e55e87/754d5d35-ad78-4e45-aab4-cf3b59900023.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221028%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221028T022337Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ca2e96fd43e732afcd10801d49827dcd2d5271ac3774417e25fb8df1c5779700 [2022-10-28T02:23:38.019Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-28T02:23:38.019Z] Dload Upload Total Spent Left Speed [2022-10-28T02:23:38.278Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10859 0 0 100 10859 0 42584 --:--:-- --:--:-- --:--:-- 42584 [2022-10-28T02:23:38.278Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/e0be2e9b76a05345fb81fe73d19f9ba090e55e87 [Pipeline] } [2022-10-28T02:23:38.286Z] 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-28T02:23:38.988Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-125/archives ] [2022-10-28T02:23:38.988Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-28T02:23:38.988Z] total 16 [2022-10-28T02:23:38.988Z] drwxr-xr-x 3 root root 4096 Oct 28 02:13 . [2022-10-28T02:23:38.988Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 28 02:13 .. [2022-10-28T02:23:38.988Z] drwxr-xr-x 2 root root 4096 Oct 28 02:13 cost [2022-10-28T02:23:38.988Z] -rw-r--r-- 1 root root 92 Oct 28 02:13 cost.csv [2022-10-28T02:23:38.988Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-28T02:23:38.988Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-125/archives [2022-10-28T02:23:38.988Z] total 16 [2022-10-28T02:23:38.988Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 28 02:13 . [2022-10-28T02:23:38.988Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 28 02:13 .. [2022-10-28T02:23:38.988Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 28 02:13 cost [2022-10-28T02:23:38.988Z] -rw-r--r-- 1 jenkins jenkins 92 Oct 28 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:39.280Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:40.143Z] ---> package-listing.sh [2022-10-28T02:23:40.143Z] ++ facter osfamily [2022-10-28T02:23:40.143Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-28T02:23:40.402Z] + OS_FAMILY=debian [2022-10-28T02:23:40.402Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-125 [2022-10-28T02:23:40.402Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-28T02:23:40.402Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-28T02:23:40.402Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-28T02:23:40.402Z] + PACKAGES=/tmp/packages_start.txt [2022-10-28T02:23:40.403Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-28T02:23:40.403Z] + PACKAGES=/tmp/packages_end.txt [2022-10-28T02:23:40.403Z] + case "${OS_FAMILY}" in [2022-10-28T02:23:40.403Z] + dpkg -l [2022-10-28T02:23:40.403Z] + grep '^ii' [2022-10-28T02:23:40.403Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-28T02:23:40.403Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-28T02:23:40.403Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-28T02:23:40.403Z] + '[' /w/workspace/undry_device-onvif-camera_PR-125 ']' [2022-10-28T02:23:40.403Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-125/archives/ [2022-10-28T02:23:40.403Z] + 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-28T02:23:40.414Z] 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-28T02:23:40.694Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-28T02:23:41.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-28T02:23:41.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-28T02:23:41.321Z] prd-ubuntu20.04-docker-8c-8g-117498 does not seem to be running inside a container [2022-10-28T02:23:41.351Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-125/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-125 -v /w/workspace/undry_device-onvif-camera_PR-125:/w/workspace/undry_device-onvif-camera_PR-125:rw,z -v /w/workspace/undry_device-onvif-camera_PR-125@tmp:/w/workspace/undry_device-onvif-camera_PR-125@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-28T02:23:41.550Z] $ docker top 4370f40fa1ebafe4166955dad54a0580d43e12606c48e8fdddfecf987d114f3a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-28T02:23:41.889Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-28T02:23:42.176Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-28T02:23:42.459Z] + ls /var/log/sa-host [2022-10-28T02:23:42.460Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-28T02:23:42.532Z] provisioning config files... [2022-10-28T02:23:42.541Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-125@tmp/config11356035034819617935tmp [Pipeline] { [Pipeline] echo [2022-10-28T02:23:42.556Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:42.838Z] ---> create-netrc.sh [Pipeline] } [2022-10-28T02:23:42.845Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:43.171Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-28T02:23:43.178Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:43.459Z] ---> sudo-logs.sh [2022-10-28T02:23:43.459Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-28T02:23:43.485Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:43.773Z] ---> job-cost.sh [2022-10-28T02:23:43.773Z] lf-activate-venv: SKIPPING [2022-10-28T02:23:43.773Z] DEBUG: total: 0.2199999988079071 [2022-10-28T02:23:43.773Z] INFO: Retrieving Stack Cost... [2022-10-28T02:23:44.341Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-28T02:23:44.602Z] INFO: Archiving Costs [Pipeline] echo [2022-10-28T02:23:44.615Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-28T02:23:44.895Z] ---> logs-deploy.sh [2022-10-28T02:23:44.895Z] lf-activate-venv: SKIPPING [2022-10-28T02:23:44.895Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-125/26 [2022-10-28T02:23:44.895Z] INFO: archiving workspace using pattern(s): [2022-10-28T02:23:45.834Z] Archives upload complete. [2022-10-28T02:23:45.834Z] INFO: archiving logs to Nexus