Pull request #171 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 rather than 2978fd24be50e1036a82f37640bc4f511f9dfdd5 Obtained Jenkinsfile from 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 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-ssh78367429993617504.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18132587135000278064.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-171/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-171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8285525169751899851.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10074718712123227161.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-171/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-171/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5112187244427659277.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-7554’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7556 in /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-171 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit 2978fd24be50e1036a82f37640bc4f511f9dfdd5 Merge succeeded, producing f293d5541aac04be5b9e4478e8b96c472b7320d4 Checking out Revision f293d5541aac04be5b9e4478e8b96c472b7320d4 (PR-171) > git config core.sparsecheckout # timeout=10 > git checkout -f 2978fd24be50e1036a82f37640bc4f511f9dfdd5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f293d5541aac04be5b9e4478e8b96c472b7320d4 # timeout=10 Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 7d903ae391fffcabcbc1ff83650844782f9aa216 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T18:34:15.582Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-10T18:34:15.645Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T18:34:15.664Z] ========================================================= [2022-10-10T18:34:15.664Z] EdgeX Global Pipelines Version Info [2022-10-10T18:34:15.664Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:34:16.364Z] ------------------- [2022-10-10T18:34:16.364Z] stable info: [2022-10-10T18:34:16.364Z] ------------------- [2022-10-10T18:34:16.364Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T18:34:16.364Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T18:34:16.364Z] Message: update stable to v1.0.239 [2022-10-10T18:34:16.935Z] ------------------- [2022-10-10T18:34:16.935Z] experimental info: [2022-10-10T18:34:16.935Z] ------------------- [2022-10-10T18:34:16.935Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T18:34:16.935Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T18:34:16.935Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T18:34:17.095Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-10T18:34:17.107Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-10T18:34:17.120Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T18:34:17.130Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T18:34:17.146Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T18:34:17.162Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T18:34:17.175Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T18:34:17.186Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T18:34:17.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T18:34:17.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T18:34:17.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T18:34:17.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-10T18:34:17.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T18:34:17.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T18:34:17.274Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T18:34:17.286Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T18:34:17.297Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T18:34:17.309Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T18:34:17.322Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T18:34:17.333Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T18:34:17.347Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-10T18:34:17.360Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-10T18:34:17.372Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T18:34:17.385Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T18:34:17.396Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T18:34:17.408Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T18:34:17.418Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T18:34:17.430Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-171 [Pipeline] echo [2022-10-10T18:34:17.452Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-171 [Pipeline] echo [2022-10-10T18:34:17.467Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-171 [Pipeline] echo [2022-10-10T18:34:17.484Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f293d5541aac04be5b9e4478e8b96c472b7320d4 [Pipeline] echo [2022-10-10T18:34:17.500Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f293d55 [Pipeline] echo [2022-10-10T18:34:17.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T18:34:17.547Z] provisioning config files... [2022-10-10T18:34:17.563Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config9628141182077724430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:34:17.863Z] ---> docker-login.sh [2022-10-10T18:34:17.863Z] nexus3.edgexfoundry.org:10001 [2022-10-10T18:34:18.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:34:18.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:34:18.384Z] Configure a credential helper to remove this warning. See [2022-10-10T18:34:18.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:34:18.384Z] [2022-10-10T18:34:18.384Z] Login Succeeded [2022-10-10T18:34:18.384Z] nexus3.edgexfoundry.org:10002 [2022-10-10T18:34:18.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:34:18.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:34:18.384Z] Configure a credential helper to remove this warning. See [2022-10-10T18:34:18.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:34:18.384Z] [2022-10-10T18:34:18.384Z] Login Succeeded [2022-10-10T18:34:18.384Z] nexus3.edgexfoundry.org:10003 [2022-10-10T18:34:18.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:34:18.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:34:18.646Z] Configure a credential helper to remove this warning. See [2022-10-10T18:34:18.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:34:18.646Z] [2022-10-10T18:34:18.646Z] Login Succeeded [2022-10-10T18:34:18.646Z] nexus3.edgexfoundry.org:10004 [2022-10-10T18:34:18.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:34:18.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:34:18.646Z] Configure a credential helper to remove this warning. See [2022-10-10T18:34:18.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:34:18.646Z] [2022-10-10T18:34:18.646Z] Login Succeeded [2022-10-10T18:34:18.646Z] docker.io [2022-10-10T18:34:18.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:34:18.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:34:18.907Z] Configure a credential helper to remove this warning. See [2022-10-10T18:34:18.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:34:18.907Z] [2022-10-10T18:34:18.907Z] Login Succeeded [2022-10-10T18:34:18.907Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T18:34:18.913Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T18:34:19.270Z] + git rev-list -1 --merges f293d5541aac04be5b9e4478e8b96c472b7320d4~1..f293d5541aac04be5b9e4478e8b96c472b7320d4 [Pipeline] echo [2022-10-10T18:34:19.294Z] -----------> git rev-list -1 --merges f293d5541aac04be5b9e4478e8b96c472b7320d4~1..f293d5541aac04be5b9e4478e8b96c472b7320d4 f293d5541aac04be5b9e4478e8b96c472b7320d4 [2022-10-10T18:34:19.294Z] f293d5541aac04be5b9e4478e8b96c472b7320d4 [false] [Pipeline] sh [2022-10-10T18:34:19.577Z] + git log --format=format:%s -1 f293d5541aac04be5b9e4478e8b96c472b7320d4 [Pipeline] echo [2022-10-10T18:34:19.590Z] ========================================================= [2022-10-10T18:34:19.590Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T18:34:19.590Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T18:34:19.900Z] + git log --format=format:%s -1 f293d5541aac04be5b9e4478e8b96c472b7320d4 [Pipeline] echo [2022-10-10T18:34:19.911Z] [semverPrep] GIT_COMMIT: f293d5541aac04be5b9e4478e8b96c472b7320d4, Commit Message: Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD [Pipeline] echo [2022-10-10T18:34:19.920Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T18:34:20.250Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T18:34:20.250Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T18:34:20.250Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T18:34:20.250Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T18:34:20.250Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T18:34:20.250Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T18:34:20.250Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:34:20.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T18:34:20.590Z] [2022-10-10T18:34:20.590Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:34:20.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T18:34:20.885Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T18:34:20.885Z] b85a868b505f: Pulling fs layer [2022-10-10T18:34:20.885Z] e2be974225ed: Pulling fs layer [2022-10-10T18:34:20.885Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T18:34:20.885Z] 988bab9f4d93: Pulling fs layer [2022-10-10T18:34:20.885Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T18:34:20.885Z] eaf3925da568: Pulling fs layer [2022-10-10T18:34:20.885Z] bab4dde63d76: Pulling fs layer [2022-10-10T18:34:20.885Z] bde34c3a00c8: Pulling fs layer [2022-10-10T18:34:20.885Z] b352a97aabf1: Pulling fs layer [2022-10-10T18:34:20.885Z] 4872d77fe225: Pulling fs layer [2022-10-10T18:34:20.885Z] 5851b861e8e6: Pulling fs layer [2022-10-10T18:34:20.885Z] bab4dde63d76: Waiting [2022-10-10T18:34:20.885Z] 4872d77fe225: Waiting [2022-10-10T18:34:20.885Z] bde34c3a00c8: Waiting [2022-10-10T18:34:20.885Z] b352a97aabf1: Waiting [2022-10-10T18:34:20.885Z] eaf3925da568: Waiting [2022-10-10T18:34:20.885Z] 1469e6f7b9e6: Waiting [2022-10-10T18:34:20.885Z] e2be974225ed: Download complete [2022-10-10T18:34:20.885Z] 988bab9f4d93: Verifying Checksum [2022-10-10T18:34:20.885Z] 988bab9f4d93: Download complete [2022-10-10T18:34:21.145Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T18:34:21.145Z] 339a4e72a1f5: Download complete [2022-10-10T18:34:21.145Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T18:34:21.145Z] 1469e6f7b9e6: Download complete [2022-10-10T18:34:21.145Z] eaf3925da568: Verifying Checksum [2022-10-10T18:34:21.145Z] eaf3925da568: Download complete [2022-10-10T18:34:21.145Z] bde34c3a00c8: Verifying Checksum [2022-10-10T18:34:21.145Z] bde34c3a00c8: Download complete [2022-10-10T18:34:21.145Z] b352a97aabf1: Verifying Checksum [2022-10-10T18:34:21.145Z] b352a97aabf1: Download complete [2022-10-10T18:34:21.145Z] 4872d77fe225: Verifying Checksum [2022-10-10T18:34:21.145Z] 4872d77fe225: Download complete [2022-10-10T18:34:21.145Z] 5851b861e8e6: Verifying Checksum [2022-10-10T18:34:21.145Z] 5851b861e8e6: Download complete [2022-10-10T18:34:21.145Z] b85a868b505f: Download complete [2022-10-10T18:34:21.403Z] bab4dde63d76: Verifying Checksum [2022-10-10T18:34:21.403Z] bab4dde63d76: Download complete [2022-10-10T18:34:22.341Z] b85a868b505f: Pull complete [2022-10-10T18:34:22.341Z] e2be974225ed: Pull complete [2022-10-10T18:34:22.908Z] 339a4e72a1f5: Pull complete [2022-10-10T18:34:22.908Z] 988bab9f4d93: Pull complete [2022-10-10T18:34:23.168Z] 1469e6f7b9e6: Pull complete [2022-10-10T18:34:23.168Z] eaf3925da568: Pull complete [2022-10-10T18:34:25.069Z] bab4dde63d76: Pull complete [2022-10-10T18:34:25.069Z] bde34c3a00c8: Pull complete [2022-10-10T18:34:25.069Z] b352a97aabf1: Pull complete [2022-10-10T18:34:25.069Z] 4872d77fe225: Pull complete [2022-10-10T18:34:25.069Z] 5851b861e8e6: Pull complete [2022-10-10T18:34:25.069Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T18:34:25.328Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T18:34:25.328Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:34:25.406Z] prd-ubuntu20.04-docker-8c-8g-7556 does not seem to be running inside a container [2022-10-10T18:34:25.435Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T18:34:27.195Z] $ docker top 5bf2f11696dd12c8ced92d5e4b842ffd0e0128f99c2571ce4193597186a00c6d -eo pid,comm [2022-10-10T18:34:27.250Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-10T18:34:27.250Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T18:34:27.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T18:34:27.293Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T18:34:27.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T18:34:27.422Z] $ docker exec 5bf2f11696dd12c8ced92d5e4b842ffd0e0128f99c2571ce4193597186a00c6d ssh-agent [2022-10-10T18:34:27.545Z] SSH_AUTH_SOCK=/tmp/ssh-lOV3UDWGSIo2/agent.33 [2022-10-10T18:34:27.545Z] SSH_AGENT_PID=39 [2022-10-10T18:34:27.557Z] Running ssh-add (command line suppressed) [2022-10-10T18:34:27.655Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_8453536716586707151.key (/w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_8453536716586707151.key) [2022-10-10T18:34:27.670Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T18:34:27.954Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T18:34:27.967Z] $ docker exec --env ******** --env ******** 5bf2f11696dd12c8ced92d5e4b842ffd0e0128f99c2571ce4193597186a00c6d ssh-agent -k [2022-10-10T18:34:28.057Z] unset SSH_AUTH_SOCK; [2022-10-10T18:34:28.058Z] unset SSH_AGENT_PID; [2022-10-10T18:34:28.058Z] echo Agent pid 39 killed; [2022-10-10T18:34:28.069Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T18:34:28.097Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T18:34:28.097Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T18:34:28.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T18:34:28.199Z] $ docker exec 5bf2f11696dd12c8ced92d5e4b842ffd0e0128f99c2571ce4193597186a00c6d ssh-agent [2022-10-10T18:34:28.293Z] SSH_AUTH_SOCK=/tmp/ssh-H7NmQuapsibk/agent.71 [2022-10-10T18:34:28.293Z] SSH_AGENT_PID=77 [2022-10-10T18:34:28.297Z] Running ssh-add (command line suppressed) [2022-10-10T18:34:28.387Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_2201070779100887925.key (/w/workspace/undry_device-onvif-camera_PR-171@tmp/private_key_2201070779100887925.key) [2022-10-10T18:34:28.402Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T18:34:28.687Z] + git semver init [2022-10-10T18:34:28.946Z] 2022-10-10 18:34:28,851 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T18:34:28.946Z] 2022-10-10 18:34:28,852 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-171/.semver [2022-10-10T18:34:28.946Z] 2022-10-10 18:34:28,852 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-171/.semver [2022-10-10T18:34:28.946Z] 2022-10-10 18:34:28,852 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-171/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-171, universal_newlines=False, shell=None, istream=None) [2022-10-10T18:34:29.885Z] 2022-10-10 18:34:29,808 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-171/.git/info/exclude [2022-10-10T18:34:29.885Z] 2022-10-10 18:34:29,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 with force:False [2022-10-10T18:34:29.885Z] 2022-10-10 18:34:29,809 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 [2022-10-10T18:34:29.885Z] 2022-10-10 18:34:29,813 [execute] INFO git cat-file --batch-check [2022-10-10T18:34:29.885Z] 2022-10-10 18:34:29,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-171/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T18:34:29.885Z] 2022-10-10 18:34:29,819 [execute] INFO git cat-file --batch [2022-10-10T18:34:29.885Z] 2022-10-10 18:34:29,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-171/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T18:34:29.885Z] 2022-10-10 18:34:29,823 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-171/.semver/PR-171 [2022-10-10T18:34:29.885Z] 0.0.0 [Pipeline] } [2022-10-10T18:34:29.893Z] $ docker exec --env ******** --env ******** 5bf2f11696dd12c8ced92d5e4b842ffd0e0128f99c2571ce4193597186a00c6d ssh-agent -k [2022-10-10T18:34:29.977Z] unset SSH_AUTH_SOCK; [2022-10-10T18:34:29.978Z] unset SSH_AGENT_PID; [2022-10-10T18:34:29.978Z] echo Agent pid 77 killed; [2022-10-10T18:34:29.992Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T18:34:30.295Z] + git semver [Pipeline] } [2022-10-10T18:34:30.567Z] $ docker stop --time=1 5bf2f11696dd12c8ced92d5e4b842ffd0e0128f99c2571ce4193597186a00c6d [2022-10-10T18:34:31.907Z] $ docker rm -f 5bf2f11696dd12c8ced92d5e4b842ffd0e0128f99c2571ce4193597186a00c6d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T18:34:32.240Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T18:34:32.422Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T18:34:32.424Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T18:34:32.539Z] provisioning config files... [2022-10-10T18:34:32.551Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config2573507692890381968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:34:32.843Z] ---> docker-login.sh [2022-10-10T18:34:32.843Z] nexus3.edgexfoundry.org:10001 [2022-10-10T18:34:32.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:34:32.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:34:32.843Z] Configure a credential helper to remove this warning. See [2022-10-10T18:34:32.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:34:32.843Z] [2022-10-10T18:34:32.843Z] Login Succeeded [2022-10-10T18:34:32.843Z] nexus3.edgexfoundry.org:10002 [2022-10-10T18:34:32.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:34:32.843Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:34:32.843Z] Configure a credential helper to remove this warning. See [2022-10-10T18:34:32.843Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:34:32.843Z] [2022-10-10T18:34:32.843Z] Login Succeeded [2022-10-10T18:34:32.843Z] nexus3.edgexfoundry.org:10003 [2022-10-10T18:34:33.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:34:33.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:34:33.102Z] Configure a credential helper to remove this warning. See [2022-10-10T18:34:33.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:34:33.102Z] [2022-10-10T18:34:33.102Z] Login Succeeded [2022-10-10T18:34:33.102Z] nexus3.edgexfoundry.org:10004 [2022-10-10T18:34:33.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:34:33.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:34:33.102Z] Configure a credential helper to remove this warning. See [2022-10-10T18:34:33.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:34:33.102Z] [2022-10-10T18:34:33.102Z] Login Succeeded [2022-10-10T18:34:33.102Z] docker.io [2022-10-10T18:34:33.361Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:34:33.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:34:33.620Z] Configure a credential helper to remove this warning. See [2022-10-10T18:34:33.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:34:33.620Z] [2022-10-10T18:34:33.620Z] Login Succeeded [2022-10-10T18:34:33.620Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T18:34:33.627Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T18:34:33.675Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T18:34:33.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T18:34:33.689Z] ========================================================= [2022-10-10T18:34:33.689Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T18:34:33.689Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:34:33.990Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T18:34:33.990Z] Sending build context to Docker daemon 20.85MB [2022-10-10T18:34:33.990Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T18:34:33.990Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-10T18:34:34.250Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T18:34:34.250Z] 2408cc74d12b: Pulling fs layer [2022-10-10T18:34:34.250Z] ea60b727a1ce: Pulling fs layer [2022-10-10T18:34:34.250Z] 30c4a7721957: Pulling fs layer [2022-10-10T18:34:34.250Z] 370296b7ddb6: Pulling fs layer [2022-10-10T18:34:34.250Z] 7c6cee850709: Pulling fs layer [2022-10-10T18:34:34.250Z] aa9baa53a306: Pulling fs layer [2022-10-10T18:34:34.250Z] 8b309c321861: Pulling fs layer [2022-10-10T18:34:34.250Z] d8d76fd02f46: Pulling fs layer [2022-10-10T18:34:34.250Z] fa31f396de31: Pulling fs layer [2022-10-10T18:34:34.250Z] aa9baa53a306: Waiting [2022-10-10T18:34:34.250Z] 8b309c321861: Waiting [2022-10-10T18:34:34.250Z] 370296b7ddb6: Waiting [2022-10-10T18:34:34.250Z] d8d76fd02f46: Waiting [2022-10-10T18:34:34.250Z] 7c6cee850709: Waiting [2022-10-10T18:34:34.250Z] fa31f396de31: Waiting [2022-10-10T18:34:34.250Z] 30c4a7721957: Verifying Checksum [2022-10-10T18:34:34.250Z] 30c4a7721957: Download complete [2022-10-10T18:34:34.250Z] ea60b727a1ce: Download complete [2022-10-10T18:34:34.250Z] 7c6cee850709: Download complete [2022-10-10T18:34:34.250Z] 2408cc74d12b: Verifying Checksum [2022-10-10T18:34:34.250Z] 8b309c321861: Download complete [2022-10-10T18:34:34.516Z] 2408cc74d12b: Pull complete [2022-10-10T18:34:34.783Z] ea60b727a1ce: Pull complete [2022-10-10T18:34:34.783Z] fa31f396de31: Verifying Checksum [2022-10-10T18:34:34.783Z] fa31f396de31: Download complete [2022-10-10T18:34:34.783Z] 30c4a7721957: Pull complete [2022-10-10T18:34:35.041Z] d8d76fd02f46: Verifying Checksum [2022-10-10T18:34:35.041Z] d8d76fd02f46: Download complete [2022-10-10T18:34:35.041Z] 370296b7ddb6: Verifying Checksum [2022-10-10T18:34:35.041Z] 370296b7ddb6: Download complete [2022-10-10T18:34:38.321Z] 370296b7ddb6: Pull complete [2022-10-10T18:34:38.321Z] 7c6cee850709: Pull complete [2022-10-10T18:34:38.321Z] aa9baa53a306: Pull complete [2022-10-10T18:34:38.579Z] 8b309c321861: Pull complete [2022-10-10T18:34:40.491Z] d8d76fd02f46: Pull complete [2022-10-10T18:34:41.057Z] fa31f396de31: Pull complete [2022-10-10T18:34:41.057Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T18:34:41.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T18:34:41.057Z] ---> cef68f9685f8 [2022-10-10T18:34:41.057Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-10T18:34:45.248Z] ---> Running in 296dd5ab3c03 [2022-10-10T18:34:45.248Z] Removing intermediate container 296dd5ab3c03 [2022-10-10T18:34:45.248Z] ---> a4529bededf4 [2022-10-10T18:34:45.248Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T18:34:45.248Z] ---> Running in fd2323425da8 [2022-10-10T18:34:45.248Z] Removing intermediate container fd2323425da8 [2022-10-10T18:34:45.248Z] ---> 5d976a6053af [2022-10-10T18:34:45.248Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T18:34:45.248Z] ---> Running in 9c4d727bff13 [2022-10-10T18:34:45.248Z] Removing intermediate container 9c4d727bff13 [2022-10-10T18:34:45.248Z] ---> 4ec6057e28f2 [2022-10-10T18:34:45.248Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T18:34:45.248Z] ---> Running in c3c65f2389d5 [2022-10-10T18:34:45.248Z] Removing intermediate container c3c65f2389d5 [2022-10-10T18:34:45.248Z] ---> 04f0a6142104 [2022-10-10T18:34:45.248Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-10T18:34:45.248Z] ---> Running in 20ec4f913b9d [2022-10-10T18:34:45.248Z] Removing intermediate container 20ec4f913b9d [2022-10-10T18:34:45.248Z] ---> 00ac6a101a1e [2022-10-10T18:34:45.248Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T18:34:45.248Z] ---> Running in dbc4fcfacc0d [2022-10-10T18:34:45.814Z] Removing intermediate container dbc4fcfacc0d [2022-10-10T18:34:45.814Z] ---> 5bbcb5ef941b [2022-10-10T18:34:45.814Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T18:34:45.814Z] ---> Running in 1b6bdee135d2 [2022-10-10T18:34:46.072Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T18:34:46.640Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T18:34:47.209Z] OK: 211 MiB in 51 packages [2022-10-10T18:34:47.466Z] Removing intermediate container 1b6bdee135d2 [2022-10-10T18:34:47.466Z] ---> d198a592ffd3 [2022-10-10T18:34:47.466Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-10T18:34:47.466Z] ---> Running in deb07b21a676 [2022-10-10T18:34:47.466Z] Removing intermediate container deb07b21a676 [2022-10-10T18:34:47.466Z] ---> e8c0d7a41515 [2022-10-10T18:34:47.466Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-10T18:34:47.514Z] Still waiting to schedule task [2022-10-10T18:34:47.514Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7555’ is offline [2022-10-10T18:34:47.725Z] ---> 2906632919d9 [2022-10-10T18:34:47.725Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T18:34:47.725Z] ---> Running in 61e37674c665 [2022-10-10T18:35:02.662Z] Removing intermediate container 61e37674c665 [2022-10-10T18:35:02.662Z] ---> 7b7b210491ac [2022-10-10T18:35:02.662Z] Step 13/14 : COPY . . [2022-10-10T18:35:02.662Z] ---> a03ffb08129c [2022-10-10T18:35:02.662Z] Step 14/14 : RUN ${MAKE} [2022-10-10T18:35:02.662Z] ---> Running in 5d2b0cc7be73 [2022-10-10T18:35:02.920Z] noop [2022-10-10T18:35:03.183Z] Removing intermediate container 5d2b0cc7be73 [2022-10-10T18:35:03.183Z] ---> 36b042a0fabc [2022-10-10T18:35:03.183Z] Successfully built 36b042a0fabc [2022-10-10T18:35:03.183Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:35:03.489Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T18:35:03.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:35:03.556Z] prd-ubuntu20.04-docker-8c-8g-7556 does not seem to be running inside a container [2022-10-10T18:35:03.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 ******** ci-base-image-x86_64 cat [2022-10-10T18:35:03.956Z] $ docker top 2d364febbe044385f00340e4ae8438681f883b306e62d1ce926c24b30532b715 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T18:35:04.298Z] + go version [2022-10-10T18:35:04.298Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T18:35:04.307Z] $ docker stop --time=1 2d364febbe044385f00340e4ae8438681f883b306e62d1ce926c24b30532b715 [2022-10-10T18:35:05.575Z] $ docker rm -f 2d364febbe044385f00340e4ae8438681f883b306e62d1ce926c24b30532b715 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:35:05.991Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T18:35:05.991Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:35:06.057Z] prd-ubuntu20.04-docker-8c-8g-7556 does not seem to be running inside a container [2022-10-10T18:35:06.083Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@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 ******** ci-base-image-x86_64 cat [2022-10-10T18:35:06.432Z] $ docker top 936cfcecf10d4ba848b87344c3a32b4fee692ee74217b99be62e031e831a99b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T18:35:06.770Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] fileExists [Pipeline] sh [2022-10-10T18:35:07.058Z] + make test [2022-10-10T18:35:07.058Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T18:35:07.317Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-10T18:35:19.517Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-10T18:35:19.517Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.035s coverage: 28.2% of statements [2022-10-10T18:35:19.517Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-10T18:35:19.517Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.490s coverage: 86.5% of statements [2022-10-10T18:35:27.628Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-10T18:35:27.628Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T18:35:30.160Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T18:35:30.160Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T18:35:30.160Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T18:35:30.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T18:35:30.186Z] $ docker stop --time=1 936cfcecf10d4ba848b87344c3a32b4fee692ee74217b99be62e031e831a99b3 [2022-10-10T18:35:32.358Z] $ docker rm -f 936cfcecf10d4ba848b87344c3a32b4fee692ee74217b99be62e031e831a99b3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T18:35:32.795Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T18:35:32.847Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T18:35:33.270Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T18:35:33.551Z] + ls -al . [2022-10-10T18:35:33.551Z] total 236 [2022-10-10T18:35:33.551Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 18:35 . [2022-10-10T18:35:33.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:34 .. [2022-10-10T18:35:33.551Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 18:35 .git [2022-10-10T18:35:33.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:34 .github [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 10 18:34 .gitignore [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 18:34 .golangci.yml [2022-10-10T18:35:33.551Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 18:34 .semver [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 10 18:34 Attribution.txt [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 10 18:34 CHANGELOG.md [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 10 18:34 Dockerfile [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 18:34 GOVERNANCE.md [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 10 18:34 Jenkinsfile [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 18:34 LICENSE [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 10 18:34 Makefile [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 10 18:34 OWNERS.md [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 10 18:34 README.md [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 18:34 VERSION [2022-10-10T18:35:33.551Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 18:34 bin [2022-10-10T18:35:33.551Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:34 cmd [2022-10-10T18:35:33.551Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 10 18:35 coverage.out [2022-10-10T18:35:33.551Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 10 18:34 doc [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 10 18:34 go.mod [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 10 18:34 go.sum [2022-10-10T18:35:33.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:34 internal [2022-10-10T18:35:33.551Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:34 snap [2022-10-10T18:35:33.551Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 10 18:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:35:33.860Z] + 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=f293d5541aac04be5b9e4478e8b96c472b7320d4 --label arch=amd64 --label version=0.0.0 . [2022-10-10T18:35:33.860Z] Sending build context to Docker daemon 20.93MB [2022-10-10T18:35:33.860Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T18:35:33.860Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-10T18:35:33.861Z] ---> 36b042a0fabc [2022-10-10T18:35:33.861Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-10T18:35:34.121Z] ---> Running in e3232764d27a [2022-10-10T18:35:34.121Z] Removing intermediate container e3232764d27a [2022-10-10T18:35:34.121Z] ---> 3bf8d241f4d4 [2022-10-10T18:35:34.121Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T18:35:34.121Z] ---> Running in 93bbca41556e [2022-10-10T18:35:34.121Z] Removing intermediate container 93bbca41556e [2022-10-10T18:35:34.121Z] ---> 179f333a963e [2022-10-10T18:35:34.121Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T18:35:34.121Z] ---> Running in f3f2232b4258 [2022-10-10T18:35:34.380Z] Removing intermediate container f3f2232b4258 [2022-10-10T18:35:34.380Z] ---> a06b4d16ef13 [2022-10-10T18:35:34.380Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T18:35:34.380Z] ---> Running in 36e01c1ea616 [2022-10-10T18:35:34.380Z] Removing intermediate container 36e01c1ea616 [2022-10-10T18:35:34.380Z] ---> 05e197ef3d45 [2022-10-10T18:35:34.380Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-10T18:35:34.380Z] ---> Running in 7a049f624432 [2022-10-10T18:35:34.380Z] Removing intermediate container 7a049f624432 [2022-10-10T18:35:34.380Z] ---> 35ce0cb5f8fc [2022-10-10T18:35:34.380Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T18:35:34.380Z] ---> Running in f02ef246652d [2022-10-10T18:35:34.946Z] Removing intermediate container f02ef246652d [2022-10-10T18:35:34.946Z] ---> 9b7d5a990435 [2022-10-10T18:35:34.946Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T18:35:34.946Z] ---> Running in 27b75940abb8 [2022-10-10T18:35:35.204Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T18:35:36.139Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T18:35:36.401Z] OK: 211 MiB in 51 packages [2022-10-10T18:35:36.659Z] Removing intermediate container 27b75940abb8 [2022-10-10T18:35:36.659Z] ---> b99662f1ad7b [2022-10-10T18:35:36.659Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-10T18:35:36.659Z] ---> Running in 7cde7c3d402a [2022-10-10T18:35:36.916Z] Removing intermediate container 7cde7c3d402a [2022-10-10T18:35:36.916Z] ---> bcc1ac62b36c [2022-10-10T18:35:36.916Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-10T18:35:36.916Z] ---> aa815de14630 [2022-10-10T18:35:36.916Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T18:35:36.916Z] ---> Running in 6e35b9cce2cc [2022-10-10T18:35:37.849Z] Removing intermediate container 6e35b9cce2cc [2022-10-10T18:35:37.849Z] ---> c6fc11ae5c0e [2022-10-10T18:35:37.849Z] Step 13/27 : COPY . . [2022-10-10T18:35:38.415Z] ---> dc978cb03c73 [2022-10-10T18:35:38.415Z] Step 14/27 : RUN ${MAKE} [2022-10-10T18:35:38.415Z] ---> Running in 15345e974f06 [2022-10-10T18:35:38.415Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-10T18:36:00.356Z] Removing intermediate container 15345e974f06 [2022-10-10T18:36:00.356Z] ---> cfdf8364b8ee [2022-10-10T18:36:00.356Z] Step 15/27 : FROM alpine:3.16 [2022-10-10T18:36:00.356Z] 3.16: Pulling from library/alpine [2022-10-10T18:36:00.356Z] 213ec9aee27d: Pulling fs layer [2022-10-10T18:36:00.356Z] 213ec9aee27d: Verifying Checksum [2022-10-10T18:36:00.356Z] 213ec9aee27d: Download complete [2022-10-10T18:36:00.356Z] 213ec9aee27d: Pull complete [2022-10-10T18:36:00.356Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T18:36:00.356Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T18:36:00.356Z] ---> 9c6f07244728 [2022-10-10T18:36:00.356Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-10T18:36:00.356Z] ---> Running in 743aad2fa870 [2022-10-10T18:36:00.356Z] Removing intermediate container 743aad2fa870 [2022-10-10T18:36:00.356Z] ---> 19856e79ef42 [2022-10-10T18:36:00.356Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T18:36:00.356Z] ---> Running in b36b6a115bbb [2022-10-10T18:36:00.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T18:36:00.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T18:36:00.356Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T18:36:00.356Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T18:36:00.356Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T18:36:00.356Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T18:36:00.356Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T18:36:00.356Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T18:36:00.356Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T18:36:00.356Z] OK: 8 MiB in 20 packages [2022-10-10T18:36:00.356Z] Removing intermediate container b36b6a115bbb [2022-10-10T18:36:00.356Z] ---> af859ab951e7 [2022-10-10T18:36:00.356Z] Step 18/27 : WORKDIR / [2022-10-10T18:36:00.356Z] ---> Running in 104f8d3d7d42 [2022-10-10T18:36:00.356Z] Removing intermediate container 104f8d3d7d42 [2022-10-10T18:36:00.356Z] ---> d7cf9aa25383 [2022-10-10T18:36:00.356Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-10T18:36:00.356Z] ---> 88a0b1025e9e [2022-10-10T18:36:00.356Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-10T18:36:00.356Z] ---> 83ed7b812f70 [2022-10-10T18:36:00.356Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-10T18:36:00.356Z] ---> 6d56b56be87e [2022-10-10T18:36:00.356Z] Step 22/27 : EXPOSE 59984 [2022-10-10T18:36:00.356Z] ---> Running in d19a88dbb0f3 [2022-10-10T18:36:00.356Z] Removing intermediate container d19a88dbb0f3 [2022-10-10T18:36:00.356Z] ---> e4e62f9e5967 [2022-10-10T18:36:00.356Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-10T18:36:00.615Z] ---> Running in 2d454990d183 [2022-10-10T18:36:00.615Z] Removing intermediate container 2d454990d183 [2022-10-10T18:36:00.615Z] ---> 76aba05051f5 [2022-10-10T18:36:00.615Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T18:36:00.615Z] ---> Running in 5835991c4abb [2022-10-10T18:36:00.615Z] Removing intermediate container 5835991c4abb [2022-10-10T18:36:00.615Z] ---> 938c0346f241 [2022-10-10T18:36:00.615Z] Step 25/27 : LABEL arch=amd64 [2022-10-10T18:36:00.615Z] ---> Running in 0e56144f1323 [2022-10-10T18:36:00.873Z] Removing intermediate container 0e56144f1323 [2022-10-10T18:36:00.873Z] ---> 5631935b43a1 [2022-10-10T18:36:00.873Z] Step 26/27 : LABEL git_sha=f293d5541aac04be5b9e4478e8b96c472b7320d4 [2022-10-10T18:36:00.873Z] ---> Running in 12eaa70f9892 [2022-10-10T18:36:00.873Z] Removing intermediate container 12eaa70f9892 [2022-10-10T18:36:00.873Z] ---> 2965c6ee758a [2022-10-10T18:36:00.873Z] Step 27/27 : LABEL version=0.0.0 [2022-10-10T18:36:00.873Z] ---> Running in 2baec348dd08 [2022-10-10T18:36:00.873Z] Removing intermediate container 2baec348dd08 [2022-10-10T18:36:00.873Z] ---> 983744fa0356 [2022-10-10T18:36:00.873Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T18:36:00.873Z] Successfully built 983744fa0356 [2022-10-10T18:36:00.873Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:36:01.307Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T18:36:01.307Z] [2022-10-10T18:36:01.307Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:36:01.605Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T18:36:01.605Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T18:36:01.605Z] 5eb5b503b376: Pulling fs layer [2022-10-10T18:36:01.605Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T18:36:01.605Z] ec43610c2a17: Pulling fs layer [2022-10-10T18:36:01.605Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T18:36:01.605Z] 33b1e0a273af: Pulling fs layer [2022-10-10T18:36:01.605Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T18:36:01.605Z] 2f39f015ded8: Pulling fs layer [2022-10-10T18:36:01.605Z] 3a2ae6a8a46f: Waiting [2022-10-10T18:36:01.605Z] 33b1e0a273af: Waiting [2022-10-10T18:36:01.605Z] 5d3b04190fa2: Waiting [2022-10-10T18:36:01.605Z] 2f39f015ded8: Waiting [2022-10-10T18:36:01.605Z] 5c69ac0246d0: Verifying Checksum [2022-10-10T18:36:01.605Z] 5c69ac0246d0: Download complete [2022-10-10T18:36:01.605Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T18:36:01.605Z] 3a2ae6a8a46f: Download complete [2022-10-10T18:36:01.605Z] 33b1e0a273af: Verifying Checksum [2022-10-10T18:36:01.605Z] 33b1e0a273af: Download complete [2022-10-10T18:36:01.863Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T18:36:01.863Z] 5d3b04190fa2: Download complete [2022-10-10T18:36:01.863Z] ec43610c2a17: Verifying Checksum [2022-10-10T18:36:01.863Z] ec43610c2a17: Download complete [2022-10-10T18:36:01.863Z] 5eb5b503b376: Verifying Checksum [2022-10-10T18:36:01.863Z] 5eb5b503b376: Download complete [2022-10-10T18:36:02.428Z] 2f39f015ded8: Verifying Checksum [2022-10-10T18:36:02.428Z] 2f39f015ded8: Download complete [2022-10-10T18:36:02.995Z] 5eb5b503b376: Pull complete [2022-10-10T18:36:02.995Z] 5c69ac0246d0: Pull complete [2022-10-10T18:36:03.560Z] ec43610c2a17: Pull complete [2022-10-10T18:36:03.560Z] 3a2ae6a8a46f: Pull complete [2022-10-10T18:36:03.560Z] 33b1e0a273af: Pull complete [2022-10-10T18:36:03.818Z] 5d3b04190fa2: Pull complete [2022-10-10T18:36:07.098Z] 2f39f015ded8: Pull complete [2022-10-10T18:36:07.098Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T18:36:07.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T18:36:07.098Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:36:07.174Z] prd-ubuntu20.04-docker-8c-8g-7556 does not seem to be running inside a container [2022-10-10T18:36:07.202Z] $ 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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T18:36:08.672Z] $ docker top 5b5276a754b2faedc085d41afeeab9af0fdfc9e66b7df4eaba1b5610c8ae7164 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:36:09.042Z] ---> job-cost.sh [2022-10-10T18:36:09.042Z] lf-activate-venv: SKIPPING [2022-10-10T18:36:09.042Z] INFO: No Stack... [2022-10-10T18:36:09.300Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T18:36:09.865Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T18:36:10.155Z] + cat /w/workspace/undry_device-onvif-camera_PR-171/archives/cost.csv [2022-10-10T18:36:10.155Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T18:36:10.168Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-171-3-stack-cost] [2022-10-10T18:36:10.175Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-3-stack-cost] did not exist. Created. [2022-10-10T18:36:10.175Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-171-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T18:36:10.477Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T18:36:10.499Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T18:36:10.505Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T18:36:10.523Z] $ docker stop --time=1 5b5276a754b2faedc085d41afeeab9af0fdfc9e66b7df4eaba1b5610c8ae7164 [2022-10-10T18:36:11.674Z] $ docker rm -f 5b5276a754b2faedc085d41afeeab9af0fdfc9e66b7df4eaba1b5610c8ae7164 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T18:36:14.109Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7557 in /w/workspace/undry_device-onvif-camera_PR-171 [Pipeline] { [Pipeline] ws [2022-10-10T18:36:14.121Z] Running in /w/workspace/device-onvif-camera/3 [Pipeline] { [Pipeline] checkout [2022-10-10T18:36:14.154Z] The recommended git tool is: git [2022-10-10T18:36:19.037Z] using credential edgex-jenkins-ssh [2022-10-10T18:36:19.053Z] Cloning the remote Git repository [2022-10-10T18:36:19.096Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-10T18:36:19.167Z] > git init /w/workspace/device-onvif-camera/3 # timeout=10 [2022-10-10T18:36:19.292Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-10T18:36:19.293Z] > git --version # timeout=10 [2022-10-10T18:36:19.317Z] > git --version # 'git version 2.25.1' [2022-10-10T18:36:19.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T18:36:19.358Z] Verifying host key using known hosts file [2022-10-10T18:36:19.525Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T18:36:19.538Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T18:36:20.765Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-10T18:36:20.790Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T18:36:21.525Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-10T18:36:22.210Z] Merging remotes/origin/main commit 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 into PR head commit 2978fd24be50e1036a82f37640bc4f511f9dfdd5 [2022-10-10T18:36:21.577Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-10T18:36:21.578Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T18:36:21.583Z] Verifying host key using known hosts file [2022-10-10T18:36:21.589Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T18:36:21.599Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/171/head:refs/remotes/origin/PR-171 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T18:36:22.225Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T18:36:22.245Z] > git checkout -f 2978fd24be50e1036a82f37640bc4f511f9dfdd5 # timeout=10 [2022-10-10T18:36:22.453Z] > git remote # timeout=10 [2022-10-10T18:36:22.470Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T18:36:22.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T18:36:22.488Z] Verifying host key using known hosts file [2022-10-10T18:36:22.492Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T18:36:22.501Z] > git merge 0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99 # timeout=10 [2022-10-10T18:36:22.901Z] Merge succeeded, producing 36493ccf723ec7771d6752e27eb957ddb93b03bc [2022-10-10T18:36:22.901Z] Checking out Revision 36493ccf723ec7771d6752e27eb957ddb93b03bc (PR-171) [2022-10-10T18:36:22.882Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T18:36:22.908Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T18:36:22.922Z] > git checkout -f 36493ccf723ec7771d6752e27eb957ddb93b03bc # timeout=10 [2022-10-10T18:36:26.567Z] Commit message: "Merge commit '0ad2d87d4e9137a99dd08ec03f05aa06ef31ff99' into HEAD" [2022-10-10T18:36:26.591Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T18:36:26.575Z] > git rev-list --no-walk 7d903ae391fffcabcbc1ff83650844782f9aa216 # timeout=10 [2022-10-10T18:36:27.452Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T18:36:27.452Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T18:36:27.452Z] Dload Upload Total Spent Left Speed [2022-10-10T18:36:27.452Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 70402 0 --:--:-- --:--:-- --:--:-- 70402 [Pipeline] sh [2022-10-10T18:36:28.114Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T18:36:28.437Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T18:36:28.437Z] + sudo tee /etc/docker/daemon.new [2022-10-10T18:36:28.437Z] { [2022-10-10T18:36:28.437Z] "registry-mirrors": [ [2022-10-10T18:36:28.437Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T18:36:28.437Z] ], [2022-10-10T18:36:28.437Z] "bip": "10.250.0.254/24", [2022-10-10T18:36:28.437Z] "hosts": [ [2022-10-10T18:36:28.437Z] "tcp://0.0.0.0:5555", [2022-10-10T18:36:28.437Z] "unix:///var/run/docker.sock" [2022-10-10T18:36:28.437Z] ], [2022-10-10T18:36:28.437Z] "mtu": 1458, [2022-10-10T18:36:28.437Z] "selinux-enabled": true, [2022-10-10T18:36:28.437Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T18:36:28.437Z] } [Pipeline] sh [2022-10-10T18:36:28.760Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T18:36:29.085Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T18:36:47.399Z] provisioning config files... [2022-10-10T18:36:47.495Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/3@tmp/config15894589381056566820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:36:47.837Z] ---> docker-login.sh [2022-10-10T18:36:47.838Z] nexus3.edgexfoundry.org:10001 [2022-10-10T18:36:48.426Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:36:48.426Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:36:48.426Z] Configure a credential helper to remove this warning. See [2022-10-10T18:36:48.426Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:36:48.426Z] [2022-10-10T18:36:48.426Z] Login Succeeded [2022-10-10T18:36:48.426Z] nexus3.edgexfoundry.org:10002 [2022-10-10T18:36:48.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:36:48.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:36:48.696Z] Configure a credential helper to remove this warning. See [2022-10-10T18:36:48.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:36:48.696Z] [2022-10-10T18:36:48.696Z] Login Succeeded [2022-10-10T18:36:48.696Z] nexus3.edgexfoundry.org:10003 [2022-10-10T18:36:48.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:36:49.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:36:49.235Z] Configure a credential helper to remove this warning. See [2022-10-10T18:36:49.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:36:49.235Z] [2022-10-10T18:36:49.235Z] Login Succeeded [2022-10-10T18:36:49.235Z] nexus3.edgexfoundry.org:10004 [2022-10-10T18:36:49.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:36:49.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:36:49.506Z] Configure a credential helper to remove this warning. See [2022-10-10T18:36:49.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:36:49.506Z] [2022-10-10T18:36:49.506Z] Login Succeeded [2022-10-10T18:36:49.506Z] docker.io [2022-10-10T18:36:49.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T18:36:50.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T18:36:50.040Z] Configure a credential helper to remove this warning. See [2022-10-10T18:36:50.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T18:36:50.040Z] [2022-10-10T18:36:50.040Z] Login Succeeded [2022-10-10T18:36:50.040Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T18:36:50.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T18:36:50.196Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T18:36:50.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T18:36:50.213Z] ========================================================= [2022-10-10T18:36:50.213Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T18:36:50.213Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:36:50.547Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T18:36:51.130Z] Sending build context to Docker daemon 14.27MB [2022-10-10T18:36:51.130Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T18:36:51.130Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-10T18:36:51.130Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T18:36:51.130Z] b3c136eddcbf: Pulling fs layer [2022-10-10T18:36:51.130Z] c0a3192eca97: Pulling fs layer [2022-10-10T18:36:51.130Z] a050256f5b6f: Pulling fs layer [2022-10-10T18:36:51.130Z] 656be50a0ddc: Pulling fs layer [2022-10-10T18:36:51.130Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T18:36:51.130Z] f607e4fc86c3: Pulling fs layer [2022-10-10T18:36:51.130Z] 4d572c569a2c: Pulling fs layer [2022-10-10T18:36:51.130Z] fcf976331f73: Pulling fs layer [2022-10-10T18:36:51.130Z] 656be50a0ddc: Waiting [2022-10-10T18:36:51.130Z] 2bbca73fdf42: Waiting [2022-10-10T18:36:51.130Z] f607e4fc86c3: Waiting [2022-10-10T18:36:51.130Z] 4d572c569a2c: Waiting [2022-10-10T18:36:51.130Z] fcf976331f73: Waiting [2022-10-10T18:36:51.130Z] a050256f5b6f: Verifying Checksum [2022-10-10T18:36:51.130Z] a050256f5b6f: Download complete [2022-10-10T18:36:51.130Z] c0a3192eca97: Verifying Checksum [2022-10-10T18:36:51.130Z] c0a3192eca97: Download complete [2022-10-10T18:36:51.130Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T18:36:51.130Z] 2bbca73fdf42: Download complete [2022-10-10T18:36:51.130Z] f607e4fc86c3: Verifying Checksum [2022-10-10T18:36:51.130Z] f607e4fc86c3: Download complete [2022-10-10T18:36:51.130Z] b3c136eddcbf: Download complete [2022-10-10T18:36:52.130Z] b3c136eddcbf: Pull complete [2022-10-10T18:36:52.130Z] fcf976331f73: Verifying Checksum [2022-10-10T18:36:52.130Z] fcf976331f73: Download complete [2022-10-10T18:36:52.725Z] c0a3192eca97: Pull complete [2022-10-10T18:36:52.995Z] a050256f5b6f: Pull complete [2022-10-10T18:36:53.264Z] 4d572c569a2c: Verifying Checksum [2022-10-10T18:36:53.264Z] 4d572c569a2c: Download complete [2022-10-10T18:36:54.241Z] 656be50a0ddc: Verifying Checksum [2022-10-10T18:36:54.241Z] 656be50a0ddc: Download complete [2022-10-10T18:37:06.552Z] 656be50a0ddc: Pull complete [2022-10-10T18:37:06.552Z] 2bbca73fdf42: Pull complete [2022-10-10T18:37:06.552Z] f607e4fc86c3: Pull complete [2022-10-10T18:37:13.200Z] 4d572c569a2c: Pull complete [2022-10-10T18:37:15.795Z] fcf976331f73: Pull complete [2022-10-10T18:37:15.795Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T18:37:15.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T18:37:15.795Z] ---> 3970a7415f9e [2022-10-10T18:37:15.795Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-10T18:37:17.205Z] ---> Running in b75f38bb10bb [2022-10-10T18:37:17.472Z] Removing intermediate container b75f38bb10bb [2022-10-10T18:37:17.472Z] ---> 00efa35c9a32 [2022-10-10T18:37:17.472Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T18:37:17.472Z] ---> Running in c0d50233e9b3 [2022-10-10T18:37:17.738Z] Removing intermediate container c0d50233e9b3 [2022-10-10T18:37:17.738Z] ---> aad17fbe1de9 [2022-10-10T18:37:17.738Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T18:37:17.738Z] ---> Running in 99d5a68db421 [2022-10-10T18:37:18.005Z] Removing intermediate container 99d5a68db421 [2022-10-10T18:37:18.005Z] ---> e9e9e6779d8f [2022-10-10T18:37:18.005Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T18:37:18.272Z] ---> Running in fb882af0751f [2022-10-10T18:37:18.540Z] Removing intermediate container fb882af0751f [2022-10-10T18:37:18.540Z] ---> 12c5b9850075 [2022-10-10T18:37:18.540Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-10T18:37:18.540Z] ---> Running in 9f55dac7ac9f [2022-10-10T18:37:18.812Z] Removing intermediate container 9f55dac7ac9f [2022-10-10T18:37:18.812Z] ---> fef363998fd5 [2022-10-10T18:37:18.812Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T18:37:18.812Z] ---> Running in e23ea4e3ffd8 [2022-10-10T18:37:20.760Z] Removing intermediate container e23ea4e3ffd8 [2022-10-10T18:37:20.760Z] ---> b030fa589f8c [2022-10-10T18:37:20.760Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T18:37:20.760Z] ---> Running in 1367dcdc6802 [2022-10-10T18:37:21.716Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T18:37:22.297Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T18:37:23.253Z] OK: 221 MiB in 51 packages [2022-10-10T18:37:23.835Z] Removing intermediate container 1367dcdc6802 [2022-10-10T18:37:23.835Z] ---> 7945bdd46854 [2022-10-10T18:37:23.835Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-10T18:37:24.100Z] ---> Running in cf3c7364cae0 [2022-10-10T18:37:24.365Z] Removing intermediate container cf3c7364cae0 [2022-10-10T18:37:24.365Z] ---> dc3f7b1ce5e9 [2022-10-10T18:37:24.365Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-10T18:37:24.948Z] ---> 2c17bc9d2ff3 [2022-10-10T18:37:24.948Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T18:37:24.948Z] ---> Running in 328584066af9 [2022-10-10T18:38:11.798Z] Removing intermediate container 328584066af9 [2022-10-10T18:38:11.798Z] ---> 396dab65c18f [2022-10-10T18:38:11.798Z] Step 13/14 : COPY . . [2022-10-10T18:38:12.764Z] ---> 87d276454f75 [2022-10-10T18:38:12.764Z] Step 14/14 : RUN ${MAKE} [2022-10-10T18:38:12.764Z] ---> Running in 00e93f3321bc [2022-10-10T18:38:13.723Z] noop [2022-10-10T18:38:14.303Z] Removing intermediate container 00e93f3321bc [2022-10-10T18:38:14.303Z] ---> d2c88e1d1ad8 [2022-10-10T18:38:14.303Z] Successfully built d2c88e1d1ad8 [2022-10-10T18:38:14.303Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:38:14.637Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T18:38:14.637Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:38:14.806Z] prd-ubuntu20.04-docker-arm64-4c-16g-7557 does not seem to be running inside a container [2022-10-10T18:38:14.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T18:38:15.985Z] $ docker top 1a10e4ae3bed072540a691a763568382a1402826cb815c9340c6678a69c8dab8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T18:38:16.792Z] + go version [2022-10-10T18:38:16.792Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T18:38:16.812Z] $ docker stop --time=1 1a10e4ae3bed072540a691a763568382a1402826cb815c9340c6678a69c8dab8 [2022-10-10T18:38:18.361Z] $ docker rm -f 1a10e4ae3bed072540a691a763568382a1402826cb815c9340c6678a69c8dab8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:38:18.889Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T18:38:18.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:38:19.051Z] prd-ubuntu20.04-docker-arm64-4c-16g-7557 does not seem to be running inside a container [2022-10-10T18:38:19.111Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-10T18:38:20.215Z] $ docker top effe5ee2e192bc38df32ca0b6206f97b5adca2507764f21c9a83aebc9789ca2c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T18:38:20.722Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/3 [Pipeline] fileExists [Pipeline] sh [2022-10-10T18:38:21.051Z] + make test [2022-10-10T18:38:21.318Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T18:38:23.258Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-10T18:39:59.901Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-10T18:39:59.901Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.196s coverage: 28.2% of statements [2022-10-10T18:39:59.901Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-10T18:40:18.127Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.631s coverage: 86.5% of statements [2022-10-10T18:40:18.127Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T18:40:18.127Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T18:40:44.829Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T18:40:44.829Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T18:40:44.829Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-10T18:40:44.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T18:40:44.873Z] $ docker stop --time=1 effe5ee2e192bc38df32ca0b6206f97b5adca2507764f21c9a83aebc9789ca2c [2022-10-10T18:40:46.641Z] $ docker rm -f effe5ee2e192bc38df32ca0b6206f97b5adca2507764f21c9a83aebc9789ca2c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T18:40:47.646Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T18:40:47.667Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T18:40:48.295Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T18:40:48.773Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T18:40:49.145Z] + ls -al . [2022-10-10T18:40:49.145Z] total 232 [2022-10-10T18:40:49.145Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 18:38 . [2022-10-10T18:40:49.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:36 .. [2022-10-10T18:40:49.145Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 18:36 .git [2022-10-10T18:40:49.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:36 .github [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 418 Oct 10 18:36 .gitignore [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 10 18:36 .golangci.yml [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 10 18:36 Attribution.txt [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 10 18:36 CHANGELOG.md [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 10 18:36 Dockerfile [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 18:36 GOVERNANCE.md [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 10 18:36 Jenkinsfile [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 10 18:36 LICENSE [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 10 18:36 Makefile [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 10 18:36 OWNERS.md [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 10 18:36 README.md [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 18:34 VERSION [2022-10-10T18:40:49.145Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 18:36 bin [2022-10-10T18:40:49.145Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 18:36 cmd [2022-10-10T18:40:49.145Z] -rw-r--r-- 1 jenkins jenkins 78461 Oct 10 18:40 coverage.out [2022-10-10T18:40:49.145Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 10 18:36 doc [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 10 18:36 go.mod [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 10 18:36 go.sum [2022-10-10T18:40:49.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:36 internal [2022-10-10T18:40:49.145Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 18:36 snap [2022-10-10T18:40:49.145Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 10 18:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:40:49.500Z] + 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=36493ccf723ec7771d6752e27eb957ddb93b03bc --label arch=arm64 --label version=0.0.0 . [2022-10-10T18:40:50.133Z] Sending build context to Docker daemon 14.35MB [2022-10-10T18:40:50.133Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T18:40:50.133Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-10T18:40:50.133Z] ---> d2c88e1d1ad8 [2022-10-10T18:40:50.133Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-10T18:40:50.404Z] ---> Running in aec55c1db9d4 [2022-10-10T18:40:50.674Z] Removing intermediate container aec55c1db9d4 [2022-10-10T18:40:50.674Z] ---> c3e6dab39e84 [2022-10-10T18:40:50.674Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T18:40:50.674Z] ---> Running in 3f021b1e6af4 [2022-10-10T18:40:51.261Z] Removing intermediate container 3f021b1e6af4 [2022-10-10T18:40:51.261Z] ---> 9e874278d6c4 [2022-10-10T18:40:51.261Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-10T18:40:51.261Z] ---> Running in 5dfaf0ba3180 [2022-10-10T18:40:51.851Z] Removing intermediate container 5dfaf0ba3180 [2022-10-10T18:40:51.851Z] ---> ed3d6c7125c2 [2022-10-10T18:40:51.851Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T18:40:51.851Z] ---> Running in 5d5f6b4cb86d [2022-10-10T18:40:52.119Z] Removing intermediate container 5d5f6b4cb86d [2022-10-10T18:40:52.119Z] ---> 19b0574c741c [2022-10-10T18:40:52.119Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-10T18:40:52.119Z] ---> Running in 430ef9ace519 [2022-10-10T18:40:52.708Z] Removing intermediate container 430ef9ace519 [2022-10-10T18:40:52.708Z] ---> dac179961e6c [2022-10-10T18:40:52.708Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T18:40:52.708Z] ---> Running in 69bae5eef043 [2022-10-10T18:40:55.298Z] Removing intermediate container 69bae5eef043 [2022-10-10T18:40:55.298Z] ---> d8df3837b6cc [2022-10-10T18:40:55.298Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T18:40:55.298Z] ---> Running in 57f2ea3e1db8 [2022-10-10T18:40:56.258Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T18:40:57.227Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T18:40:58.189Z] OK: 221 MiB in 51 packages [2022-10-10T18:40:59.157Z] Removing intermediate container 57f2ea3e1db8 [2022-10-10T18:40:59.157Z] ---> 4c7da6aa8a58 [2022-10-10T18:40:59.157Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-10T18:40:59.157Z] ---> Running in e3efbf7297df [2022-10-10T18:40:59.424Z] Removing intermediate container e3efbf7297df [2022-10-10T18:40:59.424Z] ---> c8f6372db897 [2022-10-10T18:40:59.424Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-10T18:41:00.020Z] ---> 04dbb7d4a305 [2022-10-10T18:41:00.020Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T18:41:00.287Z] ---> Running in 79a2099bdbad [2022-10-10T18:41:02.236Z] Removing intermediate container 79a2099bdbad [2022-10-10T18:41:02.236Z] ---> cbc3b2de13ac [2022-10-10T18:41:02.236Z] Step 13/27 : COPY . . [2022-10-10T18:41:03.640Z] ---> ced29be653e7 [2022-10-10T18:41:03.640Z] Step 14/27 : RUN ${MAKE} [2022-10-10T18:41:03.640Z] ---> Running in d28046bd1383 [2022-10-10T18:41:04.601Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-10-10T18:43:41.338Z] Removing intermediate container d28046bd1383 [2022-10-10T18:43:41.338Z] ---> f54d692d36c1 [2022-10-10T18:43:41.338Z] Step 15/27 : FROM alpine:3.16 [2022-10-10T18:43:41.338Z] 3.16: Pulling from library/alpine [2022-10-10T18:43:41.338Z] 9b18e9b68314: Pulling fs layer [2022-10-10T18:43:41.338Z] 9b18e9b68314: Verifying Checksum [2022-10-10T18:43:41.338Z] 9b18e9b68314: Download complete [2022-10-10T18:43:41.338Z] 9b18e9b68314: Pull complete [2022-10-10T18:43:41.338Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-10T18:43:41.338Z] Status: Downloaded newer image for alpine:3.16 [2022-10-10T18:43:41.338Z] ---> a6215f271958 [2022-10-10T18:43:41.338Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-10T18:43:41.338Z] ---> Running in 486fd2f5256b [2022-10-10T18:43:41.338Z] Removing intermediate container 486fd2f5256b [2022-10-10T18:43:41.338Z] ---> 5b93cfb66907 [2022-10-10T18:43:41.338Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-10T18:43:41.338Z] ---> Running in f25ba4ded0fe [2022-10-10T18:43:41.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T18:43:41.338Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T18:43:41.338Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-10T18:43:41.338Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-10T18:43:41.338Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-10T18:43:41.338Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-10T18:43:41.338Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-10T18:43:41.338Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-10T18:43:41.338Z] Executing busybox-1.35.0-r17.trigger [2022-10-10T18:43:41.338Z] OK: 8 MiB in 20 packages [2022-10-10T18:43:41.338Z] Removing intermediate container f25ba4ded0fe [2022-10-10T18:43:41.338Z] ---> d4316c08808e [2022-10-10T18:43:41.338Z] Step 18/27 : WORKDIR / [2022-10-10T18:43:41.338Z] ---> Running in 83e6322f392e [2022-10-10T18:43:41.338Z] Removing intermediate container 83e6322f392e [2022-10-10T18:43:41.338Z] ---> b9a0cfd47df1 [2022-10-10T18:43:41.338Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-10T18:43:41.338Z] ---> 64775b278d1e [2022-10-10T18:43:41.338Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-10T18:43:41.338Z] ---> efd222244d30 [2022-10-10T18:43:41.338Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-10T18:43:41.338Z] ---> 0f1ac88bbc17 [2022-10-10T18:43:41.338Z] Step 22/27 : EXPOSE 59984 [2022-10-10T18:43:41.338Z] ---> Running in abaff61fba20 [2022-10-10T18:43:41.338Z] Removing intermediate container abaff61fba20 [2022-10-10T18:43:41.338Z] ---> 98a024b6b6a3 [2022-10-10T18:43:41.338Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-10T18:43:41.338Z] ---> Running in f9f8412c0376 [2022-10-10T18:43:41.338Z] Removing intermediate container f9f8412c0376 [2022-10-10T18:43:41.338Z] ---> c068a0cc7282 [2022-10-10T18:43:41.338Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-10T18:43:41.338Z] ---> Running in 357ab7b30308 [2022-10-10T18:43:41.338Z] Removing intermediate container 357ab7b30308 [2022-10-10T18:43:41.338Z] ---> 4130309ad13d [2022-10-10T18:43:41.338Z] Step 25/27 : LABEL arch=arm64 [2022-10-10T18:43:41.338Z] ---> Running in 2522775530d8 [2022-10-10T18:43:41.338Z] Removing intermediate container 2522775530d8 [2022-10-10T18:43:41.338Z] ---> 6c994189e7b6 [2022-10-10T18:43:41.338Z] Step 26/27 : LABEL git_sha=36493ccf723ec7771d6752e27eb957ddb93b03bc [2022-10-10T18:43:41.338Z] ---> Running in aab499c0ff1a [2022-10-10T18:43:41.338Z] Removing intermediate container aab499c0ff1a [2022-10-10T18:43:41.338Z] ---> af1a44b3694c [2022-10-10T18:43:41.338Z] Step 27/27 : LABEL version=0.0.0 [2022-10-10T18:43:41.338Z] ---> Running in de81e4eab9d4 [2022-10-10T18:43:41.338Z] Removing intermediate container de81e4eab9d4 [2022-10-10T18:43:41.338Z] ---> a1461637d8dd [2022-10-10T18:43:41.338Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T18:43:41.338Z] Successfully built a1461637d8dd [2022-10-10T18:43:41.338Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:43:41.752Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T18:43:41.752Z] [2022-10-10T18:43:41.752Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:43:42.077Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T18:43:42.077Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T18:43:42.077Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T18:43:42.077Z] 04944245beec: Pulling fs layer [2022-10-10T18:43:42.077Z] 699f458cf7ca: Pulling fs layer [2022-10-10T18:43:42.077Z] 765212b225bb: Pulling fs layer [2022-10-10T18:43:42.077Z] f23df028b6ca: Pulling fs layer [2022-10-10T18:43:42.077Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T18:43:42.077Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T18:43:42.077Z] 765212b225bb: Waiting [2022-10-10T18:43:42.077Z] f23df028b6ca: Waiting [2022-10-10T18:43:42.077Z] d65c8cfc05b1: Waiting [2022-10-10T18:43:42.077Z] 2437ff75d9bd: Waiting [2022-10-10T18:43:42.345Z] 04944245beec: Verifying Checksum [2022-10-10T18:43:42.345Z] 04944245beec: Download complete [2022-10-10T18:43:42.345Z] 765212b225bb: Download complete [2022-10-10T18:43:42.345Z] f23df028b6ca: Verifying Checksum [2022-10-10T18:43:42.345Z] f23df028b6ca: Download complete [2022-10-10T18:43:42.345Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T18:43:42.345Z] d65c8cfc05b1: Download complete [2022-10-10T18:43:42.613Z] 699f458cf7ca: Verifying Checksum [2022-10-10T18:43:42.613Z] 699f458cf7ca: Download complete [2022-10-10T18:43:42.884Z] 8998bd30e6a1: Download complete [2022-10-10T18:43:45.481Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T18:43:45.481Z] 2437ff75d9bd: Download complete [2022-10-10T18:43:46.888Z] 8998bd30e6a1: Pull complete [2022-10-10T18:43:47.473Z] 04944245beec: Pull complete [2022-10-10T18:43:48.899Z] 699f458cf7ca: Pull complete [2022-10-10T18:43:48.899Z] 765212b225bb: Pull complete [2022-10-10T18:43:49.855Z] f23df028b6ca: Pull complete [2022-10-10T18:43:49.855Z] d65c8cfc05b1: Pull complete [2022-10-10T18:44:04.846Z] 2437ff75d9bd: Pull complete [2022-10-10T18:44:04.846Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T18:44:04.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T18:44:04.846Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:44:05.029Z] prd-ubuntu20.04-docker-arm64-4c-16g-7557 does not seem to be running inside a container [2022-10-10T18:44:05.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/3 -v /w/workspace/device-onvif-camera/3:/w/workspace/device-onvif-camera/3:rw,z -v /w/workspace/device-onvif-camera/3@tmp:/w/workspace/device-onvif-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-10T18:44:07.517Z] $ docker top 1fe1ad11bd9dedba1c5a011dfc6708c23dc028ef3ad733d3a3a8c24758f0639e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:44:08.335Z] ---> job-cost.sh [2022-10-10T18:44:08.336Z] lf-activate-venv: SKIPPING [2022-10-10T18:44:08.336Z] INFO: No Stack... [2022-10-10T18:44:08.603Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T18:44:09.558Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T18:44:09.881Z] + cat /w/workspace/device-onvif-camera/3/archives/cost.csv [2022-10-10T18:44:09.881Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T18:44:09.913Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-171-3-stack-cost] [2022-10-10T18:44:09.919Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-3-stack-cost] did not exist. Created. [2022-10-10T18:44:09.919Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-171-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T18:44:10.255Z] /w/workspace/device-onvif-camera/3@tmp/durable-12eaa612/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T18:44:10.909Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T18:44:10.931Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T18:44:10.990Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T18:44:11.002Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-171-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T18:44:11.022Z] $ docker stop --time=1 1fe1ad11bd9dedba1c5a011dfc6708c23dc028ef3ad733d3a3a8c24758f0639e [2022-10-10T18:44:12.543Z] $ docker rm -f 1fe1ad11bd9dedba1c5a011dfc6708c23dc028ef3ad733d3a3a8c24758f0639e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-10T18:44:12.890Z] provisioning config files... [2022-10-10T18:44:12.897Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config1689683554379947462tmp [Pipeline] { [Pipeline] sh [2022-10-10T18:44:13.183Z] + set +x [2022-10-10T18:44:13.183Z] + curl -s https://codecov.io/bash [2022-10-10T18:44:13.183Z] + bash -s -- [2022-10-10T18:44:13.183Z] [2022-10-10T18:44:13.183Z] _____ _ [2022-10-10T18:44:13.183Z] / ____| | | [2022-10-10T18:44:13.183Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T18:44:13.183Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T18:44:13.183Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T18:44:13.183Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T18:44:13.183Z] Bash-1.0.6 [2022-10-10T18:44:13.183Z] [2022-10-10T18:44:13.183Z] [2022-10-10T18:44:13.183Z] ==> git version 2.25.1 found [2022-10-10T18:44:13.183Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-10T18:44:13.183Z] Release-Date: 2020-01-08 [2022-10-10T18:44:13.183Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-10T18:44:13.183Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T18:44:13.183Z] ==> Jenkins CI detected. [2022-10-10T18:44:13.183Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-171 [2022-10-10T18:44:13.183Z] project root: . [2022-10-10T18:44:13.183Z] --> token set from env [2022-10-10T18:44:13.183Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T18:44:13.183Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T18:44:13.183Z] ==> Python coveragepy not found [2022-10-10T18:44:13.183Z] ==> Searching for coverage reports in: [2022-10-10T18:44:13.183Z] + . [2022-10-10T18:44:13.183Z] -> Found 1 reports [2022-10-10T18:44:13.183Z] ==> Detecting git/mercurial file structure [2022-10-10T18:44:13.183Z] ==> Reading reports [2022-10-10T18:44:13.183Z] + ./coverage.out bytes=78461 [2022-10-10T18:44:13.183Z] ==> Appending adjustments [2022-10-10T18:44:13.183Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T18:44:13.443Z] + Found adjustments [2022-10-10T18:44:13.443Z] ==> Gzipping contents [2022-10-10T18:44:13.443Z] 12K /tmp/codecov.iFmzsL.gz [2022-10-10T18:44:13.443Z] ==> Uploading reports [2022-10-10T18:44:13.443Z] url: https://codecov.io [2022-10-10T18:44:13.443Z] query: branch=PR-171&commit=f293d5541aac04be5b9e4478e8b96c472b7320d4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-171%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=171&job=&cmd_args= [2022-10-10T18:44:13.443Z] -> Pinging Codecov [2022-10-10T18:44:13.443Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-171&commit=f293d5541aac04be5b9e4478e8b96c472b7320d4&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-171%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=171&job=&cmd_args= [2022-10-10T18:44:13.703Z] -> Uploading to [2022-10-10T18:44:13.703Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/F29A59C45E3A92E06B3E522C9905F8EF/f293d5541aac04be5b9e4478e8b96c472b7320d4/5e0456de-3a64-4295-8929-011fd17339f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T184413Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a7d76fcf1b51c0f9fa268c5592f8429ae37d2a29cd350facdd85b3e32b29c231 [2022-10-10T18:44:13.703Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T18:44:13.703Z] Dload Upload Total Spent Left Speed [2022-10-10T18:44:13.964Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10767 0 0 100 10767 0 49164 --:--:-- --:--:-- --:--:-- 49164 [2022-10-10T18:44:13.964Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/f293d5541aac04be5b9e4478e8b96c472b7320d4 [Pipeline] } [2022-10-10T18:44:13.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-10T18:44:14.638Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-171/archives ] [2022-10-10T18:44:14.638Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-171/archives [2022-10-10T18:44:14.638Z] total 16 [2022-10-10T18:44:14.638Z] drwxr-xr-x 3 root root 4096 Oct 10 18:36 . [2022-10-10T18:44:14.638Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 18:36 .. [2022-10-10T18:44:14.638Z] drwxr-xr-x 2 root root 4096 Oct 10 18:36 cost [2022-10-10T18:44:14.638Z] -rw-r--r-- 1 root root 91 Oct 10 18:36 cost.csv [2022-10-10T18:44:14.638Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-171/archives [2022-10-10T18:44:14.638Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-171/archives [2022-10-10T18:44:14.638Z] total 16 [2022-10-10T18:44:14.638Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 18:36 . [2022-10-10T18:44:14.638Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 18:36 .. [2022-10-10T18:44:14.638Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 18:36 cost [2022-10-10T18:44:14.638Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 10 18:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:44:14.927Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:44:15.783Z] ---> package-listing.sh [2022-10-10T18:44:15.783Z] ++ facter osfamily [2022-10-10T18:44:15.783Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T18:44:16.042Z] + OS_FAMILY=debian [2022-10-10T18:44:16.042Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-171 [2022-10-10T18:44:16.042Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T18:44:16.042Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T18:44:16.042Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T18:44:16.042Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T18:44:16.042Z] + '[' /w/workspace/undry_device-onvif-camera_PR-171 ']' [2022-10-10T18:44:16.042Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T18:44:16.042Z] + case "${OS_FAMILY}" in [2022-10-10T18:44:16.042Z] + dpkg -l [2022-10-10T18:44:16.042Z] + grep '^ii' [2022-10-10T18:44:16.042Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T18:44:16.042Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T18:44:16.042Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T18:44:16.042Z] + '[' /w/workspace/undry_device-onvif-camera_PR-171 ']' [2022-10-10T18:44:16.042Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-171/archives/ [2022-10-10T18:44:16.042Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-171/archives/ [Pipeline] echo [2022-10-10T18:44:16.054Z] 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-171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T18:44:16.333Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T18:44:16.889Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T18:44:16.889Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T18:44:16.949Z] prd-ubuntu20.04-docker-8c-8g-7556 does not seem to be running inside a container [2022-10-10T18:44:16.977Z] $ 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-171/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-171 -v /w/workspace/undry_device-onvif-camera_PR-171:/w/workspace/undry_device-onvif-camera_PR-171:rw,z -v /w/workspace/undry_device-onvif-camera_PR-171@tmp:/w/workspace/undry_device-onvif-camera_PR-171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T18:44:17.166Z] $ docker top 0227917b38d0c8cf502fca7d5d075de954407fb6c2a461e5818aaedc7b84cbac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T18:44:17.505Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T18:44:17.783Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T18:44:18.061Z] + ls /var/log/sa-host [2022-10-10T18:44:18.061Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T18:44:18.122Z] provisioning config files... [2022-10-10T18:44:18.130Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-171@tmp/config2719749239846999273tmp [Pipeline] { [Pipeline] echo [2022-10-10T18:44:18.140Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:44:18.431Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T18:44:18.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:44:18.768Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T18:44:18.777Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:44:19.060Z] ---> sudo-logs.sh [2022-10-10T18:44:19.061Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T18:44:19.083Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:44:19.363Z] ---> job-cost.sh [2022-10-10T18:44:19.363Z] lf-activate-venv: SKIPPING [2022-10-10T18:44:19.363Z] DEBUG: total: 0.2199999988079071 [2022-10-10T18:44:19.363Z] INFO: Retrieving Stack Cost... [2022-10-10T18:44:19.621Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T18:44:20.188Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T18:44:20.200Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T18:44:20.483Z] ---> logs-deploy.sh [2022-10-10T18:44:20.483Z] lf-activate-venv: SKIPPING [2022-10-10T18:44:20.483Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-171/3 [2022-10-10T18:44:20.483Z] INFO: archiving workspace using pattern(s): [2022-10-10T18:44:21.427Z] Archives upload complete. [2022-10-10T18:44:21.686Z] INFO: archiving logs to Nexus [2022-10-10T18:44:22.258Z] ---> uname -a: [2022-10-10T18:44:22.258Z] Linux prd-ubuntu20-04-docker-8c-8g-7556 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-10T18:44:22.258Z] [2022-10-10T18:44:22.258Z] [2022-10-10T18:44:22.258Z] ---> lscpu: [2022-10-10T18:44:22.258Z] Architecture: x86_64 [2022-10-10T18:44:22.258Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-10T18:44:22.258Z] Byte Order: Little Endian [2022-10-10T18:44:22.258Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-10T18:44:22.258Z] CPU(s): 8 [2022-10-10T18:44:22.258Z] On-line CPU(s) list: 0-7 [2022-10-10T18:44:22.258Z] Thread(s) per core: 1 [2022-10-10T18:44:22.258Z] Core(s) per socket: 1 [2022-10-10T18:44:22.258Z] Socket(s): 8 [2022-10-10T18:44:22.258Z] NUMA node(s): 1 [2022-10-10T18:44:22.258Z] Vendor ID: AuthenticAMD [2022-10-10T18:44:22.258Z] CPU family: 23 [2022-10-10T18:44:22.258Z] Model: 49 [2022-10-10T18:44:22.258Z] Model name: AMD EPYC-Rome Processor [2022-10-10T18:44:22.258Z] Stepping: 0 [2022-10-10T18:44:22.258Z] CPU MHz: 2799.998 [2022-10-10T18:44:22.258Z] BogoMIPS: 5599.99 [2022-10-10T18:44:22.258Z] Virtualization: AMD-V [2022-10-10T18:44:22.258Z] Hypervisor vendor: KVM [2022-10-10T18:44:22.258Z] Virtualization type: full [2022-10-10T18:44:22.258Z] L1d cache: 256 KiB [2022-10-10T18:44:22.258Z] L1i cache: 256 KiB [2022-10-10T18:44:22.258Z] L2 cache: 4 MiB [2022-10-10T18:44:22.258Z] L3 cache: 128 MiB [2022-10-10T18:44:22.258Z] NUMA node0 CPU(s): 0-7 [2022-10-10T18:44:22.258Z] Vulnerability Itlb multihit: Not affected [2022-10-10T18:44:22.258Z] Vulnerability L1tf: Not affected [2022-10-10T18:44:22.258Z] Vulnerability Mds: Not affected [2022-10-10T18:44:22.258Z] Vulnerability Meltdown: Not affected [2022-10-10T18:44:22.258Z] Vulnerability Mmio stale data: Not affected [2022-10-10T18:44:22.258Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-10T18:44:22.258Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-10T18:44:22.258Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-10T18:44:22.258Z] Vulnerability Srbds: Not affected [2022-10-10T18:44:22.258Z] Vulnerability Tsx async abort: Not affected [2022-10-10T18:44:22.258Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-10-10T18:44:22.258Z] [2022-10-10T18:44:22.258Z] [2022-10-10T18:44:22.258Z] ---> nproc: [2022-10-10T18:44:22.258Z] 8 [2022-10-10T18:44:22.258Z] [2022-10-10T18:44:22.258Z] [2022-10-10T18:44:22.258Z] ---> df -h: [2022-10-10T18:44:22.258Z] Filesystem Size Used Avail Use% Mounted on [2022-10-10T18:44:22.258Z] overlay 155G 12G 144G 8% / [2022-10-10T18:44:22.258Z] tmpfs 64M 0 64M 0% /dev [2022-10-10T18:44:22.258Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-10T18:44:22.258Z] shm 64M 0 64M 0% /dev/shm [2022-10-10T18:44:22.259Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-10T18:44:22.259Z] [2022-10-10T18:44:22.259Z]