Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 659f5a409730c1aa6059f10a7d2527ba47038078+85f19cd4395ab38c9fed3c9acaecd010dfd8799e (2c11fff1bb936938e3b5509193ede74b02bc7e5d) 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-ssh10443082630242160108.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11880894676465857660.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/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-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16566018841194171517.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11044437205470819858.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-185/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-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10247175360840973417.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118561 in /w/workspace/undry_device-onvif-camera_PR-185 [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-185 # 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 85f19cd4395ab38c9fed3c9acaecd010dfd8799e into PR head commit 659f5a409730c1aa6059f10a7d2527ba47038078 Merge succeeded, producing 5667202f3352339af0b8de9d7c90f315fba2c531 Checking out Revision 5667202f3352339af0b8de9d7c90f315fba2c531 (PR-185) > 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/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # 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 85f19cd4395ab38c9fed3c9acaecd010dfd8799e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5667202f3352339af0b8de9d7c90f315fba2c531 # timeout=10 Commit message: "Merge commit '85f19cd4395ab38c9fed3c9acaecd010dfd8799e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-08T02:11:34.746Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T02:11:34.789Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T02:11:34.800Z] ========================================================= [2022-11-08T02:11:34.800Z] EdgeX Global Pipelines Version Info [2022-11-08T02:11:34.800Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk dbf92673fc4463387986473702af6c1d15156dfc # timeout=10 [2022-11-08T02:11:35.893Z] ------------------- [2022-11-08T02:11:35.893Z] stable info: [2022-11-08T02:11:35.894Z] ------------------- [2022-11-08T02:11:35.894Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T02:11:35.894Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T02:11:35.894Z] Message: update stable to v1.0.244 [2022-11-08T02:11:36.155Z] ------------------- [2022-11-08T02:11:36.155Z] experimental info: [2022-11-08T02:11:36.155Z] ------------------- [2022-11-08T02:11:36.155Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T02:11:36.155Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T02:11:36.155Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T02:11:36.345Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-11-08T02:11:36.356Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-11-08T02:11:36.366Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T02:11:36.377Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T02:11:36.388Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T02:11:36.402Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T02:11:36.415Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T02:11:36.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T02:11:36.442Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T02:11:36.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T02:11:36.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T02:11:36.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-11-08T02:11:36.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T02:11:36.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T02:11:36.519Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T02:11:36.531Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T02:11:36.542Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T02:11:36.557Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T02:11:36.570Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T02:11:36.581Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T02:11:36.590Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-08T02:11:36.599Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-11-08T02:11:36.616Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T02:11:36.626Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T02:11:36.636Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T02:11:36.649Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T02:11:36.662Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T02:11:36.674Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2022-11-08T02:11:36.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2022-11-08T02:11:36.703Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2022-11-08T02:11:36.716Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5667202f3352339af0b8de9d7c90f315fba2c531 [Pipeline] echo [2022-11-08T02:11:36.726Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5667202 [Pipeline] echo [2022-11-08T02:11:36.737Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T02:11:36.778Z] provisioning config files... [2022-11-08T02:11:36.793Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config16362381333852138089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:11:37.099Z] ---> docker-login.sh [2022-11-08T02:11:37.099Z] nexus3.edgexfoundry.org:10001 [2022-11-08T02:11:37.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:11:37.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:11:37.359Z] Configure a credential helper to remove this warning. See [2022-11-08T02:11:37.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:11:37.359Z] [2022-11-08T02:11:37.359Z] Login Succeeded [2022-11-08T02:11:37.359Z] nexus3.edgexfoundry.org:10002 [2022-11-08T02:11:37.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:11:37.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:11:37.359Z] Configure a credential helper to remove this warning. See [2022-11-08T02:11:37.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:11:37.359Z] [2022-11-08T02:11:37.359Z] Login Succeeded [2022-11-08T02:11:37.359Z] nexus3.edgexfoundry.org:10003 [2022-11-08T02:11:37.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:11:37.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:11:37.621Z] Configure a credential helper to remove this warning. See [2022-11-08T02:11:37.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:11:37.621Z] [2022-11-08T02:11:37.621Z] Login Succeeded [2022-11-08T02:11:37.621Z] nexus3.edgexfoundry.org:10004 [2022-11-08T02:11:37.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:11:37.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:11:37.621Z] Configure a credential helper to remove this warning. See [2022-11-08T02:11:37.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:11:37.621Z] [2022-11-08T02:11:37.621Z] Login Succeeded [2022-11-08T02:11:37.621Z] docker.io [2022-11-08T02:11:37.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:11:38.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:11:38.191Z] Configure a credential helper to remove this warning. See [2022-11-08T02:11:38.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:11:38.191Z] [2022-11-08T02:11:38.191Z] Login Succeeded [2022-11-08T02:11:38.191Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T02:11:38.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T02:11:38.573Z] + git rev-list -1 --merges 5667202f3352339af0b8de9d7c90f315fba2c531~1..5667202f3352339af0b8de9d7c90f315fba2c531 [Pipeline] echo [2022-11-08T02:11:38.602Z] -----------> git rev-list -1 --merges 5667202f3352339af0b8de9d7c90f315fba2c531~1..5667202f3352339af0b8de9d7c90f315fba2c531 5667202f3352339af0b8de9d7c90f315fba2c531 [2022-11-08T02:11:38.602Z] 5667202f3352339af0b8de9d7c90f315fba2c531 [false] [Pipeline] sh [2022-11-08T02:11:38.891Z] + git log --format=format:%s -1 5667202f3352339af0b8de9d7c90f315fba2c531 [Pipeline] echo [2022-11-08T02:11:38.905Z] ========================================================= [2022-11-08T02:11:38.905Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T02:11:38.905Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T02:11:39.239Z] + git log --format=format:%s -1 5667202f3352339af0b8de9d7c90f315fba2c531 [Pipeline] echo [2022-11-08T02:11:39.249Z] [semverPrep] GIT_COMMIT: 5667202f3352339af0b8de9d7c90f315fba2c531, Commit Message: Merge commit '85f19cd4395ab38c9fed3c9acaecd010dfd8799e' into HEAD [Pipeline] echo [2022-11-08T02:11:39.259Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T02:11:39.604Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T02:11:39.604Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T02:11:39.604Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T02:11:39.604Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T02:11:39.604Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T02:11:39.604Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T02:11:39.604Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:11:39.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T02:11:39.947Z] [2022-11-08T02:11:39.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:11:40.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T02:11:40.246Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T02:11:40.246Z] b85a868b505f: Pulling fs layer [2022-11-08T02:11:40.246Z] e2be974225ed: Pulling fs layer [2022-11-08T02:11:40.246Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T02:11:40.246Z] 988bab9f4d93: Pulling fs layer [2022-11-08T02:11:40.246Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T02:11:40.246Z] eaf3925da568: Pulling fs layer [2022-11-08T02:11:40.246Z] bab4dde63d76: Pulling fs layer [2022-11-08T02:11:40.246Z] bde34c3a00c8: Pulling fs layer [2022-11-08T02:11:40.246Z] b352a97aabf1: Pulling fs layer [2022-11-08T02:11:40.246Z] 4872d77fe225: Pulling fs layer [2022-11-08T02:11:40.246Z] 5851b861e8e6: Pulling fs layer [2022-11-08T02:11:40.246Z] 4872d77fe225: Waiting [2022-11-08T02:11:40.246Z] 5851b861e8e6: Waiting [2022-11-08T02:11:40.246Z] eaf3925da568: Waiting [2022-11-08T02:11:40.246Z] b352a97aabf1: Waiting [2022-11-08T02:11:40.246Z] bde34c3a00c8: Waiting [2022-11-08T02:11:40.246Z] 988bab9f4d93: Waiting [2022-11-08T02:11:40.246Z] 1469e6f7b9e6: Waiting [2022-11-08T02:11:40.246Z] e2be974225ed: Download complete [2022-11-08T02:11:40.246Z] 988bab9f4d93: Verifying Checksum [2022-11-08T02:11:40.246Z] 988bab9f4d93: Download complete [2022-11-08T02:11:40.506Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T02:11:40.506Z] 1469e6f7b9e6: Download complete [2022-11-08T02:11:40.506Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T02:11:40.506Z] 339a4e72a1f5: Download complete [2022-11-08T02:11:40.506Z] eaf3925da568: Verifying Checksum [2022-11-08T02:11:40.506Z] eaf3925da568: Download complete [2022-11-08T02:11:40.506Z] bde34c3a00c8: Verifying Checksum [2022-11-08T02:11:40.506Z] bde34c3a00c8: Download complete [2022-11-08T02:11:40.506Z] b352a97aabf1: Verifying Checksum [2022-11-08T02:11:40.506Z] b352a97aabf1: Download complete [2022-11-08T02:11:40.506Z] 4872d77fe225: Download complete [2022-11-08T02:11:40.506Z] 5851b861e8e6: Verifying Checksum [2022-11-08T02:11:40.506Z] b85a868b505f: Verifying Checksum [2022-11-08T02:11:40.506Z] b85a868b505f: Download complete [2022-11-08T02:11:40.764Z] bab4dde63d76: Verifying Checksum [2022-11-08T02:11:40.764Z] bab4dde63d76: Download complete [2022-11-08T02:11:41.701Z] b85a868b505f: Pull complete [2022-11-08T02:11:41.960Z] e2be974225ed: Pull complete [2022-11-08T02:11:42.255Z] 339a4e72a1f5: Pull complete [2022-11-08T02:11:42.526Z] 988bab9f4d93: Pull complete [2022-11-08T02:11:42.786Z] 1469e6f7b9e6: Pull complete [2022-11-08T02:11:42.786Z] eaf3925da568: Pull complete [2022-11-08T02:11:44.159Z] bab4dde63d76: Pull complete [2022-11-08T02:11:44.417Z] bde34c3a00c8: Pull complete [2022-11-08T02:11:44.417Z] b352a97aabf1: Pull complete [2022-11-08T02:11:44.417Z] 4872d77fe225: Pull complete [2022-11-08T02:11:44.678Z] 5851b861e8e6: Pull complete [2022-11-08T02:11:44.678Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T02:11:44.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T02:11:44.678Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T02:11:44.757Z] prd-ubuntu20.04-docker-8c-8g-118561 does not seem to be running inside a container [2022-11-08T02:11:44.788Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-08T02:11:47.203Z] $ docker top b9bab0d3d1bad59d97dbcc5e7fbad9e835a2405aa9cd69e5c15f7d5906b75d31 -eo pid,comm [2022-11-08T02:11:47.257Z] 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-11-08T02:11:47.257Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T02:11:47.292Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T02:11:47.292Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T02:11:47.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T02:11:47.417Z] $ docker exec b9bab0d3d1bad59d97dbcc5e7fbad9e835a2405aa9cd69e5c15f7d5906b75d31 ssh-agent [2022-11-08T02:11:47.536Z] SSH_AUTH_SOCK=/tmp/ssh-5Fb3Sge6b0fc/agent.32 [2022-11-08T02:11:47.536Z] SSH_AGENT_PID=39 [2022-11-08T02:11:47.542Z] Running ssh-add (command line suppressed) [2022-11-08T02:11:47.646Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_7940598529755118455.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_7940598529755118455.key) [2022-11-08T02:11:47.658Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T02:11:47.943Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T02:11:47.959Z] $ docker exec --env ******** --env ******** b9bab0d3d1bad59d97dbcc5e7fbad9e835a2405aa9cd69e5c15f7d5906b75d31 ssh-agent -k [2022-11-08T02:11:48.064Z] unset SSH_AUTH_SOCK; [2022-11-08T02:11:48.064Z] unset SSH_AGENT_PID; [2022-11-08T02:11:48.064Z] echo Agent pid 39 killed; [2022-11-08T02:11:48.072Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T02:11:48.099Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T02:11:48.100Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T02:11:48.204Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T02:11:48.208Z] $ docker exec b9bab0d3d1bad59d97dbcc5e7fbad9e835a2405aa9cd69e5c15f7d5906b75d31 ssh-agent [2022-11-08T02:11:48.317Z] SSH_AUTH_SOCK=/tmp/ssh-iuGkeLsyhqzw/agent.71 [2022-11-08T02:11:48.317Z] SSH_AGENT_PID=78 [2022-11-08T02:11:48.321Z] Running ssh-add (command line suppressed) [2022-11-08T02:11:48.434Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_9936865461890991258.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_9936865461890991258.key) [2022-11-08T02:11:48.445Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T02:11:48.729Z] + git semver init [2022-11-08T02:11:48.989Z] 2022-11-08 02:11:48,909 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T02:11:48.989Z] 2022-11-08 02:11:48,910 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-185/.semver [2022-11-08T02:11:48.989Z] 2022-11-08 02:11:48,911 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-185/.semver [2022-11-08T02:11:48.989Z] 2022-11-08 02:11:48,911 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-185/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-185, universal_newlines=False, shell=None, istream=None) [2022-11-08T02:11:50.371Z] 2022-11-08 02:11:50,076 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-185/.git/info/exclude [2022-11-08T02:11:50.371Z] 2022-11-08 02:11:50,076 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 with force:False [2022-11-08T02:11:50.371Z] 2022-11-08 02:11:50,077 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 [2022-11-08T02:11:50.371Z] 2022-11-08 02:11:50,080 [execute] INFO git cat-file --batch-check [2022-11-08T02:11:50.371Z] 2022-11-08 02:11:50,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T02:11:50.371Z] 2022-11-08 02:11:50,087 [execute] INFO git cat-file --batch [2022-11-08T02:11:50.371Z] 2022-11-08 02:11:50,087 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T02:11:50.371Z] 2022-11-08 02:11:50,091 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 [2022-11-08T02:11:50.371Z] 0.0.0 [Pipeline] } [2022-11-08T02:11:50.381Z] $ docker exec --env ******** --env ******** b9bab0d3d1bad59d97dbcc5e7fbad9e835a2405aa9cd69e5c15f7d5906b75d31 ssh-agent -k [2022-11-08T02:11:50.481Z] unset SSH_AUTH_SOCK; [2022-11-08T02:11:50.481Z] unset SSH_AGENT_PID; [2022-11-08T02:11:50.482Z] echo Agent pid 78 killed; [2022-11-08T02:11:50.489Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T02:11:50.786Z] + git semver [Pipeline] } [2022-11-08T02:11:51.061Z] $ docker stop --time=1 b9bab0d3d1bad59d97dbcc5e7fbad9e835a2405aa9cd69e5c15f7d5906b75d31 [2022-11-08T02:11:52.361Z] $ docker rm -f b9bab0d3d1bad59d97dbcc5e7fbad9e835a2405aa9cd69e5c15f7d5906b75d31 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T02:11:52.695Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T02:11:52.870Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T02:11:52.873Z] [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-11-08T02:11:53.021Z] provisioning config files... [2022-11-08T02:11:53.030Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config4497284333757526837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:11:53.328Z] ---> docker-login.sh [2022-11-08T02:11:53.328Z] nexus3.edgexfoundry.org:10001 [2022-11-08T02:11:53.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:11:53.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:11:53.328Z] Configure a credential helper to remove this warning. See [2022-11-08T02:11:53.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:11:53.328Z] [2022-11-08T02:11:53.328Z] Login Succeeded [2022-11-08T02:11:53.328Z] nexus3.edgexfoundry.org:10002 [2022-11-08T02:11:53.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:11:53.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:11:53.328Z] Configure a credential helper to remove this warning. See [2022-11-08T02:11:53.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:11:53.328Z] [2022-11-08T02:11:53.328Z] Login Succeeded [2022-11-08T02:11:53.328Z] nexus3.edgexfoundry.org:10003 [2022-11-08T02:11:53.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:11:53.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:11:53.587Z] Configure a credential helper to remove this warning. See [2022-11-08T02:11:53.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:11:53.587Z] [2022-11-08T02:11:53.587Z] Login Succeeded [2022-11-08T02:11:53.587Z] nexus3.edgexfoundry.org:10004 [2022-11-08T02:11:53.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:11:53.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:11:53.587Z] Configure a credential helper to remove this warning. See [2022-11-08T02:11:53.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:11:53.587Z] [2022-11-08T02:11:53.587Z] Login Succeeded [2022-11-08T02:11:53.587Z] docker.io [2022-11-08T02:11:53.587Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:11:54.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:11:54.157Z] Configure a credential helper to remove this warning. See [2022-11-08T02:11:54.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:11:54.157Z] [2022-11-08T02:11:54.157Z] Login Succeeded [2022-11-08T02:11:54.157Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T02:11:54.164Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T02:11:54.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T02:11:54.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T02:11:54.228Z] ========================================================= [2022-11-08T02:11:54.228Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T02:11:54.228Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:11:54.543Z] + 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-11-08T02:11:54.543Z] Sending build context to Docker daemon 27.52MB [2022-11-08T02:11:54.543Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T02:11:54.543Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-08T02:11:54.801Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T02:11:54.801Z] 213ec9aee27d: Pulling fs layer [2022-11-08T02:11:54.801Z] 4583459ba037: Pulling fs layer [2022-11-08T02:11:54.801Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T02:11:54.801Z] 53926ce57604: Pulling fs layer [2022-11-08T02:11:54.801Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T02:11:54.801Z] 22ff95d597cd: Pulling fs layer [2022-11-08T02:11:54.801Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T02:11:54.801Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T02:11:54.801Z] a7acece74701: Pulling fs layer [2022-11-08T02:11:54.801Z] 96b7cbca73a9: Waiting [2022-11-08T02:11:54.801Z] a7acece74701: Waiting [2022-11-08T02:11:54.801Z] 12d6caf4c0d1: Waiting [2022-11-08T02:11:54.801Z] 22ff95d597cd: Waiting [2022-11-08T02:11:54.801Z] 21b2b0c7a3f4: Waiting [2022-11-08T02:11:54.801Z] 53926ce57604: Waiting [2022-11-08T02:11:54.801Z] 93c1e223e6f2: Download complete [2022-11-08T02:11:54.801Z] 4583459ba037: Download complete [2022-11-08T02:11:54.801Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T02:11:54.801Z] 21b2b0c7a3f4: Download complete [2022-11-08T02:11:54.801Z] 22ff95d597cd: Verifying Checksum [2022-11-08T02:11:54.801Z] 22ff95d597cd: Download complete [2022-11-08T02:11:54.801Z] 213ec9aee27d: Verifying Checksum [2022-11-08T02:11:54.801Z] 213ec9aee27d: Download complete [2022-11-08T02:11:54.801Z] 12d6caf4c0d1: Download complete [2022-11-08T02:11:55.067Z] 213ec9aee27d: Pull complete [2022-11-08T02:11:55.067Z] 4583459ba037: Pull complete [2022-11-08T02:11:55.331Z] 93c1e223e6f2: Pull complete [2022-11-08T02:11:55.331Z] a7acece74701: Verifying Checksum [2022-11-08T02:11:55.331Z] a7acece74701: Download complete [2022-11-08T02:11:55.590Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T02:11:55.590Z] 96b7cbca73a9: Download complete [2022-11-08T02:11:55.590Z] 53926ce57604: Verifying Checksum [2022-11-08T02:11:55.590Z] 53926ce57604: Download complete [2022-11-08T02:11:59.771Z] 53926ce57604: Pull complete [2022-11-08T02:11:59.771Z] 21b2b0c7a3f4: Pull complete [2022-11-08T02:11:59.771Z] 22ff95d597cd: Pull complete [2022-11-08T02:11:59.771Z] 12d6caf4c0d1: Pull complete [2022-11-08T02:12:01.670Z] 96b7cbca73a9: Pull complete [2022-11-08T02:12:02.237Z] a7acece74701: Pull complete [2022-11-08T02:12:02.237Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T02:12:02.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T02:12:02.237Z] ---> db6d94c90886 [2022-11-08T02:12:02.237Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-08T02:12:06.430Z] ---> Running in 27086096a55f [2022-11-08T02:12:06.430Z] Removing intermediate container 27086096a55f [2022-11-08T02:12:06.430Z] ---> dd79e794a09a [2022-11-08T02:12:06.430Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T02:12:06.430Z] ---> Running in 1910d89f7648 [2022-11-08T02:12:06.430Z] Removing intermediate container 1910d89f7648 [2022-11-08T02:12:06.430Z] ---> dbb84e1cbec0 [2022-11-08T02:12:06.430Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T02:12:06.430Z] ---> Running in 1b74ec46d6e3 [2022-11-08T02:12:06.430Z] Removing intermediate container 1b74ec46d6e3 [2022-11-08T02:12:06.430Z] ---> cdc67711542a [2022-11-08T02:12:06.430Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T02:12:06.430Z] ---> Running in cea13933e363 [2022-11-08T02:12:06.430Z] Removing intermediate container cea13933e363 [2022-11-08T02:12:06.430Z] ---> b1be760664b6 [2022-11-08T02:12:06.430Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-08T02:12:06.430Z] ---> Running in fb3b3867a0ad [2022-11-08T02:12:06.430Z] Removing intermediate container fb3b3867a0ad [2022-11-08T02:12:06.430Z] ---> ff46648f11cf [2022-11-08T02:12:06.430Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T02:12:06.430Z] ---> Running in 274a49269e34 [2022-11-08T02:12:06.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T02:12:06.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T02:12:06.947Z] OK: 211 MiB in 51 packages [2022-11-08T02:12:07.517Z] Removing intermediate container 274a49269e34 [2022-11-08T02:12:07.517Z] ---> 040676a58a08 [2022-11-08T02:12:07.517Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-08T02:12:07.517Z] ---> Running in 3c6173bc158f [2022-11-08T02:12:07.517Z] Removing intermediate container 3c6173bc158f [2022-11-08T02:12:07.517Z] ---> 08cbbe7c018f [2022-11-08T02:12:07.517Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-08T02:12:07.517Z] ---> 7fa6a24e7006 [2022-11-08T02:12:07.517Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T02:12:07.776Z] ---> Running in c7d2826d9942 [2022-11-08T02:12:07.979Z] Still waiting to schedule task [2022-11-08T02:12:07.979Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118555’ [2022-11-08T02:12:29.712Z] Removing intermediate container c7d2826d9942 [2022-11-08T02:12:29.712Z] ---> d246f55370c4 [2022-11-08T02:12:29.712Z] Step 12/13 : COPY . . [2022-11-08T02:12:29.712Z] ---> 59baa888a897 [2022-11-08T02:12:29.712Z] Step 13/13 : RUN ${MAKE} [2022-11-08T02:12:29.712Z] ---> Running in 9cece6a3a5c3 [2022-11-08T02:12:29.712Z] noop [2022-11-08T02:12:29.712Z] Removing intermediate container 9cece6a3a5c3 [2022-11-08T02:12:29.712Z] ---> e8d2719b71de [2022-11-08T02:12:29.712Z] Successfully built e8d2719b71de [2022-11-08T02:12:29.712Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:12:30.028Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T02:12:30.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T02:12:30.091Z] prd-ubuntu20.04-docker-8c-8g-118561 does not seem to be running inside a container [2022-11-08T02:12:30.126Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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 ******** ci-base-image-x86_64 cat [2022-11-08T02:12:30.507Z] $ docker top 10e700da557d611bb72c59ecbff4f478175aaa0eb8ad0c9ed6ee93be072a0641 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T02:12:30.856Z] + go version [2022-11-08T02:12:30.856Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T02:12:30.873Z] $ docker stop --time=1 10e700da557d611bb72c59ecbff4f478175aaa0eb8ad0c9ed6ee93be072a0641 [2022-11-08T02:12:32.137Z] $ docker rm -f 10e700da557d611bb72c59ecbff4f478175aaa0eb8ad0c9ed6ee93be072a0641 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:12:32.512Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T02:12:32.512Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T02:12:32.582Z] prd-ubuntu20.04-docker-8c-8g-118561 does not seem to be running inside a container [2022-11-08T02:12:32.617Z] $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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 ******** ci-base-image-x86_64 cat [2022-11-08T02:12:32.967Z] $ docker top d5ac9209882567ffcd73164f6531f986d6f0a277aeaeff73afd89822b206eb49 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T02:12:33.294Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] fileExists [Pipeline] sh [2022-11-08T02:12:33.589Z] + make test [2022-11-08T02:12:33.589Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T02:12:33.847Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-08T02:12:43.815Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-08T02:12:47.102Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 29.3% of statements [2022-11-08T02:12:47.102Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-08T02:12:47.102Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.453s coverage: 86.5% of statements [2022-11-08T02:12:53.656Z] 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-11-08T02:12:53.656Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T02:12:56.939Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T02:12:56.939Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T02:12:56.939Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T02:12:56.953Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T02:12:56.971Z] $ docker stop --time=1 d5ac9209882567ffcd73164f6531f986d6f0a277aeaeff73afd89822b206eb49 [2022-11-08T02:12:59.309Z] $ docker rm -f d5ac9209882567ffcd73164f6531f986d6f0a277aeaeff73afd89822b206eb49 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T02:12:59.751Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T02:12:59.809Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T02:13:00.240Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T02:13:00.523Z] + ls -al . [2022-11-08T02:13:00.523Z] total 248 [2022-11-08T02:13:00.523Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 02:12 . [2022-11-08T02:13:00.523Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:11 .. [2022-11-08T02:13:00.523Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 02:12 .git [2022-11-08T02:13:00.523Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:11 .github [2022-11-08T02:13:00.523Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 8 02:11 .gitignore [2022-11-08T02:13:00.523Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 02:11 .golangci.yml [2022-11-08T02:13:00.523Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 02:11 .semver [2022-11-08T02:13:00.523Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 8 02:11 Attribution.txt [2022-11-08T02:13:00.523Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 8 02:11 CHANGELOG.md [2022-11-08T02:13:00.523Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 8 02:11 Dockerfile [2022-11-08T02:13:00.523Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 02:11 GOVERNANCE.md [2022-11-08T02:13:00.524Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 8 02:11 Jenkinsfile [2022-11-08T02:13:00.524Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 02:11 LICENSE [2022-11-08T02:13:00.524Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 8 02:11 Makefile [2022-11-08T02:13:00.524Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 02:11 OWNERS.md [2022-11-08T02:13:00.524Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 8 02:11 README.md [2022-11-08T02:13:00.524Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:11 VERSION [2022-11-08T02:13:00.524Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:11 bin [2022-11-08T02:13:00.524Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:11 cmd [2022-11-08T02:13:00.524Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 8 02:12 coverage.out [2022-11-08T02:13:00.524Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 02:11 doc [2022-11-08T02:13:00.524Z] -rw-rw-r-- 1 jenkins jenkins 3694 Nov 8 02:11 go.mod [2022-11-08T02:13:00.524Z] -rw-rw-r-- 1 jenkins jenkins 46119 Nov 8 02:11 go.sum [2022-11-08T02:13:00.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:11 internal [2022-11-08T02:13:00.524Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:11 snap [2022-11-08T02:13:00.524Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 02:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:13:00.829Z] + 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=5667202f3352339af0b8de9d7c90f315fba2c531 --label arch=amd64 --label version=0.0.0 . [2022-11-08T02:13:00.829Z] Sending build context to Docker daemon 27.6MB [2022-11-08T02:13:00.829Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T02:13:00.829Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-08T02:13:00.829Z] ---> e8d2719b71de [2022-11-08T02:13:00.829Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-08T02:13:01.088Z] ---> Running in cdca8f54929b [2022-11-08T02:13:01.088Z] Removing intermediate container cdca8f54929b [2022-11-08T02:13:01.088Z] ---> 40ed2aaf9255 [2022-11-08T02:13:01.088Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T02:13:01.088Z] ---> Running in e20cc9129422 [2022-11-08T02:13:01.346Z] Removing intermediate container e20cc9129422 [2022-11-08T02:13:01.346Z] ---> 585b77d7fd25 [2022-11-08T02:13:01.346Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T02:13:01.346Z] ---> Running in 9acb2ce54d3f [2022-11-08T02:13:01.346Z] Removing intermediate container 9acb2ce54d3f [2022-11-08T02:13:01.346Z] ---> 8ac4bf611929 [2022-11-08T02:13:01.346Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T02:13:01.346Z] ---> Running in 129a7db3577d [2022-11-08T02:13:01.606Z] Removing intermediate container 129a7db3577d [2022-11-08T02:13:01.606Z] ---> aa779f3ac687 [2022-11-08T02:13:01.606Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-08T02:13:01.606Z] ---> Running in 678a71ab0084 [2022-11-08T02:13:01.606Z] Removing intermediate container 678a71ab0084 [2022-11-08T02:13:01.606Z] ---> cfbc35b711d7 [2022-11-08T02:13:01.606Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T02:13:01.606Z] ---> Running in 38536820e308 [2022-11-08T02:13:01.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T02:13:02.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T02:13:02.383Z] OK: 211 MiB in 51 packages [2022-11-08T02:13:02.641Z] Removing intermediate container 38536820e308 [2022-11-08T02:13:02.641Z] ---> 8be0ebebe165 [2022-11-08T02:13:02.641Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-08T02:13:02.641Z] ---> Running in 3d06002e1266 [2022-11-08T02:13:02.641Z] Removing intermediate container 3d06002e1266 [2022-11-08T02:13:02.641Z] ---> f6df304269f7 [2022-11-08T02:13:02.641Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-08T02:13:02.899Z] ---> 95f39d48f1e4 [2022-11-08T02:13:02.899Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T02:13:02.899Z] ---> Running in e41ccea89f68 [2022-11-08T02:13:03.468Z] Removing intermediate container e41ccea89f68 [2022-11-08T02:13:03.468Z] ---> 0bb2ffb7c6f5 [2022-11-08T02:13:03.468Z] Step 12/26 : COPY . . [2022-11-08T02:13:04.406Z] ---> c54f0a03b68c [2022-11-08T02:13:04.406Z] Step 13/26 : RUN ${MAKE} [2022-11-08T02:13:04.406Z] ---> Running in fb2621a9cf0d [2022-11-08T02:13:04.665Z] 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-11-08T02:13:26.590Z] Removing intermediate container fb2621a9cf0d [2022-11-08T02:13:26.590Z] ---> aeb6c101bebf [2022-11-08T02:13:26.590Z] Step 14/26 : FROM alpine:3.16 [2022-11-08T02:13:26.590Z] 3.16: Pulling from library/alpine [2022-11-08T02:13:26.590Z] 213ec9aee27d: Already exists [2022-11-08T02:13:26.590Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T02:13:26.590Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T02:13:26.590Z] ---> 9c6f07244728 [2022-11-08T02:13:26.590Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-08T02:13:26.590Z] ---> Running in 99e21831295b [2022-11-08T02:13:26.590Z] Removing intermediate container 99e21831295b [2022-11-08T02:13:26.590Z] ---> c0c738c69e7d [2022-11-08T02:13:26.590Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T02:13:26.590Z] ---> Running in 0cf09902d41f [2022-11-08T02:13:26.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T02:13:26.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T02:13:26.590Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T02:13:26.590Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T02:13:26.590Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T02:13:26.590Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T02:13:26.590Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T02:13:26.590Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T02:13:26.590Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T02:13:26.590Z] OK: 8 MiB in 20 packages [2022-11-08T02:13:26.849Z] Removing intermediate container 0cf09902d41f [2022-11-08T02:13:26.849Z] ---> ac9b14ac4a27 [2022-11-08T02:13:26.849Z] Step 17/26 : WORKDIR / [2022-11-08T02:13:26.849Z] ---> Running in 2836136c27c0 [2022-11-08T02:13:26.849Z] Removing intermediate container 2836136c27c0 [2022-11-08T02:13:26.849Z] ---> eb7848127d9e [2022-11-08T02:13:26.849Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-08T02:13:27.415Z] ---> 209f74220f76 [2022-11-08T02:13:27.415Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-08T02:13:27.692Z] ---> c0fa48175572 [2022-11-08T02:13:27.692Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-08T02:13:27.692Z] ---> 0bfd595c6c11 [2022-11-08T02:13:27.692Z] Step 21/26 : EXPOSE 59984 [2022-11-08T02:13:27.952Z] ---> Running in 6d5416bdc5ba [2022-11-08T02:13:27.952Z] Removing intermediate container 6d5416bdc5ba [2022-11-08T02:13:27.952Z] ---> af5679b6ff23 [2022-11-08T02:13:27.952Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-08T02:13:27.952Z] ---> Running in 3cb98b669298 [2022-11-08T02:13:27.952Z] Removing intermediate container 3cb98b669298 [2022-11-08T02:13:27.952Z] ---> 0fe014395e41 [2022-11-08T02:13:27.952Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T02:13:28.211Z] ---> Running in 68ed00102a3e [2022-11-08T02:13:28.211Z] Removing intermediate container 68ed00102a3e [2022-11-08T02:13:28.211Z] ---> 0a7f4ac67a4c [2022-11-08T02:13:28.211Z] Step 24/26 : LABEL arch=amd64 [2022-11-08T02:13:28.211Z] ---> Running in 708debea0767 [2022-11-08T02:13:28.211Z] Removing intermediate container 708debea0767 [2022-11-08T02:13:28.211Z] ---> aafe9ef819b6 [2022-11-08T02:13:28.211Z] Step 25/26 : LABEL git_sha=5667202f3352339af0b8de9d7c90f315fba2c531 [2022-11-08T02:13:28.211Z] ---> Running in 67a2c00c6ca7 [2022-11-08T02:13:28.470Z] Removing intermediate container 67a2c00c6ca7 [2022-11-08T02:13:28.470Z] ---> 112eb2227c2b [2022-11-08T02:13:28.470Z] Step 26/26 : LABEL version=0.0.0 [2022-11-08T02:13:28.470Z] ---> Running in 6c615dd4c706 [2022-11-08T02:13:28.470Z] Removing intermediate container 6c615dd4c706 [2022-11-08T02:13:28.470Z] ---> d38c1e8394f2 [2022-11-08T02:13:28.470Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T02:13:28.470Z] Successfully built d38c1e8394f2 [2022-11-08T02:13:28.470Z] 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-11-08T02:13:28.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T02:13:28.892Z] [2022-11-08T02:13:28.892Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:13:29.181Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T02:13:29.181Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T02:13:29.181Z] 5eb5b503b376: Pulling fs layer [2022-11-08T02:13:29.181Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T02:13:29.181Z] ec43610c2a17: Pulling fs layer [2022-11-08T02:13:29.181Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T02:13:29.181Z] 33b1e0a273af: Pulling fs layer [2022-11-08T02:13:29.181Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T02:13:29.181Z] 2f39f015ded8: Pulling fs layer [2022-11-08T02:13:29.181Z] 3a2ae6a8a46f: Waiting [2022-11-08T02:13:29.181Z] 33b1e0a273af: Waiting [2022-11-08T02:13:29.181Z] 5d3b04190fa2: Waiting [2022-11-08T02:13:29.181Z] 2f39f015ded8: Waiting [2022-11-08T02:13:29.181Z] 5c69ac0246d0: Verifying Checksum [2022-11-08T02:13:29.181Z] 5c69ac0246d0: Download complete [2022-11-08T02:13:29.181Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-08T02:13:29.181Z] 3a2ae6a8a46f: Download complete [2022-11-08T02:13:29.181Z] 33b1e0a273af: Verifying Checksum [2022-11-08T02:13:29.181Z] 33b1e0a273af: Download complete [2022-11-08T02:13:29.440Z] 5d3b04190fa2: Verifying Checksum [2022-11-08T02:13:29.440Z] 5d3b04190fa2: Download complete [2022-11-08T02:13:29.440Z] ec43610c2a17: Verifying Checksum [2022-11-08T02:13:29.440Z] ec43610c2a17: Download complete [2022-11-08T02:13:29.440Z] 5eb5b503b376: Verifying Checksum [2022-11-08T02:13:29.440Z] 5eb5b503b376: Download complete [2022-11-08T02:13:30.376Z] 2f39f015ded8: Download complete [2022-11-08T02:13:30.633Z] 5eb5b503b376: Pull complete [2022-11-08T02:13:30.633Z] 5c69ac0246d0: Pull complete [2022-11-08T02:13:31.200Z] ec43610c2a17: Pull complete [2022-11-08T02:13:31.200Z] 3a2ae6a8a46f: Pull complete [2022-11-08T02:13:31.458Z] 33b1e0a273af: Pull complete [2022-11-08T02:13:31.458Z] 5d3b04190fa2: Pull complete [2022-11-08T02:13:35.644Z] 2f39f015ded8: Pull complete [2022-11-08T02:13:35.644Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T02:13:35.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T02:13:35.644Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T02:13:35.710Z] prd-ubuntu20.04-docker-8c-8g-118561 does not seem to be running inside a container [2022-11-08T02:13:35.744Z] $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@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-lftools-log-publisher:latest cat [2022-11-08T02:13:38.855Z] $ docker top 51caae0811d4aa3eed4b6217e0545c286b3fe1304b89d5f083e8e41703cd05ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:13:39.227Z] ---> job-cost.sh [2022-11-08T02:13:39.227Z] lf-activate-venv: SKIPPING [2022-11-08T02:13:39.227Z] INFO: No Stack... [2022-11-08T02:13:39.485Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T02:13:39.744Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T02:13:40.029Z] + cat /w/workspace/undry_device-onvif-camera_PR-185/archives/cost.csv [2022-11-08T02:13:40.029Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T02:13:40.042Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-7-stack-cost] [2022-11-08T02:13:40.048Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-7-stack-cost] did not exist. Created. [2022-11-08T02:13:40.048Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T02:13:40.348Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T02:13:40.377Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T02:13:40.385Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T02:13:40.408Z] $ docker stop --time=1 51caae0811d4aa3eed4b6217e0545c286b3fe1304b89d5f083e8e41703cd05ec [2022-11-08T02:13:41.562Z] $ docker rm -f 51caae0811d4aa3eed4b6217e0545c286b3fe1304b89d5f083e8e41703cd05ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T02:14:57.079Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118565 in /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] { [Pipeline] ws [2022-11-08T02:14:57.092Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-11-08T02:14:57.128Z] The recommended git tool is: git [2022-11-08T02:15:03.369Z] using credential edgex-jenkins-ssh [2022-11-08T02:15:03.393Z] Cloning the remote Git repository [2022-11-08T02:15:03.452Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-08T02:15:03.539Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-11-08T02:15:03.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-08T02:15:03.723Z] > git --version # timeout=10 [2022-11-08T02:15:03.748Z] > git --version # 'git version 2.25.1' [2022-11-08T02:15:03.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T02:15:03.814Z] Verifying host key using known hosts file [2022-11-08T02:15:04.063Z] 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-11-08T02:15:04.077Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T02:15:05.896Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-08T02:15:05.940Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T02:15:07.033Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-08T02:15:07.086Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-08T02:15:07.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T02:15:07.094Z] Verifying host key using known hosts file [2022-11-08T02:15:07.101Z] 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-11-08T02:15:07.118Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-08T02:15:07.699Z] Merging remotes/origin/main commit 85f19cd4395ab38c9fed3c9acaecd010dfd8799e into PR head commit 659f5a409730c1aa6059f10a7d2527ba47038078 [2022-11-08T02:15:08.766Z] Merge succeeded, producing a9551ac907c501ae71b080d4bde506af53160d79 [2022-11-08T02:15:08.766Z] Checking out Revision a9551ac907c501ae71b080d4bde506af53160d79 (PR-185) [2022-11-08T02:15:07.724Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T02:15:07.743Z] > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # timeout=10 [2022-11-08T02:15:08.003Z] > git remote # timeout=10 [2022-11-08T02:15:08.024Z] > git config --get remote.origin.url # timeout=10 [2022-11-08T02:15:08.054Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T02:15:08.060Z] Verifying host key using known hosts file [2022-11-08T02:15:08.064Z] 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-11-08T02:15:08.075Z] > git merge 85f19cd4395ab38c9fed3c9acaecd010dfd8799e # timeout=10 [2022-11-08T02:15:08.748Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-08T02:15:08.778Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T02:15:08.799Z] > git checkout -f a9551ac907c501ae71b080d4bde506af53160d79 # timeout=10 [2022-11-08T02:15:12.521Z] Commit message: "Merge commit '85f19cd4395ab38c9fed3c9acaecd010dfd8799e' into HEAD" [2022-11-08T02:15:12.555Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T02:15:13.411Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T02:15:13.411Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T02:15:13.411Z] Dload Upload Total Spent Left Speed [2022-11-08T02:15:13.411Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 201k [Pipeline] sh [2022-11-08T02:15:12.534Z] > git rev-list --no-walk dbf92673fc4463387986473702af6c1d15156dfc # timeout=10 [2022-11-08T02:15:14.139Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T02:15:14.481Z] + sudo tee /etc/docker/daemon.new [2022-11-08T02:15:14.481Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T02:15:14.481Z] { [2022-11-08T02:15:14.481Z] "registry-mirrors": [ [2022-11-08T02:15:14.481Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T02:15:14.481Z] ], [2022-11-08T02:15:14.481Z] "bip": "10.250.0.254/24", [2022-11-08T02:15:14.481Z] "hosts": [ [2022-11-08T02:15:14.481Z] "tcp://0.0.0.0:5555", [2022-11-08T02:15:14.481Z] "unix:///var/run/docker.sock" [2022-11-08T02:15:14.481Z] ], [2022-11-08T02:15:14.481Z] "mtu": 1458, [2022-11-08T02:15:14.481Z] "selinux-enabled": true, [2022-11-08T02:15:14.481Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T02:15:14.481Z] } [Pipeline] sh [2022-11-08T02:15:14.817Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T02:15:15.156Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T02:15:33.434Z] provisioning config files... [2022-11-08T02:15:33.463Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config10855458361934033893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:15:33.814Z] ---> docker-login.sh [2022-11-08T02:15:33.814Z] nexus3.edgexfoundry.org:10001 [2022-11-08T02:15:34.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:15:34.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:15:34.404Z] Configure a credential helper to remove this warning. See [2022-11-08T02:15:34.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:15:34.404Z] [2022-11-08T02:15:34.404Z] Login Succeeded [2022-11-08T02:15:34.404Z] nexus3.edgexfoundry.org:10002 [2022-11-08T02:15:34.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:15:34.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:15:34.950Z] Configure a credential helper to remove this warning. See [2022-11-08T02:15:34.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:15:34.950Z] [2022-11-08T02:15:34.950Z] Login Succeeded [2022-11-08T02:15:34.950Z] nexus3.edgexfoundry.org:10003 [2022-11-08T02:15:35.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:15:35.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:15:35.220Z] Configure a credential helper to remove this warning. See [2022-11-08T02:15:35.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:15:35.220Z] [2022-11-08T02:15:35.220Z] Login Succeeded [2022-11-08T02:15:35.220Z] nexus3.edgexfoundry.org:10004 [2022-11-08T02:15:35.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:15:35.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:15:35.490Z] Configure a credential helper to remove this warning. See [2022-11-08T02:15:35.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:15:35.490Z] [2022-11-08T02:15:35.490Z] Login Succeeded [2022-11-08T02:15:35.762Z] docker.io [2022-11-08T02:15:36.033Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T02:15:36.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T02:15:36.302Z] Configure a credential helper to remove this warning. See [2022-11-08T02:15:36.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T02:15:36.302Z] [2022-11-08T02:15:36.302Z] Login Succeeded [2022-11-08T02:15:36.302Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T02:15:36.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T02:15:36.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T02:15:36.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T02:15:36.499Z] ========================================================= [2022-11-08T02:15:36.499Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T02:15:36.499Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:15:36.843Z] + 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-11-08T02:15:37.432Z] Sending build context to Docker daemon 20.45MB [2022-11-08T02:15:37.432Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T02:15:37.432Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-08T02:15:37.706Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T02:15:37.706Z] 9b18e9b68314: Pulling fs layer [2022-11-08T02:15:37.706Z] 35d82f9e3411: Pulling fs layer [2022-11-08T02:15:37.706Z] e16973657156: Pulling fs layer [2022-11-08T02:15:37.706Z] fc693d55d65f: Pulling fs layer [2022-11-08T02:15:37.706Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T02:15:37.706Z] dda99020689f: Pulling fs layer [2022-11-08T02:15:37.706Z] db1c61fa0a46: Pulling fs layer [2022-11-08T02:15:37.706Z] 7e9fc2657dce: Waiting [2022-11-08T02:15:37.706Z] fc693d55d65f: Waiting [2022-11-08T02:15:37.706Z] dda99020689f: Waiting [2022-11-08T02:15:37.706Z] 891c053d2c06: Pulling fs layer [2022-11-08T02:15:37.706Z] db1c61fa0a46: Waiting [2022-11-08T02:15:37.706Z] 891c053d2c06: Waiting [2022-11-08T02:15:37.706Z] e16973657156: Verifying Checksum [2022-11-08T02:15:37.706Z] e16973657156: Download complete [2022-11-08T02:15:37.706Z] 35d82f9e3411: Verifying Checksum [2022-11-08T02:15:37.706Z] 35d82f9e3411: Download complete [2022-11-08T02:15:37.706Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T02:15:37.706Z] 7e9fc2657dce: Download complete [2022-11-08T02:15:37.706Z] dda99020689f: Download complete [2022-11-08T02:15:37.706Z] 9b18e9b68314: Verifying Checksum [2022-11-08T02:15:37.706Z] 9b18e9b68314: Download complete [2022-11-08T02:15:38.680Z] 9b18e9b68314: Pull complete [2022-11-08T02:15:38.680Z] 891c053d2c06: Verifying Checksum [2022-11-08T02:15:38.680Z] 891c053d2c06: Download complete [2022-11-08T02:15:39.280Z] 35d82f9e3411: Pull complete [2022-11-08T02:15:39.556Z] e16973657156: Pull complete [2022-11-08T02:15:40.163Z] db1c61fa0a46: Verifying Checksum [2022-11-08T02:15:40.164Z] db1c61fa0a46: Download complete [2022-11-08T02:15:40.752Z] fc693d55d65f: Download complete [2022-11-08T02:15:53.122Z] fc693d55d65f: Pull complete [2022-11-08T02:15:53.122Z] 7e9fc2657dce: Pull complete [2022-11-08T02:15:53.122Z] dda99020689f: Pull complete [2022-11-08T02:15:59.799Z] db1c61fa0a46: Pull complete [2022-11-08T02:16:01.753Z] 891c053d2c06: Pull complete [2022-11-08T02:16:01.753Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T02:16:01.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T02:16:01.753Z] ---> f96f9c87975a [2022-11-08T02:16:01.753Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-08T02:16:03.712Z] ---> Running in 81a4eb800f25 [2022-11-08T02:16:03.979Z] Removing intermediate container 81a4eb800f25 [2022-11-08T02:16:03.979Z] ---> e9a0709ea9df [2022-11-08T02:16:03.979Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T02:16:03.979Z] ---> Running in 50a55363e9b3 [2022-11-08T02:16:04.248Z] Removing intermediate container 50a55363e9b3 [2022-11-08T02:16:04.248Z] ---> 2e84b0705c0d [2022-11-08T02:16:04.248Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T02:16:04.518Z] ---> Running in fd63c15ffe31 [2022-11-08T02:16:04.789Z] Removing intermediate container fd63c15ffe31 [2022-11-08T02:16:04.789Z] ---> c44886167434 [2022-11-08T02:16:04.789Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T02:16:04.789Z] ---> Running in bc3092aeb150 [2022-11-08T02:16:05.058Z] Removing intermediate container bc3092aeb150 [2022-11-08T02:16:05.058Z] ---> 68a752e590d5 [2022-11-08T02:16:05.058Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-08T02:16:05.327Z] ---> Running in 5d897bd5527a [2022-11-08T02:16:05.603Z] Removing intermediate container 5d897bd5527a [2022-11-08T02:16:05.603Z] ---> 67acb2475d47 [2022-11-08T02:16:05.603Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T02:16:05.603Z] ---> Running in 3bd8238353c4 [2022-11-08T02:16:07.022Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T02:16:07.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T02:16:08.252Z] OK: 221 MiB in 51 packages [2022-11-08T02:16:09.217Z] Removing intermediate container 3bd8238353c4 [2022-11-08T02:16:09.217Z] ---> 0cd68b34a427 [2022-11-08T02:16:09.217Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-08T02:16:09.217Z] ---> Running in 913b8e47d031 [2022-11-08T02:16:09.489Z] Removing intermediate container 913b8e47d031 [2022-11-08T02:16:09.489Z] ---> 2e4f51ff89a9 [2022-11-08T02:16:09.489Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-08T02:16:10.078Z] ---> 8b2ce7c99add [2022-11-08T02:16:10.078Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T02:16:10.357Z] ---> Running in c6833f9065a5 [2022-11-08T02:17:06.802Z] Removing intermediate container c6833f9065a5 [2022-11-08T02:17:06.802Z] ---> 26b77a54f24f [2022-11-08T02:17:06.802Z] Step 12/13 : COPY . . [2022-11-08T02:17:07.092Z] ---> f7b06448465a [2022-11-08T02:17:07.092Z] Step 13/13 : RUN ${MAKE} [2022-11-08T02:17:07.092Z] ---> Running in bb936722764c [2022-11-08T02:17:08.056Z] noop [2022-11-08T02:17:09.020Z] Removing intermediate container bb936722764c [2022-11-08T02:17:09.020Z] ---> 0118ad69789c [2022-11-08T02:17:09.020Z] Successfully built 0118ad69789c [2022-11-08T02:17:09.020Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:17:09.365Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T02:17:09.365Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T02:17:09.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-118565 does not seem to be running inside a container [2022-11-08T02:17:09.653Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T02:17:11.042Z] $ docker top ac639b08ccdfe018222b4bf74bc13315681955a813d8ee0c380263cf37435baa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T02:17:11.907Z] + go version [2022-11-08T02:17:11.907Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T02:17:11.930Z] $ docker stop --time=1 ac639b08ccdfe018222b4bf74bc13315681955a813d8ee0c380263cf37435baa [2022-11-08T02:17:13.654Z] $ docker rm -f ac639b08ccdfe018222b4bf74bc13315681955a813d8ee0c380263cf37435baa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:17:14.235Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T02:17:14.235Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T02:17:14.433Z] prd-ubuntu20.04-docker-arm64-4c-16g-118565 does not seem to be running inside a container [2022-11-08T02:17:14.507Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-08T02:17:15.864Z] $ docker top c966e91cc83d7f0c29e789ab359e10eea8201f02591c50c178e4783d650d09b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T02:17:16.711Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh [2022-11-08T02:17:17.360Z] + make test [2022-11-08T02:17:17.360Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T02:17:19.333Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-08T02:19:11.051Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-08T02:19:21.154Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.270s coverage: 29.3% of statements [2022-11-08T02:19:21.154Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-08T02:19:39.435Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.455s coverage: 86.5% of statements [2022-11-08T02:19:39.435Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T02:19:39.435Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T02:20:18.373Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T02:20:18.373Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T02:20:18.373Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T02:20:18.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T02:20:18.410Z] $ docker stop --time=1 c966e91cc83d7f0c29e789ab359e10eea8201f02591c50c178e4783d650d09b3 [2022-11-08T02:20:20.212Z] $ docker rm -f c966e91cc83d7f0c29e789ab359e10eea8201f02591c50c178e4783d650d09b3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T02:20:21.256Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T02:20:21.271Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T02:20:21.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T02:20:22.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T02:20:22.652Z] + ls -al . [2022-11-08T02:20:22.652Z] total 244 [2022-11-08T02:20:22.652Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 02:17 . [2022-11-08T02:20:22.652Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:15 .. [2022-11-08T02:20:22.652Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 02:15 .git [2022-11-08T02:20:22.652Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:15 .github [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 8 02:15 .gitignore [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 8 02:15 .golangci.yml [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 8 02:15 Attribution.txt [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 8 02:15 CHANGELOG.md [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 8 02:15 Dockerfile [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 02:15 GOVERNANCE.md [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 8 02:15 Jenkinsfile [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 8 02:15 LICENSE [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 8 02:15 Makefile [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 8 02:15 OWNERS.md [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 8 02:15 README.md [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:11 VERSION [2022-11-08T02:20:22.652Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:15 bin [2022-11-08T02:20:22.652Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:15 cmd [2022-11-08T02:20:22.652Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 8 02:19 coverage.out [2022-11-08T02:20:22.652Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 02:15 doc [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 3694 Nov 8 02:15 go.mod [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 46119 Nov 8 02:15 go.sum [2022-11-08T02:20:22.652Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:15 internal [2022-11-08T02:20:22.652Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:15 snap [2022-11-08T02:20:22.652Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 8 02:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:20:23.015Z] + 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=a9551ac907c501ae71b080d4bde506af53160d79 --label arch=arm64 --label version=0.0.0 . [2022-11-08T02:20:23.615Z] Sending build context to Docker daemon 20.53MB [2022-11-08T02:20:23.615Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T02:20:23.615Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-08T02:20:23.615Z] ---> 0118ad69789c [2022-11-08T02:20:23.615Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-08T02:20:23.900Z] ---> Running in 259a875e465e [2022-11-08T02:20:24.170Z] Removing intermediate container 259a875e465e [2022-11-08T02:20:24.171Z] ---> 70118e9c1d75 [2022-11-08T02:20:24.171Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T02:20:24.171Z] ---> Running in 5ec6d97a8470 [2022-11-08T02:20:24.757Z] Removing intermediate container 5ec6d97a8470 [2022-11-08T02:20:24.757Z] ---> 54d0a2c806e0 [2022-11-08T02:20:24.757Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T02:20:24.757Z] ---> Running in bc0595e7e3be [2022-11-08T02:20:25.024Z] Removing intermediate container bc0595e7e3be [2022-11-08T02:20:25.024Z] ---> 5c69b02883cf [2022-11-08T02:20:25.024Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T02:20:25.024Z] ---> Running in fc8a78fead7a [2022-11-08T02:20:25.300Z] Removing intermediate container fc8a78fead7a [2022-11-08T02:20:25.300Z] ---> cafd18e75a9d [2022-11-08T02:20:25.300Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-08T02:20:25.574Z] ---> Running in 59a06354c5af [2022-11-08T02:20:25.841Z] Removing intermediate container 59a06354c5af [2022-11-08T02:20:25.841Z] ---> 58c6680378a5 [2022-11-08T02:20:25.841Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T02:20:25.841Z] ---> Running in 6b0ef535b54d [2022-11-08T02:20:26.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T02:20:27.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T02:20:28.030Z] OK: 221 MiB in 51 packages [2022-11-08T02:20:28.992Z] Removing intermediate container 6b0ef535b54d [2022-11-08T02:20:28.992Z] ---> be676fe58257 [2022-11-08T02:20:28.992Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-08T02:20:28.992Z] ---> Running in 9dcb8a1f2ba2 [2022-11-08T02:20:29.577Z] Removing intermediate container 9dcb8a1f2ba2 [2022-11-08T02:20:29.577Z] ---> 9852d3465795 [2022-11-08T02:20:29.577Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-08T02:20:29.846Z] ---> ad0f75c95de3 [2022-11-08T02:20:29.846Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T02:20:30.115Z] ---> Running in 04a6a8220a23 [2022-11-08T02:20:32.707Z] Removing intermediate container 04a6a8220a23 [2022-11-08T02:20:32.707Z] ---> f2719c70c1b5 [2022-11-08T02:20:32.707Z] Step 12/26 : COPY . . [2022-11-08T02:20:34.119Z] ---> cb6cf3517763 [2022-11-08T02:20:34.120Z] Step 13/26 : RUN ${MAKE} [2022-11-08T02:20:34.120Z] ---> Running in 44219ac4e0c8 [2022-11-08T02:20:35.092Z] 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-11-08T02:23:11.821Z] Removing intermediate container 44219ac4e0c8 [2022-11-08T02:23:11.821Z] ---> 2d05c2fbec81 [2022-11-08T02:23:11.821Z] Step 14/26 : FROM alpine:3.16 [2022-11-08T02:23:11.821Z] 3.16: Pulling from library/alpine [2022-11-08T02:23:11.821Z] 9b18e9b68314: Already exists [2022-11-08T02:23:11.821Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T02:23:11.821Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T02:23:11.821Z] ---> a6215f271958 [2022-11-08T02:23:11.821Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-08T02:23:11.821Z] ---> Running in 8aba88aed943 [2022-11-08T02:23:11.821Z] Removing intermediate container 8aba88aed943 [2022-11-08T02:23:11.821Z] ---> 2bb1d26ed155 [2022-11-08T02:23:11.821Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T02:23:11.821Z] ---> Running in 7f9c142c4e39 [2022-11-08T02:23:11.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T02:23:11.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T02:23:11.821Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T02:23:11.821Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T02:23:11.821Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T02:23:11.821Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T02:23:11.821Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T02:23:11.821Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T02:23:11.821Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T02:23:11.821Z] OK: 8 MiB in 20 packages [2022-11-08T02:23:11.821Z] Removing intermediate container 7f9c142c4e39 [2022-11-08T02:23:11.821Z] ---> a1fd90583065 [2022-11-08T02:23:11.821Z] Step 17/26 : WORKDIR / [2022-11-08T02:23:11.821Z] ---> Running in 544e1a44b10e [2022-11-08T02:23:11.821Z] Removing intermediate container 544e1a44b10e [2022-11-08T02:23:11.821Z] ---> a16f353f9b78 [2022-11-08T02:23:11.821Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-08T02:23:11.821Z] ---> 18984ff96ffb [2022-11-08T02:23:11.821Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-08T02:23:11.821Z] ---> 035e5afa276d [2022-11-08T02:23:11.821Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-08T02:23:11.821Z] ---> dbbc6172bc9e [2022-11-08T02:23:11.821Z] Step 21/26 : EXPOSE 59984 [2022-11-08T02:23:11.821Z] ---> Running in a61e506b8746 [2022-11-08T02:23:11.821Z] Removing intermediate container a61e506b8746 [2022-11-08T02:23:11.821Z] ---> 41bb73020920 [2022-11-08T02:23:11.821Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-08T02:23:11.821Z] ---> Running in 798c23e5c2bf [2022-11-08T02:23:12.089Z] Removing intermediate container 798c23e5c2bf [2022-11-08T02:23:12.089Z] ---> 7dfc260299a7 [2022-11-08T02:23:12.089Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-08T02:23:12.090Z] ---> Running in ef087ec3640b [2022-11-08T02:23:12.359Z] Removing intermediate container ef087ec3640b [2022-11-08T02:23:12.359Z] ---> 026daaba09ef [2022-11-08T02:23:12.359Z] Step 24/26 : LABEL arch=arm64 [2022-11-08T02:23:12.628Z] ---> Running in 8c66a3acc914 [2022-11-08T02:23:12.895Z] Removing intermediate container 8c66a3acc914 [2022-11-08T02:23:12.895Z] ---> ed0a5fd3c383 [2022-11-08T02:23:12.895Z] Step 25/26 : LABEL git_sha=a9551ac907c501ae71b080d4bde506af53160d79 [2022-11-08T02:23:12.895Z] ---> Running in ac58713cda8f [2022-11-08T02:23:13.167Z] Removing intermediate container ac58713cda8f [2022-11-08T02:23:13.167Z] ---> d9434eeeee17 [2022-11-08T02:23:13.167Z] Step 26/26 : LABEL version=0.0.0 [2022-11-08T02:23:13.437Z] ---> Running in 8e49cc554934 [2022-11-08T02:23:13.702Z] Removing intermediate container 8e49cc554934 [2022-11-08T02:23:13.702Z] ---> 838d3d793028 [2022-11-08T02:23:13.702Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T02:23:13.702Z] Successfully built 838d3d793028 [2022-11-08T02:23:13.702Z] 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-11-08T02:23:14.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T02:23:14.123Z] [2022-11-08T02:23:14.123Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:23:14.462Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T02:23:14.462Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T02:23:14.462Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T02:23:14.462Z] 04944245beec: Pulling fs layer [2022-11-08T02:23:14.462Z] 699f458cf7ca: Pulling fs layer [2022-11-08T02:23:14.462Z] 765212b225bb: Pulling fs layer [2022-11-08T02:23:14.462Z] f23df028b6ca: Pulling fs layer [2022-11-08T02:23:14.462Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T02:23:14.462Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T02:23:14.462Z] f23df028b6ca: Waiting [2022-11-08T02:23:14.462Z] d65c8cfc05b1: Waiting [2022-11-08T02:23:14.462Z] 2437ff75d9bd: Waiting [2022-11-08T02:23:14.462Z] 765212b225bb: Waiting [2022-11-08T02:23:14.733Z] 04944245beec: Verifying Checksum [2022-11-08T02:23:14.733Z] 04944245beec: Download complete [2022-11-08T02:23:14.733Z] 765212b225bb: Verifying Checksum [2022-11-08T02:23:14.733Z] 765212b225bb: Download complete [2022-11-08T02:23:14.733Z] f23df028b6ca: Verifying Checksum [2022-11-08T02:23:14.733Z] f23df028b6ca: Download complete [2022-11-08T02:23:14.733Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T02:23:14.733Z] d65c8cfc05b1: Download complete [2022-11-08T02:23:15.001Z] 699f458cf7ca: Verifying Checksum [2022-11-08T02:23:15.001Z] 699f458cf7ca: Download complete [2022-11-08T02:23:15.270Z] 8998bd30e6a1: Verifying Checksum [2022-11-08T02:23:15.270Z] 8998bd30e6a1: Download complete [2022-11-08T02:23:17.208Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T02:23:17.208Z] 2437ff75d9bd: Download complete [2022-11-08T02:23:19.149Z] 8998bd30e6a1: Pull complete [2022-11-08T02:23:20.563Z] 04944245beec: Pull complete [2022-11-08T02:23:21.528Z] 699f458cf7ca: Pull complete [2022-11-08T02:23:21.795Z] 765212b225bb: Pull complete [2022-11-08T02:23:22.760Z] f23df028b6ca: Pull complete [2022-11-08T02:23:22.760Z] d65c8cfc05b1: Pull complete [2022-11-08T02:23:37.755Z] 2437ff75d9bd: Pull complete [2022-11-08T02:23:37.755Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T02:23:37.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T02:23:37.755Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T02:23:37.943Z] prd-ubuntu20.04-docker-arm64-4c-16g-118565 does not seem to be running inside a container [2022-11-08T02:23:38.016Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-08T02:23:40.913Z] $ docker top 8052720ed84f3fc66c893377c320eef74b731ea3c47523e2bd64b34adcd7ba0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:23:41.749Z] ---> job-cost.sh [2022-11-08T02:23:41.749Z] lf-activate-venv: SKIPPING [2022-11-08T02:23:41.749Z] INFO: No Stack... [2022-11-08T02:23:42.330Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T02:23:42.913Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T02:23:43.553Z] + cut -d, -f6 [2022-11-08T02:23:43.553Z] + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock [2022-11-08T02:23:43.620Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-7-stack-cost] [2022-11-08T02:23:43.626Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-7-stack-cost] did not exist. Created. [2022-11-08T02:23:43.626Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T02:23:44.277Z] /w/workspace/device-onvif-camera/7@tmp/durable-83dcb428/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T02:23:44.931Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T02:23:44.944Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T02:23:45.003Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T02:23:45.010Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T02:23:45.032Z] $ docker stop --time=1 8052720ed84f3fc66c893377c320eef74b731ea3c47523e2bd64b34adcd7ba0d [2022-11-08T02:23:46.592Z] $ docker rm -f 8052720ed84f3fc66c893377c320eef74b731ea3c47523e2bd64b34adcd7ba0d [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-11-08T02:23:46.973Z] provisioning config files... [2022-11-08T02:23:46.980Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config15967714911062264315tmp [Pipeline] { [Pipeline] sh [2022-11-08T02:23:47.266Z] + set +x [2022-11-08T02:23:47.266Z] + curl -s https://codecov.io/bash [2022-11-08T02:23:47.266Z] + bash -s -- [2022-11-08T02:23:47.266Z] [2022-11-08T02:23:47.266Z] _____ _ [2022-11-08T02:23:47.266Z] / ____| | | [2022-11-08T02:23:47.266Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T02:23:47.266Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T02:23:47.266Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T02:23:47.266Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T02:23:47.266Z] Bash-1.0.6 [2022-11-08T02:23:47.266Z] [2022-11-08T02:23:47.266Z] [2022-11-08T02:23:47.266Z] ==> git version 2.25.1 found [2022-11-08T02:23:47.266Z] ==> 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-11-08T02:23:47.266Z] Release-Date: 2020-01-08 [2022-11-08T02:23:47.266Z] 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-11-08T02:23:47.266Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T02:23:47.266Z] ==> Jenkins CI detected. [2022-11-08T02:23:47.266Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-185 [2022-11-08T02:23:47.266Z] project root: . [2022-11-08T02:23:47.266Z] --> token set from env [2022-11-08T02:23:47.266Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T02:23:47.266Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T02:23:47.266Z] ==> Python coveragepy not found [2022-11-08T02:23:47.266Z] ==> Searching for coverage reports in: [2022-11-08T02:23:47.266Z] + . [2022-11-08T02:23:47.266Z] -> Found 1 reports [2022-11-08T02:23:47.266Z] ==> Detecting git/mercurial file structure [2022-11-08T02:23:47.266Z] ==> Reading reports [2022-11-08T02:23:47.266Z] + ./coverage.out bytes=79184 [2022-11-08T02:23:47.266Z] ==> Appending adjustments [2022-11-08T02:23:47.266Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T02:23:47.525Z] + Found adjustments [2022-11-08T02:23:47.525Z] ==> Gzipping contents [2022-11-08T02:23:47.525Z] 12K /tmp/codecov.uPo8Sh.gz [2022-11-08T02:23:47.525Z] ==> Uploading reports [2022-11-08T02:23:47.525Z] url: https://codecov.io [2022-11-08T02:23:47.525Z] query: branch=PR-185&commit=5667202f3352339af0b8de9d7c90f315fba2c531&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-11-08T02:23:47.525Z] -> Pinging Codecov [2022-11-08T02:23:47.525Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-185&commit=5667202f3352339af0b8de9d7c90f315fba2c531&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= [2022-11-08T02:23:47.783Z] -> Uploading to [2022-11-08T02:23:47.783Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/F29A59C45E3A92E06B3E522C9905F8EF/5667202f3352339af0b8de9d7c90f315fba2c531/466a3603-4858-4753-a05e-da1111957eca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T022347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bdf7300f0832223975d07208270a598588beee6d9cf84feb3ee10b4b4fc58437 [2022-11-08T02:23:47.783Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T02:23:47.783Z] Dload Upload Total Spent Left Speed [2022-11-08T02:23:48.042Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10827 0 0 100 10827 0 46668 --:--:-- --:--:-- --:--:-- 46668 [2022-11-08T02:23:48.042Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/5667202f3352339af0b8de9d7c90f315fba2c531 [Pipeline] } [2022-11-08T02:23:48.049Z] 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-11-08T02:23:48.705Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-185/archives ] [2022-11-08T02:23:48.705Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-11-08T02:23:48.705Z] total 16 [2022-11-08T02:23:48.705Z] drwxr-xr-x 3 root root 4096 Nov 8 02:13 . [2022-11-08T02:23:48.705Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 02:13 .. [2022-11-08T02:23:48.705Z] drwxr-xr-x 2 root root 4096 Nov 8 02:13 cost [2022-11-08T02:23:48.705Z] -rw-r--r-- 1 root root 91 Nov 8 02:13 cost.csv [2022-11-08T02:23:48.705Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-11-08T02:23:48.705Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives [2022-11-08T02:23:48.705Z] total 16 [2022-11-08T02:23:48.705Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 02:13 . [2022-11-08T02:23:48.705Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 02:13 .. [2022-11-08T02:23:48.705Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 02:13 cost [2022-11-08T02:23:48.705Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 8 02:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:23:48.990Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:23:49.843Z] ---> package-listing.sh [2022-11-08T02:23:49.843Z] ++ facter osfamily [2022-11-08T02:23:49.843Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T02:23:50.103Z] + OS_FAMILY=debian [2022-11-08T02:23:50.103Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-185 [2022-11-08T02:23:50.103Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T02:23:50.103Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T02:23:50.103Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T02:23:50.103Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T02:23:50.103Z] + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' [2022-11-08T02:23:50.103Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T02:23:50.103Z] + case "${OS_FAMILY}" in [2022-11-08T02:23:50.103Z] + dpkg -l [2022-11-08T02:23:50.103Z] + grep '^ii' [2022-11-08T02:23:50.103Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T02:23:50.103Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T02:23:50.103Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T02:23:50.103Z] + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' [2022-11-08T02:23:50.103Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-185/archives/ [2022-11-08T02:23:50.103Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-185/archives/ [Pipeline] echo [2022-11-08T02:23:50.113Z] 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-08T02:23:50.390Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T02:23:50.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T02:23:50.945Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T02:23:51.006Z] prd-ubuntu20.04-docker-8c-8g-118561 does not seem to be running inside a container [2022-11-08T02:23:51.046Z] $ 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-185/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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-08T02:23:51.263Z] $ docker top 4b1017fc59a34e1061c64895c98e104c9a74dd1c5e6d01883bd9c9bdc24647b6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T02:23:51.605Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T02:23:51.891Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T02:23:52.176Z] + ls /var/log/sa-host [2022-11-08T02:23:52.176Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T02:23:52.251Z] provisioning config files... [2022-11-08T02:23:52.260Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config2830927637641543474tmp [Pipeline] { [Pipeline] echo [2022-11-08T02:23:52.275Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:23:52.557Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T02:23:52.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:23:52.891Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T02:23:52.898Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:23:53.180Z] ---> sudo-logs.sh [2022-11-08T02:23:53.180Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T02:23:53.200Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:23:53.482Z] ---> job-cost.sh [2022-11-08T02:23:53.482Z] lf-activate-venv: SKIPPING [2022-11-08T02:23:53.482Z] DEBUG: total: 0.2199999988079071 [2022-11-08T02:23:53.482Z] INFO: Retrieving Stack Cost... [2022-11-08T02:23:54.069Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T02:23:54.329Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T02:23:54.337Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T02:23:54.619Z] ---> logs-deploy.sh [2022-11-08T02:23:54.619Z] lf-activate-venv: SKIPPING [2022-11-08T02:23:54.619Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-185/7 [2022-11-08T02:23:54.619Z] INFO: archiving workspace using pattern(s): [2022-11-08T02:23:55.554Z] Archives upload complete. [2022-11-08T02:23:55.554Z] INFO: archiving logs to Nexus