I was in a space camp. To be selected, you had to send a complete file with a letter of motivation then to pass an examination to prove that you were interested in the conquest of the space. The agency made a selection of motivated young people to guide them to good studies. They did not only look for cosmonauts, but also other professions: engineers, computer scientists. It was therefore not necessary to be in very good health or a great sportsman.
The camp was located in a launch base and the pioneers had access to the same training facilities as the professionals. The first day was spent on medical exams, I did not expect it. We were told that there would be multiple groups and we would be assigned to one group or another based on our health status. Everyone hoped to be in the group that could spend a few days in a spaceship, which would remain on the ground, but with the same conditions as in space. We should not be claustrophobic and support promiscuity.
At the medical center, we were asked to undress in a locker room. We were able to keep our underpants. The first examinations were classic: control of sight, hearing, auscultation. The different examination rooms had open doors. In the last room, the doctor asked me to close the door. He also had a nurse to assist him. I had to lie on the exam table. The nurse lowered my underpants while the doctor was wearing gloves. He looked at my genitals for a long time, I thought he wanted to cause an erection and that's what happened. He looked satisfied and then introduced a finger into my anus.
The nurse took me to a small room that had only one chair, gave me two goblets, I had to fill one with urine in front of her, and she told me to fill the other with sperm. I asked her why, she said it was a standard procedure, sperm was always harvested before, during and after spaceflights. A sterile man could unfortunately not be selected. I was not sterile.