Pull request #174 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 66447988b5970b64981174d7c941281712afb8e7 rather than b97ce1133f5971d6dce92a429640f3712fec6155 Obtained Jenkinsfile from 66447988b5970b64981174d7c941281712afb8e7 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-ssh3052885948995156268.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-ssh8830352188769951900.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-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1287230423630022341.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-ssh16221063743216213343.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-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18230562062256421604.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7746’ Running on prd-ubuntu20.04-docker-8c-8g-7748 in /w/workspace/undry_device-onvif-camera_PR-174 [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-174 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 66447988b5970b64981174d7c941281712afb8e7 into PR head commit b97ce1133f5971d6dce92a429640f3712fec6155 Merge succeeded, producing 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 Checking out Revision 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 (PR-174) > 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/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b97ce1133f5971d6dce92a429640f3712fec6155 # 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 66447988b5970b64981174d7c941281712afb8e7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 # timeout=10 Commit message: "Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-12T12:49:32.094Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-12T12:49:32.167Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-12T12:49:32.181Z] ========================================================= [2022-10-12T12:49:32.181Z] EdgeX Global Pipelines Version Info [2022-10-12T12:49:32.181Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk e62772acba2629e5e85c07c20038cd47759a26e9 # timeout=10 [2022-10-12T12:49:32.895Z] ------------------- [2022-10-12T12:49:32.895Z] stable info: [2022-10-12T12:49:32.895Z] ------------------- [2022-10-12T12:49:32.895Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-12T12:49:32.895Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T12:49:32.895Z] Message: update stable to v1.0.239 [2022-10-12T12:49:33.468Z] ------------------- [2022-10-12T12:49:33.468Z] experimental info: [2022-10-12T12:49:33.468Z] ------------------- [2022-10-12T12:49:33.468Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-12T12:49:33.468Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-12T12:49:33.468Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-12T12:49:33.654Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-10-12T12:49:33.671Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-10-12T12:49:33.687Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-12T12:49:33.704Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-12T12:49:33.719Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-12T12:49:33.739Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-12T12:49:33.759Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-12T12:49:33.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-12T12:49:33.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-12T12:49:33.815Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-12T12:49:33.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-12T12:49:33.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-10-12T12:49:33.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-12T12:49:33.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-12T12:49:33.895Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T12:49:33.905Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-12T12:49:33.914Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T12:49:33.934Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-12T12:49:33.952Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-12T12:49:33.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-12T12:49:33.985Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-10-12T12:49:33.999Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-10-12T12:49:34.014Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-12T12:49:34.025Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-12T12:49:34.044Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-12T12:49:34.062Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-12T12:49:34.077Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-12T12:49:34.096Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo [2022-10-12T12:49:34.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo [2022-10-12T12:49:34.126Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo [2022-10-12T12:49:34.141Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [Pipeline] echo [2022-10-12T12:49:34.163Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ae89fe [Pipeline] echo [2022-10-12T12:49:34.180Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T12:49:34.232Z] provisioning config files... [2022-10-12T12:49:34.246Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config14077336302670139736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T12:49:34.555Z] ---> docker-login.sh [2022-10-12T12:49:34.555Z] nexus3.edgexfoundry.org:10001 [2022-10-12T12:49:34.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:49:34.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:49:34.814Z] Configure a credential helper to remove this warning. See [2022-10-12T12:49:34.814Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:49:34.814Z] [2022-10-12T12:49:34.814Z] Login Succeeded [2022-10-12T12:49:34.814Z] nexus3.edgexfoundry.org:10002 [2022-10-12T12:49:35.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:49:35.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:49:35.074Z] Configure a credential helper to remove this warning. See [2022-10-12T12:49:35.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:49:35.074Z] [2022-10-12T12:49:35.074Z] Login Succeeded [2022-10-12T12:49:35.074Z] nexus3.edgexfoundry.org:10003 [2022-10-12T12:49:35.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:49:35.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:49:35.074Z] Configure a credential helper to remove this warning. See [2022-10-12T12:49:35.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:49:35.074Z] [2022-10-12T12:49:35.074Z] Login Succeeded [2022-10-12T12:49:35.074Z] nexus3.edgexfoundry.org:10004 [2022-10-12T12:49:35.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:49:35.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:49:35.333Z] Configure a credential helper to remove this warning. See [2022-10-12T12:49:35.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:49:35.333Z] [2022-10-12T12:49:35.333Z] Login Succeeded [2022-10-12T12:49:35.333Z] docker.io [2022-10-12T12:49:35.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:49:35.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:49:35.592Z] Configure a credential helper to remove this warning. See [2022-10-12T12:49:35.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:49:35.592Z] [2022-10-12T12:49:35.592Z] Login Succeeded [2022-10-12T12:49:35.592Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T12:49:35.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-12T12:49:35.968Z] + git rev-list -1 --merges 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87~1..4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [Pipeline] echo [2022-10-12T12:49:35.997Z] -----------> git rev-list -1 --merges 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87~1..4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [2022-10-12T12:49:35.997Z] 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [false] [Pipeline] sh [2022-10-12T12:49:36.280Z] + git log --format=format:%s -1 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [Pipeline] echo [2022-10-12T12:49:36.292Z] ========================================================= [2022-10-12T12:49:36.292Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-12T12:49:36.292Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T12:49:36.614Z] + git log --format=format:%s -1 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [Pipeline] echo [2022-10-12T12:49:36.624Z] [semverPrep] GIT_COMMIT: 4ae89fea4f66dfff4d62a58ba7af1d536c02ca87, Commit Message: Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD [Pipeline] echo [2022-10-12T12:49:36.633Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-12T12:49:36.994Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-12T12:49:36.994Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-12T12:49:36.994Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-12T12:49:36.994Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-12T12:49:36.994Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-12T12:49:36.994Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-12T12:49:36.994Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:49:37.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T12:49:37.346Z] [2022-10-12T12:49:37.346Z] 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-12T12:49:37.651Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T12:49:37.651Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-12T12:49:37.651Z] b85a868b505f: Pulling fs layer [2022-10-12T12:49:37.651Z] e2be974225ed: Pulling fs layer [2022-10-12T12:49:37.651Z] 339a4e72a1f5: Pulling fs layer [2022-10-12T12:49:37.651Z] 988bab9f4d93: Pulling fs layer [2022-10-12T12:49:37.651Z] 1469e6f7b9e6: Pulling fs layer [2022-10-12T12:49:37.651Z] eaf3925da568: Pulling fs layer [2022-10-12T12:49:37.651Z] bab4dde63d76: Pulling fs layer [2022-10-12T12:49:37.651Z] bde34c3a00c8: Pulling fs layer [2022-10-12T12:49:37.651Z] b352a97aabf1: Pulling fs layer [2022-10-12T12:49:37.651Z] 4872d77fe225: Pulling fs layer [2022-10-12T12:49:37.651Z] 5851b861e8e6: Pulling fs layer [2022-10-12T12:49:37.651Z] 1469e6f7b9e6: Waiting [2022-10-12T12:49:37.651Z] 988bab9f4d93: Waiting [2022-10-12T12:49:37.651Z] b352a97aabf1: Waiting [2022-10-12T12:49:37.651Z] eaf3925da568: Waiting [2022-10-12T12:49:37.651Z] bde34c3a00c8: Waiting [2022-10-12T12:49:37.651Z] bab4dde63d76: Waiting [2022-10-12T12:49:37.651Z] 4872d77fe225: Waiting [2022-10-12T12:49:37.651Z] e2be974225ed: Download complete [2022-10-12T12:49:37.913Z] 988bab9f4d93: Download complete [2022-10-12T12:49:37.913Z] 1469e6f7b9e6: Verifying Checksum [2022-10-12T12:49:37.913Z] 1469e6f7b9e6: Download complete [2022-10-12T12:49:37.913Z] 339a4e72a1f5: Verifying Checksum [2022-10-12T12:49:37.913Z] 339a4e72a1f5: Download complete [2022-10-12T12:49:37.913Z] eaf3925da568: Verifying Checksum [2022-10-12T12:49:37.913Z] eaf3925da568: Download complete [2022-10-12T12:49:37.913Z] bde34c3a00c8: Download complete [2022-10-12T12:49:37.913Z] b352a97aabf1: Download complete [2022-10-12T12:49:37.913Z] 4872d77fe225: Verifying Checksum [2022-10-12T12:49:37.913Z] 4872d77fe225: Download complete [2022-10-12T12:49:37.913Z] 5851b861e8e6: Download complete [2022-10-12T12:49:37.913Z] b85a868b505f: Verifying Checksum [2022-10-12T12:49:37.913Z] b85a868b505f: Download complete [2022-10-12T12:49:38.495Z] bab4dde63d76: Verifying Checksum [2022-10-12T12:49:38.495Z] bab4dde63d76: Download complete [2022-10-12T12:49:39.063Z] b85a868b505f: Pull complete [2022-10-12T12:49:39.322Z] e2be974225ed: Pull complete [2022-10-12T12:49:39.890Z] 339a4e72a1f5: Pull complete [2022-10-12T12:49:39.890Z] 988bab9f4d93: Pull complete [2022-10-12T12:49:40.151Z] 1469e6f7b9e6: Pull complete [2022-10-12T12:49:40.411Z] eaf3925da568: Pull complete [2022-10-12T12:49:42.313Z] bab4dde63d76: Pull complete [2022-10-12T12:49:42.313Z] bde34c3a00c8: Pull complete [2022-10-12T12:49:42.313Z] b352a97aabf1: Pull complete [2022-10-12T12:49:42.574Z] 4872d77fe225: Pull complete [2022-10-12T12:49:42.574Z] 5851b861e8e6: Pull complete [2022-10-12T12:49:42.574Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-12T12:49:42.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-12T12:49:42.574Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T12:49:42.671Z] prd-ubuntu20.04-docker-8c-8g-7748 does not seem to be running inside a container [2022-10-12T12:49:42.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-12T12:49:45.689Z] $ docker top 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 -eo pid,comm [2022-10-12T12:49:45.740Z] 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-12T12:49:45.740Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-12T12:49:45.784Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T12:49:45.784Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T12:49:45.897Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T12:49:45.904Z] $ docker exec 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 ssh-agent [2022-10-12T12:49:45.998Z] SSH_AUTH_SOCK=/tmp/ssh-NMkHvqc8AALN/agent.32 [2022-10-12T12:49:45.998Z] SSH_AGENT_PID=38 [2022-10-12T12:49:46.006Z] Running ssh-add (command line suppressed) [2022-10-12T12:49:46.109Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_2203305215344222840.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_2203305215344222840.key) [2022-10-12T12:49:46.125Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T12:49:46.418Z] + git tag --points-at HEAD [Pipeline] } [2022-10-12T12:49:46.437Z] $ docker exec --env ******** --env ******** 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 ssh-agent -k [2022-10-12T12:49:46.547Z] unset SSH_AUTH_SOCK; [2022-10-12T12:49:46.548Z] unset SSH_AGENT_PID; [2022-10-12T12:49:46.548Z] echo Agent pid 38 killed; [2022-10-12T12:49:46.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-12T12:49:46.581Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-12T12:49:46.581Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-12T12:49:46.685Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-12T12:49:46.690Z] $ docker exec 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 ssh-agent [2022-10-12T12:49:46.783Z] SSH_AUTH_SOCK=/tmp/ssh-kIC6MZIZCtqa/agent.70 [2022-10-12T12:49:46.783Z] SSH_AGENT_PID=76 [2022-10-12T12:49:46.787Z] Running ssh-add (command line suppressed) [2022-10-12T12:49:46.892Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_508223548998518059.key (/w/workspace/undry_device-onvif-camera_PR-174@tmp/private_key_508223548998518059.key) [2022-10-12T12:49:46.903Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-12T12:49:47.187Z] + git semver init [2022-10-12T12:49:47.446Z] 2022-10-12 12:49:47,365 [run_init] DEBUG init version:0.0.0 force:False [2022-10-12T12:49:47.446Z] 2022-10-12 12:49:47,365 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-12T12:49:47.446Z] 2022-10-12 12:49:47,366 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-174/.semver [2022-10-12T12:49:47.446Z] 2022-10-12 12:49:47,366 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-174/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-174, universal_newlines=False, shell=None, istream=None) [2022-10-12T12:49:48.826Z] 2022-10-12 12:49:48,391 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-174/.git/info/exclude [2022-10-12T12:49:48.826Z] 2022-10-12 12:49:48,391 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 with force:False [2022-10-12T12:49:48.826Z] 2022-10-12 12:49:48,392 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-12T12:49:48.826Z] 2022-10-12 12:49:48,396 [execute] INFO git cat-file --batch-check [2022-10-12T12:49:48.826Z] 2022-10-12 12:49:48,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T12:49:48.826Z] 2022-10-12 12:49:48,403 [execute] INFO git cat-file --batch [2022-10-12T12:49:48.826Z] 2022-10-12 12:49:48,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-10-12T12:49:48.826Z] 2022-10-12 12:49:48,408 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-174/.semver/PR-174 [2022-10-12T12:49:48.826Z] 0.0.0 [Pipeline] } [2022-10-12T12:49:48.838Z] $ docker exec --env ******** --env ******** 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 ssh-agent -k [2022-10-12T12:49:48.943Z] unset SSH_AUTH_SOCK; [2022-10-12T12:49:48.943Z] unset SSH_AGENT_PID; [2022-10-12T12:49:48.943Z] echo Agent pid 76 killed; [2022-10-12T12:49:48.950Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-12T12:49:49.249Z] + git semver [Pipeline] } [2022-10-12T12:49:49.528Z] $ docker stop --time=1 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 [2022-10-12T12:49:50.874Z] $ docker rm -f 42e480ca49dcb308e472f3006bcf10fd6c22ec342bb4817023405e871f773416 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T12:49:51.206Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-12T12:49:51.368Z] Stashed 1 file(s) [Pipeline] echo [2022-10-12T12:49:51.371Z] [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-12T12:49:51.544Z] provisioning config files... [2022-10-12T12:49:51.555Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config5108073051661019014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T12:49:51.846Z] ---> docker-login.sh [2022-10-12T12:49:51.846Z] nexus3.edgexfoundry.org:10001 [2022-10-12T12:49:51.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:49:51.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:49:51.846Z] Configure a credential helper to remove this warning. See [2022-10-12T12:49:51.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:49:51.846Z] [2022-10-12T12:49:51.846Z] Login Succeeded [2022-10-12T12:49:51.846Z] nexus3.edgexfoundry.org:10002 [2022-10-12T12:49:51.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:49:51.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:49:51.846Z] Configure a credential helper to remove this warning. See [2022-10-12T12:49:51.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:49:51.846Z] [2022-10-12T12:49:51.846Z] Login Succeeded [2022-10-12T12:49:51.846Z] nexus3.edgexfoundry.org:10003 [2022-10-12T12:49:52.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:49:52.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:49:52.106Z] Configure a credential helper to remove this warning. See [2022-10-12T12:49:52.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:49:52.106Z] [2022-10-12T12:49:52.106Z] Login Succeeded [2022-10-12T12:49:52.106Z] nexus3.edgexfoundry.org:10004 [2022-10-12T12:49:52.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:49:52.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:49:52.106Z] Configure a credential helper to remove this warning. See [2022-10-12T12:49:52.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:49:52.106Z] [2022-10-12T12:49:52.106Z] Login Succeeded [2022-10-12T12:49:52.106Z] docker.io [2022-10-12T12:49:52.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:49:52.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:49:52.674Z] Configure a credential helper to remove this warning. See [2022-10-12T12:49:52.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:49:52.674Z] [2022-10-12T12:49:52.674Z] Login Succeeded [2022-10-12T12:49:52.674Z] ---> docker-login.sh ends [Pipeline] } [2022-10-12T12:49:52.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-12T12:49:52.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T12:49:52.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T12:49:52.755Z] ========================================================= [2022-10-12T12:49:52.755Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-12T12:49:52.755Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:49:53.152Z] + 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-12T12:49:53.153Z] Sending build context to Docker daemon 21.32MB [2022-10-12T12:49:53.153Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T12:49:53.153Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T12:49:53.153Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-12T12:49:53.153Z] 213ec9aee27d: Pulling fs layer [2022-10-12T12:49:53.153Z] 4583459ba037: Pulling fs layer [2022-10-12T12:49:53.153Z] 93c1e223e6f2: Pulling fs layer [2022-10-12T12:49:53.153Z] 53926ce57604: Pulling fs layer [2022-10-12T12:49:53.153Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-12T12:49:53.153Z] 30f14e443154: Pulling fs layer [2022-10-12T12:49:53.153Z] 801331c1e519: Pulling fs layer [2022-10-12T12:49:53.153Z] 99cc6dd402b0: Pulling fs layer [2022-10-12T12:49:53.153Z] 7d9ed39f4882: Pulling fs layer [2022-10-12T12:49:53.153Z] 21b2b0c7a3f4: Waiting [2022-10-12T12:49:53.153Z] 30f14e443154: Waiting [2022-10-12T12:49:53.153Z] 801331c1e519: Waiting [2022-10-12T12:49:53.153Z] 99cc6dd402b0: Waiting [2022-10-12T12:49:53.153Z] 7d9ed39f4882: Waiting [2022-10-12T12:49:53.153Z] 53926ce57604: Waiting [2022-10-12T12:49:53.431Z] 93c1e223e6f2: Verifying Checksum [2022-10-12T12:49:53.431Z] 93c1e223e6f2: Download complete [2022-10-12T12:49:53.431Z] 4583459ba037: Download complete [2022-10-12T12:49:53.431Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-12T12:49:53.431Z] 21b2b0c7a3f4: Download complete [2022-10-12T12:49:53.431Z] 30f14e443154: Verifying Checksum [2022-10-12T12:49:53.431Z] 30f14e443154: Download complete [2022-10-12T12:49:53.431Z] 213ec9aee27d: Verifying Checksum [2022-10-12T12:49:53.431Z] 213ec9aee27d: Download complete [2022-10-12T12:49:53.431Z] 801331c1e519: Verifying Checksum [2022-10-12T12:49:53.431Z] 801331c1e519: Download complete [2022-10-12T12:49:53.431Z] 213ec9aee27d: Pull complete [2022-10-12T12:49:53.700Z] 4583459ba037: Pull complete [2022-10-12T12:49:53.700Z] 93c1e223e6f2: Pull complete [2022-10-12T12:49:54.267Z] 7d9ed39f4882: Verifying Checksum [2022-10-12T12:49:54.267Z] 7d9ed39f4882: Download complete [2022-10-12T12:49:54.267Z] 53926ce57604: Verifying Checksum [2022-10-12T12:49:54.267Z] 53926ce57604: Download complete [2022-10-12T12:49:54.525Z] 99cc6dd402b0: Verifying Checksum [2022-10-12T12:49:54.525Z] 99cc6dd402b0: Download complete [2022-10-12T12:49:57.811Z] 53926ce57604: Pull complete [2022-10-12T12:49:57.811Z] 21b2b0c7a3f4: Pull complete [2022-10-12T12:49:57.811Z] 30f14e443154: Pull complete [2022-10-12T12:49:57.811Z] 801331c1e519: Pull complete [2022-10-12T12:49:59.710Z] 99cc6dd402b0: Pull complete [2022-10-12T12:50:00.640Z] 7d9ed39f4882: Pull complete [2022-10-12T12:50:00.640Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-12T12:50:00.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-12T12:50:00.640Z] ---> 1dedd983c030 [2022-10-12T12:50:00.640Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T12:50:06.499Z] Still waiting to schedule task [2022-10-12T12:50:06.500Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-12T12:50:07.251Z] ---> Running in f54ad41a8af2 [2022-10-12T12:50:07.820Z] Removing intermediate container f54ad41a8af2 [2022-10-12T12:50:07.820Z] ---> e2b94a0f223e [2022-10-12T12:50:07.820Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T12:50:08.077Z] ---> Running in 22a0e87fa0bf [2022-10-12T12:50:08.336Z] Removing intermediate container 22a0e87fa0bf [2022-10-12T12:50:08.336Z] ---> 44d35641e481 [2022-10-12T12:50:08.336Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T12:50:08.595Z] ---> Running in 62f1d29661a1 [2022-10-12T12:50:08.854Z] Removing intermediate container 62f1d29661a1 [2022-10-12T12:50:08.854Z] ---> 2f522b55dbc6 [2022-10-12T12:50:08.854Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T12:50:09.113Z] ---> Running in 22e0b6000ef6 [2022-10-12T12:50:09.373Z] Removing intermediate container 22e0b6000ef6 [2022-10-12T12:50:09.373Z] ---> 78dedcb9175c [2022-10-12T12:50:09.373Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T12:50:09.373Z] ---> Running in 5ff539bf202a [2022-10-12T12:50:09.632Z] Removing intermediate container 5ff539bf202a [2022-10-12T12:50:09.632Z] ---> 4d19a3de7b35 [2022-10-12T12:50:09.632Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T12:50:09.632Z] ---> Running in 72babcfaf7d6 [2022-10-12T12:50:10.202Z] Removing intermediate container 72babcfaf7d6 [2022-10-12T12:50:10.202Z] ---> 47f23f38c4b1 [2022-10-12T12:50:10.202Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T12:50:10.202Z] ---> Running in 7d6c3ecb04dd [2022-10-12T12:50:10.770Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T12:50:11.708Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T12:50:11.967Z] OK: 211 MiB in 51 packages [2022-10-12T12:50:12.227Z] Removing intermediate container 7d6c3ecb04dd [2022-10-12T12:50:12.227Z] ---> 8072d8e3b1b3 [2022-10-12T12:50:12.227Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T12:50:12.227Z] ---> Running in 5420402563f9 [2022-10-12T12:50:12.490Z] Removing intermediate container 5420402563f9 [2022-10-12T12:50:12.490Z] ---> ed17eda9d4a2 [2022-10-12T12:50:12.490Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T12:50:12.490Z] ---> 9942e971afb2 [2022-10-12T12:50:12.490Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T12:50:12.750Z] ---> Running in 4e7d4b5c0227 [2022-10-12T12:50:39.324Z] Removing intermediate container 4e7d4b5c0227 [2022-10-12T12:50:39.324Z] ---> ea82bfe62ced [2022-10-12T12:50:39.324Z] Step 13/14 : COPY . . [2022-10-12T12:50:39.324Z] ---> d926330bbcac [2022-10-12T12:50:39.324Z] Step 14/14 : RUN ${MAKE} [2022-10-12T12:50:39.324Z] ---> Running in 86ed6db6c872 [2022-10-12T12:50:39.324Z] noop [2022-10-12T12:50:39.324Z] Removing intermediate container 86ed6db6c872 [2022-10-12T12:50:39.324Z] ---> 9124a654f635 [2022-10-12T12:50:39.324Z] Successfully built 9124a654f635 [2022-10-12T12:50:39.324Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:50:39.638Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T12:50:39.639Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T12:50:39.709Z] prd-ubuntu20.04-docker-8c-8g-7748 does not seem to be running inside a container [2022-10-12T12:50:39.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-12T12:50:40.248Z] $ docker top 2300ef9d5944f910ccb37a88556de725222275f224c47e5741680993e4347033 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T12:50:40.583Z] + go version [2022-10-12T12:50:40.583Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-12T12:50:40.595Z] $ docker stop --time=1 2300ef9d5944f910ccb37a88556de725222275f224c47e5741680993e4347033 [2022-10-12T12:50:41.845Z] $ docker rm -f 2300ef9d5944f910ccb37a88556de725222275f224c47e5741680993e4347033 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:50:42.276Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-12T12:50:42.276Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T12:50:42.343Z] prd-ubuntu20.04-docker-8c-8g-7748 does not seem to be running inside a container [2022-10-12T12:50:42.376Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-12T12:50:42.732Z] $ docker top 4960a8eb928b5ffe4adc2ced3fcdfa84a3688c2976f03a3631fc40e0140bd76d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T12:50:43.063Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] fileExists [Pipeline] sh [2022-10-12T12:50:43.357Z] + make test [2022-10-12T12:50:43.357Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T12:50:43.922Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T12:50:53.880Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T12:50:54.449Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.034s coverage: 28.2% of statements [2022-10-12T12:50:54.449Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T12:50:54.449Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.294s coverage: 86.5% of statements [2022-10-12T12:51:01.008Z] 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-12T12:51:01.008Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T12:51:04.292Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T12:51:04.292Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T12:51:04.292Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T12:51:04.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T12:51:04.577Z] $ docker stop --time=1 4960a8eb928b5ffe4adc2ced3fcdfa84a3688c2976f03a3631fc40e0140bd76d [2022-10-12T12:51:08.250Z] $ docker rm -f 4960a8eb928b5ffe4adc2ced3fcdfa84a3688c2976f03a3631fc40e0140bd76d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T12:51:08.691Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T12:51:08.750Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-12T12:51:09.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T12:51:09.484Z] + ls -al . [2022-10-12T12:51:09.484Z] total 236 [2022-10-12T12:51:09.484Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 12:50 . [2022-10-12T12:51:09.484Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:49 .. [2022-10-12T12:51:09.484Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 12:50 .git [2022-10-12T12:51:09.484Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 12:49 .github [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 12 12:49 .gitignore [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 12:49 .golangci.yml [2022-10-12T12:51:09.484Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 12:49 .semver [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 12:49 Attribution.txt [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 12:49 CHANGELOG.md [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 12:49 Dockerfile [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 12:49 GOVERNANCE.md [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 12:49 Jenkinsfile [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 12:49 LICENSE [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 12:49 Makefile [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 12:49 OWNERS.md [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 12:49 README.md [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 12:49 VERSION [2022-10-12T12:51:09.484Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 12:49 bin [2022-10-12T12:51:09.484Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 12:49 cmd [2022-10-12T12:51:09.484Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 12:50 coverage.out [2022-10-12T12:51:09.484Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 12:49 doc [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 12:49 go.mod [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 12:49 go.sum [2022-10-12T12:51:09.484Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:49 internal [2022-10-12T12:51:09.484Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:49 snap [2022-10-12T12:51:09.484Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 12:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:51:09.781Z] + 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=4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 --label arch=amd64 --label version=0.0.0 . [2022-10-12T12:51:09.782Z] Sending build context to Docker daemon 21.4MB [2022-10-12T12:51:09.782Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T12:51:09.782Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T12:51:09.782Z] ---> 9124a654f635 [2022-10-12T12:51:09.782Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T12:51:10.718Z] ---> Running in d46ade509347 [2022-10-12T12:51:11.283Z] Removing intermediate container d46ade509347 [2022-10-12T12:51:11.283Z] ---> 90cf56314a53 [2022-10-12T12:51:11.283Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T12:51:11.283Z] ---> Running in 83a478d38a17 [2022-10-12T12:51:11.540Z] Removing intermediate container 83a478d38a17 [2022-10-12T12:51:11.540Z] ---> dd5eb7e349b9 [2022-10-12T12:51:11.540Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T12:51:11.540Z] ---> Running in d52074c71484 [2022-10-12T12:51:11.799Z] Removing intermediate container d52074c71484 [2022-10-12T12:51:11.799Z] ---> 908957e6328c [2022-10-12T12:51:11.799Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T12:51:11.799Z] ---> Running in 9eaeb5c8d16d [2022-10-12T12:51:11.799Z] Removing intermediate container 9eaeb5c8d16d [2022-10-12T12:51:11.799Z] ---> 1f3e0e29f29e [2022-10-12T12:51:11.799Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-12T12:51:11.799Z] ---> Running in e2b0305cc311 [2022-10-12T12:51:12.057Z] Removing intermediate container e2b0305cc311 [2022-10-12T12:51:12.057Z] ---> 7ceb4bf5f757 [2022-10-12T12:51:12.057Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T12:51:12.057Z] ---> Running in ce13e2ff83e9 [2022-10-12T12:51:12.622Z] Removing intermediate container ce13e2ff83e9 [2022-10-12T12:51:12.622Z] ---> 8220c26e8694 [2022-10-12T12:51:12.622Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T12:51:12.622Z] ---> Running in 90450def4a75 [2022-10-12T12:51:12.879Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T12:51:13.812Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T12:51:14.070Z] OK: 211 MiB in 51 packages [2022-10-12T12:51:14.327Z] Removing intermediate container 90450def4a75 [2022-10-12T12:51:14.327Z] ---> 1ac9f0617b61 [2022-10-12T12:51:14.327Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-12T12:51:14.327Z] ---> Running in 1724247d1c84 [2022-10-12T12:51:14.585Z] Removing intermediate container 1724247d1c84 [2022-10-12T12:51:14.585Z] ---> f1016299b12c [2022-10-12T12:51:14.585Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-12T12:51:14.585Z] ---> 521c1bab4773 [2022-10-12T12:51:14.585Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T12:51:14.845Z] ---> Running in 4ad5065708fd [2022-10-12T12:51:15.411Z] Removing intermediate container 4ad5065708fd [2022-10-12T12:51:15.411Z] ---> 51ccf6f01b7c [2022-10-12T12:51:15.411Z] Step 13/27 : COPY . . [2022-10-12T12:51:16.346Z] ---> 6779755d0635 [2022-10-12T12:51:16.346Z] Step 14/27 : RUN ${MAKE} [2022-10-12T12:51:16.346Z] ---> Running in 77d28dc954e7 [2022-10-12T12:51:16.346Z] 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-12T12:51:34.324Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7749 in /w/workspace/undry_device-onvif-camera_PR-174 [Pipeline] { [Pipeline] ws [2022-10-12T12:51:34.343Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-10-12T12:51:34.380Z] The recommended git tool is: git [2022-10-12T12:51:39.343Z] using credential edgex-jenkins-ssh [2022-10-12T12:51:39.364Z] Cloning the remote Git repository [2022-10-12T12:51:39.399Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T12:51:39.476Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-10-12T12:51:39.601Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T12:51:39.602Z] > git --version # timeout=10 [2022-10-12T12:51:39.626Z] > git --version # 'git version 2.25.1' [2022-10-12T12:51:39.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T12:51:39.672Z] Verifying host key using known hosts file [2022-10-12T12:51:39.852Z] 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-12T12:51:39.866Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T12:51:41.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T12:51:41.167Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-12T12:51:42.740Z] Merging remotes/origin/main commit 66447988b5970b64981174d7c941281712afb8e7 into PR head commit b97ce1133f5971d6dce92a429640f3712fec6155 [2022-10-12T12:51:42.869Z] Removing intermediate container 77d28dc954e7 [2022-10-12T12:51:42.869Z] ---> c5fb28161b6c [2022-10-12T12:51:42.869Z] Step 15/27 : FROM alpine:3.16 [2022-10-12T12:51:42.869Z] 3.16: Pulling from library/alpine [2022-10-12T12:51:42.869Z] 213ec9aee27d: Already exists [2022-10-12T12:51:42.869Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T12:51:42.869Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T12:51:42.869Z] ---> 9c6f07244728 [2022-10-12T12:51:42.869Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T12:51:43.128Z] ---> Running in ca3599b1a5d9 [2022-10-12T12:51:41.976Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-10-12T12:51:42.018Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-10-12T12:51:42.019Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T12:51:42.024Z] Verifying host key using known hosts file [2022-10-12T12:51:42.030Z] 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-12T12:51:42.040Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-12T12:51:42.753Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T12:51:42.776Z] > git checkout -f b97ce1133f5971d6dce92a429640f3712fec6155 # timeout=10 [2022-10-12T12:51:42.993Z] > git remote # timeout=10 [2022-10-12T12:51:43.013Z] > git config --get remote.origin.url # timeout=10 [2022-10-12T12:51:43.040Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-12T12:51:43.045Z] Verifying host key using known hosts file [2022-10-12T12:51:43.049Z] 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-12T12:51:43.057Z] > git merge 66447988b5970b64981174d7c941281712afb8e7 # timeout=10 [2022-10-12T12:51:43.387Z] Removing intermediate container ca3599b1a5d9 [2022-10-12T12:51:43.387Z] ---> 9768bb4fd7bd [2022-10-12T12:51:43.387Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T12:51:43.391Z] Merge succeeded, producing 185109018fe04e04d048a5b865df7b17774e4144 [2022-10-12T12:51:43.392Z] Checking out Revision 185109018fe04e04d048a5b865df7b17774e4144 (PR-174) [2022-10-12T12:51:43.645Z] ---> Running in b0c624e64023 [2022-10-12T12:51:44.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-12T12:51:44.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-12T12:51:44.470Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T12:51:44.470Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T12:51:44.470Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T12:51:44.470Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T12:51:43.366Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-12T12:51:43.393Z] > git config core.sparsecheckout # timeout=10 [2022-10-12T12:51:43.409Z] > git checkout -f 185109018fe04e04d048a5b865df7b17774e4144 # timeout=10 [2022-10-12T12:51:44.728Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T12:51:44.728Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T12:51:44.728Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T12:51:44.728Z] OK: 8 MiB in 20 packages [2022-10-12T12:51:45.666Z] Removing intermediate container b0c624e64023 [2022-10-12T12:51:45.666Z] ---> aaf9116f0b84 [2022-10-12T12:51:45.666Z] Step 18/27 : WORKDIR / [2022-10-12T12:51:46.233Z] ---> Running in f13c001ebf5d [2022-10-12T12:51:46.492Z] Removing intermediate container f13c001ebf5d [2022-10-12T12:51:46.492Z] ---> 5a8c8eb83419 [2022-10-12T12:51:46.492Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T12:51:46.857Z] Commit message: "Merge commit '66447988b5970b64981174d7c941281712afb8e7' into HEAD" [2022-10-12T12:51:46.881Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T12:51:46.861Z] > git rev-list --no-walk e62772acba2629e5e85c07c20038cd47759a26e9 # timeout=10 [2022-10-12T12:51:47.779Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-12T12:51:47.779Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T12:51:47.779Z] Dload Upload Total Spent Left Speed [2022-10-12T12:51:47.779Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 96938 0 --:--:-- --:--:-- --:--:-- 96938 [2022-10-12T12:51:47.878Z] ---> 2afb94108be1 [2022-10-12T12:51:47.878Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T12:51:48.138Z] ---> 9255556592a4 [2022-10-12T12:51:48.138Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [Pipeline] sh [2022-10-12T12:51:48.549Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-12T12:51:48.703Z] ---> 326847acea6d [2022-10-12T12:51:48.703Z] Step 22/27 : EXPOSE 59984 [2022-10-12T12:51:48.891Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-10-12T12:51:48.892Z] /etc/docker/daemon.json [2022-10-12T12:51:48.892Z] { [2022-10-12T12:51:48.892Z] "registry-mirrors": [ [2022-10-12T12:51:48.892Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-12T12:51:48.892Z] ], [2022-10-12T12:51:48.892Z] "bip": "10.250.0.254/24", [2022-10-12T12:51:48.892Z] "hosts": [ [2022-10-12T12:51:48.892Z] "tcp://0.0.0.0:5555", [2022-10-12T12:51:48.892Z] "unix:///var/run/docker.sock" [2022-10-12T12:51:48.892Z] ], [2022-10-12T12:51:48.892Z] "mtu": 1458, [2022-10-12T12:51:48.892Z] "selinux-enabled": true, [2022-10-12T12:51:48.892Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-12T12:51:48.892Z] } [Pipeline] sh [2022-10-12T12:51:48.961Z] ---> Running in 736588b4f95e [2022-10-12T12:51:49.208Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-12T12:51:49.525Z] Removing intermediate container 736588b4f95e [2022-10-12T12:51:49.525Z] ---> 3081ebb7ba1d [2022-10-12T12:51:49.525Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T12:51:49.525Z] ---> Running in 925e789e06cd [2022-10-12T12:51:49.533Z] + sudo service docker restart [2022-10-12T12:51:50.099Z] Removing intermediate container 925e789e06cd [2022-10-12T12:51:50.100Z] ---> d221e430d5f3 [2022-10-12T12:51:50.100Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T12:51:50.358Z] ---> Running in 0a5b879ed24c [2022-10-12T12:51:50.933Z] Removing intermediate container 0a5b879ed24c [2022-10-12T12:51:50.933Z] ---> 7f13ccbb9b1a [2022-10-12T12:51:50.933Z] Step 25/27 : LABEL arch=amd64 [2022-10-12T12:51:50.933Z] ---> Running in d064d75b178d [2022-10-12T12:51:51.501Z] Removing intermediate container d064d75b178d [2022-10-12T12:51:51.501Z] ---> a17fa74b68f7 [2022-10-12T12:51:51.501Z] Step 26/27 : LABEL git_sha=4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [2022-10-12T12:51:51.759Z] ---> Running in c626bd133751 [2022-10-12T12:51:52.019Z] Removing intermediate container c626bd133751 [2022-10-12T12:51:52.019Z] ---> 40d5983b7d68 [2022-10-12T12:51:52.019Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T12:51:52.278Z] ---> Running in ec1892a4a789 [2022-10-12T12:51:52.847Z] Removing intermediate container ec1892a4a789 [2022-10-12T12:51:52.847Z] ---> 56ff802abe97 [2022-10-12T12:51:52.847Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T12:51:52.847Z] Successfully built 56ff802abe97 [2022-10-12T12:51:52.847Z] 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-12T12:51:53.275Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T12:51:53.275Z] [2022-10-12T12:51:53.275Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:51:53.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T12:51:53.830Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-12T12:51:53.830Z] 5eb5b503b376: Pulling fs layer [2022-10-12T12:51:53.830Z] 5c69ac0246d0: Pulling fs layer [2022-10-12T12:51:53.830Z] ec43610c2a17: Pulling fs layer [2022-10-12T12:51:53.830Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-12T12:51:53.830Z] 33b1e0a273af: Pulling fs layer [2022-10-12T12:51:53.830Z] 5d3b04190fa2: Pulling fs layer [2022-10-12T12:51:53.830Z] 2f39f015ded8: Pulling fs layer [2022-10-12T12:51:53.830Z] 2f39f015ded8: Waiting [2022-10-12T12:51:53.830Z] 3a2ae6a8a46f: Waiting [2022-10-12T12:51:53.830Z] 5d3b04190fa2: Waiting [2022-10-12T12:51:53.830Z] 33b1e0a273af: Waiting [2022-10-12T12:51:53.830Z] 5c69ac0246d0: Download complete [2022-10-12T12:51:53.831Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-12T12:51:53.831Z] 3a2ae6a8a46f: Download complete [2022-10-12T12:51:53.831Z] ec43610c2a17: Verifying Checksum [2022-10-12T12:51:53.831Z] ec43610c2a17: Download complete [2022-10-12T12:51:53.831Z] 33b1e0a273af: Verifying Checksum [2022-10-12T12:51:53.831Z] 33b1e0a273af: Download complete [2022-10-12T12:51:53.831Z] 5d3b04190fa2: Download complete [2022-10-12T12:51:54.098Z] 5eb5b503b376: Download complete [2022-10-12T12:51:54.664Z] 2f39f015ded8: Download complete [2022-10-12T12:51:55.230Z] 5eb5b503b376: Pull complete [2022-10-12T12:51:55.795Z] 5c69ac0246d0: Pull complete [2022-10-12T12:51:56.359Z] ec43610c2a17: Pull complete [2022-10-12T12:51:56.925Z] 3a2ae6a8a46f: Pull complete [2022-10-12T12:51:57.183Z] 33b1e0a273af: Pull complete [2022-10-12T12:51:57.440Z] 5d3b04190fa2: Pull complete [2022-10-12T12:52:01.625Z] 2f39f015ded8: Pull complete [2022-10-12T12:52:01.625Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-12T12:52:01.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T12:52:01.884Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T12:52:01.972Z] prd-ubuntu20.04-docker-8c-8g-7748 does not seem to be running inside a container [2022-10-12T12:52:02.005Z] $ 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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@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-12T12:52:08.800Z] $ docker top d17e8b5d95f9ae8bcb9a96deee0e4f0e6d70ecbf59bfa511cff7a0ba557c96cb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2022-10-12T12:52:08.944Z] provisioning config files... [2022-10-12T12:52:08.974Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config13021075120528836572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T12:52:09.195Z] ---> job-cost.sh [2022-10-12T12:52:09.195Z] lf-activate-venv: SKIPPING [2022-10-12T12:52:09.195Z] INFO: No Stack... [2022-10-12T12:52:09.327Z] ---> docker-login.sh [2022-10-12T12:52:09.327Z] nexus3.edgexfoundry.org:10001 [2022-10-12T12:52:09.454Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T12:52:09.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:52:09.713Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T12:52:09.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:52:09.869Z] Configure a credential helper to remove this warning. See [2022-10-12T12:52:09.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:52:09.869Z] [2022-10-12T12:52:09.869Z] Login Succeeded [2022-10-12T12:52:09.869Z] nexus3.edgexfoundry.org:10002 [2022-10-12T12:52:09.999Z] + cat /w/workspace/undry_device-onvif-camera_PR-174/archives/cost.csv [2022-10-12T12:52:09.999Z] + cut -d, -f6 [Pipeline] lock [2022-10-12T12:52:10.011Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] [2022-10-12T12:52:10.017Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] did not exist. Created. [2022-10-12T12:52:10.017Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T12:52:10.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:52:10.323Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-12T12:52:10.354Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T12:52:10.365Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T12:52:10.385Z] $ docker stop --time=1 d17e8b5d95f9ae8bcb9a96deee0e4f0e6d70ecbf59bfa511cff7a0ba557c96cb [2022-10-12T12:52:10.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:52:10.412Z] Configure a credential helper to remove this warning. See [2022-10-12T12:52:10.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:52:10.412Z] [2022-10-12T12:52:10.412Z] Login Succeeded [2022-10-12T12:52:10.412Z] nexus3.edgexfoundry.org:10003 [2022-10-12T12:52:10.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:52:10.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:52:10.683Z] Configure a credential helper to remove this warning. See [2022-10-12T12:52:10.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:52:10.683Z] [2022-10-12T12:52:10.683Z] Login Succeeded [2022-10-12T12:52:10.683Z] nexus3.edgexfoundry.org:10004 [2022-10-12T12:52:10.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:52:10.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:52:10.952Z] Configure a credential helper to remove this warning. See [2022-10-12T12:52:10.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:52:10.952Z] [2022-10-12T12:52:10.952Z] Login Succeeded [2022-10-12T12:52:10.952Z] docker.io [2022-10-12T12:52:11.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-12T12:52:11.807Z] $ docker rm -f d17e8b5d95f9ae8bcb9a96deee0e4f0e6d70ecbf59bfa511cff7a0ba557c96cb [2022-10-12T12:52:11.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-12T12:52:11.808Z] Configure a credential helper to remove this warning. See [2022-10-12T12:52:11.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-12T12:52:11.808Z] [2022-10-12T12:52:11.808Z] Login Succeeded [2022-10-12T12:52:11.808Z] ---> docker-login.sh ends [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [2022-10-12T12:52:11.900Z] Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo [2022-10-12T12:52:12.048Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T12:52:12.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-12T12:52:12.077Z] ========================================================= [2022-10-12T12:52:12.077Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-12T12:52:12.077Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:52:12.433Z] + 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-12T12:52:12.708Z] Sending build context to Docker daemon 14.76MB [2022-10-12T12:52:12.980Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T12:52:12.980Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-12T12:52:12.980Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-12T12:52:12.980Z] 9b18e9b68314: Pulling fs layer [2022-10-12T12:52:12.980Z] d32db5db7311: Pulling fs layer [2022-10-12T12:52:12.980Z] d0c4b47475fc: Pulling fs layer [2022-10-12T12:52:12.980Z] 5831b945b038: Pulling fs layer [2022-10-12T12:52:12.980Z] 86bbec2aaacd: Pulling fs layer [2022-10-12T12:52:12.980Z] e10730c5d714: Pulling fs layer [2022-10-12T12:52:12.980Z] 5dd5c2283517: Pulling fs layer [2022-10-12T12:52:12.980Z] d5ac0230b979: Pulling fs layer [2022-10-12T12:52:12.980Z] 5831b945b038: Waiting [2022-10-12T12:52:12.980Z] 86bbec2aaacd: Waiting [2022-10-12T12:52:12.980Z] e10730c5d714: Waiting [2022-10-12T12:52:12.980Z] 5dd5c2283517: Waiting [2022-10-12T12:52:12.980Z] d5ac0230b979: Waiting [2022-10-12T12:52:12.980Z] d0c4b47475fc: Verifying Checksum [2022-10-12T12:52:12.980Z] d0c4b47475fc: Download complete [2022-10-12T12:52:12.980Z] d32db5db7311: Verifying Checksum [2022-10-12T12:52:12.980Z] d32db5db7311: Download complete [2022-10-12T12:52:12.980Z] 86bbec2aaacd: Verifying Checksum [2022-10-12T12:52:12.980Z] 86bbec2aaacd: Download complete [2022-10-12T12:52:13.261Z] e10730c5d714: Verifying Checksum [2022-10-12T12:52:13.261Z] e10730c5d714: Download complete [2022-10-12T12:52:13.261Z] 9b18e9b68314: Verifying Checksum [2022-10-12T12:52:13.261Z] 9b18e9b68314: Download complete [2022-10-12T12:52:14.255Z] 9b18e9b68314: Pull complete [2022-10-12T12:52:14.255Z] d5ac0230b979: Verifying Checksum [2022-10-12T12:52:14.255Z] d5ac0230b979: Download complete [2022-10-12T12:52:14.528Z] d32db5db7311: Pull complete [2022-10-12T12:52:14.800Z] d0c4b47475fc: Pull complete [2022-10-12T12:52:15.395Z] 5dd5c2283517: Verifying Checksum [2022-10-12T12:52:15.395Z] 5dd5c2283517: Download complete [2022-10-12T12:52:15.985Z] 5831b945b038: Verifying Checksum [2022-10-12T12:52:15.985Z] 5831b945b038: Download complete [2022-10-12T12:52:28.318Z] 5831b945b038: Pull complete [2022-10-12T12:52:28.318Z] 86bbec2aaacd: Pull complete [2022-10-12T12:52:28.318Z] e10730c5d714: Pull complete [2022-10-12T12:52:35.000Z] 5dd5c2283517: Pull complete [2022-10-12T12:52:36.416Z] d5ac0230b979: Pull complete [2022-10-12T12:52:36.416Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-12T12:52:36.416Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-12T12:52:36.416Z] ---> 59b3b1a385d4 [2022-10-12T12:52:36.416Z] Step 3/14 : ARG ADD_BUILD_TAGS="" [2022-10-12T12:52:38.371Z] ---> Running in 8f811079dfd6 [2022-10-12T12:52:38.644Z] Removing intermediate container 8f811079dfd6 [2022-10-12T12:52:38.645Z] ---> 096a223043df [2022-10-12T12:52:38.645Z] Step 4/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T12:52:38.645Z] ---> Running in 604401edc150 [2022-10-12T12:52:38.913Z] Removing intermediate container 604401edc150 [2022-10-12T12:52:38.913Z] ---> a65038776263 [2022-10-12T12:52:38.913Z] Step 5/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T12:52:38.913Z] ---> Running in 73a31f56b3d6 [2022-10-12T12:52:39.182Z] Removing intermediate container 73a31f56b3d6 [2022-10-12T12:52:39.182Z] ---> 1f1cd477f461 [2022-10-12T12:52:39.182Z] Step 6/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T12:52:39.449Z] ---> Running in deb67f06be52 [2022-10-12T12:52:39.717Z] Removing intermediate container deb67f06be52 [2022-10-12T12:52:39.717Z] ---> 65c0d212f0dc [2022-10-12T12:52:39.717Z] Step 7/14 : LABEL Name=edgex-device-onvif-camera [2022-10-12T12:52:39.717Z] ---> Running in 6ec1a4430bc4 [2022-10-12T12:52:39.985Z] Removing intermediate container 6ec1a4430bc4 [2022-10-12T12:52:39.985Z] ---> 55369c384528 [2022-10-12T12:52:39.985Z] Step 8/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T12:52:39.985Z] ---> Running in 91dfffe6e254 [2022-10-12T12:52:41.935Z] Removing intermediate container 91dfffe6e254 [2022-10-12T12:52:41.935Z] ---> 574261c68eae [2022-10-12T12:52:41.935Z] Step 9/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T12:52:41.935Z] ---> Running in 08a4f8307f00 [2022-10-12T12:52:42.523Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T12:52:43.483Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T12:52:44.446Z] OK: 221 MiB in 51 packages [2022-10-12T12:52:45.031Z] Removing intermediate container 08a4f8307f00 [2022-10-12T12:52:45.031Z] ---> 02b544f63fef [2022-10-12T12:52:45.031Z] Step 10/14 : WORKDIR /device-onvif-camera [2022-10-12T12:52:45.298Z] ---> Running in cf94cb676745 [2022-10-12T12:52:45.567Z] Removing intermediate container cf94cb676745 [2022-10-12T12:52:45.568Z] ---> a18ea53d5221 [2022-10-12T12:52:45.568Z] Step 11/14 : COPY go.mod vendor* ./ [2022-10-12T12:52:46.153Z] ---> 66d4bd3bea9c [2022-10-12T12:52:46.153Z] Step 12/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T12:52:46.153Z] ---> Running in 5ba046840c77 [2022-10-12T12:53:42.554Z] Removing intermediate container 5ba046840c77 [2022-10-12T12:53:42.554Z] ---> 01f3bdd19409 [2022-10-12T12:53:42.554Z] Step 13/14 : COPY . . [2022-10-12T12:53:42.554Z] ---> 90c77f5f34f4 [2022-10-12T12:53:42.554Z] Step 14/14 : RUN ${MAKE} [2022-10-12T12:53:42.554Z] ---> Running in 73cac3bf440f [2022-10-12T12:53:42.554Z] noop [2022-10-12T12:53:42.554Z] Removing intermediate container 73cac3bf440f [2022-10-12T12:53:42.554Z] ---> 6e4095dd94db [2022-10-12T12:53:42.554Z] Successfully built 6e4095dd94db [2022-10-12T12:53:42.554Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:53:42.907Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T12:53:42.907Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T12:53:43.109Z] prd-ubuntu20.04-docker-arm64-4c-16g-7749 does not seem to be running inside a container [2022-10-12T12:53:43.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T12:53:44.406Z] $ docker top a2d48bd74f0e97c4c310d3a2fd705ca9a899b4c52a5d1cbab02d824e1de588a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T12:53:45.239Z] + go version [2022-10-12T12:53:45.239Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-12T12:53:45.265Z] $ docker stop --time=1 a2d48bd74f0e97c4c310d3a2fd705ca9a899b4c52a5d1cbab02d824e1de588a1 [2022-10-12T12:53:46.967Z] $ docker rm -f a2d48bd74f0e97c4c310d3a2fd705ca9a899b4c52a5d1cbab02d824e1de588a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:53:47.516Z] + docker inspect -f . ci-base-image-arm64 [2022-10-12T12:53:47.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T12:53:47.681Z] prd-ubuntu20.04-docker-arm64-4c-16g-7749 does not seem to be running inside a container [2022-10-12T12:53:47.751Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-12T12:53:48.873Z] $ docker top 12b05c77150a22055f58fe79fefc3a9d4433aa6e7eaa4f0919138cd80b0f68af -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T12:53:49.379Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/7 [Pipeline] fileExists [Pipeline] sh [2022-10-12T12:53:49.712Z] + make test [2022-10-12T12:53:49.712Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-12T12:53:51.664Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-10-12T12:55:28.346Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-10-12T12:55:28.346Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.193s coverage: 28.2% of statements [2022-10-12T12:55:28.346Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-10-12T12:55:46.566Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.834s coverage: 86.5% of statements [2022-10-12T12:55:46.833Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-12T12:55:46.833Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-12T12:56:19.073Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-12T12:56:19.073Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-12T12:56:19.073Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-12T12:56:19.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-12T12:56:19.117Z] $ docker stop --time=1 12b05c77150a22055f58fe79fefc3a9d4433aa6e7eaa4f0919138cd80b0f68af [2022-10-12T12:56:21.384Z] $ docker rm -f 12b05c77150a22055f58fe79fefc3a9d4433aa6e7eaa4f0919138cd80b0f68af [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-12T12:56:22.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-12T12:56:22.454Z] Warning: overwriting stash ‘coverage-report’ [2022-10-12T12:56:23.345Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-12T12:56:23.762Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-12T12:56:24.080Z] + ls -al . [2022-10-12T12:56:24.080Z] total 232 [2022-10-12T12:56:24.080Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 12 12:53 . [2022-10-12T12:56:24.080Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:51 .. [2022-10-12T12:56:24.080Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 12:51 .git [2022-10-12T12:56:24.080Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 12:51 .github [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 496 Oct 12 12:51 .gitignore [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 12:51 .golangci.yml [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 9739 Oct 12 12:51 Attribution.txt [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 1498 Oct 12 12:51 CHANGELOG.md [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 1726 Oct 12 12:51 Dockerfile [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 12:51 GOVERNANCE.md [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 734 Oct 12 12:51 Jenkinsfile [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 11348 Oct 12 12:51 LICENSE [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 2858 Oct 12 12:51 Makefile [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 12 12:51 OWNERS.md [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 6595 Oct 12 12:51 README.md [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 12:49 VERSION [2022-10-12T12:56:24.080Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 12:51 bin [2022-10-12T12:56:24.080Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 12:51 cmd [2022-10-12T12:56:24.080Z] -rw-r--r-- 1 jenkins jenkins 78636 Oct 12 12:55 coverage.out [2022-10-12T12:56:24.080Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 12:51 doc [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 3747 Oct 12 12:51 go.mod [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 39691 Oct 12 12:51 go.sum [2022-10-12T12:56:24.080Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:51 internal [2022-10-12T12:56:24.080Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 12:51 snap [2022-10-12T12:56:24.080Z] -rw-rw-r-- 1 jenkins jenkins 236 Oct 12 12:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:56:24.443Z] + 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=185109018fe04e04d048a5b865df7b17774e4144 --label arch=arm64 --label version=0.0.0 . [2022-10-12T12:56:26.385Z] Sending build context to Docker daemon 14.84MB [2022-10-12T12:56:26.385Z] Step 1/27 : ARG BASE=golang:1.18-alpine3.16 [2022-10-12T12:56:26.385Z] Step 2/27 : FROM ${BASE} AS builder [2022-10-12T12:56:26.385Z] ---> 6e4095dd94db [2022-10-12T12:56:26.385Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2022-10-12T12:56:26.385Z] ---> Running in 3d5ef8fa0315 [2022-10-12T12:56:26.653Z] Removing intermediate container 3d5ef8fa0315 [2022-10-12T12:56:26.653Z] ---> 7742ee36f455 [2022-10-12T12:56:26.653Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-12T12:56:26.653Z] ---> Running in a987bb2f5390 [2022-10-12T12:56:26.919Z] Removing intermediate container a987bb2f5390 [2022-10-12T12:56:26.919Z] ---> 28f19bea2268 [2022-10-12T12:56:26.919Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-10-12T12:56:26.919Z] ---> Running in 293b6a392894 [2022-10-12T12:56:27.185Z] Removing intermediate container 293b6a392894 [2022-10-12T12:56:27.185Z] ---> 85a4ff42698c [2022-10-12T12:56:27.185Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2022-10-12T12:56:27.451Z] ---> Running in ef6c2eabfce6 [2022-10-12T12:56:27.718Z] Removing intermediate container ef6c2eabfce6 [2022-10-12T12:56:27.718Z] ---> 613e46cf9c9f [2022-10-12T12:56:27.718Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2022-10-12T12:56:27.718Z] ---> Running in 25566ed5ef06 [2022-10-12T12:56:28.000Z] Removing intermediate container 25566ed5ef06 [2022-10-12T12:56:28.000Z] ---> eae8cdd0adbc [2022-10-12T12:56:28.000Z] Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-12T12:56:28.000Z] ---> Running in 456ebe253b4c [2022-10-12T12:56:29.954Z] Removing intermediate container 456ebe253b4c [2022-10-12T12:56:29.954Z] ---> 800e01d6a381 [2022-10-12T12:56:29.954Z] Step 9/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-12T12:56:29.954Z] ---> Running in 168e3a09e4b2 [2022-10-12T12:56:31.369Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T12:56:31.951Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T12:56:32.919Z] OK: 221 MiB in 51 packages [2022-10-12T12:56:34.348Z] Removing intermediate container 168e3a09e4b2 [2022-10-12T12:56:34.348Z] ---> 93aa6f79a2fe [2022-10-12T12:56:34.348Z] Step 10/27 : WORKDIR /device-onvif-camera [2022-10-12T12:56:34.348Z] ---> Running in 5540eda6213e [2022-10-12T12:56:34.348Z] Removing intermediate container 5540eda6213e [2022-10-12T12:56:34.348Z] ---> e62a6ccea955 [2022-10-12T12:56:34.348Z] Step 11/27 : COPY go.mod vendor* ./ [2022-10-12T12:56:34.934Z] ---> 945dad233d34 [2022-10-12T12:56:34.934Z] Step 12/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-12T12:56:35.204Z] ---> Running in 0663d19ce6c7 [2022-10-12T12:56:37.791Z] Removing intermediate container 0663d19ce6c7 [2022-10-12T12:56:37.791Z] ---> 178486a51865 [2022-10-12T12:56:37.791Z] Step 13/27 : COPY . . [2022-10-12T12:56:41.134Z] ---> 7120fdce92e6 [2022-10-12T12:56:41.134Z] Step 14/27 : RUN ${MAKE} [2022-10-12T12:56:41.134Z] ---> Running in 0990e717d376 [2022-10-12T12:56:42.094Z] 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-12T12:59:03.805Z] Removing intermediate container 0990e717d376 [2022-10-12T12:59:03.805Z] ---> 999e48913ff3 [2022-10-12T12:59:03.805Z] Step 15/27 : FROM alpine:3.16 [2022-10-12T12:59:03.805Z] 3.16: Pulling from library/alpine [2022-10-12T12:59:03.805Z] 9b18e9b68314: Already exists [2022-10-12T12:59:03.805Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-12T12:59:03.805Z] Status: Downloaded newer image for alpine:3.16 [2022-10-12T12:59:03.805Z] ---> a6215f271958 [2022-10-12T12:59:03.805Z] Step 16/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-10-12T12:59:03.805Z] ---> Running in afbee5326927 [2022-10-12T12:59:03.805Z] Removing intermediate container afbee5326927 [2022-10-12T12:59:03.805Z] ---> 83367b3362dd [2022-10-12T12:59:03.805Z] Step 17/27 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-12T12:59:03.805Z] ---> Running in a721df47d5b8 [2022-10-12T12:59:03.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-12T12:59:03.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-12T12:59:03.805Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-12T12:59:03.805Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-12T12:59:03.805Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-12T12:59:03.805Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-12T12:59:03.805Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-12T12:59:03.805Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-12T12:59:03.805Z] Executing busybox-1.35.0-r17.trigger [2022-10-12T12:59:03.805Z] OK: 8 MiB in 20 packages [2022-10-12T12:59:03.805Z] Removing intermediate container a721df47d5b8 [2022-10-12T12:59:03.805Z] ---> dbccf55c2fc0 [2022-10-12T12:59:03.805Z] Step 18/27 : WORKDIR / [2022-10-12T12:59:03.805Z] ---> Running in d98c358f3c9d [2022-10-12T12:59:03.805Z] Removing intermediate container d98c358f3c9d [2022-10-12T12:59:03.805Z] ---> d1ad1db08e65 [2022-10-12T12:59:03.805Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2022-10-12T12:59:04.766Z] ---> 41565c024a56 [2022-10-12T12:59:04.766Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-10-12T12:59:05.350Z] ---> ed78d49952c6 [2022-10-12T12:59:05.350Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-10-12T12:59:06.759Z] ---> 537a970accce [2022-10-12T12:59:06.759Z] Step 22/27 : EXPOSE 59984 [2022-10-12T12:59:06.759Z] ---> Running in d5d899468308 [2022-10-12T12:59:06.759Z] Removing intermediate container d5d899468308 [2022-10-12T12:59:06.759Z] ---> bce6b190ee2e [2022-10-12T12:59:06.759Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2022-10-12T12:59:07.025Z] ---> Running in 94f1e37d3347 [2022-10-12T12:59:07.292Z] Removing intermediate container 94f1e37d3347 [2022-10-12T12:59:07.292Z] ---> 83b4be69c125 [2022-10-12T12:59:07.292Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-12T12:59:07.292Z] ---> Running in 0c0a714d412a [2022-10-12T12:59:07.559Z] Removing intermediate container 0c0a714d412a [2022-10-12T12:59:07.559Z] ---> 75904f4783af [2022-10-12T12:59:07.559Z] Step 25/27 : LABEL arch=arm64 [2022-10-12T12:59:07.559Z] ---> Running in 3532524d2f73 [2022-10-12T12:59:07.826Z] Removing intermediate container 3532524d2f73 [2022-10-12T12:59:07.826Z] ---> 82aea6af2296 [2022-10-12T12:59:07.826Z] Step 26/27 : LABEL git_sha=185109018fe04e04d048a5b865df7b17774e4144 [2022-10-12T12:59:07.826Z] ---> Running in ff0ff9477b9c [2022-10-12T12:59:08.416Z] Removing intermediate container ff0ff9477b9c [2022-10-12T12:59:08.416Z] ---> 53caee6048d0 [2022-10-12T12:59:08.416Z] Step 27/27 : LABEL version=0.0.0 [2022-10-12T12:59:08.416Z] ---> Running in 3504954eabf3 [2022-10-12T12:59:08.682Z] Removing intermediate container 3504954eabf3 [2022-10-12T12:59:08.682Z] ---> 78e66f651045 [2022-10-12T12:59:08.682Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-12T12:59:08.682Z] Successfully built 78e66f651045 [2022-10-12T12:59:08.682Z] 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-12T12:59:09.148Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T12:59:09.148Z] [2022-10-12T12:59:09.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:59:09.493Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T12:59:09.493Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-12T12:59:09.493Z] 8998bd30e6a1: Pulling fs layer [2022-10-12T12:59:09.493Z] 04944245beec: Pulling fs layer [2022-10-12T12:59:09.493Z] 699f458cf7ca: Pulling fs layer [2022-10-12T12:59:09.493Z] 765212b225bb: Pulling fs layer [2022-10-12T12:59:09.493Z] f23df028b6ca: Pulling fs layer [2022-10-12T12:59:09.493Z] d65c8cfc05b1: Pulling fs layer [2022-10-12T12:59:09.493Z] 2437ff75d9bd: Pulling fs layer [2022-10-12T12:59:09.493Z] f23df028b6ca: Waiting [2022-10-12T12:59:09.493Z] d65c8cfc05b1: Waiting [2022-10-12T12:59:09.493Z] 2437ff75d9bd: Waiting [2022-10-12T12:59:09.493Z] 765212b225bb: Waiting [2022-10-12T12:59:09.763Z] 04944245beec: Verifying Checksum [2022-10-12T12:59:09.763Z] 04944245beec: Download complete [2022-10-12T12:59:09.763Z] 765212b225bb: Verifying Checksum [2022-10-12T12:59:09.763Z] 765212b225bb: Download complete [2022-10-12T12:59:09.763Z] f23df028b6ca: Verifying Checksum [2022-10-12T12:59:09.763Z] f23df028b6ca: Download complete [2022-10-12T12:59:09.763Z] d65c8cfc05b1: Verifying Checksum [2022-10-12T12:59:09.763Z] d65c8cfc05b1: Download complete [2022-10-12T12:59:09.763Z] 699f458cf7ca: Verifying Checksum [2022-10-12T12:59:09.763Z] 699f458cf7ca: Download complete [2022-10-12T12:59:10.351Z] 8998bd30e6a1: Verifying Checksum [2022-10-12T12:59:10.351Z] 8998bd30e6a1: Download complete [2022-10-12T12:59:12.935Z] 2437ff75d9bd: Verifying Checksum [2022-10-12T12:59:12.935Z] 2437ff75d9bd: Download complete [2022-10-12T12:59:14.342Z] 8998bd30e6a1: Pull complete [2022-10-12T12:59:14.929Z] 04944245beec: Pull complete [2022-10-12T12:59:16.337Z] 699f458cf7ca: Pull complete [2022-10-12T12:59:16.337Z] 765212b225bb: Pull complete [2022-10-12T12:59:16.921Z] f23df028b6ca: Pull complete [2022-10-12T12:59:17.189Z] d65c8cfc05b1: Pull complete [2022-10-12T12:59:32.188Z] 2437ff75d9bd: Pull complete [2022-10-12T12:59:32.188Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-12T12:59:32.188Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-12T12:59:32.188Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T12:59:32.381Z] prd-ubuntu20.04-docker-arm64-4c-16g-7749 does not seem to be running inside a container [2022-10-12T12:59:32.467Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-12T12:59:34.901Z] $ docker top 7c07a9c60cc543e33cc0fecd63c1abe94e5b91cc2d4fdbe059ad4ed9960e8025 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-12T12:59:35.415Z] ---> job-cost.sh [2022-10-12T12:59:35.680Z] lf-activate-venv: SKIPPING [2022-10-12T12:59:35.680Z] INFO: No Stack... [2022-10-12T12:59:35.945Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-12T12:59:36.899Z] INFO: Archiving Costs [Pipeline] sh [2022-10-12T12:59:37.213Z] + cut -d, -f6 [2022-10-12T12:59:37.213Z] + cat /w/workspace/device-onvif-camera/7/archives/cost.csv [Pipeline] lock [2022-10-12T12:59:37.248Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] [2022-10-12T12:59:37.258Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] did not exist. Created. [2022-10-12T12:59:37.258Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-12T12:59:37.600Z] /w/workspace/device-onvif-camera/7@tmp/durable-6dbc1402/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-12T12:59:37.934Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-12T12:59:37.954Z] Warning: overwriting stash ‘stack-cost’ [2022-10-12T12:59:38.010Z] Stashed 1 file(s) [Pipeline] } [2022-10-12T12:59:38.016Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-174-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-12T12:59:38.049Z] $ docker stop --time=1 7c07a9c60cc543e33cc0fecd63c1abe94e5b91cc2d4fdbe059ad4ed9960e8025 [2022-10-12T12:59:39.525Z] $ docker rm -f 7c07a9c60cc543e33cc0fecd63c1abe94e5b91cc2d4fdbe059ad4ed9960e8025 [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-12T12:59:40.027Z] provisioning config files... [2022-10-12T12:59:40.034Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config13306030253683762783tmp [Pipeline] { [Pipeline] sh [2022-10-12T12:59:40.336Z] + set +x [2022-10-12T12:59:40.336Z] + curl -s https://codecov.io/bash [2022-10-12T12:59:40.336Z] + bash -s -- [2022-10-12T12:59:40.336Z] [2022-10-12T12:59:40.336Z] _____ _ [2022-10-12T12:59:40.336Z] / ____| | | [2022-10-12T12:59:40.336Z] | | ___ __| | ___ ___ _____ __ [2022-10-12T12:59:40.336Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-12T12:59:40.336Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-12T12:59:40.336Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-12T12:59:40.336Z] Bash-1.0.6 [2022-10-12T12:59:40.336Z] [2022-10-12T12:59:40.336Z] [2022-10-12T12:59:40.336Z] ==> git version 2.25.1 found [2022-10-12T12:59:40.336Z] ==> 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-12T12:59:40.336Z] Release-Date: 2020-01-08 [2022-10-12T12:59:40.336Z] 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-12T12:59:40.336Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-12T12:59:40.336Z] ==> Jenkins CI detected. [2022-10-12T12:59:40.336Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-174 [2022-10-12T12:59:40.336Z] project root: . [2022-10-12T12:59:40.336Z] --> token set from env [2022-10-12T12:59:40.336Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-12T12:59:40.336Z] ==> Running gcov in . (disable via -X gcov) [2022-10-12T12:59:40.336Z] ==> Python coveragepy not found [2022-10-12T12:59:40.336Z] ==> Searching for coverage reports in: [2022-10-12T12:59:40.336Z] + . [2022-10-12T12:59:40.336Z] -> Found 1 reports [2022-10-12T12:59:40.336Z] ==> Detecting git/mercurial file structure [2022-10-12T12:59:40.336Z] ==> Reading reports [2022-10-12T12:59:40.336Z] + ./coverage.out bytes=78636 [2022-10-12T12:59:40.336Z] ==> Appending adjustments [2022-10-12T12:59:40.336Z] https://docs.codecov.io/docs/fixing-reports [2022-10-12T12:59:40.595Z] + Found adjustments [2022-10-12T12:59:40.595Z] ==> Gzipping contents [2022-10-12T12:59:40.595Z] 12K /tmp/codecov.yN0lGi.gz [2022-10-12T12:59:40.595Z] ==> Uploading reports [2022-10-12T12:59:40.595Z] url: https://codecov.io [2022-10-12T12:59:40.595Z] query: branch=PR-174&commit=4ae89fea4f66dfff4d62a58ba7af1d536c02ca87&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-12T12:59:40.595Z] -> Pinging Codecov [2022-10-12T12:59:40.595Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-174&commit=4ae89fea4f66dfff4d62a58ba7af1d536c02ca87&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-174%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-10-12T12:59:40.852Z] -> Uploading to [2022-10-12T12:59:40.852Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-12/F29A59C45E3A92E06B3E522C9905F8EF/4ae89fea4f66dfff4d62a58ba7af1d536c02ca87/d71a78d1-d114-4caf-9758-b11fc5c888bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T125940Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06e027cc89602bfc1f518968bda36e3aff4aeda52e57fd17843619a3e3fe0ce1 [2022-10-12T12:59:40.852Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-12T12:59:40.852Z] Dload Upload Total Spent Left Speed [2022-10-12T12:59:41.110Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10749 0 0 100 10749 0 42318 --:--:-- --:--:-- --:--:-- 42318 [2022-10-12T12:59:41.110Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/4ae89fea4f66dfff4d62a58ba7af1d536c02ca87 [Pipeline] } [2022-10-12T12:59:41.116Z] 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-12T12:59:41.911Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-174/archives ] [2022-10-12T12:59:41.911Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-12T12:59:41.911Z] total 16 [2022-10-12T12:59:41.911Z] drwxr-xr-x 3 root root 4096 Oct 12 12:52 . [2022-10-12T12:59:41.911Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 12:52 .. [2022-10-12T12:59:41.911Z] drwxr-xr-x 2 root root 4096 Oct 12 12:52 cost [2022-10-12T12:59:41.911Z] -rw-r--r-- 1 root root 91 Oct 12 12:52 cost.csv [2022-10-12T12:59:41.911Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-12T12:59:41.911Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-174/archives [2022-10-12T12:59:41.911Z] total 16 [2022-10-12T12:59:41.911Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 12:52 . [2022-10-12T12:59:41.911Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 12:52 .. [2022-10-12T12:59:41.911Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 12:52 cost [2022-10-12T12:59:41.911Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 12 12:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-12T12:59:42.199Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T12:59:43.058Z] ---> package-listing.sh [2022-10-12T12:59:43.058Z] ++ facter osfamily [2022-10-12T12:59:43.058Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-12T12:59:43.317Z] + OS_FAMILY=debian [2022-10-12T12:59:43.317Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-174 [2022-10-12T12:59:43.317Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-12T12:59:43.317Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-12T12:59:43.317Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-12T12:59:43.317Z] + PACKAGES=/tmp/packages_start.txt [2022-10-12T12:59:43.317Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-12T12:59:43.317Z] + PACKAGES=/tmp/packages_end.txt [2022-10-12T12:59:43.317Z] + case "${OS_FAMILY}" in [2022-10-12T12:59:43.317Z] + dpkg -l [2022-10-12T12:59:43.317Z] + grep '^ii' [2022-10-12T12:59:43.317Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-12T12:59:43.317Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-12T12:59:43.317Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-12T12:59:43.317Z] + '[' /w/workspace/undry_device-onvif-camera_PR-174 ']' [2022-10-12T12:59:43.317Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-174/archives/ [2022-10-12T12:59:43.317Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-174/archives/ [Pipeline] echo [2022-10-12T12:59:43.326Z] 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-12T12:59:43.606Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-12T12:59:44.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-12T12:59:44.165Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-12T12:59:44.236Z] prd-ubuntu20.04-docker-8c-8g-7748 does not seem to be running inside a container [2022-10-12T12:59:44.271Z] $ 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-174/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-174 -v /w/workspace/undry_device-onvif-camera_PR-174:/w/workspace/undry_device-onvif-camera_PR-174:rw,z -v /w/workspace/undry_device-onvif-camera_PR-174@tmp:/w/workspace/undry_device-onvif-camera_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-12T12:59:44.455Z] $ docker top 13f3640426e01bc70135773596ad75238b1d690deefe6da162db6a0bb7cb6a6f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-12T12:59:44.806Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-12T12:59:45.093Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-12T12:59:45.383Z] + ls /var/log/sa-host [2022-10-12T12:59:45.383Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-12T12:59:45.503Z] provisioning config files... [2022-10-12T12:59:45.513Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-174@tmp/config4538287153062659399tmp [Pipeline] { [Pipeline] echo [2022-10-12T12:59:45.531Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T12:59:45.819Z] ---> create-netrc.sh [Pipeline] } [2022-10-12T12:59:45.826Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-12T12:59:46.186Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-12T12:59:46.194Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T12:59:46.477Z] ---> sudo-logs.sh [2022-10-12T12:59:46.477Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-12T12:59:46.506Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T12:59:46.788Z] ---> job-cost.sh [2022-10-12T12:59:46.788Z] lf-activate-venv: SKIPPING [2022-10-12T12:59:46.788Z] DEBUG: total: 0.2199999988079071 [2022-10-12T12:59:46.788Z] INFO: Retrieving Stack Cost... [2022-10-12T12:59:47.046Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-12T12:59:47.614Z] INFO: Archiving Costs [Pipeline] echo [2022-10-12T12:59:47.622Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-12T12:59:47.904Z] ---> logs-deploy.sh [2022-10-12T12:59:47.904Z] lf-activate-venv: SKIPPING [2022-10-12T12:59:47.904Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-174/7 [2022-10-12T12:59:47.904Z] INFO: archiving workspace using pattern(s): [2022-10-12T12:59:48.840Z] Archives upload complete. [2022-10-12T12:59:48.840Z] INFO: archiving logs to Nexus