Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8a3386b2ee541d18e88ea65fa18280a00a2df7ca rather than 93dadf11464e800d463b181b6237fc617ac7c8d5 Obtained Jenkinsfile from 8a3386b2ee541d18e88ea65fa18280a00a2df7ca 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-ssh12657179303527462601.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh13578501083446391589.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-152/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-152/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9857206351255895267.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh4238280380236614419.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-152/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-152/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16974182885219522262.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-28618 in /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-152 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8a3386b2ee541d18e88ea65fa18280a00a2df7ca into PR head commit 93dadf11464e800d463b181b6237fc617ac7c8d5 Merge succeeded, producing f8ac421e3ef88557a1422c30c42905bd5153228e Checking out Revision f8ac421e3ef88557a1422c30c42905bd5153228e (PR-152) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8a3386b2ee541d18e88ea65fa18280a00a2df7ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f8ac421e3ef88557a1422c30c42905bd5153228e # timeout=10 Commit message: "Merge commit '8a3386b2ee541d18e88ea65fa18280a00a2df7ca' into HEAD" > git rev-list --no-walk 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-07T10:11:28.888Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-07T10:11:28.945Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-07T10:11:28.963Z] ========================================================= [2022-09-07T10:11:28.963Z] EdgeX Global Pipelines Version Info [2022-09-07T10:11:28.963Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:11:29.713Z] ------------------- [2022-09-07T10:11:29.714Z] stable info: [2022-09-07T10:11:29.714Z] ------------------- [2022-09-07T10:11:29.714Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-07T10:11:29.714Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-07T10:11:29.714Z] Message: update stable to v1.0.239 [2022-09-07T10:11:30.292Z] ------------------- [2022-09-07T10:11:30.292Z] experimental info: [2022-09-07T10:11:30.292Z] ------------------- [2022-09-07T10:11:30.292Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-07T10:11:30.292Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-07T10:11:30.292Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-07T10:11:30.470Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-07T10:11:30.479Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-07T10:11:30.491Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-07T10:11:30.502Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-07T10:11:30.518Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-07T10:11:30.532Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-07T10:11:30.543Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-07T10:11:30.554Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-07T10:11:30.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-07T10:11:30.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-07T10:11:30.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-07T10:11:30.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-07T10:11:30.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-07T10:11:30.634Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-07T10:11:30.643Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-07T10:11:30.654Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-07T10:11:30.667Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-07T10:11:30.680Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-07T10:11:30.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-07T10:11:30.704Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-07T10:11:30.716Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-07T10:11:30.725Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-07T10:11:30.733Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-07T10:11:30.741Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-07T10:11:30.750Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-07T10:11:30.761Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-07T10:11:30.772Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-07T10:11:30.783Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-152 [Pipeline] echo [2022-09-07T10:11:30.799Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-152 [Pipeline] echo [2022-09-07T10:11:30.814Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-152 [Pipeline] echo [2022-09-07T10:11:30.825Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f8ac421e3ef88557a1422c30c42905bd5153228e [Pipeline] echo [2022-09-07T10:11:30.837Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f8ac421 [Pipeline] echo [2022-09-07T10:11:30.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-07T10:11:30.886Z] provisioning config files... [2022-09-07T10:11:30.899Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config2862125019641634700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:11:31.212Z] ---> docker-login.sh [2022-09-07T10:11:31.213Z] nexus3.edgexfoundry.org:10001 [2022-09-07T10:11:31.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:31.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:31.735Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:31.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:31.735Z] [2022-09-07T10:11:31.735Z] Login Succeeded [2022-09-07T10:11:31.735Z] nexus3.edgexfoundry.org:10002 [2022-09-07T10:11:31.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:31.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:31.735Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:31.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:31.735Z] [2022-09-07T10:11:31.735Z] Login Succeeded [2022-09-07T10:11:31.735Z] nexus3.edgexfoundry.org:10003 [2022-09-07T10:11:31.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:31.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:31.995Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:31.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:31.995Z] [2022-09-07T10:11:31.995Z] Login Succeeded [2022-09-07T10:11:31.995Z] nexus3.edgexfoundry.org:10004 [2022-09-07T10:11:31.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:31.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:31.995Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:31.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:31.995Z] [2022-09-07T10:11:31.995Z] Login Succeeded [2022-09-07T10:11:31.995Z] docker.io [2022-09-07T10:11:32.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:32.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:32.517Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:32.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:32.517Z] [2022-09-07T10:11:32.517Z] Login Succeeded [2022-09-07T10:11:32.517Z] ---> docker-login.sh ends [Pipeline] } [2022-09-07T10:11:32.525Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-07T10:11:32.908Z] + git rev-list -1 --merges f8ac421e3ef88557a1422c30c42905bd5153228e~1..f8ac421e3ef88557a1422c30c42905bd5153228e [Pipeline] echo [2022-09-07T10:11:32.936Z] -----------> git rev-list -1 --merges f8ac421e3ef88557a1422c30c42905bd5153228e~1..f8ac421e3ef88557a1422c30c42905bd5153228e f8ac421e3ef88557a1422c30c42905bd5153228e [2022-09-07T10:11:32.936Z] f8ac421e3ef88557a1422c30c42905bd5153228e [false] [Pipeline] sh [2022-09-07T10:11:33.232Z] + git log --format=format:%s -1 f8ac421e3ef88557a1422c30c42905bd5153228e [Pipeline] echo [2022-09-07T10:11:33.248Z] ========================================================= [2022-09-07T10:11:33.248Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-07T10:11:33.248Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-07T10:11:33.584Z] + git log --format=format:%s -1 f8ac421e3ef88557a1422c30c42905bd5153228e [Pipeline] echo [2022-09-07T10:11:33.596Z] [semverPrep] GIT_COMMIT: f8ac421e3ef88557a1422c30c42905bd5153228e, Commit Message: Merge commit '8a3386b2ee541d18e88ea65fa18280a00a2df7ca' into HEAD [Pipeline] echo [2022-09-07T10:11:33.605Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-07T10:11:33.940Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-07T10:11:33.940Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-07T10:11:33.940Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-07T10:11:33.940Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-07T10:11:33.940Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-07T10:11:33.940Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-07T10:11:33.940Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:11:34.285Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-07T10:11:34.285Z] [2022-09-07T10:11:34.285Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:11:34.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-07T10:11:34.595Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-07T10:11:34.595Z] b85a868b505f: Pulling fs layer [2022-09-07T10:11:34.595Z] e2be974225ed: Pulling fs layer [2022-09-07T10:11:34.595Z] 339a4e72a1f5: Pulling fs layer [2022-09-07T10:11:34.595Z] 988bab9f4d93: Pulling fs layer [2022-09-07T10:11:34.595Z] 1469e6f7b9e6: Pulling fs layer [2022-09-07T10:11:34.595Z] eaf3925da568: Pulling fs layer [2022-09-07T10:11:34.595Z] bab4dde63d76: Pulling fs layer [2022-09-07T10:11:34.595Z] bde34c3a00c8: Pulling fs layer [2022-09-07T10:11:34.595Z] b352a97aabf1: Pulling fs layer [2022-09-07T10:11:34.595Z] 4872d77fe225: Pulling fs layer [2022-09-07T10:11:34.595Z] 5851b861e8e6: Pulling fs layer [2022-09-07T10:11:34.595Z] 988bab9f4d93: Waiting [2022-09-07T10:11:34.595Z] 1469e6f7b9e6: Waiting [2022-09-07T10:11:34.595Z] b352a97aabf1: Waiting [2022-09-07T10:11:34.595Z] 4872d77fe225: Waiting [2022-09-07T10:11:34.595Z] eaf3925da568: Waiting [2022-09-07T10:11:34.595Z] 5851b861e8e6: Waiting [2022-09-07T10:11:34.595Z] bab4dde63d76: Waiting [2022-09-07T10:11:34.595Z] bde34c3a00c8: Waiting [2022-09-07T10:11:34.595Z] e2be974225ed: Verifying Checksum [2022-09-07T10:11:34.595Z] e2be974225ed: Download complete [2022-09-07T10:11:34.595Z] 988bab9f4d93: Verifying Checksum [2022-09-07T10:11:34.595Z] 988bab9f4d93: Download complete [2022-09-07T10:11:34.595Z] 1469e6f7b9e6: Verifying Checksum [2022-09-07T10:11:34.595Z] 1469e6f7b9e6: Download complete [2022-09-07T10:11:34.853Z] 339a4e72a1f5: Verifying Checksum [2022-09-07T10:11:34.853Z] 339a4e72a1f5: Download complete [2022-09-07T10:11:34.853Z] eaf3925da568: Verifying Checksum [2022-09-07T10:11:34.853Z] eaf3925da568: Download complete [2022-09-07T10:11:34.853Z] bde34c3a00c8: Download complete [2022-09-07T10:11:34.853Z] b352a97aabf1: Verifying Checksum [2022-09-07T10:11:34.853Z] b352a97aabf1: Download complete [2022-09-07T10:11:34.853Z] 4872d77fe225: Verifying Checksum [2022-09-07T10:11:34.853Z] 4872d77fe225: Download complete [2022-09-07T10:11:34.853Z] 5851b861e8e6: Verifying Checksum [2022-09-07T10:11:34.853Z] 5851b861e8e6: Download complete [2022-09-07T10:11:34.853Z] b85a868b505f: Download complete [2022-09-07T10:11:35.113Z] bab4dde63d76: Verifying Checksum [2022-09-07T10:11:35.113Z] bab4dde63d76: Download complete [2022-09-07T10:11:36.054Z] b85a868b505f: Pull complete [2022-09-07T10:11:36.354Z] e2be974225ed: Pull complete [2022-09-07T10:11:36.926Z] 339a4e72a1f5: Pull complete [2022-09-07T10:11:36.926Z] 988bab9f4d93: Pull complete [2022-09-07T10:11:37.184Z] 1469e6f7b9e6: Pull complete [2022-09-07T10:11:37.184Z] eaf3925da568: Pull complete [2022-09-07T10:11:39.091Z] bab4dde63d76: Pull complete [2022-09-07T10:11:39.091Z] bde34c3a00c8: Pull complete [2022-09-07T10:11:39.354Z] b352a97aabf1: Pull complete [2022-09-07T10:11:39.354Z] 4872d77fe225: Pull complete [2022-09-07T10:11:39.354Z] 5851b861e8e6: Pull complete [2022-09-07T10:11:39.354Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-07T10:11:39.354Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-07T10:11:39.354Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:11:39.452Z] prd-ubuntu20.04-docker-8c-8g-28618 does not seem to be running inside a container [2022-09-07T10:11:39.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-07T10:11:42.572Z] $ docker top 00292782a00969795712596e3932d00d815aca98225e33e94aaabd1c1684fbb9 -eo pid,comm [2022-09-07T10:11:42.637Z] 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-09-07T10:11:42.637Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-07T10:11:42.678Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-07T10:11:42.678Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-07T10:11:42.790Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-07T10:11:42.795Z] $ docker exec 00292782a00969795712596e3932d00d815aca98225e33e94aaabd1c1684fbb9 ssh-agent [2022-09-07T10:11:42.928Z] SSH_AUTH_SOCK=/tmp/ssh-pnMsYQN5NZcN/agent.33 [2022-09-07T10:11:42.928Z] SSH_AGENT_PID=40 [2022-09-07T10:11:42.935Z] Running ssh-add (command line suppressed) [2022-09-07T10:11:43.070Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_9087252543763403770.key (/w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_9087252543763403770.key) [2022-09-07T10:11:43.088Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-07T10:11:43.377Z] + git tag --points-at HEAD [Pipeline] } [2022-09-07T10:11:43.396Z] $ docker exec --env ******** --env ******** 00292782a00969795712596e3932d00d815aca98225e33e94aaabd1c1684fbb9 ssh-agent -k [2022-09-07T10:11:43.509Z] unset SSH_AUTH_SOCK; [2022-09-07T10:11:43.509Z] unset SSH_AGENT_PID; [2022-09-07T10:11:43.509Z] echo Agent pid 40 killed; [2022-09-07T10:11:43.523Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-07T10:11:43.550Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-07T10:11:43.550Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-07T10:11:43.694Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-07T10:11:43.698Z] $ docker exec 00292782a00969795712596e3932d00d815aca98225e33e94aaabd1c1684fbb9 ssh-agent [2022-09-07T10:11:43.832Z] SSH_AUTH_SOCK=/tmp/ssh-4CrNF3PJgCv0/agent.73 [2022-09-07T10:11:43.832Z] SSH_AGENT_PID=79 [2022-09-07T10:11:43.838Z] Running ssh-add (command line suppressed) [2022-09-07T10:11:43.970Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_2087173040406643784.key (/w/workspace/undry_device-onvif-camera_PR-152@tmp/private_key_2087173040406643784.key) [2022-09-07T10:11:43.983Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-07T10:11:44.271Z] + git semver init [2022-09-07T10:11:44.532Z] 2022-09-07 10:11:44,481 [run_init] DEBUG init version:0.0.0 force:False [2022-09-07T10:11:44.532Z] 2022-09-07 10:11:44,482 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-152/.semver [2022-09-07T10:11:44.532Z] 2022-09-07 10:11:44,482 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-152/.semver [2022-09-07T10:11:44.532Z] 2022-09-07 10:11:44,482 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-152/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-152, universal_newlines=False, shell=None, istream=None) [2022-09-07T10:11:45.475Z] 2022-09-07 10:11:45,441 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-152/.git/info/exclude [2022-09-07T10:11:45.476Z] 2022-09-07 10:11:45,442 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 with force:False [2022-09-07T10:11:45.476Z] 2022-09-07 10:11:45,442 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 [2022-09-07T10:11:45.476Z] 2022-09-07 10:11:45,447 [execute] INFO git cat-file --batch-check [2022-09-07T10:11:45.476Z] 2022-09-07 10:11:45,447 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-152/.semver, universal_newlines=False, shell=None, istream=) [2022-09-07T10:11:45.476Z] 2022-09-07 10:11:45,454 [execute] INFO git cat-file --batch [2022-09-07T10:11:45.476Z] 2022-09-07 10:11:45,454 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-152/.semver, universal_newlines=False, shell=None, istream=) [2022-09-07T10:11:45.476Z] 2022-09-07 10:11:45,459 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-152/.semver/PR-152 [2022-09-07T10:11:45.476Z] 0.0.0 [Pipeline] } [2022-09-07T10:11:45.753Z] $ docker exec --env ******** --env ******** 00292782a00969795712596e3932d00d815aca98225e33e94aaabd1c1684fbb9 ssh-agent -k [2022-09-07T10:11:45.867Z] unset SSH_AUTH_SOCK; [2022-09-07T10:11:45.868Z] unset SSH_AGENT_PID; [2022-09-07T10:11:45.868Z] echo Agent pid 79 killed; [2022-09-07T10:11:45.879Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-07T10:11:46.197Z] + git semver [Pipeline] } [2022-09-07T10:11:46.475Z] $ docker stop --time=1 00292782a00969795712596e3932d00d815aca98225e33e94aaabd1c1684fbb9 [2022-09-07T10:11:47.766Z] $ docker rm -f 00292782a00969795712596e3932d00d815aca98225e33e94aaabd1c1684fbb9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-07T10:11:48.118Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-07T10:11:48.394Z] Stashed 1 file(s) [Pipeline] echo [2022-09-07T10:11:48.397Z] [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-09-07T10:11:48.549Z] provisioning config files... [2022-09-07T10:11:48.559Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config3847695925086701781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:11:48.854Z] ---> docker-login.sh [2022-09-07T10:11:48.854Z] nexus3.edgexfoundry.org:10001 [2022-09-07T10:11:48.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:48.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:48.854Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:48.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:48.854Z] [2022-09-07T10:11:48.854Z] Login Succeeded [2022-09-07T10:11:48.854Z] nexus3.edgexfoundry.org:10002 [2022-09-07T10:11:48.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:49.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:49.115Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:49.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:49.115Z] [2022-09-07T10:11:49.115Z] Login Succeeded [2022-09-07T10:11:49.115Z] nexus3.edgexfoundry.org:10003 [2022-09-07T10:11:49.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:49.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:49.115Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:49.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:49.115Z] [2022-09-07T10:11:49.115Z] Login Succeeded [2022-09-07T10:11:49.115Z] nexus3.edgexfoundry.org:10004 [2022-09-07T10:11:49.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:49.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:49.377Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:49.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:49.377Z] [2022-09-07T10:11:49.377Z] Login Succeeded [2022-09-07T10:11:49.377Z] docker.io [2022-09-07T10:11:49.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:49.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:49.638Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:49.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:49.638Z] [2022-09-07T10:11:49.638Z] Login Succeeded [2022-09-07T10:11:49.638Z] ---> docker-login.sh ends [Pipeline] } [2022-09-07T10:11:49.645Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-07T10:11:49.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-07T10:11:49.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-07T10:11:49.726Z] ========================================================= [2022-09-07T10:11:49.726Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-07T10:11:49.726Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:11:50.047Z] + 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-09-07T10:11:50.047Z] Sending build context to Docker daemon 20.67MB [2022-09-07T10:11:50.047Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-07T10:11:50.047Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-07T10:11:50.307Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-07T10:11:50.307Z] 2408cc74d12b: Pulling fs layer [2022-09-07T10:11:50.307Z] ea60b727a1ce: Pulling fs layer [2022-09-07T10:11:50.307Z] 30c4a7721957: Pulling fs layer [2022-09-07T10:11:50.307Z] 370296b7ddb6: Pulling fs layer [2022-09-07T10:11:50.307Z] 7c6cee850709: Pulling fs layer [2022-09-07T10:11:50.307Z] 39a5fcdaea64: Pulling fs layer [2022-09-07T10:11:50.307Z] d94ebbe4e438: Pulling fs layer [2022-09-07T10:11:50.307Z] bcfd1f05c69d: Pulling fs layer [2022-09-07T10:11:50.307Z] 59ccb84bbe0f: Pulling fs layer [2022-09-07T10:11:50.307Z] bcfd1f05c69d: Waiting [2022-09-07T10:11:50.307Z] 59ccb84bbe0f: Waiting [2022-09-07T10:11:50.307Z] 7c6cee850709: Waiting [2022-09-07T10:11:50.307Z] d94ebbe4e438: Waiting [2022-09-07T10:11:50.307Z] 370296b7ddb6: Waiting [2022-09-07T10:11:50.307Z] 39a5fcdaea64: Waiting [2022-09-07T10:11:50.307Z] ea60b727a1ce: Verifying Checksum [2022-09-07T10:11:50.307Z] ea60b727a1ce: Download complete [2022-09-07T10:11:50.307Z] 7c6cee850709: Verifying Checksum [2022-09-07T10:11:50.307Z] 7c6cee850709: Download complete [2022-09-07T10:11:50.307Z] 39a5fcdaea64: Verifying Checksum [2022-09-07T10:11:50.307Z] 39a5fcdaea64: Download complete [2022-09-07T10:11:50.307Z] 2408cc74d12b: Verifying Checksum [2022-09-07T10:11:50.307Z] 2408cc74d12b: Download complete [2022-09-07T10:11:50.307Z] d94ebbe4e438: Download complete [2022-09-07T10:11:50.572Z] 2408cc74d12b: Pull complete [2022-09-07T10:11:50.572Z] ea60b727a1ce: Pull complete [2022-09-07T10:11:50.572Z] 30c4a7721957: Pull complete [2022-09-07T10:11:50.833Z] 59ccb84bbe0f: Verifying Checksum [2022-09-07T10:11:50.833Z] 59ccb84bbe0f: Download complete [2022-09-07T10:11:50.833Z] bcfd1f05c69d: Verifying Checksum [2022-09-07T10:11:50.833Z] bcfd1f05c69d: Download complete [2022-09-07T10:11:51.091Z] 370296b7ddb6: Verifying Checksum [2022-09-07T10:11:51.091Z] 370296b7ddb6: Download complete [2022-09-07T10:11:55.292Z] 370296b7ddb6: Pull complete [2022-09-07T10:11:55.292Z] 7c6cee850709: Pull complete [2022-09-07T10:11:55.292Z] 39a5fcdaea64: Pull complete [2022-09-07T10:11:55.292Z] d94ebbe4e438: Pull complete [2022-09-07T10:11:57.829Z] bcfd1f05c69d: Pull complete [2022-09-07T10:11:58.093Z] 59ccb84bbe0f: Pull complete [2022-09-07T10:11:58.093Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-07T10:11:58.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-07T10:11:58.093Z] ---> a4fb48ad2a94 [2022-09-07T10:11:58.093Z] Step 3/13 : ARG MAKE="make build" [2022-09-07T10:12:03.504Z] Still waiting to schedule task [2022-09-07T10:12:03.504Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-28619’ is offline [2022-09-07T10:12:04.688Z] ---> Running in 134bc2d286f0 [2022-09-07T10:12:04.688Z] Removing intermediate container 134bc2d286f0 [2022-09-07T10:12:04.688Z] ---> c459a98f172b [2022-09-07T10:12:04.688Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-07T10:12:04.688Z] ---> Running in 16709948260b [2022-09-07T10:12:04.688Z] Removing intermediate container 16709948260b [2022-09-07T10:12:04.688Z] ---> 44697ae99507 [2022-09-07T10:12:04.688Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-07T10:12:04.688Z] ---> Running in d900438304b5 [2022-09-07T10:12:04.688Z] Removing intermediate container d900438304b5 [2022-09-07T10:12:04.688Z] ---> 3a574b410023 [2022-09-07T10:12:04.688Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-07T10:12:04.688Z] ---> Running in 18d38a24cdfe [2022-09-07T10:12:04.688Z] Removing intermediate container 18d38a24cdfe [2022-09-07T10:12:04.688Z] ---> ca57d4b6d2e6 [2022-09-07T10:12:04.688Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-07T10:12:04.688Z] ---> Running in d70549d1557a [2022-09-07T10:12:05.258Z] Removing intermediate container d70549d1557a [2022-09-07T10:12:05.258Z] ---> d7b72d0f9021 [2022-09-07T10:12:05.258Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-07T10:12:05.258Z] ---> Running in cfba1d6b49a7 [2022-09-07T10:12:05.519Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-07T10:12:06.460Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-07T10:12:06.719Z] OK: 211 MiB in 51 packages [2022-09-07T10:12:06.980Z] Removing intermediate container cfba1d6b49a7 [2022-09-07T10:12:06.980Z] ---> 0c10a7088220 [2022-09-07T10:12:06.980Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-07T10:12:06.980Z] ---> Running in 0e19df852e41 [2022-09-07T10:12:06.980Z] Removing intermediate container 0e19df852e41 [2022-09-07T10:12:06.980Z] ---> 3d588aa8a29c [2022-09-07T10:12:06.980Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-07T10:12:07.259Z] ---> c4829593068a [2022-09-07T10:12:07.259Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-07T10:12:07.259Z] ---> Running in 54e93771327a [2022-09-07T10:12:33.883Z] Removing intermediate container 54e93771327a [2022-09-07T10:12:33.883Z] ---> be05440e9a64 [2022-09-07T10:12:33.883Z] Step 12/13 : COPY . . [2022-09-07T10:12:33.883Z] ---> 6695e795af52 [2022-09-07T10:12:33.883Z] Step 13/13 : RUN ${MAKE} [2022-09-07T10:12:33.883Z] ---> Running in 8da33e9b7748 [2022-09-07T10:12:33.883Z] noop [2022-09-07T10:12:33.883Z] Removing intermediate container 8da33e9b7748 [2022-09-07T10:12:33.883Z] ---> 46fc8099ac75 [2022-09-07T10:12:33.883Z] Successfully built 46fc8099ac75 [2022-09-07T10:12:33.883Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:12:34.194Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-07T10:12:34.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:12:34.273Z] prd-ubuntu20.04-docker-8c-8g-28618 does not seem to be running inside a container [2022-09-07T10:12:34.395Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-07T10:12:34.795Z] $ docker top 1987a373962c4f1213e18fb02741a56e4a20d88ff632865c9f02066eec9904ab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-07T10:12:35.164Z] + go version [2022-09-07T10:12:35.164Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-07T10:12:35.176Z] $ docker stop --time=1 1987a373962c4f1213e18fb02741a56e4a20d88ff632865c9f02066eec9904ab [2022-09-07T10:12:36.488Z] $ docker rm -f 1987a373962c4f1213e18fb02741a56e4a20d88ff632865c9f02066eec9904ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:12:36.915Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-07T10:12:36.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:12:36.997Z] prd-ubuntu20.04-docker-8c-8g-28618 does not seem to be running inside a container [2022-09-07T10:12:37.033Z] $ 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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-07T10:12:37.373Z] $ docker top 2386346d75709b6bf0c9175f2fb14f99857d5a9c98faf363f1e4e35cc5b5db15 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-07T10:12:37.729Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] fileExists [Pipeline] sh [2022-09-07T10:12:38.026Z] + make test [2022-09-07T10:12:38.026Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-07T10:12:38.285Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-07T10:12:50.506Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-07T10:12:50.506Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.043s coverage: 28.6% of statements [2022-09-07T10:12:50.506Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-07T10:12:50.506Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.547s coverage: 90.5% of statements [2022-09-07T10:12:58.639Z] 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-09-07T10:12:58.639Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-07T10:13:02.838Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-07T10:13:02.838Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-07T10:13:02.838Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-07T10:13:02.855Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-07T10:13:02.872Z] $ docker stop --time=1 2386346d75709b6bf0c9175f2fb14f99857d5a9c98faf363f1e4e35cc5b5db15 [2022-09-07T10:13:05.992Z] $ docker rm -f 2386346d75709b6bf0c9175f2fb14f99857d5a9c98faf363f1e4e35cc5b5db15 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-07T10:13:06.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-07T10:13:06.545Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-07T10:13:06.981Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-07T10:13:07.271Z] + ls -al . [2022-09-07T10:13:07.271Z] total 232 [2022-09-07T10:13:07.271Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 10:12 . [2022-09-07T10:13:07.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:11 .. [2022-09-07T10:13:07.271Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 10:12 .git [2022-09-07T10:13:07.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 10:11 .github [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 7 10:11 .gitignore [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 10:11 .golangci.yml [2022-09-07T10:13:07.271Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 10:11 .semver [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 7 10:11 Attribution.txt [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 7 10:11 CHANGELOG.md [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 7 10:11 Dockerfile [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 10:11 GOVERNANCE.md [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 7 10:11 Jenkinsfile [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 7 10:11 LICENSE [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 7 10:11 Makefile [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 7 10:11 OWNERS.md [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 7 10:11 README.md [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 10:11 VERSION [2022-09-07T10:13:07.271Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 10:11 bin [2022-09-07T10:13:07.271Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 10:11 cmd [2022-09-07T10:13:07.271Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 7 10:12 coverage.out [2022-09-07T10:13:07.271Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 7 10:11 doc [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 7 10:11 go.mod [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 7 10:11 go.sum [2022-09-07T10:13:07.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:11 internal [2022-09-07T10:13:07.271Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:11 snap [2022-09-07T10:13:07.271Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 7 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:13:07.641Z] + 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=f8ac421e3ef88557a1422c30c42905bd5153228e --label arch=amd64 --label version=0.0.0 . [2022-09-07T10:13:07.641Z] Sending build context to Docker daemon 20.75MB [2022-09-07T10:13:07.641Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-07T10:13:07.641Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-07T10:13:07.641Z] ---> 46fc8099ac75 [2022-09-07T10:13:07.641Z] Step 3/26 : ARG MAKE="make build" [2022-09-07T10:13:08.215Z] ---> Running in ac6abfb3db5d [2022-09-07T10:13:08.215Z] Removing intermediate container ac6abfb3db5d [2022-09-07T10:13:08.215Z] ---> 1f6b8581911f [2022-09-07T10:13:08.215Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-07T10:13:08.215Z] ---> Running in c17fa7f8e03c [2022-09-07T10:13:08.215Z] Removing intermediate container c17fa7f8e03c [2022-09-07T10:13:08.215Z] ---> cd7491de73e1 [2022-09-07T10:13:08.215Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-07T10:13:08.476Z] ---> Running in 001293c869c3 [2022-09-07T10:13:08.476Z] Removing intermediate container 001293c869c3 [2022-09-07T10:13:08.476Z] ---> 5d24eed5ba1b [2022-09-07T10:13:08.476Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-07T10:13:08.476Z] ---> Running in a8a017419fa0 [2022-09-07T10:13:08.737Z] Removing intermediate container a8a017419fa0 [2022-09-07T10:13:08.737Z] ---> 1962f5186278 [2022-09-07T10:13:08.737Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-07T10:13:08.737Z] ---> Running in e71d31136cf5 [2022-09-07T10:13:09.680Z] Removing intermediate container e71d31136cf5 [2022-09-07T10:13:09.680Z] ---> 0dc1fa723041 [2022-09-07T10:13:09.680Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-07T10:13:09.680Z] ---> Running in 7efcd155164c [2022-09-07T10:13:09.941Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-07T10:13:10.884Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-07T10:13:11.145Z] OK: 211 MiB in 51 packages [2022-09-07T10:13:11.716Z] Removing intermediate container 7efcd155164c [2022-09-07T10:13:11.716Z] ---> 23c10db0c1bf [2022-09-07T10:13:11.716Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-07T10:13:11.716Z] ---> Running in adf535a6deaa [2022-09-07T10:13:11.716Z] Removing intermediate container adf535a6deaa [2022-09-07T10:13:11.716Z] ---> a3d0bf22f34d [2022-09-07T10:13:11.716Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-07T10:13:11.976Z] ---> fdc1056d31cb [2022-09-07T10:13:11.976Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-07T10:13:11.976Z] ---> Running in a0a86542702c [2022-09-07T10:13:12.615Z] Removing intermediate container a0a86542702c [2022-09-07T10:13:12.615Z] ---> 124c8cab899c [2022-09-07T10:13:12.615Z] Step 12/26 : COPY . . [2022-09-07T10:13:13.558Z] ---> 1ca9110d5480 [2022-09-07T10:13:13.558Z] Step 13/26 : RUN ${MAKE} [2022-09-07T10:13:13.558Z] ---> Running in 81f0837c9551 [2022-09-07T10:13:13.817Z] CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-07T10:13:45.940Z] Removing intermediate container 81f0837c9551 [2022-09-07T10:13:45.940Z] ---> 79bcf1e64d4f [2022-09-07T10:13:45.940Z] Step 14/26 : FROM alpine:3.16 [2022-09-07T10:13:45.940Z] 3.16: Pulling from library/alpine [2022-09-07T10:13:45.940Z] 213ec9aee27d: Pulling fs layer [2022-09-07T10:13:45.940Z] 213ec9aee27d: Verifying Checksum [2022-09-07T10:13:45.940Z] 213ec9aee27d: Download complete [2022-09-07T10:13:45.940Z] 213ec9aee27d: Pull complete [2022-09-07T10:13:45.940Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-07T10:13:45.940Z] Status: Downloaded newer image for alpine:3.16 [2022-09-07T10:13:45.940Z] ---> 9c6f07244728 [2022-09-07T10:13:45.940Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-07T10:13:45.940Z] ---> Running in eff281e6379e [2022-09-07T10:13:45.940Z] Removing intermediate container eff281e6379e [2022-09-07T10:13:45.940Z] ---> 1b7034f63338 [2022-09-07T10:13:45.940Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-07T10:13:45.940Z] ---> Running in 043793486ea0 [2022-09-07T10:13:45.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-07T10:13:45.940Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-07T10:13:45.940Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-07T10:13:45.940Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-07T10:13:45.941Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-07T10:13:45.941Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-07T10:13:45.941Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-07T10:13:45.941Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-07T10:13:45.941Z] Executing busybox-1.35.0-r17.trigger [2022-09-07T10:13:45.941Z] OK: 8 MiB in 20 packages [2022-09-07T10:13:45.941Z] Removing intermediate container 043793486ea0 [2022-09-07T10:13:45.941Z] ---> db8e7aafca89 [2022-09-07T10:13:45.941Z] Step 17/26 : WORKDIR / [2022-09-07T10:13:45.941Z] ---> Running in 11e6bf9a3c50 [2022-09-07T10:13:45.941Z] Removing intermediate container 11e6bf9a3c50 [2022-09-07T10:13:45.941Z] ---> 2059c6755718 [2022-09-07T10:13:45.941Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-07T10:13:45.941Z] ---> ebe8b9931d31 [2022-09-07T10:13:45.941Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-07T10:13:45.941Z] ---> 8eae7c661321 [2022-09-07T10:13:45.941Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-07T10:13:45.941Z] ---> 8a158434272e [2022-09-07T10:13:45.941Z] Step 21/26 : EXPOSE 59984 [2022-09-07T10:13:45.941Z] ---> Running in ffb7ae1dd32d [2022-09-07T10:13:45.941Z] Removing intermediate container ffb7ae1dd32d [2022-09-07T10:13:45.941Z] ---> 8043479a3ed9 [2022-09-07T10:13:45.941Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-07T10:13:45.941Z] ---> Running in f261dfd1b595 [2022-09-07T10:13:45.941Z] Removing intermediate container f261dfd1b595 [2022-09-07T10:13:45.941Z] ---> 9baaccd108a1 [2022-09-07T10:13:45.941Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-07T10:13:45.941Z] ---> Running in 2e01d860b159 [2022-09-07T10:13:45.941Z] Removing intermediate container 2e01d860b159 [2022-09-07T10:13:45.941Z] ---> 5abc3999b8f2 [2022-09-07T10:13:45.941Z] Step 24/26 : LABEL arch=amd64 [2022-09-07T10:13:45.941Z] ---> Running in a5d73e5a4a28 [2022-09-07T10:13:45.941Z] Removing intermediate container a5d73e5a4a28 [2022-09-07T10:13:45.941Z] ---> 852d9729f93e [2022-09-07T10:13:45.941Z] Step 25/26 : LABEL git_sha=f8ac421e3ef88557a1422c30c42905bd5153228e [2022-09-07T10:13:45.941Z] ---> Running in 54d8a3f5a8d3 [2022-09-07T10:13:45.941Z] Removing intermediate container 54d8a3f5a8d3 [2022-09-07T10:13:45.941Z] ---> ceddb9e5faec [2022-09-07T10:13:45.941Z] Step 26/26 : LABEL version=0.0.0 [2022-09-07T10:13:45.941Z] ---> Running in 55c45aa1d21f [2022-09-07T10:13:45.941Z] Removing intermediate container 55c45aa1d21f [2022-09-07T10:13:45.941Z] ---> e5b0e11eb253 [2022-09-07T10:13:45.941Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-07T10:13:45.941Z] Successfully built e5b0e11eb253 [2022-09-07T10:13:46.203Z] 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-09-07T10:13:46.651Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-07T10:13:46.651Z] [2022-09-07T10:13:46.651Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:13:46.956Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-07T10:13:46.956Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-07T10:13:46.956Z] 5eb5b503b376: Pulling fs layer [2022-09-07T10:13:46.956Z] 5c69ac0246d0: Pulling fs layer [2022-09-07T10:13:46.956Z] ec43610c2a17: Pulling fs layer [2022-09-07T10:13:46.956Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-07T10:13:46.956Z] 33b1e0a273af: Pulling fs layer [2022-09-07T10:13:46.956Z] 5d3b04190fa2: Pulling fs layer [2022-09-07T10:13:46.956Z] 3a2ae6a8a46f: Waiting [2022-09-07T10:13:46.956Z] 33b1e0a273af: Waiting [2022-09-07T10:13:46.956Z] 2f39f015ded8: Pulling fs layer [2022-09-07T10:13:46.956Z] 2f39f015ded8: Waiting [2022-09-07T10:13:46.956Z] 5d3b04190fa2: Waiting [2022-09-07T10:13:46.956Z] 5c69ac0246d0: Verifying Checksum [2022-09-07T10:13:46.956Z] 5c69ac0246d0: Download complete [2022-09-07T10:13:46.956Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-07T10:13:46.956Z] 3a2ae6a8a46f: Download complete [2022-09-07T10:13:47.216Z] 33b1e0a273af: Verifying Checksum [2022-09-07T10:13:47.216Z] 33b1e0a273af: Download complete [2022-09-07T10:13:47.216Z] 5d3b04190fa2: Download complete [2022-09-07T10:13:47.216Z] ec43610c2a17: Verifying Checksum [2022-09-07T10:13:47.216Z] ec43610c2a17: Download complete [2022-09-07T10:13:47.216Z] 5eb5b503b376: Download complete [2022-09-07T10:13:47.782Z] 2f39f015ded8: Download complete [2022-09-07T10:13:48.722Z] 5eb5b503b376: Pull complete [2022-09-07T10:13:48.982Z] 5c69ac0246d0: Pull complete [2022-09-07T10:13:49.551Z] ec43610c2a17: Pull complete [2022-09-07T10:13:49.551Z] 3a2ae6a8a46f: Pull complete [2022-09-07T10:13:49.810Z] 33b1e0a273af: Pull complete [2022-09-07T10:13:49.810Z] 5d3b04190fa2: Pull complete [2022-09-07T10:13:55.090Z] 2f39f015ded8: Pull complete [2022-09-07T10:13:55.090Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-07T10:13:55.090Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-07T10:13:55.090Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:13:55.188Z] prd-ubuntu20.04-docker-8c-8g-28618 does not seem to be running inside a container [2022-09-07T10:13:55.224Z] $ 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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-07T10:13:59.802Z] $ docker top 085945f04ef439d75d9345398c261f68f632ceead864a4c6a78e0b1e5bcf3614 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:14:00.269Z] ---> job-cost.sh [2022-09-07T10:14:00.269Z] lf-activate-venv: SKIPPING [2022-09-07T10:14:00.269Z] INFO: No Stack... [2022-09-07T10:14:00.613Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-07T10:14:01.182Z] INFO: Archiving Costs [Pipeline] sh [2022-09-07T10:14:01.476Z] + cat /w/workspace/undry_device-onvif-camera_PR-152/archives/cost.csv [2022-09-07T10:14:01.477Z] + cut -d, -f6 [Pipeline] lock [2022-09-07T10:14:01.489Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-152-3-stack-cost] [2022-09-07T10:14:01.493Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-3-stack-cost] did not exist. Created. [2022-09-07T10:14:01.493Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-152-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-07T10:14:01.802Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-07T10:14:01.828Z] Stashed 1 file(s) [Pipeline] } [2022-09-07T10:14:01.834Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-07T10:14:01.853Z] $ docker stop --time=1 085945f04ef439d75d9345398c261f68f632ceead864a4c6a78e0b1e5bcf3614 [2022-09-07T10:14:03.170Z] $ docker rm -f 085945f04ef439d75d9345398c261f68f632ceead864a4c6a78e0b1e5bcf3614 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-07T10:14:58.805Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-28621 in /w/workspace/undry_device-onvif-camera_PR-152 [Pipeline] { [Pipeline] ws [2022-09-07T10:14:58.818Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-09-07T10:14:58.865Z] Selected Git installation does not exist. Using Default [2022-09-07T10:14:58.865Z] The recommended git tool is: NONE [2022-09-07T10:15:06.423Z] using credential edgex-jenkins-ssh [2022-09-07T10:15:06.443Z] Cloning the remote Git repository [2022-09-07T10:15:06.516Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-07T10:15:06.608Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-09-07T10:15:06.715Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-07T10:15:06.716Z] > git --version # timeout=10 [2022-09-07T10:15:06.746Z] > git --version # 'git version 2.25.1' [2022-09-07T10:15:06.748Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-07T10:15:06.827Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-07T10:15:08.138Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-07T10:15:08.173Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-07T10:15:09.019Z] Merging remotes/origin/main commit 8a3386b2ee541d18e88ea65fa18280a00a2df7ca into PR head commit 93dadf11464e800d463b181b6237fc617ac7c8d5 [2022-09-07T10:15:08.273Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-07T10:15:08.337Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-07T10:15:08.338Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-07T10:15:08.356Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/152/head:refs/remotes/origin/PR-152 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-07T10:15:09.042Z] > git config core.sparsecheckout # timeout=10 [2022-09-07T10:15:09.081Z] > git checkout -f 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 [2022-09-07T10:15:09.347Z] > git remote # timeout=10 [2022-09-07T10:15:09.369Z] > git config --get remote.origin.url # timeout=10 [2022-09-07T10:15:09.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-07T10:15:09.399Z] > git merge 8a3386b2ee541d18e88ea65fa18280a00a2df7ca # timeout=10 [2022-09-07T10:15:09.833Z] Merge succeeded, producing ab3d09b099481aa8bd5fbc1bb8a44ed8be8aa420 [2022-09-07T10:15:09.833Z] Checking out Revision ab3d09b099481aa8bd5fbc1bb8a44ed8be8aa420 (PR-152) [2022-09-07T10:15:09.812Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-07T10:15:09.845Z] > git config core.sparsecheckout # timeout=10 [2022-09-07T10:15:09.858Z] > git checkout -f ab3d09b099481aa8bd5fbc1bb8a44ed8be8aa420 # timeout=10 [2022-09-07T10:15:14.450Z] Commit message: "Merge commit '8a3386b2ee541d18e88ea65fa18280a00a2df7ca' into HEAD" [2022-09-07T10:15:14.462Z] > git rev-list --no-walk 93dadf11464e800d463b181b6237fc617ac7c8d5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-07T10:15:15.396Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-07T10:15:15.396Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-07T10:15:15.396Z] Dload Upload Total Spent Left Speed [2022-09-07T10:15:15.396Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 186k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2022-09-07T10:15:16.175Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-07T10:15:16.529Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-07T10:15:16.529Z] + sudo tee /etc/docker/daemon.new [2022-09-07T10:15:16.529Z] { [2022-09-07T10:15:16.529Z] "registry-mirrors": [ [2022-09-07T10:15:16.529Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-07T10:15:16.529Z] ], [2022-09-07T10:15:16.529Z] "bip": "10.250.0.254/24", [2022-09-07T10:15:16.529Z] "hosts": [ [2022-09-07T10:15:16.529Z] "tcp://0.0.0.0:5555", [2022-09-07T10:15:16.529Z] "unix:///var/run/docker.sock" [2022-09-07T10:15:16.529Z] ], [2022-09-07T10:15:16.529Z] "mtu": 1458, [2022-09-07T10:15:16.529Z] "selinux-enabled": true, [2022-09-07T10:15:16.529Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-07T10:15:16.529Z] } [Pipeline] sh [2022-09-07T10:15:17.005Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-07T10:15:17.346Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-07T10:15:35.885Z] provisioning config files... [2022-09-07T10:15:35.916Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config9219517266156910060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:15:36.302Z] ---> docker-login.sh [2022-09-07T10:15:36.302Z] nexus3.edgexfoundry.org:10001 [2022-09-07T10:15:36.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:15:37.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:15:37.505Z] Configure a credential helper to remove this warning. See [2022-09-07T10:15:37.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:15:37.505Z] [2022-09-07T10:15:37.505Z] Login Succeeded [2022-09-07T10:15:37.505Z] nexus3.edgexfoundry.org:10002 [2022-09-07T10:15:37.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:15:38.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:15:38.063Z] Configure a credential helper to remove this warning. See [2022-09-07T10:15:38.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:15:38.063Z] [2022-09-07T10:15:38.063Z] Login Succeeded [2022-09-07T10:15:38.063Z] nexus3.edgexfoundry.org:10003 [2022-09-07T10:15:38.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:15:38.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:15:38.624Z] Configure a credential helper to remove this warning. See [2022-09-07T10:15:38.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:15:38.624Z] [2022-09-07T10:15:38.624Z] Login Succeeded [2022-09-07T10:15:38.624Z] nexus3.edgexfoundry.org:10004 [2022-09-07T10:15:38.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:15:39.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:15:39.178Z] Configure a credential helper to remove this warning. See [2022-09-07T10:15:39.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:15:39.178Z] [2022-09-07T10:15:39.178Z] Login Succeeded [2022-09-07T10:15:39.178Z] docker.io [2022-09-07T10:15:39.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:15:39.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:15:39.733Z] Configure a credential helper to remove this warning. See [2022-09-07T10:15:39.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:15:39.733Z] [2022-09-07T10:15:39.733Z] Login Succeeded [2022-09-07T10:15:39.733Z] ---> docker-login.sh ends [Pipeline] } [2022-09-07T10:15:39.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-07T10:15:40.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-07T10:15:40.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-07T10:15:40.102Z] ========================================================= [2022-09-07T10:15:40.102Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-07T10:15:40.102Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:15:40.476Z] + 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-09-07T10:15:41.083Z] Sending build context to Docker daemon 14.16MB [2022-09-07T10:15:41.083Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-07T10:15:41.083Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-07T10:15:41.360Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-07T10:15:41.360Z] b3c136eddcbf: Pulling fs layer [2022-09-07T10:15:41.360Z] c0a3192eca97: Pulling fs layer [2022-09-07T10:15:41.360Z] a050256f5b6f: Pulling fs layer [2022-09-07T10:15:41.360Z] 656be50a0ddc: Pulling fs layer [2022-09-07T10:15:41.360Z] 2bbca73fdf42: Pulling fs layer [2022-09-07T10:15:41.360Z] 46d945488cbd: Pulling fs layer [2022-09-07T10:15:41.360Z] 8a5474983e97: Pulling fs layer [2022-09-07T10:15:41.360Z] 329c88fbcd65: Pulling fs layer [2022-09-07T10:15:41.360Z] 656be50a0ddc: Waiting [2022-09-07T10:15:41.360Z] 2bbca73fdf42: Waiting [2022-09-07T10:15:41.360Z] 46d945488cbd: Waiting [2022-09-07T10:15:41.360Z] 8a5474983e97: Waiting [2022-09-07T10:15:41.360Z] 329c88fbcd65: Waiting [2022-09-07T10:15:41.360Z] a050256f5b6f: Verifying Checksum [2022-09-07T10:15:41.360Z] a050256f5b6f: Download complete [2022-09-07T10:15:41.360Z] c0a3192eca97: Verifying Checksum [2022-09-07T10:15:41.360Z] c0a3192eca97: Download complete [2022-09-07T10:15:41.360Z] 2bbca73fdf42: Verifying Checksum [2022-09-07T10:15:41.360Z] 2bbca73fdf42: Download complete [2022-09-07T10:15:41.360Z] 46d945488cbd: Verifying Checksum [2022-09-07T10:15:41.360Z] 46d945488cbd: Download complete [2022-09-07T10:15:41.360Z] b3c136eddcbf: Verifying Checksum [2022-09-07T10:15:41.360Z] b3c136eddcbf: Download complete [2022-09-07T10:15:42.366Z] b3c136eddcbf: Pull complete [2022-09-07T10:15:42.649Z] 329c88fbcd65: Verifying Checksum [2022-09-07T10:15:42.649Z] 329c88fbcd65: Download complete [2022-09-07T10:15:42.930Z] c0a3192eca97: Pull complete [2022-09-07T10:15:43.539Z] a050256f5b6f: Pull complete [2022-09-07T10:15:43.816Z] 8a5474983e97: Verifying Checksum [2022-09-07T10:15:43.816Z] 8a5474983e97: Download complete [2022-09-07T10:15:44.812Z] 656be50a0ddc: Verifying Checksum [2022-09-07T10:15:44.812Z] 656be50a0ddc: Download complete [2022-09-07T10:15:59.942Z] 656be50a0ddc: Pull complete [2022-09-07T10:15:59.942Z] 2bbca73fdf42: Pull complete [2022-09-07T10:15:59.942Z] 46d945488cbd: Pull complete [2022-09-07T10:16:05.384Z] 8a5474983e97: Pull complete [2022-09-07T10:16:08.804Z] 329c88fbcd65: Pull complete [2022-09-07T10:16:08.804Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-07T10:16:08.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-07T10:16:08.804Z] ---> ff4287adb874 [2022-09-07T10:16:08.804Z] Step 3/13 : ARG MAKE="make build" [2022-09-07T10:16:10.796Z] ---> Running in abf6cfd40653 [2022-09-07T10:16:10.796Z] Removing intermediate container abf6cfd40653 [2022-09-07T10:16:10.796Z] ---> f23535b759f9 [2022-09-07T10:16:10.796Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-07T10:16:10.796Z] ---> Running in 4ffed755de8c [2022-09-07T10:16:11.398Z] Removing intermediate container 4ffed755de8c [2022-09-07T10:16:11.398Z] ---> 7ccfdaa967c8 [2022-09-07T10:16:11.398Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-07T10:16:11.398Z] ---> Running in 5cd28a6c1bab [2022-09-07T10:16:11.677Z] Removing intermediate container 5cd28a6c1bab [2022-09-07T10:16:11.677Z] ---> f4bd3b803007 [2022-09-07T10:16:11.677Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-07T10:16:11.677Z] ---> Running in d08a3f474365 [2022-09-07T10:16:12.284Z] Removing intermediate container d08a3f474365 [2022-09-07T10:16:12.284Z] ---> 65a81df98fcd [2022-09-07T10:16:12.284Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-07T10:16:12.284Z] ---> Running in 6b93657346ca [2022-09-07T10:16:14.277Z] Removing intermediate container 6b93657346ca [2022-09-07T10:16:14.278Z] ---> e74a1640b820 [2022-09-07T10:16:14.278Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-07T10:16:14.278Z] ---> Running in eb316e67729c [2022-09-07T10:16:15.277Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-07T10:16:16.265Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-07T10:16:17.256Z] OK: 221 MiB in 51 packages [2022-09-07T10:16:18.246Z] Removing intermediate container eb316e67729c [2022-09-07T10:16:18.246Z] ---> f603447f615a [2022-09-07T10:16:18.246Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-07T10:16:18.246Z] ---> Running in 64a51aa50cdc [2022-09-07T10:16:18.855Z] Removing intermediate container 64a51aa50cdc [2022-09-07T10:16:18.855Z] ---> b6e11d42dafc [2022-09-07T10:16:18.855Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-07T10:16:19.462Z] ---> 51fced579188 [2022-09-07T10:16:19.462Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-07T10:16:19.462Z] ---> Running in 2c34e9842d72 [2022-09-07T10:17:16.038Z] Removing intermediate container 2c34e9842d72 [2022-09-07T10:17:16.038Z] ---> f4c115282bac [2022-09-07T10:17:16.038Z] Step 12/13 : COPY . . [2022-09-07T10:17:16.038Z] ---> ed270831897d [2022-09-07T10:17:16.038Z] Step 13/13 : RUN ${MAKE} [2022-09-07T10:17:16.038Z] ---> Running in 6f80382f7288 [2022-09-07T10:17:16.038Z] noop [2022-09-07T10:17:16.314Z] Removing intermediate container 6f80382f7288 [2022-09-07T10:17:16.314Z] ---> f14b4dcfcbb8 [2022-09-07T10:17:16.590Z] Successfully built f14b4dcfcbb8 [2022-09-07T10:17:16.590Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:17:16.965Z] + docker inspect -f . ci-base-image-arm64 [2022-09-07T10:17:16.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:17:17.231Z] prd-ubuntu20.04-docker-arm64-4c-16g-28621 does not seem to be running inside a container [2022-09-07T10:17:17.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-07T10:17:18.826Z] $ docker top 3c4d7095035d3464a463ef5179580541888e1a657f0aa51f98424c5ffc8a8f5f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-07T10:17:19.772Z] + go version [2022-09-07T10:17:19.772Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-07T10:17:19.803Z] $ docker stop --time=1 3c4d7095035d3464a463ef5179580541888e1a657f0aa51f98424c5ffc8a8f5f [2022-09-07T10:17:21.498Z] $ docker rm -f 3c4d7095035d3464a463ef5179580541888e1a657f0aa51f98424c5ffc8a8f5f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:17:22.138Z] + docker inspect -f . ci-base-image-arm64 [2022-09-07T10:17:22.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:17:22.402Z] prd-ubuntu20.04-docker-arm64-4c-16g-28621 does not seem to be running inside a container [2022-09-07T10:17:22.508Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-07T10:17:23.925Z] $ docker top 060f4506aad6a306044fa213c11d1af2929d5e9ecf0306eadd0f98f9ad8c3fe4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-07T10:17:24.866Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-09-07T10:17:25.552Z] + make test [2022-09-07T10:17:25.552Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-07T10:17:27.552Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-07T10:19:04.445Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-07T10:19:16.904Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.230s coverage: 28.6% of statements [2022-09-07T10:19:16.904Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-07T10:19:32.029Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 24.728s coverage: 90.5% of statements [2022-09-07T10:19:32.626Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-07T10:19:32.626Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-07T10:19:59.536Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-07T10:19:59.536Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-07T10:19:59.536Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-07T10:19:59.559Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-07T10:19:59.582Z] $ docker stop --time=1 060f4506aad6a306044fa213c11d1af2929d5e9ecf0306eadd0f98f9ad8c3fe4 [2022-09-07T10:20:01.458Z] $ docker rm -f 060f4506aad6a306044fa213c11d1af2929d5e9ecf0306eadd0f98f9ad8c3fe4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-07T10:20:02.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-07T10:20:02.600Z] Warning: overwriting stash ‘coverage-report’ [2022-09-07T10:20:03.234Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-07T10:20:03.642Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-07T10:20:03.977Z] + ls -al . [2022-09-07T10:20:03.977Z] total 228 [2022-09-07T10:20:03.977Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 10:17 . [2022-09-07T10:20:03.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:15 .. [2022-09-07T10:20:03.977Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 10:15 .git [2022-09-07T10:20:03.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 10:15 .github [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 7 10:15 .gitignore [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 10:15 .golangci.yml [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 7 10:15 Attribution.txt [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 7 10:15 CHANGELOG.md [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 7 10:15 Dockerfile [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 10:15 GOVERNANCE.md [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 7 10:15 Jenkinsfile [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 7 10:15 LICENSE [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 7 10:15 Makefile [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 7 10:15 OWNERS.md [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 7 10:15 README.md [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 10:11 VERSION [2022-09-07T10:20:03.977Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 10:15 bin [2022-09-07T10:20:03.977Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 10:15 cmd [2022-09-07T10:20:03.977Z] -rw-r--r-- 1 jenkins jenkins 77283 Sep 7 10:19 coverage.out [2022-09-07T10:20:03.977Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 7 10:15 doc [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 7 10:15 go.mod [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 7 10:15 go.sum [2022-09-07T10:20:03.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:15 internal [2022-09-07T10:20:03.977Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:15 snap [2022-09-07T10:20:03.977Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 7 10:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:20:04.336Z] + 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=ab3d09b099481aa8bd5fbc1bb8a44ed8be8aa420 --label arch=arm64 --label version=0.0.0 . [2022-09-07T10:20:04.937Z] Sending build context to Docker daemon 14.24MB [2022-09-07T10:20:04.937Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-07T10:20:04.937Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-07T10:20:04.937Z] ---> f14b4dcfcbb8 [2022-09-07T10:20:04.937Z] Step 3/26 : ARG MAKE="make build" [2022-09-07T10:20:05.209Z] ---> Running in f0e30ee230c7 [2022-09-07T10:20:05.481Z] Removing intermediate container f0e30ee230c7 [2022-09-07T10:20:05.482Z] ---> cecba48609e1 [2022-09-07T10:20:05.482Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-07T10:20:05.482Z] ---> Running in 292e63036727 [2022-09-07T10:20:05.757Z] Removing intermediate container 292e63036727 [2022-09-07T10:20:05.757Z] ---> 26fa8140e66d [2022-09-07T10:20:05.757Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-07T10:20:06.032Z] ---> Running in 4387a8c982b7 [2022-09-07T10:20:06.306Z] Removing intermediate container 4387a8c982b7 [2022-09-07T10:20:06.306Z] ---> 4a4fd2685c2f [2022-09-07T10:20:06.306Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-07T10:20:06.306Z] ---> Running in 2239fe59a51c [2022-09-07T10:20:06.594Z] Removing intermediate container 2239fe59a51c [2022-09-07T10:20:06.594Z] ---> 7205e481eae5 [2022-09-07T10:20:06.594Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-07T10:20:06.866Z] ---> Running in e4a0e6228d6f [2022-09-07T10:20:08.836Z] Removing intermediate container e4a0e6228d6f [2022-09-07T10:20:08.836Z] ---> 259e4020a284 [2022-09-07T10:20:08.836Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-07T10:20:08.836Z] ---> Running in ceb0fffe8deb [2022-09-07T10:20:09.810Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-07T10:20:10.786Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-07T10:20:11.784Z] OK: 221 MiB in 51 packages [2022-09-07T10:20:12.767Z] Removing intermediate container ceb0fffe8deb [2022-09-07T10:20:12.767Z] ---> c3570ccf4db0 [2022-09-07T10:20:12.767Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-07T10:20:12.767Z] ---> Running in cd850f7e76d1 [2022-09-07T10:20:13.041Z] Removing intermediate container cd850f7e76d1 [2022-09-07T10:20:13.041Z] ---> 203353c4c93e [2022-09-07T10:20:13.041Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-07T10:20:13.638Z] ---> d023918e9dfb [2022-09-07T10:20:13.638Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-07T10:20:13.638Z] ---> Running in 404159fc7f4a [2022-09-07T10:20:15.624Z] Removing intermediate container 404159fc7f4a [2022-09-07T10:20:15.624Z] ---> 80b405d03d47 [2022-09-07T10:20:15.624Z] Step 12/26 : COPY . . [2022-09-07T10:20:17.609Z] ---> 82c9cbcea5a9 [2022-09-07T10:20:17.609Z] Step 13/26 : RUN ${MAKE} [2022-09-07T10:20:17.609Z] ---> Running in 032e02cdb714 [2022-09-07T10:20:18.595Z] CGO_ENABLED=1 GO111MODULE=on go build -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.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-07T10:22:40.510Z] Removing intermediate container 032e02cdb714 [2022-09-07T10:22:40.510Z] ---> 5727fc3be227 [2022-09-07T10:22:40.510Z] Step 14/26 : FROM alpine:3.16 [2022-09-07T10:22:41.106Z] 3.16: Pulling from library/alpine [2022-09-07T10:22:41.381Z] 9b18e9b68314: Pulling fs layer [2022-09-07T10:22:41.659Z] 9b18e9b68314: Verifying Checksum [2022-09-07T10:22:41.659Z] 9b18e9b68314: Download complete [2022-09-07T10:22:41.931Z] 9b18e9b68314: Pull complete [2022-09-07T10:22:41.931Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-07T10:22:41.931Z] Status: Downloaded newer image for alpine:3.16 [2022-09-07T10:22:42.204Z] ---> a6215f271958 [2022-09-07T10:22:42.204Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-07T10:22:42.204Z] ---> Running in a686cb4c948b [2022-09-07T10:22:42.479Z] Removing intermediate container a686cb4c948b [2022-09-07T10:22:42.479Z] ---> 54eb512e0e91 [2022-09-07T10:22:42.479Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-07T10:22:42.479Z] ---> Running in 4251c31b6b95 [2022-09-07T10:22:43.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-07T10:22:43.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-07T10:22:44.709Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-07T10:22:44.709Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-07T10:22:44.709Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-07T10:22:44.709Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-07T10:22:44.709Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-07T10:22:44.709Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-07T10:22:44.709Z] Executing busybox-1.35.0-r17.trigger [2022-09-07T10:22:44.709Z] OK: 8 MiB in 20 packages [2022-09-07T10:22:45.696Z] Removing intermediate container 4251c31b6b95 [2022-09-07T10:22:45.696Z] ---> 5e88dc34bb1d [2022-09-07T10:22:45.696Z] Step 17/26 : WORKDIR / [2022-09-07T10:22:45.696Z] ---> Running in c94ff1c4b94d [2022-09-07T10:22:45.970Z] Removing intermediate container c94ff1c4b94d [2022-09-07T10:22:45.970Z] ---> c50ac084d893 [2022-09-07T10:22:45.970Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-07T10:22:47.401Z] ---> 3a0e5a2f8bfc [2022-09-07T10:22:47.401Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-07T10:22:47.999Z] ---> 7fa504e3f431 [2022-09-07T10:22:47.999Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-07T10:22:48.592Z] ---> 1f14503e2b26 [2022-09-07T10:22:48.592Z] Step 21/26 : EXPOSE 59984 [2022-09-07T10:22:48.592Z] ---> Running in 393928af1a10 [2022-09-07T10:22:48.865Z] Removing intermediate container 393928af1a10 [2022-09-07T10:22:48.865Z] ---> 4d027d28c2bf [2022-09-07T10:22:48.865Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-07T10:22:49.138Z] ---> Running in 41d1e3d4890c [2022-09-07T10:22:49.415Z] Removing intermediate container 41d1e3d4890c [2022-09-07T10:22:49.415Z] ---> e6806d63bda5 [2022-09-07T10:22:49.415Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-07T10:22:49.415Z] ---> Running in cc6c170a1103 [2022-09-07T10:22:49.693Z] Removing intermediate container cc6c170a1103 [2022-09-07T10:22:49.693Z] ---> 01bad0065007 [2022-09-07T10:22:49.693Z] Step 24/26 : LABEL arch=arm64 [2022-09-07T10:22:49.693Z] ---> Running in a3c469a9d310 [2022-09-07T10:22:49.966Z] Removing intermediate container a3c469a9d310 [2022-09-07T10:22:49.966Z] ---> f0534115ef3c [2022-09-07T10:22:49.966Z] Step 25/26 : LABEL git_sha=ab3d09b099481aa8bd5fbc1bb8a44ed8be8aa420 [2022-09-07T10:22:50.240Z] ---> Running in 2a1be1aa7e7a [2022-09-07T10:22:50.512Z] Removing intermediate container 2a1be1aa7e7a [2022-09-07T10:22:50.512Z] ---> ac4a8381528b [2022-09-07T10:22:50.512Z] Step 26/26 : LABEL version=0.0.0 [2022-09-07T10:22:50.512Z] ---> Running in 23df8b071998 [2022-09-07T10:22:50.787Z] Removing intermediate container 23df8b071998 [2022-09-07T10:22:50.787Z] ---> 3d2b729570cb [2022-09-07T10:22:50.787Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-07T10:22:50.787Z] Successfully built 3d2b729570cb [2022-09-07T10:22:50.787Z] 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-09-07T10:22:51.529Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-07T10:22:51.529Z] [2022-09-07T10:22:51.529Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:22:51.882Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-07T10:22:52.162Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-07T10:22:52.162Z] 8998bd30e6a1: Pulling fs layer [2022-09-07T10:22:52.162Z] 04944245beec: Pulling fs layer [2022-09-07T10:22:52.162Z] 699f458cf7ca: Pulling fs layer [2022-09-07T10:22:52.162Z] 765212b225bb: Pulling fs layer [2022-09-07T10:22:52.162Z] f23df028b6ca: Pulling fs layer [2022-09-07T10:22:52.162Z] d65c8cfc05b1: Pulling fs layer [2022-09-07T10:22:52.162Z] 2437ff75d9bd: Pulling fs layer [2022-09-07T10:22:52.162Z] 765212b225bb: Waiting [2022-09-07T10:22:52.162Z] f23df028b6ca: Waiting [2022-09-07T10:22:52.162Z] d65c8cfc05b1: Waiting [2022-09-07T10:22:52.162Z] 2437ff75d9bd: Waiting [2022-09-07T10:22:52.162Z] 04944245beec: Verifying Checksum [2022-09-07T10:22:52.162Z] 04944245beec: Download complete [2022-09-07T10:22:52.162Z] 765212b225bb: Verifying Checksum [2022-09-07T10:22:52.162Z] 765212b225bb: Download complete [2022-09-07T10:22:52.162Z] f23df028b6ca: Verifying Checksum [2022-09-07T10:22:52.162Z] f23df028b6ca: Download complete [2022-09-07T10:22:52.162Z] d65c8cfc05b1: Download complete [2022-09-07T10:22:52.443Z] 699f458cf7ca: Verifying Checksum [2022-09-07T10:22:52.443Z] 699f458cf7ca: Download complete [2022-09-07T10:22:52.717Z] 8998bd30e6a1: Verifying Checksum [2022-09-07T10:22:52.717Z] 8998bd30e6a1: Download complete [2022-09-07T10:22:55.345Z] 2437ff75d9bd: Verifying Checksum [2022-09-07T10:22:55.345Z] 2437ff75d9bd: Download complete [2022-09-07T10:22:57.341Z] 8998bd30e6a1: Pull complete [2022-09-07T10:22:57.614Z] 04944245beec: Pull complete [2022-09-07T10:22:59.049Z] 699f458cf7ca: Pull complete [2022-09-07T10:22:59.647Z] 765212b225bb: Pull complete [2022-09-07T10:23:00.328Z] f23df028b6ca: Pull complete [2022-09-07T10:23:00.646Z] d65c8cfc05b1: Pull complete [2022-09-07T10:23:19.012Z] 2437ff75d9bd: Pull complete [2022-09-07T10:23:19.012Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-07T10:23:19.012Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-07T10:23:19.012Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:23:19.292Z] prd-ubuntu20.04-docker-arm64-4c-16g-28621 does not seem to be running inside a container [2022-09-07T10:23:19.385Z] $ 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/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-07T10:23:22.056Z] $ docker top 89c2dbbcbcb8e77c513787bc39039e81f0e4c980fdc7050c7c73da4d6176adb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:23:22.969Z] ---> job-cost.sh [2022-09-07T10:23:22.970Z] lf-activate-venv: SKIPPING [2022-09-07T10:23:22.970Z] INFO: No Stack... [2022-09-07T10:23:23.567Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-07T10:23:24.163Z] INFO: Archiving Costs [Pipeline] sh [2022-09-07T10:23:24.829Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [2022-09-07T10:23:24.829Z] + cut -d, -f6 [Pipeline] lock [2022-09-07T10:23:24.894Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-152-3-stack-cost] [2022-09-07T10:23:24.900Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-3-stack-cost] did not exist. Created. [2022-09-07T10:23:24.900Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-152-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-07T10:23:25.574Z] /w/workspace/device-onvif-camera/3@tmp/durable-adfade8d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-07T10:23:26.242Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-07T10:23:26.263Z] Warning: overwriting stash ‘stack-cost’ [2022-09-07T10:23:26.320Z] Stashed 1 file(s) [Pipeline] } [2022-09-07T10:23:26.328Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-152-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-07T10:23:26.355Z] $ docker stop --time=1 89c2dbbcbcb8e77c513787bc39039e81f0e4c980fdc7050c7c73da4d6176adb6 [2022-09-07T10:23:27.859Z] $ docker rm -f 89c2dbbcbcb8e77c513787bc39039e81f0e4c980fdc7050c7c73da4d6176adb6 [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-09-07T10:23:28.374Z] provisioning config files... [2022-09-07T10:23:28.382Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config6030982260047353643tmp [Pipeline] { [Pipeline] sh [2022-09-07T10:23:28.681Z] + set +x [2022-09-07T10:23:28.681Z] + curl -s https://codecov.io/bash [2022-09-07T10:23:28.681Z] + bash -s -- [2022-09-07T10:23:28.681Z] [2022-09-07T10:23:28.681Z] _____ _ [2022-09-07T10:23:28.681Z] / ____| | | [2022-09-07T10:23:28.681Z] | | ___ __| | ___ ___ _____ __ [2022-09-07T10:23:28.681Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-07T10:23:28.681Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-07T10:23:28.681Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-07T10:23:28.681Z] Bash-1.0.6 [2022-09-07T10:23:28.681Z] [2022-09-07T10:23:28.681Z] [2022-09-07T10:23:28.681Z] ==> git version 2.25.1 found [2022-09-07T10:23:28.681Z] ==> 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-09-07T10:23:28.681Z] Release-Date: 2020-01-08 [2022-09-07T10:23:28.681Z] 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-09-07T10:23:28.681Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-07T10:23:28.681Z] ==> Jenkins CI detected. [2022-09-07T10:23:28.681Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-152 [2022-09-07T10:23:28.681Z] project root: . [2022-09-07T10:23:28.681Z] --> token set from env [2022-09-07T10:23:28.681Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-07T10:23:28.681Z] ==> Running gcov in . (disable via -X gcov) [2022-09-07T10:23:28.681Z] ==> Python coveragepy not found [2022-09-07T10:23:28.681Z] ==> Searching for coverage reports in: [2022-09-07T10:23:28.681Z] + . [2022-09-07T10:23:28.681Z] -> Found 1 reports [2022-09-07T10:23:28.681Z] ==> Detecting git/mercurial file structure [2022-09-07T10:23:28.681Z] ==> Reading reports [2022-09-07T10:23:28.681Z] + ./coverage.out bytes=77283 [2022-09-07T10:23:28.681Z] ==> Appending adjustments [2022-09-07T10:23:28.681Z] https://docs.codecov.io/docs/fixing-reports [2022-09-07T10:23:28.943Z] + Found adjustments [2022-09-07T10:23:28.943Z] ==> Gzipping contents [2022-09-07T10:23:28.943Z] 12K /tmp/codecov.GMJMha.gz [2022-09-07T10:23:28.943Z] ==> Uploading reports [2022-09-07T10:23:28.943Z] url: https://codecov.io [2022-09-07T10:23:28.943Z] query: branch=PR-152&commit=f8ac421e3ef88557a1422c30c42905bd5153228e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-152%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=152&job=&cmd_args= [2022-09-07T10:23:28.943Z] -> Pinging Codecov [2022-09-07T10:23:28.943Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-152&commit=f8ac421e3ef88557a1422c30c42905bd5153228e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-152%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=152&job=&cmd_args= [2022-09-07T10:23:29.204Z] -> Uploading to [2022-09-07T10:23:29.204Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-07/F29A59C45E3A92E06B3E522C9905F8EF/f8ac421e3ef88557a1422c30c42905bd5153228e/5392a070-4e82-4401-b395-f4e6b25a4a1b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220907%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220907T102329Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=710caa2cfdd42f64b8cab75633ea799b5e830cccc4f4c702cb1d152aa1b15355 [2022-09-07T10:23:29.204Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-07T10:23:29.204Z] Dload Upload Total Spent Left Speed [2022-09-07T10:23:29.464Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10703 0 0 100 10703 0 52724 --:--:-- --:--:-- --:--:-- 52465 100 10703 0 0 100 10703 0 50014 --:--:-- --:--:-- --:--:-- 49781 [2022-09-07T10:23:29.464Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/f8ac421e3ef88557a1422c30c42905bd5153228e [Pipeline] } [2022-09-07T10:23:29.472Z] 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-09-07T10:23:30.169Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-152/archives ] [2022-09-07T10:23:30.169Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-07T10:23:30.169Z] total 16 [2022-09-07T10:23:30.169Z] drwxr-xr-x 3 root root 4096 Sep 7 10:14 . [2022-09-07T10:23:30.169Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 10:14 .. [2022-09-07T10:23:30.169Z] drwxr-xr-x 2 root root 4096 Sep 7 10:14 cost [2022-09-07T10:23:30.169Z] -rw-r--r-- 1 root root 91 Sep 7 10:14 cost.csv [2022-09-07T10:23:30.169Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-07T10:23:30.169Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-152/archives [2022-09-07T10:23:30.169Z] total 16 [2022-09-07T10:23:30.169Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 10:14 . [2022-09-07T10:23:30.169Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 10:14 .. [2022-09-07T10:23:30.169Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 10:14 cost [2022-09-07T10:23:30.169Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 7 10:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:23:30.461Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:23:31.357Z] ---> package-listing.sh [2022-09-07T10:23:31.357Z] ++ facter osfamily [2022-09-07T10:23:31.357Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-07T10:23:31.617Z] + OS_FAMILY=debian [2022-09-07T10:23:31.617Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-152 [2022-09-07T10:23:31.617Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-07T10:23:31.617Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-07T10:23:31.617Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-07T10:23:31.617Z] + PACKAGES=/tmp/packages_start.txt [2022-09-07T10:23:31.617Z] + '[' /w/workspace/undry_device-onvif-camera_PR-152 ']' [2022-09-07T10:23:31.617Z] + PACKAGES=/tmp/packages_end.txt [2022-09-07T10:23:31.617Z] + case "${OS_FAMILY}" in [2022-09-07T10:23:31.617Z] + dpkg -l [2022-09-07T10:23:31.617Z] + grep '^ii' [2022-09-07T10:23:31.617Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-07T10:23:31.617Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-07T10:23:31.617Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-07T10:23:31.617Z] + '[' /w/workspace/undry_device-onvif-camera_PR-152 ']' [2022-09-07T10:23:31.617Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-152/archives/ [2022-09-07T10:23:31.617Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-152/archives/ [Pipeline] echo [2022-09-07T10:23:31.629Z] 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-152/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-07T10:23:31.908Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:23:32.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-07T10:23:32.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:23:32.561Z] prd-ubuntu20.04-docker-8c-8g-28618 does not seem to be running inside a container [2022-09-07T10:23:32.591Z] $ 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-152/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-152 -v /w/workspace/undry_device-onvif-camera_PR-152:/w/workspace/undry_device-onvif-camera_PR-152:rw,z -v /w/workspace/undry_device-onvif-camera_PR-152@tmp:/w/workspace/undry_device-onvif-camera_PR-152@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-07T10:23:32.826Z] $ docker top 8835356c87000cd42dd37983ef096451bd6be9deca82f11e69c36a73492eda07 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-07T10:23:33.183Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-07T10:23:33.473Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-07T10:23:33.776Z] + ls /var/log/sa-host [2022-09-07T10:23:33.776Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-07T10:23:33.843Z] provisioning config files... [2022-09-07T10:23:33.850Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-152@tmp/config4122363613519916397tmp [Pipeline] { [Pipeline] echo [2022-09-07T10:23:33.862Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:23:34.153Z] ---> create-netrc.sh [Pipeline] } [2022-09-07T10:23:34.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:23:34.492Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-07T10:23:34.501Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:23:34.788Z] ---> sudo-logs.sh [2022-09-07T10:23:34.788Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-07T10:23:34.819Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:23:35.107Z] ---> job-cost.sh [2022-09-07T10:23:35.107Z] lf-activate-venv: SKIPPING [2022-09-07T10:23:35.107Z] DEBUG: total: 0.2199999988079071 [2022-09-07T10:23:35.107Z] INFO: Retrieving Stack Cost... [2022-09-07T10:23:35.678Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-07T10:23:35.940Z] INFO: Archiving Costs [Pipeline] echo [2022-09-07T10:23:35.951Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:23:36.238Z] ---> logs-deploy.sh [2022-09-07T10:23:36.239Z] lf-activate-venv: SKIPPING [2022-09-07T10:23:36.239Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-152/3 [2022-09-07T10:23:36.239Z] INFO: archiving workspace using pattern(s): [2022-09-07T10:23:37.179Z] Archives upload complete. [2022-09-07T10:23:37.179Z] INFO: archiving logs to Nexus