{"action":"created","issue":{"url":"https://api.github.com/repos/golemfactory/concent/issues/519","repository_url":"https://api.github.com/repos/golemfactory/concent","labels_url":"https://api.github.com/repos/golemfactory/concent/issues/519/labels{/name}","comments_url":"https://api.github.com/repos/golemfactory/concent/issues/519/comments","events_url":"https://api.github.com/repos/golemfactory/concent/issues/519/events","html_url":"https://github.com/golemfactory/concent/issues/519","id":333299261,"node_id":"MDU6SXNzdWUzMzMyOTkyNjE=","number":519,"title":"Concent responds with `ForceGetTaskResultRejected` to a valid `ForceGetTaskResult`","user":{"login":"shadeofblue","id":7963044,"node_id":"MDQ6VXNlcjc5NjMwNDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7963044?v=4","gravatar_id":"","url":"https://api.github.com/users/shadeofblue","html_url":"https://github.com/shadeofblue","followers_url":"https://api.github.com/users/shadeofblue/followers","following_url":"https://api.github.com/users/shadeofblue/following{/other_user}","gists_url":"https://api.github.com/users/shadeofblue/gists{/gist_id}","starred_url":"https://api.github.com/users/shadeofblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadeofblue/subscriptions","organizations_url":"https://api.github.com/users/shadeofblue/orgs","repos_url":"https://api.github.com/users/shadeofblue/repos","events_url":"https://api.github.com/users/shadeofblue/events{/privacy}","received_events_url":"https://api.github.com/users/shadeofblue/received_events","type":"User","site_admin":false},"labels":[{"id":735137559,"node_id":"MDU6TGFiZWw3MzUxMzc1NTk=","url":"https://api.github.com/repos/golemfactory/concent/labels/bug","name":"bug","color":"ee0701","default":true},{"id":944695829,"node_id":"MDU6TGFiZWw5NDQ2OTU4Mjk=","url":"https://api.github.com/repos/golemfactory/concent/labels/from-client","name":"from-client","color":"f77195","default":false},{"id":856693158,"node_id":"MDU6TGFiZWw4NTY2OTMxNTg=","url":"https://api.github.com/repos/golemfactory/concent/labels/not%20in%20pivotal","name":"not in pivotal","color":"13ada0","default":false},{"id":879728318,"node_id":"MDU6TGFiZWw4Nzk3MjgzMTg=","url":"https://api.github.com/repos/golemfactory/concent/labels/result%20transfer%20use%20case","name":"result transfer use case","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-18T14:40:33Z","updated_at":"2018-06-18T17:59:47Z","closed_at":null,"author_association":"NONE","body":"When sending a `ForceGetTaskResultRejected` message to the Concent, Golem Client receives:\r\n\r\n```\r\nForceGetTaskResultRejected(header=MessageHeader(type_=4012, timestamp=1529330495, encrypted=True), sig=b'V\\x8c\\x1d\\xc9\\x\r\nf4\\xcd}\\xb4\\xa9\\xfe\\x1c\\xc0\\x9d\\xb3\\xccq\\x8f\\x9f\\x15\\x05\\xdb@\\xc0jyD\\x9e\\x03\\x8b\\x19`Z$Z\\xef\\xe6\\xa1\\x08\\xe4\\x05\\x87\\x8a\\x05\\xce\\x9e\\x1f\\xf88Q\\xc4n*\\x84\\x1b\\xe5\\xef\\x05\\xc3\\t\\xb5L\\xb7\\xa9?\\x01', slots=[['force_g\r\net_task_result', None], ['reason', 'acceptance_time_limit_exceeded']])\r\n```\r\n\r\nThe `ForceGetTaskResult` message:\r\n\r\n```\r\nForceGetTaskResult(header=MessageHeader(type_=4009, timestamp=1529330495, encrypted=False), sig=None, slots=\r\n[['report_computed_task', ReportComputedTask(header=MessageHeader(type_=2004, timestamp=1529330495, encrypted=False), sig=b'!\\xaf\\xf8\\xcfn\\xa4\\xf9\\xab\\n1\\x1b<\\x83\\xfe\\xf0=OO\\xfc\\xd3\\x87}\\x11#8\\x99#^>\\xe6\\x11Ggl\\\r\nx04o\\xe4\\x8e\\xb1\\x00\\xbf\\x7fnT\\x12D\\x17\\x99w\\n\\xe5\\x1e\\xfe$4k\\xb9\\xfc\\xe8\\xdcs#\\x13\\x88\\x00', slots=[['result_type', 1], ['node_name', ''], ['address', '10.30.8.141'], ['node_info', {'hyperdrive_prv_port': 3282,\r\n 'hyperdrive_pub_port': 3282, 'key': '627f6a8fdd03bb97dd901c97cd3fb6ff797b17dff8164e0b21a4f1b0e238d97bb120eed3eeffa82b38ca559935be0787172222535a472e1c362706128ae527c6', 'nat_type': 'Symmetric NAT', 'node_name': \r\n'', 'p2p_prv_port': 40104, 'p2p_pub_port': 40104, 'port_statuses': {3282: 'timeout', 40104: 'timeout', 40105: 'timeout'}, 'prv_addr': '10.30.8.141', 'prv_addresses': ['10.30.8.141', '192.168.246.1', '192.168.107\r\n.1', '172.17.0.1'], 'prv_port': 40105, 'pub_addr': '194.181.80.91', 'pub_port': 40105}], ['port', 40105], ['key_id', '627f6a8fdd03bb97dd901c97cd3fb6ff797b17dff8164e0b21a4f1b0e238d97bb120eed3eeffa82b38ca559935be0\r\n787172222535a472e1c362706128ae527c6'], ['extra_data', ['test task_10001.png', 'stdout.log', 'stderr.log']], ['eth_account', '0x2bFa2e5D25557f9d0f965EDAb8d2ceC1Ab2f97Cc'], ['task_to_compute', TaskToCompute(header\r\n=MessageHeader(type_=2002, timestamp=1529330484, encrypted=False), sig=b'\\xdf\\xa0\\xed\\xd8-\\x94!M\\xe9\\xa5\\x96Lc\\xeeH\\xe2\\x07/\\xb3\\xc8d\\x98g\\x9d\\xf5\\xdd\\xa4`\\xf6\\xefoLb>8;\"\\xee\\xbc*\\x10\\x02\\xbb7\\x9c)\"\\x04\\x81\\x1d\\\r\nxd1x\\xed\\xb8\\xa8>\\xf4\\xfd\\x9a\\xc3\\x0c\\xc8\\xfc\\xc6\\x00', slots=[['requestor_id', '31f528988577db5c34355fc94719d2ff8f1747452c6ba5d26d3966a52ddbe2e1f8128952ce0dcd02ca744063803a4d38b99c59e42c368b91eb42ba7d59997241']\r\n, ['requestor_public_key', '31f528988577db5c34355fc94719d2ff8f1747452c6ba5d26d3966a52ddbe2e1f8128952ce0dcd02ca744063803a4d38b99c59e42c368b91eb42ba7d59997241'], ['requestor_ethereum_public_key', '31f528988577db5c\r\n34355fc94719d2ff8f1747452c6ba5d26d3966a52ddbe2e1f8128952ce0dcd02ca744063803a4d38b99c59e42c368b91eb42ba7d59997241'], ['provider_id', '627f6a8fdd03bb97dd901c97cd3fb6ff797b17dff8164e0b21a4f1b0e238d97bb120eed3eeffa8\r\n2b38ca559935be0787172222535a472e1c362706128ae527c6'], ['provider_public_key', '627f6a8fdd03bb97dd901c97cd3fb6ff797b17dff8164e0b21a4f1b0e238d97bb120eed3eeffa82b38ca559935be0787172222535a472e1c362706128ae527c6'], \r\n['provider_ethereum_public_key', '627f6a8fdd03bb97dd901c97cd3fb6ff797b17dff8164e0b21a4f1b0e238d97bb120eed3eeffa82b38ca559935be0787172222535a472e1c362706128ae527c6'], ['compute_task_def', {'deadline': 1529331015.\r\n534439, 'docker_images': [{'image_id': None, 'repository': 'golemfactory/blender', 'tag': '1.4'}], 'extra_data': {'end_task': 1, 'frames': [1], 'outfilebasename': 'test task', 'output_format': 'PNG', 'path_root'\r\n: '/home/blue/PycharmProjects/golem/scripts/concent_node_tests/tasks/test_task_1', 'scene_file': '/golem/resources/wlochaty3.blend', 'script_src': '# This template is rendered by\\n# apps.blender.resources.scenef\r\nileeditor.generate_blender_crop_file(),\\n# written to tempfile and passed as arg to blender.\\nimport bpy\\n\\nclass EngineWarning(bpy.types.Operator):\\n    bl_idname = \"wm.engine_warning\"\\n    bl_label = \"Inform a\r\nbout not supported rendering engine\"\\n\\n    def execute(self, context):\\n        self.report({\"ERROR\"}, \"Engine \" + bpy.context.scene.render.engine + \\\\\\n                               \" not supported by Golem\")\r\n\\n        return {\"FINISHED\"}\\n\\nclass ShowInformation(bpy.types.Operator):\\n    bl_idname = \"wm.scene_information\"\\n    bl_label = \"Inform user about scene settings\"\\n\\n\\n    def execute(self, context):\\n      \r\n  self.report({\"INFO\"}, \"Engine: \" +\\n                              str(bpy.context.scene.render.engine))\\n        if bpy.context.scene.render.engine == \"CYCLES\":\\n            self.report({\"INFO\"}, \"Samples: \" +\r\n str(bpy.context.scene.cycles.samples))\\n        self.report({\"INFO\"}, \"Resolution: \" +\\n                              str(bpy.context.scene.render.resolution_x) +\\n                               \" x \" +\\n      \r\n                         str(bpy.context.scene.render.resolution_y))\\n        self.report({\"INFO\"}, \"File format: \" +\\n                               str(bpy.context.scene.render.file_extension))\\n        self.r\r\neport({\"INFO\"}, \"Filepath: \" +\\n                              str(bpy.context.scene.render.filepath))\\n        self.report({\"INFO\"}, \"Frames: \" +\\n                              str(bpy.context.scene.frame_start)\r\n + \"-\" +\\n                              str(bpy.context.scene.frame_end) + \";\" +\\n                              str(bpy.context.scene.frame_step))\\n\\n        return {\"FINISHED\"}\\n\\n\\nbpy.utils.register_class(Eng\r\nineWarning)\\nengine = bpy.context.scene.render.engine\\nif engine not in (\"BLENDER_RENDER\", \"CYCLES\"):\\n    bpy.ops.wm.engine_warning()\\n\\nbpy.utils.register_class(ShowInformation)\\nbpy.ops.wm.scene_information()\r\n\\n\\nbpy.context.scene.render.tile_x = 0\\nbpy.context.scene.render.tile_y = 0\\nbpy.context.scene.render.resolution_x = 320\\nbpy.context.scene.render.resolution_y = 240\\nbpy.context.scene.render.resolution_percent\r\nage = 100\\nbpy.context.scene.render.use_border = True\\nbpy.context.scene.render.use_crop_to_border = True\\nbpy.context.scene.render.border_max_x = 1.0\\nbpy.context.scene.render.border_min_x = 0.0\\nbpy.context.sc\r\nene.render.border_min_y = 0.0\\nbpy.context.scene.render.border_max_y = 1.0\\nbpy.context.scene.render.use_compositing = bool(False)\\nif engine == \"CYCLES\":\\n    samples = 0\\n    if samples != 0:\\n        bpy.cont\r\next.scene.cycles.samples = samples\\n\\n#and check if additional files aren\\'t missing\\nbpy.ops.file.report_missing_files()\\n', 'start_task': 1, 'total_tasks': 1}, 'performance': 476.9116316324916, 'short_descript\r\nion': 'path_root: /home/blue/PycharmProjects/golem/scripts/concent_node_tests/tasks/test_task_1, start_task: 1, end_task: 1, total_tasks: 1, outfilebasename: test task, scene_file: /golem/resources/wlochaty3.ble\r\nnd', 'src_code': 'from __future__ import print_function\\n\\nimport os\\nimport subprocess\\nimport sys\\nfrom multiprocessing import cpu_count\\n\\nimport params  # This module is generated before this script is run\\n\r\n\\nBLENDER_COMMAND = \"blender\"\\nWORK_DIR = \"/golem/work\"\\nOUTPUT_DIR = \"/golem/output\"\\n\\n\\ndef exec_cmd(cmd):\\n    pc = subprocess.Popen(cmd)\\n    return pc.wait()\\n\\n\\ndef format_blender_render_cmd(outfilebasen\r\name, scene_file, script_file,\\n                              start_task, frame, output_format):\\n    cmd = [\\n        \"{}\".format(BLENDER_COMMAND),\\n        \"-b\", \"{}\".format(scene_file),\\n        \"-y\",  # enabl\r\ne scripting by default\\n        \"-P\", \"{}\".format(script_file),\\n        \"-o\", \"{}/{}_{}\".format(OUTPUT_DIR, outfilebasename, start_task),\\n        \"-noaudio\",\\n        \"-F\", \"{}\".format(output_format.upper()),\\\r\nn        \"-t\", \"{}\".format(cpu_count()),\\n        \"-f\", \"{}\".format(frame)\\n    ]\\n    return cmd\\n\\n\\ndef run_blender_task(outfilebasename, scene_file, script_src, start_task,\\n                     frames, outp\r\nut_format):\\n    scene_file = os.path.normpath(scene_file)\\n    if not os.path.exists(scene_file):\\n        print(\"Scene file \\'{}\\' does not exist\".format(scene_file),\\n              file=sys.stderr)\\n        s\r\nys.exit(1)\\n\\n    blender_script_path = WORK_DIR + \"/blenderscript.py\"\\n    with open(blender_script_path, \"w\") as script_file:\\n        script_file.write(script_src)\\n\\n    for frame in frames:\\n        cmd = f\r\normat_blender_render_cmd(outfilebasename, scene_file,\\n                                        script_file.name, start_task, frame, output_format)\\n        print(cmd, file=sys.stderr)\\n        exit_code = exec_c\r\nmd(cmd)\\n        if exit_code is not 0:\\n            sys.exit(exit_code)\\n\\n\\nrun_blender_task(params.outfilebasename, params.scene_file, params.script_src, params.start_task, params.frames,\\n                 pa\r\nrams.output_format)\\n\\n', 'subtask_id': '161a5edc-7300-11e8-b8c7-31f528988577', 'task_id': 'ed203d18-72ff-11e8-ad1e-31f528988577', 'working_directory': '.'}], ['package_hash', 'sha1:245ad6ad2264a31bcb37db8352f6c\r\n5d0a319ded0'], ['size', 44720896], ['concent_enabled', True], ['price', 163888888888888889]])], ['size', 261056], ['package_hash', 'sha1:42ff7c7d43c6865e3ad589fade4b2a46d1b42bca'], ['multihash', '2df2c39f408df3e\r\n6f72f8ad50900f09d51f18bfedaf31dbeb3664e06d482f162'], ['secret', b'\\x15W\\xc6\\r^\\xcb\\xf0\\xc2yy\\x82\\x13\\xd7\\xf4\\x11\\xdfIO\\xca1\\xf2Q\\x85\\x86\\x06#J\\xd1'], ['options', {'client_id': 'hyperg', 'options': {'peers': [{'T\r\nCP': ['10.30.8.141', 3282]}, {'TCP': ['10.30.8.141', 3282]}, {'TCP': ['192.168.246.1', 3282]}, {'TCP': ['192.168.107.1', 3282]}, {'TCP': ['194.181.80.91', 3282]}, {'TCP': ['172.17.0.1', 3282]}]}, 'version': 1.1}\r\n]])]])\r\n```\r\n\r\nand the SVT here is ~4 hours whereas the message was sent after a few seconds from the reception of the RCT, after the Requestor node failed to download the results from the Provider"},"comment":{"url":"https://api.github.com/repos/golemfactory/concent/issues/comments/398142212","html_url":"https://github.com/golemfactory/concent/issues/519#issuecomment-398142212","issue_url":"https://api.github.com/repos/golemfactory/concent/issues/519","id":398142212,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODE0MjIxMg==","user":{"login":"shadeofblue","id":7963044,"node_id":"MDQ6VXNlcjc5NjMwNDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7963044?v=4","gravatar_id":"","url":"https://api.github.com/users/shadeofblue","html_url":"https://github.com/shadeofblue","followers_url":"https://api.github.com/users/shadeofblue/followers","following_url":"https://api.github.com/users/shadeofblue/following{/other_user}","gists_url":"https://api.github.com/users/shadeofblue/gists{/gist_id}","starred_url":"https://api.github.com/users/shadeofblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadeofblue/subscriptions","organizations_url":"https://api.github.com/users/shadeofblue/orgs","repos_url":"https://api.github.com/users/shadeofblue/repos","events_url":"https://api.github.com/users/shadeofblue/events{/privacy}","received_events_url":"https://api.github.com/users/shadeofblue/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T17:59:47Z","updated_at":"2018-06-18T17:59:47Z","author_association":"NONE","body":"@cameel yes, FGTR, sorry"}}
{"actor":{"display_login":"shadeofblue"}}