Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 201cf242bae9e183bc4bdc133a26c0afb244aa26+e27dca9baa08924a505fef6c64e81931b1c2a574 (6cdf30c2a97ef5beca629c8ae13daf1c7851a9f5) 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-ssh13356601848851925626.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh4515622965405702794.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-111/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-111/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11688821039288590665.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh13474613699000885320.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-111/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-111/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1609462382608353345.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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: false SWAGGER_API_FOLDERS: openapi/v1 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-20478 in /w/workspace/undry_device-onvif-camera_PR-111 [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-111 # 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 e27dca9baa08924a505fef6c64e81931b1c2a574 into PR head commit 201cf242bae9e183bc4bdc133a26c0afb244aa26 Merge succeeded, producing acc11555bfbb87d8e55b1dab8dd8da6be933b50b Checking out Revision acc11555bfbb87d8e55b1dab8dd8da6be933b50b (PR-111) > 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/111/head:refs/remotes/origin/PR-111 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # 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 e27dca9baa08924a505fef6c64e81931b1c2a574 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f acc11555bfbb87d8e55b1dab8dd8da6be933b50b # timeout=10 Commit message: "Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD" > git rev-list --no-walk 201cf242bae9e183bc4bdc133a26c0afb244aa26 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-19T10:11:28.840Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-19T10:11:28.891Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-19T10:11:28.903Z] ========================================================= [2022-07-19T10:11:28.903Z] EdgeX Global Pipelines Version Info [2022-07-19T10:11:28.903Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:11:29.665Z] ------------------- [2022-07-19T10:11:29.665Z] stable info: [2022-07-19T10:11:29.665Z] ------------------- [2022-07-19T10:11:29.665Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-19T10:11:29.665Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-19T10:11:29.665Z] Message: update stable to v1.0.238 [2022-07-19T10:11:30.238Z] ------------------- [2022-07-19T10:11:30.238Z] experimental info: [2022-07-19T10:11:30.238Z] ------------------- [2022-07-19T10:11:30.238Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-19T10:11:30.238Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-19T10:11:30.238Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-19T10:11:30.522Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-19T10:11:30.536Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-19T10:11:30.547Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-19T10:11:30.561Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-19T10:11:30.573Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-19T10:11:30.589Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-19T10:11:30.600Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-19T10:11:30.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-19T10:11:30.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-19T10:11:30.638Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-19T10:11:30.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-19T10:11:30.659Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-19T10:11:30.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-19T10:11:30.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-19T10:11:30.685Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-19T10:11:30.694Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-19T10:11:30.708Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-19T10:11:30.719Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-19T10:11:30.732Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-19T10:11:30.747Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-19T10:11:30.762Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-19T10:11:30.779Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-19T10:11:30.789Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-19T10:11:30.803Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-19T10:11:30.816Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-19T10:11:30.828Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-19T10:11:30.844Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-19T10:11:30.857Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-111 [Pipeline] echo [2022-07-19T10:11:30.870Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-111 [Pipeline] echo [2022-07-19T10:11:30.883Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-111 [Pipeline] echo [2022-07-19T10:11:30.896Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = acc11555bfbb87d8e55b1dab8dd8da6be933b50b [Pipeline] echo [2022-07-19T10:11:30.907Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = acc1155 [Pipeline] echo [2022-07-19T10:11:30.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T10:11:30.955Z] provisioning config files... [2022-07-19T10:11:30.968Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config7566688671021570171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:11:31.276Z] ---> docker-login.sh [2022-07-19T10:11:31.276Z] nexus3.edgexfoundry.org:10001 [2022-07-19T10:11:31.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:11:31.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:11:31.539Z] Configure a credential helper to remove this warning. See [2022-07-19T10:11:31.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:11:31.539Z] [2022-07-19T10:11:31.539Z] Login Succeeded [2022-07-19T10:11:31.539Z] nexus3.edgexfoundry.org:10002 [2022-07-19T10:11:31.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:11:31.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:11:31.800Z] Configure a credential helper to remove this warning. See [2022-07-19T10:11:31.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:11:31.800Z] [2022-07-19T10:11:31.800Z] Login Succeeded [2022-07-19T10:11:31.800Z] nexus3.edgexfoundry.org:10003 [2022-07-19T10:11:31.800Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:11:31.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:11:31.800Z] Configure a credential helper to remove this warning. See [2022-07-19T10:11:31.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:11:31.800Z] [2022-07-19T10:11:31.800Z] Login Succeeded [2022-07-19T10:11:31.800Z] nexus3.edgexfoundry.org:10004 [2022-07-19T10:11:32.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:11:32.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:11:32.062Z] Configure a credential helper to remove this warning. See [2022-07-19T10:11:32.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:11:32.062Z] [2022-07-19T10:11:32.062Z] Login Succeeded [2022-07-19T10:11:32.062Z] docker.io [2022-07-19T10:11:32.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:11:32.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:11:32.323Z] Configure a credential helper to remove this warning. See [2022-07-19T10:11:32.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:11:32.323Z] [2022-07-19T10:11:32.323Z] Login Succeeded [2022-07-19T10:11:32.323Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T10:11:32.331Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-19T10:11:32.708Z] + git rev-list -1 --merges acc11555bfbb87d8e55b1dab8dd8da6be933b50b~1..acc11555bfbb87d8e55b1dab8dd8da6be933b50b [Pipeline] echo [2022-07-19T10:11:32.737Z] -----------> git rev-list -1 --merges acc11555bfbb87d8e55b1dab8dd8da6be933b50b~1..acc11555bfbb87d8e55b1dab8dd8da6be933b50b acc11555bfbb87d8e55b1dab8dd8da6be933b50b [2022-07-19T10:11:32.737Z] acc11555bfbb87d8e55b1dab8dd8da6be933b50b [false] [Pipeline] sh [2022-07-19T10:11:33.033Z] + git log --format=format:%s -1 acc11555bfbb87d8e55b1dab8dd8da6be933b50b [Pipeline] echo [2022-07-19T10:11:33.049Z] ========================================================= [2022-07-19T10:11:33.049Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-19T10:11:33.049Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T10:11:33.408Z] + git log --format=format:%s -1 acc11555bfbb87d8e55b1dab8dd8da6be933b50b [Pipeline] echo [2022-07-19T10:11:33.420Z] [semverPrep] GIT_COMMIT: acc11555bfbb87d8e55b1dab8dd8da6be933b50b, Commit Message: Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD [Pipeline] echo [2022-07-19T10:11:33.430Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-19T10:11:33.776Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-19T10:11:33.776Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-19T10:11:33.776Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-19T10:11:33.776Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-19T10:11:33.776Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-19T10:11:33.776Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-19T10:11:33.776Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:11:34.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T10:11:34.127Z] [2022-07-19T10:11:34.127Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:11:34.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T10:11:34.428Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-19T10:11:34.428Z] b85a868b505f: Pulling fs layer [2022-07-19T10:11:34.428Z] e2be974225ed: Pulling fs layer [2022-07-19T10:11:34.428Z] 339a4e72a1f5: Pulling fs layer [2022-07-19T10:11:34.428Z] 988bab9f4d93: Pulling fs layer [2022-07-19T10:11:34.428Z] 1469e6f7b9e6: Pulling fs layer [2022-07-19T10:11:34.428Z] eaf3925da568: Pulling fs layer [2022-07-19T10:11:34.428Z] bab4dde63d76: Pulling fs layer [2022-07-19T10:11:34.428Z] bde34c3a00c8: Pulling fs layer [2022-07-19T10:11:34.428Z] b352a97aabf1: Pulling fs layer [2022-07-19T10:11:34.428Z] 4872d77fe225: Pulling fs layer [2022-07-19T10:11:34.428Z] 5851b861e8e6: Pulling fs layer [2022-07-19T10:11:34.428Z] 1469e6f7b9e6: Waiting [2022-07-19T10:11:34.428Z] eaf3925da568: Waiting [2022-07-19T10:11:34.428Z] bab4dde63d76: Waiting [2022-07-19T10:11:34.428Z] bde34c3a00c8: Waiting [2022-07-19T10:11:34.428Z] 988bab9f4d93: Waiting [2022-07-19T10:11:34.428Z] b352a97aabf1: Waiting [2022-07-19T10:11:34.428Z] 4872d77fe225: Waiting [2022-07-19T10:11:34.428Z] 5851b861e8e6: Waiting [2022-07-19T10:11:34.428Z] e2be974225ed: Download complete [2022-07-19T10:11:34.428Z] 988bab9f4d93: Verifying Checksum [2022-07-19T10:11:34.428Z] 988bab9f4d93: Download complete [2022-07-19T10:11:34.428Z] 1469e6f7b9e6: Verifying Checksum [2022-07-19T10:11:34.428Z] 1469e6f7b9e6: Download complete [2022-07-19T10:11:34.688Z] eaf3925da568: Verifying Checksum [2022-07-19T10:11:34.688Z] eaf3925da568: Download complete [2022-07-19T10:11:34.688Z] 339a4e72a1f5: Verifying Checksum [2022-07-19T10:11:34.688Z] 339a4e72a1f5: Download complete [2022-07-19T10:11:34.688Z] bde34c3a00c8: Verifying Checksum [2022-07-19T10:11:34.688Z] bde34c3a00c8: Download complete [2022-07-19T10:11:34.688Z] b352a97aabf1: Verifying Checksum [2022-07-19T10:11:34.688Z] b352a97aabf1: Download complete [2022-07-19T10:11:34.688Z] 4872d77fe225: Verifying Checksum [2022-07-19T10:11:34.688Z] 4872d77fe225: Download complete [2022-07-19T10:11:34.688Z] 5851b861e8e6: Download complete [2022-07-19T10:11:34.688Z] b85a868b505f: Verifying Checksum [2022-07-19T10:11:34.688Z] b85a868b505f: Download complete [2022-07-19T10:11:34.948Z] bab4dde63d76: Verifying Checksum [2022-07-19T10:11:34.948Z] bab4dde63d76: Download complete [2022-07-19T10:11:36.331Z] b85a868b505f: Pull complete [2022-07-19T10:11:36.331Z] e2be974225ed: Pull complete [2022-07-19T10:11:36.909Z] 339a4e72a1f5: Pull complete [2022-07-19T10:11:36.909Z] 988bab9f4d93: Pull complete [2022-07-19T10:11:37.184Z] 1469e6f7b9e6: Pull complete [2022-07-19T10:11:37.447Z] eaf3925da568: Pull complete [2022-07-19T10:11:39.371Z] bab4dde63d76: Pull complete [2022-07-19T10:11:39.655Z] bde34c3a00c8: Pull complete [2022-07-19T10:11:39.655Z] b352a97aabf1: Pull complete [2022-07-19T10:11:39.655Z] 4872d77fe225: Pull complete [2022-07-19T10:11:39.919Z] 5851b861e8e6: Pull complete [2022-07-19T10:11:39.919Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-19T10:11:39.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-19T10:11:39.919Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:11:40.031Z] prd-ubuntu20.04-docker-8c-8g-20478 does not seem to be running inside a container [2022-07-19T10:11:40.074Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-19T10:11:41.493Z] $ docker top 118666061fa518518a1b00c0c2ea0b29cc0277c59967e4f8df775b51867c9a38 -eo pid,comm [2022-07-19T10:11:41.567Z] 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-07-19T10:11:41.567Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-19T10:11:41.605Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-19T10:11:41.605Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-19T10:11:41.765Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-19T10:11:41.771Z] $ docker exec 118666061fa518518a1b00c0c2ea0b29cc0277c59967e4f8df775b51867c9a38 ssh-agent [2022-07-19T10:11:41.905Z] SSH_AUTH_SOCK=/tmp/ssh-qkK7mtQ0k1qS/agent.32 [2022-07-19T10:11:41.905Z] SSH_AGENT_PID=38 [2022-07-19T10:11:41.911Z] Running ssh-add (command line suppressed) [2022-07-19T10:11:42.045Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_7722766035220507551.key (/w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_7722766035220507551.key) [2022-07-19T10:11:42.057Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-19T10:11:42.351Z] + git tag --points-at HEAD [Pipeline] } [2022-07-19T10:11:42.375Z] $ docker exec --env ******** --env ******** 118666061fa518518a1b00c0c2ea0b29cc0277c59967e4f8df775b51867c9a38 ssh-agent -k [2022-07-19T10:11:42.489Z] unset SSH_AUTH_SOCK; [2022-07-19T10:11:42.490Z] unset SSH_AGENT_PID; [2022-07-19T10:11:42.490Z] echo Agent pid 38 killed; [2022-07-19T10:11:42.497Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-19T10:11:42.521Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-19T10:11:42.521Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-19T10:11:42.666Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-19T10:11:42.673Z] $ docker exec 118666061fa518518a1b00c0c2ea0b29cc0277c59967e4f8df775b51867c9a38 ssh-agent [2022-07-19T10:11:42.802Z] SSH_AUTH_SOCK=/tmp/ssh-g6cBe3penNoh/agent.71 [2022-07-19T10:11:42.802Z] SSH_AGENT_PID=77 [2022-07-19T10:11:42.808Z] Running ssh-add (command line suppressed) [2022-07-19T10:11:42.932Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_1501224341502612482.key (/w/workspace/undry_device-onvif-camera_PR-111@tmp/private_key_1501224341502612482.key) [2022-07-19T10:11:42.944Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-19T10:11:43.234Z] + git semver init [2022-07-19T10:11:43.495Z] 2022-07-19 10:11:43,444 [run_init] DEBUG init version:0.0.0 force:False [2022-07-19T10:11:43.495Z] 2022-07-19 10:11:43,445 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-111/.semver [2022-07-19T10:11:43.495Z] 2022-07-19 10:11:43,446 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-111/.semver [2022-07-19T10:11:43.495Z] 2022-07-19 10:11:43,446 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-111/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-111, universal_newlines=False, shell=None, istream=None) [2022-07-19T10:11:44.438Z] 2022-07-19 10:11:44,137 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-111/.git/info/exclude [2022-07-19T10:11:44.438Z] 2022-07-19 10:11:44,138 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 with force:False [2022-07-19T10:11:44.438Z] 2022-07-19 10:11:44,138 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 [2022-07-19T10:11:44.438Z] 2022-07-19 10:11:44,143 [execute] INFO git cat-file --batch-check [2022-07-19T10:11:44.438Z] 2022-07-19 10:11:44,143 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-111/.semver, universal_newlines=False, shell=None, istream=) [2022-07-19T10:11:44.438Z] 2022-07-19 10:11:44,150 [execute] INFO git cat-file --batch [2022-07-19T10:11:44.438Z] 2022-07-19 10:11:44,150 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-111/.semver, universal_newlines=False, shell=None, istream=) [2022-07-19T10:11:44.438Z] 2022-07-19 10:11:44,157 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-111/.semver/PR-111 [2022-07-19T10:11:44.438Z] 0.0.0 [Pipeline] } [2022-07-19T10:11:44.453Z] $ docker exec --env ******** --env ******** 118666061fa518518a1b00c0c2ea0b29cc0277c59967e4f8df775b51867c9a38 ssh-agent -k [2022-07-19T10:11:44.559Z] unset SSH_AUTH_SOCK; [2022-07-19T10:11:44.560Z] unset SSH_AGENT_PID; [2022-07-19T10:11:44.560Z] echo Agent pid 77 killed; [2022-07-19T10:11:44.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-19T10:11:44.880Z] + git semver [Pipeline] } [2022-07-19T10:11:45.162Z] $ docker stop --time=1 118666061fa518518a1b00c0c2ea0b29cc0277c59967e4f8df775b51867c9a38 [2022-07-19T10:11:46.475Z] $ docker rm -f 118666061fa518518a1b00c0c2ea0b29cc0277c59967e4f8df775b51867c9a38 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T10:11:46.828Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-19T10:11:47.073Z] Stashed 1 file(s) [Pipeline] echo [2022-07-19T10:11:47.075Z] [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-07-19T10:11:47.225Z] provisioning config files... [2022-07-19T10:11:47.236Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config3959333925352063471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:11:47.538Z] ---> docker-login.sh [2022-07-19T10:11:47.538Z] nexus3.edgexfoundry.org:10001 [2022-07-19T10:11:47.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:11:47.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:11:47.538Z] Configure a credential helper to remove this warning. See [2022-07-19T10:11:47.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:11:47.538Z] [2022-07-19T10:11:47.538Z] Login Succeeded [2022-07-19T10:11:47.538Z] nexus3.edgexfoundry.org:10002 [2022-07-19T10:11:47.538Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:11:47.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:11:47.799Z] Configure a credential helper to remove this warning. See [2022-07-19T10:11:47.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:11:47.799Z] [2022-07-19T10:11:47.799Z] Login Succeeded [2022-07-19T10:11:47.799Z] nexus3.edgexfoundry.org:10003 [2022-07-19T10:11:47.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:11:47.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:11:47.799Z] Configure a credential helper to remove this warning. See [2022-07-19T10:11:47.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:11:47.799Z] [2022-07-19T10:11:47.799Z] Login Succeeded [2022-07-19T10:11:47.799Z] nexus3.edgexfoundry.org:10004 [2022-07-19T10:11:48.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:11:48.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:11:48.064Z] Configure a credential helper to remove this warning. See [2022-07-19T10:11:48.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:11:48.064Z] [2022-07-19T10:11:48.064Z] Login Succeeded [2022-07-19T10:11:48.064Z] docker.io [2022-07-19T10:11:48.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:11:48.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:11:48.325Z] Configure a credential helper to remove this warning. See [2022-07-19T10:11:48.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:11:48.325Z] [2022-07-19T10:11:48.325Z] Login Succeeded [2022-07-19T10:11:48.325Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T10:11:48.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-19T10:11:48.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T10:11:48.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T10:11:48.432Z] ========================================================= [2022-07-19T10:11:48.432Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-19T10:11:48.432Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:11:48.751Z] + 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-07-19T10:11:48.751Z] Sending build context to Docker daemon 9.336MB [2022-07-19T10:11:48.751Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T10:11:48.751Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-19T10:11:48.751Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-19T10:11:48.751Z] 2408cc74d12b: Pulling fs layer [2022-07-19T10:11:48.751Z] ea60b727a1ce: Pulling fs layer [2022-07-19T10:11:48.751Z] 30c4a7721957: Pulling fs layer [2022-07-19T10:11:48.751Z] 370296b7ddb6: Pulling fs layer [2022-07-19T10:11:48.751Z] 7c6cee850709: Pulling fs layer [2022-07-19T10:11:48.751Z] 39a5fcdaea64: Pulling fs layer [2022-07-19T10:11:48.751Z] d94ebbe4e438: Pulling fs layer [2022-07-19T10:11:48.751Z] bcfd1f05c69d: Pulling fs layer [2022-07-19T10:11:48.751Z] 59ccb84bbe0f: Pulling fs layer [2022-07-19T10:11:48.751Z] 39a5fcdaea64: Waiting [2022-07-19T10:11:48.751Z] d94ebbe4e438: Waiting [2022-07-19T10:11:48.751Z] bcfd1f05c69d: Waiting [2022-07-19T10:11:48.751Z] 59ccb84bbe0f: Waiting [2022-07-19T10:11:48.751Z] 370296b7ddb6: Waiting [2022-07-19T10:11:48.751Z] 7c6cee850709: Waiting [2022-07-19T10:11:48.751Z] 30c4a7721957: Verifying Checksum [2022-07-19T10:11:48.751Z] 30c4a7721957: Download complete [2022-07-19T10:11:49.012Z] ea60b727a1ce: Download complete [2022-07-19T10:11:49.012Z] 7c6cee850709: Download complete [2022-07-19T10:11:49.012Z] 39a5fcdaea64: Verifying Checksum [2022-07-19T10:11:49.012Z] 39a5fcdaea64: Download complete [2022-07-19T10:11:49.012Z] 2408cc74d12b: Verifying Checksum [2022-07-19T10:11:49.012Z] 2408cc74d12b: Download complete [2022-07-19T10:11:49.012Z] d94ebbe4e438: Download complete [2022-07-19T10:11:49.012Z] 2408cc74d12b: Pull complete [2022-07-19T10:11:49.275Z] ea60b727a1ce: Pull complete [2022-07-19T10:11:49.275Z] 30c4a7721957: Pull complete [2022-07-19T10:11:49.537Z] 59ccb84bbe0f: Verifying Checksum [2022-07-19T10:11:49.537Z] 59ccb84bbe0f: Download complete [2022-07-19T10:11:49.537Z] bcfd1f05c69d: Verifying Checksum [2022-07-19T10:11:49.537Z] bcfd1f05c69d: Download complete [2022-07-19T10:11:49.798Z] 370296b7ddb6: Verifying Checksum [2022-07-19T10:11:49.798Z] 370296b7ddb6: Download complete [2022-07-19T10:11:54.001Z] 370296b7ddb6: Pull complete [2022-07-19T10:11:54.001Z] 7c6cee850709: Pull complete [2022-07-19T10:11:54.265Z] 39a5fcdaea64: Pull complete [2022-07-19T10:11:54.265Z] d94ebbe4e438: Pull complete [2022-07-19T10:11:56.816Z] bcfd1f05c69d: Pull complete [2022-07-19T10:11:57.387Z] 59ccb84bbe0f: Pull complete [2022-07-19T10:11:57.387Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-19T10:11:57.387Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-19T10:11:57.387Z] ---> a4fb48ad2a94 [2022-07-19T10:11:57.387Z] Step 3/13 : ARG MAKE="make build" [2022-07-19T10:11:59.303Z] ---> Running in 334e2c8f7345 [2022-07-19T10:11:59.303Z] Removing intermediate container 334e2c8f7345 [2022-07-19T10:11:59.303Z] ---> 2e27d0a14d5d [2022-07-19T10:11:59.303Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T10:11:59.303Z] ---> Running in 9751c4c12f41 [2022-07-19T10:11:59.303Z] Removing intermediate container 9751c4c12f41 [2022-07-19T10:11:59.303Z] ---> 99594c1f1968 [2022-07-19T10:11:59.303Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T10:11:59.303Z] ---> Running in 9ef554916f25 [2022-07-19T10:11:59.564Z] Removing intermediate container 9ef554916f25 [2022-07-19T10:11:59.564Z] ---> a7b1769ef4a5 [2022-07-19T10:11:59.564Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-19T10:11:59.564Z] ---> Running in 45052255b119 [2022-07-19T10:11:59.564Z] Removing intermediate container 45052255b119 [2022-07-19T10:11:59.564Z] ---> ee8ac81900ce [2022-07-19T10:11:59.564Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T10:11:59.826Z] ---> Running in 38dd6eb8e1df [2022-07-19T10:12:00.397Z] Removing intermediate container 38dd6eb8e1df [2022-07-19T10:12:00.397Z] ---> effa452f61c0 [2022-07-19T10:12:00.397Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T10:12:00.397Z] ---> Running in bf553aac02da [2022-07-19T10:12:00.658Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-19T10:12:01.600Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-19T10:12:01.600Z] OK: 211 MiB in 51 packages [2022-07-19T10:12:02.172Z] Removing intermediate container bf553aac02da [2022-07-19T10:12:02.172Z] ---> 05f2d3c442a0 [2022-07-19T10:12:02.172Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-19T10:12:02.172Z] ---> Running in 0b0e7fa9ee21 [2022-07-19T10:12:02.172Z] Removing intermediate container 0b0e7fa9ee21 [2022-07-19T10:12:02.172Z] ---> b4cf792e387c [2022-07-19T10:12:02.172Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-19T10:12:02.178Z] Still waiting to schedule task [2022-07-19T10:12:02.178Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-20479’ is offline [2022-07-19T10:12:02.434Z] ---> f14953fbebd9 [2022-07-19T10:12:02.434Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T10:12:02.434Z] ---> Running in 883582ff3821 [2022-07-19T10:12:17.354Z] Removing intermediate container 883582ff3821 [2022-07-19T10:12:17.355Z] ---> 4d53a2c23c4e [2022-07-19T10:12:17.355Z] Step 12/13 : COPY . . [2022-07-19T10:12:17.355Z] ---> a062fda12283 [2022-07-19T10:12:17.355Z] Step 13/13 : RUN ${MAKE} [2022-07-19T10:12:17.355Z] ---> Running in 3e6b44c7c77d [2022-07-19T10:12:17.615Z] noop [2022-07-19T10:12:17.876Z] Removing intermediate container 3e6b44c7c77d [2022-07-19T10:12:17.876Z] ---> 182e8a507212 [2022-07-19T10:12:17.876Z] Successfully built 182e8a507212 [2022-07-19T10:12:17.876Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:12:18.198Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-19T10:12:18.198Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:12:18.295Z] prd-ubuntu20.04-docker-8c-8g-20478 does not seem to be running inside a container [2022-07-19T10:12:18.336Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-19T10:12:18.765Z] $ docker top 6da08109f6c047a5a06435c156de374876994cd22b5ef10eeb5543d1fcf112ee -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T10:12:19.127Z] + go version [2022-07-19T10:12:19.127Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-19T10:12:19.143Z] $ docker stop --time=1 6da08109f6c047a5a06435c156de374876994cd22b5ef10eeb5543d1fcf112ee [2022-07-19T10:12:20.451Z] $ docker rm -f 6da08109f6c047a5a06435c156de374876994cd22b5ef10eeb5543d1fcf112ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:12:20.883Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-19T10:12:20.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:12:20.964Z] prd-ubuntu20.04-docker-8c-8g-20478 does not seem to be running inside a container [2022-07-19T10:12:21.055Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-19T10:12:21.544Z] $ docker top 2494dcacce99f5fca6a35c5f5af149d1755c553c4938761a2ac46dd98cf5b785 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T10:12:21.920Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-111 [Pipeline] fileExists [Pipeline] sh [2022-07-19T10:12:22.215Z] + make test [2022-07-19T10:12:22.215Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-19T10:12:22.473Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-19T10:12:32.460Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-19T10:12:32.460Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 7.0% of statements [2022-07-19T10:12:32.460Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-19T10:12:36.654Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.740s coverage: 13.8% of statements [2022-07-19T10:12:43.224Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-19T10:12:45.760Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-19T10:12:45.760Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-19T10:12:45.760Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-19T10:12:46.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-19T10:12:46.359Z] $ docker stop --time=1 2494dcacce99f5fca6a35c5f5af149d1755c553c4938761a2ac46dd98cf5b785 [2022-07-19T10:12:48.162Z] $ docker rm -f 2494dcacce99f5fca6a35c5f5af149d1755c553c4938761a2ac46dd98cf5b785 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T10:12:48.620Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-19T10:12:48.672Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-19T10:12:49.122Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-19T10:12:49.415Z] + ls -al . [2022-07-19T10:12:49.416Z] total 252 [2022-07-19T10:12:49.416Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 10:12 . [2022-07-19T10:12:49.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:11 .. [2022-07-19T10:12:49.416Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 10:12 .git [2022-07-19T10:12:49.416Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:11 .github [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 10:11 .gitignore [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 10:11 .golangci.yml [2022-07-19T10:12:49.416Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 10:11 .semver [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 10:11 Attribution.txt [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 10:11 CHANGELOG.md [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 10:11 Dockerfile [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 10:11 GOVERNANCE.md [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 10:11 Jenkinsfile [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 10:11 LICENSE [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 10:11 Makefile [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 10:11 OWNERS.md [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 19 10:11 README.md [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 10:11 VERSION [2022-07-19T10:12:49.416Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 10:11 bin [2022-07-19T10:12:49.416Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:11 cmd [2022-07-19T10:12:49.416Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 19 10:12 coverage.out [2022-07-19T10:12:49.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:11 doc [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 10:11 go.mod [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 10:11 go.sum [2022-07-19T10:12:49.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:11 internal [2022-07-19T10:12:49.416Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:11 snap [2022-07-19T10:12:49.416Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 10:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:12:49.739Z] + 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=acc11555bfbb87d8e55b1dab8dd8da6be933b50b --label arch=amd64 --label version=0.0.0 . [2022-07-19T10:12:49.739Z] Sending build context to Docker daemon 9.407MB [2022-07-19T10:12:49.739Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T10:12:49.739Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-19T10:12:49.739Z] ---> 182e8a507212 [2022-07-19T10:12:49.739Z] Step 3/26 : ARG MAKE="make build" [2022-07-19T10:12:49.739Z] ---> Running in 5f2b74b0a953 [2022-07-19T10:12:50.000Z] Removing intermediate container 5f2b74b0a953 [2022-07-19T10:12:50.000Z] ---> d453a875c1b2 [2022-07-19T10:12:50.000Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T10:12:50.000Z] ---> Running in 9f7ff68aba5e [2022-07-19T10:12:50.000Z] Removing intermediate container 9f7ff68aba5e [2022-07-19T10:12:50.000Z] ---> 00063693c8e7 [2022-07-19T10:12:50.000Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T10:12:50.000Z] ---> Running in d0028e5adf71 [2022-07-19T10:12:50.261Z] Removing intermediate container d0028e5adf71 [2022-07-19T10:12:50.261Z] ---> ff78f01a9e32 [2022-07-19T10:12:50.261Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-19T10:12:50.261Z] ---> Running in 183d2e1c3220 [2022-07-19T10:12:50.261Z] Removing intermediate container 183d2e1c3220 [2022-07-19T10:12:50.261Z] ---> 6034776f68c6 [2022-07-19T10:12:50.261Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T10:12:50.261Z] ---> Running in a8e731d362c3 [2022-07-19T10:12:50.832Z] Removing intermediate container a8e731d362c3 [2022-07-19T10:12:50.832Z] ---> 5ec19ee2a73b [2022-07-19T10:12:50.832Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T10:12:51.092Z] ---> Running in 22a988a0fa2d [2022-07-19T10:12:51.353Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-19T10:12:52.295Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-19T10:12:52.556Z] OK: 211 MiB in 51 packages [2022-07-19T10:12:52.817Z] Removing intermediate container 22a988a0fa2d [2022-07-19T10:12:52.817Z] ---> c36a599e88f7 [2022-07-19T10:12:52.817Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-19T10:12:52.817Z] ---> Running in 59553dc4bf5c [2022-07-19T10:12:53.080Z] Removing intermediate container 59553dc4bf5c [2022-07-19T10:12:53.080Z] ---> bd957096a1f5 [2022-07-19T10:12:53.080Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-19T10:12:53.080Z] ---> 559f8a6c8c07 [2022-07-19T10:12:53.080Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T10:12:53.339Z] ---> Running in ce446822ecba [2022-07-19T10:12:53.909Z] Removing intermediate container ce446822ecba [2022-07-19T10:12:53.909Z] ---> 3b1967ce051e [2022-07-19T10:12:53.909Z] Step 12/26 : COPY . . [2022-07-19T10:12:54.478Z] ---> f88708cee0a8 [2022-07-19T10:12:54.478Z] Step 13/26 : RUN ${MAKE} [2022-07-19T10:12:54.478Z] ---> Running in 1e7dca1d5a80 [2022-07-19T10:12:54.738Z] 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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-19T10:13:16.688Z] Removing intermediate container 1e7dca1d5a80 [2022-07-19T10:13:16.688Z] ---> 2efb245fa3fe [2022-07-19T10:13:16.688Z] Step 14/26 : FROM alpine:3.15 [2022-07-19T10:13:16.688Z] 3.15: Pulling from library/alpine [2022-07-19T10:13:16.688Z] df9b9388f04a: Pulling fs layer [2022-07-19T10:13:16.688Z] df9b9388f04a: Download complete [2022-07-19T10:13:16.688Z] df9b9388f04a: Pull complete [2022-07-19T10:13:16.688Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-19T10:13:16.688Z] Status: Downloaded newer image for alpine:3.15 [2022-07-19T10:13:16.688Z] ---> 0ac33e5f5afa [2022-07-19T10:13:16.688Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-19T10:13:16.688Z] ---> Running in 98b27c56b849 [2022-07-19T10:13:16.688Z] Removing intermediate container 98b27c56b849 [2022-07-19T10:13:16.688Z] ---> 4217e9669475 [2022-07-19T10:13:16.688Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-19T10:13:16.688Z] ---> Running in 48fe69ef168c [2022-07-19T10:13:16.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-19T10:13:16.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-19T10:13:16.688Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-19T10:13:16.688Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-19T10:13:16.688Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-19T10:13:16.688Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-19T10:13:16.688Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-19T10:13:16.688Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-19T10:13:16.688Z] Executing busybox-1.34.1-r5.trigger [2022-07-19T10:13:16.688Z] OK: 8 MiB in 20 packages [2022-07-19T10:13:16.688Z] Removing intermediate container 48fe69ef168c [2022-07-19T10:13:16.688Z] ---> 1f952b27044e [2022-07-19T10:13:16.688Z] Step 17/26 : WORKDIR / [2022-07-19T10:13:16.688Z] ---> Running in bf2d40bad8e6 [2022-07-19T10:13:16.688Z] Removing intermediate container bf2d40bad8e6 [2022-07-19T10:13:16.688Z] ---> dc4c723872fc [2022-07-19T10:13:16.688Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-19T10:13:16.688Z] ---> f2d02a17f0e3 [2022-07-19T10:13:16.688Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-19T10:13:16.952Z] ---> 088e721b7583 [2022-07-19T10:13:16.952Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-19T10:13:17.212Z] ---> 3b687fc74e2b [2022-07-19T10:13:17.212Z] Step 21/26 : EXPOSE 59984 [2022-07-19T10:13:17.212Z] ---> Running in b18412386566 [2022-07-19T10:13:17.212Z] Removing intermediate container b18412386566 [2022-07-19T10:13:17.212Z] ---> b44d52af3c75 [2022-07-19T10:13:17.212Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-19T10:13:17.212Z] ---> Running in 329148d67695 [2022-07-19T10:13:17.472Z] Removing intermediate container 329148d67695 [2022-07-19T10:13:17.472Z] ---> 664ff2fff056 [2022-07-19T10:13:17.472Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-19T10:13:17.472Z] ---> Running in 861d9fecc2cc [2022-07-19T10:13:17.472Z] Removing intermediate container 861d9fecc2cc [2022-07-19T10:13:17.472Z] ---> 53baf6740057 [2022-07-19T10:13:17.472Z] Step 24/26 : LABEL arch=amd64 [2022-07-19T10:13:17.472Z] ---> Running in 2d81c745d69b [2022-07-19T10:13:17.740Z] Removing intermediate container 2d81c745d69b [2022-07-19T10:13:17.740Z] ---> abbb61db04f0 [2022-07-19T10:13:17.740Z] Step 25/26 : LABEL git_sha=acc11555bfbb87d8e55b1dab8dd8da6be933b50b [2022-07-19T10:13:17.740Z] ---> Running in b7bfbafd2836 [2022-07-19T10:13:17.740Z] Removing intermediate container b7bfbafd2836 [2022-07-19T10:13:17.740Z] ---> de914a969408 [2022-07-19T10:13:17.740Z] Step 26/26 : LABEL version=0.0.0 [2022-07-19T10:13:17.740Z] ---> Running in 615ad8497f12 [2022-07-19T10:13:18.002Z] Removing intermediate container 615ad8497f12 [2022-07-19T10:13:18.002Z] ---> c6f787af9aed [2022-07-19T10:13:18.002Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-19T10:13:18.002Z] Successfully built c6f787af9aed [2022-07-19T10:13:18.002Z] 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-07-19T10:13:18.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T10:13:18.443Z] [2022-07-19T10:13:18.443Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:13:18.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T10:13:18.747Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-19T10:13:18.747Z] 5eb5b503b376: Pulling fs layer [2022-07-19T10:13:18.747Z] 5c69ac0246d0: Pulling fs layer [2022-07-19T10:13:18.747Z] ec43610c2a17: Pulling fs layer [2022-07-19T10:13:18.747Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-19T10:13:18.747Z] 33b1e0a273af: Pulling fs layer [2022-07-19T10:13:18.747Z] 5d3b04190fa2: Pulling fs layer [2022-07-19T10:13:18.747Z] 2f39f015ded8: Pulling fs layer [2022-07-19T10:13:18.747Z] 33b1e0a273af: Waiting [2022-07-19T10:13:18.747Z] 5d3b04190fa2: Waiting [2022-07-19T10:13:18.747Z] 2f39f015ded8: Waiting [2022-07-19T10:13:18.747Z] 3a2ae6a8a46f: Waiting [2022-07-19T10:13:18.747Z] 5c69ac0246d0: Verifying Checksum [2022-07-19T10:13:18.747Z] 5c69ac0246d0: Download complete [2022-07-19T10:13:18.747Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-19T10:13:18.747Z] 3a2ae6a8a46f: Download complete [2022-07-19T10:13:19.007Z] 33b1e0a273af: Download complete [2022-07-19T10:13:19.007Z] ec43610c2a17: Verifying Checksum [2022-07-19T10:13:19.007Z] ec43610c2a17: Download complete [2022-07-19T10:13:19.007Z] 5d3b04190fa2: Verifying Checksum [2022-07-19T10:13:19.007Z] 5d3b04190fa2: Download complete [2022-07-19T10:13:19.007Z] 5eb5b503b376: Verifying Checksum [2022-07-19T10:13:19.007Z] 5eb5b503b376: Download complete [2022-07-19T10:13:19.946Z] 2f39f015ded8: Verifying Checksum [2022-07-19T10:13:19.946Z] 2f39f015ded8: Download complete [2022-07-19T10:13:20.206Z] 5eb5b503b376: Pull complete [2022-07-19T10:13:20.466Z] 5c69ac0246d0: Pull complete [2022-07-19T10:13:20.728Z] ec43610c2a17: Pull complete [2022-07-19T10:13:20.988Z] 3a2ae6a8a46f: Pull complete [2022-07-19T10:13:21.248Z] 33b1e0a273af: Pull complete [2022-07-19T10:13:21.248Z] 5d3b04190fa2: Pull complete [2022-07-19T10:13:25.438Z] 2f39f015ded8: Pull complete [2022-07-19T10:13:25.438Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-19T10:13:25.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T10:13:25.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:13:25.528Z] prd-ubuntu20.04-docker-8c-8g-20478 does not seem to be running inside a container [2022-07-19T10:13:25.571Z] $ 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-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-19T10:13:27.289Z] $ docker top 9beefc70d985d7f6e328993921bd7b6be4d4450c457b5d154e2a235850e0966e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:13:27.669Z] ---> job-cost.sh [2022-07-19T10:13:27.669Z] lf-activate-venv: SKIPPING [2022-07-19T10:13:27.669Z] INFO: No Stack... [2022-07-19T10:13:27.929Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-19T10:13:28.499Z] INFO: Archiving Costs [Pipeline] sh [2022-07-19T10:13:28.789Z] + cat /w/workspace/undry_device-onvif-camera_PR-111/archives/cost.csv [2022-07-19T10:13:28.789Z] + cut -d, -f6 [Pipeline] lock [2022-07-19T10:13:28.801Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-111-2-stack-cost] [2022-07-19T10:13:28.808Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-2-stack-cost] did not exist. Created. [2022-07-19T10:13:28.808Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-111-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-19T10:13:29.112Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-19T10:13:29.142Z] Stashed 1 file(s) [Pipeline] } [2022-07-19T10:13:29.148Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-19T10:13:29.168Z] $ docker stop --time=1 9beefc70d985d7f6e328993921bd7b6be4d4450c457b5d154e2a235850e0966e [2022-07-19T10:13:30.353Z] $ docker rm -f 9beefc70d985d7f6e328993921bd7b6be4d4450c457b5d154e2a235850e0966e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-19T10:14:44.805Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20480 in /w/workspace/undry_device-onvif-camera_PR-111 [Pipeline] { [Pipeline] ws [2022-07-19T10:14:44.818Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-07-19T10:14:44.863Z] Selected Git installation does not exist. Using Default [2022-07-19T10:14:44.863Z] The recommended git tool is: NONE [2022-07-19T10:14:51.117Z] using credential edgex-jenkins-ssh [2022-07-19T10:14:51.135Z] Cloning the remote Git repository [2022-07-19T10:14:51.203Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-19T10:14:51.431Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-07-19T10:14:51.524Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-19T10:14:51.525Z] > git --version # timeout=10 [2022-07-19T10:14:51.551Z] > git --version # 'git version 2.25.1' [2022-07-19T10:14:51.554Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-19T10:14:51.634Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-19T10:14:52.490Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-19T10:14:52.510Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-19T10:14:52.538Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-19T10:14:52.572Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-19T10:14:52.573Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-19T10:14:52.587Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/111/head:refs/remotes/origin/PR-111 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-19T10:14:53.076Z] Merging remotes/origin/main commit e27dca9baa08924a505fef6c64e81931b1c2a574 into PR head commit 201cf242bae9e183bc4bdc133a26c0afb244aa26 [2022-07-19T10:14:53.534Z] Merge succeeded, producing 9f21df807ec71b5ed2d90c5962930d3467358c37 [2022-07-19T10:14:53.534Z] Checking out Revision 9f21df807ec71b5ed2d90c5962930d3467358c37 (PR-111) [2022-07-19T10:14:53.096Z] > git config core.sparsecheckout # timeout=10 [2022-07-19T10:14:53.112Z] > git checkout -f 201cf242bae9e183bc4bdc133a26c0afb244aa26 # timeout=10 [2022-07-19T10:14:53.258Z] > git remote # timeout=10 [2022-07-19T10:14:53.277Z] > git config --get remote.origin.url # timeout=10 [2022-07-19T10:14:53.295Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-19T10:14:53.307Z] > git merge e27dca9baa08924a505fef6c64e81931b1c2a574 # timeout=10 [2022-07-19T10:14:53.516Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-19T10:14:53.541Z] > git config core.sparsecheckout # timeout=10 [2022-07-19T10:14:53.553Z] > git checkout -f 9f21df807ec71b5ed2d90c5962930d3467358c37 # timeout=10 [2022-07-19T10:14:57.861Z] Commit message: "Merge commit 'e27dca9baa08924a505fef6c64e81931b1c2a574' into HEAD" [2022-07-19T10:14:57.869Z] > git rev-list --no-walk 201cf242bae9e183bc4bdc133a26c0afb244aa26 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T10:14:58.808Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-19T10:14:58.808Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-19T10:14:58.808Z] Dload Upload Total Spent Left Speed [2022-07-19T10:14:58.808Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 223k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh [2022-07-19T10:14:59.652Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-19T10:14:59.995Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-19T10:14:59.995Z] + sudo tee /etc/docker/daemon.new [2022-07-19T10:14:59.995Z] { [2022-07-19T10:14:59.995Z] "registry-mirrors": [ [2022-07-19T10:14:59.995Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-19T10:14:59.995Z] ], [2022-07-19T10:14:59.995Z] "bip": "10.250.0.254/24", [2022-07-19T10:14:59.995Z] "hosts": [ [2022-07-19T10:14:59.995Z] "tcp://0.0.0.0:5555", [2022-07-19T10:14:59.995Z] "unix:///var/run/docker.sock" [2022-07-19T10:14:59.995Z] ], [2022-07-19T10:14:59.995Z] "mtu": 1458, [2022-07-19T10:14:59.995Z] "selinux-enabled": true, [2022-07-19T10:14:59.995Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-19T10:14:59.995Z] } [Pipeline] sh [2022-07-19T10:15:00.343Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-19T10:15:00.686Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T10:15:19.222Z] provisioning config files... [2022-07-19T10:15:19.249Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config92434575355597591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:15:19.612Z] ---> docker-login.sh [2022-07-19T10:15:19.612Z] nexus3.edgexfoundry.org:10001 [2022-07-19T10:15:20.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:15:20.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:15:20.479Z] Configure a credential helper to remove this warning. See [2022-07-19T10:15:20.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:15:20.479Z] [2022-07-19T10:15:20.479Z] Login Succeeded [2022-07-19T10:15:20.479Z] nexus3.edgexfoundry.org:10002 [2022-07-19T10:15:20.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:15:21.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:15:21.028Z] Configure a credential helper to remove this warning. See [2022-07-19T10:15:21.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:15:21.028Z] [2022-07-19T10:15:21.028Z] Login Succeeded [2022-07-19T10:15:21.028Z] nexus3.edgexfoundry.org:10003 [2022-07-19T10:15:21.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:15:21.303Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:15:21.303Z] Configure a credential helper to remove this warning. See [2022-07-19T10:15:21.303Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:15:21.303Z] [2022-07-19T10:15:21.303Z] Login Succeeded [2022-07-19T10:15:21.303Z] nexus3.edgexfoundry.org:10004 [2022-07-19T10:15:21.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:15:21.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:15:21.855Z] Configure a credential helper to remove this warning. See [2022-07-19T10:15:21.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:15:21.855Z] [2022-07-19T10:15:21.855Z] Login Succeeded [2022-07-19T10:15:21.855Z] docker.io [2022-07-19T10:15:22.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-19T10:15:22.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-19T10:15:22.401Z] Configure a credential helper to remove this warning. See [2022-07-19T10:15:22.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-19T10:15:22.401Z] [2022-07-19T10:15:22.401Z] Login Succeeded [2022-07-19T10:15:22.401Z] ---> docker-login.sh ends [Pipeline] } [2022-07-19T10:15:22.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-19T10:15:22.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T10:15:22.701Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-19T10:15:22.711Z] ========================================================= [2022-07-19T10:15:22.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-19T10:15:22.711Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:15:23.059Z] + 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-07-19T10:15:23.331Z] Sending build context to Docker daemon 6.429MB [2022-07-19T10:15:23.331Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T10:15:23.331Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-19T10:15:23.632Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-19T10:15:23.632Z] b3c136eddcbf: Pulling fs layer [2022-07-19T10:15:23.632Z] c0a3192eca97: Pulling fs layer [2022-07-19T10:15:23.632Z] a050256f5b6f: Pulling fs layer [2022-07-19T10:15:23.632Z] 656be50a0ddc: Pulling fs layer [2022-07-19T10:15:23.632Z] 2bbca73fdf42: Pulling fs layer [2022-07-19T10:15:23.632Z] 46d945488cbd: Pulling fs layer [2022-07-19T10:15:23.632Z] 8a5474983e97: Pulling fs layer [2022-07-19T10:15:23.632Z] 329c88fbcd65: Pulling fs layer [2022-07-19T10:15:23.632Z] 46d945488cbd: Waiting [2022-07-19T10:15:23.632Z] 8a5474983e97: Waiting [2022-07-19T10:15:23.632Z] 329c88fbcd65: Waiting [2022-07-19T10:15:23.632Z] 656be50a0ddc: Waiting [2022-07-19T10:15:23.632Z] 2bbca73fdf42: Waiting [2022-07-19T10:15:23.632Z] a050256f5b6f: Verifying Checksum [2022-07-19T10:15:23.632Z] a050256f5b6f: Download complete [2022-07-19T10:15:23.632Z] c0a3192eca97: Download complete [2022-07-19T10:15:23.632Z] 2bbca73fdf42: Verifying Checksum [2022-07-19T10:15:23.632Z] 2bbca73fdf42: Download complete [2022-07-19T10:15:23.632Z] 46d945488cbd: Verifying Checksum [2022-07-19T10:15:23.632Z] 46d945488cbd: Download complete [2022-07-19T10:15:23.632Z] b3c136eddcbf: Download complete [2022-07-19T10:15:24.645Z] b3c136eddcbf: Pull complete [2022-07-19T10:15:24.928Z] 329c88fbcd65: Verifying Checksum [2022-07-19T10:15:24.928Z] 329c88fbcd65: Download complete [2022-07-19T10:15:25.215Z] c0a3192eca97: Pull complete [2022-07-19T10:15:25.822Z] a050256f5b6f: Pull complete [2022-07-19T10:15:26.099Z] 8a5474983e97: Verifying Checksum [2022-07-19T10:15:26.099Z] 8a5474983e97: Download complete [2022-07-19T10:15:26.704Z] 656be50a0ddc: Verifying Checksum [2022-07-19T10:15:26.704Z] 656be50a0ddc: Download complete [2022-07-19T10:15:39.141Z] 656be50a0ddc: Pull complete [2022-07-19T10:15:39.414Z] 2bbca73fdf42: Pull complete [2022-07-19T10:15:39.688Z] 46d945488cbd: Pull complete [2022-07-19T10:15:46.400Z] 8a5474983e97: Pull complete [2022-07-19T10:15:48.382Z] 329c88fbcd65: Pull complete [2022-07-19T10:15:48.382Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-19T10:15:48.382Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-19T10:15:48.382Z] ---> ff4287adb874 [2022-07-19T10:15:48.382Z] Step 3/13 : ARG MAKE="make build" [2022-07-19T10:15:48.981Z] ---> Running in b6f8f0df7fb2 [2022-07-19T10:15:49.256Z] Removing intermediate container b6f8f0df7fb2 [2022-07-19T10:15:49.256Z] ---> 59d819db709a [2022-07-19T10:15:49.256Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T10:15:49.530Z] ---> Running in 512389f2d554 [2022-07-19T10:15:49.804Z] Removing intermediate container 512389f2d554 [2022-07-19T10:15:49.804Z] ---> 965f93328742 [2022-07-19T10:15:49.804Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T10:15:49.804Z] ---> Running in 572e61de9aa4 [2022-07-19T10:15:51.266Z] Removing intermediate container 572e61de9aa4 [2022-07-19T10:15:51.266Z] ---> 82b8b818e09a [2022-07-19T10:15:51.266Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-19T10:15:51.266Z] ---> Running in dc9c65c55530 [2022-07-19T10:15:51.552Z] Removing intermediate container dc9c65c55530 [2022-07-19T10:15:51.552Z] ---> 3410c43a032c [2022-07-19T10:15:51.552Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T10:15:51.827Z] ---> Running in 70ade3542a3c [2022-07-19T10:15:53.813Z] Removing intermediate container 70ade3542a3c [2022-07-19T10:15:53.813Z] ---> a5d177fbd1bb [2022-07-19T10:15:53.813Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T10:15:53.813Z] ---> Running in 4b789115bad2 [2022-07-19T10:15:54.407Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-19T10:15:55.390Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-19T10:15:56.841Z] OK: 221 MiB in 51 packages [2022-07-19T10:15:57.459Z] Removing intermediate container 4b789115bad2 [2022-07-19T10:15:57.459Z] ---> 7da152dfa7f0 [2022-07-19T10:15:57.459Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-19T10:15:57.459Z] ---> Running in a540160710ab [2022-07-19T10:15:57.735Z] Removing intermediate container a540160710ab [2022-07-19T10:15:57.735Z] ---> dd451988065b [2022-07-19T10:15:57.735Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-19T10:15:58.335Z] ---> 65dce7904f2c [2022-07-19T10:15:58.335Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T10:15:58.335Z] ---> Running in fdc7210720ed [2022-07-19T10:16:45.319Z] Removing intermediate container fdc7210720ed [2022-07-19T10:16:45.319Z] ---> c783a494aaf9 [2022-07-19T10:16:45.319Z] Step 12/13 : COPY . . [2022-07-19T10:16:45.319Z] ---> 5b57608f787d [2022-07-19T10:16:45.319Z] Step 13/13 : RUN ${MAKE} [2022-07-19T10:16:45.319Z] ---> Running in fe450aa705b2 [2022-07-19T10:16:45.319Z] noop [2022-07-19T10:16:45.592Z] Removing intermediate container fe450aa705b2 [2022-07-19T10:16:45.592Z] ---> 367c25f3f70d [2022-07-19T10:16:45.592Z] Successfully built 367c25f3f70d [2022-07-19T10:16:45.592Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:16:45.962Z] + docker inspect -f . ci-base-image-arm64 [2022-07-19T10:16:45.962Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:16:46.238Z] prd-ubuntu20.04-docker-arm64-4c-16g-20480 does not seem to be running inside a container [2022-07-19T10:16:46.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-19T10:16:47.674Z] $ docker top d99fb3d7095a7401a09ca0934869a5468b8e7146646722856ead0ece57571af2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T10:16:48.587Z] + go version [2022-07-19T10:16:48.587Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-19T10:16:48.613Z] $ docker stop --time=1 d99fb3d7095a7401a09ca0934869a5468b8e7146646722856ead0ece57571af2 [2022-07-19T10:16:50.247Z] $ docker rm -f d99fb3d7095a7401a09ca0934869a5468b8e7146646722856ead0ece57571af2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:16:50.891Z] + docker inspect -f . ci-base-image-arm64 [2022-07-19T10:16:50.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:16:51.166Z] prd-ubuntu20.04-docker-arm64-4c-16g-20480 does not seem to be running inside a container [2022-07-19T10:16:51.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-19T10:16:52.485Z] $ docker top c0ccbc8040998f5dde89192441d97ba5c148f93106a9579d3720ed48eb793fa7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T10:16:53.389Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-07-19T10:16:54.059Z] + make test [2022-07-19T10:16:54.059Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-19T10:16:56.045Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-19T10:18:32.959Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-19T10:18:32.959Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.093s coverage: 7.0% of statements [2022-07-19T10:18:32.959Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-19T10:18:51.284Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.445s coverage: 13.8% of statements [2022-07-19T10:18:51.284Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-19T10:18:51.284Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-19T10:19:13.511Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-19T10:19:13.511Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-19T10:19:13.511Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-19T10:19:15.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-19T10:19:15.521Z] $ docker stop --time=1 c0ccbc8040998f5dde89192441d97ba5c148f93106a9579d3720ed48eb793fa7 [2022-07-19T10:19:17.333Z] $ docker rm -f c0ccbc8040998f5dde89192441d97ba5c148f93106a9579d3720ed48eb793fa7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-19T10:19:18.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-19T10:19:18.427Z] Warning: overwriting stash ‘coverage-report’ [2022-07-19T10:19:19.103Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-19T10:19:19.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-19T10:19:19.883Z] + ls -al . [2022-07-19T10:19:19.883Z] total 248 [2022-07-19T10:19:19.883Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 19 10:19 . [2022-07-19T10:19:19.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:14 .. [2022-07-19T10:19:19.883Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 10:14 .git [2022-07-19T10:19:19.883Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:14 .github [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 19 10:14 .gitignore [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 10:14 .golangci.yml [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 19 10:14 Attribution.txt [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 19 10:14 CHANGELOG.md [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 19 10:14 Dockerfile [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 10:14 GOVERNANCE.md [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 19 10:14 Jenkinsfile [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 19 10:14 LICENSE [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 19 10:14 Makefile [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 19 10:14 OWNERS.md [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 19 10:14 README.md [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 19 10:11 VERSION [2022-07-19T10:19:19.883Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 10:14 bin [2022-07-19T10:19:19.883Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 10:14 cmd [2022-07-19T10:19:19.883Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 19 10:18 coverage.out [2022-07-19T10:19:19.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:14 doc [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 19 10:14 go.mod [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 19 10:14 go.sum [2022-07-19T10:19:19.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:14 internal [2022-07-19T10:19:19.883Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 10:14 snap [2022-07-19T10:19:19.883Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 19 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:19:20.261Z] + 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=9f21df807ec71b5ed2d90c5962930d3467358c37 --label arch=arm64 --label version=0.0.0 . [2022-07-19T10:19:20.865Z] Sending build context to Docker daemon 6.5MB [2022-07-19T10:19:20.865Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-19T10:19:20.865Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-19T10:19:20.865Z] ---> 367c25f3f70d [2022-07-19T10:19:20.865Z] Step 3/26 : ARG MAKE="make build" [2022-07-19T10:19:20.865Z] ---> Running in 1087441c831d [2022-07-19T10:19:21.465Z] Removing intermediate container 1087441c831d [2022-07-19T10:19:21.465Z] ---> a7da1ad61f0a [2022-07-19T10:19:21.465Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-19T10:19:21.465Z] ---> Running in 694c7b257269 [2022-07-19T10:19:21.739Z] Removing intermediate container 694c7b257269 [2022-07-19T10:19:21.739Z] ---> ea2eb8d5f225 [2022-07-19T10:19:21.739Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-19T10:19:21.739Z] ---> Running in af18417c635b [2022-07-19T10:19:22.013Z] Removing intermediate container af18417c635b [2022-07-19T10:19:22.013Z] ---> 35b1b8c73b1e [2022-07-19T10:19:22.013Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-19T10:19:22.013Z] ---> Running in 88b71d576dc8 [2022-07-19T10:19:22.630Z] Removing intermediate container 88b71d576dc8 [2022-07-19T10:19:22.630Z] ---> b207b7bd19be [2022-07-19T10:19:22.630Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-19T10:19:22.630Z] ---> Running in 00b92428b984 [2022-07-19T10:19:24.073Z] Removing intermediate container 00b92428b984 [2022-07-19T10:19:24.073Z] ---> c8b1b929357e [2022-07-19T10:19:24.073Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-19T10:19:24.368Z] ---> Running in 931a28f50460 [2022-07-19T10:19:25.344Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-19T10:19:26.324Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-19T10:19:27.299Z] OK: 221 MiB in 51 packages [2022-07-19T10:19:27.895Z] Removing intermediate container 931a28f50460 [2022-07-19T10:19:27.895Z] ---> acbabfa4cc77 [2022-07-19T10:19:27.895Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-19T10:19:28.168Z] ---> Running in 773e1c0c5e5b [2022-07-19T10:19:28.440Z] Removing intermediate container 773e1c0c5e5b [2022-07-19T10:19:28.440Z] ---> 1d9276c6ec89 [2022-07-19T10:19:28.440Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-19T10:19:29.034Z] ---> a1956c42aa18 [2022-07-19T10:19:29.034Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-19T10:19:29.034Z] ---> Running in 263f781b936a [2022-07-19T10:19:31.020Z] Removing intermediate container 263f781b936a [2022-07-19T10:19:31.021Z] ---> 2dea0db86600 [2022-07-19T10:19:31.021Z] Step 12/26 : COPY . . [2022-07-19T10:19:31.999Z] ---> 87a0b497b9b4 [2022-07-19T10:19:31.999Z] Step 13/26 : RUN ${MAKE} [2022-07-19T10:19:32.278Z] ---> Running in ddcfd289ade4 [2022-07-19T10:19:33.272Z] 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.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-07-19T10:21:55.180Z] Removing intermediate container ddcfd289ade4 [2022-07-19T10:21:55.180Z] ---> 99ca65a2a632 [2022-07-19T10:21:55.180Z] Step 14/26 : FROM alpine:3.15 [2022-07-19T10:21:55.180Z] 3.15: Pulling from library/alpine [2022-07-19T10:21:55.180Z] 9981e73032c8: Pulling fs layer [2022-07-19T10:21:55.180Z] 9981e73032c8: Verifying Checksum [2022-07-19T10:21:55.180Z] 9981e73032c8: Download complete [2022-07-19T10:21:55.180Z] 9981e73032c8: Pull complete [2022-07-19T10:21:55.180Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-19T10:21:55.180Z] Status: Downloaded newer image for alpine:3.15 [2022-07-19T10:21:55.180Z] ---> 3fb3c9af89a9 [2022-07-19T10:21:55.180Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-19T10:21:55.180Z] ---> Running in aa41003d4886 [2022-07-19T10:21:55.180Z] Removing intermediate container aa41003d4886 [2022-07-19T10:21:55.180Z] ---> a2c500817f93 [2022-07-19T10:21:55.180Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-19T10:21:55.180Z] ---> Running in bcb430563407 [2022-07-19T10:21:55.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-19T10:21:55.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-19T10:21:55.181Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-19T10:21:55.181Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-19T10:21:55.181Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-19T10:21:55.181Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-19T10:21:55.181Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-19T10:21:55.181Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-19T10:21:55.181Z] Executing busybox-1.34.1-r5.trigger [2022-07-19T10:21:55.181Z] OK: 8 MiB in 20 packages [2022-07-19T10:21:55.181Z] Removing intermediate container bcb430563407 [2022-07-19T10:21:55.181Z] ---> b55f4406d3d0 [2022-07-19T10:21:55.181Z] Step 17/26 : WORKDIR / [2022-07-19T10:21:55.181Z] ---> Running in 0a7558c1ac44 [2022-07-19T10:21:55.181Z] Removing intermediate container 0a7558c1ac44 [2022-07-19T10:21:55.181Z] ---> 4795b12830fd [2022-07-19T10:21:55.181Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-19T10:21:55.181Z] ---> 0a3888ec8dbb [2022-07-19T10:21:55.181Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-19T10:21:55.181Z] ---> 3bcbe82f9e77 [2022-07-19T10:21:55.181Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-19T10:21:55.181Z] ---> 72574a20a320 [2022-07-19T10:21:55.181Z] Step 21/26 : EXPOSE 59984 [2022-07-19T10:21:55.181Z] ---> Running in 8854bac82ba4 [2022-07-19T10:21:55.181Z] Removing intermediate container 8854bac82ba4 [2022-07-19T10:21:55.181Z] ---> e1725d797abd [2022-07-19T10:21:55.181Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-19T10:21:55.181Z] ---> Running in 7c4e2ca07a40 [2022-07-19T10:21:55.181Z] Removing intermediate container 7c4e2ca07a40 [2022-07-19T10:21:55.181Z] ---> d13cbc46f393 [2022-07-19T10:21:55.181Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-19T10:21:55.181Z] ---> Running in aa54a8a8ca09 [2022-07-19T10:21:55.181Z] Removing intermediate container aa54a8a8ca09 [2022-07-19T10:21:55.181Z] ---> f7ac58cdf67a [2022-07-19T10:21:55.181Z] Step 24/26 : LABEL arch=arm64 [2022-07-19T10:21:55.181Z] ---> Running in fca41d6d39a0 [2022-07-19T10:21:55.181Z] Removing intermediate container fca41d6d39a0 [2022-07-19T10:21:55.181Z] ---> a74254abc222 [2022-07-19T10:21:55.181Z] Step 25/26 : LABEL git_sha=9f21df807ec71b5ed2d90c5962930d3467358c37 [2022-07-19T10:21:55.181Z] ---> Running in 77236d3b6d54 [2022-07-19T10:21:55.181Z] Removing intermediate container 77236d3b6d54 [2022-07-19T10:21:55.181Z] ---> 303ac16d4f00 [2022-07-19T10:21:55.181Z] Step 26/26 : LABEL version=0.0.0 [2022-07-19T10:21:55.181Z] ---> Running in a0228d8e3301 [2022-07-19T10:21:55.181Z] Removing intermediate container a0228d8e3301 [2022-07-19T10:21:55.181Z] ---> 04d20682612b [2022-07-19T10:21:55.181Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-19T10:21:55.181Z] Successfully built 04d20682612b [2022-07-19T10:21:55.181Z] 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-07-19T10:21:55.642Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T10:21:55.642Z] [2022-07-19T10:21:55.642Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:21:55.989Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T10:21:56.283Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-19T10:21:56.283Z] 8998bd30e6a1: Pulling fs layer [2022-07-19T10:21:56.283Z] 04944245beec: Pulling fs layer [2022-07-19T10:21:56.283Z] 699f458cf7ca: Pulling fs layer [2022-07-19T10:21:56.283Z] 765212b225bb: Pulling fs layer [2022-07-19T10:21:56.283Z] f23df028b6ca: Pulling fs layer [2022-07-19T10:21:56.283Z] d65c8cfc05b1: Pulling fs layer [2022-07-19T10:21:56.283Z] 2437ff75d9bd: Pulling fs layer [2022-07-19T10:21:56.283Z] 765212b225bb: Waiting [2022-07-19T10:21:56.283Z] f23df028b6ca: Waiting [2022-07-19T10:21:56.283Z] d65c8cfc05b1: Waiting [2022-07-19T10:21:56.283Z] 2437ff75d9bd: Waiting [2022-07-19T10:21:56.283Z] 04944245beec: Verifying Checksum [2022-07-19T10:21:56.283Z] 04944245beec: Download complete [2022-07-19T10:21:56.283Z] 765212b225bb: Verifying Checksum [2022-07-19T10:21:56.283Z] 765212b225bb: Download complete [2022-07-19T10:21:56.283Z] f23df028b6ca: Verifying Checksum [2022-07-19T10:21:56.283Z] f23df028b6ca: Download complete [2022-07-19T10:21:56.283Z] d65c8cfc05b1: Verifying Checksum [2022-07-19T10:21:56.283Z] d65c8cfc05b1: Download complete [2022-07-19T10:21:56.562Z] 699f458cf7ca: Verifying Checksum [2022-07-19T10:21:56.563Z] 699f458cf7ca: Download complete [2022-07-19T10:21:56.835Z] 8998bd30e6a1: Verifying Checksum [2022-07-19T10:21:56.835Z] 8998bd30e6a1: Download complete [2022-07-19T10:21:59.456Z] 2437ff75d9bd: Verifying Checksum [2022-07-19T10:21:59.456Z] 2437ff75d9bd: Download complete [2022-07-19T10:22:00.895Z] 8998bd30e6a1: Pull complete [2022-07-19T10:22:01.490Z] 04944245beec: Pull complete [2022-07-19T10:22:02.933Z] 699f458cf7ca: Pull complete [2022-07-19T10:22:03.205Z] 765212b225bb: Pull complete [2022-07-19T10:22:04.190Z] f23df028b6ca: Pull complete [2022-07-19T10:22:04.463Z] d65c8cfc05b1: Pull complete [2022-07-19T10:22:19.548Z] 2437ff75d9bd: Pull complete [2022-07-19T10:22:19.548Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-19T10:22:19.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-19T10:22:19.548Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:22:19.788Z] prd-ubuntu20.04-docker-arm64-4c-16g-20480 does not seem to be running inside a container [2022-07-19T10:22:19.867Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-19T10:22:22.402Z] $ docker top 3d9036dacba7361cebaddb57822e4c28a9cf03d7588cd6693a5023f89c858cc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:22:23.299Z] ---> job-cost.sh [2022-07-19T10:22:23.299Z] lf-activate-venv: SKIPPING [2022-07-19T10:22:23.299Z] INFO: No Stack... [2022-07-19T10:22:23.572Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-19T10:22:24.547Z] INFO: Archiving Costs [Pipeline] sh [2022-07-19T10:22:25.213Z] + cut+ -d, -f6 [2022-07-19T10:22:25.213Z] cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock [2022-07-19T10:22:25.289Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-111-2-stack-cost] [2022-07-19T10:22:25.295Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-2-stack-cost] did not exist. Created. [2022-07-19T10:22:25.295Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-111-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-19T10:22:26.060Z] /w/workspace/device-onvif-camera/2@tmp/durable-59512fe0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-19T10:22:26.772Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-19T10:22:26.784Z] Warning: overwriting stash ‘stack-cost’ [2022-07-19T10:22:26.836Z] Stashed 1 file(s) [Pipeline] } [2022-07-19T10:22:26.842Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-111-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-19T10:22:26.865Z] $ docker stop --time=1 3d9036dacba7361cebaddb57822e4c28a9cf03d7588cd6693a5023f89c858cc5 [2022-07-19T10:22:28.350Z] $ docker rm -f 3d9036dacba7361cebaddb57822e4c28a9cf03d7588cd6693a5023f89c858cc5 [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-07-19T10:22:28.802Z] provisioning config files... [2022-07-19T10:22:28.811Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config6022439805635450898tmp [Pipeline] { [Pipeline] sh [2022-07-19T10:22:29.104Z] + set +x [2022-07-19T10:22:29.104Z] + curl -s https://codecov.io/bash [2022-07-19T10:22:29.104Z] + bash -s -- [2022-07-19T10:22:29.104Z] [2022-07-19T10:22:29.104Z] _____ _ [2022-07-19T10:22:29.104Z] / ____| | | [2022-07-19T10:22:29.104Z] | | ___ __| | ___ ___ _____ __ [2022-07-19T10:22:29.104Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-19T10:22:29.104Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-19T10:22:29.104Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-19T10:22:29.104Z] Bash-1.0.6 [2022-07-19T10:22:29.104Z] [2022-07-19T10:22:29.104Z] [2022-07-19T10:22:29.104Z] ==> git version 2.25.1 found [2022-07-19T10:22:29.104Z] ==> 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-07-19T10:22:29.104Z] Release-Date: 2020-01-08 [2022-07-19T10:22:29.104Z] 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-07-19T10:22:29.104Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-19T10:22:29.104Z] ==> Jenkins CI detected. [2022-07-19T10:22:29.104Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-111 [2022-07-19T10:22:29.104Z] project root: . [2022-07-19T10:22:29.104Z] --> token set from env [2022-07-19T10:22:29.104Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-19T10:22:29.104Z] ==> Running gcov in . (disable via -X gcov) [2022-07-19T10:22:29.104Z] ==> Python coveragepy not found [2022-07-19T10:22:29.104Z] ==> Searching for coverage reports in: [2022-07-19T10:22:29.104Z] + . [2022-07-19T10:22:29.104Z] -> Found 1 reports [2022-07-19T10:22:29.104Z] ==> Detecting git/mercurial file structure [2022-07-19T10:22:29.104Z] ==> Reading reports [2022-07-19T10:22:29.104Z] + ./coverage.out bytes=70262 [2022-07-19T10:22:29.104Z] ==> Appending adjustments [2022-07-19T10:22:29.104Z] https://docs.codecov.io/docs/fixing-reports [2022-07-19T10:22:29.366Z] + Found adjustments [2022-07-19T10:22:29.366Z] ==> Gzipping contents [2022-07-19T10:22:29.366Z] 12K /tmp/codecov.sMB9hB.gz [2022-07-19T10:22:29.366Z] ==> Uploading reports [2022-07-19T10:22:29.366Z] url: https://codecov.io [2022-07-19T10:22:29.366Z] query: branch=PR-111&commit=acc11555bfbb87d8e55b1dab8dd8da6be933b50b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-111%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=111&job=&cmd_args= [2022-07-19T10:22:29.366Z] -> Pinging Codecov [2022-07-19T10:22:29.366Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-111&commit=acc11555bfbb87d8e55b1dab8dd8da6be933b50b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-111%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=111&job=&cmd_args= [2022-07-19T10:22:31.279Z] -> Uploading to [2022-07-19T10:22:31.279Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-19/F29A59C45E3A92E06B3E522C9905F8EF/acc11555bfbb87d8e55b1dab8dd8da6be933b50b/54c7f3f1-2cad-490c-9263-13ff484a84f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220719T102230Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0ccb0fc97ff3414cd60825bee7ccdbef18b8acc3db6cbfb4d2449a82649a3f0 [2022-07-19T10:22:31.279Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-19T10:22:31.279Z] Dload Upload Total Spent Left Speed [2022-07-19T10:22:31.279Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9555 0 0 100 9555 0 38220 --:--:-- --:--:-- --:--:-- 38067 100 9555 0 0 100 9555 0 38220 --:--:-- --:--:-- --:--:-- 38067 [2022-07-19T10:22:31.279Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/acc11555bfbb87d8e55b1dab8dd8da6be933b50b [Pipeline] } [2022-07-19T10:22:31.288Z] 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-07-19T10:22:31.991Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-111/archives ] [2022-07-19T10:22:31.991Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-111/archives [2022-07-19T10:22:31.991Z] total 16 [2022-07-19T10:22:31.991Z] drwxr-xr-x 3 root root 4096 Jul 19 10:13 . [2022-07-19T10:22:31.991Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 10:13 .. [2022-07-19T10:22:31.991Z] drwxr-xr-x 2 root root 4096 Jul 19 10:13 cost [2022-07-19T10:22:31.991Z] -rw-r--r-- 1 root root 90 Jul 19 10:13 cost.csv [2022-07-19T10:22:31.991Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-111/archives [2022-07-19T10:22:31.992Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-111/archives [2022-07-19T10:22:31.992Z] total 16 [2022-07-19T10:22:31.992Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 10:13 . [2022-07-19T10:22:31.992Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 10:13 .. [2022-07-19T10:22:31.992Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 10:13 cost [2022-07-19T10:22:31.992Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 19 10:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:22:32.285Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:22:33.154Z] ---> package-listing.sh [2022-07-19T10:22:33.155Z] ++ facter osfamily [2022-07-19T10:22:33.155Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-19T10:22:33.414Z] + OS_FAMILY=debian [2022-07-19T10:22:33.414Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-111 [2022-07-19T10:22:33.414Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-19T10:22:33.414Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-19T10:22:33.414Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-19T10:22:33.414Z] + PACKAGES=/tmp/packages_start.txt [2022-07-19T10:22:33.414Z] + '[' /w/workspace/undry_device-onvif-camera_PR-111 ']' [2022-07-19T10:22:33.414Z] + PACKAGES=/tmp/packages_end.txt [2022-07-19T10:22:33.414Z] + case "${OS_FAMILY}" in [2022-07-19T10:22:33.414Z] + dpkg -l [2022-07-19T10:22:33.414Z] + grep '^ii' [2022-07-19T10:22:33.414Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-19T10:22:33.414Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-19T10:22:33.414Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-19T10:22:33.414Z] + '[' /w/workspace/undry_device-onvif-camera_PR-111 ']' [2022-07-19T10:22:33.414Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-111/archives/ [2022-07-19T10:22:33.414Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-111/archives/ [Pipeline] echo [2022-07-19T10:22:33.427Z] 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-111/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-19T10:22:33.707Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-19T10:22:34.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-19T10:22:34.268Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-19T10:22:34.352Z] prd-ubuntu20.04-docker-8c-8g-20478 does not seem to be running inside a container [2022-07-19T10:22:34.387Z] $ 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-111/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-111 -v /w/workspace/undry_device-onvif-camera_PR-111:/w/workspace/undry_device-onvif-camera_PR-111:rw,z -v /w/workspace/undry_device-onvif-camera_PR-111@tmp:/w/workspace/undry_device-onvif-camera_PR-111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-19T10:22:35.264Z] $ docker top 1edf9df9325876cac6d20054508b76517bd890efe0c89ddcd00159db6516e84d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-19T10:22:35.612Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-19T10:22:35.902Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-19T10:22:36.194Z] + ls /var/log/sa-host [2022-07-19T10:22:36.194Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-19T10:22:36.264Z] provisioning config files... [2022-07-19T10:22:36.274Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-111@tmp/config1842063375668950056tmp [Pipeline] { [Pipeline] echo [2022-07-19T10:22:36.290Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:22:36.575Z] ---> create-netrc.sh [Pipeline] } [2022-07-19T10:22:36.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:22:36.909Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-19T10:22:36.920Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:22:37.211Z] ---> sudo-logs.sh [2022-07-19T10:22:37.211Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-19T10:22:37.239Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:22:37.528Z] ---> job-cost.sh [2022-07-19T10:22:37.528Z] lf-activate-venv: SKIPPING [2022-07-19T10:22:37.528Z] DEBUG: total: 0.2199999988079071 [2022-07-19T10:22:37.528Z] INFO: Retrieving Stack Cost... [2022-07-19T10:22:38.100Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-19T10:22:38.361Z] INFO: Archiving Costs [Pipeline] echo [2022-07-19T10:22:38.372Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-19T10:22:38.661Z] ---> logs-deploy.sh [2022-07-19T10:22:38.661Z] lf-activate-venv: SKIPPING [2022-07-19T10:22:38.661Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-111/2 [2022-07-19T10:22:38.661Z] INFO: archiving workspace using pattern(s): [2022-07-19T10:22:39.604Z] Archives upload complete. [2022-07-19T10:22:39.604Z] INFO: archiving logs to Nexus