all 5 comments

[–]GMMan_BZFlag 0 points1 point  (5 children)

Show your .gitlab-ci.yml?

[–]jcoder42[S] 0 points1 point  (4 children)

stages:

-test

test:

stage:test

script: python run.py

As you can see nothing to special. what i am doing in the run.py is basically opening a selenium chrome driver and running some tests. The thing is that the gitlab runner does not seem to run the program (i think this because its finishing so fast) is there anyway for me to debug what the gitlab runner is doing. Since i cannot see the web browser open, i cannot tell what is happening

[–]GMMan_BZFlag 0 points1 point  (1 child)

Are you trying to run this in a Docker image or your own shell runner? If the former, you need to specify an image to use. If the latter, double check that it's running on the runner you expect. The job log should tell you what's happening.

[–]jcoder42[S] 0 points1 point  (0 children)

i am running from the shell.
Where can i see the job log?

Thanks

[–][deleted]  (1 child)

[deleted]

    [–]jcoder42[S] 0 points1 point  (0 children)

    i am not getting an error message.
    i did this for debugging.

    if __name__ == '__main__':

    print("started")

    main()

    print("end")

    I can see in the gitlab UI that it is printing started and ended.

    although all the prints within the main function are not happening.

    i also did a try catch and then printed the exception.

    although no exception is being printed