Pull request #203 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 lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 3c7099823a15321e4c104e4563a39310db07d158+4a1514bac2c3623567fb323734989edc763968b8 (628a20310c8c5c627a7e127d0496ef173cac7016) 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-ssh5643123447711974431.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13800699563684207902.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-203/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-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14672095909567434388.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh3185781538266472416.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-203/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-203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8680323694925389805.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-936 in /w/workspace/undry_device-onvif-camera_PR-203 [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-203 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4a1514bac2c3623567fb323734989edc763968b8 into PR head commit 3c7099823a15321e4c104e4563a39310db07d158 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c7099823a15321e4c104e4563a39310db07d158 # timeout=10 Merge succeeded, producing 3c7099823a15321e4c104e4563a39310db07d158 Checking out Revision 3c7099823a15321e4c104e4563a39310db07d158 (PR-203) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4a1514bac2c3623567fb323734989edc763968b8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c7099823a15321e4c104e4563a39310db07d158 # timeout=10 Commit message: "refactor!: Rename command line flags for the sake of consistency" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-03T18:38:50.287Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-03T18:38:50.343Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-03T18:38:50.366Z] ========================================================= [2023-01-03T18:38:50.366Z] EdgeX Global Pipelines Version Info [2023-01-03T18:38:50.366Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:38:51.095Z] ------------------- [2023-01-03T18:38:51.095Z] stable info: [2023-01-03T18:38:51.095Z] ------------------- [2023-01-03T18:38:51.095Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-03T18:38:51.095Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T18:38:51.095Z] Message: update stable to v1.0.244 [2023-01-03T18:38:51.667Z] ------------------- [2023-01-03T18:38:51.667Z] experimental info: [2023-01-03T18:38:51.667Z] ------------------- [2023-01-03T18:38:51.667Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-03T18:38:51.667Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T18:38:51.667Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-03T18:38:51.858Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-03T18:38:51.867Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-03T18:38:51.875Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-03T18:38:51.883Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-03T18:38:51.891Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-03T18:38:51.903Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-03T18:38:51.912Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-03T18:38:51.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-03T18:38:51.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-03T18:38:51.936Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-03T18:38:51.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-03T18:38:51.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-03T18:38:51.961Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-03T18:38:51.973Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-03T18:38:51.983Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T18:38:51.991Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T18:38:51.999Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T18:38:52.007Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T18:38:52.015Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-03T18:38:52.024Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-03T18:38:52.032Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-03T18:38:52.042Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-03T18:38:52.051Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-03T18:38:52.061Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-03T18:38:52.069Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-03T18:38:52.077Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-03T18:38:52.085Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-03T18:38:52.093Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo [2023-01-03T18:38:52.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo [2023-01-03T18:38:52.125Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo [2023-01-03T18:38:52.139Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c7099823a15321e4c104e4563a39310db07d158 [Pipeline] echo [2023-01-03T18:38:52.153Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c70998 [Pipeline] echo [2023-01-03T18:38:52.165Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:38:52.216Z] provisioning config files... [2023-01-03T18:38:52.231Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-203@tmp/config17671348290119751121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:38:52.535Z] ---> docker-login.sh [2023-01-03T18:38:52.535Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:38:52.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:38:52.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:38:52.796Z] Configure a credential helper to remove this warning. See [2023-01-03T18:38:52.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:38:52.796Z] [2023-01-03T18:38:52.796Z] Login Succeeded [2023-01-03T18:38:52.796Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:38:52.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:38:52.796Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:38:52.796Z] Configure a credential helper to remove this warning. See [2023-01-03T18:38:52.796Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:38:52.796Z] [2023-01-03T18:38:52.796Z] Login Succeeded [2023-01-03T18:38:52.796Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:38:53.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:38:53.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:38:53.057Z] Configure a credential helper to remove this warning. See [2023-01-03T18:38:53.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:38:53.057Z] [2023-01-03T18:38:53.057Z] Login Succeeded [2023-01-03T18:38:53.057Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:38:53.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:38:53.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:38:53.057Z] Configure a credential helper to remove this warning. See [2023-01-03T18:38:53.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:38:53.057Z] [2023-01-03T18:38:53.057Z] Login Succeeded [2023-01-03T18:38:53.057Z] docker.io [2023-01-03T18:38:53.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:38:53.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:38:53.317Z] Configure a credential helper to remove this warning. See [2023-01-03T18:38:53.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:38:53.317Z] [2023-01-03T18:38:53.317Z] Login Succeeded [2023-01-03T18:38:53.317Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:38:53.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-03T18:38:53.704Z] + git rev-list -1 --merges 3c7099823a15321e4c104e4563a39310db07d158~1..3c7099823a15321e4c104e4563a39310db07d158 [Pipeline] echo [2023-01-03T18:38:53.749Z] -----------> git rev-list -1 --merges 3c7099823a15321e4c104e4563a39310db07d158~1..3c7099823a15321e4c104e4563a39310db07d158 3c7099823a15321e4c104e4563a39310db07d158 [false] [Pipeline] sh [2023-01-03T18:38:54.034Z] + git log --format=format:%s -1 3c7099823a15321e4c104e4563a39310db07d158 [Pipeline] echo [2023-01-03T18:38:54.049Z] ========================================================= [2023-01-03T18:38:54.049Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-03T18:38:54.049Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:38:54.361Z] + git log --format=format:%s -1 3c7099823a15321e4c104e4563a39310db07d158 [Pipeline] echo [2023-01-03T18:38:54.374Z] [semverPrep] GIT_COMMIT: 3c7099823a15321e4c104e4563a39310db07d158, Commit Message: refactor!: Rename command line flags for the sake of consistency [Pipeline] echo [2023-01-03T18:38:54.382Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-03T18:38:54.787Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T18:38:54.787Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-03T18:38:54.787Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-03T18:38:54.787Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-03T18:38:54.787Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-03T18:38:54.787Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-03T18:38:54.787Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:38:55.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:38:55.129Z] [2023-01-03T18:38:55.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:38:55.429Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:38:55.430Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-03T18:38:55.430Z] b85a868b505f: Pulling fs layer [2023-01-03T18:38:55.430Z] e2be974225ed: Pulling fs layer [2023-01-03T18:38:55.430Z] 339a4e72a1f5: Pulling fs layer [2023-01-03T18:38:55.430Z] 988bab9f4d93: Pulling fs layer [2023-01-03T18:38:55.430Z] 1469e6f7b9e6: Pulling fs layer [2023-01-03T18:38:55.430Z] eaf3925da568: Pulling fs layer [2023-01-03T18:38:55.430Z] bab4dde63d76: Pulling fs layer [2023-01-03T18:38:55.430Z] bde34c3a00c8: Pulling fs layer [2023-01-03T18:38:55.430Z] b352a97aabf1: Pulling fs layer [2023-01-03T18:38:55.430Z] 4872d77fe225: Pulling fs layer [2023-01-03T18:38:55.430Z] 5851b861e8e6: Pulling fs layer [2023-01-03T18:38:55.430Z] 1469e6f7b9e6: Waiting [2023-01-03T18:38:55.430Z] eaf3925da568: Waiting [2023-01-03T18:38:55.430Z] bab4dde63d76: Waiting [2023-01-03T18:38:55.430Z] bde34c3a00c8: Waiting [2023-01-03T18:38:55.430Z] b352a97aabf1: Waiting [2023-01-03T18:38:55.430Z] 4872d77fe225: Waiting [2023-01-03T18:38:55.430Z] 5851b861e8e6: Waiting [2023-01-03T18:38:55.430Z] 988bab9f4d93: Waiting [2023-01-03T18:38:55.430Z] e2be974225ed: Verifying Checksum [2023-01-03T18:38:55.430Z] e2be974225ed: Download complete [2023-01-03T18:38:55.430Z] 988bab9f4d93: Verifying Checksum [2023-01-03T18:38:55.430Z] 988bab9f4d93: Download complete [2023-01-03T18:38:55.690Z] 1469e6f7b9e6: Verifying Checksum [2023-01-03T18:38:55.690Z] 1469e6f7b9e6: Download complete [2023-01-03T18:38:55.690Z] 339a4e72a1f5: Verifying Checksum [2023-01-03T18:38:55.690Z] bde34c3a00c8: Download complete [2023-01-03T18:38:55.690Z] b352a97aabf1: Verifying Checksum [2023-01-03T18:38:55.690Z] b352a97aabf1: Download complete [2023-01-03T18:38:55.690Z] 4872d77fe225: Verifying Checksum [2023-01-03T18:38:55.690Z] 4872d77fe225: Download complete [2023-01-03T18:38:55.690Z] 5851b861e8e6: Verifying Checksum [2023-01-03T18:38:55.690Z] 5851b861e8e6: Download complete [2023-01-03T18:38:55.690Z] b85a868b505f: Verifying Checksum [2023-01-03T18:38:55.690Z] b85a868b505f: Download complete [2023-01-03T18:38:55.949Z] bab4dde63d76: Verifying Checksum [2023-01-03T18:38:55.949Z] bab4dde63d76: Download complete [2023-01-03T18:38:56.887Z] b85a868b505f: Pull complete [2023-01-03T18:38:57.146Z] e2be974225ed: Pull complete [2023-01-03T18:38:57.715Z] 339a4e72a1f5: Pull complete [2023-01-03T18:38:57.715Z] 988bab9f4d93: Pull complete [2023-01-03T18:38:57.975Z] 1469e6f7b9e6: Pull complete [2023-01-03T18:38:57.975Z] eaf3925da568: Pull complete [2023-01-03T18:38:59.887Z] bab4dde63d76: Pull complete [2023-01-03T18:38:59.887Z] bde34c3a00c8: Pull complete [2023-01-03T18:38:59.887Z] b352a97aabf1: Pull complete [2023-01-03T18:38:59.887Z] 4872d77fe225: Pull complete [2023-01-03T18:38:59.887Z] 5851b861e8e6: Pull complete [2023-01-03T18:38:59.887Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-03T18:38:59.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T18:38:59.887Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:38:59.985Z] prd-ubuntu20.04-docker-8c-8g-936 does not seem to be running inside a container [2023-01-03T18:39:00.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-203 -v /w/workspace/undry_device-onvif-camera_PR-203:/w/workspace/undry_device-onvif-camera_PR-203:rw,z -v /w/workspace/undry_device-onvif-camera_PR-203@tmp:/w/workspace/undry_device-onvif-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T18:39:02.457Z] $ docker top 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a -eo pid,comm [2023-01-03T18:39:02.504Z] 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). [2023-01-03T18:39:02.504Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T18:39:02.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:39:02.542Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:39:02.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:39:02.701Z] $ docker exec 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a ssh-agent [2023-01-03T18:39:02.798Z] SSH_AUTH_SOCK=/tmp/ssh-2KjoSRh27ze5/agent.32 [2023-01-03T18:39:02.798Z] SSH_AGENT_PID=38 [2023-01-03T18:39:02.806Z] Running ssh-add (command line suppressed) [2023-01-03T18:39:02.908Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-203@tmp/private_key_1910328592142169946.key (/w/workspace/undry_device-onvif-camera_PR-203@tmp/private_key_1910328592142169946.key) [2023-01-03T18:39:02.919Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:39:03.206Z] + git tag --points-at HEAD [Pipeline] } [2023-01-03T18:39:03.224Z] $ docker exec --env ******** --env ******** 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a ssh-agent -k [2023-01-03T18:39:03.310Z] unset SSH_AUTH_SOCK; [2023-01-03T18:39:03.310Z] unset SSH_AGENT_PID; [2023-01-03T18:39:03.311Z] echo Agent pid 38 killed; [2023-01-03T18:39:03.318Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-03T18:39:03.338Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T18:39:03.338Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T18:39:03.447Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T18:39:03.453Z] $ docker exec 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a ssh-agent [2023-01-03T18:39:03.562Z] SSH_AUTH_SOCK=/tmp/ssh-58nh0jWTK9I3/agent.71 [2023-01-03T18:39:03.562Z] SSH_AGENT_PID=77 [2023-01-03T18:39:03.567Z] Running ssh-add (command line suppressed) [2023-01-03T18:39:03.667Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-203@tmp/private_key_2494220659255956334.key (/w/workspace/undry_device-onvif-camera_PR-203@tmp/private_key_2494220659255956334.key) [2023-01-03T18:39:03.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T18:39:03.966Z] + git semver init [2023-01-03T18:39:04.226Z] 2023-01-03 18:39:04,136 [run_init] DEBUG init version:0.0.0 force:False [2023-01-03T18:39:04.226Z] 2023-01-03 18:39:04,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-203/.semver [2023-01-03T18:39:04.226Z] 2023-01-03 18:39:04,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-203/.semver [2023-01-03T18:39:04.226Z] 2023-01-03 18:39:04,137 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-203/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-203, universal_newlines=False, shell=None, istream=None) [2023-01-03T18:39:05.163Z] 2023-01-03 18:39:05,092 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-203/.git/info/exclude [2023-01-03T18:39:05.163Z] 2023-01-03 18:39:05,092 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-203/.semver/PR-203 with force:False [2023-01-03T18:39:05.163Z] 2023-01-03 18:39:05,093 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-203/.semver/PR-203 [2023-01-03T18:39:05.163Z] 2023-01-03 18:39:05,095 [execute] INFO git cat-file --batch-check [2023-01-03T18:39:05.163Z] 2023-01-03 18:39:05,096 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:39:05.163Z] 2023-01-03 18:39:05,100 [execute] INFO git cat-file --batch [2023-01-03T18:39:05.163Z] 2023-01-03 18:39:05,101 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-203/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T18:39:05.163Z] 2023-01-03 18:39:05,105 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-203/.semver/PR-203 [2023-01-03T18:39:05.163Z] 0.0.0 [Pipeline] } [2023-01-03T18:39:05.175Z] $ docker exec --env ******** --env ******** 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a ssh-agent -k [2023-01-03T18:39:05.265Z] unset SSH_AUTH_SOCK; [2023-01-03T18:39:05.265Z] unset SSH_AGENT_PID; [2023-01-03T18:39:05.265Z] echo Agent pid 77 killed; [2023-01-03T18:39:05.273Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T18:39:05.570Z] + git semver [Pipeline] } [2023-01-03T18:39:05.848Z] $ docker stop --time=1 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a [2023-01-03T18:39:07.147Z] $ docker rm -f --volumes 518b586e1de9fc1cb3b0633c50bcd96bc88abbc80cb40a844f86cd744bf3742a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:39:07.481Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-03T18:39:07.684Z] Stashed 1 file(s) [Pipeline] echo [2023-01-03T18:39:07.687Z] [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 [2023-01-03T18:39:07.830Z] provisioning config files... [2023-01-03T18:39:07.839Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-203@tmp/config11964117579698475468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:39:08.132Z] ---> docker-login.sh [2023-01-03T18:39:08.132Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:39:08.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:39:08.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:39:08.132Z] Configure a credential helper to remove this warning. See [2023-01-03T18:39:08.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:39:08.132Z] [2023-01-03T18:39:08.132Z] Login Succeeded [2023-01-03T18:39:08.132Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:39:08.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:39:08.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:39:08.132Z] Configure a credential helper to remove this warning. See [2023-01-03T18:39:08.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:39:08.132Z] [2023-01-03T18:39:08.132Z] Login Succeeded [2023-01-03T18:39:08.132Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:39:08.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:39:08.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:39:08.392Z] Configure a credential helper to remove this warning. See [2023-01-03T18:39:08.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:39:08.392Z] [2023-01-03T18:39:08.392Z] Login Succeeded [2023-01-03T18:39:08.392Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:39:08.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:39:08.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:39:08.392Z] Configure a credential helper to remove this warning. See [2023-01-03T18:39:08.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:39:08.392Z] [2023-01-03T18:39:08.392Z] Login Succeeded [2023-01-03T18:39:08.392Z] docker.io [2023-01-03T18:39:08.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:39:08.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:39:08.663Z] Configure a credential helper to remove this warning. See [2023-01-03T18:39:08.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:39:08.663Z] [2023-01-03T18:39:08.663Z] Login Succeeded [2023-01-03T18:39:08.663Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:39:08.672Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T18:39:08.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:39:08.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:39:08.741Z] ========================================================= [2023-01-03T18:39:08.741Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-03T18:39:08.741Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:39:09.040Z] + 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 . [2023-01-03T18:39:09.040Z] Sending build context to Docker daemon 27.56MB [2023-01-03T18:39:09.040Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:39:09.040Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-03T18:39:09.306Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-03T18:39:09.306Z] 213ec9aee27d: Pulling fs layer [2023-01-03T18:39:09.306Z] 4583459ba037: Pulling fs layer [2023-01-03T18:39:09.306Z] 93c1e223e6f2: Pulling fs layer [2023-01-03T18:39:09.306Z] 53926ce57604: Pulling fs layer [2023-01-03T18:39:09.306Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-03T18:39:09.306Z] 22ff95d597cd: Pulling fs layer [2023-01-03T18:39:09.306Z] 12d6caf4c0d1: Pulling fs layer [2023-01-03T18:39:09.306Z] 96b7cbca73a9: Pulling fs layer [2023-01-03T18:39:09.306Z] a7acece74701: Pulling fs layer [2023-01-03T18:39:09.306Z] 22ff95d597cd: Waiting [2023-01-03T18:39:09.306Z] 12d6caf4c0d1: Waiting [2023-01-03T18:39:09.306Z] 96b7cbca73a9: Waiting [2023-01-03T18:39:09.306Z] 53926ce57604: Waiting [2023-01-03T18:39:09.306Z] 21b2b0c7a3f4: Waiting [2023-01-03T18:39:09.306Z] 93c1e223e6f2: Verifying Checksum [2023-01-03T18:39:09.306Z] 93c1e223e6f2: Download complete [2023-01-03T18:39:09.306Z] 4583459ba037: Verifying Checksum [2023-01-03T18:39:09.306Z] 4583459ba037: Download complete [2023-01-03T18:39:09.306Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-03T18:39:09.306Z] 21b2b0c7a3f4: Download complete [2023-01-03T18:39:09.306Z] 22ff95d597cd: Verifying Checksum [2023-01-03T18:39:09.306Z] 213ec9aee27d: Verifying Checksum [2023-01-03T18:39:09.306Z] 213ec9aee27d: Download complete [2023-01-03T18:39:09.306Z] 12d6caf4c0d1: Download complete [2023-01-03T18:39:09.565Z] 213ec9aee27d: Pull complete [2023-01-03T18:39:09.565Z] 4583459ba037: Pull complete [2023-01-03T18:39:09.565Z] 93c1e223e6f2: Pull complete [2023-01-03T18:39:09.824Z] a7acece74701: Verifying Checksum [2023-01-03T18:39:09.824Z] a7acece74701: Download complete [2023-01-03T18:39:10.082Z] 96b7cbca73a9: Verifying Checksum [2023-01-03T18:39:10.082Z] 96b7cbca73a9: Download complete [2023-01-03T18:39:10.082Z] 53926ce57604: Verifying Checksum [2023-01-03T18:39:10.082Z] 53926ce57604: Download complete [2023-01-03T18:39:13.368Z] 53926ce57604: Pull complete [2023-01-03T18:39:13.368Z] 21b2b0c7a3f4: Pull complete [2023-01-03T18:39:13.633Z] 22ff95d597cd: Pull complete [2023-01-03T18:39:13.633Z] 12d6caf4c0d1: Pull complete [2023-01-03T18:39:15.538Z] 96b7cbca73a9: Pull complete [2023-01-03T18:39:16.471Z] a7acece74701: Pull complete [2023-01-03T18:39:16.471Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-03T18:39:16.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-03T18:39:16.471Z] ---> db6d94c90886 [2023-01-03T18:39:16.471Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:39:19.757Z] ---> Running in 630f3073b07f [2023-01-03T18:39:19.757Z] Removing intermediate container 630f3073b07f [2023-01-03T18:39:19.757Z] ---> 298d6d81e65e [2023-01-03T18:39:19.757Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:39:19.757Z] ---> Running in ab068f51ef50 [2023-01-03T18:39:19.757Z] Removing intermediate container ab068f51ef50 [2023-01-03T18:39:19.757Z] ---> 669de2fd053f [2023-01-03T18:39:19.757Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:39:19.757Z] ---> Running in 30763d779585 [2023-01-03T18:39:19.757Z] Removing intermediate container 30763d779585 [2023-01-03T18:39:19.757Z] ---> 6ff058186c15 [2023-01-03T18:39:19.757Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:39:19.757Z] ---> Running in 0404540d101c [2023-01-03T18:39:19.757Z] Removing intermediate container 0404540d101c [2023-01-03T18:39:19.757Z] ---> 5b03f483a501 [2023-01-03T18:39:19.757Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-03T18:39:20.017Z] ---> Running in 8f59bf3a1b5d [2023-01-03T18:39:20.017Z] Removing intermediate container 8f59bf3a1b5d [2023-01-03T18:39:20.017Z] ---> 49e3d544fc1b [2023-01-03T18:39:20.017Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:39:20.017Z] ---> Running in 9e6ae540b04a [2023-01-03T18:39:20.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:39:20.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:39:20.536Z] OK: 211 MiB in 51 packages [2023-01-03T18:39:21.106Z] Removing intermediate container 9e6ae540b04a [2023-01-03T18:39:21.106Z] ---> 053816bdd8ca [2023-01-03T18:39:21.106Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-03T18:39:21.106Z] ---> Running in ff46887beff3 [2023-01-03T18:39:21.106Z] Removing intermediate container ff46887beff3 [2023-01-03T18:39:21.106Z] ---> 74d7ae86e0cd [2023-01-03T18:39:21.106Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-03T18:39:21.106Z] ---> dced186a10a6 [2023-01-03T18:39:21.106Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:39:21.106Z] ---> Running in 42e6cff6c84b [2023-01-03T18:39:22.799Z] Still waiting to schedule task [2023-01-03T18:39:22.799Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-03T18:39:43.044Z] Removing intermediate container 42e6cff6c84b [2023-01-03T18:39:43.044Z] ---> 61ab2df09146 [2023-01-03T18:39:43.044Z] Step 12/13 : COPY . . [2023-01-03T18:39:43.044Z] ---> b52597e7b52b [2023-01-03T18:39:43.044Z] Step 13/13 : RUN ${MAKE} [2023-01-03T18:39:43.044Z] ---> Running in 8158ce81fe32 [2023-01-03T18:39:43.044Z] noop [2023-01-03T18:39:43.044Z] Removing intermediate container 8158ce81fe32 [2023-01-03T18:39:43.044Z] ---> 45c2fe1836b4 [2023-01-03T18:39:43.044Z] Successfully built 45c2fe1836b4 [2023-01-03T18:39:43.044Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:39:43.363Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T18:39:43.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:39:43.435Z] prd-ubuntu20.04-docker-8c-8g-936 does not seem to be running inside a container [2023-01-03T18:39:43.468Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-203 -v /w/workspace/undry_device-onvif-camera_PR-203:/w/workspace/undry_device-onvif-camera_PR-203:rw,z -v /w/workspace/undry_device-onvif-camera_PR-203@tmp:/w/workspace/undry_device-onvif-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T18:39:43.817Z] $ docker top e83c8072ac5351dfb7742f70f53cef7754e8a9613ed1577efcbf44bd31df9016 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:39:44.162Z] + go version [2023-01-03T18:39:44.162Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-03T18:39:44.174Z] $ docker stop --time=1 e83c8072ac5351dfb7742f70f53cef7754e8a9613ed1577efcbf44bd31df9016 [2023-01-03T18:39:45.467Z] $ docker rm -f --volumes e83c8072ac5351dfb7742f70f53cef7754e8a9613ed1577efcbf44bd31df9016 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:39:45.874Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T18:39:45.874Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:39:45.946Z] prd-ubuntu20.04-docker-8c-8g-936 does not seem to be running inside a container [2023-01-03T18:39:45.974Z] $ 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-203 -v /w/workspace/undry_device-onvif-camera_PR-203:/w/workspace/undry_device-onvif-camera_PR-203:rw,z -v /w/workspace/undry_device-onvif-camera_PR-203@tmp:/w/workspace/undry_device-onvif-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T18:39:46.296Z] $ docker top 8757c53c9099a9000a03ba1ad1aadb33ac316426f265d7b2e795b34dd6b9f049 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:39:46.651Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-203 [Pipeline] fileExists [Pipeline] sh [2023-01-03T18:39:46.947Z] + make test [2023-01-03T18:39:46.947Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-03T18:39:47.206Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-03T18:39:57.182Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-03T18:40:00.472Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 29.3% of statements [2023-01-03T18:40:00.472Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-03T18:40:00.472Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.306s coverage: 86.5% of statements [2023-01-03T18:40:07.039Z] 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." [2023-01-03T18:40:07.039Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T18:40:10.323Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T18:40:10.323Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T18:40:10.323Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T18:40:10.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T18:40:10.346Z] $ docker stop --time=1 8757c53c9099a9000a03ba1ad1aadb33ac316426f265d7b2e795b34dd6b9f049 [2023-01-03T18:40:12.645Z] $ docker rm -f --volumes 8757c53c9099a9000a03ba1ad1aadb33ac316426f265d7b2e795b34dd6b9f049 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:40:13.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T18:40:13.138Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-03T18:40:13.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T18:40:14.038Z] + ls -al . [2023-01-03T18:40:14.038Z] total 248 [2023-01-03T18:40:14.038Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 18:39 . [2023-01-03T18:40:14.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:38 .. [2023-01-03T18:40:14.038Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:40 .git [2023-01-03T18:40:14.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:38 .github [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 3 18:38 .gitignore [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 18:38 .golangci.yml [2023-01-03T18:40:14.038Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:39 .semver [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 9742 Jan 3 18:38 Attribution.txt [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 3 18:38 CHANGELOG.md [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 1619 Jan 3 18:38 Dockerfile [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:38 GOVERNANCE.md [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 3 18:38 Jenkinsfile [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 18:38 LICENSE [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 2858 Jan 3 18:38 Makefile [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 3 18:38 OWNERS.md [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 3 18:38 README.md [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 18:39 VERSION [2023-01-03T18:40:14.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:38 bin [2023-01-03T18:40:14.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:38 cmd [2023-01-03T18:40:14.038Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 3 18:40 coverage.out [2023-01-03T18:40:14.038Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 18:38 doc [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 3 18:38 go.mod [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 3 18:38 go.sum [2023-01-03T18:40:14.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:38 internal [2023-01-03T18:40:14.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:38 snap [2023-01-03T18:40:14.038Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 3 18:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:40:14.337Z] + 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=3c7099823a15321e4c104e4563a39310db07d158 --label arch=amd64 --label version=0.0.0 . [2023-01-03T18:40:14.337Z] Sending build context to Docker daemon 27.64MB [2023-01-03T18:40:14.337Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:40:14.337Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-03T18:40:14.337Z] ---> 45c2fe1836b4 [2023-01-03T18:40:14.337Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:40:14.903Z] ---> Running in 734bcd35989f [2023-01-03T18:40:14.903Z] Removing intermediate container 734bcd35989f [2023-01-03T18:40:14.903Z] ---> 3de1af58d3db [2023-01-03T18:40:14.903Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:40:14.903Z] ---> Running in 398fe87a7c6e [2023-01-03T18:40:14.903Z] Removing intermediate container 398fe87a7c6e [2023-01-03T18:40:14.903Z] ---> 530a96afa2c6 [2023-01-03T18:40:14.903Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:40:14.903Z] ---> Running in 942b4eb92e37 [2023-01-03T18:40:14.903Z] Removing intermediate container 942b4eb92e37 [2023-01-03T18:40:14.903Z] ---> 82526018d355 [2023-01-03T18:40:14.903Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:40:14.903Z] ---> Running in 488d27ad356f [2023-01-03T18:40:15.162Z] Removing intermediate container 488d27ad356f [2023-01-03T18:40:15.162Z] ---> b82491185f03 [2023-01-03T18:40:15.162Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-03T18:40:15.162Z] ---> Running in a4fced2ce413 [2023-01-03T18:40:15.162Z] Removing intermediate container a4fced2ce413 [2023-01-03T18:40:15.162Z] ---> feb4ddc0875f [2023-01-03T18:40:15.162Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:40:15.162Z] ---> Running in 9c852fffab9d [2023-01-03T18:40:15.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:40:15.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:40:15.938Z] OK: 211 MiB in 51 packages [2023-01-03T18:40:16.199Z] Removing intermediate container 9c852fffab9d [2023-01-03T18:40:16.199Z] ---> 8502b983af9b [2023-01-03T18:40:16.199Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-03T18:40:16.199Z] ---> Running in 08c9ced93655 [2023-01-03T18:40:16.199Z] Removing intermediate container 08c9ced93655 [2023-01-03T18:40:16.199Z] ---> d2eab92b45d4 [2023-01-03T18:40:16.199Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-03T18:40:16.459Z] ---> ab09c21e6781 [2023-01-03T18:40:16.459Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:40:16.459Z] ---> Running in 9dc797607619 [2023-01-03T18:40:17.029Z] Removing intermediate container 9dc797607619 [2023-01-03T18:40:17.029Z] ---> 1a34cec8e36d [2023-01-03T18:40:17.029Z] Step 12/26 : COPY . . [2023-01-03T18:40:17.985Z] ---> e4e5ffff97e4 [2023-01-03T18:40:17.985Z] Step 13/26 : RUN ${MAKE} [2023-01-03T18:40:17.985Z] ---> Running in 60cf4fea2125 [2023-01-03T18:40:17.985Z] 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/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-01-03T18:40:39.914Z] Removing intermediate container 60cf4fea2125 [2023-01-03T18:40:39.914Z] ---> 9d79fa91688e [2023-01-03T18:40:39.914Z] Step 14/26 : FROM alpine:3.16 [2023-01-03T18:40:39.914Z] 3.16: Pulling from library/alpine [2023-01-03T18:40:39.914Z] ca7dd9ec2225: Pulling fs layer [2023-01-03T18:40:39.914Z] ca7dd9ec2225: Verifying Checksum [2023-01-03T18:40:39.914Z] ca7dd9ec2225: Download complete [2023-01-03T18:40:39.914Z] ca7dd9ec2225: Pull complete [2023-01-03T18:40:39.914Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T18:40:39.914Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T18:40:39.914Z] ---> bfe296a52501 [2023-01-03T18:40:39.914Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-03T18:40:39.914Z] ---> Running in f0a64d155b2c [2023-01-03T18:40:39.914Z] Removing intermediate container f0a64d155b2c [2023-01-03T18:40:39.914Z] ---> 60540157f9b9 [2023-01-03T18:40:39.914Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T18:40:39.914Z] ---> Running in f7693740dfd3 [2023-01-03T18:40:39.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T18:40:39.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T18:40:39.914Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T18:40:39.914Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T18:40:39.914Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T18:40:39.914Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T18:40:39.914Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T18:40:39.914Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T18:40:39.914Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:40:39.914Z] OK: 8 MiB in 20 packages [2023-01-03T18:40:40.172Z] Removing intermediate container f7693740dfd3 [2023-01-03T18:40:40.172Z] ---> 23095d8e0fd9 [2023-01-03T18:40:40.172Z] Step 17/26 : WORKDIR / [2023-01-03T18:40:40.172Z] ---> Running in 8bc4816c0394 [2023-01-03T18:40:40.172Z] Removing intermediate container 8bc4816c0394 [2023-01-03T18:40:40.172Z] ---> 8e1d1fcceb31 [2023-01-03T18:40:40.172Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-03T18:40:41.108Z] ---> 1f89eb03976f [2023-01-03T18:40:41.108Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-03T18:40:41.108Z] ---> 01d38431e740 [2023-01-03T18:40:41.108Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-03T18:40:41.108Z] ---> 0535ca639f8e [2023-01-03T18:40:41.108Z] Step 21/26 : EXPOSE 59984 [2023-01-03T18:40:41.108Z] ---> Running in 5ec34bf5ca9c [2023-01-03T18:40:41.367Z] Removing intermediate container 5ec34bf5ca9c [2023-01-03T18:40:41.367Z] ---> 81be9ae62bf0 [2023-01-03T18:40:41.367Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-03T18:40:41.367Z] ---> Running in 170e420cfee2 [2023-01-03T18:40:41.367Z] Removing intermediate container 170e420cfee2 [2023-01-03T18:40:41.367Z] ---> d1780e12c22f [2023-01-03T18:40:41.367Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T18:40:41.367Z] ---> Running in bcd4cac916c8 [2023-01-03T18:40:41.367Z] Removing intermediate container bcd4cac916c8 [2023-01-03T18:40:41.367Z] ---> 49f7440236ca [2023-01-03T18:40:41.367Z] Step 24/26 : LABEL arch=amd64 [2023-01-03T18:40:41.367Z] ---> Running in aaf535fd43d3 [2023-01-03T18:40:41.626Z] Removing intermediate container aaf535fd43d3 [2023-01-03T18:40:41.627Z] ---> 54c71db39c29 [2023-01-03T18:40:41.627Z] Step 25/26 : LABEL git_sha=3c7099823a15321e4c104e4563a39310db07d158 [2023-01-03T18:40:41.627Z] ---> Running in 59bd68528e5c [2023-01-03T18:40:41.627Z] Removing intermediate container 59bd68528e5c [2023-01-03T18:40:41.627Z] ---> 0d8f7d5eb7f9 [2023-01-03T18:40:41.627Z] Step 26/26 : LABEL version=0.0.0 [2023-01-03T18:40:41.627Z] ---> Running in 93da4331cdf4 [2023-01-03T18:40:41.627Z] Removing intermediate container 93da4331cdf4 [2023-01-03T18:40:41.627Z] ---> c7ee3379070b [2023-01-03T18:40:41.627Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T18:40:41.627Z] Successfully built c7ee3379070b [2023-01-03T18:40:41.627Z] 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 [2023-01-03T18:40:42.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:40:42.051Z] [2023-01-03T18:40:42.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:40:42.348Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:40:42.348Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-03T18:40:42.348Z] 5eb5b503b376: Pulling fs layer [2023-01-03T18:40:42.348Z] 5c69ac0246d0: Pulling fs layer [2023-01-03T18:40:42.348Z] ec43610c2a17: Pulling fs layer [2023-01-03T18:40:42.348Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-03T18:40:42.348Z] 33b1e0a273af: Pulling fs layer [2023-01-03T18:40:42.348Z] 5d3b04190fa2: Pulling fs layer [2023-01-03T18:40:42.348Z] 2f39f015ded8: Pulling fs layer [2023-01-03T18:40:42.348Z] 3a2ae6a8a46f: Waiting [2023-01-03T18:40:42.348Z] 5d3b04190fa2: Waiting [2023-01-03T18:40:42.348Z] 2f39f015ded8: Waiting [2023-01-03T18:40:42.348Z] 33b1e0a273af: Waiting [2023-01-03T18:40:42.348Z] 5c69ac0246d0: Download complete [2023-01-03T18:40:42.348Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-03T18:40:42.348Z] 3a2ae6a8a46f: Download complete [2023-01-03T18:40:42.348Z] 33b1e0a273af: Verifying Checksum [2023-01-03T18:40:42.348Z] 33b1e0a273af: Download complete [2023-01-03T18:40:42.348Z] 5d3b04190fa2: Verifying Checksum [2023-01-03T18:40:42.348Z] 5d3b04190fa2: Download complete [2023-01-03T18:40:42.609Z] ec43610c2a17: Verifying Checksum [2023-01-03T18:40:42.609Z] ec43610c2a17: Download complete [2023-01-03T18:40:42.609Z] 5eb5b503b376: Verifying Checksum [2023-01-03T18:40:42.609Z] 5eb5b503b376: Download complete [2023-01-03T18:40:43.176Z] 2f39f015ded8: Download complete [2023-01-03T18:40:43.741Z] 5eb5b503b376: Pull complete [2023-01-03T18:40:44.001Z] 5c69ac0246d0: Pull complete [2023-01-03T18:40:44.568Z] ec43610c2a17: Pull complete [2023-01-03T18:40:44.568Z] 3a2ae6a8a46f: Pull complete [2023-01-03T18:40:44.568Z] 33b1e0a273af: Pull complete [2023-01-03T18:40:44.826Z] 5d3b04190fa2: Pull complete [2023-01-03T18:40:49.007Z] 2f39f015ded8: Pull complete [2023-01-03T18:40:49.007Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-03T18:40:49.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:40:49.007Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:40:49.092Z] prd-ubuntu20.04-docker-8c-8g-936 does not seem to be running inside a container [2023-01-03T18:40:49.119Z] $ 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-203 -v /w/workspace/undry_device-onvif-camera_PR-203:/w/workspace/undry_device-onvif-camera_PR-203:rw,z -v /w/workspace/undry_device-onvif-camera_PR-203@tmp:/w/workspace/undry_device-onvif-camera_PR-203@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T18:40:52.075Z] $ docker top fd954cb5b23489b728b6b90d16305fc48c2fb2266d7c0be6032e7a5bc14bee88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:40:52.431Z] ---> job-cost.sh [2023-01-03T18:40:52.431Z] lf-activate-venv: SKIPPING [2023-01-03T18:40:52.431Z] INFO: No Stack... [2023-01-03T18:40:52.689Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T18:40:52.739Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-937 in /w/workspace/undry_device-onvif-camera_PR-203 [Pipeline] { [Pipeline] ws [2023-01-03T18:40:52.747Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-01-03T18:40:52.776Z] The recommended git tool is: git [2023-01-03T18:40:52.947Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T18:40:53.239Z] + cat /w/workspace/undry_device-onvif-camera_PR-203/archives/cost.csv [2023-01-03T18:40:53.239Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T18:40:53.252Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] [2023-01-03T18:40:53.258Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] did not exist. Created. [2023-01-03T18:40:53.258Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:40:53.555Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-03T18:40:53.582Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T18:40:53.589Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T18:40:53.601Z] $ docker stop --time=1 fd954cb5b23489b728b6b90d16305fc48c2fb2266d7c0be6032e7a5bc14bee88 [2023-01-03T18:40:54.754Z] $ docker rm -f --volumes fd954cb5b23489b728b6b90d16305fc48c2fb2266d7c0be6032e7a5bc14bee88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-03T18:40:57.643Z] using credential edgex-jenkins-ssh [2023-01-03T18:40:57.659Z] Cloning the remote Git repository [2023-01-03T18:40:57.699Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-03T18:40:57.774Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-01-03T18:40:57.914Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-03T18:40:57.915Z] > git --version # timeout=10 [2023-01-03T18:40:57.943Z] > git --version # 'git version 2.25.1' [2023-01-03T18:40:57.945Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T18:40:58.002Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T18:41:01.114Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-03T18:41:01.151Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T18:41:02.684Z] Merging remotes/origin/main commit 4a1514bac2c3623567fb323734989edc763968b8 into PR head commit 3c7099823a15321e4c104e4563a39310db07d158 [2023-01-03T18:41:01.985Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-03T18:41:02.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-03T18:41:02.022Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T18:41:02.037Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-03T18:41:02.699Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T18:41:02.716Z] > git checkout -f 3c7099823a15321e4c104e4563a39310db07d158 # timeout=10 [2023-01-03T18:41:03.093Z] Merge succeeded, producing 3c7099823a15321e4c104e4563a39310db07d158 [2023-01-03T18:41:03.094Z] Checking out Revision 3c7099823a15321e4c104e4563a39310db07d158 (PR-203) [2023-01-03T18:41:03.011Z] > git remote # timeout=10 [2023-01-03T18:41:03.028Z] > git config --get remote.origin.url # timeout=10 [2023-01-03T18:41:03.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T18:41:03.055Z] > git merge 4a1514bac2c3623567fb323734989edc763968b8 # timeout=10 [2023-01-03T18:41:03.077Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-03T18:41:03.099Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T18:41:03.109Z] > git checkout -f 3c7099823a15321e4c104e4563a39310db07d158 # timeout=10 [2023-01-03T18:41:06.912Z] Commit message: "refactor!: Rename command line flags for the sake of consistency" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:41:07.674Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-03T18:41:07.675Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T18:41:07.675Z] Dload Upload Total Spent Left Speed [2023-01-03T18:41:07.945Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 38522 0 --:--:-- --:--:-- --:--:-- 38639 [Pipeline] sh [2023-01-03T18:41:08.638Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-03T18:41:09.003Z] + sudo tee /etc/docker/daemon.new [2023-01-03T18:41:09.003Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-03T18:41:09.003Z] { [2023-01-03T18:41:09.003Z] "registry-mirrors": [ [2023-01-03T18:41:09.003Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-03T18:41:09.003Z] ], [2023-01-03T18:41:09.003Z] "bip": "10.250.0.254/24", [2023-01-03T18:41:09.003Z] "hosts": [ [2023-01-03T18:41:09.003Z] "tcp://0.0.0.0:5555", [2023-01-03T18:41:09.003Z] "unix:///var/run/docker.sock" [2023-01-03T18:41:09.003Z] ], [2023-01-03T18:41:09.003Z] "mtu": 1458, [2023-01-03T18:41:09.003Z] "selinux-enabled": true, [2023-01-03T18:41:09.003Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-03T18:41:09.003Z] } [Pipeline] sh [2023-01-03T18:41:09.339Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-03T18:41:09.686Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:41:27.974Z] provisioning config files... [2023-01-03T18:41:28.004Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config15152967485032651600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:41:28.361Z] ---> docker-login.sh [2023-01-03T18:41:28.362Z] nexus3.edgexfoundry.org:10001 [2023-01-03T18:41:28.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:41:29.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:41:29.227Z] Configure a credential helper to remove this warning. See [2023-01-03T18:41:29.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:41:29.227Z] [2023-01-03T18:41:29.227Z] Login Succeeded [2023-01-03T18:41:29.227Z] nexus3.edgexfoundry.org:10002 [2023-01-03T18:41:29.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:41:29.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:41:29.498Z] Configure a credential helper to remove this warning. See [2023-01-03T18:41:29.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:41:29.498Z] [2023-01-03T18:41:29.498Z] Login Succeeded [2023-01-03T18:41:29.498Z] nexus3.edgexfoundry.org:10003 [2023-01-03T18:41:29.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:41:29.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:41:29.769Z] Configure a credential helper to remove this warning. See [2023-01-03T18:41:29.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:41:29.769Z] [2023-01-03T18:41:29.769Z] Login Succeeded [2023-01-03T18:41:29.769Z] nexus3.edgexfoundry.org:10004 [2023-01-03T18:41:30.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:41:30.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:41:30.042Z] Configure a credential helper to remove this warning. See [2023-01-03T18:41:30.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:41:30.042Z] [2023-01-03T18:41:30.042Z] Login Succeeded [2023-01-03T18:41:30.313Z] docker.io [2023-01-03T18:41:30.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T18:41:30.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T18:41:30.585Z] Configure a credential helper to remove this warning. See [2023-01-03T18:41:30.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T18:41:30.585Z] [2023-01-03T18:41:30.585Z] Login Succeeded [2023-01-03T18:41:30.585Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T18:41:30.600Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T18:41:30.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:41:30.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T18:41:30.883Z] ========================================================= [2023-01-03T18:41:30.883Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-03T18:41:30.883Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:41:31.295Z] + 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 . [2023-01-03T18:41:31.886Z] Sending build context to Docker daemon 20.49MB [2023-01-03T18:41:31.886Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:41:31.886Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-03T18:41:32.159Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-03T18:41:32.159Z] 9b18e9b68314: Pulling fs layer [2023-01-03T18:41:32.159Z] 35d82f9e3411: Pulling fs layer [2023-01-03T18:41:32.159Z] e16973657156: Pulling fs layer [2023-01-03T18:41:32.159Z] fc693d55d65f: Pulling fs layer [2023-01-03T18:41:32.159Z] 7e9fc2657dce: Pulling fs layer [2023-01-03T18:41:32.159Z] dda99020689f: Pulling fs layer [2023-01-03T18:41:32.159Z] db1c61fa0a46: Pulling fs layer [2023-01-03T18:41:32.159Z] 891c053d2c06: Pulling fs layer [2023-01-03T18:41:32.159Z] fc693d55d65f: Waiting [2023-01-03T18:41:32.159Z] 7e9fc2657dce: Waiting [2023-01-03T18:41:32.159Z] dda99020689f: Waiting [2023-01-03T18:41:32.159Z] db1c61fa0a46: Waiting [2023-01-03T18:41:32.159Z] 891c053d2c06: Waiting [2023-01-03T18:41:32.159Z] e16973657156: Download complete [2023-01-03T18:41:32.159Z] 35d82f9e3411: Download complete [2023-01-03T18:41:32.159Z] 7e9fc2657dce: Verifying Checksum [2023-01-03T18:41:32.159Z] 7e9fc2657dce: Download complete [2023-01-03T18:41:32.159Z] dda99020689f: Verifying Checksum [2023-01-03T18:41:32.159Z] dda99020689f: Download complete [2023-01-03T18:41:32.159Z] 9b18e9b68314: Verifying Checksum [2023-01-03T18:41:32.159Z] 9b18e9b68314: Download complete [2023-01-03T18:41:33.626Z] 9b18e9b68314: Pull complete [2023-01-03T18:41:33.626Z] 891c053d2c06: Verifying Checksum [2023-01-03T18:41:33.626Z] 891c053d2c06: Download complete [2023-01-03T18:41:34.222Z] 35d82f9e3411: Pull complete [2023-01-03T18:41:34.493Z] e16973657156: Pull complete [2023-01-03T18:41:35.081Z] db1c61fa0a46: Verifying Checksum [2023-01-03T18:41:35.081Z] db1c61fa0a46: Download complete [2023-01-03T18:41:35.669Z] fc693d55d65f: Verifying Checksum [2023-01-03T18:41:35.669Z] fc693d55d65f: Download complete [2023-01-03T18:41:48.019Z] fc693d55d65f: Pull complete [2023-01-03T18:41:48.019Z] 7e9fc2657dce: Pull complete [2023-01-03T18:41:48.019Z] dda99020689f: Pull complete [2023-01-03T18:41:54.691Z] db1c61fa0a46: Pull complete [2023-01-03T18:41:56.106Z] 891c053d2c06: Pull complete [2023-01-03T18:41:56.106Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-03T18:41:56.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-03T18:41:56.106Z] ---> f96f9c87975a [2023-01-03T18:41:56.106Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:41:58.051Z] ---> Running in 5224ac80cff8 [2023-01-03T18:41:58.051Z] Removing intermediate container 5224ac80cff8 [2023-01-03T18:41:58.051Z] ---> b7f29817e498 [2023-01-03T18:41:58.051Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:41:58.320Z] ---> Running in 545d3eb67ac6 [2023-01-03T18:41:58.590Z] Removing intermediate container 545d3eb67ac6 [2023-01-03T18:41:58.590Z] ---> 1b9d2bb171f0 [2023-01-03T18:41:58.590Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:41:58.590Z] ---> Running in 589de5e6c4df [2023-01-03T18:41:58.859Z] Removing intermediate container 589de5e6c4df [2023-01-03T18:41:58.859Z] ---> 46e51475b8f8 [2023-01-03T18:41:58.859Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:41:58.859Z] ---> Running in 9ed09873eaea [2023-01-03T18:41:59.447Z] Removing intermediate container 9ed09873eaea [2023-01-03T18:41:59.447Z] ---> c021cdec8463 [2023-01-03T18:41:59.447Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-03T18:41:59.447Z] ---> Running in 34277af05083 [2023-01-03T18:41:59.714Z] Removing intermediate container 34277af05083 [2023-01-03T18:41:59.714Z] ---> cbb1e9b9f286 [2023-01-03T18:41:59.714Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:41:59.714Z] ---> Running in c3498356b765 [2023-01-03T18:42:01.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:42:01.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:42:02.095Z] OK: 221 MiB in 51 packages [2023-01-03T18:42:03.056Z] Removing intermediate container c3498356b765 [2023-01-03T18:42:03.056Z] ---> 3cf11a103c31 [2023-01-03T18:42:03.056Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-03T18:42:03.056Z] ---> Running in f608071bca6f [2023-01-03T18:42:03.323Z] Removing intermediate container f608071bca6f [2023-01-03T18:42:03.323Z] ---> e8b5eed42f42 [2023-01-03T18:42:03.323Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-03T18:42:04.736Z] ---> aab5d33d1473 [2023-01-03T18:42:04.736Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:42:04.736Z] ---> Running in 98f1b60c1c70 [2023-01-03T18:43:01.156Z] Removing intermediate container 98f1b60c1c70 [2023-01-03T18:43:01.156Z] ---> 21b5b76b6fec [2023-01-03T18:43:01.156Z] Step 12/13 : COPY . . [2023-01-03T18:43:01.156Z] ---> 2ee250540950 [2023-01-03T18:43:01.156Z] Step 13/13 : RUN ${MAKE} [2023-01-03T18:43:01.156Z] ---> Running in 624298c36228 [2023-01-03T18:43:01.156Z] noop [2023-01-03T18:43:01.156Z] Removing intermediate container 624298c36228 [2023-01-03T18:43:01.156Z] ---> 15bcf90ed1e9 [2023-01-03T18:43:01.156Z] Successfully built 15bcf90ed1e9 [2023-01-03T18:43:01.156Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:43:01.507Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T18:43:01.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:43:01.702Z] prd-ubuntu20.04-docker-arm64-4c-16g-937 does not seem to be running inside a container [2023-01-03T18:43:01.769Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T18:43:02.947Z] $ docker top 65dfd2f22dd0f18e3bedf68708a911b871afe6ea82bdbdbabaf0f01bd91a60ea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:43:03.789Z] + go version [2023-01-03T18:43:03.789Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-03T18:43:03.806Z] $ docker stop --time=1 65dfd2f22dd0f18e3bedf68708a911b871afe6ea82bdbdbabaf0f01bd91a60ea [2023-01-03T18:43:05.420Z] $ docker rm -f --volumes 65dfd2f22dd0f18e3bedf68708a911b871afe6ea82bdbdbabaf0f01bd91a60ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:43:05.931Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T18:43:05.932Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:43:06.115Z] prd-ubuntu20.04-docker-arm64-4c-16g-937 does not seem to be running inside a container [2023-01-03T18:43:06.175Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T18:43:09.413Z] $ docker top cc8e4337b904c294c2c2aa5cef402949553362818966724f2b8a6a483638ab91 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:43:10.247Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-01-03T18:43:10.568Z] + make test [2023-01-03T18:43:10.568Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-03T18:43:12.504Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-03T18:44:49.142Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-03T18:44:49.142Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.205s coverage: 29.3% of statements [2023-01-03T18:44:49.142Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-03T18:45:01.496Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.157s coverage: 86.5% of statements [2023-01-03T18:45:01.764Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-03T18:45:01.764Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T18:45:33.994Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T18:45:33.994Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T18:45:33.994Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T18:45:34.014Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T18:45:34.027Z] $ docker stop --time=1 cc8e4337b904c294c2c2aa5cef402949553362818966724f2b8a6a483638ab91 [2023-01-03T18:45:35.789Z] $ docker rm -f --volumes cc8e4337b904c294c2c2aa5cef402949553362818966724f2b8a6a483638ab91 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T18:45:36.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T18:45:36.757Z] Warning: overwriting stash ‘coverage-report’ [2023-01-03T18:45:37.322Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T18:45:37.729Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T18:45:38.056Z] + ls -al . [2023-01-03T18:45:38.056Z] total 244 [2023-01-03T18:45:38.056Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 18:43 . [2023-01-03T18:45:38.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:40 .. [2023-01-03T18:45:38.056Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 18:41 .git [2023-01-03T18:45:38.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:41 .github [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 3 18:41 .gitignore [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 18:41 .golangci.yml [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 9742 Jan 3 18:41 Attribution.txt [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 3 18:41 CHANGELOG.md [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 1619 Jan 3 18:41 Dockerfile [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 18:41 GOVERNANCE.md [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 3 18:41 Jenkinsfile [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 18:41 LICENSE [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 2858 Jan 3 18:41 Makefile [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 3 18:41 OWNERS.md [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 3 18:41 README.md [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 18:39 VERSION [2023-01-03T18:45:38.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 18:41 bin [2023-01-03T18:45:38.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 18:41 cmd [2023-01-03T18:45:38.056Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 3 18:45 coverage.out [2023-01-03T18:45:38.056Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 18:41 doc [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 3 18:41 go.mod [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 3 18:41 go.sum [2023-01-03T18:45:38.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:41 internal [2023-01-03T18:45:38.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 18:41 snap [2023-01-03T18:45:38.056Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 3 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:45:38.394Z] + 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=3c7099823a15321e4c104e4563a39310db07d158 --label arch=arm64 --label version=0.0.0 . [2023-01-03T18:45:38.991Z] Sending build context to Docker daemon 20.57MB [2023-01-03T18:45:38.991Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T18:45:38.991Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-03T18:45:38.991Z] ---> 15bcf90ed1e9 [2023-01-03T18:45:38.991Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-03T18:45:40.406Z] ---> Running in dfab621308a3 [2023-01-03T18:45:40.678Z] Removing intermediate container dfab621308a3 [2023-01-03T18:45:40.678Z] ---> 2b82ec43d04d [2023-01-03T18:45:40.678Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T18:45:40.678Z] ---> Running in 8d048bb8c95f [2023-01-03T18:45:40.947Z] Removing intermediate container 8d048bb8c95f [2023-01-03T18:45:40.947Z] ---> a88607ef6a00 [2023-01-03T18:45:40.947Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T18:45:41.214Z] ---> Running in 0d37cfc9e8fb [2023-01-03T18:45:41.482Z] Removing intermediate container 0d37cfc9e8fb [2023-01-03T18:45:41.482Z] ---> 650e4deda190 [2023-01-03T18:45:41.482Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T18:45:41.482Z] ---> Running in 9a0a32803d46 [2023-01-03T18:45:41.751Z] Removing intermediate container 9a0a32803d46 [2023-01-03T18:45:41.751Z] ---> bd24a9bd88ca [2023-01-03T18:45:41.751Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-03T18:45:42.021Z] ---> Running in 2faa2e82e07f [2023-01-03T18:45:42.287Z] Removing intermediate container 2faa2e82e07f [2023-01-03T18:45:42.287Z] ---> f05255dbb549 [2023-01-03T18:45:42.287Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T18:45:42.287Z] ---> Running in 42507d158d27 [2023-01-03T18:45:43.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:45:43.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:45:44.798Z] OK: 221 MiB in 51 packages [2023-01-03T18:45:46.745Z] Removing intermediate container 42507d158d27 [2023-01-03T18:45:46.745Z] ---> 6e993633f70f [2023-01-03T18:45:46.745Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-03T18:45:46.745Z] ---> Running in aacf2f832cfc [2023-01-03T18:45:46.745Z] Removing intermediate container aacf2f832cfc [2023-01-03T18:45:46.745Z] ---> 40b972279dc3 [2023-01-03T18:45:46.745Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-03T18:45:47.330Z] ---> 2e72dbee7520 [2023-01-03T18:45:47.330Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T18:45:47.330Z] ---> Running in 168d30b59f7d [2023-01-03T18:45:49.908Z] Removing intermediate container 168d30b59f7d [2023-01-03T18:45:49.908Z] ---> 00bd062a3430 [2023-01-03T18:45:49.908Z] Step 12/26 : COPY . . [2023-01-03T18:45:52.501Z] ---> 132d13951f56 [2023-01-03T18:45:52.501Z] Step 13/26 : RUN ${MAKE} [2023-01-03T18:45:52.501Z] ---> Running in 0508b64256a1 [2023-01-03T18:45:53.462Z] 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/v3/internal/common.SDKVersion=v3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-01-03T18:48:45.208Z] Removing intermediate container 0508b64256a1 [2023-01-03T18:48:45.208Z] ---> 69d9b758a257 [2023-01-03T18:48:45.208Z] Step 14/26 : FROM alpine:3.16 [2023-01-03T18:48:45.208Z] 3.16: Pulling from library/alpine [2023-01-03T18:48:45.208Z] 6875df1f5354: Pulling fs layer [2023-01-03T18:48:45.208Z] 6875df1f5354: Verifying Checksum [2023-01-03T18:48:45.208Z] 6875df1f5354: Download complete [2023-01-03T18:48:45.208Z] 6875df1f5354: Pull complete [2023-01-03T18:48:45.208Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T18:48:45.208Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T18:48:45.208Z] ---> 2b4661558fb8 [2023-01-03T18:48:45.208Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-03T18:48:45.208Z] ---> Running in be4e65154283 [2023-01-03T18:48:45.208Z] Removing intermediate container be4e65154283 [2023-01-03T18:48:45.208Z] ---> c042af45dfa1 [2023-01-03T18:48:45.208Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T18:48:45.208Z] ---> Running in e855b35eaa11 [2023-01-03T18:48:45.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T18:48:45.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T18:48:45.208Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T18:48:45.208Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T18:48:45.208Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T18:48:45.208Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T18:48:45.208Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T18:48:45.208Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T18:48:45.208Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T18:48:45.208Z] OK: 8 MiB in 20 packages [2023-01-03T18:48:45.208Z] Removing intermediate container e855b35eaa11 [2023-01-03T18:48:45.208Z] ---> e741e24eb906 [2023-01-03T18:48:45.208Z] Step 17/26 : WORKDIR / [2023-01-03T18:48:45.208Z] ---> Running in c4c5d5f7a077 [2023-01-03T18:48:45.208Z] Removing intermediate container c4c5d5f7a077 [2023-01-03T18:48:45.208Z] ---> ad157efd0037 [2023-01-03T18:48:45.208Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-03T18:48:45.208Z] ---> dcfe7ca67174 [2023-01-03T18:48:45.208Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-03T18:48:45.208Z] ---> 6bae9daabd65 [2023-01-03T18:48:45.208Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-03T18:48:45.208Z] ---> b029f5a0f88e [2023-01-03T18:48:45.208Z] Step 21/26 : EXPOSE 59984 [2023-01-03T18:48:45.208Z] ---> Running in ac0094118024 [2023-01-03T18:48:45.208Z] Removing intermediate container ac0094118024 [2023-01-03T18:48:45.208Z] ---> 15f95c3d235b [2023-01-03T18:48:45.208Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-03T18:48:45.208Z] ---> Running in 6c242f228275 [2023-01-03T18:48:45.208Z] Removing intermediate container 6c242f228275 [2023-01-03T18:48:45.208Z] ---> a137142fcb29 [2023-01-03T18:48:45.208Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T18:48:45.208Z] ---> Running in 2a746339359b [2023-01-03T18:48:45.208Z] Removing intermediate container 2a746339359b [2023-01-03T18:48:45.208Z] ---> 21a04d9ba9f7 [2023-01-03T18:48:45.208Z] Step 24/26 : LABEL arch=arm64 [2023-01-03T18:48:45.208Z] ---> Running in 6156d7faf865 [2023-01-03T18:48:45.208Z] Removing intermediate container 6156d7faf865 [2023-01-03T18:48:45.208Z] ---> cde66d0c2f77 [2023-01-03T18:48:45.208Z] Step 25/26 : LABEL git_sha=3c7099823a15321e4c104e4563a39310db07d158 [2023-01-03T18:48:45.208Z] ---> Running in a140e4561a7b [2023-01-03T18:48:45.208Z] Removing intermediate container a140e4561a7b [2023-01-03T18:48:45.208Z] ---> 231be665c805 [2023-01-03T18:48:45.208Z] Step 26/26 : LABEL version=0.0.0 [2023-01-03T18:48:45.208Z] ---> Running in 36821c371a63 [2023-01-03T18:48:45.208Z] Removing intermediate container 36821c371a63 [2023-01-03T18:48:45.208Z] ---> 431e43cf95ae [2023-01-03T18:48:45.208Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T18:48:45.208Z] Successfully built 431e43cf95ae [2023-01-03T18:48:45.208Z] 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 [2023-01-03T18:48:45.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:48:45.619Z] [2023-01-03T18:48:45.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:48:45.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:48:45.955Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-03T18:48:45.955Z] 8998bd30e6a1: Pulling fs layer [2023-01-03T18:48:45.955Z] 04944245beec: Pulling fs layer [2023-01-03T18:48:45.955Z] 699f458cf7ca: Pulling fs layer [2023-01-03T18:48:45.955Z] 765212b225bb: Pulling fs layer [2023-01-03T18:48:45.955Z] f23df028b6ca: Pulling fs layer [2023-01-03T18:48:45.955Z] d65c8cfc05b1: Pulling fs layer [2023-01-03T18:48:45.955Z] 2437ff75d9bd: Pulling fs layer [2023-01-03T18:48:45.955Z] f23df028b6ca: Waiting [2023-01-03T18:48:45.955Z] d65c8cfc05b1: Waiting [2023-01-03T18:48:45.955Z] 2437ff75d9bd: Waiting [2023-01-03T18:48:45.955Z] 765212b225bb: Waiting [2023-01-03T18:48:46.227Z] 04944245beec: Verifying Checksum [2023-01-03T18:48:46.227Z] 04944245beec: Download complete [2023-01-03T18:48:46.227Z] 765212b225bb: Verifying Checksum [2023-01-03T18:48:46.227Z] 765212b225bb: Download complete [2023-01-03T18:48:46.227Z] f23df028b6ca: Verifying Checksum [2023-01-03T18:48:46.227Z] f23df028b6ca: Download complete [2023-01-03T18:48:46.227Z] d65c8cfc05b1: Verifying Checksum [2023-01-03T18:48:46.227Z] d65c8cfc05b1: Download complete [2023-01-03T18:48:46.497Z] 699f458cf7ca: Verifying Checksum [2023-01-03T18:48:46.497Z] 699f458cf7ca: Download complete [2023-01-03T18:48:46.767Z] 8998bd30e6a1: Verifying Checksum [2023-01-03T18:48:46.767Z] 8998bd30e6a1: Download complete [2023-01-03T18:48:49.353Z] 2437ff75d9bd: Verifying Checksum [2023-01-03T18:48:49.353Z] 2437ff75d9bd: Download complete [2023-01-03T18:48:50.761Z] 8998bd30e6a1: Pull complete [2023-01-03T18:48:51.028Z] 04944245beec: Pull complete [2023-01-03T18:48:52.443Z] 699f458cf7ca: Pull complete [2023-01-03T18:48:52.443Z] 765212b225bb: Pull complete [2023-01-03T18:48:53.402Z] f23df028b6ca: Pull complete [2023-01-03T18:48:53.402Z] d65c8cfc05b1: Pull complete [2023-01-03T18:49:08.651Z] 2437ff75d9bd: Pull complete [2023-01-03T18:49:08.651Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-03T18:49:08.651Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T18:49:08.651Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:49:08.876Z] prd-ubuntu20.04-docker-arm64-4c-16g-937 does not seem to be running inside a container [2023-01-03T18:49:08.956Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-03T18:49:12.068Z] $ docker top c9e389e21a4422aa12a47ae7841db558beae47a27859451f08edbf0ef0351258 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:49:12.962Z] ---> job-cost.sh [2023-01-03T18:49:12.962Z] lf-activate-venv: SKIPPING [2023-01-03T18:49:12.962Z] INFO: No Stack... [2023-01-03T18:49:13.554Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-03T18:49:14.143Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T18:49:14.796Z] + + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-01-03T18:49:14.796Z] cut -d, -f6 [Pipeline] lock [2023-01-03T18:49:14.872Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] [2023-01-03T18:49:14.881Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] did not exist. Created. [2023-01-03T18:49:14.881Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T18:49:15.551Z] /w/workspace/device-onvif-camera/2@tmp/durable-6907d2e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-03T18:49:16.215Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-03T18:49:16.241Z] Warning: overwriting stash ‘stack-cost’ [2023-01-03T18:49:16.308Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T18:49:16.315Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-203-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T18:49:16.334Z] $ docker stop --time=1 c9e389e21a4422aa12a47ae7841db558beae47a27859451f08edbf0ef0351258 [2023-01-03T18:49:17.909Z] $ docker rm -f --volumes c9e389e21a4422aa12a47ae7841db558beae47a27859451f08edbf0ef0351258 [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 [2023-01-03T18:49:18.354Z] provisioning config files... [2023-01-03T18:49:18.363Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-203@tmp/config4024082655235591688tmp [Pipeline] { [Pipeline] sh [2023-01-03T18:49:18.652Z] + set +x [2023-01-03T18:49:18.652Z] + bash -s -- [2023-01-03T18:49:18.652Z] + curl -s https://codecov.io/bash [2023-01-03T18:49:18.652Z] [2023-01-03T18:49:18.652Z] _____ _ [2023-01-03T18:49:18.652Z] / ____| | | [2023-01-03T18:49:18.652Z] | | ___ __| | ___ ___ _____ __ [2023-01-03T18:49:18.652Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-03T18:49:18.652Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-03T18:49:18.652Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-03T18:49:18.652Z] Bash-1.0.6 [2023-01-03T18:49:18.652Z] [2023-01-03T18:49:18.652Z] [2023-01-03T18:49:18.652Z] ==> git version 2.25.1 found [2023-01-03T18:49:18.652Z] ==> 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 [2023-01-03T18:49:18.652Z] Release-Date: 2020-01-08 [2023-01-03T18:49:18.652Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-03T18:49:18.652Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-03T18:49:18.652Z] ==> Jenkins CI detected. [2023-01-03T18:49:18.652Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-203 [2023-01-03T18:49:18.652Z] project root: . [2023-01-03T18:49:18.652Z] --> token set from env [2023-01-03T18:49:18.652Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-03T18:49:18.652Z] ==> Running gcov in . (disable via -X gcov) [2023-01-03T18:49:18.652Z] ==> Python coveragepy not found [2023-01-03T18:49:18.652Z] ==> Searching for coverage reports in: [2023-01-03T18:49:18.652Z] + . [2023-01-03T18:49:18.652Z] -> Found 1 reports [2023-01-03T18:49:18.652Z] ==> Detecting git/mercurial file structure [2023-01-03T18:49:18.912Z] ==> Reading reports [2023-01-03T18:49:18.912Z] + ./coverage.out bytes=79184 [2023-01-03T18:49:18.912Z] ==> Appending adjustments [2023-01-03T18:49:18.912Z] https://docs.codecov.io/docs/fixing-reports [2023-01-03T18:49:18.912Z] + Found adjustments [2023-01-03T18:49:18.912Z] ==> Gzipping contents [2023-01-03T18:49:18.912Z] 12K /tmp/codecov.VYehng.gz [2023-01-03T18:49:18.912Z] ==> Uploading reports [2023-01-03T18:49:18.912Z] url: https://codecov.io [2023-01-03T18:49:18.912Z] query: branch=PR-203&commit=3c7099823a15321e4c104e4563a39310db07d158&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-203%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=203&job=&cmd_args= [2023-01-03T18:49:18.912Z] -> Pinging Codecov [2023-01-03T18:49:18.912Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-203&commit=3c7099823a15321e4c104e4563a39310db07d158&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-203%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=203&job=&cmd_args= [2023-01-03T18:49:19.482Z] -> Uploading to [2023-01-03T18:49:19.482Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-03/F29A59C45E3A92E06B3E522C9905F8EF/3c7099823a15321e4c104e4563a39310db07d158/12e3a9b6-74af-45ca-8dc1-f9fea2e9b5e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T184919Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4597d9ecdf16cd016cf2708fcd8465a5529ba2dd270f00b5a8f1335a4dddaace [2023-01-03T18:49:19.482Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T18:49:19.482Z] Dload Upload Total Spent Left Speed [2023-01-03T18:49:19.482Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10869 0 0 100 10869 0 54893 --:--:-- --:--:-- --:--:-- 54893 [2023-01-03T18:49:19.482Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/3c7099823a15321e4c104e4563a39310db07d158 [Pipeline] } [2023-01-03T18:49:19.490Z] 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 [2023-01-03T18:49:20.259Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-203/archives ] [2023-01-03T18:49:20.259Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-203/archives [2023-01-03T18:49:20.259Z] total 16 [2023-01-03T18:49:20.259Z] drwxr-xr-x 3 root root 4096 Jan 3 18:40 . [2023-01-03T18:49:20.259Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 18:40 .. [2023-01-03T18:49:20.259Z] drwxr-xr-x 2 root root 4096 Jan 3 18:40 cost [2023-01-03T18:49:20.259Z] -rw-r--r-- 1 root root 91 Jan 3 18:40 cost.csv [2023-01-03T18:49:20.259Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-203/archives [2023-01-03T18:49:20.259Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-203/archives [2023-01-03T18:49:20.259Z] total 16 [2023-01-03T18:49:20.259Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 18:40 . [2023-01-03T18:49:20.259Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 18:40 .. [2023-01-03T18:49:20.259Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 18:40 cost [2023-01-03T18:49:20.259Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 3 18:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:49:20.553Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:49:21.416Z] ---> package-listing.sh [2023-01-03T18:49:21.416Z] ++ facter osfamily [2023-01-03T18:49:21.416Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-03T18:49:21.676Z] + OS_FAMILY=debian [2023-01-03T18:49:21.676Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-203 [2023-01-03T18:49:21.676Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-03T18:49:21.676Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-03T18:49:21.676Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-03T18:49:21.676Z] + PACKAGES=/tmp/packages_start.txt [2023-01-03T18:49:21.676Z] + '[' /w/workspace/undry_device-onvif-camera_PR-203 ']' [2023-01-03T18:49:21.676Z] + PACKAGES=/tmp/packages_end.txt [2023-01-03T18:49:21.676Z] + case "${OS_FAMILY}" in [2023-01-03T18:49:21.676Z] + dpkg -l [2023-01-03T18:49:21.676Z] + grep '^ii' [2023-01-03T18:49:21.676Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-03T18:49:21.676Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-03T18:49:21.676Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-03T18:49:21.676Z] + '[' /w/workspace/undry_device-onvif-camera_PR-203 ']' [2023-01-03T18:49:21.676Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-203/archives/ [2023-01-03T18:49:21.676Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-203/archives/ [Pipeline] echo [2023-01-03T18:49:21.689Z] 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-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-03T18:49:21.967Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T18:49:22.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T18:49:22.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T18:49:22.610Z] prd-ubuntu20.04-docker-8c-8g-936 does not seem to be running inside a container [2023-01-03T18:49:22.640Z] $ 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-203/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-203 -v /w/workspace/undry_device-onvif-camera_PR-203:/w/workspace/undry_device-onvif-camera_PR-203:rw,z -v /w/workspace/undry_device-onvif-camera_PR-203@tmp:/w/workspace/undry_device-onvif-camera_PR-203@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 [2023-01-03T18:49:22.822Z] $ docker top bd8d736fc749b4f1f5c9ead1decd218e3285b3a848be50c21beec499f3275550 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T18:49:23.169Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-03T18:49:23.454Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-03T18:49:23.742Z] + ls /var/log/sa-host [2023-01-03T18:49:23.742Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T18:49:23.902Z] provisioning config files... [2023-01-03T18:49:23.912Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-203@tmp/config17747365451740890167tmp [Pipeline] { [Pipeline] echo [2023-01-03T18:49:23.925Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:49:24.208Z] ---> create-netrc.sh [Pipeline] } [2023-01-03T18:49:24.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:49:24.551Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-03T18:49:24.560Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:49:24.844Z] ---> sudo-logs.sh [2023-01-03T18:49:24.844Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-03T18:49:24.873Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:49:25.165Z] ---> job-cost.sh [2023-01-03T18:49:25.165Z] lf-activate-venv: SKIPPING [2023-01-03T18:49:25.165Z] DEBUG: total: 0.2199999988079071 [2023-01-03T18:49:25.165Z] INFO: Retrieving Stack Cost... [2023-01-03T18:49:25.733Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T18:49:26.300Z] INFO: Archiving Costs [Pipeline] echo [2023-01-03T18:49:26.313Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T18:49:26.597Z] ---> logs-deploy.sh [2023-01-03T18:49:26.597Z] lf-activate-venv: SKIPPING [2023-01-03T18:49:26.597Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-203/2 [2023-01-03T18:49:26.597Z] INFO: archiving workspace using pattern(s): [2023-01-03T18:49:27.533Z] Archives upload complete. [2023-01-03T18:49:27.792Z] INFO: archiving logs to Nexus