Breaking News Emails Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

July 30, 2015, 3:25 PM GMT / Updated July 30, 2015, 3:26 PM GMT By Elizabeth Chuck

The waters in Rio de Janeiro, host of the 2016 Summer Olympics, are teeming with viruses and bacteria from human feces, an investigation by the Associated Press has found.

In some tests, the levels of contamination are up to 1.7 million times what would be considered hazardous on a California beach, according to the AP analysis, which is the first independent testing for both viruses and bacteria at Olympic sites. Brazilian officials and the International Olympic Committee only test for bacteria.

Fevers and stomach problems have already beleaguered some athletes training in Rio, the AP reported. Because most sewage is not treated in Brazil, dangerous waste freely makes its way to bodies of water where Olympians will swim and boat.

Read the AP Investigation: Olympic Teams to Swim, Boat in Rio's Filth

Both the Brazilian government and the IOC's medical director have said the venues will be safe by the time competition starts, the AP reported.

But they have their work cut out for them: The smell of sewage wafts through Rio's air — and beaches have been abandoned because of surf that's turned putrid with waste.

"It's all the water from the toilets and the showers and whatever people put down their sinks, all mixed up, and it's going out into the beach waters. Those kinds of things would be shut down immediately if found [in the United States]," John Griffith, a marine biologist at the Southern California Coastal Water Research Project, told the AP after examining the test results.

Brazilian regulations for water safety, like almost all countries, are based on bacteria, said Leonardo Daemon, coordinator of water quality monitoring for the state's environmental agency.

RELATED: Will Rio Be Ready? Countdown Begins to 2016 Summer Games

"You don't have a standard for the quantity of virus in relation to human health when it comes to contact with water," he told the AP.