Re: [Build] Failed: magarena/magarena on master / #1187 (68afbee)

12 views
Skip to first unread message

Melvin Zhang

unread,
Feb 19, 2016, 8:20:51 PM2/19/16
to maga...@googlegroups.com, ShawnieBoy
Crash due to https://github.com/magarena/magarena/commit/cb1835d78018af1d604ad87a857f8cee25dffbc9

"enchanted creature" should only be used with respect to an Aura. A creature that has an aura attached to it should be referred to as "creature that is enchanted". This is a Magarena specific terminology to distinguish between the two uses of the phase "enchanted creature" in Oracle text:
1) to mean the creature this Aura enchants as in "enchanted creature has flying"
2) to mean any creature with an Aura attached (use "creature that is enchanted" instead)


On Sat, Feb 20, 2016 at 9:11 AM, CircleCI Builds <bui...@circleci.com> wrote:
Uh-oh, some tests failed.
Build magarena/magarena #1187
Branch master
Commits
add AI casting restriction to Baki's Curse cb1835d
add missing basic lands to ME2 68afbee
Author ShawnieBoy
Failing command: make circleci
Exit code: 2
Output:
ime: 1145
WARNING. RCR:  Play a card or ability. time: 1062
WARNING. RCR:  Play a card or ability. time: 1077
WARNING. RCR:  Play a card or ability. time: 1072
WARNING. RCR:  Declare blockers. time: 1073
WARNING. RCR:  Play a card or ability. time: 1149
WARNING. RCR:  Play a card or ability. time: 1017
	minimax (cheat)	1		monte carlo tree search	1	1	0	1
	minimax (cheat)	1		monte carlo tree search	1	1	0	1
#deck1	ai1	str1	deck2	ai2	str2	games	d1win	d1lose
WARNING. RCR:  Play a card or ability. time: 1319
WARNING. RCR:  Play a card or ability. time: 1324
	minimax (cheat)	1		monte carlo tree search	1	1	1	0
	minimax (cheat)	1		monte carlo tree search	1	1	1	0
#deck1	ai1	str1	deck2	ai2	str2	games	d1win	d1lose
	minimax (cheat)	1		monte carlo tree search	1	1	0	1
	minimax (cheat)	1		monte carlo tree search	1	1	0	1
#deck1	ai1	str1	deck2	ai2	str2	games	d1win	d1lose
WARNING. RCR:  Play a card or ability. time: 1060
WARNING. RCR:  Play a card or ability. time: 1060
WARNING. RCR:  Play a card or ability. time: 1098
WARNING. RCR:  Play a card or ability. time: 1096
WARNING. RCR:  Play a card or ability. time: 1081
WARNING. RCR:  Play a card or ability. time: 1077
WARNING. RCR:  Play a card or ability. time: 1156
WARNING. RCR:  Play a card or ability. time: 1048
WARNING. RCR:  Play a card or ability. time: 1041
WARNING. RCR:  Play a card or ability. time: 1088
WARNING. RCR:  Play a card or ability. time: 1124
WARNING. RCR:  Play a card or ability. time: 1245
	minimax (cheat)	1		monte carlo tree search	1	1	0	1
	minimax (cheat)	1		monte carlo tree search	1	1	0	1
#deck1	ai1	str1	deck2	ai2	str2	games	d1win	d1lose
	minimax (cheat)	1		monte carlo tree search	1	1	0	1
	minimax (cheat)	1		monte carlo tree search	1	1	0	1
#deck1	ai1	str1	deck2	ai2	str2	games	d1win	d1lose
WARNING. RCR:  Play a card or ability. time: 1002
	minimax (cheat)	1		monte carlo tree search	1	1	1	0
	minimax (cheat)	1		monte carlo tree search	1	1	1	0
#deck1	ai1	str1	deck2	ai2	str2	games	d1win	d1lose
	minimax (cheat)	1		monte carlo tree search	1	1	1	0
	minimax (cheat)	1		monte carlo tree search	1	1	1	0
