diff --git a/.gitignore b/.gitignore index e8f4a1d..94f723b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ .gradle **/build/ !src/**/build/ +build # Ignore Gradle GUI config gradle-app.setting diff --git a/build/classes/java/main/dslab/ComponentFactory.class b/build/classes/java/main/dslab/ComponentFactory.class deleted file mode 100644 index 6a33c44..0000000 Binary files a/build/classes/java/main/dslab/ComponentFactory.class and /dev/null differ diff --git a/build/classes/java/main/dslab/client/IMessageClient.class b/build/classes/java/main/dslab/client/IMessageClient.class deleted file mode 100644 index 801e491..0000000 Binary files a/build/classes/java/main/dslab/client/IMessageClient.class and /dev/null differ diff --git a/build/classes/java/main/dslab/client/MessageClient.class b/build/classes/java/main/dslab/client/MessageClient.class deleted file mode 100644 index e11d76a..0000000 Binary files a/build/classes/java/main/dslab/client/MessageClient.class and /dev/null differ diff --git a/build/classes/java/main/dslab/mailbox/IMailboxServer.class b/build/classes/java/main/dslab/mailbox/IMailboxServer.class deleted file mode 100644 index 350b6cf..0000000 Binary files a/build/classes/java/main/dslab/mailbox/IMailboxServer.class and /dev/null differ diff --git a/build/classes/java/main/dslab/mailbox/MailboxServer.class b/build/classes/java/main/dslab/mailbox/MailboxServer.class deleted file mode 100644 index 1233118..0000000 Binary files a/build/classes/java/main/dslab/mailbox/MailboxServer.class and /dev/null differ diff --git a/build/classes/java/main/dslab/monitoring/IMonitoringServer.class b/build/classes/java/main/dslab/monitoring/IMonitoringServer.class deleted file mode 100644 index ae9379e..0000000 Binary files a/build/classes/java/main/dslab/monitoring/IMonitoringServer.class and /dev/null differ diff --git a/build/classes/java/main/dslab/monitoring/MonitoringServer.class b/build/classes/java/main/dslab/monitoring/MonitoringServer.class deleted file mode 100644 index 70508c5..0000000 Binary files a/build/classes/java/main/dslab/monitoring/MonitoringServer.class and /dev/null differ diff --git a/build/classes/java/main/dslab/nameserver/AlreadyRegisteredException.class b/build/classes/java/main/dslab/nameserver/AlreadyRegisteredException.class deleted file mode 100644 index 31d190a..0000000 Binary files a/build/classes/java/main/dslab/nameserver/AlreadyRegisteredException.class and /dev/null differ diff --git a/build/classes/java/main/dslab/nameserver/INameserver.class b/build/classes/java/main/dslab/nameserver/INameserver.class deleted file mode 100644 index 9ce60dd..0000000 Binary files a/build/classes/java/main/dslab/nameserver/INameserver.class and /dev/null differ diff --git a/build/classes/java/main/dslab/nameserver/INameserverRemote.class b/build/classes/java/main/dslab/nameserver/INameserverRemote.class deleted file mode 100644 index e80e2bf..0000000 Binary files a/build/classes/java/main/dslab/nameserver/INameserverRemote.class and /dev/null differ diff --git a/build/classes/java/main/dslab/nameserver/InvalidDomainException.class b/build/classes/java/main/dslab/nameserver/InvalidDomainException.class deleted file mode 100644 index b547865..0000000 Binary files a/build/classes/java/main/dslab/nameserver/InvalidDomainException.class and /dev/null differ diff --git a/build/classes/java/main/dslab/nameserver/Nameserver.class b/build/classes/java/main/dslab/nameserver/Nameserver.class deleted file mode 100644 index cfd93f8..0000000 Binary files a/build/classes/java/main/dslab/nameserver/Nameserver.class and /dev/null differ diff --git a/build/classes/java/main/dslab/transfer/ITransferServer.class b/build/classes/java/main/dslab/transfer/ITransferServer.class deleted file mode 100644 index ca6a79a..0000000 Binary files a/build/classes/java/main/dslab/transfer/ITransferServer.class and /dev/null differ diff --git a/build/classes/java/main/dslab/transfer/TransferServer.class b/build/classes/java/main/dslab/transfer/TransferServer.class deleted file mode 100644 index 7b7105c..0000000 Binary files a/build/classes/java/main/dslab/transfer/TransferServer.class and /dev/null differ diff --git a/build/classes/java/main/dslab/util/Config.class b/build/classes/java/main/dslab/util/Config.class deleted file mode 100644 index 6396443..0000000 Binary files a/build/classes/java/main/dslab/util/Config.class and /dev/null differ diff --git a/build/classes/java/main/dslab/util/Keys.class b/build/classes/java/main/dslab/util/Keys.class deleted file mode 100644 index 530757b..0000000 Binary files a/build/classes/java/main/dslab/util/Keys.class and /dev/null differ diff --git a/build/classes/java/test/dslab/CheckedConsumer.class b/build/classes/java/test/dslab/CheckedConsumer.class deleted file mode 100644 index 70f7ea8..0000000 Binary files a/build/classes/java/test/dslab/CheckedConsumer.class and /dev/null differ diff --git a/build/classes/java/test/dslab/Constants.class b/build/classes/java/test/dslab/Constants.class deleted file mode 100644 index 71d7955..0000000 Binary files a/build/classes/java/test/dslab/Constants.class and /dev/null differ diff --git a/build/classes/java/test/dslab/JunitSocketClient.class b/build/classes/java/test/dslab/JunitSocketClient.class deleted file mode 100644 index cdd77a7..0000000 Binary files a/build/classes/java/test/dslab/JunitSocketClient.class and /dev/null differ diff --git a/build/classes/java/test/dslab/NullOutputStream.class b/build/classes/java/test/dslab/NullOutputStream.class deleted file mode 100644 index 39e2ba7..0000000 Binary files a/build/classes/java/test/dslab/NullOutputStream.class and /dev/null differ diff --git a/build/classes/java/test/dslab/SimpleTcpServer.class b/build/classes/java/test/dslab/SimpleTcpServer.class deleted file mode 100644 index 0b2d687..0000000 Binary files a/build/classes/java/test/dslab/SimpleTcpServer.class and /dev/null differ diff --git a/build/classes/java/test/dslab/Sockets.class b/build/classes/java/test/dslab/Sockets.class deleted file mode 100644 index d0f1934..0000000 Binary files a/build/classes/java/test/dslab/Sockets.class and /dev/null differ diff --git a/build/classes/java/test/dslab/StreamListener.class b/build/classes/java/test/dslab/StreamListener.class deleted file mode 100644 index 46f7b9e..0000000 Binary files a/build/classes/java/test/dslab/StreamListener.class and /dev/null differ diff --git a/build/classes/java/test/dslab/StringMatches.class b/build/classes/java/test/dslab/StringMatches.class deleted file mode 100644 index bd9912e..0000000 Binary files a/build/classes/java/test/dslab/StringMatches.class and /dev/null differ diff --git a/build/classes/java/test/dslab/TestBase.class b/build/classes/java/test/dslab/TestBase.class deleted file mode 100644 index 497dc46..0000000 Binary files a/build/classes/java/test/dslab/TestBase.class and /dev/null differ diff --git a/build/classes/java/test/dslab/TestInputStream.class b/build/classes/java/test/dslab/TestInputStream.class deleted file mode 100644 index 2a9167b..0000000 Binary files a/build/classes/java/test/dslab/TestInputStream.class and /dev/null differ diff --git a/build/classes/java/test/dslab/TestOutputStream.class b/build/classes/java/test/dslab/TestOutputStream.class deleted file mode 100644 index b48374d..0000000 Binary files a/build/classes/java/test/dslab/TestOutputStream.class and /dev/null differ diff --git a/build/classes/java/test/dslab/client/MessageClientMailboxTest.class b/build/classes/java/test/dslab/client/MessageClientMailboxTest.class deleted file mode 100644 index bae534e..0000000 Binary files a/build/classes/java/test/dslab/client/MessageClientMailboxTest.class and /dev/null differ diff --git a/build/classes/java/test/dslab/client/MessageClientStartupTest.class b/build/classes/java/test/dslab/client/MessageClientStartupTest.class deleted file mode 100644 index 57ce0d2..0000000 Binary files a/build/classes/java/test/dslab/client/MessageClientStartupTest.class and /dev/null differ diff --git a/build/classes/java/test/dslab/mailbox/MailboxServerProtocolTest.class b/build/classes/java/test/dslab/mailbox/MailboxServerProtocolTest.class deleted file mode 100644 index 6063505..0000000 Binary files a/build/classes/java/test/dslab/mailbox/MailboxServerProtocolTest.class and /dev/null differ diff --git a/build/classes/java/test/dslab/mailbox/MailboxServerTest.class b/build/classes/java/test/dslab/mailbox/MailboxServerTest.class deleted file mode 100644 index 1070c81..0000000 Binary files a/build/classes/java/test/dslab/mailbox/MailboxServerTest.class and /dev/null differ diff --git a/build/classes/java/test/dslab/mailbox/MailboxStartsecureTest.class b/build/classes/java/test/dslab/mailbox/MailboxStartsecureTest.class deleted file mode 100644 index cc48265..0000000 Binary files a/build/classes/java/test/dslab/mailbox/MailboxStartsecureTest.class and /dev/null differ diff --git a/build/classes/java/test/dslab/monitoring/MonitoringServerProtocolTest.class b/build/classes/java/test/dslab/monitoring/MonitoringServerProtocolTest.class deleted file mode 100644 index 5a3f071..0000000 Binary files a/build/classes/java/test/dslab/monitoring/MonitoringServerProtocolTest.class and /dev/null differ diff --git a/build/classes/java/test/dslab/monitoring/MonitoringServerTest.class b/build/classes/java/test/dslab/monitoring/MonitoringServerTest.class deleted file mode 100644 index 2fa81c3..0000000 Binary files a/build/classes/java/test/dslab/monitoring/MonitoringServerTest.class and /dev/null differ diff --git a/build/classes/java/test/dslab/naming/NameserverTest.class b/build/classes/java/test/dslab/naming/NameserverTest.class deleted file mode 100644 index e63db56..0000000 Binary files a/build/classes/java/test/dslab/naming/NameserverTest.class and /dev/null differ diff --git a/build/classes/java/test/dslab/transfer/TransferServerProtocolTest.class b/build/classes/java/test/dslab/transfer/TransferServerProtocolTest.class deleted file mode 100644 index 655a84f..0000000 Binary files a/build/classes/java/test/dslab/transfer/TransferServerProtocolTest.class and /dev/null differ diff --git a/build/classes/java/test/dslab/transfer/TransferServerTest.class b/build/classes/java/test/dslab/transfer/TransferServerTest.class deleted file mode 100644 index 94fa2d1..0000000 Binary files a/build/classes/java/test/dslab/transfer/TransferServerTest.class and /dev/null differ diff --git a/build/libs/dslab20-2020.jar b/build/libs/dslab20-2020.jar deleted file mode 100644 index 0d43929..0000000 Binary files a/build/libs/dslab20-2020.jar and /dev/null differ diff --git a/build/reports/tests/test/classes/dslab.client.MessageClientMailboxTest.html b/build/reports/tests/test/classes/dslab.client.MessageClientMailboxTest.html deleted file mode 100644 index dd4b07d..0000000 --- a/build/reports/tests/test/classes/dslab.client.MessageClientMailboxTest.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - -Test results - Class dslab.client.MessageClientMailboxTest - - - - - -
-

Class dslab.client.MessageClientMailboxTest

- -
- - - - - -
-
- - - - - - - -
-
-
2
-

tests

-
-
-
-
2
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
1m6.01s
-

duration

-
-
-
-
-
-
0%
-

successful

-
-
-
-
- -
-

Failed tests

-
- -

inbox_mulipleMails_showsAllInboxDataCorrectly

