Pull request #265 updated Pull request #265 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-usb-camera Loading trusted files from base branch main at 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a rather than 16256f212911993d41bf80a6d84ab30d86ead696 Obtained Jenkinsfile from 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a 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-ssh10386593192165497308.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh6232168639285658664.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-265/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-usb-camera/branches/PR-265/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5302098791651051221.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh10383648150905361989.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-usb-camera/branches/PR-265/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-usb-camera/branches/PR-265/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10355522135413766004.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-usb-camera] ========================================================= [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-usb-camera-settings PROJECT: device-usb-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-usb-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: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1181’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1183 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-usb-camera.git > git init /w/workspace/foundry_device-usb-camera_PR-265 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 16256f212911993d41bf80a6d84ab30d86ead696 Merge succeeded, producing 16256f212911993d41bf80a6d84ab30d86ead696 Checking out Revision 16256f212911993d41bf80a6d84ab30d86ead696 (PR-265) > git config core.sparsecheckout # timeout=10 > git checkout -f 16256f212911993d41bf80a6d84ab30d86ead696 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16256f212911993d41bf80a6d84ab30d86ead696 # timeout=10 Commit message: "docs: update postman" First time build. Skipping changelog. > git rev-list --no-walk e91ec58c8b480eb0b0a47f11c23178624732d78a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-14T21:17:37.939Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-14T21:17:38.004Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-14T21:17:38.019Z] ========================================================= [2023-07-14T21:17:38.019Z] EdgeX Global Pipelines Version Info [2023-07-14T21:17:38.019Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:17:38.732Z] ------------------- [2023-07-14T21:17:38.732Z] stable info: [2023-07-14T21:17:38.732Z] ------------------- [2023-07-14T21:17:38.732Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-14T21:17:38.732Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-14T21:17:38.732Z] Message: update stable to v1.0.250 [2023-07-14T21:17:39.304Z] ------------------- [2023-07-14T21:17:39.305Z] experimental info: [2023-07-14T21:17:39.305Z] ------------------- [2023-07-14T21:17:39.305Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-14T21:17:39.305Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-14T21:17:39.305Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-14T21:17:39.468Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-07-14T21:17:39.481Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-07-14T21:17:39.500Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-14T21:17:39.517Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-14T21:17:39.540Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-14T21:17:39.558Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-14T21:17:39.575Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-14T21:17:39.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-14T21:17:39.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-14T21:17:39.609Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-14T21:17:39.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-14T21:17:39.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-07-14T21:17:39.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-14T21:17:39.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-14T21:17:39.688Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-14T21:17:39.703Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-14T21:17:39.716Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-14T21:17:39.731Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-14T21:17:39.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-14T21:17:39.759Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-14T21:17:39.776Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-14T21:17:39.789Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-14T21:17:39.802Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-14T21:17:39.816Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-14T21:17:39.829Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-14T21:17:39.840Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-14T21:17:39.851Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-14T21:17:39.863Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-265 [Pipeline] echo [2023-07-14T21:17:39.878Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-265 [Pipeline] echo [2023-07-14T21:17:39.894Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-265 [Pipeline] echo [2023-07-14T21:17:39.907Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16256f212911993d41bf80a6d84ab30d86ead696 [Pipeline] echo [2023-07-14T21:17:39.922Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16256f2 [Pipeline] echo [2023-07-14T21:17:39.938Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-14T21:17:39.979Z] provisioning config files... [2023-07-14T21:17:39.994Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config12183308395693811054tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:17:40.295Z] ---> docker-login.sh [2023-07-14T21:17:40.296Z] nexus3.edgexfoundry.org:10001 [2023-07-14T21:17:40.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:17:40.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:17:40.556Z] Configure a credential helper to remove this warning. See [2023-07-14T21:17:40.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:17:40.557Z] [2023-07-14T21:17:40.557Z] Login Succeeded [2023-07-14T21:17:40.557Z] nexus3.edgexfoundry.org:10002 [2023-07-14T21:17:40.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:17:40.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:17:40.818Z] Configure a credential helper to remove this warning. See [2023-07-14T21:17:40.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:17:40.818Z] [2023-07-14T21:17:40.818Z] Login Succeeded [2023-07-14T21:17:40.818Z] nexus3.edgexfoundry.org:10003 [2023-07-14T21:17:40.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:17:40.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:17:40.818Z] Configure a credential helper to remove this warning. See [2023-07-14T21:17:40.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:17:40.818Z] [2023-07-14T21:17:40.818Z] Login Succeeded [2023-07-14T21:17:40.818Z] nexus3.edgexfoundry.org:10004 [2023-07-14T21:17:41.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:17:41.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:17:41.080Z] Configure a credential helper to remove this warning. See [2023-07-14T21:17:41.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:17:41.080Z] [2023-07-14T21:17:41.080Z] Login Succeeded [2023-07-14T21:17:41.080Z] docker.io [2023-07-14T21:17:41.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:17:41.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:17:41.340Z] Configure a credential helper to remove this warning. See [2023-07-14T21:17:41.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:17:41.340Z] [2023-07-14T21:17:41.340Z] Login Succeeded [2023-07-14T21:17:41.340Z] ---> docker-login.sh ends [Pipeline] } [2023-07-14T21:17:41.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-14T21:17:41.697Z] + git rev-list -1 --merges 16256f212911993d41bf80a6d84ab30d86ead696~1..16256f212911993d41bf80a6d84ab30d86ead696 [Pipeline] echo [2023-07-14T21:17:41.744Z] -----------> git rev-list -1 --merges 16256f212911993d41bf80a6d84ab30d86ead696~1..16256f212911993d41bf80a6d84ab30d86ead696 16256f212911993d41bf80a6d84ab30d86ead696 [false] [Pipeline] sh [2023-07-14T21:17:42.030Z] + git log --format=format:%s -1 16256f212911993d41bf80a6d84ab30d86ead696 [Pipeline] echo [2023-07-14T21:17:42.043Z] ========================================================= [2023-07-14T21:17:42.043Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-14T21:17:42.043Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-14T21:17:42.364Z] + git log --format=format:%s -1 16256f212911993d41bf80a6d84ab30d86ead696 [Pipeline] echo [2023-07-14T21:17:42.376Z] [semverPrep] GIT_COMMIT: 16256f212911993d41bf80a6d84ab30d86ead696, Commit Message: docs: update postman [Pipeline] echo [2023-07-14T21:17:42.386Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-14T21:17:42.730Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-14T21:17:42.730Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-14T21:17:42.730Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-14T21:17:42.730Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-14T21:17:42.730Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-14T21:17:42.730Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-14T21:17:42.730Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:17:43.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T21:17:43.080Z] [2023-07-14T21:17:43.080Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:17:43.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T21:17:43.390Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-14T21:17:43.390Z] b85a868b505f: Pulling fs layer [2023-07-14T21:17:43.390Z] e2be974225ed: Pulling fs layer [2023-07-14T21:17:43.390Z] 339a4e72a1f5: Pulling fs layer [2023-07-14T21:17:43.390Z] 988bab9f4d93: Pulling fs layer [2023-07-14T21:17:43.390Z] 1469e6f7b9e6: Pulling fs layer [2023-07-14T21:17:43.390Z] 988bab9f4d93: Waiting [2023-07-14T21:17:43.390Z] eaf3925da568: Pulling fs layer [2023-07-14T21:17:43.390Z] bab4dde63d76: Pulling fs layer [2023-07-14T21:17:43.390Z] bde34c3a00c8: Pulling fs layer [2023-07-14T21:17:43.390Z] b352a97aabf1: Pulling fs layer [2023-07-14T21:17:43.390Z] 1469e6f7b9e6: Waiting [2023-07-14T21:17:43.390Z] bde34c3a00c8: Waiting [2023-07-14T21:17:43.390Z] bab4dde63d76: Waiting [2023-07-14T21:17:43.390Z] 4872d77fe225: Pulling fs layer [2023-07-14T21:17:43.390Z] b352a97aabf1: Waiting [2023-07-14T21:17:43.390Z] eaf3925da568: Waiting [2023-07-14T21:17:43.390Z] 5851b861e8e6: Pulling fs layer [2023-07-14T21:17:43.390Z] 5851b861e8e6: Waiting [2023-07-14T21:17:43.390Z] e2be974225ed: Download complete [2023-07-14T21:17:43.390Z] 988bab9f4d93: Verifying Checksum [2023-07-14T21:17:43.390Z] 988bab9f4d93: Download complete [2023-07-14T21:17:43.652Z] 1469e6f7b9e6: Verifying Checksum [2023-07-14T21:17:43.652Z] 1469e6f7b9e6: Download complete [2023-07-14T21:17:43.652Z] eaf3925da568: Download complete [2023-07-14T21:17:43.652Z] 339a4e72a1f5: Verifying Checksum [2023-07-14T21:17:43.652Z] 339a4e72a1f5: Download complete [2023-07-14T21:17:43.652Z] bde34c3a00c8: Verifying Checksum [2023-07-14T21:17:43.652Z] bde34c3a00c8: Download complete [2023-07-14T21:17:43.652Z] b352a97aabf1: Verifying Checksum [2023-07-14T21:17:43.652Z] b352a97aabf1: Download complete [2023-07-14T21:17:43.652Z] 4872d77fe225: Verifying Checksum [2023-07-14T21:17:43.652Z] 4872d77fe225: Download complete [2023-07-14T21:17:43.652Z] 5851b861e8e6: Verifying Checksum [2023-07-14T21:17:43.652Z] 5851b861e8e6: Download complete [2023-07-14T21:17:43.652Z] b85a868b505f: Verifying Checksum [2023-07-14T21:17:43.652Z] b85a868b505f: Download complete [2023-07-14T21:17:43.911Z] bab4dde63d76: Download complete [2023-07-14T21:17:45.299Z] b85a868b505f: Pull complete [2023-07-14T21:17:45.299Z] e2be974225ed: Pull complete [2023-07-14T21:17:45.560Z] 339a4e72a1f5: Pull complete [2023-07-14T21:17:45.820Z] 988bab9f4d93: Pull complete [2023-07-14T21:17:46.080Z] 1469e6f7b9e6: Pull complete [2023-07-14T21:17:46.080Z] eaf3925da568: Pull complete [2023-07-14T21:17:47.980Z] bab4dde63d76: Pull complete [2023-07-14T21:17:47.980Z] bde34c3a00c8: Pull complete [2023-07-14T21:17:48.238Z] b352a97aabf1: Pull complete [2023-07-14T21:17:48.238Z] 4872d77fe225: Pull complete [2023-07-14T21:17:48.238Z] 5851b861e8e6: Pull complete [2023-07-14T21:17:48.238Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-14T21:17:48.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-14T21:17:48.498Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T21:17:48.596Z] prd-ubuntu20.04-docker-8c-8g-1183 does not seem to be running inside a container [2023-07-14T21:17:48.657Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-14T21:17:51.130Z] $ docker top fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 -eo pid,comm [2023-07-14T21:17:51.185Z] 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-07-14T21:17:51.185Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-14T21:17:51.217Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-14T21:17:51.217Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-14T21:17:51.328Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-14T21:17:51.330Z] $ docker exec fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 ssh-agent [2023-07-14T21:17:51.448Z] SSH_AUTH_SOCK=/tmp/ssh-alaOj5kLQ4wo/agent.31 [2023-07-14T21:17:51.448Z] SSH_AGENT_PID=37 [2023-07-14T21:17:51.456Z] Running ssh-add (command line suppressed) [2023-07-14T21:17:51.551Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_15561775500610082364.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_15561775500610082364.key) [2023-07-14T21:17:51.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-14T21:17:51.857Z] + git tag --points-at HEAD [Pipeline] } [2023-07-14T21:17:51.868Z] $ docker exec --env ******** --env ******** fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 ssh-agent -k [2023-07-14T21:17:51.986Z] unset SSH_AUTH_SOCK; [2023-07-14T21:17:51.986Z] unset SSH_AGENT_PID; [2023-07-14T21:17:51.986Z] echo Agent pid 37 killed; [2023-07-14T21:17:51.997Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-14T21:17:52.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-14T21:17:52.018Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-14T21:17:52.135Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-14T21:17:52.136Z] $ docker exec fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 ssh-agent [2023-07-14T21:17:52.239Z] SSH_AUTH_SOCK=/tmp/ssh-UjDEwZ1624hq/agent.69 [2023-07-14T21:17:52.239Z] SSH_AGENT_PID=75 [2023-07-14T21:17:52.245Z] Running ssh-add (command line suppressed) [2023-07-14T21:17:52.353Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_1504785823391486842.key (/w/workspace/foundry_device-usb-camera_PR-265@tmp/private_key_1504785823391486842.key) [2023-07-14T21:17:52.367Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-14T21:17:52.652Z] + git semver init [2023-07-14T21:17:52.911Z] 2023-07-14 21:17:52,848 [run_init] DEBUG init version:0.0.0 force:False [2023-07-14T21:17:52.911Z] 2023-07-14 21:17:52,849 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-14T21:17:52.911Z] 2023-07-14 21:17:52,850 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-265/.semver [2023-07-14T21:17:52.911Z] 2023-07-14 21:17:52,850 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-265/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-265, universal_newlines=False, shell=None, istream=None) [2023-07-14T21:17:53.850Z] 2023-07-14 21:17:53,583 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-265/.git/info/exclude [2023-07-14T21:17:53.850Z] 2023-07-14 21:17:53,583 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 with force:False [2023-07-14T21:17:53.850Z] 2023-07-14 21:17:53,584 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-14T21:17:53.850Z] 2023-07-14 21:17:53,587 [execute] INFO git cat-file --batch-check [2023-07-14T21:17:53.850Z] 2023-07-14 21:17:53,588 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-07-14T21:17:53.850Z] 2023-07-14 21:17:53,594 [execute] INFO git cat-file --batch [2023-07-14T21:17:53.850Z] 2023-07-14 21:17:53,594 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-265/.semver, universal_newlines=False, shell=None, istream=) [2023-07-14T21:17:53.850Z] 2023-07-14 21:17:53,600 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-265/.semver/PR-265 [2023-07-14T21:17:53.850Z] 0.0.0 [Pipeline] } [2023-07-14T21:17:53.860Z] $ docker exec --env ******** --env ******** fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 ssh-agent -k [2023-07-14T21:17:53.960Z] unset SSH_AUTH_SOCK; [2023-07-14T21:17:53.960Z] unset SSH_AGENT_PID; [2023-07-14T21:17:53.960Z] echo Agent pid 75 killed; [2023-07-14T21:17:53.971Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-14T21:17:54.273Z] + git semver [Pipeline] } [2023-07-14T21:17:54.548Z] $ docker stop --time=1 fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 [2023-07-14T21:17:55.859Z] $ docker rm -f --volumes fbf8151b77bd0711f422320c533e52a5f364b046bd9304efe947c868f093c157 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-14T21:17:56.201Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-14T21:17:56.422Z] Stashed 1 file(s) [Pipeline] echo [2023-07-14T21:17:56.426Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-14T21:17:56.585Z] provisioning config files... [2023-07-14T21:17:56.596Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config12687436415545280634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:17:56.894Z] ---> docker-login.sh [2023-07-14T21:17:56.894Z] nexus3.edgexfoundry.org:10001 [2023-07-14T21:17:56.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:17:56.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:17:56.894Z] Configure a credential helper to remove this warning. See [2023-07-14T21:17:56.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:17:56.894Z] [2023-07-14T21:17:56.894Z] Login Succeeded [2023-07-14T21:17:56.894Z] nexus3.edgexfoundry.org:10002 [2023-07-14T21:17:56.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:17:56.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:17:56.894Z] Configure a credential helper to remove this warning. See [2023-07-14T21:17:56.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:17:56.894Z] [2023-07-14T21:17:56.894Z] Login Succeeded [2023-07-14T21:17:56.894Z] nexus3.edgexfoundry.org:10003 [2023-07-14T21:17:57.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:17:57.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:17:57.153Z] Configure a credential helper to remove this warning. See [2023-07-14T21:17:57.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:17:57.153Z] [2023-07-14T21:17:57.153Z] Login Succeeded [2023-07-14T21:17:57.153Z] nexus3.edgexfoundry.org:10004 [2023-07-14T21:17:57.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:17:57.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:17:57.153Z] Configure a credential helper to remove this warning. See [2023-07-14T21:17:57.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:17:57.153Z] [2023-07-14T21:17:57.153Z] Login Succeeded [2023-07-14T21:17:57.153Z] docker.io [2023-07-14T21:17:57.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:17:57.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:17:57.412Z] Configure a credential helper to remove this warning. See [2023-07-14T21:17:57.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:17:57.412Z] [2023-07-14T21:17:57.412Z] Login Succeeded [2023-07-14T21:17:57.412Z] ---> docker-login.sh ends [Pipeline] } [2023-07-14T21:17:57.420Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-14T21:17:57.487Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T21:17:57.502Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T21:17:57.509Z] ========================================================= [2023-07-14T21:17:57.509Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-14T21:17:57.509Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:17:57.818Z] + 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-07-14T21:17:57.818Z] Sending build context to Docker daemon 2.14MB [2023-07-14T21:17:57.818Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-14T21:17:57.818Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-14T21:17:57.818Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-14T21:17:57.818Z] 4db1b89c0bd1: Pulling fs layer [2023-07-14T21:17:57.818Z] 6911f1a30b25: Pulling fs layer [2023-07-14T21:17:57.818Z] e194b8c5c2a9: Pulling fs layer [2023-07-14T21:17:57.818Z] 6863d3e3a2b1: Pulling fs layer [2023-07-14T21:17:57.818Z] ec0bb842ea78: Pulling fs layer [2023-07-14T21:17:57.818Z] 40a00589a448: Pulling fs layer [2023-07-14T21:17:57.818Z] 6c08303d61cc: Pulling fs layer [2023-07-14T21:17:57.818Z] 798269fcf238: Pulling fs layer [2023-07-14T21:17:57.818Z] 6863d3e3a2b1: Waiting [2023-07-14T21:17:57.818Z] 40a00589a448: Waiting [2023-07-14T21:17:57.818Z] ec0bb842ea78: Waiting [2023-07-14T21:17:57.818Z] 6c08303d61cc: Waiting [2023-07-14T21:17:57.818Z] 6911f1a30b25: Verifying Checksum [2023-07-14T21:17:57.818Z] 6911f1a30b25: Download complete [2023-07-14T21:17:58.077Z] 6863d3e3a2b1: Verifying Checksum [2023-07-14T21:17:58.077Z] 6863d3e3a2b1: Download complete [2023-07-14T21:17:58.077Z] 4db1b89c0bd1: Verifying Checksum [2023-07-14T21:17:58.077Z] 4db1b89c0bd1: Download complete [2023-07-14T21:17:58.077Z] ec0bb842ea78: Verifying Checksum [2023-07-14T21:17:58.077Z] ec0bb842ea78: Download complete [2023-07-14T21:17:58.077Z] 40a00589a448: Verifying Checksum [2023-07-14T21:17:58.077Z] 40a00589a448: Download complete [2023-07-14T21:17:58.077Z] 4db1b89c0bd1: Pull complete [2023-07-14T21:17:58.336Z] 6911f1a30b25: Pull complete [2023-07-14T21:17:58.597Z] 798269fcf238: Verifying Checksum [2023-07-14T21:17:58.597Z] 798269fcf238: Download complete [2023-07-14T21:17:58.597Z] e194b8c5c2a9: Verifying Checksum [2023-07-14T21:17:58.597Z] e194b8c5c2a9: Download complete [2023-07-14T21:17:58.857Z] 6c08303d61cc: Verifying Checksum [2023-07-14T21:17:58.857Z] 6c08303d61cc: Download complete [2023-07-14T21:18:03.073Z] e194b8c5c2a9: Pull complete [2023-07-14T21:18:03.073Z] 6863d3e3a2b1: Pull complete [2023-07-14T21:18:03.073Z] ec0bb842ea78: Pull complete [2023-07-14T21:18:03.073Z] 40a00589a448: Pull complete [2023-07-14T21:18:05.753Z] 6c08303d61cc: Pull complete [2023-07-14T21:18:06.687Z] 798269fcf238: Pull complete [2023-07-14T21:18:06.687Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-14T21:18:06.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-14T21:18:06.687Z] ---> ec979cd7f677 [2023-07-14T21:18:06.687Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-14T21:18:10.899Z] ---> Running in de70fbb5fda3 [2023-07-14T21:18:10.899Z] Removing intermediate container de70fbb5fda3 [2023-07-14T21:18:10.899Z] ---> 8d12553e172e [2023-07-14T21:18:10.899Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-14T21:18:10.899Z] ---> Running in 688cd347f3af [2023-07-14T21:18:10.899Z] Removing intermediate container 688cd347f3af [2023-07-14T21:18:10.899Z] ---> b5be08b8b8e6 [2023-07-14T21:18:10.899Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-14T21:18:10.899Z] ---> Running in a7e7429ab6b2 [2023-07-14T21:18:10.899Z] Removing intermediate container a7e7429ab6b2 [2023-07-14T21:18:10.899Z] ---> 2b030ed8f53d [2023-07-14T21:18:10.899Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-14T21:18:11.158Z] ---> Running in 38153585bc1b [2023-07-14T21:18:11.158Z] Removing intermediate container 38153585bc1b [2023-07-14T21:18:11.158Z] ---> 151fe46f889c [2023-07-14T21:18:11.158Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-14T21:18:11.158Z] ---> Running in a32374a54166 [2023-07-14T21:18:11.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-14T21:18:11.546Z] Still waiting to schedule task [2023-07-14T21:18:11.547Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1182’ is offline [2023-07-14T21:18:11.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-14T21:18:11.937Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-14T21:18:11.937Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-14T21:18:11.937Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-14T21:18:11.937Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-14T21:18:11.937Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-14T21:18:11.937Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-14T21:18:11.937Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-14T21:18:11.937Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-14T21:18:11.937Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-14T21:18:11.937Z] (10/14) Installing kmod-libs (30-r1) [2023-07-14T21:18:11.937Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-14T21:18:11.937Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-14T21:18:11.937Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-14T21:18:11.937Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-14T21:18:11.938Z] Executing busybox-1.35.0-r29.trigger [2023-07-14T21:18:11.938Z] Executing eudev-3.2.11-r4.trigger [2023-07-14T21:18:11.938Z] OK: 272 MiB in 67 packages [2023-07-14T21:18:12.874Z] Removing intermediate container a32374a54166 [2023-07-14T21:18:12.874Z] ---> 6de8f6cc316b [2023-07-14T21:18:12.874Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-14T21:18:12.874Z] ---> Running in 269b08f98405 [2023-07-14T21:18:12.874Z] Removing intermediate container 269b08f98405 [2023-07-14T21:18:12.874Z] ---> 8b339bf5ea49 [2023-07-14T21:18:12.874Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-14T21:18:12.874Z] ---> 1fc4ffe07877 [2023-07-14T21:18:12.874Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-14T21:18:12.874Z] ---> Running in 197560b95661 [2023-07-14T21:18:39.419Z] Removing intermediate container 197560b95661 [2023-07-14T21:18:39.419Z] ---> 6532c49cfffd [2023-07-14T21:18:39.419Z] Step 11/13 : COPY . . [2023-07-14T21:18:39.679Z] ---> 7f267f2c5655 [2023-07-14T21:18:39.679Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-14T21:18:39.679Z] ---> Running in ac569c5523ba [2023-07-14T21:18:39.937Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-14T21:18:39.937Z] Dload Upload Total Spent Left Speed [2023-07-14T21:18:40.197Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 8124 0 --:--:-- --:--:-- --:--:-- 8169 [2023-07-14T21:18:40.455Z] Removing intermediate container ac569c5523ba [2023-07-14T21:18:40.455Z] ---> 7a8091c1b855 [2023-07-14T21:18:40.455Z] Step 13/13 : RUN ${MAKE} [2023-07-14T21:18:40.455Z] ---> Running in 2e82b8b301c4 [2023-07-14T21:18:40.714Z] noop [2023-07-14T21:18:40.973Z] Removing intermediate container 2e82b8b301c4 [2023-07-14T21:18:40.973Z] ---> 22e788f25867 [2023-07-14T21:18:40.973Z] Successfully built 22e788f25867 [2023-07-14T21:18:40.973Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:18:41.279Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-14T21:18:41.279Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T21:18:41.354Z] prd-ubuntu20.04-docker-8c-8g-1183 does not seem to be running inside a container [2023-07-14T21:18:41.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-14T21:18:41.727Z] $ docker top 28026b8cc6d0a3386b3bb795f8483a314ab06155bf5c670e7c29609472b49a31 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T21:18:42.078Z] + go version [2023-07-14T21:18:42.078Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-14T21:18:42.087Z] $ docker stop --time=1 28026b8cc6d0a3386b3bb795f8483a314ab06155bf5c670e7c29609472b49a31 [2023-07-14T21:18:43.375Z] $ docker rm -f --volumes 28026b8cc6d0a3386b3bb795f8483a314ab06155bf5c670e7c29609472b49a31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:18:43.789Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-14T21:18:43.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T21:18:43.864Z] prd-ubuntu20.04-docker-8c-8g-1183 does not seem to be running inside a container [2023-07-14T21:18:43.890Z] $ 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-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-14T21:18:44.253Z] $ docker top 8c1233a08ac8befe42f03cdbee9ed4f342897a3696a37793dc3595064af6dbb5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T21:18:44.611Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] fileExists [Pipeline] sh [2023-07-14T21:18:44.903Z] + make test [2023-07-14T21:18:44.903Z] go test ./... -coverprofile=coverage.out ./... [2023-07-14T21:18:50.166Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-14T21:19:00.401Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-07-14T21:19:00.401Z] internal/driver/device.go:117:67: fmt.Sprintf format %d has arg fps of wrong type string [2023-07-14T21:19:00.660Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-14T21:19:01.228Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-07-14T21:19:01.228Z] FAIL [2023-07-14T21:19:01.228Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-07-14T21:19:01.238Z] $ docker stop --time=1 8c1233a08ac8befe42f03cdbee9ed4f342897a3696a37793dc3595064af6dbb5 [2023-07-14T21:19:04.551Z] $ docker rm -f --volumes 8c1233a08ac8befe42f03cdbee9ed4f342897a3696a37793dc3595064af6dbb5 [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 [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:19:05.142Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T21:19:05.142Z] [2023-07-14T21:19:05.142Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:19:05.442Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T21:19:05.442Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-14T21:19:05.442Z] 5eb5b503b376: Pulling fs layer [2023-07-14T21:19:05.442Z] 5c69ac0246d0: Pulling fs layer [2023-07-14T21:19:05.442Z] ec43610c2a17: Pulling fs layer [2023-07-14T21:19:05.443Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-14T21:19:05.443Z] 33b1e0a273af: Pulling fs layer [2023-07-14T21:19:05.443Z] 5d3b04190fa2: Pulling fs layer [2023-07-14T21:19:05.443Z] 2f39f015ded8: Pulling fs layer [2023-07-14T21:19:05.443Z] 5d3b04190fa2: Waiting [2023-07-14T21:19:05.443Z] 3a2ae6a8a46f: Waiting [2023-07-14T21:19:05.443Z] 2f39f015ded8: Waiting [2023-07-14T21:19:05.443Z] 5c69ac0246d0: Download complete [2023-07-14T21:19:05.443Z] 3a2ae6a8a46f: Download complete [2023-07-14T21:19:05.443Z] 33b1e0a273af: Verifying Checksum [2023-07-14T21:19:05.443Z] 33b1e0a273af: Download complete [2023-07-14T21:19:05.443Z] ec43610c2a17: Verifying Checksum [2023-07-14T21:19:05.443Z] ec43610c2a17: Download complete [2023-07-14T21:19:05.443Z] 5d3b04190fa2: Download complete [2023-07-14T21:19:05.702Z] 5eb5b503b376: Verifying Checksum [2023-07-14T21:19:05.702Z] 5eb5b503b376: Download complete [2023-07-14T21:19:06.267Z] 2f39f015ded8: Download complete [2023-07-14T21:19:06.832Z] 5eb5b503b376: Pull complete [2023-07-14T21:19:07.090Z] 5c69ac0246d0: Pull complete [2023-07-14T21:19:07.660Z] ec43610c2a17: Pull complete [2023-07-14T21:19:07.660Z] 3a2ae6a8a46f: Pull complete [2023-07-14T21:19:07.919Z] 33b1e0a273af: Pull complete [2023-07-14T21:19:07.919Z] 5d3b04190fa2: Pull complete [2023-07-14T21:19:12.105Z] 2f39f015ded8: Pull complete [2023-07-14T21:19:12.105Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-14T21:19:12.105Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T21:19:12.105Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T21:19:12.192Z] prd-ubuntu20.04-docker-8c-8g-1183 does not seem to be running inside a container [2023-07-14T21:19:12.223Z] $ 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-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-14T21:19:15.864Z] $ docker top bb772aee4604f28e0366aa5b7f63c653236315c3412ae85a5e125c4ab47f36d9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:19:16.232Z] ---> job-cost.sh [2023-07-14T21:19:16.232Z] lf-activate-venv: SKIPPING [2023-07-14T21:19:16.232Z] INFO: No Stack... [2023-07-14T21:19:16.800Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-14T21:19:17.058Z] INFO: Archiving Costs [Pipeline] sh [2023-07-14T21:19:17.348Z] + cat /w/workspace/foundry_device-usb-camera_PR-265/archives/cost.csv [2023-07-14T21:19:17.348Z] + cut -d, -f6 [Pipeline] lock [2023-07-14T21:19:17.362Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] [2023-07-14T21:19:17.370Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] did not exist. Created. [2023-07-14T21:19:17.370Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-14T21:19:17.670Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-14T21:19:17.712Z] Stashed 1 file(s) [Pipeline] } [2023-07-14T21:19:17.718Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-14T21:19:17.731Z] $ docker stop --time=1 bb772aee4604f28e0366aa5b7f63c653236315c3412ae85a5e125c4ab47f36d9 [2023-07-14T21:19:18.883Z] $ docker rm -f --volumes bb772aee4604f28e0366aa5b7f63c653236315c3412ae85a5e125c4ab47f36d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-14T21:19:18.991Z] Failed in branch amd64 [2023-07-14T21:19:50.891Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1184 in /w/workspace/foundry_device-usb-camera_PR-265 [Pipeline] { [Pipeline] ws [2023-07-14T21:19:50.905Z] Running in /w/workspace/device-usb-camera/3 [Pipeline] { [Pipeline] checkout [2023-07-14T21:19:50.941Z] Selected Git installation does not exist. Using Default [2023-07-14T21:19:50.942Z] The recommended git tool is: NONE [2023-07-14T21:19:55.928Z] using credential edgex-jenkins-ssh [2023-07-14T21:19:55.943Z] Cloning the remote Git repository [2023-07-14T21:19:55.984Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-07-14T21:19:56.071Z] > git init /w/workspace/device-usb-camera/3 # timeout=10 [2023-07-14T21:19:56.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-14T21:19:56.197Z] > git --version # timeout=10 [2023-07-14T21:19:56.218Z] > git --version # 'git version 2.25.1' [2023-07-14T21:19:56.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-14T21:19:56.354Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-14T21:19:57.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-14T21:19:57.146Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-14T21:19:57.961Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-07-14T21:19:58.004Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-07-14T21:19:58.005Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-14T21:19:58.023Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/265/head:refs/remotes/origin/PR-265 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-14T21:19:58.654Z] Merging remotes/origin/main commit 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a into PR head commit 16256f212911993d41bf80a6d84ab30d86ead696 [2023-07-14T21:19:58.932Z] Merge succeeded, producing 16256f212911993d41bf80a6d84ab30d86ead696 [2023-07-14T21:19:58.932Z] Checking out Revision 16256f212911993d41bf80a6d84ab30d86ead696 (PR-265) [2023-07-14T21:19:58.673Z] > git config core.sparsecheckout # timeout=10 [2023-07-14T21:19:58.751Z] > git checkout -f 16256f212911993d41bf80a6d84ab30d86ead696 # timeout=10 [2023-07-14T21:19:58.839Z] > git remote # timeout=10 [2023-07-14T21:19:58.858Z] > git config --get remote.origin.url # timeout=10 [2023-07-14T21:19:58.883Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-14T21:19:58.896Z] > git merge 7adbecab942a7b2115c6abd3dbc7641bc9f3f60a # timeout=10 [2023-07-14T21:19:58.920Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-14T21:19:58.941Z] > git config core.sparsecheckout # timeout=10 [2023-07-14T21:19:58.955Z] > git checkout -f 16256f212911993d41bf80a6d84ab30d86ead696 # timeout=10 [2023-07-14T21:20:02.384Z] Commit message: "docs: update postman" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-14T21:20:03.328Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-14T21:20:03.328Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-14T21:20:03.328Z] Dload Upload Total Spent Left Speed [2023-07-14T21:20:03.328Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-07-14T21:20:03.983Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-14T21:20:04.313Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-14T21:20:04.313Z] + sudo tee /etc/docker/daemon.new [2023-07-14T21:20:04.313Z] { [2023-07-14T21:20:04.313Z] "registry-mirrors": [ [2023-07-14T21:20:04.313Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-14T21:20:04.313Z] ], [2023-07-14T21:20:04.313Z] "bip": "10.250.0.254/24", [2023-07-14T21:20:04.313Z] "hosts": [ [2023-07-14T21:20:04.313Z] "tcp://0.0.0.0:5555", [2023-07-14T21:20:04.313Z] "unix:///var/run/docker.sock" [2023-07-14T21:20:04.313Z] ], [2023-07-14T21:20:04.313Z] "mtu": 1458, [2023-07-14T21:20:04.313Z] "selinux-enabled": true, [2023-07-14T21:20:04.313Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-14T21:20:04.313Z] } [Pipeline] sh [2023-07-14T21:20:04.641Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-14T21:20:04.970Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-14T21:20:23.209Z] provisioning config files... [2023-07-14T21:20:23.233Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/3@tmp/config9948254767577659429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:20:23.593Z] ---> docker-login.sh [2023-07-14T21:20:23.593Z] nexus3.edgexfoundry.org:10001 [2023-07-14T21:20:23.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:20:24.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:20:24.135Z] Configure a credential helper to remove this warning. See [2023-07-14T21:20:24.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:20:24.135Z] [2023-07-14T21:20:24.135Z] Login Succeeded [2023-07-14T21:20:24.135Z] nexus3.edgexfoundry.org:10002 [2023-07-14T21:20:24.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:20:24.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:20:24.405Z] Configure a credential helper to remove this warning. See [2023-07-14T21:20:24.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:20:24.405Z] [2023-07-14T21:20:24.405Z] Login Succeeded [2023-07-14T21:20:24.405Z] nexus3.edgexfoundry.org:10003 [2023-07-14T21:20:24.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:20:24.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:20:24.947Z] Configure a credential helper to remove this warning. See [2023-07-14T21:20:24.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:20:24.947Z] [2023-07-14T21:20:24.947Z] Login Succeeded [2023-07-14T21:20:24.947Z] nexus3.edgexfoundry.org:10004 [2023-07-14T21:20:25.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:20:25.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:20:25.217Z] Configure a credential helper to remove this warning. See [2023-07-14T21:20:25.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:20:25.217Z] [2023-07-14T21:20:25.217Z] Login Succeeded [2023-07-14T21:20:25.217Z] docker.io [2023-07-14T21:20:25.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-14T21:20:25.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-14T21:20:25.758Z] Configure a credential helper to remove this warning. See [2023-07-14T21:20:25.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-14T21:20:25.758Z] [2023-07-14T21:20:25.758Z] Login Succeeded [2023-07-14T21:20:25.758Z] ---> docker-login.sh ends [Pipeline] } [2023-07-14T21:20:25.772Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-14T21:20:26.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T21:20:26.036Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-14T21:20:26.052Z] ========================================================= [2023-07-14T21:20:26.052Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-14T21:20:26.052Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:20:26.409Z] + 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-07-14T21:20:26.677Z] Sending build context to Docker daemon 1.316MB [2023-07-14T21:20:26.677Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-07-14T21:20:26.677Z] Step 2/13 : FROM ${BASE} AS builder [2023-07-14T21:20:28.629Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-14T21:20:28.629Z] edb6bdbacee9: Pulling fs layer [2023-07-14T21:20:28.629Z] 5f9638ab2659: Pulling fs layer [2023-07-14T21:20:28.629Z] 8d51d6327a98: Pulling fs layer [2023-07-14T21:20:28.629Z] 8b374f2dd631: Pulling fs layer [2023-07-14T21:20:28.629Z] ec14aa9079de: Pulling fs layer [2023-07-14T21:20:28.629Z] 2f466654f4bb: Pulling fs layer [2023-07-14T21:20:28.629Z] 554e91adad29: Pulling fs layer [2023-07-14T21:20:28.629Z] 2f466654f4bb: Waiting [2023-07-14T21:20:28.629Z] 554e91adad29: Waiting [2023-07-14T21:20:28.629Z] 8b374f2dd631: Waiting [2023-07-14T21:20:28.629Z] ec14aa9079de: Waiting [2023-07-14T21:20:28.629Z] 5f9638ab2659: Verifying Checksum [2023-07-14T21:20:28.629Z] 5f9638ab2659: Download complete [2023-07-14T21:20:28.629Z] 8b374f2dd631: Verifying Checksum [2023-07-14T21:20:28.629Z] 8b374f2dd631: Download complete [2023-07-14T21:20:28.629Z] ec14aa9079de: Verifying Checksum [2023-07-14T21:20:28.629Z] ec14aa9079de: Download complete [2023-07-14T21:20:28.914Z] edb6bdbacee9: Verifying Checksum [2023-07-14T21:20:29.878Z] edb6bdbacee9: Pull complete [2023-07-14T21:20:30.151Z] 554e91adad29: Verifying Checksum [2023-07-14T21:20:30.151Z] 554e91adad29: Download complete [2023-07-14T21:20:30.431Z] 5f9638ab2659: Pull complete [2023-07-14T21:20:31.425Z] 2f466654f4bb: Verifying Checksum [2023-07-14T21:20:31.425Z] 2f466654f4bb: Download complete [2023-07-14T21:20:31.425Z] 8d51d6327a98: Verifying Checksum [2023-07-14T21:20:31.425Z] 8d51d6327a98: Download complete [2023-07-14T21:20:43.746Z] 8d51d6327a98: Pull complete [2023-07-14T21:20:43.746Z] 8b374f2dd631: Pull complete [2023-07-14T21:20:43.746Z] ec14aa9079de: Pull complete [2023-07-14T21:20:49.110Z] 2f466654f4bb: Pull complete [2023-07-14T21:20:51.699Z] 554e91adad29: Pull complete [2023-07-14T21:20:51.699Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-14T21:20:51.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-14T21:20:51.699Z] ---> 1e15ea492957 [2023-07-14T21:20:51.699Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-07-14T21:20:53.111Z] ---> Running in cd36209a0672 [2023-07-14T21:20:53.381Z] Removing intermediate container cd36209a0672 [2023-07-14T21:20:53.381Z] ---> 0f0e95ad555d [2023-07-14T21:20:53.381Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-14T21:20:53.649Z] ---> Running in 63d5e56d4942 [2023-07-14T21:20:53.918Z] Removing intermediate container 63d5e56d4942 [2023-07-14T21:20:53.918Z] ---> 8927288101b1 [2023-07-14T21:20:53.918Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-07-14T21:20:53.918Z] ---> Running in b8edba8d389d [2023-07-14T21:20:54.188Z] Removing intermediate container b8edba8d389d [2023-07-14T21:20:54.188Z] ---> 46e3f2df4f2d [2023-07-14T21:20:54.188Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-07-14T21:20:54.188Z] ---> Running in 7e7215a24957 [2023-07-14T21:20:54.457Z] Removing intermediate container 7e7215a24957 [2023-07-14T21:20:54.457Z] ---> 84029a1d7941 [2023-07-14T21:20:54.457Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-14T21:20:54.726Z] ---> Running in a7a97d96b938 [2023-07-14T21:20:55.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-14T21:20:56.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-14T21:20:57.231Z] (1/14) Installing libintl (0.21.1-r1) [2023-07-14T21:20:57.231Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-07-14T21:20:57.231Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-07-14T21:20:57.231Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-07-14T21:20:57.231Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-07-14T21:20:57.231Z] (6/14) Installing udev-init-scripts (35-r1) [2023-07-14T21:20:57.231Z] (7/14) Installing libblkid (2.38.1-r1) [2023-07-14T21:20:57.231Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-07-14T21:20:57.231Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-07-14T21:20:57.231Z] (10/14) Installing kmod-libs (30-r1) [2023-07-14T21:20:57.231Z] (11/14) Installing eudev (3.2.11-r4) [2023-07-14T21:20:57.499Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-07-14T21:20:57.499Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-07-14T21:20:57.499Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-07-14T21:20:57.499Z] Executing busybox-1.35.0-r29.trigger [2023-07-14T21:20:57.499Z] Executing eudev-3.2.11-r4.trigger [2023-07-14T21:20:57.499Z] OK: 271 MiB in 67 packages [2023-07-14T21:20:58.907Z] Removing intermediate container a7a97d96b938 [2023-07-14T21:20:58.907Z] ---> 16727ed8a030 [2023-07-14T21:20:58.907Z] Step 8/13 : WORKDIR /device-usb-camera [2023-07-14T21:20:58.907Z] ---> Running in 777b0e16c73d [2023-07-14T21:20:58.907Z] Removing intermediate container 777b0e16c73d [2023-07-14T21:20:58.907Z] ---> c9c1edbfa2ad [2023-07-14T21:20:58.907Z] Step 9/13 : COPY go.mod vendor* ./ [2023-07-14T21:20:59.492Z] ---> 2897cb247924 [2023-07-14T21:20:59.492Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-14T21:20:59.492Z] ---> Running in df2a81c2adc0 [2023-07-14T21:22:07.355Z] Removing intermediate container df2a81c2adc0 [2023-07-14T21:22:07.355Z] ---> 0a8edfde3b60 [2023-07-14T21:22:07.355Z] Step 11/13 : COPY . . [2023-07-14T21:22:07.355Z] ---> da719d536c47 [2023-07-14T21:22:07.355Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-07-14T21:22:07.355Z] ---> Running in bdd4b24eeb6c [2023-07-14T21:22:07.355Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-14T21:22:07.355Z] Dload Upload Total Spent Left Speed [2023-07-14T21:22:07.355Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4443 0 --:--:-- --:--:-- --:--:-- 4462 [2023-07-14T21:22:07.355Z] Removing intermediate container bdd4b24eeb6c [2023-07-14T21:22:07.355Z] ---> 19c9b2d55703 [2023-07-14T21:22:07.355Z] Step 13/13 : RUN ${MAKE} [2023-07-14T21:22:07.355Z] ---> Running in 9f59c0557fc2 [2023-07-14T21:22:07.355Z] noop [2023-07-14T21:22:07.355Z] Removing intermediate container 9f59c0557fc2 [2023-07-14T21:22:07.355Z] ---> 84fe304aedf6 [2023-07-14T21:22:07.355Z] Successfully built 84fe304aedf6 [2023-07-14T21:22:07.355Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:22:07.699Z] + docker inspect -f . ci-base-image-arm64 [2023-07-14T21:22:07.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T21:22:07.902Z] prd-ubuntu20.04-docker-arm64-4c-16g-1184 does not seem to be running inside a container [2023-07-14T21:22:07.964Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-14T21:22:09.123Z] $ docker top 02f92d4d670d6c09caadb85c488e9b8ff126e63446f6a22d7b9b085494b32799 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T21:22:09.935Z] + go version [2023-07-14T21:22:09.936Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-14T21:22:09.955Z] $ docker stop --time=1 02f92d4d670d6c09caadb85c488e9b8ff126e63446f6a22d7b9b085494b32799 [2023-07-14T21:22:11.580Z] $ docker rm -f --volumes 02f92d4d670d6c09caadb85c488e9b8ff126e63446f6a22d7b9b085494b32799 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:22:12.121Z] + docker inspect -f . ci-base-image-arm64 [2023-07-14T21:22:12.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T21:22:12.296Z] prd-ubuntu20.04-docker-arm64-4c-16g-1184 does not seem to be running inside a container [2023-07-14T21:22:12.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-14T21:22:14.093Z] $ docker top b44afb22a2bac689187a795520830f50d11479fd0b785d8bdc357a307a6b3906 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T21:22:14.590Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/3 [Pipeline] fileExists [Pipeline] sh [2023-07-14T21:22:14.924Z] + make test [2023-07-14T21:22:14.924Z] go test ./... -coverprofile=coverage.out ./... [2023-07-14T21:22:47.151Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-07-14T21:24:38.814Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2023-07-14T21:24:43.061Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-07-14T21:24:43.061Z] internal/driver/device.go:117:67: fmt.Sprintf format %d has arg fps of wrong type string [2023-07-14T21:24:46.399Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-07-14T21:24:46.399Z] FAIL [2023-07-14T21:24:46.979Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-07-14T21:24:46.998Z] $ docker stop --time=1 b44afb22a2bac689187a795520830f50d11479fd0b785d8bdc357a307a6b3906 [2023-07-14T21:24:48.912Z] $ docker rm -f --volumes b44afb22a2bac689187a795520830f50d11479fd0b785d8bdc357a307a6b3906 [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-07-14T21:24:50.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-14T21:24:50.144Z] [2023-07-14T21:24:50.144Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:24:50.489Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-14T21:24:50.756Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-14T21:24:50.756Z] 8998bd30e6a1: Pulling fs layer [2023-07-14T21:24:50.756Z] 04944245beec: Pulling fs layer [2023-07-14T21:24:50.756Z] 699f458cf7ca: Pulling fs layer [2023-07-14T21:24:50.756Z] 765212b225bb: Pulling fs layer [2023-07-14T21:24:50.756Z] f23df028b6ca: Pulling fs layer [2023-07-14T21:24:50.756Z] d65c8cfc05b1: Pulling fs layer [2023-07-14T21:24:50.756Z] 2437ff75d9bd: Pulling fs layer [2023-07-14T21:24:50.756Z] f23df028b6ca: Waiting [2023-07-14T21:24:50.756Z] d65c8cfc05b1: Waiting [2023-07-14T21:24:50.756Z] 2437ff75d9bd: Waiting [2023-07-14T21:24:50.756Z] 765212b225bb: Waiting [2023-07-14T21:24:50.756Z] 04944245beec: Verifying Checksum [2023-07-14T21:24:50.756Z] 04944245beec: Download complete [2023-07-14T21:24:50.756Z] 765212b225bb: Verifying Checksum [2023-07-14T21:24:50.756Z] 765212b225bb: Download complete [2023-07-14T21:24:51.026Z] f23df028b6ca: Verifying Checksum [2023-07-14T21:24:51.026Z] f23df028b6ca: Download complete [2023-07-14T21:24:51.026Z] d65c8cfc05b1: Verifying Checksum [2023-07-14T21:24:51.026Z] d65c8cfc05b1: Download complete [2023-07-14T21:24:51.293Z] 699f458cf7ca: Verifying Checksum [2023-07-14T21:24:51.293Z] 699f458cf7ca: Download complete [2023-07-14T21:24:51.559Z] 8998bd30e6a1: Verifying Checksum [2023-07-14T21:24:51.559Z] 8998bd30e6a1: Download complete [2023-07-14T21:24:54.145Z] 2437ff75d9bd: Verifying Checksum [2023-07-14T21:24:54.145Z] 2437ff75d9bd: Download complete [2023-07-14T21:24:56.722Z] 8998bd30e6a1: Pull complete [2023-07-14T21:24:57.312Z] 04944245beec: Pull complete [2023-07-14T21:24:59.262Z] 699f458cf7ca: Pull complete [2023-07-14T21:24:59.262Z] 765212b225bb: Pull complete [2023-07-14T21:24:59.849Z] f23df028b6ca: Pull complete [2023-07-14T21:25:00.115Z] d65c8cfc05b1: Pull complete [2023-07-14T21:25:18.322Z] 2437ff75d9bd: Pull complete [2023-07-14T21:25:18.322Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-14T21:25:18.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-14T21:25:18.322Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T21:25:18.526Z] prd-ubuntu20.04-docker-arm64-4c-16g-1184 does not seem to be running inside a container [2023-07-14T21:25:18.826Z] $ 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-usb-camera/3 -v /w/workspace/device-usb-camera/3:/w/workspace/device-usb-camera/3:rw,z -v /w/workspace/device-usb-camera/3@tmp:/w/workspace/device-usb-camera/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-14T21:25:20.484Z] $ docker top e5c16892c4977f918f1da1d55eadea52e3b6e3dcf052215ae168e68fb7779dc8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:25:21.028Z] ---> job-cost.sh [2023-07-14T21:25:21.309Z] lf-activate-venv: SKIPPING [2023-07-14T21:25:21.309Z] INFO: No Stack... [2023-07-14T21:25:21.919Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-14T21:25:22.529Z] INFO: Archiving Costs [Pipeline] sh [2023-07-14T21:25:23.229Z] + cut -d, -f6 [2023-07-14T21:25:23.229Z] + cat /w/workspace/device-usb-camera/3/archives/cost.csv [Pipeline] lock [2023-07-14T21:25:23.293Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] [2023-07-14T21:25:23.299Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] did not exist. Created. [2023-07-14T21:25:23.299Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-14T21:25:23.961Z] /w/workspace/device-usb-camera/3@tmp/durable-6dc92bac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-14T21:25:24.613Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-14T21:25:24.636Z] Warning: overwriting stash ‘stack-cost’ [2023-07-14T21:25:24.996Z] Stashed 1 file(s) [Pipeline] } [2023-07-14T21:25:25.005Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-265-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-14T21:25:25.031Z] $ docker stop --time=1 e5c16892c4977f918f1da1d55eadea52e3b6e3dcf052215ae168e68fb7779dc8 [2023-07-14T21:25:26.490Z] $ docker rm -f --volumes e5c16892c4977f918f1da1d55eadea52e3b6e3dcf052215ae168e68fb7779dc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-14T21:25:26.760Z] 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-07-14T21:25:27.534Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-265/archives ] [2023-07-14T21:25:27.534Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-14T21:25:27.534Z] total 16 [2023-07-14T21:25:27.534Z] drwxr-xr-x 3 root root 4096 Jul 14 21:19 . [2023-07-14T21:25:27.534Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 21:19 .. [2023-07-14T21:25:27.534Z] drwxr-xr-x 2 root root 4096 Jul 14 21:19 cost [2023-07-14T21:25:27.534Z] -rw-r--r-- 1 root root 89 Jul 14 21:19 cost.csv [2023-07-14T21:25:27.534Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-14T21:25:27.534Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-265/archives [2023-07-14T21:25:27.534Z] total 16 [2023-07-14T21:25:27.534Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 14 21:19 . [2023-07-14T21:25:27.534Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 14 21:19 .. [2023-07-14T21:25:27.534Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 14 21:19 cost [2023-07-14T21:25:27.534Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 14 21:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:25:27.825Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:25:28.682Z] ---> package-listing.sh [2023-07-14T21:25:28.683Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-14T21:25:28.683Z] ++ facter osfamily [2023-07-14T21:25:28.942Z] + OS_FAMILY=debian [2023-07-14T21:25:28.942Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-265 [2023-07-14T21:25:28.942Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-14T21:25:28.942Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-14T21:25:28.942Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-14T21:25:28.942Z] + PACKAGES=/tmp/packages_start.txt [2023-07-14T21:25:28.942Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-14T21:25:28.942Z] + PACKAGES=/tmp/packages_end.txt [2023-07-14T21:25:28.942Z] + case "${OS_FAMILY}" in [2023-07-14T21:25:28.942Z] + dpkg -l [2023-07-14T21:25:28.942Z] + grep '^ii' [2023-07-14T21:25:28.942Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-14T21:25:28.942Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-14T21:25:28.942Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-14T21:25:28.942Z] + '[' /w/workspace/foundry_device-usb-camera_PR-265 ']' [2023-07-14T21:25:28.942Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-265/archives/ [2023-07-14T21:25:28.942Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-265/archives/ [Pipeline] echo [2023-07-14T21:25:28.953Z] 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-usb-camera_PR-265/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-14T21:25:29.234Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-14T21:25:29.789Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-14T21:25:29.789Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-14T21:25:29.868Z] prd-ubuntu20.04-docker-8c-8g-1183 does not seem to be running inside a container [2023-07-14T21:25:29.895Z] $ 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-usb-camera_PR-265/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-usb-camera_PR-265 -v /w/workspace/foundry_device-usb-camera_PR-265:/w/workspace/foundry_device-usb-camera_PR-265:rw,z -v /w/workspace/foundry_device-usb-camera_PR-265@tmp:/w/workspace/foundry_device-usb-camera_PR-265@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-14T21:25:30.128Z] $ docker top 4fbad5d48272951e83d42fedf1a82b0fbcfbd5f3050411b94dcfb3c12590b954 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-14T21:25:30.481Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-14T21:25:30.768Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-14T21:25:31.052Z] + ls /var/log/sa-host [2023-07-14T21:25:31.053Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-14T21:25:31.131Z] provisioning config files... [2023-07-14T21:25:31.140Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-265@tmp/config10682156217125266010tmp [Pipeline] { [Pipeline] echo [2023-07-14T21:25:31.153Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:25:31.436Z] ---> create-netrc.sh [Pipeline] } [2023-07-14T21:25:31.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:25:31.781Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-14T21:25:31.789Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:25:32.073Z] ---> sudo-logs.sh [2023-07-14T21:25:32.074Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-14T21:25:32.104Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:25:32.387Z] ---> job-cost.sh [2023-07-14T21:25:32.387Z] lf-activate-venv: SKIPPING [2023-07-14T21:25:32.387Z] DEBUG: total: 0.2199999988079071 [2023-07-14T21:25:32.387Z] INFO: Retrieving Stack Cost... [2023-07-14T21:25:32.646Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-14T21:25:33.215Z] INFO: Archiving Costs [Pipeline] echo [2023-07-14T21:25:33.226Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-14T21:25:33.508Z] ---> logs-deploy.sh [2023-07-14T21:25:33.508Z] lf-activate-venv: SKIPPING [2023-07-14T21:25:33.508Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-265/3 [2023-07-14T21:25:33.508Z] INFO: archiving workspace using pattern(s): [2023-07-14T21:25:34.445Z] Archives upload complete. [2023-07-14T21:25:34.445Z] INFO: archiving logs to Nexus