Message boards : Theory Application : All errors
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
boboviz

Send message
Joined: 24 Oct 19
Posts: 152
Credit: 310,985
RAC: 252
Message 7909 - Posted: 5 Jan 2023, 13:18:56 UTC

All my theory wus errors after 20 seconds (on Win11 and VirtualBox 7.0.4)

<core_client_version>7.20.2</core_client_version>
<![CDATA[
<message>
(unknown error) - exit code 2159738892 (0x80bb000c)</message>
<stderr_txt>
2023-01-05 14:08:24 (3004): Detected: vboxwrapper 26206
2023-01-05 14:08:24 (3004): Detected: BOINC client v7.20.2
2023-01-05 14:08:24 (3004): Detected: VirtualBox VboxManage Interface (Version: 7.0.4)
2023-01-05 14:08:25 (3004): Detected: Heartbeat check (file: 'heartbeat' every 1200.000000 seconds)
2023-01-05 14:08:25 (3004): Successfully copied 'init_data.xml' to the shared directory.
2023-01-05 14:08:25 (3004): Successfully copied 'input' to the shared directory.
2023-01-05 14:08:25 (3004): Create VM. (boinc_55814f3927f1ac91, slot#1)
2023-01-05 14:08:26 (3004): Setting Memory Size for VM. (630MB)
2023-01-05 14:08:26 (3004): Setting CPU Count for VM. (1)
2023-01-05 14:08:26 (3004): Setting Chipset Options for VM.
2023-01-05 14:08:27 (3004): Setting Graphics Controller Options for VM.
2023-01-05 14:08:27 (3004): Setting Boot Options for VM.
2023-01-05 14:08:27 (3004): Setting Network Configuration for NAT.
2023-01-05 14:08:27 (3004): Enabling VM Network Access.
2023-01-05 14:08:28 (3004): Disabling USB Support for VM.
2023-01-05 14:08:28 (3004): Disabling COM Port Support for VM.
2023-01-05 14:08:28 (3004): Disabling LPT Port Support for VM.
2023-01-05 14:08:28 (3004): Disabling Audio Support for VM.
2023-01-05 14:08:29 (3004): Disabling Clipboard Support for VM.
2023-01-05 14:08:29 (3004): Disabling Drag and Drop Support for VM.
2023-01-05 14:08:29 (3004): Adding storage controller(s) to VM.
2023-01-05 14:08:30 (3004): Adding virtual disk drive to VM. (Theory_2022_07_28.vdi)
2023-01-05 14:08:37 (3004): Error in deregister parent vdi for VM: -2135228404
Command:
VBoxManage -q closemedium "C:\ProgramData\BOINC/projects/lhcathomedev.cern.ch_lhcathome-dev/Theory_2022_07_28.vdi"
Output:
VBoxManage.exe: error: Cannot close medium 'C:\ProgramData\BOINC\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_2022_07_28.vdi' because it has 1 child media
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_IN_USE (0x80bb000c), component MediumWrap, interface IMedium, callee IUnknown
VBoxManage.exe: error: Context: "Close()" at line 1862 of file VBoxManageDisk.cpp

2023-01-05 14:08:37 (3004): Could not create VM
2023-01-05 14:08:37 (3004): ERROR: VM failed to start
2023-01-05 14:08:37 (3004): Powering off VM.
2023-01-05 14:08:37 (3004): Deregistering VM. (boinc_55814f3927f1ac91, slot#1)
2023-01-05 14:08:37 (3004): Removing network bandwidth throttle group from VM.
2023-01-05 14:08:37 (3004): Removing VM from VirtualBox.


It's a problem of VirtualBox?
ID: 7909 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Project tester
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 28 Jul 16
Posts: 467
Credit: 379,047
RAC: 0
Message 7910 - Posted: 5 Jan 2023, 15:26:42 UTC - in response to Message 7909.  

You need to manually clean the VirtualBox media registry.


1. Ensure no Theory task from -dev is running or paused
2. Stop BOINC
3. Open the VirtualBox GUI and start the Media Manager
4. Remove all child vdis connected to parent a9d19666-9f42-47d2-9b06-f58d52e3215c
5. Remove all files/folders from the slots where Theory -dev tasks had been.
6. Remove the parent vdi a9d19666-9f42-47d2-9b06-f58d52e3215c (but not it's file within the projects folder).
7. Restart BOINC

Ensure not to start too many tasks concurrently that try to initialize the same vdi as multiattach parent as this may cause a race condition.
This is caused by a workaraound vboxwrapper must use to correctly register a vdi in multiattach mode.
ID: 7910 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 152
Credit: 310,985
RAC: 252
Message 7911 - Posted: 5 Jan 2023, 20:03:49 UTC - in response to Message 7910.  

You need to manually clean the VirtualBox media registry.

1. Ensure no Theory task from -dev is running or paused
2. Stop BOINC
3. Open the VirtualBox GUI and start the Media Manager
4. Remove all child vdis connected to parent a9d19666-9f42-47d2-9b06-f58d52e3215c
5. Remove all files/folders from the slots where Theory -dev tasks had been.
6. Remove the parent vdi a9d19666-9f42-47d2-9b06-f58d52e3215c (but not it's file within the projects folder).
7. Restart BOINC


BEFORE your post i:
1 - I've resetted the project
2 - Stopped Boinc
3 - Removed all virtual machines from VirtualBox Gui
4 - Restarted boinc
5 - It re-downloaded virtualdisk+wrapper+wus

Still errors.... :-(
ID: 7911 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Project tester
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 28 Jul 16
Posts: 467
Credit: 379,047
RAC: 0
Message 7912 - Posted: 5 Jan 2023, 21:13:10 UTC - in response to Message 7911.  

You may have removed the VM entries but you obviously forgot to remove the disk entries.
Use the VirtualBox Media Manager to do this.
ID: 7912 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 152
Credit: 310,985
RAC: 252
Message 8202 - Posted: 2 Oct 2023, 6:49:49 UTC - in response to Message 7912.  

You may have removed the VM entries but you obviously forgot to remove the disk entries.
Use the VirtualBox Media Manager to do this.


Done.
Still errors
ID: 8202 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 152
Credit: 310,985
RAC: 252
Message 8203 - Posted: 2 Oct 2023, 12:51:43 UTC

This log can help?
VBoxManage.exe: error: Cannot attach medium 'C:\ProgramData\BOINC\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_2022_07_28.vdi': the media type 'MultiAttach' can only be attached to machines that were created with VirtualBox 4.0 or later

I have 7.0.8 version....
ID: 8203 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Project tester
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 28 Jul 16
Posts: 467
Credit: 379,047
RAC: 0
Message 8204 - Posted: 2 Oct 2023, 13:15:10 UTC - in response to Message 8203.  

Please post name and content of the file you are using:
C:\ProgramData\BOINC\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_*.xml
ID: 8204 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 152
Credit: 310,985
RAC: 252
Message 8205 - Posted: 3 Oct 2023, 9:11:28 UTC - in response to Message 8204.  

Please post name and content of the file you are using:
C:\ProgramData\BOINC\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_*.xml


Theory_2022_07_28.xml
ID: 8205 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Project tester
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 28 Jul 16
Posts: 467
Credit: 379,047
RAC: 0
Message 8206 - Posted: 3 Oct 2023, 11:25:03 UTC - in response to Message 8205.  

That file configures Theory on the -dev server to run VMs in multiattach mode.
This may interfere with normal Theory tasks from the -prod server which do not use multiattach mode.

Since there is currently no vbox development on the -dev server just disable Theory vbox there if you run Theory vbox from -prod on the same box.
ID: 8206 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 152
Credit: 310,985
RAC: 252
Message 8207 - Posted: 4 Oct 2023, 9:10:23 UTC - in response to Message 8206.  

Since there is currently no vbox development on the -dev server just disable Theory vbox there if you run Theory vbox from -prod on the same box.


Thank you!
ID: 8207 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Ray Murray
Avatar

Send message
Joined: 13 Apr 15
Posts: 138
Credit: 2,945,852
RAC: 31
Message 8254 - Posted: 15 Dec 2023, 19:44:20 UTC

The past few days (since version 5.95?), I have had all errors but have only now had the time to have a closer look. I reset the project to start afresh and saw nothing untoward in VBox, but I think I may have tracked down the cause.
I hope it's this simple:
The vbox_job has the line
<multiattach_vdi_file>Theory_2023_12_12.vdi</multiattach_vdi_file>

and the stderr has
Adding virtual disk drive to VM. (Theory_2023_12_12.vdi)

but it can't find that so throws an error
but the .vdi is called
Theory_2023_12_13.vdi

Production runs fine so I have edited the vbox_job of -dev accordingly but after having so many errors, I can't fetch a job to test whether that will work.


Boinc 7.24.1
Win64
VBox 7.0.12
ID: 8254 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1167
Credit: 785,507
RAC: 664
Message 8255 - Posted: 16 Dec 2023, 9:00:05 UTC - in response to Message 8254.  

Production runs fine so I have edited the vbox_job of -dev accordingly but after having so many errors, I can't fetch a job to test whether that will work.
I have enough quota to test, but I did not change the xml file. I made just a copy from Theory_2023_12_13.vdi to Theory_2023_12_12.vdi.
(I didn't used the 12_13.vdi before)

2023-12-16 09:35:55 (5216): Adding virtual disk drive to VM. (Theory_2023_12_12.vdi)
.
.
.
2023-12-16 09:37:24 (5216): Guest Log: 09:37:22 CET +01:00 2023-12-16: cranky: [INFO] ===> [runRivet] Sat Dec 16 08:37:22 UTC 2023 [boinc pp mb-inelastic 200 - - pythia6 6.427 353 100000 1062]



Laurence has to create a new Theory_2023_12_13.xml file with the right vdi version.
ID: 8255 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1167
Credit: 785,507
RAC: 664
Message 8257 - Posted: 16 Dec 2023, 11:23:05 UTC

There is another mismatch between the current running app (Theory Simulation v5.95 (vbox64_theory) windows_x86_64) and the displayed version on the application page ( https://lhcathomedev.cern.ch/lhcathome-dev/apps.php ) 5.96 (vbox64_theory)
ID: 8257 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1167
Credit: 785,507
RAC: 664
Message 8258 - Posted: 22 Dec 2023, 12:55:54 UTC

Both mistakes are fixed.
Right app-version (Theory Simulation v5.96 (vbox64_theory) windows_x86_64) and a new Theory_2023_12_14.xml with the right VM-disk Theory_2023_12_13.vdi declared.
ID: 8258 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Ray Murray
Avatar

Send message
Joined: 13 Apr 15
Posts: 138
Credit: 2,945,852
RAC: 31
Message 8259 - Posted: 23 Dec 2023, 7:59:24 UTC - in response to Message 8258.  

I rest the project to pick up the new version and clear the debris. As I have Production running, too, both task I got failed due to

VBoxManage.exe: error: Cannot register the hard disk 'C:\ProgramData\BOINC\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_2023_12_13.vdi' {a9d19666-9f42-47d2-9b06-f58d52e3215c} because a hard disk 'C:\ProgramData\BOINC\projects\lhcathome.cern.ch_lhcathome\Theory_2023_12_13.vdi' with UUID {a9d19666-9f42-47d2-9b06-f58d52e3215c} already exists

I'll let Production run dry while I'm out at work and try -dev on its own this evening.
ID: 8259 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 152
Credit: 310,985
RAC: 252
Message 8260 - Posted: 23 Dec 2023, 9:59:23 UTC - in response to Message 8258.  

Right app-version (Theory Simulation v5.96 (vbox64_theory) windows_x86_64)


What's new with this version?? Bugfix?
ID: 8260 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Project tester
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 28 Jul 16
Posts: 467
Credit: 379,047
RAC: 0
Message 8262 - Posted: 23 Dec 2023, 11:49:35 UTC - in response to Message 8259.  

Looks like the vdi file on -prod is a simple copy of the vdi file on -dev without a fresh UUID.

If -prod and -dev run under the same username (even if that user runs multiple BOINC clients) VirtualBox registers the vdi that comes first.
Hence, if -dev comes first you get the error at -prod and vice versa.

A fresh UUID must be set at CERN when the vdi/app moves from -dev to -prod.
ID: 8262 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1167
Credit: 785,507
RAC: 664
Message 8263 - Posted: 23 Dec 2023, 15:13:38 UTC
Last modified: 23 Dec 2023, 15:14:40 UTC

A fresh UUID must be set at CERN when the vdi/app moves from -dev to -prod.
Until CERN is able to change the UUID during the holidays and you want to run Theory on -dev and -prod,
one could change the UUID yourself for the time being on one of the 2 vdi-files.

Examples:
vboxmanage.exe internalcommands sethduuid "BoincDataPath\projects\lhcathome.cern.ch_lhcathome\Theory_2023_12_13.vdi" or
vboxmanage.exe internalcommands sethduuid "BoincDataPath\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_2023_12_13.vdi"
ID: 8263 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
boboviz

Send message
Joined: 24 Oct 19
Posts: 152
Credit: 310,985
RAC: 252
Message 8264 - Posted: 24 Dec 2023, 15:48:57 UTC - in response to Message 8263.  

Still all errors also with this new version

VBoxManage -q showhdinfo "C:\ProgramData\BOINC/projects/lhcathomedev.cern.ch_lhcathome-dev/Theory_2023_12_13.vdi"
Output:
VBoxManage.exe: error: Cannot register the hard disk 'C:\ProgramData\BOINC\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_2023_12_13.vdi' {a9d19666-9f42-47d2-9b06-f58d52e3215c} because a hard disk 'C:\ProgramData\BOINC\projects\lhcathomedev.cern.ch_lhcathome-dev\Theory_2022_07_28.vdi' with UUID {a9d19666-9f42-47d2-9b06-f58d52e3215c} already exists
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 201 of file VBoxManageDisk.cpp

2023-12-24 09:48:24 (14340): Could not create VM
2023-12-24 09:48:24 (14340): ERROR: VM failed to start
2023-12-24 09:48:24 (14340): Powering off VM.
ID: 8264 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Crystal Pellet
Volunteer tester

Send message
Joined: 13 Feb 15
Posts: 1167
Credit: 785,507
RAC: 664
Message 8265 - Posted: 25 Dec 2023, 15:00:57 UTC - in response to Message 8264.  

Still all errors also with this new version
Still errors, but different reason.

See previous posts.
ID: 8265 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
1 · 2 · Next

Message boards : Theory Application : All errors


©2024 CERN