- -
org.junit.runners.model.TestTimedOutException: test timed out after 40000 milliseconds
-	at java.base@11.0.8/jdk.internal.misc.Unsafe.park(Native Method)
-	at java.base@11.0.8/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
-	at java.base@11.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
-	at java.base@11.0.8/java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458)
-	at app//dslab.StreamListener.poll(StreamListener.java:34)
-	at app//dslab.JunitSocketClient.read(JunitSocketClient.java:82)
-	at app//dslab.JunitSocketClient.sendAndRead(JunitSocketClient.java:108)
-	at app//dslab.JunitSocketClient.sendAndVerify(JunitSocketClient.java:103)
-	at app//dslab.client.MessageClientMailboxTest.inbox_mulipleMails_showsAllInboxDataCorrectly(MessageClientMailboxTest.java:121)
-	at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at java.base@11.0.8/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base@11.0.8/java.lang.reflect.Method.invoke(Method.java:566)
-	at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
-	at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
-	at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
-	at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
-	at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
-	at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
-	at java.base@11.0.8/java.util.concurrent.FutureTask.run(FutureTask.java:264)
-	at java.base@11.0.8/java.lang.Thread.run(Thread.java:834)
-
-
-
-
- -

inbox_singleMail_showsAllInboxDataCorrectly

- -
org.junit.runners.model.TestTimedOutException: test timed out after 20000 milliseconds
-	at java.base@11.0.8/jdk.internal.misc.Unsafe.park(Native Method)
-	at java.base@11.0.8/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
-	at java.base@11.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
-	at java.base@11.0.8/java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458)
-	at app//dslab.StreamListener.poll(StreamListener.java:34)
-	at app//dslab.JunitSocketClient.read(JunitSocketClient.java:82)
-	at app//dslab.JunitSocketClient.sendAndRead(JunitSocketClient.java:108)
-	at app//dslab.JunitSocketClient.sendAndVerify(JunitSocketClient.java:103)
-	at app//dslab.client.MessageClientMailboxTest.inbox_singleMail_showsAllInboxDataCorrectly(MessageClientMailboxTest.java:92)
-	at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at java.base@11.0.8/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base@11.0.8/java.lang.reflect.Method.invoke(Method.java:566)
-	at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
-	at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
-	at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
-	at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
-	at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
-	at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
-	at java.base@11.0.8/java.util.concurrent.FutureTask.run(FutureTask.java:264)
-	at java.base@11.0.8/java.lang.Thread.run(Thread.java:834)
-
-
-
-
-
-

Tests

- - - - - - - - - - - - - - - - - - -
TestDurationResult
inbox_mulipleMails_showsAllInboxDataCorrectly43.009sfailed
inbox_singleMail_showsAllInboxDataCorrectly23.005sfailed
-
-
-

Standard error

- -
Dec 23, 2020 11:54:45 AM dslab.client.MessageClientMailboxTest setUp
-INFO: Creating mailbox server
-Dec 23, 2020 11:54:45 AM dslab.mailbox.MailboxServer run
-INFO: Creating DMTP and DMAP serverSockets for MailboxServer + dslab.mailbox.MailboxServer@12a79257
-Dec 23, 2020 11:54:45 AM dslab.client.MessageClientMailboxTest setUp
-INFO: Waiting for mailbox server sockets
-Dec 23, 2020 11:54:45 AM dslab.client.MessageClientMailboxTest setUp
-INFO: Starting message client
-Dec 23, 2020 11:54:45 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@29ceee08
-Dec 23, 2020 11:54:48 AM dslab.mailbox.DMTPConnection run
-INFO: Split EMail addresses: [trillian@earth.planet]
-Dec 23, 2020 11:54:48 AM dslab.mailbox.DMTPConnection run
-INFO: Current email address in msg.getTo(): trillian@earth.planet
-Dec 23, 2020 11:54:48 AM dslab.mailbox.DMTPConnection run
-INFO: Address trillian@earth.planet belongs to this domain earth.planet
-Dec 23, 2020 11:54:48 AM dslab.mailbox.DMTPConnection run
-INFO: Address trillian@earth.planet belongs to this domain and user exists. Adding address to msg.To() field
-Dec 23, 2020 11:54:48 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@27090541
-Dec 23, 2020 11:55:28 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@7175fa12
-Dec 23, 2020 11:55:28 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@29ceee08
-Dec 23, 2020 11:55:28 AM dslab.client.MessageClientMailboxTest setUp
-INFO: Creating mailbox server
-Dec 23, 2020 11:55:28 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@27090541
-Dec 23, 2020 11:55:28 AM dslab.mailbox.MailboxServer run
-INFO: Creating DMTP and DMAP serverSockets for MailboxServer + dslab.mailbox.MailboxServer@1a4b8391
-Dec 23, 2020 11:55:28 AM dslab.client.MessageClientMailboxTest setUp
-INFO: Waiting for mailbox server sockets
-Dec 23, 2020 11:55:28 AM dslab.client.MessageClientMailboxTest setUp
-INFO: Starting message client
-Dec 23, 2020 11:55:28 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@47222a70
-Dec 23, 2020 11:55:31 AM dslab.mailbox.DMTPConnection run
-INFO: Split EMail addresses: [trillian@earth.planet]
-Dec 23, 2020 11:55:31 AM dslab.mailbox.DMTPConnection run
-INFO: Current email address in msg.getTo(): trillian@earth.planet
-Dec 23, 2020 11:55:31 AM dslab.mailbox.DMTPConnection run
-INFO: Address trillian@earth.planet belongs to this domain earth.planet
-Dec 23, 2020 11:55:31 AM dslab.mailbox.DMTPConnection run
-INFO: Address trillian@earth.planet belongs to this domain and user exists. Adding address to msg.To() field
-Dec 23, 2020 11:55:31 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@49e5dce4
-
-
-
-
- -
- - diff --git a/build/reports/tests/test/classes/dslab.client.MessageClientStartupTest.html b/build/reports/tests/test/classes/dslab.client.MessageClientStartupTest.html deleted file mode 100644 index cb6fec2..0000000 --- a/build/reports/tests/test/classes/dslab.client.MessageClientStartupTest.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - -Test results - Class dslab.client.MessageClientStartupTest - - - - - -
-

Class dslab.client.MessageClientStartupTest

- -
- - - - - -
-
- - - - - - - -
-
-
1
-

tests

-
-
-
-
1
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
15.017s
-

duration

-
-
-
-
-
-
0%
-

successful

-
-
-
-
- -
-

Failed tests

-
- -

startClient_shouldConnectToMailboxServerAndSendStartsecure

- -
org.junit.runners.model.TestTimedOutException: test timed out after 15000 milliseconds
-	at java.base@11.0.8/jdk.internal.misc.Unsafe.park(Native Method)
-	at java.base@11.0.8/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194)
-	at java.base@11.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:885)
-	at java.base@11.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1039)
-	at java.base@11.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1345)
-	at java.base@11.0.8/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:232)
-	at app//dslab.client.MessageClientStartupTest.startClient_shouldConnectToMailboxServerAndSendStartsecure(MessageClientStartupTest.java:78)
-	at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at java.base@11.0.8/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base@11.0.8/java.lang.reflect.Method.invoke(Method.java:566)
-	at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
-	at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
-	at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
-	at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
-	at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
-	at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
-	at java.base@11.0.8/java.util.concurrent.FutureTask.run(FutureTask.java:264)
-	at java.base@11.0.8/java.lang.Thread.run(Thread.java:834)
-
-
-
-
-
-

Tests

- - - - - - - - - - - - - -
TestDurationResult
startClient_shouldConnectToMailboxServerAndSendStartsecure15.017sfailed
-
-
-

Standard error

- -
Dec 23, 2020 11:54:30 AM dslab.SimpleTcpServer run
-INFO: Starting mock server on 11623
-Dec 23, 2020 11:54:30 AM dslab.SimpleTcpServer run
-INFO: Listening on client connection
-Dec 23, 2020 11:54:30 AM dslab.SimpleTcpServer run
-INFO: Processing client connection Socket[addr=/127.0.0.1,port=47618,localport=11623]
-Dec 23, 2020 11:54:30 AM dslab.SimpleTcpServer run
-INFO: Listening on client connection
-Dec 23, 2020 11:54:45 AM dslab.SimpleTcpServer close
-INFO: Closing server socket
-Dec 23, 2020 11:54:45 AM dslab.SimpleTcpServer close
-INFO: Closing server socket
-
-
-
-
- -
- - diff --git a/build/reports/tests/test/classes/dslab.mailbox.MailboxServerProtocolTest.html b/build/reports/tests/test/classes/dslab.mailbox.MailboxServerProtocolTest.html deleted file mode 100644 index e09a21c..0000000 --- a/build/reports/tests/test/classes/dslab.mailbox.MailboxServerProtocolTest.html +++ /dev/null @@ -1,208 +0,0 @@ - - - - - -Test results - Class dslab.mailbox.MailboxServerProtocolTest - - - - - -
-

Class dslab.mailbox.MailboxServerProtocolTest

- -
- - - - - -
-
- - - - - - - -
-
-
4
-

tests

-
-
-
-
0
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
13.092s
-

duration

-
-
-
-
-
-
100%
-

successful

-
-
-
-
- -
-

Tests

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TestDurationResult
acceptDmtpMessage_listDmapMessage4.043spassed
dmtpMessage_withUnknownRecipient_returnsError3.017spassed
loginAndLogout_withValidLogin3.018spassed
login_withInvalidLogin_returnsError3.014spassed
-
-
-

Standard error

