Also make sure that you are following the instructions here that are
posted here http://cloudsuite.ch/webserving/
Leonardo


On Fri, Mar 4, 2016 at 12:12 PM, Leonardo Piga <[email protected]> wrote:
> I have no idea what you guys are doing.
> I just followed the instructions for the webserver in a clean system
> and it worked without issue.
> There is still the bug with login (see other thread), but I have
> already provided a solution and Cloudsuite folks will fix.
>
> I am running everything as root on Ubuntu 14.04.
>
> I would suggest to try in a clean system.
> --
> Leonardo
> Leonardo
>
>
> On Fri, Mar 4, 2016 at 11:44 AM, Muyi Ibidun <[email protected]> wrote:
>> I would suggest you pull newly from docker hub and run again. I never got
>> this exceptions. This seem to be a problem with the workload generator,
>> Faban (in faban-client container). Did you change the default names of the
>> containers…..that may be the source of the problem.
>> My own problem is with the web-server container, I couldn’t get it to work,
>> it throws the following exceptions all the time:
>>
>> Exception in thread "main" java.io.IOException: Server returned HTTP
>> response code: 502 for URL: http://172.18.0.2:8080/
>>
>>
>> I am quite sure I wasn’t doing anything wrong on my side. I followed their
>> instructions to the letter. I did some troubleshooting here and there but
>> none worked.
>>
>> Regards.
>>
>> On 04 Mar 2016, at 18:38, Mohammad Ahmad <[email protected]> wrote:
>>
>> Hey,
>>
>> Thanks for the clarification. Ran into another issue though, I get an
>> exception in the /web20_benchmark/build.xml
>>
>> Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String
>> index out of range: -16
>> at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:872)
>> at java.lang.StringBuilder.substring(StringBuilder.java:72)
>> at setup.UserGenerator.updateElggTokenAndTs(UserGenerator.java:39)
>> at setup.UserGenerator.createUsers(UserGenerator.java:128)
>> at setup.UserGenerator.main(UserGenerator.java:147)
>> Buildfile: /web20_benchmark/build.xml
>>
>> init:
>>
>> compile:
>>
>> bench.jar:
>>
>> run:
>>      [java] Mar 04, 2016 5:31:04 PM com.sun.faban.common.RegistryLocator
>> getRegistry
>>      [java] FINE: Obtaining registry at localhost:9998
>>      [java] Mar 04, 2016 5:31:04 PM
>> com.sun.faban.common.FabanNamespaceContext addNamespace
>>      [java] FINER: Adding http://www.w3.org/XML/1998/namespace, xml
>>      [java] Mar 04, 2016 5:31:04 PM
>> com.sun.faban.common.FabanNamespaceContext addNamespace
>>      [java] FINER: Adding http://www.w3.org/2000/xmlns/, xmlns
>>      [java] Mar 04, 2016 5:31:04 PM
>> com.sun.faban.common.FabanNamespaceContext addNamespace
>>      [java] FINER: Adding http://faban.sunsource.net/ns/faban, fa
>>      [java] Mar 04, 2016 5:31:04 PM
>> com.sun.faban.common.FabanNamespaceContext addNamespace
>>      [java] FINER: Adding http://faban.sunsource.net/ns/fabandriver, fd
>>      [java] Mar 04, 2016 5:31:04 PM
>> com.sun.faban.common.FabanNamespaceContext addNamespace
>>      [java] FINER: Adding http://faban.sunsource.net/ns/fabanharness, fh
>>      [java] Mar 04, 2016 5:31:04 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fa") =
>> http://faban.sunsource.net/ns/faban
>>      [java] Mar 04, 2016 5:31:04 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fa") =
>> http://faban.sunsource.net/ns/faban
>>      [java] Mar 04, 2016 5:31:04 PM com.sun.faban.driver.engine.MatrixMix
>> flatMix
>>      [java] FINER: flatMix - before
>>      [java] MatrixMix
>>      [java] operations: BrowsetoElgg, DoLogin, PostSelfWall,
>> SendChatMessage, AddFriend, Register, Logout
>>      [java] mix:
>>      [java] 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0
>>      [java] 0.0, 0.0, 0.3157894736842105, 0.5789473684210527,
>> 0.09473684210526316, 0.0, 0.010526315789473684
>>      [java] 0.0, 0.0, 0.3157894736842105, 0.5789473684210527,
>> 0.09473684210526316, 0.0, 0.010526315789473684
>>      [java] 0.0, 0.0, 0.3157894736842105, 0.5789473684210527,
>> 0.09473684210526316, 0.0, 0.010526315789473684
>>      [java] 0.0, 0.0, 0.3157894736842105, 0.5789473684210527,
>> 0.09473684210526316, 0.0, 0.010526315789473684
>>      [java] 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
>>      [java] 0.9, 0.0, 0.0, 0.0, 0.0, 0.1, 0.0
>>      [java] deviation :2.0
>>      [java]
>>      [java] Mar 04, 2016 5:31:04 PM com.sun.faban.driver.engine.MatrixMix
>> flatMix
>>      [java] FINER: Obtained stable mix at matrix power 7.
>>      [java] Mar 04, 2016 5:31:05 PM com.sun.faban.driver.engine.MatrixMix
>> flatMix
>>      [java] FINER: flatMix - after
>>      [java] FlatMix
>>      [java] operations: BrowsetoElgg, DoLogin, PostSelfWall,
>> SendChatMessage, AddFriend, Register, Logout
>>      [java] mix: 0.0103, 0.0103, 0.309, 0.5664, 0.0927, 0.001, 0.0103
>>      [java] deviation :2.0
>>      [java]
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fa") =
>> http://faban.sunsource.net/ns/faban
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fa") =
>> http://faban.sunsource.net/ns/faban
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fa") =
>> http://faban.sunsource.net/ns/faban
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fa") =
>> http://faban.sunsource.net/ns/faban
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fa") =
>> http://faban.sunsource.net/ns/faban
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fa") =
>> http://faban.sunsource.net/ns/faban
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fa") =
>> http://faban.sunsource.net/ns/faban
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fa") =
>> http://faban.sunsource.net/ns/faban
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fa") =
>> http://faban.sunsource.net/ns/faban
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM
>> com.sun.faban.common.FabanNamespaceContext getNamespaceURI
>>      [java] FINER: getNamespaceURI("fd") =
>> http://faban.sunsource.net/ns/fabandriver
>>      [java] Mar 04, 2016 5:31:05 PM com.sun.faban.driver.engine.MatrixMix
>> flatMix
>>      [java] FINER: flatMix - before
>>      [java] MatrixMix
>>      [java] operations: BrowsetoElgg, DoLogin, PostSelfWall,
>> SendChatMessage, AddFriend, Register, Logout
>>      [java] mix:
>>      [java] 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0
>>      [java] 0.0, 0.0, 0.3157894736842105, 0.5789473684210527,
>> 0.09473684210526316, 0.0, 0.010526315789473684
>>      [java] 0.0, 0.0, 0.3157894736842105, 0.5789473684210527,
>> 0.09473684210526316, 0.0, 0.010526315789473684
>>      [java] 0.0, 0.0, 0.3157894736842105, 0.5789473684210527,
>> 0.09473684210526316, 0.0, 0.010526315789473684
>>      [java] 0.0, 0.0, 0.3157894736842105, 0.5789473684210527,
>> 0.09473684210526316, 0.0, 0.010526315789473684
>>      [java] 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
>>      [java] 0.9, 0.0, 0.0, 0.0, 0.0, 0.1, 0.0
>>      [java] deviation :2.0
>>      [java]
>>      [java] Mar 04, 2016 5:31:05 PM com.sun.faban.driver.engine.MatrixMix
>> flatMix
>>      [java] FINER: Obtained stable mix at matrix power 7.
>>      [java] Mar 04, 2016 5:31:05 PM com.sun.faban.driver.engine.MatrixMix
>> flatMix
>>      [java] FINER: flatMix - after
>>      [java] FlatMix
>>      [java] operations: BrowsetoElgg, DoLogin, PostSelfWall,
>> SendChatMessage, AddFriend, Register, Logout
>>      [java] mix: 0.0103, 0.0103, 0.309, 0.5664, 0.0927, 0.001, 0.0103
>>      [java] deviation :2.0
>>      [java]
>>      [java] Mar 04, 2016 5:31:05 PM com.sun.faban.driver.engine.MasterImpl
>> runBenchmark
>>      [java] INFO: RunID for this run is : 1
>>      [java] Mar 04, 2016 5:31:05 PM com.sun.faban.driver.engine.MasterImpl
>> runBenchmark
>>      [java] INFO: Output directory for this run is : /faban/output/1
>>      [java] Mar 04, 2016 5:31:05 PM com.sun.faban.common.RegistryLocator
>> getRegistry
>>      [java] FINE: Obtaining registry at localhost:9998
>>      [java] Mar 04, 2016 5:31:05 PM com.sun.faban.driver.util.Timer
>> idleTimerCheck
>>      [java] INFO: ElggDriverAgent[0]: Performing idle timer check
>>      [java] Mar 04, 2016 5:31:06 PM com.sun.faban.driver.util.Timer
>> idleTimerCheck
>>      [java] INFO: ElggDriverAgent[0]: Idle timer characteristics:
>>      [java] Accuracy=3,
>>      [java] min. invocation cost=27,
>>      [java] med. invocation cost (math)=30.0,
>>      [java] med. invocation cost (phys)=30,
>>      [java] avg. invocation cost=31.5709,
>>      [java] max. invocation cost=376,
>>      [java] variance of invocation cost=96.59537319000063.
>>      [java] Mar 04, 2016 5:31:08 PM
>> com.sun.faban.driver.engine.TimeThreadWithBackground doRun
>>      [java] SEVERE: ElggDriverAgent[0].0: Error initializing driver object.
>>      [java] java.io.FileNotFoundException: /faban/users.list (No such file
>> or directory)
>>      [java] at java.io.FileInputStream.open(Native Method)
>>      [java] at java.io.FileInputStream.<init>(FileInputStream.java:146)
>>      [java] at java.io.FileReader.<init>(FileReader.java:72)
>>      [java] at workload.driver.Web20Driver.<init>(Web20Driver.java:229)
>>      [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>>      [java] at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>>      [java] at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>      [java] at
>> java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>>      [java] at java.lang.Class.newInstance(Class.java:383)
>>      [java] at
>> com.sun.faban.driver.engine.TimeThreadWithBackground.doRun(TimeThreadWithBackground.java:81)
>>      [java] at
>> com.sun.faban.driver.engine.AgentThread.run(AgentThread.java:202)
>>      [java]
>>      [java] Mar 04, 2016 5:31:08 PM com.sun.faban.driver.engine.AgentImpl
>> run
>>      [java] WARNING: ElggDriverAgent[0]: Run aborted before starting 7
>> driver threads.
>>      [java] 1 threads were started.
>>      [java] Mar 04, 2016 5:31:09 PM com.sun.faban.driver.engine.AgentImpl
>> kill
>>      [java] WARNING: ElggDriverAgent[0]: Killing benchmark run
>>      [java] Mar 04, 2016 5:31:18 PM com.sun.faban.driver.engine.MasterImpl
>> main
>>      [java] SEVERE: Master terminated with errors.
>>      [java] com.sun.faban.driver.FatalException: Run Aborted.
>>      [java] at
>> com.sun.faban.driver.engine.MasterImpl.executeRun(MasterImpl.java:677)
>>      [java] at
>> com.sun.faban.driver.engine.MasterImpl.runBenchmark(MasterImpl.java:276)
>>      [java] at
>> com.sun.faban.driver.engine.MasterImpl.main(MasterImpl.java:1566)
>>      [java]
>>
>> BUILD FAILED
>> /web20_benchmark/build.xml:81: Java returned: 1
>>
>> Total time: 15 seconds
>> cat: /faban/output/*/summary.xml: No such file or directory
>>
>> On Thu, Mar 3, 2016 at 11:30 PM, Muyi Ibidun <[email protected]> wrote:
>>>
>>> Hello Mohammad,
>>>
>>> You can get the file here:
>>>
>>> https://github.com/ParsaLab/cloudsuite/tree/master/benchmarks/web-serving
>>>
>>> Sent from my iPhone
>>>
>>> On 04 Mar 2016, at 02:32, Mohammad Ahmad <[email protected]> wrote:
>>>
>>> I am running the experiments for a research experiment. Where is the
>>> ./run.sh located? I have managed to start the database, memcached and
>>> service. But starting the client with the command
>>> `$ docker run -d -t --net=my_net --privileged=true --name=faban_client
>>> cloudsuite/web-serving:faban_client /etc/bootstrap.sh -bash`
>>> Starts the container in detached mode. I did bash into it to running faban
>>> container but could not find the `run.sh` file. Could anyone please clarify
>>> this?
>>>
>>> Ahmad
>>
>>
>>
>> /muyi
>>
>>
>>
>>

Reply via email to