Pull request #103 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at e5053f8c731e365d1df3f2055d168c1a15fdfcf5 rather than 1a7e4ec04873150078f59f6a168f4fdb28d2a847 Obtained Jenkinsfile from e5053f8c731e365d1df3f2055d168c1a15fdfcf5 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-ssh14839046928738605961.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh14939865282939411343.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-103/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-103/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10032578555869770848.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh15753963231638998592.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-103/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-103/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8364170662391127405.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-19834 in /w/workspace/undry_device-onvif-camera_PR-103 [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-103 # 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 e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit 1a7e4ec04873150078f59f6a168f4fdb28d2a847 Merge succeeded, producing 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 Checking out Revision 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 (PR-103) > 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/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a7e4ec04873150078f59f6a168f4fdb28d2a847 # 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 e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 # timeout=10 Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-13T07:53:34.954Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-13T07:53:35.004Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-13T07:53:35.016Z] ========================================================= [2022-07-13T07:53:35.016Z] EdgeX Global Pipelines Version Info [2022-07-13T07:53:35.016Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk f62c5088c81a77f5f8155fa76f8b672cae66440b # timeout=10 [2022-07-13T07:53:36.193Z] ------------------- [2022-07-13T07:53:36.193Z] stable info: [2022-07-13T07:53:36.193Z] ------------------- [2022-07-13T07:53:36.193Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-13T07:53:36.193Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-13T07:53:36.193Z] Message: update stable to v1.0.237 [2022-07-13T07:53:36.456Z] ------------------- [2022-07-13T07:53:36.456Z] experimental info: [2022-07-13T07:53:36.456Z] ------------------- [2022-07-13T07:53:36.456Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-13T07:53:36.456Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-13T07:53:36.456Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-13T07:53:36.638Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-07-13T07:53:36.649Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-07-13T07:53:36.660Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-13T07:53:36.671Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-13T07:53:36.683Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-13T07:53:36.699Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-13T07:53:36.714Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-13T07:53:36.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-13T07:53:36.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-13T07:53:36.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-13T07:53:36.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-13T07:53:36.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-07-13T07:53:36.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-13T07:53:36.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-13T07:53:36.809Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-13T07:53:36.820Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-13T07:53:36.833Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-13T07:53:36.845Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-13T07:53:36.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-13T07:53:36.869Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-13T07:53:36.880Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-13T07:53:36.893Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-13T07:53:36.904Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-13T07:53:36.915Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-13T07:53:36.929Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-13T07:53:36.943Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-13T07:53:36.957Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-13T07:53:36.974Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-103 [Pipeline] echo [2022-07-13T07:53:36.987Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-103 [Pipeline] echo [2022-07-13T07:53:36.998Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-103 [Pipeline] echo [2022-07-13T07:53:37.009Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [Pipeline] echo [2022-07-13T07:53:37.020Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48ea7c9 [Pipeline] echo [2022-07-13T07:53:37.033Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-13T07:53:37.076Z] provisioning config files... [2022-07-13T07:53:37.104Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config9117097288663322759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T07:53:37.410Z] ---> docker-login.sh [2022-07-13T07:53:37.410Z] nexus3.edgexfoundry.org:10001 [2022-07-13T07:53:37.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:53:37.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:53:37.934Z] Configure a credential helper to remove this warning. See [2022-07-13T07:53:37.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:53:37.934Z] [2022-07-13T07:53:37.934Z] Login Succeeded [2022-07-13T07:53:37.934Z] nexus3.edgexfoundry.org:10002 [2022-07-13T07:53:37.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:53:38.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:53:38.196Z] Configure a credential helper to remove this warning. See [2022-07-13T07:53:38.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:53:38.196Z] [2022-07-13T07:53:38.196Z] Login Succeeded [2022-07-13T07:53:38.196Z] nexus3.edgexfoundry.org:10003 [2022-07-13T07:53:38.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:53:38.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:53:38.196Z] Configure a credential helper to remove this warning. See [2022-07-13T07:53:38.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:53:38.196Z] [2022-07-13T07:53:38.196Z] Login Succeeded [2022-07-13T07:53:38.196Z] nexus3.edgexfoundry.org:10004 [2022-07-13T07:53:38.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:53:38.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:53:38.458Z] Configure a credential helper to remove this warning. See [2022-07-13T07:53:38.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:53:38.458Z] [2022-07-13T07:53:38.458Z] Login Succeeded [2022-07-13T07:53:38.458Z] docker.io [2022-07-13T07:53:38.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:53:38.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:53:38.720Z] Configure a credential helper to remove this warning. See [2022-07-13T07:53:38.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:53:38.720Z] [2022-07-13T07:53:38.720Z] Login Succeeded [2022-07-13T07:53:38.720Z] ---> docker-login.sh ends [Pipeline] } [2022-07-13T07:53:38.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-13T07:53:39.092Z] + git rev-list -1 --merges 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131~1..48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [Pipeline] echo [2022-07-13T07:53:39.126Z] -----------> git rev-list -1 --merges 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131~1..48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [2022-07-13T07:53:39.126Z] 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [false] [Pipeline] sh [2022-07-13T07:53:39.422Z] + git log --format=format:%s -1 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [Pipeline] echo [2022-07-13T07:53:39.438Z] ========================================================= [2022-07-13T07:53:39.438Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-13T07:53:39.438Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-13T07:53:39.779Z] + git log --format=format:%s -1 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [Pipeline] echo [2022-07-13T07:53:39.792Z] [semverPrep] GIT_COMMIT: 48ea7c93e96ec5f0c72c7e1836acc4d4639ea131, Commit Message: Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD [Pipeline] echo [2022-07-13T07:53:39.803Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-13T07:53:40.168Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-13T07:53:40.168Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-13T07:53:40.168Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-13T07:53:40.168Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-13T07:53:40.168Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2022-07-13T07:53:40.168Z] -a /etc/ssh/ssh_known_hosts [2022-07-13T07:53:40.168Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T07:53:40.603Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-13T07:53:40.603Z] [2022-07-13T07:53:40.603Z] 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-13T07:53:40.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-13T07:53:40.905Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-13T07:53:40.905Z] b85a868b505f: Pulling fs layer [2022-07-13T07:53:40.905Z] e2be974225ed: Pulling fs layer [2022-07-13T07:53:40.905Z] 339a4e72a1f5: Pulling fs layer [2022-07-13T07:53:40.905Z] 988bab9f4d93: Pulling fs layer [2022-07-13T07:53:40.905Z] 1469e6f7b9e6: Pulling fs layer [2022-07-13T07:53:40.905Z] eaf3925da568: Pulling fs layer [2022-07-13T07:53:40.905Z] bab4dde63d76: Pulling fs layer [2022-07-13T07:53:40.905Z] bde34c3a00c8: Pulling fs layer [2022-07-13T07:53:40.905Z] b352a97aabf1: Pulling fs layer [2022-07-13T07:53:40.905Z] 4872d77fe225: Pulling fs layer [2022-07-13T07:53:40.905Z] 5851b861e8e6: Pulling fs layer [2022-07-13T07:53:40.905Z] eaf3925da568: Waiting [2022-07-13T07:53:40.905Z] 988bab9f4d93: Waiting [2022-07-13T07:53:40.905Z] bab4dde63d76: Waiting [2022-07-13T07:53:40.905Z] bde34c3a00c8: Waiting [2022-07-13T07:53:40.905Z] b352a97aabf1: Waiting [2022-07-13T07:53:40.905Z] 4872d77fe225: Waiting [2022-07-13T07:53:40.905Z] 5851b861e8e6: Waiting [2022-07-13T07:53:40.905Z] 1469e6f7b9e6: Waiting [2022-07-13T07:53:40.905Z] e2be974225ed: Verifying Checksum [2022-07-13T07:53:40.905Z] e2be974225ed: Download complete [2022-07-13T07:53:40.905Z] 988bab9f4d93: Verifying Checksum [2022-07-13T07:53:40.905Z] 988bab9f4d93: Download complete [2022-07-13T07:53:41.166Z] 1469e6f7b9e6: Verifying Checksum [2022-07-13T07:53:41.166Z] eaf3925da568: Verifying Checksum [2022-07-13T07:53:41.166Z] eaf3925da568: Download complete [2022-07-13T07:53:41.166Z] 339a4e72a1f5: Verifying Checksum [2022-07-13T07:53:41.166Z] 339a4e72a1f5: Download complete [2022-07-13T07:53:41.166Z] bde34c3a00c8: Verifying Checksum [2022-07-13T07:53:41.166Z] bde34c3a00c8: Download complete [2022-07-13T07:53:41.166Z] b352a97aabf1: Verifying Checksum [2022-07-13T07:53:41.166Z] b352a97aabf1: Download complete [2022-07-13T07:53:41.166Z] 4872d77fe225: Download complete [2022-07-13T07:53:41.166Z] 5851b861e8e6: Download complete [2022-07-13T07:53:41.166Z] b85a868b505f: Verifying Checksum [2022-07-13T07:53:41.166Z] b85a868b505f: Download complete [2022-07-13T07:53:41.426Z] bab4dde63d76: Verifying Checksum [2022-07-13T07:53:41.426Z] bab4dde63d76: Download complete [2022-07-13T07:53:42.376Z] b85a868b505f: Pull complete [2022-07-13T07:53:42.637Z] e2be974225ed: Pull complete [2022-07-13T07:53:43.205Z] 339a4e72a1f5: Pull complete [2022-07-13T07:53:43.205Z] 988bab9f4d93: Pull complete [2022-07-13T07:53:43.466Z] 1469e6f7b9e6: Pull complete [2022-07-13T07:53:43.466Z] eaf3925da568: Pull complete [2022-07-13T07:53:45.376Z] bab4dde63d76: Pull complete [2022-07-13T07:53:45.376Z] bde34c3a00c8: Pull complete [2022-07-13T07:53:45.638Z] b352a97aabf1: Pull complete [2022-07-13T07:53:45.638Z] 4872d77fe225: Pull complete [2022-07-13T07:53:45.900Z] 5851b861e8e6: Pull complete [2022-07-13T07:53:45.900Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-13T07:53:45.900Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-13T07:53:45.900Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T07:53:46.015Z] prd-ubuntu20.04-docker-8c-8g-19834 does not seem to be running inside a container [2022-07-13T07:53:46.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-13T07:53:47.513Z] $ docker top 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 -eo pid,comm [2022-07-13T07:53:47.577Z] 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-13T07:53:47.577Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-13T07:53:47.614Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-13T07:53:47.614Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-13T07:53:47.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-13T07:53:47.761Z] $ docker exec 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 ssh-agent [2022-07-13T07:53:47.887Z] SSH_AUTH_SOCK=/tmp/ssh-JsddFZnZdpX2/agent.34 [2022-07-13T07:53:47.887Z] SSH_AGENT_PID=40 [2022-07-13T07:53:47.894Z] Running ssh-add (command line suppressed) [2022-07-13T07:53:48.018Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_1763943185864007414.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_1763943185864007414.key) [2022-07-13T07:53:48.028Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-13T07:53:48.320Z] + git tag --points-at HEAD [Pipeline] } [2022-07-13T07:53:48.346Z] $ docker exec --env ******** --env ******** 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 ssh-agent -k [2022-07-13T07:53:48.461Z] unset SSH_AUTH_SOCK; [2022-07-13T07:53:48.461Z] unset SSH_AGENT_PID; [2022-07-13T07:53:48.461Z] echo Agent pid 40 killed; [2022-07-13T07:53:48.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-13T07:53:48.491Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-13T07:53:48.491Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-13T07:53:48.610Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-13T07:53:48.618Z] $ docker exec 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 ssh-agent [2022-07-13T07:53:48.745Z] SSH_AUTH_SOCK=/tmp/ssh-ipmDIXsDJGHn/agent.72 [2022-07-13T07:53:48.745Z] SSH_AGENT_PID=78 [2022-07-13T07:53:48.751Z] Running ssh-add (command line suppressed) [2022-07-13T07:53:48.875Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_4630664748253295846.key (/w/workspace/undry_device-onvif-camera_PR-103@tmp/private_key_4630664748253295846.key) [2022-07-13T07:53:48.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-13T07:53:49.174Z] + git semver init [2022-07-13T07:53:49.435Z] 2022-07-13 07:53:49,388 [run_init] DEBUG init version:0.0.0 force:False [2022-07-13T07:53:49.435Z] 2022-07-13 07:53:49,389 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-103/.semver [2022-07-13T07:53:49.435Z] 2022-07-13 07:53:49,389 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-103/.semver [2022-07-13T07:53:49.435Z] 2022-07-13 07:53:49,390 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-103/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-103, universal_newlines=False, shell=None, istream=None) [2022-07-13T07:53:50.380Z] 2022-07-13 07:53:50,092 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-103/.git/info/exclude [2022-07-13T07:53:50.380Z] 2022-07-13 07:53:50,092 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 with force:False [2022-07-13T07:53:50.380Z] 2022-07-13 07:53:50,092 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 [2022-07-13T07:53:50.380Z] 2022-07-13 07:53:50,095 [execute] INFO git cat-file --batch-check [2022-07-13T07:53:50.380Z] 2022-07-13 07:53:50,096 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) [2022-07-13T07:53:50.380Z] 2022-07-13 07:53:50,101 [execute] INFO git cat-file --batch [2022-07-13T07:53:50.380Z] 2022-07-13 07:53:50,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-103/.semver, universal_newlines=False, shell=None, istream=) [2022-07-13T07:53:50.380Z] 2022-07-13 07:53:50,107 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-103/.semver/PR-103 [2022-07-13T07:53:50.380Z] 0.0.0 [Pipeline] } [2022-07-13T07:53:50.397Z] $ docker exec --env ******** --env ******** 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 ssh-agent -k [2022-07-13T07:53:50.517Z] unset SSH_AUTH_SOCK; [2022-07-13T07:53:50.517Z] unset SSH_AGENT_PID; [2022-07-13T07:53:50.517Z] echo Agent pid 78 killed; [2022-07-13T07:53:50.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-13T07:53:50.845Z] + git semver [Pipeline] } [2022-07-13T07:53:51.127Z] $ docker stop --time=1 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 [2022-07-13T07:53:52.461Z] $ docker rm -f 0aec755000c4bb37598382601c712ad7d3001cd4a58e830cfca76ba90340fd89 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-13T07:53:52.819Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-13T07:53:53.073Z] Stashed 1 file(s) [Pipeline] echo [2022-07-13T07:53:53.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-13T07:53:53.196Z] provisioning config files... [2022-07-13T07:53:53.206Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config5685167500957230564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T07:53:53.508Z] ---> docker-login.sh [2022-07-13T07:53:53.508Z] nexus3.edgexfoundry.org:10001 [2022-07-13T07:53:53.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:53:53.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:53:53.508Z] Configure a credential helper to remove this warning. See [2022-07-13T07:53:53.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:53:53.508Z] [2022-07-13T07:53:53.508Z] Login Succeeded [2022-07-13T07:53:53.508Z] nexus3.edgexfoundry.org:10002 [2022-07-13T07:53:53.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:53:53.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:53:53.768Z] Configure a credential helper to remove this warning. See [2022-07-13T07:53:53.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:53:53.768Z] [2022-07-13T07:53:53.768Z] Login Succeeded [2022-07-13T07:53:53.768Z] nexus3.edgexfoundry.org:10003 [2022-07-13T07:53:53.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:53:53.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:53:53.768Z] Configure a credential helper to remove this warning. See [2022-07-13T07:53:53.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:53:53.768Z] [2022-07-13T07:53:53.768Z] Login Succeeded [2022-07-13T07:53:53.768Z] nexus3.edgexfoundry.org:10004 [2022-07-13T07:53:53.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:53:54.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:53:54.027Z] Configure a credential helper to remove this warning. See [2022-07-13T07:53:54.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:53:54.027Z] [2022-07-13T07:53:54.027Z] Login Succeeded [2022-07-13T07:53:54.027Z] docker.io [2022-07-13T07:53:54.027Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:53:54.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:53:54.287Z] Configure a credential helper to remove this warning. See [2022-07-13T07:53:54.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:53:54.287Z] [2022-07-13T07:53:54.287Z] Login Succeeded [2022-07-13T07:53:54.287Z] ---> docker-login.sh ends [Pipeline] } [2022-07-13T07:53:54.296Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-13T07:53:54.356Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T07:53:54.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T07:53:54.383Z] ========================================================= [2022-07-13T07:53:54.383Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-13T07:53:54.383Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T07:53:54.707Z] + 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-13T07:53:54.707Z] Sending build context to Docker daemon 9.427MB [2022-07-13T07:53:54.707Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-13T07:53:54.707Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-13T07:53:54.707Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-13T07:53:54.707Z] 2408cc74d12b: Pulling fs layer [2022-07-13T07:53:54.707Z] ea60b727a1ce: Pulling fs layer [2022-07-13T07:53:54.707Z] 30c4a7721957: Pulling fs layer [2022-07-13T07:53:54.707Z] 370296b7ddb6: Pulling fs layer [2022-07-13T07:53:54.707Z] 7c6cee850709: Pulling fs layer [2022-07-13T07:53:54.707Z] 39a5fcdaea64: Pulling fs layer [2022-07-13T07:53:54.707Z] d94ebbe4e438: Pulling fs layer [2022-07-13T07:53:54.707Z] bcfd1f05c69d: Pulling fs layer [2022-07-13T07:53:54.707Z] 59ccb84bbe0f: Pulling fs layer [2022-07-13T07:53:54.707Z] 370296b7ddb6: Waiting [2022-07-13T07:53:54.707Z] 7c6cee850709: Waiting [2022-07-13T07:53:54.707Z] 39a5fcdaea64: Waiting [2022-07-13T07:53:54.707Z] d94ebbe4e438: Waiting [2022-07-13T07:53:54.707Z] bcfd1f05c69d: Waiting [2022-07-13T07:53:54.707Z] 59ccb84bbe0f: Waiting [2022-07-13T07:53:54.707Z] 30c4a7721957: Download complete [2022-07-13T07:53:54.707Z] ea60b727a1ce: Verifying Checksum [2022-07-13T07:53:54.707Z] ea60b727a1ce: Download complete [2022-07-13T07:53:54.969Z] 7c6cee850709: Verifying Checksum [2022-07-13T07:53:54.969Z] 7c6cee850709: Download complete [2022-07-13T07:53:54.969Z] 2408cc74d12b: Verifying Checksum [2022-07-13T07:53:54.969Z] 2408cc74d12b: Download complete [2022-07-13T07:53:54.969Z] 39a5fcdaea64: Verifying Checksum [2022-07-13T07:53:54.969Z] 39a5fcdaea64: Download complete [2022-07-13T07:53:54.969Z] d94ebbe4e438: Verifying Checksum [2022-07-13T07:53:54.969Z] d94ebbe4e438: Download complete [2022-07-13T07:53:54.969Z] 2408cc74d12b: Pull complete [2022-07-13T07:53:55.236Z] ea60b727a1ce: Pull complete [2022-07-13T07:53:55.236Z] 30c4a7721957: Pull complete [2022-07-13T07:53:55.501Z] 59ccb84bbe0f: Verifying Checksum [2022-07-13T07:53:55.501Z] 59ccb84bbe0f: Download complete [2022-07-13T07:53:55.501Z] bcfd1f05c69d: Verifying Checksum [2022-07-13T07:53:55.501Z] bcfd1f05c69d: Download complete [2022-07-13T07:53:55.762Z] 370296b7ddb6: Verifying Checksum [2022-07-13T07:53:55.762Z] 370296b7ddb6: Download complete [2022-07-13T07:53:59.966Z] 370296b7ddb6: Pull complete [2022-07-13T07:53:59.966Z] 7c6cee850709: Pull complete [2022-07-13T07:53:59.966Z] 39a5fcdaea64: Pull complete [2022-07-13T07:54:00.229Z] d94ebbe4e438: Pull complete [2022-07-13T07:54:02.146Z] bcfd1f05c69d: Pull complete [2022-07-13T07:54:03.095Z] 59ccb84bbe0f: Pull complete [2022-07-13T07:54:03.095Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-13T07:54:03.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-13T07:54:03.095Z] ---> a4fb48ad2a94 [2022-07-13T07:54:03.095Z] Step 3/13 : ARG MAKE="make build" [2022-07-13T07:54:04.483Z] ---> Running in ac795b9c361e [2022-07-13T07:54:04.744Z] Removing intermediate container ac795b9c361e [2022-07-13T07:54:04.744Z] ---> 16eab6363fd8 [2022-07-13T07:54:04.744Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-13T07:54:04.744Z] ---> Running in 107929b55323 [2022-07-13T07:54:04.744Z] Removing intermediate container 107929b55323 [2022-07-13T07:54:04.744Z] ---> fe2b0088a46f [2022-07-13T07:54:04.744Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-13T07:54:04.744Z] ---> Running in 0028abaf18d3 [2022-07-13T07:54:05.003Z] Removing intermediate container 0028abaf18d3 [2022-07-13T07:54:05.003Z] ---> 13cb1f9449f6 [2022-07-13T07:54:05.003Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-13T07:54:05.003Z] ---> Running in b86d8cb0e0e9 [2022-07-13T07:54:05.003Z] Removing intermediate container b86d8cb0e0e9 [2022-07-13T07:54:05.003Z] ---> 91910b3e09d0 [2022-07-13T07:54:05.003Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T07:54:05.003Z] ---> Running in 57aad3b80774 [2022-07-13T07:54:05.577Z] Removing intermediate container 57aad3b80774 [2022-07-13T07:54:05.577Z] ---> df1dd22d9277 [2022-07-13T07:54:05.577Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-13T07:54:05.577Z] ---> Running in 83632dfa0314 [2022-07-13T07:54:06.150Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-13T07:54:07.094Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-13T07:54:07.355Z] OK: 211 MiB in 51 packages [2022-07-13T07:54:07.615Z] Removing intermediate container 83632dfa0314 [2022-07-13T07:54:07.615Z] ---> bdc37053a84a [2022-07-13T07:54:07.615Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-13T07:54:07.615Z] ---> Running in d270d913dabb [2022-07-13T07:54:07.615Z] Removing intermediate container d270d913dabb [2022-07-13T07:54:07.615Z] ---> b48527aa71a1 [2022-07-13T07:54:07.615Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-13T07:54:07.875Z] ---> 928344db81f3 [2022-07-13T07:54:07.875Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T07:54:07.875Z] ---> Running in d417f7a8a3f5 [2022-07-13T07:54:08.168Z] Still waiting to schedule task [2022-07-13T07:54:08.168Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-07-13T07:54:25.989Z] Removing intermediate container d417f7a8a3f5 [2022-07-13T07:54:25.989Z] ---> 220d6b596909 [2022-07-13T07:54:25.989Z] Step 12/13 : COPY . . [2022-07-13T07:54:25.989Z] ---> 59116e0f8f7f [2022-07-13T07:54:25.989Z] Step 13/13 : RUN ${MAKE} [2022-07-13T07:54:25.989Z] ---> Running in 237fded1ad15 [2022-07-13T07:54:25.989Z] noop [2022-07-13T07:54:26.250Z] Removing intermediate container 237fded1ad15 [2022-07-13T07:54:26.250Z] ---> b65b73be4749 [2022-07-13T07:54:26.250Z] Successfully built b65b73be4749 [2022-07-13T07:54:26.250Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T07:54:26.567Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-13T07:54:26.567Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T07:54:26.651Z] prd-ubuntu20.04-docker-8c-8g-19834 does not seem to be running inside a container [2022-07-13T07:54:26.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-13T07:54:27.094Z] $ docker top 5a8b1600352ea3125b4a46ded61a8b0552ef6f73d2b9dfe720e45ff8a91329cb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T07:54:27.463Z] + go version [2022-07-13T07:54:27.463Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-13T07:54:27.477Z] $ docker stop --time=1 5a8b1600352ea3125b4a46ded61a8b0552ef6f73d2b9dfe720e45ff8a91329cb [2022-07-13T07:54:28.767Z] $ docker rm -f 5a8b1600352ea3125b4a46ded61a8b0552ef6f73d2b9dfe720e45ff8a91329cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T07:54:29.206Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-13T07:54:29.206Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T07:54:29.315Z] prd-ubuntu20.04-docker-8c-8g-19834 does not seem to be running inside a container [2022-07-13T07:54:29.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-13T07:54:29.791Z] $ docker top c79973bbbe4e33fa9a6a7043cb08e67ceeaf0c52911eff98d80392503b4cdafa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T07:54:30.192Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] fileExists [Pipeline] sh [2022-07-13T07:54:30.496Z] + make test [2022-07-13T07:54:30.496Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-13T07:54:30.756Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-13T07:54:40.758Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-13T07:54:41.331Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.020s coverage: 7.0% of statements [2022-07-13T07:54:41.331Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-13T07:54:45.533Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.762s coverage: 13.8% of statements [2022-07-13T07:54:52.115Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-13T07:54:55.405Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-13T07:54:55.405Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-13T07:54:55.405Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-13T07:54:55.988Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-13T07:54:56.008Z] $ docker stop --time=1 c79973bbbe4e33fa9a6a7043cb08e67ceeaf0c52911eff98d80392503b4cdafa [2022-07-13T07:54:57.786Z] $ docker rm -f c79973bbbe4e33fa9a6a7043cb08e67ceeaf0c52911eff98d80392503b4cdafa [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-13T07:54:58.260Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-13T07:54:58.310Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-13T07:54:58.829Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-13T07:54:59.122Z] + ls -al . [2022-07-13T07:54:59.122Z] total 252 [2022-07-13T07:54:59.122Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 07:54 . [2022-07-13T07:54:59.122Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:53 .. [2022-07-13T07:54:59.122Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 07:54 .git [2022-07-13T07:54:59.122Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 07:53 .github [2022-07-13T07:54:59.122Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 13 07:53 .gitignore [2022-07-13T07:54:59.122Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 13 07:53 .golangci.yml [2022-07-13T07:54:59.122Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 07:53 .semver [2022-07-13T07:54:59.122Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 13 07:53 Attribution.txt [2022-07-13T07:54:59.122Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 13 07:53 CHANGELOG.md [2022-07-13T07:54:59.123Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 13 07:53 Dockerfile [2022-07-13T07:54:59.123Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 07:53 GOVERNANCE.md [2022-07-13T07:54:59.123Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 13 07:53 Jenkinsfile [2022-07-13T07:54:59.123Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 13 07:53 LICENSE [2022-07-13T07:54:59.123Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 13 07:53 Makefile [2022-07-13T07:54:59.123Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 13 07:53 OWNERS.md [2022-07-13T07:54:59.123Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 13 07:53 README.md [2022-07-13T07:54:59.123Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 07:53 VERSION [2022-07-13T07:54:59.123Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 07:53 bin [2022-07-13T07:54:59.123Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 07:53 cmd [2022-07-13T07:54:59.123Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 13 07:54 coverage.out [2022-07-13T07:54:59.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:53 doc [2022-07-13T07:54:59.123Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 13 07:53 go.mod [2022-07-13T07:54:59.123Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 13 07:53 go.sum [2022-07-13T07:54:59.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:53 internal [2022-07-13T07:54:59.123Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:53 snap [2022-07-13T07:54:59.123Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 13 07:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T07:54:59.439Z] + 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=48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 --label arch=amd64 --label version=0.0.0 . [2022-07-13T07:54:59.439Z] Sending build context to Docker daemon 9.498MB [2022-07-13T07:54:59.439Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-13T07:54:59.439Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-13T07:54:59.439Z] ---> b65b73be4749 [2022-07-13T07:54:59.439Z] Step 3/26 : ARG MAKE="make build" [2022-07-13T07:54:59.439Z] ---> Running in 896f4133b4ad [2022-07-13T07:54:59.703Z] Removing intermediate container 896f4133b4ad [2022-07-13T07:54:59.703Z] ---> 72f2687bea39 [2022-07-13T07:54:59.703Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-13T07:54:59.703Z] ---> Running in ddaf684dd018 [2022-07-13T07:54:59.703Z] Removing intermediate container ddaf684dd018 [2022-07-13T07:54:59.703Z] ---> a7bc0bfae6f2 [2022-07-13T07:54:59.703Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-13T07:54:59.703Z] ---> Running in 6f4304b4d177 [2022-07-13T07:54:59.964Z] Removing intermediate container 6f4304b4d177 [2022-07-13T07:54:59.964Z] ---> 777b2b9e93b8 [2022-07-13T07:54:59.964Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-13T07:54:59.964Z] ---> Running in 1ebd06c98626 [2022-07-13T07:54:59.964Z] Removing intermediate container 1ebd06c98626 [2022-07-13T07:54:59.964Z] ---> 6a061f01f8f4 [2022-07-13T07:54:59.964Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T07:54:59.964Z] ---> Running in 06183ed6ea4e [2022-07-13T07:55:00.907Z] Removing intermediate container 06183ed6ea4e [2022-07-13T07:55:00.907Z] ---> 900d6e61771f [2022-07-13T07:55:00.907Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-13T07:55:00.907Z] ---> Running in f774f62497f4 [2022-07-13T07:55:00.907Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-13T07:55:01.850Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-13T07:55:02.109Z] OK: 211 MiB in 51 packages [2022-07-13T07:55:02.679Z] Removing intermediate container f774f62497f4 [2022-07-13T07:55:02.679Z] ---> 8e995500943d [2022-07-13T07:55:02.679Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-13T07:55:02.679Z] ---> Running in 0e40672dfffc [2022-07-13T07:55:02.679Z] Removing intermediate container 0e40672dfffc [2022-07-13T07:55:02.679Z] ---> 6a86f997b245 [2022-07-13T07:55:02.679Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-13T07:55:02.679Z] ---> 2c6e6ca3169b [2022-07-13T07:55:02.679Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T07:55:02.938Z] ---> Running in 39904b5746fa [2022-07-13T07:55:03.507Z] Removing intermediate container 39904b5746fa [2022-07-13T07:55:03.507Z] ---> 2440fba86209 [2022-07-13T07:55:03.507Z] Step 12/26 : COPY . . [2022-07-13T07:55:03.767Z] ---> 2c01478e0a62 [2022-07-13T07:55:03.767Z] Step 13/26 : RUN ${MAKE} [2022-07-13T07:55:03.767Z] ---> Running in 6ad132eb78f1 [2022-07-13T07:55:04.334Z] 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-13T07:55:26.285Z] Removing intermediate container 6ad132eb78f1 [2022-07-13T07:55:26.285Z] ---> dcd9f307505b [2022-07-13T07:55:26.285Z] Step 14/26 : FROM alpine:3.15 [2022-07-13T07:55:26.285Z] 3.15: Pulling from library/alpine [2022-07-13T07:55:26.285Z] df9b9388f04a: Pulling fs layer [2022-07-13T07:55:26.285Z] df9b9388f04a: Verifying Checksum [2022-07-13T07:55:26.285Z] df9b9388f04a: Download complete [2022-07-13T07:55:26.285Z] df9b9388f04a: Pull complete [2022-07-13T07:55:26.285Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-13T07:55:26.285Z] Status: Downloaded newer image for alpine:3.15 [2022-07-13T07:55:26.285Z] ---> 0ac33e5f5afa [2022-07-13T07:55:26.285Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-13T07:55:26.285Z] ---> Running in 13c463775df6 [2022-07-13T07:55:26.285Z] Removing intermediate container 13c463775df6 [2022-07-13T07:55:26.285Z] ---> fc7af5ad2ce7 [2022-07-13T07:55:26.285Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-13T07:55:26.285Z] ---> Running in 3d992b8c247c [2022-07-13T07:55:26.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-13T07:55:26.285Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-13T07:55:26.285Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-13T07:55:26.285Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-13T07:55:26.285Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-13T07:55:26.285Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-13T07:55:26.285Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-13T07:55:26.285Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-13T07:55:26.285Z] Executing busybox-1.34.1-r5.trigger [2022-07-13T07:55:26.285Z] OK: 8 MiB in 20 packages [2022-07-13T07:55:26.285Z] Removing intermediate container 3d992b8c247c [2022-07-13T07:55:26.285Z] ---> 6388a060eb6e [2022-07-13T07:55:26.285Z] Step 17/26 : WORKDIR / [2022-07-13T07:55:26.285Z] ---> Running in e020bedb7bcc [2022-07-13T07:55:26.285Z] Removing intermediate container e020bedb7bcc [2022-07-13T07:55:26.285Z] ---> 49e90d1f5ab6 [2022-07-13T07:55:26.285Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-13T07:55:26.546Z] ---> b9623b82ac59 [2022-07-13T07:55:26.546Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-13T07:55:26.806Z] ---> 2c25bf715883 [2022-07-13T07:55:26.806Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-13T07:55:27.067Z] ---> 3920e5f2de32 [2022-07-13T07:55:27.067Z] Step 21/26 : EXPOSE 59984 [2022-07-13T07:55:27.067Z] ---> Running in 2e2ed3a25ea7 [2022-07-13T07:55:27.067Z] Removing intermediate container 2e2ed3a25ea7 [2022-07-13T07:55:27.067Z] ---> 04586301b4ab [2022-07-13T07:55:27.067Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-13T07:55:27.067Z] ---> Running in 3dd91e999f63 [2022-07-13T07:55:27.327Z] Removing intermediate container 3dd91e999f63 [2022-07-13T07:55:27.327Z] ---> 3579e2d6b327 [2022-07-13T07:55:27.327Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-13T07:55:27.327Z] ---> Running in e6c0c311f9e9 [2022-07-13T07:55:27.327Z] Removing intermediate container e6c0c311f9e9 [2022-07-13T07:55:27.327Z] ---> 0dc3a65c9525 [2022-07-13T07:55:27.327Z] Step 24/26 : LABEL arch=amd64 [2022-07-13T07:55:27.327Z] ---> Running in dd8a92b00e70 [2022-07-13T07:55:27.586Z] Removing intermediate container dd8a92b00e70 [2022-07-13T07:55:27.586Z] ---> 16489a155280 [2022-07-13T07:55:27.586Z] Step 25/26 : LABEL git_sha=48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [2022-07-13T07:55:27.586Z] ---> Running in 845b3e439d2b [2022-07-13T07:55:27.586Z] Removing intermediate container 845b3e439d2b [2022-07-13T07:55:27.586Z] ---> e4dd9be6a695 [2022-07-13T07:55:27.586Z] Step 26/26 : LABEL version=0.0.0 [2022-07-13T07:55:27.586Z] ---> Running in 15dc93e69893 [2022-07-13T07:55:27.846Z] Removing intermediate container 15dc93e69893 [2022-07-13T07:55:27.846Z] ---> dd88352aedfe [2022-07-13T07:55:27.846Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-13T07:55:27.846Z] Successfully built dd88352aedfe [2022-07-13T07:55:27.846Z] 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-13T07:55:28.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T07:55:28.250Z] [2022-07-13T07:55:28.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T07:55:28.553Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T07:55:28.553Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-13T07:55:28.553Z] 5eb5b503b376: Pulling fs layer [2022-07-13T07:55:28.553Z] 5c69ac0246d0: Pulling fs layer [2022-07-13T07:55:28.553Z] ec43610c2a17: Pulling fs layer [2022-07-13T07:55:28.553Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-13T07:55:28.553Z] 33b1e0a273af: Pulling fs layer [2022-07-13T07:55:28.553Z] 5d3b04190fa2: Pulling fs layer [2022-07-13T07:55:28.553Z] 2f39f015ded8: Pulling fs layer [2022-07-13T07:55:28.553Z] 3a2ae6a8a46f: Waiting [2022-07-13T07:55:28.553Z] 33b1e0a273af: Waiting [2022-07-13T07:55:28.553Z] 5d3b04190fa2: Waiting [2022-07-13T07:55:28.553Z] 2f39f015ded8: Waiting [2022-07-13T07:55:28.553Z] 5c69ac0246d0: Verifying Checksum [2022-07-13T07:55:28.553Z] 5c69ac0246d0: Download complete [2022-07-13T07:55:28.553Z] 3a2ae6a8a46f: Download complete [2022-07-13T07:55:28.553Z] ec43610c2a17: Verifying Checksum [2022-07-13T07:55:28.553Z] ec43610c2a17: Download complete [2022-07-13T07:55:28.553Z] 33b1e0a273af: Verifying Checksum [2022-07-13T07:55:28.553Z] 33b1e0a273af: Download complete [2022-07-13T07:55:28.553Z] 5d3b04190fa2: Verifying Checksum [2022-07-13T07:55:28.553Z] 5d3b04190fa2: Download complete [2022-07-13T07:55:28.812Z] 5eb5b503b376: Verifying Checksum [2022-07-13T07:55:28.812Z] 5eb5b503b376: Download complete [2022-07-13T07:55:30.189Z] 5eb5b503b376: Pull complete [2022-07-13T07:55:30.189Z] 5c69ac0246d0: Pull complete [2022-07-13T07:55:30.447Z] ec43610c2a17: Pull complete [2022-07-13T07:55:30.447Z] 3a2ae6a8a46f: Pull complete [2022-07-13T07:55:30.704Z] 33b1e0a273af: Pull complete [2022-07-13T07:55:30.704Z] 5d3b04190fa2: Pull complete [2022-07-13T07:55:36.014Z] 2f39f015ded8: Pull complete [2022-07-13T07:55:36.014Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-13T07:55:36.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T07:55:36.014Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T07:55:36.117Z] prd-ubuntu20.04-docker-8c-8g-19834 does not seem to be running inside a container [2022-07-13T07:55:36.162Z] $ 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-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-13T07:55:37.904Z] $ docker top 4a3001df2685cb613375153a209877445e323b75fcb6cb2379cf7bb232954c59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T07:55:38.318Z] ---> job-cost.sh [2022-07-13T07:55:38.318Z] lf-activate-venv: SKIPPING [2022-07-13T07:55:38.318Z] INFO: No Stack... [2022-07-13T07:55:38.888Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-13T07:55:39.160Z] INFO: Archiving Costs [Pipeline] sh [2022-07-13T07:55:39.500Z] + cat /w/workspace/undry_device-onvif-camera_PR-103/archives/cost.csv [2022-07-13T07:55:39.500Z] + cut -d, -f6 [Pipeline] lock [2022-07-13T07:55:39.520Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] [2022-07-13T07:55:39.526Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] did not exist. Created. [2022-07-13T07:55:39.526Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-13T07:55:39.828Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-13T07:55:39.892Z] Stashed 1 file(s) [Pipeline] } [2022-07-13T07:55:39.898Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-13T07:55:39.920Z] $ docker stop --time=1 4a3001df2685cb613375153a209877445e323b75fcb6cb2379cf7bb232954c59 [2022-07-13T07:55:41.122Z] $ docker rm -f 4a3001df2685cb613375153a209877445e323b75fcb6cb2379cf7bb232954c59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-13T07:55:48.218Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19835 in /w/workspace/undry_device-onvif-camera_PR-103 [Pipeline] { [Pipeline] ws [2022-07-13T07:55:48.232Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-07-13T07:55:48.274Z] Selected Git installation does not exist. Using Default [2022-07-13T07:55:48.274Z] The recommended git tool is: NONE [2022-07-13T07:55:55.753Z] using credential edgex-jenkins-ssh [2022-07-13T07:55:55.771Z] Cloning the remote Git repository [2022-07-13T07:55:55.836Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-13T07:55:55.966Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-07-13T07:55:56.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-13T07:55:56.078Z] > git --version # timeout=10 [2022-07-13T07:55:56.106Z] > git --version # 'git version 2.25.1' [2022-07-13T07:55:56.108Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-13T07:55:56.337Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-13T07:55:57.970Z] Merging remotes/origin/main commit e5053f8c731e365d1df3f2055d168c1a15fdfcf5 into PR head commit 1a7e4ec04873150078f59f6a168f4fdb28d2a847 [2022-07-13T07:55:57.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-13T07:55:57.356Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-13T07:55:57.394Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-07-13T07:55:57.459Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-07-13T07:55:57.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-13T07:55:57.474Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/103/head:refs/remotes/origin/PR-103 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-13T07:55:58.604Z] Merge succeeded, producing cff4aca8f7d76d33ff69704428573c157e88f735 [2022-07-13T07:55:58.605Z] Checking out Revision cff4aca8f7d76d33ff69704428573c157e88f735 (PR-103) [2022-07-13T07:55:57.994Z] > git config core.sparsecheckout # timeout=10 [2022-07-13T07:55:58.032Z] > git checkout -f 1a7e4ec04873150078f59f6a168f4fdb28d2a847 # timeout=10 [2022-07-13T07:55:58.266Z] > git remote # timeout=10 [2022-07-13T07:55:58.324Z] > git config --get remote.origin.url # timeout=10 [2022-07-13T07:55:58.347Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-13T07:55:58.363Z] > git merge e5053f8c731e365d1df3f2055d168c1a15fdfcf5 # timeout=10 [2022-07-13T07:55:58.577Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-13T07:55:58.615Z] > git config core.sparsecheckout # timeout=10 [2022-07-13T07:55:58.644Z] > git checkout -f cff4aca8f7d76d33ff69704428573c157e88f735 # timeout=10 [2022-07-13T07:56:03.951Z] Commit message: "Merge commit 'e5053f8c731e365d1df3f2055d168c1a15fdfcf5' into HEAD" [2022-07-13T07:56:04.001Z] First time build. Skipping changelog. [2022-07-13T07:56:03.979Z] > git rev-list --no-walk f62c5088c81a77f5f8155fa76f8b672cae66440b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-13T07:56:05.322Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-13T07:56:05.322Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-13T07:56:05.322Z] Dload Upload Total Spent Left Speed [2022-07-13T07:56:05.322Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 69750 0 --:--:-- --:--:-- --:--:-- 70148 [Pipeline] sh [2022-07-13T07:56:06.016Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-13T07:56:06.413Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-07-13T07:56:06.413Z] [2022-07-13T07:56:06.413Z] { [2022-07-13T07:56:06.413Z] "registry-mirrors": [ [2022-07-13T07:56:06.413Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-13T07:56:06.413Z] ], [2022-07-13T07:56:06.413Z] "bip": "10.250.0.254/24", [2022-07-13T07:56:06.413Z] "hosts": [ [2022-07-13T07:56:06.413Z] "tcp://0.0.0.0:5555", [2022-07-13T07:56:06.413Z] "unix:///var/run/docker.sock" [2022-07-13T07:56:06.413Z] ], [2022-07-13T07:56:06.413Z] "mtu": 1458, [2022-07-13T07:56:06.413Z] "selinux-enabled": true, [2022-07-13T07:56:06.413Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-13T07:56:06.413Z] } [Pipeline] sh [2022-07-13T07:56:06.752Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-13T07:56:07.088Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-13T07:56:25.436Z] provisioning config files... [2022-07-13T07:56:25.460Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config4896731306731954339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T07:56:26.037Z] ---> docker-login.sh [2022-07-13T07:56:26.037Z] nexus3.edgexfoundry.org:10001 [2022-07-13T07:56:26.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:56:26.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:56:26.908Z] Configure a credential helper to remove this warning. See [2022-07-13T07:56:26.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:56:26.908Z] [2022-07-13T07:56:26.908Z] Login Succeeded [2022-07-13T07:56:26.908Z] nexus3.edgexfoundry.org:10002 [2022-07-13T07:56:27.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:56:27.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:56:27.465Z] Configure a credential helper to remove this warning. See [2022-07-13T07:56:27.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:56:27.465Z] [2022-07-13T07:56:27.465Z] Login Succeeded [2022-07-13T07:56:27.465Z] nexus3.edgexfoundry.org:10003 [2022-07-13T07:56:27.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:56:28.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:56:28.016Z] Configure a credential helper to remove this warning. See [2022-07-13T07:56:28.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:56:28.016Z] [2022-07-13T07:56:28.016Z] Login Succeeded [2022-07-13T07:56:28.016Z] nexus3.edgexfoundry.org:10004 [2022-07-13T07:56:28.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:56:28.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:56:28.294Z] Configure a credential helper to remove this warning. See [2022-07-13T07:56:28.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:56:28.294Z] [2022-07-13T07:56:28.294Z] Login Succeeded [2022-07-13T07:56:28.294Z] docker.io [2022-07-13T07:56:28.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-13T07:56:29.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-13T07:56:29.164Z] Configure a credential helper to remove this warning. See [2022-07-13T07:56:29.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-13T07:56:29.164Z] [2022-07-13T07:56:29.164Z] Login Succeeded [2022-07-13T07:56:29.164Z] ---> docker-login.sh ends [Pipeline] } [2022-07-13T07:56:29.182Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-13T07:56:29.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T07:56:29.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-13T07:56:29.470Z] ========================================================= [2022-07-13T07:56:29.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-13T07:56:29.470Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T07:56:29.827Z] + 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-13T07:56:30.430Z] Sending build context to Docker daemon 6.505MB [2022-07-13T07:56:30.430Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-13T07:56:30.430Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-13T07:56:30.430Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-13T07:56:30.430Z] b3c136eddcbf: Pulling fs layer [2022-07-13T07:56:30.430Z] c0a3192eca97: Pulling fs layer [2022-07-13T07:56:30.430Z] a050256f5b6f: Pulling fs layer [2022-07-13T07:56:30.430Z] 656be50a0ddc: Pulling fs layer [2022-07-13T07:56:30.430Z] 2bbca73fdf42: Pulling fs layer [2022-07-13T07:56:30.430Z] 46d945488cbd: Pulling fs layer [2022-07-13T07:56:30.430Z] 8a5474983e97: Pulling fs layer [2022-07-13T07:56:30.430Z] 329c88fbcd65: Pulling fs layer [2022-07-13T07:56:30.430Z] 46d945488cbd: Waiting [2022-07-13T07:56:30.430Z] 8a5474983e97: Waiting [2022-07-13T07:56:30.430Z] 329c88fbcd65: Waiting [2022-07-13T07:56:30.430Z] 656be50a0ddc: Waiting [2022-07-13T07:56:30.430Z] 2bbca73fdf42: Waiting [2022-07-13T07:56:30.430Z] a050256f5b6f: Verifying Checksum [2022-07-13T07:56:30.430Z] a050256f5b6f: Download complete [2022-07-13T07:56:30.430Z] c0a3192eca97: Download complete [2022-07-13T07:56:30.430Z] 2bbca73fdf42: Verifying Checksum [2022-07-13T07:56:30.430Z] 2bbca73fdf42: Download complete [2022-07-13T07:56:30.713Z] 46d945488cbd: Verifying Checksum [2022-07-13T07:56:30.713Z] 46d945488cbd: Download complete [2022-07-13T07:56:30.713Z] b3c136eddcbf: Verifying Checksum [2022-07-13T07:56:30.713Z] b3c136eddcbf: Download complete [2022-07-13T07:56:31.703Z] b3c136eddcbf: Pull complete [2022-07-13T07:56:31.703Z] 329c88fbcd65: Verifying Checksum [2022-07-13T07:56:31.703Z] 329c88fbcd65: Download complete [2022-07-13T07:56:31.983Z] c0a3192eca97: Pull complete [2022-07-13T07:56:32.585Z] a050256f5b6f: Pull complete [2022-07-13T07:56:32.859Z] 8a5474983e97: Verifying Checksum [2022-07-13T07:56:32.859Z] 8a5474983e97: Download complete [2022-07-13T07:56:33.455Z] 656be50a0ddc: Download complete [2022-07-13T07:56:48.550Z] 656be50a0ddc: Pull complete [2022-07-13T07:56:48.550Z] 2bbca73fdf42: Pull complete [2022-07-13T07:56:48.550Z] 46d945488cbd: Pull complete [2022-07-13T07:56:53.986Z] 8a5474983e97: Pull complete [2022-07-13T07:56:55.435Z] 329c88fbcd65: Pull complete [2022-07-13T07:56:55.435Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-13T07:56:55.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-13T07:56:55.435Z] ---> ff4287adb874 [2022-07-13T07:56:55.435Z] Step 3/13 : ARG MAKE="make build" [2022-07-13T07:56:56.032Z] ---> Running in 87a7eaef0f42 [2022-07-13T07:56:56.310Z] Removing intermediate container 87a7eaef0f42 [2022-07-13T07:56:56.310Z] ---> 11aa17cf3bc9 [2022-07-13T07:56:56.310Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-13T07:56:56.310Z] ---> Running in 9c6dc8f567cd [2022-07-13T07:56:56.587Z] Removing intermediate container 9c6dc8f567cd [2022-07-13T07:56:56.587Z] ---> 87de535f9ae4 [2022-07-13T07:56:56.587Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-07-13T07:56:56.587Z] ---> Running in 6b354fe85bbb [2022-07-13T07:56:57.186Z] Removing intermediate container 6b354fe85bbb [2022-07-13T07:56:57.186Z] ---> 18eaa1456ebe [2022-07-13T07:56:57.186Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-07-13T07:56:57.186Z] ---> Running in 2705d8972b71 [2022-07-13T07:56:57.472Z] Removing intermediate container 2705d8972b71 [2022-07-13T07:56:57.472Z] ---> beb4337c586b [2022-07-13T07:56:57.472Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T07:56:57.472Z] ---> Running in 58cfb4d8a2f6 [2022-07-13T07:56:59.456Z] Removing intermediate container 58cfb4d8a2f6 [2022-07-13T07:56:59.456Z] ---> e43004c8e749 [2022-07-13T07:56:59.456Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-13T07:56:59.456Z] ---> Running in 26c13a0f8627 [2022-07-13T07:57:00.054Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-13T07:57:01.033Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-13T07:57:02.016Z] OK: 221 MiB in 51 packages [2022-07-13T07:57:02.624Z] Removing intermediate container 26c13a0f8627 [2022-07-13T07:57:02.624Z] ---> eb091831bebb [2022-07-13T07:57:02.624Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-07-13T07:57:02.902Z] ---> Running in 7522ea37286d [2022-07-13T07:57:03.182Z] Removing intermediate container 7522ea37286d [2022-07-13T07:57:03.182Z] ---> 561dcb2aea9f [2022-07-13T07:57:03.182Z] Step 10/13 : COPY go.mod vendor* ./ [2022-07-13T07:57:05.166Z] ---> a3fb495c63e3 [2022-07-13T07:57:05.166Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T07:57:05.166Z] ---> Running in 78d12174ac3a [2022-07-13T07:57:52.153Z] Removing intermediate container 78d12174ac3a [2022-07-13T07:57:52.153Z] ---> cbdcb86f542b [2022-07-13T07:57:52.153Z] Step 12/13 : COPY . . [2022-07-13T07:57:52.153Z] ---> 8999bbfaf3bd [2022-07-13T07:57:52.153Z] Step 13/13 : RUN ${MAKE} [2022-07-13T07:57:52.153Z] ---> Running in 6f912b1bd10d [2022-07-13T07:57:52.153Z] noop [2022-07-13T07:57:52.153Z] Removing intermediate container 6f912b1bd10d [2022-07-13T07:57:52.153Z] ---> 97311edff0ac [2022-07-13T07:57:52.153Z] Successfully built 97311edff0ac [2022-07-13T07:57:52.153Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T07:57:52.513Z] + docker inspect -f . ci-base-image-arm64 [2022-07-13T07:57:52.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T07:57:52.742Z] prd-ubuntu20.04-docker-arm64-4c-16g-19835 does not seem to be running inside a container [2022-07-13T07:57:52.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-13T07:57:53.972Z] $ docker top d757ca1934c91d0f41632a931e4b422d4a42653cf84082a47f26b9cd29526ec9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T07:57:54.845Z] + go version [2022-07-13T07:57:54.846Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-13T07:57:54.870Z] $ docker stop --time=1 d757ca1934c91d0f41632a931e4b422d4a42653cf84082a47f26b9cd29526ec9 [2022-07-13T07:57:56.457Z] $ docker rm -f d757ca1934c91d0f41632a931e4b422d4a42653cf84082a47f26b9cd29526ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T07:57:57.054Z] + docker inspect -f . ci-base-image-arm64 [2022-07-13T07:57:57.054Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T07:57:57.273Z] prd-ubuntu20.04-docker-arm64-4c-16g-19835 does not seem to be running inside a container [2022-07-13T07:57:57.355Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-13T07:57:58.515Z] $ docker top 6153e70b85456863caf2e64df00c8c496b3388c021650f28e98facb4691fbd39 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T07:57:59.381Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh [2022-07-13T07:58:00.044Z] + make test [2022-07-13T07:58:00.044Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-13T07:58:01.480Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-07-13T07:59:23.754Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-07-13T07:59:28.112Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.086s coverage: 7.0% of statements [2022-07-13T07:59:28.112Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-07-13T07:59:46.457Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 22.011s coverage: 13.8% of statements [2022-07-13T07:59:46.457Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-13T07:59:46.457Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-13T08:00:08.734Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-13T08:00:08.734Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-13T08:00:08.734Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-13T08:00:08.757Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-13T08:00:08.773Z] $ docker stop --time=1 6153e70b85456863caf2e64df00c8c496b3388c021650f28e98facb4691fbd39 [2022-07-13T08:00:10.469Z] $ docker rm -f 6153e70b85456863caf2e64df00c8c496b3388c021650f28e98facb4691fbd39 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-13T08:00:11.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-13T08:00:11.501Z] Warning: overwriting stash ‘coverage-report’ [2022-07-13T08:00:12.051Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-13T08:00:12.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-13T08:00:12.769Z] + ls -al . [2022-07-13T08:00:12.769Z] total 248 [2022-07-13T08:00:12.769Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 13 08:00 . [2022-07-13T08:00:12.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:55 .. [2022-07-13T08:00:12.769Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 07:56 .git [2022-07-13T08:00:12.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 07:55 .github [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 418 Jul 13 07:55 .gitignore [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 13 07:55 .golangci.yml [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 9102 Jul 13 07:55 Attribution.txt [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 189 Jul 13 07:55 CHANGELOG.md [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 1669 Jul 13 07:55 Dockerfile [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 07:55 GOVERNANCE.md [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 660 Jul 13 07:55 Jenkinsfile [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 13 07:55 LICENSE [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 2473 Jul 13 07:55 Makefile [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 13 07:55 OWNERS.md [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 31035 Jul 13 07:55 README.md [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 13 07:53 VERSION [2022-07-13T08:00:12.769Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 07:55 bin [2022-07-13T08:00:12.769Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 07:55 cmd [2022-07-13T08:00:12.769Z] -rw-r--r-- 1 jenkins jenkins 70262 Jul 13 07:59 coverage.out [2022-07-13T08:00:12.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:55 doc [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 3496 Jul 13 07:55 go.mod [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 37305 Jul 13 07:55 go.sum [2022-07-13T08:00:12.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:55 internal [2022-07-13T08:00:12.769Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 07:55 snap [2022-07-13T08:00:12.769Z] -rw-rw-r-- 1 jenkins jenkins 236 Jul 13 07:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T08:00:13.129Z] + 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=cff4aca8f7d76d33ff69704428573c157e88f735 --label arch=arm64 --label version=0.0.0 . [2022-07-13T08:00:13.727Z] Sending build context to Docker daemon 6.577MB [2022-07-13T08:00:13.727Z] Step 1/26 : ARG BASE=golang:1.17-alpine3.15 [2022-07-13T08:00:13.727Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-13T08:00:13.727Z] ---> 97311edff0ac [2022-07-13T08:00:13.727Z] Step 3/26 : ARG MAKE="make build" [2022-07-13T08:00:13.727Z] ---> Running in a2f82ac03f91 [2022-07-13T08:00:14.001Z] Removing intermediate container a2f82ac03f91 [2022-07-13T08:00:14.001Z] ---> 956371378bfc [2022-07-13T08:00:14.001Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-07-13T08:00:14.278Z] ---> Running in e65483d9c1e1 [2022-07-13T08:00:14.552Z] Removing intermediate container e65483d9c1e1 [2022-07-13T08:00:14.552Z] ---> 1048afb8c329 [2022-07-13T08:00:14.552Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-13T08:00:14.552Z] ---> Running in c78fe2070d10 [2022-07-13T08:00:14.835Z] Removing intermediate container c78fe2070d10 [2022-07-13T08:00:14.835Z] ---> 2a36d2815aaa [2022-07-13T08:00:14.835Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-07-13T08:00:15.110Z] ---> Running in ea9d3702fefe [2022-07-13T08:00:15.386Z] Removing intermediate container ea9d3702fefe [2022-07-13T08:00:15.386Z] ---> 7c3fe0a075c4 [2022-07-13T08:00:15.386Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-13T08:00:15.386Z] ---> Running in 5a2cb95baf7a [2022-07-13T08:00:17.375Z] Removing intermediate container 5a2cb95baf7a [2022-07-13T08:00:17.375Z] ---> f7b009b6972b [2022-07-13T08:00:17.375Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-13T08:00:17.375Z] ---> Running in 54204ecd7d86 [2022-07-13T08:00:17.976Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-13T08:00:18.962Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-13T08:00:19.947Z] OK: 221 MiB in 51 packages [2022-07-13T08:00:20.553Z] Removing intermediate container 54204ecd7d86 [2022-07-13T08:00:20.553Z] ---> fdc274fd78a7 [2022-07-13T08:00:20.553Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-07-13T08:00:20.553Z] ---> Running in de416c84aacb [2022-07-13T08:00:21.159Z] Removing intermediate container de416c84aacb [2022-07-13T08:00:21.159Z] ---> 4c78487786eb [2022-07-13T08:00:21.159Z] Step 10/26 : COPY go.mod vendor* ./ [2022-07-13T08:00:21.435Z] ---> c9e5794fd633 [2022-07-13T08:00:21.435Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-13T08:00:21.717Z] ---> Running in adf3e2256f9c [2022-07-13T08:00:23.711Z] Removing intermediate container adf3e2256f9c [2022-07-13T08:00:23.711Z] ---> 4914cc105216 [2022-07-13T08:00:23.711Z] Step 12/26 : COPY . . [2022-07-13T08:00:24.711Z] ---> 57c201cf163e [2022-07-13T08:00:24.711Z] Step 13/26 : RUN ${MAKE} [2022-07-13T08:00:24.711Z] ---> Running in a88d7ddfb4d3 [2022-07-13T08:00:26.169Z] 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-13T08:02:33.124Z] Removing intermediate container a88d7ddfb4d3 [2022-07-13T08:02:33.124Z] ---> 80ea8aff799a [2022-07-13T08:02:33.124Z] Step 14/26 : FROM alpine:3.15 [2022-07-13T08:02:33.124Z] 3.15: Pulling from library/alpine [2022-07-13T08:02:33.723Z] 9981e73032c8: Pulling fs layer [2022-07-13T08:02:33.996Z] 9981e73032c8: Verifying Checksum [2022-07-13T08:02:33.996Z] 9981e73032c8: Download complete [2022-07-13T08:02:34.601Z] 9981e73032c8: Pull complete [2022-07-13T08:02:34.601Z] Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 [2022-07-13T08:02:34.601Z] Status: Downloaded newer image for alpine:3.15 [2022-07-13T08:02:34.601Z] ---> 3fb3c9af89a9 [2022-07-13T08:02:34.601Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-13T08:02:34.601Z] ---> Running in d8a533d43860 [2022-07-13T08:02:34.876Z] Removing intermediate container d8a533d43860 [2022-07-13T08:02:34.876Z] ---> c129bb680d13 [2022-07-13T08:02:34.876Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-13T08:02:35.150Z] ---> Running in f5cc2e09d740 [2022-07-13T08:02:36.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-13T08:02:36.725Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-13T08:02:37.707Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-13T08:02:37.982Z] (2/6) Installing libgcc (10.3.1_git20211027-r0) [2022-07-13T08:02:37.982Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-13T08:02:37.982Z] (4/6) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-13T08:02:38.256Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-13T08:02:38.256Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-13T08:02:38.256Z] Executing busybox-1.34.1-r5.trigger [2022-07-13T08:02:38.256Z] OK: 8 MiB in 20 packages [2022-07-13T08:02:39.239Z] Removing intermediate container f5cc2e09d740 [2022-07-13T08:02:39.239Z] ---> 25caa269a3fd [2022-07-13T08:02:39.239Z] Step 17/26 : WORKDIR / [2022-07-13T08:02:39.239Z] ---> Running in 85bad7139041 [2022-07-13T08:02:39.515Z] Removing intermediate container 85bad7139041 [2022-07-13T08:02:39.515Z] ---> 523da8c3396d [2022-07-13T08:02:39.515Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-07-13T08:02:40.954Z] ---> d10b3f6b58d9 [2022-07-13T08:02:40.954Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-07-13T08:02:41.569Z] ---> ce8d01d5747b [2022-07-13T08:02:41.569Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-07-13T08:02:41.848Z] ---> 88a9c20e9fc4 [2022-07-13T08:02:41.848Z] Step 21/26 : EXPOSE 59984 [2022-07-13T08:02:42.244Z] ---> Running in cb8509dbdfd5 [2022-07-13T08:02:42.244Z] Removing intermediate container cb8509dbdfd5 [2022-07-13T08:02:42.244Z] ---> 24591a851c28 [2022-07-13T08:02:42.244Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-07-13T08:02:42.562Z] ---> Running in 9d26554296ce [2022-07-13T08:02:42.843Z] Removing intermediate container 9d26554296ce [2022-07-13T08:02:42.843Z] ---> 4fb979c0cfb2 [2022-07-13T08:02:42.843Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-13T08:02:42.843Z] ---> Running in 28fc78c59e5a [2022-07-13T08:02:43.159Z] Removing intermediate container 28fc78c59e5a [2022-07-13T08:02:43.159Z] ---> cb9bb8af85a4 [2022-07-13T08:02:43.159Z] Step 24/26 : LABEL arch=arm64 [2022-07-13T08:02:43.159Z] ---> Running in 55401666af65 [2022-07-13T08:02:43.521Z] Removing intermediate container 55401666af65 [2022-07-13T08:02:43.521Z] ---> 387707d072a1 [2022-07-13T08:02:43.522Z] Step 25/26 : LABEL git_sha=cff4aca8f7d76d33ff69704428573c157e88f735 [2022-07-13T08:02:43.522Z] ---> Running in 9883388092b1 [2022-07-13T08:02:43.807Z] Removing intermediate container 9883388092b1 [2022-07-13T08:02:43.807Z] ---> ee7dc61eef96 [2022-07-13T08:02:43.807Z] Step 26/26 : LABEL version=0.0.0 [2022-07-13T08:02:44.132Z] ---> Running in 767a063e0b3d [2022-07-13T08:02:44.454Z] Removing intermediate container 767a063e0b3d [2022-07-13T08:02:44.454Z] ---> 200b01ab37ed [2022-07-13T08:02:44.454Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-13T08:02:44.454Z] Successfully built 200b01ab37ed [2022-07-13T08:02:44.454Z] 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-13T08:02:45.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-13T08:02:45.259Z] [2022-07-13T08:02:45.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T08:02:45.757Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-13T08:02:46.029Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-13T08:02:46.029Z] 8998bd30e6a1: Pulling fs layer [2022-07-13T08:02:46.029Z] 04944245beec: Pulling fs layer [2022-07-13T08:02:46.029Z] 699f458cf7ca: Pulling fs layer [2022-07-13T08:02:46.029Z] 765212b225bb: Pulling fs layer [2022-07-13T08:02:46.029Z] f23df028b6ca: Pulling fs layer [2022-07-13T08:02:46.029Z] d65c8cfc05b1: Pulling fs layer [2022-07-13T08:02:46.029Z] 2437ff75d9bd: Pulling fs layer [2022-07-13T08:02:46.029Z] f23df028b6ca: Waiting [2022-07-13T08:02:46.029Z] d65c8cfc05b1: Waiting [2022-07-13T08:02:46.029Z] 2437ff75d9bd: Waiting [2022-07-13T08:02:46.029Z] 765212b225bb: Waiting [2022-07-13T08:02:46.029Z] 04944245beec: Verifying Checksum [2022-07-13T08:02:46.029Z] 04944245beec: Download complete [2022-07-13T08:02:46.029Z] 765212b225bb: Verifying Checksum [2022-07-13T08:02:46.029Z] 765212b225bb: Download complete [2022-07-13T08:02:46.029Z] f23df028b6ca: Download complete [2022-07-13T08:02:46.029Z] d65c8cfc05b1: Verifying Checksum [2022-07-13T08:02:46.029Z] d65c8cfc05b1: Download complete [2022-07-13T08:02:46.314Z] 699f458cf7ca: Verifying Checksum [2022-07-13T08:02:46.314Z] 699f458cf7ca: Download complete [2022-07-13T08:02:46.591Z] 8998bd30e6a1: Verifying Checksum [2022-07-13T08:02:46.591Z] 8998bd30e6a1: Download complete [2022-07-13T08:02:50.987Z] 2437ff75d9bd: Verifying Checksum [2022-07-13T08:02:50.987Z] 2437ff75d9bd: Download complete [2022-07-13T08:02:50.987Z] 8998bd30e6a1: Pull complete [2022-07-13T08:02:50.987Z] 04944245beec: Pull complete [2022-07-13T08:02:52.438Z] 699f458cf7ca: Pull complete [2022-07-13T08:02:52.711Z] 765212b225bb: Pull complete [2022-07-13T08:02:53.699Z] f23df028b6ca: Pull complete [2022-07-13T08:02:53.974Z] d65c8cfc05b1: Pull complete [2022-07-13T08:03:09.436Z] 2437ff75d9bd: Pull complete [2022-07-13T08:03:09.436Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-13T08:03:09.436Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-13T08:03:09.436Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T08:03:09.711Z] prd-ubuntu20.04-docker-arm64-4c-16g-19835 does not seem to be running inside a container [2022-07-13T08:03:09.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-13T08:03:12.474Z] $ docker top 11f4b26c515266b4b13ca9b57b895c8ce8eaeadf663a8a24710697122840db0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-13T08:03:13.555Z] ---> job-cost.sh [2022-07-13T08:03:13.885Z] lf-activate-venv: SKIPPING [2022-07-13T08:03:13.885Z] INFO: No Stack... [2022-07-13T08:03:15.285Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-13T08:03:15.555Z] INFO: Archiving Costs [Pipeline] sh [2022-07-13T08:03:15.931Z] + cut -d, -f6 [2022-07-13T08:03:15.932Z] + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock [2022-07-13T08:03:15.998Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] [2022-07-13T08:03:16.003Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] did not exist. Created. [2022-07-13T08:03:16.003Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-13T08:03:16.370Z] /w/workspace/device-onvif-camera/7@tmp/durable-63369750/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-13T08:03:17.129Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-13T08:03:17.168Z] Warning: overwriting stash ‘stack-cost’ [2022-07-13T08:03:17.232Z] Stashed 1 file(s) [Pipeline] } [2022-07-13T08:03:17.238Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-103-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-13T08:03:17.275Z] $ docker stop --time=1 11f4b26c515266b4b13ca9b57b895c8ce8eaeadf663a8a24710697122840db0e [2022-07-13T08:03:18.727Z] $ docker rm -f 11f4b26c515266b4b13ca9b57b895c8ce8eaeadf663a8a24710697122840db0e [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-13T08:03:19.170Z] provisioning config files... [2022-07-13T08:03:19.209Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config8152751828105568178tmp [Pipeline] { [Pipeline] sh [2022-07-13T08:03:19.659Z] + set +x [2022-07-13T08:03:19.659Z] + + bash -s -- [2022-07-13T08:03:19.659Z] curl -s https://codecov.io/bash [2022-07-13T08:03:19.659Z] [2022-07-13T08:03:19.659Z] _____ _ [2022-07-13T08:03:19.659Z] / ____| | | [2022-07-13T08:03:19.659Z] | | ___ __| | ___ ___ _____ __ [2022-07-13T08:03:19.659Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-13T08:03:19.659Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-13T08:03:19.659Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-13T08:03:19.659Z] Bash-1.0.6 [2022-07-13T08:03:19.659Z] [2022-07-13T08:03:19.659Z] [2022-07-13T08:03:19.659Z] ==> git version 2.25.1 found [2022-07-13T08:03:19.659Z] ==> 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-13T08:03:19.659Z] Release-Date: 2020-01-08 [2022-07-13T08:03:19.659Z] 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-13T08:03:19.659Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-13T08:03:19.919Z] ==> Jenkins CI detected. [2022-07-13T08:03:19.919Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-103 [2022-07-13T08:03:19.919Z] project root: . [2022-07-13T08:03:19.919Z] --> token set from env [2022-07-13T08:03:19.919Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-13T08:03:19.919Z] ==> Running gcov in . (disable via -X gcov) [2022-07-13T08:03:19.919Z] ==> Python coveragepy not found [2022-07-13T08:03:19.919Z] ==> Searching for coverage reports in: [2022-07-13T08:03:19.919Z] + . [2022-07-13T08:03:19.919Z] -> Found 1 reports [2022-07-13T08:03:19.919Z] ==> Detecting git/mercurial file structure [2022-07-13T08:03:19.919Z] ==> Reading reports [2022-07-13T08:03:19.919Z] + ./coverage.out bytes=70262 [2022-07-13T08:03:19.919Z] ==> Appending adjustments [2022-07-13T08:03:19.919Z] https://docs.codecov.io/docs/fixing-reports [2022-07-13T08:03:20.180Z] + Found adjustments [2022-07-13T08:03:20.180Z] ==> Gzipping contents [2022-07-13T08:03:20.180Z] 12K /tmp/codecov.655fMm.gz [2022-07-13T08:03:20.180Z] ==> Uploading reports [2022-07-13T08:03:20.180Z] url: https://codecov.io [2022-07-13T08:03:20.180Z] query: branch=PR-103&commit=48ea7c93e96ec5f0c72c7e1836acc4d4639ea131&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= [2022-07-13T08:03:20.180Z] -> Pinging Codecov [2022-07-13T08:03:20.180Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-103&commit=48ea7c93e96ec5f0c72c7e1836acc4d4639ea131&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-103%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=103&job=&cmd_args= [2022-07-13T08:03:20.484Z] -> Uploading to [2022-07-13T08:03:20.484Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-13/F29A59C45E3A92E06B3E522C9905F8EF/48ea7c93e96ec5f0c72c7e1836acc4d4639ea131/703511e3-2434-42a6-ae8c-a0e5481795cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220713T080320Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38831adf65301bceacb2f19f444f2bb476e94eba838d307585c6d8db94a49e33 [2022-07-13T08:03:20.484Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-13T08:03:20.484Z] Dload Upload Total Spent Left Speed [2022-07-13T08:03:21.354Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9517 0 0 100 9517 0 13480 --:--:-- --:--:-- --:--:-- 13461 [2022-07-13T08:03:21.354Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/48ea7c93e96ec5f0c72c7e1836acc4d4639ea131 [Pipeline] } [2022-07-13T08:03:21.523Z] 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-13T08:03:22.659Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-103/archives ] [2022-07-13T08:03:22.660Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-13T08:03:22.660Z] total 16 [2022-07-13T08:03:22.660Z] drwxr-xr-x 3 root root 4096 Jul 13 07:55 . [2022-07-13T08:03:22.660Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 13 07:55 .. [2022-07-13T08:03:22.660Z] drwxr-xr-x 2 root root 4096 Jul 13 07:55 cost [2022-07-13T08:03:22.660Z] -rw-r--r-- 1 root root 90 Jul 13 07:55 cost.csv [2022-07-13T08:03:22.660Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-13T08:03:22.660Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-103/archives [2022-07-13T08:03:22.660Z] total 16 [2022-07-13T08:03:22.660Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 07:55 . [2022-07-13T08:03:22.660Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 13 07:55 .. [2022-07-13T08:03:22.660Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 07:55 cost [2022-07-13T08:03:22.660Z] -rw-r--r-- 1 jenkins jenkins 90 Jul 13 07:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-13T08:03:23.603Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T08:03:24.882Z] ---> package-listing.sh [2022-07-13T08:03:24.882Z] ++ facter osfamily [2022-07-13T08:03:24.882Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-13T08:03:24.882Z] + OS_FAMILY=debian [2022-07-13T08:03:24.882Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-103 [2022-07-13T08:03:24.882Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-13T08:03:24.882Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-13T08:03:24.882Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-13T08:03:24.882Z] + PACKAGES=/tmp/packages_start.txt [2022-07-13T08:03:24.882Z] + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' [2022-07-13T08:03:24.882Z] + PACKAGES=/tmp/packages_end.txt [2022-07-13T08:03:24.882Z] + case "${OS_FAMILY}" in [2022-07-13T08:03:24.882Z] + grep '^ii' [2022-07-13T08:03:24.882Z] + dpkg -l [2022-07-13T08:03:24.882Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-13T08:03:24.882Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-13T08:03:24.882Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-13T08:03:24.882Z] + '[' /w/workspace/undry_device-onvif-camera_PR-103 ']' [2022-07-13T08:03:24.882Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-103/archives/ [2022-07-13T08:03:24.882Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-103/archives/ [Pipeline] echo [2022-07-13T08:03:24.962Z] 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-103/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-13T08:03:25.482Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-13T08:03:26.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-13T08:03:26.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-13T08:03:26.442Z] prd-ubuntu20.04-docker-8c-8g-19834 does not seem to be running inside a container [2022-07-13T08:03:26.486Z] $ 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-103/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-103 -v /w/workspace/undry_device-onvif-camera_PR-103:/w/workspace/undry_device-onvif-camera_PR-103:rw,z -v /w/workspace/undry_device-onvif-camera_PR-103@tmp:/w/workspace/undry_device-onvif-camera_PR-103@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-13T08:03:26.780Z] $ docker top 9eceedc02ca480557a3ff1c796b24834287a40ef438481d9f97cf66682c64b72 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-13T08:03:27.590Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-13T08:03:28.085Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-13T08:03:28.380Z] + ls /var/log/sa-host [2022-07-13T08:03:28.381Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-13T08:03:28.517Z] provisioning config files... [2022-07-13T08:03:28.526Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-103@tmp/config5689308700180765794tmp [Pipeline] { [Pipeline] echo [2022-07-13T08:03:28.539Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T08:03:28.829Z] ---> create-netrc.sh [Pipeline] } [2022-07-13T08:03:28.837Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-13T08:03:29.210Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-13T08:03:29.224Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T08:03:29.515Z] ---> sudo-logs.sh [2022-07-13T08:03:29.515Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-13T08:03:29.538Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T08:03:29.917Z] ---> job-cost.sh [2022-07-13T08:03:29.917Z] lf-activate-venv: SKIPPING [2022-07-13T08:03:29.917Z] DEBUG: total: 0.2199999988079071 [2022-07-13T08:03:29.917Z] INFO: Retrieving Stack Cost... [2022-07-13T08:03:30.498Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-13T08:03:31.111Z] INFO: Archiving Costs [Pipeline] echo [2022-07-13T08:03:31.253Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-13T08:03:31.776Z] ---> logs-deploy.sh [2022-07-13T08:03:31.776Z] lf-activate-venv: SKIPPING [2022-07-13T08:03:31.776Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-103/7 [2022-07-13T08:03:31.776Z] INFO: archiving workspace using pattern(s): [2022-07-13T08:03:32.769Z] Archives upload complete. [2022-07-13T08:03:33.033Z] INFO: archiving logs to Nexus