Match log files from upload shows bot calibration error

hi , the match log files from the player portal shows the calibration test failed because it could not find the file specified , in phase 1 round 0 , after which the match resumed without further problems .

which was the same error when we had ghost matches , however this time the match is normal albeit with an error in the log.

is there need for concern ?

by the way i am guessing this is because there are no files yet , which is normal ?

Hi WJB,

There are no calibration bots, which is why it is printing the error message. This will not affect the game play however except for your bot not gaining the extra calibration time.

We will try and get the calibration bot’s integrated into the game engine now that sample bot submissions have closed. They will definitely be ready in time for the first battle.

thank you for the response , i however do not really understand the calibration ,i am not sure how it works so i have this little confusing moment after downloading the newer engine version , at one time i ran it with my bots and it took a long time to start and i got this in the logs:

30-05-2017 10:58:01:895 - I: Executing process A “C:\Users\Administrator\Desktop\entellect challenge 2017\Game.Engine.-.Version.1.0.4\Game Engine\Replays\2017-05-30 10-58-00-054\Phase 1 - Round 0\A”
30-05-2017 10:58:01:911 - E: Failed to run calibration test System.InvalidOperationException: Cannot start process because a file name has not been provided.
at System.Diagnostics.Process.Start()
at BotRunner.Util.ProcessHandler.StartProcessCommon() in W:\Projects\100k\2017\Github\2017-Batteships\GameEngine\Battleships\BotRunner\Util\ProcessHandler.cs:line 87
at BotRunner.Util.ProcessHandler.RunProcess() in W:\Projects\100k\2017\Github\2017-Batteships\GameEngine\Battleships\BotRunner\Util\ProcessHandler.cs:line 79
at TestHarness.TestHarnesses.Bot.Runners.DotNetRunner.RunCalibrationTest() in W:\Projects\100k\2017\Github\2017-Batteships\GameEngine\Battleships\BotRunner\Harness\Bot\Runners\DotNetRunner.cs:line 41
at TestHarness.TestHarnesses.Bot.BotRunner.CalibrateBot() in W:\Projects\100k\2017\Github\2017-Batteships\GameEngine\Battleships\BotRunner\Harness\Bot\BotRunner.cs:line 40
30-05-2017 10:58:01:911 - I: Bot calibration complete and can run an additional 12ms due to environment startup
30-05-2017 10:58:01:911 - D: Executing bot with following commands …\mybot1\bin\Release\MyBot.exe A “C:\Users\Administrator\Desktop\entellect challenge 2017\Game.Engine.-.Version.1.0.4\Game Engine\Replays\2017-05-30 10-58-00-054\Phase 1 - Round 0\A”
30-05-2017 10:58:01:911 - I: Executing process …\mybot1\bin\Release\MyBot.exe A “C:\Users\Administrator\Desktop\entellect challenge 2017\Game.Engine.-.Version.1.0.4\Game Engine\Replays\2017-05-30 10-58-00-054\Phase 1 - Round 0\A”
30-05-2017 10:58:01:942 - I: Bot has 4000ms to run before it will be forcefully killed
30-05-2017 10:58:05:951 - I: Bot has been killed for taking to long to execute
30-05-2017 10:58:05:982 - E: Output from bot:
30-05-2017 10:58:05:982 - I: Output from bot:
30-05-2017 10:58:05:982 - I: Your bots total execution time was 00:00:04.0709706
30-05-2017 10:58:05:982 - I: Your bot exceeded the maximum execution time
30-05-2017 10:58:05:982 - E: Bot time limit exceeded BotRunner.Exceptions.TimeLimitExceededException: Time limit exceeded by 00:00:02.0583143
at TestHarness.TestHarnesses.Bot.BotRunner.RunBot() in W:\Projects\100k\2017\Github\2017-Batteships\GameEngine\Battleships\BotRunner\Harness\Bot\BotRunner.cs:line 96
at TestHarness.TestHarnesses.Bot.BotHarness.RunBotAndGetNextMove() in W:\Projects\100k\2017\Github\2017-Batteships\GameEngine\Battleships\BotRunner\Harness\Bot\BotHarness.cs:line 150