- -
Dec 23, 2020 11:54:14 AM dslab.mailbox.MailboxServerProtocolTest setUp
-INFO: Waiting for server sockets to appear
-Dec 23, 2020 11:54:14 AM dslab.mailbox.MailboxServer run
-INFO: Creating DMTP and DMAP serverSockets for MailboxServer + dslab.mailbox.MailboxServer@241b95b7
-Dec 23, 2020 11:54:14 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@1f3c1728
-Dec 23, 2020 11:54:14 AM dslab.mailbox.DMTPConnection run
-INFO: Split EMail addresses: [trillian@earth.planet]
-Dec 23, 2020 11:54:14 AM dslab.mailbox.DMTPConnection run
-INFO: Current email address in msg.getTo(): trillian@earth.planet
-Dec 23, 2020 11:54:14 AM dslab.mailbox.DMTPConnection run
-INFO: Address trillian@earth.planet belongs to this domain earth.planet
-Dec 23, 2020 11:54:14 AM dslab.mailbox.DMTPConnection run
-INFO: Address trillian@earth.planet belongs to this domain and user exists. Adding address to msg.To() field
-Dec 23, 2020 11:54:14 AM dslab.mailbox.DMTPConnection storeMessage
-INFO: Storing message from arthur@earth.planet
-to trillian@earth.planet
-subject hello
-data hello from junit
-
-Dec 23, 2020 11:54:14 AM dslab.mailbox.DMTPConnection storeMessage
-INFO: storeMessage(): checking if msg 0 arthur@earth.planet hello already exists for recipient trillian@earth.planet
-Dec 23, 2020 11:54:14 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@73c9d031
-Dec 23, 2020 11:54:14 AM dslab.mailbox.DMAPConnection loginLoop
-INFO: User successfully logged in: trillian@earth.planet
-Dec 23, 2020 11:54:15 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@6b871b90
-Dec 23, 2020 11:54:15 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@6540f948
-Dec 23, 2020 11:54:15 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@1f3c1728
-Dec 23, 2020 11:54:15 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@6b871b90
-Dec 23, 2020 11:54:15 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@73c9d031
-Dec 23, 2020 11:54:18 AM dslab.mailbox.MailboxServerProtocolTest setUp
-INFO: Waiting for server sockets to appear
-Dec 23, 2020 11:54:18 AM dslab.mailbox.MailboxServer run
-INFO: Creating DMTP and DMAP serverSockets for MailboxServer + dslab.mailbox.MailboxServer@65f3f723
-Dec 23, 2020 11:54:18 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@50d35cb5
-Dec 23, 2020 11:54:18 AM dslab.mailbox.DMAPConnection loginLoop
-INFO: User successfully logged in: trillian@earth.planet
-Dec 23, 2020 11:54:18 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@49562a5
-Dec 23, 2020 11:54:18 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@4fc64790
-Dec 23, 2020 11:54:18 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@50d35cb5
-Dec 23, 2020 11:54:18 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@49562a5
-Dec 23, 2020 11:54:21 AM dslab.mailbox.MailboxServerProtocolTest setUp
-INFO: Waiting for server sockets to appear
-Dec 23, 2020 11:54:21 AM dslab.mailbox.MailboxServer run
-INFO: Creating DMTP and DMAP serverSockets for MailboxServer + dslab.mailbox.MailboxServer@520788de
-Dec 23, 2020 11:54:21 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@5873049e
-Dec 23, 2020 11:54:21 AM dslab.mailbox.DMTPConnection run
-INFO: Split EMail addresses: [unknown@earth.planet]
-Dec 23, 2020 11:54:21 AM dslab.mailbox.DMTPConnection run
-INFO: Current email address in msg.getTo(): unknown@earth.planet
-Dec 23, 2020 11:54:21 AM dslab.mailbox.DMTPConnection run
-INFO: Address unknown@earth.planet belongs to this domain earth.planet
-Dec 23, 2020 11:54:21 AM dslab.mailbox.DMTPConnection run
-INFO: Our userStorage in domain earth.planet does not contain user unknown
-Dec 23, 2020 11:54:21 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@6b58be8b
-Dec 23, 2020 11:54:21 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@5873049e
-Dec 23, 2020 11:54:21 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@dc78beb
-Dec 23, 2020 11:54:21 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@6b58be8b
-Dec 23, 2020 11:54:24 AM dslab.mailbox.MailboxServerProtocolTest setUp
-INFO: Waiting for server sockets to appear
-Dec 23, 2020 11:54:24 AM dslab.mailbox.MailboxServer run
-INFO: Creating DMTP and DMAP serverSockets for MailboxServer + dslab.mailbox.MailboxServer@5d7aadb9
-Dec 23, 2020 11:54:24 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@340579b2
-Dec 23, 2020 11:54:24 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@6f10dd9e
-Dec 23, 2020 11:54:24 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@340579b2
-Dec 23, 2020 11:54:24 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@61d72fd4
-Dec 23, 2020 11:54:24 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@6f10dd9e
-
-
-
-
- -
- - diff --git a/build/reports/tests/test/classes/dslab.mailbox.MailboxServerTest.html b/build/reports/tests/test/classes/dslab.mailbox.MailboxServerTest.html deleted file mode 100644 index bef6a14..0000000 --- a/build/reports/tests/test/classes/dslab.mailbox.MailboxServerTest.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - -Test results - Class dslab.mailbox.MailboxServerTest - - - - - -
-

Class dslab.mailbox.MailboxServerTest

- -
- - - - - -
-
- - - - - - - -
-
-
1
-

tests

-
-
-
-
0
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
3.007s
-

duration

-
-
-
-
-
-
100%
-

successful

-
-
-
-
- -
-

Tests

- - - - - - - - - - - - - -
TestDurationResult
runAndShutdownTransferServer_createsAndStopsTcpSocketCorrectly3.007spassed
-
-
-

Standard error

- -
Dec 23, 2020 11:54:27 AM dslab.monitoring.MonitoringServerTest runAndShutdownTransferServer_createsAndStopsTcpSocketCorrectly
-INFO: Starting thread with component dslab.mailbox.MailboxServer@d5e253e
-Dec 23, 2020 11:54:27 AM dslab.mailbox.MailboxServer run
-INFO: Creating DMTP and DMAP serverSockets for MailboxServer + dslab.mailbox.MailboxServer@d5e253e
-Dec 23, 2020 11:54:27 AM dslab.monitoring.MonitoringServerTest runAndShutdownTransferServer_createsAndStopsTcpSocketCorrectly
-INFO: Waiting for DMTP socket to open on port 11622
-Dec 23, 2020 11:54:27 AM dslab.monitoring.MonitoringServerTest runAndShutdownTransferServer_createsAndStopsTcpSocketCorrectly
-INFO: Waiting for DMAP socket to open on port 11623
-Dec 23, 2020 11:54:27 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@50c1e13d
-Dec 23, 2020 11:54:27 AM dslab.monitoring.MonitoringServerTest runAndShutdownTransferServer_createsAndStopsTcpSocketCorrectly
-INFO: Shutting down component dslab.mailbox.MailboxServer@d5e253e
-Dec 23, 2020 11:54:27 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@5f003336
-Dec 23, 2020 11:54:27 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@50c1e13d
-Dec 23, 2020 11:54:30 AM dslab.monitoring.MonitoringServerTest runAndShutdownTransferServer_createsAndStopsTcpSocketCorrectly
-INFO: Waiting for thread to stop for component dslab.mailbox.MailboxServer@d5e253e
-
-
-
-
- -
- - diff --git a/build/reports/tests/test/classes/dslab.mailbox.MailboxStartsecureTest.html b/build/reports/tests/test/classes/dslab.mailbox.MailboxStartsecureTest.html deleted file mode 100644 index 79eb0f1..0000000 --- a/build/reports/tests/test/classes/dslab.mailbox.MailboxStartsecureTest.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - -Test results - Class dslab.mailbox.MailboxStartsecureTest - - - - - -
-

Class dslab.mailbox.MailboxStartsecureTest

- -
- - - - - -
-
- - - - - - - -
-
-
1
-

tests

-
-
-
-
1
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
4.025s
-

duration

-
-
-
-
-
-
0%
-

successful

-
-
-
-
- -
-

Failed tests

-
- -

sendStartsecure

- -
java.lang.AssertionError: 
-Expected: a string containing "ok DMAP2.0"
-     but: was "ok DMAP"
-	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
-	at org.junit.Assert.assertThat(Assert.java:956)
-	at org.junit.rules.ErrorCollector$1.call(ErrorCollector.java:65)
-	at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:78)
-	at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:63)
-	at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:54)
-	at dslab.JunitSocketClient.assertThat(JunitSocketClient.java:120)
-	at dslab.JunitSocketClient.verify(JunitSocketClient.java:92)
-	at dslab.mailbox.MailboxStartsecureTest.sendStartsecure(MailboxStartsecureTest.java:58)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
-	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
-	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
-	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
-	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
-	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
-	at java.base/java.lang.Thread.run(Thread.java:834)
-
-
- -
java.lang.AssertionError: 
-Expected: a string containing "ok mailbox-earth-planet"
-     but: was "error not logged in"
-	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
-	at org.junit.Assert.assertThat(Assert.java:956)
-	at org.junit.rules.ErrorCollector$1.call(ErrorCollector.java:65)
-	at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:78)
-	at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:63)
-	at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:54)
-	at dslab.JunitSocketClient.assertThat(JunitSocketClient.java:120)
-	at dslab.JunitSocketClient.sendAndVerify(JunitSocketClient.java:103)
-	at dslab.mailbox.MailboxStartsecureTest.sendStartsecure(MailboxStartsecureTest.java:61)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
-	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
-	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
-	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
-	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
-	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
-	at java.base/java.lang.Thread.run(Thread.java:834)
-
-
- -
java.lang.AssertionError: Expected server response to be Base64 encoded
-Expected: a string matching "^(?:[a-zA-Z0-9+/]{4})*(?:[a-zA-Z0-9+/]{2}==|[a-zA-Z0-9+/]{3}=)?$"
-     but: was "error not logged in"
-	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
-	at org.junit.Assert.assertThat(Assert.java:956)
-	at org.junit.rules.ErrorCollector$1.call(ErrorCollector.java:65)
-	at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:78)
-	at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:63)
-	at dslab.mailbox.MailboxStartsecureTest.sendStartsecure(MailboxStartsecureTest.java:68)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
-	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
-	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
-	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
-	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
-	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
-	at java.base/java.lang.Thread.run(Thread.java:834)
-
-
-
-
-
-

Tests

- - - - - - - - - - - - - -
TestDurationResult
sendStartsecure4.025sfailed
-
-
-

Standard error

- -
Dec 23, 2020 11:54:10 AM dslab.mailbox.MailboxServerProtocolTest setUp
-INFO: Waiting for server sockets to appear
-Dec 23, 2020 11:54:10 AM dslab.mailbox.MailboxServer run
-INFO: Creating DMTP and DMAP serverSockets for MailboxServer + dslab.mailbox.MailboxServer@3fe01346
-Dec 23, 2020 11:54:10 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@3df07a72
-Dec 23, 2020 11:54:11 AM dslab.mailbox.DMTPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMTPConnection@3df07a72
-Dec 23, 2020 11:54:11 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@773ef65c
-Dec 23, 2020 11:54:11 AM dslab.mailbox.DMAPConnection shutdown
-INFO: Shutting down client connection dslab.mailbox.DMAPConnection@139c58dc
-
-
-
-
- -
- - diff --git a/build/reports/tests/test/classes/dslab.monitoring.MonitoringServerProtocolTest.html b/build/reports/tests/test/classes/dslab.monitoring.MonitoringServerProtocolTest.html deleted file mode 100644 index 3a962d7..0000000 --- a/build/reports/tests/test/classes/dslab.monitoring.MonitoringServerProtocolTest.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - -Test results - Class dslab.monitoring.MonitoringServerProtocolTest - - - - - -
-

Class dslab.monitoring.MonitoringServerProtocolTest

- -
- - - - - -
-
- - - - - - - -
-
-
2
-

tests

-
-
-
-
0
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
22.044s
-

duration

-
-
-
-
-
-
100%
-

successful

-
-
-
-
- -
-

Tests

- - - - - - - - - - - - - - - - - - -
TestDurationResult
addresses_returnsCorrectStatistics11.005spassed
servers_returnsCorrectStatistics11.039spassed
-
-
-

Standard error

- -
Dec 23, 2020 11:52:57 AM dslab.monitoring.MonitoringServer run
-INFO: Creating UDP serverSocket for dslab.monitoring.MonitoringServer@2f62b3f5
-Dec 23, 2020 11:53:00 AM dslab.monitoring.MonitoringServerProtocolTest servers_returnsCorrectStatistics
-INFO: Sending three monitoring packets to monitoring socket
-Dec 23, 2020 11:53:00 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains server: 127.0.0.1:42
-Dec 23, 2020 11:53:00 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains address: foo@example.com
-Dec 23, 2020 11:53:00 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains server: 127.0.0.1:43
-Dec 23, 2020 11:53:00 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains address: foo@example.com
-Dec 23, 2020 11:53:00 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains server: 127.0.0.1:42
-Dec 23, 2020 11:53:00 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains address: bar@example.com
-Dec 23, 2020 11:53:08 AM dslab.monitoring.MonitoringServer run
-INFO: Creating UDP serverSocket for dslab.monitoring.MonitoringServer@1e2967a2
-Dec 23, 2020 11:53:11 AM dslab.monitoring.MonitoringServerProtocolTest addresses_returnsCorrectStatistics
-INFO: Sending three monitoring packets to monitoring socket
-Dec 23, 2020 11:53:11 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains server: 127.0.0.1:42
-Dec 23, 2020 11:53:11 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains address: foo@example.com
-Dec 23, 2020 11:53:11 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains server: 127.0.0.1:43
-Dec 23, 2020 11:53:11 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains address: foo@example.com
-Dec 23, 2020 11:53:11 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains server: 127.0.0.1:42
-Dec 23, 2020 11:53:11 AM dslab.monitoring.MonitoringListener run
-INFO: Incoming packet contains address: bar@example.com
-
-
-
-
- -
- - diff --git a/build/reports/tests/test/classes/dslab.monitoring.MonitoringServerTest.html b/build/reports/tests/test/classes/dslab.monitoring.MonitoringServerTest.html deleted file mode 100644 index 0291364..0000000 --- a/build/reports/tests/test/classes/dslab.monitoring.MonitoringServerTest.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Test results - Class dslab.monitoring.MonitoringServerTest - - - - - -
-

