[ 
https://issues.apache.org/jira/browse/IGNITE-7716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365599#comment-16365599
 ] 

Oleg Ignatenko commented on IGNITE-7716:
----------------------------------------

Relevant excerpt from stack trace from TC log:
{noformat}
[2018-02-15 11:11:13,858][ERROR][main][root] Test failed.
java.awt.AWTError: Toolkit not found: sun.awt.HToolkit"
    at java.awt.Toolkit$2.run(Toolkit.java:867)
    at java.awt.Toolkit$2.run(Toolkit.java:855)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
    at java.awt.Desktop.isDesktopSupported(Desktop.java:169)
    at org.apache.ignite.ml.math.Tracer.isBrowseSupported(Tracer.java:363)
 {noformat}

Above suggests that *reason for failure is incorrect configuration of TC host*.

Specifically, the following is required for this test (and all other tests 
relying on public Java AWT API) run correctly in environment like one indicated 
by above stack trace:
# system properties need to be set as required eg 
[here|https://holistictendencies.wordpress.com/2011/10/13/truly-headless-awt-operation-on-macos-x/|"Truly
 headless AWT operation ..."]: {noformat}-Djava.awt.headless=true
-Dawt.toolkit=sun.awt.HToolkit{noformat}
# class referred in system property {{awt.toolkit}} (in example above it's 
{{sun.awt.HToolkit}}) must be present in JRE (for example on my machine this 
class can be found in {{rt.jar\sun\awt}})

[~vveider] - could you please check if involved TC host 
([publicagent06_9095|https://ci.ignite.apache.org/agentDetails.html?id=170&agentTypeId=170&realAgentName=publicagent06_9095])
 is configured as explained above or maybe something is missing?

> Red selftest in ML examples
> ---------------------------
>
>                 Key: IGNITE-7716
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7716
>             Project: Ignite
>          Issue Type: Bug
>          Components: ml
>            Reporter: Yury Babak
>            Assignee: Yury Babak
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>             Fix For: 2.5
>
>
> https://ci.ignite.apache.org/project.html?tab=testDetails&projectId=IgniteTests24Java8&testNameId=1447870893775475761



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to