I have set up some python script in Jenkins with AWS/Ubuntu server.
However, when I run a job, my ip address get inaccessible http://3.82.243.44:8080/, just spinning, and I can't do anything within Jenkins app
My AWS instance is showing as Running so I don't its an issue there.
This is what I latest installed on it
sudo apt-get install python3-pip
And this is what I'm trying to build (customer python build) in Jenkins
pip3 install -r requirements.txt
sbase install chromedriver latest
pytest --headless
If anyone has experience and what I may be doing wrong, please let me know.
You have likely run out of memory, because you are executing a Selenium job on Jenkins running on a t2.micro EC2 instance. To fix this, you can change your instance type on the AWS EC2 console as follows:
Note: You will be assigned a new public IP address when you do this, so you will have to edit your DNS records. Also note that t2.large EC2 instances cost more than t2.micros.