Class dslab.monitoring.MonitoringServerTest

- -
- - - - - -
-
- - - - - - - -
-
-
1
-

tests

-
-
-
-
0
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
6.017s
-

duration

-
-
-
-
-
-
100%
-

successful

-
-
-
-
- -
-

Tests

- - - - - - - - - - - - - -
TestDurationResult
runAndShutdownMonitoringServer_createsAndStopsUdpSocketCorrectly6.017spassed
-
-
-

Standard error

- -
Dec 23, 2020 11:53:19 AM dslab.monitoring.MonitoringServerTest runAndShutdownMonitoringServer_createsAndStopsUdpSocketCorrectly
-INFO: Starting thread with component dslab.monitoring.MonitoringServer@7baac9c6
-Dec 23, 2020 11:53:19 AM dslab.monitoring.MonitoringServer run
-INFO: Creating UDP serverSocket for dslab.monitoring.MonitoringServer@7baac9c6
-Dec 23, 2020 11:53:22 AM dslab.monitoring.MonitoringServerTest runAndShutdownMonitoringServer_createsAndStopsUdpSocketCorrectly
-INFO: Trying to create socket on port 11628
-Dec 23, 2020 11:53:22 AM dslab.monitoring.MonitoringServerTest runAndShutdownMonitoringServer_createsAndStopsUdpSocketCorrectly
-INFO: Shutting down component dslab.monitoring.MonitoringServer@7baac9c6
-Dec 23, 2020 11:53:25 AM dslab.monitoring.MonitoringServerTest runAndShutdownMonitoringServer_createsAndStopsUdpSocketCorrectly
-INFO: Waiting for thread to stop for component dslab.monitoring.MonitoringServer@7baac9c6
-
-
-
-
- -
- - diff --git a/build/reports/tests/test/classes/dslab.naming.NameserverTest.html b/build/reports/tests/test/classes/dslab.naming.NameserverTest.html deleted file mode 100644 index deade60..0000000 --- a/build/reports/tests/test/classes/dslab.naming.NameserverTest.html +++ /dev/null @@ -1,298 +0,0 @@ - - - - - -Test results - Class dslab.naming.NameserverTest - - - - - -
-

Class dslab.naming.NameserverTest

- -
- - - - - -
-
- - - - - - - -
-
-
4
-

tests

-
-
-
-
4
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
36.035s
-

duration

-
-
-
-
-
-
0%
-

successful

-
-
-
-
- -
-

Failed tests

-
- -

ns01_startAndShutdownRootNameserver_createsAndUnexportsRegistryCorrectly

- -
java.lang.AssertionError: Expected root nameserver to start a registry, but it couldn't be located or registry.list() failed
-	at dslab.naming.NameserverTest.ns01_startAndShutdownRootNameserver_createsAndUnexportsRegistryCorrectly(NameserverTest.java:81)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
-	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
-	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
-	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
-	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
-	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
-	at java.base/java.lang.Thread.run(Thread.java:834)
-Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
-	java.net.ConnectException: Connection refused (Connection refused)
-	at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:623)
-	at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:209)
-	at java.rmi/sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196)
-	at java.rmi/sun.rmi.server.UnicastRef.newCall(UnicastRef.java:343)
-	at java.rmi/sun.rmi.registry.RegistryImpl_Stub.list(RegistryImpl_Stub.java:90)
-	at dslab.naming.NameserverTest.ns01_startAndShutdownRootNameserver_createsAndUnexportsRegistryCorrectly(NameserverTest.java:79)
-	... 12 more
-Caused by: java.net.ConnectException: Connection refused (Connection refused)
-	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
-	at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
-	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
-	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
-	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
-	at java.base/java.net.Socket.connect(Socket.java:609)
-	at java.base/java.net.Socket.connect(Socket.java:558)
-	at java.base/java.net.Socket.<init>(Socket.java:454)
-	at java.base/java.net.Socket.<init>(Socket.java:231)
-	at java.rmi/sun.rmi.transport.tcp.TCPDirectSocketFactory.createSocket(TCPDirectSocketFactory.java:40)
-	at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617)
-	... 17 more
-
-
-
-
- -

ns02_startRootNameserver_registersRemoteObjectCorrectly

- -
java.lang.AssertionError: Error while looking up remote object 
-	at dslab.naming.NameserverTest.ns02_startRootNameserver_registersRemoteObjectCorrectly(NameserverTest.java:118)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
-	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
-	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
-	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
-	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
-	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
-	at java.base/java.lang.Thread.run(Thread.java:834)
-
-
-
-
- -

ns03_startingZoneNameserver_registersNameserverCorrectly

- -
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
-	java.net.ConnectException: Connection refused (Connection refused)
-	at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:623)
-	at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:209)
-	at java.rmi/sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196)
-	at java.rmi/sun.rmi.server.UnicastRef.newCall(UnicastRef.java:343)
-	at java.rmi/sun.rmi.registry.RegistryImpl_Stub.list(RegistryImpl_Stub.java:90)
-	at dslab.naming.NameserverTest.ns03_startingZoneNameserver_registersNameserverCorrectly(NameserverTest.java:143)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
-	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
-	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
-	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
-	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
-	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
-	at java.base/java.lang.Thread.run(Thread.java:834)
-Caused by: java.net.ConnectException: Connection refused (Connection refused)
-	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
-	at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
-	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
-	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
-	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
-	at java.base/java.net.Socket.connect(Socket.java:609)
-	at java.base/java.net.Socket.connect(Socket.java:558)
-	at java.base/java.net.Socket.<init>(Socket.java:454)
-	at java.base/java.net.Socket.<init>(Socket.java:231)
-	at java.rmi/sun.rmi.transport.tcp.TCPDirectSocketFactory.createSocket(TCPDirectSocketFactory.java:40)
-	at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617)
-	... 17 more
-
-
-
-
- -

ns04_registerAndLookupMailboxServer_registersAndReturnsAddressCorrectly

- -
java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: 
-	java.net.ConnectException: Connection refused (Connection refused)
-	at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:623)
-	at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:209)
-	at java.rmi/sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196)
-	at java.rmi/sun.rmi.server.UnicastRef.newCall(UnicastRef.java:343)
-	at java.rmi/sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:116)
-	at dslab.naming.NameserverTest.ns04_registerAndLookupMailboxServer_registersAndReturnsAddressCorrectly(NameserverTest.java:189)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
-	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
-	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
-	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
-	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
-	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
-	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
-	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
-	at java.base/java.lang.Thread.run(Thread.java:834)
-Caused by: java.net.ConnectException: Connection refused (Connection refused)
-	at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
-	at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399)
-	at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242)
-	at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224)
-	at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
-	at java.base/java.net.Socket.connect(Socket.java:609)
-	at java.base/java.net.Socket.connect(Socket.java:558)
-	at java.base/java.net.Socket.<init>(Socket.java:454)
-	at java.base/java.net.Socket.<init>(Socket.java:231)
-	at java.rmi/sun.rmi.transport.tcp.TCPDirectSocketFactory.createSocket(TCPDirectSocketFactory.java:40)
-	at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617)
-	... 17 more
-
-
-
-
-
-

Tests

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TestDurationResult
ns01_startAndShutdownRootNameserver_createsAndUnexportsRegistryCorrectly6.016sfailed
ns02_startRootNameserver_registersRemoteObjectCorrectly6.006sfailed
ns03_startingZoneNameserver_registersNameserverCorrectly12.005sfailed
ns04_registerAndLookupMailboxServer_registersAndReturnsAddressCorrectly12.008sfailed
-
-
-

Standard error

- -
Dec 23, 2020 11:53:34 AM dslab.naming.NameserverTest ns01_startAndShutdownRootNameserver_createsAndUnexportsRegistryCorrectly
-INFO: Starting ns-root thread
-Dec 23, 2020 11:53:37 AM dslab.naming.NameserverTest sendShutdown
-INFO: Sending shutdown to component component
-Dec 23, 2020 11:53:40 AM dslab.naming.NameserverTest ns02_startRootNameserver_registersRemoteObjectCorrectly
-INFO: Starting ns-root thread
-Dec 23, 2020 11:53:43 AM dslab.naming.NameserverTest ns02_startRootNameserver_registersRemoteObjectCorrectly
-INFO: Looking up root-nameserver in registry
-Dec 23, 2020 11:53:43 AM dslab.naming.NameserverTest sendShutdown
-INFO: Sending shutdown to component component
-Dec 23, 2020 11:53:46 AM dslab.naming.NameserverTest ns03_startingZoneNameserver_registersNameserverCorrectly
-INFO: Starting ns-root thread
-Dec 23, 2020 11:53:49 AM dslab.naming.NameserverTest ns03_startingZoneNameserver_registersNameserverCorrectly
-INFO: Starting ns-planet thread
-Dec 23, 2020 11:53:52 AM dslab.naming.NameserverTest sendShutdown
-INFO: Sending shutdown to component component
-Dec 23, 2020 11:53:55 AM dslab.naming.NameserverTest sendShutdown
-INFO: Sending shutdown to component component
-Dec 23, 2020 11:53:58 AM dslab.naming.NameserverTest ns04_registerAndLookupMailboxServer_registersAndReturnsAddressCorrectly
-INFO: Starting ns-root thread
-Dec 23, 2020 11:54:01 AM dslab.naming.NameserverTest ns04_registerAndLookupMailboxServer_registersAndReturnsAddressCorrectly
-INFO: Starting ns-planet thread
-Dec 23, 2020 11:54:04 AM dslab.naming.NameserverTest ns04_registerAndLookupMailboxServer_registersAndReturnsAddressCorrectly
-INFO: Looking up root-nameserver in registry
-Dec 23, 2020 11:54:04 AM dslab.naming.NameserverTest sendShutdown
-INFO: Sending shutdown to component component
-Dec 23, 2020 11:54:07 AM dslab.naming.NameserverTest sendShutdown
-INFO: Sending shutdown to component component
-
-
-
-
- -
- - diff --git a/build/reports/tests/test/classes/dslab.transfer.TransferServerProtocolTest.html b/build/reports/tests/test/classes/dslab.transfer.TransferServerProtocolTest.html deleted file mode 100644 index 5a0dd22..0000000 --- a/build/reports/tests/test/classes/dslab.transfer.TransferServerProtocolTest.html +++ /dev/null @@ -1,184 +0,0 @@ - - - - - -Test results - Class dslab.transfer.TransferServerProtocolTest - - - - - -
-

Class dslab.transfer.TransferServerProtocolTest

- -
- - - - - -
-
- - - - - - - -
-
-
2
-

tests

-
-
-
-
0
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
6.037s
-

duration

-
-
-
-
-
-
100%
-

successful

-
-
-
-
- -
-

Tests

- - - - - - - - - - - - - - - - - - -
TestDurationResult
defaultDmtpInteractionTest3.015spassed
sendWithoutRecipient_returnsErrorOnSend3.022spassed
-
-
-

Standard error

