$\sum (-1)^n/n$ fails the p-series test, but passes the alternating series test?

What you are noting is that the series $$\sum_{i=0}^\infty \,\frac{(-1)^n}{n}\quad {\bf {converges},}$$ as you found by the alternating series test, but does not converge absolutely: $$\sum_{i=0}^\infty \,\left|\frac{(-1)^n}{n}\right| \quad = \quad \sum_{i = 0}^\infty\,\frac 1n\quad\bf{does\; not\; converge.}$$

Note: the $p$-series test is applicable for sums of the form: $\displaystyle\sum \frac 1{n^{p}},$ and your "given" series does not "fit" that form for odd $n$; indeed, the most appropriate test to use here, as you used in the end, is the alternating series test.


What you seem to be missing is this: What you call the power series test merely fails to prove that the series converges. It does not prove that the series diverges, absolutely or otherwise. The alternating series test, on the other hand, proves that the series does converge.