Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b19be15f1aae5ce963d99b90e51172ceff0b476d 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-ssh5303508671976563327.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-ssh2500877746587982224.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-ssh13801066273585258359.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-ssh2947699805590757706.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-ssh10959840883826749191.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 Running on prd-ubuntu20.04-docker-8c-8g-1002 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 b19be15f1aae5ce963d99b90e51172ceff0b476d (main) Commit message: "ci: Change dependabot gomod schedule to daily (#264)" > 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 b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 > git rev-list --no-walk d13e481dd874f1286a187d197f108b2a3a763e5d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T16:21:44.436Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T16:21:44.484Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T16:21:44.503Z] ========================================================= [2023-03-15T16:21:44.503Z] EdgeX Global Pipelines Version Info [2023-03-15T16:21:44.503Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:21:45.269Z] ------------------- [2023-03-15T16:21:45.269Z] stable info: [2023-03-15T16:21:45.269Z] ------------------- [2023-03-15T16:21:45.269Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T16:21:45.269Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:21:45.269Z] Message: update stable to v1.0.245 [2023-03-15T16:21:45.841Z] ------------------- [2023-03-15T16:21:45.841Z] experimental info: [2023-03-15T16:21:45.841Z] ------------------- [2023-03-15T16:21:45.841Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T16:21:45.841Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T16:21:45.841Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T16:21:46.003Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-15T16:21:46.017Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-15T16:21:46.030Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T16:21:46.041Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T16:21:46.052Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T16:21:46.063Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T16:21:46.077Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T16:21:46.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T16:21:46.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T16:21:46.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T16:21:46.124Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T16:21:46.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-15T16:21:46.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T16:21:46.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T16:21:46.177Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:21:46.185Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:21:46.194Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:21:46.204Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:21:46.216Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T16:21:46.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T16:21:46.240Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-15T16:21:46.250Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-15T16:21:46.262Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T16:21:46.270Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T16:21:46.282Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T16:21:46.294Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T16:21:46.306Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T16:21:46.316Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T16:21:46.325Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T16:21:46.337Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T16:21:46.348Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo [2023-03-15T16:21:46.358Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b19be15 [Pipeline] echo [2023-03-15T16:21:46.370Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:21:46.410Z] provisioning config files... [2023-03-15T16:21:46.425Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16286673811611957061tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:21:46.734Z] ---> docker-login.sh [2023-03-15T16:21:46.734Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:21:46.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:21:46.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:21:46.995Z] Configure a credential helper to remove this warning. See [2023-03-15T16:21:46.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:21:46.995Z] [2023-03-15T16:21:46.995Z] Login Succeeded [2023-03-15T16:21:46.995Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:21:46.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:21:46.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:21:46.995Z] Configure a credential helper to remove this warning. See [2023-03-15T16:21:46.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:21:46.995Z] [2023-03-15T16:21:46.995Z] Login Succeeded [2023-03-15T16:21:46.995Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:21:47.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:21:47.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:21:47.256Z] Configure a credential helper to remove this warning. See [2023-03-15T16:21:47.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:21:47.256Z] [2023-03-15T16:21:47.256Z] Login Succeeded [2023-03-15T16:21:47.256Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:21:47.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:21:47.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:21:47.256Z] Configure a credential helper to remove this warning. See [2023-03-15T16:21:47.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:21:47.256Z] [2023-03-15T16:21:47.256Z] Login Succeeded [2023-03-15T16:21:47.256Z] docker.io [2023-03-15T16:21:47.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:21:47.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:21:47.517Z] Configure a credential helper to remove this warning. See [2023-03-15T16:21:47.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:21:47.517Z] [2023-03-15T16:21:47.517Z] Login Succeeded [2023-03-15T16:21:47.517Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:21:47.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T16:21:47.900Z] + git rev-list -1 --merges b19be15f1aae5ce963d99b90e51172ceff0b476d~1..b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo [2023-03-15T16:21:47.951Z] -----------> git rev-list -1 --merges b19be15f1aae5ce963d99b90e51172ceff0b476d~1..b19be15f1aae5ce963d99b90e51172ceff0b476d b19be15f1aae5ce963d99b90e51172ceff0b476d [false] [Pipeline] sh [2023-03-15T16:21:48.264Z] + git log --format=format:%s -1 b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo [2023-03-15T16:21:48.278Z] ========================================================= [2023-03-15T16:21:48.278Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T16:21:48.278Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:21:48.617Z] + git log --format=format:%s -1 b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] echo [2023-03-15T16:21:48.636Z] [semverPrep] GIT_COMMIT: b19be15f1aae5ce963d99b90e51172ceff0b476d, Commit Message: ci: Change dependabot gomod schedule to daily (#264) [Pipeline] echo [2023-03-15T16:21:48.644Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T16:21:49.008Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:21:49.008Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T16:21:49.008Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T16:21:49.008Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T16:21:49.008Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T16:21:49.008Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T16:21:49.008Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:21:49.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:21:49.351Z] [2023-03-15T16:21:49.352Z] 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-15T16:21:49.660Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:21:49.660Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T16:21:49.660Z] b85a868b505f: Pulling fs layer [2023-03-15T16:21:49.660Z] e2be974225ed: Pulling fs layer [2023-03-15T16:21:49.660Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T16:21:49.660Z] 988bab9f4d93: Pulling fs layer [2023-03-15T16:21:49.660Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T16:21:49.660Z] eaf3925da568: Pulling fs layer [2023-03-15T16:21:49.660Z] bab4dde63d76: Pulling fs layer [2023-03-15T16:21:49.660Z] 988bab9f4d93: Waiting [2023-03-15T16:21:49.660Z] 1469e6f7b9e6: Waiting [2023-03-15T16:21:49.660Z] bde34c3a00c8: Pulling fs layer [2023-03-15T16:21:49.660Z] b352a97aabf1: Pulling fs layer [2023-03-15T16:21:49.660Z] bde34c3a00c8: Waiting [2023-03-15T16:21:49.660Z] 4872d77fe225: Pulling fs layer [2023-03-15T16:21:49.660Z] bab4dde63d76: Waiting [2023-03-15T16:21:49.660Z] 5851b861e8e6: Pulling fs layer [2023-03-15T16:21:49.660Z] b352a97aabf1: Waiting [2023-03-15T16:21:49.660Z] 5851b861e8e6: Waiting [2023-03-15T16:21:49.660Z] 4872d77fe225: Waiting [2023-03-15T16:21:49.660Z] e2be974225ed: Verifying Checksum [2023-03-15T16:21:49.660Z] e2be974225ed: Download complete [2023-03-15T16:21:49.660Z] 988bab9f4d93: Verifying Checksum [2023-03-15T16:21:49.660Z] 988bab9f4d93: Download complete [2023-03-15T16:21:49.920Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T16:21:49.920Z] 339a4e72a1f5: Download complete [2023-03-15T16:21:49.920Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T16:21:49.920Z] 1469e6f7b9e6: Download complete [2023-03-15T16:21:49.920Z] eaf3925da568: Verifying Checksum [2023-03-15T16:21:49.920Z] eaf3925da568: Download complete [2023-03-15T16:21:49.920Z] bde34c3a00c8: Verifying Checksum [2023-03-15T16:21:49.920Z] bde34c3a00c8: Download complete [2023-03-15T16:21:49.920Z] b352a97aabf1: Download complete [2023-03-15T16:21:49.920Z] 4872d77fe225: Verifying Checksum [2023-03-15T16:21:49.920Z] 4872d77fe225: Download complete [2023-03-15T16:21:49.920Z] 5851b861e8e6: Download complete [2023-03-15T16:21:50.179Z] b85a868b505f: Verifying Checksum [2023-03-15T16:21:50.179Z] b85a868b505f: Download complete [2023-03-15T16:21:50.438Z] bab4dde63d76: Verifying Checksum [2023-03-15T16:21:50.438Z] bab4dde63d76: Download complete [2023-03-15T16:21:51.379Z] b85a868b505f: Pull complete [2023-03-15T16:21:51.642Z] e2be974225ed: Pull complete [2023-03-15T16:21:52.217Z] 339a4e72a1f5: Pull complete [2023-03-15T16:21:52.217Z] 988bab9f4d93: Pull complete [2023-03-15T16:21:52.479Z] 1469e6f7b9e6: Pull complete [2023-03-15T16:21:52.479Z] eaf3925da568: Pull complete [2023-03-15T16:21:54.380Z] bab4dde63d76: Pull complete [2023-03-15T16:21:54.380Z] bde34c3a00c8: Pull complete [2023-03-15T16:21:54.640Z] b352a97aabf1: Pull complete [2023-03-15T16:21:54.640Z] 4872d77fe225: Pull complete [2023-03-15T16:21:54.640Z] 5851b861e8e6: Pull complete [2023-03-15T16:21:54.640Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T16:21:54.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:21:54.640Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:21:54.727Z] prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container [2023-03-15T16:21:54.753Z] $ 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-15T16:21:57.002Z] $ docker top 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 -eo pid,comm [2023-03-15T16:21:57.064Z] 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-15T16:21:57.064Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:21:57.100Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:21:57.101Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:21:57.213Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:21:57.216Z] $ docker exec 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 ssh-agent [2023-03-15T16:21:57.325Z] SSH_AUTH_SOCK=/tmp/ssh-adCrXsI756gj/agent.34 [2023-03-15T16:21:57.325Z] SSH_AGENT_PID=40 [2023-03-15T16:21:57.333Z] Running ssh-add (command line suppressed) [2023-03-15T16:21:57.448Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16986002743853836404.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_16986002743853836404.key) [2023-03-15T16:21:57.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:21:57.749Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T16:21:57.759Z] $ docker exec --env ******** --env ******** 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 ssh-agent -k [2023-03-15T16:21:57.874Z] unset SSH_AUTH_SOCK; [2023-03-15T16:21:57.875Z] unset SSH_AGENT_PID; [2023-03-15T16:21:57.875Z] echo Agent pid 40 killed; [2023-03-15T16:21:57.885Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T16:21:57.911Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:21:57.911Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:21:58.022Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:21:58.024Z] $ docker exec 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 ssh-agent [2023-03-15T16:21:58.140Z] SSH_AUTH_SOCK=/tmp/ssh-HrDZoYHbpNQp/agent.71 [2023-03-15T16:21:58.140Z] SSH_AGENT_PID=77 [2023-03-15T16:21:58.144Z] Running ssh-add (command line suppressed) [2023-03-15T16:21:58.249Z] Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11636207663912377948.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_11636207663912377948.key) [2023-03-15T16:21:58.263Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:21:58.553Z] + git semver init [2023-03-15T16:21:58.813Z] 2023-03-15 16:21:58,747 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T16:21:58.813Z] 2023-03-15 16:21:58,748 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver [2023-03-15T16:21:58.813Z] 2023-03-15 16:21:58,748 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver [2023-03-15T16:21:58.813Z] 2023-03-15 16:21:58,748 [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-15T16:22:00.192Z] 2023-03-15 16:21:59,882 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude [2023-03-15T16:22:00.192Z] 2023-03-15 16:21:59,882 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False [2023-03-15T16:22:00.193Z] 2023-03-15 16:21:59,882 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-03-15T16:22:00.193Z] 2023-03-15 16:21:59,883 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main [2023-03-15T16:22:00.193Z] 3.0.0-dev.21 [Pipeline] } [2023-03-15T16:22:00.202Z] $ docker exec --env ******** --env ******** 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 ssh-agent -k [2023-03-15T16:22:00.299Z] unset SSH_AUTH_SOCK; [2023-03-15T16:22:00.300Z] unset SSH_AGENT_PID; [2023-03-15T16:22:00.300Z] echo Agent pid 77 killed; [2023-03-15T16:22:00.311Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:22:00.608Z] + git semver [Pipeline] } [2023-03-15T16:22:00.890Z] $ docker stop --time=1 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 [2023-03-15T16:22:02.216Z] $ docker rm -f --volumes 1108aa2b5af0eed7f23946d74be2a482e843696c102e371257789c150031d686 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:22:02.549Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T16:22:02.767Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T16:22:02.770Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.21 [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-15T16:22:02.893Z] provisioning config files... [2023-03-15T16:22:02.902Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config1187534770941309827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:22:03.196Z] ---> docker-login.sh [2023-03-15T16:22:03.196Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:22:03.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:22:03.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:22:03.196Z] Configure a credential helper to remove this warning. See [2023-03-15T16:22:03.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:22:03.196Z] [2023-03-15T16:22:03.196Z] Login Succeeded [2023-03-15T16:22:03.196Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:22:03.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:22:03.196Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:22:03.196Z] Configure a credential helper to remove this warning. See [2023-03-15T16:22:03.196Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:22:03.196Z] [2023-03-15T16:22:03.196Z] Login Succeeded [2023-03-15T16:22:03.196Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:22:03.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:22:03.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:22:03.455Z] Configure a credential helper to remove this warning. See [2023-03-15T16:22:03.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:22:03.455Z] [2023-03-15T16:22:03.455Z] Login Succeeded [2023-03-15T16:22:03.455Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:22:03.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:22:03.455Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:22:03.455Z] Configure a credential helper to remove this warning. See [2023-03-15T16:22:03.455Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:22:03.455Z] [2023-03-15T16:22:03.455Z] Login Succeeded [2023-03-15T16:22:03.455Z] docker.io [2023-03-15T16:22:03.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:22:03.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:22:03.973Z] Configure a credential helper to remove this warning. See [2023-03-15T16:22:03.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:22:03.973Z] [2023-03-15T16:22:03.973Z] Login Succeeded [2023-03-15T16:22:03.973Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:22:03.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:22:04.049Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:22:04.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:22:04.071Z] ========================================================= [2023-03-15T16:22:04.071Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T16:22:04.071Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:04.375Z] + 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-15T16:22:04.375Z] Sending build context to Docker daemon 27.85MB [2023-03-15T16:22:04.375Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:22:04.375Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-15T16:22:04.635Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T16:22:04.635Z] 63b65145d645: Pulling fs layer [2023-03-15T16:22:04.635Z] a2d21d5440eb: Pulling fs layer [2023-03-15T16:22:04.635Z] 935e6c44a52c: Pulling fs layer [2023-03-15T16:22:04.635Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T16:22:04.635Z] 30dea6a524f1: Pulling fs layer [2023-03-15T16:22:04.635Z] a2aff8979fd8: Pulling fs layer [2023-03-15T16:22:04.635Z] 6808be2612f2: Pulling fs layer [2023-03-15T16:22:04.635Z] f25807f1079a: Pulling fs layer [2023-03-15T16:22:04.635Z] 94cc34f8dd06: Waiting [2023-03-15T16:22:04.635Z] 30dea6a524f1: Waiting [2023-03-15T16:22:04.635Z] 6808be2612f2: Waiting [2023-03-15T16:22:04.635Z] f25807f1079a: Waiting [2023-03-15T16:22:04.635Z] a2d21d5440eb: Download complete [2023-03-15T16:22:04.635Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T16:22:04.635Z] 94cc34f8dd06: Download complete [2023-03-15T16:22:04.635Z] 30dea6a524f1: Verifying Checksum [2023-03-15T16:22:04.635Z] 30dea6a524f1: Download complete [2023-03-15T16:22:04.635Z] 63b65145d645: Download complete [2023-03-15T16:22:04.635Z] a2aff8979fd8: Verifying Checksum [2023-03-15T16:22:04.635Z] a2aff8979fd8: Download complete [2023-03-15T16:22:04.901Z] 63b65145d645: Pull complete [2023-03-15T16:22:04.901Z] a2d21d5440eb: Pull complete [2023-03-15T16:22:05.164Z] f25807f1079a: Verifying Checksum [2023-03-15T16:22:05.164Z] f25807f1079a: Download complete [2023-03-15T16:22:05.423Z] 935e6c44a52c: Verifying Checksum [2023-03-15T16:22:05.423Z] 935e6c44a52c: Download complete [2023-03-15T16:22:05.423Z] 6808be2612f2: Verifying Checksum [2023-03-15T16:22:05.423Z] 6808be2612f2: Download complete [2023-03-15T16:22:08.709Z] 935e6c44a52c: Pull complete [2023-03-15T16:22:08.969Z] 94cc34f8dd06: Pull complete [2023-03-15T16:22:08.969Z] 30dea6a524f1: Pull complete [2023-03-15T16:22:08.969Z] a2aff8979fd8: Pull complete [2023-03-15T16:22:11.499Z] 6808be2612f2: Pull complete [2023-03-15T16:22:12.478Z] f25807f1079a: Pull complete [2023-03-15T16:22:12.478Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T16:22:12.478Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T16:22:12.478Z] ---> 3b553350e43f [2023-03-15T16:22:12.478Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:22:15.868Z] ---> Running in b54fdbc0aab5 [2023-03-15T16:22:15.868Z] Removing intermediate container b54fdbc0aab5 [2023-03-15T16:22:15.868Z] ---> da5cc6d9a681 [2023-03-15T16:22:15.868Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:22:15.868Z] ---> Running in 378b84e2435f [2023-03-15T16:22:15.868Z] Removing intermediate container 378b84e2435f [2023-03-15T16:22:15.868Z] ---> facffcfee3cc [2023-03-15T16:22:15.868Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-15T16:22:15.868Z] ---> Running in 623d05da29e3 [2023-03-15T16:22:15.868Z] Removing intermediate container 623d05da29e3 [2023-03-15T16:22:15.868Z] ---> a66ddc7b9ec2 [2023-03-15T16:22:15.868Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:22:15.868Z] ---> Running in d2f7ae6d19b1 [2023-03-15T16:22:15.868Z] Removing intermediate container d2f7ae6d19b1 [2023-03-15T16:22:15.868Z] ---> e95e05a62f90 [2023-03-15T16:22:15.868Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-15T16:22:15.868Z] ---> Running in ac40e92d7569 [2023-03-15T16:22:15.868Z] Removing intermediate container ac40e92d7569 [2023-03-15T16:22:15.868Z] ---> dae5d09f34cc [2023-03-15T16:22:15.868Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:22:15.868Z] ---> Running in 21d5a2a2f4eb [2023-03-15T16:22:16.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:22:16.385Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:22:16.648Z] OK: 265 MiB in 53 packages [2023-03-15T16:22:16.907Z] Removing intermediate container 21d5a2a2f4eb [2023-03-15T16:22:16.907Z] ---> 84e82aa38b08 [2023-03-15T16:22:16.907Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-15T16:22:16.907Z] ---> Running in 096c167793c6 [2023-03-15T16:22:17.164Z] Removing intermediate container 096c167793c6 [2023-03-15T16:22:17.164Z] ---> a7b30ba4086e [2023-03-15T16:22:17.164Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-15T16:22:17.164Z] ---> 440c065a50f7 [2023-03-15T16:22:17.164Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:22:17.164Z] ---> Running in c8ee94ffad9c [2023-03-15T16:22:17.862Z] Still waiting to schedule task [2023-03-15T16:22:17.863Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:22:43.789Z] Removing intermediate container c8ee94ffad9c [2023-03-15T16:22:43.789Z] ---> 8ddc36d1bd4f [2023-03-15T16:22:43.789Z] Step 12/13 : COPY . . [2023-03-15T16:22:44.356Z] ---> 041e5c9acf33 [2023-03-15T16:22:44.356Z] Step 13/13 : RUN ${MAKE} [2023-03-15T16:22:44.356Z] ---> Running in a192508d3535 [2023-03-15T16:22:44.924Z] noop [2023-03-15T16:22:44.924Z] Removing intermediate container a192508d3535 [2023-03-15T16:22:44.924Z] ---> 07fd75f41c77 [2023-03-15T16:22:44.924Z] Successfully built 07fd75f41c77 [2023-03-15T16:22:44.924Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:45.242Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:22:45.242Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:22:45.314Z] prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container [2023-03-15T16:22:45.346Z] $ 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-15T16:22:45.692Z] $ docker top 68eb7acd64c1ff06a6c7a7c17695afd423e2e7cb88b0db7673570d0dd91dd01d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:22:46.037Z] + go version [2023-03-15T16:22:46.037Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T16:22:46.048Z] $ docker stop --time=1 68eb7acd64c1ff06a6c7a7c17695afd423e2e7cb88b0db7673570d0dd91dd01d [2023-03-15T16:22:47.340Z] $ docker rm -f --volumes 68eb7acd64c1ff06a6c7a7c17695afd423e2e7cb88b0db7673570d0dd91dd01d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:22:47.725Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:22:47.725Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:22:47.793Z] prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container [2023-03-15T16:22:47.816Z] $ 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-15T16:22:48.152Z] $ docker top 91f20d98e3a1c678bb350c9092d423aa93dfa25f01b11bd768f42385d5aae19c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:22:48.488Z] + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:22:48.783Z] + make test [2023-03-15T16:22:48.783Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:22:54.053Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-15T16:23:06.254Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-15T16:23:06.254Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-15T16:23:08.788Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 30.5% of statements [2023-03-15T16:23:08.788Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.447s coverage: 86.5% of statements [2023-03-15T16:23:16.900Z] go vet ./... [2023-03-15T16:23:21.085Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:23:21.085Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:23:21.085Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:23:21.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:23:21.111Z] $ docker stop --time=1 91f20d98e3a1c678bb350c9092d423aa93dfa25f01b11bd768f42385d5aae19c [2023-03-15T16:23:23.928Z] $ docker rm -f --volumes 91f20d98e3a1c678bb350c9092d423aa93dfa25f01b11bd768f42385d5aae19c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:23:24.420Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:23:24.478Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T16:23:24.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:23:25.186Z] + ls -al . [2023-03-15T16:23:25.186Z] total 232 [2023-03-15T16:23:25.186Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:22 . [2023-03-15T16:23:25.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:21 .. [2023-03-15T16:23:25.186Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:22 .git [2023-03-15T16:23:25.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:21 .github [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 15 16:21 .gitignore [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 16:21 .golangci.yml [2023-03-15T16:23:25.186Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:21 .semver [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 15 16:21 Attribution.txt [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 15 16:21 CHANGELOG.md [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 15 16:21 Dockerfile [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:21 GOVERNANCE.md [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 15 16:21 Jenkinsfile [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 15 16:21 LICENSE [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 2751 Mar 15 16:21 Makefile [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 16:21 OWNERS.md [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 15 16:21 README.md [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:22 VERSION [2023-03-15T16:23:25.186Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:21 bin [2023-03-15T16:23:25.186Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:21 cmd [2023-03-15T16:23:25.186Z] -rw-r--r-- 1 jenkins jenkins 76650 Mar 15 16:23 coverage.out [2023-03-15T16:23:25.186Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 16:21 doc [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 15 16:21 go.mod [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 32890 Mar 15 16:21 go.sum [2023-03-15T16:23:25.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:21 internal [2023-03-15T16:23:25.186Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:21 snap [2023-03-15T16:23:25.186Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 15 16:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:25.491Z] + 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=b19be15f1aae5ce963d99b90e51172ceff0b476d --label arch=amd64 --label version=3.0.0-dev.21 . [2023-03-15T16:23:25.491Z] Sending build context to Docker daemon 27.93MB [2023-03-15T16:23:25.491Z] Step 1/26 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:23:25.491Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-15T16:23:25.491Z] ---> 07fd75f41c77 [2023-03-15T16:23:25.491Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:23:26.062Z] ---> Running in 3a3a7f6366c3 [2023-03-15T16:23:26.062Z] Removing intermediate container 3a3a7f6366c3 [2023-03-15T16:23:26.062Z] ---> f834607cd1b2 [2023-03-15T16:23:26.062Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:23:26.062Z] ---> Running in f751fb7bd7ff [2023-03-15T16:23:26.062Z] Removing intermediate container f751fb7bd7ff [2023-03-15T16:23:26.062Z] ---> 2c73d910b10c [2023-03-15T16:23:26.062Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-15T16:23:26.062Z] ---> Running in 2b3778f621c0 [2023-03-15T16:23:26.322Z] Removing intermediate container 2b3778f621c0 [2023-03-15T16:23:26.322Z] ---> de5a3e66b2e0 [2023-03-15T16:23:26.322Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:23:26.322Z] ---> Running in c8f3a54793c2 [2023-03-15T16:23:26.322Z] Removing intermediate container c8f3a54793c2 [2023-03-15T16:23:26.322Z] ---> 172f380c931c [2023-03-15T16:23:26.322Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-15T16:23:26.322Z] ---> Running in 5f4263343122 [2023-03-15T16:23:26.322Z] Removing intermediate container 5f4263343122 [2023-03-15T16:23:26.322Z] ---> e8e7ed0fa66f [2023-03-15T16:23:26.322Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:23:26.322Z] ---> Running in 5f1b5da7b58e [2023-03-15T16:23:26.580Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:23:26.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:23:27.097Z] OK: 265 MiB in 53 packages [2023-03-15T16:23:27.664Z] Removing intermediate container 5f1b5da7b58e [2023-03-15T16:23:27.664Z] ---> a6a4a96bad88 [2023-03-15T16:23:27.664Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-15T16:23:27.664Z] ---> Running in b7ab09e48d89 [2023-03-15T16:23:27.664Z] Removing intermediate container b7ab09e48d89 [2023-03-15T16:23:27.664Z] ---> 0fdb962d9869 [2023-03-15T16:23:27.664Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-15T16:23:27.664Z] ---> d67cbf092be8 [2023-03-15T16:23:27.664Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:23:27.664Z] ---> Running in 42cd1ce26af3 [2023-03-15T16:23:28.599Z] Removing intermediate container 42cd1ce26af3 [2023-03-15T16:23:28.599Z] ---> 5a1d7e0162df [2023-03-15T16:23:28.599Z] Step 12/26 : COPY . . [2023-03-15T16:23:29.557Z] ---> bc691095e16d [2023-03-15T16:23:29.557Z] Step 13/26 : RUN ${MAKE} [2023-03-15T16:23:29.557Z] ---> Running in 3828206f057c [2023-03-15T16:23:29.557Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-15T16:23:51.481Z] Removing intermediate container 3828206f057c [2023-03-15T16:23:51.481Z] ---> a4c756cb72a6 [2023-03-15T16:23:51.481Z] Step 14/26 : FROM alpine:3.17 [2023-03-15T16:23:51.482Z] 3.17: Pulling from library/alpine [2023-03-15T16:23:51.482Z] 63b65145d645: Already exists [2023-03-15T16:23:51.482Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:23:51.482Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:23:51.482Z] ---> b2aa39c304c2 [2023-03-15T16:23:51.482Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-15T16:23:51.482Z] ---> Running in 5b550dc3f702 [2023-03-15T16:23:51.482Z] Removing intermediate container 5b550dc3f702 [2023-03-15T16:23:51.482Z] ---> 170f139664f7 [2023-03-15T16:23:51.482Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:23:51.482Z] ---> Running in c25f12687edd [2023-03-15T16:23:51.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:23:51.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:23:51.482Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:23:51.482Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:23:51.482Z] OK: 7 MiB in 16 packages [2023-03-15T16:23:51.482Z] Removing intermediate container c25f12687edd [2023-03-15T16:23:51.482Z] ---> 9bb690e4a4dd [2023-03-15T16:23:51.482Z] Step 17/26 : WORKDIR / [2023-03-15T16:23:51.482Z] ---> Running in 8d9925e15c9c [2023-03-15T16:23:51.482Z] Removing intermediate container 8d9925e15c9c [2023-03-15T16:23:51.482Z] ---> cc325cf3b304 [2023-03-15T16:23:51.482Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-15T16:23:51.797Z] ---> d3c94e0f06c5 [2023-03-15T16:23:51.797Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-15T16:23:52.057Z] ---> cc592258938b [2023-03-15T16:23:52.057Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-15T16:23:52.623Z] ---> 8cceb789d69b [2023-03-15T16:23:52.623Z] Step 21/26 : EXPOSE 59984 [2023-03-15T16:23:52.623Z] ---> Running in 12e591cbf20b [2023-03-15T16:23:52.881Z] Removing intermediate container 12e591cbf20b [2023-03-15T16:23:52.881Z] ---> e5a84b0e3c22 [2023-03-15T16:23:52.881Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-15T16:23:52.881Z] ---> Running in a3f8a98f7bca [2023-03-15T16:23:53.139Z] Removing intermediate container a3f8a98f7bca [2023-03-15T16:23:53.139Z] ---> 37bad1a18462 [2023-03-15T16:23:53.139Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T16:23:53.139Z] ---> Running in 9d1531c9dbfe [2023-03-15T16:23:53.139Z] Removing intermediate container 9d1531c9dbfe [2023-03-15T16:23:53.139Z] ---> faed3a70d6f0 [2023-03-15T16:23:53.139Z] Step 24/26 : LABEL arch=amd64 [2023-03-15T16:23:53.139Z] ---> Running in 44ac4440ddb6 [2023-03-15T16:23:53.139Z] Removing intermediate container 44ac4440ddb6 [2023-03-15T16:23:53.139Z] ---> fb66353e72a5 [2023-03-15T16:23:53.139Z] Step 25/26 : LABEL git_sha=b19be15f1aae5ce963d99b90e51172ceff0b476d [2023-03-15T16:23:53.139Z] ---> Running in df8514c5f950 [2023-03-15T16:23:53.398Z] Removing intermediate container df8514c5f950 [2023-03-15T16:23:53.398Z] ---> 1ada9298b0ba [2023-03-15T16:23:53.398Z] Step 26/26 : LABEL version=3.0.0-dev.21 [2023-03-15T16:23:53.398Z] ---> Running in 559f0be7c8c8 [2023-03-15T16:23:53.398Z] Removing intermediate container 559f0be7c8c8 [2023-03-15T16:23:53.398Z] ---> 8edb0a04ea4e [2023-03-15T16:23:53.398Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:23:53.398Z] Successfully built 8edb0a04ea4e [2023-03-15T16:23:53.398Z] 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-15T16:23:53.485Z] provisioning config files... [2023-03-15T16:23:53.495Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3167212999320933504tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:23:53.785Z] ---> docker-login.sh [2023-03-15T16:23:53.785Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:23:53.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:23:53.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:23:53.785Z] Configure a credential helper to remove this warning. See [2023-03-15T16:23:53.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:23:53.785Z] [2023-03-15T16:23:53.785Z] Login Succeeded [2023-03-15T16:23:53.785Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:23:53.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:23:53.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:23:53.785Z] Configure a credential helper to remove this warning. See [2023-03-15T16:23:53.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:23:53.785Z] [2023-03-15T16:23:53.785Z] Login Succeeded [2023-03-15T16:23:53.785Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:23:54.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:23:54.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:23:54.043Z] Configure a credential helper to remove this warning. See [2023-03-15T16:23:54.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:23:54.043Z] [2023-03-15T16:23:54.043Z] Login Succeeded [2023-03-15T16:23:54.043Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:23:54.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:23:54.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:23:54.043Z] Configure a credential helper to remove this warning. See [2023-03-15T16:23:54.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:23:54.043Z] [2023-03-15T16:23:54.043Z] Login Succeeded [2023-03-15T16:23:54.043Z] docker.io [2023-03-15T16:23:54.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:23:54.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:23:54.301Z] Configure a credential helper to remove this warning. See [2023-03-15T16:23:54.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:23:54.301Z] [2023-03-15T16:23:54.301Z] Login Succeeded [2023-03-15T16:23:54.301Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:23:54.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:23:54.589Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:23:54.604Z] [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: [2023-03-15T16:23:54.604Z] b19be15f1aae5ce963d99b90e51172ceff0b476d [2023-03-15T16:23:54.604Z] latest [2023-03-15T16:23:54.604Z] 3.0.0-dev.21 [2023-03-15T16:23:54.604Z] b19be15f1aae5ce963d99b90e51172ceff0b476d-3.0.0-dev.21 [2023-03-15T16:23:54.604Z] main [2023-03-15T16:23:54.604Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:54.906Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:55.208Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d [2023-03-15T16:23:55.208Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-03-15T16:23:55.208Z] 1545929a457d: Preparing [2023-03-15T16:23:55.208Z] 52f5bc9d5d46: Preparing [2023-03-15T16:23:55.208Z] 7e357f4f6c0b: Preparing [2023-03-15T16:23:55.208Z] 1388f8044278: Preparing [2023-03-15T16:23:55.208Z] 7cd52847ad77: Preparing [2023-03-15T16:23:55.208Z] 7cd52847ad77: Layer already exists [2023-03-15T16:23:55.208Z] 52f5bc9d5d46: Pushed [2023-03-15T16:23:55.208Z] 1545929a457d: Pushed [2023-03-15T16:23:55.208Z] 1388f8044278: Pushed [2023-03-15T16:23:58.500Z] 7e357f4f6c0b: Pushed [2023-03-15T16:23:58.500Z] b19be15f1aae5ce963d99b90e51172ceff0b476d: digest: sha256:d0a4b158e3d57fbd3f404d88a98ea14631ce140522abf2313dbdf109d612ffc6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:58.821Z] + 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-15T16:23:59.124Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-03-15T16:23:59.124Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-03-15T16:23:59.124Z] 1545929a457d: Preparing [2023-03-15T16:23:59.124Z] 52f5bc9d5d46: Preparing [2023-03-15T16:23:59.124Z] 7e357f4f6c0b: Preparing [2023-03-15T16:23:59.124Z] 1388f8044278: Preparing [2023-03-15T16:23:59.124Z] 7cd52847ad77: Preparing [2023-03-15T16:23:59.124Z] 1545929a457d: Layer already exists [2023-03-15T16:23:59.124Z] 7cd52847ad77: Layer already exists [2023-03-15T16:23:59.124Z] 7e357f4f6c0b: Layer already exists [2023-03-15T16:23:59.124Z] 52f5bc9d5d46: Layer already exists [2023-03-15T16:23:59.124Z] 1388f8044278: Layer already exists [2023-03-15T16:23:59.124Z] latest: digest: sha256:d0a4b158e3d57fbd3f404d88a98ea14631ce140522abf2313dbdf109d612ffc6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:59.428Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:23:59.730Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.21 [2023-03-15T16:23:59.730Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-03-15T16:23:59.730Z] 1545929a457d: Preparing [2023-03-15T16:23:59.730Z] 52f5bc9d5d46: Preparing [2023-03-15T16:23:59.730Z] 7e357f4f6c0b: Preparing [2023-03-15T16:23:59.730Z] 1388f8044278: Preparing [2023-03-15T16:23:59.730Z] 7cd52847ad77: Preparing [2023-03-15T16:23:59.730Z] 7e357f4f6c0b: Layer already exists [2023-03-15T16:23:59.730Z] 1388f8044278: Layer already exists [2023-03-15T16:23:59.730Z] 1545929a457d: Layer already exists [2023-03-15T16:23:59.730Z] 52f5bc9d5d46: Layer already exists [2023-03-15T16:23:59.730Z] 7cd52847ad77: Layer already exists [2023-03-15T16:23:59.730Z] 3.0.0-dev.21: digest: sha256:d0a4b158e3d57fbd3f404d88a98ea14631ce140522abf2313dbdf109d612ffc6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:00.042Z] + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:00.351Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d-3.0.0-dev.21 [2023-03-15T16:24:00.351Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-03-15T16:24:00.351Z] 1545929a457d: Preparing [2023-03-15T16:24:00.351Z] 52f5bc9d5d46: Preparing [2023-03-15T16:24:00.351Z] 7e357f4f6c0b: Preparing [2023-03-15T16:24:00.351Z] 1388f8044278: Preparing [2023-03-15T16:24:00.351Z] 7cd52847ad77: Preparing [2023-03-15T16:24:00.351Z] 7cd52847ad77: Layer already exists [2023-03-15T16:24:00.351Z] 1545929a457d: Layer already exists [2023-03-15T16:24:00.351Z] 1388f8044278: Layer already exists [2023-03-15T16:24:00.351Z] 7e357f4f6c0b: Layer already exists [2023-03-15T16:24:00.351Z] 52f5bc9d5d46: Layer already exists [2023-03-15T16:24:00.351Z] b19be15f1aae5ce963d99b90e51172ceff0b476d-3.0.0-dev.21: digest: sha256:d0a4b158e3d57fbd3f404d88a98ea14631ce140522abf2313dbdf109d612ffc6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:00.668Z] + 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-15T16:24:00.973Z] + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main [2023-03-15T16:24:00.973Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] [2023-03-15T16:24:00.973Z] 1545929a457d: Preparing [2023-03-15T16:24:00.973Z] 52f5bc9d5d46: Preparing [2023-03-15T16:24:00.973Z] 7e357f4f6c0b: Preparing [2023-03-15T16:24:00.973Z] 1388f8044278: Preparing [2023-03-15T16:24:00.973Z] 7cd52847ad77: Preparing [2023-03-15T16:24:00.973Z] 7cd52847ad77: Layer already exists [2023-03-15T16:24:00.973Z] 1545929a457d: Layer already exists [2023-03-15T16:24:00.973Z] 7e357f4f6c0b: Layer already exists [2023-03-15T16:24:00.973Z] 52f5bc9d5d46: Layer already exists [2023-03-15T16:24:00.973Z] 1388f8044278: Layer already exists [2023-03-15T16:24:00.973Z] main: digest: sha256:d0a4b158e3d57fbd3f404d88a98ea14631ce140522abf2313dbdf109d612ffc6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:24:01.023Z] ===================================================== [Pipeline] echo [2023-03-15T16:24:01.030Z] taggedImages: [2023-03-15T16:24:01.030Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d [2023-03-15T16:24:01.030Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [2023-03-15T16:24:01.030Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.21 [2023-03-15T16:24:01.030Z] - nexus3.edgexfoundry.org:10004/device-onvif-camera:b19be15f1aae5ce963d99b90e51172ceff0b476d-3.0.0-dev.21 [2023-03-15T16:24:01.030Z] - 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-15T16:24:01.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:24:01.373Z] [2023-03-15T16:24:01.373Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:24:01.665Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:24:01.928Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T16:24:01.928Z] 5eb5b503b376: Pulling fs layer [2023-03-15T16:24:01.928Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T16:24:01.928Z] ec43610c2a17: Pulling fs layer [2023-03-15T16:24:01.928Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T16:24:01.928Z] 33b1e0a273af: Pulling fs layer [2023-03-15T16:24:01.928Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T16:24:01.928Z] 2f39f015ded8: Pulling fs layer [2023-03-15T16:24:01.928Z] 33b1e0a273af: Waiting [2023-03-15T16:24:01.928Z] 3a2ae6a8a46f: Waiting [2023-03-15T16:24:01.928Z] 5d3b04190fa2: Waiting [2023-03-15T16:24:01.928Z] 2f39f015ded8: Waiting [2023-03-15T16:24:01.928Z] 5c69ac0246d0: Download complete [2023-03-15T16:24:01.928Z] 3a2ae6a8a46f: Download complete [2023-03-15T16:24:02.187Z] 33b1e0a273af: Verifying Checksum [2023-03-15T16:24:02.187Z] 33b1e0a273af: Download complete [2023-03-15T16:24:02.187Z] 5d3b04190fa2: Download complete [2023-03-15T16:24:02.187Z] ec43610c2a17: Download complete [2023-03-15T16:24:02.187Z] 5eb5b503b376: Verifying Checksum [2023-03-15T16:24:02.187Z] 5eb5b503b376: Download complete [2023-03-15T16:24:03.127Z] 2f39f015ded8: Download complete [2023-03-15T16:24:03.695Z] 5eb5b503b376: Pull complete [2023-03-15T16:24:03.695Z] 5c69ac0246d0: Pull complete [2023-03-15T16:24:04.260Z] ec43610c2a17: Pull complete [2023-03-15T16:24:04.260Z] 3a2ae6a8a46f: Pull complete [2023-03-15T16:24:04.516Z] 33b1e0a273af: Pull complete [2023-03-15T16:24:04.516Z] 5d3b04190fa2: Pull complete [2023-03-15T16:24:09.773Z] 2f39f015ded8: Pull complete [2023-03-15T16:24:09.773Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T16:24:09.773Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:24:09.773Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:24:09.856Z] prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container [2023-03-15T16:24:09.884Z] $ 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-15T16:24:12.467Z] $ docker top 9f02135fcc90aeb265c53644d00ec8a8f039cc7190ec230f3508cf3784a7ef76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:24:12.887Z] ---> job-cost.sh [2023-03-15T16:24:12.888Z] lf-activate-venv: SKIPPING [2023-03-15T16:24:12.888Z] INFO: No Stack... [2023-03-15T16:24:13.152Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:24:13.411Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:24:13.707Z] + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv [2023-03-15T16:24:13.707Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:24:13.722Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] [2023-03-15T16:24:13.728Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] did not exist. Created. [2023-03-15T16:24:13.728Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:24:14.033Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T16:24:14.063Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:24:14.069Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:24:14.083Z] $ docker stop --time=1 9f02135fcc90aeb265c53644d00ec8a8f039cc7190ec230f3508cf3784a7ef76 [2023-03-15T16:24:15.244Z] $ docker rm -f --volumes 9f02135fcc90aeb265c53644d00ec8a8f039cc7190ec230f3508cf3784a7ef76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:38:07.474Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1740 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws [2023-03-15T16:38:07.485Z] Running in /w/workspace/device-onvif-camera/112 [Pipeline] { [Pipeline] checkout [2023-03-15T16:38:07.521Z] The recommended git tool is: git [2023-03-15T16:38:15.292Z] using credential edgex-jenkins-ssh [2023-03-15T16:38:15.310Z] Cloning the remote Git repository [2023-03-15T16:38:15.391Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-15T16:38:15.533Z] > git init /w/workspace/device-onvif-camera/112 # timeout=10 [2023-03-15T16:38:15.752Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-15T16:38:15.754Z] > git --version # timeout=10 [2023-03-15T16:38:15.783Z] > git --version # 'git version 2.25.1' [2023-03-15T16:38:15.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:38:15.996Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:38:17.699Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-15T16:38:17.730Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:38:18.955Z] Avoid second fetch [2023-03-15T16:38:18.955Z] Checking out Revision b19be15f1aae5ce963d99b90e51172ceff0b476d (main) [2023-03-15T16:38:18.982Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:38:19.072Z] > git checkout -f b19be15f1aae5ce963d99b90e51172ceff0b476d # timeout=10 [2023-03-15T16:38:20.031Z] Commit message: "ci: Change dependabot gomod schedule to daily (#264)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:38:21.091Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T16:38:21.091Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:38:21.091Z] Dload Upload Total Spent Left Speed [2023-03-15T16:38:21.091Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2023-03-15T16:38:21.797Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T16:38:22.152Z] + sudo tee /etc/docker/daemon.new [2023-03-15T16:38:22.152Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T16:38:22.152Z] { [2023-03-15T16:38:22.152Z] "registry-mirrors": [ [2023-03-15T16:38:22.152Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T16:38:22.152Z] ], [2023-03-15T16:38:22.152Z] "bip": "10.250.0.254/24", [2023-03-15T16:38:22.152Z] "hosts": [ [2023-03-15T16:38:22.152Z] "tcp://0.0.0.0:5555", [2023-03-15T16:38:22.152Z] "unix:///var/run/docker.sock" [2023-03-15T16:38:22.152Z] ], [2023-03-15T16:38:22.152Z] "mtu": 1458, [2023-03-15T16:38:22.152Z] "selinux-enabled": true, [2023-03-15T16:38:22.152Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T16:38:22.152Z] } [Pipeline] sh [2023-03-15T16:38:22.509Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T16:38:22.875Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:38:41.228Z] provisioning config files... [2023-03-15T16:38:41.262Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/112@tmp/config6065576185445735562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:38:41.637Z] ---> docker-login.sh [2023-03-15T16:38:41.637Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:38:42.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:38:42.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:38:42.230Z] Configure a credential helper to remove this warning. See [2023-03-15T16:38:42.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:38:42.230Z] [2023-03-15T16:38:42.230Z] Login Succeeded [2023-03-15T16:38:42.230Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:38:42.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:38:42.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:38:42.779Z] Configure a credential helper to remove this warning. See [2023-03-15T16:38:42.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:38:42.779Z] [2023-03-15T16:38:42.779Z] Login Succeeded [2023-03-15T16:38:42.779Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:38:43.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:38:43.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:38:43.052Z] Configure a credential helper to remove this warning. See [2023-03-15T16:38:43.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:38:43.052Z] [2023-03-15T16:38:43.052Z] Login Succeeded [2023-03-15T16:38:43.052Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:38:43.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:38:43.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:38:43.605Z] Configure a credential helper to remove this warning. See [2023-03-15T16:38:43.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:38:43.605Z] [2023-03-15T16:38:43.605Z] Login Succeeded [2023-03-15T16:38:43.605Z] docker.io [2023-03-15T16:38:43.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:38:44.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:38:44.162Z] Configure a credential helper to remove this warning. See [2023-03-15T16:38:44.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:38:44.162Z] [2023-03-15T16:38:44.162Z] Login Succeeded [2023-03-15T16:38:44.162Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:38:44.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:38:44.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:38:44.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:38:44.596Z] ========================================================= [2023-03-15T16:38:44.596Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T16:38:44.596Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:38:44.949Z] + 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-15T16:38:45.543Z] Sending build context to Docker daemon 20.61MB [2023-03-15T16:38:45.543Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:38:45.543Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-15T16:38:45.830Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T16:38:45.830Z] af6eaf76a39c: Pulling fs layer [2023-03-15T16:38:45.830Z] 55522c791124: Pulling fs layer [2023-03-15T16:38:45.830Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T16:38:45.830Z] 169dfbe0d373: Pulling fs layer [2023-03-15T16:38:45.830Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T16:38:45.830Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T16:38:45.830Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T16:38:45.830Z] e1ff8fa3b103: Waiting [2023-03-15T16:38:45.830Z] 52ebb69f0ebf: Waiting [2023-03-15T16:38:45.830Z] 5abe8eddf0d5: Waiting [2023-03-15T16:38:45.830Z] 169dfbe0d373: Waiting [2023-03-15T16:38:45.830Z] 55522c791124: Verifying Checksum [2023-03-15T16:38:45.830Z] 55522c791124: Download complete [2023-03-15T16:38:45.830Z] 169dfbe0d373: Download complete [2023-03-15T16:38:45.830Z] e1ff8fa3b103: Download complete [2023-03-15T16:38:46.111Z] af6eaf76a39c: Verifying Checksum [2023-03-15T16:38:46.111Z] af6eaf76a39c: Download complete [2023-03-15T16:38:47.095Z] af6eaf76a39c: Pull complete [2023-03-15T16:38:47.368Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T16:38:47.368Z] 5abe8eddf0d5: Download complete [2023-03-15T16:38:47.642Z] 55522c791124: Pull complete [2023-03-15T16:38:48.618Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T16:38:48.618Z] ce5c4a1c91eb: Download complete [2023-03-15T16:38:48.618Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T16:38:48.618Z] 52ebb69f0ebf: Download complete [2023-03-15T16:39:00.980Z] ce5c4a1c91eb: Pull complete [2023-03-15T16:39:00.980Z] 169dfbe0d373: Pull complete [2023-03-15T16:39:00.980Z] e1ff8fa3b103: Pull complete [2023-03-15T16:39:07.689Z] 52ebb69f0ebf: Pull complete [2023-03-15T16:39:09.782Z] 5abe8eddf0d5: Pull complete [2023-03-15T16:39:09.782Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T16:39:09.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T16:39:09.782Z] ---> 6cb57ee374ae [2023-03-15T16:39:09.782Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:39:12.437Z] ---> Running in f47a35596088 [2023-03-15T16:39:12.715Z] Removing intermediate container f47a35596088 [2023-03-15T16:39:12.715Z] ---> 4d0dc9d59ede [2023-03-15T16:39:12.715Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:39:12.715Z] ---> Running in 1092e8d7cc55 [2023-03-15T16:39:12.987Z] Removing intermediate container 1092e8d7cc55 [2023-03-15T16:39:12.987Z] ---> 8640e00377dd [2023-03-15T16:39:12.987Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-15T16:39:13.258Z] ---> Running in 25bf91d2e34a [2023-03-15T16:39:13.528Z] Removing intermediate container 25bf91d2e34a [2023-03-15T16:39:13.528Z] ---> 645cbcb254e6 [2023-03-15T16:39:13.528Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:39:13.528Z] ---> Running in 14ed68c25f18 [2023-03-15T16:39:14.122Z] Removing intermediate container 14ed68c25f18 [2023-03-15T16:39:14.122Z] ---> 8e5d67f8b691 [2023-03-15T16:39:14.122Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-15T16:39:14.122Z] ---> Running in c26f96efb890 [2023-03-15T16:39:14.395Z] Removing intermediate container c26f96efb890 [2023-03-15T16:39:14.395Z] ---> f327e5ba6086 [2023-03-15T16:39:14.395Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:39:14.668Z] ---> Running in 95c8b5f83e08 [2023-03-15T16:39:16.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:39:16.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:39:18.698Z] OK: 263 MiB in 53 packages [2023-03-15T16:39:19.295Z] Removing intermediate container 95c8b5f83e08 [2023-03-15T16:39:19.295Z] ---> cf509318f0fc [2023-03-15T16:39:19.295Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-15T16:39:19.566Z] ---> Running in b394af6f892e [2023-03-15T16:39:19.857Z] Removing intermediate container b394af6f892e [2023-03-15T16:39:19.857Z] ---> fe68dd804f23 [2023-03-15T16:39:19.857Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-15T16:39:20.457Z] ---> 3fcf631ca19a [2023-03-15T16:39:20.457Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:39:20.732Z] ---> Running in 423ea1ccb3f4 [2023-03-15T16:40:42.442Z] Removing intermediate container 423ea1ccb3f4 [2023-03-15T16:40:42.442Z] ---> eea7c29f7fe0 [2023-03-15T16:40:42.442Z] Step 12/13 : COPY . . [2023-03-15T16:40:42.442Z] ---> 3e314a6d4a92 [2023-03-15T16:40:42.442Z] Step 13/13 : RUN ${MAKE} [2023-03-15T16:40:42.442Z] ---> Running in 1f5525c39105 [2023-03-15T16:40:42.442Z] noop [2023-03-15T16:40:42.442Z] Removing intermediate container 1f5525c39105 [2023-03-15T16:40:42.442Z] ---> c3f59bc9b40d [2023-03-15T16:40:42.442Z] Successfully built c3f59bc9b40d [2023-03-15T16:40:42.443Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:40:42.807Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:40:42.808Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:40:43.067Z] prd-ubuntu20.04-docker-arm64-4c-16g-1740 does not seem to be running inside a container [2023-03-15T16:40:43.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/112 -v /w/workspace/device-onvif-camera/112:/w/workspace/device-onvif-camera/112:rw,z -v /w/workspace/device-onvif-camera/112@tmp:/w/workspace/device-onvif-camera/112@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-15T16:40:44.613Z] $ docker top c00485d567312a40328f62ed63a9c2842b5c4a84146b01961ecd28b027281775 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:40:45.509Z] + go version [2023-03-15T16:40:45.509Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T16:40:45.537Z] $ docker stop --time=1 c00485d567312a40328f62ed63a9c2842b5c4a84146b01961ecd28b027281775 [2023-03-15T16:40:47.326Z] $ docker rm -f --volumes c00485d567312a40328f62ed63a9c2842b5c4a84146b01961ecd28b027281775 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:40:47.917Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:40:47.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:40:48.170Z] prd-ubuntu20.04-docker-arm64-4c-16g-1740 does not seem to be running inside a container [2023-03-15T16:40:48.263Z] $ 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/112 -v /w/workspace/device-onvif-camera/112:/w/workspace/device-onvif-camera/112:rw,z -v /w/workspace/device-onvif-camera/112@tmp:/w/workspace/device-onvif-camera/112@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-15T16:40:49.691Z] $ docker top d9e48a194293b979d576d9c89f2ac6c40cc553fcfe109cba0427ec5da25aaeb4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:40:50.574Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/112 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:40:51.250Z] + make test [2023-03-15T16:40:51.251Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:41:38.146Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-15T16:44:30.015Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-15T16:44:35.391Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-15T16:44:37.982Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.229s coverage: 30.5% of statements [2023-03-15T16:45:10.254Z] --- FAIL: TestIpGenerator (0.00s) [2023-03-15T16:45:10.254Z] --- FAIL: TestIpGenerator/basic_/8_subnet (30.06s) [2023-03-15T16:45:10.254Z] util_test.go:180: [2023-03-15T16:45:10.254Z] Error Trace: /w/workspace/device-onvif-camera/112/internal/netscan/util_test.go:180 [2023-03-15T16:45:10.254Z] Error: Not equal: [2023-03-15T16:45:10.254Z] expected: 0xfffffe [2023-03-15T16:45:10.254Z] actual : 0xf2eaf5 [2023-03-15T16:45:10.254Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-15T16:45:10.254Z] util_test.go:183: [2023-03-15T16:45:10.254Z] Error Trace: /w/workspace/device-onvif-camera/112/internal/netscan/util_test.go:183 [2023-03-15T16:45:10.254Z] Error: Not equal: [2023-03-15T16:45:10.254Z] expected: "10.255.255.254" [2023-03-15T16:45:10.254Z] actual : "10.242.234.245" [2023-03-15T16:45:10.254Z] [2023-03-15T16:45:10.254Z] Diff: [2023-03-15T16:45:10.254Z] --- Expected [2023-03-15T16:45:10.254Z] +++ Actual [2023-03-15T16:45:10.254Z] @@ -1 +1 @@ [2023-03-15T16:45:10.254Z] -10.255.255.254 [2023-03-15T16:45:10.254Z] +10.242.234.245 [2023-03-15T16:45:10.254Z] Test: TestIpGenerator/basic_/8_subnet [2023-03-15T16:45:10.254Z] FAIL [2023-03-15T16:45:10.254Z] github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements [2023-03-15T16:45:10.254Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.294s [2023-03-15T16:45:10.254Z] FAIL [2023-03-15T16:45:10.254Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-15T16:45:10.280Z] $ docker stop --time=1 d9e48a194293b979d576d9c89f2ac6c40cc553fcfe109cba0427ec5da25aaeb4 [2023-03-15T16:45:12.209Z] $ docker rm -f --volumes d9e48a194293b979d576d9c89f2ac6c40cc553fcfe109cba0427ec5da25aaeb4 [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-15T16:45:13.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:45:13.571Z] [2023-03-15T16:45:13.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:45:13.917Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:45:13.917Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T16:45:13.917Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T16:45:13.917Z] 04944245beec: Pulling fs layer [2023-03-15T16:45:13.917Z] 699f458cf7ca: Pulling fs layer [2023-03-15T16:45:13.917Z] 765212b225bb: Pulling fs layer [2023-03-15T16:45:13.917Z] f23df028b6ca: Pulling fs layer [2023-03-15T16:45:13.917Z] 765212b225bb: Waiting [2023-03-15T16:45:13.917Z] f23df028b6ca: Waiting [2023-03-15T16:45:14.188Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T16:45:14.188Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T16:45:14.188Z] 2437ff75d9bd: Waiting [2023-03-15T16:45:14.188Z] d65c8cfc05b1: Waiting [2023-03-15T16:45:14.188Z] 04944245beec: Verifying Checksum [2023-03-15T16:45:14.188Z] 04944245beec: Download complete [2023-03-15T16:45:14.188Z] 765212b225bb: Verifying Checksum [2023-03-15T16:45:14.188Z] 765212b225bb: Download complete [2023-03-15T16:45:14.188Z] f23df028b6ca: Verifying Checksum [2023-03-15T16:45:14.188Z] f23df028b6ca: Download complete [2023-03-15T16:45:14.188Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T16:45:14.188Z] d65c8cfc05b1: Download complete [2023-03-15T16:45:14.459Z] 699f458cf7ca: Verifying Checksum [2023-03-15T16:45:14.459Z] 699f458cf7ca: Download complete [2023-03-15T16:45:14.730Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T16:45:14.730Z] 8998bd30e6a1: Download complete [2023-03-15T16:45:17.343Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T16:45:17.343Z] 2437ff75d9bd: Download complete [2023-03-15T16:45:18.764Z] 8998bd30e6a1: Pull complete [2023-03-15T16:45:19.357Z] 04944245beec: Pull complete [2023-03-15T16:45:20.767Z] 699f458cf7ca: Pull complete [2023-03-15T16:45:20.767Z] 765212b225bb: Pull complete [2023-03-15T16:45:21.354Z] f23df028b6ca: Pull complete [2023-03-15T16:45:21.622Z] d65c8cfc05b1: Pull complete [2023-03-15T16:45:36.638Z] 2437ff75d9bd: Pull complete [2023-03-15T16:45:36.638Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T16:45:36.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:45:36.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:45:36.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-1740 does not seem to be running inside a container [2023-03-15T16:45:36.922Z] $ 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/112 -v /w/workspace/device-onvif-camera/112:/w/workspace/device-onvif-camera/112:rw,z -v /w/workspace/device-onvif-camera/112@tmp:/w/workspace/device-onvif-camera/112@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-15T16:45:39.796Z] $ docker top 862a9157bc84e4a203561b2d6735a29c2da790ecb884e6f3a4867d157c3a8b0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:40.672Z] ---> job-cost.sh [2023-03-15T16:45:40.672Z] lf-activate-venv: SKIPPING [2023-03-15T16:45:40.672Z] INFO: No Stack... [2023-03-15T16:45:41.258Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T16:45:41.844Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:45:42.492Z] + cat /w/workspace/device-onvif-camera/112/archives/cost.csv [2023-03-15T16:45:42.492Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:45:42.570Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] [2023-03-15T16:45:42.575Z] Resource [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] did not exist. Created. [2023-03-15T16:45:42.576Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:45:43.232Z] /w/workspace/device-onvif-camera/112@tmp/durable-d8030f56/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T16:45:43.896Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T16:45:43.922Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T16:45:44.451Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:45:44.456Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-112-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:45:44.479Z] $ docker stop --time=1 862a9157bc84e4a203561b2d6735a29c2da790ecb884e6f3a4867d157c3a8b0f [2023-03-15T16:45:45.966Z] $ docker rm -f --volumes 862a9157bc84e4a203561b2d6735a29c2da790ecb884e6f3a4867d157c3a8b0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:45:46.225Z] 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-15T16:45:46.840Z] + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] [2023-03-15T16:45:46.840Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-03-15T16:45:46.840Z] total 16 [2023-03-15T16:45:46.840Z] drwxr-xr-x 3 root root 4096 Mar 15 16:24 . [2023-03-15T16:45:46.840Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:24 .. [2023-03-15T16:45:46.840Z] drwxr-xr-x 2 root root 4096 Mar 15 16:24 cost [2023-03-15T16:45:46.840Z] -rw-r--r-- 1 root root 91 Mar 15 16:24 cost.csv [2023-03-15T16:45:46.840Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives [2023-03-15T16:45:46.840Z] + ls -al /w/workspace/foundry_device-onvif-camera_main/archives [2023-03-15T16:45:46.840Z] total 16 [2023-03-15T16:45:46.840Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:24 . [2023-03-15T16:45:46.840Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:24 .. [2023-03-15T16:45:46.840Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:24 cost [2023-03-15T16:45:46.840Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 15 16:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:47.127Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:47.981Z] ---> package-listing.sh [2023-03-15T16:45:47.981Z] ++ facter osfamily [2023-03-15T16:45:47.981Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T16:45:48.240Z] + OS_FAMILY=debian [2023-03-15T16:45:48.240Z] + workspace=/w/workspace/foundry_device-onvif-camera_main [2023-03-15T16:45:48.240Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T16:45:48.240Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T16:45:48.240Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T16:45:48.240Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T16:45:48.240Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-03-15T16:45:48.240Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T16:45:48.240Z] + case "${OS_FAMILY}" in [2023-03-15T16:45:48.240Z] + dpkg -l [2023-03-15T16:45:48.240Z] + grep '^ii' [2023-03-15T16:45:48.240Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T16:45:48.240Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T16:45:48.240Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T16:45:48.240Z] + '[' /w/workspace/foundry_device-onvif-camera_main ']' [2023-03-15T16:45:48.240Z] + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ [2023-03-15T16:45:48.240Z] + 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-15T16:45:48.249Z] 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-15T16:45:48.527Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:45:49.097Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:45:49.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:45:49.166Z] prd-ubuntu20.04-docker-8c-8g-1002 does not seem to be running inside a container [2023-03-15T16:45:49.192Z] $ 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-15T16:45:49.404Z] $ docker top 7e4b22417e683f9e6b79fa1c3ff6c3180d8c88748b855ddf305a0037d9ebcda2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:45:49.746Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T16:45:50.032Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T16:45:50.315Z] + ls /var/log/sa-host [2023-03-15T16:45:50.315Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:45:50.373Z] provisioning config files... [2023-03-15T16:45:50.380Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config12161298267831527356tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:45:50.395Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:50.675Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T16:45:50.682Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:51.010Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T16:45:51.017Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:51.296Z] ---> sudo-logs.sh [2023-03-15T16:45:51.296Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T16:45:51.328Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:51.607Z] ---> job-cost.sh [2023-03-15T16:45:51.607Z] lf-activate-venv: SKIPPING [2023-03-15T16:45:51.607Z] DEBUG: total: 0.2199999988079071 [2023-03-15T16:45:51.607Z] INFO: Retrieving Stack Cost... [2023-03-15T16:45:51.866Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:45:52.434Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T16:45:52.445Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:45:52.728Z] ---> logs-deploy.sh [2023-03-15T16:45:52.729Z] lf-activate-venv: SKIPPING [2023-03-15T16:45:52.729Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/112 [2023-03-15T16:45:52.729Z] INFO: archiving workspace using pattern(s): [2023-03-15T16:45:53.665Z] Archives upload complete. [2023-03-15T16:45:53.665Z] INFO: archiving logs to Nexus