- -
Dec 23, 2020 11:53:28 AM dslab.transfer.TransferServer run
-INFO: Creating serverSocket for dslab.transfer.TransferServer@4f2780a4
-Dec 23, 2020 11:53:28 AM dslab.transfer.TransferServerProtocolTest setUp
-INFO: Waiting for server socket to appear
-Dec 23, 2020 11:53:28 AM dslab.transfer.TransferServer$Consumer consume
-INFO: Queue currently empty. Waiting for messages to appear...
-Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection shutdown
-INFO: Shutting down client connection dslab.transfer.ClientConnection@230cb815
-Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection run
-INFO: Setting subject to: hello
-Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection run
-INFO: Setting data to: hello from junit
-Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection shutdown
-INFO: Shutting down client connection dslab.transfer.ClientConnection@13137acb
-Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection shutdown
-INFO: Shutting down client connection dslab.transfer.ClientConnection@230cb815
-Dec 23, 2020 11:53:28 AM dslab.transfer.ClientConnection shutdown
-INFO: Shutting down client connection dslab.transfer.ClientConnection@13137acb
-Dec 23, 2020 11:53:28 AM dslab.transfer.TransferServer$Producer produce
-INFO: Added message from trillian@earth.planet
-to arthur@earth.planet
-subject hello
-data hello from junit
- to queue
-Dec 23, 2020 11:53:28 AM dslab.transfer.TransferServer$Consumer run
-INFO: Consumer thread has been interrupted. Exiting...Thread[Thread-12,5,FailOnTimeoutGroup]
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServerProtocolTest setUp
-INFO: Waiting for server socket to appear
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer run
-INFO: Creating serverSocket for dslab.transfer.TransferServer@7f9374ad
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
-INFO: Queue not empty. Processing message...
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
-INFO: Took message from trillian@earth.planet
-to arthur@earth.planet
-subject hello
-data hello from junit
- from queue
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
-INFO: msg.getTo() contains: [arthur@earth.planet]
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
-INFO: Trying to send message to arthur@earth.planet
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer domainLookup
-INFO: Performing domain lookup for address arthur@earth.planet
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
-INFO: Domain lookup successful. Port is: 11622
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer replayMessage
-INFO: Replaying message for message: from trillian@earth.planet
-to arthur@earth.planet
-subject hello
-data hello from junit
- on port 11622
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer sendErrorMail
-INFO: Trying to send error mail to address trillian@earth.planet
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer domainLookup
-INFO: Performing domain lookup for address trillian@earth.planet
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer sendErrorMail
-SEVERE: Sending error mail failed because socket communication failed
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer consume
-INFO: Queue currently empty. Waiting for messages to appear...
-Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection shutdown
-INFO: Shutting down client connection dslab.transfer.ClientConnection@395b40fd
-Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection run
-INFO: Setting subject to: hello
-Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection run
-INFO: Setting data to: hello from junit
-Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection shutdown
-INFO: Shutting down client connection dslab.transfer.ClientConnection@69536688
-Dec 23, 2020 11:53:31 AM dslab.transfer.TransferServer$Consumer run
-INFO: Consumer thread has been interrupted. Exiting...Thread[Thread-18,5,FailOnTimeoutGroup]
-Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection shutdown
-INFO: Shutting down client connection dslab.transfer.ClientConnection@395b40fd
-Dec 23, 2020 11:53:31 AM dslab.transfer.ClientConnection shutdown
-INFO: Shutting down client connection dslab.transfer.ClientConnection@69536688
-
-
-
-
- -
- - diff --git a/build/reports/tests/test/classes/dslab.transfer.TransferServerTest.html b/build/reports/tests/test/classes/dslab.transfer.TransferServerTest.html deleted file mode 100644 index 72889fc..0000000 --- a/build/reports/tests/test/classes/dslab.transfer.TransferServerTest.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - -Test results - Class dslab.transfer.TransferServerTest - - - - - -
-

Class dslab.transfer.TransferServerTest

- -
- - - - - -
-
- - - - - - - -
-
-
1
-

tests

-
-
-
-
0
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
3.046s
-

duration

-
-
-
-
-
-
100%
-

successful

-
-
-
-
- -
-

Tests

- - - - - - - - - - - - - -
TestDurationResult
runAndShutdownTransferServer_createsAndStopsTcpSocketCorrectly3.046spassed
-
-
-

Standard error

