voyagegroup / hakaru201911-team-b

sunrise2019 at 11/2-11/4 for team b
MIT License
0 stars 0 forks source link

kakeruマルチノード試す #21

Open pei0804 opened 4 years ago

pei0804 commented 4 years ago

ターゲット hakaru-365680141.ap-northeast-1.elb.amazonaws.com

pei0804 commented 4 years ago

yrkt https://github.com/voyagegroup/hakaru201911-team-b/tree/master/kakeru#id9

pei0804 commented 4 years ago

叩くコマンド

sudo su ubuntu
cd /opt/kakeru
make
make -C app kakeru/multinode HOST=hakaru-365680141.ap-northeast-1.elb.amazonaws.com SCENARIO=2
pei0804 commented 4 years ago

起動設定

image

ASG

image
pei0804 commented 4 years ago
$ sudo su -
root@ip-10-2-3-106:~# cd
root@ip-10-2-3-106:~# cd /opt/kakeru
root@ip-10-2-3-106:/opt/kakeru# make -C app kakeru/multinode HOST=hakaru-365680141.ap-northeast-1.elb.amazonaws.com SCENARIO=2
make: Entering directory '/opt/kakeru/app'
mkdir ../log
python3 multinode.py --host=hakaru-365680141.ap-northeast-1.elb.amazonaws.com --bucket=sunrise201911-team-b-kakeru-report --scenario=2
Namespace(asg='kakeru', bucket='sunrise201911-team-b-kakeru-report', host='hakaru-365680141.ap-northeast-1.elb.amazonaws.com', logdir='../log', port=80, scenario='2')
準備中
Traceback (most recent call last):
  File "multinode.py", line 193, in <module>
    main()
  File "multinode.py", line 168, in main
    instances = ec2.list_autoscaling_instances(arg.asg, addr)
  File "/opt/kakeru/app/ec2.py", line 14, in list_autoscaling_instances
    return _list_autoscaling_instances(asg, asclient, ec2client, self_addr)
  File "/opt/kakeru/app/ec2.py", line 19, in _list_autoscaling_instances
    m = asclient.describe_auto_scaling_groups(AutoScalingGroupNames=[asg])
  File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 661, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the DescribeAutoScalingGroups operation: User: arn:aws:sts::487679046620:assumed-role/kakeru/i-01d16b2647eae191c is not authorized to perform: autoscaling:DescribeAutoScalingGroups
Makefile:38: recipe for target 'kakeru/multinode' failed
make: *** [kakeru/multinode] Error 1
make: Leaving directory '/opt/kakeru/app'
root@ip-10-2-3-106:/opt/kakeru#

権限足りてないやんけーいw

pei0804 commented 4 years ago

まだ、力が足りねえ。


ake: Entering directory '/opt/kakeru/app'
python3 multinode.py --host=hakaru-365680141.ap-northeast-1.elb.amazonaws.com --bucket=sunrise201911-team-b-kakeru-report --scenario=2
Namespace(asg='kakeru', bucket='sunrise201911-team-b-kakeru-report', host='hakaru-365680141.ap-northeast-1.elb.amazonaws.com', logdir='../log', port=80, scenario='2')
準備中
Traceback (most recent call last):
  File "multinode.py", line 193, in <module>
    main()
  File "multinode.py", line 168, in main
    instances = ec2.list_autoscaling_instances(arg.asg, addr)
  File "/opt/kakeru/app/ec2.py", line 14, in list_autoscaling_instances
    return _list_autoscaling_instances(asg, asclient, ec2client, self_addr)
  File "/opt/kakeru/app/ec2.py", line 28, in _list_autoscaling_instances
    result = ec2client.describe_instances(InstanceIds=instance_ids)
  File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 661, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (UnauthorizedOperation) when calling the DescribeInstances operation: You are not authorized to perform this operation.
Makefile:38: recipe for target 'kakeru/multinode' failed
make: *** [kakeru/multinode] Error 1
make: Leaving directory '/opt/kakeru/app'
root@ip-10-2-3-106:/opt/kakeru#
pei0804 commented 4 years ago

hakaruぶんなぐった