and another time it started as usual and got this in the logs:

30-05-2017 11:28:33:620 - I: Executing process A “C:\Users\Administrator\Desktop\entellect challenge 2017\Game.Engine.-.Version.1.0.4\Game Engine\Replays\2017-05-30 11-28-31-795\Phase 1 - Round 0\A”
30-05-2017 11:28:33:620 - E: Failed to run calibration test System.InvalidOperationException: Cannot start process because a file name has not been provided.
at System.Diagnostics.Process.Start()
at BotRunner.Util.ProcessHandler.StartProcessCommon() in W:\Projects\100k\2017\Github\2017-Batteships\GameEngine\Battleships\BotRunner\Util\ProcessHandler.cs:line 87
at BotRunner.Util.ProcessHandler.RunProcess() in W:\Projects\100k\2017\Github\2017-Batteships\GameEngine\Battleships\BotRunner\Util\ProcessHandler.cs:line 79
at TestHarness.TestHarnesses.Bot.Runners.DotNetRunner.RunCalibrationTest() in W:\Projects\100k\2017\Github\2017-Batteships\GameEngine\Battleships\BotRunner\Harness\Bot\Runners\DotNetRunner.cs:line 41
at TestHarness.TestHarnesses.Bot.BotRunner.CalibrateBot() in W:\Projects\100k\2017\Github\2017-Batteships\GameEngine\Battleships\BotRunner\Harness\Bot\BotRunner.cs:line 40
30-05-2017 11:28:33:620 - I: Bot calibration complete and can run an additional 12ms due to environment startup
30-05-2017 11:28:33:636 - D: Executing bot with following commands …\mybot1\bin\Release\MyBot.exe A “C:\Users\Administrator\Desktop\entellect challenge 2017\Game.Engine.-.Version.1.0.4\Game Engine\Replays\2017-05-30 11-28-31-795\Phase 1 - Round 0\A”
30-05-2017 11:28:33:636 - I: Executing process …\mybot1\bin\Release\MyBot.exe A “C:\Users\Administrator\Desktop\entellect challenge 2017\Game.Engine.-.Version.1.0.4\Game Engine\Replays\2017-05-30 11-28-31-795\Phase 1 - Round 0\A”
30-05-2017 11:28:33:636 - I: Bot has 4000ms to run before it will be forcefully killed
30-05-2017 11:28:34:853 - I: Output from bot: [BOT] Placeship command: Battleship 5 12 South
30-05-2017 11:28:34:853 - I: Output from bot: Carrier 1 3 North
30-05-2017 11:28:34:853 - I: Output from bot: Cruiser 3 4 North
30-05-2017 11:28:34:853 - I: Output from bot: Destroyer 8 6 North
30-05-2017 11:28:34:853 - I: Output from bot: Submarine 12 10 North
30-05-2017 11:28:34:853 - I: Output from bot: [BOT] Bot finished in 916 ms.
30-05-2017 11:28:34:868 - I: Output from bot:
30-05-2017 11:28:34:868 - E: Output from bot:
30-05-2017 11:28:34:868 - I: Your bots total execution time was 00:00:01.2295826

so i am not sure which to believe here , since from my observation i can only determine that my system had a little slow down on the one particular match ,but that however resulted in reporting that my bot had not enough time left ,however from experience in running many matches prior , i know my bot never exceeds the tiime.

Hi wjb,

The the slow down does not appear to have any relation to the failure of the calibration bots. Is it possible that your OS was maybe holding a lock on the process executable for your bot?

hi this was after a fresh boot , and i heard my hardrive spinning up and having difficulty with the first match ,like resource allocation or disk swapping ,basicly being a bit busy writing/reading files is what it sounded like , which ended up in that log for both bots with different strategies timing out the same way ,i have zero fragmentation or disk issues ,however memory is on the low side ,only 1 gig , but after the firsr match, every match went smoothly as normal under 970 ms.

i guess i should only be concerned with the portal results rather than results on my laptop ?

it just struck me odd that if there were a little hiccup in my pc performance it timed out my bots and got me worried about server matches.