#deck1	ai1	str1	deck2	ai2	str2	games	d1win	d1lose
WARNING. RCR:  Play a card or ability. time: 1196
WARNING. RCR:  Play a card or ability. time: 1188
WARNING. RCR:  Play a card or ability. time: 1181
WARNING. RCR:  Play a card or ability. time: 1184
WARNING. RCR:  Play a card or ability. time: 1191
WARNING. RCR:  Play a card or ability. time: 1107
WARNING. RCR:  Play a card or ability. time: 1129
WARNING. RCR:  Declare attackers. time: 1134
WARNING. RCR:  Play a card or ability. time: 1168
WARNING. RCR:  Play a card or ability. time: 1139
WARNING. RCR:  Declare attackers. time: 1149
WARNING. RCR:  Play a card or ability. time: 1208
WARNING. RCR:  Play a card or ability. time: 1156
WARNING. RCR:  Play a card or ability. time: 1231
WARNING. RCR:  Play a card or ability. time: 1324
WARNING. RCR:  Play a card or ability. time: 1347
WARNING. RCR:  Play a card or ability. time: 1408
WARNING. RCR:  Play a card or ability. time: 1353
WARNING. RCR:  Play a card or ability. time: 1437
	minimax (cheat)	1		monte carlo tree search	1	1	0	1
	minimax (cheat)	1		monte carlo tree search	1	1	0	1
#deck1	ai1	str1	deck2	ai2	str2	games	d1win	d1lose
CRASH REPORT FOR MAGARENA THREAD Thread[pool-3363-thread-23,5,main]
CREATED ON 2016/02/20 01:10:56
MAGARENA VERSION 1.71, JRE 1.8.0_40, OS Linux_3.13.0-77-generic amd64
================================
Used Memory: 249M
Free Memory: 260M
Total Memory: 510M
Max Memory: 510M
================================
-Xms256M
-Xmx512M
-Xverify:none
-Dcom.sun.management.jmxremote
-Dmagarena.dir=/home/ubuntu/magarena/release
-Ddebug=false
-DdevMode=false
-Dgame.log=1455927466.log
-Djava.awt.headless=true


Turn : 2  Phase : FirstMain  Step : ActivePlayer  Player : MCTS  AI : monte carlo tree search  Score : 519
0] Player : MMABC  Life : 11  Delayed : Total=0
   - Hand : Mountain
   - Hand : Razor Golem
   - Hand : Fleeting Image
   - Hand : Furyborn Hellkite
   - Hand : Windscouter
   - Hand : Mountain
   - Library : Mountain
   - Library : Screaming Fury
   - Library : Lava Flow
   - Library : Two-Headed Cerberus
   - Library : Leveler
   - Library : Mountain
   - Library : Mondronen Shaman
   - Permanent : Swiftwater Cliffs  Tapped  Summoned
1] Player : MCTS  Life : 10  Delayed : Total=0
   - Hand : Aphotic Wisps
   - Hand : Coral Barrier
   - Hand : Island
   - Hand : Darkslick Shores
   - Hand : Hand of Silumgar
   - Hand : Drowned Catacomb
   - Hand : Hivestone
   - Hand : Oxidda Golem
   - Library : Order of the Ebon Hand
   - Library : Swamp
   - Library : Spell Snare
   - Library : Baki's Curse
   - Library : Strands of Undeath
   - Library : Island
   - Library : Island
Stack : 0
1. AddEventAction (EVENT: NONE MMABC may$ take a mulligan. ) = 0
2. AddEventAction (EVENT: NONE MCTS may$ take a mulligan. ) = 0
3. ExecuteFirstEventAction = 0
4. ExecuteFirstEventAction = 0
5. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
6. ExecuteFirstEventAction = 0
7. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
8. ExecuteFirstEventAction = 0
9. AddEventAction (EVENT: NONE  Declare attackers.) = 0
10. ExecuteFirstEventAction = 0
11. DeclareAttackersAction = 0
12. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
13. ExecuteFirstEventAction = 0
14. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
15. ExecuteFirstEventAction = 0
16. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
17. ExecuteFirstEventAction = 0
18. AddEventAction (EVENT: Swiftwater Cliffs Play <Swiftwater Cliffs~1000028>. ) = 0
19. ExecuteFirstEventAction = 0
20. RemoveCardAction (Swiftwater Cliffs) = -466
21. PlayCardAction = 0
22. AddEventAction (EVENT: Swiftwater Cliffs Put <Swiftwater Cliffs~1000028> onto the battlefield. ) = 0
23. ExecuteFirstEventAction = 0
24. PlayCardFromStackAction (Swiftwater Cliffs) = 766
25. TapAction (Swiftwater Cliffs) = 0
26. EnqueueTriggerAction = 0
27. PutItemOnStackAction (MagicTriggerOnStack,Swiftwater Cliffs) = -1
28. DequeueTriggerAction = 0
29. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
30. ExecuteFirstEventAction = 0
31. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
32. ExecuteFirstEventAction = 0
33. StackResolveAction = 0
34. ChangeLifeAction (MMABC,1) = 400
35. ChangePlayerStateAction = 0
36. AddStaticAction (MagicPermanent.NONE,magic.model.action.ChangePlayerStateAction$3@4cc4978b) = 0
37. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
38. ExecuteFirstEventAction = 0
39. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
40. ExecuteFirstEventAction = 0
41. ReturnExiledAction = 0
42. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
43. ExecuteFirstEventAction = 0
44. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
45. ExecuteFirstEventAction = 0
46. CleanupTurnTriggersAction = 0
47. CleanupPlayerAction = 0
48. CleanupPermanentAction = 0
49. CleanupPlayerAction = 0
50. CleanupTurnStaticsAction = 0
51. DrawAction = -180
52. AddEventAction (EVENT: NONE  ...) = 0
53. ExecuteFirstEventAction = 0
54. AddEventAction (EVENT: NONE  Play a card or ability.) = 0
Score = 519

