golemfactory / yagna-triage

Repository for issues which we don't yet know about enough to assign to proper repo
1 stars 0 forks source link

No payment for simple-service #227

Closed ederenn closed 2 years ago

ederenn commented 2 years ago

Name: Rafał yagna version: 0.11.0-rc9 OS+lang+version (if applicable): ubuntu, py Title: No payment for simple-service https://etherscan.io/address/0x487d6f663a0c7e2ee65edc48d9f2e0cfc9a8cd42

[raf ~/work/yapapi/examples/simple-service-poc]> python simple_service.py --show-usage --payment-network=polygon --subnet-tag hybrid-mainnet  --running-time 35000
[2022-09-01T12:45:12.208+0200 INFO yapapi] Using log file `simple-service-yapapi-2022-09-01_12.45.12.log`; in case of errors look for additional information there
yapapi version: 0.9.2
Using subnet: hybrid-mainnet, payment driver: erc20, and network: polygon

Starting Cluster 1: 1x[Service: SimpleService, Payload: _VmPackage(repo_url='http://girepo.dev.golem.network:8000', image_hash='8b11df59f84358d47fc6776d0bb7290b0054c15ded2d6f54cf634488', image_url=None, constraints=_VmConstraints(min_mem_gib=0.5, min_storage_gib=2.0, min_cpu_threads=1, capabilities=[], runtime='vm'))]...
instances: ['simple-service-1: pending']
[2022-09-01T12:45:13.782+0200 INFO yapapi.summary] [Job 1] Agreement proposed to provider 'mf' (0xc0d82106bb4bea9ea8ffdf59ed59efb34f30fed7)
[2022-09-01T12:45:13.832+0200 INFO yapapi.summary] [Job 1] Agreement confirmed by provider 'mf'
[2022-09-01T12:45:14.605+0200 INFO yapapi.services.service_runner] <SimpleService starting on mf [ 0xc0d82106bb4bea9ea8ffdf59ed59efb34f30fed7 ]> commissioned
[2022-09-01T12:45:15.209+0200 INFO yapapi.summary] Received proposals from 25 providers so far
All instances started :)
instances: ['simple-service-1: running on mf']
instances: ['simple-service-1: running on mf']
stats: {"min": 10.889032132459604, "max": 15.63480414016727, "median": 12.94720312441945, "mean": 13.248827148256286, "variance": 2.693241386631578, "std dev": 1.6411098033439377, "size": 8}
downloading plot: /golem/out/fULgOppvNp.png to TeWHczwKRk.png
instances: ['simple-service-1: running on mf']
 --- simple-service-1 STATE: {'error_message': None, 'reason': None, 'state': ['Ready', None]}
 --- simple-service-1 USAGE: {'current_usage': {'golem.usage.duration_sec': 13.001385228, 'golem.usage.cpu_sec': 3.01367}, 'timestamp': '2022-09-01 12:45:27+02:00'}
 --- simple-service-1  COST: 0.0009514362614
instances: ['simple-service-1: running on mf']
instances: ['simple-service-1: running on mf']
stats: {"min": 9.427932417579761, "max": 20.400420400780373, "median": 14.702039332695707, "mean": 14.382941504709661, "variance": 7.957712305763562, "std dev": 2.820941740937512, "size": 17}
downloading plot: /golem/out/MXKDcHUCeQ.png to pFwcomzjgX.png
 --- simple-service-1 STATE: {'error_message': None, 'reason': None, 'state': ['Ready', None]}
 --- simple-service-1 USAGE: {'current_usage': {'golem.usage.duration_sec': 24.001667084, 'golem.usage.cpu_sec': 6.01367}, 'timestamp': '2022-09-01 12:45:38+02:00'}
 --- simple-service-1  COST: 0.0018014503542
instances: ['simple-service-1: running on mf']
^CShutting down gracefully, please wait a short while or press Ctrl+C to exit immediately...
[2022-09-01T12:45:44.644+0200 WARNING yapapi.summary] Execution interrupted by CancelledError
 --- simple-service-1  COST: 0.00230143188175 
[2022-09-01T12:45:44.739+0200 INFO yapapi.services.service_runner] <SimpleService terminated on mf [ 0xc0d82106bb4bea9ea8ffdf59ed59efb34f30fed7 ]> decommissioned
[2022-09-01T12:45:44.768+0200 INFO yapapi.summary] [Job 1] Terminated agreement with mf
[2022-09-01T12:45:44.793+0200 INFO yapapi.executor] Golem is shutting down...
[2022-09-01T12:45:44.793+0200 INFO yapapi.summary] [Job 1] Job finished in 32.1s
[2022-09-01T12:45:44.793+0200 INFO yapapi.summary] [Job 1] Negotiated 1 agreements with 1 provider
[2022-09-01T12:45:44.794+0200 INFO yapapi.executor] All jobs have finished
[2022-09-01T12:45:44.794+0200 INFO yapapi.executor] 1 agreement still unpaid, waiting for invoices...
[2022-09-01T12:45:45.591+0200 INFO yapapi.summary] [Job 1] Accepted invoice from 'mf', amount: 0.002301431881750000
[2022-09-01T12:45:45.591+0200 INFO yapapi.executor] Waiting for Golem services to finish...
[2022-09-01T12:45:45.595+0200 INFO yapapi.summary] Total cost: 0.00230143188175
[2022-09-01T12:45:45.595+0200 INFO yapapi.summary] Golem engine has shut down
ederenn commented 2 years ago

yagna_rCURRENT (11).log

mfranciszkiewicz commented 2 years ago

The transaction was successful https://polygonscan.com/tx/0x39a87dec56a909651a1965ecb216a8d500d018662844f12babb984777b420b02