oot@ip-10-2-3-106:/opt/kakeru# make -C app kakeru/multinode HOST=hakaru-365680141.ap-northeast-1.elb.amazonaws.com SCENARIO=2
make: Entering directory '/opt/kakeru/app'
python3 multinode.py --host=hakaru-365680141.ap-northeast-1.elb.amazonaws.com --bucket=sunrise201911-team-b-kakeru-report --scenario=2
Namespace(asg='kakeru', bucket='sunrise201911-team-b-kakeru-report', host='hakaru-365680141.ap-northeast-1.elb.amazonaws.com', logdir='../log', port=80, scenario='2')
準備中
Host 10.2.5.18 not found in /root/.ssh/known_hosts
['ip-10-2-5-18.ap-northeast-1.compute.internal']
b'<?xml version="1.0"?>\n<!DOCTYPE tsung SYSTEM "/opt/erlang/R16B03-1/share/tsung/tsung-1.0.dtd">\n<tsung loglevel="debug" version="1.0">\n  <clients>\n    <client host="ip-10-2-5-18.ap-northeast-1.compute.internal" maxusers="40000" />\n\n  </clients>\n  <servers>\n    <server host="hakaru-365680141.ap-northeast-1.elb.amazonaws.com" port="80" type="tcp"></server>\n  </servers>\n  <load>\n\n    <!-- \xe4\xb8\x80\xe5\x88\x86\xe9\x96\x931\xe7\xa7\x92\xe3\x81\xab10\xe3\x83\xa6\xe3\x83\xbc\xe3\x82\xb6\xe3\x83\xbc\xe3\x81\x9a\xe3\x81\xa4\xe4\xbd\x9c\xe3\x82\x8b -->\n    <arrivalphase phase="1" duration="1" unit="minute">\n      <users arrivalrate="10" unit="second"></users>\n    </arrivalphase>\n\n    <!-- 3\xe5\x88\x86\xe9\x96\x931\xe7\xa7\x92\xe3\x81\xab200\xe3\x83\xa6\xe3\x83\xbc\xe3\x82\xb6\xe3\x83\xbc\xe3\x81\x9a\xe3\x81\xa4\xe4\xbd\x9c\xe3\x82\x8b -->\n    <arrivalphase phase="2" duration="3" unit="minute">\n      <users arrivalrate="200" unit="second"></users>\n    </arrivalphase>\n\n    <!-- 3\xe5\x88\x86\xe9\x96\x931\xe7\xa7\x92\xe3\x81\xab2000\xe3\x83\xa6\xe3\x83\xbc\xe3\x82\xb6\xe3\x83\xbc\xe3\x81\x9a\xe3\x81\xa4\xe4\xbd\x9c\xe3\x82\x8b -->\n    <arrivalphase phase="3" duration="3" unit="minute">\n      <users arrivalrate="2000" unit="second"></users>\n    </arrivalphase>\n\n </load>\n  <options>\n    <option type="ts_http" name="user_agent" >\n      <user_agent probability="100">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, likeGecko) Chrome/33.0.1750.152 Safari/537.36</user_agent>\n    </option>\n  </options>\n\n  <!-- 90%\xe3\x81\x8coepn, 9%\xe3\x81\x8c120\xe5\x86\x86\xe8\xaa\xb2\xe9\x87\x91, 1%g960\xe5\x86\x86\xe8\xaa\xb2\xe9\x87\x91 -->\n  <sessions>\n    <session name="open" probability="90" type="ts_http">\n      <request>\n        <http url="{TARGET_PATH}?name=open&amp;value=0" method="GET" version="1.1" >\n        </http>\n      </request>\n    </session>\n    <session name="purchase120" probability="9" type="ts_http">\n      <request>\n        <http url="{TARGET_PATH}?name=purchase&amp;value=120" method="GET" version="1.1" >\n        </http>\n      </request>\n    </session>\n    <session name="purchase960" probability="1" type="ts_http">\n      <request>\n        <http url="{TARGET_PATH}?name=purchase&amp;value=960" method="GET" version="1.1" >\n        </http>\n      </request>\n    </session>\n  </sessions>\n</tsung>\n'
開始
Creating local Tsung directory /root/.tsung
Starting Tsung
Log directory is: /opt/kakeru/app/../log/20191103-1800
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
creating subdirectory data
creating subdirectory gnuplot_scripts
creating subdirectory images
warn, last interval (6) not equal to the first, use the first one (10)
No data for Session
No data for Bosh
No data for Perfs
No data for Transactions
No data for Match
No data for Event
No data for Async
No data for Size
size_rcv is equal to 0 !
size_sent is equal to 0 !
レポート作成中
upload: ../log/20191103-1800/data/users.txt to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/data/users.txt
upload: ../log/20191103-1800/data/error_abort.txt to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/data/error_abort.txt
upload: ../log/20191103-1800/data/finish_users_count.txt to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/data/finish_users_count.txt
upload: ../log/20191103-1800/data/cpu:os_mon@tsung_controller@10.2.3.106.txt to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/data/cpu:os_mon@tsung_controller@10.2.3.106.txt
upload: ../log/20191103-1800/gnuplot_scripts/graphes-Users.gplot to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/gnuplot_scripts/graphes-Users.gplot
upload: ../log/20191103-1800/data/users_count.txt to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/data/users_count.txt
upload: ../log/20191103-1800/data/load:os_mon@tsung_controller@10.2.3.106.txt to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/data/load:os_mon@tsung_controller@10.2.3.106.txt
upload: ../log/20191103-1800/gnuplot_scripts/graphes-Errors.gplot to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/gnuplot_scripts/graphes-Errors.gplot
upload: ../log/20191103-1800/gnuplot.log to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/gnuplot.log
upload: ../log/20191103-1800/gnuplot_scripts/graphes-Users_Arrival.gplot to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/gnuplot_scripts/graphes-Users_Arrival.gplot
upload: ../log/20191103-1800/data/freemem:os_mon@tsung_controller@10.2.3.106.txt to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/data/freemem:os_mon@tsung_controller@10.2.3.106.txt
upload: ../log/20191103-1800/gnuplot_scripts/graphes-cpu.gplot to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/gnuplot_scripts/graphes-cpu.gplot
upload: ../log/20191103-1800/gnuplot_scripts/graphes-load.gplot to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/gnuplot_scripts/graphes-load.gplot
upload: ../log/20191103-1800/graph.html to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/graph.html
upload: ../log/20191103-1800/images/graphes-Errors-rate.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Errors-rate.png
upload: ../log/20191103-1800/gnuplot_scripts/graphes-freemem.gplot to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/gnuplot_scripts/graphes-freemem.gplot
upload: ../log/20191103-1800/images/graphes-Errors-rate_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Errors-rate_tn.png
upload: ../log/20191103-1800/images/graphes-Errors-total.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Errors-total.png
upload: ../log/20191103-1800/images/graphes-Errors-total_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Errors-total_tn.png
upload: ../log/20191103-1800/images/graphes-Users-simultaneous_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Users-simultaneous_tn.png
upload: ../log/20191103-1800/images/graphes-Users-maximum_simultaneous_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Users-maximum_simultaneous_tn.png
upload: ../log/20191103-1800/images/graphes-Users-simultaneous.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Users-simultaneous.png
upload: ../log/20191103-1800/images/graphes-Users_Arrival-rate.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Users_Arrival-rate.png
upload: ../log/20191103-1800/images/graphes-Users_Arrival-total_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Users_Arrival-total_tn.png
upload: ../log/20191103-1800/images/graphes-Users_Arrival-rate_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Users_Arrival-rate_tn.png
upload: ../log/20191103-1800/images/graphes-Users_Arrival-total.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Users_Arrival-total.png
upload: ../log/20191103-1800/images/graphes-Users-maximum_simultaneous.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-Users-maximum_simultaneous.png
upload: ../log/20191103-1800/images/graphes-cpu-max_sample.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-cpu-max_sample.png
upload: ../log/20191103-1800/images/graphes-cpu-max_sample_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-cpu-max_sample_tn.png
upload: ../log/20191103-1800/images/graphes-cpu-mean.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-cpu-mean.png
upload: ../log/20191103-1800/images/graphes-cpu-mean_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-cpu-mean_tn.png
upload: ../log/20191103-1800/images/graphes-cpu-rate_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-cpu-rate_tn.png
upload: ../log/20191103-1800/images/graphes-cpu-rate.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-cpu-rate.png
upload: ../log/20191103-1800/images/graphes-cpu-stddev_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-cpu-stddev_tn.png
upload: ../log/20191103-1800/images/graphes-cpu-min_sample.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-cpu-min_sample.png
upload: ../log/20191103-1800/images/graphes-freemem-max_sample_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-freemem-max_sample_tn.png
upload: ../log/20191103-1800/images/graphes-cpu-min_sample_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-cpu-min_sample_tn.png
upload: ../log/20191103-1800/images/graphes-freemem-mean_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-freemem-mean_tn.png
upload: ../log/20191103-1800/images/graphes-freemem-max_sample.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-freemem-max_sample.png
upload: ../log/20191103-1800/images/graphes-freemem-mean.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-freemem-mean.png
upload: ../log/20191103-1800/images/graphes-cpu-stddev.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-cpu-stddev.png
upload: ../log/20191103-1800/images/graphes-freemem-min_sample.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-freemem-min_sample.png
upload: ../log/20191103-1800/images/graphes-freemem-rate_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-freemem-rate_tn.png
upload: ../log/20191103-1800/images/graphes-freemem-rate.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-freemem-rate.png
upload: ../log/20191103-1800/images/graphes-freemem-min_sample_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-freemem-min_sample_tn.png
upload: ../log/20191103-1800/images/graphes-freemem-stddev_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-freemem-stddev_tn.png
upload: ../log/20191103-1800/images/graphes-freemem-stddev.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-freemem-stddev.png
upload: ../log/20191103-1800/images/graphes-load-mean_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-load-mean_tn.png
upload: ../log/20191103-1800/images/graphes-load-mean.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-load-mean.png
upload: ../log/20191103-1800/index.html to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/index.html
upload: ../log/20191103-1800/images/graphes-load-rate.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-load-rate.png
upload: ../log/20191103-1800/images/graphes-load-stddev_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-load-stddev_tn.png
upload: ../log/20191103-1800/images/graphes-load-max_sample.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-load-max_sample.png
upload: ../log/20191103-1800/inets_error.log to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/inets_error.log
upload: ../log/20191103-1800/images/graphes-load-rate_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-load-rate_tn.png
upload: ../log/20191103-1800/images/graphes-load-stddev.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-load-stddev.png
upload: ../log/20191103-1800/match.log to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/match.log
upload: ../log/20191103-1800/report.html to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/report.html
upload: ../log/20191103-1800/images/graphes-load-min_sample_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-load-min_sample_tn.png
upload: ../log/20191103-1800/kakeru-test.xml to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/kakeru-test.xml
upload: ../log/20191103-1800/style/dashboard.css to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/style/dashboard.css
upload: ../log/20191103-1800/style/bootstrap.min.css to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/style/bootstrap.min.css
upload: ../log/20191103-1800/images/graphes-load-max_sample_tn.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-load-max_sample_tn.png
upload: ../log/20191103-1800/style/bootstrap.min.js to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/style/bootstrap.min.js
upload: ../log/20191103-1800/style/docs.min.css to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/style/docs.min.css
upload: ../log/20191103-1800/tsung.log to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/tsung.log
upload: ../log/20191103-1800/images/graphes-load-min_sample.png to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/images/graphes-load-min_sample.png
upload: ../log/20191103-1800/tsung_controller@10.2.3.106.log to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/tsung_controller@10.2.3.106.log
upload: ../log/20191103-1800/style/dygraph-combined.js to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/style/dygraph-combined.js
upload: ../log/20191103-1800/style/jquery.min.js to s3://sunrise201911-team-b-kakeru-report/hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/style/jquery.min.js
{'ResponseMetadata': {'RequestId': '0EF3D789C72CEF10', 'HostId': 'nEoU8dL1TlBevz92CPx4hqlSwA1XYYAEniKcVwNuQFzws75wKaeL8YzB6dBEBL3BZ0OVtH3DV7w=', 'HTTPStatusCode': 200, 'HTTPHeaders': {'x-amz-id-2': 'nEoU8dL1TlBevz92CPx4hqlSwA1XYYAEniKcVwNuQFzws75wKaeL8YzB6dBEBL3BZ0OVtH3DV7w=', 'x-amz-request-id': '0EF3D789C72CEF10', 'date': 'Sun, 03 Nov 2019 09:01:13 GMT', 'x-amz-bucket-region': 'ap-northeast-1', 'content-type': 'application/xml', 'transfer-encoding': 'chunked', 'server': 'AmazonS3'}, 'RetryAttempts': 0}, 'IsTruncated': False, 'Name': 'sunrise201911-team-b-kakeru-report', 'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/', 'Delimiter': '/', 'MaxKeys': 1000, 'CommonPrefixes': [{'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1432/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1440/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1446/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1550/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1627/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1632/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1701/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1124/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1333/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1359/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1405/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1438/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1529/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1535/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1616/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1642/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1705/'}, {'Prefix': 'hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/'}], 'EncodingType': 'url', 'KeyCount': 18}
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1432/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1440/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1446/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1550/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1627/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1632/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191102-1701/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1124/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1333/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1359/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1405/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1438/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1529/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1535/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1616/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1642/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1705/
hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/20191103-1800/
create index: hakaru-365680141.ap-northeast-1.elb.amazonaws.com:80/index.html
おしまい
make: Leaving directory '/opt/kakeru/app'
root@ip-10-2-3-106:/opt/kakeru#
pei0804 commented 4 years ago

