Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TESTask logs.logs.exit_code not present in some cases #38

Open
LakiG opened this issue Jul 21, 2022 · 0 comments
Open

TESTask logs.logs.exit_code not present in some cases #38

LakiG opened this issue Jul 21, 2022 · 0 comments

Comments

@LakiG
Copy link

LakiG commented Jul 21, 2022

In some cases, the TES Task does not return the mandatory logs.logs.exit_code value. The state is different for each case, so the exact conditions cant be pinpointed to reproduce this.

The test was done on the https://csc-tesk-noauth.rahtiapp.fi/ server.

{
  "id": "task-41548687",
  "state": "CANCELED",
  "name": "string",
  "description": "string",
  "inputs": [
    {
      "url": "s3://my-object-store/file1",
      "path": "/data/file1",
      "type": "FILE"
    }
  ],
  "outputs": [
    {
      "url": "s3://my-object-store/outfile-1",
      "path": "/data/outfile",
      "type": "FILE"
    }
  ],
  "resources": {
    "cpu_cores": 4,
    "preemptible": false,
    "ram_gb": 8,
    "disk_gb": 40,
    "zones": [
      "us-west-1"
    ]
  },
  "executors": [
    {
      "image": "ubuntu:20.04",
      "command": [
        "/bin/md5",
        "/data/file1"
      ],
      "workdir": "/data/",
      "stdin": "/data/file1",
      "stdout": "/tmp/stdout.log",
      "stderr": "/tmp/stderr.log",
      "env": {
        "BLASTDB": "/data/GRC38",
        "HMMERDB": "/data/hmmer"
      }
    }
  ],
  "volumes": [
    "/vol/A/"
  ],
  "tags": {
    "WORKFLOW_ID": "cwl-01234",
    "PROJECT_GROUP": "alice-lab"
  },
  "logs": [
    {
      "logs": [],
      "metadata": {
        "USER_ID": "anonymousUser"
      },
      "start_time": "2022-07-12T23:52:05.000Z",
      "end_time": "2022-07-12T23:52:29.000Z",
      "system_logs": [
        "Removing failed jobs\nCancelling taskmaster: Got status Cancelled\n"
      ]
    }
  ],
  "creation_time": "2022-07-12T23:52:05.000Z"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant