Skip to content

Conversation

@YadongQi
Copy link

@YadongQi YadongQi commented Dec 29, 2021

  1. flock when startapp, check the lock when pause in rc.civ.post,
    if the lock cannot be acquired, then skip pause
  2. sleep 3 seconds before pause in lg_launcher.sh, give a window for
    guest to complete some tasks
  3. remove vsock cid set from extra field, vm-manager already set a
    default vsock cid(3).

Tracked-On: OAM-100189
Signed-off-by: Yadong Qi yadong.qi@intel.com

/opt/lg/bin/LG_B1_Client_clipboard guestClipboard:enable=true &

pause_civ
flock -n -x /var/lock/civ_startapp.lock pause_civ ||
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why need ||

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if flock failed to acquire the lock, the whole service will be stopped. So I add a "||" to ignore the failure here

1. flock when startapp, check the lock when pause  in rc.civ.post,
   if the lock cannot be acquired, then skip pause
2. sleep 3 seconds before pause in lg_launcher.sh, give a window for
   guest to complete some tasks
3. remove vsock cid set from extra field, vm-manager already set a
   default vsock cid(3).

Tracked-On: OAM-100189
Signed-off-by: Yadong Qi <yadong.qi@intel.com>
Copy link
Collaborator

@sysopenci sysopenci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure when executing preintegration builder

FAILURE:Trigger Builds cancelled

More details, logs, and binaries: /absp/builders/celadon_rmr0_stable-preintegration/builds/178

@sysopenci sysopenci added the Stale Stale label for inactive open prs label Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale Stale label for inactive open prs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants