You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Chris A. Mattmann (JIRA)" <ji...@apache.org> on 2009/12/18 19:30:18 UTC
[jira] Created: (NUTCH-777) Upgrading to jetty6 broke unit tests
Upgrading to jetty6 broke unit tests
------------------------------------
Key: NUTCH-777
URL: https://issues.apache.org/jira/browse/NUTCH-777
Project: Nutch
Issue Type: Bug
Components: build
Environment: My MacBook pro, JDK 1.6.0.
Reporter: Chris A. Mattmann
Assignee: Chris A. Mattmann
Fix For: 1.1
It seems that somewhere down the line, there was an upgrade to jetty6, which broke unit tests, specifically TestFetcher and CrawlDBTestUtil.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (NUTCH-777) Upgrading to jetty6 broke unit tests
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792579#action_12792579 ]
Chris A. Mattmann commented on NUTCH-777:
-----------------------------------------
Okay with the changes I'm about to commit, we have:
{noformat}
copy-generated-lib:
test:
[echo] Testing plugin: urlnormalizer-regex
[junit] Running org.apache.nutch.net.urlnormalizer.regex.TestRegexURLNormalizer
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.286 sec
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.802 sec
test:
BUILD SUCCESSFUL
Total time: 5 minutes 52 seconds
[chipotle:~/src/nutch] mattmann%
{noformat}
Yay!
> Upgrading to jetty6 broke unit tests
> ------------------------------------
>
> Key: NUTCH-777
> URL: https://issues.apache.org/jira/browse/NUTCH-777
> Project: Nutch
> Issue Type: Bug
> Components: build
> Environment: My MacBook pro, JDK 1.6.0.
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Fix For: 1.1
>
>
> It seems that somewhere down the line, there was an upgrade to jetty6, which broke unit tests, specifically TestFetcher and CrawlDBTestUtil.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (NUTCH-777) Upgrading to jetty6 broke unit tests
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792565#action_12792565 ]
Chris A. Mattmann commented on NUTCH-777:
-----------------------------------------
Here is what I was getting with the latest Nutch trunk:
{noformat}
compile:
job:
[jar] Building jar: /Users/mattmann/src/nutch/build/nutch-1.0.job
compile-core-test:
[javac] Compiling 43 source files to /Users/mattmann/src/nutch/build/test/classes
[javac] /Users/mattmann/src/nutch/src/test/org/apache/nutch/crawl/CrawlDBTestUtil.java:33: package org.mortbay.http does not exist
[javac] import org.mortbay.http.HttpContext;
[javac] ^
[javac] /Users/mattmann/src/nutch/src/test/org/apache/nutch/crawl/CrawlDBTestUtil.java:34: package org.mortbay.http does not exist
[javac] import org.mortbay.http.SocketListener;
[javac] ^
[javac] /Users/mattmann/src/nutch/src/test/org/apache/nutch/crawl/CrawlDBTestUtil.java:35: package org.mortbay.http.handler does not exist
[javac] import org.mortbay.http.handler.ResourceHandler;
[javac] ^
[javac] /Users/mattmann/src/nutch/src/test/org/apache/nutch/crawl/CrawlDBTestUtil.java:134: cannot find symbol
[javac] symbol : class SocketListener
[javac] location: class org.apache.nutch.crawl.CrawlDBTestUtil
[javac] SocketListener listener = new SocketListener();
[javac] ^
[javac] /Users/mattmann/src/nutch/src/test/org/apache/nutch/crawl/CrawlDBTestUtil.java:134: cannot find symbol
[javac] symbol : class SocketListener
[javac] location: class org.apache.nutch.crawl.CrawlDBTestUtil
[javac] SocketListener listener = new SocketListener();
[javac] ^
[javac] /Users/mattmann/src/nutch/src/test/org/apache/nutch/crawl/CrawlDBTestUtil.java:138: cannot find symbol
[javac] symbol : class HttpContext
[javac] location: class org.apache.nutch.crawl.CrawlDBTestUtil
[javac] HttpContext staticContext = new HttpContext();
[javac] ^
..snip...
[javac] /Users/mattmann/src/nutch/src/test/org/apache/nutch/fetcher/TestFetcher.java:167: cannot find symbol
[javac] symbol : method getListeners()
[javac] location: class org.mortbay.jetty.Server
[javac] urls.add("http://127.0.0.1:" + server.getListeners()[0].getPort() + "/" + page);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 9 errors
BUILD FAILED
/Users/mattmann/src/nutch/build.xml:229: Compile failed; see the compiler error output for details.
Total time: 37 seconds
{noformat}
> Upgrading to jetty6 broke unit tests
> ------------------------------------
>
> Key: NUTCH-777
> URL: https://issues.apache.org/jira/browse/NUTCH-777
> Project: Nutch
> Issue Type: Bug
> Components: build
> Environment: My MacBook pro, JDK 1.6.0.
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Fix For: 1.1
>
>
> It seems that somewhere down the line, there was an upgrade to jetty6, which broke unit tests, specifically TestFetcher and CrawlDBTestUtil.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (NUTCH-777) Upgrading to jetty6 broke unit tests
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792566#action_12792566 ]
Chris A. Mattmann commented on NUTCH-777:
-----------------------------------------
I found this page, which shows the mapping from Jetty5 (which the Nutch test code used to depend on), to Jetty6:
http://docs.codehaus.org/display/JETTY/Porting+to+jetty6
> Upgrading to jetty6 broke unit tests
> ------------------------------------
>
> Key: NUTCH-777
> URL: https://issues.apache.org/jira/browse/NUTCH-777
> Project: Nutch
> Issue Type: Bug
> Components: build
> Environment: My MacBook pro, JDK 1.6.0.
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Fix For: 1.1
>
>
> It seems that somewhere down the line, there was an upgrade to jetty6, which broke unit tests, specifically TestFetcher and CrawlDBTestUtil.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (NUTCH-777) Upgrading to jetty6 broke unit tests
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris A. Mattmann resolved NUTCH-777.
-------------------------------------
Resolution: Fixed
- fixed in r892350
> Upgrading to jetty6 broke unit tests
> ------------------------------------
>
> Key: NUTCH-777
> URL: https://issues.apache.org/jira/browse/NUTCH-777
> Project: Nutch
> Issue Type: Bug
> Components: build
> Environment: My MacBook pro, JDK 1.6.0.
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Fix For: 1.1
>
>
> It seems that somewhere down the line, there was an upgrade to jetty6, which broke unit tests, specifically TestFetcher and CrawlDBTestUtil.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (NUTCH-777) Upgrading to jetty6 broke unit tests
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792783#action_12792783 ]
Hudson commented on NUTCH-777:
------------------------------
Integrated in Nutch-trunk #1015 (See [http://hudson.zones.apache.org/hudson/job/Nutch-trunk/1015/])
- fix for Upgrading to jetty6 broke unit tests
> Upgrading to jetty6 broke unit tests
> ------------------------------------
>
> Key: NUTCH-777
> URL: https://issues.apache.org/jira/browse/NUTCH-777
> Project: Nutch
> Issue Type: Bug
> Components: build
> Environment: My MacBook pro, JDK 1.6.0.
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Fix For: 1.1
>
>
> It seems that somewhere down the line, there was an upgrade to jetty6, which broke unit tests, specifically TestFetcher and CrawlDBTestUtil.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (NUTCH-777) Upgrading to jetty6 broke unit
tests
Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/NUTCH-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on NUTCH-777 started by Chris A. Mattmann.
> Upgrading to jetty6 broke unit tests
> ------------------------------------
>
> Key: NUTCH-777
> URL: https://issues.apache.org/jira/browse/NUTCH-777
> Project: Nutch
> Issue Type: Bug
> Components: build
> Environment: My MacBook pro, JDK 1.6.0.
> Reporter: Chris A. Mattmann
> Assignee: Chris A. Mattmann
> Fix For: 1.1
>
>
> It seems that somewhere down the line, there was an upgrade to jetty6, which broke unit tests, specifically TestFetcher and CrawlDBTestUtil.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.