Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0fd57abbf79406ca3a821838202456f9ee8499c 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-ssh9895493357459802572.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3532513434378005245.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh280531245336706919.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh15759447778580072919.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8797540747109813426.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2553’ Running on prd-ubuntu20.04-docker-8c-8g-2556 in /w/workspace/foundry_device-onvif-camera_main [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/foundry_device-onvif-camera_main # 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 Avoid second fetch Checking out Revision a0fd57abbf79406ca3a821838202456f9ee8499c (main) Commit message: "Merge pull request #252 from EdgeX-Camera-Management/log-response" > 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 core.sparsecheckout # timeout=10 > git checkout -f a0fd57abbf79406ca3a821838202456f9ee8499c # timeout=10 > git rev-list --no-walk dcb5ff70d07d89643353ce084bf74e7176a8b088 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T00:27:11.660Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T00:27:11.717Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T00:27:11.735Z] ========================================================= [2023-03-17T00:27:11.736Z] EdgeX Global Pipelines Version Info [2023-03-17T00:27:11.736Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:27:12.433Z] ------------------- [2023-03-17T00:27:12.433Z] stable info: [2023-03-17T00:27:12.433Z] ------------------- [2023-03-17T00:27:12.433Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T00:27:12.433Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T00:27:12.433Z] Message: update stable to v1.0.245 [2023-03-17T00:27:13.003Z] ------------------- [2023-03-17T00:27:13.003Z] experimental info: [2023-03-17T00:27:13.003Z] ------------------- [2023-03-17T00:27:13.003Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T00:27:13.003Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T00:27:13.003Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T00:27:13.153Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-17T00:27:13.161Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-17T00:27:13.173Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T00:27:13.184Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T00:27:13.200Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T00:27:13.215Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T00:27:13.228Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T00:27:13.237Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-17T00:27:13.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T00:27:13.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T00:27:13.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T00:27:13.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-17T00:27:13.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T00:27:13.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T00:27:13.321Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T00:27:13.336Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T00:27:13.351Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T00:27:13.362Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T00:27:13.383Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T00:27:13.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T00:27:13.414Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-17T00:27:13.430Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-17T00:27:13.447Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T00:27:13.463Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T00:27:13.474Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T00:27:13.486Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T00:27:13.497Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T00:27:13.509Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-17T00:27:13.523Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-17T00:27:13.544Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-17T00:27:13.561Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0fd57abbf79406ca3a821838202456f9ee8499c [Pipeline] echo [2023-03-17T00:27:13.579Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0fd57a [Pipeline] echo [2023-03-17T00:27:13.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T00:27:13.653Z] provisioning config files... [2023-03-17T00:27:13.666Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2170260291476820601tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:27:13.971Z] ---> docker-login.sh [2023-03-17T00:27:13.972Z] nexus3.edgexfoundry.org:10001 [2023-03-17T00:27:14.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:27:14.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:27:14.232Z] Configure a credential helper to remove this warning. See [2023-03-17T00:27:14.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:27:14.232Z] [2023-03-17T00:27:14.232Z] Login Succeeded [2023-03-17T00:27:14.232Z] nexus3.edgexfoundry.org:10002 [2023-03-17T00:27:14.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:27:14.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:27:14.493Z] Configure a credential helper to remove this warning. See [2023-03-17T00:27:14.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:27:14.493Z] [2023-03-17T00:27:14.493Z] Login Succeeded [2023-03-17T00:27:14.493Z] nexus3.edgexfoundry.org:10003 [2023-03-17T00:27:14.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:27:14.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:27:14.493Z] Configure a credential helper to remove this warning. See [2023-03-17T00:27:14.493Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:27:14.493Z] [2023-03-17T00:27:14.493Z] Login Succeeded [2023-03-17T00:27:14.493Z] nexus3.edgexfoundry.org:10004 [2023-03-17T00:27:14.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:27:14.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:27:14.753Z] Configure a credential helper to remove this warning. See [2023-03-17T00:27:14.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:27:14.753Z] [2023-03-17T00:27:14.753Z] Login Succeeded [2023-03-17T00:27:14.753Z] docker.io [2023-03-17T00:27:14.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:27:15.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:27:15.013Z] Configure a credential helper to remove this warning. See [2023-03-17T00:27:15.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:27:15.013Z] [2023-03-17T00:27:15.013Z] Login Succeeded [2023-03-17T00:27:15.013Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T00:27:15.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T00:27:15.373Z] + git rev-list -1 --merges a0fd57abbf79406ca3a821838202456f9ee8499c~1..a0fd57abbf79406ca3a821838202456f9ee8499c [Pipeline] echo [2023-03-17T00:27:15.414Z] -----------> git rev-list -1 --merges a0fd57abbf79406ca3a821838202456f9ee8499c~1..a0fd57abbf79406ca3a821838202456f9ee8499c a0fd57abbf79406ca3a821838202456f9ee8499c [2023-03-17T00:27:15.414Z] a0fd57abbf79406ca3a821838202456f9ee8499c [false] [Pipeline] sh [2023-03-17T00:27:15.701Z] + git log --format=format:%s -1 a0fd57abbf79406ca3a821838202456f9ee8499c [Pipeline] echo [2023-03-17T00:27:15.718Z] ========================================================= [2023-03-17T00:27:15.719Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T00:27:15.719Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T00:27:16.060Z] + git log --format=format:%s -1 a0fd57abbf79406ca3a821838202456f9ee8499c [Pipeline] echo [2023-03-17T00:27:16.071Z] [semverPrep] GIT_COMMIT: a0fd57abbf79406ca3a821838202456f9ee8499c, Commit Message: Merge pull request #252 from EdgeX-Camera-Management/log-response [Pipeline] echo [2023-03-17T00:27:16.082Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T00:27:16.455Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T00:27:16.455Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T00:27:16.455Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T00:27:16.455Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T00:27:16.455Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T00:27:16.455Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T00:27:16.455Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:27:16.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T00:27:16.901Z] [2023-03-17T00:27:16.901Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:27:17.201Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T00:27:17.201Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T00:27:17.201Z] b85a868b505f: Pulling fs layer [2023-03-17T00:27:17.201Z] e2be974225ed: Pulling fs layer [2023-03-17T00:27:17.201Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T00:27:17.201Z] 988bab9f4d93: Pulling fs layer [2023-03-17T00:27:17.201Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T00:27:17.201Z] eaf3925da568: Pulling fs layer [2023-03-17T00:27:17.201Z] bab4dde63d76: Pulling fs layer [2023-03-17T00:27:17.201Z] bde34c3a00c8: Pulling fs layer [2023-03-17T00:27:17.201Z] b352a97aabf1: Pulling fs layer [2023-03-17T00:27:17.201Z] 4872d77fe225: Pulling fs layer [2023-03-17T00:27:17.201Z] 5851b861e8e6: Pulling fs layer [2023-03-17T00:27:17.201Z] bab4dde63d76: Waiting [2023-03-17T00:27:17.201Z] 4872d77fe225: Waiting [2023-03-17T00:27:17.201Z] bde34c3a00c8: Waiting [2023-03-17T00:27:17.201Z] b352a97aabf1: Waiting [2023-03-17T00:27:17.201Z] 5851b861e8e6: Waiting [2023-03-17T00:27:17.201Z] 1469e6f7b9e6: Waiting [2023-03-17T00:27:17.201Z] eaf3925da568: Waiting [2023-03-17T00:27:17.201Z] e2be974225ed: Verifying Checksum [2023-03-17T00:27:17.201Z] e2be974225ed: Download complete [2023-03-17T00:27:17.201Z] 988bab9f4d93: Verifying Checksum [2023-03-17T00:27:17.201Z] 988bab9f4d93: Download complete [2023-03-17T00:27:17.462Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T00:27:17.462Z] 1469e6f7b9e6: Download complete [2023-03-17T00:27:17.462Z] eaf3925da568: Verifying Checksum [2023-03-17T00:27:17.462Z] eaf3925da568: Download complete [2023-03-17T00:27:17.462Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T00:27:17.462Z] 339a4e72a1f5: Download complete [2023-03-17T00:27:17.462Z] bde34c3a00c8: Verifying Checksum [2023-03-17T00:27:17.462Z] bde34c3a00c8: Download complete [2023-03-17T00:27:17.462Z] b352a97aabf1: Verifying Checksum [2023-03-17T00:27:17.462Z] b352a97aabf1: Download complete [2023-03-17T00:27:17.462Z] 4872d77fe225: Verifying Checksum [2023-03-17T00:27:17.462Z] 4872d77fe225: Download complete [2023-03-17T00:27:17.462Z] 5851b861e8e6: Download complete [2023-03-17T00:27:17.462Z] b85a868b505f: Verifying Checksum [2023-03-17T00:27:17.462Z] b85a868b505f: Download complete [2023-03-17T00:27:17.720Z] bab4dde63d76: Verifying Checksum [2023-03-17T00:27:17.720Z] bab4dde63d76: Download complete [2023-03-17T00:27:18.657Z] b85a868b505f: Pull complete [2023-03-17T00:27:18.917Z] e2be974225ed: Pull complete [2023-03-17T00:27:19.180Z] 339a4e72a1f5: Pull complete [2023-03-17T00:27:19.439Z] 988bab9f4d93: Pull complete [2023-03-17T00:27:19.700Z] 1469e6f7b9e6: Pull complete [2023-03-17T00:27:19.700Z] eaf3925da568: Pull complete [2023-03-17T00:27:21.606Z] bab4dde63d76: Pull complete [2023-03-17T00:27:21.606Z] bde34c3a00c8: Pull complete [2023-03-17T00:27:21.606Z] b352a97aabf1: Pull complete [2023-03-17T00:27:21.606Z] 4872d77fe225: Pull complete [2023-03-17T00:27:21.865Z] 5851b861e8e6: Pull complete [2023-03-17T00:27:21.865Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T00:27:21.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T00:27:21.865Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:27:21.968Z] prd-ubuntu20.04-docker-8c-8g-2556 does not seem to be running inside a container [2023-03-17T00:27:21.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-17T00:27:23.241Z] $ docker top 7d52df5af2feb3b04c9c40e0299dd3da9e3689bf185e9c3f3ad56fa3e2d90faa -eo pid,comm [2023-03-17T00:27:23.302Z] 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-03-17T00:27:23.302Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T00:27:23.346Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T00:27:23.346Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T00:27:23.472Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T00:27:23.473Z] $ docker exec 7d52df5af2feb3b04c9c40e0299dd3da9e3689bf185e9c3f3ad56fa3e2d90faa ssh-agent [2023-03-17T00:27:23.581Z] SSH_AUTH_SOCK=/tmp/ssh-fHkU5aXXkhNL/agent.31 [2023-03-17T00:27:23.581Z] SSH_AGENT_PID=37 [2023-03-17T00:27:23.587Z] Running ssh-add (command line suppressed) [2023-03-17T00:27:23.684Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12079181364118648167.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12079181364118648167.key) [2023-03-17T00:27:23.698Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T00:27:23.991Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T00:27:24.007Z] $ docker exec --env ******** --env ******** 7d52df5af2feb3b04c9c40e0299dd3da9e3689bf185e9c3f3ad56fa3e2d90faa ssh-agent -k [2023-03-17T00:27:24.107Z] unset SSH_AUTH_SOCK; [2023-03-17T00:27:24.107Z] unset SSH_AGENT_PID; [2023-03-17T00:27:24.107Z] echo Agent pid 37 killed; [2023-03-17T00:27:24.118Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T00:27:24.148Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T00:27:24.148Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T00:27:24.264Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T00:27:24.265Z] $ docker exec 7d52df5af2feb3b04c9c40e0299dd3da9e3689bf185e9c3f3ad56fa3e2d90faa ssh-agent [2023-03-17T00:27:24.370Z] SSH_AUTH_SOCK=/tmp/ssh-EK7DQ1ga3Lvy/agent.70 [2023-03-17T00:27:24.370Z] SSH_AGENT_PID=76 [2023-03-17T00:27:24.375Z] Running ssh-add (command line suppressed) [2023-03-17T00:27:24.474Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15447785601888484169.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_15447785601888484169.key) [2023-03-17T00:27:24.491Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T00:27:24.790Z] + git semver init [2023-03-17T00:27:25.051Z] 2023-03-17 00:27:24,953 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T00:27:25.051Z] 2023-03-17 00:27:24,954 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-03-17T00:27:25.051Z] 2023-03-17 00:27:24,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-03-17T00:27:25.051Z] 2023-03-17 00:27:24,954 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) [2023-03-17T00:27:25.988Z] 2023-03-17 00:27:25,747 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-03-17T00:27:25.988Z] 2023-03-17 00:27:25,747 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-03-17T00:27:25.988Z] 2023-03-17 00:27:25,747 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-03-17T00:27:25.988Z] 2023-03-17 00:27:25,748 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-03-17T00:27:25.988Z] 3.0.0-dev.22 [Pipeline] } [2023-03-17T00:27:25.999Z] $ docker exec --env ******** --env ******** 7d52df5af2feb3b04c9c40e0299dd3da9e3689bf185e9c3f3ad56fa3e2d90faa ssh-agent -k [2023-03-17T00:27:26.106Z] unset SSH_AUTH_SOCK; [2023-03-17T00:27:26.106Z] unset SSH_AGENT_PID; [2023-03-17T00:27:26.107Z] echo Agent pid 76 killed; [2023-03-17T00:27:26.121Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T00:27:26.431Z] + git semver [Pipeline] } [2023-03-17T00:27:26.703Z] $ docker stop --time=1 7d52df5af2feb3b04c9c40e0299dd3da9e3689bf185e9c3f3ad56fa3e2d90faa [2023-03-17T00:27:28.023Z] $ docker rm -f --volumes 7d52df5af2feb3b04c9c40e0299dd3da9e3689bf185e9c3f3ad56fa3e2d90faa [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T00:27:28.368Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T00:27:28.569Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T00:27:28.572Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.22 [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-03-17T00:27:28.731Z] provisioning config files... [2023-03-17T00:27:28.741Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config4326024227304509516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:27:29.035Z] ---> docker-login.sh [2023-03-17T00:27:29.035Z] nexus3.edgexfoundry.org:10001 [2023-03-17T00:27:29.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:27:29.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:27:29.035Z] Configure a credential helper to remove this warning. See [2023-03-17T00:27:29.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:27:29.035Z] [2023-03-17T00:27:29.035Z] Login Succeeded [2023-03-17T00:27:29.035Z] nexus3.edgexfoundry.org:10002 [2023-03-17T00:27:29.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:27:29.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:27:29.035Z] Configure a credential helper to remove this warning. See [2023-03-17T00:27:29.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:27:29.035Z] [2023-03-17T00:27:29.035Z] Login Succeeded [2023-03-17T00:27:29.035Z] nexus3.edgexfoundry.org:10003 [2023-03-17T00:27:29.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:27:29.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:27:29.295Z] Configure a credential helper to remove this warning. See [2023-03-17T00:27:29.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:27:29.295Z] [2023-03-17T00:27:29.295Z] Login Succeeded [2023-03-17T00:27:29.295Z] nexus3.edgexfoundry.org:10004 [2023-03-17T00:27:29.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:27:29.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:27:29.295Z] Configure a credential helper to remove this warning. See [2023-03-17T00:27:29.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:27:29.295Z] [2023-03-17T00:27:29.295Z] Login Succeeded [2023-03-17T00:27:29.295Z] docker.io [2023-03-17T00:27:29.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:27:29.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:27:29.555Z] Configure a credential helper to remove this warning. See [2023-03-17T00:27:29.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:27:29.555Z] [2023-03-17T00:27:29.555Z] Login Succeeded [2023-03-17T00:27:29.555Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T00:27:29.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T00:27:29.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T00:27:29.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T00:27:29.655Z] ========================================================= [2023-03-17T00:27:29.655Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T00:27:29.655Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:27:29.959Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T00:27:29.959Z] Sending build context to Docker daemon 27.89MB [2023-03-17T00:27:29.959Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T00:27:29.959Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T00:27:30.222Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T00:27:30.222Z] 63b65145d645: Pulling fs layer [2023-03-17T00:27:30.222Z] a2d21d5440eb: Pulling fs layer [2023-03-17T00:27:30.222Z] 935e6c44a52c: Pulling fs layer [2023-03-17T00:27:30.222Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T00:27:30.222Z] 30dea6a524f1: Pulling fs layer [2023-03-17T00:27:30.222Z] a2aff8979fd8: Pulling fs layer [2023-03-17T00:27:30.222Z] 6808be2612f2: Pulling fs layer [2023-03-17T00:27:30.222Z] f25807f1079a: Pulling fs layer [2023-03-17T00:27:30.222Z] 30dea6a524f1: Waiting [2023-03-17T00:27:30.222Z] f25807f1079a: Waiting [2023-03-17T00:27:30.222Z] a2aff8979fd8: Waiting [2023-03-17T00:27:30.222Z] 6808be2612f2: Waiting [2023-03-17T00:27:30.222Z] 94cc34f8dd06: Waiting [2023-03-17T00:27:30.222Z] a2d21d5440eb: Download complete [2023-03-17T00:27:30.222Z] 94cc34f8dd06: Verifying Checksum [2023-03-17T00:27:30.222Z] 94cc34f8dd06: Download complete [2023-03-17T00:27:30.222Z] 30dea6a524f1: Verifying Checksum [2023-03-17T00:27:30.222Z] 30dea6a524f1: Download complete [2023-03-17T00:27:30.222Z] 63b65145d645: Verifying Checksum [2023-03-17T00:27:30.222Z] 63b65145d645: Download complete [2023-03-17T00:27:30.222Z] a2aff8979fd8: Verifying Checksum [2023-03-17T00:27:30.222Z] a2aff8979fd8: Download complete [2023-03-17T00:27:30.483Z] 63b65145d645: Pull complete [2023-03-17T00:27:30.483Z] a2d21d5440eb: Pull complete [2023-03-17T00:27:30.749Z] f25807f1079a: Verifying Checksum [2023-03-17T00:27:30.749Z] f25807f1079a: Download complete [2023-03-17T00:27:31.008Z] 935e6c44a52c: Verifying Checksum [2023-03-17T00:27:31.008Z] 935e6c44a52c: Download complete [2023-03-17T00:27:31.008Z] 6808be2612f2: Verifying Checksum [2023-03-17T00:27:31.008Z] 6808be2612f2: Download complete [2023-03-17T00:27:34.302Z] 935e6c44a52c: Pull complete [2023-03-17T00:27:34.302Z] 94cc34f8dd06: Pull complete [2023-03-17T00:27:34.302Z] 30dea6a524f1: Pull complete [2023-03-17T00:27:34.302Z] a2aff8979fd8: Pull complete [2023-03-17T00:27:36.833Z] 6808be2612f2: Pull complete [2023-03-17T00:27:37.398Z] f25807f1079a: Pull complete [2023-03-17T00:27:37.398Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T00:27:37.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T00:27:37.398Z] ---> 3b553350e43f [2023-03-17T00:27:37.398Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T00:27:39.447Z] ---> Running in ac4f9063ca7c [2023-03-17T00:27:39.447Z] Removing intermediate container ac4f9063ca7c [2023-03-17T00:27:39.447Z] ---> 648bad77ddfe [2023-03-17T00:27:39.447Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T00:27:39.447Z] ---> Running in af62b8098328 [2023-03-17T00:27:39.447Z] Removing intermediate container af62b8098328 [2023-03-17T00:27:39.447Z] ---> 4fe8172471ad [2023-03-17T00:27:39.447Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T00:27:39.447Z] ---> Running in ecb3a7ca9fa7 [2023-03-17T00:27:39.447Z] Removing intermediate container ecb3a7ca9fa7 [2023-03-17T00:27:39.447Z] ---> 04b1f8a6f1ed [2023-03-17T00:27:39.447Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T00:27:39.447Z] ---> Running in dd83c67dee52 [2023-03-17T00:27:39.711Z] Removing intermediate container dd83c67dee52 [2023-03-17T00:27:39.711Z] ---> 2e19074e7c7c [2023-03-17T00:27:39.711Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T00:27:39.711Z] ---> Running in 8bd419080cf1 [2023-03-17T00:27:39.711Z] Removing intermediate container 8bd419080cf1 [2023-03-17T00:27:39.711Z] ---> 6607ada0c4ae [2023-03-17T00:27:39.711Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T00:27:39.711Z] ---> Running in 1d7bdf8f3988 [2023-03-17T00:27:39.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T00:27:40.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T00:27:40.489Z] OK: 265 MiB in 53 packages [2023-03-17T00:27:40.750Z] Removing intermediate container 1d7bdf8f3988 [2023-03-17T00:27:40.750Z] ---> 7944d7fc5098 [2023-03-17T00:27:40.750Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T00:27:40.750Z] ---> Running in f6da6a252b09 [2023-03-17T00:27:41.008Z] Removing intermediate container f6da6a252b09 [2023-03-17T00:27:41.008Z] ---> 6bf7f50ceae7 [2023-03-17T00:27:41.008Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T00:27:41.008Z] ---> e55b342a9459 [2023-03-17T00:27:41.008Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T00:27:41.008Z] ---> Running in 37a0e3a96e73 [2023-03-17T00:27:43.684Z] Still waiting to schedule task [2023-03-17T00:27:43.685Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2554’ [2023-03-17T00:28:19.732Z] Removing intermediate container 37a0e3a96e73 [2023-03-17T00:28:19.732Z] ---> 6b7d63dda737 [2023-03-17T00:28:19.732Z] Step 12/13 : COPY . . [2023-03-17T00:28:19.732Z] ---> 3d189a2dcc73 [2023-03-17T00:28:19.732Z] Step 13/13 : RUN ${MAKE} [2023-03-17T00:28:19.732Z] ---> Running in 029e73d8d61f [2023-03-17T00:28:19.732Z] noop [2023-03-17T00:28:19.732Z] Removing intermediate container 029e73d8d61f [2023-03-17T00:28:19.732Z] ---> a8973176a7c4 [2023-03-17T00:28:19.732Z] Successfully built a8973176a7c4 [2023-03-17T00:28:19.732Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:28:20.039Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T00:28:20.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:28:20.109Z] prd-ubuntu20.04-docker-8c-8g-2556 does not seem to be running inside a container [2023-03-17T00:28:20.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat [2023-03-17T00:28:20.469Z] $ docker top e2172f164c15b1b4c615c8c931f6f49cf15d7689339abb99c77c787d8c62ab9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T00:28:20.819Z] + go version [2023-03-17T00:28:20.819Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T00:28:20.828Z] $ docker stop --time=1 e2172f164c15b1b4c615c8c931f6f49cf15d7689339abb99c77c787d8c62ab9f [2023-03-17T00:28:22.075Z] $ docker rm -f --volumes e2172f164c15b1b4c615c8c931f6f49cf15d7689339abb99c77c787d8c62ab9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:28:22.482Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T00:28:22.482Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:28:22.558Z] prd-ubuntu20.04-docker-8c-8g-2556 does not seem to be running inside a container [2023-03-17T00:28:22.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat [2023-03-17T00:28:22.904Z] $ docker top c28c85097a6e632ea368a7ff2674dbc809d0b98911c0eeae81a4f5ea2b44628d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T00:28:23.247Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-03-17T00:28:23.540Z] + make test [2023-03-17T00:28:23.540Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T00:28:28.806Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T00:28:38.779Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-17T00:28:39.714Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T00:28:42.238Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.045s coverage: 30.5% of statements [2023-03-17T00:28:44.132Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.412s coverage: 86.5% of statements [2023-03-17T00:28:52.240Z] go vet ./... [2023-03-17T00:28:56.424Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T00:28:56.424Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T00:28:56.424Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T00:28:56.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T00:28:56.455Z] $ docker stop --time=1 c28c85097a6e632ea368a7ff2674dbc809d0b98911c0eeae81a4f5ea2b44628d [2023-03-17T00:28:57.810Z] $ docker rm -f --volumes c28c85097a6e632ea368a7ff2674dbc809d0b98911c0eeae81a4f5ea2b44628d [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T00:28:58.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T00:28:58.343Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-17T00:28:58.767Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T00:28:59.051Z] + ls -al . [2023-03-17T00:28:59.051Z] total 232 [2023-03-17T00:28:59.051Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 00:28 . [2023-03-17T00:28:59.051Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 00:27 .. [2023-03-17T00:28:59.051Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 00:27 .git [2023-03-17T00:28:59.051Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 00:27 .github [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 17 00:27 .gitignore [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 00:27 .golangci.yml [2023-03-17T00:28:59.051Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 00:27 .semver [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 17 00:27 Attribution.txt [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 17 00:27 CHANGELOG.md [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 17 00:27 Dockerfile [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 00:27 GOVERNANCE.md [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 17 00:27 Jenkinsfile [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 17 00:27 LICENSE [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 17 00:27 Makefile [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 17 00:27 OWNERS.md [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 6346 Mar 17 00:27 README.md [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 17 00:27 VERSION [2023-03-17T00:28:59.051Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 00:27 bin [2023-03-17T00:28:59.051Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 00:27 cmd [2023-03-17T00:28:59.051Z] -rw-r--r-- 1 jenkins jenkins 76650 Mar 17 00:28 coverage.out [2023-03-17T00:28:59.051Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 00:27 doc [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 17 00:27 go.mod [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 17 00:27 go.sum [2023-03-17T00:28:59.051Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 00:27 internal [2023-03-17T00:28:59.051Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 00:27 snap [2023-03-17T00:28:59.051Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 17 00:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:28:59.355Z] + 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=a0fd57abbf79406ca3a821838202456f9ee8499c --label arch=amd64 --label version=3.0.0-dev.22 . [2023-03-17T00:28:59.355Z] Sending build context to Docker daemon 27.96MB [2023-03-17T00:28:59.355Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T00:28:59.355Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-17T00:28:59.355Z] ---> a8973176a7c4 [2023-03-17T00:28:59.355Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-17T00:28:59.613Z] ---> Running in b1bb36302e0e [2023-03-17T00:28:59.613Z] Removing intermediate container b1bb36302e0e [2023-03-17T00:28:59.613Z] ---> 52dfcf5af350 [2023-03-17T00:28:59.613Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T00:28:59.613Z] ---> Running in 389996406ff9 [2023-03-17T00:28:59.613Z] Removing intermediate container 389996406ff9 [2023-03-17T00:28:59.613Z] ---> a5b792db13c4 [2023-03-17T00:28:59.613Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T00:28:59.613Z] ---> Running in d097518a2fc0 [2023-03-17T00:28:59.873Z] Removing intermediate container d097518a2fc0 [2023-03-17T00:28:59.873Z] ---> 5282e0609401 [2023-03-17T00:28:59.873Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T00:28:59.873Z] ---> Running in a6c126ec448c [2023-03-17T00:28:59.873Z] Removing intermediate container a6c126ec448c [2023-03-17T00:28:59.873Z] ---> b95e740746a9 [2023-03-17T00:28:59.873Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-17T00:28:59.873Z] ---> Running in cbdb8e73ff9e [2023-03-17T00:28:59.873Z] Removing intermediate container cbdb8e73ff9e [2023-03-17T00:28:59.873Z] ---> 2984e424d49b [2023-03-17T00:28:59.873Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T00:28:59.873Z] ---> Running in f1b5cd3c5a4f [2023-03-17T00:29:00.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T00:29:00.390Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T00:29:00.653Z] OK: 265 MiB in 53 packages [2023-03-17T00:29:00.911Z] Removing intermediate container f1b5cd3c5a4f [2023-03-17T00:29:00.911Z] ---> 48a7e487a73c [2023-03-17T00:29:00.911Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-17T00:29:00.911Z] ---> Running in 5981f46fe777 [2023-03-17T00:29:00.911Z] Removing intermediate container 5981f46fe777 [2023-03-17T00:29:00.911Z] ---> c8640a40a639 [2023-03-17T00:29:00.911Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-17T00:29:01.169Z] ---> 30dcf50fad71 [2023-03-17T00:29:01.169Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T00:29:01.169Z] ---> Running in 3b286317f2e5 [2023-03-17T00:29:02.101Z] Removing intermediate container 3b286317f2e5 [2023-03-17T00:29:02.101Z] ---> 06b0c95c0bf7 [2023-03-17T00:29:02.101Z] Step 12/26 : COPY . . [2023-03-17T00:29:02.666Z] ---> 691fa21dc4a7 [2023-03-17T00:29:02.666Z] Step 13/26 : RUN ${MAKE} [2023-03-17T00:29:02.666Z] ---> Running in 33fd9f1201fc [2023-03-17T00:29:02.924Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.22" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-17T00:29:21.177Z] Removing intermediate container 33fd9f1201fc [2023-03-17T00:29:21.177Z] ---> cf5f4834f82f [2023-03-17T00:29:21.177Z] Step 14/26 : FROM alpine:3.17 [2023-03-17T00:29:21.437Z] 3.17: Pulling from library/alpine [2023-03-17T00:29:21.695Z] 63b65145d645: Already exists [2023-03-17T00:29:21.695Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T00:29:21.695Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T00:29:21.695Z] ---> b2aa39c304c2 [2023-03-17T00:29:21.695Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-17T00:29:21.695Z] ---> Running in 8c33c19435ef [2023-03-17T00:29:21.954Z] Removing intermediate container 8c33c19435ef [2023-03-17T00:29:21.954Z] ---> 0f171527731b [2023-03-17T00:29:21.954Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-17T00:29:21.954Z] ---> Running in ff491d1eae88 [2023-03-17T00:29:22.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T00:29:22.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T00:29:22.736Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-17T00:29:22.736Z] Executing busybox-1.35.0-r29.trigger [2023-03-17T00:29:22.736Z] OK: 7 MiB in 16 packages [2023-03-17T00:29:22.995Z] Removing intermediate container ff491d1eae88 [2023-03-17T00:29:22.995Z] ---> 2ace5fdf47d9 [2023-03-17T00:29:22.995Z] Step 17/26 : WORKDIR / [2023-03-17T00:29:22.995Z] ---> Running in 26b9c645ec66 [2023-03-17T00:29:22.995Z] Removing intermediate container 26b9c645ec66 [2023-03-17T00:29:22.995Z] ---> d4857f8e8e13 [2023-03-17T00:29:22.995Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-17T00:29:23.564Z] ---> c709a307b003 [2023-03-17T00:29:23.564Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-17T00:29:23.822Z] ---> 30848deead9b [2023-03-17T00:29:23.822Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-17T00:29:23.822Z] ---> 19271beacbfd [2023-03-17T00:29:23.822Z] Step 21/26 : EXPOSE 59984 [2023-03-17T00:29:23.822Z] ---> Running in 75ff26796fb0 [2023-03-17T00:29:24.080Z] Removing intermediate container 75ff26796fb0 [2023-03-17T00:29:24.080Z] ---> d80d9d904939 [2023-03-17T00:29:24.080Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-17T00:29:24.080Z] ---> Running in a846a8332772 [2023-03-17T00:29:24.080Z] Removing intermediate container a846a8332772 [2023-03-17T00:29:24.080Z] ---> 087688c61d55 [2023-03-17T00:29:24.080Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-17T00:29:24.080Z] ---> Running in 9b224d76e0f9 [2023-03-17T00:29:24.081Z] Removing intermediate container 9b224d76e0f9 [2023-03-17T00:29:24.081Z] ---> 30f1fe761d6e [2023-03-17T00:29:24.081Z] Step 24/26 : LABEL arch=amd64 [2023-03-17T00:29:24.081Z] ---> Running in 4d752b14ebc1 [2023-03-17T00:29:24.339Z] Removing intermediate container 4d752b14ebc1 [2023-03-17T00:29:24.339Z] ---> 673649bc251f [2023-03-17T00:29:24.339Z] Step 25/26 : LABEL git_sha=a0fd57abbf79406ca3a821838202456f9ee8499c [2023-03-17T00:29:24.339Z] ---> Running in 32c3111f11b1 [2023-03-17T00:29:24.339Z] Removing intermediate container 32c3111f11b1 [2023-03-17T00:29:24.339Z] ---> fa36077a845a [2023-03-17T00:29:24.339Z] Step 26/26 : LABEL version=3.0.0-dev.22 [2023-03-17T00:29:24.339Z] ---> Running in 480ec549e9f2 [2023-03-17T00:29:24.339Z] Removing intermediate container 480ec549e9f2 [2023-03-17T00:29:24.339Z] ---> 5264446cb4de [2023-03-17T00:29:24.339Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T00:29:24.339Z] Successfully built 5264446cb4de [2023-03-17T00:29:24.339Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T00:29:24.412Z] provisioning config files... [2023-03-17T00:29:24.421Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5554985310398366486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:29:24.715Z] ---> docker-login.sh [2023-03-17T00:29:24.715Z] nexus3.edgexfoundry.org:10001 [2023-03-17T00:29:24.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:29:24.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:29:24.715Z] Configure a credential helper to remove this warning. See [2023-03-17T00:29:24.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:29:24.715Z] [2023-03-17T00:29:24.715Z] Login Succeeded [2023-03-17T00:29:24.715Z] nexus3.edgexfoundry.org:10002 [2023-03-17T00:29:24.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:29:24.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:29:24.715Z] Configure a credential helper to remove this warning. See [2023-03-17T00:29:24.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:29:24.715Z] [2023-03-17T00:29:24.715Z] Login Succeeded [2023-03-17T00:29:24.715Z] nexus3.edgexfoundry.org:10003 [2023-03-17T00:29:24.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:29:24.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:29:24.974Z] Configure a credential helper to remove this warning. See [2023-03-17T00:29:24.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:29:24.974Z] [2023-03-17T00:29:24.974Z] Login Succeeded [2023-03-17T00:29:24.974Z] nexus3.edgexfoundry.org:10004 [2023-03-17T00:29:24.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:29:24.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:29:24.974Z] Configure a credential helper to remove this warning. See [2023-03-17T00:29:24.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:29:24.974Z] [2023-03-17T00:29:24.974Z] Login Succeeded [2023-03-17T00:29:24.974Z] docker.io [2023-03-17T00:29:25.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:29:25.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:29:25.234Z] Configure a credential helper to remove this warning. See [2023-03-17T00:29:25.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:29:25.234Z] [2023-03-17T00:29:25.234Z] Login Succeeded [2023-03-17T00:29:25.234Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T00:29:25.241Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-17T00:29:25.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T00:29:25.281Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-03-17T00:29:25.281Z] a0fd57abbf79406ca3a821838202456f9ee8499c [2023-03-17T00:29:25.281Z] latest [2023-03-17T00:29:25.281Z] 3.0.0-dev.22 [2023-03-17T00:29:25.281Z] a0fd57abbf79406ca3a821838202456f9ee8499c-3.0.0-dev.22 [2023-03-17T00:29:25.281Z] main [2023-03-17T00:29:25.281Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:29:25.586Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:a0fd57abbf79406ca3a821838202456f9ee8499c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:29:25.890Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:a0fd57abbf79406ca3a821838202456f9ee8499c [2023-03-17T00:29:25.890Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-03-17T00:29:25.890Z] 202489bceb67: Preparing [2023-03-17T00:29:25.890Z] 792c72c773eb: Preparing [2023-03-17T00:29:25.890Z] 1427e8853ea9: Preparing [2023-03-17T00:29:25.890Z] 95b9230f22f7: Preparing [2023-03-17T00:29:25.890Z] 7cd52847ad77: Preparing [2023-03-17T00:29:25.890Z] 7cd52847ad77: Layer already exists [2023-03-17T00:29:25.890Z] 95b9230f22f7: Pushed [2023-03-17T00:29:25.890Z] 792c72c773eb: Pushed [2023-03-17T00:29:25.890Z] 202489bceb67: Pushed [2023-03-17T00:29:28.428Z] 1427e8853ea9: Pushed [2023-03-17T00:29:28.688Z] a0fd57abbf79406ca3a821838202456f9ee8499c: digest: sha256:a95012845f1437a26c61a8c8f4c6816a6c117f2114d72761982f4a35f5701657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:29:29.007Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:29:29.312Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-03-17T00:29:29.312Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-03-17T00:29:29.312Z] 202489bceb67: Preparing [2023-03-17T00:29:29.312Z] 792c72c773eb: Preparing [2023-03-17T00:29:29.312Z] 1427e8853ea9: Preparing [2023-03-17T00:29:29.312Z] 95b9230f22f7: Preparing [2023-03-17T00:29:29.312Z] 7cd52847ad77: Preparing [2023-03-17T00:29:29.312Z] 202489bceb67: Layer already exists [2023-03-17T00:29:29.312Z] 792c72c773eb: Layer already exists [2023-03-17T00:29:29.312Z] 95b9230f22f7: Layer already exists [2023-03-17T00:29:29.312Z] 7cd52847ad77: Layer already exists [2023-03-17T00:29:29.312Z] 1427e8853ea9: Layer already exists [2023-03-17T00:29:29.312Z] latest: digest: sha256:a95012845f1437a26c61a8c8f4c6816a6c117f2114d72761982f4a35f5701657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:29:29.617Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:29:29.918Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.22 [2023-03-17T00:29:29.918Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-03-17T00:29:29.918Z] 202489bceb67: Preparing [2023-03-17T00:29:29.918Z] 792c72c773eb: Preparing [2023-03-17T00:29:29.918Z] 1427e8853ea9: Preparing [2023-03-17T00:29:29.918Z] 95b9230f22f7: Preparing [2023-03-17T00:29:29.918Z] 7cd52847ad77: Preparing [2023-03-17T00:29:29.918Z] 792c72c773eb: Layer already exists [2023-03-17T00:29:29.918Z] 1427e8853ea9: Layer already exists [2023-03-17T00:29:29.918Z] 7cd52847ad77: Layer already exists [2023-03-17T00:29:29.918Z] 95b9230f22f7: Layer already exists [2023-03-17T00:29:29.918Z] 202489bceb67: Layer already exists [2023-03-17T00:29:29.918Z] 3.0.0-dev.22: digest: sha256:a95012845f1437a26c61a8c8f4c6816a6c117f2114d72761982f4a35f5701657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:29:30.245Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:a0fd57abbf79406ca3a821838202456f9ee8499c-3.0.0-dev.22 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:29:30.548Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:a0fd57abbf79406ca3a821838202456f9ee8499c-3.0.0-dev.22 [2023-03-17T00:29:30.548Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-03-17T00:29:30.548Z] 202489bceb67: Preparing [2023-03-17T00:29:30.548Z] 792c72c773eb: Preparing [2023-03-17T00:29:30.548Z] 1427e8853ea9: Preparing [2023-03-17T00:29:30.548Z] 95b9230f22f7: Preparing [2023-03-17T00:29:30.548Z] 7cd52847ad77: Preparing [2023-03-17T00:29:30.548Z] 7cd52847ad77: Layer already exists [2023-03-17T00:29:30.548Z] 95b9230f22f7: Layer already exists [2023-03-17T00:29:30.548Z] 792c72c773eb: Layer already exists [2023-03-17T00:29:30.548Z] 202489bceb67: Layer already exists [2023-03-17T00:29:30.548Z] 1427e8853ea9: Layer already exists [2023-03-17T00:29:30.548Z] a0fd57abbf79406ca3a821838202456f9ee8499c-3.0.0-dev.22: digest: sha256:a95012845f1437a26c61a8c8f4c6816a6c117f2114d72761982f4a35f5701657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:29:30.864Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:29:31.172Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-03-17T00:29:31.172Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-03-17T00:29:31.172Z] 202489bceb67: Preparing [2023-03-17T00:29:31.172Z] 792c72c773eb: Preparing [2023-03-17T00:29:31.172Z] 1427e8853ea9: Preparing [2023-03-17T00:29:31.172Z] 95b9230f22f7: Preparing [2023-03-17T00:29:31.172Z] 7cd52847ad77: Preparing [2023-03-17T00:29:31.172Z] 202489bceb67: Layer already exists [2023-03-17T00:29:31.172Z] 7cd52847ad77: Layer already exists [2023-03-17T00:29:31.172Z] 1427e8853ea9: Layer already exists [2023-03-17T00:29:31.172Z] 792c72c773eb: Layer already exists [2023-03-17T00:29:31.172Z] 95b9230f22f7: Layer already exists [2023-03-17T00:29:31.172Z] main: digest: sha256:a95012845f1437a26c61a8c8f4c6816a6c117f2114d72761982f4a35f5701657 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-17T00:29:31.220Z] ===================================================== [Pipeline] echo [2023-03-17T00:29:31.229Z] taggedImages: [2023-03-17T00:29:31.229Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:a0fd57abbf79406ca3a821838202456f9ee8499c [2023-03-17T00:29:31.229Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-03-17T00:29:31.229Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.22 [2023-03-17T00:29:31.229Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:a0fd57abbf79406ca3a821838202456f9ee8499c-3.0.0-dev.22 [2023-03-17T00:29:31.229Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [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-03-17T00:29:31.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T00:29:31.594Z] [2023-03-17T00:29:31.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:29:31.894Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T00:29:31.894Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T00:29:31.894Z] 5eb5b503b376: Pulling fs layer [2023-03-17T00:29:31.894Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T00:29:31.894Z] ec43610c2a17: Pulling fs layer [2023-03-17T00:29:31.894Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T00:29:31.894Z] 33b1e0a273af: Pulling fs layer [2023-03-17T00:29:31.894Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T00:29:31.894Z] 2f39f015ded8: Pulling fs layer [2023-03-17T00:29:31.894Z] 3a2ae6a8a46f: Waiting [2023-03-17T00:29:31.894Z] 5d3b04190fa2: Waiting [2023-03-17T00:29:31.894Z] 33b1e0a273af: Waiting [2023-03-17T00:29:31.894Z] 5c69ac0246d0: Download complete [2023-03-17T00:29:31.894Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T00:29:31.894Z] 3a2ae6a8a46f: Download complete [2023-03-17T00:29:32.154Z] 33b1e0a273af: Verifying Checksum [2023-03-17T00:29:32.154Z] 33b1e0a273af: Download complete [2023-03-17T00:29:32.154Z] 5d3b04190fa2: Download complete [2023-03-17T00:29:32.154Z] ec43610c2a17: Verifying Checksum [2023-03-17T00:29:32.154Z] ec43610c2a17: Download complete [2023-03-17T00:29:32.154Z] 5eb5b503b376: Verifying Checksum [2023-03-17T00:29:32.154Z] 5eb5b503b376: Download complete [2023-03-17T00:29:32.720Z] 2f39f015ded8: Download complete [2023-03-17T00:29:33.288Z] 5eb5b503b376: Pull complete [2023-03-17T00:29:33.545Z] 5c69ac0246d0: Pull complete [2023-03-17T00:29:33.804Z] ec43610c2a17: Pull complete [2023-03-17T00:29:34.062Z] 3a2ae6a8a46f: Pull complete [2023-03-17T00:29:34.062Z] 33b1e0a273af: Pull complete [2023-03-17T00:29:34.320Z] 5d3b04190fa2: Pull complete [2023-03-17T00:29:38.513Z] 2f39f015ded8: Pull complete [2023-03-17T00:29:38.513Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T00:29:38.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T00:29:38.513Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:29:38.608Z] prd-ubuntu20.04-docker-8c-8g-2556 does not seem to be running inside a container [2023-03-17T00:29:38.636Z] $ 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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T00:29:39.843Z] $ docker top c32209184746c340cf234078731f729d660fcc8cba0118c96f7aea864b81b53b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:29:40.239Z] ---> job-cost.sh [2023-03-17T00:29:40.239Z] lf-activate-venv: SKIPPING [2023-03-17T00:29:40.239Z] INFO: No Stack... [2023-03-17T00:29:40.806Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T00:29:41.065Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T00:29:41.353Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-03-17T00:29:41.353Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T00:29:41.366Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-114-stack-cost] [2023-03-17T00:29:41.372Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-114-stack-cost] did not exist. Created. [2023-03-17T00:29:41.372Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T00:29:41.672Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T00:29:41.698Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T00:29:41.711Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-114-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T00:29:41.728Z] $ docker stop --time=1 c32209184746c340cf234078731f729d660fcc8cba0118c96f7aea864b81b53b [2023-03-17T00:29:42.878Z] $ docker rm -f --volumes c32209184746c340cf234078731f729d660fcc8cba0118c96f7aea864b81b53b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T00:30:46.609Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2559 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-03-17T00:30:46.623Z] Running in /w/workspace/device-onvif-camera/114 [Pipeline] { [Pipeline] checkout [2023-03-17T00:30:46.665Z] The recommended git tool is: git [2023-03-17T00:30:53.108Z] using credential edgex-jenkins-ssh [2023-03-17T00:30:53.130Z] Cloning the remote Git repository [2023-03-17T00:30:53.190Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T00:30:53.321Z] > git init /w/workspace/device-onvif-camera/114 # timeout=10 [2023-03-17T00:30:53.511Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T00:30:53.512Z] > git --version # timeout=10 [2023-03-17T00:30:53.535Z] > git --version # 'git version 2.25.1' [2023-03-17T00:30:53.539Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T00:30:53.744Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T00:30:55.253Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-17T00:30:55.281Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T00:30:56.322Z] Avoid second fetch [2023-03-17T00:30:56.323Z] Checking out Revision a0fd57abbf79406ca3a821838202456f9ee8499c (main) [2023-03-17T00:30:56.343Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T00:30:56.429Z] > git checkout -f a0fd57abbf79406ca3a821838202456f9ee8499c # timeout=10 [2023-03-17T00:30:57.256Z] Commit message: "Merge pull request #252 from EdgeX-Camera-Management/log-response" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T00:30:58.179Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T00:30:58.179Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T00:30:58.179Z] Dload Upload Total Spent Left Speed [2023-03-17T00:30:58.179Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80194 [Pipeline] sh [2023-03-17T00:30:58.891Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T00:30:59.235Z] + sudo tee /etc/docker/daemon.new [2023-03-17T00:30:59.235Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T00:30:59.235Z] { [2023-03-17T00:30:59.235Z] "registry-mirrors": [ [2023-03-17T00:30:59.235Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T00:30:59.235Z] ], [2023-03-17T00:30:59.235Z] "bip": "10.250.0.254/24", [2023-03-17T00:30:59.235Z] "hosts": [ [2023-03-17T00:30:59.235Z] "tcp://0.0.0.0:5555", [2023-03-17T00:30:59.235Z] "unix:///var/run/docker.sock" [2023-03-17T00:30:59.235Z] ], [2023-03-17T00:30:59.235Z] "mtu": 1458, [2023-03-17T00:30:59.235Z] "selinux-enabled": true, [2023-03-17T00:30:59.235Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T00:30:59.235Z] } [Pipeline] sh [2023-03-17T00:30:59.602Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T00:30:59.949Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T00:31:18.281Z] provisioning config files... [2023-03-17T00:31:18.315Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/114@tmp/config15329209189787657947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:31:18.679Z] ---> docker-login.sh [2023-03-17T00:31:18.679Z] nexus3.edgexfoundry.org:10001 [2023-03-17T00:31:19.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:31:19.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:31:19.275Z] Configure a credential helper to remove this warning. See [2023-03-17T00:31:19.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:31:19.275Z] [2023-03-17T00:31:19.275Z] Login Succeeded [2023-03-17T00:31:19.275Z] nexus3.edgexfoundry.org:10002 [2023-03-17T00:31:19.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:31:19.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:31:19.819Z] Configure a credential helper to remove this warning. See [2023-03-17T00:31:19.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:31:19.819Z] [2023-03-17T00:31:19.819Z] Login Succeeded [2023-03-17T00:31:19.819Z] nexus3.edgexfoundry.org:10003 [2023-03-17T00:31:20.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:31:20.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:31:20.091Z] Configure a credential helper to remove this warning. See [2023-03-17T00:31:20.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:31:20.091Z] [2023-03-17T00:31:20.091Z] Login Succeeded [2023-03-17T00:31:20.091Z] nexus3.edgexfoundry.org:10004 [2023-03-17T00:31:20.364Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:31:20.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:31:20.638Z] Configure a credential helper to remove this warning. See [2023-03-17T00:31:20.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:31:20.638Z] [2023-03-17T00:31:20.638Z] Login Succeeded [2023-03-17T00:31:20.638Z] docker.io [2023-03-17T00:31:20.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:31:21.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:31:21.179Z] Configure a credential helper to remove this warning. See [2023-03-17T00:31:21.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:31:21.179Z] [2023-03-17T00:31:21.179Z] Login Succeeded [2023-03-17T00:31:21.179Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T00:31:21.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T00:31:21.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T00:31:21.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T00:31:21.518Z] ========================================================= [2023-03-17T00:31:21.518Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T00:31:21.518Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:31:21.891Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T00:31:22.496Z] Sending build context to Docker daemon 20.63MB [2023-03-17T00:31:22.496Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T00:31:22.496Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T00:31:22.778Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T00:31:22.778Z] af6eaf76a39c: Pulling fs layer [2023-03-17T00:31:22.778Z] 55522c791124: Pulling fs layer [2023-03-17T00:31:22.778Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T00:31:22.778Z] 169dfbe0d373: Pulling fs layer [2023-03-17T00:31:22.778Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T00:31:22.778Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T00:31:22.778Z] 169dfbe0d373: Waiting [2023-03-17T00:31:22.778Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T00:31:22.778Z] e1ff8fa3b103: Waiting [2023-03-17T00:31:22.778Z] 52ebb69f0ebf: Waiting [2023-03-17T00:31:22.778Z] 5abe8eddf0d5: Waiting [2023-03-17T00:31:22.778Z] 55522c791124: Verifying Checksum [2023-03-17T00:31:22.778Z] 55522c791124: Download complete [2023-03-17T00:31:22.778Z] 169dfbe0d373: Verifying Checksum [2023-03-17T00:31:22.778Z] 169dfbe0d373: Download complete [2023-03-17T00:31:22.778Z] e1ff8fa3b103: Download complete [2023-03-17T00:31:22.778Z] af6eaf76a39c: Verifying Checksum [2023-03-17T00:31:22.778Z] af6eaf76a39c: Download complete [2023-03-17T00:31:24.222Z] af6eaf76a39c: Pull complete [2023-03-17T00:31:24.222Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T00:31:24.222Z] 5abe8eddf0d5: Download complete [2023-03-17T00:31:24.494Z] 55522c791124: Pull complete [2023-03-17T00:31:25.927Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T00:31:25.927Z] ce5c4a1c91eb: Download complete [2023-03-17T00:31:25.927Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T00:31:25.927Z] 52ebb69f0ebf: Download complete [2023-03-17T00:31:38.284Z] ce5c4a1c91eb: Pull complete [2023-03-17T00:31:38.284Z] 169dfbe0d373: Pull complete [2023-03-17T00:31:38.284Z] e1ff8fa3b103: Pull complete [2023-03-17T00:31:44.977Z] 52ebb69f0ebf: Pull complete [2023-03-17T00:31:46.410Z] 5abe8eddf0d5: Pull complete [2023-03-17T00:31:46.410Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T00:31:46.410Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T00:31:46.410Z] ---> 6cb57ee374ae [2023-03-17T00:31:46.410Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T00:31:48.475Z] ---> Running in 2ebd5e3b3daa [2023-03-17T00:31:49.087Z] Removing intermediate container 2ebd5e3b3daa [2023-03-17T00:31:49.087Z] ---> 7f7edb5caea3 [2023-03-17T00:31:49.087Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T00:31:49.087Z] ---> Running in f2dfdd476d95 [2023-03-17T00:31:49.357Z] Removing intermediate container f2dfdd476d95 [2023-03-17T00:31:49.357Z] ---> 5509543e7ed4 [2023-03-17T00:31:49.357Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T00:31:49.357Z] ---> Running in 1463e45a0d26 [2023-03-17T00:31:49.958Z] Removing intermediate container 1463e45a0d26 [2023-03-17T00:31:49.958Z] ---> af22c8b0aec1 [2023-03-17T00:31:49.958Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T00:31:49.958Z] ---> Running in 76f86fead94e [2023-03-17T00:31:50.228Z] Removing intermediate container 76f86fead94e [2023-03-17T00:31:50.228Z] ---> 75e73eb29197 [2023-03-17T00:31:50.228Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T00:31:50.228Z] ---> Running in b64a092ec781 [2023-03-17T00:31:50.817Z] Removing intermediate container b64a092ec781 [2023-03-17T00:31:50.817Z] ---> afb2a7aa0a50 [2023-03-17T00:31:50.817Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T00:31:50.817Z] ---> Running in 7daab437d592 [2023-03-17T00:31:52.247Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T00:31:52.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T00:31:53.943Z] OK: 263 MiB in 53 packages [2023-03-17T00:31:54.918Z] Removing intermediate container 7daab437d592 [2023-03-17T00:31:54.918Z] ---> 3406b7e07f95 [2023-03-17T00:31:54.918Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T00:31:54.918Z] ---> Running in bc6ffa4563b6 [2023-03-17T00:31:55.191Z] Removing intermediate container bc6ffa4563b6 [2023-03-17T00:31:55.191Z] ---> 39e1c20b8021 [2023-03-17T00:31:55.191Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T00:31:56.606Z] ---> e66deafc87f5 [2023-03-17T00:31:56.606Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T00:31:56.876Z] ---> Running in 7024b1d49aba [2023-03-17T00:33:04.761Z] Removing intermediate container 7024b1d49aba [2023-03-17T00:33:04.761Z] ---> 810f4b692589 [2023-03-17T00:33:04.761Z] Step 12/13 : COPY . . [2023-03-17T00:33:06.170Z] ---> 25d8ab3065cd [2023-03-17T00:33:06.170Z] Step 13/13 : RUN ${MAKE} [2023-03-17T00:33:06.170Z] ---> Running in 6cb8feaf371c [2023-03-17T00:33:07.133Z] noop [2023-03-17T00:33:08.094Z] Removing intermediate container 6cb8feaf371c [2023-03-17T00:33:08.094Z] ---> 12a026b65566 [2023-03-17T00:33:08.094Z] Successfully built 12a026b65566 [2023-03-17T00:33:08.094Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:33:08.443Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T00:33:08.443Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:33:08.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-2559 does not seem to be running inside a container [2023-03-17T00:33:08.732Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/114 -v /w/workspace/device-onvif-camera/114:/w/workspace/device-onvif-camera/114:rw,z -v /w/workspace/device-onvif-camera/114@tmp:/w/workspace/device-onvif-camera/114@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 ******** ci-base-image-arm64 cat [2023-03-17T00:33:09.930Z] $ docker top bfa55e12e860b803122748bd7cfe412326cd8dc99122f59729328b1e11552597 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T00:33:10.762Z] + go version [2023-03-17T00:33:10.762Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T00:33:10.780Z] $ docker stop --time=1 bfa55e12e860b803122748bd7cfe412326cd8dc99122f59729328b1e11552597 [2023-03-17T00:33:12.394Z] $ docker rm -f --volumes bfa55e12e860b803122748bd7cfe412326cd8dc99122f59729328b1e11552597 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:33:12.957Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T00:33:12.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:33:13.146Z] prd-ubuntu20.04-docker-arm64-4c-16g-2559 does not seem to be running inside a container [2023-03-17T00:33:13.215Z] $ 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/114 -v /w/workspace/device-onvif-camera/114:/w/workspace/device-onvif-camera/114:rw,z -v /w/workspace/device-onvif-camera/114@tmp:/w/workspace/device-onvif-camera/114@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 ******** ci-base-image-arm64 cat [2023-03-17T00:33:14.493Z] $ docker top dd086c9ffe290ef92848af8335426949ed1bf853c499072f853da33dffbce6fd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T00:33:15.340Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/114 [Pipeline] fileExists [Pipeline] sh [2023-03-17T00:33:15.991Z] + make test [2023-03-17T00:33:15.991Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T00:33:54.911Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T00:36:31.688Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-17T00:36:38.388Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T00:36:40.345Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.198s coverage: 30.5% of statements [2023-03-17T00:37:12.651Z] --- FAIL: TestIpGenerator (0.00s) [2023-03-17T00:37:12.651Z] --- FAIL: TestIpGenerator/basic_/8_subnet (31.02s) [2023-03-17T00:37:12.651Z] util_test.go:180: [2023-03-17T00:37:12.651Z] Error Trace: /w/workspace/device-onvif-camera/114/internal/netscan/util_test.go:180 [2023-03-17T00:37:12.651Z] Error: Not equal: [2023-03-17T00:37:12.651Z] expected: 0xfffffe [2023-03-17T00:37:12.651Z] actual : 0xfe4732 [2023-03-17T00:37:12.651Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-17T00:37:12.651Z] util_test.go:183: [2023-03-17T00:37:12.651Z] Error Trace: /w/workspace/device-onvif-camera/114/internal/netscan/util_test.go:183 [2023-03-17T00:37:12.651Z] Error: Not equal: [2023-03-17T00:37:12.651Z] expected: "10.255.255.254" [2023-03-17T00:37:12.651Z] actual : "10.254.71.50" [2023-03-17T00:37:12.651Z] [2023-03-17T00:37:12.651Z] Diff: [2023-03-17T00:37:12.651Z] --- Expected [2023-03-17T00:37:12.651Z] +++ Actual [2023-03-17T00:37:12.651Z] @@ -1 +1 @@ [2023-03-17T00:37:12.651Z] -10.255.255.254 [2023-03-17T00:37:12.651Z] +10.254.71.50 [2023-03-17T00:37:12.651Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-17T00:37:12.651Z] FAIL [2023-03-17T00:37:12.651Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-03-17T00:37:12.651Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 31.239s [2023-03-17T00:37:12.651Z] FAIL [2023-03-17T00:37:12.651Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-17T00:37:12.669Z] $ docker stop --time=1 dd086c9ffe290ef92848af8335426949ed1bf853c499072f853da33dffbce6fd [2023-03-17T00:37:14.587Z] $ docker rm -f --volumes dd086c9ffe290ef92848af8335426949ed1bf853c499072f853da33dffbce6fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:37:16.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T00:37:16.002Z] [2023-03-17T00:37:16.002Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:37:16.347Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T00:37:16.618Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T00:37:16.618Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T00:37:16.618Z] 04944245beec: Pulling fs layer [2023-03-17T00:37:16.618Z] 699f458cf7ca: Pulling fs layer [2023-03-17T00:37:16.618Z] 765212b225bb: Pulling fs layer [2023-03-17T00:37:16.618Z] f23df028b6ca: Pulling fs layer [2023-03-17T00:37:16.618Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T00:37:16.618Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T00:37:16.618Z] f23df028b6ca: Waiting [2023-03-17T00:37:16.618Z] 765212b225bb: Waiting [2023-03-17T00:37:16.618Z] d65c8cfc05b1: Waiting [2023-03-17T00:37:16.618Z] 2437ff75d9bd: Waiting [2023-03-17T00:37:16.618Z] 04944245beec: Verifying Checksum [2023-03-17T00:37:16.618Z] 04944245beec: Download complete [2023-03-17T00:37:16.618Z] 765212b225bb: Verifying Checksum [2023-03-17T00:37:16.618Z] 765212b225bb: Download complete [2023-03-17T00:37:16.893Z] f23df028b6ca: Verifying Checksum [2023-03-17T00:37:16.893Z] f23df028b6ca: Download complete [2023-03-17T00:37:16.893Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T00:37:16.893Z] d65c8cfc05b1: Download complete [2023-03-17T00:37:16.893Z] 699f458cf7ca: Verifying Checksum [2023-03-17T00:37:16.893Z] 699f458cf7ca: Download complete [2023-03-17T00:37:17.487Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T00:37:17.487Z] 8998bd30e6a1: Download complete [2023-03-17T00:37:20.088Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T00:37:20.088Z] 2437ff75d9bd: Download complete [2023-03-17T00:37:22.059Z] 8998bd30e6a1: Pull complete [2023-03-17T00:37:22.330Z] 04944245beec: Pull complete [2023-03-17T00:37:23.754Z] 699f458cf7ca: Pull complete [2023-03-17T00:37:24.025Z] 765212b225bb: Pull complete [2023-03-17T00:37:24.993Z] f23df028b6ca: Pull complete [2023-03-17T00:37:25.261Z] d65c8cfc05b1: Pull complete [2023-03-17T00:37:40.303Z] 2437ff75d9bd: Pull complete [2023-03-17T00:37:40.303Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T00:37:40.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T00:37:40.303Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:37:40.535Z] prd-ubuntu20.04-docker-arm64-4c-16g-2559 does not seem to be running inside a container [2023-03-17T00:37:40.607Z] $ 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/114 -v /w/workspace/device-onvif-camera/114:/w/workspace/device-onvif-camera/114:rw,z -v /w/workspace/device-onvif-camera/114@tmp:/w/workspace/device-onvif-camera/114@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T00:37:43.512Z] $ docker top 1aa9532ca899a3cca71588846bf19b4e0ff0cc1e81415606cea8101d56a048d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:37:44.390Z] ---> job-cost.sh [2023-03-17T00:37:44.390Z] lf-activate-venv: SKIPPING [2023-03-17T00:37:44.390Z] INFO: No Stack... [2023-03-17T00:37:44.983Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T00:37:45.571Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T00:37:46.217Z] + cat /w/workspace/device-onvif-camera/114/archives/cost.csv [2023-03-17T00:37:46.217Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T00:37:46.301Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-114-stack-cost] [2023-03-17T00:37:46.306Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-114-stack-cost] did not exist. Created. [2023-03-17T00:37:46.306Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T00:37:46.978Z] /w/workspace/device-onvif-camera/114@tmp/durable-158e2d48/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T00:37:47.643Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T00:37:47.668Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T00:37:48.208Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T00:37:48.215Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-114-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T00:37:48.229Z] $ docker stop --time=1 1aa9532ca899a3cca71588846bf19b4e0ff0cc1e81415606cea8101d56a048d4 [2023-03-17T00:37:49.854Z] $ docker rm -f --volumes 1aa9532ca899a3cca71588846bf19b4e0ff0cc1e81415606cea8101d56a048d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T00:37:50.146Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-03-17T00:37:50.789Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-03-17T00:37:50.789Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-03-17T00:37:50.789Z] total 16 [2023-03-17T00:37:50.789Z] drwxr-xr-x 3 root root 4096 Mar 17 00:29 . [2023-03-17T00:37:50.789Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 00:29 .. [2023-03-17T00:37:50.789Z] drwxr-xr-x 2 root root 4096 Mar 17 00:29 cost [2023-03-17T00:37:50.789Z] -rw-r--r-- 1 root root 91 Mar 17 00:29 cost.csv [2023-03-17T00:37:50.789Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-03-17T00:37:50.789Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-03-17T00:37:50.789Z] total 16 [2023-03-17T00:37:50.789Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 00:29 . [2023-03-17T00:37:50.789Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 00:29 .. [2023-03-17T00:37:50.789Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 00:29 cost [2023-03-17T00:37:50.789Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 17 00:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:37:51.084Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:37:51.946Z] ---> package-listing.sh [2023-03-17T00:37:51.946Z] ++ facter osfamily [2023-03-17T00:37:51.946Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T00:37:52.204Z] + OS_FAMILY=debian [2023-03-17T00:37:52.204Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-03-17T00:37:52.204Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T00:37:52.204Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T00:37:52.204Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T00:37:52.204Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T00:37:52.205Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-03-17T00:37:52.205Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T00:37:52.205Z] + case "${OS_FAMILY}" in [2023-03-17T00:37:52.205Z] + dpkg -l [2023-03-17T00:37:52.205Z] + grep '^ii' [2023-03-17T00:37:52.205Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T00:37:52.205Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T00:37:52.205Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T00:37:52.205Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-03-17T00:37:52.205Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-03-17T00:37:52.205Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo [2023-03-17T00:37:52.215Z] 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T00:37:52.489Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:37:53.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T00:37:53.044Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:37:53.114Z] prd-ubuntu20.04-docker-8c-8g-2556 does not seem to be running inside a container [2023-03-17T00:37:53.139Z] $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T00:37:53.341Z] $ docker top fc3b39c7bb280a3a9122e1b28c611dea216146b48103d8f544529529ee477f1c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T00:37:53.680Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T00:37:53.959Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T00:37:54.238Z] + ls /var/log/sa-host [2023-03-17T00:37:54.238Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T00:37:54.304Z] provisioning config files... [2023-03-17T00:37:54.313Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14697321280513636156tmp [Pipeline] { [Pipeline] echo [2023-03-17T00:37:54.327Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:37:54.608Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T00:37:54.615Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:37:54.942Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T00:37:54.950Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:37:55.236Z] ---> sudo-logs.sh [2023-03-17T00:37:55.236Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T00:37:55.267Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:37:55.550Z] ---> job-cost.sh [2023-03-17T00:37:55.550Z] lf-activate-venv: SKIPPING [2023-03-17T00:37:55.550Z] DEBUG: total: 0.2199999988079071 [2023-03-17T00:37:55.550Z] INFO: Retrieving Stack Cost... [2023-03-17T00:37:55.808Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T00:37:56.377Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T00:37:56.388Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:37:56.669Z] ---> logs-deploy.sh [2023-03-17T00:37:56.669Z] lf-activate-venv: SKIPPING [2023-03-17T00:37:56.669Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/114 [2023-03-17T00:37:56.669Z] INFO: archiving workspace using pattern(s): [2023-03-17T00:37:57.604Z] Archives upload complete. [2023-03-17T00:37:57.864Z] INFO: archiving logs to Nexus