Exception from controller.runGame: magic.model.MagicCard cannot be cast to magic.model.MagicPermanent
java.lang.ClassCastException: magic.model.MagicCard cannot be cast to magic.model.MagicPermanent
	at magic.model.target.MagicTargetFilterFactory$106.accept(MagicTargetFilterFactory.java:1006)
	at magic.model.target.MagicTargetFilterFactory$106.accept(MagicTargetFilterFactory.java:1004)
	at magic.model.MagicPlayer.controlsPermanent(MagicPlayer.java:627)
	at magic.model.condition.MagicConditionFactory$30.accept(MagicConditionFactory.java:285)
	at magic.model.condition.MagicArtificialCondition.accept(MagicArtificialCondition.java:18)
	at magic.model.event.MagicConditionEvent.isSatisfied(MagicConditionEvent.java:21)
	at magic.model.event.MagicActivation.canPlay(MagicActivation.java:108)
	at magic.model.event.MagicSourceActivation.canPlay(MagicSourceActivation.java:26)
	at magic.model.choice.MagicPlayChoice.addValidChoices(MagicPlayChoice.java:78)
	at magic.model.choice.MagicPlayChoice.getArtificialOptions(MagicPlayChoice.java:68)
	at magic.model.choice.MagicChoice.getArtificialChoiceResults(MagicChoice.java:86)
	at magic.model.choice.MagicChoice.getSimulationChoiceResult(MagicChoice.java:103)
	at magic.model.event.MagicEvent.getSimulationChoiceResult(MagicEvent.java:439)
	at magic.ai.MCTSAI.runSimulation(MCTSAI.java:483)
	at magic.ai.MCTSAI.randomPlay(MCTSAI.java:446)
	at magic.ai.MCTSAI.access$000(MCTSAI.java:65)
	at magic.ai.MCTSAI$2.run(MCTSAI.java:188)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)


MCTS cheat=false index=1 life=2 turn=16 phase=DeclareAttackers sims=7 time=31
  [99/2/?] ([Tar Pit Warrior, Dungeon Shade])
  [0/1/?] ([Tar Pit Warrior])
* [66/3/win:0] ([Dungeon Shade])
  [97/1/?] ([])
LOG (C): MCTS attacks with <Dungeon Shade~1000060>.
LOG (P): {c}MMABC loses 4 life.
LOG (P): {L} MMABC lost the game.
LOG (P): MMABC may (no) take a mulligan.
LOG (C): MCTS may (no) take a mulligan.
MMAB cheat=true index=0 life=10 turn=1 phase=FirstMain slice=1000 time=335
* [49737/885/-239 at 8] (pass)
  [49738/378/-790 at 5] (Mountain)
MMAB cheat=true index=0 life=10 turn=1 phase=SecondMain slice=1000 time=215
  [49739/490/-958 at 5] (pass)
  [49740/366/-790 at 5] (Mountain)
* [49741/258/-785 at 5] (Swiftwater Cliffs)
LOG (P): Play <Swiftwater Cliffs~1000028>. Put <Swiftwater Cliffs~1000028> onto the battlefield.
LOG (P): MMABC gains 1 life.
MCTS cached=0
make: *** [circleci] Error 1

make circleci returned exit code 2
The rest of your commands were successful:
  • Starting the build
  • Start container
  • Enable SSH
  • Restore source cache
  • Checkout using deploy key: 35:4d:ca:c0:5a:ec:f3:4f:d4:fe:0b:e2:47:23:21:95
  • Configure the build
  • Setting Java version to Oracle 8
  • Exporting JAVA_HOME
  • Restore cache
  • Save cache
  • Collect test metadata
  • Collect artifacts
  • Disable SSH
You're receiving this build email because you follow magarena/magarena on Circle, and have emails set up.
Hate build emails? Unfollow magarena/magarena or disable build emails.
CircleCI - 555 Market Street - 15th Floor - San Francisco, CA, 94105
circleci.com - +1-800-585-7075 - @circleci

Reply all
Reply to author
Forward
0 new messages