It is a scale:
Info from Icmag infirmary.
Scale (Outdoor Problem)
Scale can be found on stems, underside of branches, trunks, young trees or shrubs. They usally emerge from there eggs around March to Aug and make there homes on the plant. They pierce the cells and feed on the sap of the plant. After they have a place on your plant they devlop a very hard shell which protects them from other preadatory insects and chemical compounds to get rid of them. After they develop this hard back the secreation they drip attracts ants. Now since the ants travel over the scales thus dragging it all over your plant spreading the scale from one place to another on the plants. When the secreation falls on leaves it can make a type of mold called
Sooty Mold which makes the leaves look dirty and black.
Pictures show Scale infestation:
(Photo Credit: Meddev)
Sooty MOLD
The problem with this type of fungi is that it attracts several types of sucking insects,like Aphids, Mealy Bugs, Thrips, and Whiteflies..This mold is so dark that it affects the plant by inhibiting the light from reaching its leaves which stops photosynthesis, which in turn makes the plant die.
Control
The waxy layer that is on scales protects them from insects and other pesticides. In order to get rid of them Use a horticultural oil to kill the adult populations throughout the year. If you can combine the oil with the insecticide, such as, Orthene, Sevin, or malathion it can almost wipe out the scale population along with the sooty mold it causes!Neem soil works very well too!
You can do a few things.. more if your not nearing the end of harvest..
1) take a pack of chewing tobacco, mix it with a gallon of water, let it brew for a day.. spray the plants down as needed.. if your a cigarette smoker no worries spray em down till harvest.. watch for mold..
2) take some safers natural soap, mix it with some water so its a soapy slippery mixture, soak em down.. the idea is to suffocate the bugs in the soapy bubbles..