test

pei0804 commented 4 years ago

レポートがなんかおかしいぞwww https://sunrise201911-team-b-kakeru-report.s3-ap-northeast-1.amazonaws.com/hakaru-365680141.ap-northeast-1.elb.amazonaws.com%3A80/20191103-1808/report.html

pei0804 commented 4 years ago

やる気.empty

image
pei0804 commented 4 years ago

なんか、シナリオ1でも、2でもうまく動かないっすね。あと、Githubコメントばぐってる。

shomah4a commented 4 years ago

おっ

pei0804 commented 4 years ago

一応リクエスト投げれるかcurl投げた。 kakeruから見れてるっぽいっすね。

root@ip-10-2-5-153:/opt/kakeru# curl -v hakaru-365680141.ap-northeast-1.elb.amazonaws.com/ok
*   Trying 13.114.207.81...
* TCP_NODELAY set
* Connected to hakaru-365680141.ap-northeast-1.elb.amazonaws.com (13.114.207.81) port 80 (#0)
> GET /ok HTTP/1.1
> Host: hakaru-365680141.ap-northeast-1.elb.amazonaws.com
> User-Agent: curl/7.58.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Sun, 03 Nov 2019 09:21:56 GMT
< Content-Length: 0
< Connection: keep-alive
<
* Connection #0 to host hakaru-365680141.ap-northeast-1.elb.amazonaws.com left intact
root@ip-10-2-5-153:/opt/kakeru#
pei0804 commented 4 years ago

sgの設定的にだめそう

image
pei0804 commented 4 years ago

とりま、sgぽちって追加した。

image
pei0804 commented 4 years ago

sg更新したけどだめそうだな https://sunrise201911-team-b-kakeru-report.s3-ap-northeast-1.amazonaws.com/hakaru-365680141.ap-northeast-1.elb.amazonaws.com%3A80/20191103-1835/report.html

pei0804 commented 4 years ago

だめだったログ

make: Entering directory '/opt/kakeru/app'
python3 multinode.py --host=hakaru-365680141.ap-northeast-1.elb.amazonaws.com --bucket=sunrise201911-team-b-kakeru-report --scenario=1
Namespace(asg='kakeru', bucket='sunrise201911-team-b-kakeru-report', host='hakaru-365680141.ap-northeast-1.elb.amazonaws.com', logdir='../log', port=80, scenario='1')
準備中
Host 10.2.3.106 not found in /root/.ssh/known_hosts
Host 10.2.3.38 not found in /root/.ssh/known_hosts
Host 10.2.5.18 not found in /root/.ssh/known_hosts
# 10.2.3.106:22 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
# 10.2.3.38:22 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
# 10.2.5.18:22 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
# 10.2.5.18:22 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
# 10.2.3.106:22 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
# 10.2.5.18:22 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
# 10.2.3.38:22 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
# 10.2.3.106:22 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
# 10.2.3.38:22 SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
['ip-10-2-3-106.ap-northeast-1.compute.internal', 'ip-10-2-3-38.ap-northeast-1.compute.internal', 'ip-10-2-5-18.ap-northeast-1.compute.internal']
b'<?xml version="1.0"?>\n<!DOCTYPE tsung SYSTEM "/opt/erlang/R16B03-1/share/tsung/tsung-1.0.dtd">\n<tsung loglevel="debug" version="1.0">\n  <clients>\n    <client host="ip-10-2-3-106.ap-northeast-1.compute.internal" maxusers="40000" />\n<client host="ip-10-2-3-38.ap-northeast-1.compute.internal" maxusers="40000" />\n<client host="ip-10-2-5-18.ap-northeast-1.compute.internal" maxusers="40000" />\n\n  </clients>\n  <servers>\n    <server host="hakaru-365680141.ap-northeast-1.elb.amazonaws.com" port="80" type="tcp"></server>\n  </servers>\n  <load>\n\n  <!-- \xe4\xb8\x80\xe5\x88\x86\xe9\x96\x931\xe7\xa7\x92\xe3\x81\xab10\xe3\x83\xa6\xe3\x83\xbc\xe3\x82\xb6\xe3\x83\xbc\xe3\x81\x9a\xe3\x81\xa4\xe4\xbd\x9c\xe3\x82\x8b -->\n    <arrivalphase phase="1" duration="1" unit="minute">\n      <users arrivalrate="10" unit="second"></users>\n    </arrivalphase>\n\n    <!-- 3\xe5\x88\x86\xe9\x96\x931\xe7\xa7\x92\xe3\x81\xab200\xe3\x83\xa6\xe3\x83\xbc\xe3\x82\xb6\xe3\x83\xbc\xe3\x81\x9a\xe3\x81\xa4\xe4\xbd\x9c\xe3\x82\x8b -->\n    <arrivalphase phase="2" duration="3" unit="minute">\n      <users arrivalrate="200"unit="second"></users>\n    </arrivalphase>\n\n  </load>\n  <options>\n    <option type="ts_http" name="user_agent" >\n      <user_agent probability="100">Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36</user_agent>\n    </option>\n  </options>\n\n  <!-- 90%\xe3\x81\x8coepn, 9%\xe3\x81\x8c120\xe5\x86\x86\xe8\xaa\xb2\xe9\x87\x91, 1%g960\xe5\x86\x86\xe8\xaa\xb2\xe9\x87\x91 -->\n  <sessions>\n    <session name="open" probability="90" type="ts_http">\n      <request>\n        <http url="/hakaru?name=open&amp;value=0" method="GET" version="1.1" >\n        </http>\n      </request>\n    </session>\n    <session name="purchase120" probability="9" type="ts_http">\n<request>\n        <http url="/hakaru?name=purchase&amp;value=120" method="GET" version="1.1" >\n        </http>\n      </request>\n    </session>\n    <session name="purchase960" probability="1" type="ts_http">\n      <request>\n        <http url="/hakaru?name=purchase&amp;value=960" method="GET" version="1.1" >\n        </http>\n      </request>\n    </session>\n  </sessions>\n</tsung>\n'
開始
Starting Tsung
Log directory is: /opt/kakeru/app/../log/20191103-1835
Host key verification failed.
Host key verification failed.
Host key verification failed.
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
[os_mon] memory supervisor port (memsup): Erlang has closed
creating subdirectory data
creating subdirectory gnuplot_scripts
creating subdirectory images
warn, last interval (6) not equal to the first, use the first one (10)
No data for Session
No data for Bosh
No data for Perfs
No data for Transactions
No data for Match
No data for Event
No data for Async
No data for Size
size_rcv is equal to 0 !
size_sent is equal to 0 !
warn, last interval (6) not equal to the first, use the first one (10)
No data for Session
No data for Bosh
No data for Perfs
No data for Transactions
No data for Match
No data for Event
No data for Async
No data for Size
size_rcv is equal to 0 !
size_sent is equal to 0 !
warn, last interval (6) not equal to the first, use the first one (10)
No data for Session
No data for Bosh
No data for Perfs
No data for Transactions
No data for Match
No data for Event
No data for Async
No data for Size
size_rcv is equal to 0 !
size_sent is equal to 0 !
warn, last interval (6) not equal to the first, use the first one (10)
No data for Session
No data for Bosh
No data for Perfs
No data for Transactions
No data for Match
No data for Event
No data for Async
No data for Size
size_rcv is equal to 0 !
size_sent is equal to 0 !
レポート作成中
pei0804 commented 4 years ago

sshはできること確認。

pei0804 commented 4 years ago

ポート怪しい説消すために全部許可

image
pei0804 commented 4 years ago

普通にシングルで叩いたら行けた。

image
pei0804 commented 4 years ago

コメントの順番ばぐってるけど、これはGitHubがわるい。