Page MenuHomePhabricator

Cannot output "Ερευνητής Αλήθειας"
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Write a small python script like so:
print('Ερευνητής Αλήθειας')
print('Some other stuff')
for i in range(0,100):
        print('Something {i}')
  • Setup a toolforge job like so:
- name: testing
  image: python3.11
  command: $HOME/env/bin/python3 $HOME/test.py # test.py is where the python script lives
  no-filelog: true
  • Run toolforge jobs load jobs.yaml
  • Run toolforge jobs logs testing -f multiple times

What happens?:
The log keep exiting after printing this garbled text.

2024-06-16T17:25:02+00:00 [testing-b4hsn] ÎÏεÏ

the rest of the code appears to be executing but the statements are never printed to the log

What should have happened instead?:
The output should have been:

Ερευνητής Αλήθειας
Some other stuff
Something 0
Something 1
...
...
...

Event Timeline

aputhin triaged this task as Medium priority.Apr 15 2026, 2:42 PM
aputhin added a project: tools-platform-team.
aputhin subscribed.

TODO: Double check if this is still an issue with latest images / buildpacks

@Soda is this still happening? I can't reproduce it:

local.tf-test@lima-kilo:~$ cat test.py
#!/usr/bin/env python3
print("Ερευνητής Αλήθειας")
print("Some other stuff")
...
local.tf-test@lima-kilo:~$ cat test.yaml
- name: testing-testing
  image: python3.11
  command: ./test.py # test.py is where the python script lives
  no-filelog: true
...
local.tf-test@lima-kilo:~$ toolforge jobs load test.yaml
INFO: loading job 'testing-testing'...
Job testing-testing created in storage and runtime
INFO: 1 job(s) loaded successfully
...
local.tf-test@lima-kilo:~$ toolforge jobs logs testing-testing
2026-04-27T04:07:58Z [testing-testing-c59lp] [job] Ερευνητής Αλήθειας
2026-04-27T04:07:58Z [testing-testing-c59lp] [job] Some other stuff
Raymond_Ndibe changed the task status from Open to In Progress.Apr 28 2026, 3:58 PM
Raymond_Ndibe moved this task from Backlog to In progress on the tools-platform-team board.
Raymond_Ndibe claimed this task.
Raymond_Ndibe moved this task from Todos to Done on the tools-platform-team board.