- -
Dec 23, 2020 11:53:25 AM dslab.monitoring.MonitoringServerTest runAndShutdownTransferServer_createsAndStopsTcpSocketCorrectly
-INFO: Starting thread with component dslab.transfer.TransferServer@986eb44
-Dec 23, 2020 11:53:25 AM dslab.monitoring.MonitoringServerTest runAndShutdownTransferServer_createsAndStopsTcpSocketCorrectly
-INFO: Waiting for socket to open on port 11620
-Dec 23, 2020 11:53:25 AM dslab.transfer.TransferServer run
-INFO: Creating serverSocket for dslab.transfer.TransferServer@986eb44
-Dec 23, 2020 11:53:25 AM dslab.transfer.TransferServer$Consumer consume
-INFO: Queue currently empty. Waiting for messages to appear...
-Dec 23, 2020 11:53:25 AM dslab.monitoring.MonitoringServerTest runAndShutdownTransferServer_createsAndStopsTcpSocketCorrectly
-INFO: Shutting down component dslab.transfer.TransferServer@986eb44
-Dec 23, 2020 11:53:25 AM dslab.transfer.ClientConnection shutdown
-INFO: Shutting down client connection dslab.transfer.ClientConnection@47f8f420
-Dec 23, 2020 11:53:25 AM dslab.transfer.TransferServer$Consumer run
-INFO: Consumer thread has been interrupted. Exiting...Thread[Thread-9,5,FailOnTimeoutGroup]
-Dec 23, 2020 11:53:25 AM dslab.transfer.ClientConnection shutdown
-INFO: Shutting down client connection dslab.transfer.ClientConnection@47f8f420
-Dec 23, 2020 11:53:28 AM dslab.monitoring.MonitoringServerTest runAndShutdownTransferServer_createsAndStopsTcpSocketCorrectly
-INFO: Waiting for thread to stop for component dslab.transfer.TransferServer@986eb44
-
-
-
-
- -
- - diff --git a/build/reports/tests/test/css/base-style.css b/build/reports/tests/test/css/base-style.css deleted file mode 100644 index 4afa73e..0000000 --- a/build/reports/tests/test/css/base-style.css +++ /dev/null @@ -1,179 +0,0 @@ - -body { - margin: 0; - padding: 0; - font-family: sans-serif; - font-size: 12pt; -} - -body, a, a:visited { - color: #303030; -} - -#content { - padding-left: 50px; - padding-right: 50px; - padding-top: 30px; - padding-bottom: 30px; -} - -#content h1 { - font-size: 160%; - margin-bottom: 10px; -} - -#footer { - margin-top: 100px; - font-size: 80%; - white-space: nowrap; -} - -#footer, #footer a { - color: #a0a0a0; -} - -#line-wrapping-toggle { - vertical-align: middle; -} - -#label-for-line-wrapping-toggle { - vertical-align: middle; -} - -ul { - margin-left: 0; -} - -h1, h2, h3 { - white-space: nowrap; -} - -h2 { - font-size: 120%; -} - -ul.tabLinks { - padding-left: 0; - padding-top: 10px; - padding-bottom: 10px; - overflow: auto; - min-width: 800px; - width: auto !important; - width: 800px; -} - -ul.tabLinks li { - float: left; - height: 100%; - list-style: none; - padding-left: 10px; - padding-right: 10px; - padding-top: 5px; - padding-bottom: 5px; - margin-bottom: 0; - -moz-border-radius: 7px; - border-radius: 7px; - margin-right: 25px; - border: solid 1px #d4d4d4; - background-color: #f0f0f0; -} - -ul.tabLinks li:hover { - background-color: #fafafa; -} - -ul.tabLinks li.selected { - background-color: #c5f0f5; - border-color: #c5f0f5; -} - -ul.tabLinks a { - font-size: 120%; - display: block; - outline: none; - text-decoration: none; - margin: 0; - padding: 0; -} - -ul.tabLinks li h2 { - margin: 0; - padding: 0; -} - -div.tab { -} - -div.selected { - display: block; -} - -div.deselected { - display: none; -} - -div.tab table { - min-width: 350px; - width: auto !important; - width: 350px; - border-collapse: collapse; -} - -div.tab th, div.tab table { - border-bottom: solid #d0d0d0 1px; -} - -div.tab th { - text-align: left; - white-space: nowrap; - padding-left: 6em; -} - -div.tab th:first-child { - padding-left: 0; -} - -div.tab td { - white-space: nowrap; - padding-left: 6em; - padding-top: 5px; - padding-bottom: 5px; -} - -div.tab td:first-child { - padding-left: 0; -} - -div.tab td.numeric, div.tab th.numeric { - text-align: right; -} - -span.code { - display: inline-block; - margin-top: 0em; - margin-bottom: 1em; -} - -span.code pre { - font-size: 11pt; - padding-top: 10px; - padding-bottom: 10px; - padding-left: 10px; - padding-right: 10px; - margin: 0; - background-color: #f7f7f7; - border: solid 1px #d0d0d0; - min-width: 700px; - width: auto !important; - width: 700px; -} - -span.wrapped pre { - word-wrap: break-word; - white-space: pre-wrap; - word-break: break-all; -} - -label.hidden { - display: none; -} \ No newline at end of file diff --git a/build/reports/tests/test/css/style.css b/build/reports/tests/test/css/style.css deleted file mode 100644 index 3dc4913..0000000 --- a/build/reports/tests/test/css/style.css +++ /dev/null @@ -1,84 +0,0 @@ - -#summary { - margin-top: 30px; - margin-bottom: 40px; -} - -#summary table { - border-collapse: collapse; -} - -#summary td { - vertical-align: top; -} - -.breadcrumbs, .breadcrumbs a { - color: #606060; -} - -.infoBox { - width: 110px; - padding-top: 15px; - padding-bottom: 15px; - text-align: center; -} - -.infoBox p { - margin: 0; -} - -.counter, .percent { - font-size: 120%; - font-weight: bold; - margin-bottom: 8px; -} - -#duration { - width: 125px; -} - -#successRate, .summaryGroup { - border: solid 2px #d0d0d0; - -moz-border-radius: 10px; - border-radius: 10px; -} - -#successRate { - width: 140px; - margin-left: 35px; -} - -#successRate .percent { - font-size: 180%; -} - -.success, .success a { - color: #008000; -} - -div.success, #successRate.success { - background-color: #bbd9bb; - border-color: #008000; -} - -.failures, .failures a { - color: #b60808; -} - -.skipped, .skipped a { - color: #c09853; -} - -div.failures, #successRate.failures { - background-color: #ecdada; - border-color: #b60808; -} - -ul.linkList { - padding-left: 0; -} - -ul.linkList li { - list-style: none; - margin-bottom: 5px; -} diff --git a/build/reports/tests/test/index.html b/build/reports/tests/test/index.html deleted file mode 100644 index 4259acb..0000000 --- a/build/reports/tests/test/index.html +++ /dev/null @@ -1,303 +0,0 @@ - - - - - -Test results - Test Summary - - - - - -
-

Test Summary

-
- - - - - -
-
- - - - - - - -
-
-
19
-

tests

-
-
-
-
8
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
2m54.33s
-

duration

-
-
-
-
-
-
57%
-

successful

-
-
-
-
- - -
-

Packages

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PackageTestsFailuresIgnoredDurationSuccess rate
-dslab.client -3301m21.03s0%
-dslab.mailbox -61020.124s83%
-dslab.monitoring -30028.061s100%
-dslab.naming -44036.035s0%
-dslab.transfer -3009.083s100%
-
-
-

Classes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClassTestsFailuresIgnoredDurationSuccess rate
-dslab.client.MessageClientMailboxTest -2201m6.01s0%
-dslab.client.MessageClientStartupTest -11015.017s0%
-dslab.mailbox.MailboxServerProtocolTest -40013.092s100%
-dslab.mailbox.MailboxServerTest -1003.007s100%
-dslab.mailbox.MailboxStartsecureTest -1104.025s0%
-dslab.monitoring.MonitoringServerProtocolTest -20022.044s100%
-dslab.monitoring.MonitoringServerTest -1006.017s100%
-dslab.naming.NameserverTest -44036.035s0%
-dslab.transfer.TransferServerProtocolTest -2006.037s100%
-dslab.transfer.TransferServerTest -1003.046s100%
-
-
- -
- - diff --git a/build/reports/tests/test/js/report.js b/build/reports/tests/test/js/report.js deleted file mode 100644 index 83bab4a..0000000 --- a/build/reports/tests/test/js/report.js +++ /dev/null @@ -1,194 +0,0 @@ -(function (window, document) { - "use strict"; - - var tabs = {}; - - function changeElementClass(element, classValue) { - if (element.getAttribute("className")) { - element.setAttribute("className", classValue); - } else { - element.setAttribute("class", classValue); - } - } - - function getClassAttribute(element) { - if (element.getAttribute("className")) { - return element.getAttribute("className"); - } else { - return element.getAttribute("class"); - } - } - - function addClass(element, classValue) { - changeElementClass(element, getClassAttribute(element) + " " + classValue); - } - - function removeClass(element, classValue) { - changeElementClass(element, getClassAttribute(element).replace(classValue, "")); - } - - function initTabs() { - var container = document.getElementById("tabs"); - - tabs.tabs = findTabs(container); - tabs.titles = findTitles(tabs.tabs); - tabs.headers = findHeaders(container); - tabs.select = select; - tabs.deselectAll = deselectAll; - tabs.select(0); - - return true; - } - - function getCheckBox() { - return document.getElementById("line-wrapping-toggle"); - } - - function getLabelForCheckBox() { - return document.getElementById("label-for-line-wrapping-toggle"); - } - - function findCodeBlocks() { - var spans = document.getElementById("tabs").getElementsByTagName("span"); - var codeBlocks = []; - for (var i = 0; i < spans.length; ++i) { - if (spans[i].className.indexOf("code") >= 0) { - codeBlocks.push(spans[i]); - } - } - return codeBlocks; - } - - function forAllCodeBlocks(operation) { - var codeBlocks = findCodeBlocks(); - - for (var i = 0; i < codeBlocks.length; ++i) { - operation(codeBlocks[i], "wrapped"); - } - } - - function toggleLineWrapping() { - var checkBox = getCheckBox(); - - if (checkBox.checked) { - forAllCodeBlocks(addClass); - } else { - forAllCodeBlocks(removeClass); - } - } - - function initControls() { - if (findCodeBlocks().length > 0) { - var checkBox = getCheckBox(); - var label = getLabelForCheckBox(); - - checkBox.onclick = toggleLineWrapping; - checkBox.checked = false; - - removeClass(label, "hidden"); - } - } - - function switchTab() { - var id = this.id.substr(1); - - for (var i = 0; i < tabs.tabs.length; i++) { - if (tabs.tabs[i].id === id) { - tabs.select(i); - break; - } - } - - return false; - } - - function select(i) { - this.deselectAll(); - - changeElementClass(this.tabs[i], "tab selected"); - changeElementClass(this.headers[i], "selected"); - - while (this.headers[i].firstChild) { - this.headers[i].removeChild(this.headers[i].firstChild); - } - - var h2 = document.createElement("H2"); - - h2.appendChild(document.createTextNode(this.titles[i])); - this.headers[i].appendChild(h2); - } - - function deselectAll() { - for (var i = 0; i < this.tabs.length; i++) { - changeElementClass(this.tabs[i], "tab deselected"); - changeElementClass(this.headers[i], "deselected"); - - while (this.headers[i].firstChild) { - this.headers[i].removeChild(this.headers[i].firstChild); - } - - var a = document.createElement("A"); - - a.setAttribute("id", "ltab" + i); - a.setAttribute("href", "#tab" + i); - a.onclick = switchTab; - a.appendChild(document.createTextNode(this.titles[i])); - - this.headers[i].appendChild(a); - } - } - - function findTabs(container) { - return findChildElements(container, "DIV", "tab"); - } - - function findHeaders(container) { - var owner = findChildElements(container, "UL", "tabLinks"); - return findChildElements(owner[0], "LI", null); - } - - function findTitles(tabs) { - var titles = []; - - for (var i = 0; i < tabs.length; i++) { - var tab = tabs[i]; - var header = findChildElements(tab, "H2", null)[0]; - - header.parentNode.removeChild(header); - - if (header.innerText) { - titles.push(header.innerText); - } else { - titles.push(header.textContent); - } - } - - return titles; - } - - function findChildElements(container, name, targetClass) { - var elements = []; - var children = container.childNodes; - - for (var i = 0; i < children.length; i++) { - var child = children.item(i); - - if (child.nodeType === 1 && child.nodeName === name) { - if (targetClass && child.className.indexOf(targetClass) < 0) { - continue; - } - - elements.push(child); - } - } - - return elements; - } - - // Entry point. - - window.onload = function() { - initTabs(); - initControls(); - }; -} (window, window.document)); \ No newline at end of file diff --git a/build/reports/tests/test/packages/dslab.client.html b/build/reports/tests/test/packages/dslab.client.html deleted file mode 100644 index 1cb83bc..0000000 --- a/build/reports/tests/test/packages/dslab.client.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - -Test results - Package dslab.client - - - - - -
-

Package dslab.client

- -
- - - - - -
-
- - - - - - - -
-
-
3
-

tests

-
-
-
-
3
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
1m21.03s
-

duration

-
-
-
-
-
-
0%
-

successful

-
-
-
-
- - -
-

Classes

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClassTestsFailuresIgnoredDurationSuccess rate
-MessageClientMailboxTest -2201m6.01s0%
-MessageClientStartupTest -11015.017s0%
-
-
- -
- - diff --git a/build/reports/tests/test/packages/dslab.mailbox.html b/build/reports/tests/test/packages/dslab.mailbox.html deleted file mode 100644 index 5410671..0000000 --- a/build/reports/tests/test/packages/dslab.mailbox.html +++ /dev/null @@ -1,135 +0,0 @@ - - - - - -Test results - Package dslab.mailbox - - - - - -
-

Package dslab.mailbox

- -
- - - - - -
-
- - - - - - - -
-
-
6
-

tests

-
-
-
-
1
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
20.124s
-

duration

-
-
-
-
-
-
83%
-

successful

-
-
-
-
- -
-

Failed tests

- -
-
-

Classes

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClassTestsFailuresIgnoredDurationSuccess rate
-MailboxServerProtocolTest -40013.092s100%
-MailboxServerTest -1003.007s100%
-MailboxStartsecureTest -1104.025s0%
-
-
- -
- - diff --git a/build/reports/tests/test/packages/dslab.monitoring.html b/build/reports/tests/test/packages/dslab.monitoring.html deleted file mode 100644 index 1375432..0000000 --- a/build/reports/tests/test/packages/dslab.monitoring.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - -Test results - Package dslab.monitoring - - - - - -
-

Package dslab.monitoring

- -
- - - - - -
-
- - - - - - - -
-
-
3
-

tests

-
-
-
-
0
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
28.061s
-

duration

-
-
-
-
-
-
100%
-

successful

-
-
-
-
- -
-

Classes

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClassTestsFailuresIgnoredDurationSuccess rate
-MonitoringServerProtocolTest -20022.044s100%
-MonitoringServerTest -1006.017s100%
-
-
- -
- - diff --git a/build/reports/tests/test/packages/dslab.naming.html b/build/reports/tests/test/packages/dslab.naming.html deleted file mode 100644 index 89ef970..0000000 --- a/build/reports/tests/test/packages/dslab.naming.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - -Test results - Package dslab.naming - - - - - -
-

Package dslab.naming

- -
- - - - - -
-
- - - - - - - -
-
-
4
-

tests

-
-
-
-
4
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
36.035s
-

duration

-
-
-
-
-
-
0%
-

successful

-
-
-
-
- - -
-

Classes

- - - - - - - - - - - - - - - - - - - -
ClassTestsFailuresIgnoredDurationSuccess rate
-NameserverTest -44036.035s0%
-
-
- -
- - diff --git a/build/reports/tests/test/packages/dslab.transfer.html b/build/reports/tests/test/packages/dslab.transfer.html deleted file mode 100644 index 12a3a31..0000000 --- a/build/reports/tests/test/packages/dslab.transfer.html +++ /dev/null @@ -1,113 +0,0 @@ - - - - - -Test results - Package dslab.transfer - - - - - -
-

Package dslab.transfer

- -
- - - - - -
-
- - - - - - - -
-
-
3
-

tests

-
-
-
-
0
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
9.083s
-

duration

-
-
-
-
-
-
100%
-

successful

-
-
-
-
- -
-

Classes

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
ClassTestsFailuresIgnoredDurationSuccess rate
-TransferServerProtocolTest -2006.037s100%
-TransferServerTest -1003.046s100%
-
-
- -
- - diff --git a/build/resources/main/client-arthur.properties b/build/resources/main/client-arthur.properties deleted file mode 100644 index fdcde1f..0000000 --- a/build/resources/main/client-arthur.properties +++ /dev/null @@ -1,10 +0,0 @@ -# TODO: replace host and port with that of your server -transfer.host=127.0.0.1 -transfer.port=port_range -transfer.email=arthur@earth.planet - -# TODO: replace host and port with that of your server -mailbox.host=127.0.0.1 -mailbox.port=port_range+3 -mailbox.user=arthur -mailbox.password=23456 diff --git a/build/resources/main/client-trillian.properties b/build/resources/main/client-trillian.properties deleted file mode 100644 index 0b757d7..0000000 --- a/build/resources/main/client-trillian.properties +++ /dev/null @@ -1,10 +0,0 @@ -# TODO: replace host and port with that of your server -transfer.host=127.0.0.1 -transfer.port=port_range -transfer.email=trillian@earth.planet - -# TODO: replace host and port with that of your server -mailbox.host=127.0.0.1 -mailbox.port=port_range+3 -mailbox.user=trillian -mailbox.password=12345 diff --git a/build/resources/main/client-zaphod.properties b/build/resources/main/client-zaphod.properties deleted file mode 100644 index f4f6aa7..0000000 --- a/build/resources/main/client-zaphod.properties +++ /dev/null @@ -1,10 +0,0 @@ -# TODO: replace host and port with that of your server -transfer.host=127.0.0.1 -transfer.port=port_range+1 -transfer.email=zaphod@univer.ze - -# TODO: replace host and port with that of your server -mailbox.host=127.0.0.1 -mailbox.port=port_range+5 -mailbox.user=zaphod -mailbox.password=12345 diff --git a/build/resources/main/domains.properties b/build/resources/main/domains.properties deleted file mode 100644 index 622fcaa..0000000 --- a/build/resources/main/domains.properties +++ /dev/null @@ -1,4 +0,0 @@ -# = -# TODO: replace ports with the ports that your mailbox servers use -earth.planet=127.0.0.1:port_range+2 -univer.ze=127.0.0.1:port_range+4 diff --git a/build/resources/main/mailbox-earth-planet.properties b/build/resources/main/mailbox-earth-planet.properties deleted file mode 100644 index acf1724..0000000 --- a/build/resources/main/mailbox-earth-planet.properties +++ /dev/null @@ -1,25 +0,0 @@ -# TCP port used for the DMTP server socket -# TODO: REPLACE with real value such as 16502 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -dmtp.tcp.port=port_range+2 - -# TCP port used for the DMAP server socket -# TODO: REPLACE with real value such as 16503 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -dmap.tcp.port=port_range+3 - -# mail domain managed by the mailbox server -domain=earth.planet - -# location of the users for this mailbox server -users.config=users-earth-planet.properties - -# ============================================= Required for Assignment 2 - -# name of the root nameserver's remote object -root_id=root-nameserver - -# RMI registry host -registry.host=localhost - -# RMI registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 diff --git a/build/resources/main/mailbox-univer-ze.properties b/build/resources/main/mailbox-univer-ze.properties deleted file mode 100644 index f07c01d..0000000 --- a/build/resources/main/mailbox-univer-ze.properties +++ /dev/null @@ -1,25 +0,0 @@ -# TCP port used for the DMTP server socket -# TODO: REPLACE with real value such as 16504 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -dmtp.tcp.port=port_range+4 - -# TCP port used for the DMAP server socket -# TODO: REPLACE with real value such as 16505 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -dmap.tcp.port=port_range+5 - -# mail domain managed by the mailbox server -domain=univer.ze - -# location of the users for this mailbox server -users.config=users-univer-ze.properties - -# ============================================= Required for Assignment 2 - -# name of the root nameserver's remote object -root_id=root-nameserver - -# RMI registry host -registry.host=localhost - -# RMI registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 diff --git a/build/resources/main/monitoring.properties b/build/resources/main/monitoring.properties deleted file mode 100644 index 8aff76c..0000000 --- a/build/resources/main/monitoring.properties +++ /dev/null @@ -1,3 +0,0 @@ -# UDP port used for accepting monitoring packets -# TODO: REPLACE with real value such as 16508 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -udp.port=port_range+8 diff --git a/build/resources/main/ns-earth-planet.properties b/build/resources/main/ns-earth-planet.properties deleted file mode 100644 index fae2722..0000000 --- a/build/resources/main/ns-earth-planet.properties +++ /dev/null @@ -1,13 +0,0 @@ -# binding name -root_id=root-nameserver - -# registry host -registry.host=localhost - -# registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 - - -# managed domain -domain=earth.planet \ No newline at end of file diff --git a/build/resources/main/ns-planet.properties b/build/resources/main/ns-planet.properties deleted file mode 100644 index bb5b73b..0000000 --- a/build/resources/main/ns-planet.properties +++ /dev/null @@ -1,13 +0,0 @@ -# binding name -root_id=root-nameserver - -# registry host -registry.host=localhost - -# registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 - - -# managed domain -domain=planet diff --git a/build/resources/main/ns-root.properties b/build/resources/main/ns-root.properties deleted file mode 100644 index c8ca59e..0000000 --- a/build/resources/main/ns-root.properties +++ /dev/null @@ -1,9 +0,0 @@ -# binding name -root_id=root-nameserver - -# registry host -registry.host=localhost - -# registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 diff --git a/build/resources/main/ns-ze.properties b/build/resources/main/ns-ze.properties deleted file mode 100644 index 1dee980..0000000 --- a/build/resources/main/ns-ze.properties +++ /dev/null @@ -1,13 +0,0 @@ -# binding name -root_id=root-nameserver - -# registry host -registry.host=localhost - -# registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 - - -# managed domain -domain=ze \ No newline at end of file diff --git a/build/resources/main/transfer-1.properties b/build/resources/main/transfer-1.properties deleted file mode 100644 index 0b87450..0000000 --- a/build/resources/main/transfer-1.properties +++ /dev/null @@ -1,20 +0,0 @@ -# TCP port used for the DMTP server socket -# TODO: REPLACE with real value such as 16500 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -tcp.port=port_range - -# UDP socket address of the monitoring server -monitoring.host=127.0.0.1 -# TODO: REPLACE with the real value of the monitoring server port -monitoring.port=port_range+8 - -# ============================================= Required for Assignment 2 - -# name of the root nameserver's remote object -root_id=root-nameserver - -# RMI registry host -registry.host=localhost - -# RMI registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 diff --git a/build/resources/main/transfer-2.properties b/build/resources/main/transfer-2.properties deleted file mode 100644 index 11757ab..0000000 --- a/build/resources/main/transfer-2.properties +++ /dev/null @@ -1,20 +0,0 @@ -# TCP port used for the DMTP server socket -# TODO: REPLACE with real value such as 16501 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -tcp.port=port_range+1 - -# UDP socket address of the monitoring server -monitoring.host=127.0.0.1 -# TODO: REPLACE with the real value of the monitoring server port -monitoring.port=port_range+8 - -# ============================================= Required for Assignment 2 - -# name of the root nameserver's remote object -root_id=root-nameserver - -# RMI registry host -registry.host=localhost - -# RMI registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 diff --git a/build/resources/main/users-earth-planet.properties b/build/resources/main/users-earth-planet.properties deleted file mode 100644 index 1faf335..0000000 --- a/build/resources/main/users-earth-planet.properties +++ /dev/null @@ -1,3 +0,0 @@ -# = -trillian=12345 -arthur=23456 diff --git a/build/resources/main/users-univer-ze.properties b/build/resources/main/users-univer-ze.properties deleted file mode 100644 index ae3c292..0000000 --- a/build/resources/main/users-univer-ze.properties +++ /dev/null @@ -1,2 +0,0 @@ -# = -zaphod=12345 diff --git a/build/resources/test/.gitkeep b/build/resources/test/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/build/test-results/test/TEST-dslab.client.MessageClientMailboxTest.xml b/build/test-results/test/TEST-dslab.client.MessageClientMailboxTest.xml deleted file mode 100644 index 3fa324b..0000000 --- a/build/test-results/test/TEST-dslab.client.MessageClientMailboxTest.xml +++ /dev/null @@ -1,102 +0,0 @@ - - - - - org.junit.runners.model.TestTimedOutException: test timed out after 40000 milliseconds - at java.base@11.0.8/jdk.internal.misc.Unsafe.park(Native Method) - at java.base@11.0.8/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234) - at java.base@11.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123) - at java.base@11.0.8/java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458) - at app//dslab.StreamListener.poll(StreamListener.java:34) - at app//dslab.JunitSocketClient.read(JunitSocketClient.java:82) - at app//dslab.JunitSocketClient.sendAndRead(JunitSocketClient.java:108) - at app//dslab.JunitSocketClient.sendAndVerify(JunitSocketClient.java:103) - at app//dslab.client.MessageClientMailboxTest.inbox_mulipleMails_showsAllInboxDataCorrectly(MessageClientMailboxTest.java:121) - at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base@11.0.8/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base@11.0.8/java.lang.reflect.Method.invoke(Method.java:566) - at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) - at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) - at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) - at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) - at java.base@11.0.8/java.util.concurrent.FutureTask.run(FutureTask.java:264) - at java.base@11.0.8/java.lang.Thread.run(Thread.java:834) - - - - org.junit.runners.model.TestTimedOutException: test timed out after 20000 milliseconds - at java.base@11.0.8/jdk.internal.misc.Unsafe.park(Native Method) - at java.base@11.0.8/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234) - at java.base@11.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123) - at java.base@11.0.8/java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:458) - at app//dslab.StreamListener.poll(StreamListener.java:34) - at app//dslab.JunitSocketClient.read(JunitSocketClient.java:82) - at app//dslab.JunitSocketClient.sendAndRead(JunitSocketClient.java:108) - at app//dslab.JunitSocketClient.sendAndVerify(JunitSocketClient.java:103) - at app//dslab.client.MessageClientMailboxTest.inbox_singleMail_showsAllInboxDataCorrectly(MessageClientMailboxTest.java:92) - at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base@11.0.8/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base@11.0.8/java.lang.reflect.Method.invoke(Method.java:566) - at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) - at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) - at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) - at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) - at java.base@11.0.8/java.util.concurrent.FutureTask.run(FutureTask.java:264) - at java.base@11.0.8/java.lang.Thread.run(Thread.java:834) - - - - - diff --git a/build/test-results/test/TEST-dslab.client.MessageClientStartupTest.xml b/build/test-results/test/TEST-dslab.client.MessageClientStartupTest.xml deleted file mode 100644 index 7c4c29a..0000000 --- a/build/test-results/test/TEST-dslab.client.MessageClientStartupTest.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - org.junit.runners.model.TestTimedOutException: test timed out after 15000 milliseconds - at java.base@11.0.8/jdk.internal.misc.Unsafe.park(Native Method) - at java.base@11.0.8/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194) - at java.base@11.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:885) - at java.base@11.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1039) - at java.base@11.0.8/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1345) - at java.base@11.0.8/java.util.concurrent.CountDownLatch.await(CountDownLatch.java:232) - at app//dslab.client.MessageClientStartupTest.startClient_shouldConnectToMailboxServerAndSendStartsecure(MessageClientStartupTest.java:78) - at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base@11.0.8/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base@11.0.8/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base@11.0.8/java.lang.reflect.Method.invoke(Method.java:566) - at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) - at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) - at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) - at app//org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) - at java.base@11.0.8/java.util.concurrent.FutureTask.run(FutureTask.java:264) - at java.base@11.0.8/java.lang.Thread.run(Thread.java:834) - - - - - diff --git a/build/test-results/test/TEST-dslab.mailbox.MailboxServerProtocolTest.xml b/build/test-results/test/TEST-dslab.mailbox.MailboxServerProtocolTest.xml deleted file mode 100644 index 644f8a1..0000000 --- a/build/test-results/test/TEST-dslab.mailbox.MailboxServerProtocolTest.xml +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - diff --git a/build/test-results/test/TEST-dslab.mailbox.MailboxServerTest.xml b/build/test-results/test/TEST-dslab.mailbox.MailboxServerTest.xml deleted file mode 100644 index f70286a..0000000 --- a/build/test-results/test/TEST-dslab.mailbox.MailboxServerTest.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - diff --git a/build/test-results/test/TEST-dslab.mailbox.MailboxStartsecureTest.xml b/build/test-results/test/TEST-dslab.mailbox.MailboxStartsecureTest.xml deleted file mode 100644 index c390d81..0000000 --- a/build/test-results/test/TEST-dslab.mailbox.MailboxStartsecureTest.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - java.lang.AssertionError: -Expected: a string containing "ok DMAP2.0" - but: was "ok DMAP" - at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) - at org.junit.Assert.assertThat(Assert.java:956) - at org.junit.rules.ErrorCollector$1.call(ErrorCollector.java:65) - at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:78) - at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:63) - at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:54) - at dslab.JunitSocketClient.assertThat(JunitSocketClient.java:120) - at dslab.JunitSocketClient.verify(JunitSocketClient.java:92) - at dslab.mailbox.MailboxStartsecureTest.sendStartsecure(MailboxStartsecureTest.java:58) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) - at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) - at java.base/java.lang.Thread.run(Thread.java:834) - - java.lang.AssertionError: -Expected: a string containing "ok mailbox-earth-planet" - but: was "error not logged in" - at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) - at org.junit.Assert.assertThat(Assert.java:956) - at org.junit.rules.ErrorCollector$1.call(ErrorCollector.java:65) - at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:78) - at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:63) - at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:54) - at dslab.JunitSocketClient.assertThat(JunitSocketClient.java:120) - at dslab.JunitSocketClient.sendAndVerify(JunitSocketClient.java:103) - at dslab.mailbox.MailboxStartsecureTest.sendStartsecure(MailboxStartsecureTest.java:61) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) - at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) - at java.base/java.lang.Thread.run(Thread.java:834) - - java.lang.AssertionError: Expected server response to be Base64 encoded -Expected: a string matching "^(?:[a-zA-Z0-9+/]{4})*(?:[a-zA-Z0-9+/]{2}==|[a-zA-Z0-9+/]{3}=)?$" - but: was "error not logged in" - at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) - at org.junit.Assert.assertThat(Assert.java:956) - at org.junit.rules.ErrorCollector$1.call(ErrorCollector.java:65) - at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:78) - at org.junit.rules.ErrorCollector.checkThat(ErrorCollector.java:63) - at dslab.mailbox.MailboxStartsecureTest.sendStartsecure(MailboxStartsecureTest.java:68) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) - at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) - at java.base/java.lang.Thread.run(Thread.java:834) - - - - - diff --git a/build/test-results/test/TEST-dslab.monitoring.MonitoringServerProtocolTest.xml b/build/test-results/test/TEST-dslab.monitoring.MonitoringServerProtocolTest.xml deleted file mode 100644 index a4007a8..0000000 --- a/build/test-results/test/TEST-dslab.monitoring.MonitoringServerProtocolTest.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - diff --git a/build/test-results/test/TEST-dslab.monitoring.MonitoringServerTest.xml b/build/test-results/test/TEST-dslab.monitoring.MonitoringServerTest.xml deleted file mode 100644 index cf727bb..0000000 --- a/build/test-results/test/TEST-dslab.monitoring.MonitoringServerTest.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - diff --git a/build/test-results/test/TEST-dslab.naming.NameserverTest.xml b/build/test-results/test/TEST-dslab.naming.NameserverTest.xml deleted file mode 100644 index 282122b..0000000 --- a/build/test-results/test/TEST-dslab.naming.NameserverTest.xml +++ /dev/null @@ -1,162 +0,0 @@ - - - - - java.lang.AssertionError: Expected root nameserver to start a registry, but it couldn't be located or registry.list() failed - at dslab.naming.NameserverTest.ns01_startAndShutdownRootNameserver_createsAndUnexportsRegistryCorrectly(NameserverTest.java:81) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) - at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) - at java.base/java.lang.Thread.run(Thread.java:834) -Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: - java.net.ConnectException: Connection refused (Connection refused) - at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:623) - at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:209) - at java.rmi/sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196) - at java.rmi/sun.rmi.server.UnicastRef.newCall(UnicastRef.java:343) - at java.rmi/sun.rmi.registry.RegistryImpl_Stub.list(RegistryImpl_Stub.java:90) - at dslab.naming.NameserverTest.ns01_startAndShutdownRootNameserver_createsAndUnexportsRegistryCorrectly(NameserverTest.java:79) - ... 12 more -Caused by: java.net.ConnectException: Connection refused (Connection refused) - at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) - at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) - at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) - at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) - at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403) - at java.base/java.net.Socket.connect(Socket.java:609) - at java.base/java.net.Socket.connect(Socket.java:558) - at java.base/java.net.Socket.<init>(Socket.java:454) - at java.base/java.net.Socket.<init>(Socket.java:231) - at java.rmi/sun.rmi.transport.tcp.TCPDirectSocketFactory.createSocket(TCPDirectSocketFactory.java:40) - at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617) - ... 17 more - - - - java.lang.AssertionError: Error while looking up remote object - at dslab.naming.NameserverTest.ns02_startRootNameserver_registersRemoteObjectCorrectly(NameserverTest.java:118) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) - at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) - at java.base/java.lang.Thread.run(Thread.java:834) - - - - java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: - java.net.ConnectException: Connection refused (Connection refused) - at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:623) - at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:209) - at java.rmi/sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196) - at java.rmi/sun.rmi.server.UnicastRef.newCall(UnicastRef.java:343) - at java.rmi/sun.rmi.registry.RegistryImpl_Stub.list(RegistryImpl_Stub.java:90) - at dslab.naming.NameserverTest.ns03_startingZoneNameserver_registersNameserverCorrectly(NameserverTest.java:143) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) - at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) - at java.base/java.lang.Thread.run(Thread.java:834) -Caused by: java.net.ConnectException: Connection refused (Connection refused) - at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) - at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) - at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) - at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) - at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403) - at java.base/java.net.Socket.connect(Socket.java:609) - at java.base/java.net.Socket.connect(Socket.java:558) - at java.base/java.net.Socket.<init>(Socket.java:454) - at java.base/java.net.Socket.<init>(Socket.java:231) - at java.rmi/sun.rmi.transport.tcp.TCPDirectSocketFactory.createSocket(TCPDirectSocketFactory.java:40) - at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617) - ... 17 more - - - - java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: - java.net.ConnectException: Connection refused (Connection refused) - at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:623) - at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:209) - at java.rmi/sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196) - at java.rmi/sun.rmi.server.UnicastRef.newCall(UnicastRef.java:343) - at java.rmi/sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:116) - at dslab.naming.NameserverTest.ns04_registerAndLookupMailboxServer_registersAndReturnsAddressCorrectly(NameserverTest.java:189) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) - at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base/java.lang.reflect.Method.invoke(Method.java:566) - at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) - at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) - at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) - at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) - at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) - at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) - at java.base/java.lang.Thread.run(Thread.java:834) -Caused by: java.net.ConnectException: Connection refused (Connection refused) - at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) - at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) - at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) - at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) - at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403) - at java.base/java.net.Socket.connect(Socket.java:609) - at java.base/java.net.Socket.connect(Socket.java:558) - at java.base/java.net.Socket.<init>(Socket.java:454) - at java.base/java.net.Socket.<init>(Socket.java:231) - at java.rmi/sun.rmi.transport.tcp.TCPDirectSocketFactory.createSocket(TCPDirectSocketFactory.java:40) - at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617) - ... 17 more - - - - - diff --git a/build/test-results/test/TEST-dslab.transfer.TransferServerProtocolTest.xml b/build/test-results/test/TEST-dslab.transfer.TransferServerProtocolTest.xml deleted file mode 100644 index 7b47e51..0000000 --- a/build/test-results/test/TEST-dslab.transfer.TransferServerProtocolTest.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - - - - - - diff --git a/build/test-results/test/TEST-dslab.transfer.TransferServerTest.xml b/build/test-results/test/TEST-dslab.transfer.TransferServerTest.xml deleted file mode 100644 index 5e1ab30..0000000 --- a/build/test-results/test/TEST-dslab.transfer.TransferServerTest.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - diff --git a/build/test-results/test/binary/output.bin b/build/test-results/test/binary/output.bin deleted file mode 100644 index 637fb92..0000000 Binary files a/build/test-results/test/binary/output.bin and /dev/null differ diff --git a/build/test-results/test/binary/output.bin.idx b/build/test-results/test/binary/output.bin.idx deleted file mode 100644 index d27a5f3..0000000 Binary files a/build/test-results/test/binary/output.bin.idx and /dev/null differ diff --git a/build/test-results/test/binary/results.bin b/build/test-results/test/binary/results.bin deleted file mode 100644 index 98f8643..0000000 Binary files a/build/test-results/test/binary/results.bin and /dev/null differ diff --git a/build/tmp/compileJava/source-classes-mapping.txt b/build/tmp/compileJava/source-classes-mapping.txt deleted file mode 100644 index cdca3a9..0000000 --- a/build/tmp/compileJava/source-classes-mapping.txt +++ /dev/null @@ -1,62 +0,0 @@ -dslab/transfer/ClientConnection.java - dslab.transfer.ClientConnection -dslab/transfer/ClientListener.java - dslab.transfer.ClientListener -dslab/nameserver/Nameserver.java - dslab.nameserver.Nameserver -dslab/monitoring/MonitoringServer.java - dslab.monitoring.MonitoringServer -dslab/Message.java - dslab.Message -dslab/exception/UnknownDomainException.java - dslab.exception.UnknownDomainException -dslab/mailbox/IMailboxServer.java - dslab.mailbox.IMailboxServer -dslab/util/Keys.java - dslab.util.Keys -dslab/mailbox/DMTPListener.java - dslab.mailbox.DMTPListener -dslab/mailbox/DMTPConnection.java - dslab.mailbox.DMTPConnection -dslab/monitoring/IMonitoringServer.java - dslab.monitoring.IMonitoringServer -dslab/exception/MalformedInputException.java - dslab.exception.MalformedInputException -dslab/Email.java - dslab.Email -dslab/exception/UnknownRecipientException.java - dslab.exception.UnknownRecipientException -dslab/transfer/ITransferServer.java - dslab.transfer.ITransferServer -dslab/client/MessageClient.java - dslab.client.MessageClient -dslab/mailbox/DMAPConnection.java - dslab.mailbox.DMAPConnection -dslab/client/IMessageClient.java - dslab.client.IMessageClient -dslab/nameserver/INameserver.java - dslab.nameserver.INameserver -dslab/mailbox/MailboxServer.java - dslab.mailbox.MailboxServer -dslab/ComponentFactory.java - dslab.ComponentFactory -dslab/monitoring/MonitoringListener.java - dslab.monitoring.MonitoringListener -dslab/nameserver/INameserverRemote.java - dslab.nameserver.INameserverRemote -dslab/nameserver/InvalidDomainException.java - dslab.nameserver.InvalidDomainException -dslab/transfer/TransferServer.java - dslab.transfer.TransferServer - dslab.transfer.TransferServer$Consumer - dslab.transfer.TransferServer$Producer -dslab/exception/MissingInputException.java - dslab.exception.MissingInputException -dslab/util/Config.java - dslab.util.Config -dslab/exception/MessageNotFoundException.java - dslab.exception.MessageNotFoundException -dslab/nameserver/AlreadyRegisteredException.java - dslab.nameserver.AlreadyRegisteredException -dslab/mailbox/DMAPListener.java - dslab.mailbox.DMAPListener diff --git a/build/tmp/compileTestJava/source-classes-mapping.txt b/build/tmp/compileTestJava/source-classes-mapping.txt deleted file mode 100644 index 59f4793..0000000 --- a/build/tmp/compileTestJava/source-classes-mapping.txt +++ /dev/null @@ -1,42 +0,0 @@ -dslab/StreamListener.java - dslab.StreamListener -dslab/CheckedConsumer.java - dslab.CheckedConsumer -dslab/Constants.java - dslab.Constants -dslab/client/MessageClientMailboxTest.java - dslab.client.MessageClientMailboxTest -dslab/StringMatches.java - dslab.StringMatches -dslab/TestInputStream.java - dslab.TestInputStream -dslab/transfer/TransferServerProtocolTest.java - dslab.transfer.TransferServerProtocolTest -dslab/mailbox/MailboxServerTest.java - dslab.mailbox.MailboxServerTest -dslab/Sockets.java - dslab.Sockets -dslab/mailbox/MailboxStartsecureTest.java - dslab.mailbox.MailboxStartsecureTest -dslab/client/MessageClientStartupTest.java - dslab.client.MessageClientStartupTest -dslab/JunitSocketClient.java - dslab.JunitSocketClient -dslab/TestBase.java - dslab.TestBase -dslab/TestOutputStream.java - dslab.TestOutputStream -dslab/monitoring/MonitoringServerTest.java - dslab.monitoring.MonitoringServerTest -dslab/SimpleTcpServer.java - dslab.SimpleTcpServer -dslab/mailbox/MailboxServerProtocolTest.java - dslab.mailbox.MailboxServerProtocolTest -dslab/transfer/TransferServerTest.java - dslab.transfer.TransferServerTest -dslab/monitoring/MonitoringServerProtocolTest.java - dslab.monitoring.MonitoringServerProtocolTest -dslab/naming/NameserverTest.java - dslab.naming.NameserverTest -dslab/NullOutputStream.java - dslab.NullOutputStream diff --git a/build/tmp/jar/MANIFEST.MF b/build/tmp/jar/MANIFEST.MF deleted file mode 100644 index 58630c0..0000000 --- a/build/tmp/jar/MANIFEST.MF +++ /dev/null @@ -1,2 +0,0 @@ -Manifest-Version: 1.0 - diff --git a/build/tmp/test/jar_extract_15954327308975353693_tmp b/build/tmp/test/jar_extract_15954327308975353693_tmp deleted file mode 100644 index ca7fba7..0000000 Binary files a/build/tmp/test/jar_extract_15954327308975353693_tmp and /dev/null differ diff --git a/build/tmp/test/jar_extract_16062046450479446186_tmp b/build/tmp/test/jar_extract_16062046450479446186_tmp deleted file mode 100644 index e69de29..0000000 diff --git a/build/tmp/test/jar_extract_3595125514180716238_tmp b/build/tmp/test/jar_extract_3595125514180716238_tmp deleted file mode 100644 index e69de29..0000000 diff --git a/build/tmp/test/jar_extract_4501940430545839015_tmp b/build/tmp/test/jar_extract_4501940430545839015_tmp deleted file mode 100644 index 30d4b00..0000000 Binary files a/build/tmp/test/jar_extract_4501940430545839015_tmp and /dev/null differ diff --git a/build/tmp/test/jar_extract_4606562655791095835_tmp b/build/tmp/test/jar_extract_4606562655791095835_tmp deleted file mode 100644 index e69de29..0000000 diff --git a/build/tmp/test/jar_extract_6816970886763953206_tmp b/build/tmp/test/jar_extract_6816970886763953206_tmp deleted file mode 100644 index 6881f81..0000000 Binary files a/build/tmp/test/jar_extract_6816970886763953206_tmp and /dev/null differ